Vehicle-mounted sensor fault diagnosis method, equipment, medium and vehicle

The voltage and current values ​​of the sensor are obtained through the domain controller, and the power supply line status is determined using the high-side switch register. This solves the problem of low efficiency in sensor fault diagnosis and achieves efficient fault diagnosis without disassembling the sensor.

CN116142217BActive Publication Date: 2025-09-16ANHUI SHENJI TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310348079.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2025-09-16
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

The existing technology has the problem that the fault diagnosis efficiency of vehicle-mounted sensors is low and the fault phenomenon will disappear when the sensor is removed.

Method used

The domain controller obtains the sensor's voltage and current values, and uses the high-side switch's register to determine the power supply line condition, including short circuit, impedance fault, open circuit, and normal state, and then determines the component that requires further inspection without removing the sensor.

Benefits of technology

It achieves efficient and accurate fault diagnosis and can determine the cause of the fault without removing the sensor, thus improving diagnostic efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116142217B_ABST
    Figure CN116142217B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of fault diagnosis technology, and specifically provides a method, device, medium and vehicle for diagnosing vehicle-mounted sensor faults, aiming to solve the technical problems of the disappearance of fault phenomena due to disassembly and the low efficiency of fault diagnosis in vehicle-mounted sensor fault diagnosis. To this end, the vehicle-mounted sensor fault diagnosis method of the present invention includes a domain controller obtaining power supply status information of the vehicle-mounted sensor, preliminarily judging the status of the power supply circuit of the vehicle-mounted sensor through the power supply status information and deriving further detection methods. In this method, the domain controller of the vehicle supplies power to the vehicle-mounted sensor, such as the vehicle-mounted camera, through the power supply circuit, and simultaneously obtains the power supply status of the vehicle-mounted sensor and analyzes and obtains the preliminary diagnostic status of the power supply circuit of the vehicle-mounted sensor based on this, and provides further detection methods for after-sales or R&D personnel to perform efficient and targeted inspections, thereby determining the cause of the fault.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault diagnosis, and specifically provides a method, system, vehicle and medium for diagnosing faults of an on-vehicle sensor. Background Art

[0002] As new energy vehicles become increasingly powerful, domain controllers (DCs) are becoming increasingly complex. External onboard sensors, such as cameras and LiDAR systems, are also becoming more numerous and complex. These sensors, such as onboard cameras, serve as sensors for the DC. These sensors are numerous and installed externally, exposing them to the environment and making them prone to failure. Therefore, engineers are required to perform fault diagnosis.

[0003] Current fault diagnosis mostly involves disassembling sensors for fault detection and judgment. However, this method is inefficient, and disassembling the sensor has adverse effects on the sensor itself and the installation location, and may also cause the fault phenomenon to disappear and become undetectable.

[0004] Therefore, the art needs a new vehicle-mounted sensor fault diagnosis solution to solve the above problems. Summary of the Invention

[0005] In order to overcome the above-mentioned defects, the present invention is proposed to provide a solution or at least partially solve the technical problems of disappearance of fault phenomena caused by disassembly and low fault diagnosis efficiency in vehicle-mounted sensor fault diagnosis.

[0006] In a first aspect, the present invention provides a method for diagnosing faults of a vehicle-mounted sensor, wherein the vehicle-mounted sensor is connected to a domain controller via a power supply line. The method comprises: the domain controller acquiring a voltage value and a current value of the vehicle-mounted sensor to obtain power supply status information, wherein the power supply status information comprises an undervoltage mark, an overcurrent mark, and an ADC current sampling value; preliminarily judging the condition of the power supply line of the vehicle-mounted sensor by assigning values ​​of the undervoltage mark, the overcurrent mark, and the ADC current sampling value, wherein the condition of the power supply line comprises one of a power supply line short circuit, a power supply line impedance fault, a power supply line open circuit, and a normal power supply line; and deriving components that need to be further inspected based on the condition of the power supply line of the vehicle-mounted sensor.

[0007] In one technical solution of the above-mentioned vehicle-mounted sensor fault diagnosis method, the domain controller includes a microcontroller, a power supply circuit, and a high-side switch communicatively connected to the microcontroller and the power supply circuit, the high-side switch includes a voltage detection register, a current detection register, and an ADC current sampling register, and the step of "the domain controller obtaining the voltage value and current value of the vehicle-mounted sensor to obtain power supply status information" specifically includes: the high-side switch controls the power supply circuit to power the vehicle-mounted sensor and stores the voltage value and current value in the voltage detection register, the current detection register, and the ADC current sampling register, respectively, to obtain power supply status information; and the microcontroller reads the power supply status information for analysis and judgment.

[0008] In a technical solution of the above-mentioned vehicle-mounted sensor fault diagnosis method, the step of "the microcontroller reads the power supply status information for analysis and judgment" specifically includes: the microcontroller reads the mark status of the voltage detection register, if the voltage detection register is marked, the undervoltage mark = 1, otherwise the undervoltage mark = 0; the microcontroller reads the mark status of the current detection register, if the current detection register is marked, the overcurrent mark = 1, otherwise the overcurrent mark = 0; and the microcontroller reads the output current value of the ADC current sampling register, if there is no output current, the ADC current sampling value = 0, otherwise the ADC current sampling value ≠ 0.

[0009] In one technical solution of the above-mentioned vehicle-mounted sensor fault diagnosis method, the step of "preliminarily judging the condition of the power supply circuit of the vehicle-mounted sensor by assigning the undervoltage flag, overcurrent flag and ADC current sampling value" specifically includes: when the undervoltage flag = 1 and the overcurrent flag = 1, the microcontroller preliminarily judges that the power supply circuit is short-circuited; when the undervoltage flag = 1 and the overcurrent flag = 0, the microcontroller preliminarily judges that the power supply circuit has an impedance fault; when the undervoltage flag = 0 and the ADC current sampling value = 0, the microcontroller preliminarily judges that the power supply circuit is open; and when the undervoltage flag = 0 and the ADC current sampling value ≠ 0, the microcontroller preliminarily judges that the power supply circuit is normal.

[0010] In a technical solution of the above-mentioned vehicle-mounted sensor fault diagnosis method, the domain controller also includes a PCB board and a deserializer, and the deserializer is electrically connected to the vehicle-mounted sensor to parse the data of the vehicle-mounted sensor. The step of "deriving components that need to be further inspected based on the condition of the power supply circuit of the vehicle-mounted sensor" specifically includes: when the power supply circuit is judged to be short-circuited, it is determined that the wiring harness of the power supply circuit, the vehicle-mounted sensor, the high-side switch and the PCB board need to be further inspected; when the power supply circuit is judged to be an impedance fault, it is determined that the inductance and resistance patch of the power supply circuit need to be further inspected; when the power supply circuit is judged to be open-circuited, it is determined that the wiring harness of the power supply circuit and the vehicle-mounted sensor need to be further inspected; and when the power supply circuit is judged to be normal, it is determined that the deserializer needs to be further inspected.

[0011] In one technical solution of the above-mentioned vehicle-mounted sensor fault diagnosis method, the domain controller is communicatively connected to a vehicle display screen or a mobile terminal, and the vehicle-mounted sensor fault diagnosis method further includes: the microcontroller transmits the preliminary judgment result and further detection method to the display screen or mobile terminal to guide the personnel to be processed to handle it.

[0012] In one technical solution of the above-mentioned vehicle-mounted sensor fault diagnosis method, the vehicle-mounted sensor is a vehicle-mounted camera, and the vehicle-mounted camera is exposed to the external environment for assisting driving.

[0013] In a second aspect, an electronic device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the vehicle-mounted sensor fault diagnosis method described in any one of the technical solutions of the above-mentioned vehicle-mounted sensor fault diagnosis method.

[0014] In a third aspect, a computer-readable storage medium is provided, which stores multiple program codes, and the program codes are suitable for being loaded and run by a processor to execute the vehicle-mounted sensor fault diagnosis method described in any one of the technical solutions of the above-mentioned vehicle-mounted sensor fault diagnosis method.

[0015] In a fourth aspect, a vehicle is provided, comprising the aforementioned electronic device.

[0016] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:

[0017] In implementing the technical solution of the present invention, the vehicle's domain controller supplies power to on-board sensors, such as on-board cameras, through power supply lines, and simultaneously obtains the power supply status of the on-board sensors. Based on this analysis, a preliminary diagnosis result of the power supply line of the on-board sensors is obtained, and further detection methods are provided for after-sales or R&D personnel to perform efficient and targeted inspections, ultimately determining the cause of the fault.

[0018] The microcontroller in the present invention preliminarily determines the status of the vehicle sensor's power supply circuit by reading the different register states of the high-side switch, and then determines the fault condition of the related components. Specifically, the microcontroller obtains the flag status of the voltage detection register and the current detection register in the high-side switch, and the current sampling value of the ADC current sampling register. By comparing the 0 and 1 assignments of the undervoltage flag and the overcurrent flag, and the numerical value of the current sampling value, it preliminarily determines the four conditions of the power supply circuit and then determines the component that needs to be tested next. This allows for efficient and accurate fault diagnosis without disassembling the vehicle sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The disclosure of the present invention will be more easily understood with reference to the accompanying drawings. Those skilled in the art will readily appreciate that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. Furthermore, similar numbers in the drawings represent similar components, wherein:

[0020] Figure 1 This is a flow chart showing the main steps of a method for diagnosing a fault of an on-board sensor according to an embodiment of the present invention;

[0021] Figure 2 is another schematic diagram of the main steps of the vehicle sensor fault diagnosis method according to one embodiment of the present invention;

[0022] Figure 3 1 is a schematic diagram of the circuit structure of a vehicle-mounted sensor fault diagnosis system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] Some embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0024] In the description of the present invention, "module" and "processor" may include hardware, software, or a combination of both. A module may include hardware circuitry, various suitable sensors, communication ports, and memory. It may also include software components, such as program code, or a combination of software and hardware. A processor may be a central processing unit, a microcontroller, an image processor, a digital signal processor, or any other suitable processor. A processor has data and / or signal processing capabilities. A processor may be implemented in software, hardware, or a combination of both. Non-transitory computer-readable storage media include any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, and the like. The term "A and / or B" refers to all possible combinations of A and B, such as only A, only B, or both A and B. The terms "at least one of A or B" or "at least one of A and B" have similar meanings to "A and / or B" and may include only A, only B, or both A and B. The singular forms "a" and "the" may also include the plural forms.

[0025] See attached Figures 1 to 3 , Figure 1 1 is a flow chart of the main steps of a vehicle-mounted sensor fault diagnosis method according to an embodiment of the present invention. Figure 2 2 is another schematic diagram of the main steps of the vehicle sensor fault diagnosis method according to an embodiment of the present invention. Figure 3 FIG. 1 is a schematic diagram of the circuit structure of a vehicle-mounted sensor fault diagnosis system according to an embodiment of the present invention. Figures 1 to 3 As shown, the vehicle-mounted sensor fault diagnosis method in the embodiment of the present invention mainly includes the following steps S101-S103.

[0026] Step S101: The domain controller obtains the voltage value and current value of the vehicle-mounted sensor to obtain power supply status information, wherein the power supply status information includes an undervoltage flag, an overcurrent flag, and an ADC current sampling value.

[0027] In this embodiment, the vehicle-mounted sensor is electrically connected to the domain controller via a power supply line. The domain controller can supply power to the vehicle-mounted sensor and simultaneously obtain the voltage and current of the vehicle-mounted sensor to obtain power supply status information.

[0028] Step S102: Preliminarily judge the condition of the power supply circuit of the vehicle-mounted sensor by assigning the undervoltage mark, the overcurrent mark and the ADC current sampling value, wherein the condition of the power supply circuit includes one of a power supply circuit short circuit, a power supply circuit impedance fault, a power supply circuit open circuit and a normal power supply circuit.

[0029] In this embodiment, the undervoltage flag is detected first, and then it is determined whether to detect the overcurrent flag or the ADC current sampling value next based on the undervoltage flag.

[0030] Step S103: deriving components that need to be further inspected based on the status of the power supply circuit of the vehicle-mounted sensor.

[0031] In this embodiment, after the undervoltage flag and the overcurrent flag, or the undervoltage flag and the ADC current sampling value are determined, the component to be detected in the next step is determined.

[0032] In one embodiment, the domain controller includes a microcontroller, a power supply circuit, and a high-side switch that communicates the microcontroller and the power supply circuit. The high-side switch includes a voltage detection register, a current detection register, and an ADC current sampling register. The step of "the domain controller obtains the voltage value and current value of the on-board sensor to obtain power supply status information" specifically includes: the high-side switch controls the power supply circuit to power the on-board sensor and stores the voltage value and current value in the voltage detection register, the current detection register, and the ADC current sampling register, respectively, to obtain power supply status information; the microcontroller reads the power supply status information for analysis and judgment.

