Method for predicting service life of relay, electronic equipment and storage medium
By combining the number of mechanical switching cycles, the number of load-bearing switching cycles, and the actual contact resistance, a multi-dimensional life prediction of high-voltage relays is achieved, solving the problem of insufficient prediction accuracy in existing technologies and improving vehicle safety and user experience.
Patent Information
- Application Number
- CN202511932044.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-03-03
AI Technical Summary
Existing methods for predicting the lifespan of high-voltage relays have limited reference dimensions and poor prediction accuracy, resulting in the inability of high-voltage systems to disconnect in a timely manner, which affects vehicle safety and the user's driving experience.
By acquiring the mechanical switching count, load breaking count, and actual contact resistance of the high-voltage relay, and combining multi-dimensional parameters, the remaining life of the relay is predicted. This includes predicting the remaining life of the first and second dimensions based on the mechanical switching count and load breaking count, and using the actual contact resistance to determine the correction coefficient, thus achieving accurate life prediction covering all scenarios.
This improves the accuracy of high-voltage relay remaining life prediction, avoiding the problem of high-voltage systems failing to disconnect in time due to inaccurate predictions, thus ensuring vehicle safety and the user's driving experience.
Smart Images

Figure CN121596094A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of high-voltage relay technology, and more specifically, to a method, electronic device, and storage medium for predicting relay life in the field of high-voltage relay technology. Background Technology
[0002] Currently, during the use of new energy vehicles, the problem of the high-voltage system failing to disconnect in time due to the sticking of high-voltage relays frequently occurs. The inability of the high-voltage system to disconnect in time can easily lead to great safety problems. For example, in extreme abnormal conditions such as collisions or thermal runaway, if the high-voltage system cannot disconnect in time, it will bring immeasurable loss of life and property to users.
[0003] Current methods for predicting the lifespan of high-voltage relays rely on a limited set of reference dimensions and have poor accuracy, which impacts vehicle safety and the user's driving experience. Summary of the Invention
[0004] This application provides a method, electronic device, and storage medium for predicting the lifespan of a relay. The method can predict the remaining lifespan of a high-voltage relay across all scenarios, improve the accuracy of the prediction, and enhance vehicle safety and the user's driving experience.
[0005] In a first aspect, a method for predicting the lifespan of a relay is provided. The method includes: obtaining the number of mechanical switching operations and the number of load-bearing disconnections of a high-voltage relay within a preset time period; determining the actual contact resistance of the high-voltage relay when it is in a closed state; and predicting the actual remaining lifespan of the high-voltage relay by combining the number of mechanical switching operations, the number of load-bearing disconnections, and the actual contact resistance.
[0006] In the above technical solution, the mechanical switching count reflects the mechanical usage of the high-voltage relay, the load breaking count reflects the electrical usage, and the actual contact resistance reflects the actual wear of the high-voltage relay. By combining the mechanical switching count, the load breaking count, and the actual contact resistance, the actual remaining life of the high-voltage relay is predicted. This comprehensively considers the parameters affecting the life of the high-voltage relay, enabling predictions covering all scenarios. This improves the accuracy of the high-voltage relay's remaining life prediction, avoids safety issues caused by inaccurate predictions leading to high-voltage relay sticking and the inability to disconnect the high-voltage system in time, ensures vehicle safety, and improves the user's driving experience.
[0007] In conjunction with the first aspect, in some possible implementations, the actual remaining life of the high-voltage relay is predicted by combining the number of mechanical switching operations, the number of load-bearing disconnections, and the actual contact resistance. This includes: predicting the remaining life of the high-voltage relay in the first dimension based on the number of mechanical switching operations; predicting the remaining life of the high-voltage relay in the second dimension based on the number of load-bearing disconnections; determining a correction factor based on the actual contact resistance; and predicting the actual remaining life of the high-voltage relay by combining the remaining life in the first dimension, the remaining life in the second dimension, and the correction factor.
[0008] In the above technical solution, the remaining life of the high-voltage relay in different dimensions is predicted based on the number of mechanical switching and the number of on-load switching, respectively. The life loss of the relay in different dimensions is considered, and the correction coefficient is determined based on the actual contact resistance. The loss in the two dimensions can be corrected, making the predicted remaining life more accurate.
[0009] Combining the first aspect and the above implementation methods, in some possible implementation methods, the remaining life of the high-voltage relay in the first dimension is predicted based on the number of mechanical switching operations, including: determining the maximum number of mechanical switching operations of the high-voltage relay; determining the remaining number of mechanical switching operations based on the maximum number of mechanical switching operations and the total number of mechanical switching operations; and predicting the remaining life of the high-voltage relay in the first dimension based on the remaining number of mechanical switching operations and the maximum number of mechanical switching operations.
[0010] In the above technical solution, by determining the maximum number of mechanical switching operations of the relay, the remaining number of mechanical switching operations can be calculated based on the maximum number of mechanical switching operations and the obtained number of mechanical switching operations. Then, based on the remaining number of mechanical switching operations, the remaining life of the high-voltage relay in the first dimension can be predicted efficiently and accurately.
[0011] Combining the first aspect and the above implementation methods, in some possible implementation methods, the remaining life of the high-voltage relay in the second dimension is predicted based on the number of load breaking operations, including: determining the maximum number of load breaking operations corresponding to each load breaking current interval; calculating the remaining number of load breaking operations corresponding to each load breaking current interval based on the number of load breaking operations and the maximum number of load breaking operations; and predicting the remaining life of the high-voltage relay in the second dimension based on the remaining number of load breaking operations and the maximum number of load breaking operations corresponding to each load breaking current interval.
[0012] In the above technical solution, by dividing the load breaking current interval, the maximum number of load breaking cycles corresponding to different load breaking current intervals may be different. Consequently, the impact of load breaking on the remaining life of the high-voltage relay is different. By dividing the load breaking current interval and determining the remaining number of load breaking cycles corresponding to each load breaking current interval, the remaining life of the high-voltage relay in the second dimension can be predicted more accurately.
[0013] Combining the first aspect and the above implementation methods, in some possible implementation methods, based on the remaining number of load breaking cycles and the maximum number of load breaking cycles corresponding to each load breaking current interval, the remaining life of the high-voltage relay in the second dimension is predicted, including: for each load breaking current interval, calculating the ratio between the remaining number of load breaking cycles corresponding to the load breaking current interval and the maximum number of load breaking cycles corresponding to the load breaking current interval, to obtain the ratio corresponding to each load breaking current interval; multiplying the ratios corresponding to each load breaking current interval to obtain the remaining life of the high-voltage relay in the second dimension.
[0014] Combining the first aspect and the above implementation methods, in some possible implementation methods, determining the correction coefficient based on the actual contact resistance includes: determining the target resistance range where the actual contact resistance is located from multiple preset resistance ranges; finding a preset correspondence based on the target resistance range to obtain the correction coefficient; the preset correspondence includes the correspondence between multiple preset resistance ranges and the correction coefficient.
[0015] In the above technical solution, by dividing multiple preset resistance ranges and calibrating the corresponding correction coefficients for multiple resistance ranges, a preset correspondence is obtained, which simplifies the method of determining the correction coefficient based on contact resistance and facilitates the rapid calculation of the actual remaining life of the high-voltage relay.
[0016] In combination with the first aspect and the above implementation methods, in some possible implementation methods, when the high-voltage relay is in the closed state, determining the actual contact resistance of the high-voltage relay includes: when the high-voltage relay is in the closed state, obtaining the voltage difference between the input and output terminals of the high-voltage relay and obtaining the current through the high-voltage relay; and calculating the contact resistance based on the voltage difference and the current.
[0017] In the above technical solution, by obtaining the voltage difference between the input and output terminals of the high-voltage relay in the closed state and the current flowing through the high-voltage relay, the actual contact resistance of the high-voltage relay can be calculated accurately and efficiently.
[0018] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: if the actual contact resistance of the high-voltage relay cannot be obtained, then the continuous overcurrent operating time and the maximum overcurrent withstand time of the high-voltage relay are obtained; and a correction coefficient is determined based on the continuous overcurrent operating time and the maximum overcurrent withstand time.
[0019] In the above technical solution, the correction coefficient is determined by the relevant parameters of the overcurrent condition to correct the remaining life of the high-voltage relay, which further solves the limitations of traditional single-index life prediction and ensures that accurate and high-confidence life assessment can be achieved under all operating conditions.
[0020] Secondly, an apparatus for predicting the lifespan of a relay is provided. The apparatus includes: an acquisition module for acquiring the number of mechanical switching operations and the number of load-bearing disconnections of a high-voltage relay within a preset time period; a determination module for determining the actual contact resistance of the high-voltage relay when the high-voltage relay is in a closed state; and a prediction module for predicting the actual remaining lifespan of the high-voltage relay by combining the number of mechanical switching operations, the number of load-bearing disconnections, and the actual contact resistance.
[0021] In conjunction with the second aspect, in some possible implementations, the prediction module is specifically used to: predict the remaining life of the high-voltage relay in the first dimension based on the number of mechanical switching operations; predict the remaining life of the high-voltage relay in the second dimension based on the number of load disconnections; determine the correction factor based on the actual contact resistance; and predict the actual remaining life of the high-voltage relay by combining the remaining life in the first dimension, the remaining life in the second dimension, and the correction factor.
[0022] Combining the second aspect and the above implementation methods, in some possible implementation methods, the prediction module is specifically used to: determine the maximum number of mechanical switching operations of the high-voltage relay; based on the maximum number of mechanical switching operations and the total number of mechanical switching operations, determine the remaining number of mechanical switching operations; and based on the remaining number of mechanical switching operations and the maximum number of mechanical switching operations, predict the remaining lifespan of the high-voltage relay in the first dimension.
[0023] Combining the second aspect and the above implementation methods, in some possible implementation methods, the prediction module is specifically used to: determine the maximum number of load breaking operations corresponding to each load breaking current interval; calculate the remaining number of load breaking operations corresponding to each load breaking current interval based on the number of load breaking operations and the maximum number of load breaking operations; and predict the remaining life of the high-voltage relay in the second dimension based on the remaining number of load breaking operations and the maximum number of load breaking operations corresponding to each load breaking current interval.
[0024] Combining the second aspect and the above implementation methods, in some possible implementation methods, the prediction module is specifically used to: for each load breaking current interval, calculate the ratio between the remaining load breaking count corresponding to the load breaking current interval and the maximum load breaking count corresponding to the load breaking current interval, to obtain the ratio corresponding to each load breaking current interval; multiply the ratio corresponding to each load breaking current interval to obtain the remaining life of the high voltage relay in the second dimension.
[0025] Combining the second aspect and the above implementation methods, in some possible implementation methods, the prediction module is specifically used to: determine the target resistance range where the actual contact resistance is located from multiple preset resistance ranges; find a preset correspondence based on the target resistance range to obtain a correction coefficient; the preset correspondence includes the correspondence between multiple preset resistance ranges and correction coefficients.
[0026] Combining the second aspect and the above implementation methods, in some possible implementation methods, the determining module is specifically used to: obtain the voltage difference between the input and output terminals of the high-voltage relay when the high-voltage relay is in the closed state, and obtain the current passing through the high-voltage relay; and calculate the contact resistance based on the voltage difference and current.
[0027] In conjunction with the second aspect and the above implementation methods, in some possible implementation methods, the prediction module is also used to: if the actual contact resistance of the high-voltage relay cannot be obtained, obtain the continuous overcurrent operating time and the maximum overcurrent withstand time of the high-voltage relay; and determine the correction coefficient based on the continuous overcurrent operating time and the maximum overcurrent withstand time.
[0028] Thirdly, an electronic device is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the electronic device to perform the methods of the first aspect or any possible implementation thereof.
[0029] Fourthly, this application provides a vehicle including an electronic device for performing the methods described in the first aspect or any of the embodiments described above.
[0030] Fifthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0031] In a sixth aspect, a non-volatile storage medium is provided, which stores computer program code that, when executed on a computer, causes the computer to perform the method described in the first aspect or any possible implementation thereof. Attached Figure Description
[0032] Figure 1 This is a schematic flowchart illustrating a method for predicting relay lifespan provided in an embodiment of this application.
[0033] Figure 2 This is a schematic flowchart illustrating another method for predicting relay lifespan provided in an embodiment of this application.
[0034] Figure 3 This is a schematic diagram of a device for predicting relay life provided in an embodiment of this application.
[0035] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0036] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0037] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0038] Currently, during the use of new energy vehicles, the problem of the high-voltage system failing to disconnect in time due to the sticking of high-voltage relays frequently occurs. The inability of the high-voltage system to disconnect in time can easily lead to great safety problems. For example, in extreme abnormal conditions such as collisions or thermal runaway, if the high-voltage system cannot disconnect in time, it will bring immeasurable loss of life and property to users.
[0039] Current methods for predicting the lifespan of high-voltage relays rely on a single reference dimension, cannot cover all scenarios, and have poor prediction accuracy, which affects vehicle safety and the user's driving experience.
[0040] Based on this, this application proposes a method for predicting relay lifespan, which can cover all scenarios, improve prediction accuracy, and thus ensure vehicle safety and improve the user's driving experience.
[0041] Figure 1 This is a schematic flowchart illustrating a method for predicting relay lifespan according to an embodiment of this application. The method is applied to electronic devices, specifically vehicles.
[0042] For example, such as Figure 1 As shown, the method 100 includes: Step 101: Obtain the number of mechanical switching and the number of load switching of the high-voltage relay within a preset time period; Step 102: With the high-voltage relay in the closed state, determine the actual contact resistance of the high-voltage relay; Step 103: Combine the number of mechanical switching cycles, the number of load switching cycles, and the actual contact resistance to predict the actual remaining life of the high-voltage relay.
[0043] exist Figure 1In the illustrated embodiment, the mechanical switching count reflects the mechanical usage of the high-voltage relay, the load breaking count reflects its electrical usage, and the actual contact resistance reflects its actual wear. By combining the mechanical switching count, the load breaking count, and the actual contact resistance, the actual remaining lifespan of the high-voltage relay is predicted. This comprehensively considers the parameters affecting the lifespan of the high-voltage relay, enabling predictions across all scenarios. This improves the accuracy of the high-voltage relay's remaining lifespan prediction, avoids safety issues caused by inaccurate predictions leading to high-voltage relay sticking and the inability to disconnect the high-voltage system in a timely manner, ensures vehicle safety, and enhances the user's driving experience.
[0044] The following is about Figure 1 The specific implementation methods of each step in the illustrated embodiments are explained in detail below: In step 101, the high-voltage relay is the core "switching element" in the high-voltage system of new energy vehicles. Its main function is to realize reliable connection or disconnection control of the high-voltage circuit under high voltage and high current conditions.
[0045] High-voltage relays have open and closed states. When the high-voltage relay is in the open state, it cuts off the high-voltage circuit; when the high-voltage relay is in the closed state, it connects the high-voltage circuit.
[0046] The preset duration is a pre-defined historical timeframe used to define the time range for obtaining the mechanical switching count and load breaking count of the high-voltage relay. In this application, the mechanical switching count and load breaking count are used to predict the remaining lifespan of the high-voltage relay, thus requiring the acquisition of these counts from the time the high-voltage relay was installed to the current moment. Therefore, the preset duration in this embodiment can specifically be the time from the time the high-voltage relay was installed to the current moment.
[0047] The aforementioned mechanical switching count refers to the cumulative number of times the high-voltage relay completes "closing and opening" using its mechanical structure. For example, if the current mechanical switching count is "1 time," and the high-voltage relay is controlled to close and then opened, the mechanical switching count increases by 1, resulting in a cumulative mechanical switching count of "2 times." The mechanical switching count includes the number of times the high-voltage relay "closes and opens" under no-load (no current, no voltage) conditions, as well as the number of times the high-voltage relay "closes and opens" under load (current or voltage) conditions.
[0048] The number of load-bearing disconnections refers to the cumulative number of times a high-voltage relay, under load conditions, changes from the on-state (i.e., the closed state with load) to the off-state. For example, if the current load-bearing disconnection count is "3 times", and the high-voltage relay is in the closed state with current, and then disconnects under the current condition, the load-bearing disconnection count is incremented by 1, resulting in a cumulative load-bearing disconnection count of "4 times".
[0049] When it is necessary to predict the remaining life of a high-voltage relay, the number of mechanical on / off cycles and the number of load-bearing disconnections within a preset time period from the time of installation to the current time can be obtained.
[0050] In step 102, the contact resistance of the high-voltage relay refers to the resistance generated when the current flows through the contact interface between the moving and stationary contacts when the high-voltage relay contacts are closed.
[0051] After obtaining the number of mechanical switching times and the number of load switching times of the high-voltage relay within a preset time period, the contact resistance of the high-voltage relay can be determined when the high-voltage relay is in the closed state.
[0052] In one possible implementation, determining the actual contact resistance of the high-voltage relay when the high-voltage relay is in the closed state includes: obtaining the voltage difference between the input and output terminals of the high-voltage relay and obtaining the current flowing through the high-voltage relay when the high-voltage relay is in the closed state; and calculating the contact resistance based on the voltage difference and the current.
[0053] In this context, the input terminal of a high-voltage relay refers to the terminal where current flows into the high-voltage relay, and this input terminal is typically directly connected to the high-voltage output terminal of the power battery. The output terminal of a high-voltage relay refers to the terminal where current flows out of the high-voltage relay, and this output terminal is typically connected to the busbar on the high-voltage load side of the vehicle.
[0054] In one implementation method, the voltage at the input terminal and the voltage at the output terminal of the high-voltage relay can be obtained, and the difference between the two voltages can be calculated to obtain the voltage difference between the input and output terminals of the high-voltage relay.
[0055] For example, assuming the high-voltage main circuit of a new energy vehicle is in a closed, load-bearing state, the high-voltage relay is sampled by the high-voltage sampling module of the battery management system, yielding the following voltage values: input voltage Uin = 342.5 V, output voltage Uout = 342.38 V. The voltage difference ΔU is calculated using the formula: ΔU = Uin Substituting Uout into the calculation, we get the voltage difference ΔU = 342.5 V. 342.38 V = 0.12 V.
[0056] The current passing through the high-voltage relay is the current in the high-voltage circuit. This current can be obtained by monitoring the current in the high-voltage circuit through the battery management system. After obtaining the current through the high-voltage relay, dividing the voltage difference by the current gives the actual contact resistance of the high-voltage relay.
[0057] For example, with a current of I=120A through the high-voltage relay, the actual contact resistance of the high-voltage relay can be calculated according to Ohm's law as Rc=ΔU / I=0.12 V / 120A=0.001Ω (ohms)=1mΩ (milliohms).
[0058] In the above method, by obtaining the voltage difference between the input and output terminals of the high-voltage relay in the closed state and the current flowing through the high-voltage relay, the actual contact resistance of the high-voltage relay can be calculated accurately and efficiently.
[0059] In step 103, the loss of life of the high-voltage relay can be predicted based on the number of mechanical switching, the number of load switching, and the actual contact resistance, thereby predicting the actual remaining life of the high-voltage relay.
[0060] One implementation method is to determine the lifespan loss of the high-voltage relay caused by each mechanical switching, and multiply the number of mechanical switching operations by the lifespan loss caused by each mechanical switching operation to obtain the lifespan loss predicted by the number of mechanical switching operations. Alternatively, the lifespan loss of the high-voltage relay caused by each load disconnection can be determined, and the lifespan loss of the high-voltage relay caused by each load disconnection can be multiplied by the number of mechanical switching operations caused by each load disconnection to obtain the lifespan loss predicted by the number of load disconnections.
[0061] The lifespan loss of the high-voltage relay due to each mechanical switching on and off, as well as the lifespan loss due to each load disconnection, can be obtained experimentally.
[0062] For example, if the mechanical switching count is 50 times and the load switching count is 10 times, and the lifespan of the high-voltage relay is 0.01 for each mechanical switching and 0.02 for each load disconnection, then the predicted lifespan of the high-voltage relay due to mechanical switching count is 50 * 0.01 = 0.5, and the predicted lifespan of the high-voltage relay due to load disconnection count is 10 * 0.02 = 0.2.
[0063] For actual contact resistance, the predicted wear life can be determined based on the ratio of the change between the actual contact resistance and the original contact resistance of the high-voltage relay to the maximum change in contact resistance.
[0064] The maximum change in contact resistance can be obtained experimentally.
[0065] For example, if the actual contact resistance of a high-voltage relay is 0.001Ω and the original contact resistance is 0.0005Ω, then the change between the actual and original contact resistance is 0.001Ω - 0.0005Ω = 0.0005Ω. Since the maximum change in contact resistance is 0.005Ω, the predicted wear life based on the actual contact resistance is 0.0005Ω / 0.005Ω = 0.1.
[0066] Then, the original lifespan of the high-voltage relay can be subtracted by the loss life predicted by the number of mechanical switching cycles, the loss life predicted by the number of load switching cycles, and the loss life predicted by the actual contact resistance, to obtain the actual remaining lifespan of the high-voltage relay.
[0067] For example, if the original life of the high-voltage relay is 1, then the actual remaining life of the high-voltage relay is 1 - the loss life predicted by the number of mechanical switching cycles - the loss life predicted by the number of load switching cycles - the loss life predicted by the actual contact resistance = 1 - 0.5 - 0.2 - 0.1 = 0.2.
[0068] One possible implementation involves predicting the actual remaining life of a high-voltage relay by combining the number of mechanical switching operations, the number of load-bearing disconnections, and the actual contact resistance. This includes: predicting the remaining life of the high-voltage relay in a first dimension based on the number of mechanical switching operations; predicting the remaining life of the high-voltage relay in a second dimension based on the number of load-bearing disconnections; determining a correction factor based on the actual contact resistance; and predicting the actual remaining life of the high-voltage relay by combining the remaining life in the first dimension, the remaining life in the second dimension, and the correction factor.
[0069] The first dimension mentioned above can specifically refer to the mechanical dimension. It is understandable that the mechanical switching of a high-voltage relay easily leads to mechanical wear and tear, thus affecting its lifespan. Therefore, the remaining lifespan of a high-voltage relay in the mechanical dimension can be predicted based on the number of mechanical switching cycles.
[0070] As one implementation method, the lifetime of mechanical switching loss can be determined, the mechanical loss lifetime can be determined based on the number of mechanical switching, and the remaining lifetime of the mechanical dimension (i.e., the first dimension) can be obtained by subtracting the mechanical loss lifetime from the initial lifetime of the mechanical dimension.
[0071] For example, if the mechanical switching frequency is 50 times, and each mechanical switching reduces the lifespan of the high-voltage relay by 0.01, then the mechanical loss lifespan based on the number of mechanical switching cycles is determined to be 50 * 0.01 = 0.5. Assuming the initial lifespan of the mechanical dimension is 1, then the remaining lifespan of the first dimension can be determined to be 1 - 0.5 = 0.5.
[0072] The second dimension mentioned above specifically refers to the electrical dimension. It is understandable that when a high-voltage relay disconnects under load, the voltage in the high-voltage circuit breaks down the air in the contact gap, forming an electric arc. The high temperature of the arc (reaching thousands of degrees Celsius) directly causes the contact material to melt, evaporate, and oxidize, forming pits, protrusions, or an insulating oxide film on the contact surface. This leads to electrical losses in the high-voltage relay, thus affecting its lifespan. Therefore, the remaining electrical lifespan of a high-voltage relay can be predicted based on the number of times it mechanically switches on and off under load.
[0073] As one implementation method, the lifetime of the load breaking loss can be determined, the electrical loss lifetime can be determined based on the number of load breakings, and the remaining lifetime of the electrical dimension (i.e., the second dimension) can be obtained by subtracting the electrical loss lifetime from the initial lifetime of the electrical dimension.
[0074] For example, if the number of load disconnections is 10, and each load disconnection reduces the lifespan of the high-voltage relay by 0.02, then the electrical loss lifespan based on the number of load disconnections is determined to be 10 * 0.02 = 0.2. Assuming the initial lifespan of the electrical dimension is 1, then the remaining lifespan of the second dimension can be determined to be 1 - 0.2 = 0.8.
[0075] Mechanical switching and on-load disconnection both affect the actual contact resistance of the high-voltage relay. After measuring the actual contact resistance, a correction factor for the remaining life can be determined based on the actual contact resistance. Then, by combining the remaining life in the first dimension, the remaining life in the second dimension, and the correction factor, the actual remaining life of the high-voltage relay is predicted.
[0076] Specifically, the remaining lifespan of the first dimension and the remaining lifespan of the second dimension can be multiplied together, and the product can be multiplied by a correction factor to obtain the actual remaining lifespan of the high-voltage relay.
[0077] For example, if the remaining life of the first dimension is 0.5, the remaining life of the second dimension is 0.8, and the correction factor is 0.6, then the actual remaining life of the high-voltage relay is 0.5 * 0.8 * 0.6 = 0.24.
[0078] The above method predicts the remaining life of high-voltage relays in different dimensions based on the number of mechanical switching and the number of on-load switching, respectively. It takes into account the life loss of the relay in different dimensions and determines the correction coefficient based on the actual contact resistance, which can correct the loss in the two dimensions and make the predicted remaining life more accurate.
[0079] In one possible implementation, predicting the remaining life of the high-voltage relay in the first dimension based on the number of mechanical switching operations includes: determining the maximum number of mechanical switching operations of the high-voltage relay; determining the remaining number of mechanical switching operations based on the maximum number of mechanical switching operations and the total number of mechanical switching operations; and predicting the remaining life of the high-voltage relay in the first dimension based on the remaining number of mechanical switching operations and the maximum number of mechanical switching operations.
[0080] The maximum mechanical switching count of a high-voltage relay refers to the maximum cumulative number of times the high-voltage relay can stably complete the "closing and opening" cycle. When the maximum mechanical switching count of a high-voltage relay is reached, mechanical failure will occur, such as unresponsive closing, contact sticking, or inability to reset after opening. At this point, the mechanical life of the high-voltage relay is considered exhausted.
[0081] The calibration parameters of a high-voltage relay can include the maximum number of mechanical on / off cycles for the current high-voltage relay. The maximum number of mechanical on / off cycles for the high-voltage relay can be determined from the calibration parameters of the current high-voltage relay.
[0082] After obtaining the maximum number of mechanical on / off cycles, the number of mechanical on / off cycles within the preset time period can be subtracted from the maximum number of mechanical on / off cycles to obtain the remaining number of mechanical on / off cycles for the high-voltage relay. After obtaining the remaining number of mechanical on / off cycles, the remaining number of mechanical on / off cycles can be divided by the maximum number of mechanical on / off cycles, and the resulting ratio is used as the predicted remaining lifespan of the high-voltage relay in the first dimension.
[0083] For example, if the maximum number of mechanical on / off cycles is 100, and the number of mechanical on / off cycles within the preset time period is 50, then the remaining number of mechanical on / off cycles can be calculated as: Remaining number of mechanical on / off cycles = Maximum number of mechanical on / off cycles - Number of mechanical on / off cycles = 100 - 50 = 50. The remaining lifespan of the high-voltage relay in the first dimension = Remaining number of mechanical on / off cycles / Maximum number of mechanical on / off cycles = 50 / 100 = 0.5, thus the remaining lifespan of the high-voltage relay in the first dimension is 0.5.
[0084] In some embodiments, the number of mechanical on / off cycles within a preset time period can be divided by the maximum number of mechanical on / off cycles to calculate the first dimension of the loss lifetime. Then, the initial lifetime of the first dimension is subtracted from the loss lifetime of the first dimension to obtain the remaining lifetime of the first dimension.
[0085] For example, if the maximum number of mechanical on / off cycles is 100, the number of mechanical on / off cycles within the preset time period is 50, and the initial lifespan of the first dimension is set to 1, then the remaining lifespan of the first dimension = 1 - number of mechanical on / off cycles / maximum number of mechanical on / off cycles = 1 - 50 / 100 = 0.5.
[0086] In the above method, by determining the maximum number of mechanical switching operations of the relay, the remaining number of mechanical switching operations can be calculated based on the maximum number of mechanical switching operations and the obtained number of mechanical switching operations. Then, based on the remaining number of mechanical switching operations, the remaining life of the high-voltage relay in the first dimension can be predicted efficiently and accurately.
[0087] In one possible implementation, predicting the remaining life of the high-voltage relay in the second dimension based on the number of load breaking operations includes: determining the maximum number of load breaking operations corresponding to each load breaking current interval; calculating the remaining number of load breaking operations corresponding to each load breaking current interval based on the number of load breaking operations and the maximum number of load breaking operations; and predicting the remaining life of the high-voltage relay in the second dimension based on the remaining number of load breaking operations and the maximum number of load breaking operations corresponding to each load breaking current interval.
[0088] It is understandable that when a high-voltage relay disconnects under load, there is usually a certain current. Since the high-voltage relay may disconnect under load in different vehicle conditions, the current corresponding to the high-voltage relay disconnecting under load may be different.
[0089] The on-load breaking current range can be defined based on the current range of all possible currents that may correspond to when the high-voltage relay breaks under load, and there may be multiple on-load breaking current ranges.
[0090] For example, if the current range of all corresponding currents when the high-voltage relay breaks under load is 100A to 130A, then multiple load breaking current intervals can be obtained based on the current range of 100A to 130A. For example, if the load breaking current intervals are divided at 10A intervals, then three load breaking current intervals can be obtained: [100A, 110A), [110A, 120A), and [120A, 130A).
[0091] For each load breaking current range, a corresponding maximum load breaking count is pre-calibrated, and this maximum load breaking count can be directly obtained. The maximum load breaking count refers to the limit of cumulative times that the high-voltage relay can reliably complete load switching cycles without electrical failure under the specified load breaking current range. If the actual load breaking count under the specified load breaking current range reaches the calibrated maximum value, it indicates that the relay contact erosion is approaching a critical state. At this time, electrical failures will occur, such as relay sticking, etc., and the electrical life of the high-voltage relay is considered exhausted.
[0092] It is understandable that the larger the load breaking current, the greater the damage to the high-voltage relay during breaking. Therefore, the larger the current corresponding to the load breaking current range, the smaller the maximum number of load breaking cycles.
[0093] After obtaining the maximum number of load-bearing breaking operations corresponding to each load-bearing breaking current interval, the number of load-bearing breaking operations can be divided according to the load-bearing breaking current interval to obtain the actual number of load-bearing breaking operations corresponding to each load-bearing breaking current interval. Then, the maximum number of load-bearing breaking operations corresponding to each load-bearing breaking current interval is subtracted from the actual number of load-bearing breaking operations corresponding to each load-bearing breaking current interval to obtain the remaining number of load-bearing breaking operations corresponding to each load-bearing breaking current interval.
[0094] For example, if the total number of load interruptions is 10, with 5 load interruptions corresponding to a load interruption current range of [100A, 110A), 3 load interruptions corresponding to a load interruption current range of [110A, 120A), and 2 load interruptions corresponding to a load interruption current range of [120A, 130A), then the actual number of load interruptions corresponding to the load interruption current range of [100A, 110A) is 5, the actual number of load interruptions corresponding to the load interruption current range of [110A, 120A) is 3, and the actual number of load interruptions corresponding to the load interruption current range of [120A, 130A) is 2.
[0095] Assuming the maximum number of load breaking operations for the current range [100A, 110A) is 20, then the remaining number of load breaking operations for [100A, 110A) is 20 - 5 = 15. Assuming the maximum number of load breaking operations for the current range [110A, 120A) is 10, then the remaining number of load breaking operations for [110A, 120A) is 10 - 3 = 7. Assuming the maximum number of load breaking operations for the current range [120A, 130A) is 5, then the remaining number of load breaking operations for [120A, 130A) is 5 - 2 = 3.
[0096] After obtaining the remaining number of on-load breaking current intervals and the maximum number of on-load breaking current intervals, the remaining life of the high-voltage relay in the second dimension can be predicted based on the remaining number of on-load breaking current intervals and the maximum number of on-load breaking current intervals.
[0097] In the above method, by dividing the load breaking current interval, the maximum number of load breaking cycles corresponding to different load breaking current intervals may be different. Consequently, the impact of load breaking on the remaining life of the high-voltage relay is different. By dividing the load breaking current interval and determining the remaining number of load breaking cycles corresponding to each load breaking current interval, the remaining life of the high-voltage relay in the second dimension can be predicted more accurately.
[0098] In one possible implementation, the remaining life of the high-voltage relay in the second dimension is predicted based on the remaining number of load breaking cycles and the maximum number of load breaking cycles corresponding to each load breaking current interval. This includes: for each load breaking current interval, calculating the ratio between the remaining number of load breaking cycles corresponding to the load breaking current interval and the maximum number of load breaking cycles corresponding to the load breaking current interval, to obtain the ratio corresponding to each load breaking current interval; and multiplying the ratios corresponding to each load breaking current interval to obtain the remaining life of the high-voltage relay in the second dimension.
[0099] Specifically, for each load breaking current interval, the remaining load breaking count can be divided by the corresponding maximum load breaking count to obtain a ratio. Each load breaking current interval corresponds to a maximum load breaking count and a remaining load breaking count, thus yielding the ratio for each load breaking current interval.
[0100] As in the above embodiment, the load breaking current range includes: [100A, 110A), [110A, 120A), and [120A, 130A). The maximum number of load breaking operations for the load breaking current range [100A, 110A) is 20, and the remaining number of load breaking operations is 15. Therefore, the ratio for the load breaking current range [100A, 110A) is 15 / 20 = 0.75. The maximum number of load breaking operations for the load breaking current range [110A, 120A) is 10, and the remaining number of load breaking operations is 7. Therefore, the ratio for the load breaking current range [110A, 120A) is 7 / 10 = 0.7. The maximum number of load breaking cycles corresponding to the load breaking current range [120A, 130A] is 5, and the corresponding remaining number of load breaking cycles is 3. Therefore, the ratio corresponding to the load breaking current range [120A, 130A] is 3 / 5 = 0.6.
[0101] After obtaining the ratio corresponding to each load breaking current interval, the ratios corresponding to each load breaking current interval are multiplied together, and the product is used as the remaining life of the high-voltage relay in the second dimension.
[0102] As in the above embodiment, the ratio corresponding to the load breaking current range [100A, 110A) is 15 / 20 = 0.75, the ratio corresponding to the load breaking current range [110A, 120A) is 7 / 10 = 0.7, and the ratio corresponding to the load breaking current range [120A, 130A) is 3 / 5 = 0.6. Therefore, the remaining life of the high-voltage relay in the second dimension is 0.75 * 0.7 * 0.6 = 0.315.
[0103] In one possible implementation, determining the correction coefficient based on the actual contact resistance includes: determining the target resistance range where the actual contact resistance is located from multiple preset resistance ranges; finding a preset correspondence based on the target resistance range to obtain the correction coefficient; the preset correspondence includes the correspondence between multiple preset resistance ranges and the correction coefficient.
[0104] Understandably, with mechanical and electrical losses, the actual contact resistance of a high-voltage relay will gradually increase. Therefore, the actual contact resistance can more accurately reflect the mechanical switching and the actual lifespan of the high-voltage relay after load disconnection. A correction factor can be determined based on the actual contact resistance to make the remaining lifespan of the high-voltage relay more accurate.
[0105] Specifically, the mechanical action of a high-voltage relay engaging and disengaging causes friction and collision at the contacts. Long-term mechanical switching cycles lead to wear, pitting, and a reduction in the total contact area of the contacts, resulting in a gradual increase in the actual contact resistance of the high-voltage relay. When the high-voltage relay disconnects under load, the voltage of the high-voltage circuit at the moment of disconnection breaks down the air in the contact gap, forming an electric arc. The high temperature of the arc (reaching thousands of degrees Celsius) directly causes the contact material to melt, evaporate, and oxidize, forming pits, protrusions, or an insulating oxide film on the contact surface, further increasing the actual contact resistance of the high-voltage relay.
[0106] As one implementation method, multiple preset resistance ranges can be pre-defined, and corresponding correction coefficients can be assigned to each preset resistance range to obtain a preset correspondence. Then, the target resistance range where the actual contact resistance is located can be determined from the multiple preset resistance ranges; based on the target resistance range, the preset correspondence can be found to obtain the correction coefficient.
[0107] The preset resistance range can be obtained based on the initial resistance of the high-voltage relay. For example, the initial resistance of the high-voltage relay is 0.25 mΩ (milliohms). Based on this initial resistance of 0.25 mΩ, multiple preset resistance ranges can be obtained, as shown in Table 1. Table 1
[0108] As shown in Table 1, the preset resistance ranges include: first range: R≤0.25mΩ, second range: 0.25mΩ<R≤0.5mΩ, third range: 0.5mΩ<R≤0.75mΩ, fourth range: 0.75mΩ<R≤1mΩ, and so on.
[0109] For each resistance range, a corresponding correction factor can be pre-defined to compensate for the mechanical and electrical losses of the high-voltage relay. As shown in Table 1, the first range (R ≤ 0.25 mΩ) indicates that the actual contact resistance of the relay is close to the initial resistance, and the correction factor is 1, with no correction applied. The second range (0.25 mΩ < R ≤ 0.5 mΩ) indicates that the actual contact resistance of the relay has increased to some extent, resulting in some mechanical and electrical losses in the high-voltage relay. The correction factor is 0.8, used to reduce the actual remaining lifespan of the high-voltage relay. The third range (0.5 mΩ < R ≤ 0.75 mΩ) indicates that the actual contact resistance of the relay has increased even more, resulting in greater mechanical and electrical losses. The correction factor is 0.6, used to further reduce the actual remaining lifespan of the high-voltage relay. Similarly, the fourth range (0.75 mΩ < R ≤ 1 mΩ) has an even smaller correction factor, as shown in Table 1, where the correction factor is 0.4. Table 1 illustrates the pre-defined correspondence between multiple preset resistance ranges and correction factors.
[0110] It is understood that the correction coefficients for each preset resistance range in Table 1 may be based on experiments, and the embodiments of this application do not limit the division of resistance ranges and the specific values of correction coefficients.
[0111] After obtaining the actual contact resistance of the high-voltage relay, a target resistance range that includes the actual contact resistance can be determined from the multiple preset resistance ranges shown in Table 1. Once the target resistance range is obtained, the correction factor corresponding to the target resistance range is determined by referring to Table 1.
[0112] For example, if the actual contact resistance is 1mΩ, the fourth range in Table 1 (0.75mΩ < R ≤ 1mΩ, including 1mΩ) indicates that the target resistance range for the actual contact resistance is the fourth range. In Table 1, the correction factor corresponding to the fourth range (0.75mΩ < R ≤ 1mΩ) is 0.4, therefore the correction factor is determined to be 0.4.
[0113] As in the above embodiment, the remaining life of the high-voltage relay in the first dimension is determined to be 1 - mechanical switching count / maximum mechanical switching count = 1 - 50 / 100 = 0.5, and the remaining life in the second dimension is determined to be 0.75 * 0.7 * 0.6 = 0.315. The correction factor is determined to be 0.4. At this time, the actual remaining life of the high-voltage relay is determined to be 0.11025, which means the actual remaining life is 0.11025.
[0114] In the above method, by dividing multiple preset resistance ranges and calibrating the corresponding correction coefficients for multiple resistance ranges, a preset correspondence is obtained, which simplifies the method of determining the correction coefficient based on contact resistance and makes it easier to quickly calculate the actual remaining life of the high-voltage relay.
[0115] In one possible implementation, the method further includes: if the actual contact resistance of the high-voltage relay cannot be obtained, then obtaining the continuous overcurrent operating time and the maximum overcurrent withstand time of the high-voltage relay; and determining a correction coefficient based on the continuous overcurrent operating time and the maximum overcurrent withstand time.
[0116] The continuous overcurrent operating time refers to the continuous operating time of a high-voltage relay when the operating current is greater than the rated current.
[0117] When a high-voltage relay operates under overcurrent conditions, it will also shorten the relay's lifespan and affect the actual contact resistance of the high-voltage relay. If the actual contact resistance of the high-voltage relay cannot be obtained, the correction factor can be determined by obtaining the continuous overcurrent operation duration of the high-voltage relay.
[0118] It is understandable that obtaining the actual contact resistance of a high-voltage relay requires obtaining the voltage difference between the input and output terminals of the high-voltage relay, as well as the current flowing through the high-voltage relay. When the voltage acquisition module and the current acquisition module malfunction, resulting in the inability to acquire the voltage difference or current, it may be impossible to obtain the actual contact resistance of the high-voltage relay.
[0119] The maximum overcurrent withstand time refers to the limit of time that a high-voltage relay can withstand without contact melting or structural damage when the operating current is greater than the rated current. When the continuous overcurrent operation time of the high-voltage relay exceeds the maximum overcurrent withstand time, it can be determined that the relay's lifespan has been exhausted.
[0120] As one implementation method, the remaining overcurrent operating time can be obtained by subtracting the continuous overcurrent operating time from the maximum overcurrent withstand time, and the ratio of the remaining overcurrent operating time to the maximum overcurrent withstand time can be determined as a correction coefficient.
[0121] For example, if the maximum overcurrent withstand time Tmax of the high-voltage relay under overcurrent conditions is 10 minutes, and the obtained continuous overcurrent operating time Twork of the high-voltage relay is 6 minutes, then the remaining overcurrent operating time T = Tmax - Twork = 10 minutes - 6 minutes = 4 minutes. The correction factor = remaining overcurrent operating time / maximum overcurrent withstand time = 4 / 10 = 0.4.
[0122] In the above method, the correction coefficient is determined by the relevant parameters of the overcurrent condition to correct the remaining life of the high-voltage relay, which further solves the limitations of traditional single-index life prediction and ensures that accurate and high-confidence life assessment can be achieved under all operating conditions.
[0123] Figure 2 This is a schematic flowchart illustrating another method for predicting relay lifespan provided in an embodiment of this application.
[0124] For example, such as Figure 2 As shown, the method 200 includes: Step 201: Obtain the mechanical switching count, load switching count, and actual contact resistance of the high-voltage relay; Step 202, Remaining mechanical life = 1 - Number of mechanical switching cycles / Maximum number of mechanical switching cycles; Step 203, Electrical remaining life = 1 - number of load breaking cycles / maximum number of load breaking cycles corresponding to the current.
[0125] Among them, mechanical remaining life is the remaining life in the first dimension, and electrical remaining life is the remaining life in the second dimension.
[0126] The corresponding current is the above-mentioned load breaking current range. The remaining electrical life = 1 - number of load breaking times / maximum number of load breaking times corresponding to the corresponding current. This only applies to cases where the obtained number of load breaking times are all within a load breaking current range.
[0127] When there are multiple load breaking current intervals, as in the above embodiment, it is necessary to calculate the remaining load breaking number corresponding to each load breaking current interval in turn, and then calculate the ratio corresponding to each load breaking current interval. Multiply the ratio corresponding to each load breaking current interval to obtain the remaining electrical life.
[0128] Step 204: Determine the correction factor based on the actual contact resistance; Step 205, the actual remaining life of the high-voltage relay = mechanical remaining life * electrical remaining life * correction factor; Step 206: Determine if the actual remaining lifespan is less than 3%; if yes, proceed to step 207; otherwise, end. Step 207: Generate a notification message to remind the user.
[0129] In some embodiments, after obtaining the actual remaining lifespan of the high-voltage relay, it can also be determined whether the actual remaining lifespan is less than the preset lifespan, i.e., the aforementioned 3%. If it is determined that the actual lifespan is less than the preset lifespan, a prompt message is generated to alert the user, so that the user can understand the status of the high-voltage relay based on the prompt message.
[0130] Specifically, it can generate prompts with keywords such as "high voltage relay life is too low" and "please replace the high voltage relay in time", which can be displayed on the vehicle's instrument panel or the vehicle's infotainment screen, or prompted to the user via voice broadcast.
[0131] Figure 3 This is a schematic diagram of a device for predicting relay life provided in an embodiment of this application.
[0132] For example, such as Figure 3 As shown, the device 300 includes: The acquisition module 301 is used to acquire the mechanical switching count and the load switching count of the high-voltage relay within a preset time period; The determination module 302 is used to determine the actual contact resistance of the high-voltage relay when the high-voltage relay is in the closed state; The prediction module 303 is used to predict the actual remaining life of the high-voltage relay by combining the mechanical switching count, the load switching count, and the actual contact resistance.
[0133] In one possible implementation, the prediction module 303 is specifically used to: predict the remaining life of the high-voltage relay in the first dimension based on the number of mechanical switching operations; predict the remaining life of the high-voltage relay in the second dimension based on the number of load disconnections; determine a correction factor based on the actual contact resistance; and predict the actual remaining life of the high-voltage relay by combining the remaining life in the first dimension, the remaining life in the second dimension, and the correction factor.
[0134] In one possible implementation, the prediction module 303 is specifically used to: determine the maximum number of mechanical switching operations of the high-voltage relay; determine the remaining number of mechanical switching operations based on the maximum number of mechanical switching operations and the total number of mechanical switching operations; and predict the remaining lifespan of the high-voltage relay in the first dimension based on the remaining number of mechanical switching operations and the maximum number of mechanical switching operations.
[0135] In one possible implementation, the prediction module 303 is specifically used to: determine the maximum number of load breaking cycles corresponding to each load breaking current interval; calculate the remaining number of load breaking cycles corresponding to each load breaking current interval based on the number of load breaking cycles and the maximum number of load breaking cycles; and predict the remaining life of the high-voltage relay in the second dimension based on the remaining number of load breaking cycles and the maximum number of load breaking cycles corresponding to each load breaking current interval.
[0136] In one possible implementation, the prediction module 303 is specifically used to: for each load breaking current interval, calculate the ratio between the remaining load breaking count corresponding to the load breaking current interval and the maximum load breaking count corresponding to the load breaking current interval, to obtain the ratio corresponding to each load breaking current interval; multiply the ratio corresponding to each load breaking current interval to obtain the remaining life of the high voltage relay in the second dimension.
[0137] In one possible implementation, the prediction module 303 is specifically used to: determine the target resistance range where the actual contact resistance is located from multiple preset resistance ranges; find a preset correspondence based on the target resistance range to obtain a correction coefficient; the preset correspondence includes the correspondence between multiple preset resistance ranges and correction coefficients.
[0138] In one possible implementation, the determining module 302 is specifically used to: obtain the voltage difference between the input and output terminals of the high-voltage relay when the high-voltage relay is in a closed state, and obtain the current passing through the high-voltage relay; and calculate the contact resistance based on the voltage difference and the current.
[0139] In one possible implementation, the prediction module 303 is further configured to: obtain the continuous overcurrent operating time and the maximum overcurrent withstand time of the high-voltage relay; and determine a correction coefficient based on the continuous overcurrent operating time and the maximum overcurrent withstand time.
[0140] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0141] For example, such as Figure 4 As shown, the electronic device 400 includes a memory 401 and a processor 402, wherein the memory 401 stores executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a method for predicting the life of a relay.
[0142] Furthermore, embodiments of this application also protect an apparatus that may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to perform a method for predicting relay life provided in embodiments of this application.
[0143] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0144] When the functional modules are divided according to their respective functions, the device may also include an acquisition module, a determination module, and a prediction module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced to the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0145] It should be understood that the apparatus provided in this embodiment is used to perform the above-described method for predicting relay life, and therefore can achieve the same effect as the above-described implementation method.
[0146] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code.
[0147] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.
[0148] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a method for predicting relay life provided in the above embodiments.
[0149] This embodiment also provides a vehicle that includes electronic equipment for performing a method for predicting relay life provided in the above embodiments.
[0150] This embodiment also provides a non-volatile storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement the method for predicting relay life provided in the above embodiment.
[0151] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to achieve the method for predicting relay life provided in the above embodiment.
[0152] In this embodiment, the device, non-volatile storage medium, computer program product or chip are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding method provided above, and will not be repeated here.
[0153] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0154] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0155] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for predicting relay lifespan, characterized in that, The method includes: Obtain the mechanical switching count and the load-bearing disconnection count of the high-voltage relay within a preset time period; When the high-voltage relay is in the closed state, determine the actual contact resistance of the high-voltage relay; The actual remaining life of the high-voltage relay is predicted by combining the mechanical switching count, the load switching count, and the actual contact resistance.
2. The method according to claim 1, characterized in that, The method of predicting the actual remaining life of the high-voltage relay by combining the mechanical switching count, the load-bearing disconnection count, and the actual contact resistance includes: Based on the number of mechanical switching operations, the remaining life of the high-voltage relay in the first dimension is predicted; Based on the number of load disconnections, the remaining life of the high-voltage relay in the second dimension is predicted; Based on the actual contact resistance, determine the correction factor; The actual remaining lifespan of the high-voltage relay is predicted by combining the remaining lifespan of the first dimension, the remaining lifespan of the second dimension, and the correction coefficient.
3. The method according to claim 2, characterized in that, The prediction of the remaining life of the high-voltage relay in the first dimension based on the number of mechanical switching operations includes: Determine the maximum number of mechanical switching operations for the high-voltage relay; Based on the maximum number of mechanical on / off cycles and the number of mechanical on / off cycles, determine the remaining number of mechanical on / off cycles; Based on the remaining mechanical switching count and the maximum mechanical switching count, the remaining life of the high-voltage relay in the first dimension is predicted.
4. The method according to claim 2, characterized in that, The prediction of the remaining life of the high-voltage relay in the second dimension based on the number of load disconnections includes: Determine the maximum number of load-bearing breaking current intervals corresponding to each load-bearing breaking current range; Based on the number of load breaking attempts and the maximum number of load breaking attempts, calculate the remaining number of load breaking attempts corresponding to each load breaking current interval; Based on the remaining number of load breaking cycles and the maximum number of load breaking cycles corresponding to each of the load breaking current intervals, the remaining life of the high-voltage relay in the second dimension is predicted.
5. The method according to claim 4, characterized in that, The prediction of the remaining lifespan of the high-voltage relay in the second dimension, based on the remaining number of load breaking cycles and the maximum number of load breaking cycles corresponding to each of the load breaking current intervals, includes: For each load breaking current interval, calculate the ratio between the remaining load breaking count corresponding to the load breaking current interval and the maximum load breaking count corresponding to the load breaking current interval, and obtain the ratio corresponding to each load breaking current interval. Multiplying the ratios corresponding to each of the load breaking current intervals yields the remaining lifespan of the high-voltage relay in the second dimension.
6. The method according to claim 2, characterized in that, The determination of the correction factor based on the actual contact resistance includes: The target resistance range in which the actual contact resistance is located is determined from multiple preset resistance ranges; The correction coefficient is obtained by finding a preset correspondence based on the target resistance range; the preset correspondence includes multiple correspondences between the preset resistance range and the correction coefficient.
7. The method according to claim 2, characterized in that, Determining the actual contact resistance of the high-voltage relay when it is in the closed state includes: When the high-voltage relay is in the closed state, the voltage difference between the input and output terminals of the high-voltage relay is obtained, and the current passing through the high-voltage relay is obtained; The contact resistance is calculated based on the voltage difference and the current.
8. The method according to claim 2, characterized in that, The method further includes: If the actual contact resistance of the high-voltage relay cannot be obtained, then the continuous overcurrent operating time and the maximum overcurrent withstand time of the high-voltage relay are obtained. The correction coefficient is determined based on the continuous overcurrent operating duration and the maximum overcurrent tolerance duration.
9. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the electronic device to perform the method as described in any one of claims 1 to 8.
10. A non-volatile storage medium, characterized in that, The non-volatile storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 8.