A method and system for calibrating a pointer-type density relay

By obtaining the monitored density range and performing density compensation calibration, combined with linear compensation of changing temperature and pressure curves, the problem of narrow temperature range and low efficiency of pointer density relay calibration is solved, achieving more efficient and accurate calibration.

CN119000420BActive Publication Date: 2024-12-20XIAN AVIONICS PRECISION INSTR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411479850.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2024-12-20
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

The existing pointer density relay calibration methods have a narrow temperature range and low efficiency, which cannot effectively resist the influence of temperature, resulting in inaccurate monitoring results.

Method used

By obtaining the monitoring density range, setting the calibration density set, performing gas filling and parameter detection, calculating the measured density, performing density compensation calibration, and drawing curves using varying temperature and pressure to perform linear pressure and temperature compensation, expanding the calibration temperature range.

Benefits of technology

Improves the temperature range and efficiency of pointer density relay calibration, enhances calibration accuracy and accuracy, and ensures density monitoring reliability over a wider range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119000420B_ABST
    Figure CN119000420B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data calibration, and is a method and system for calibrating a pointer-type density relay, comprising: obtaining a calibration density set, filling a gas monitoring space based on the calibration density set to obtain a measurement density set, performing density compensation calibration on a pointer-type density relay based on the calibration density set and the measurement density set to obtain a preliminary calibration relay, continuously filling a gas monitoring space with a gas to be measured to obtain a change temperature set and a change pressure set, drawing an original temperature-pressure curve based on the change temperature set and the change pressure set, obtaining a compensation pressure set based on the original temperature-pressure curve, drawing a compensation pressure-temperature curve based on the compensation pressure set, performing temperature compensation calibration using the compensation pressure-temperature curve to obtain a fully calibrated relay. The present invention can increase the calibration temperature range of the pointer-type density relay and improve the calibration efficiency of the pointer-type density relay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of data calibration test, and in particular to a calibration method and system for a pointer-type density relay. Background Art

[0002] Pointer density relay is an important device for monitoring the gas density inside insulated electrical equipment. Since some electrical equipment may leak gas during operation, it is necessary to use pointer density relay to monitor the gas density of the electrical equipment to prevent danger. However, in the actual monitoring process, the monitoring results of the pointer density relay will be affected by temperature, so it is important to calibrate the pointer density relay.

[0003] The current calibration method for pointer density relays is mainly to perform single-point comparison and correction between the pointer density relay and the standard instrument in the density calibrator. Since this method can calibrate fewer temperature points, the calibration temperature range is also narrow. At the same time, the calibration efficiency through single-point comparison is also low. Summary of the invention

[0004] The present invention provides a pointer type density relay calibration method and system, the main purpose of which is to increase the calibration temperature range of the pointer type density relay and improve the calibration efficiency of the pointer type density relay.

[0005] To achieve the above-mentioned purpose, the present invention provides a pointer-type density relay calibration method, comprising: obtaining a monitoring density range, setting a calibration density set based on the monitoring density range, and extracting calibration densities in the calibration density set in sequence; filling a pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; performing parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculating a measured density based on the original pressure and the original temperature, summarizing the measured density, and obtaining a measured density set; performing density compensation calibration on a pre-constructed pointer-type density relay according to the calibration density set and the measured density set to obtain a preliminary calibrated relay; using a preset gas to be measured The gas monitoring space is continuously filled to obtain a set of changing temperatures and a set of changing pressures; an original temperature-pressure curve is drawn according to the set of changing temperatures and the set of changing pressures, and the original temperature-pressure curve is segmented to obtain a set of smoothly segmented segments and a set of abruptly segmented segments; an abrupt deviation factor set of the abruptly segmented segment set is identified, and linear pressure compensation is performed according to the abrupt deviation factor set and the set of smoothly segmented segments to obtain a compensated pressure set; a compensation temperature set corresponding to the compensated pressure set is identified, and a compensation pressure-temperature curve is drawn according to the compensation pressure set and the compensation temperature set; and the compensation pressure-temperature curve is used to perform temperature compensation calibration on the preliminary calibration relay to obtain a fully calibrated relay.

[0006] Optionally, setting the calibration density set based on the monitoring density range includes: setting the number of density divisions according to the monitoring density range; identifying the maximum monitoring density and the minimum monitoring density of the monitoring density range, and calculating the division step length based on the number of density divisions, the maximum monitoring density and the minimum monitoring density to obtain the density division step length, wherein the density division step length is expressed as:

[0007] ,in, represents the density partitioning step, represents the maximum monitoring density, represents the minimum monitoring density, represents the number of density divisions; based on the density division step, the monitoring density range is divided into nodes to obtain a calibration density set.

[0008] Optionally, the calculation of the measured density based on the original pressure and the original temperature includes: setting a standard temperature, and calculating a target pressure according to the standard temperature, the original temperature, the original pressure and a preset temperature sensitivity coefficient, wherein the target pressure is expressed as:

[0009] ,in, represents the target pressure, represents the original pressure, represents the temperature sensitivity coefficient, represents the original temperature, Indicates standard temperature; uses a pre-built hygrometer to measure the constant humidity of the constant monitoring space, sets the humidity correction factor of the constant humidity, identifies the calibration gas in the constant monitoring space, and determines the gas correction factor and the gas molar mass based on the calibration gas; queries the gas constant, and calculates the measured density using the following formula according to the gas constant, gas molar mass, target pressure, standard temperature, constant humidity, humidity correction factor and gas correction factor:

[0010] ,in, represents the measured density, represents the target pressure, represents the molar mass of the gas, represents the gas correction factor, is the gas constant, Indicates standard temperature, represents the humidity correction factor, Indicates constant humidity.

[0011] Optionally, the pre-constructed pointer density relay is subjected to density compensation calibration according to the calibration density set and the measurement density set to obtain a preliminary calibrated relay, including: calculating a density difference set of the calibration density set and the measurement density set; extracting density differences in the density difference set in turn to determine whether the density difference is greater than a preset standard deviation; if the density difference is greater than the standard deviation, recording the density difference as a compensated density difference, identifying the deviation pressure corresponding to the compensated density difference, pairing the deviation pressure and the compensated density difference to obtain a compensated density deviation group; summarizing the compensated density deviation groups to obtain a compensated density deviation group set, and performing density deviation calibration on the density relay according to the compensated density deviation group set to obtain a preliminary calibrated relay.

[0012] Optionally, the method of continuously filling the gas monitoring space with the preset gas to be tested to obtain a set of changing temperatures and a set of changing pressures includes: setting an initial filling speed and an initial filling duration; filling the gas monitoring space with the gas to be tested based on the initial filling speed and the initial filling duration to obtain an initial monitoring space; performing parameter measurements on the initial monitoring space according to a preset space monitoring frequency and a space monitoring duration to obtain an initial monitoring temperature set and an initial monitoring pressure set; respectively calculating an average monitoring temperature and an average monitoring pressure of the initial monitoring temperature set and the initial monitoring pressure set, and calculating a monitoring temperature difference according to the average monitoring temperature and a preset historical monitoring temperature, to determine whether the monitoring temperature difference is greater than a preset monitoring difference threshold; if the monitoring temperature difference is greater than the monitoring difference threshold, respectively updating the historical monitoring temperature and the gas monitoring space using the average monitoring temperature and the initial monitoring space, and returning the value based on the initial filling speed and the initial filling duration. The step of filling the gas monitoring space with the gas to be tested; if the monitoring temperature difference is not greater than the monitoring difference threshold, the average monitoring temperature and the average monitoring pressure are recorded as the target monitoring temperature and the target monitoring pressure respectively; the pre-constructed initial change temperature set and the initial change pressure set are supplemented by the target monitoring temperature and the target monitoring pressure respectively to obtain the target change temperature set and the target change pressure set; the target measurement quantity of the target change temperature set is obtained, and it is determined whether the target measurement quantity is greater than the preset standard measurement quantity; if the target measurement quantity is not greater than the standard measurement quantity, the initial change temperature set and the initial change pressure set are updated respectively by the target change temperature set and the target change pressure set, and the step of filling the gas monitoring space with the gas to be tested based on the initial filling speed and the initial filling duration is returned; if the target measurement quantity is greater than the standard measurement quantity, the target change temperature set and the target change pressure set are recorded as the change temperature set and the change pressure set respectively.

