Relay adhesion warning method, system, device and readable storage medium
By analyzing the relay response action time and multiple influencing factors, an early warning signal is generated to prevent the adhesion phenomenon of the relay in the new energy vehicle charging station, which solves the problems of low accuracy and high cost of relay adhesion detection in the existing technology, and realizes the detection of existing relay adhesion. The safety of charging stations has been improved.
Patent Information
- Application Number
- CN202311588982.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-11-25
AI Technical Summary
Relays in new energy vehicle charging stations are prone to adhesion, leading to battery overcharging and safety hazards. The existing technology increases detection accuracy through circuit improvements, but is costly and impractical for charging stations that have been put into use, and lacks effective early warning monitoring. method.
By analyzing the response action time of the relay, combined with factors such as charging power, charging time, internal temperature of the charging gun, and total use time, a theoretical response time is generated, and an early warning signal is output to remind maintenance personnel to replace or maintain the relay to avoid adhesion.
It improves the accuracy of relay adhesion early warning, reduces costs, and is suitable for already installed charging stations to ensure the normal and safe operation of charging stations.
Smart Images

Figure CN117607673B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relays for new energy vehicle charging devices, and more specifically, to a relay adhesion warning method, system, device and readable storage medium. Background Art
[0002] With the increasing number of new energy electric vehicles, there are more and more new energy charging stations. The charging guns configured in the charging stations are usually equipped with relays between their internal charging terminals and the charging power supply (located after the AC-DC module). The above relays are connected to the controller and the charging circuit is disconnected under the control of the controller when charging is completed.
[0003] For the structure and schematic diagram of the relay, see Figure 1 It can be seen that when the controller controls the coil wound on the electromagnet 3 to be energized, the electromagnet 3 will generate a magnetic attraction, attracting the armature 4 to move downward so that the upper and lower contacts 1 of the relay are in contact, and the relay is turned on at this time. Maintaining the energized state of the electromagnet 3 can keep the contact 1 in the contact and conduction state. When the controller controls the coil wound on the electromagnet 3 to be de-energized, the magnetic attraction of the electromagnet 3 disappears, and the contact 1 is disconnected under the action of the reset pulling force of the return spring 2, and the relay is turned off at this time.
[0004] In actual applications, it is found that when the above relays are used for a long time, the relays occasionally stick, causing the battery to overcharge and the user to face the risk of electric shock when using it. In-depth analysis of the causes of relay sticking mainly includes:
[0005] (1) The surface materials of the contacts in the relay, such as the silver plating layer, grease, dust and impurities, oxidize and melt at high temperatures, resulting in adhesion between the relay contacts;
[0006] (2) The torque of the return spring in the relay decreases after long-term use, resulting in insufficient reset tension of the contacts after the conductive adsorption coil is powered off.
[0007] In order to avoid safety accidents in the case of relay adhesion, the current technology improves the accuracy of relay adhesion detection through circuit improvements. When relay adhesion is detected, an instruction is output to disconnect the relay again or a warning is output. However, it is not difficult to see that the above solution itself will increase the manufacturing cost of the charging gun, and the phenomenon of relay adhesion will still occur. Finally, the improvement of the circuit in the above solution is very expensive and impractical for charging stations that have been put into use.
[0008] In summary, how to provide early warning and monitoring of the adhesion of the relay in the charging gun is a problem that needs to be solved urgently. Summary of the invention
[0009] In view of the problem that the phenomenon of relay adhesion when charging new energy electric vehicles cannot be accurately warned in actual use, the first purpose of this application is to propose a relay adhesion warning method, which combines the structural characteristics and usage characteristics of the relay, and judges the probability of relay adhesion by analyzing the response action duration of the relay, which greatly improves the accuracy of the relay adhesion warning. To achieve the above method, the second purpose of this application is to propose a relay adhesion warning system; the third purpose of this application is to protect a device equipped with the above relay adhesion warning system; the fourth purpose is to protect a computer-readable storage medium loaded with a computer program for implementing the above relay adhesion warning method.
[0010] The specific plan is as follows:
[0011] A relay adhesion early warning method, comprising:
[0012] Obtaining a first time when the controller outputs a control instruction and a second time when the relay completes a response action in response to the control instruction, calculating and storing a response duration of the relay;
[0013] Set various influencing factors that affect the response time of the relay, obtain the data of various influencing factors when the relay responds, and store them in association with the response time;
[0014] Based on the generated correlation data, the theoretical time for the relay to respond under the influence of each influencing factor or its combination is analyzed;
[0015] When the response time and / or the theoretical time corresponding to the specific influencing factor exceeds a set value, an early warning signal is output.
[0016] The above technical solution determines the adhesion force between the contacts in the relay and / or the reset force of the return spring by statistically analyzing the time required for the relay to respond to the control command under the influence of specific influencing factors, thereby outputting a warning in time when it reaches the warning range, prompting maintenance personnel to replace or maintain the relay, avoiding the phenomenon of relay adhesion, and ensuring the normal and safe operation of the charging station.
[0017] Furthermore, the step of obtaining the data of each influencing factor when the relay responds to the action and storing it in association with the response duration includes:
[0018] Determine the type of influencing factors that affect the relay response time, and configure the corresponding data acquisition interface to collect influencing factor data;
[0019] Each influencing factor is associated with the response time and stored in a specific storage unit to form an associated data group;
[0020] The influencing factors include: charging power, charging time, internal temperature of the charging gun, and total usage time before the relay responds.
[0021] Through the above technical scheme, the factors affecting the response time of the relay are fully considered. The charging power, charging time and the internal temperature of the charging gun will affect the temperature of the relay contacts, and then affect the adhesion force of the contact surface material after melting and oxidation. The torque of the return spring is related to the total use time of the relay. Through the above scheme, the time when the relay will stick can be predicted more accurately.
[0022] Furthermore, the theoretical time for the relay to respond under the influence of various influencing factors or their combination is analyzed, including:
[0023] Configure variable parameters for each influencing factor and generate multivariate functions;
[0024] Based on the acquired data of each influencing factor and its associated response time, a variable parameter of each influencing factor is calculated by introducing the multivariate function, and a theoretical function for characterizing the correlation between each influencing factor and the response time is generated based on the variable parameter;
[0025] Based on the theoretical function, the theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof is calculated;
[0026] Among them, each influencing factor data and its associated response time data are obtained by tracing back to a specific time or number of responses at the current moment, and the number of associated data groups is not less than the number of influencing factor categories.
[0027] Through the above technical scheme, the influence weight of each influencing factor on the response time can be calculated based on the historical data of the influencing factors and the response time, and then the corresponding response time under the conditions of specific influencing factors or their combination can be accurately calculated, so that the prediction is more accurate and a warning signal can be output before the relay becomes stuck due to one or more reasons.
[0028] Furthermore, the theoretical time for the relay to respond under the influence of various influencing factors or their combination is analyzed, including:
[0029] One or more target impact factors are selected and used as the variable, and the remaining impact factors are used as constants;
[0030] In the stored associated data, tracing back a specific time length or number of responses based on the current time, until a set number of associated data groups with the same constant quantity are obtained;
[0031] Based on the associated data group, the associated relationship between each change amount and the response time is calculated and analyzed to obtain a relationship function between the impact factor corresponding to the change amount and the response time;
[0032] Repeat the above method to obtain the relationship function between each influencing factor and the response time, and generate a theoretical function for characterizing the correlation between each influencing factor and the response time based on each of the relationship functions;
[0033] The theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof is calculated based on the theoretical function.
[0034] Through the above technical scheme, the trend of the correlation between each influencing factor and the response time over time can be calculated based on the historical data of the influencing factor and the response time. Therefore, the correlation between the influencing factor and the response time at the future set time can be calculated through one or more influencing factors. Therefore, when one or more of the influencing factors reach the set value, an early warning is output, which can prompt relevant personnel to perform maintenance before the relay sticks.
[0035] Furthermore, the influencing factors also include the loop delay when the controller control instruction and the relay status confirmation signal are transmitted between the controller and the relay;
[0036] The method further comprises:
[0037] Obtain the loop delay data of each relay response action and store it in association with the response time;
[0038] Based on the above-mentioned delay data of each loop, correct the response time of each response action of the relay and the theoretical function;
[0039] The method for obtaining the loop delay includes:
[0040] A first acquisition bit is set at the controller control instruction output terminal, and a first time signal is stored in response to the output of the control instruction; a second acquisition bit is set at the relay control instruction input terminal, and a second time signal is stored in response to the input of the control instruction; and the loop delay is generated based on the difference between the first time signal and the second time signal.
[0041] Since the response time of the relay usually changes in milliseconds as the relay ages, the extremely short time is easily interfered by the signal transmission time of the internal circuit. Through the above technical solution, the delay in the transmission of the signal in the controller in the control loop can be monitored, so that its influence can be included in the calculation of the response time, making the estimation of the response time more accurate and able to output a warning before the relay actually sticks.
[0042] Furthermore, when the response time and / or the theoretical time corresponding to the specific influencing factor exceeds a set value, an early warning signal is output, including:
[0043] Counting the response time of each relay to the control command and fitting and generating a first response time change curve, predicting the response time of the relay at a future set time based on the first change curve, and outputting a warning signal when it exceeds a first set value; or
[0044] Based on the theoretical function, a theoretical duration required for each response action of the relay under the influence of a single influencing factor is calculated and generated, and a second variation curve is generated. Based on the second variation curve, the response duration of the relay at a future set time is predicted, and when it exceeds the second set value, an early warning signal is output; or
[0045] Based on the theoretical function, the theoretical duration required for each response action of the relay under the influence of a combination of multiple influencing factors is calculated and generated, and a third change curve is generated. Based on the above third change curve, the response duration of the relay at a future set time is predicted, and when it exceeds the third set value, an early warning signal is output.
[0046] Through the above technical scheme, the changes in the relay response time can be counted and the possibility of relay adhesion at the future set time can be predicted, and a warning signal can be output in advance; since the influence of various influencing factors on the response time varies with time, the theoretical response time is obtained by analysis, and the influence of a single or multiple influencing factor combinations on the response time at the future set time is obtained by predicting the above theoretical time, so as to accurately predict the occurrence of adhesion and output a warning signal.
[0047] Furthermore, the method further comprises:
[0048] Obtaining the theoretical duration corresponding to each of the influencing factors and its correlation with the total duration of relay use;
[0049] It is determined that two types of influencing factors have linear and nonlinear effects on the response duration over time;
[0050] From the two types of influencing factors, the change curve of the torque of the return spring and the change curve of the adhesion force of the relay contact with the temperature are established;
[0051] Establishing a two-dimensional coordinate system with time as the horizontal axis and force magnitude as the vertical axis, obtaining the intersection point of the torque magnitude change curve and the adhesion force change curve from the coordinate system, and confirming the horizontal axis coordinate of the intersection point;
[0052] The time marked by the horizontal axis coordinate of the intersection point is used as the time when the relay adhesion occurs, and a time length is set before this time to output the early warning signal.
[0053] A relay adhesion warning system, comprising:
[0054] A response time acquisition module is configured to acquire a first time when the controller outputs a control instruction, and a second time when the relay completes a response action in response to the control instruction, and calculate and output the response time of the relay;
[0055] An influencing factor data acquisition module, configured to acquire and output data of various influencing factors when the relay responds according to the set influencing factors affecting the relay response time;
[0056] A data storage module, configured to receive the response duration and the data of various influencing factors and store them in association;
[0057] A theoretical duration generation module is configured to analyze and obtain the theoretical duration of the relay responding under the influence of each influencing factor or a combination thereof based on the generated correlation data;
[0058] An adhesion warning module is configured to output a warning signal when the response time and / or the theoretical time corresponding to the specific influencing factor exceeds a set value;
[0059] The influencing factors include: charging power, charging time, internal temperature of the charging gun, and total usage time before the relay responds.
[0060] Through the above technical solution, it is only necessary to configure the corresponding program algorithm in the controller, and combined with the current hardware configuration of the charging gun and the charging pile, the early warning of relay adhesion can be realized. It has low cost and high reliability, and can be used to transform the charging stations that have been installed and put into use, with good applicability.
[0061] Furthermore, the influencing factors also include the loop delay when the controller control instruction and the relay status confirmation signal are transmitted between the controller and the relay;
[0062] The early warning system also includes a loop delay confirmation module, including:
[0063] A first acquisition bit is provided at a control instruction output terminal of the controller, and stores a first time signal in response to the output of the control instruction;
[0064] A second acquisition bit is provided at the relay control instruction input terminal, and stores a second time signal in response to an input of a control instruction;
[0065] The loop delay is generated based on a calculation of a difference between the first time signal and the second time signal.
[0066] A device with a relay adhesion warning system comprises a device body, a data processor, a data storage device and a signal communicator, and is configured to implement the configuration function of the relay adhesion warning system as described above.
[0067] A computer-readable storage medium loaded with an algorithm program for implementing the relay adhesion early warning method as described above.
[0068] Through the above technical solution, the relay adhesion warning method described in the present application can be loaded into a specific storage medium, such as an already built charging station storage unit, and called when used, thereby increasing the scope of application of the method of the present application.
[0069] Compared with the prior art, the present invention has the following beneficial effects:
[0070] (1) By collecting and recording the response time of the relay to the control signal, the state of the relay is judged, and the probability of relay adhesion is predicted. An early warning can be output before the relay adhesion occurs to avoid the occurrence of adhesion;
[0071] (2) By introducing different influencing factors and combining them with historical response time data, the specific impact of each influencing factor on the relay response time can be determined. This can more accurately calculate and predict the probability of relay adhesion under specific usage or environmental conditions, and remind maintenance personnel to perform maintenance to avoid relay adhesion.
[0072] (3) By generating relevant prediction curves based on historical data, the functional status of each hardware component in the relay can be analyzed. When a functional module, such as the return spring, fails or is at risk of failure, an early warning can be output in a timely manner;
[0073] (4) The improvements involved in this application are all based on the existing hardware configuration of the charging gun or charging pile, and the original hardware modules are more reasonably allocated and managed to achieve the effect of relay adhesion warning. It is applicable to both charging stations that have been put into use and charging stations under construction. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1 The structure and schematic diagram of the electromagnetic relay;
[0075] Figure 2 The overall process diagram of this application method is as follows;
[0076] Figure 3 A flow chart for obtaining the theoretical response time of a relay (implementation method 1);
[0077] Figure 4 A flow chart for obtaining the theoretical response time of a relay (implementation method 2);
[0078] Figure 5 is a schematic diagram of the change of return spring torque and contact adhesion force over time;
[0079] Figure 6A flow chart showing whether to output a warning signal;
[0080] Figure 7 Schematic diagram of the control module of the system of the present invention.
[0081] Figure numerals: 1. contact; 2. return spring; 3. electromagnet; 4. armature; 5. response time acquisition module; 6. influencing factor data acquisition module; 7. data storage module; 8. theoretical time generation module; 9. adhesion warning module. DETAILED DESCRIPTION
[0082] The present invention will be further described in detail below in conjunction with embodiments and figures, but the embodiments of the present invention are not limited thereto.
[0083] A relay adhesion warning method is mainly used in new energy vehicle charging guns, such as Figure 2 As shown, the following steps are included:
[0084] S100, obtaining a first time when the controller outputs a control instruction, and confirming a second time when the relay completes a response action in response to the control instruction, and calculating and storing a response time of the relay;
[0085] S200, setting various influencing factors that affect the response time of the relay, obtaining data of various influencing factors when the relay responds and storing them in association with the response time;
[0086] S300, based on the generated correlation data, analyzing and obtaining the theoretical time length for the relay to respond under the influence of each influencing factor or a combination thereof;
[0087] S400: When the response time and / or the theoretical time corresponding to the specific influencing factor exceeds the set value, an early warning signal is output.
[0088] In the above step S100, the step of obtaining the first time when the controller outputs the control instruction includes: setting a detection site at the control signal output pin connected to the controller and the relay, collecting the high and low level changes of the control signal output pin, and recording the time when the above changes occur. In practical applications, if the calculation program for the later response time is also loaded in the chip where the controller is located, the timing module can be directly started in the program code. For example, when the algorithm program in the controller runs to the program statement that outputs the control signal to control the relay to turn on, the program statement of the timing module is directly introduced in the subsequent program statement, thereby recording the first time. The time from the processing core of the controller to the output of the pin signal of the control signal is often in microseconds or even nanoseconds, and its impact on the total response time can be ignored.
[0089] Confirming the second time when the relay completes the response action in response to the above control instruction mainly includes: based on the configured charging circuit current or voltage sensor, collecting the signal change of the above sensor and outputting it to the controller, and when the controller confirms that the above current or voltage signal is less than (relay off operation) or greater than (relay on operation) a certain set value, collecting and storing the above time as the second time.
[0090] By subtracting the first time from the second time, the response time of the relay can be calculated.
[0091] In actual applications, the response time of the relay will also be affected by various external and internal factors. For example, when the charging power is too high or the charging time is too long, the temperature of the relay contact will rise, causing the contact surface coating to oxidize or some grease impurities adhering to the contact surface to melt, which will eventually increase the adhesion between the contacts and affect the duration of the relay disconnection. Similarly, as the total length of time the relay is used increases, the torque of the return spring will become smaller and smaller, causing the contact disconnection to become slower and slower or even fail.
[0092] Based on the existence of the above-mentioned influencing factors, it is necessary to take the relevant influencing factors into consideration when calculating the estimated response time of the relay. To this end, in step S200 of the present application scheme, the category of influencing factors that affect the response time of the relay is first determined. Then, the influencing factors that affect the response time of the relay are set, including at least the following before the relay responds: charging power, charging time, internal temperature of the charging gun, and total use time. Among the above-mentioned influencing factors, the charging power, charging time, and internal temperature of the charging gun will have a significant impact on the disconnection time of the relay contacts, while the total use time will affect the torque of the return spring. The former is based on the change in the adhesion force of the contact surface caused by temperature changes, which affects the response time, and the latter is based on the impact of the return spring on the response time due to metal fatigue after long-term use. Theoretically, because the surface material of the contact melts for the first time after reaching the melting temperature, the crystal or atomic structure of the surface material will change. When the temperature reaches the melting temperature again, the melting speed will be faster, the amount of molten material will increase, and the adhesion force will increase sharply. When it reaches a certain value, the adhesion force will tend to be stable. The influence of the former changes with time in an "S" shape, while the latter is a gradually decreasing straight line.
[0093] In step S200, the corresponding data acquisition interface is configured to collect the influencing factor data, and after obtaining the influencing factor data when the relay responds, it is associated with the response time of the current relay and stored in a specific storage unit. The above-mentioned influencing factor data can be directly retrieved from the charging management system of the charging pile or charging station without the need for additional hardware configuration. The above-mentioned specific storage unit for storing the associated data group can be configured as a local memory or a cloud database.
[0094] In step S300, based on the generated correlation data, the theoretical time length of the relay responding under the influence of each influencing factor or its combination is analyzed. In one embodiment, Figure 3 As shown, further comprising:
[0095] S310, configuring variable parameters for each influencing factor and generating a multivariate function based on the parameters;
[0096] S311, based on the acquired data of each influencing factor and its associated response time, variable parameters of each influencing factor are calculated by introducing the multivariate function, and a theoretical function for characterizing the correlation between each influencing factor and the response time is generated based on the variable parameters;
[0097] S312, calculating based on the theoretical function to obtain the theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof.
[0098] Among them, each influencing factor data and its associated response time data are obtained by tracing back to a specific time or number of responses at the current moment, and the number of associated data groups is not less than the number of influencing factor categories.
[0099] In the above step S310, the multivariate function can adopt a multivariate linear function, and the sum of the products of each influencing factor and its variable parameter is the response time. The stored associated data group is input during the calculation, and the variable parameter value corresponding to each influencing factor can be calculated, and finally the theoretical function corresponding to the current moment is generated to obtain the theoretical time. It should be pointed out that the above variable parameters will change with the change of time. The above technical scheme can calculate the influence weight of each influencing factor on the response time according to the historical data of the influencing factor and the response time, and then accurately calculate the corresponding response time under the conditions of a specific influencing factor or its combination, so that the prejudgment is more accurate, and the early warning signal can be output before the relay is adhered due to one or more reasons.
[0100] In another embodiment, the theoretical time length of the relay to respond under the influence of each influencing factor or its combination is analyzed, such as Figure 4 As shown, further comprising:
[0101] S320, selecting one or more target impact factors and taking them as variable quantities, and taking the remaining impact factors as constant quantities;
[0102] S321, tracing back a specific time length or response number based on the current time in the stored associated data until a set number of associated data groups with the same constant quantity are obtained;
[0103] S322, based on the associated data group, calculating and analyzing the association between each change amount and the response time, and obtaining a relationship function between the impact factor corresponding to the change amount and the response time;
[0104] S323, repeating the above method to obtain a relationship function between each influencing factor and the response time, and generating a theoretical function for characterizing the correlation between each influencing factor and the response time based on each relationship function;
[0105] S324, calculating based on the theoretical function to obtain the theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof.
[0106] The above technical solution can calculate the trend of the relationship between each influencing factor and the response time over time based on the historical data of the influencing factor and the response time, so that the relationship between the influencing factor and the response time at the future set time can be calculated through one or more influencing factors. When one or more of the influencing factors reaches the set value, an early warning is output, which can prompt relevant personnel to perform maintenance before the relay sticks. The advantage of the above solution is that it can help charging station maintenance personnel know the impact of specific influencing factors on the response time in advance, and then make targeted maintenance and optimization measures.
[0107] In practical applications, the response time of the relay is usually in the millisecond level as the relay ages, and the extremely short time is easily affected by the internal circuit signal transmission time. Therefore, the influencing factors also include the loop delay when the controller control command and the relay status confirmation signal are transmitted between the controller and the relay.
[0108] The method for obtaining the loop delay includes:
[0109] A first acquisition bit is set at the controller control instruction output terminal, and a first time signal is stored in response to the output of the control instruction; a second acquisition bit is set at the relay control instruction input terminal, and a second time signal is stored in response to the input of the control instruction; and a loop delay is generated based on the difference between the first time signal and the second time signal.
[0110] After taking into account the influence of control loop delay, the method further includes:
[0111] Obtain the loop delay data of each relay response action and store it in association with the response time;
[0112] Based on the above-mentioned delay data of each circuit, the response time and theoretical function of each response action of the relay are corrected.
[0113] Through the above technical solution, the delay of the signal in the controller during transmission in the control loop can be monitored, so that its influence can be taken into account when calculating the response time, making the estimation of the response time more accurate and being able to output a warning before the relay actually sticks.
[0114] In practical applications, step S400 includes two implementation methods.
[0115] In one embodiment, when the response time exceeds a set value, an early warning signal is output, that is, the state of the relay is determined as a whole based on the response time.
[0116] In another embodiment, it further comprises:
[0117] S410, counting the response time of each relay to the control command and fitting and generating a first response time change curve, predicting the response time of the relay at a future set time based on the first change curve, and outputting a warning signal when it exceeds a first set value; or
[0118] S411, based on the theoretical function calculation, generate the theoretical duration required for each response action of the relay under the influence of a single influencing factor, generate a second change curve, and predict the response duration of the relay at a future set time based on the second change curve. When it exceeds the second set value, output a warning signal; or
[0119] S412, based on the theoretical function calculation, the theoretical duration required for each response action of the relay under the influence of a combination of multiple influencing factors is generated, and a third change curve is generated. Based on the third change curve, the response duration of the relay at a future set time is predicted, and when it exceeds the third set value, an early warning signal is output.
[0120] In the above step S410, a prediction curve is generated based on the historical response time, and then the response time of the relay within the future set time is determined according to the above prediction curve, so that an early warning can be output.
[0121] The above steps S411 and S412 can predict the response time for a single influencing factor or a combination of multiple influencing factors, and at the same time, can also predict the hardware conditions of the relay.
[0122] In a specific embodiment, the relay adhesion warning method described in the present application further includes:
[0123] S420, obtaining the theoretical duration corresponding to each influencing factor and its correlation with the total duration of relay use, combined with Figure 5 and Figure 6As shown, for example, as time goes by, the theoretical time corresponding to the return spring torque in the relay will become longer and longer, and the theoretical time corresponding to the charging power will also become longer and longer (because the change in the crystal structure of the contact surface makes it easier for the surface material to melt and then adhere after the temperature rises).
[0124] S421, it is determined that two types of influencing factors are linear and nonlinear in their effects on the response duration over time. In practice, the torque reduction caused by metal fatigue can be regarded as linear, while the crystal structure change caused by material melting is nonlinear.
[0125] S422, establishing a torque change curve of the return spring and a contact adhesion force change curve of the relay as the adhesion force changes with temperature from the two types of influencing factors.
[0126] S423, establish a two-dimensional coordinate system with time as the horizontal axis and force magnitude as the vertical axis, obtain the intersection point of the torque magnitude change curve and the adhesion force change curve from the coordinate system, and confirm the horizontal axis coordinate of the above intersection point. Figure 5 As shown in the figure, the horizontal axis is the total time T of the relay in use, and the vertical axis is the contact force F that affects the response time. Among them, the downward sloping curve b is the curve of the change of the torque of the return spring over time, and the S-shaped curve a is the curve of the change of the contact adhesion force over time. The above curves are less affected by temperature changes in the initial state, and then due to the change of the crystal structure of the contact surface, they are increasingly affected by temperature changes, and the adhesion force becomes stronger and stronger.
[0127] S424, the time marked by the horizontal axis coordinate of the intersection point is used as the time when the relay adhesion occurs, and a time length is set before this time to output a warning signal. Before the above-mentioned intersection point (the horizontal axis is T1), the torque of the return spring is greater than the adhesion force between the contacts. At this time, the relay can still work normally in theory, and after the intersection point, the torque of the return spring is less than the adhesion force between the contacts, then the relay is very likely to stick. Therefore, we can set the time T0 before the intersection point as the warning value (the time between T0-T1 is the reserved warning time). When the total use time of the relay exceeds the above-mentioned warning value, a warning signal is output to avoid the occurrence of relay adhesion.
[0128] The beneficial effect of the present application is that by counting the changes in the relay response time, the possibility of relay adhesion at the future set time can be predicted, and a warning signal can be output in advance. Compared with voltage or current detection, it has the function of early warning, and no new hardware configuration is required. The relevant functions can be realized by using the existing hardware configuration in the charging gun or charging station. Since the influence of each influencing factor on the response time varies with time, the theoretical response time is obtained by analysis, and the influence of a single or multiple influencing factor combinations on the response time at the future set time is obtained by predicting the above theoretical time, so as to accurately predict the occurrence of adhesion and output a warning signal.
[0129] To implement the above method, the present application also proposes to protect a relay adhesion warning system, such as Figure 7 As shown, it mainly includes a response time acquisition module 5, an impact factor data acquisition module 6, a data storage module 7, a theoretical time generation module 8 and an adhesion warning module 9.
[0130] The response time acquisition module 5 is configured to acquire the first time when the controller outputs the control instruction, and the second time when the relay completes the response action in response to the control instruction, calculate and generate the response time of the relay and output it. In a specific application, the above response time can be collected using the signal input pin of the controller, such as setting a detection point at the control signal output pin, and then reversely collecting the above control signal to the inside of the controller, and taking the above time as the first time. Similarly, the second time is determined according to the change of voltage or current in the charging circuit. The above change of current or voltage is realized by relevant sensors, for example, the current sensor collects the current of the charging circuit to determine the open and closed state of the relay.
[0131] The influencing factor data acquisition module 6 is configured to acquire and output the data of each influencing factor when the relay responds according to the influencing factors that affect the relay response time. Since the charging gun or charging pile will record the information data such as charging power and charging time in actual applications, the influencing factor data can be directly acquired and output by the data interface of the hardware.
[0132] The data storage module 7 is configured to receive the response duration and the data of each influencing factor and store them in association. In practical applications, the data storage module 7 can be configured as a cloud database to facilitate the retrieval and sharing of relevant data.
[0133] The theoretical duration generation module 8 is configured to analyze and obtain the theoretical duration of the relay responding under the influence of each influencing factor or its combination based on the generated correlation data. The above-mentioned theoretical duration generation module 8 is an algorithm program module, which can be loaded and stored in the controller or in the cloud server, and is used to receive the set data and then perform relevant calculations to obtain the theoretical duration.
[0134] The adhesion warning module 9 is configured to output a warning signal when the response time and / or the theoretical time corresponding to the specific influencing factor exceeds the set value. The adhesion warning module 9 is mainly used to compare and output warnings. The relevant comparison operation can be implemented by the comparison algorithm loaded in the controller. The warning signal can be output from the cloud server or by the controller. Since the controller itself has data communication with the charging station management system, the warning signal can be directly output to the charging station management system.
[0135] In order to reduce the influence of control loop signal delay on the response time calculation result, the influencing factors also include the loop delay when the controller control command and the relay status confirmation signal are transmitted between the controller and the relay.
[0136] Correspondingly, the early warning system also includes a loop delay confirmation module, including a first collection position and a second collection position.
[0137] The first acquisition bit is set at the controller control instruction output terminal, and stores the first time signal in response to the output of the control instruction. The second acquisition bit is set at the relay control instruction input terminal, and stores the second time signal in response to the input of the control instruction. The loop delay is calculated based on the difference between the first time signal and the second time signal.
[0138] The relay adhesion warning system in the present application scheme can be applied to a variety of application scenarios, especially to the field of new energy vehicle charging. Here, the present application also proposes to protect a device with a relay adhesion warning system, including a device body, such as a charging pile or a charging gun, and also including a data processor, a data storage device and a signal communicator, all of which are configured to realize the functions of the relay adhesion warning system as mentioned above.
[0139] It can be known from the description of the above method and system that the relay adhesion warning method involved in this application needs to be implemented with the help of relevant software and necessary hardware platforms. To this end, this application also protects a specific computer-readable storage medium, which is loaded with an algorithm program for implementing the relay adhesion warning method as described above, including but not limited to ROM / RAM, disk, and optical disk in practical applications.
[0140] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A relay adhesion warning method, It is characterized in that include: Obtaining a first time when the controller outputs a control instruction and a second time when the relay completes a response action in response to the control instruction, calculating and storing a response duration of the relay; Set various influencing factors that affect the response time of the relay, obtain the data of various influencing factors when the relay responds, and store them in association with the response time; Based on the generated correlation data, the theoretical time for the relay to respond under the influence of each influencing factor or its combination is analyzed; When the response time and / or the theoretical time corresponding to the specific influencing factor exceeds the set value, an early warning signal is output; The step of obtaining the data of various influencing factors when the relay responds and storing the data in association with the response duration includes: Determine the type of influencing factors that affect the relay response time, and configure the corresponding data acquisition interface to collect influencing factor data; Each influencing factor is associated with the response time and stored in a specific deposit unit to form an associated data group; The influencing factors include: charging power, charging time, internal temperature of the charging gun, and total usage time before the relay responds; The theoretical time it takes for the relay to respond under the influence of various influencing factors or their combination is analyzed, including: Configure variable parameters for each influencing factor and generate multivariate functions; Based on the acquired data of each influencing factor and its associated response time, a variable parameter of each influencing factor is calculated by introducing the multivariate function, and a theoretical function for characterizing the correlation between each influencing factor and the response time is generated based on the variable parameter; Based on the theoretical function, the theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof is calculated; Among them, each impact factor data and its associated response time data are obtained by tracing back to a specific time or response times at the current moment, and the number of associated data groups is not less than the number of impact factor categories; or, The theoretical time it takes for the relay to respond under the influence of various influencing factors or their combination is analyzed, including: One or more target impact factors are selected and used as the variable, and the remaining impact factors are used as constants; In the stored associated data, tracing back a specific time length or number of responses based on the current time, until a set number of associated data groups with the same constant quantity are obtained; Based on the associated data group, the associated relationship between each change amount and the response time is calculated and analyzed to obtain a relationship function between the impact factor corresponding to the change amount and the response time; Repeat the above steps to obtain a relationship function between each influencing factor and the response time, and generate a theoretical function for characterizing the correlation between each influencing factor and the response time based on each of the relationship functions; The theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof is calculated based on the theoretical function.
2. The relay adhesion early warning method according to claim 1, It is characterized in that The influencing factors also include the loop delay when the controller control instruction and the relay status confirmation signal are transmitted between the controller and the relay; The method further comprises: Obtain the loop delay data of each relay response action and store it in association with the response time; Based on the above-mentioned delay data of each loop, correct the response time of each response action of the relay and the theoretical function; The method for obtaining the loop delay includes: A first acquisition bit is set at the controller control instruction output terminal, and a first time signal is stored in response to the output of the control instruction; a second acquisition bit is set at the relay control instruction input terminal, and a second time signal is stored in response to the input of the control instruction; and the loop delay is generated based on the difference between the first time signal and the second time signal.
3. The relay adhesion early warning method according to claim 2, It is characterized in that When the response time and / or the theoretical time corresponding to the specific impact factor exceeds the set value, an early warning signal is output, including: Counting the response time of each relay to the control command and fitting and generating a first response time change curve, predicting the response time of the relay at a future set time based on the first change curve, and outputting a warning signal when it exceeds a first set value; or Based on the theoretical function, a theoretical duration required for each response action of the relay under the influence of a single influencing factor is calculated and generated, and a second variation curve is generated. Based on the second variation curve, the response duration of the relay at a future set time is predicted, and when it exceeds a second set value, an early warning signal is output; or Based on the theoretical function, the theoretical duration required for each response action of the relay under the influence of a combination of multiple influencing factors is calculated and generated, and a third change curve is generated. Based on the above third change curve, the response duration of the relay at a future set time is predicted, and when it exceeds the third set value, an early warning signal is output.
4. The relay adhesion early warning method according to claim 3, It is characterized in that The method further comprises: Obtaining the theoretical duration corresponding to each of the influencing factors and its correlation with the total duration of relay use; It is determined that two types of influencing factors have linear and nonlinear effects on the response duration over time; From the two types of influencing factors, the change curve of the torque of the return spring and the change curve of the adhesion force of the relay contact with the temperature are established; Establishing a two-dimensional coordinate system with time as the horizontal axis and force magnitude as the vertical axis, obtaining the intersection point of the torque magnitude change curve and the adhesion force change curve from the coordinate system, and confirming the horizontal axis coordinate of the intersection point; The time marked by the horizontal axis coordinate of the intersection point is used as the time when the relay adhesion occurs, and a time length is set before this time to output the early warning signal.
5. A relay adhesion warning system, It is characterized in that include: A response time acquisition module (5) is configured to acquire a first time when the controller outputs a control instruction and a second time when the relay completes a response action in response to the control instruction, calculate and generate a response time of the relay and output it; An influence factor data acquisition module (6) is configured to acquire and output the data of each influence factor when the relay responds according to the influence factors that are set to affect the relay response time; A data storage module (7), configured to receive the response duration and the data of various influencing factors and store them in association; A theoretical duration generation module (8) is configured to analyze and obtain the theoretical duration of the relay responding under the influence of each influencing factor or a combination thereof based on the generated correlation data; An adhesion warning module (9) is configured to output a warning signal when the response time and / or the theoretical time corresponding to the specific influencing factor exceeds a set value; The influencing factors include: charging power, charging time, internal temperature of the charging gun, and total usage time before the relay responds; The step of obtaining the data of various influencing factors when the relay responds and storing the data in association with the response duration includes: Determine the type of influencing factors that affect the relay response time, and configure the corresponding data acquisition interface to collect influencing factor data; Each influencing factor is associated with the response time and stored in a specific deposit unit to form an associated data group; The influencing factors include: charging power, charging time, internal temperature of the charging gun, and total usage time before the relay responds; The theoretical time it takes for the relay to respond under the influence of various influencing factors or their combination is analyzed, including: Configure variable parameters for each influencing factor and generate multivariate functions; Based on the acquired data of each influencing factor and its associated response time, a variable parameter of each influencing factor is calculated by introducing the multivariate function, and a theoretical function for characterizing the correlation between each influencing factor and the response time is generated based on the variable parameter; Based on the theoretical function, the theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof is calculated; Among them, each impact factor data and its associated response time data are obtained by tracing back to a specific time or response times at the current moment, and the number of associated data groups is not less than the number of impact factor categories; or, The theoretical time it takes for the relay to respond under the influence of various influencing factors or their combination is analyzed, including: One or more target impact factors are selected and used as the variable, and the remaining impact factors are used as constants; In the stored associated data, tracing back a specific time length or number of responses based on the current time, until a set number of associated data groups with the same constant quantity are obtained; Based on the associated data group, the associated relationship between each change amount and the response time is calculated and analyzed to obtain a relationship function between the impact factor corresponding to the change amount and the response time; Repeat the above steps to obtain a relationship function between each influencing factor and the response time, and generate a theoretical function for characterizing the correlation between each influencing factor and the response time based on each of the relationship functions; The theoretical time required for the relay to respond under the influence of each influencing factor or a combination thereof is calculated based on the theoretical function.
6. The relay adhesion warning system according to claim 5, It is characterized in that The influencing factors also include the loop delay when the controller control instruction and the relay status confirmation signal are transmitted between the controller and the relay; The early warning system also includes a loop delay confirmation module, including: A first acquisition bit is provided at a control instruction output terminal of the controller, and stores a first time signal in response to the output of the control instruction; A second acquisition bit is provided at the relay control instruction input terminal, and stores a second time signal in response to an input of a control instruction; The loop delay is generated based on a calculation of a difference between the first time signal and the second time signal.
7. A device with a relay adhesion warning system, comprising a device body, It is characterized in that It also includes a data processor, a data storage device, a signal communicator, and the relay adhesion warning system as described in claim 5 or 6.
8. A computer-readable storage medium, It is characterized in that An algorithm program for implementing the relay adhesion early warning method as described in any one of claims 1 to 4 is loaded.
