Calibration method for thermistor conditioning modules in nuclear safety grade DCS systems
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2026-08-14
AI Technical Summary
然而,热电阻的码值与温度之间并非完全线性关系,这使得相关方法在高精度要求的环境中表现出较低的准确性
[0015]本公开实施例中所提供的用于核安全级DCS系统的热电阻调理模块校准方法,通过将热电阻码值与温度之间的非线性关系划分为多个线性区间并构建分段线性表,然后基于其进行多步骤校准计算,有效解决了热电阻码值与温度非线性关系导致的校准精度低问题,提高了热电阻调理模块在核电厂高精度环境下的校准的实时性和准确性。
Smart Images

Figure CN120907694B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of instrument calibration technology in nuclear power plants, and more specifically, to a calibration method for a thermal resistance conditioning module of a nuclear safety grade DCS system. Background Technology
[0002] In the operation system of a nuclear power plant, reactor protection devices play a crucial role in ensuring nuclear safety and maintaining stable reactor operation. The resistance temperature detector (RTD) conditioning module, as an important component of the reactor protection system, is primarily responsible for acquiring and calculating temperature signals within the nuclear power plant. By converting the temperature values measured by the RTD into easily processed voltage or current signals, it provides a reliable basis for the decision-making of the reactor protection device. Due to the high precision requirements of temperature monitoring in nuclear power plants, the accuracy of the RTD conditioning module becomes a key indicator in its design and selection. Accurate acquisition and real-time calculation of temperature data are essential for ensuring the safe operation of the reactor and guaranteeing equipment stability.
[0003] Currently, calibration methods for resistance temperature detectors (RTDs) conditioning modules typically employ a linear relationship to coarsely calculate the temperature value and then correct the current temperature using pre-stored calibration codes. However, the relationship between the RTD code value and temperature is not perfectly linear, which causes these methods to exhibit lower accuracy in environments requiring high precision. Summary of the Invention
[0004] This disclosure provides at least one calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system. By dividing the nonlinear relationship between the thermal resistance code value and temperature into multiple linear intervals and constructing a piecewise linear table, and introducing a method of matching the piecewise linear table with real-time data, the real-time performance and reliability of the calibration process are effectively improved.
[0005] This disclosure provides a calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system, including:
[0006] In response to a calibration command, the system acquires the input temperature data corresponding to the calibration command and determines a piecewise linear table based on the calibration command and the input temperature data; wherein the piecewise linear table includes different linear intervals divided according to multiple preset temperature data points, and each preset temperature data point corresponds to a target resistance value and a target calibration code value;
[0007] The real-time acquisition code value collected by the RTD conditioning module for the real-time temperature value of the RTD is obtained, and the calibration resistance value corresponding to the real-time acquisition code value is determined according to the real-time acquisition code value and the piecewise linear table; and the calibration temperature value corresponding to the real-time acquisition code value is determined according to the calibration resistance value and the preset temperature-resistance relationship table, so as to realize the temperature calibration of the real-time temperature value of the RTD.
[0008] Determine the output channel calibration code value corresponding to the calibration temperature value, and determine the calibration output current corresponding to the real-time acquisition code value based on the output channel calibration code value.
[0009] This disclosure provides a calibration device for a thermal resistance conditioning module in a nuclear safety-grade DCS system, comprising:
[0010] A linear list determination module is used to respond to a calibration command, acquire input temperature data corresponding to the calibration command, and determine a piecewise linear list based on the calibration command and the input temperature data; wherein, the piecewise linear list includes different linear intervals divided according to multiple preset temperature data points, and each preset temperature data point corresponds to a target resistance value and a target calibration code value;
[0011] The calibration value determination module is used to acquire the real-time acquisition code value collected by the thermal resistance conditioning module for the real-time temperature value of the thermal resistance, and to determine the calibration resistance value corresponding to the real-time acquisition code value according to the real-time acquisition code value and the piecewise linear table; and to determine the calibration temperature value corresponding to the real-time acquisition code value according to the calibration resistance value and the preset temperature-resistance relationship table, so as to realize the temperature calibration of the real-time temperature value of the thermal resistance.
[0012] The output current determination module is used to determine the output channel calibration code value corresponding to the calibration temperature value, and to determine the calibration output current corresponding to the real-time acquisition code value based on the output channel calibration code value.
[0013] This disclosure provides a computer device including a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform a thermal resistance conditioning module calibration method for a nuclear safety-grade DCS system as described in any of the above possible embodiments.
[0014] This disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the thermal resistance conditioning module calibration method for a nuclear safety-grade DCS system as described in any of the above possible embodiments.
[0015] The calibration method for the resistance temperature detector (RTD) conditioning module of a nuclear safety-grade DCS system provided in this embodiment effectively solves the problem of low calibration accuracy caused by the nonlinear relationship between the RTD code value and temperature by dividing the nonlinear relationship between the RTD code value and temperature into multiple linear intervals and constructing a piecewise linear table, and then performing multi-step calibration calculations based on it. This improves the real-time performance and accuracy of the calibration of the RTD conditioning module in the high-precision environment of nuclear power plants.
[0016] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings referenced in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.
[0018] Figure 1 A flowchart is shown below illustrating a calibration method for a thermal resistance conditioning module of a nuclear safety grade DCS system provided by an embodiment of this disclosure.
[0019] Figure 2 A flowchart of a method for determining a piecewise linear list provided by an embodiment of this disclosure is shown;
[0020] Figure 3 A flowchart of an output channel calibration code value calibration method provided in an embodiment of this disclosure is shown;
[0021] Figure 4 A flowchart of an output channel calibration code value determination method provided by an embodiment of this disclosure is shown;
[0022] Figure 5 This illustration shows a schematic diagram of a calibration device for a thermal resistance conditioning module in a nuclear safety-grade DCS system, provided by an embodiment of the present disclosure.
[0023] Figure 6 This illustration shows a schematic diagram of another thermal resistance conditioning module calibration device for a nuclear safety grade DCS system provided in an embodiment of the present disclosure;
[0024] Figure 7 A schematic diagram of the structure of a computer device provided in an embodiment of this disclosure is shown. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0026] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0027] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0028] In the operation system of a nuclear power plant, the reactor protection system (RPS) is the core equipment for ensuring nuclear safety and maintaining stable reactor operation. Its main function is to monitor the reactor's condition and take appropriate protective measures to prevent safety accidents caused by abnormal operation. The resistance temperature detector (RTD) conditioning module, as a key component of the RPS, is primarily responsible for acquiring and calculating temperature signals within the nuclear power plant. By converting the temperature values measured by the RTD into easily processed voltage or current signals, it ensures that the RPS can obtain real-time reactor temperature data, providing a reliable basis for the protection system's decision-making, thereby ensuring the stable operation of the reactor. Due to the precise temperature data requirements of nuclear power plants, the design and selection of the RPS module must ensure its measurement accuracy to meet high safety standards.
[0029] Research has revealed that temperature calibration methods for resistance temperature detectors (RTDs) conditioning modules typically employ a linear relationship, using pre-stored calibration codes to correct for the actual measured temperature. However, the relationship between the RTD code value and temperature is not perfectly linear. Especially in environments with wide temperature ranges or high precision requirements, this coarse linear calibration method often fails to provide sufficient accuracy. In the precision-critical environment of nuclear power plants, this method struggles to meet the demands of high-precision temperature monitoring, potentially impacting the response speed and accuracy of reactor protection devices, thereby affecting the safe operation of the reactor.
[0030] Based on the above research, this disclosure provides a calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system. Specifically, after responding to a calibration command, the method acquires the input temperature data corresponding to the command and generates a piecewise linear table based on this data and the command. This table contains target resistance values and calibration code values corresponding to multiple preset temperature data points. Subsequently, the method acquires the real-time acquisition code value of the thermal resistance conditioning module and, in conjunction with the piecewise linear table, determines the calibration resistance value corresponding to the acquisition code value. Next, the method uses a preset temperature-resistance relationship table to calculate the corresponding calibration temperature value. Finally, the method determines the calibration code value of the output channel based on the calibration temperature value and, accordingly, determines the calibration output current corresponding to the real-time acquisition code value.
[0031] In this embodiment of the disclosure, by dividing the nonlinear relationship between the RTD code value and temperature into multiple linear intervals and constructing a piecewise linear table, and then performing multi-step calibration calculations based on it, the problem of low calibration accuracy caused by the nonlinear relationship between the RTD code value and temperature is effectively solved, and the real-time performance and accuracy of the RTD conditioning module calibration in the high-precision environment of nuclear power plants are improved.
[0032] To facilitate understanding of this embodiment, the executing entity of the calibration method for the thermal resistance conditioning module of a nuclear safety-grade DCS system provided in this disclosure embodiment will first be described in detail. The executing entity of the calibration method for the thermal resistance conditioning module of a nuclear safety-grade DCS system provided in this disclosure embodiment is a computer device. This computer device can be a terminal device or a server. The terminal device can also be a mobile device, a user terminal, a terminal, a handheld device, a computing device, an in-vehicle device, a wearable device, etc. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, big data, and artificial intelligence platforms. Optionally, this method can also be applied to an implementation environment composed of computer devices and servers.
[0033] The calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system provided in this application, with reference to the accompanying drawings, will be described in detail below. See also: Figure 1 The diagram shows a flowchart of a calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system, provided by an embodiment of this disclosure. The method includes the following steps S101 to S103:
[0034] S101, in response to a calibration command, acquire the input temperature data corresponding to the calibration command, and determine a piecewise linear list based on the calibration command and the input temperature data.
[0035] Understandably, a calibration command is a signal or instruction used to trigger the calibration process. It can be issued manually by the user, such as during equipment commissioning or periodic maintenance, through the user interface; or it can be automatically generated by the system under specific conditions, such as when the system detects that the running time has reached a preset calibration cycle. The purpose is to ensure that the output of the RTD conditioning module accurately matches the set standard or expected value. In response to this calibration command, the corresponding input temperature data can be obtained. This input temperature data is a reference temperature value used in the calibration process, and this data can come from high-precision temperature measurement equipment or be a pre-set standard temperature value.
[0036] Furthermore, after acquiring the input temperature data, a piecewise linear table can be determined based on the calibration command and the input temperature data. Here, a piecewise linear table is a table that divides the temperature range into multiple intervals and uses a linear relationship within each interval to approximate the relationship between temperature, calibration code value, and resistance value. Its basic principle is to divide the entire temperature measurement range into multiple smaller intervals according to multiple preset temperature data points, and within each smaller interval, use a linear relationship to approximate the correspondence between temperature, calibration code value, and resistance value. This division method simplifies the data processing and calculation process while ensuring a certain level of accuracy.
[0037] Specifically, this piecewise linear table contains target resistance values and target calibration code values corresponding to multiple preset temperature data points. The preset temperature data points can be a set of temperature values pre-set during the calibration process, distributed across the entire temperature measurement range. The target resistance value is the theoretically expected resistance value of the thermistor at the corresponding preset temperature data point, which can be calculated or measured based on the thermistor's temperature-resistance characteristics. The target calibration code value is an encoded value corresponding to the target resistance value, typically used for data transmission and calibration to ensure data accuracy and integrity.
[0038] In some possible embodiments, to construct a piecewise linear table more accurately and improve the accuracy and reliability of calibration, refer to Figure 2 As shown, the determination of the piecewise linear list may also include the following steps S201 to S204:
[0039] S201, Based on the calibration code value corresponding to the calibration command and the input temperature data, determine the relationship curve between the calibration code value and the temperature.
[0040] Here, by correlating and analyzing the calibration code value corresponding to the calibration command and the input temperature data, and using appropriate mathematical methods such as curve fitting algorithms, the trend of change between the calibration code value and temperature can be depicted, thereby determining the relationship curve between the calibration code value and temperature. This curve visually demonstrates how the calibration code value changes with temperature.
[0041] S202, identify multiple inflection points on the relationship curve between the calibration code value and temperature, and determine the multiple inflection points as the multiple preset temperature data points.
[0042] Understandably, after obtaining the calibration code value and temperature relationship curve, multiple inflection points on the curve can be identified, and these inflection points can be defined as preset temperature data points. These inflection points represent turning points of the curve, typically corresponding to locations where the relationship between the calibration code value and temperature changes significantly during temperature variations.
[0043] In some other embodiments, since different application scenarios have different requirements for the accuracy of temperature measurement, in order to more reasonably select the number and distribution of preset temperature data points, the definition rules of the curve inflection points can be determined based on factors such as the size of the temperature measurement range, accuracy requirements, and the characteristics of the thermal resistor. For example, when the temperature measurement range is large, the nonlinear relationship between temperature and calibration code value may be more complex. In this case, if the number of preset temperature data points is too small, the piecewise linear table may not be able to accurately reflect this complex nonlinear relationship. Therefore, when the temperature measurement range is large, more inflection points can be selected as preset temperature data points, and the intervals between the preset temperature data points can be divided into smaller intervals.
[0044] S203, for each preset temperature data point, determine the target resistance value corresponding to the preset temperature data point according to the preset temperature resistance relationship table; and, collect multiple calibration code values based on the calibration command corresponding to the preset temperature data point, and determine the target calibration code value corresponding to the preset temperature data point based on the multiple calibration code values.
[0045] Specifically, for each preset temperature data point, the target resistance value corresponding to that preset temperature data point can be determined first based on the preset temperature data point and the preset temperature-resistance relationship table. Here, the preset temperature-resistance relationship table records the resistance values of thermal resistors at different temperatures. It can be pre-established based on the temperature-resistance characteristics of thermal resistors in actual situations, or a standard temperature-resistance relationship table (such as the IEC 60751 standard temperature-resistance relationship table) can be directly used. The target resistance value can be obtained by finding the resistance value corresponding to the preset temperature data point in this relationship table.
[0046] Furthermore, when determining the target calibration code value corresponding to a preset temperature data point, multiple calibration code values can be collected based on the calibration command corresponding to that preset temperature data point. The calibration code value is a digitally encoded value obtained by sampling the output signal of the resistance temperature detector (RTD) module during the calibration process. To improve the accuracy of the target calibration code value, multiple calibration code values can be collected and then processed, such as by averaging or taking the median value, to determine the target calibration code value corresponding to the preset temperature data point. For example, when the input temperature of the preset temperature data point is stable, the corresponding AD acquisition code value will also tend to stabilize. In this case, according to the corresponding calibration command, 31 code values can be continuously collected, and the median code value can be taken as the calibration code value for that input temperature. That is, among the 31 collected code values, after sorting, the 16th code value is the median code value, which can be used as the target calibration code value corresponding to the preset temperature data point.
[0047] In some possible embodiments, after acquiring multiple calibration code values, they can be filtered to remove noise and interference components from the calibration code values, resulting in more stable calibration code values.
[0048] S204, using each preset temperature data point as the dividing endpoint of the linear interval, and combining the target resistance value and target calibration code value corresponding to each preset temperature data point, the piecewise linear table is constructed.
[0049] Specifically, after obtaining the target resistance value and target calibration code value corresponding to each preset temperature data point, each preset temperature data point can be used as the endpoint of a linear interval. Combining the target resistance value and target calibration code value corresponding to each preset temperature data point, a piecewise linear table can be constructed. Each preset temperature data point, as the endpoint of the linear interval, divides the entire temperature range into multiple smaller intervals. Within each smaller interval, the relationship between temperature and resistance can be approximated as a linear relationship. Using the known target resistance value and target calibration code value, the linear relationship expression between temperature and calibration code value within that smaller interval can be determined. Integrating these linear relationship expressions constitutes a complete piecewise linear table, fully describing the correspondence between temperature, calibration code value, and resistance value.
[0050] Here, the smaller the piecewise linear interval, the narrower the temperature variation range within each small interval. In this case, the nonlinear relationship between temperature and resistance can be closer to a linear relationship within this small interval, and the degree of linear fitting is also higher.
[0051] S102, acquire the real-time acquisition code value of the real-time temperature value of the resistance temperature detector (RTD) from the RTD conditioning module, and determine the calibration resistance value corresponding to the real-time acquisition code value according to the real-time acquisition code value and the piecewise linear table; and determine the calibration temperature value corresponding to the real-time acquisition code value according to the calibration resistance value and the preset temperature-resistance relationship table, so as to realize the temperature calibration of the real-time temperature value of the RTD.
[0052] Understandably, as a temperature-sensitive element, the resistance value of a resistance temperature detector (RTD) changes with temperature. The RTD conditioning module is primarily responsible for acquiring and calculating temperature signals within the nuclear power plant, converting the temperature value measured by the RTD into a easily processed current signal. When the temperature changes, the resistance value of the RTD changes accordingly. This change can be further converted into a digital code value, i.e., a real-time acquired code value, using devices such as an analog-to-digital converter (ADC). The RTD conditioning module receives this digital code value and processes it using a specific algorithm to obtain the corresponding current signal. The real-time acquired code value directly reflects the actual resistance state of the RTD, and thus its actual temperature value. However, in actual acquisition, due to various factors, the acquired real-time acquired code value may contain certain errors. For example, noise in the circuit can interfere with signal transmission, causing the acquired code value to deviate from the true value; or, errors inherent in the electronic components themselves, such as resistor accuracy deviations or amplifier gain errors, can also affect the acquisition results. Therefore, in order to obtain accurate temperature measurement values, the real-time acquired code values can be corrected by combining a piecewise linear table and a preset temperature-resistance relationship table.
[0053] Here, when determining the calibration resistance value corresponding to the acquired code value, the calibration resistance value can be determined based on the acquired real-time code value and a piecewise linear table. Specifically, the interval closest to the real-time code value can be found in the piecewise linear table, and then the corresponding calibration resistance value is calculated based on the linear relationship of that interval. This calibration resistance value is a correction and calibration of the resistance value represented by the real-time code value, aiming to eliminate errors during the acquisition process.
[0054] Specifically, determining the calibration resistor value may include the following steps (1) to (4):
[0055] (1) Determine the target calibration code value interval corresponding to the real-time acquisition code value in the segmented linear table, and determine the first target calibration code value and the second target calibration code value based on the target calibration code value interval;
[0056] (2) Based on the piecewise linear list and the first target calibration code value, determine the first target resistance value corresponding to the first target calibration code value; and based on the piecewise linear list and the second target calibration code value, determine the second target resistance value corresponding to the second target calibration code value.
[0057] (3) Based on the first target calibration code value, the second target calibration code value, the first target resistance value, and the second target resistance value, determine the linear relationship between the calibration code value and the resistance value corresponding to the target calibration code value interval;
[0058] (4) Determine the calibration resistance value based on the real-time acquisition code value and the linear relationship between the calibration code value and the resistance value.
[0059] Understandably, each interval in the piecewise linear list is defined by two endpoints, each corresponding to a calibration code value and a corresponding resistance value. Once the real-time acquisition code value is obtained, the interval containing that code value (i.e., the target calibration code value interval) can be found in the piecewise linear list. The calibration code values corresponding to the two endpoints of this interval are the first target calibration code value and the second target calibration code value. For example, if the real-time acquisition code value is within a certain interval, the calibration code value corresponding to the lower limit of that interval is the first target calibration code value, and the calibration code value corresponding to the upper limit is the second target calibration code value. After determining the target calibration code value interval and its two endpoint code values, the resistance values corresponding to these two endpoint code values can be found using the data in the piecewise linear list. Specifically, the first target resistance value matching the first target calibration code value is found in the piecewise linear list; similarly, the second target resistance value matching the second target calibration code value is found.
[0060] Here, since the temperature, calibration code value, and resistance value approximately satisfy a linear relationship within each linear interval of the piecewise linear table, a linear relationship between the calibration code value and resistance value within the target calibration code value interval can be established based on the first target calibration code value, the second target calibration code value, the first target resistance value, and the second target resistance value. Furthermore, the calibration resistance value is calculated based on the actual acquired code value and the linear relationship between the calibration code value and the resistance value. Specifically, the formula is as follows:
[0061] R=(Adcode-ADcode1)×(R2-R1)÷(ADcode2-ADcode1)+R1;
[0062] Where R represents the calibration resistance value, Adcode represents the real-time acquisition code value, Adcode1 represents the first target calibration code value, Adcode2 represents the second target calibration code value, R1 represents the first target resistance value, and R2 represents the second target resistance value.
[0063] Furthermore, after obtaining the calibration resistance value, the calibration temperature value corresponding to the real-time acquired code value can be determined according to the calibration resistance value and the preset temperature-resistance relationship table. The calibration temperature value can be obtained by looking up the temperature value corresponding to the calibration resistance value in the preset temperature-resistance relationship table.
[0064] This ensures that the temperature value obtained by the real-time measurement of the resistance temperature detector (RTD) is more accurate and reliable after calibration, thereby effectively eliminating errors caused by measurement deviations and achieving accurate calibration of the real-time temperature value of the RTD.
[0065] Specifically, determining the calibration temperature value may include the following steps (a) to (d):
[0066] (a) Based on the calibration resistance value and the preset temperature-resistance relationship table, determine the target temperature range corresponding to the calibration resistance value;
[0067] (b) Determine a first temperature endpoint and a second temperature endpoint based on the target temperature range, and determine a first resistance value corresponding to the first temperature endpoint based on the preset temperature-resistance relationship table and the first temperature endpoint; and determine a second resistance value corresponding to the second temperature endpoint based on the preset temperature-resistance relationship table and the second temperature endpoint.
[0068] (c) Based on the first temperature endpoint, the second temperature endpoint, the first resistance value, and the second resistance value, determine the linear relationship between the temperature and resistance value corresponding to the target temperature range;
[0069] (d) Determine the calibration temperature value based on the calibration resistance value and the linear relationship between the temperature and the resistance value.
[0070] Understandably, preset temperature-resistance relationship tables typically divide the temperature range into multiple consecutive intervals, with a corresponding relationship between temperature and resistance values within each interval. Since the calibration resistance value may not exactly match the resistance value corresponding to a specific temperature in the table, it's necessary to first determine the temperature interval within which the calibration resistance value lies. For example, the preset temperature-resistance relationship table records resistance values from -50℃ to 200℃, with each interval representing a 10℃ interval. Once the calibration resistance value is obtained, the temperature range within which that resistance value lies, i.e., the target temperature interval, is found by iterating through the data in the table. Assuming the calibration resistance value is within the interval of 30℃ to 40℃, then this interval is the target temperature interval. After determining the target temperature interval, the two boundary temperature values of this interval are the first and second temperature endpoints. For example, if the target temperature interval is 30℃ to 40℃, then the first temperature endpoint is 30℃, and the second temperature endpoint is 40℃. Then, according to the preset temperature-resistance relationship table, the resistance values corresponding to these two temperature endpoints are found. In the table, the resistance value corresponding to 30℃ is R1, and the resistance value corresponding to 40℃ is R2. R1 is the first resistance value, and R2 is the second resistance value.
[0071] In some possible embodiments, when looking up the corresponding temperature range in a preset temperature-resistance relationship table based on the calibration resistor value, a binary search method can also be used to reduce the number of searches and improve efficiency.
[0072] Here, since the relationship between temperature and resistance is approximately linear within the target temperature range, linear interpolation can be used to calculate the calibration temperature. Linear interpolation is a commonly used numerical calculation method that estimates the coordinates of any point between two known points. Specifically, it is expressed as follows:
[0073] T=(R-R1)×(T2-T1)÷(R2-R1)+T1;
[0074] Where T represents the calibration temperature value; R represents the calibration resistance value; R1 is the first resistance value; R2 is the second resistance value; T1 represents the first temperature endpoint; and T2 represents the second temperature endpoint.
[0075] S103, determine the output channel calibration code value corresponding to the calibration temperature value, and determine the calibration output current corresponding to the real-time acquisition code value based on the output channel calibration code value.
[0076] Specifically, after determining the calibration temperature value, the corresponding output channel calibration code value can be determined. The output channel calibration code value is an encoded value used for data transmission and calibration in the output channel. It has a specific correspondence with the calibration temperature value; the corresponding output channel calibration code value can be obtained from a lookup table or through calculation based on the calibration temperature value. Then, based on the output channel calibration code value, the calibration output current corresponding to the real-time acquired code value can be determined. Here, the calibration output current is the final output current value, which can be converted into a corresponding analog current signal using circuits such as a digital-to-analog converter (DAC). This calibration output current can be used to drive subsequent load devices, such as display instruments and control devices.
[0077] For example, to ensure the output accuracy of the RTD conditioning module, refer to Figure 3 As shown, when performing calibration based on a calibration command, the following steps S301 to S302 may also be included:
[0078] S301, Obtain the output current data corresponding to the calibration command.
[0079] Understandably, in order to accurately output the calibration temperature value as the corresponding current signal, it is also necessary to determine the output channel calibration code value corresponding to the calibration temperature value. By obtaining the output current data corresponding to the calibration command, the stability and operating range of the current can be analyzed to ensure that the module will not cause errors during calibration due to unstable or inappropriate current values.
[0080] S302, based on the output current data, determine the maximum effective current and minimum effective current of the thermal resistance conditioning module, as well as the first output channel calibration code value corresponding to the maximum effective current and the second output channel calibration code value corresponding to the minimum effective current.
[0081] Specifically, after acquiring the output current data, the maximum and minimum effective currents of the RTD conditioning module can be determined based on this data. This can be achieved by inputting calibration commands and input code values, and observing the changes in the output current. For example, the RTD conditioning module contains a digital-to-analog converter (DA) chip, which converts digital signals into analog current signals. By gradually changing the input code value and observing the changes in the output current, the current reaching a stable maximum value that meets the normal operating requirements of the RTD and whose measurement error is within the allowable range is the maximum effective current. Similarly, the current reaching a stable minimum value that meets the requirements is the minimum effective current.
[0082] Furthermore, after determining the maximum and minimum effective currents, it is also necessary to determine the corresponding first and second output channel calibration code values. In the RTD conditioning module, the output channel calibration code value is the result of digitally encoding the output signal. Taking a DA chip as an example, when the input code value makes the output current stabilize at the maximum effective current (e.g., 20mA), the corresponding input code value is the first output channel calibration code value corresponding to the maximum effective current; when the input code value makes the output current stabilize at the minimum effective current (e.g., 4mA), the corresponding input code value is the second output channel calibration code value corresponding to the minimum effective current.
[0083] In this way, the output channel calibration code values corresponding to the maximum and minimum currents can be used to calibrate the linearity of the output channel, ensuring that the output signal of the output channel can be accurately converted into the actual current value.
[0084] For example, refer to Figure 4 As shown, determining the output channel calibration code value corresponding to the calibration temperature value may include the following steps S401 to S403:
[0085] S401, based on the maximum effective current, the minimum effective current, the upper temperature limit corresponding to the maximum effective current, and the lower temperature limit corresponding to the minimum effective current, determine the linear relationship between temperature and current.
[0086] Here, to determine the linear relationship between temperature and current, a straight line describing this relationship can be fitted using the maximum effective current, minimum effective current, the upper temperature limit corresponding to the maximum effective current, and the lower temperature limit corresponding to the minimum effective current. The maximum and minimum effective currents are determined during calibration; they represent the maximum and minimum current values that the RTD conditioning module can output within its normal operating range, respectively. The upper and lower temperature limits are determined based on the measurement requirements and the characteristics of the RTD, corresponding to the temperature values at the maximum and minimum effective currents, respectively.
[0087] S402, based on the maximum effective current, the first output channel calibration code value corresponding to the maximum effective current, and the minimum effective current and the second output channel calibration code value corresponding to the minimum effective current, determine the linear relationship between the current and the calibration code value.
[0088] Specifically, in the RTD conditioning module, the output channel calibration code value is the result of digitally encoding the output signal, and it is directly related to the output current value. By using the maximum and minimum effective currents recorded during the calibration process, along with their corresponding output channel calibration code values, the linear relationship between the current and the calibration code value can be determined. When the input code value causes the output current to stabilize at the maximum effective current, the corresponding input code value is the first output channel calibration code value; similarly, when the output current stabilizes at the minimum effective current, the corresponding input code value is the second output channel calibration code value. By collecting these two sets of data points and using linear regression, a straight line describing the linear relationship between the current and the calibration code value can be fitted.
[0089] S403, based on the linear relationship between the temperature and the current and the linear relationship between the current and the calibration code value, determine the linear relationship between the temperature and the calibration code value; and, based on the linear relationship between the calibration temperature value and the temperature and the calibration code value, determine the output channel calibration code value corresponding to the calibration temperature value.
[0090] Understandably, after determining the linear relationship between temperature and current, and the linear relationship between current and calibration code value, these two relationships can be combined to determine the linear relationship between temperature and calibration code value. Specifically, each current value on the temperature-current line can be converted into its corresponding calibration code value via the current-calibration code value line, thus obtaining a series of temperature-calibration code value data points. Then, by applying linear regression again, a straight line describing the linear relationship between temperature and calibration code value can be fitted. This straight line is the final linear relationship between temperature and calibration code value, which can be directly used to convert the calibration temperature value into the corresponding output channel calibration code value. In this way, by substituting the calibration temperature value into this linear relationship, the corresponding output channel calibration code value can be quickly obtained, thereby ensuring that the output signal of the RTD conditioning module can be accurately converted into the actual temperature value. The specific formula is as follows:
[0091]
[0092] Where Dacode represents the output channel calibration code value; T represents the calibration temperature value; downline represents the minimum effective current; upline represents the maximum effective current; upDacode represents the first output channel calibration code value; and downDacode represents the second output channel calibration code value.
[0093] In some possible embodiments, to address the complex requirements of multi-channel temperature data acquisition and processing, a field-programmable gate array (FPGA) hardware platform can be used to achieve parallel processing of functions such as multi-channel input temperature data acquisition, calibration resistance value calculation, calibration temperature value calculation, linear operation of calibration code values corresponding to the output channel of the calibration temperature value, and determination of calibration output current.
[0094] Specifically, an FPGA can be used to acquire multi-channel input temperature data. By rationally designing the data acquisition module, it is ensured that the temperature data for each channel can be acquired accurately and promptly. Simultaneously, after data acquisition, the FPGA is used to calculate calibration resistance values. Based on the calibration method for the thermal resistance conditioning module used in nuclear safety-grade DCS systems and the acquired relevant data, accurate calibration resistance values corresponding to each channel are obtained. Next, calibration temperature values are calculated based on the calibration resistance values, converting the resistance values into corresponding temperature values. Then, linear operations are performed on the calibration code values corresponding to the output channels based on the calibration temperature values. According to a specific linear relationship, the calibration code value corresponding to each output channel is calculated. Finally, the calibration output current is determined based on the calibration code values to ensure that the output current meets the expected requirements.
[0095] Here, to implement the current output function, three output channel DA chip driver modules can be invoked. The FPGA simultaneously sends the calculated output code value (Dacode) to these three driver modules. Each driver module operates independently, controlling its corresponding output channel. Since the driver modules for the three output channels are independent, the current outputs do not affect each other, thus meeting the requirements for channel isolation and allocation. This ensures that the current output of each channel is stable and reliable, and will not be interfered with by changes in the state of other channels. It is understandable that for the special application scenario of current signal output in a nuclear safety-grade DCS system, multiple output current modules can be instantiated based on the parallelization characteristics of the FPGA. Each output current module is independently responsible for the current output of one channel, and they work in parallel without interference. In this way, parallel output of multiple channels is achieved, improving the system's output efficiency. Furthermore, because the current output of each channel is independent, it meets the stringent requirements of nuclear safety-grade DCS systems for channel isolation and allocation, ensuring stable and reliable operation of the system in complex environments.
[0096] Meanwhile, during the calculation process, fixed-point linear arithmetic can be performed based on the FPGA. The FPGA has programmable logic resources, which can multiply the resistance and temperature values in the linear arithmetic process according to actual needs. This multiplication method enables fixed-point decimal arithmetic of resistance and temperature values based on the FPGA. For example, after multiplying the resistance and temperature values by a certain factor and performing integer operations, a precise decimal result can be obtained through appropriate scaling operations, thereby improving calculation accuracy and avoiding the complexity and precision loss caused by floating-point arithmetic.
[0097] By implementing parallel processing of the above functions through FPGA, the system's processing efficiency and real-time performance can be improved, meeting the requirements for rapid acquisition, processing, and output of multi-channel temperature data. Thus, for applications with high real-time requirements, such as nuclear safety-grade DCS systems, this ensures timely response to external changes, guarantees system safety and stability, and meets the stringent requirements for rapid acquisition, processing, and output of multi-channel temperature data.
[0098] The calibration method for the resistance temperature detector (RTD) conditioning module of a nuclear safety-grade DCS system provided in this embodiment effectively solves the problem of low calibration accuracy caused by the nonlinear relationship between the RTD code value and temperature by dividing the nonlinear relationship between the RTD code value and temperature into multiple linear intervals and constructing a piecewise linear table, and then performing multi-step calibration calculations based on it. This improves the real-time performance and accuracy of the calibration of the RTD conditioning module in the high-precision environment of nuclear power plants.
[0099] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0100] Based on the same inventive concept, this disclosure also provides a calibration device for a thermal resistance conditioning module of a nuclear safety-grade DCS system, corresponding to the calibration method for a thermal resistance conditioning module of a nuclear safety-grade DCS system. Since the principle of the device in this disclosure for solving the problem is similar to the above-mentioned calibration method for a thermal resistance conditioning module of a nuclear safety-grade DCS system, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0101] Reference Figure 5 The diagram shown is a schematic of a thermal resistance conditioning module calibration device 500 for a nuclear safety-grade DCS system provided in this disclosure embodiment. The device includes:
[0102] The linear list determination module 501 is used to respond to a calibration command, acquire input temperature data corresponding to the calibration command, and determine a piecewise linear list based on the calibration command and the input temperature data; wherein, the piecewise linear list includes different linear intervals divided according to multiple preset temperature data points, and each preset temperature data point corresponds to a target resistance value and a target calibration code value.
[0103] The calibration value determination module 502 is used to acquire the real-time acquisition code value of the real-time temperature value of the resistance thermometer by the resistance thermometer conditioning module, and determine the calibration resistance value corresponding to the real-time acquisition code value according to the real-time acquisition code value and the piecewise linear table; and determine the calibration temperature value corresponding to the real-time acquisition code value according to the calibration resistance value and the preset temperature-resistance relationship table, so as to realize the temperature calibration of the real-time temperature value of the resistance thermometer.
[0104] The output current determination module 503 is used to determine the output channel calibration code value corresponding to the calibration temperature value, and to determine the calibration output current corresponding to the real-time acquisition code value based on the output channel calibration code value.
[0105] In some possible embodiments, the linear list determination module 501 is specifically used for:
[0106] Multiple preset temperature data points are determined based on the input temperature data;
[0107] For each preset temperature data point, a target resistance value corresponding to the preset temperature data point is determined according to the preset temperature data point and the preset temperature resistance relationship table; and, multiple calibration code values are collected based on the calibration command corresponding to the preset temperature data point, and a target calibration code value corresponding to the preset temperature data point is determined based on the multiple calibration code values.
[0108] Based on each preset temperature data point, and the target resistance value and target calibration code value corresponding to each preset temperature data point, multiple linear intervals are determined to obtain the piecewise linear table.
[0109] In some possible embodiments, the calibration value determination module 502 is specifically used for:
[0110] In the segmented linear list, a target calibration code value interval corresponding to the real-time acquisition code value is determined, and a first target calibration code value and a second target calibration code value are determined based on the target calibration code value interval.
[0111] Based on the piecewise linear list and the first target calibration code value, a first target resistance value corresponding to the first target calibration code value is determined; and based on the piecewise linear list and the second target calibration code value, a second target resistance value corresponding to the second target calibration code value is determined.
[0112] Based on the first target calibration code value, the second target calibration code value, the first target resistance value, and the second target resistance value, a linear relationship between the calibration code value and the resistance value corresponding to the target calibration code value range is determined;
[0113] The calibration resistance value is determined based on the real-time acquisition code value and the linear relationship between the calibration code value and the resistance value.
[0114] In some possible embodiments, the calibration value determination module 502 is specifically used for:
[0115] Based on the calibration resistance value and the preset temperature-resistance relationship table, the target temperature range corresponding to the calibration resistance value is determined;
[0116] The first temperature endpoint and the second temperature endpoint are determined based on the target temperature range; the first resistance value corresponding to the first temperature endpoint is determined based on the preset temperature-resistance relationship table and the first temperature endpoint; and the second resistance value corresponding to the second temperature endpoint is determined based on the preset temperature-resistance relationship table and the second temperature endpoint.
[0117] Based on the first temperature endpoint, the second temperature endpoint, the first resistance value, and the second resistance value, a linear relationship between the temperature and resistance value corresponding to the target temperature range is determined.
[0118] The calibration temperature value is determined based on the calibration resistance value and the linear relationship between the temperature and the resistance value.
[0119] In some possible embodiments, the linear list determination module 501 is further configured to:
[0120] Obtain the output current data corresponding to the calibration command;
[0121] Based on the output current data, determine the maximum and minimum effective current of the thermal resistance conditioning module, as well as the first output channel calibration code value corresponding to the maximum effective current and the second output channel calibration code value corresponding to the minimum effective current.
[0122] In some possible embodiments, the output current determination module 503 is specifically used for:
[0123] Based on the maximum effective current, the minimum effective current, the upper temperature limit corresponding to the maximum effective current, and the lower temperature limit corresponding to the minimum effective current, a linear relationship between temperature and current is determined.
[0124] Based on the maximum effective current, the first output channel calibration code value corresponding to the maximum effective current, and the minimum effective current and the second output channel calibration code value corresponding to the minimum effective current, a linear relationship between the current and the calibration code value is determined.
[0125] Based on the linear relationship between temperature and current and the linear relationship between current and calibration code value, the linear relationship between temperature and calibration code value is determined; and based on the linear relationship between calibration temperature value and calibration code value, the output channel calibration code value corresponding to the calibration temperature value is determined.
[0126] In some possible embodiments, refer to Figure 6 As shown, the device further includes:
[0127] The multi-channel processing module 504 is used to implement parallel processing based on FPGA for multi-channel input temperature data acquisition, calibration resistance value calculation, calibration temperature value calculation, linear operation of calibration code value corresponding to the output channel of calibration temperature value, and determination of calibration output current.
[0128] Based on the same technical concept, this disclosure also provides a computer device. (See also...) Figure 7 The diagram shows the structure of a computer device 700 provided in this embodiment of the present disclosure, including a processor 701, a memory 702, and a bus 703. The memory 702 stores execution instructions and includes a main memory 7021 and an external memory 7022. The main memory 7021, also called internal memory, is used to temporarily store computational data in the processor 701, as well as data exchanged with external memory 7022 such as a hard disk. The processor 701 exchanges data with the external memory 7022 through the main memory 7021.
[0129] In this embodiment, the memory 702 is specifically used to store application code that executes the solution of this application, and its execution is controlled by the processor 701. That is, when the computer device 700 is running, the processor 701 communicates with the memory 702 through the bus 703, so that the processor 701 executes the application code stored in the memory 702, and then executes the method described in any of the foregoing embodiments.
[0130] The memory 702 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0131] Processor 701 may be an integrated circuit chip with signal processing capabilities. The aforementioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor.
[0132] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the computer device 700. In other embodiments of this application, the computer device 700 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0133] This disclosure also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program performs the steps of the calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system described in the above-described method embodiments. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0134] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the calibration method for the thermal resistance conditioning module of a nuclear safety-grade DCS system described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0135] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0136] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0138] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0139] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0140] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A calibration method for a thermal resistance conditioning module in a nuclear safety-grade DCS system, characterized in that, include: In response to a calibration command, the system acquires the input temperature data corresponding to the calibration command and determines a piecewise linear table based on the calibration command and the input temperature data; wherein the piecewise linear table includes different linear intervals divided according to multiple preset temperature data points, and each preset temperature data point corresponds to a target resistance value and a target calibration code value; The real-time acquisition code value collected by the RTD conditioning module for the real-time temperature value of the RTD is obtained, and the calibration resistance value corresponding to the real-time acquisition code value is determined according to the real-time acquisition code value and the piecewise linear table; and the calibration temperature value corresponding to the real-time acquisition code value is determined according to the calibration resistance value and the preset temperature-resistance relationship table, so as to realize the temperature calibration of the real-time temperature value of the RTD. Determine the output channel calibration code value corresponding to the calibration temperature value, and determine the calibration output current corresponding to the real-time acquisition code value based on the output channel calibration code value; The step of determining the piecewise linear table based on the calibration command and the input temperature data includes: Based on the calibration code value corresponding to the calibration command and the input temperature data, determine the relationship curve between the calibration code value and the temperature. Identify multiple inflection points on the relationship curve between the calibration code value and temperature, and determine the multiple inflection points as the multiple preset temperature data points; For each preset temperature data point, a target resistance value corresponding to the preset temperature data point is determined according to the preset temperature data point and the preset temperature resistance relationship table; and, multiple calibration code values are collected based on the calibration command corresponding to the preset temperature data point, and a target calibration code value corresponding to the preset temperature data point is determined based on the multiple calibration code values. The segmented linear table is constructed by using each preset temperature data point as the dividing endpoint of the linear interval and combining the target resistance value and target calibration code value corresponding to each preset temperature data point. After obtaining the input temperature data corresponding to the calibration command, the method further includes: Obtain the output current data corresponding to the calibration command; Based on the output current data, determine the maximum effective current and minimum effective current of the thermal resistance conditioning module, as well as the first output channel calibration code value corresponding to the maximum effective current and the second output channel calibration code value corresponding to the minimum effective current; Accordingly, determining the output channel calibration code value corresponding to the calibration temperature value includes: Based on the maximum effective current, the minimum effective current, the upper temperature limit corresponding to the maximum effective current, and the lower temperature limit corresponding to the minimum effective current, a linear relationship between temperature and current is determined. Based on the maximum effective current, the first output channel calibration code value corresponding to the maximum effective current, and the minimum effective current and the second output channel calibration code value corresponding to the minimum effective current, a linear relationship between the current and the calibration code value is determined. Based on the linear relationship between temperature and current and the linear relationship between current and calibration code value, the linear relationship between temperature and calibration code value is determined; and based on the linear relationship between calibration temperature value and temperature and calibration code value, the output channel calibration code value corresponding to the calibration temperature value is determined.
2. The method according to claim 1, characterized in that, The step of determining the calibration resistor value corresponding to the real-time acquisition code value based on the real-time acquisition code value and the piecewise linear table includes: In the segmented linear list, a target calibration code value interval corresponding to the real-time acquisition code value is determined, and a first target calibration code value and a second target calibration code value are determined based on the target calibration code value interval. Based on the piecewise linear list and the first target calibration code value, a first target resistance value corresponding to the first target calibration code value is determined; and based on the piecewise linear list and the second target calibration code value, a second target resistance value corresponding to the second target calibration code value is determined. Based on the first target calibration code value, the second target calibration code value, the first target resistance value, and the second target resistance value, a linear relationship between the calibration code value and the resistance value corresponding to the target calibration code value range is determined; The calibration resistance value is determined based on the real-time acquisition code value and the linear relationship between the calibration code value and the resistance value.
3. The method according to claim 1, characterized in that, The step of determining the calibration temperature value corresponding to the real-time acquisition code value based on the calibration resistance value and the preset temperature-resistance relationship table includes: Based on the calibration resistance value and the preset temperature-resistance relationship table, the target temperature range corresponding to the calibration resistance value is determined; The first temperature endpoint and the second temperature endpoint are determined based on the target temperature range; the first resistance value corresponding to the first temperature endpoint is determined based on the preset temperature-resistance relationship table and the first temperature endpoint; and the second resistance value corresponding to the second temperature endpoint is determined based on the preset temperature-resistance relationship table and the second temperature endpoint. Based on the first temperature endpoint, the second temperature endpoint, the first resistance value, and the second resistance value, a linear relationship between the temperature and resistance value corresponding to the target temperature range is determined. The calibration temperature value is determined based on the calibration resistance value and the linear relationship between the temperature and the resistance value.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: This system uses FPGA to implement parallel processing for multi-channel input temperature data acquisition, calibration resistance value calculation, calibration temperature value calculation, linear operation of calibration code values corresponding to the output channels of the calibration temperature value, and determination of calibration output current.
5. A calibration device for a thermal resistance conditioning module in a nuclear safety-grade DCS system, characterized in that, include: A linear list determination module is used to respond to a calibration command, acquire input temperature data corresponding to the calibration command, and determine a piecewise linear list based on the calibration command and the input temperature data; wherein, the piecewise linear list includes different linear intervals divided according to multiple preset temperature data points, and each preset temperature data point corresponds to a target resistance value and a target calibration code value; The calibration value determination module is used to acquire the real-time acquisition code value collected by the thermal resistance conditioning module for the real-time temperature value of the thermal resistance, and to determine the calibration resistance value corresponding to the real-time acquisition code value according to the real-time acquisition code value and the piecewise linear table; and to determine the calibration temperature value corresponding to the real-time acquisition code value according to the calibration resistance value and the preset temperature-resistance relationship table, so as to realize the temperature calibration of the real-time temperature value of the thermal resistance. An output current determination module is used to determine the output channel calibration code value corresponding to the calibration temperature value, and to determine the calibration output current corresponding to the real-time acquisition code value based on the output channel calibration code value. Specifically, the linear list determination module is used for: Based on the calibration code value corresponding to the calibration command and the input temperature data, determine the relationship curve between the calibration code value and the temperature. Identify multiple inflection points on the relationship curve between the calibration code value and temperature, and determine the multiple inflection points as the multiple preset temperature data points; For each preset temperature data point, a target resistance value corresponding to the preset temperature data point is determined according to the preset temperature data point and the preset temperature resistance relationship table; and, multiple calibration code values are collected based on the calibration command corresponding to the preset temperature data point, and a target calibration code value corresponding to the preset temperature data point is determined based on the multiple calibration code values. The segmented linear table is constructed by using each preset temperature data point as the dividing endpoint of the linear interval and combining the target resistance value and target calibration code value corresponding to each preset temperature data point. The linear list determination module is further configured to: Obtain the output current data corresponding to the calibration command; Based on the output current data, determine the maximum effective current and minimum effective current of the thermal resistance conditioning module, as well as the first output channel calibration code value corresponding to the maximum effective current and the second output channel calibration code value corresponding to the minimum effective current; Accordingly, the output current determination module is specifically used for: Based on the maximum effective current, the minimum effective current, the upper temperature limit corresponding to the maximum effective current, and the lower temperature limit corresponding to the minimum effective current, a linear relationship between temperature and current is determined. Based on the maximum effective current, the first output channel calibration code value corresponding to the maximum effective current, and the minimum effective current and the second output channel calibration code value corresponding to the minimum effective current, a linear relationship between the current and the calibration code value is determined. Based on the linear relationship between temperature and current and the linear relationship between current and calibration code value, the linear relationship between temperature and calibration code value is determined; and based on the linear relationship between calibration temperature value and temperature and calibration code value, the output channel calibration code value corresponding to the calibration temperature value is determined.
6. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 4.
7. A computer device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Thermal resistor temperature measuring instrument based on verification data
CN103604525A
Electric heater detection system and method based on big data image information
CN119845427A