Generate pwm using ic 555: The simple method
Method 1; the simple
-
The simple 555 circuit.
-
The differences in C and output. Note that more than 50% pwm is not obtained
-
The surface and contour plot of the limits of the R1 and R2 values.
The capacitor is charging through and but discharges only through using IC 555. Thus should be a potentiometer.
The F capacitor is to ensure that the CTRL and GND stays on the same voltage level. The CTRL pin of the 555 is to level out any fluctuations in the power supply voltage that might affect the operation.
and
The limits of
But note that if cannot be zero because then the discharge pin 7 would be shorted to Vcc.
See the attached python file which generates the surface and contour plot shown above: File:555limits.zip. It is a zipped python file.
File:555 simple 300 300.circuitjs.txt is the Falstad file to simulate the circuit. The image above is generated using Falstad circuit simulator.
pwm% | ||||||
---|---|---|---|---|---|---|
300 | 300 | 300 nF | 0.000125 | 0.0000624 | 0.67 | 5333 |
300 | 300 | 30 nF | 0.0000125 | 0.00000624 | 0.67 | 53333 |
300 | 300 | 3 uF | 0.00125 | 0.000624 | 0.67 | 533 |
3000 | 300 | 300 nF | 0.000686 | 0.0000624 | 0.92 | 1333 |
300 | 3000 | 300 nF | 0.000686 | 0.000624 | 0.52 | 762 |
300 | 30000 | 300 nF | 0.00630 | 0.00624 | 0.50 | 80 |
See the file File:555 simple calculations.ods for interactive Libre Office file.
As the resistance of becomes much larger than , the duty cycle increases towards unity (100%) as approaches zero. If the resistance of increases with respect to , the duty cycle approaches 50% (or 1:1). It seems to be impossible to obtain less than 50% duty cycle with this system; Thus, only about half range can be achieved.
How to get the pwm% smaller than 50%. Add a diode to short during the charge cycle.