Electronic Circuits and electronic circuits, electronic schematics plus an extensive resource for hobbyists, inventors and engineers

DiscoverCircuits.com, has 45,000+ electronic circuits, cross-referenced
into 500+ categories.    We have searched the web to help you find quick design ideas.
We make every effort to link to original material posted by the designer. 
Please let us if you would like us to link to or post your design.

HOME Schematics Index Hobby Corner Dave's Circuits Electronic Resources Contact Info
Imagineering Ezine    Discover Solar Energy Dave Johnson & Associates Faraday Touch Switches


DiscoverCircuits.com -- Hobby Corner
Last Updated on: Thursday, November 30, 2017 07:42 AM

Hobby Circuits List

The contents & graphics of Discovercircuits.com are copyright protected.
LINKING to Dave's circuits is permitted but DO NOT COPY any files to your WEB SITE server

More  PWMMotor Control CircuitsControl Circuits
 

Computer Controlled PWM Circuit

 

There are times when you wish to control a pulse width modulation (PWM) signal with a DC voltage, ranging from 0v to 5v. This voltage is often created by a computer interface.  The circuit below performs this voltage to PWM conversion. PWM signals are often used to control the speed of DC motors and can also be used to control LED lamp light intensity.

Two ICs are used for this converter.  A dual op Amp generates a 20KHz square wave signal.  A triangle shape waveform is produced as part of that generator. That signal is fed to the non-inverting side of a LM393 voltage comparator.  The 0v to 5v control input is level shifted and attenuated to match the triangle wave peak to peak voltage.  That DC voltage is fed to the inverting side of the LM393 comparator.  The comparator output is thus a TTL level signal, whose pulse width can be controlled by the input DC voltage. With a 0v input, the duty cycle of the PWM waveform is 0%.  With a voltage of +5v, the duty cycle shifts to 100%. With the component values selected, the PWM frequency is 20KHz but can easily be changed by changing the resistor value at the R4 position.

Click on Drawing Below to view PDF version of Schematic



More  PWMMotor Control Circuits Control Circuits
 

Hobby Circuits List
eMail David A. Johnson, P.E. about this circuit


HOME Schematics Index Hobby Corner Dave's Circuits Electronic Resources Contact Info
Imagineering Ezine    Discover Solar Energy Dave Johnson & Associates Faraday Touch Switches


 About Us   |  Advertise on DiscoverCircuits.com   |   Report Broken Links  |    Link to DiscoverCircuits.com  |    Privacy Policy


Copyright  January, 1998 - November, 2017     David A. Johnson & Associates.  All Rights reserved. 


 Linking is ALLOWED but COPYING any content or graphics to your web site is EXPRESSLY PROHIBITED.