Fault detection method and device and storage medium

By obtaining the positive and negative primitive signals of the gearbox, a single -end signal is generated and converted into analog signal, which solves the problem of low accuracy of gearbox fault detection in existing technologies, and achieves higher detection accuracy and system reliability.

CN119374897APending Publication Date: 2025-01-28SHANGHAI VALEO AUTOMOTIVE ELECTRICAL SYST CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411487872.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The existing transmission fault detection methods are low in accuracy and are prone to false alarms, which leads to the inability to correctly detect transmission faults.

Method used

By obtaining the positive and negative original signals of the device to be tested, a single -end signal is generated, and the digital signal of the single -end signal and the benchmark voltage output is converted to analog signal to determine whether the device to be detected is faulty.

Benefits of technology

It improves the accuracy of the gearbox fault detection, reduces the risk of misdiagnosis, enhances the reliability of the system, and effectively reduces the cost of fault detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119374897A_ABST
    Figure CN119374897A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a fault detection method and device and a storage medium. The method comprises the following steps: acquiring an original signal of to-be-detected equipment; wherein the original signals of the to-be-detected equipment comprise a positive original signal and a negative original signal; generating a single-ended signal based on the positive pole original signal and the negative pole original signal, outputting a digital signal based on the single-ended signal and a reference voltage, and converting the digital signal into an analog signal; and determining whether the to-be-detected equipment fails or not according to the digital signal and the analog signal. According to the technical scheme provided by the embodiment of the invention, the analog signal and the digital signal can be mutually detected, the risk of misjudgment is avoided, the accuracy and reliability of fault detection are improved, and the cost of fault detection is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle fault detection, and in particular to a fault detection method, device and storage medium. Background Art

[0002] With the advancement of life and technology, cars have become an indispensable means of transportation. The gearbox is a key component of the car. Whether the gearbox fails is particularly important to the safe driving of the car.

[0003] At present, when fault detection is performed on a gearbox, a signal is usually extracted from the original signal for fault detection. However, due to the non-ideality of electronic components and the uncertainty of signal frequency during the detection process, there is a risk that the detection result will not match the actual gearbox fault. In addition, under extreme conditions, the detection signal will exceed the preset value of the fault detection, resulting in the inability to correctly detect the gearbox fault.

[0004] The low accuracy of existing fault detection methods has become a technical problem that needs to be solved urgently in the industry. Summary of the invention

[0005] The present invention provides a fault detection method, device and storage medium thereof to solve the problem of false alarm in the existing gearbox fault detection process, thereby improving the accuracy of gearbox fault detection, reducing the risk of misdiagnosis and improving the reliability of the system.

[0006] According to one aspect of the present invention, there is provided a fault detection method, comprising:

[0007] Acquire the original signal of the device to be detected; wherein the original signal of the device to be detected includes a positive original signal and a negative original signal;

[0008] Generate a single-ended signal based on the positive original signal and the negative original signal, output a digital signal based on the single-ended signal and a reference voltage, and convert the digital signal into an analog signal;

[0009] Determine whether the device to be detected is faulty according to the digital signal and the analog signal.

[0010] Optionally, determining whether the device to be detected is faulty according to the digital signal and the analog signal includes:

[0011] If the voltage of the analog signal is within a preset range, it is determined that the device to be detected is in a normal working state:

[0012] If the analog signal voltage is not within the preset interval, it is determined that the device to be detected is in an abnormal state.

[0013] Optionally, determining whether the device to be detected is faulty according to the digital signal and the analog signal includes:

[0014] If the voltage of the analog signal is not within a preset interval, performing a delayed diagnosis on the analog signal;

[0015] If the voltage of the analog signal is within a preset interval during the delayed diagnosis process, it is determined that the device to be detected is in a normal working state.

[0016] Optionally, determining whether the device to be detected is faulty according to the digital signal and the analog signal further includes:

[0017] If the voltage of the analog signal is not within a preset interval during the delay diagnosis process, obtaining the frequency and duty cycle of the digital signal;

[0018] Whether the device to be detected is faulty is determined according to the frequency and duty cycle of the digital signal.

[0019] Optionally, determining whether the device to be detected is faulty according to the frequency and duty cycle of the digital signal includes:

[0020] If the frequency of the digital signal is greater than or equal to a first preset value, and the duty cycle of the digital signal is greater than or equal to a second preset value, it is determined that the device to be detected is in a normal working state;

[0021] If the frequency of the digital signal is less than the first preset value, or the duty cycle of the digital signal is less than the second preset value, it is determined that the device to be detected is in a fault state.

[0022] Optionally, after obtaining the original signal of the device to be detected, the method further includes:

[0023] Acquire the frequency of the positive original signal and the frequency of the negative original signal;

[0024] Whether the device to be detected is faulty is determined according to the frequency of the positive original signal and the frequency of the negative original signal.

[0025] Optionally, determining whether the device to be detected is faulty according to the frequency of the positive original signal and the frequency of the negative original signal includes:

[0026] If the frequency of the positive original signal is greater than or equal to a third preset value, and the frequency of the negative original signal is greater than or equal to a third preset value, it is determined that the device to be detected is in a normal working state;

[0027] If the frequency of the positive original signal is less than a third preset value, or the frequency of the negative original signal is less than a third preset value, it is determined that the device to be detected is in a fault state.

[0028] According to another aspect of the present invention, there is provided a fault detection device, comprising:

[0029] A signal processing unit, connected to the positive original signal and the negative original signal of the device to be detected, used to generate a single-ended signal based on the positive original signal and the negative original signal, output a digital signal based on the single-ended signal and a reference voltage, and convert the digital signal into an analog signal;

[0030] A controller is used to determine whether the device to be detected is faulty according to the digital signal and the analog signal.

[0031] Optionally, the signal processing unit includes: an operational amplifier, a comparator and a low-pass filter;

[0032] The first input terminal of the operational amplifier is connected to the positive original signal, and the second input terminal of the operational amplifier is connected to the negative original signal;

[0033] The first input terminal of the comparator is connected to the output terminal of the operational amplifier, the second input terminal of the comparator is connected to the reference voltage, and the output terminal of the comparator is connected to the first input terminal of the controller;

[0034] The input end of the low-pass filter is connected to the output end of the comparator, and the output end of the low-pass filter is connected to the second input end of the controller;

[0035] The third input terminal of the controller is connected to the negative original signal, and the fourth input terminal of the controller is connected to the positive original signal.

[0036] According to another aspect of the present invention, there is provided a storage medium, comprising: a computer program stored thereon, wherein the program implements the above-mentioned fault detection method when executed by a processor.

[0037] The technical solution of the embodiment of the present invention first obtains the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal. Then, the positive original signal and the negative original signal of the device to be detected are converted into a single-ended signal, and then a digital signal can be obtained by comparing the reference voltage with the single-ended signal, and the digital signal is converted into an analog signal. Therefore, whether the device to be detected has a fault can be detected based on the digital signal and the analog signal. By mutual detection of the analog signal and the digital signal, the accuracy of fault detection is improved, the risk of misjudgment is avoided, the accuracy and reliability of fault detection are improved, and the cost of fault detection is effectively reduced.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A flowchart of a fault detection method provided by an embodiment of the present invention;

[0041] Figure 2 A flowchart of another fault detection method provided by an embodiment of the present invention;

[0042] Figure 3 A flowchart of another fault detection method provided by an embodiment of the present invention;

[0043] Figure 4 A flowchart of another fault detection method provided by an embodiment of the present invention;

[0044] Figure 5 A flowchart of another fault detection method provided by an embodiment of the present invention;

[0045] Figure 6 A schematic diagram of the structure of a fault detection device provided by an embodiment of the present invention; DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] Figure 1 A flowchart of a fault detection method provided by an embodiment of the present invention is applicable to detecting a fault condition of a vehicle gearbox. The method can be executed by a fault detection device, which can be implemented in the form of hardware and / or software.

[0049] like Figure 1 As shown, the fault detection method provided by the embodiment of the present invention includes:

[0050] S110, obtaining the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal.

[0051] Specifically, when performing fault detection on the device to be detected, it is necessary to first obtain the original signal of the device to be detected, and the original signal of the device to be detected includes a positive original signal and a negative original signal. For example, the device to be detected includes a gearbox, and the original signal of the device to be detected can be the positive original signal and the negative original signal of the gearbox. The fault detection device can be connected to the positive and negative electrodes of the device to be detected respectively to obtain the positive original signal and the negative original signal of the device to be detected.

[0052] S120 , generating a single-ended signal based on the positive original signal and the negative original signal, outputting a digital signal based on the single-ended signal and a reference voltage, and converting the digital signal into an analog signal.

[0053] Specifically, after obtaining the positive original signal and the negative original signal of the device to be detected, it is necessary to convert the positive original signal and the negative original signal into a single-ended signal, and the received positive original signal and the negative original signal can be converted into a single-ended signal through an operational amplifier. In the process of fault detection, it is generally determined whether there is a fault by detecting a digital signal or an analog signal. After obtaining the single-ended signal, it is also necessary to compare the single-ended signal with a reference voltage to obtain a digital signal, and then convert the digital signal into an analog signal through a low-pass filter. Among them, the reference voltage can be set according to actual needs, and the embodiment of the present invention is not limited to this.

[0054] S130: Determine whether the device to be detected is faulty according to the digital signal and the analog signal.

[0055] Specifically, after the original signal is converted into an analog signal and a digital signal, the digital signal and the analog signal can be received by the controller, and the fault of the device to be detected can be detected according to the characteristics of the digital signal and the analog signal. After the analog signal is converted, the signal fluctuation can be reduced, making the analog signal more stable, avoiding the risk of misjudgment, and improving the accuracy of fault detection.

[0056] The fault detection method provided by the embodiment of the present invention first obtains the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal. Then, the positive original signal and the negative original signal of the device to be detected are converted into a single-ended signal, and then a digital signal can be obtained by comparing the reference voltage with the single-ended signal, and the digital signal is converted into an analog signal. Therefore, whether the device to be detected has a fault can be detected based on the digital signal and the analog signal. By mutual detection of the analog signal and the digital signal, the accuracy of fault detection is improved, the risk of misjudgment is avoided, the accuracy and reliability of fault detection are improved, and the cost of fault detection is effectively reduced.

[0057] Optional, Figure 2 A flowchart of another fault detection method provided by an embodiment of the present invention. Figure 2 , the fault detection method provided by the embodiment of the present invention includes:

[0058] S210, obtaining the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal.

[0059] S220 , generating a single-ended signal based on the positive original signal and the negative original signal, outputting a digital signal based on the single-ended signal and a reference voltage, and converting the digital signal into an analog signal.

[0060] S230: If the voltage of the analog signal is within a preset range, it is determined that the device to be detected is in a normal working state.

[0061] Specifically, the voltage of the analog signal can represent the working state of the device to be detected. Therefore, the controller can detect whether the voltage of the analog signal is within a preset interval. If the voltage of the analog signal is within the required preset interval, it means that the device to be detected is in a normal state. The preset interval range can be set according to actual needs, and can be 0.7V-4.8V for example. When the voltage of the analog signal is 1.6V at this time, it is determined that the device to be detected is in a normal working state.

[0062] S240: If the analog signal voltage is not within the preset range, it is determined that the device to be detected is in an abnormal state.

[0063] Specifically, if the voltage of the analog signal is not within the required preset range, it means that the device to be detected is in an abnormal state. For example, when the voltage of the analog signal is detected to be 0.2V or 5.0V, which is not between the required 0.7V-4.8V, the device to be detected is determined to be in an abnormal state. By detecting the voltage of the analog signal, it is possible to determine whether the device to be detected has a fault. The detection method is simple and saves detection time.

[0064] Optional, Figure 3 A flowchart of another fault detection method provided by an embodiment of the present invention. Figure 3 , the fault detection method provided by the embodiment of the present invention includes:

[0065] S310, obtaining the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal.

[0066] S320 , generating a single-ended signal based on the positive original signal and the negative original signal, outputting a digital signal based on the single-ended signal and a reference voltage, and converting the digital signal into an analog signal.

[0067] S330: If the voltage of the analog signal is not within the preset interval, perform delay diagnosis on the analog signal.

[0068] Specifically, in the process of detecting the voltage of the analog signal, the voltage of the analog signal may be unstable, causing the voltage at a certain moment to fluctuate beyond the preset range. In order to avoid the risk of misjudgment, the voltage of the analog signal can be delayed for diagnosis. Delayed diagnosis of the voltage of the analog signal means that when the voltage of the analog signal is not within the preset range, the detection time of the analog signal is delayed, and the analog signal is continuously monitored for a period of time. By increasing the detection time of the analog signal voltage, it is determined that the voltage of the analog signal is in a stable state for detection, thereby improving the accuracy of fault detection.

[0069] S340: If the voltage of the analog signal is within a preset range during the delayed diagnosis process, it is determined that the device to be detected is in a normal working state.

