CN-121995201-A - Relay abnormality detection method and device, battery, vehicle and electronic equipment
Abstract
The invention discloses a method and a device for detecting relay abnormality, a battery, a vehicle and electronic equipment, and relates to the technical field of data processing, wherein a first voltage sequence and a second voltage sequence of a relay are obtained; reconstructing the second voltage sequence by taking the first voltage sequence as a reference to obtain a reconstructed second voltage sequence, and detecting the abnormality of the relay based on the first voltage sequence and the reconstructed second voltage sequence. Compared with the related art, the embodiment of the disclosure reconstructs the second voltage sequence by acquiring the first voltage sequence and the second voltage sequence of the relay to obtain the reconstructed second voltage sequence, and based on the first voltage sequence and the reconstructed second voltage sequence, the relay is subjected to abnormality detection, so that the voltage at one end of the relay is taken as a reference, the voltage at the other end of the relay is reconstructed, the voltage hysteresis at two ends of the relay is reduced, and the recognition accuracy of the relay abnormality is improved.
Inventors
- ZHANG JIALI
Assignees
- 北京车和家汽车科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (12)
- 1. A method for detecting an abnormality of a relay, comprising: Acquiring a first voltage sequence and a second voltage sequence of a relay, wherein the first voltage sequence is a sequence formed by periodically acquiring the voltage at one end of the relay, and the second voltage sequence is a sequence formed by periodically acquiring the voltage at the other end of the relay; reconstructing the second voltage sequence by taking the first voltage sequence as a reference to obtain a reconstructed second voltage sequence; and detecting the abnormality of the relay based on the first voltage sequence and the reconstructed second voltage sequence.
- 2. The method of claim 1, wherein reconstructing the second voltage sequence based on the first voltage sequence to obtain a reconstructed second voltage sequence comprises: The method comprises the steps of obtaining a first voltage and a target calculation range taking a second voltage as a center, wherein the target calculation range comprises voltages in at least two second voltage sequences, the first voltage is any voltage in the first voltage sequence, and the second voltage is the voltage in the second voltage sequence at the same collection time as the first voltage; Respectively carrying out difference calculation on the voltage in the target calculation range and the first voltage to obtain at least two first difference results; determining the voltage corresponding to the minimum value in the at least two first difference results as a reconstructed second voltage; And constructing all the reconstructed second voltages into the reconstructed second voltage sequence.
- 3. The method of claim 2, wherein the anomaly detection of the relay based on the first voltage sequence and the reconstructed second voltage sequence comprises: performing differential calculation between the first voltage sequence and the reconstructed second voltage sequence to obtain a degree of difference; And if the difference degree is larger than a first threshold value, determining that the relay is abnormal.
- 4. A method according to claim 3, wherein said performing a difference calculation between said first voltage sequence and said reconstructed second voltage sequence to obtain a degree of difference comprises: Respectively carrying out difference calculation on each first voltage in the first voltage sequence and the corresponding reconstructed second voltage to obtain at least one second difference result; Ranking the at least one second difference result according to the value to obtain a ranking result corresponding to each second difference result; And determining a target second difference result corresponding to the target ranking result in the ranking as the difference degree.
- 5. The method of claim 4, wherein performing a differential calculation between the first voltage sequence and the reconstructed second voltage sequence to obtain a degree of difference further comprises: carrying out average value calculation on the at least one second difference value result to obtain an average value result; Determining the mean value result as the degree of difference; and/or performing variance calculation on the at least one second difference result to obtain a variance result; and determining the variance result as the degree of difference.
- 6. The method of claim 4, wherein after each first voltage in the first voltage sequence and the corresponding reconstructed second voltage are separately subjected to a difference calculation to obtain at least one second difference result, the method further comprises: Comparing the second difference result with a third difference result, wherein the third difference result is the voltage difference value of two ends of the relay when the relay is not abnormal; and if the difference degree between the second difference result and the third difference result is larger than a second threshold value, determining that the relay is abnormal.
- 7. A relay abnormality detection apparatus, comprising: The device comprises an acquisition unit, a relay control unit and a control unit, wherein the acquisition unit is used for acquiring a first voltage sequence and a second voltage sequence of the relay, the first voltage sequence is a sequence formed by periodically acquiring the voltage at one end of the relay, and the second voltage sequence is a sequence formed by periodically acquiring the voltage at the other end of the relay; The reconstruction unit is used for reconstructing the second voltage sequence by taking the first voltage sequence as a reference to obtain a reconstructed second voltage sequence; and the detection unit is used for detecting the abnormality of the relay based on the first voltage sequence and the reconstructed second voltage sequence.
- 8. A battery comprising the relay abnormality detection apparatus according to claim 7.
- 9. A vehicle, characterized in that it comprises the relay abnormality detection apparatus according to claim 7; Or the battery of claim 8.
- 10. An electronic device, comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
- 11. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
- 12. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-6.
Description
Relay abnormality detection method and device, battery, vehicle and electronic equipment Technical Field The disclosure relates to the technical field of data processing, and in particular relates to a method and a device for detecting relay abnormality, a battery, a vehicle and electronic equipment. Background The abnormal connection of the relay can cause overlarge contact internal resistance, under the condition of the same current, partial pressure of the contact part is abnormal, heating is abnormal, and the corresponding partial pressure is the difference value of voltages at two sides of the relay when the relay is in virtual connection, namely the difference value of voltage at one end and voltage at the other end of the relay. In the related technology for detecting the voltage abnormality of the relay, the problem of overlarge contact internal resistance is generally identified by using the voltage at the same sampling moment at two ends of the relay, and due to the signal acquisition problem, the voltage at two ends of the relay often has asynchronous change, namely, the signal change at one end of the relay has hysteresis phenomenon relative to the signal change at the other end, the hysteresis time of each sampling point is not fixed, and whether the relay is abnormal is directly identified based on the voltage difference identification at the same sampling moment, so that the identification accuracy of the relay abnormality is lower. Disclosure of Invention The disclosure provides a relay abnormality detection method and device, a battery, a vehicle and electronic equipment. The relay control method mainly aims at solving the problems that the hysteresis phenomenon exists in the signal change at one end of the relay relative to the signal change at the other end, the hysteresis time of each sampling point is not fixed, whether the relay is abnormal or not is directly identified based on voltage difference identification at the same sampling time, and the abnormal identification accuracy of the relay is low. According to a first aspect of the present disclosure, there is provided a method for detecting relay abnormality, including: Acquiring a first voltage sequence and a second voltage sequence of a relay, wherein the first voltage sequence is a sequence formed by periodically acquiring the voltage at one end of the relay, and the second voltage sequence is a sequence formed by periodically acquiring the voltage at the other end of the relay; reconstructing the second voltage sequence by taking the first voltage sequence as a reference to obtain a reconstructed second voltage sequence; and detecting the abnormality of the relay based on the first voltage sequence and the reconstructed second voltage sequence. Optionally, reconstructing the second voltage sequence with the first voltage sequence as a reference, to obtain a reconstructed second voltage sequence includes: The method comprises the steps of obtaining a first voltage and a target calculation range taking a second voltage as a center, wherein the target calculation range comprises voltages in at least two second voltage sequences, the first voltage is any voltage in the first voltage sequence, and the second voltage is the voltage in the second voltage sequence at the same collection time as the first voltage; Respectively carrying out difference calculation on the voltage in the target calculation range and the first voltage to obtain at least two first difference results; determining the voltage corresponding to the minimum value in the at least two first difference results as a reconstructed second voltage; And constructing all the reconstructed second voltages into the reconstructed second voltage sequence. Optionally, the detecting the abnormality of the relay based on the first voltage sequence and the reconstructed second voltage sequence includes: performing differential calculation between the first voltage sequence and the reconstructed second voltage sequence to obtain a degree of difference; And if the difference degree is larger than a first threshold value, determining that the relay is abnormal. Optionally, the performing a difference calculation between the first voltage sequence and the reconstructed second voltage sequence to obtain a difference degree includes: Respectively carrying out difference calculation on each first voltage in the first voltage sequence and the corresponding reconstructed second voltage to obtain at least one second difference result; Ranking the at least one second difference result according to the value to obtain a ranking result corresponding to each second difference result; And determining a target second difference result corresponding to the target ranking result in the ranking as the difference degree. Optionally, the performing a difference calculation between the first voltage sequence and the reconstructed second voltage sequence to obtain a difference degree further includes: ca