A calibration method for a relay drive circuit

Through the calibration method of the relay drive circuit, the problem that the existing technology cannot accurately determine the cause of equipment failure is solved, and the effect of quickly restoring the normal operation of the equipment is achieved, extending the service life of the relay, and reducing costs and maintenance time is achieved.

CN119644133BActive Publication Date: 2025-05-16BEIJING YIMEI SIFANG SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510154073.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2025-05-16
Estimated Expiration
2045-02-12

AI Technical Summary

Technical Problem

The existing relay drive circuit calibration methods cannot accurately determine that the equipment failure is caused by the relay or the equipment itself, making it difficult for users and maintenance personnel to restore the normal operation of the equipment through calibration, shortening the service life of the relay, increasing the cost of use and maintenance time.

Method used

By obtaining the operation analysis data of the device, performing the operation analysis strategy and abnormal analysis strategy, we can determine whether the device has a performance degradation, and determine that it is caused by the failure of the device itself or the relay. Then, according to the analysis results, the load volume is adjusted, repaired or calibrated the relay driving circuit.

Benefits of technology

It can quickly determine the cause of the fault, and restore the relay and equipment to normal operation by calibrating the relay drive circuit, extend the service life of the relay, reduce the cost of use and maintenance time, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119644133B_ABST
    Figure CN119644133B_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of relay calibration, and discloses a calibration method for a relay drive circuit, comprising: forming operation analysis data for a target device, judging whether the device is abnormal, judging whether the cause of the device abnormality is relay abnormality, judging whether the relay abnormality is component abnormality or drive circuit abnormality, and calibrating the drive circuit. The calibration method for the relay drive circuit, when a device using the relay fails, judges whether it is a device fault or a relay fault, determines whether the fault is caused by a device fault or a relay fault, and judges whether it is a relay component fault or a drive circuit fault, so that users and maintenance personnel can restore the relay and the device using the relay to normal as soon as possible by calibrating the relay drive circuit, thereby extending the service life of the relay, reducing the use cost, shortening the maintenance time, making it more convenient for users to use, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of relay calibration, and in particular to a calibration method for a relay drive circuit. Background Art

[0002] Relay drive circuits are widely used in automation control systems to control the switching state of electrical equipment. In order to ensure the reliability and accuracy of the relay, it is necessary to calibrate the drive circuit regularly. Calibration can help detect and correct deviations in the circuit and ensure that the relay operates normally under predetermined working conditions. Through calibration methods, the accuracy and reliability of the relay drive circuit can be effectively improved. Regular calibration can not only extend the service life of the equipment, but also ensure the stable operation of the automation control system. It is recommended to calibrate the equipment regularly before and during use to ensure optimal performance.

[0003] The steps of the calibration method include power-off check, power supply voltage calibration, drive signal calibration, relay action test, load test, temperature influence test, recording and analysis, and adjustment and correction;

[0004] The existing calibration method of the relay drive circuit cannot determine whether the fault is in the device itself or in the relay when a fault occurs in the equipment using the relay. It cannot determine whether the fault data is caused by a fault in the device itself or in the relay when fault data exists. It cannot determine whether the fault is caused by a partial fault in the relay element or in the relay drive circuit when a relay fault is determined. This makes it difficult for users and maintenance personnel to restore the relay and the equipment using the relay to normal by calibrating the relay drive circuit, which shortens the service life of the relay, increases the cost of use, increases the maintenance time, brings inconvenience to users, and reduces the user experience. Its practicality has certain limitations. Summary of the invention

[0005] The present invention provides a calibration method for a relay driving circuit, which is used to promote solving the problems mentioned in the background technology.

[0006] The present invention provides the following technical solution: a calibration method for a relay drive circuit, comprising:

[0007] Get the target device;

[0008] Execute the operation analysis strategy on the target device to generate operation analysis data;

[0009] The operation analysis data includes normal operation of the equipment and abnormal operation of the equipment;

[0010] If the operation analysis data shows that the device is operating normally, the abnormal analysis strategy will not be executed;

[0011] If the operation analysis data indicates that the equipment is operating abnormally, the abnormal analysis strategy is executed to generate abnormal analysis data;

[0012] The abnormal analysis data includes equipment load abnormality, overall equipment abnormality and local equipment abnormality;

[0013] If the abnormal analysis data indicates that the equipment load is abnormal, the load of the target equipment is adjusted;

[0014] If the abnormal analysis data indicates that the entire device is abnormal, the target device is inspected and repaired;

[0015] If the abnormal analysis data is a local device abnormality, the drive analysis strategy is executed to form the drive analysis data;

[0016] The driving analysis data includes normal driving and abnormal driving;

[0017] If the drive analysis data indicates that the drive is normal, the relay components of the target device are repaired and replaced;

[0018] If the drive analysis data indicates drive abnormality, the relay drive circuit of the target device is calibrated.

[0019] As an optional solution of the calibration method of the relay drive circuit of the present invention, the operation analysis strategy is specifically:

[0020] Get the time period collection;

