Fault monitoring circuit and method, electronic equipment and vehicle
By using a multi-pin design for the power management chip, the problem of main control chip reset caused by sensor power supply failure was solved, ensuring timely reporting of camera module fault information and improving the availability and user experience of the assisted driving system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CONTINENTAL SMART CORE TECH (SHANGHAI) CO LTD
- Filing Date
- 2026-01-19
- Publication Date
- 2026-05-08
AI Technical Summary
In assisted driving scenarios, if only a sensor power supply failure occurs, the main control chip will be reset even if the main control chip is powered normally, resulting in poor system availability.
The power management chip employs a multi-pin design, which is used to report power supply fault information for both the controller and the camera module. The controller is only triggered to reset when the camera module experiences a power supply fault, ensuring that the power supply fault information of the camera module can be reported in a timely manner.
This improved system availability, avoided frequent resets, and enhanced the user experience.
Smart Images

Figure CN121995899A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of circuit technology, specifically to a fault monitoring circuit, method, electronic device, and vehicle. Background Technology
[0002] In assisted driving scenarios, as the demand for functional safety in assisted intelligent driving products becomes more and more common, how to improve the availability of the system while meeting functional safety requirements has become a hot topic in the functional safety industry.
[0003] It's understandable that power supply failures are typically the most dangerous type of malfunction in assisted driving systems. However, current automotive power management chips often monitor both the main control chip (as in the example controller below) and sensor (as in the example camera module below) power supply failures simultaneously via a single pin. With this configuration, even a sensor power supply failure while the main control chip's power supply is normal can trigger a main control chip reset, resulting in poor system availability and a subpar user experience. Summary of the Invention
[0004] This application provides a fault monitoring circuit, method, electronic device, and vehicle, which solves the problem that the main control chip is also triggered to reset when only a sensor power supply failure occurs and the main control chip power supply is normal.
[0005] In a first aspect, embodiments of this application provide a fault monitoring circuit, which includes a power management chip, a camera module, and a controller. The power management chip includes 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 to the controller, the second power supply module is connected to the camera module, and the first and second target pins are respectively connected to the controller. The first power supply module provides a first power supply voltage to the controller and outputs a first signal to the first target pin when the first power supply voltage is within a first fault voltage range. The first target pin sends a first power supply fault information to the controller based on the first signal, but does not send a second power supply fault information. 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 to the camera module and outputs a second signal to the second target pin when the second power supply voltage is within a second fault voltage range. The second target pin sends a second power supply fault information to the controller based on the second signal.
[0006] This design allows one pin on the power management chip to report only the first power supply fault information of the controller, while another pin is enabled to report the second power supply fault information of the camera module. The controller is only reset when the first power supply fault information is reported. This ensures that if only the camera module power supply fault occurs and the controller power supply is normal, the controller will not be reset, and that the second power supply fault information of the camera module can be effectively reported to the controller for subsequent processing.
[0007] In some possible implementations of the first aspect described above, the controller includes an input / output interface, and a second target pin is used to send second power supply fault information to the input / output interface according to a 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.
[0008] It is understandable that the second target pin sends the second power supply fault information to the controller's input / output interface, thereby enabling the power supply fault of the camera module to be reported in a timely manner.
[0009] In some possible implementations of the first aspect mentioned above, the controller further includes a fault application module and a functional state machine module. The fault application module is used to monitor the second power supply fault information and send the fault code corresponding to the second power supply fault information to the functional state machine module. The functional state machine module is used to control the camera module to enter a safe state according to the fault code.
[0010] It is understandable that the second target pin can promptly report a second power supply fault signal to the controller, thereby enabling the controller to promptly control the camera module to enter a safe state.
[0011] In some possible implementations of the first aspect above, the first power supply module includes a first power supply pin and a first fault detection circuit. One end of the first power supply pin is connected to the controller, wherein the first power supply pin is used to provide a first power supply voltage to the controller; the first fault detection circuit is used to generate a first signal and output the first signal to the first target pin when it detects that the first power supply voltage is in a first fault voltage range, wherein the first signal is a signal of a first level type.
[0012] In some embodiments, the first level type can be low level.
[0013] In some possible implementations of the first aspect above, the second power supply module includes a second power supply pin and a second fault detection circuit. One end of the second power supply pin is connected to the camera module, wherein the second power supply pin is used to provide a second power supply voltage to the camera module; the second fault detection circuit is used to generate a second signal and output the second signal to the second target pin when it detects that the second power supply voltage is in the second fault voltage range.
[0014] In some embodiments, the second signal may also be a signal of a first level type, which may be a low level.
[0015] In some possible implementations of the first aspect described above, the controller is also configured to perform a reset process based on the acquired first power supply fault information.
[0016] Secondly, embodiments of this application also provide a fault monitoring method for the fault monitoring circuit proposed in the first aspect and any implementation thereof. The method includes: a first power supply module providing a first power supply voltage to a controller, and outputting a first signal to a first target pin when the first power supply voltage is within a first fault voltage range; the first target pin sending first power supply fault information to the controller according to the first signal, but 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; a second power supply module providing a second power supply voltage to the camera module, and outputting a second signal to a second target pin when the second power supply voltage is within a second fault voltage range; the second target pin sending second power supply fault information to the controller according to the second signal.
[0017] In some possible implementations of the second aspect described above, the controller includes an input / output interface, and the second target pin sends second power supply fault information to the controller according to a second signal, including: the second target pin sends 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 a first level type.
[0018] In some possible implementations of the second aspect above, the controller further includes a fault application module and a functional state machine module, and the method further includes: the fault application module detects a second power supply fault information and sends a fault code corresponding to the second power supply fault information to the functional state machine module; the functional state machine module controls the camera module to enter a safe state according to the fault code.
[0019] Thirdly, embodiments of this application also provide an electronic device, including the fault monitoring circuit proposed in the first aspect and any implementation thereof.
[0020] Fourthly, embodiments of this application also provide a vehicle including the electronic equipment proposed in the third aspect above.
[0021] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be referred to the beneficial effects achieved by the first aspect and any one of the first aspects, and will not be elaborated here.
[0022] The technical solution provided in this application has at least the following beneficial effects:
[0023] In this embodiment, one pin on the power management chip reports only the first power supply fault information of the controller, while another pin reports the second power supply fault information of the camera module. The controller is only reset when the first power supply fault information is reported. This ensures that if only the camera module power supply fault occurs and the controller power supply is normal, the controller will not be reset, and that the second power supply fault information of the camera module can be effectively reported to the controller for subsequent processing. Attached Figure Description
[0024] Figure 1 A schematic diagram of a fault monitoring circuit framework structure proposed in an embodiment of this application is shown;
[0025] Figure 2 A schematic diagram illustrating the framework structure of a fault monitoring circuit under another implementation method is provided.
[0026] Figure 3 A schematic diagram illustrating the framework structure of a fault monitoring circuit under yet another implementation method is provided.
[0027] Figure 4 A schematic diagram of the framework structure of another fault monitoring circuit according to some embodiments of this application is shown;
[0028] Figure 5 A schematic flowchart of a fault monitoring method according to some embodiments of this application is shown;
[0029] Figure 6 This application provides a schematic diagram illustrating a possible functional framework of a vehicle according to an embodiment. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0031] To address the issue of triggering a control chip reset even when only the sensor power supply fails and the control chip's power supply is normal, this application proposes a fault monitoring circuit. This circuit includes a power management chip, a camera module, and a controller. The power management chip includes 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 to the controller, the second power supply module is connected to the camera module, and the first and second target pins are respectively connected to the controller. The first power supply module provides a first power supply voltage to the controller and outputs a first signal to the first target pin when the first power supply voltage is within a first fault voltage range. The first target pin sends a first power supply fault information to the controller based on the first signal, but does not send a second power supply fault information. The first fault information is the controller's power supply fault information, and the second power supply fault information is the camera module's power supply fault information. The second power supply module provides a second power supply voltage to the camera module and outputs a second signal to the second target pin when the second power supply voltage is within a second fault voltage range. The second target pin sends a second power supply fault information to the controller based on the second signal.
[0032] The technical solution provided in this application has at least the following beneficial effects:
[0033] In this embodiment, one pin on the power management chip reports only the first power supply fault information of the controller, while another pin reports the second power supply fault information of the camera module. The controller is only reset when the first power supply fault information is reported. This ensures that if only the camera module power supply fault occurs and the controller power supply is normal, the controller will not be reset, and that the second power supply fault information of the camera module can be effectively reported to the controller for subsequent processing.
[0034] The fault monitoring circuit will be described in detail below with reference to the accompanying drawings.
[0035] Figure 1 A schematic diagram of a fault monitoring circuit framework structure proposed in an embodiment of this application is shown.
[0036] refer to Figure 1 The fault monitoring circuit includes a power management chip 100, a camera module 300, and a controller 200. The power management chip 100 includes a first power supply module 101, a second power supply module 102, a first target pin DOUT2, and a second target pin DOUT1.
[0037] refer to Figure 1The first power supply module 101 is connected to the controller 200, and the second power supply module 102 is connected to the camera module 300. The first target pin DOUT2 and the second target pin DOUT1 can be connected to the controller 200 respectively. The first power supply module 101 can be used to provide a first power supply voltage to the controller 200, and when the first power supply voltage is in the first fault voltage range (corresponding to a power supply fault in the controller 200), it outputs a first signal to the first target pin DOUT2.
[0038] The second power supply module 102 can be used to provide a second power supply voltage to the camera module 300, and when the second power supply voltage is in the second fault voltage range (corresponding to a power supply fault in the camera module 300), it outputs a second signal to the second target pin DOUT1.
[0039] The second target pin DOUT1 can be used to send a second power supply fault information to the controller 200 based on the second signal.
[0040] Therefore, the first target pin DOUT2 can be used to send a first power supply fault information to the controller 200 according to the aforementioned first signal, but without sending a second power supply fault information. The first fault information refers to the power supply fault information of the controller 200, and the second power supply fault information refers to the power supply fault information of the camera module 300.
[0041] In some embodiments of this application, the controller 200 is further configured to perform a reset process based on the acquired first power supply fault information.
[0042] For example, the first target pin DOUT2 can be connected to the reset pin of the controller 200 (e.g., Figure 1 (Example: Reset pin). This second target pin DOUT1 may not be connected to the reset pin of the controller 200. In this way, when only a power supply failure occurs in the camera module 300, the first target pin DOUT2 will not send a first power supply failure message to the reset pin.
[0043] Figure 2 A schematic diagram illustrating the framework structure of a fault monitoring circuit in another implementation is provided.
[0044] refer to Figure 2 In some other embodiments, the controller 200 may only have a reset pin; the power management chip 100 may also include a third power supply module 011, a fourth power supply module 012 and a first fault reporting pin 013.
[0045] The third power supply module 011 corresponds to the first power supply module 101 and is used to supply power to the controller 200. When the third power supply module 011 detects that the power supply voltage of the controller 200 is in the corresponding fault voltage range, it sends a power supply fault signal to the first fault reporting pin 013.
[0046] The fourth power supply module 012 corresponds to the second power supply module 102 and is used to supply power to the camera module 300. When the fourth power supply module 012 detects that the power supply voltage of the camera module 300 is in the corresponding fault voltage range, it also sends a power supply fault signal to the first fault reporting pin 013.
[0047] It is understood that the power management chip 100 in the fault monitoring circuit has only one first fault reporting pin 013. This first fault reporting pin 013 is used to send a corresponding fault signal to the reset pin of the controller 200 when it receives a power supply fault signal of the controller 200 transmitted by the third power supply module 011 and / or receives a power supply fault signal of the camera module 300 transmitted by the fourth power supply module 012. This will cause the controller 200 to be reset in the case that the camera module 300 has a power supply fault but the controller 200 has not had a power supply fault, resulting in a poor user experience.
[0048] Therefore, continue to refer to Figure 1 ,exist Figure 1 In the fault monitoring circuit proposed in the example embodiment of this application, when only the camera module 300 experiences a power supply failure and the controller 200 does not send a power supply failure message, only the second power supply failure information of the camera module 300 is reported, and the controller 200 is not triggered to reset. This effectively improves the availability of the system and avoids the poor user experience caused by frequent resets of the controller 200.
[0049] In some embodiments, the aforementioned first target pin DOUT2 can be configured as a power good (PGOOD) output indicator pin via one-time programmable (OTP) configuration, so as to promptly report the first power supply fault information and mask the power supply fault of the camera module 300. Furthermore, the first target pin DOUT2 serves as the reset pin of the hardware status indicator (HSI) pin associated with the controller 200, enabling the controller 200 to quickly reset when a low-level signal is output.
[0050] In some embodiments of this application, the controller 200 may further include an input / output interface 201 (corresponding to...) Figure 1In the example GPIO 201), the second target pin DOUT1 can be used to send a second power supply fault information to the input / output interface 201 according to a second signal, wherein the second signal is a signal of the first level type, and the second power supply fault information is also a signal of the first level type.
[0051] Here, the first level type signal can be a low level signal, which makes it easier for the second target pin DOUT1 to quickly generate the second power supply fault information after receiving the second signal. For example, a low level signal can be generated by pulling the pin of the second target pin DOUT1 low, and the low level signal can be sent to the input / output interface 201 as the second power supply fault information, and then reported to the controller 200.
[0052] In some embodiments of this application, the controller 200 further includes a fault application module 202 and a functional state machine module 203. The fault application module 202 is used to detect a second power supply fault information and send the fault code corresponding to the second power supply fault information to the functional state machine module 203. The functional state machine module 203 is used to control the camera module 300 to enter a safe state according to the fault code.
[0053] For example, the fault application module 202 can be a built-in fault diagnosis application (diag app) of the controller 200. Thus, the input / output interface 201 can report a power supply failure in the camera module 300 to the fault diagnosis application based on the second power supply failure information. The fault diagnosis application can determine the fault code corresponding to the power supply failure of the camera module 300 based on the second power supply failure information. For example, it can generate the fault code corresponding to the power supply failure of the camera module 300 when it detects a low-level signal received by the input / output interface 201, and send the fault code to the functional finite-state machine module 203. The functional finite-state machine (FSM) module 203 can then control system state changes based on the fault code, for example, controlling the camera module 300 to enter a safe state.
[0054] Figure 3 A schematic diagram illustrating the framework structure of a fault monitoring circuit in yet another implementation is provided.
[0055] refer to Figure 3 In some other embodiments, the controller 200 may also include a reset pin, an analog-to-digital converter (ADC), a fault application module 022', and a functional state machine module 021'; the power management chip 100 may also include a fifth power supply module 011', a sixth power supply module 012', and a second fault reporting pin 013'.
[0056] The fifth power supply module 011' corresponds to the first power supply module 101 and is used to supply power to the controller 200. When the fifth power supply module 011' detects that the power supply voltage of the controller 200 is in the corresponding fault voltage range, it sends a power supply fault signal to the second fault reporting pin 013'.
[0057] The sixth power supply module 012' corresponds to the second power supply module 102 and is used to supply power to the camera module 300. Figure 3 The example fault monitoring circuit and Figure 1 The difference in the example fault monitoring circuit is that it does not set a second target pin DOUT1 for reporting the second power supply fault signal, and instead uses the analog-to-digital converter (ADC) of the controller 200 to sample and monitor the power supply fault of the camera module 300. Specifically, it samples the power supply voltage sent to the camera module 300 by the sixth power supply module 012' via the ADC, and the fault application module 022' in the controller 200 determines whether a power supply fault has occurred in the camera module 300 based on the sampling results of the ADC. It can be understood that this sampling method requires two sampling circuits or different sampling frequencies to sample the voltage, and then the fault application module 022' in the controller 200 compares and judges: when the two sampled values are consistent and the sampled value is less than or equal to the fault voltage threshold, it indicates that the camera module 300 has not experienced a power supply fault; when the two sampled values are inconsistent or greater than the fault voltage threshold, it indicates that a power supply fault has occurred in the camera module 300. Therefore, this method requires increased development costs for the voltage comparison program, and the time from detection to the control camera module 300 entering a safe state is relatively long, making it difficult to meet the fault tolerant time interval (FTTI).
[0058] Therefore, based on Figure 1 The example fault monitoring circuit is configured with a second target pin, DOUT1. Upon power-up, it automatically activates power supply fault monitoring for the camera module 300. If a fault occurs, it directly generates a low-level second signal, triggering the second target pin DOUT1 to report a second fault signal. Compared to... Figure 3 The fault monitoring circuit described in the example can effectively reduce fault detection response time and can adapt to more stringent fault tolerance time interval requirements.
[0059] Figure 4 A schematic diagram of the framework structure of another fault monitoring circuit according to some embodiments of this application is shown.
[0060] refer to Figure 4In some embodiments of this application, the first power supply module 101 may further include a first power supply pin BUCK1 and a first fault detection circuit D1. One end of the first power supply pin BUCK1 is connected to the controller 200, wherein the first power supply pin is used to provide a first power supply voltage to the controller 200; the first fault detection circuit D1 is used to compare the first power supply voltage with a first fault voltage range, and when the first power supply voltage is within the first fault voltage range, it generates a first signal and outputs the first signal to the first target pin DOUT2, wherein the first signal is a signal of a first level type.
[0061] In some embodiments, the first power supply pin BUCK1 can provide a power supply voltage of 1-1.25 volts.
[0062] In some embodiments, the first power supply module 101 may further include a third power supply pin BUCK2 and a third fault detection circuit D2, one end of the third power supply pin BUCK2 being connected to the controller 200. The third power supply pin BUCK2 is used to provide a third power supply voltage to the controller 200; the third fault detection circuit D2 is used to compare the third power supply voltage with a third fault voltage range, and when the third power supply voltage is within the third fault voltage range, it generates a first signal and outputs the first signal to the first target pin DOUT2, wherein the first signal is a signal of a first level type.
[0063] In some embodiments, the third power supply pin BUCK2 can provide a power supply voltage of 2-3.3 volts.
[0064] For example, the first level type can be low level.
[0065] Therefore, the first power supply module 101 can provide two power supply voltages to the controller 200 using the first power supply pin BUCK1 and the third power supply pin BUCK2. When either of the power supply voltages is in the corresponding fault voltage range, a first signal is generated and output to the first target pin DOUT2, so that the first target pin DOUT2 sends the first power supply fault information to the reset pin of the controller 200, enabling the controller 200 to reset in time.
[0066] It is understood that the first power supply pin BUCK1 can be an output pin for supplying power to the controller 200, and the first fault detection circuit D1 can include a first comparator (not shown in the figure). The first comparator can be a hysteresis comparator and can be configured to output a low-level signal (corresponding to the first signal) when the first power supply voltage is in the first fault voltage range. When the first power supply voltage is not in the first fault voltage range, which indicates that the controller 200 is powered normally, a high-level third signal can be output to distinguish it from the first signal.
[0067] Similarly, the third power supply pin BUCK2 can be an output pin for supplying power to the controller 200, and the third fault detection circuit D2 can include a third comparator (not shown in the figure). This third comparator can be a hysteresis comparator and can be configured to output a low-level signal (corresponding to the first signal) when the third power supply voltage is in the third fault voltage range, and output a high-level third signal when the third power supply voltage is not in the third fault voltage range, which indicates that the controller 200 is powered normally, so as to distinguish it from the first signal mentioned above.
[0068] Furthermore, the first fault detection circuit D1 and / or the third fault detection circuit D2 can quickly determine whether there is a power supply fault in the controller 200, so that the first target pin DOUT2 can report the first power supply fault signal to the controller 200 in a timely manner, thereby triggering the reset of the controller 200 in a timely manner.
[0069] It should be noted that, Figure 4 The power supply fault detection method of the example controller 200, the components included in the first fault detection circuit D1 and the third fault detection circuit D2 are only one possible implementation example. Power supply faults of the camera module 300 can also be detected in other ways, and no limitation is made here.
[0070] Continue to refer to Figure 4 In some embodiments of this application, the second power supply module 102 includes a second power supply pin LDO4 and a second fault detection circuit D3. One end of the second power supply pin LDO4 is connected to the camera module 300, wherein the second power supply pin LDO4 is used to provide a second power supply voltage to the camera module 300; the second fault detection circuit D3 is used to compare the second power supply voltage and the second fault voltage range, and when the second power supply voltage is within the second fault voltage range, it generates a second signal and outputs the second signal to the second target pin DOUT1.
[0071] In some embodiments, the second power supply pin LDO4 can provide a power supply voltage of 1.8 volts.
[0072] In some embodiments, the second power supply module 102 may further include a fourth power supply pin LDO5 and a fourth fault detection circuit D4, one end of which is connected to the camera module 300. The fourth power supply pin LDO5 is used to provide a fourth power supply voltage to the camera module 300; the fourth fault detection circuit D4 is used to compare the fourth power supply voltage with a fourth fault voltage range, and when the fourth power supply voltage is within the fourth fault voltage range, it generates a second signal and outputs the second signal to the second target pin DOUT1, wherein the second signal is a signal of the first level type.
[0073] For example, the first level type can be low level.
[0074] In some embodiments, the fourth power supply pin LDO5 can provide a power supply voltage of 2.9-3.3 volts.
[0075] Therefore, the second power supply module 102 can provide two power supply voltages to the camera module 300 using two power supply pins, and when either of the power supply voltages is in the corresponding fault voltage range, it generates a second signal and outputs the second signal to the second target pin DOUT1, so that the second target pin DOUT1 sends the second power supply fault information to the input / output interface of the controller 200, so that the power supply fault of the camera module 300 can be reported in a timely manner.
[0076] It is understood that the second power supply pin LDO4 can be an output pin used to power the camera module 300. The second fault detection circuit D3 may include a second comparator (not shown in the figure), which can be a hysteresis comparator and can be configured to output a low-level signal (corresponding to the second signal) when the second power supply voltage is within the second fault voltage range, and output a high-level fourth signal to distinguish it from the second signal when the second power supply voltage is not within the second fault voltage range, which indicates that the camera module 300 is powered normally.
[0077] Similarly, the fourth power supply pin LDO5 can be an output pin for supplying power to the camera module 300. The fourth fault detection circuit D4 may include a fourth comparator (not shown in the figure), which can be a hysteresis comparator and can be configured to output a low-level signal (corresponding to the second signal) when the fourth power supply voltage is within the fourth fault voltage range, and output a high-level fourth signal to distinguish it from the second signal when the fourth power supply voltage is not within the fourth fault voltage range, indicating that the camera module 300 is powered normally.
[0078] Furthermore, the second fault detection circuit D3 and / or the fourth fault detection circuit D4 can quickly determine whether there is a power supply fault in the camera module 300, so that the second target pin DOUT1 can report the second power supply fault signal to the controller 200 in a timely manner, thereby enabling the controller 200 to control the camera module 300 to enter a safe state in a timely manner.
[0079] It should be noted that, Figure 4 The power supply fault detection method of the example camera module 300, the components included in the second fault detection circuit D3 and the fourth fault detection circuit D4 are only one possible implementation example. Power supply faults of the camera module 300 can also be detected in other ways, and no limitation is made here.
[0080] In other embodiments, the fault monitoring circuit may also include a fault register (not shown in the figure), which can be used to monitor the first signal of the first power supply module 101 and the second signal of the second power supply module 102.
[0081] When the fault register detects the first signal, it records the first fault flag bit and sends the first fault flag bit to the first target pin DOUT2 so that the first target pin DOUT2 can generate the first power supply fault signal.
[0082] Similarly, when the fault register detects the second signal, it records the second fault flag bit and sends the second fault flag bit to the second target pin DOUT1 so that the second target pin DOUT1 can generate a second power supply fault signal.
[0083] In some embodiments of this application, the fault register may include a memory (not shown in the figure).
[0084] In some embodiments of this application, a first fault flag bit can be associated with a first target pin DOUT2 via one-time programmable (OTP) method, and a second fault flag bit can be associated with a second target pin DOUT1 via one-time programmable (OTP) method, so that the first fault flag bit can be sent to the first target pin DOUT2 and the second fault flag bit can be sent to the second target pin DOUT1.
[0085] The following detailed description of a fault monitoring method proposed in the embodiments of this application, with reference to the accompanying drawings, is provided in conjunction with the relevant figures.
[0086] Figure 5 A schematic flowchart of a fault monitoring method according to some embodiments of this application is shown.
[0087] It is understood that this fault monitoring method can be implemented by the fault monitoring circuit in the example above.
[0088] refer to Figure 5 The method includes:
[0089] S501, the first power supply module provides a first power supply voltage to the controller, and outputs a first signal to the first target pin when the first power supply voltage is within the first fault voltage range.
[0090] S502, the first target pin sends a first power supply fault information to the controller according to the first signal, but does not send a second power supply fault information. 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.
[0091] S503, the second power supply module provides a second power supply voltage to the camera module, and outputs a second signal to the second target pin when the second power supply voltage is within the second fault voltage range.
[0092] S504, the second target pin sends a second power supply fault message to the controller based on the second signal.
[0093] It is understood that the specific implementation process of steps S501 to S504 above can be referred to the above text. Figure 1 For the sake of simplicity, the specific implementation methods will not be described in detail here.
[0094] In some embodiments of this application, the controller includes an input / output interface, and the second target pin sends second power supply fault information to the controller according to a second signal, including: the second target pin sends 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.
[0095] It is understandable that the execution process of the second target pin mentioned above can be referred to the above text. Figure 1 The specific implementation of the corresponding second target pin DOUT1 will not be described in detail here for the sake of simplicity.
[0096] In some embodiments of this application, the controller further includes a fault application module and a functional state machine module, and the method further includes: the fault application module detects a second power supply fault information and sends a fault code corresponding to the second power supply fault information to the functional state machine module; the functional state machine module controls the camera module to enter a safe state according to the fault code.
[0097] It is understandable that the execution process of the aforementioned fault application module and functional state machine module can be referred to the above text. Figure 1 The specific implementation methods of the corresponding fault application module 202 and functional state machine module 203 are not described in detail here for the sake of brevity.
[0098] This application also provides an electronic device, including the one described above. Figure 1 or Figure 4 The example fault monitoring circuit.
[0099] It is understood that the electronic devices exemplified in the embodiments of this application may be, for example, smartphones, smart TVs, smartwatches, smart bracelets, desktop computers, laptop computers, personal computers (PCs), virtual reality (VR) devices, augmented reality (AR) devices, and in-vehicle devices, etc.
[0100] This application also provides a vehicle including the above-described electronic device, which may be an in-vehicle device. In some embodiments, the in-vehicle device may be a domain controller as exemplified below.
[0101] It is understood that the vehicle including the above-mentioned electronic equipment mentioned in the embodiments of this application will be described in detail below with reference to the relevant accompanying drawings.
[0102] Figure 6 This application provides a schematic diagram illustrating a possible functional framework of a vehicle according to an embodiment.
[0103] like Figure 6 As shown, the functional framework of a vehicle may include various subsystems, such as Figure 6 The diagram shows a sensor system 1510, a control system 1520, one or more peripheral devices 1530 (one is shown as an example), a power supply 1540, and an onboard device 1550. Optionally, the vehicle may also include other functional systems, such as an engine system that provides power to the vehicle, etc., which are not limited herein.
[0104] The sensor system 1510 may include several detection devices that can sense the measured information and convert the sensed information into electrical signals or other desired forms of information output according to a certain rule. Figure 6 As shown, these detection devices may include a global positioning system (GPS), a vehicle speed sensor (VPS) (1512), an inertial measurement unit (IMU) (1513), etc., and this application does not limit them.
[0105] The control system 1520 may include a steering unit 1521 and a braking unit 1522, etc.
[0106] Peripheral device 1530 may include several components, such as Figure 6 The diagram shows a communication system 1531, a touchscreen 1532, a user interface 1533, etc. The communication system 1531 is used to enable network communication between the vehicle and other devices besides the vehicle.
[0107] Several functions of the vehicle are controlled by the on-board equipment 1550.
[0108] In some embodiments, the in-vehicle device 1550 can be a domain controller (DC), which can be a high-performance in-vehicle computer system capable of centralized control and management of specific functional domains of the vehicle (such as the powertrain domain, chassis, etc.). For example, the domain controller may include the examples listed above. Figure 1 or Figure 4 The example fault monitoring circuit in the image can perform... Figure 5 The example fault monitoring method is used to assist in the implementation of intelligent driving functions.
[0109] This application provides a computer program product that, when run on a device, causes the device to execute the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.
[0110] It is understood that the various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0111] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.
[0112] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. The mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0113] The above describes the possible hardware structures of electronic devices. It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of both.
[0114] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0115] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the aforementioned element.
[0116] Although this application has been illustrated and described with reference to certain embodiments thereof, those skilled in the art will understand that various changes in form and detail may be made thereto without departing from the scope of this application.
Claims
1. A fault monitoring circuit, characterized in that, The fault monitoring circuit includes a power management chip, a camera module, and a controller. The power management chip includes 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 to the controller, the second power supply module is connected to the camera module, and the first target pin and the second target pin are respectively connected to the controller. The first power supply module is used 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 used to send a first power supply fault information to the controller according to the first signal, but not to send a second power supply fault information. 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 to provide a second power supply voltage to the camera module, and when the second power supply voltage is in the second fault voltage range, output a second signal to the second target pin; The second target pin is used to send a second power supply fault information to the controller based on the second signal.
2. The fault monitoring circuit according to claim 1, characterized in that, The controller includes an input / output interface, and the second target pin is used to send the second power supply fault information to the input / output interface according to the second signal, wherein the second signal is a signal of the first level type, and the second power supply fault information is a signal of the first level type.
3. The fault monitoring circuit according to claim 1, characterized in that, The controller also includes a fault application module and a functional state machine module, wherein... The fault application module is used to monitor the second power supply fault information and send the fault code corresponding to the second power supply fault information to the functional state machine module. The functional state machine module is used to control the camera module to enter a safe state based on the fault code.
4. The fault monitoring circuit according to claim 1, characterized in that, The first power supply module includes a first power supply pin and a first fault detection circuit. One end of the first power supply pin is connected to the controller. The first power supply pin is used to provide the first power supply voltage to the controller; The first fault detection circuit is used to generate the first signal and output the first signal to the first target pin when the first supply voltage is in the first fault voltage range, wherein the first signal is a signal of the first level type.
5. The fault monitoring circuit according to claim 1, characterized in that, The second power supply module includes a second power supply pin and a second fault detection circuit. One end of the second power supply pin is connected to the camera module. The second power supply pin is used to provide the second power supply voltage to the camera module; The second fault detection circuit is used to generate the second signal and output the second signal to the second target pin when it detects that the second power supply voltage is in the second fault voltage range.
6. The fault monitoring circuit according to claim 1, characterized in that, The controller is also used to reset the controller based on the first power supply fault information obtained.
7. A fault monitoring method, characterized in that, The method, used in the fault monitoring circuit according to any one of claims 1-6, comprises: The first power supply module provides a first power supply voltage to the controller, and outputs a first signal to the first target pin when the first power supply voltage is within the first fault voltage range; The first target pin sends a first power supply fault information to the controller according to the first signal, but does not send a second power supply fault information. 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 to the camera module, and outputs a second signal to the second target pin when the second power supply voltage is within the second fault voltage range; The second target pin sends a second power supply fault message to the controller based on the second signal.
8. The fault monitoring method according to claim 7, characterized in that, The controller includes input / output interfaces, and, The second target pin sends a second power supply fault message to the controller based on the second signal, including: 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 the first level type and the second power supply fault information is a signal of the first level type.
9. The fault monitoring method according to claim 7, characterized in that, The controller further includes a fault application module and a functional state machine module, and the method further includes: The fault application module detects the second power supply fault information and sends the fault code corresponding to the second power supply fault information to the functional state machine module. The functional state machine module controls the camera module to enter a safe state based on the fault code.
10. An electronic device, characterized in that, Includes the fault monitoring circuit according to any one of claims 1-6.
11. A vehicle, characterized in that, Includes the electronic device as described in claim 10.