Here is a schematic of a 555 setup to create a single shot voltage sawtooth pulse across the capacitor C2. It also outputs a square wave pulse on pin 3. A (reversed biased) Zener diode is used together with a another forward biased diode and a resistor to set the bias voltage for the external transistor, Q. My question is why is D1 needed? You can argue the added voltage drop is just enough to be added to the Zener voltage to create the required bias voltage, however a different Zener would achieve the same thing. I'm guessing it is compensating for something, but not sure what. Will be glad to hear suggestions. 555 circuit setup to single shot sawtooth wave generation

  • \$\begingroup\$ #guess: D1 ensures unidirectional current flow. But y do we need that? \$\endgroup\$
    – nidhin
    Jun 5, 2014 at 10:24
  • \$\begingroup\$ @nidhin: It does that as well, however there's not much point in doing that in a single point of the circuit. If the power connections are wrong the 555 will fry anyway. \$\endgroup\$
    – user34920
    Jun 5, 2014 at 10:28
  • \$\begingroup\$ Another possibility is temperature compensation. Let's wait for experts to answer. \$\endgroup\$
    – nidhin
    Jun 5, 2014 at 10:31
  • \$\begingroup\$ It might be to temperature compensate the zener voltage; normally, at about 5V zeners are naturally (generalism alert!) "neutral" but if the zener voltage is significantly different the tempco rises or falls either side of ~5V. \$\endgroup\$
    – Andy aka
    Jun 5, 2014 at 10:34
  • \$\begingroup\$ @nidhin: That was my initial thought. D1 might compensate for the BE junction in the transistor, but not against the Zener diode. However it might not be necessary to compensate for the Zener diode because if the gain is high enough a small change in the base current would not change much. \$\endgroup\$
    – user34920
    Jun 5, 2014 at 10:35

1 Answer 1


The diode improves the stability of the current source with temperature changes.

Imagine the Zener voltage is stable with temperature, then without the diode, the current will increase by about 2mV/Re = 4uA for every degree C. The diode forward voltage drops by about 2mV every degree C, so it mostly compensates for the transistor Vbe drop.

They are operated at different currents, so the compensation is not perfect, and the Zener will have some tempco (not much because it will be close to the optimum voltage for Zener tempco) but this will improve overall stability by perhaps 5:1 or 10:1. Over a range of, say, -20'C to +80'C it might improve the stability from 5% to 1%, where the capacitor tempco will dominate. It's a reasonable thing to do if you care about the frequency. I once used a similar circuit without the compensation in a dual role to generate an ADC ramp (homemade 15 bit ADC in this product) and to measure board temperature.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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