Building a 555 PWM Circuit for a Three-Channel Function Generator

  • Thread starter Thread starter Jdo300
  • Start date Start date
  • Tags Tags
    Circuit Pwm
Click For Summary

Discussion Overview

The discussion revolves around building a custom three-channel function generator using 555 timers configured as pulse width modulators (PWMs). Participants explore circuit designs, component selection, and the desired pulse width range for their application, which involves varying the duty cycle of outputs from existing function generators.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Jason O seeks guidance on wiring 555 timers as PWMs to achieve a wide range of pulse widths, specifically targeting between 1 ms and the minimum pulse width the 555 can handle.
  • Some participants suggest referring to the 555 datasheet for application notes and circuit diagrams.
  • Jason O expresses uncertainty about the appropriate component values needed to achieve the desired pulse width range and inquires about online calculators for PWM configurations.
  • There is a clarification from Jason O regarding terminology, indicating a desire for an adjustable duty cycle setup rather than a traditional PWM.
  • One participant proposes using an astable circuit to maintain a fixed frequency while adjusting the duty cycle with a monostable configuration, noting the interdependence of frequency and duty cycle.
  • Another participant mentions the need for a stable frequency input and suggests triggering the monostable off the negative edge of the astable output.
  • Jason O raises a concern about the minimum pulse width for the 555 in monostable mode being 5 µs and asks for alternatives to achieve smaller pulse widths.
  • There is a request for recommendations on simple ICs that can adjust the duty cycle of an output signal for driving MOSFETs.

Areas of Agreement / Disagreement

Participants express various approaches to achieving the desired functionality, but there is no consensus on the best method or specific component values. The discussion remains unresolved regarding the optimal circuit design and component selection.

Contextual Notes

Participants note the interdependence of duty cycle and frequency in their proposed configurations, and there are uncertainties regarding the specific component values needed for the desired pulse width range. The discussion also highlights the limitations of the 555 timer in achieving pulse widths smaller than 5 µs.

Jdo300
Messages
548
Reaction score
5
Hello All,

I am working on making my own custom three-channel function generator with duty cycle adjust. I bought three of these electronics kit function generators (http://www.electronickits.com/kit/complete/meas/fg500k.htm) .

I want to build a project box with three 555 timers wired up as PWMs to vary the duty cycle of the output from the function generators. I looked around online for some simple circuits to wire the 555 timers and found lots of setups. All I know is that it needs to be in one-shot mode so that it only pulses once for every incoming square wave from the function generator. Also, I want to have the widest possible range for the pulse width as possible. The target range I'm shooting for is between 1 ms and the lowest pulse width that the 555 can handle. Could someone point me to a good reference circuit to use?

Thanks,
Jason O
 
Last edited by a moderator:
Engineering news on Phys.org
Down load the 555 datasheet, IIRC they have a full set of application notes
 
Hi Panda,

I got a copy of the 555 data sheet here:

http://www.national.com/ds/LM/LM555JAN.pdf

It does have a simple diagram to wire up a PWM using the 555 (see screenshot) but I am not sure what size components to use to get the pulse width range that I am looking for. I did notice that there were some equations on the page (pg. 9) where I copied the picture from but I'm not sure which one applies specifically to my application.

Is there an online calculator out there to determine the components one needs? I have seen calculators for the astable mode but not the PWM mode.

Thank you,
Jason O
 

Attachments

  • 555 PWM.gif
    555 PWM.gif
    13.3 KB · Views: 1,573
Last edited by a moderator:
Hello All,

After looking over the diagram for the 555 PWM circuit in the datasheet, I'm beginning to think that I was using the wrong terminology in saying that I want to make a pulse width modulator. What I am really wanting is an adjustable duty cycle setup using a pot. I have a 200KOhm pot and I can plug in whatever cap value I need to get the desired range but could some one let me know if the diagram I posted from the datasheet is the one I need to use in this case?

I also found a website that has a calculator for determining the one time of the 555 in monostable mode:

http://www.electronics-lab.com/articles/basics/components/555calcs.htm

I am wondering if the C and R values in the calculator correspond to the same C and R values on the diagram I posted before. If so, then what do I do with pin 5, the modulation input? Would I just tie it to V+ or ground since I want to use my POT to vary the duty cycle manually?

Thanks,
Jason O
 
If I understand you... you want to have a variable duty cycle squarewave at a set of switched frequencies?

Using an Astable circuit the two equations are:

Duty Cycle = Rb/(Ra+2Rb)
Frequency = 1.44/(Ra+2Rb)C

What these two equations show is that by changing the duty cycle you will also change the frequency.

What you could try is to make an Astable running at a fixed frequency and Duty Cycle as high as possible.
Then Build a Monostable with a variable pulse width from slightly longer than the OFF period of the Astable up to the full period of the Astable triggered by the Astable output.
The Monostable output should then have a fixed frequency determined by the Astable with Duty Cycle determined by the Monostable Period.
Here is the worlds worst state diagram...

-----1_1---------1_1-------1_1-------- - Astable O/P
...!...!.....!... - Monostable Trigger Point
____1---1______1---1_____1---1______ - Monostable O/P

Not sure what Duty cycle range could be achieved using this method.
You could build this using a single 556.
 
Hi Panda,

I already have the supplies to externally trigger the 555 timers. I bought the frequency generator to give me better control of the frequency tuning (which would not be fixed since I'm doing experiments). I was just hoping that I could set the 555 up in such a way that it only pulses once for every input pulse of the function generator. The duty cycle would always be much less than 50% for the experiments that I am working on. I actually built a single 555 timer that I can tune the frequency and duty cycle with but, as you said, changing the duty cycle changes the frequency.
 
If you have a stable frequency input then just build an astable with variable pulse width between not a lot and the trigger period and trigger it from a square wave input.
The 555 Monostable should trigger off the negative edge. If it triggers off a logic 0 then you may need to sharpen your pulse through a high pass filter and inverter to create a negative glitch.
 
Thanks for the info. I was reading somewhere that the minimum pulse width for the 555 in monostable mode is 5 uS? This may work but ideally, I would like to get it smaller than that. Would you happen to know of any simple IC's that can take an input signal and adjust the duty cycle of the output? Ultimitely, the output would be driving some MOSFETs.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
Replies
16
Views
3K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
25
Views
9K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
35K
  • · Replies 3 ·
Replies
3
Views
8K