DC port anomaly detection circuit and energy storage power supply
By designing the DC port abnormality detection circuit, using the DC port sampling module, voltage follower and MCU sampling port, the problems of inaccurate positioning of DC output port faults and waste in the existing technology are solved, and the accuracy of DC output port abnormalities is achieved. Improvement of positioning and resource utilization.
Patent Information
- Application Number
- CN202420201058.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2034-01-26
AI Technical Summary
The prior art is difficult to accurately locate the fault of the DC output port, and a large amount of MCU resources are required when detecting abnormalities, resulting in waste of resources.
A DC port abnormality detection circuit is designed, including a DC port sampling module, a voltage follower and an MCU sampling port. Through multiple DC port branches and voltage dividers, the sampling module converts the voltage of the DC port into a voltage suitable for MCU sampling, and provides a stable output through a voltage follower, which outputs these sampled voltages to the MCU for detection.
It realizes accurate positioning of abnormalities of DC output ports, improves resource utilization, and detects abnormal signals of multiple DC port branches by sharing one MCU sampling port.
Smart Images

Figure CN222529463U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of power electronics technology, and specifically relates to a DC port abnormality detection circuit and an energy storage power supply. Background Art
[0002] Energy storage products generally include AC output ports and DC output ports, which allow the stored energy to be provided to external devices in different ways. Among them, there are many types of DC output ports, such as cigarette lighter output ports, wireless charging output ports, PD output ports, USBA output ports, etc. When one of the DC output ports is abnormal, the product display will only display a fault code, such as a DC output short circuit, and it does not accurately locate which specific DC output port is abnormal. Therefore, it is necessary to check them one by one during maintenance, which is not convenient for maintenance personnel to quickly locate and repair. If the existing circuit needs to specifically locate which specific DC output port is abnormal, it is necessary to use the AD sampling port of the MCU corresponding to the number of DC output ports to achieve this, but this will cause the problem of wasting MCU resources. Utility Model Content
[0003] The main technical problem solved by the embodiments of the present application is how to accurately locate the fault of the DC output port and improve resource utilization.
[0004] In the first aspect, an embodiment of the present application provides a DC port abnormality detection circuit, which includes: a DC port sampling module, a voltage follower and an MCU sampling port, the DC port sampling module includes multiple DC port branches and a voltage divider unit; one end of the multiple DC port branches is respectively connected to the first end of the voltage follower and the first end of the voltage divider unit, the first end of the voltage divider unit is connected to the first end of the voltage follower, and the second end of the voltage follower is connected to the MCU sampling port; the DC port sampling module is used to obtain a sampling voltage according to the multiple DC port branches and the voltage divider unit; the MCU sampling port is used to output the sampling voltage to the MCU; wherein the sampling voltage is used to enable the MCU to detect the presence of an abnormal DC port branch among the multiple DC port branches.
[0005] In some embodiments, the multiple DC port branches include a first branch, the first branch includes a first output port, a resistor R1, a transistor Q1 and a resistor R5, the collector of the transistor Q1 is connected to the first end of the voltage follower through the resistor R5, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the first output port through the resistor R1; the transistor Q1 is used to provide a voltage signal corresponding to the first output port to the first end of the voltage follower in combination with the resistor R5 when it is turned on.
[0006] In some embodiments, the multiple DC port branches include a second branch, the second branch includes a second output port, a diode D1 and a resistor R2, the anode of the diode D1 is connected to the second output port, and the cathode of the diode D1 is connected to the first end of the voltage follower through the resistor R2.
[0007] In some embodiments, the multiple DC port branches include a third branch, the third branch includes a third output port, a diode D2 and a resistor R3, the positive electrode of the diode D2 is connected to the third output port, and the negative electrode of the diode D2 is connected to the first end of the voltage follower through the resistor R3.
[0008] In some embodiments, the DC port abnormality detection circuit also includes a fourth branch, the fourth branch includes a fourth output port, the fourth output port is connected to the power supply end of the voltage follower, and the fourth output port is used to power the voltage follower when there is no abnormality.
[0009] In some embodiments, the voltage dividing unit is a voltage dividing resistor R6; a first end of the voltage dividing resistor R6 is connected to a first end of the voltage follower, and a second end of the voltage dividing resistor R6 is grounded.
[0010] In some embodiments, the DC port abnormality detection circuit also includes a reference power supply branch, which includes: a power supply, a diode D3 and a resistor R4, the power supply is connected to the positive electrode of the diode D3, and the negative electrode of the diode D3 is connected to the first end of the voltage follower through the resistor R4.
[0011] In some embodiments, the voltage follower is an amplifier U1, the first end of the voltage follower is the same-direction input end of the amplifier U1, the second end of the voltage follower is the output end of the amplifier U1, and the reverse input end of the amplifier U1 is connected to the output end of the amplifier U1 and the MCU sampling port.
[0012] In some embodiments, the transistor Q1 is an NPN transistor.
[0013] In a second aspect, an embodiment of the present application provides an energy storage power supply, comprising the DC port abnormality detection circuit described above.
[0014] Different from the prior art, the embodiment of the present application provides a DC port abnormality detection circuit and an energy storage power supply. The DC port abnormality detection circuit includes: a DC port sampling module, a voltage follower and an MCU sampling port. The DC port sampling module includes multiple DC port branches and a voltage divider unit. Each DC port branch is connected to the voltage follower and the voltage divider unit. The voltage divider unit is connected to the voltage follower, and the output of the voltage follower is connected to the MCU sampling port. In normal operation, the DC port sampling module converts the voltage of the DC port into a voltage suitable for MCU sampling through the voltage divider unit, and provides a stable output through the voltage follower. The MCU sampling port outputs these sampled voltages to the MCU for detection. When a DC port branch is abnormal, such as a short circuit or an open circuit, the voltage of the branch will be abnormal. By detecting the sampled voltage through the MCU, the DC port branch with the specific abnormality can be determined. The solution of the embodiment of the present application can accurately detect the abnormality of the DC output port and transmit the relevant information to the MCU through the MCU sampling port; combined with the voltage divider unit and the voltage follower, it can be realized that the sampling signals of multiple DC port branches share one MCU sampling port, thereby improving the utilization of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a structural block diagram of a DC port abnormality detection circuit provided in an embodiment of the present application;
[0016] Figure 2 It is a circuit structure diagram of a DC port abnormality detection circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and in detail in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the 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.
[0018] The technical features involved in the various embodiments of the present application described below do not conflict with each other and can be combined with each other. When an element is described as "connecting" another element, it can be directly connected to another element, or there can be one or more centered elements therebetween. The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more.
[0019] For the DC output part of the energy storage product, multiple DC output ports are usually provided, such as the common cigarette lighter output port, wireless charging output port, PD output port and USBA output port. When one or some of the DC output ports are abnormal, the product display will only display a fault code, such as a DC output short circuit, and cannot accurately locate which specific DC output port is abnormal. Therefore, each port needs to be checked one by one during maintenance, which is not convenient for maintenance personnel to quickly locate the abnormal part for maintenance. Based on this, the embodiment of the present application provides a DC port abnormality detection circuit to solve the above technical problems.
[0020] Please combine Figure 1The DC port abnormality detection circuit provided in the embodiment of the present application includes: a DC port sampling module, a voltage follower and an MCU sampling port, wherein the DC port sampling module includes multiple DC port branches and a voltage divider unit. One end of the multiple DC port branches is respectively connected to the first end of the voltage follower and the first end of the voltage divider unit, the first end of the voltage divider unit is connected to the first end of the voltage follower, the second end of the voltage divider unit is grounded, and the second end of the voltage follower is connected to the MCU sampling port. The DC port sampling module is used to obtain a sampling voltage according to the multiple DC port branches and the voltage divider unit; the MCU sampling port is used to output the sampling voltage to the MCU. The sampling voltage is used to enable the MCU to detect the presence of an abnormal DC port branch in the multiple DC port branches. The output voltages of the multiple DC port branches are normal or abnormal combinations, and the corresponding output sampling voltages are different. In this way, it is possible to determine which DC port branch is abnormal according to the value of the sampling voltage, that is, to determine which DC output power supply is abnormal. When there is no abnormality in each DC port branch, the DC port sampling module combines with the voltage divider unit to provide a sampling voltage for the DC port voltage, and provides a stable output through the voltage follower. The MCU detects the output sampling voltage through the MCU sampling port. When there is an abnormality in a DC port branch, such as a short circuit or an open circuit, the voltage of the branch will be abnormal, and then combined with the voltage divider unit to cause the sampling voltage to change. By detecting the value of the sampling voltage through the MCU, the specific DC port branch with the abnormality can be determined.
[0021] The DC port abnormality detection circuit provided in the embodiment of the present application can accurately detect abnormalities in one or some DC output ports, and transmit relevant information to the MCU through the MCU sampling port; and combined with the voltage divider unit to assist in limiting the voltage range of the sampling voltage, prevent the branch from being directly grounded and causing damage to the device, and can also achieve the sampling signals of multiple DC port branches sharing one MCU sampling port, thereby improving resource utilization, and combined with the voltage follower to achieve circuit isolation between the MCU and the DC port sampling module, avoiding interference of the internal voltage of the MCU on the sampling voltage.
[0022] Please combine Figure 2 The voltage divider unit is a voltage divider resistor R6, a first end of the voltage divider resistor R6 is connected to a first end of the voltage follower, and a second end of the voltage divider resistor R6 is grounded. The voltage follower is an amplifier U1, a first end of the voltage follower is a non-inverting input end of the amplifier U1, a second end of the voltage follower is an output end of the amplifier U1, and a reverse input end of the amplifier U1 is connected to the output end of the amplifier U1 and the MCU sampling port.
[0023] The plurality of DC port branches include a first branch, please combine Figure 2 , the first branch includes a first output port, a resistor R1, a transistor Q1 and a resistor R5. In the embodiment of the present application, the transistor Q1 is an NPN transistor. The collector of the transistor Q1 is connected to the first end of the voltage follower through the resistor R5, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the first output port through the resistor R1. The transistor Q1 is used to provide a voltage signal corresponding to the first output port to the first end of the voltage follower in combination with the resistor R5 when it is turned on. The first output port is a DC output port of the energy storage product. For example, in the embodiment of the present application, the first output port takes the PD output port as an example, and DC_PD is used in the figure to represent the PD output port voltage. Under normal circumstances, if the first output port works normally, that is, when there is no abnormality in DC_PD in the figure, the transistor Q1 is turned on normally, and the potential at point C in the figure is roughly equal to V of the transistor Q1. ce The voltage, for example, about 0.2V, is combined with the resistor R5 and the voltage divider unit (i.e., the voltage divider resistor R6 shown in the figure), and the remaining branches together provide a sampling voltage to the first end of the voltage follower. The voltage at point A in the figure represents the sampling voltage; if the first output port is abnormal, that is, the DC_PD in the figure has no output voltage, the transistor Q1 is disconnected, and the first branch does not participate in the provision of the sampling voltage.
[0024] In the embodiment of the present application, the plurality of DC port branches include a second branch. Figure 2 , the second branch includes a second output port, a diode D1 and a resistor R2, the positive electrode of the diode D1 is connected to the second output port, and the negative electrode of the diode D1 is connected to the first end of the voltage follower through the resistor R2. The second output port is a DC output port of the energy storage product. For example, in the embodiment of the present application, the second output port takes the USBA output port as an example, and DC_USBA in the figure represents the USBA output port voltage. Under normal circumstances, if the second output port works normally, that is, when DC_USBA in the figure is normal, the second branch is connected to point A in the figure, combined with resistor R2 and voltage divider resistor R6, and the remaining branches jointly provide a sampling voltage to the first end of the voltage follower, which is equivalent to the voltage at point A; if the second output port is abnormal, that is, when DC_USBA in the figure has no output voltage, the second branch does not participate in the provision of the sampling voltage. In addition, due to the presence of the diode D1, even if the second output port is abnormal, such as no output voltage, the voltage of other branches will not flow back into the second output port, thereby avoiding affecting the sampling voltage provided by other branches.
[0025] In some embodiments, the plurality of DC port branches include a third branch, Figure 2In the embodiment of the present application, the third branch includes a third output port, a diode D2 and a resistor R3, the positive electrode of the diode D2 is connected to the third output port, and the negative electrode of the diode D2 is connected to the first end of the voltage follower through the resistor R3. The third output port is a DC output port of the energy storage product. For example, in the embodiment of the present application, the third output port takes the cigarette lighter output port as an example, and DC_13.7V is used in the figure to represent the cigarette lighter output port voltage. Similar to the second branch in the above embodiment, the abnormality of the third output port will also affect the sampling voltage of point A, which will not be repeated here.
[0026] In an embodiment of the present application, the DC port abnormality detection circuit also includes a fourth branch, and the fourth branch includes a fourth output port, the fourth output port is connected to the power supply end of the voltage follower, and the fourth output port is used to power the voltage follower when there is no abnormality. The fourth output port is a DC output port of the energy storage product. For example, in an embodiment of the present application, the fourth output port takes the wireless charging output port as an example, and DC_12V is used in the figure to represent the voltage of the wireless charging output port. It can be understood that in an embodiment of the present application, the power supply end of the voltage follower is also used as a sampling detection point of an output port. If the wireless charging output port is abnormal, that is, when the DC_12V in the figure has no output voltage, the voltage follower cannot work without a power supply voltage. At this time, the voltage value detected by the MCU sampling port is 0, and it is judged that this is an abnormal state of wireless charging output failure.
[0027] Please combine Figure 2 The DC port abnormality detection circuit also includes a reference power supply branch, specifically including: a power supply, a diode D3 and a resistor R4, the power supply is connected to the positive electrode of the diode D3, and the negative electrode of the diode D3 is connected to the first end of the voltage follower through the resistor R4. Figure 2 As shown, Figure 2 5V is used to represent the power connection port. In the embodiment of the present application, 5V is used as the reference power supply voltage. It should be noted that the reference power supply branch can be matched with the circuit structure of the fourth branch in the above embodiment to avoid the situation where one sampling voltage corresponds to more than one abnormal state. Figure 2 As an example, assume that the cigarette lighter output, USBA output and PD output in the circuit are simultaneously faulty, that is, when the DC_13.7V4560 port, DC_USBA port and DC_PD port in the figure have no output voltage, due to the existence of the reference power supply, the sampling voltage at point A is the voltage V across the voltage divider resistor R6. R6 , instead of 0, when the MCU detects that the sampled voltage is V R6When the battery is low, it can be determined that the cigarette lighter output, USBA output and PD output are all faulty. In this way, it can be distinguished from the abnormal state of single wireless charging output failure.
[0028] The embodiments of this application are Figure 2 Taking the circuit structure shown in as an example, the working principle of the DC port abnormality detection circuit is explained. When the wireless charging output port is abnormal, that is, when there is no output voltage of DC_12V in the figure, the voltage follower has no supply voltage, and the MCU sampling port (MCU_IN in the figure) is 0V. When the MCU detects that MCU_IN=0, it determines that the wireless charging output is faulty, and the system can display the fault code: wireless charging output fault.
[0029] When the wireless charging output is working normally, the voltage follower can work normally. Therefore, the MCU sampling port MCU_IN can detect the sampling voltage normally, that is, the voltage at point A in the figure. Figure 2 Directional arrows are used to indicate the current direction of each branch. On this basis:
[0030] a. If the PD output, USBA output and cigarette lighter output are all normal, that is, DC_PD, DC_USBA and DC_13.7V in the figure are all normal, transistor Q1 is turned on, and the potential at point C in the figure is clamped to the V ce Voltage, taking 0.2V as an example, at this time, KCL (Kirchhoff's current law) can be used to get i 3 +i 4 =i 1 +i 2 +i 5 , and then calculate the potential of point A. Assume that the conduction voltage drop of diode D1, diode D2 and diode D3 is V F All are 0.7V; resistor R2 is 20kΩ, resistor R3 is 47kΩ, resistor R4 is 33kΩ, resistor R5 is 10kΩ, and resistor R6 is 10kΩ. Substituting the values into the above equation, it can be calculated that the potential of point A is about 2.12V. In addition, taking into account factors such as errors in actual scenarios, a suitable detection error range can be set, such as a design error range of 0.05V. Thus, when the sampling voltage of the MCU sampling port is detected to be 2.12±0.05V, it means that the DC output is normal at this time. It can be understood that the parameters of the above-mentioned components (such as the resistance value of each resistor or the voltage drop of each diode, etc.) are all example values set for convenience of explanation, and parameter values different from the above examples can be reasonably selected in actual scenarios.
[0031] b. If the PD output and USBA output are normal, and the cigarette lighter output is abnormal, that is, DC_PD and DC_USBA output normally, and DC_13.7V has no output, transistor Q1 is turned on, and the potential of point C in the figure is clamped to 0.2V. At this time, KCL can be used to obtain i 1 +i 5 =i 3 +i 4 , and then calculate the potential of point A. Still taking the above example parameter values as an example, the potential of point A is calculated to be about 1.3V, and the error range of 0.05V is designed taking the error factor into consideration. Therefore, when the sampling voltage of the MCU sampling port is detected to be 1.3±0.05V, it means that the DC_13.7V output is abnormal at this time, and the system can display the fault code: cigarette lighter output failure.
[0032] c. If the PD output and cigarette lighter output are normal, and the USBA output is abnormal, that is, DC_PD and DC_13.7V are output normally, and DC_USBA has no output, transistor Q1 is turned on, and the potential of point C in the figure is clamped to 0.2V. At this time, KCL can be used to obtain i 2 +i 5 =i 3 +i 4 , and then calculate the potential of point A. Still taking the above example parameter values as an example, the potential of point A is calculated to be approximately 1.69V, and the error range of 0.05V is designed taking the error factor into consideration. Therefore, when the sampling voltage of the MCU sampling port is detected to be 1.69±0.05V, it means that the DC_USBA output is abnormal at this time, and the system can display the fault code: USBA output fault.
[0033] d. If the USBA output and the cigarette lighter output are normal, and the PD output is abnormal, that is, DC_USBA and DC_13.7V are output normally, and DC_PD has no output, the transistor Q1 cannot be turned on. At this time, the potential at point C in the figure is the same as the potential at point A, and i is obtained through KCL. 1 +i 2 +i 5 =i 4 , still taking the above example parameter values as an example, the potential of point A is calculated to be approximately 3.08V, and the error range of 0.05V is designed taking the error factor into consideration. Therefore, when the sampling voltage of the MCU sampling port is detected to be 3.08±0.05V, it means that the DC_PD output is abnormal at this time, and the system can display the fault code: PD output fault.
[0034] e. If the cigarette lighter output is normal, and the USBA output and PD output are abnormal, that is, the DC_13.7V output is normal, and the DC_USBA and DC_PD have no output, the transistor Q1 cannot be turned on. At this time, there is only one path: DC_13.7V flows through the diode D2 through the resistor R3 and the reference power supply voltage 5V flows through the diode D3 through the resistor R4 in parallel, and then in series with the resistor R6 and then connected to GND. At this time, KCL is used to obtain i 2 +i 5 =i 4 , still taking the above example parameter values as an example, the potential of point A is calculated to be about 2.67V, and the error range of 0.05V is designed taking the error factor into consideration. Therefore, when the sampling voltage of the MCU sampling port is detected to be 2.67±0.05V, it means that the DC_USBA and DC_PD outputs are abnormal at this time, and the system can display the fault code: USBA and PD output fault.
[0035] f. If the USBA output is normal, and the cigarette lighter output and PD output are abnormal, that is, DC_USBA outputs normally, and DC_13.7V and DC_PD have no output, the transistor Q1 cannot be turned on. At this time, there is only one path: DC_USBA flows through the branch of resistor R2 through diode D1 and 5V flows through the branch of resistor R4 through diode D3 in parallel, and then connected in series with resistor R6 to GND. At this time, KCL is used to obtain i 1 +i 5 =i 4 , still taking the above example parameter values as an example, the potential of point A is calculated to be about 1.92V, and the error range of 0.05V is designed considering the error factor. Therefore, when the sampling voltage of the MCU sampling port is detected to be 1.92V±0.05V, it means that the DC_13.7V and DC_PD outputs are abnormal at this time, and the system can display the fault code: PD and cigarette lighter output fault.
[0036] g. If the PD output is normal, and the cigarette lighter output and USBA output are abnormal, that is, DC_PD output is normal, and DC_13.7V and DC_USBA have no output, the transistor Q1 is turned on, and i can be obtained through KCL. 5 =i 3 +i 4 , still taking the above example parameter values as an example, the potential of point A is calculated to be about 0.66V, and the error range of 0.05V is designed taking the error factor into consideration. Therefore, when the sampling voltage of the MCU sampling port is detected to be 0.66V±0.05V, it means that the DC_13.7V and DC_USBA outputs are abnormal at this time, and the system can display the fault code: cigarette lighter and USBA output failure.
[0037] h. If the USBA output, cigarette lighter output and PD output are all abnormal, that is, when DC_PD, DC_USBA and DC_13.7V in the figure have no output, there is only one path: 5V flows through diode D3 through resistor R4 and resistor R6 to GND. The potential at point A is the voltage across the voltage divider resistor R6. Taking the above example parameter values as an example, it can be calculated to be 1V. The error range of 0.05V is also designed considering the error factor. Therefore, when the sampling voltage of the MCU sampling port is detected to be 1.00V±0.05V, the system can display the fault code: PD, cigarette lighter and USBA output fault.
[0038] In addition, regarding the resistance setting of resistors R2-R6 in the circuit, it can be determined according to the following rules: First, provisionally determine the resistance of three of the resistors, for example, provisionally determine the resistance of resistors R4, R5, and R6. Secondly, because the highest signal potential entering the MCU is 3.3V, and the DC_USBA and DC_13.7V are output normally, and the signal potential sampled by the MCU is the highest when DC_PD has no output, the KCL equation and KVL (Kirchhoff's voltage law) equation can be listed under this condition, and the resistance of resistors R2 and R3 can be provisionally determined according to the equation. Finally, the signal voltage detected by the MCU under various working conditions is verified by the provisional resistance value. If different, it can be selected; if the detected voltage is similar or the same, repeat the above steps until the signal voltages are different. The specific parameter values can be set according to the design requirements in the application scenario, and the sampling voltage values corresponding to different parameter values may also be different.
[0039] The DC port abnormality detection circuit provided by the embodiment of the present application includes a DC port sampling module, a voltage follower and an MCU sampling port, wherein the DC port sampling module includes multiple DC port branches and a voltage divider unit, each DC port branch is connected to the voltage follower and the voltage divider unit, the voltage divider unit is connected to the voltage follower, and the output of the voltage follower is connected to the MCU sampling port. In normal operation, the DC port sampling module converts the voltage of the DC port into a voltage suitable for MCU sampling through the voltage divider unit, and provides a stable output through the voltage follower, and the MCU sampling port outputs these sampled voltages to the MCU for detection. When a DC port branch is abnormal, such as a short circuit or an open circuit, the voltage of the branch will be abnormal, and the sampled voltage can be detected by the MCU to determine the specific DC port branch with abnormality. The scheme of the embodiment of the present application can accurately detect the abnormality of the DC output port and transmit the relevant information to the MCU through the MCU sampling port; due to the use of the voltage divider unit and the voltage follower, the sampling signals of multiple DC port branches can share one MCU sampling port, thereby improving the utilization of resources.
[0040] The embodiment of the present application provides an energy storage power supply, which includes the DC port abnormality detection circuit described in the above embodiment. The energy storage power supply has the corresponding structural features and beneficial effects of the DC port abnormality detection circuit. For technical details not described in detail in the energy storage power supply embodiment, please refer to the DC port abnormality detection circuit provided in the embodiment of the present application.
[0041] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Based on the idea of the present application, the technical features in the above embodiments or different embodiments may also be combined, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill 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. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A DC port abnormality detection circuit, characterized in that: The DC port abnormality detection circuit comprises: a DC port sampling module, a voltage follower and an MCU sampling port, wherein the DC port sampling module comprises a plurality of DC port branches and a voltage dividing unit; One end of each of the plurality of DC port branches is connected to the first end of the voltage follower and the first end of the voltage divider unit, respectively; the first end of the voltage divider unit is connected to the first end of the voltage follower; and the second end of the voltage follower is connected to the MCU sampling port; The DC port sampling module is used to obtain a sampled voltage according to the multiple DC port branches and the voltage dividing unit; the MCU sampling port is used to output the sampled voltage to the MCU; The sampling voltage is used to enable the MCU to detect an abnormal DC port branch among the multiple DC port branches.
2. The DC port abnormality detection circuit according to claim 1, characterized in that: The plurality of DC port branches include a first branch, the first branch includes a first output port, a resistor R1, a transistor Q1 and a resistor R5, the collector of the transistor Q1 is connected to the first end of the voltage follower through the resistor R5, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the first output port through the resistor R1; The transistor Q1 is used to provide a voltage signal corresponding to the first output port to the first end of the voltage follower in combination with the resistor R5 when being turned on.
3. The DC port abnormality detection circuit according to claim 1, characterized in that: The multiple DC port branches include a second branch, the second branch includes a second output port, a diode D1 and a resistor R2, the anode of the diode D1 is connected to the second output port, and the cathode of the diode D1 is connected to the first end of the voltage follower through the resistor R2.
4. The DC port abnormality detection circuit according to claim 1, characterized in that: The multiple DC port branches include a third branch, the third branch includes a third output port, a diode D2 and a resistor R3, the anode of the diode D2 is connected to the third output port, and the cathode of the diode D2 is connected to the first end of the voltage follower through the resistor R3.
5. The DC port abnormality detection circuit according to claim 1, characterized in that: The DC port abnormality detection circuit also includes a fourth branch, the fourth branch includes a fourth output port, the fourth output port is connected to the power supply end of the voltage follower, and the fourth output port is used to supply power to the voltage follower when there is no abnormality.
6. The DC port abnormality detection circuit according to claim 1, characterized in that: The voltage dividing unit is a voltage dividing resistor R6; A first end of the voltage-dividing resistor R6 is connected to a first end of the voltage follower, and a second end of the voltage-dividing resistor R6 is grounded.
7. The DC port abnormality detection circuit according to claim 1, characterized in that: The DC port abnormality detection circuit also includes a reference power supply branch, which includes: a power supply, a diode D3 and a resistor R4, the power supply is connected to the positive electrode of the diode D3, and the negative electrode of the diode D3 is connected to the first end of the voltage follower through the resistor R4.
8. The DC port abnormality detection circuit according to any one of claims 1 to 7, characterized in that: The voltage follower is an amplifier U1, the first end of the voltage follower is the same-direction input end of the amplifier U1, the second end of the voltage follower is the output end of the amplifier U1, and the reverse input end of the amplifier U1 is connected to the output end of the amplifier U1 and the MCU sampling port.
9. The DC port abnormality detection circuit according to claim 2, characterized in that: The transistor Q1 is an NPN transistor.
10. An energy storage power supply, characterized in that: The invention comprises the DC port abnormality detection circuit according to any one of claims 1 to 9.