[0033] Specifically, the microcontroller communicates with the high-side switch via I2C / SPI or other communication methods. The high-side switch powers the onboard sensors while recording its output current and voltage in corresponding registers. The microcontroller then reads this information and analyzes it. The microcontroller can obtain the value of the undervoltage flag from the voltage detection register, the value of the overcurrent flag from the current detection register, and the ADC current sampling value from the ADC current sampling register. The high-side switch also sends the undervoltage flag, overcurrent flag, and ADC current sampling value to the microcontroller.

[0034] In one embodiment, the step of "the microcontroller reads the power supply status information for analysis and judgment" specifically includes: the microcontroller reads the mark status of the voltage detection register, if the voltage detection register is marked, the undervoltage mark = 1, otherwise the undervoltage mark = 0; the microcontroller reads the mark status of the current detection register, if the current detection register is marked, the overcurrent mark = 1, otherwise the overcurrent mark = 0; and the microcontroller reads the output current value of the ADC current sampling register, if there is no output current, the ADC current sampling value = 0, otherwise the ADC current sampling value ≠ 0.

[0035] Specifically, the high-side switch determines the voltage value required to be output to the vehicle sensor and controls the power supply circuit to deliver the voltage. The voltage detection sensor records the delivered voltage value in real time. When this recorded voltage value is at least 10% lower than the previously determined voltage value required to be output to the vehicle sensor, the high-side switch output is determined to be undervoltage, and the voltage detection register of the high-side switch is flagged, with the undervoltage flag = 1; otherwise, the undervoltage flag = 0. Similarly, the high-side switch determines the current value required to be output to the vehicle sensor and controls the power supply circuit to deliver the current. The current detection sensor records the delivered current value in real time. When this recorded current value is at least 10% higher than the previously determined current value required to be output to the vehicle sensor, the high-side switch output is determined to be overcurrent, and the current detection register of the high-side switch is flagged, with the overcurrent flag = 1; otherwise, the overcurrent flag = 0. The ADC current sampling register also records the delivered current value in real time. When there is no output current, the ADC current sampling value = 0; otherwise, the ADC current sampling value ≠ 0.

[0036] like Figures 2 to 3 As shown, in one embodiment, the step of "preliminarily judging the condition of the power supply circuit of the vehicle-mounted sensor by assigning the undervoltage flag, the overcurrent flag and the ADC current sampling value" specifically includes: when the undervoltage flag = 1 and the overcurrent flag = 1, the microcontroller preliminarily judges that the power supply circuit is short-circuited; when the undervoltage flag = 1 and the overcurrent flag = 0, the microcontroller preliminarily judges that the power supply circuit has an impedance fault; when the undervoltage flag = 0 and the ADC current sampling value = 0, the microcontroller preliminarily judges that the power supply circuit is open; and when the undervoltage flag = 0 and the ADC current sampling value ≠ 0, the microcontroller preliminarily judges that the power supply circuit is normal.

[0037] Specifically, the microcontroller first reads the voltage detection register and determines whether to continue reading the current detection register or the ADC current sampling register based on the value of the undervoltage flag in the voltage detection register. Specifically, the current detection register is read when the undervoltage flag is 1, and the ADC current sampling register is read when the undervoltage flag is 0.

[0038] like Figures 2 to 3 As shown, in one embodiment, the domain controller further includes a PCB board and a deserializer, which is electrically connected to the on-board sensor to parse the data of the on-board sensor. The step of "deriving components that need to be further tested based on the condition of the power supply circuit of the on-board sensor" specifically includes: when the power supply circuit is judged to be short-circuited, it is determined that the wiring harness, on-board sensor, high-side switch and PCB board of the power supply circuit need to be further tested; when the power supply circuit is judged to be an impedance fault, it is determined that the inductor and resistor patch of the power supply circuit need to be further tested; when the power supply circuit is judged to be open-circuited, it is determined that the wiring harness and on-board sensor of the power supply circuit need to be further tested; and when the power supply circuit is judged to be normal, it is determined that the deserializer needs to be further tested.

[0039] Specifically, in a preferred embodiment, the deserializer is connected to the onboard sensor via a power supply line, with a DC blocking capacitor interposed between them. The power supply line may have one of four possible on / off conditions: normal, short circuit, short circuit, or impedance fault. Once the fault condition is determined, after-sales personnel or R&D personnel can be instructed on which components to test next to identify the specific fault.

[0040] In one embodiment, the domain controller is communicatively connected to a vehicle display screen or a mobile terminal, and the vehicle-mounted sensor fault diagnosis method further includes: the microcontroller transmits the preliminary judgment result and further detection method to the display screen or the mobile terminal to guide the personnel to handle the problem.