[0021] Obtain the production data of each element in the time period set and define it as the time period production data;

[0022] The production data of each period is matched one by one with each element in the period set to form a production analysis set;

[0023] Extract the last two elements in the production analysis set and define them as the pre-production element and the post-production element respectively;

[0024] If the post-production element ≥ the pre-production element × (1-5%), the operation analysis data is judged to be normal operation of the equipment;

[0025] If the later production element is less than the previous production element × (1-5%), the total energy consumption value of each element in the time period set is obtained and determined as the time period energy consumption data;

[0026] The energy consumption data of each time period is matched one by one with each element in the time period set to form an energy consumption analysis set;

[0027] Execute energy analysis strategy.

[0028] As an optional solution of the calibration method of the relay drive circuit of the present invention, the acquisition time period set is specifically:

[0029] Get the current time point;

[0030] Set the collection duration;

[0031] Calculate the collection time point, collection time point = current time point - collection duration;

[0032] The collection time point is taken as the starting time point and the current time point is taken as the ending time point to form a collection cycle;

[0033] Set the analysis duration;

[0034] Taking the collection time point as the starting time point, each interval analysis duration forms an analysis time point within the collection cycle;

[0035] Obtain the collection time point, current time point and all analysis time points to form a collection time set;

[0036] Starting from the first element in the collection time set, extract each two adjacent elements in the collection time set in sequence, and define them as the front collection element and the back collection element respectively;

[0037] The period formed between the previous collected element and the next collected element is defined as the analysis period;

[0038] Get all analysis time periods within the collection period to form a time period set.

[0039] As an optional solution of the calibration method of the relay drive circuit of the present invention, the energy consumption analysis strategy is specifically:

[0040] Obtain production analysis set and energy consumption analysis set;

[0041] Each element in the production analysis set is matched one by one with each element in the energy consumption analysis set to form an energy consumption production set;

[0042] Calculate the unit energy consumption of each element in the energy consumption production set. Unit energy consumption = total energy consumption value of each element in the energy consumption production set for the corresponding period / production data of each element in the energy consumption production set for the period;

[0043] Each unit energy consumption is matched one by one with each element in the energy consumption production set to form a unit energy consumption set;

[0044] Integrate the unit energy consumption in the unit energy consumption set and the time period corresponding to each unit energy consumption in the time period set to generate an energy consumption statistics graph;

[0045] Sequentially extract two adjacent elements in the unit energy consumption set and define them as the front unit element and the back unit element respectively;

[0046] Extract the corresponding coordinates of the front unit element and the rear unit element in the energy consumption statistical diagram, and define them as the front unit coordinate and the rear unit coordinate, recorded as (X1, Y1) and (X2, Y2) respectively;

[0047] Calculate the unit value, unit value = (Y2-Y1) ÷ (X2-X1);

[0048] According to the corresponding front and back positions of each unit value in the unit energy consumption set in the energy consumption statistical graph, a unit value set is formed by integrating;

[0049] Extract the last element in the unit value set and set it as the target value;

[0050] Extract any element except the target value from the unit value set and set it as the comparison value;

[0051] If the target value is ≥ the comparison value × (1 + 10%) or the target value is ≤ the comparison value × (1 - 10%), the operation analysis data is judged to be abnormal equipment operation;

[0052] If the target value is less than the comparison value × (1 + 10%) and the target value is greater than the comparison value × (1 - 10%), the operation analysis data is judged to indicate that the equipment is operating normally.

[0053] As an optional solution of the calibration method of the relay drive circuit of the present invention, the abnormality analysis strategy is specifically:

[0054] Get the collection cycle and time period set;

[0055] Obtain the load data of each element in the time period set and define it as element load;

[0056] Each element load is matched one by one with each element in the time period set to form a load analysis set;

[0057] Extract the last element in the load analysis set and set it as the target load:

[0058] Obtain the judgment load data of the target device and set it as the comparison load;

[0059] If the target load > comparison load × (1 + 15%), the abnormal analysis data is determined to be abnormal equipment load;

[0060] If the target load ≤ comparison load × (1 + 15%), the temperature rise analysis strategy is executed.

[0061] As an optional solution of the calibration method of the relay drive circuit of the present invention, the temperature rise analysis strategy is specifically:

[0062] Get the time period collection

[0063] Identify each element in the time period set as a target time period in turn;

[0064] Obtain the start time and stop time of the target device in the target time period, and set them as the target start time and target stop time;

[0065] Set the unit time;

[0066] Taking the target startup time as the starting time, a data collection point is formed at each unit time interval until the target stop time is reached;

[0067] Integrate the target startup time, target stop time and all data collection points to form a collection point set;

[0068] Obtain the device temperature value corresponding to each element in the collection point set of the target device, and define it as the collection temperature;

[0069] Each collected temperature is matched one-to-one with each element in the collection point set to form a temperature set;

[0070] Integrate the temperature set to generate a temperature change curve;

[0071] Extract the last element in the time period set and set it as the current temperature element;

[0072] Extract any element in the time period set except the current temperature element and define it as the comparison temperature element;

