Previous in Forum: Why is DOD not considering Unmanned Surface Effect Vehicles?   Next in Forum: Problem in Poultry Environment
Close
Close
Close
24 comments
Rate Comments: Nested
Associate

Join Date: Dec 2007
Posts: 48

Reversible PID control for a Peltier module

06/13/2009 7:57 PM

Hi users!

I need to control the temperature to 20ºC in a plate using a 12V, 80W Peltier module. Previously I used a CAL3300 digital temperature controller, but I had some issues.

The CAL controller (and most that I have compared) works in DIRECT mode to freeze and in REVERSE mode to heat. The room temperature in day is 25ºC, so the controller should be programmed to DIRECT mode to down the temperature and reach the setpoint (20ºC). But in the evening, night and morning the room temperature go down to 16ºC, then the controller should be programmed in REVERSE, to heat and rise the temperature to reach the 20ºC set point. really not that I want to do every day!

I am looking for a digital controller that could avoid the issue of continuous programation changes. I have searched the net and the kind of configuration that I am looking for is called 'REVERSIBLE', that means that despite of the ambient temperature the controller will reach the set point.

Could you help me with this issue?. If there is not a controller that can do that, could be a good idea to design a circuit. I know that the Peltier module change the temperature direction based in changes in the polarity (+/- to -/+), and this can be done using a H bridge.

Please do not forget to ask any question that you may have!

any help is welcomed!

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Power-User

Join Date: May 2009
Location: CORDOBA ARGENTINA
Posts: 157
Good Answers: 4
#1

Re: Reversible PID control for a Peltier module

06/13/2009 9:20 PM

To do that you have to use a 2 stage control

__________________
devitg
Register to Reply
Associate

Join Date: Dec 2007
Posts: 48
#3
In reply to #1

Re: Reversible PID control for a Peltier module

06/14/2009 12:16 AM

Thanks devigt. Could you give me more details?

Register to Reply
Anonymous Poster
#5
In reply to #3

Re: Reversible PID control for a Peltier module

06/14/2009 10:52 AM

Using a 2 stage control , you have 2 output on it , you can set it to be OUTPUT 1 to heat and OUTPUT 2 to cool.

Then you set the setpoint (SP) , and can set a dead band to any value so if the actual temp is over the set point it will work on OUTPUT 2 , and if it is below the SP it will work on OUTPUT 1 ,if the dead band if great than 0 , it will not ON any OUTPUT between the setpoint and the setpoint less the dead band.

Each otput will "on" it's relay , one to send +- , the other will send -+ , to the peltier cell.

By the way , do you speak Spanish?

Where do you live?

I'm in Argentina.

Gabriel

Register to Reply Score 1 for Good Answer
Power-User

Join Date: May 2009
Location: CORDOBA ARGENTINA
Posts: 157
Good Answers: 4
#6
In reply to #5

Re: Reversible PID control for a Peltier module

06/14/2009 10:56 AM

I forgot to LOGIN , it is my answer to you .

Gabriel .

__________________
devitg
Register to Reply
Associate

Join Date: Dec 2007
Posts: 48
#7
In reply to #5

Re: Reversible PID control for a Peltier module

06/14/2009 1:32 PM

Yes, I speak spanish. I am Chilean.

I suggest that we continue developing this discussion in English, but if you want, please feel free to contact me in esteban@biolabware.com

thanks!

Register to Reply
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#2

Re: Reversible PID control for a Peltier module

06/13/2009 9:25 PM

The only way I can think of to make this work is to use a relay instead of a current output. You reverse the current going into the Peltier device and cause it to alternately heat and cool. The ratio of heating to cooling will determine your temperature.

I haven't used Peltiers so I don't know if this is advisable so experiment at your own risk. I shall do my own experimentation when I can afford to buy one .

regards,

Vulcan

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#4

Re: Reversible PID control for a Peltier module

06/14/2009 5:47 AM

Simplest way, as Vulcan suggests, is to use a relay. A double-pole changeover relay can be wired to reverse the Peltier module connections - just drive it from the relay drive output of the controller, and use DIRECT mode.

This way, when its not heating, it must be cooling. You should set the dead-band wide enough so that the relay doesn't chatter or switch too often.

Alternatively, as you suggest, you can use an H bridge - but find one with a built-in driver, or use an external driving circuit, to make sure you don't turn on both transistors in one side of the H at the same time. Using an H-bridge means you can switch the voltage polarity as fast as you want. Again, you need to use a relay drive (or other ON-OFF type) output from the controller - an analog type output isn't suitable.

Just google H bridge and you'll get plenty of information. Note that most of the circuits you come across will be for driving motors. If you're building a bridge from discrete components, you can save a few pence by omitting the diodes in parallel with the transistors. The Peltier device isn't inductive.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#8

Re: Reversible PID control for a Peltier module

06/14/2009 10:58 PM