[0041] Specifically, the personnel to be processed specifically refers to the aforementioned after-sales personnel or R&D personnel. The vehicle display screen can, for example, be the main display located in the center of the front of the vehicle. The mobile terminal can be a mobile communication device such as a mobile phone or tablet computer used by the personnel to be processed. After establishing a communication connection with the aforementioned components, the domain controller can transmit the preliminary judgment results and further test results to the display screen or mobile terminal for convenient viewing by the personnel to be processed.

[0042] In addition, an alarm can be set up, and the domain controller is connected to the alarm to remind the personnel to handle the matter.

[0043] In one embodiment, the vehicle-mounted sensor is a vehicle-mounted camera, which is exposed to the external environment for assisting driving.

[0044] Specifically, onboard cameras are sensors of the domain controller, installed on the outside of the vehicle in direct contact with the environment. They are used for assisted driving and are key components of vehicle assisted driving. A vehicle can have multiple cameras installed, for example, more than 10 onboard cameras.

[0045] Based on the above steps S101 to S103 and their subsidiary steps, the vehicle's domain controller supplies power to on-board sensors, such as on-board cameras, through the power supply line, and obtains the power supply status of the on-board sensors. Based on this analysis, a preliminary diagnosis result of the on-board sensor power supply line is obtained, and further detection methods are provided for after-sales or R&D personnel to perform efficient and targeted inspections, ultimately determining the cause of the fault.

[0046] The microcontroller in the present invention preliminarily determines the status of the vehicle sensor's power supply circuit by reading the different register states of the high-side switch, and then determines the fault condition of the related components. Specifically, the microcontroller obtains the flag status of the voltage detection register and the current detection register in the high-side switch, and the current sampling value of the ADC current sampling register. By comparing the 0 and 1 assignments of the undervoltage flag and the overcurrent flag, and the numerical value of the current sampling value, it preliminarily determines the four conditions of the power supply circuit and then determines the component that needs to be tested next. This allows for efficient and accurate fault diagnosis without disassembling the vehicle sensor.

[0047] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.

[0048] Those skilled in the art will appreciate that all or part of the processes in the method for implementing the above-mentioned embodiment of the present invention may also be accomplished by instructing the relevant hardware through a computer program. The computer program may be stored in a computer-readable storage medium. When the computer program is executed by a processor, it may implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal, and software distribution medium capable of carrying the computer program code. It should be noted that the content contained in the computer-readable storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0049] Furthermore, the present invention provides an electronic device. In an embodiment of an electronic device according to the present invention, the electronic device includes a processor and a storage device. The storage device can be configured to store a program for executing the vehicle sensor fault diagnosis method of the above-described method embodiment, and the processor can be configured to execute the program in the storage device, including but not limited to a program for executing the vehicle sensor fault diagnosis method of the above-described method embodiment. For ease of illustration, only the portions relevant to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method section of the embodiment of the present invention.

[0050] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the vehicle-mounted sensor fault diagnosis method of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the above-mentioned vehicle-mounted sensor fault diagnosis method. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-transitory computer-readable storage medium.

[0051] Furthermore, it should be understood that since the configuration of each module is merely for the purpose of illustrating the functional units of the apparatus of the present invention, the physical devices corresponding to these modules may be the processor itself, or a portion of the software in the processor, a portion of the hardware, or a combination of software and hardware. Therefore, the number of modules in the figure is merely illustrative.

[0052] Those skilled in the art will appreciate that the various modules in the device can be adaptively split or merged. Such splitting or merging of specific modules does not cause the technical solution to deviate from the principles of the present invention. Therefore, the technical solutions after splitting or merging will fall within the scope of protection of the present invention.

[0053] Thus far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present invention.

Claims

1. A method for diagnosing faults of an on-board sensor, wherein the on-board sensor is connected to a domain controller via a power supply line, characterized in that: The vehicle-mounted sensor fault diagnosis method comprises: The domain controller obtains the voltage value and the current value of the vehicle-mounted sensor to obtain power supply status information, wherein the power supply status information includes an undervoltage flag, an overcurrent flag, and an ADC current sampling value; Preliminarily judging the condition of the power supply circuit of the vehicle-mounted sensor based on the assignment of the undervoltage flag, the overcurrent flag, and the ADC current sampling value, wherein the condition of the power supply circuit includes one of a power supply circuit short circuit, a power supply circuit impedance fault, a power supply circuit open circuit, and a power supply circuit normal; The components that need to be further inspected are determined according to the condition of the power supply circuit of the vehicle-mounted sensor.

