CN-121995899-A - Fault monitoring circuit, fault monitoring method, electronic equipment and vehicle
Abstract
The application relates to the technical field of circuits, in particular to a fault monitoring circuit, a fault monitoring method, electronic equipment and a vehicle, wherein the fault monitoring circuit comprises a power supply management chip, a camera module and a controller, the power supply management chip comprises a first power supply module, a second power supply module, a first target pin and a second target pin, and the first power supply module is used for outputting a first signal to the first target pin under the condition that a first power supply voltage of the controller is in a first fault voltage interval; the first target pin is used for sending first power supply fault information to the controller according to the first signal, and sending no second power supply fault information, the second power supply module is used for outputting a second signal to the second target pin when the second power supply voltage of the camera module is in a second fault voltage interval, and the second target pin is used for sending the second power supply fault information to the controller according to the second signal. So that the reset of the controller is not triggered when only the power failure of the camera module occurs.
Inventors
- CHEN YIZHEN
Assignees
- 智驾大陆(上海)智能科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260119
Claims (11)
- 1. The fault monitoring circuit is characterized by comprising a power supply management chip, a camera shooting module and a controller, wherein the power supply management chip comprises a first power supply module, a second power supply module, a first target pin and a second target pin, the first power supply module is connected with the controller, the second power supply module is connected with the camera shooting module, the first target pin and the second target pin are respectively connected with the controller, The first power supply module is used for providing a first power supply voltage for the controller and outputting a first signal to the first target pin under the condition that the first power supply voltage is in a first fault voltage interval; The first target pin is used for sending first power supply fault information to the controller according to the first signal, and not sending second power supply fault information, wherein the first fault information is the power supply fault information of the controller, and the second power supply fault information is the power supply fault information of the camera module; The second power supply module is used for providing a second power supply voltage for the camera module and outputting a second signal to the second target pin under the condition that the second power supply voltage is in a second fault voltage interval; and the second target pin is used for sending second power supply fault information to the controller according to the second signal.
- 2. The fault monitoring circuit of claim 1, wherein the controller includes an input-output interface, the second target pin is configured to send the second power failure information to the input-output interface according to the second signal, wherein the second signal is a signal of a first level type, and the second power failure information is a signal of the first level type.
- 3. The fault monitoring circuit of claim 1, wherein the controller further comprises a fault application module and a functional state machine module, wherein, The fault application module is used for monitoring the second power supply fault information and sending a fault code corresponding to the second power supply fault information to the functional state machine module; the function state machine module is used for controlling the camera shooting module to enter a safe state according to the fault code.
- 4. The fault monitoring circuit of claim 1, wherein the first power module comprises a first power pin and a first fault detection circuit, one end of the first power pin being connected to the controller, wherein, The first power supply pin is used for providing the first power supply voltage for the controller; The first fault detection circuit is configured to generate the first signal and output the first signal to the first target pin when detecting that the first power supply voltage is in the first fault voltage range, where the first signal is a signal of a first level type.
- 5. The fault monitoring circuit of claim 1, wherein the second power module comprises a second power pin and a second fault detection circuit, one end of the second power pin being connected to the camera module, wherein, The second power supply pin is used for providing the second power supply voltage for the camera module; The second fault detection circuit is configured to generate the second signal and output the second signal to the second target pin when detecting that the second power supply voltage is in the second fault voltage range.
- 6. The fault monitoring circuit of claim 1, wherein the controller is further configured to perform a reset process on the controller according to the obtained first power failure information.
- 7. A fault monitoring method for a fault monitoring circuit as claimed in any one of claims 1 to 6, the method comprising: the first power supply module provides a first power supply voltage for the controller, and outputs a first signal to a first target pin under the condition that the first power supply voltage is in a first fault voltage interval; The first target pin sends first power supply fault information to the controller according to the first signal, and does not send second power supply fault information, wherein the first fault information is the power supply fault information of the controller, and the second power supply fault information is the power supply fault information of the camera module; The second power supply module provides a second power supply voltage for the camera module, and outputs a second signal to a second target pin when the second power supply voltage is in a second fault voltage interval; And the second target pin sends second power supply fault information to the controller according to the second signal.
- 8. The fault monitoring method of claim 7, wherein the controller comprises an input-output interface, and The second target pin sends second power failure information to the controller according to the second signal, and the second power failure information comprises: and the second target pin sends the second power supply fault information to the input/output interface according to the second signal, wherein the second signal is a signal of a first level type, and the second power supply fault information is a signal of the first level type.
- 9. The fault monitoring method of claim 7, wherein the controller further comprises a fault application module and a functional state machine module, and wherein the method further comprises: the fault application module monitors the second power supply fault information and sends a fault code corresponding to the second power supply fault information to the functional state machine module; and the functional state machine module controls the camera shooting module to enter a safe state according to the fault code.
- 10. An electronic device comprising the fault monitoring circuit of any one of claims 1-6.
- 11. A vehicle comprising the electronic device of claim 10.
Description
Fault monitoring circuit, fault monitoring method, electronic equipment and vehicle Technical Field The application relates to the technical field of circuits, in particular to a fault monitoring circuit, a fault monitoring method, electronic equipment and a vehicle. Background In the auxiliary driving scene, as the requirements of auxiliary intelligent driving products for meeting functional safety are more and more common, how to improve the usability of the system on the basis of meeting the functional safety becomes a hot spot direction of the functional safety industry. It will be appreciated that in general, the risk of power failure is high in the failure of the auxiliary drive. However, current power management chips of automobiles often monitor both power failure of a main control chip (a controller as exemplified below) and power failure of a sensor (a camera module as exemplified below) through a single pin. Under the configuration, when the power supply of the sensor is failed and the power supply of the main control chip is normal, the reset of the main control chip is triggered, so that the usability of the system is poor and the user experience is poor. Disclosure of Invention The application provides a fault monitoring circuit, a fault monitoring method, electronic equipment and a vehicle, and solves the problem that reset of a main control chip is triggered only when power supply faults of a sensor are generated and power supply of the main control chip is normal. In a first aspect, an embodiment of the present application provides a fault monitoring circuit, where the fault monitoring circuit includes a power management chip, a camera module, and a controller, the power management chip includes a first power module, a second power module, a first target pin and a second target pin, the first power module is connected to the controller, the second power module is connected to the camera module, the first target pin and the second target pin are respectively connected to the controller, the first power module is configured to provide a first power supply voltage to the controller, and output a first signal to the first target pin when the first power supply voltage is in a first fault voltage range, the first target pin is configured to send first power supply fault information to the controller according to the first signal, and not send second power supply fault information to the controller, the first fault information is power supply fault information of the camera module, the second power module is configured to provide a second power supply voltage to the camera module, and output a second signal to the second target pin when the second power supply voltage is in a second fault voltage range, and the second target pin is configured to send second power supply fault information to the controller according to the second signal. Therefore, one pin on the power supply management chip only reports the first power supply fault information of the controller, the other pin is started to report the second power supply fault information of the camera module, and the reset of the controller is triggered when the first power supply fault information of the controller is reported. Therefore, when only the power supply fault of the camera module is generated and the power supply of the controller is normal, the reset of the controller is not triggered, and the second power supply fault information of the camera module is ensured to be effectively reported to the controller for subsequent processing. In some possible implementations of the first aspect, the controller includes an input-output interface, and the second target pin is configured to send second power failure information to the input-output interface according to a second signal, where the second signal is a signal of a first level type, and the second power failure information is a signal of the first level type. It can be understood that the second target pin sends the second power failure information to the input/output interface of the controller, so that the power failure of the camera module can be reported in time. In some possible implementations of the first aspect, the controller further includes a fault application module and a functional state machine module, where the fault application module is configured to monitor the second power failure information and send a fault code corresponding to the second power failure information to the functional state machine module, and the functional state machine module is configured to control the camera module to enter the safe state according to the fault code. It can be understood that the second target pin can timely report the second power failure signal to the controller, so that the controller can timely control the camera module to enter a safe state. In some possible implementations of the first aspect, the first power supply module includes a first power supply pin and a first f