philipTheTech
Member
how do I set the PWM outputs to a 30% offset and be able to set the %On Time different values?
wow I think it would be easer to use 555 timers to make an offset to a PWM
WOW! this is exactly what I was looking for. Thanks.Also recommend searching forum for eFlexPWM library. One of the examples is 3 x PWM at 0, 120, 240 deg as you would have for AC motor control. The examples run right out of the box on T4.x
You're welcome. I always recommend this when I have a chance. The author is an academic, and he did a really nice job.WOW! this is exactly what I was looking for. Thanks.
next is to create a PID and use the eFlexPWM as the throttle to set the temperature of five Peltier 1206s to almost freeze a can in my 500W soda cooler. (-10c in 4.5 minutes)You're welcome. I always recommend this when I have a chance. The author is an academic, and he did a really nice job.
Start with PI, perhaps? Seems unlikely you would need D for controlling on temperature.next is to create a PID and use the eFlexPWM as the throttle to set the temperature of five Peltier 1206s to almost freeze a can in my 500W soda cooler. (-10c in 4.5 minutes)
I use a 0.3% 100ohm at 0C temperature sensorMAX31865 and digikey 1759-1020-ndHow are you going to sense can temperature?
the old way was to run the Peltier's at max cooling and then turn the power down so it was at 1c steady state were it would take time freeze the soda solid againSo I think you have good thermal sensing, I wonder if a simple bang-bang approach will work as the contents of the can has much more thermal mass than all the metal work, being aqueous.
Once the peltiers are off the temperature drop will stop rapidly, you can probably just turn on full cooling till about 2 degrees, then turn off and it will probably slightly overshoot to 1 degree.
Convection inside the can should keep internal temperature gradients low.
But experiment and see, and beware integral-wind-up...
the first run on the overhauled driver with no soda got to -20c in 3.5 minutesHow are you going to sense can temperature?