Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Ideas For Design]
Adjust 555-Based Generator's Duty Cycle Without Affecting Frequency

Jordan Dimitrov  |   ED Online ID #16590  |   September 13, 2007


A free-running generator built on the standard configuration of the 555 timer can't provide a duty cycle of exactly 50%. That's a well-known fact. Fortunately, there are several ways to get around this problem. The best is to place an extra resistor, R3, between the two regular resistors, R1 and R2, and the chip's discharge pin (Fig. 1).

The problem is that variations in R3 strongly affect output frequency (http://home.cogeco.ca/~rpaisley4/LM 555.html#14). This idea shows how to achieve an adjustable 50% duty cycle with minimum frequency change.

Even with the extra resistor, the timer operates in its usual way. When switch S inside the chip is open, capacitor C is charged through the R1-R2 network (Fig. 2), and the capacitor's voltage rises. When it reaches 2/3 of the power supply, V, the switch closes and capacitor starts discharging. When the voltage drops to the V/3, the switch opens again and the cycle repeats.

The time intervals t1 and t2 are:

where p = R2/R1 and q = R3/R1. For a 50% duty cycle, t1 = t2, so:

And frequency is simply:

Equation 3 is a relation between p and q. If p is set, then q can be calculated. Note that the term under the log operator at the right side must always be positive. This is fulfilled when both the nominator and denominator have identical signs, and it leads to two intervals for q, one from 0 to 0.5 and the other from 2 to infinity. This said, a simple iterative procedure can be used to calculate q. When that's done, R1, R2, and R3 can be defined.

The procedure is as follows:

1. Set the desired frequency and select a value for C.
2. Select the value of p and calculate q from Equation 3.
3. Calculate R1 from Equation 4.
4. Calculate R2 = pR1.
5. Calculate R3 = qR1.

Table 1 shows the nominal values of R1n, R2n, and R3n determined with this procedure for five values of p, with a frequency of 20 kHz and C of 1 nF.

Since the resistors must be rounded to standard values, the duty cycle will not be exactly 50%. The question is how to adjust it with minimum change of frequency. The answer is clear from Table 2, where percentage deviations of the duty cycle, DC, and frequency, F, are calculated when one of the three resistors is increased by 5%, while the other two are kept constant. Note that the best results are obtained when R1 is used to adjust the duty cycle.

A circuit designed according to the described procedure (with p = 1) was tested. Resistor values were: R1 = 18.2 Ωk , R2 = 18.2 Ωk , and R3 = 4.12 Ωk . Then R1 was modified to be able to change by ±5%. All resistors are of 1% tolerance. Table 3 shows that the results, particularly the duty cycle, were very close to the predictions in Table 2. They're also much better than what is reported in the above reference, where R3 is the variable resistor.

The differences between theory and experiment are caused by resistor tolerances. Obviously, frequency suffers more from them. If tighter frequency control is required, a larger value of p can be selected and/or more precise resistors can be used. The first approach affects duty cycle adjustment span; the second affects the price. If needed, frequency can be adjusted independently of the duty cycle by varying capacitor C.


Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Synopsys Takes The Analog/Mixed-Signal Plunge
  • October 2, 2008
  • Electronic Design Update: October 1, 2008
  • For Checking Software Without Hardware, FPGAs Are The Answer
  • ESL Platform Looks To Solidify Baseband PHY Design Flow
  • September 25, 2008
  • Electronic Design Update: September 24, 2008
  • Tools Take On IC-Package And SiP Design Challenges
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (308 views today)
    2) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (201 views today)
    3) Precision DC motor speed controller
    (121 views today)
    4) Efficient DC-To-AC Inverters Charge Equipment Racks
    (117 views today)
    5) VIDEO: Under The Hood Of The Tesla Roadster
    (114 views today)
    ALL TOP 20



    Reader Comments

    The easiest way to adjust the duty cycle of a frequency using a 555 timer, without affecting the frequency, is to use a dual 555 timer with the frequency output driving the trigger input of the second, which is configured as a 'One shot'. Then for a given frequency, set by the first 555 timer, the pulse duty can be changed by adjusting the pulse length of the second one shot!

    this gives much more accurate frequency handling and a duty cycle possibility of 1% TO 99% depending on frequency.

    hope this helps, i know it costs more but is far more accurate where frequency matters.

    jonnyh980 -September 19, 2007

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    The Find Power Products monthly newsletter brings you the most important new developments within the world of power design. The newsletter includes exerpts from industry leader Sam Davis's exclusive blog, as well as overviews of the latest new products.

    Enter Email to Subscribe
      
    Web Seminar
    Sponsored By:
    Title: Exploring How Good GUIs Drive Adoption in the Digital Power Management Space
    Speakers: Don Tuite Deepak Savadaatt
    Date: 10/24/07
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources