Path: EDN Asia >> Design Ideas >> IC/Board/Systems Design >> Waveform generator produces 25 and 75% duty cycles
IC/Board/Systems Design Share print

Waveform generator produces 25 and 75% duty cycles

28 Jul 2015  | Marian Stofka

Share this page with your friends

Test applications may require a rectangular waveform having a precision duty cycle higher or lower than 50%. The circuit in figure 1 is a free-running generator using just two ICs that produces rectangular-waveform duty cycles of both 25 and 75%. It holds the duty-cycle accuracy regardless of the duty-cycle accuracy from the signal source, an oscillator circuit comprising a Schmitt-trigger input NAND gate, IC1A. Flip-flop IC2A divides the oscillator's frequency by two at its and Q1 outputs. Flip-flop IC2B functions as a modulo-two divider clocked from the Q1 output of IC2A. Thus, IC2A and IC2B divide the oscillator's output by four.

Figure 1: This circuit uses two flip-flops and three NAND gates to generate waveforms with 25 and 75% duty cycles.

NAND gates IC1B and IC1C generate the output waveform from the and Q2 signals. Figure 2 shows the output from NAND gate IC1B. You can generate the 25% duty cycle by simply replacing the waveform that IC1B outputs with the one that gate IC1C outputs. If the active level is low instead of high, you can simply interchange the outputs of IC1B and IC1C.

Figure 2: NANDing the Q1 and Q2 logic signals gives a glitch-free output.

The repetition frequency, 1/TREP, of the oscillator employing IC1A is almost independent of the supply voltage within the range of 3 to 5V because both the positive and the negative thresholds of the input CMOS Schmitt trigger are roughly proportional to the supply voltage. Rough analysis gives a repetition frequency of approximately 2.7/π, where π=RC, the time constant of the RC circuit around gate IC1A. Further, the oscillator's waveform duty cycle is approximately 46.3%.

About the author
Marián Štofka is with Slovak University of Technology, Bratislava, Slovakia.

This article is a Design Idea selected for re-publication by the editors. It was first published on March 18, 2010 in

Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.

Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming

News | Products | Design Features | Regional Roundup | Tech Impact