[0073] Extract the temperature change curve corresponding to the current temperature element and set it as the current temperature curve;

[0074] Extract the temperature change curve corresponding to the contrast temperature element and define it as the contrast temperature curve;

[0075] Execute fitting analysis strategy on current temperature curve and comparison temperature curve;

[0076] If the curve fitting degree is high, the abnormal analysis data is determined to be a local device abnormality;

[0077] If the curve fitting degree is judged to be low, the abnormal analysis data is judged to be an overall equipment abnormality.

[0078] As an optional solution of the calibration method of the relay drive circuit of the present invention, the fitting analysis strategy is specifically:

[0079] Integrate current temperature curve and comparison temperature curve;

[0080] Get all data points on the current temperature curve and set them as current data points;

[0081] Get the horizontal value of each current data point and set it as the current horizontal value;

[0082] Extract the longitudinal value of each current horizontal value on the comparison temperature curve and define it as the analysis longitudinal value;

[0083] Extract the longitudinal value of each current horizontal value on the current temperature curve and set it as the current longitudinal value;

[0084] If the current vertical value ≥ the analyzed vertical value × (1 + 10%) or the current vertical value ≤ the analyzed vertical value × (1 - 10%), then the data point difference is judged to be large;

[0085] If the current vertical value is less than the analyzed vertical value × (1 + 10%) and the current vertical value is greater than the analyzed vertical value × (1 - 10%), then the data point difference is determined to be small;

[0086] Get the number of current data points on the current temperature curve, and define it as the data quantity;

[0087] Obtain the number of current data points on the current temperature curve with the smallest difference between the judgment data points, and define it as the difference number;

[0088] If the number of differences ≥ the number of data × 75%, the curve is judged to have a high degree of fit;

[0089] If the number of differences is less than the number of data points × 75%, the curve is judged to be poorly fitted.

[0090] As an optional solution of the calibration method of the relay drive circuit of the present invention, the drive analysis strategy is specifically:

[0091] Get the relay of the target device and set it as the target relay;

[0092] Obtain testing equipment;

[0093] Acquire the current operation data of the test equipment and set it as the current operation data;

[0094] Connect the test equipment switch to the target relay;

[0095] The operating data of the test equipment is obtained again and is defined as the switching operating data;

[0096] If the switching operation data ≠ the current operation data, the drive analysis data is judged to be normal;

[0097] If the switching operation data = current operation data, the current power supply data of the target relay is obtained;

[0098] Obtain the required power data of the target relay;

[0099] If the current power supply data ≠ the required power supply data, the drive analysis data is determined to be a drive abnormality;

[0100] If the current power data = the required power data, the drive analysis data is determined to be normal.

[0101] As an optional solution of the calibration method of the relay drive circuit of the present invention, the calibration of the relay drive circuit of the target device is specifically as follows:

[0102] Get the current resistance value of the target relay;

[0103] Acquire signal data of a target relay, wherein the signal data includes on and off;

[0104] Get all resistance values ​​of the target relay to form a resistance range;

[0105] Identify each element within the resistance range as a target resistance value in turn;

[0106] Adjust the current resistance value to the target resistance value, and obtain the signal data of the target relay as the target signal;

[0107] If the target signal is on, determining that the resistance value is a first resistance value;

[0108] If the target signal is disconnected, determining that the resistance value is a second resistance value;

[0109] Obtaining all first resistance values ​​in the resistance range to form a resistance analysis set;

[0110] Obtain the voltage data of each element in the resistance analysis set and define it as the element voltage;

[0111] Obtain the current data of each element in the resistance analysis set and define it as the element current;

[0112] Obtain the analysis voltage and analysis current of the target relay;

[0113] Calculate the voltage difference, voltage difference = |analysis voltage - element voltage|;

[0114] Calculate the current difference, current difference = |analysis current - element current|;

[0115] Sort all elements in the resistance analysis set from small to large according to the voltage difference values ​​to form a first order set;

[0116] Sort all elements in the resistance analysis set from small to large according to the value of the current difference to form a second sequence set;

[0117] Integrate the first sequence set and the second sequence set to form a comprehensive sequence set;

[0118] Extract the first element in the comprehensive sequence set and define it as the adjustment element;

[0119] Extracting the resistance value corresponding to the adjustment element and setting it as the adjustment resistance value;

[0120] Adjust the current resistance value to the adjusted resistance value.

[0121] The present invention has the following beneficial effects:

[0122] 1. The calibration method of the relay drive circuit determines whether the equipment has performance degradation by obtaining the change in the production volume of the equipment within a certain period of time and the change in the energy consumption of each produced item. If there is no performance degradation, it means that the relays of the equipment itself are in normal state. If there is performance degradation, it is necessary to determine whether it is caused by the failure of the equipment itself or the relay, so that users and maintenance personnel can restore the relay and the equipment using the relay to normal as soon as possible through the calibration of the relay drive circuit, extend the service life of the relay, reduce the cost of use, shorten the maintenance time, make it more convenient for users to use, and improve the user experience.

[0123] 2. The calibration method of the relay drive circuit, in the case of performance degradation, determines whether the performance degradation of the equipment is caused by excessive load or equipment failure, or due to relay failure by obtaining the load and temperature change data of the equipment. If it is caused by excessive load, the load of the equipment is adjusted to reduce; if it is caused by equipment failure, the equipment is repaired; if it is caused by relay failure, the cause of the relay failure is further determined, so that users and maintenance personnel can restore the relay and the equipment using the relay to normal as soon as possible through calibration of the relay drive circuit, extend the service life of the relay, reduce the cost of use, shorten the maintenance time, make it more convenient for users to use, and improve the user experience.

[0124] 3. The calibration method of the relay drive circuit, when it is determined that the relay is faulty, a normally operating device is switched and connected to the relay to obtain the operating status of the device to determine whether it is a partial fault of the relay component or a fault of the relay drive circuit. If the device can operate normally, it means that there is no problem with the contacts of the relay, but there is a fault in the drive circuit. The drive circuit is calibrated by adjusting its coil resistance so that the drive circuit can return to normal. If the device cannot operate normally, it means that there is a fault in the contacts of the relay. The relay component is partially repaired or replaced to restore the relay and the device using the relay to normal, thereby extending the service life of the relay, reducing the cost of use, shortening the maintenance time, making it more convenient for users to use, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0125] Figure 1 The figure is a flow chart of a calibration method for a relay drive circuit of the present invention. DETAILED DESCRIPTION

[0126] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0127] Embodiment 1, a calibration method of a relay drive circuit, referring to Figure 1 ,include:

[0128] Acquire a target device, where the target device is a device using a relay;

[0129] Execute the operation analysis strategy on the target device to generate operation analysis data;

[0130] The operation analysis data includes normal operation of the equipment and abnormal operation of the equipment;

[0131] If the operation analysis data shows that the device is operating normally, the abnormal analysis strategy will not be executed;

[0132] If the operation analysis data indicates that the equipment is operating abnormally, the abnormal analysis strategy is executed to generate abnormal analysis data;

[0133] The abnormal analysis data includes equipment load abnormality, overall equipment abnormality and local equipment abnormality;

[0134] If the abnormal analysis data indicates that the equipment load is abnormal, the load of the target equipment is adjusted;

[0135] If the abnormal analysis data indicates that the entire device is abnormal, the target device is inspected and repaired, that is, other parts of the target device other than the relay are inspected and repaired;

[0136] If the abnormal analysis data is a local device abnormality, the drive analysis strategy is executed to form the drive analysis data;

[0137] The driving analysis data includes normal driving and abnormal driving;

[0138] If the driving analysis data indicates that the driving is normal, the relay element of the target device is repaired and replaced, wherein the relay element is the other part of the relay except the driving circuit;

[0139] If the drive analysis data indicates drive abnormality, the relay drive circuit of the target device is calibrated.

[0140] Through the above method, when a device using a relay fails, it is determined whether it is a fault of the device itself or a fault of the relay. In the case where fault data exists, it is determined whether the fault data is caused by a fault of the device itself or a fault of the relay. In the case of a relay failure, it is determined whether it is a partial failure of the relay element or a relay drive circuit failure, so that users and maintenance personnel can restore the relay and the equipment using the relay to normal as soon as possible by calibrating the relay drive circuit, thereby extending the service life of the relay, reducing the cost of use, shortening the maintenance time, making it more convenient for users to use, and improving the user experience.

[0141] Embodiment 2: This embodiment is an improvement made on the basis of embodiment 1. The calibration method of the relay drive circuit and the operation analysis strategy are specifically as follows:

[0142] Get the time period collection;

[0143] Obtaining production data of each element in the time period set, which is defined as the time period production data, wherein the production data is the quantity of items produced by the target device in the time period;

[0144] The production data of each period is matched one by one with each element in the period set to form a production analysis set;

[0145] Extract the last two elements in the production analysis set and define them as the pre-production element and the post-production element respectively;

[0146] If the post-production element ≥ the pre-production element × (1-5%), the operation analysis data is judged to be normal operation of the equipment;

[0147] If the later production element is less than the previous production element × (1-5%), the total energy consumption value of each element in the time period set is obtained and determined as the time period energy consumption data;

[0148] The energy consumption data of each time period is matched one by one with each element in the time period set to form an energy consumption analysis set;

[0149] Execute energy analysis strategy.

[0150] The acquisition period set is specifically:

[0151] Get the current time point;

[0152] Set the collection period, which is 6 months;

[0153] Calculate the collection time point, collection time point = current time point - collection duration;

[0154] The collection time point is taken as the starting time point and the current time point is taken as the ending time point to form a collection cycle;

[0155] Set the analysis time, which is 24 hours;

[0156] Taking the collection time point as the starting time point, each interval analysis duration forms an analysis time point within the collection cycle;

[0157] Obtain the collection time point, current time point and all analysis time points to form a collection time set;

[0158] Starting from the first element in the collection time set, extract each two adjacent elements in the collection time set in sequence, and define them as the front collection element and the back collection element respectively;

[0159] The period formed between the previous collected element and the next collected element is defined as the analysis period;

[0160] Get all analysis time periods within the collection period to form a time period set.

[0161] This embodiment also provides that the energy consumption analysis strategy is specifically:

[0162] Obtain production analysis set and energy consumption analysis set;

[0163] Each element in the production analysis set is matched one by one with each element in the energy consumption analysis set to form an energy consumption production set;

[0164] Calculate the unit energy consumption of each element in the energy consumption production set. Unit energy consumption = total energy consumption value of each element in the energy consumption production set for the corresponding period / production data of each element in the energy consumption production set for the period;

[0165] Each unit energy consumption is matched one by one with each element in the energy consumption production set to form a unit energy consumption set;

[0166] Integrate the unit energy consumption in the unit energy consumption set and the time period corresponding to each unit energy consumption in the time period set to generate an energy consumption statistical graph, wherein the horizontal axis of the energy consumption statistical graph is the time period corresponding to each unit energy consumption in the time period set, and the vertical axis of the energy consumption statistical graph is the unit energy consumption in the unit energy consumption set;

[0167] Sequentially extract two adjacent elements in the unit energy consumption set and define them as the front unit element and the back unit element respectively;

[0168] Extract the corresponding coordinates of the front unit element and the rear unit element in the energy consumption statistical diagram, and define them as the front unit coordinate and the rear unit coordinate, recorded as (X1, Y1) and (X2, Y2) respectively;

[0169] Calculate the unit value, unit value = (Y2-Y1) ÷ (X2-X1);

[0170] According to the corresponding front and back positions of each unit value in the unit energy consumption set in the energy consumption statistics chart, a unit value set is formed by integration, wherein the front and back positions are judged by the vertical distance between each unit value and the vertical axis in the energy consumption statistics chart. The closer to the vertical axis, that is, the smaller the horizontal axis value, the higher the order in the unit value set; the farther from the vertical axis, that is, the larger the horizontal axis value, the higher the order in the unit value set;

[0171] Extract the last element in the unit value set and set it as the target value;

[0172] Extract any element except the target value from the unit value set and set it as the comparison value;

[0173] If the target value is ≥ the comparison value × (1 + 10%) or the target value is ≤ the comparison value × (1 - 10%), the operation analysis data is judged to be abnormal equipment operation;

[0174] If the target value is less than the comparison value × (1 + 10%) and the target value is greater than the comparison value × (1 - 10%), the operation analysis data is judged to indicate that the equipment is operating normally.

[0175] Embodiment 3: This embodiment is an improvement made on the basis of Embodiment 2. In this embodiment, the abnormality analysis strategy is specifically as follows:

[0176] Get the collection cycle and time period set;

[0177] Obtaining the load data of each element in the time period set as the element load, wherein the load data is the load amount of the target device;

[0178] Each element load is matched one by one with each element in the time period set to form a load analysis set;

[0179] Extract the last element in the load analysis set and set it as the target load:

[0180] Obtaining the determined load data of the target device and defining it as the comparison load, wherein the determined load data is the maximum load that the target device can bear under normal operation;

[0181] If the target load > comparison load × (1 + 15%), the abnormal analysis data is determined to be abnormal equipment load;

[0182] If the target load ≤ comparison load × (1 + 15%), the temperature rise analysis strategy is executed.

[0183] The temperature rise analysis strategy is specifically as follows:

[0184] Get the time period collection

[0185] Identify each element in the time period set as a target time period in turn;

[0186] Obtain the start time and stop time of the target device in the target time period, and set them as the target start time and target stop time;

[0187] Set the unit time, which is 30 minutes;

[0188] Taking the target startup time as the starting time, a data collection point is formed at each unit time interval until the target stop time is reached;

[0189] Integrate the target startup time, target stop time and all data collection points to form a collection point set;

[0190] Obtain the device temperature value corresponding to each element in the collection point set of the target device, and define it as the collection temperature;

[0191] Each collected temperature is matched one-to-one with each element in the collection point set to form a temperature set;

[0192] Integrate the temperature set to generate a temperature change curve;

[0193] Extract the last element in the time period set and set it as the current temperature element;

[0194] Extract any element in the time period set except the current temperature element and define it as the comparison temperature element;

[0195] Extract the temperature change curve corresponding to the current temperature element and set it as the current temperature curve;

[0196] Extract the temperature change curve corresponding to the contrast temperature element and define it as the contrast temperature curve;

[0197] Execute fitting analysis strategy on current temperature curve and comparison temperature curve;

[0198] If the curve fitting degree is high, the abnormal analysis data is determined to be a local device abnormality;

[0199] If the curve fitting degree is judged to be low, the abnormal analysis data is judged to be an overall equipment abnormality.

[0200] The fitting analysis strategy is specifically as follows:

[0201] Integrate current temperature curve and comparison temperature curve;

[0202] Get all data points on the current temperature curve and set them as current data points;

[0203] Obtain the horizontal value of each current data point and define it as the current horizontal value, where the horizontal value is the value of the horizontal coordinate of the data;

[0204] Extract the vertical value of each current horizontal value on the comparison temperature curve and define it as the analysis vertical value, where the vertical value is the value of the vertical coordinate of the data point corresponding to the horizontal coordinate on the curve;

[0205] Extract the longitudinal value of each current horizontal value on the current temperature curve and set it as the current longitudinal value;

[0206] If the current vertical value ≥ the analyzed vertical value × (1 + 10%) or the current vertical value ≤ the analyzed vertical value × (1 - 10%), then the data point difference is judged to be large;

[0207] If the current vertical value is less than the analyzed vertical value × (1 + 10%) and the current vertical value is greater than the analyzed vertical value × (1 - 10%), then the data point difference is determined to be small;

[0208] Get the number of current data points on the current temperature curve, and define it as the data quantity;

[0209] Obtain the number of current data points on the current temperature curve with the smallest difference between the judgment data points, and define it as the difference number;

[0210] If the number of differences ≥ the number of data × 75%, the curve is judged to have a high degree of fit;

[0211] If the number of differences is less than the number of data points × 75%, the curve is judged to be poorly fitted.

[0212] Embodiment 4: This embodiment is an improvement made on the basis of Embodiment 3. In this embodiment, the driving analysis strategy is specifically as follows:

[0213] Get the relay of the target device and set it as the target relay;

[0214] Acquire a test device, where the test device is a device that operates normally;

[0215] Acquire current operation data of the test device, which is defined as current operation data. The operation data is the current value of the device, which is used to determine whether the device is operating normally.

[0216] Connect the test equipment switch to the target relay;

[0217] The operating data of the test equipment is obtained again and is defined as the switching operating data;

[0218] If the switching operation data ≠ the current operation data, the drive analysis data is judged to be normal;

[0219] If the switching operation data = the current operation data, the current power supply data of the target relay is obtained, and the current power supply data is the current voltage value of the target relay;

[0220] Acquire required power data of the target relay, wherein the required power data is a rated voltage value of the target relay;

[0221] If the current power supply data ≠ the required power supply data, the drive analysis data is determined to be a drive abnormality;

[0222] If the current power data = the required power data, the drive analysis data is determined to be normal.

[0223] This embodiment also provides that the calibrating of the relay driving circuit of the target device is specifically:

[0224] Acquire a current resistance value of a target relay, where the current resistance value is a current coil resistance value of the target relay;

[0225] Acquire signal data of the target relay, wherein the signal data includes on and off, and the signal data is a control signal of the relay drive circuit. When the resistance value is adjusted to a suitable threshold value, the input signal of the relay can reach the drive circuit of the relay, so that the drive circuit can work at a suitable threshold value;

[0226] Get all resistance values ​​of the target relay to form a resistance range;

[0227] Identify each element within the resistance range as a target resistance value in turn;

[0228] Adjust the current resistance value to the target resistance value, and obtain the signal data of the target relay as the target signal;

[0229] If the target signal is on, determining that the resistance value is a first resistance value;

[0230] If the target signal is disconnected, determining that the resistance value is a second resistance value;

[0231] Obtaining all first resistance values ​​in the resistance range to form a resistance analysis set;

[0232] Obtaining voltage data of each element in the resistance analysis set as element voltage, wherein the voltage data is a trigger voltage of the relay;

[0233] Obtaining current data of each element in the resistance analysis set, which is defined as element current, wherein the current data is the output current of the relay;

[0234] Acquire an analysis voltage and an analysis current of a target relay, wherein the analysis voltage and the analysis current are the most suitable trigger voltage and output current of the target relay;

[0235] Calculate the voltage difference, voltage difference = |analysis voltage - element voltage|;

[0236] Calculate the current difference, current difference = |analysis current - element current|;

[0237] Sort all elements in the resistance analysis set from small to large according to the voltage difference values ​​to form a first order set;

[0238] Sort all elements in the resistance analysis set from small to large according to the value of the current difference to form a second sequence set;

[0239] Integrate the first sequence set and the second sequence set to form a comprehensive sequence set;

[0240] Extract the first element in the comprehensive sequence set and define it as the adjustment element;

[0241] Extracting the resistance value corresponding to the adjustment element and setting it as the adjustment resistance value;

[0242] Adjust the current resistance value to the adjusted resistance value.

[0243] In this embodiment, when a device using a relay fails, it is determined whether the fault is caused by the device itself or the relay. In the case where fault data exists, it is determined whether the fault data is caused by the fault of the device itself or the relay. In the case of a relay failure, it is determined whether it is a partial failure of the relay element or a relay drive circuit failure, so that users and maintenance personnel can restore the relay and the device using the relay to normal as soon as possible by calibrating the relay drive circuit, thereby extending the service life of the relay, reducing the cost of use, shortening the maintenance time, making it more convenient for users to use, and improving the user experience.