[0013] Optionally, the segmenting of the original temperature-pressure curve to obtain a smooth segment set and an abrupt segment set comprises: performing artificial preliminary segmentation on the original temperature-pressure curve to obtain a preliminary segment set; performing the following operations on each preliminary segment in the preliminary segment set: identifying a preliminary segment point set of the preliminary segment, extracting preliminary segment points from the preliminary segment point set in sequence, identifying subsequent segment points of the preliminary segment points, and calculating segment point slopes of the preliminary segment points and subsequent segment points, wherein the segment point slopes are expressed as:

[0014] ,in, represents the slope of the dividing point, Indicates the ordinate of the post-division point, represents the ordinate of the initial division point, Indicates the horizontal coordinate of the post-division point, represents the abscissa of the preliminary dividing point; the dividing point slopes are summarized to obtain a dividing point slope set, and the line segment deviation factor of the dividing point slope set is calculated using the following formula:

[0015] ,in, represents the line segment deviation factor, represents the number of partition point slopes in the partition point slope set, Represents the slope of the i-th dividing point; determines whether the line segment deviation factor is greater than a preset line segment deviation threshold; if the line segment deviation factor is not greater than the line segment deviation threshold, the preliminary dividing line segment is recorded as a smooth dividing line segment; if the line segment deviation factor is greater than the line segment deviation threshold, the preliminary dividing line segment is recorded as an abrupt dividing line segment; respectively summarizes the smooth dividing line segments and the abrupt dividing line segments to obtain a smooth dividing line segment set and an abrupt dividing line segment set.

[0016] Optionally, the linear pressure compensation is performed according to the abrupt deviation factor set and the smooth division line segment set to obtain the compensated pressure set, including: performing the following operations on each abrupt deviation factor in the abrupt deviation factor set: identifying the abrupt line segment to be cut corresponding to the abrupt deviation factor; extracting the median abrupt point of the abrupt line segment to be cut, and dividing the abrupt line segment to be cut based on the median abrupt point to obtain a set of abrupt line segments of the same family; extracting abrupt line segments of the same family in the set of abrupt line segments of the same family in turn, identifying a set of abrupt points of the abrupt line segments of the same family, and calculating a deviation factor of the abrupt point set of the same family; judging the abrupt point set of the same family. Whether the deviation factor is greater than the line segment deviation threshold; if the same family deviation factor is not greater than the line segment deviation threshold, the same family abrupt line segment is recorded as an equivalent smooth line segment; if the same family deviation factor is greater than the line segment deviation threshold, the same family abrupt line segment is used to update the abrupt line segment to be cut, and return to the step of extracting the median abrupt point of the abrupt line segment to be cut; summarize the equivalent smooth line segments to obtain an equivalent smooth line segment set, and use the equivalent smooth line segment set to supplement the smooth division line segment set to obtain a smooth line segment set to be compensated; based on the smooth line segment set to be compensated, perform pressure linear temperature compensation to obtain a compensated pressure set.

[0017] Optionally, the linear temperature compensation of pressure is performed based on the set of smooth segments to be compensated to obtain a compensated pressure set, including: performing the following operations on each smooth segment to be compensated in the set of smooth segments to be compensated: extracting a central point to be compensated from the smooth segment to be compensated, and determining a central change pressure and a central change temperature of the central point to be compensated; and calculating the central compensation pressure according to the standard temperature, the temperature sensitivity coefficient, the central change pressure and the central change temperature using the following formula:

[0018] ,in, Indicates the center compensation pressure, Indicates the center change pressure, represents the center change temperature; based on the center compensation pressure and the center change pressure, a smooth compensation coefficient is calculated, wherein the smooth compensation coefficient is expressed as:

[0019] ,in, represents the smooth compensation coefficient; extract the points to be compensated in the smooth line segment to be compensated in turn, identify the pressure to be compensated of the points to be compensated, and perform linear temperature compensation according to the pressure to be compensated and the smooth compensation coefficient using the following formula to obtain the compensated pressure:

[0020] ,in, Indicates the compensation pressure, represents the pressure to be compensated; and the compensated pressures are summarized to obtain a compensated pressure set.

[0021] Optionally, the method of using the compensation pressure-temperature curve to perform temperature compensation calibration on the preliminary calibration relay to obtain a fully calibrated relay includes: determining a connection control center of the preliminary calibration relay, wherein the connection control center is a PLC control system; using the compensation pressure-temperature curve to input data into the connection control center to obtain a compensation control center, and connecting the compensation control center and the preliminary calibration relay to obtain a fully calibrated relay.

[0022] To achieve the above-mentioned purpose, the present invention also provides a pointer-type density relay calibration system, comprising: a monitoring space filling module, used to obtain a monitoring density range, set a calibration density set based on the monitoring density range, extract calibration densities in the calibration density set in sequence, and fill a pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; a density compensation calibration module, used to perform parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculate a measured density based on the original pressure and the original temperature, summarize the measured density to obtain a measured density set, perform density compensation calibration on a pre-constructed pointer-type density relay according to the calibration density set and the measured density set to obtain a preliminary calibrated relay; and a pressure curve drawing module, Used to continuously fill the gas monitoring space with a preset gas to be tested, obtain a change temperature set and a change pressure set, draw an original temperature-pressure curve based on the change temperature set and the change pressure set, divide the original temperature-pressure curve into segments, obtain a smooth division segment set and an abrupt division segment set, identify an abrupt deviation factor set of the abrupt division segment set, perform linear pressure compensation based on the abrupt deviation factor set and the smooth division segment set, and obtain a compensated pressure set; a temperature compensation calibration module, used to identify a compensation temperature set corresponding to the compensated pressure set, draw a compensation pressure-temperature curve based on the compensation pressure set and the compensation temperature set, and perform temperature compensation calibration on the preliminary calibration relay using the compensation pressure-temperature curve to obtain a fully calibrated relay.

[0023] In order to solve the above problem, the present invention further provides an electronic device, which includes: a memory storing at least one instruction; and a processor executing the instruction stored in the memory to implement the above-mentioned pointer density relay calibration method.

[0024] In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned pointer density relay calibration method.

