Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on Control circuit for Power Converters

Parent

Control circuit for Power Converters

+1
−0

There is always a mixed response when comparing power management ICs (PMIC) and microcontrollers in the application of power converters (I mean as pwm controllers). What are the advantages and disadvantages of each? What high level requirements are relevant in deciding which is more appropriate in a particular instance?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (1 comment)
Post
+1
−0

I'll assume by "PMIC" you mean a dedicated switching power supply chip. Such a chip contains the PWM generator and receives output voltage feedback at a minimum. They may also include a driver for an external FET as the switching element, include the switching element directly, include the diode with synchronous rectification circuitry around it, maybe a shutdown input, a power-good output, and other additional features.

Dedicated chip advantages

  1. Does its job without external intervention.
  2. Doesn't need a regulated supply already to run. Runs directly from the raw input supply.
  3. High speed, since everything is in dedicated logic.
  4. Built-in compensation. As long as you use the right parts according to the datasheet, stability, transient response, regulation performance, and other parameters have already been tweaked for you.
  5. Very little additional circuitry may be required. For the most integrated chips, all you need to add is the inductor and output capacitor.
  6. Cheaper than a microcontroller.

Microcontroller running switching power supply advantages

  1. Cheaper and lower footprint if a microcontroller with a spare PWM module is already there anyway.
  2. Much more flexible. Since the controller is in firmware, it can do more than is reasonable in dedicated silicon. Examples include feed-forward of the input voltage, non-linear control over parts of the range, run-time tweaking of operational parameters based on measurements, etc.
  3. Easy to implement high level management, telemetry, LIN, IIC, drive a display, etc.

General tradeoffs

If you just want a 5.0 V or 3.3 V power rail to run stuff on your board from maybe a 9 to 24 V input, then a dedicated switcher chip is usually the best choice. They are small, cheap, and just work.

If you are implementing a power supply as an end onto itself, then something more sophisticated than a dedicated chip is often useful. High end power supplies with 10s of Watts or more output require enough other parts that the difference in cost from a switcher chip to a micro is minimal in the overall scheme. Even if you just implement a controller with standard compensator, you may want telemetry, external digital control, driving of status indicators, electronic fuse, etc.

I have had designs where both dedicated chips and a microcontroller were used to implement different supplies. In several recent designs, I've used dedicated chips to make the 3.3 V and 5.0 V supplies from the industrial 24 V power bus, and a spare PWM generator in the micro to implement an isolated supply.

The PWM output controlled the switch driving the input of a small transformer. The resulting voltage on the isolated side was compared to a threshold, and the result sent back via opto-isolator. That drove the shutdown input to the PWM. Once set up in firmware, it runs completely in hardware.

This was basically a pulse on demand scheme. Those result in more ripple than more sophisticated control schemes, but still good enough for many purposes. They are also inherently stable with good transient response.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

General comments (2 comments)
General comments
2kind‭ wrote over 3 years ago

I guess you could tweak the "secondary" of the trafo and aim for aslightly higher voltage - then you simply put linear regulator and reduce the ripple.

Olin Lathrop‭ wrote over 3 years ago

@2kind: The secondary already needs to put out a bit higher voltage than you actually want. You don't want to do every pulse in a pulse on demand system, since that means there is no margin for higher current demand. I have used a linear post-regulator a few times, usually not for reduced ripple, but having an extra power voltage a little higher than the final nicely regulated one. I describe a trick for detecting the switcher high/low at https://electrical.codidact.com/articles/277844.