Oznog
Active Member
I have a project with a buck converter for driving high powered Luxeon LEDs without generating a crapload of heat.
The circuit would fail whenever a load was hooked up- in fact, it was sort of a latchup mode, looks like the pins just tristated. There is no feedback in there except for a voltage feedback pin which has a 2.2k resistor going to the pin and a 5.1V zener to clamp off any excessive voltage, it just shuts off, and removing the load won't make it work again, the power has to be cycled off. This is hard to understand because only the PWM pin goes to the circuit, and it's driving a MOSFET gate so it's electrically insulated. And the MOSFET gets its power from the 12V source, not the 5V reg. There's a tantalum cap on both input and output of the 5V reg. And I've seen this exact same shutdown problem with another PWM that never worked.
After trying various things for this inexplicable problem, I found that I hadn't put in the ceramic decoupler cap on the PIC's power pins themselves, it wasn't far from the reg's tantalum output cap so I didn't think it was a priority to put in there.
Weird- but that looks like the problem. Just thought I'd share that with you, after spending so long trying to figure it out I had to share it with somebody.
The circuit would fail whenever a load was hooked up- in fact, it was sort of a latchup mode, looks like the pins just tristated. There is no feedback in there except for a voltage feedback pin which has a 2.2k resistor going to the pin and a 5.1V zener to clamp off any excessive voltage, it just shuts off, and removing the load won't make it work again, the power has to be cycled off. This is hard to understand because only the PWM pin goes to the circuit, and it's driving a MOSFET gate so it's electrically insulated. And the MOSFET gets its power from the 12V source, not the 5V reg. There's a tantalum cap on both input and output of the 5V reg. And I've seen this exact same shutdown problem with another PWM that never worked.
After trying various things for this inexplicable problem, I found that I hadn't put in the ceramic decoupler cap on the PIC's power pins themselves, it wasn't far from the reg's tantalum output cap so I didn't think it was a priority to put in there.
Weird- but that looks like the problem. Just thought I'd share that with you, after spending so long trying to figure it out I had to share it with somebody.