[0025] In order to solve the problems described in the background technology, the present invention obtains a monitoring density range, sets a calibration density set based on the monitoring density range, extracts calibration densities in the calibration density set in sequence, which determines the range of gas density to be monitored, ensures that the gas density within the range can be accurately measured and calibrated, and then fills the gas monitoring space with gas according to the calibration density to obtain a constant monitoring space, which creates a constant monitoring environment and helps to perform accurate parameter detection, and then performs parameter detection on the constant monitoring space to obtain the original pressure and original temperature, and calculates the measured density based on the original pressure and original temperature, summarizes the measured density, and obtains the measured density. The density set is used to calculate the density measurement value, which provides conditions for subsequent density comparison. According to the calibration density set and the measurement density set, the density relay is calibrated for density compensation to obtain a preliminary calibration relay. In this step, the calibration density set and the measurement density set are used to calibrate the density relay to compensate for possible measurement errors. By continuously filling the gas monitoring space with the gas to be measured, the change temperature set and the change pressure set are obtained. According to the change temperature set and the change pressure set, the original temperature-pressure curve is drawn, which makes the relationship between the change temperature and the change pressure intuitively expressed and improves the efficiency of calibration. At the same time, due to the continuity of the curve, As long as the changing temperature and the changing pressure are on the original temperature-pressure curve and satisfy the linear relationship of a certain line segment, even if the changing temperature and the changing pressure are not directly measured, subsequent temperature compensation can be performed, which greatly increases the temperature range of the pointer density relay calibration. Then, the original temperature-pressure curve is segmented to obtain a smooth segmentation line segment set and an abrupt segmentation line segment set. By dividing the smooth segmentation line segment set and the abrupt segmentation line segment set, different changing pressures and changing temperatures can be calibrated separately, thereby improving the accuracy and efficiency of calibration. Furthermore, the abrupt deviation factor set of the abrupt segmentation line segment set is identified, and the abrupt deviation factor set and the abrupt deviation factor set are used to calibrate the different changing pressures and changing temperatures. Smoothly divide the line segment set, perform linear pressure compensation, and obtain the compensated pressure set. This step completes the pressure compensation for different temperatures. By identifying the compensated temperature set corresponding to the compensated pressure set, and drawing the compensated pressure temperature curve according to the compensated pressure set and the compensated temperature set, the drawing of the compensated pressure temperature curve makes the required temperature compensation more intuitive. At the same time, the pressure that needs to be compensated for different temperatures can also be quickly located in the form of a curve, which improves the efficiency of the entire calibration. Finally, the temperature compensation calibration of the preliminary calibration relay is performed using the compensated pressure temperature curve to obtain a fully calibrated relay, completing the calibration of the pointer density relay. Therefore, the present invention can increase the calibration temperature range of the pointer density relay and improve the calibration efficiency of the pointer density relay. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1A schematic flow chart of a method for calibrating a pointer-type density relay provided in one embodiment of the present invention; Figure 2 A functional module diagram of a pointer-type density relay calibration system provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of an electronic device for implementing the pointer density relay calibration method provided in one embodiment of the present invention.

[0027] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0028] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0029] The embodiment of the present application provides a pointer density relay calibration method. The execution subject of the pointer density relay calibration method includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the pointer density relay calibration method can be executed by software or hardware installed in a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0030] Reference Figure 1 FIG. 1 is a flow chart of a calibration method for a pointer-type density relay provided by an embodiment of the present invention. In this embodiment, the calibration method for a pointer-type density relay comprises: S1, obtaining a monitoring density range, setting a calibration density set based on the monitoring density range, and sequentially extracting calibration densities from the calibration density set.

[0031] It can be understood that the monitoring density range refers to the gas density range detected by the pointer-type density relay, wherein the pointer-type density relay detects the density of the gas by detecting the pressure and temperature of the space where the gas is located, for example: Density relay. The calibration density set refers to a density point set that is artificially divided within the monitoring density range.

[0032] In detail, the setting of the calibration density set based on the monitoring density range includes: setting the number of density divisions according to the monitoring density range; identifying the maximum monitoring density and the minimum monitoring density of the monitoring density range, and calculating the division step length based on the number of density divisions, the maximum monitoring density and the minimum monitoring density to obtain the density division step length, wherein the density division step length is expressed as:

[0033] ,in, represents the density partitioning step, represents the maximum monitoring density, represents the minimum monitoring density, represents the number of density divisions; based on the density division step, the monitoring density range is divided into nodes to obtain a calibration density set.

[0034] It can be understood that the density division number refers to the number of calibration densities in the calibration density set, and the density division step refers to the division length when dividing the monitoring density range into nodes.

[0035] For example, a pointer-type density relay can usually detect the following gas density range:

[0036] 10 , so the monitoring density range can be set as (10 ), so the relevant staff can set the number of density divisions to 7, and get the density division step size as:

[0037] (70-10) / (7-1)=10 , and the calibration density set is:

[0038] {10 , 20 ,30 ,40 ,50 ,60 ,70 }.

[0039] S2. Filling the pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space.

[0040] It can be understood that the gas monitoring space refers to a space used to store gas, wherein the gas monitoring space is a closed space, which includes: a pressure sensor, a temperature sensor and a pointer-type density relay, wherein the pressure sensor can measure the gas pressure inside the gas monitoring space, the temperature sensor can measure the gas temperature inside the gas monitoring space, and the pointer-type density relay can perform further data processing and calculation based on the measurement results of the pressure sensor and the temperature sensor to obtain the gas density.

[0041] It can be understood that the constant monitoring space refers to the gas monitoring space after gas filling. Since the gas filling process is carried out according to the calibration density, the density of the gas inside the constant monitoring space has a standard value, namely the calibration density. Subsequently, the pointer density relay can be calibrated by measuring the gas density measurement value inside the constant monitoring space and comparing the gas density measurement value with the calibration density.

[0042] S3. Perform parameter detection on the constant monitoring space to obtain original pressure and original temperature, calculate measurement density based on the original pressure and original temperature, and summarize the measurement density to obtain a measurement density set.

[0043] It should be explained that the original pressure refers to the gas pressure in the constant monitoring space, and the original temperature refers to the gas temperature in the constant monitoring space, wherein the original pressure is measured by a pressure sensor, the original temperature is measured by a temperature sensor, and the measured density refers to the gas density calculated by the original pressure and the original temperature.

[0044] Furthermore, since there are errors in the pressure sensor, temperature sensor or pointer density relay when measuring gas pressure and gas temperature, it is necessary to compare the measured density and the calibration density to adjust the parameters of the pointer density relay to ensure that the density detected in the actual detection work is more accurate.

[0045] In detail, the calculation of the measured density based on the original pressure and the original temperature includes: setting a standard temperature, and calculating a target pressure according to the standard temperature, the original temperature, the original pressure and a preset temperature sensitivity coefficient, wherein the target pressure is expressed as:

[0046] ,in, represents the target pressure, represents the original pressure, represents the temperature sensitivity coefficient, represents the original temperature, Indicates standard temperature; uses a pre-built hygrometer to measure the constant humidity of the constant monitoring space, sets the humidity correction factor of the constant humidity, identifies the calibration gas in the constant monitoring space, and determines the gas correction factor and the gas molar mass based on the calibration gas; queries the gas constant, and calculates the measured density using the following formula according to the gas constant, gas molar mass, target pressure, standard temperature, constant humidity, humidity correction factor and gas correction factor:

[0047] ,in, represents the measured density, represents the target pressure, represents the molar mass of the gas, represents the gas correction factor, is the gas constant, Indicates standard temperature, represents the humidity correction factor, Indicates constant humidity.

[0048] It is understandable that the standard temperature refers to a temperature set artificially, usually 0 or 20 The temperature sensitivity coefficient refers to a constant used to indicate the sensitivity of the temperature sensor to temperature, which can be provided by the manufacturer of the temperature sensor or obtained through preliminary experiments. The target pressure refers to the original pressure at the standard temperature, the constant humidity refers to the relative humidity in the constant monitoring space, and the humidity correction factor refers to a constant used to indicate the influence of relative humidity on the gas density in the constant monitoring space, which can be obtained through preliminary experiments.

