Author Topic: What chip to use for a constant current step-down (peltier)?  (Read 4475 times)

0 Members and 1 Guest are viewing this topic.

Offline ArtlavTopic starter

  • Frequent Contributor
  • **
  • Posts: 750
  • Country: mon
    • Orbital Designs
What chip to use for a constant current step-down (peltier)?
« on: December 27, 2014, 05:36:36 pm »
In short:
uC-controlled 6A Peltier - any advice how to do it properly?

In detail:
I need to provide zero to 6A to a Peltier (cooling only), from no more than 24V.
Exactly "how much" should be controlled by a uC.

Normally i'd try TL494 with some shenanigans, but i heard people here say to dump this old beast and use something modern.
So, what sort of modern chip/PWM controller is good for that?

Another thing i considered is to use an attiny85 to PWM a FET directly.
However, remembering how well it worked the last several times ( https://www.eevblog.com/forum/projects/sensing-in-attiny85-driven-buck-converter/msg506894 ), i'd rather not try again.
And inductors would have to be quite large.

Something akin to MAX1969 would have been perfect, only with an external MOSFET.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22434
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: What chip to use for a constant current step-down (peltier)?
« Reply #1 on: December 27, 2014, 06:22:32 pm »
Mind that the Peltier is pretty much resistive, so it doesn't matter how you control it (CV or CC).  You could also do blind PWM (TL494, MCU timer/counter?), as long as it's still short-protected (don't want to be careless!) and controlled by whatever outer loop you need (temp reg?).

You do want high frequencies, to minimize inductor size and losses, versus no filtering at all.  Peltier efficiency drops sharply at rated current, because resistive losses go as I^2, while the Seebeck effect only goes as I.  So just going on and off is a lot worse than smooth filtered DC.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline ArtlavTopic starter

  • Frequent Contributor
  • **
  • Posts: 750
  • Country: mon
    • Orbital Designs
Re: What chip to use for a constant current step-down (peltier)?
« Reply #2 on: December 27, 2014, 07:18:03 pm »
Mind that the Peltier is pretty much resistive, so it doesn't matter how you control it (CV or CC).  You could also do blind PWM (TL494, MCU timer/counter?), as long as it's still short-protected (don't want to be careless!) and controlled by whatever outer loop you need (temp reg?).
Hm, but how consistent would they be?
If i had two of the same model, but bought from the different sides of China, would they produce the same effect at the same voltage?
Perhaps it is solvable by calibration.

Actually, the idea of just PWMing the thing from uC directly still feels the neatest here.
It does not have any runaway modes
 or sudden changes, so no fast loop response is needed.
Not even feedback is needed, given a known input voltage.

What sort of measures can be taken to make it fail safe (disconnect->voltage spike->FET shocked to death, and short circuit->all the current->FET fried to death)?

You do want high frequencies, to minimize inductor size and losses, versus no filtering at all.  Peltier efficiency drops sharply at rated current, because resistive losses go as I^2, while the Seebeck effect only goes as I.  So just going on and off is a lot worse than smooth filtered DC.
AFAIK it's because the resistive losses are by RMS, while the cooling is by average, and RMS of a PWM is much worse than the average of the equivalent filtered output?

*WAY* better than trying to "roll your own" IMHO...
The "boost the output" part is much, much more important than "0.001*C" part. I only need to tell within a few *C apart, and using tiny parts at the limit of their dissipation is best avoided.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22434
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: What chip to use for a constant current step-down (peltier)?
« Reply #3 on: December 28, 2014, 12:08:00 am »
You wouldn't want to run it completely open loop; of course, that will kill you on ambient alone, nevermind manufacturing differences.  But if it's a temperature controlled outer loop, the only effect a variation in resistance has is changing the loop dynamics (how fast/slow it can respond, and over what range of voltage/current) and what the maximum temperature difference is (which will be limited by supply voltage, current, DCR of the device, and whatever max delta-T it supports).

You'll still want short protection or something like that, just because it's a switching app, and leaving the inductor completely alone to itself is dumb.  You'll also need some startup for the output filter, and yes you can simply soft-start the whole thing, but if it gets interrupted and freezes or jumps suddenly, you still end up with the same problem.

One example: set up two transistors as a monostable timer.  Turns on until inductor current reaches threshold, then ticks off.  Restart it with a pulse.  You can have the pulse simply be a constant frequency (short duty cycle, or filtered so it's edge sensitive), and vary the peak current -- so you're making a half-MCU, half-discrete UC3842 basically.  To control power, you need a DAC output (to adjust the peak current threshold), and/or the adjustment of frequency.  Peak current mode, of course, works best in DCM (discontinuous conduction mode), which means a fair bit of ripple (relatively large capacitors and inductor).

You can run PWM from the MCU, but gate it through a missing pulse detector (so if the output accidentally latches high somehow, the output fails safe).  And put a peak current detector on there to shut it down for the rest of the cycle (thus integrating the flip-flop action of the previous case), or for some time (in which case it acts like a self-resetting fault).  Follow up with a gate driver and transistor.

You could do worse than an average-current-mode controller, but this is much more involved.  You need an independent PWM generator, and run an op-amp to control output current.  But running the current setpoint signal from a DAC leaves the least attention to the MCU -- it only needs to update the setpoint when an event occurs (presumably, the temperature PID will be on the order of one or a few samples per second).

Conversely, the most software-intensive version might use the internal analog comparator (tends to be slow, but at a low enough frequency, this isn't terrifically bad) or software polling (and external comparator) to control PWM per cycle.  Or the cycle is just a software counter, who needs timer-counters.  I wouldn't suggest average current mode control, because you need an ADC that can sample at least once per cycle (something an ATtiny or ATmega won't do -- at least, not with rated accuracy; though if only a fraction of the bits are important, it could be quite doable).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Andreas

  • Super Contributor
  • ***
  • Posts: 3303
  • Country: de
Re: What chip to use for a constant current step-down (peltier)?
« Reply #4 on: December 28, 2014, 08:33:51 am »
Actually, the idea of just PWMing the thing from uC directly still feels the neatest here.

Hello,
keep in mind that the current ripple has to be well below 10% (better below 1%)
otherwise the element will heat more than cool.

http://www.meerstetter.ch/compendium/pwm-vs-direct-current

Perhaps it is easier to drive the peltier with constant power and use a small heater to control temperature.

with best regards

Andreas
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf