Look for in our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteria
How to connect a PT1000 to an Arduino based PLC
On this post it is showed how to connect a Pt1000 (thermally sensitive resistor or RTD resistance temperature detector) to an Arduino based PLC.
Ethernet or 20 I/Os PLC: Ethernet PLC 20 I/Os PLC
Industrial Shields boards: Industrial Shields Boards
The first thing that we have to know is what our temperature range of operation is. Also in this temperature range we need to know the range value of the thermistor. For example if our range temperature operation is between -20ºC and 100ºC the range thermistor value would be between 922 ohms and 1385 ohms.
So, the main idea is adapt this changeable resistor to a 0-10V. How to do that?
There is many ways to adapt the signal. The simple one is just use a tension devisor to transform resistive value of the Pt1000 to a quantitative value.
For example, connecting a resistor of 1Kohm between a power supply of 12V and also connecting the thermistor between this input and GND. Therefore, with this configuration, input value on -20ºC would be 5,75V and on 100ºC would be on 6,97V. So our voltage range it’s between [5,75V – 6,97V]. We just have a 1,21 difference voltage between our range. The main question with this method is: Have we enough resolution and accuracy? This is just depends of the application.
The Arduino boards have an ADC of 10 bits. This is a range of 1024. So with these range we have a resolution of 0,0097V [on 0V-10V]. This means that on our case we will have a ºC resolution of:
10/1024 = 0,0097V (total voltage resolution)
1,21/0,0097V = 124 (nº of different values that we can measure on our example, this means that we will just use 124 range instead of the 1024 that offers the ADC)
120ºC (range)/ 124 = 0,96ºC (ºC resolution)
This is why this installation is really simple but not enough reliable. We have to decide if we can implement that or find another way to adapt the thermistor.
Next is showed one of the methods to increase this work voltage range.
We can use a Wheatstone bridge.
Wheatstone bridge have an advantage, this advantage is that you can calculate de values of the resistor (R1 and R4, normally R2 is a potentiometer to correct the resistors error) to have a 0V value between Vch (see on image) for our -20ºC (922 ohms). We can calculate this value from these formulas:
R3 (thermistor) = R3 · R2 / R1
Doing that we will be able to get the value of 0V between Vch – and Vch+. After that we just have to calculate the value of Vch when the value of the resistor will be 1358 ohms. Normally this value is around several mV. So the final part of thermistor adaption is to amplify this signal [0- several mV] to [0 – 10V]. With a good differential OPAMP it is able to do it.
A differential amplifier made from an op-amp and four resistors is perfectly fine when (and only when) the input sources are much, much lower impedance than the resistors used. So, we shall use a differential amplify like this:
On the market there is also some devices that allow to combers what is explained on this post. This is also a good option and completely reliable.