[0049] It should be explained that the calibration gas refers to the gas in a constant detection space, the density of the gas is the calibration density, the gas correction factor refers to the ratio of the molar volume of the calibration gas to that of the ideal gas at standard temperature and target pressure. Since there is an actual deviation between the calibration gas and the ideal gas, it is necessary to introduce a gas correction factor to eliminate or reduce this deviation. The gas correction factor can be obtained by querying relevant literature books or online databases. The gas molar mass refers to the molar mass of the calibration gas, and the gas constant refers to a constant representing the properties of an ideal gas, which is usually a fixed value.

[0050] S4. Perform density compensation calibration on the pre-built pointer density relay according to the calibration density set and the measurement density set to obtain a preliminary calibration relay.

[0051] It can be understood that the pointer-type density relay refers to a device used to measure the gas density in a constant monitoring space, and the preliminary calibration relay refers to a pointer-type density relay after density parameter calibration.

[0052] In detail, the pre-built pointer density relay is calibrated for density compensation according to the calibration density set and the measurement density set to obtain a preliminary calibrated relay, including: calculating a density difference set of the calibration density set and the measurement density set; extracting density differences in the density difference set in turn to determine whether the density difference is greater than a preset standard deviation; if the density difference is greater than the standard deviation, recording the density difference as a compensated density difference, identifying the deviation pressure corresponding to the compensated density difference, pairing the deviation pressure and the compensated density difference to obtain a compensated density deviation group; summarizing the compensated density deviation groups to obtain a compensated density deviation group set, and performing density deviation calibration on the density relay according to the compensated density deviation group set to obtain a preliminary calibrated relay.

[0053] It can be understood that the density difference set refers to the set of differences between the calibration density and the measured density, and the standard deviation refers to the artificially set density difference constant. When the density difference is less than or equal to the standard deviation, it means that the density difference at this time has little effect on the density of the gas measured by the density relay, so no calibration is required, which reduces the workload of calibration and improves the efficiency of calibration. The deviation pressure refers to the original pressure corresponding to the compensated density difference.

[0054] S5. Continuously fill the gas monitoring space with a preset gas to be tested to obtain a set of changed temperatures and a set of changed pressures.

[0055] It can be understood that the gas to be tested refers to the gas that needs to be tested in the actual operation of the density relay, for example: The gas actually detected by the density relay is , so the gas to be tested at this time is Since the gas monitoring space needs to be continuously filled with the gas to be tested, the changing monitoring space refers to the gas monitoring space where the gas pressure and gas temperature are continuously changing, the changing temperature set refers to the set of gas temperatures in the changing monitoring space, and the changing pressure set refers to the set of gas pressures in the changing monitoring space.

[0056] In detail, the method of continuously filling the gas monitoring space with the preset gas to be tested to obtain a change temperature set and a change pressure set includes: setting an initial filling speed and an initial filling duration; based on the initial filling speed and the initial filling duration, filling the gas monitoring space with the gas to be tested to obtain an initial monitoring space; according to a preset space monitoring frequency and a space monitoring duration, performing parameter measurements on the initial monitoring space to obtain an initial monitoring temperature set and an initial monitoring pressure set; respectively calculating the average monitoring temperature and the average monitoring pressure of the initial monitoring temperature set and the initial monitoring pressure set, calculating the monitoring temperature difference according to the average monitoring temperature and the preset historical monitoring temperature, and judging whether the monitoring temperature difference is greater than a preset monitoring difference threshold; if the monitoring temperature difference is greater than the monitoring difference threshold, respectively updating the historical monitoring temperature and the gas monitoring space using the average monitoring temperature and the initial monitoring space, and returning the value based on the initial filling speed and the initial filling duration, using The step of filling the gas monitoring space with the gas to be tested; if the monitoring temperature difference is not greater than the monitoring difference threshold, the average monitoring temperature and the average monitoring pressure are recorded as the target monitoring temperature and the target monitoring pressure respectively; the pre-constructed initial change temperature set and the initial change pressure set are supplemented by the target monitoring temperature and the target monitoring pressure respectively to obtain the target change temperature set and the target change pressure set; the target measurement quantity of the target change temperature set is obtained, and it is determined whether the target measurement quantity is greater than the preset standard measurement quantity; if the target measurement quantity is not greater than the standard measurement quantity, the initial change temperature set and the initial change pressure set are updated respectively by the target change temperature set and the target change pressure set, and the step of filling the gas monitoring space with the gas to be tested based on the initial filling speed and the initial filling duration is returned; if the target measurement quantity is greater than the standard measurement quantity, the target change temperature set and the target change pressure set are recorded as the change temperature set and the change pressure set respectively.

[0057] It can be understood that the initial filling speed refers to the speed of injecting gas into the gas monitoring space, and the initial filling duration refers to the duration of injecting gas into the gas monitoring space at a single time according to the initial filling speed, wherein the initial filling speed and the initial filling duration are both manually set. The initial monitoring space refers to the gas monitoring space after being filled with the gas to be tested. The space monitoring frequency refers to the number of times the parameter detection is performed on the initial monitoring space per unit time, and the space monitoring duration refers to the duration of the parameter detection on the initial monitoring space, wherein the space monitoring frequency and the space monitoring duration are both manually set. The initial monitoring temperature set and the initial monitoring pressure set refer to the sets of temperature and pressure in the initial monitoring space within a space monitoring duration, respectively.

[0058] It can be understood that the historical monitoring temperature refers to the average monitoring temperature measured during the last space monitoring time. When the parameters of the initial monitoring space are monitored for the first time, the historical monitoring temperature is numerically 0. The monitoring temperature difference refers to the difference between the average monitoring temperature and the historical monitoring temperature. The monitoring difference threshold refers to an artificially set temperature difference constant. The initial change temperature set and the initial change pressure set refer to the sets of target monitoring temperatures and target monitoring pressures, respectively. When the parameters of the initial monitoring space are monitored for the first time, the initial change temperature set and the initial change pressure set are both empty sets. The target measurement quantity refers to the number of target change temperatures in the target change temperature set, which is used to indicate the number of times the parameters of the initial monitoring space have been measured. The standard measurement quantity refers to an artificially set constant for the target measurement quantity.

[0059] It should be explained that after the gas to be tested is injected into the initial monitoring space, it takes a certain amount of time for the gas to be tested to be completely and evenly distributed in the entire initial monitoring space. Therefore, it is necessary to continuously measure the average monitoring temperature in the initial monitoring space, and compare the currently measured average monitoring temperature with the historical monitoring temperature of the previous period. When the difference between the two is within the preset threshold, it means that the gas to be tested in the initial monitoring space is evenly distributed.

[0060] For example, Xiao Zhang is an operator of a power company. One day, Xiao Zhang needs to calibrate a pointer density relay. The gas to be monitored by the pointer density relay is SF6. So Xiao Zhang uses SF6 as the gas to be measured. Xiao Zhang sets the initial filling speed and initial filling time to 1L / min and 1min respectively, and the space monitoring frequency and space monitoring time to 1 time / min and 3min respectively. Then Xiao Zhang uses SF6 gas to fill the gas monitoring space and measure the parameters, and obtains the following initial monitoring temperature set and initial monitoring pressure set: {23 ,twenty four , 23.5 } and {1.01bar, 1.02bar, 1.03bar}, then the average monitored temperature is 23.5 Since this is the first time to monitor, the historical monitoring temperature is 0 , so the monitored temperature difference is 23.5 -0 =23.5 , set the monitoring difference threshold to 0.1 , due to 23.5 Greater than 0.1 Therefore, the average monitoring temperature at this time is recorded as the historical monitoring temperature for the next measurement, that is, the historical detection temperature for the next measurement is 23.5 , and repeat the parameter measurement until the monitored temperature difference is less than or equal to 0.1 .

[0061] S6. Draw an original temperature-pressure curve according to the changed temperature set and the changed pressure set, and divide the original temperature-pressure curve into segments to obtain a smooth divided segment set and an abrupt divided segment set.

[0062] It can be understood that the original temperature-pressure curve refers to a curve used to represent the relationship between the changing temperature and the changing pressure, wherein the original temperature-pressure curve is a two-dimensional curve, whose horizontal axis represents the changing pressure and the vertical axis represents the changing temperature. The smooth segmentation line set refers to a set of relatively smooth original temperature-pressure curves, and the abrupt segmentation line set refers to a set of non-smooth original temperature-pressure curves.

[0063] In detail, the segmentation of the original temperature-pressure curve to obtain a smooth segmentation line set and an abrupt segmentation line set includes: artificially performing preliminary segmentation on the original temperature-pressure curve to obtain a preliminary segmentation line set; performing the following operations on each preliminary segmentation line set: identifying a preliminary segmentation point set of the preliminary segmentation line, extracting preliminary segmentation points from the preliminary segmentation point set in sequence, identifying subsequent segmentation points of the preliminary segmentation points, and calculating the segmentation point slopes of the preliminary segmentation points and the subsequent segmentation points, wherein the segmentation point slopes are expressed as:

[0064] ,in, represents the slope of the dividing point, Indicates the ordinate of the post-division point, represents the ordinate of the initial division point, Indicates the horizontal coordinate of the post-division point, represents the abscissa of the preliminary dividing point; the dividing point slopes are summarized to obtain a dividing point slope set, and the line segment deviation factor of the dividing point slope set is calculated using the following formula:

[0065] ,in, represents the line segment deviation factor, represents the number of partition point slopes in the partition point slope set, Represents the slope of the i-th dividing point; determines whether the line segment deviation factor is greater than a preset line segment deviation threshold; if the line segment deviation factor is not greater than the line segment deviation threshold, the preliminary dividing line segment is recorded as a smooth dividing line segment; if the line segment deviation factor is greater than the line segment deviation threshold, the preliminary dividing line segment is recorded as an abrupt dividing line segment; respectively summarizes the smooth dividing line segments and the abrupt dividing line segments to obtain a smooth dividing line segment set and an abrupt dividing line segment set.

[0066] It can be understood that the preliminary dividing line segment set refers to the set of original temperature-pressure curves after artificial division, the preliminary dividing point set refers to the set of each curve point in the preliminary dividing line segment, the subsequent dividing point refers to the curve point after the preliminary dividing point in the preliminary dividing line segment, the dividing point slope refers to the slope of the line connecting the preliminary dividing point and the subsequent dividing point, the segment deviation factor refers to the variance of the slopes of all dividing points in the dividing point slope set, and the segment deviation threshold refers to the artificially set dividing point slope variance.

[0067] S7, identifying the abrupt deviation factor set of the abrupt dividing line segment set, and performing linear pressure compensation according to the abrupt deviation factor set and the smooth dividing line segment set to obtain a compensated pressure set.

[0068] It can be understood that the abrupt deviation factor set refers to a collection of segment deviation factors of each abrupt dividing line segment in the abrupt dividing line segment set, and the compensated pressure set refers to a set of pressure changes after temperature compensation.

[0069] In detail, the method performs linear pressure compensation according to the abrupt deviation factor set and the smooth division line segment set to obtain a compensated pressure set, including: performing the following operations on each abrupt deviation factor in the abrupt deviation factor set: identifying the abrupt line segment to be cut corresponding to the abrupt deviation factor; extracting the median abrupt point of the abrupt line segment to be cut, and dividing the abrupt line segment to be cut based on the median abrupt point to obtain a set of abrupt line segments of the same family; extracting abrupt line segments of the same family in the set of abrupt line segments of the same family in turn, identifying a set of abrupt points of the abrupt line segments of the same family, and calculating a deviation factor of the abrupt point set of the same family; judging the abrupt point of the same family. Whether the deviation factor is greater than the line segment deviation threshold; if the same family deviation factor is not greater than the line segment deviation threshold, the same family abrupt line segment is recorded as an equivalent smooth line segment; if the same family deviation factor is greater than the line segment deviation threshold, the same family abrupt line segment is used to update the abrupt line segment to be cut, and return to the step of extracting the median abrupt point of the abrupt line segment to be cut; summarize the equivalent smooth line segments to obtain an equivalent smooth line segment set, and use the equivalent smooth line segment set to supplement the smooth division line segment set to obtain a smooth line segment set to be compensated; based on the smooth line segment set to be compensated, perform pressure linear temperature compensation to obtain a compensated pressure set.

[0070] It can be understood that the abrupt line segment to be cut refers to the abrupt dividing line segment corresponding to the abrupt deviation factor, the median abrupt point refers to the geometric center coordinate point in the abrupt line segment to be cut, the same family abrupt line segment set refers to the set of abrupt line segments to be cut after cutting, the same family abrupt point set refers to the set of each coordinate point on the same family abrupt line segments, the same family deviation factor refers to the line segment deviation factor corresponding to the same family abrupt point set, wherein the calculation method of the line segment deviation factor has been given in detail in S6 of this embodiment and will not be repeated here, and the smooth line segment set to be compensated refers to the union of the smooth dividing line segment set and the equivalent smooth line segment set.

[0071] In detail, the linear temperature compensation of pressure is performed based on the smooth line segment set to be compensated to obtain the compensated pressure set, including: performing the following operations on each smooth line segment to be compensated in the smooth line segment set to be compensated: extracting the central point to be compensated from the smooth line segment to be compensated, and determining the central change pressure and central change temperature of the central point to be compensated; and calculating the central compensation pressure according to the standard temperature, temperature sensitivity coefficient, central change pressure and central change temperature using the following formula:

[0072] ,in, Indicates the center compensation pressure, Indicates the center change pressure, represents the center change temperature; based on the center compensation pressure and the center change pressure, a smooth compensation coefficient is calculated, wherein the smooth compensation coefficient is expressed as:

[0073] ,in, represents the smooth compensation coefficient; extract the points to be compensated in the smooth line segment to be compensated in turn, identify the pressure to be compensated of the points to be compensated, and perform linear temperature compensation according to the pressure to be compensated and the smooth compensation coefficient using the following formula to obtain the compensated pressure:

[0074] ,in, Indicates the compensation pressure, represents the pressure to be compensated; and the compensated pressures are summarized to obtain a compensated pressure set.

[0075] It can be understood that the central point to be compensated refers to the geometric center coordinate point of the line segment to be compensated, the central change pressure refers to the change pressure of the central point to be compensated, and the central change temperature refers to the change temperature of the central point to be compensated, wherein the central change pressure and the central change temperature are numerically the horizontal coordinate and the vertical coordinate of the central point to be compensated, respectively. The central compensation pressure refers to the central change pressure after temperature compensation, that is, the central change pressure at the standard temperature, the smooth compensation coefficient refers to the ratio of the central compensation pressure to the central change pressure, the point to be compensated refers to the coordinate point on the smooth line segment to be compensated, and the pressure to be compensated refers to the change pressure corresponding to the point to be compensated, that is, the horizontal coordinate of the point to be compensated.

[0076] It should be explained that by dividing the original temperature-pressure curve into multiple segments to be compensated, separate temperature compensation can be performed on each segment to be compensated. At the same time, since different points to be compensated in the same segment to be compensated have a highly linear relationship, by calculating the smoothing compensation coefficient of this segment to be compensated, temperature compensation can be quickly performed on other points to be compensated on the segment to be compensated. At the same time, since the smooth curve has a highly linear relationship, the points to be compensated that have not been measured in the same segment to be compensated can also be temperature compensated through the smoothing compensation coefficient, which increases the efficiency of the calibration of the entire pointer density relay.

[0077] S8. Identify a compensation temperature set corresponding to the compensation pressure set, and draw a compensation pressure-temperature curve according to the compensation pressure set and the compensation temperature set.

[0078] It can be understood that the compensation temperature set refers to the set of changing temperatures corresponding to the compensation pressure set, and the compensation pressure temperature curve refers to a curve used to represent the relationship between compensation pressure and compensation temperature, wherein the horizontal axis of the compensation pressure temperature curve is the compensation temperature, and the vertical axis of the compensation pressure temperature curve is the compensation pressure.

[0079] S9. Perform temperature compensation calibration on the preliminary calibration relay using the compensation pressure-temperature curve to obtain a fully calibrated relay.

[0080] It is understandable that the fully calibrated relay refers to a preliminary calibrated relay after temperature compensation calibration.

[0081] In detail, the method of using the compensation pressure-temperature curve to perform temperature compensation calibration on the preliminary calibration relay to obtain a fully calibrated relay includes: determining a connection control center of the preliminary calibration relay, wherein the connection control center is a PLC control system; using the compensation pressure-temperature curve to input data to the connection control center to obtain a compensation control center, and connecting the compensation control center and the preliminary calibration relay to obtain a fully calibrated relay.

[0082] It is clear that the connection control center refers to an automatic control system that can process curve information, such as PLC, or the connection control center draws a relationship table between compensation pressure and temperature according to the compensation pressure temperature curve, and realizes parameter calibration of the density relay through the relationship table. The compensation control center refers to a control system that can perform temperature compensation on the actually collected gas pressure according to the content of the compensation pressure temperature curve, for example: the gas temperature is 40 , then the compensation control center will determine the horizontal axis as 40 in the compensation pressure temperature curve The compensated pressure at that time is calculated, and the gas density at that time is calculated by the compensated pressure and the standard temperature.

[0083] In order to solve the problems described in the background technology, the present invention obtains a monitoring density range, sets a calibration density set based on the monitoring density range, extracts calibration densities in the calibration density set in sequence, which determines the range of gas density to be monitored, ensures that the gas density within the range can be accurately measured and calibrated, and then fills the gas monitoring space with gas according to the calibration density to obtain a constant monitoring space, which creates a constant monitoring environment and helps to perform accurate parameter detection, and then performs parameter detection on the constant monitoring space to obtain the original pressure and original temperature, and calculates the measured density based on the original pressure and original temperature, summarizes the measured density, and obtains the measured density. The density set is used to calculate the density measurement value, which provides conditions for subsequent density comparison. According to the calibration density set and the measurement density set, the density relay is calibrated for density compensation to obtain a preliminary calibration relay. In this step, the calibration density set and the measurement density set are used to calibrate the density relay to compensate for possible measurement errors. By continuously filling the gas monitoring space with the gas to be measured, the change temperature set and the change pressure set are obtained. According to the change temperature set and the change pressure set, the original temperature-pressure curve is drawn, which makes the relationship between the change temperature and the change pressure intuitively expressed and improves the efficiency of calibration. At the same time, due to the continuity of the curve, As long as the changing temperature and the changing pressure are on the original temperature-pressure curve and satisfy the linear relationship of a certain line segment, even if the changing temperature and the changing pressure are not directly measured, subsequent temperature compensation can be performed, which greatly increases the temperature range of the pointer density relay calibration. Then, the original temperature-pressure curve is segmented to obtain a smooth segmentation line segment set and an abrupt segmentation line segment set. By dividing the smooth segmentation line segment set and the abrupt segmentation line segment set, different changing pressures and changing temperatures can be calibrated separately, thereby improving the accuracy and efficiency of calibration. Furthermore, the abrupt deviation factor set of the abrupt segmentation line segment set is identified, and the abrupt deviation factor set and the abrupt deviation factor set are used to calibrate the different changing pressures and changing temperatures. Smoothly divide the line segment set, perform linear pressure compensation, and obtain the compensated pressure set. This step completes the pressure compensation for different temperatures. By identifying the compensated temperature set corresponding to the compensated pressure set, and drawing the compensated pressure temperature curve according to the compensated pressure set and the compensated temperature set, the drawing of the compensated pressure temperature curve makes the required temperature compensation more intuitive. At the same time, the pressure that needs to be compensated for different temperatures can also be quickly located in the form of a curve, which improves the efficiency of the entire calibration. Finally, the temperature compensation calibration of the preliminary calibration relay is performed using the compensated pressure temperature curve to obtain a fully calibrated relay, completing the calibration of the pointer density relay. Therefore, the present invention can increase the calibration temperature range of the pointer density relay and improve the calibration efficiency of the pointer density relay.

[0084] like Figure 2 , which is a functional module diagram of a pointer-type density relay calibration system provided in one embodiment of the present invention.

[0085] The pointer density relay calibration system 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the pointer density relay calibration system 100 can include a monitoring space filling module 101, a density compensation calibration module 102, a pressure curve drawing module 103 and a temperature compensation calibration module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0086] The monitoring space filling module 101 is used to obtain a monitoring density range, set a calibration density set based on the monitoring density range, extract calibration densities in the calibration density set in turn, and fill the pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; the density compensation calibration module 102 is used to perform parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculate a measured density based on the original pressure and the original temperature, summarize the measured density, obtain a measured density set, perform density compensation calibration on a pre-constructed pointer density relay according to the calibration density set and the measured density set, and obtain a preliminary calibrated relay; the pressure curve drawing module 103 is used to use a preset gas to be measured to draw a pressure curve; The gas monitoring space is continuously filled to obtain a change temperature set and a change pressure set. According to the change temperature set and the change pressure set, an original temperature-pressure curve is drawn. The original temperature-pressure curve is segmented to obtain a smooth segment set and an abrupt segment set. The abrupt deviation factor set of the abrupt segment set is identified. According to the abrupt deviation factor set and the smooth segment set, linear pressure compensation is performed to obtain a compensated pressure set. The temperature compensation calibration module 104 is used to identify the compensation temperature set corresponding to the compensated pressure set, draw a compensated pressure-temperature curve according to the compensated pressure set and the compensated temperature set, and perform temperature compensation calibration on the preliminary calibration relay using the compensated pressure-temperature curve to obtain a fully calibrated relay.

[0087] In detail, each module in the pointer density relay calibration system 100 of the embodiment of the present invention is used in the same manner as described above. Figure 1 The pointer density relay calibration method described in the present invention has the same technical means and can produce the same technical effects, so it will not be repeated here.

[0088] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a pointer-type density relay calibration method provided by an embodiment of the present invention.

[0089] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a pointer density relay calibration method program.

[0090] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 also includes an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the pointer density relay calibration method program, etc., but also can be used to temporarily store data that has been output or is to be output.

[0091] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as a pointer density relay calibration method program, etc.) stored in the memory 11, and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

[0092] The bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 may be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0093] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0094] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0095] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0096] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0097] The pointer density relay calibration method program stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve: obtaining a monitoring density range, setting a calibration density set based on the monitoring density range, and extracting calibration densities in sequence from the calibration density set; filling a pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; performing parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculating a measured density based on the original pressure and the original temperature, and summarizing the measured density to obtain a measured density set; performing density compensation calibration on the pre-constructed pointer density relay according to the calibration density set and the measured density set to obtain a preliminary calibration. Quasi-relay; continuously fill the gas monitoring space with a preset gas to be tested to obtain a set of changing temperatures and a set of changing pressures; draw an original temperature-pressure curve according to the set of changing temperatures and the set of changing pressures, divide the original temperature-pressure curve into segments, and obtain a set of smoothly divided segments and a set of abruptly divided segments; identify the set of abrupt deviation factors of the abruptly divided segments, perform linear pressure compensation according to the set of abrupt deviation factors and the set of smoothly divided segments, and obtain a compensated pressure set; identify the compensated temperature set corresponding to the compensated pressure set, and draw a compensated pressure-temperature curve according to the compensated pressure set and the compensated temperature set; perform temperature compensation calibration on the preliminary calibration relay using the compensated pressure-temperature curve to obtain a fully calibrated relay.

[0098] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0099] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or system that can carry the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0100] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of an electronic device, it can achieve: obtaining a monitoring density range, setting a calibration density set based on the monitoring density range, and extracting calibration densities in the calibration density set in sequence; filling a pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; performing parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculating a measured density based on the original pressure and the original temperature, summarizing the measured density, and obtaining a measured density set; performing density compensation calibration on a pre-constructed pointer density relay according to the calibration density set and the measured density set to obtain a preliminary Calibrate the relay; continuously fill the gas monitoring space with a preset gas to be tested to obtain a set of changing temperatures and a set of changing pressures; draw an original temperature-pressure curve based on the set of changing temperatures and the set of changing pressures, divide the original temperature-pressure curve into segments, and obtain a set of smoothly divided segments and a set of abruptly divided segments; identify the set of abrupt deviation factors of the abruptly divided segment set, perform linear pressure compensation based on the set of abrupt deviation factors and the set of smoothly divided segments, and obtain a compensated pressure set; identify the compensated temperature set corresponding to the compensated pressure set, and draw a compensated pressure-temperature curve based on the compensated pressure set and the compensated temperature set; perform temperature compensation calibration on the preliminary calibration relay using the compensated pressure-temperature curve to obtain a fully calibrated relay.

[0101] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, and actual implementation may have other division methods.

[0102] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0103] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0104] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for calibrating a pointer-type density relay, characterized in that: The method comprises: obtaining a monitoring density range, setting a calibration density set based on the monitoring density range, and extracting calibration densities in the calibration density set in sequence; filling a pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; performing parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculating a measurement density based on the original pressure and the original temperature, summarizing the measurement density, and obtaining a measurement density set; performing density compensation calibration on a pre-constructed pointer-type density relay according to the calibration density set and the measurement density set to obtain a preliminary calibration relay; continuously filling the gas monitoring space with a preset gas to be tested to obtain a variable temperature set and a variable pressure set; drawing an original temperature-pressure curve according to the variable temperature set and the variable pressure set, dividing the original temperature-pressure curve by line segments, and obtaining Smoothly divided line segment set and abruptly divided line segment set; said segment division of the original temperature-pressure curve to obtain the smoothly divided line segment set and the abruptly divided line segment set, including: artificially performing preliminary division of the original temperature-pressure curve to obtain the preliminary divided line segment set; performing the following operations on each preliminary divided line segment in the preliminary divided line segment set: identifying the preliminary division point set of the preliminary divided line segment, extracting preliminary division points from the preliminary division point set in sequence, identifying the subsequent division points of the preliminary division points, and calculating the division point slopes of the preliminary division points and the subsequent division points, wherein the preliminary division point set refers to the set of each curve point in the preliminary division line segment, the subsequent division point refers to the curve point after the preliminary division point in the preliminary division line segment, and the division point slope refers to the slope of the line connecting the preliminary division point and the subsequent division point, wherein the division point slope is expressed as: ,in, represents the slope of the dividing point, Indicates the ordinate of the post-division point, represents the ordinate of the initial division point, Indicates the horizontal coordinate of the post-division point, represents the abscissa of the preliminary dividing point; the dividing point slopes are summarized to obtain a dividing point slope set, and the line segment deviation factor of the dividing point slope set is calculated using the following formula, wherein the line segment deviation factor refers to the variance of the slopes of all dividing points in the dividing point slope set: ,in, represents the line segment deviation factor, represents the number of partition point slopes in the partition point slope set, Indicates the slope of the i-th dividing point; determines whether the line segment deviation factor is greater than a preset line segment deviation threshold; if the line segment deviation factor is not greater than the line segment deviation threshold, the preliminary dividing line segment is recorded as a smooth dividing line segment; if the line segment deviation factor is greater than the line segment deviation threshold, the preliminary dividing line segment is recorded as an abrupt dividing line segment; respectively summarizes the smooth dividing line segments and the abrupt dividing line segments to obtain a smooth dividing line segment set and an abrupt dividing line segment set; identifies the abrupt deviation factor set of the abrupt dividing line segment set, performs linear pressure compensation according to the abrupt deviation factor set and the smooth dividing line segment set, and obtains a compensated pressure set, which In the embodiment, the abrupt deviation factor set refers to the set of segment deviation factors of each abrupt dividing line segment in the abrupt dividing line segment set; the linear pressure compensation is performed according to the abrupt deviation factor set and the smooth dividing line segment set to obtain the compensated pressure set, including: performing the following operations on each abrupt deviation factor in the abrupt deviation factor set: identifying the abrupt line segment to be cut corresponding to the abrupt deviation factor; extracting the median abrupt point of the abrupt line segment to be cut, and dividing the abrupt line segment to be cut based on the median abrupt point to obtain a set of abrupt line segments of the same family; extracting abrupt line segments of the same family in the set of abrupt line segments of the same family in turn, identifying Identify the same family of abrupt point sets of the same family of abrupt line segments, calculate the same family deviation factor of the same family of abrupt point sets; determine whether the same family deviation factor is greater than the line segment deviation threshold; if the same family deviation factor is not greater than the line segment deviation threshold, record the same family of abrupt line segments as equivalent smooth line segments; if the same family deviation factor is greater than the line segment deviation threshold, use the same family of abrupt line segments to update the abrupt line segments to be cut, and return to the step of extracting the median abrupt point of the abrupt line segments to be cut; summarize the equivalent smooth line segments to obtain an equivalent smooth line segment set, and use the equivalent smooth line segment set to update the smooth segment division line segment set. The method comprises the following steps: performing linear temperature compensation on the pressure based on the smooth line segment set to be compensated to obtain a set of smooth line segments to be compensated; performing linear temperature compensation on the pressure based on the smooth line segment set to be compensated to obtain a set of compensated pressures, including: performing the following operations on each smooth line segment to be compensated in the set of smooth line segments to be compensated: extracting a central point to be compensated from the smooth line segment to be compensated, and determining a central change pressure and a central change temperature of the central point to be compensated; and calculating a central compensation pressure according to the standard temperature, the temperature sensitivity coefficient, the central change pressure and the central change temperature using the following formula: ,in, Indicates the center compensation pressure, Indicates the center change pressure, represents the temperature sensitivity coefficient, represents the center temperature change, represents the standard temperature; based on the central compensation pressure and the central change pressure, a smoothing compensation coefficient is calculated, wherein the smoothing compensation coefficient is expressed as: ,in, represents the smooth compensation coefficient; extract the points to be compensated in the smooth line segment to be compensated in turn, identify the pressure to be compensated of the points to be compensated, and perform linear temperature compensation according to the pressure to be compensated and the smooth compensation coefficient using the following formula to obtain the compensated pressure: ,in, Indicates the compensation pressure, Indicates the pressure to be compensated; summarizes the compensated pressures to obtain a compensated pressure set; identifies the compensated temperature set corresponding to the compensated pressure set, and draws a compensated pressure-temperature curve based on the compensated pressure set and the compensated temperature set; uses the compensated pressure-temperature curve to perform temperature compensation calibration on the preliminary calibration relay to obtain a fully calibrated relay.

2. The pointer density relay calibration method according to claim 1, characterized in that: The setting of the calibration density set based on the monitoring density range includes: setting the number of density divisions according to the monitoring density range; identifying the maximum monitoring density and the minimum monitoring density of the monitoring density range, and calculating the division step length based on the number of density divisions, the maximum monitoring density and the minimum monitoring density to obtain the density division step length, wherein the density division step length is expressed as: ,in, represents the density partitioning step, represents the maximum monitoring density, represents the minimum monitoring density, represents the number of density divisions; based on the density division step, the monitoring density range is divided into nodes to obtain a calibration density set.

3. The pointer density relay calibration method according to claim 2, characterized in that: The method of calculating the measured density based on the original pressure and the original temperature includes: setting a standard temperature, and calculating a target pressure according to the standard temperature, the original temperature, the original pressure, and a preset temperature sensitivity coefficient. The target pressure is expressed as: ,in, represents the target pressure, represents the original pressure, represents the original temperature; using a pre-built hygrometer to measure the constant humidity of the constant monitoring space, setting the humidity correction factor of the constant humidity, identifying the calibration gas in the constant monitoring space, and determining the gas correction factor and the gas molar mass based on the calibration gas; querying the gas constant, and calculating the measured density using the following formula according to the gas constant, gas molar mass, target pressure, standard temperature, constant humidity, humidity correction factor and gas correction factor: ,in, represents the measured density, represents the molar mass of the gas, represents the gas correction factor, is the gas constant, represents the humidity correction factor, Indicates constant humidity.

4. The method for calibrating a pointer-type density relay according to claim 3, characterized in that: The method performs density compensation calibration on the pre-built pointer density relay according to the calibration density set and the measurement density set to obtain a preliminary calibrated relay, including: calculating a density difference set of the calibration density set and the measurement density set; extracting density differences in the density difference set in turn to determine whether the density difference is greater than a preset standard deviation; if the density difference is greater than the standard deviation, recording the density difference as a compensated density difference, identifying the deviation pressure corresponding to the compensated density difference, pairing the deviation pressure and the compensated density difference to obtain a compensated density deviation group; summarizing the compensated density deviation groups to obtain a compensated density deviation group set, and performing density deviation calibration on the density relay according to the compensated density deviation group set to obtain a preliminary calibrated relay.

5. The pointer density relay calibration method according to claim 4, characterized in that: The method of continuously filling the gas monitoring space with the preset gas to be tested to obtain a set of changed temperatures and a set of changed pressures includes: setting an initial filling speed and an initial filling duration; filling the gas monitoring space with the gas to be tested based on the initial filling speed and the initial filling duration to obtain an initial monitoring space; measuring parameters of the initial monitoring space according to a preset space monitoring frequency and a space monitoring duration to obtain an initial monitoring temperature set and an initial monitoring pressure set; respectively calculating the average monitoring temperature and the average monitoring pressure of the initial monitoring temperature set and the initial monitoring pressure set, calculating the monitoring temperature difference according to the average monitoring temperature and the preset historical monitoring temperature, and judging whether the monitoring temperature difference is greater than a preset monitoring difference threshold; if the monitoring temperature difference is greater than the monitoring difference threshold, respectively updating the historical monitoring temperature and the gas monitoring space using the average monitoring temperature and the initial monitoring space, and returning the value of the gas monitoring space based on the initial filling speed and the initial filling duration using the gas to be tested. The step of filling the gas monitoring space with gas; if the monitoring temperature difference is not greater than the monitoring difference threshold, the average monitoring temperature and the average monitoring pressure are respectively recorded as the target monitoring temperature and the target monitoring pressure; the pre-constructed initial change temperature set and the initial change pressure set are supplemented by the target monitoring temperature and the target monitoring pressure, respectively, to obtain the target change temperature set and the target change pressure set; the target measurement quantity of the target change temperature set is obtained, and it is determined whether the target measurement quantity is greater than the preset standard measurement quantity; if the target measurement quantity is not greater than the standard measurement quantity, the initial change temperature set and the initial change pressure set are respectively updated by the target change temperature set and the target change pressure set, and the step of filling the gas monitoring space with the gas to be tested based on the initial filling speed and the initial filling time is returned; if the target measurement quantity is greater than the standard measurement quantity, the target change temperature set and the target change pressure set are respectively recorded as the change temperature set and the change pressure set.

6. The method for calibrating a pointer-type density relay according to claim 5, characterized in that: The method of using the compensation pressure-temperature curve to perform temperature compensation calibration on the preliminary calibration relay to obtain a fully calibrated relay includes: determining a connection control center of the preliminary calibration relay, wherein the connection control center is a PLC control system; using the compensation pressure-temperature curve to input data to the connection control center to obtain a compensation control center, and connecting the compensation control center and the preliminary calibration relay to obtain a fully calibrated relay.

7. A system using the pointer density relay calibration method as claimed in claim 1, characterized in that: The system includes: a monitoring space filling module, which is used to obtain a monitoring density range, set a calibration density set based on the monitoring density range, extract calibration densities in the calibration density set in turn, and fill a pre-constructed gas monitoring space with gas according to the calibration density to obtain a constant monitoring space; a density compensation calibration module, which is used to perform parameter detection on the constant monitoring space to obtain an original pressure and an original temperature, calculate a measured density based on the original pressure and the original temperature, summarize the measured density to obtain a measured density set, and perform density compensation calibration on a pre-constructed pointer-type density relay according to the calibration density set and the measured density set to obtain a preliminary calibrated relay; a pressure curve drawing module, which is used to use a preset gas to be measured to calibrate the pressure curve; The gas monitoring space is continuously filled to obtain a set of changing temperatures and a set of changing pressures. An original temperature-pressure curve is drawn based on the set of changing temperatures and the set of changing pressures. The original temperature-pressure curve is segmented to obtain a set of smoothly divided segments and a set of abruptly divided segments. An abrupt deviation factor set of the abruptly divided segment set is identified. According to the abrupt deviation factor set and the set of smoothly divided segments, linear pressure compensation is performed to obtain a compensated pressure set. A temperature compensation calibration module is used to identify a compensated temperature set corresponding to the compensated pressure set, draw a compensated pressure-temperature curve based on the compensated pressure set and the compensated temperature set, and perform temperature compensation calibration on the preliminary calibration relay using the compensated pressure-temperature curve to obtain a fully calibrated relay.

Citation Information

Patent Citations

  • Method for monitoring SF6 density relay in real time and pre-judging gas leakage

    CN113758653A

  • Intelligent judgment method for air tightness of aviation pipeline based on temperature monitoring

    CN114993575A