# Op-Amp variable pulse generator

I'm having trouble designing a circuit using an Op-Amp (741) to generate pulses. The task given to me is:

Design a pulse generator with a duty cycle that is adjustable from 0 to 100% and whose frequency can be set between 500Hz and 1KHz. Only DC supply may be used.

I found the following diagram:

Now, I know you can set the frequency by adjusting R2, but I'm unsure how to adjust the duty cycle (make R a potentiometer?). Also, what kind of values can be expected for the resistors and capacitor?

Thank you

• That circuit won't work. (1) It uses a dual-voltage DC supply. (2) There is no duty-cycle adjust. Since this is homework we will guide you when you show your work so far. You need to do some more research. Oct 15, 2019 at 19:51
• That circuit is a square wave generator. varying R or R2 will adjust the frequency. As the cct stands there is no way of adjusting the mark to space ratio.
– user173271
Oct 15, 2019 at 20:17
• @Transistor Why won't the circuit work if the op-amp uses a dual voltage DC supply?
– Carl
Jun 7, 2021 at 18:23
• @Carl, the exercise is to generate pulses. That implies a signal switching between zero and Vcc. The diagram shows that the 741 will switch between +Vsat and -Vsat so I reckon that's a fail right there. Question says that "only DC supply may be used" so that also (vaguely) implies that a single-ended supply must be used. The lack of duty-cycle adjustment should be obvious. Jun 7, 2021 at 19:35

simulate this circuit – Schematic created using CircuitLab

This topology will work.

OP1 is a non-inverting schmitt trigger. OP2 is an integrator. OP3 is configured as a comparator.

The output of OP1 is a square wave which drives integrator OP2 the output of which is a triangle wave. OP3 compares the triangle wave to a settable threshold to produce the variable frequency pulse width modulated waveform.

THis will easily work with dual supply .

But use Pot for R to change frequency from 1k to 10K using fixed 1k R in series with 10k Pot and C=0.1uF

The Positive feedback is simply equal R values from output to Mid-supply (V+ +V-)/2 = 0V in this case.

This changes the threshold of the Relaxation Oscillation just like CMOS Schmitt triggers with 50% Hysteresis for the sawtooth input voltage on the Vin- RC side. to switch outputs.

The negative feedback R self biases the cap to cross the upper and lower Vin+ threshold switched bu the output.

Interactive Falstad Simulation here