Continue to Site

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.

[Moved]: How to Convert Analog Voltage to PWM

Status
Not open for further replies.

farhang_760

Newbie level 6
Joined
Mar 8, 2015
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
107
Hi guys ,

1) I produce variable PWM signal with NE555 By potentiometer (50K Ohm) , I wanna change this potentiometer to Analog voltage (0 - 10v) ,
Is there any way or IC to do this ?:?::bang:

(Ne555 )

2) Is there any idea to get Analog voltage and generate PWM signal ? like any IC or any Circuit and etc.
 

Re: How to Convert Analog Voltage to PWM

The classic method is to generate a triangle shaped waveform and feed it to one input of a comparator. Feed the analog voltage to the other input. The output will tell which is higher so raising the analog voltage makes the output appear closer to the 'peaks' of the triangle and lowering it makes it nearer to the valleys in the triangle. The result is a waveform with pulse width proportional to the voltage which is essentially PWM.

Brian.
 

Re: How to Convert Analog Voltage to PWM

The classic method is to generate a triangle shaped waveform and feed it to one input of a comparator. Feed the analog voltage to the other input. The output will tell which is higher so raising the analog voltage makes the output appear closer to the 'peaks' of the triangle and lowering it makes it nearer to the valleys in the triangle. The result is a waveform with pulse width proportional to the voltage which is essentially PWM.

Brian.

Hi Brian,
thank you for your fast reply.
but how to generate a triangle shaped waveform?
 

Re: How to Convert Analog Voltage to PWM

The 555 has an easy way to vary duty cycle, by changing voltage at the 'ctl' pin.
Response may or may not be linear.

 

Its pretty easy to do with a potentiometer:
**broken link removed**

A 555 all by itself is not really suitable for doing it with a voltage. Its possible, but it will be very non linear and nort work well at the extremes of duty cycle.

Much better to use a proper PWM chip which generates a fixed frequency linear ramp, and it will have its own voltage comparator.
The results will be much better.
 

Re: How to Convert Analog Voltage to PWM

Hi Brian,
thank you for your fast reply.
but how to generate a triangle shaped waveform?

You can do it with an unijuction transistor, a low IDSS n-chan JFET, one resistor and a capacitor.
Actually a sawtooth, but it also works to generate the PWM

IMG_1047.JPG
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top