Author Topic: Duty cycle of Schmitt inverter oscillator  (Read 5680 times)

0 Members and 1 Guest are viewing this topic.

Offline helix1Topic starter

  • Contributor
  • Posts: 44
  • Country: gb
Duty cycle of Schmitt inverter oscillator
« on: December 12, 2015, 11:16:25 pm »
I have a single Schmitt inverter with a capacitor (47nF) between the input and ground, and a resistor (6.8K) between input and output. The chip I am using is a 74HCT14 powered by a battery with Vcc at 6V. The oscillator frequency is around 6kHz.

I thought that the duty cycle of this oscillator would be 50%, as the oscillator should be charging and discharging through the same resistor, but I am finding that the output is high for roughly 3 times longer than low. Why could this be happening?
« Last Edit: December 12, 2015, 11:18:08 pm by helix1 »
 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6716
  • Country: nl
Re: Duty cycle of Schmitt inverter oscillator
« Reply #1 on: December 12, 2015, 11:22:31 pm »
"74HCT14 is a hex inverter with Schmitt-trigger inputs. This device features reduced input threshold levels to allow interfacing to TTL logic levels"

:)

Use a HC.
 

Offline helix1Topic starter

  • Contributor
  • Posts: 44
  • Country: gb
Re: Duty cycle of Schmitt inverter oscillator
« Reply #2 on: December 12, 2015, 11:28:09 pm »
ok... sorry for being a bit slow, but even if the threshold levels are lower, shouldn't it take the same time to charge up and discharge down between the levels anyway?
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: Duty cycle of Schmitt inverter oscillator
« Reply #3 on: December 12, 2015, 11:35:26 pm »
I have a single Schmitt inverter with a capacitor (47nF) between the input and ground, and a resistor (6.8K) between input and output. The chip I am using is a 74HCT14 powered by a battery with Vcc at 6V. The oscillator frequency is around 6kHz.

I thought that the duty cycle of this oscillator would be 50%, as the oscillator should be charging and discharging through the same resistor, but I am finding that the output is high for roughly 3 times longer than low. Why could this be happening?

In addition to not using the TTL compatible version, note that the hysteresis between switching levels in Schmitt trigger logic tends to wander around a bit, which means you can't guarantee 50% duty regardless what family you use (AC, HC, VLC, whatever). If you absolutely need 50% duty - all the time, guaranteed - then use a flip-flop* to divide by 2 (you will need to set the oscillator frequency twice as high, obviously).


* - almost any kind can be used: http://www.electronics-tutorials.ws/counter/count_1.html


 

Offline Marco

  • Super Contributor
  • ***
  • Posts: 6716
  • Country: nl
Re: Duty cycle of Schmitt inverter oscillator
« Reply #4 on: December 13, 2015, 12:00:07 am »
ok... sorry for being a bit slow, but even if the threshold levels are lower, shouldn't it take the same time to charge up and discharge down between the levels anyway?

The charging current is around ~(6-1.3)/R and the discharge current is ~1.3/R, so no it shouldn't.
 

Offline helix1Topic starter

  • Contributor
  • Posts: 44
  • Country: gb
Re: Duty cycle of Schmitt inverter oscillator
« Reply #5 on: December 13, 2015, 12:04:28 am »
thanks guys, very helpful!
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Duty cycle of Schmitt inverter oscillator
« Reply #6 on: December 13, 2015, 05:04:00 am »
You can use a 555 as a pretty accurate Schmitt trigger with limits at 1/2 and 2/3 VCC.

 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Duty cycle of Schmitt inverter oscillator
« Reply #7 on: December 13, 2015, 09:19:29 am »
I have a single Schmitt inverter with a capacitor (47nF) between the input and ground, and a resistor (6.8K) between input and output. The chip I am using is a 74HCT14 powered by a battery with Vcc at 6V. The oscillator frequency is around 6kHz.

I thought that the duty cycle of this oscillator would be 50%, as the oscillator should be charging and discharging through the same resistor, but I am finding that the output is high for roughly 3 times longer than low. Why could this be happening?

In addition to not using the TTL compatible version, note that the hysteresis between switching levels in Schmitt trigger logic tends to wander around a bit, which means you can't guarantee 50% duty regardless what family you use (AC, HC, VLC, whatever). If you absolutely need 50% duty - all the time, guaranteed - then use a flip-flop* to divide by 2 (you will need to set the oscillator frequency twice as high, obviously).


* - almost any kind can be used: http://www.electronics-tutorials.ws/counter/count_1.html
Yes, a flip-flop is a good idea.

If a dual flip-flop IC is used, such as the CD4013 or 74HC74, then rather than using a 74HC14 as an oscillator, one of the flip-flops could be configured as an astable.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf