Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 25th January 2007, 02:14 PM   (permalink)
Default PWM variable frequency signal

Hi,
I am having the following problem. I need to create a variable frequency variable duty cycle 5V square wave signal. The frequency and pulse width need to be adjusted by pots or something of that user friendliness. My current design incorporates 2 555-timer ICs one run in astable mode to get my frequency that I want and the second run in monostable mode for pulse shaping. My problem is with the pulse shaping design. I have it being triggered by the first 555 and it works, however, my frequency range 1-50Hz requires the pot on the duty cycle adjustment to be astronomically large to achieve 3-97% duty cycle at each frequency. I need some IC that accepts the frequency signal from the first IC and creates the duty cycle by a smaller adjustment independent of frequency. I believe I can do the whole circuit with a MSP430 microcontroller, however, I need two designs and if there is an IC out there that does pulse shaping for this application it would be nice.

Thanks for your time
Chris
cszym001 is offline  
Old 25th January 2007, 02:26 PM   (permalink)
Default

Looks like you need about a 5000:1 range on the second monostable which would be do-able, but impossibly sensitive at one end of the pot range.
How about using a log pot instead of linear?
dch222 is offline  
Old 25th January 2007, 02:37 PM   (permalink)
Default

I could but that makes the duty cycle too sensative at higher frequencies.
cszym001 is offline  
Old 25th January 2007, 04:42 PM   (permalink)
Default

Try this:

Generate triangle waves at the frequency you require, (I think you may find these on the timing capacitor of the 555).
Feed the triangle wave into a comparator.
Make the camparator reference voltage adjustable with a pot.
The output of the comparator will have a duty cycle variable from 0 to 100% determined in a linear manner from the position of the reference voltage pot.

JimB
__________________
Experience is directly proportional to the value of the equipment ruined.
JimB is offline  
Old 25th January 2007, 09:34 PM   (permalink)
Default

That may work. I thought of that initially but only can deal with a small delay (only a couple of microseconds). Specific Timing is a must therefore comparator response time must be minimal. Do you have any Recommendations for a good Op Amp to achieve this?
cszym001 is offline  
Old 25th January 2007, 09:47 PM   (permalink)
Default

Quote:
Originally Posted by cszym001
That may work. I thought of that initially but only can deal with a small delay (only a couple of microseconds). Specific Timing is a must therefore comparator response time must be minimal. Do you have any Recommendations for a good Op Amp to achieve this?
An LM393 has a nominal delay of 300ns. A little hysteresis would be in order.
__________________
Ron

Roff is online now  
Old 25th January 2007, 11:00 PM   (permalink)
Default

I'm not experienced enough to say whether this circuit really suits what you're after, but I've had good results with it. It's the two-diode circuit second from the bottom of the image:

http://home.cogeco.ca/~rpaisley4/LM555.html#4

(It's a long page...)

Anyway I just built one of these last night for a slow-time fountain project and it works great. I'm using R1 = 470R, R2a = R2b = 10K trimpot, and C1 = 4.7uF. I'm still playing with the values to give the most usable range but these ones are in the ballpark for me.

Anyway, again I'm not sure this is what you want, but it might be worth a look.


Torben
Torben is offline  
Old 26th January 2007, 01:41 AM   (permalink)
Default

Would you consider a different approach using a "function generator" ic? For example, the ICL8038 from Intersil or the Maxim MAX 038.
__________________
RadioRon
RadioRon is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Variable capacitor circuits walters General Electronics Chat 83 11th March 2008 03:59 PM
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 02:45 PM
Using Oscilloscopes mechie Electronic Theory 9 29th November 2007 10:49 PM
Band pass filters, from theory to practice ikalogic General Electronics Chat 10 13th January 2007 08:04 AM
signal frequency and range ?????? samcheetah General Electronics Chat 3 22nd February 2004 08:23 AM



All times are GMT. The time now is 08:17 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker