Re: microprocessor controlled SMPS
From: Ian (${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}_at_jusme.com)
Date: 06/07/04
- Next message: Jan Panteltje: "Re: PIC flash controller IC in SOT-23 package"
- Previous message: Jem Berkes: "Re: Fully spam/virus filtered mail, and reliable outbound relay"
- In reply to: Al Borowski: "Re: microprocessor controlled SMPS"
- Next in thread: Jan Panteltje: "Re: microprocessor controlled SMPS"
- Reply: Jan Panteltje: "Re: microprocessor controlled SMPS"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 07 Jun 2004 14:23:56 GMT
I've used a PIC to run a flyback SM converter, using a logic-level MOSFET driven directly
from the PWM output. Feedback is via potential divider straight to the comparator input.
Simple bang-bang software control loop to maintain approximately the required output voltage,
triggered off the PWM timer interrupt to sample the output voltage at an appropriate point in
each cycle (away from the flyback spike) and up/down the PWM duty accordingly.
For protection a beefy 200V zener across the HV output to protect the output cap (target
voltage 180V) and a thermal fuse on the MOSFET in case the PWM output gets stuck on
(experience indicates that the MOSFET gets hot quickest in this state :-)
Works great. I did have worries about zapping the PIC I/O lines with inductive spikes from the
transformer, but so far it's clocked up several 10's of hours running without a problem.
<http://projects.jusme.com/cgi-bin/projects/projects/files.pl?tab:files&id:nixieclock1>
(P104V2R1-MCU.pdf is the controller schematic)
-- Ian
- Next message: Jan Panteltje: "Re: PIC flash controller IC in SOT-23 package"
- Previous message: Jem Berkes: "Re: Fully spam/virus filtered mail, and reliable outbound relay"
- In reply to: Al Borowski: "Re: microprocessor controlled SMPS"
- Next in thread: Jan Panteltje: "Re: microprocessor controlled SMPS"
- Reply: Jan Panteltje: "Re: microprocessor controlled SMPS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|