2. The vehicle-mounted sensor fault diagnosis method according to claim 1, characterized in that: The domain controller includes a microcontroller, a power supply circuit, and a high-side switch communicatively connected to the microcontroller and the power supply circuit. The high-side switch includes a voltage detection register, a current detection register, and an ADC current sampling register. The step of "the domain controller obtaining the voltage and current values ​​of the vehicle-mounted sensor to obtain power supply status information" specifically includes: The high-side switch controls the power supply circuit to supply power to the vehicle-mounted sensor and stores the voltage value and the current value in the voltage detection register, the current detection register and the ADC current sampling register respectively to obtain power supply status information; The microcontroller reads the power supply status information for analysis and judgment.

3. The vehicle-mounted sensor fault diagnosis method according to claim 2, characterized in that: The step of "the microcontroller reads the power supply status information for analysis and judgment" specifically includes: The microcontroller reads the flag status of the voltage detection register. If the voltage detection register is marked, the undervoltage flag = 1; otherwise, the undervoltage flag = 0; The microcontroller reads the flag status of the current detection register. If the current detection register is marked, the overcurrent flag = 1; otherwise, the overcurrent flag = 0; and The microcontroller reads the output current value of the ADC current sampling register. If there is no output current, the ADC current sampling value=0; otherwise, the ADC current sampling value≠0.

4. The vehicle-mounted sensor fault diagnosis method according to claim 3, characterized in that: The step of "preliminarily determining the condition of the power supply circuit of the vehicle-mounted sensor by assigning the undervoltage flag, the overcurrent flag, and the ADC current sampling value" specifically includes: When the undervoltage flag = 1 and the overcurrent flag = 1, the microcontroller preliminarily determines that the power supply line is short-circuited; When the undervoltage flag = 1 and the overcurrent flag = 0, the microcontroller preliminarily determines that the power supply line impedance is faulty; When the undervoltage flag = 0 and the ADC current sampling value = 0, the microcontroller preliminarily determines that the power supply circuit is broken; and When the undervoltage flag=0 and the ADC current sampling value≠0, the microcontroller preliminarily determines that the power supply circuit is normal.

5. The vehicle-mounted sensor fault diagnosis method according to claim 3, characterized in that: The domain controller further includes a PCB board and a deserializer. The deserializer is electrically connected to the vehicle-mounted sensor to parse data from the vehicle-mounted sensor. The step of "deriving components that need to be further inspected based on the status of the power supply circuit of the vehicle-mounted sensor" specifically includes: When the power supply line is determined to be short-circuited, it is determined that the wiring harness of the power supply line, the vehicle-mounted sensor, the high-side switch, and the PCB board need to be further inspected; When the power supply circuit is determined to have an impedance fault, it is determined that the inductance and resistance patches of the power supply circuit need to be further inspected; When the power supply line is determined to be broken, it is determined that the wiring harness of the power supply line and the vehicle-mounted sensor need to be further inspected; and When the power supply line is determined to be normal, it is determined that the deserializer needs to be further tested.

6. The vehicle-mounted sensor fault diagnosis method according to claim 5, characterized in that: The domain controller is communicatively connected to a vehicle display screen or a mobile terminal, and the vehicle-mounted sensor fault diagnosis method further includes: The microcontroller transmits the preliminary judgment result and further detection method to the display screen or mobile terminal to guide the person to be processed to perform the processing.

7. The vehicle-mounted sensor fault diagnosis method according to any one of claims 1 to 6, characterized in that: The vehicle-mounted sensor is a vehicle-mounted camera, which is exposed to the external environment for assisting driving.

8. An electronic device comprising a processor and a storage device, wherein the storage device is adapted to store a plurality of program codes, wherein: The program code is suitable for being loaded and run by the processor to execute the vehicle-mounted sensor fault diagnosis method according to any one of claims 1 to 7.

9. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the vehicle-mounted sensor fault diagnosis method according to any one of claims 1 to 7.

10. A vehicle, characterized in that: The vehicle includes the electronic device according to claim 8.

Citation Information

Patent Citations

  • Sensor signal short circuit power supply fault detection method and detection device

    CN115407254A

  • Diagnostic system for a controller

    US20150377945A1