METHOD FOR PREDICTING A MEASURED VALUE, AND CONDUCTIVITY SENSOR FOR EXECUTING THE METHOD
20170269015 · 2017-09-21
Inventors
Cpc classification
International classification
Abstract
The present disclosure relates to a method for predicting a measured value of a measured variable of a sensor of process automation technology, includes the steps of capturing a first measured value at a first point in time; capturing a second measured value at a second, later point in time, formation of a differential value between the second and first measured values, filtering out the differential value using a filter with an infinite impulse response, and calculating a future measured value using the measured value at the second point in time, the filtered differential value, and a constant that characterizes the sensor. The present disclosure further relates to a conductivity sensor including a temperature sensor and a computer unit for executing a method.
Claims
1. A method for predicting a measured value of a measured variable of a sensor of process automation technology, comprising the steps: capturing a first measured value from a process automation sensor at a first point in time; capturing a second measured value from the sensor at a later point in time; determining a differential value between the second and first measured values; filtering the differential value using a filter with an infinite impulse response to generate a filtered differential value; and calculating a future measured value using the second measured value, the filtered differential value, and a sensor constant of the sensor.
2. The method of claim 1, wherein the first, second and future measured values are temperatures.
3. The method of claim 1, wherein the sensor includes a computer unit, and the sensor constant includes the processor performance, memory, cycle time, and/or design.
4. The method of claim 1, wherein the sensor constant is determined under laboratory conditions before using the sensor and is permanently saved in the sensor.
5. The method of claim 1, wherein the differential value is a minimum differential value when the difference between the second and first measured values is below a lower threshold, and wherein the differential value is a maximum differential value when the difference between the second and first measured values exceeds an upper threshold.
6. The method of claim 1, wherein the sensor is operable as a recursive system, and wherein a previous filtered differential value and the differential value between the first and second measured values are inputs to the filter with the infinite impulse response.
7. The method of claim 6, wherein the filter is calculated by means of:
8. The method of claim 6, wherein the future measured value is calculated from a sum of the second measured value and a product of the filtered differential value and the sensor constant.
9. The method of claim 8, the method further comprising the step of filtering the future measured value using a second filter to smooth the signal characteristic.
10. The method of claim 9, wherein the second filter is not an infinite impulse response filter.
11. A conductivity sensor system comprising a conductivity sensor, a temperature sensor, and a computer unit, the computer unit configured to: capture a first measured value from the conductivity sensor at a first point in time; capture a second measured value from the conductivity sensor at a later point in time; determine a differential value between the second and first measured values; filter the differential value using a filter with an infinite impulse response to generate a filtered differential value; and calculate a future measured value using the second measured value, the filtered differential value, and a sensor constant of the conductivity sensor.
12. The conductivity sensor system of claim 11, wherein the conductivity sensor is operable as a recursive system, and wherein a previous filtered differential value and the differential value between the first and second measured values are inputs to the filter with the infinite impulse response.
13. The conductivity sensor system of claim 12, wherein the filter is calculated by means of
14. The conductivity sensor system of claim 12, wherein a future measured value is calculated from a sum of the second measured value and a product of the filtered differential value and the sensor constant.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The present disclosure is explained in greater detail with reference to the following figures. Illustrated are:
[0020]
[0021]
DETAILED DESCRIPTION
[0022] The entirety of the inductive conductivity sensor according to the present disclosure is marked with the reference symbol 1 and is shown in
[0023] The conductivity sensor 1 is arranged for example, via a flange 4 (i.e., a process connection) on a vessel 3 in which a medium 2 to be measured is located. The vessel 3 may be a pipe made, for example, of plastic or metal.
[0024] The conductivity sensor 1 includes a transmitter coil 6 and a receiver coil 7 that are located inside a housing 9. The housing 9 comprises a housing wall 17. The housing 9 is manufactured from a plastic, for example a thermoplastic, that is approved for use in the area of food technology and biotechnology. For example, this plastic is a polyaryl ether ketone, such as polyetheretherketone (PEEK). This will be discussed in more detail below.
[0025] The transmitter coil 6 and the receiver coil 7 are arranged, for example, opposite one another on sides of a circuit board (not shown) that face away from one another. In this way, the transmitter coil 6 and receiver coil 7, which are designed as rotation-symmetric toroidal coils (“toroids”), are arranged coaxially, one behind the other. The circuit board comprises the conductor paths that contact the coils and connect the transmitter coil 6 with a driver circuit, and the receiver coil 7 with a receiver circuit. The driver circuit and the receiver circuit can form part of the sensor circuit installed on the circuit board. The coils 6, 7 are connected with a data processing unit 5 in
[0026] The housing 9 forms a channel 12 that passes through the transmitter coil 6 and the receiver coil 7 along their axes of rotation. If the housing 9 is immersed in an electrically conductive medium 2, the medium 2 surrounds the housing 9, or at least a housing section 8 designed to be immersed in the medium 2, and enters the channel 12, so that in the medium 2 a closed current path 13 passing through both coils 6, 7 can form when the transmitter coil 6 is excited or flowed through by an input signal, e.g., an alternating voltage.
[0027] The conductivity sensor 1 functions in the manner of a double transformer, wherein the transmitter and the receiver coils 6, 7 are inserted as mentioned into the medium 2 to at least the extent that a closed current path 13 running through the medium 2 and passing through the transmitter and the receiver coils 6, 7 can be formed. When the transmitter coil 6 is excited with an alternating voltage signal used as an input signal, it generates a magnetic field which induces a current path 13 which passes through the coils 6, 7, the strength of which depends upon the electrical conductivity of the medium 2. Thus, a current path with an ionic conduction results in the medium 2. Since this alternating electrical current in the medium 2 in turn generates a varying magnetic field that surrounds it, an alternating current is induced in the receiver coil 7 as an output signal. This alternating current and the corresponding alternating voltage respectively, which are delivered by the receiver coil 7 as output signal, are a measure of the electrical conductivity of the medium 2.
[0028] The conductivity sensor 1 includes a temperature sensor 10 for measuring the temperature of the medium 2. The data processing unit 5 determines the conductivity of the medium 2 based upon the input signal, the output signal, and the temperature of the medium 2. The temperature sensor 10 is an electrical or electronic component that supplies an electrical signal as a measure of the temperature. The temperature sensor 10 is, for example, a negative temperature coefficient thermistor (NTC thermistor) or a positive temperature coefficient thermistor (PTC thermistor), the resistance of which changes with the temperature. Examples in this regard are platinum measuring resistors or ceramic PTC thermistors. Alternatively, the temperature sensor 10 may be used that directly supplies a processable electrical signal, such as, for example, a semiconductor temperature sensor that supplies a current or voltage proportional to the temperature. As additional alternatives, a thermocouple or other common temperature measuring element may be used.
[0029] The temperature sensor 10 includes a temperature element that supplies an electrical signal as a measure of the temperature. This is, for example, a thermistor, such as a Pt100 or Pt1000. Via wires 18, this signal such as, for example, resistance values or a voltage is transmitted to the measuring transducer 5.
[0030] The method according to the present disclosure (see
[0031] First, a difference δ(i) between the current measured value (input value x(i)) and the last measured value x(i−1) is determined, with i as the respective point in time:
δ(i)=x(i)−x(i−1) EQN. 1
[0032] Outliers from this difference are “cut out” to prevent large jumps, as follows:
[0033] The differential δ.sub.c(i) value determined in this manner is fed to a simple IIR filter (infinite impulse response filter) with depth d:
[0034] The prediction value y(i) is calculated from the current measured value x(i), the output value of the filter δ.sub.f(i), and the constant τ:
y(i)=x(i)+δ.sub.f(i).Math.τ EQN. 4
[0035] The constant “τ” may be specific to each sensor type; for example, conductivity sensors have a value of η1, and pH sensors have a value of η2. The constant is accordingly a processor performance, memory, cycle time, and/or design, for example.
[0036] This constant is determined beforehand in the laboratory by means of tests. The constant is varied for the respective sensor type until the best value is determined, and a precise and sufficient prediction of the measured value, i.e., the temperature, can be made. Then, this value is permanently saved in the sensor. The user has no access to the value and is also unable to change it.