I've recently attempted a repair on a cooling fan circuit in a hard drive enclosure that has me somewhat baffled. The fan is an AD08012HX207000 with a connection for two wires. The circuit that drives the fan supplies 12V to the positive pin, and the negative pin is driven by the circuit below. The circuit appears to take the 3.3V PWM signal from the MCU, reduces it to ~1.6V to drive the base of a low voltage, high current BJT transistor. The transistor provides a path to ground when the base is driven high, and the fan can spin.
I'm not really sure what the 47uF capacitor is for. Smoothing out the PWM transition when the fan changes speed? When I probe the capacitor I see a square wave at 12V, and my sense is that the capacitor is charging to 12V, at which point the fan is off because the voltage on both sides is the same, and then discharging, allowing the fan to spin again, but I have no idea why it's connected via a 4.7k resistor to MCU power.
Here's a shot of my oscilloscope probing the pin of the capacitor that is connector to the fan negative:
If I remove the capacitor from the circuit, and connect the fan negative directly to the emitter of the transistor, I see this:
I guess my questions in order of importance are:
Why do it this way? Why not just use a mosfet to either drive the 12V positive or the path to ground? Does this save money somehow?
Why the voltage divider on the PWM signal? I checked the datasheet for this transistor and 3.3V seems fine.
What function does the capacitor serve?
[edit] just to clarify a bit, what I'm trying to "repair" is the fact that the fan spins very slowly when connected, and only on the highest setting. I've actually tested this fan with a simple PWM circuit coming from a 555 timer, and it doesn't really seem to like being drive by PWM very much. It basically maintains a constant speed until ~50% duty cycle and then turns off, which makes me think that it has some sort of internal regulation that is interfering. The manufacturer sent me this fan as a replacement, and my growing suspicion is that they sent me the wrong one and the circuit is actually working fine. I've lost the original, so I can't use it for comparison. All of that aside, I want to understand how this circuit works for my own edification.
simulate this circuit – Schematic created using CircuitLab
Turns out the schematic above was incorrect. I've updated it to indicate that the capacitor is connected across the collector/emitter in case someone comes across this in the future.