(article continued from previous page)
To understand how the 74AC14 PWM circuit works, let’s zoom in on the section of the schematic containing the trimpot, diodes, capacitor, and the first inverter logic gate.
Partial schematic showing the charging path of a variable duty-cycle PWM circuit.
Partial schematic showing the charging path of a variable duty-cycle PWM circuit.
The repeated charging and discharging of the capacitor occurs because the inverter gate output flips to the opposite of the state of the capacitor. When the capacitor is empty, the inverter output charges the capacitor. When the capacitor is full, the inverter output discharges the capacitor.
If this were the only feature of this circuit, the output would be “on” half of the time (when charging the capacitor) and “off” half of the time. This would provide 50% power (only “on” half the time) to whatever was connected.
The trick is that the resistance of the “on” path is different from the “off” path due to the diodes. That means you can dial the trimpot to make the “on time” take more or less time than the “off time”. As such, you can supply an output signal that is “on” from almost 0% to 100% of the time.
Obviously if the outputs are “on” only 10% of the time, the attached device is only going to be “on” only 10% of the time. In this way, the total amount of power delivered to an attached device can be varied by simply turning the potentiometer to alter the on/off times (duty cycle).
It may help to see the actual outputs on an oscilloscope...