DEVICES AND METHODS FOR MEASURING VALUE CALIBRATION
The device facilitates precise measurement calibration by employing a multi-block system for linear and application-dependent calibration, addressing the challenge of environmental deviations and ensuring accurate measurements in field conditions.
Patent Information
- Application Number
- DE102020114244
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-05-27
- Publication Date
- 2024-11-28
- Estimated Expiration
- 2040-05-27
AI Technical Summary
Existing transducers face challenges in maintaining accurate calibration when conditions in the field differ from those assumed during production, necessitating the ability to adapt calibration settings to the specific environment.
A device comprising an input circuit, analog-digital converter, and multiple function blocks for linear and application-dependent calibration, along with a correction module, allows for on-site calibration adjustments using hardware or software, enabling precise calibration through iterative adjustment based on comparison with known values.
Enables accurate measurement calibration by compensating for environmental deviations, ensuring high measurement accuracy and adaptability to varying field conditions.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
AREA
[0001] The present invention relates to devices and methods that enable measured value calibration. In particular, the present invention relates to devices and methods that enable measured value calibration in the field. BACKGROUND
[0002] Transducers can be calibrated in production to a specific measurement range and / or specific measured values. For example, a linear calibration function can be specified in production that assigns raw values to calibrated values. If the conditions prevailing in the field deviate from the assumptions made for the production calibration or from the environment used in the production calibration, it may be necessary or advantageous for the user to adapt the calibration in the field to the prevailing conditions. PRESENTATION OF THE INVENTION
[0003] A device according to the invention comprises an input circuit for a sensor, in particular for a temperature sensor, for outputting an analog voltage, an analog-to-digital converter (ADC) for inputting the analog voltage and outputting a digital value, a first functional block for an ADC-dependent first calibration of the digital value based on a first linear calibration function for outputting a first calibrated value, a second functional block for an application-dependent second calibration of the first calibrated value based on a second linear calibration function for outputting a second calibrated value, a third functional block for inputting the second calibrated value and for outputting a physical value of the sensor based on the second calibrated value,a fourth function block for comparing the physical value of the sensor with a preset target value and outputting a comparison result and a correction block for changing the application-dependent second calibration function based on the comparison result.
[0004] The function blocks can be implemented using dedicated hardware, software, or a combination of dedicated hardware and software. For example, the function blocks can be implemented using one or more signal processors.
[0005] The first linear calibration function calibrates the signal path from the input of the input circuit and the second linear calibration function calibrates the signal path up to the input of the input circuit.
[0006] The first linear calibration function can be fixed on the production side and the second linear calibration function can be adjustable in the field.
[0007] A processor can derive a calibrated digital value from the digital value using a linear calibration function. Furthermore, the processor can derive a digital measured value from the calibrated digital value using a non-linear measurement function. The processor can be further configured to change the linear calibration function in response to a calibration signal based on an algorithm based on the non-linear measurement function and a number of predetermined comparison measured values.
[0008] The term "device," as used in the description and claims, refers in particular to an input / output module, or I / O module. Furthermore, the term "I / O module," as used in the description, refers in particular to a module that is or can be attached to a head-end station and that connects one or more field devices (e.g., a sensor and / or an actuator) to the head-end station and, if applicable, (via the head-end station) to a higher-level controller. Furthermore, the term "head-end station," as used in the description, refers to a component of a modular fieldbus node whose task is to make the data and / or services of the I / O modules attached to the head-end station available via the fieldbus to which the head-end station is connected.
[0009] Furthermore, the term "input," as used in the description and claims, refers in particular to an electrical connection via which electrical signals (e.g., voltage and / or current values) can be read in (and thus further processed in the device). Furthermore, the term "analog-to-digital converter," as used in the description, refers in particular to a circuit that determines which of a plurality of value ranges an analog value falls into and outputs a digital value corresponding to the respective value range. The digital value can, for example, be output as a bit sequence.
[0010] Furthermore, the term “processor,” as used in the description, is to be understood in particular as a circuit that is configured to execute instructions from an instruction set assigned to the processor, wherein the sequence of the instructions (and any arguments assigned to the instructions) are specified by the algorithm executed by the processor. Furthermore, the term “non-linear measuring function,” as used in the description, is to be understood in particular as a non-linear assignment rule (e.g. a calculation rule) by means of which measured values can be assigned to digital values. The measured values can, for example, make a quantitative statement about a physical quantity, e.g. the temperature at a specific location. The measured value can, for example, be a numerical value that is provided by the processor in digital form.
[0011] Furthermore, the term “calibration signal” as used in the description is to be understood in particular as a signal that can be triggered manually, for example by pressing a button on a housing of the device, or received via a data interface and starts a calibration routine.
[0012] The comparison measured values can include two analog signals that correspond to known measured values.
[0013] For example, a temperature sensor can be connected to the input and the temperature sensor can be exposed to two known temperatures (one after the other) so that the measured values to be generated are fixed (within the measurement accuracy) and the linear calibration function can be used to reduce or compensate for deviations.
[0014] Changing may involve iteratively adjusting the calibration function.
[0015] For example, parameters of the calibration function can be adjusted in decreasing steps until a sufficient agreement between the generated measured values and the generated physical values is achieved.
[0016] The iterative fitting can be aborted when a specified number of steps has been reached or a deviation between the respective known and a measured value calculated using the fitted calibration function meets a certain criterion; or when a request to abort is received.
[0017] For example, the process can be aborted if a deviation is below the measurement accuracy threshold of the sensor.
[0018] The processor may be configured to change the linear calibration function by determining, in a first procedure, a first value by which a numerical value associated with the analog signal is multiplied, and, in a second procedure, determining a second value which is added to or subtracted from the product of the numerical value and the first value.
[0019] In this context, it should be noted that the ordinal numbers “first”, “second”, etc. as used in the description and the claims do not specify a chronological order, but only serve to distinguish features.
[0020] For example, the second value can be determined first in the second procedure and then the first value in the first procedure.
[0021] The processor may further be configured to determine the numerical value by multiplying the digital value by a third value and adding or subtracting a fourth value.
[0022] The linear calibration function can thus be implemented by two cascaded linear calibration functions. For example, the first linear calibration function can be predefined during production and calibrates the signal path from the input (i.e., the transducer), whereas the second calibration function calibrates the signal path up to the input and is adjustable in the field.
[0023] For example, the sensor can be a resistance temperature sensor or a thermocouple, which may require calibration of the signal path to the input.
[0024] A method for configuring a measurement electronics system in the field connected downstream of a sensor, which derives a calibrated value from a sensor signal using a linear calibration function and a measured value from the calibrated value using a non-linear measurement function, can comprise changing the linear calibration function based on a first sensor signal value and a second sensor signal value, which correspond to known measured values.
[0025] The modification may comprise an iterative adjustment of the calibration function, which is aborted when either a predetermined number of steps has been reached or a deviation between the respective known and a measured value calculated using the adjusted calibration function meets a certain criterion; or when a request to abort is received.
[0026] The changing may include determining a first value by which a numerical value associated with the second sensor signal value is multiplied, and may include determining a second value that is added to or subtracted from the product of the numerical value and the first value.
[0027] The numerical value can be determined by multiplying a third value determined from the second sensor signal value by a fourth value and adding or subtracting a fifth value.
[0028] The first sensor signal value can be zero or correspond to a minimum absolute output value of the sensor.
[0029] For example, the sensor signal value can be selected so that the numerical value becomes zero or the absolute value of the numerical value becomes minimal.
[0030] Furthermore, it is understood that the features described in connection with the devices may also be features of the method, and vice versa. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The invention is explained below in the detailed description using exemplary embodiments, with reference to drawings in which: Fig. 1 shows a block diagram of a fieldbus system comprising a plurality of modular fieldbus nodes; Fig. 2 shows a block diagram of a modular fieldbus node comprising a head station and a plurality of I / O modules, and fieldbus devices connected to the I / O modules; Fig. 3 shows a block diagram of an I / O module provided with measuring electronics; Fig. 4a and Fig. 4b illustrate a procedure for adjusting the parameters of a linear calibration function; and Fig. 5 shows the sequence of a procedure for configuring a measuring electronics system (downstream of a sensor) in the field.
[0032] In the drawings, identical or functionally similar elements are identified by the same reference symbols. WAYS OF IMPLEMENTING THE INVENTION
[0033] Fig. Figure 1 shows a block diagram of a fieldbus system. Fieldbus system 10 comprises higher-level control unit 20 and modular fieldbus nodes 100, which are interconnected (signal-wise) via fieldbus 30. Higher-level control unit 20 can be used both to monitor and to control a system (not shown) controlled by fieldbus system 10. When higher-level control unit 20 monitors a system, higher-level control unit 20 can cyclically or acyclically receive status data from fieldbus node 100 that describe the state of the system and generate an error signal or an alarm signal if the state of the system deviates (substantially) from a desired / permitted state or state range.If higher-level control unit 20 (not only monitors but also) controls the system, higher-level control unit 20 can receive status data from fieldbus node 100 cyclically or acyclically and, taking the status data into account, determine control data that is transmitted to fieldbus node 100.
[0034] Fig. Figure 2 shows a block diagram of a modular fieldbus node. Fieldbus node 100 comprises head station 110 and two I / O modules 120 and 130 connected to head station 110. Sensors and actuators 140, 150, 160, and 170 are signal-connected to I / O modules 120 and 130. During operation, I / O modules 120 and 130 read sensor signals and generate status data from the sensor signals, which are transmitted to head station 110 via local bus 180. Head station 110 can process the status data locally and / or forward it (possibly in modified form) to higher-level control unit 20. Higher-level control unit 20 (or head station 110 in the case of local processing) can then generate control data based on the status data.
[0035] The control data generated by higher-level control unit 20 can then be transmitted via fieldbus 30 to (the same or) a (different) head-end station. The control data transmitted to head-end station 110 (or generated by head-end station 110) is then forwarded / transmitted (possibly in modified form) to I / O modules 120 and 130. I / O modules 120 and 130 receive the control data and output control signals corresponding to the control data at the outputs to which the actuators are connected. The communication of data between the components of fieldbus system 10, the mapping of sensor signals to status data, and the mapping of control data to control signals can be adapted to different application scenarios by configuring fieldbus nodes 100.
[0036] Fig. 3 shows a block diagram of a device according to the invention, which is designed as an I / O module. I / O module 130 comprises inputs 132 and 134. Sensor 150 is connected to I / O module 130 via input 134. Sensor 150 can be, for example, a temperature sensor, e.g., a resistance temperature sensor or a thermocouple. Input 134 is connected to input circuit 200. Input circuit 200 can be configured to apply a defined voltage to sensor 150 or to generate a defined current flow through sensor 150. Input circuit 200 can further be configured to detect a current flow through sensor 150 or to tap a voltage drop across sensor 150 or to generate an analog voltage proportional to the current flow or the voltage drop. I / O module 130 further comprises ADC 300. ADC 300 is configured to convert the analog voltage into a digital value.
[0037] The digital value is mapped to a calibrated value by calibration block 400. Calibration block 400 applies a linear calibration function k(x), i.e., a calibration function of the form k(x) = a x + b, where x represents a numerical value corresponding to the digital value. Calibration block 400 may comprise function blocks 410 and 420, wherein function block 410 applies a first linear calibration function k1 = a1 x + b1 to the numerical value, and function block 420 applies a second linear calibration function k2(k1(x)) = a2 k1(x) + b2 to the output value of function block 410, i.e., the result of the first linear calibration function.
[0038] The first linear calibration function k1(x) can, for example, be adapted to ADU 300, so that the result of the first linear calibration function (within the scope of the measurement accuracy) would not require further calibration if the signal path up to input 134 were free of interference. Accordingly, the second linear calibration function k2(k1(x)) can be provided to adapt the measurement electronics of I / O module 130 to the signal path up to input 134. Alternatively, instead of concatenating two linear calibration functions, only one linear calibration function k(x) can be provided.
[0039] The calibrated value is mapped to a measured value by function block 500. The measured value can correspond to a physical quantity, e.g., temperature. The mapping is performed using a non-linear measurement function, e.g., a second-order or higher-order polynomial m(y) = d + e y + f y 2+ ··· with y = k2(k1(x)). If the signal path up to input 134 were free of interference, the non-linear measurement function would lead to correct measured values when a2 = b2 = 0. However, if the signal path up to input 134 is subject to interference, this interference can be reduced or compensated for by selecting a2 and b2 accordingly. Therefore, I / O module 130 is configured to change the linear calibration function in response to a calibration signal 700 based on an algorithm based on the non-linear measurement function and a number of predetermined comparison measured values.
[0040] I / O module 130 can be equipped with button 136, and calibration signal 700 can be triggered by a commissioning engineer by pressing button 136. Alternatively or additionally, I / O module 130 can also be configured so that calibration signal 700 can be triggered by a commissioning engineer when a corresponding message is received from I / O module 130 (via local bus 180). If comparison and correction block 600 receives calibration signal 700, comparison and correction block 600 iteratively changes b2 and / or a2 until a termination criterion is met or the commissioning engineer aborts the procedure.
[0041] Comparison and correction block 600 may include function block 610 and correction block 620. Function block 610 may be configured to compare a measured value with a predeterminable target value and output a comparison result. Correction block 620 may be configured to change the (application-dependent) second linear calibration function k2(k1(x)) based on the comparison result.
[0042] Calibration block 400, function block 500 and comparison and correction block 600 can be implemented by means of dedicated hardware or by software executed on a processor 800.
[0043] Fig. Figure 4a illustrates a procedure that is run twice to adjust a2 and b2, where Fig. 4b illustrates the first pass in the first line and the second pass in the second line. In the first pass, a first comparison value 970 is determined in step 910, and a starting value for b2 is determined in step 920 (e.g., b2 = 0). In step 930, b2 is incremented. The increment may be smaller in each step 930. For example, the increment in each subsequent step 930 may be half as large as in the previous step 930. Furthermore, a waiting time (e.g., one second) may be provided between the loops.
[0044] If it is detected in decision block 940 that measured value 972 is greater than comparison value 970, the last increase is canceled in step 950. If a maximum number of loops is reached, the procedure can be aborted in step 960. Furthermore, the procedure can be aborted if a termination signal is received from the commissioning engineer. Comparison value 970 can be, as in Fig. 4b, should be chosen so that the slope of the second linear calibration function k2(k1(x)), i.e., a2, has as little influence as possible on the calibration of the offset. For example, comparison value 970 can be chosen so that k1(x) is approximately zero (in Fig. 4b, first row, indicated by circles). This can be the case, for example, if the sensor signal value is zero or corresponds to a minimum absolute output value of the sensor.
[0045] In the second pass, a second comparison value 980 is determined in step 910, and a starting value for the "gain" a2 is determined in step 920 (e.g., a2 = 0). In step 930, a2 is increased. The increase can be smaller in each step 930. For example, the increase in each subsequent step 930 can be half as large as in the previous step 930. Furthermore, a waiting time (e.g., one second) can be provided between the loops.
[0046] If it is detected in decision block 940 that measured value 982 is greater than comparison value 980, the last increase is canceled in step 950. If a maximum number of loops is reached, the procedure can be aborted in step 960. Furthermore, the procedure can be aborted if a termination signal is received from the commissioning engineer. Comparison value 980 can be, as in Fig. 4b, should be chosen so that the slope of the second linear calibration function k2(k1(x)), i.e., a2, has the greatest possible influence. For example, the reference value 980 can be chosen so that k1(x) is approximately maximal (in Fig. 4b, second line, indicated by circles). This can be the case, for example, when the sensor signal value is at its maximum.
[0047] Fig.Figure 5 shows the flow of a method for configuring the measurement electronics downstream of sensor 150 in the field. The method includes step 1000 of changing the linear calibration function k2(k1(x)) based on two sensor signal values corresponding to measured values 972 and 982. LIST OF REFERENCE SYMBOLS 10 Fieldbus system 20 Control unit 30 Fieldbus 100 fieldbus nodes 110 Head station / fieldbus coupler 120 I / O module 130 I / O module (device) 132 Entrance 134 Entrance 140 field device 150 field devices 160 field device 170 field device 180 local bus 200 input circuit 300 analog-to-digital converters 400 calibration module 410 Function module 420 Function module 500 function modules 600 comparison and correction module 610 Function block 620 Correction module 700 calibration signal 800 processor 910 steps 920 steps 930 steps 940 Decision 950 steps 960 Decision 970 comparison value 972 measured value 980 comparison value 982 measured value 1000 steps
Claims
[1] Device (130) comprising, an input circuit (200) for a sensor (150), in particular a temperature sensor, for outputting an analog voltage, an analog-to-digital converter, ADU, (300) for inputting the analog voltage and outputting a digital value (x), a first function block (410) for a first calibration of the digital value (x) dependent on the ADU (300) based on a first linear calibration function (k1(x)) for outputting a first calibrated value, a second function block (420) for an application-dependent second calibration of the first calibrated value based on a second linear calibration function (k2(y)) for outputting a second calibrated value, a third function block (500) for inputting the second calibrated value and for outputting a physical value of the sensor (150) based on the second calibrated value, a fourth functional module (610) for comparing the physical value of the sensor (150) with a predeterminable target value and outputting a comparison result, and a correction module (620) for changing the application-dependent second calibration function (k2(y)) based on the comparison result; wherein the first linear calibration function (k1(x)) calibrates the signal path from the input of the input circuit (200) and the second linear calibration function (k2(y)) calibrates the signal path up to the input of the input circuit (200). [2] Device (130) according to claim 1, wherein the first linear calibration function (k1(x)) is fixed on the production side and the second linear calibration function (k2(y)) is adaptable in the field.
Citation Information
Patent Citations
Thermistor circuit calibration
US20090110022A1
Cited By
Control valve for controlled influencing of a gas flow and method for calibrating a control valve
WO2026180238A1
