Shop OBEX P1 Docs P2 Docs Learn Events
TACH for DC Fan.... — Parallax Forums

TACH for DC Fan....

LUCA BRAZZILUCA BRAZZI Posts: 4
edited 2005-12-14 18:46 in General Discussion
Instead of buying a 3 or 4 wire case fan, I would like to add a Tach output to a 2 wire fan I already have...

Anyone ever done this before? Any suggestions?

Comments

  • TiboTibo Posts: 81
    edited 2005-12-04 18:30
    There are so many ways to do it [noparse]:)[/noparse] how is your fan setup ?
  • LUCA BRAZZILUCA BRAZZI Posts: 4
    edited 2005-12-08 16:22
    What do you mean?

    Its· a 12 volt PC case fan...
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-12-08 16:31
    This thread is being moved from the BASIC Stamps forum to the Sandbox.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • LUCA BRAZZILUCA BRAZZI Posts: 4
    edited 2005-12-09 17:18
    Off Topic?

    I think it was a little too early to make that call... I am planning to use a Basic Stamp to interface with this Fan/Tach
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2005-12-09 22:47
    LUCA,

    Here is something that may work for you....· The pulses are·short (10uS to 15uS), but should be enough to trigger a Flip-Flop into a Stamp
    for a very nice square wave proportional to the fan speed.

    The idea of operation is that instead of placing a resistor or·diode·in series with the fan and measure current spikes when the coils switch,
    simply use the B-E junction of a transistor as a diode.· Remember the B-E junction of a transistor works as a diode.· Now, when the coils
    within the brushless DC motor switch, the current will spike and turn the transistor "OFF" for 10uS to 15uS.· During this off time, the 4.7K
    pull-up resistor will pull the output voltage level up and generate a pulse equal to the supply line.... in this case 12 Volts.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
    653 x 557 - 48K
  • LUCA BRAZZILUCA BRAZZI Posts: 4
    edited 2005-12-14 14:42
    Thanks for the Info...

    Im also planning on varying fan speed using PWM... how will that affect the output of this circuit?
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2005-12-14 15:00
    Imm.
    I suspect that you can't simply do both and get a reliable speed measurement.
    The PWM on its own might create a 'garbage in-garbage out' situation [noparse][[/noparse]Input pulses atop output pulses]
    Much is dependent on what frequency and how long your PWM pulses are.

    Why not try controlling the speed by reducing the voltage instead?
    You may still use PWM, but you would have to smooth it with capacitors before it arrives at the fan.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2005-12-14 18:46
    I agree with Kramer....."garbage in-garbage out".

    Since the current requirement is relatively low for the fan, what I would probably do here is use
    an Op-Amp configured as a voltage follower with a gain of x2 to get at least 10V to the fan.
    The Op-Amp input would receive PWM from the Stamp with proper resistor/capacitor filtering.
    The Output of the Op-Amp would then drive the fan. (+ supply )

    In the schematic that I provided above, the 4.7K resistor should go to a fixed +5V supply so
    that it is more "Stamp friendly".

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.

    Post Edited (Beau Schwabe (Parallax)) : 12/14/2005 6:49:58 PM GMT
Sign In or Register to comment.