Why do you have to have a digital controller? I suggest looking at the Linear Technology LTC1923 data sheet which provides all the information to produce what you're asking for. A circuit board is available from them which can be configured to meet individual needs.

I use these circuits in very precise TEC controls down to millidegrees. It isn't difficult to set a setpoint to control a temperature.

I will provide a link to the data sheet a little later, busy right now, sorry.

Register to Reply Score 1 for Good Answer
Associate

Join Date: Dec 2007
Posts: 48
#9
In reply to #8

Re: Reversible PID control for a Peltier module

06/14/2009 11:22 PM

Dear Electronic Wiz,

Thansks for your post!. Really I was looking for that kind of information. Alternatives to the current solution.

I am using a controller because I am not an expert in electronics, and I suppose that is the easiest way, but now I know that is a messy way to control a Peltier under ambient temperature variations.

I have revised the next link (http://www.datasheetcatalog.org/datasheet/lineartechnology/1923f.pdf), that contains information about LTC1923. Is first time that I hear about this company and this product, so I have some questions.

1. is a PID controller?

2. have a digital led or lcd screen?

I will continue reading that, but I am not an electrical engineer, I am mechanical engineer.

Have you any picture or diagram of your aplication controlling a Peltier?

Register to Reply
Associate

Join Date: Dec 2007
Posts: 48
#10

Re: Reversible PID control for a Peltier module

06/14/2009 11:54 PM

dear users,

Please review the picture below, that is the scheme of the current configuration. as you can seem, to change the polarity (to cool or to heat) I am using now a manuel switch, that should be used coordinated with the configuration of the controller.

Could Vulcan and JohnDG explain me again their solutions?

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#12
In reply to #10

Re: Reversible PID control for a Peltier module

06/15/2009 3:19 AM

This is the arrangement using a relay:

It does just about the same as your circuit, but here the controller is operating the polarity inverter switch.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#13
In reply to #12

Re: Reversible PID control for a Peltier module

06/15/2009 3:33 AM

JohnDG beat me to it. Yes, that's the way I'd do it.

regards,

Vulcan

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#16
In reply to #12

Re: Reversible PID control for a Peltier module

06/15/2009 11:06 AM

I would suggest a second relay to disconnect the power to the Peltier device when the temperature is within the dead band. Otherwise you are using power all the time, with the Peltier device oscillating between heating and cooling.

One simple way would use an op-amp to amplify the sensor voltage, with a bi-directional optocoupler that would connect the supply whenever the op-amp output exceeds the trigger voltage of either of the LEDs in the Optocoupler.

Esteban: Si Ud. necesita ayuda en este proyecto, estoy disponible en inglés o español Chileno. On the other hand, it appears that your command of English is pretty good!

Dick

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Associate

Join Date: Dec 2007
Posts: 48
#19
In reply to #12

Re: Reversible PID control for a Peltier module

06/15/2009 11:09 PM

Dear JohnDG,

Thanks for your answer. Could I deduce that with your proposal my problem is solved?, I am decided to implement it!

Could you tell me more details of the relay that I should purchase?.

From the scheme I read that the 14 and 22 are connected to -Vp, and 12 and 24 are connected to +Vp. 21 and 11 are connected to the Peltier. I need to check if the relay could deal the 6A that the Peltier draws.

A1 gets the outputs from the solid state relay. That is the part that I can not understand. Could you help me completing the attached diagram?. I have leaved an space for your work.

Thanks for your interest and support, really.

Register to Reply
Guru
United Kingdom - Member - Not a new member!

Join Date: Jun 2008
Location: USA/Europe
Posts: 4547
Good Answers: 68
#11

Re: Reversible PID control for a Peltier module

06/15/2009 2:27 AM

Hello estebanoliveros,

Try out this site. They seem to have a good choice of temp' controllers.

http://www.controlstation.com/?gclid=CKrcyvnQi5sCFaAA4wodu0-FoQ

Good luck and keep in touch please...............

bb

__________________
Take it easy, bb. >"HEAR & you FORGET<>SEE & you REMEMBER<>DO & you UNDERSTAND"<=$=|O|=$=>"Common Sense is Genius dressed in its Working Clothes"<>[Ralph Waldo Emerson]
Register to Reply
Active Contributor

Join Date: Sep 2007
Location: Florence, Tuscany, Italy
Posts: 16
#14

Re: Reversible PID control for a Peltier module

06/15/2009 4:36 AM

A very simple tip to avoid the reversal of the performance of the Peltier cooler consists of placing a heater on the heat sink of the Peltier, able to maintain the temperature of the hot side of the Peltier above 20°C. It's apparently silly (why increase the heat dissipation?), but it works!

__________________
Fatti non foste a viver come bruti / Ma per seguir virtute e canoscenza (Ye were not made to live like unto brutes / But for pursuit of virtue and of knowledge) (Dante Alighieri)
Register to Reply
Power-User

Join Date: May 2009
Location: CORDOBA ARGENTINA
Posts: 157
Good Answers: 4
#15

Re: Reversible PID control for a Peltier module

06/15/2009 8:56 AM

Hi all , as I can see Esteban is a end USER , so he want , shall , and need, to use of the shelf devices.

The CAL 3300 series can be suited to fill it's need.

It will PID both stages.

It can be a 2 stage controller .

__________________
devitg
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#18
In reply to #15

Re: Reversible PID control for a Peltier module

06/15/2009 6:31 PM

devitg: I've been looking at the CAL3300 user manual, and I agree - using two outputs (heating/cooling) is easy to implement with this controller, and a good way of going about it.

I'll pm you.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Power-User

Join Date: Dec 2008
Location: Western Colorado, USA
Posts: 202
Good Answers: 16
#17

Re: Reversible PID control for a Peltier module

06/15/2009 12:58 PM

Hello, sorry I took so long to get back, here is the direct link to the part's general page, there are further links on the page to the data sheet and application data.

http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1003,C1142,C1095,P1893

Now that I know you are a mechanical engineer, that changes things a little. This part is not difficult to use and I think you could likely get it up and running with a just a little help from an electronic friend or help from us. Linear Technology is one of the best linear chip sources on the planet. I use them frequently.

To answer your question, no this is not a PID controller, while PIDs have very good application, their parameters must be carefully chosen or they will give you trouble, they are usually analog but there are digital hybrids of them as well (analog/digital).

The LTC1923 has a built in driver for an H-bridge output, however, since you are using at least a 12 volt supply, a higher voltage interface will have to be used (the LT1970 runs at 5 volts), listed in the data sheet and the application note AN89A. Two LTC1693-1 chips will provide the 12 volt drive interface. The system is capable of driving your 80W TEC with selection of the proper MOSFETs. An evaluation board is available from Linear which provides the basic system, data on this is also on this main page.

It is very stable and can control temperature very tightly if necessary. Your 20'C temperature will be no problem, a 10K thermistor will work nicely in a bridge configuration, I can give you the nominal resistor value needed for 20'C if you decide to try this. The eval module will save you a lot of wiring fuss.

I'm sure Linear has representatives in your region and a distributor, they are very helpful. Any questions, just ask, either here or by the private e-mail link here. I'm sure Linear will sample you out a couple of LTC1693-1 chips as well.

Register to Reply
Associate

Join Date: Dec 2007
Posts: 48
#20

Re: Reversible PID control for a Peltier module

06/15/2009 11:11 PM

Dear JohnDG,

Thanks for your answer. Could I deduce that with your proposal my problem is solved?, I am decided to implement it!

Could you tell me more details of the relay that I should purchase?.

From the scheme I read that the 14 and 22 are connected to -Vp, and 12 and 24 are connected to +Vp. 21 and 11 are connected to the Peltier. I need to check if the relay could deal the 6A that the Peltier draws.

A1 gets the outputs from the solid state relay. That is the part that I can not understand. Could you help me completing the attached diagram?. I have leaved an space for your work.

Thanks for your interest and support, really.

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#21
In reply to #20

Re: Reversible PID control for a Peltier module

06/16/2009 3:28 AM

First a couple of points.

Do you already have the controller? If so, which version?

If your version has a relay output, you don't need the solid state relay. If you only have SSR drive outputs, you'll need a solid state relay rated to switch DC - these are not too common. The SSR drive output (5V @ 15mA) is enough to drive a small mechanical relay could be used to drive the power relay - this would be a cheaper option.

The relay I had in mind is the Finder 40.52.7.012.0000, which will handle up to 8A. The connection numbering I've used relates to relay base Finder 95.05SPA - the base costs more than the relay, and isn't needed if you're assembling the bits on prototype board (e.g. Veroboard).

If you let me know the controller model, I'll finish the circuit & suggest a part no. for the SSR or 5V/15mA mechanical relay if you need one.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Power-User

Join Date: May 2009
Location: CORDOBA ARGENTINA
Posts: 157
Good Answers: 4
#22
In reply to #21

Re: Reversible PID control for a Peltier module

06/17/2009 10:19 AM

As he wants to have PID , i think a releay is not an option.

__________________
devitg
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#23
In reply to #22

Re: Reversible PID control for a Peltier module

06/17/2009 10:37 AM

Surely it depends on the thermal time constant of the system being controlled. Switching between heating and cooling with a relay is, after all, just a form of pulse width modulation (albeit a slow one).

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#24
In reply to #23

Re: Reversible PID control for a Peltier module

06/17/2009 12:05 PM

... and the thermal mass of a Peltier device capable of handling 80 W, even without considering the mass of the plate being controlled, removes any advantage there might otherwise be to using true PWM.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Register to Reply 24 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); babybear (1); Cipo (1); devitg (4); dkwarner (2); Electronic Wiz (2); estebanoliveros (6); JohnDG (5); Vulcan (2)

Previous in Forum: Why is DOD not considering Unmanned Surface Effect Vehicles?   Next in Forum: Problem in Poultry Environment

Advertisement