[0244] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0245] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A calibration method for a relay drive circuit, characterized in that: include: Get the target device; Execute the operation analysis strategy on the target device to generate operation analysis data; The operation analysis data includes normal operation of the equipment and abnormal operation of the equipment; If the operation analysis data shows that the device is operating normally, the abnormal analysis strategy will not be executed; If the operation analysis data indicates that the equipment is operating abnormally, the abnormal analysis strategy is executed to generate abnormal analysis data; The abnormal analysis data includes equipment load abnormality, overall equipment abnormality and local equipment abnormality; If the abnormal analysis data indicates that the equipment load is abnormal, the load of the target equipment is adjusted; If the abnormal analysis data indicates that the entire device is abnormal, the target device is inspected and repaired; If the abnormal analysis data is a local device abnormality, the drive analysis strategy is executed to form drive analysis data. In the case of determining that the relay is faulty, a normally functioning device is switched and connected to the relay to obtain the operating status of the device to determine whether it is a partial fault of the relay element or a fault of the relay drive circuit. If the device can operate normally, it means that there is no problem with the contacts of the relay, but a fault in the drive circuit. The drive circuit is calibrated by adjusting its coil resistance so that the drive circuit can return to normal. If the device cannot operate normally, it means that there is a fault in the contacts of the relay. The relay element is partially repaired or replaced to restore the relay and the device using the relay to normal. The driving analysis data includes normal driving and abnormal driving; If the drive analysis data indicates that the drive is normal, the relay components of the target device are repaired and replaced; If the drive analysis data indicates drive abnormality, the relay drive circuit of the target device is calibrated.

2. The calibration method of the relay drive circuit according to claim 1, characterized in that: The operation analysis strategy is specifically: Get the time period collection; Obtain the production data of each element in the time period set and define it as the time period production data; The production data of each period is matched one by one with each element in the period set to form a production analysis set; Extract the last two elements in the production analysis set and define them as the pre-production element and the post-production element respectively; If the post-production element ≥ the pre-production element × (1-5%), the operation analysis data is judged to be normal operation of the equipment; If the later production element is less than the previous production element × (1-5%), the total energy consumption value of each element in the time period set is obtained and determined as the time period energy consumption data; The energy consumption data of each time period is matched one by one with each element in the time period set to form an energy consumption analysis set; Execute energy analysis strategy.

3. The calibration method of the relay drive circuit according to claim 2, characterized in that: The acquisition time period set is specifically: Get the current time point; Set the collection duration; Calculate the collection time point, collection time point = current time point - collection duration; The collection time point is taken as the starting time point and the current time point is taken as the ending time point to form a collection cycle; Set the analysis duration; Taking the collection time point as the starting time point, each interval analysis duration forms an analysis time point within the collection cycle; Obtain the collection time point, current time point and all analysis time points to form a collection time set; Starting from the first element in the collection time set, extract each two adjacent elements in the collection time set in sequence, and define them as the front collection element and the back collection element respectively; The period formed between the previous collected element and the next collected element is defined as the analysis period; Get all analysis time periods within the collection period to form a time period set.

4. The calibration method of the relay drive circuit according to claim 3, characterized in that: The energy consumption analysis strategy is specifically as follows: Obtain production analysis set and energy consumption analysis set; Each element in the production analysis set is matched one by one with each element in the energy consumption analysis set to form an energy consumption production set; Calculate the unit energy consumption of each element in the energy consumption production set. Unit energy consumption = total energy consumption value of each element in the energy consumption production set for the corresponding period / production data of each element in the energy consumption production set for the period; Each unit energy consumption is matched one by one with each element in the energy consumption production set to form a unit energy consumption set; Integrate the unit energy consumption in the unit energy consumption set and the time period corresponding to each unit energy consumption in the time period set to generate an energy consumption statistics graph; Sequentially extract two adjacent elements in the unit energy consumption set and define them as the front unit element and the back unit element respectively; Extract the corresponding coordinates of the front unit element and the rear unit element in the energy consumption statistical diagram, and define them as the front unit coordinate and the rear unit coordinate, recorded as (X1, Y1) and (X2, Y2) respectively; Calculate the unit value, unit value = (Y2-Y1) ÷ (X2-X1); According to the corresponding front and back positions of each unit value in the unit energy consumption set in the energy consumption statistical graph, a unit value set is formed by integrating; Extract the last element in the unit value set and set it as the target value; Extract any element except the target value from the unit value set and set it as the comparison value; If the target value is ≥ the comparison value × (1 + 10%) or the target value is ≤ the comparison value × (1 - 10%), the operation analysis data is judged to be abnormal equipment operation; If the target value is less than the comparison value × (1 + 10%) and the target value is greater than the comparison value × (1 - 10%), the operation analysis data is judged to indicate that the equipment is operating normally.

5. The calibration method of the relay drive circuit according to claim 1, characterized in that: The abnormal analysis strategy is specifically: Get the collection cycle and time period set; Obtain the load data of each element in the time period set and define it as element load; Each element load is matched with each element in the time period set one by one to form a load analysis set; Extract the last element in the load analysis set and set it as the target load: Obtain the judgment load data of the target device and set it as the comparison load; If the target load > comparison load × (1 + 15%), the abnormal analysis data is determined to be abnormal equipment load; If the target load ≤ comparison load × (1 + 15%), the temperature rise analysis strategy is executed.

