I'm controlling a 4-pin PWM fan from a 5V PIC and before going too far I'll say that everything is working fine but I'm just not understanding what I'm seeing on my scope.

The fan has a 12V supply and an internal pull-up on its PWM control line, so I'm driving it from the PIC's PWM output via a 2N7000 MOSFET. This is the schematic:

![schematic][1]

During testing, I hooked up my scope with one probe on the fan's PWM line (i.e. the drain of Q1) and another probe on the output from the PIC (i.e. pin RC5 or the gate of Q1).

So with a 25KHz PWM with 90% duty cycle (active low from the PIC because it's inverted by Q1), I get the following, which looks ok (the top yellow trace is the fan's PWM and the bottom blue trace is the PIC's PWM):

![90percent][2]

However, as I reduce the duty cycle, for example to 30%, the amplitude of the fan's PWM drops:

![30percent][3]

And at 15% duty cycle:

![15percent][4]

Like I said, it's all working ok, I just can't understand where this drop is coming from. I took a few measurements and plotted in Excel, which looks like this, with duty cycle on the x axis and the voltage across the drain and source of Q1 on the y axis:

![chart][5]

I don't think it's a measurement artifact of the scope because the PIC's PWM shows a solid 5V at every duty cycle, but I don't see why the behaviour of Q1 should change just because of a different duty cycle. So is this something unknown that's happening inside the fan's circuitry or have I misunderstood something?

The [technical data for the fan](http://www.arctic.ac/de_en/arctic-f8-pwm.html) shows a performance curve like so, which is of a similar nature to my Excel chart:

![fan][6]

If anyone can help me to understand what's going on I'd be very grateful. Even if just to say that it's something unknowable inside the fan, at least I'd know that I've not done anything wrong.


  [1]: http://i.stack.imgur.com/l5QuQ.png
  [2]: http://i.stack.imgur.com/PaonT.png
  [3]: http://i.stack.imgur.com/ED4Qf.png
  [4]: http://i.stack.imgur.com/Vw0F5.png
  [5]: http://i.stack.imgur.com/7eV0y.png
  [6]: http://i.stack.imgur.com/xAAOB.jpg