Hi All.
I am working on a fan controller. Nice and easy, I read a temperature and change the PWM duty when things get too hot. Here is the bazaar issue. All goes well until I try a duty between 90 and 93%. If I use them the PWM output from the PIC will go to 0 after about .5 - 1 seconds. If I disconnect the fan, it will run fine. The pic still runs as I can send it commands to change duties. As soon as I move away from that range, everything works again.
I am using a frequency of 25khz and the issue seems to change slightly if I change the frequency to 20kHz (the non working duty changes to 88-90%).
Question is, what could be causing this??
Below is my circuit. Any comments welcome.
Thanks

I am working on a fan controller. Nice and easy, I read a temperature and change the PWM duty when things get too hot. Here is the bazaar issue. All goes well until I try a duty between 90 and 93%. If I use them the PWM output from the PIC will go to 0 after about .5 - 1 seconds. If I disconnect the fan, it will run fine. The pic still runs as I can send it commands to change duties. As soon as I move away from that range, everything works again.
I am using a frequency of 25khz and the issue seems to change slightly if I change the frequency to 20kHz (the non working duty changes to 88-90%).
Question is, what could be causing this??
Below is my circuit. Any comments welcome.
Thanks
