63
63
63
63
data: – 30 to +7 0 ℃ , 0 to 10 V DC (i.e. 0 to 1000 in xLogic).
Actual value
= (internal value ∙ gain) + offset, thus
– 30 = (0 ∙ A) + B, i.e. offset B = – 30
+70 = (1000 ∙ A) – 30, i.e. gain A = 0.1
Example
Example
Example
Example 2:
2:
2:
2:
A pressure sensor
converts
a pressure of 1000 mbar into a voltage of 0
V,
and a pressure of 5000
mbar into a voltage of 10
V.
Actual value
= (internal value. gain) + offset, thus
1000 = (0
·
A) + B, i.e. offset B = 1000
5000 = ( 1000 ∙ A) +1000, i.e. gain A = 4
Example
Example
Example
Example of
of
of
of analog
analog
analog
analog values
values
values
values
Process
Process
Process
Process
variable
variable
variable
variable
Voltage
Voltage
Voltage
Voltage
(V)
(V)
(V)
(V)
Internal
Internal
Internal
Internal
value
value
value
value
Gain
Gain
Gain
Gain Offset
Offset
Offset
Offset
Value
Value
Value
Value
shown
shown
shown
shown
(Ax)
(Ax)
(Ax)
(Ax)
– 30
0
C 0 0
0.1
0.1
0.1
0.1
– 30 – 30
0
0
C 3 300
0.1
0.1
0.1
0.1
– 30 0
+70
0
C 10 1000
0.1
0.1
0.1
0.1
– 30 70
1000 mbar 0 0 4 1000 1000
3700 mbar 6.75 675 4 1000 3700
5000 mbar 10 1000 4 1000 5000
0 0 0.01 0 0
5 500 0.01 0 5
10 1000 0.01 0 10
0 0 1 0 0
5 500 1 0 500
10 1000 1 0 1000
0 0 10 0 0
5 500 10 0 5000
10 1000 10 0 10000
0 0 0.01 5 5
5 500 0.01 5 10
10 1000 0.01 5 15
0 0 1 500 500
5 500 1 500 1000
10 1000 1 500 1500
0 0 1 – 200 – 200
5 500 1 – 200 300
10 1000 1 – 200 800
0 0 10 – 10000 – 10000
10 1000 10 – 10000 0
0.02 2 0.01 0 0
0.02 2 0.1 0 0
0.02 2 1 0 2
0.02 2 10 0 20