Multi-chip fault identification circuit and electronic equipment
By designing a multi-chip fault identification circuit in the MCU and using multiple detection branches and voltage identification circuits to accurately identify the fault status of multiple chips, the problem of limited peripheral resources of the MCU is solved and the identification of specific chip faults is achieved. Saves MCU peripheral resources.
Patent Information
- Application Number
- CN202323491618.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2033-12-20
AI Technical Summary
MCU peripheral resources are limited and it is impossible to identify which integrated chip has failed.
Design a multi-chip fault identification circuit by setting up multiple detection branches with certain impedances. The detection terminals of each detection branch are respectively connected to the status indicating terminals of different chips. The output terminals are commonly connected to the input terminal of the voltage identification circuit. The voltage The identification circuit determines the status of each chip based on the voltage change at the input terminal. The circuit includes a voltage divider and an analog-to-digital converter, and uses different impedance and voltage changes to distinguish the fault status of each chip.
It is possible to accurately identify the fault status of multiple chips when the MCU only uses one peripheral port, saving MCU peripheral resources.
Smart Images

Figure CN221860607U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic circuits, and in particular, relates to a multi-chip fault identification circuit and an electronic device. Background Art
[0002] In conventional technology, integrated chips usually use OD (Open Drain) gate modules. After the OD gate module matches the corresponding pull-up resistor and pull-up power supply, the high and low levels can be used to indicate whether the integrated chip is in a fault state. This application is widely used in current integrated chips with certain control and protection functions. For example, power management chips, high-side driver chips, bottom-side driver chips, isolation sampling chips, isolation driver chips and other integrated chips all have corresponding OD gate modules to indicate the fault state of the chip.
[0003] For example, a microcontroller unit (MCU) usually uses the internal integrated GPIO (General purpose input output), that is, peripheral resources, to detect the fault signal transmitted by the integrated chip through the OD gate module, and then determine whether the chip is in a fault state. Fault detection can be judged by the rising edge or falling edge, or by the high or low level method. However, due to the limited peripheral resources of the MCU, the related technology uses the OD gate output parallel method to transmit fault information in system design. However, this method has a defect, that is, the MCU cannot identify which integrated chip has a fault. Utility Model Content
[0004] The purpose of this application is to provide a multi-chip fault identification circuit and electronic device, which aims to solve the problem of limited MCU peripheral resources and can also distinguish which integrated chip has a fault.
[0005] A first aspect of an embodiment of the present application provides a multi-chip fault identification circuit, comprising a voltage identification circuit and multiple detection branches with a certain impedance, wherein the detection ends of each of the detection branches are respectively connected one-to-one with the status indication ends of each of the chips, and the output ends of the multiple detection branches are connected to an input end of the voltage identification circuit, and the voltage identification circuit determines the status of each of the chips based on the voltage of the input end.
[0006] In one embodiment, the detection branch includes a first voltage divider and a second voltage divider, the first end of the first voltage divider is connected to the working voltage, the second end of the first voltage divider is connected to the first end of the second voltage divider and constitutes the detection end of the detection branch, and the second end of the second voltage divider is the output end of the detection branch.
[0007] In one embodiment, the first voltage divider and the second voltage divider are circuits composed of at least one of a resistor, an inductor, and a capacitor.
[0008] In one embodiment, the impedances of the first voltage dividers of the detection branches are different.
[0009] In one embodiment, the impedances of the second voltage dividers of the detection branches are different.
[0010] In one embodiment, the impedances of the detection branches are different.
[0011] In one embodiment, the voltage identification circuit includes an analog-to-digital converter, the input end of the analog-to-digital converter constitutes the input end of the voltage identification circuit, and the analog-to-digital converter is used to convert the voltage of the input end into a corresponding digital signal and output it, and the digital signal is used to characterize the state of each of the chips.
[0012] In one of the embodiments, the voltage identification circuit includes a controller, the controller includes the analog-to-digital converter or the controller is connected to the analog-to-digital converter, and the controller is used to determine the status of each of the chips according to the digital signal.
[0013] The second aspect of an embodiment of the present application also provides an electronic device, comprising multiple control chips and the multi-chip fault identification circuit as described above, wherein the detection ends of each detection branch of the multi-chip fault identification circuit are respectively connected one-to-one with the status indication ends of each of the control chips.
[0014] In one of the embodiments, at least one of the control chips includes an open-drain gate circuit, and the open-drain gate circuit is connected to the status indication terminal.
[0015] Compared with the conventional technology, the embodiments of the present application have the following beneficial effects: a multi-chip fault identification circuit is provided with a plurality of detection branches with a certain impedance, the detection ends of the detection branches are respectively connected to the status indication ends of different chips, and the output ends are connected to an input end of a voltage identification circuit. The voltage identification circuit can determine the status of each chip according to the voltage change of the input end; in this way, assuming that the voltage identification circuit is implemented by an MCU, only one peripheral port needs to be used to implement the above-mentioned multi-chip fault identification, so as to distinguish which integrated chip has a fault, thereby saving MCU peripheral resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a module of a multi-chip fault identification circuit provided in an embodiment of the present application;
[0017] Figure 2 A circuit diagram of a multi-chip fault identification circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0019] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0020] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0021] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0022] See also Figure 1 Some embodiments of the present application provide a multi-chip fault identification circuit, including a voltage identification circuit 210 and multiple detection branches 22n with a certain impedance, the detection ends of each detection branch 22n are respectively connected to the status indication ends of each chip 10n in a one-to-one correspondence, the output ends of the multiple detection branches 22n are connected to an input end of the voltage identification circuit 210, and the voltage identification circuit 210 determines the state of each chip 10n according to the voltage of the input end, where n is a positive integer.
[0023] In some examples, the state indication terminal of the chip 10n is connected to an OD gate module. When the chip 10n is working normally, the MOSFET in the OD gate module is in an open circuit state, and the level state of the state indication terminal is determined by the level state of the detection terminal of the detection branch 22n; for example, the detection terminal of the detection branch 22n is pulled up to a high level state by the pull-up power supply. When one or more chips 10n fail, the MOSFET in the OD gate module will switch from the original open circuit state to the closed state, thereby pulling the voltage of the state indication terminal of the chip 10n down to the ground, that is, showing a low level. It can be understood that in some other examples, the level of the state indication terminal of the chip 10n can be set by other circuit modules to indicate whether the chip 10n is in a normal working state or a faulty state, which will not be elaborated in detail here.
[0024] Therefore, when one or more chips 10n fail, the level of the detection end of one or more detection branches 22n changes from a high level to a low level, so that the voltage loaded from the output end of the detection branch 22n to the input end of the voltage identification circuit 210 changes, that is, the voltage at the input end of the voltage identification circuit 210 changes. Thus, it can be set that the detection end of each detection branch 22n changes from a high level to a low level to cause different changes in the voltage at the output end, so that the voltage identification circuit 210 can determine which chip 10n has changed according to the different changes.
[0025] In some embodiments, by setting the impedances of the detection branches 22n to be different, the voltage at the input end of the voltage identification circuit 210 changes differently due to the detection end of each detection branch 22n changing from a high level to a low level.
[0026] See also Figure 2 , taking the three detection branches 221, 222, 223 detecting the three chips 101, 102, 103 respectively as an example, the circuit principles of each detection branch 221, 222, 223 are the same. Taking one of the detection branches 221 as an example to explain the principle, in one embodiment, the detection branch 221 includes a first voltage divider Ra and a second voltage divider Raa, the first end of the first voltage divider Ra is connected to the working voltage Vcc, the second end of the first voltage divider Ra is connected to the first end of the second voltage divider Raa, and constitutes the detection end of the detection branch 22n, which is used to be connected to the state indication end of the corresponding chip 10n, and the second end of the second voltage divider Raa constitutes the output end of the detection branch 22n, which is used to be connected to the input end of the voltage identification circuit 210.
[0027] The working voltage Vcc can be provided by a pull-up power supply, and the working voltage Vcc provides a first voltage component (i.e., a high level) at the detection end of the detection branch 22n through the first voltage divider Ra, and the voltage signal also provides a second voltage component at the output end of the detection branch 22n through the second voltage divider Raa. In one embodiment, the first voltage divider Ra and the second voltage divider Raa are circuits composed of at least one of a resistor, an inductor, and a capacitor. Figure 2 In the example, the first voltage divider Ra and the second voltage divider Raa are circuits formed by resistors. Optionally, the impedance of the first voltage divider Ra of each detection branch 22n is different, and the impedance of the second voltage divider Raa of each detection branch 22n is different.
[0028] Please continue reading Figure 2 In one embodiment, the voltage identification circuit 210 includes an analog-to-digital converter 211, and the input end of the analog-to-digital converter 211 constitutes the input end of the voltage identification circuit 210. The analog-to-digital converter 211 is used to convert the voltage at the input end into a corresponding digital signal and output it, and the digital signal is used to characterize the state of each chip 10n.
[0029] In one embodiment, the voltage identification circuit 210 includes a controller 212, such as a single chip microcomputer. The controller 212 includes an analog-to-digital converter 211 (such as Figure 2 As shown, the analog-to-digital converter 211 is integrated in the controller 212), or the controller 212 is connected to the analog-to-digital converter 211 (ie, the analog-to-digital converter 211 is external to the controller 212), and the controller 212 is used to determine the state of each chip 10n according to the digital signal.
[0030] by Figure 2 Taking the circuit structure shown in and setting the relevant device parameters as an example, the resistances corresponding to the first voltage divider Ra of the detection branch 221, the first voltage divider Rb of the detection branch 222, the first voltage divider Rc of the detection branch 223, the second voltage divider Raa of the detection branch 221, the second voltage divider Rbb of the detection branch 222, and the second voltage divider Rcc of the detection branch 223 are as shown in Table 1, in kΩ.
[0031] Table 1:
[0032]
[0033]
[0034] The working voltage Vcc is 5V; the corresponding relationship between the digital signals 000, 001, 010, 011, 100, 101, 110, 111 output by the analog-to-digital converter 211 and the eight fault states of the chips 101, 102, 103 and the input voltage of the voltage identification circuit 210 is as follows:
[0035] 000 indicates that the chips 101, 102, and 103 are all in normal state, and the input voltage of the voltage identification circuit 210 is:
[0036] V 000 =V cc ;
[0037] 001 indicates that chips 101 and 102 are in normal state, chip 103 is in fault state, and the input voltage of voltage identification circuit 210 is:
[0038]
[0039] 010 indicates that chips 101 and 103 are in normal state, chip 102 is in fault state, and the input voltage of voltage identification circuit 210 is:
[0040]
[0041] 011 indicates that chip 101 is in a normal state, chips 102 and 103 are in a fault state, and the input voltage of the voltage identification circuit 210 is:
[0042]
[0043] 100 indicates that chips 102 and 103 are in normal state, chip 101 is in fault state, and the input voltage of voltage identification circuit 210 is:
[0044]
[0045] 101 indicates that chip 102 is in a normal state, chips 101 and 103 are in a fault state, and the input voltage of the voltage identification circuit 210 is:
[0046]
[0047] 110 indicates that the chip 103 is in a normal state, the chips 101 and 102 are in a fault state, and the input voltage of the voltage identification circuit 210 is:
[0048]
[0049] 111 indicates that chips 101, 102, and 103 are all in a fault state, and the input voltage of the voltage identification circuit 210 is:
[0050] V 111 =0;
[0051] Specifically, in combination with Table 1, the input voltages of the voltage identification circuit 210 corresponding to the eight fault states are shown in Table 2.
[0052] Table 2:
[0053] <![CDATA[V 000 ]]> <![CDATA[V 001 ]]> <![CDATA[V 010 ]]> <![CDATA[V 011 ]]> <![CDATA[V 100 ]]> <![CDATA[V 101 ]]> <![CDATA[V 110 ]]> <![CDATA[V 111 ]]> 5 3.947368 1.777251 1.119403 3.418605 2.536232 0.549738 0 5 3.378378 4.090909 2.586207 1.666667 0.531915 1.071429 0 5 3.378378 4.090909 2.586207 1.666667 0.531915 1.071429 0 5 3.146067 4 2.352914 1.7 0.540541 1.052632 0 5 1.8 3.26078 0.55556 3.857143 1.097561 2.368421 0
[0054] It can be seen from the input voltage of the voltage identification circuit 210 of the 8 fault states that the difference between the two is greater than 0.5V. The voltage difference of 0.5V can be accurately sampled and distinguished by the analog-to-digital converter 211. Therefore, the voltage identification circuit 210 can accurately identify 8 fault states. Specifically, the analog-to-digital converter 211 distinguishes these 8 different voltage results, and then identifies the states corresponding to the chips 101, 102, and 103, and determines whether there is a fault. Optionally, the digital signal 0 represents that the chip is in a normal state, and 1 represents that the chip is in a fault state.
[0055] Please continue reading Figure 1 and him Figure 2 The second aspect of the embodiment of the present application also provides an electronic device, including multiple control chips 10n and the multi-chip fault identification circuit as above, and the detection ends of each detection branch 22n of the multi-chip fault identification circuit are respectively connected one-to-one with the status indication ends of each control chip 10n.
[0056] In one embodiment, at least one control chip 10n includes an open-drain gate circuit (ie Figure 2 OD gate module shown), the open drain gate circuit is connected to the status indication terminal.
[0057] The multi-chip fault identification circuit is configured with a plurality of detection branches 22n with a certain impedance. The detection ends of the detection branches 22n are respectively connected to the status indication ends of different chips 10n, and the output ends are connected to an input end of a voltage identification circuit 210. The voltage identification circuit 210 can determine the status of each chip 10n according to the voltage change of the input end. In this way, assuming that the voltage identification circuit is implemented by an MCU, only one peripheral port needs to be used to implement the above-mentioned multi-chip 10n fault identification, so as to distinguish which integrated chip 10n has a fault, thereby saving MCU peripheral resources.
[0058] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A multi-chip fault identification circuit, characterized in that: It includes a voltage identification circuit and multiple detection branches with certain impedance. The detection ends of each detection branch are connected to the status indication ends of each chip one by one. The output ends of multiple detection branches are connected to an input end of the voltage identification circuit. The voltage identification circuit determines the status of each chip according to the voltage of the input end.
2. The multi-chip fault identification circuit according to claim 1, characterized in that: The detection branch includes a first voltage divider and a second voltage divider, the first end of the first voltage divider is connected to the working voltage, the second end of the first voltage divider is connected to the first end of the second voltage divider and constitutes the detection end of the detection branch, and the second end of the second voltage divider constitutes the output end of the detection branch.
3. The multi-chip fault identification circuit according to claim 2, characterized in that: The first voltage divider and the second voltage divider are circuits composed of at least one of a resistor, an inductor, and a capacitor.
4. The multi-chip fault identification circuit according to claim 2, characterized in that: The impedances of the first voltage dividers of the detection branches are different.
5. The multi-chip fault identification circuit according to claim 2, characterized in that: The impedances of the second voltage dividers of the detection branches are different.
6. The multi-chip fault identification circuit according to claim 1, characterized in that: The impedances of the detection branches are different.
7. The multi-chip fault identification circuit according to any one of claims 1 to 6, characterized in that: The voltage identification circuit includes an analog-to-digital converter, the input end of the analog-to-digital converter constitutes the input end of the voltage identification circuit, and the analog-to-digital converter is used to convert the voltage at the input end into a corresponding digital signal and output it, and the digital signal is used to characterize the state of each of the chips.
8. The multi-chip fault identification circuit according to claim 7, characterized in that: The voltage identification circuit comprises a controller, the controller comprises the analog-to-digital converter or the controller is connected to the analog-to-digital converter, and the controller is used to determine the state of each chip according to the digital signal.
9. An electronic device, characterized in that: It comprises a plurality of control chips and a multi-chip fault identification circuit as claimed in any one of claims 1 to 8, wherein the detection ends of the respective detection branches of the multi-chip fault identification circuit are respectively connected one-to-one with the status indication ends of the respective control chips.
10. The electronic device according to claim 9, characterized in that: At least one of the control chips comprises an open-drain gate circuit, and the open-drain gate circuit is connected to the status indication terminal.
