1
\$\begingroup\$

I have a Relaxation Oscillator here. What I'm trying to do is to change the duty cycle of ca 50% to 10%.

What I thought of and tried to change R1 and C1 values so the time the capacitor loads and unloads changes. But it stays at ca 50%.

What I am trying to find is a way to change the duty cycle to 10%.

Relaxation oscillator

\$\endgroup\$

3 Answers 3

3
\$\begingroup\$

Charge the capacitor faster (or slower) than you discharge it.

For example, replace R1 with this:

schematic

simulate this circuit – Schematic created using CircuitLab

Now, when discharging (Vout low), D1 conducts putting R1 and R2 in parallel. This will reduce the period, but also increase the duty cycle (by decreasing the low period). If you wanted to reduce teh duty cycle, reverse the diode.

\$\endgroup\$
2
  • \$\begingroup\$ This helped me, now I can change my duty cycle. Is there a specific formula for setting the duty cycle in this example? Thanks in advance. \$\endgroup\$
    – Mounir
    Commented Aug 1, 2019 at 23:37
  • \$\begingroup\$ I don't know of a general formula. It will probably depend on the hysteresis provided by R2/R3 in your schematic \$\endgroup\$
    – user16324
    Commented Aug 2, 2019 at 8:32
4
\$\begingroup\$

Instead of a single resistor R1 use different resistance values for charging and discharging the capacitor. You can use diodes to separate the current directions.

Adjustable duty cycle without changing the frequency very much can be achieved by replacing R1 with this:

enter image description here

47 kOhm potentiometer has been chosen because it's generally available. Have a linear scale version.

You have only plusminus 5V operating voltages. The voltage drop in 1N4148 is a little unpredictable and it's variance can be too large, if you expect high precision results. In that case you should use mosfet switches to charge and discharge C1 through resistors.

\$\endgroup\$
0
\$\begingroup\$

Instead of grounding R2, return it to a large negative voltage.

If you trust your -5V DC supply, use that. You can split R2 into two resistors for this purpose: their ratio affects duty cycle. Perhaps not the best way, because this method includes the op-amp saturation voltage.

relaxation osc with duty cycle offset

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.