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 solutions & design ideas.

Got Designs?
Please eMail
if you want me to link to and/or post your original design
NOTE:  We make every effort to link to original material posted by the designer. 
Please contact us if our link is not to your site!  Thanks.

DiscoverCircuits.com -- Hobby Corner
Last Updated on: Tuesday, June 01, 2021 03:06 PM

Hobby Circuits List

The contents & graphics of Discovercircuits.com are copyright protected.
LINK to Dave's circuit, 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 Circuit Below to view PDF 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 Contact Info
Imagineering Ezine Dave Johnson & Associates Faraday Touch Switches


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

Copyright  January, 1998 - June, 2021     David A. Johnson  All Rights reserved. 
 Linking is ALLOWED but COPYING any content or graphics to your web site is EXPRESSLY PROHIBITED.