[0070] Specifically, during the period of delayed diagnosis of the analog signal, if the analog signal is within the preset range, it means that the voltage of the analog signal has always been within the preset range, and the device to be detected is determined to be in normal working state. Before the delayed diagnosis, the voltage of the analog signal exceeds the preset range, which may be caused by the analog signal jumping or other reasons, and is not caused by the failure of the device to be detected. By delaying the diagnosis of the analog signal, the risk of misdiagnosis is reduced.

[0071] S350: If the voltage of the analog signal is not within a preset interval during the delay diagnosis process, the frequency and duty cycle of the digital signal are obtained.

[0072] Specifically, if the voltage of the analog signal is always outside the preset range during the delayed diagnosis of the analog signal, it means that the device to be detected is indeed faulty, and the analog signal is not outside the preset range due to other reasons. If the voltage of the analog signal is not within the preset range after the delayed diagnosis, it is necessary to obtain the rated frequency and duty cycle of the digital signal, and perform further fault detection based on the frequency and duty cycle of the digital signal.

[0073] S360: Determine whether the device to be detected is faulty according to the frequency and duty cycle of the digital signal.

[0074] Specifically, in the delayed diagnosis of the analog signal, if the voltage of the analog signal is not within the preset interval, the frequency and duty cycle of the digital signal are obtained. It is possible to further detect whether the device to be detected has a fault based on the frequency and duty cycle of the digital signal. By mutual verification of the analog signal and the digital signal, the accuracy and reliability of fault detection are improved.

[0075] Optional, Figure 4 A flowchart of another fault detection method provided by an embodiment of the present invention. Figure 4, the fault detection method provided by the embodiment of the present invention includes:

[0076] S410, obtaining the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal.

[0077] S420 , generating a single-ended signal based on the positive original signal and the negative original signal, outputting a digital signal based on the single-ended signal and a reference voltage, and converting the digital signal into an analog signal.

[0078] S430: If the voltage of the analog signal is not within the preset interval, perform a delayed diagnosis on the analog signal.

[0079] S440: If the voltage of the analog signal is within a preset range during the delayed diagnosis process, it is determined that the device to be detected is in a normal working state.

[0080] S450: If the voltage of the analog signal is not within a preset interval during the delay diagnosis process, the frequency and duty cycle of the digital signal are obtained.

[0081] S460: If the frequency of the digital signal is greater than or equal to the first preset value, and the duty cycle of the digital signal is greater than or equal to the second preset value, it is determined that the device to be detected is in a normal working state.

[0082] Specifically, after obtaining the frequency and duty cycle of the digital signal, determine whether the device to be detected has a fault based on the relationship between the frequency of the digital signal and the first preset value and the relationship between the duty cycle and the second preset value. When the frequency of the digital signal is greater than or equal to the first preset value, and the duty cycle of the digital signal is greater than or equal to the second preset value, it is determined that the device to be detected is in a normal state. Only when the frequency and duty cycle of the digital signal meet the preset conditions can it be determined that the device to be detected is in a normal state. Among them, the first preset value and the second preset value can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0083] S470: If the frequency of the digital signal is less than the first preset value, or the duty cycle of the digital signal is less than the second preset value, it is determined that the device to be detected is in a fault state.

[0084] Specifically, when the frequency of the digital signal is less than the first preset value, or the duty cycle of the digital signal is less than the second preset value, the device to be detected is determined to be in a fault state. If the frequency of the digital signal is less than the first preset value, or the duty cycle of the digital signal is less than the second preset value, it means that the original signal of the device to be detected has changed and is different from the original signal in the normal state, and it can be determined that the device to be detected has a fault. As long as one of the frequency and duty cycle of the digital signal does not meet the preset condition, it means that the device to be detected has a fault.

[0085] The fault detection method provided in the embodiment of the present invention realizes mutual verification of digital signals and analog signals by introducing fault detection on the frequency and duty cycle of digital signals, thereby improving the accuracy and reliability of fault detection within the low-frequency signal range, avoiding the risk of misjudgment, and can be further extended to application scenarios within lower signal frequencies.

[0086] Optional, Figure 5 A flowchart of another fault detection method provided by an embodiment of the present invention. Figure 5 , the fault detection method provided by the embodiment of the present invention includes:

[0087] S510, obtaining the original signal of the device to be detected, wherein the original signal of the device to be detected includes a positive original signal and a negative original signal.

[0088] S520: Obtain the frequency of the positive original signal and the frequency of the negative original signal.

[0089] Specifically, when performing fault detection on the device to be detected, a detection loop can be set at the input end of the original signal to directly detect the original signal. Fault detection can be performed by obtaining the frequency of the positive original signal and the frequency of the negative original signal of the device to be detected.

[0090] S530: Determine whether the device to be detected is faulty according to the frequency of the positive original signal and the frequency of the negative original signal.

[0091] Specifically, the positive original signal and the negative original signal of the device to be detected can be directly input into the controller, and the positive original signal and the negative original signal of the device to be detected can be directly detected by the controller to determine whether the device to be detected fails.

[0092] S540: If the frequency of the positive original signal is greater than or equal to the third preset value, and the frequency of the negative original signal is greater than or equal to the third preset value, it is determined that the device to be detected is in a normal working state.

[0093] Specifically, when the controller detects the positive original signal and the negative original signal of the device to be detected, it can detect whether the frequency of the positive original signal and the frequency of the negative original signal are greater than or equal to the third preset value. Only when both are greater than or equal to the third preset value, can the device to be detected be determined to be in a normal state. The third preset value can be set according to actual needs, and can be 10 Hz for example.

[0094] S550: If the frequency of the positive original signal is less than the third preset value, or the frequency of the negative original signal is less than the third preset value, it is determined that the device to be detected is in a fault state.

[0095] Specifically, when the positive original signal and the negative original signal of the device to be detected are detected, if one of the positive original signal or the negative original signal is detected to be less than the third preset value, it means that the device to be detected is in a fault state. For example, if the positive original signal is 8.5 Hz and the negative original signal is 12 Hz, the device to be detected is reported to be in a fault state; if the positive original signal is 10 Hz and the negative original signal is 8.5 Hz, the device to be detected is also reported to be in a fault state; if the positive original signal is 8.5 Hz and the negative original signal is 8.5 Hz, the device to be detected is also reported to be in a fault state.

[0096] The fault detection method provided in the embodiment of the present invention directly detects the original signal by acquiring the frequency of the positive original signal and the frequency of the negative original signal of the device to be detected, thereby increasing the process of directly detecting the original signal, further improving the accuracy and reliability of fault detection, avoiding the risk of misjudgment, saving detection steps, and effectively saving detection costs.

[0097] The embodiment of the present invention also provides a fault detection device. Figure 6 FIG. 1 is a schematic diagram of a structure of a fault detection device provided by an embodiment of the present invention. Figure 6 As shown, the fault detection device 100 includes:

[0098] The signal processing unit 10 is connected to the positive original signal Positive Input and the negative original signal Negative Input of the device to be detected, and is used to convert the positive original signal Positive Input and the negative original signal Negative Input into a single-ended signal, output a digital signal based on the single-ended signal and a reference voltage Voltage Reference, and convert the digital signal into an analog signal.

[0099] The controller 20 is used to determine whether the device to be detected is faulty according to the digital signal and the analog signal.

[0100] Optionally, the signal processing unit 10 includes: an operational amplifier 110, a comparator 120 and a low-pass filter 130. The first input terminal of the operational amplifier 110 is connected to the positive original signal Positive Input, and the second input terminal of the operational amplifier 110 is connected to the negative original signal Negative Input. The first input terminal of the comparator 120 is connected to the output terminal of the operational amplifier 110, the second input terminal of the comparator 120 is connected to the reference voltage Voltage Reference, and the output terminal of the comparator 120 is connected to the first input terminal of the controller 20. The input terminal of the low-pass filter 130 is connected to the output terminal of the comparator 120, and the output terminal of the low-pass filter 130 is connected to the second input terminal of the controller 20. The third input terminal of the controller 20 is connected to the negative original signal Negative Input, and the fourth input terminal of the controller 10 is connected to the positive original signal Positive Input.

[0101] The embodiment of the present invention accesses the positive original signal and the negative original signal of the device to be detected through a signal processing unit, generates a single-ended signal from the positive original signal and the negative original signal through an operational amplifier, outputs a digital signal based on the single-ended signal and a reference voltage through a comparator, and converts the digital signal into an analog signal through a low-pass filter. The controller determines whether the device to be detected is faulty based on the digital signal and the analog signal. The fault detection device can not only detect faults on the original signal without adding other electrical components and adjusting the circuit layout, but also realize mutual verification of digital signals and analog signals, thereby improving the fault detection accuracy and reliability within the low-frequency signal range, and can be further extended to application scenarios within lower signal frequencies.