6. The calibration method of the relay drive circuit according to claim 5, characterized in that: The temperature rise analysis strategy is specifically as follows: Get the time period collection Identify each element in the time period set as a target time period in turn; Obtain the start time and stop time of the target device in the target time period, and set them as the target start time and target stop time; Set the unit time; Taking the target startup time as the starting time, a data collection point is formed at each unit time interval until the target stop time is reached; Integrate the target startup time, target stop time and all data collection points to form a collection point set; Obtain the device temperature value corresponding to each element in the collection point set of the target device, and define it as the collection temperature; Each collected temperature is matched one-to-one with each element in the collection point set to form a temperature set; Integrate the temperature set to generate a temperature change curve; Extract the last element in the time period set and set it as the current temperature element; Extract any element in the time period set except the current temperature element and define it as the comparison temperature element; Extract the temperature change curve corresponding to the current temperature element and set it as the current temperature curve; Extract the temperature change curve corresponding to the contrast temperature element and define it as the contrast temperature curve; Execute fitting analysis strategy on current temperature curve and comparison temperature curve; If the curve fitting degree is high, the abnormal analysis data is determined to be a local device abnormality; If the curve fitting degree is judged to be low, the abnormal analysis data is judged to be an overall equipment abnormality.

7. The calibration method of the relay drive circuit according to claim 6, characterized in that: The fitting analysis strategy is specifically as follows: Integrate current temperature curve and comparison temperature curve; Get all data points on the current temperature curve and set them as current data points; Get the horizontal value of each current data point and set it as the current horizontal value; Extract the longitudinal value of each current horizontal value on the comparison temperature curve and define it as the analysis longitudinal value; Extract the longitudinal value of each current horizontal value on the current temperature curve and set it as the current longitudinal value; If the current vertical value ≥ the analyzed vertical value × (1 + 10%) or the current vertical value ≤ the analyzed vertical value × (1 - 10%), then the data point difference is judged to be large; If the current vertical value is less than the analyzed vertical value × (1 + 10%) and the current vertical value is greater than the analyzed vertical value × (1 - 10%), then the data point difference is determined to be small; Get the number of current data points on the current temperature curve, and define it as the data quantity; Obtain the number of current data points on the current temperature curve with the smallest difference between the judgment data points, and define it as the difference number; If the number of differences ≥ the number of data × 75%, the curve is judged to have a high degree of fit; If the number of differences is less than the number of data points × 75%, the curve is judged to be poorly fitted.

8. The calibration method of the relay drive circuit according to claim 1, characterized in that: The driving analysis strategy is specifically: Get the relay of the target device and set it as the target relay; Obtain testing equipment; Acquire the current operation data of the test equipment and set it as the current operation data; Connect the test equipment switch to the target relay; The operating data of the test equipment is obtained again and is defined as the switching operating data; If the switching operation data ≠ the current operation data, the drive analysis data is judged to be normal; If the switching operation data = current operation data, the current power supply data of the target relay is obtained; Obtain the required power data of the target relay; If the current power supply data ≠ the required power supply data, the drive analysis data is determined to be a drive abnormality; If the current power data = the required power data, the drive analysis data is determined to be normal.

9. The calibration method of the relay drive circuit according to claim 1, characterized in that: The calibrating of the relay drive circuit of the target device is specifically as follows: Get the current resistance value of the target relay; Acquire signal data of a target relay, wherein the signal data includes on and off; Get all resistance values ​​of the target relay to form a resistance range; Identify each element within the resistance range as a target resistance value in turn; Adjust the current resistance value to the target resistance value, and obtain the signal data of the target relay as the target signal; If the target signal is on, determining that the resistance value is a first resistance value; If the target signal is disconnected, determining that the resistance value is a second resistance value; Obtaining all first resistance values ​​in the resistance range to form a resistance analysis set; Obtain the voltage data of each element in the resistance analysis set and define it as the element voltage; Obtain the current data of each element in the resistance analysis set and define it as the element current; Obtain the analysis voltage and analysis current of the target relay; Calculate the voltage difference, voltage difference = |analysis voltage - element voltage|; Calculate the current difference, current difference = |analysis current - element current|; Sort all elements in the resistance analysis set from small to large according to the voltage difference values ​​to form a first order set; Sort all elements in the resistance analysis set from small to large according to the value of the current difference to form a second sequence set; Integrate the first sequence set and the second sequence set to form a comprehensive sequence set; Extract the first element in the comprehensive sequence set and define it as the adjustment element; Extracting the resistance value corresponding to the adjustment element and setting it as the adjustment resistance value; Adjust the current resistance value to the adjusted resistance value.

Citation Information

Patent Citations

  • Cloud platform data management system based on industrial big data and construction method thereof

    CN113962439A

  • Abnormality detection device, load driving device, abnormality detection method, and storage medium

    CN114778962A