blog.world3.net

Linear voltage control with a microcontroller

I have been looking at ways to control computer fans with a microcontroller. I wanted to avoid using PWM because it makes fans louder and also prevents speed monitoring working properly on some fans. Linear voltage control is the best option.

The ideal method is with a nice DC-DC converter, but they are expensive and complex to control with an MCU it seems. There are some much simpler and cheaper methods.

One is to use a 7805 regulator. By biasing the sense line which is normally tied to ground, you can increase the output voltage. Basically the voltage at the sense pin is added to the baseline 5V output. A simple potential divider can set the bias voltage (see the datasheet for an example). Unfortunately more current that most digital potentiometers can handle is required to flow through the resistor, but a set of switched resistors can be attached to an MCU if you have enough I/O ports free.

A better method is to use a digi-pot to generate a reference voltage, then use an op-amp to multiply it over the scale you want and an NPN emitter-follower to boost the current. A LM324 and 2N2219A are ideal, as shown in the THMC50 datasheet:

This entry was written by mojo, posted on 23/09/2008 at 18:51, filed under microcontrollers. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.
« Shopping in the UK sucks
Fixing "little box" problem in Firefox »

Post a Comment

Your email is never shared. Required fields are marked *

*
*

たとえ溺れても梦はゆめでしかない
  •  

    September 2008
    M T W T F S S
    « Aug   Oct »
    1234567
    891011121314
    15161718192021
    22232425262728
    2930  
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • audio (1)
    • avr (20)
    • BBC (1)
    • electronics (29)
    • genius (4)
    • hardware (22)
    • idiots (39)
    • Internet (21)
    • law (20)
    • microcontrollers (12)
    • networking (17)
    • politics (29)
    • privacy (19)
    • Retro Adapter (5)
    • security (17)
    • software (32)
    • Uncategorized (18)
    • windows (25)
  • Archives

    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • July 2011
    • June 2011
    • May 2011
    • March 2011
    • January 2011
    • December 2010
    • November 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2005
  • Links:

    Main site: world3.net

    Electronics: denki.world3.net

WordPress | Sandbox