[0102] The fault detection device provided in the embodiment of the present invention can execute the fault detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0103] An embodiment of the present invention further provides a storage medium on which a computer program is stored. When the program is executed by a processor, the fault detection method provided by any of the above embodiments of the present invention is implemented.

[0104] Of course, the computer executable instructions of a storage medium provided by an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the fault detection method provided by any embodiment of the present invention.

[0105] The storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device.

[0106] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0107] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0108] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A fault detection method, characterized in that: include: Acquire the original signal of the device to be detected; wherein the original signal of the device to be detected includes a positive original signal and a negative original signal; Generate a single-ended signal based on the positive original signal and the negative original signal, output a digital signal based on the single-ended signal and a reference voltage, and convert the digital signal into an analog signal; Determine whether the device to be detected is faulty according to the digital signal and the analog signal.

2. The fault detection method according to claim 1, characterized in that: The step of determining whether the device to be detected is faulty according to the digital signal and the analog signal includes: If the voltage of the analog signal is within a preset range, it is determined that the device to be detected is in a normal working state; If the analog signal voltage is not within the preset interval, it is determined that the device to be detected is in an abnormal state.

3. The fault detection method according to claim 1, characterized in that: Determining whether the device to be detected is faulty according to the digital signal and the analog signal includes: If the voltage of the analog signal is not within a preset interval, performing a delayed diagnosis on the analog signal; If the voltage of the analog signal is within a preset interval during the delayed diagnosis process, it is determined that the device to be detected is in a normal working state.

4. The fault detection method according to claim 3, characterized in that: Determining whether the device to be detected is faulty according to the digital signal and the analog signal further includes: If the voltage of the analog signal is not within a preset interval during the delay diagnosis process, obtaining the frequency and duty cycle of the digital signal; Whether the device to be detected is faulty is determined according to the frequency and duty cycle of the digital signal.

5. The fault detection method according to claim 4, characterized in that: The step of determining whether the device to be detected is faulty according to the frequency and duty cycle of the digital signal comprises: If the frequency of the digital signal is greater than or equal to a first preset value, and the duty cycle of the digital signal is greater than or equal to a second preset value, it is determined that the device to be detected is in a normal working state; If the frequency of the digital signal is less than the first preset value, or the duty cycle of the digital signal is less than the second preset value, it is determined that the device to be detected is in a fault state.

6. The fault detection method according to claim 1, characterized in that: After obtaining the original signal of the device to be detected, the method further includes: Acquire the frequency of the positive original signal and the frequency of the negative original signal; Whether the device to be detected is faulty is determined according to the frequency of the positive original signal and the frequency of the negative original signal.

7. The fault detection method according to claim 6, characterized in that: Determining whether the device to be detected is faulty according to the frequency of the positive original signal and the frequency of the negative original signal includes: If the frequency of the positive original signal is greater than or equal to a third preset value, and the frequency of the negative original signal is greater than or equal to a third preset value, it is determined that the device to be detected is in a normal working state; If the frequency of the positive original signal is less than a third preset value, or the frequency of the negative original signal is less than a third preset value, it is determined that the device to be detected is in a fault state.

8. A fault detection device, characterized in that: include: A signal processing unit, connected to the positive original signal and the negative original signal of the device to be detected, used to generate a single-ended signal based on the positive original signal and the negative original signal, output a digital signal based on the single-ended signal and a reference voltage, and convert the digital signal into an analog signal; A controller is used to determine whether the device to be detected is faulty according to the digital signal and the analog signal.

9. The fault detection device according to claim 8, characterized in that: The signal processing unit includes: an operational amplifier, a comparator and a low-pass filter; The first input terminal of the operational amplifier is connected to the positive original signal, and the second input terminal of the operational amplifier is connected to the negative original signal; The first input terminal of the comparator is connected to the output terminal of the operational amplifier, the second input terminal of the comparator is connected to the reference voltage, and the output terminal of the comparator is connected to the first input terminal of the controller; The input end of the low-pass filter is connected to the output end of the comparator, and the output end of the low-pass filter is connected to the second input end of the controller; The third input terminal of the controller is connected to the negative original signal, and the fourth input terminal of the controller is connected to the positive original signal.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the fault detection method as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Control method and device of vehicle-mounted redundant controller, equipment and medium

    CN120595693A

  • A control method and device of a vehicle-mounted redundant controller, equipment and medium

    CN120595693B