Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Convert analog to PWM-signal?

Status
Not open for further replies.

Beffo

Junior Member level 2
Joined
Feb 21, 2006
Messages
22
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,493
analog to pwm

How do I generate a PWM signal from a simple voltage level.

If voltage rises I want a PWM with higher frequency.

EDIT:
I just found the LM3524, that is commonly used in switching power supplies, and can also be used i n other application.... it says in an app. note.

Can I use it to create a PWM signal based on some variabel that i can adjust during operation.
 

artem

Advanced Member level 4
Joined
May 22, 2003
Messages
1,347
Helped
126
Reputation
252
Reaction score
32
Trophy points
1,328
Location
Turkey
Activity points
13,450
analog to pwm

Will voltage on pin 1 from figure 1 not be enough to meet your demands ?

P.S. dont upload docs from inet instead give links to them .

**broken link removed**
**broken link removed**
 

v_c

Advanced Member level 2
Joined
Oct 11, 2005
Messages
511
Helped
113
Reputation
226
Reaction score
37
Trophy points
1,308
Location
Chicago, IL, USA
Activity points
8,224
converting analog to pwm

Beffo,

to generate a PWM signal from a voltage level, you need to put that voltage level into the input pin of a comparator. The other input pin of the comparator will need a sawtooth with a certain magnitude and frequency. The controller IC will usually have a timing resistor and timing capacitor Rt and Ct, that will determine the frequency of the sawtooth. The magnitude of the sawtooth is determined internally by the IC.

The beginning of the PWM pulse is determined by the beginning of the sawtooth and the pulse ends when the voltage level crosses the sawtooth. If you look at the datasheet for the Comparator section you should be able to see this.

Best regards,
v_c
 

Beffo

Junior Member level 2
Joined
Feb 21, 2006
Messages
22
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,493
analog to pwm signal

OK, attachments gone :)

And OK, I understand how the PWM-modulation works.

Is it possible and a good choice to use the LM3524 to modulate PWM-signal to drive the motorcontroller-chip TB9060?

https://www.ortodoxism.ro/datasheets/toshiba/3380.pdf

PS. I want to control a sensorless BLDC ~100w, 0-10000 rpm, -40 to +~125 celsius

EDIT:
Perhaps the SG3525A is a better chioce, it is possible to adjust v-ref from outside the chip.
**broken link removed**
 

vsgiri

Member level 5
Joined
Feb 24, 2006
Messages
86
Helped
10
Reputation
20
Reaction score
3
Trophy points
1,288
Activity points
2,140
analog voltage to pwm

If voltage rises I want a PWM with higher frequency.

Hey Beffo!
PWM=Pulse Width Modulation.
Pulse width changes in response to input, not the frequency!!

Giri
 

Beffo

Junior Member level 2
Joined
Feb 21, 2006
Messages
22
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,493
analog til pwm

YES, of course...

It is the duty cykle/time that should be adjusted.

So how about the SG3525A? would it work together with TB9060?
 

vsgiri

Member level 5
Joined
Feb 24, 2006
Messages
86
Helped
10
Reputation
20
Reaction score
3
Trophy points
1,288
Activity points
2,140
converter analog to pwm

Beffo,
I had a cursory glance through the tb9060.
It just needs the PWM signal, and it generates the 3-phase bridge waveforms.
The PWM could be achieved easily using the 3525.
Just take care of the minimum and maximum pulse widths!
So good luck!

Giri
 

Beffo

Junior Member level 2
Joined
Feb 21, 2006
Messages
22
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,493
giri convert to rpm

Thanks Giri, components ordered...

who knows... maybe it will work :)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top