Current detection circuit structure and electronic equipment
The sampling and processing of current signals in the current detection circuit are realized through the MCU control chip and current-to-voltage conversion module, which solves the problem of accuracy in low-end detection and high-end detection, reduces cost and power consumption, and is suitable for battery management systems and other occasions. .
Patent Information
- Application Number
- CN202323244301.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2033-11-30
AI Technical Summary
The existing current detection circuit adds additional loop resistance in low-end detection, which affects the application scenarios. In high-end detection, a large voltage dividing ratio is required due to the high voltage, which introduces errors and is costly, and common-mode signal processing is required during op amp amplification. difficulty.
The MCU control chip is used to output high and low levels through the IO interface to control the on and off of the current-to-voltage conversion module. Combined with the voltage dividing module and the filtering and voltage stabilizing protection module, the sampling and processing of the current signal is realized, reducing costs and power consumption.
It solves the ground problem in low-end detection, the accuracy problem in high-end detection and the common mode signal problem of op amp, and achieves low power consumption and high-precision current detection, which is suitable for battery management systems and other occasions.
Smart Images

Figure CN221667904U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of current detection, in particular to a current detection circuit structure and electronic equipment. Background Art
[0002] Current detection generally refers to detecting the current flowing through a wire or a component. Series resistors, transformers, etc. are often used to convert current signals into voltage signals, which are then processed and amplified for use as subsequent circuit protection and detection. Current detection usually includes low-end detection current circuits and high-end detection current circuits. Low-end detection current circuits are usually used in situations with lower voltages, while high-end detection current circuits are more suitable for more situations. The commonly used method is: the current sampling of the low-end detection current circuit is connected to a series resistor and then to the ground, such as Figure 1 As shown; the current sampling resistor of the high-end current detection circuit is connected in series to the high voltage end, such as Figure 2 As shown. Both of the above detection circuit structures have certain problems:
[0003] 1. The low-end current detection method adds additional loop resistance in the ground loop. Since the sampling resistor and the control system share the same ground, this type of circuit will be limited in many applications. For example, this type of current detection circuit cannot be used to detect the charging current in the battery management system (BMS) because it will affect the voltage of the lowest battery cell.
[0004] 2. Due to the limitation of MCU ADC input voltage and the high voltage of high-end detection current circuit, it is generally not possible to directly connect to the ADC pin of the sampling chip. Therefore, the voltage-dividing resistor network needs to have a large voltage-dividing ratio before it can be connected to the sampling chip pin. A large voltage-dividing ratio will introduce relatively large errors and require higher resistor accuracy.
[0005] 3. If the current signal detection circuit uses operational amplifier amplification, the cost is relatively high, especially the high-end current detection method needs to process a larger common-mode signal. Utility Model Content
[0006] In order to solve the above technical problems, the utility model provides a current detection circuit structure, which has a relatively simple structure and reduces manufacturing costs. The MCU control chip outputs high and low levels to control the conduction and disconnection of the sampling resistor to achieve low power consumption control.
[0007] In order to solve the above technical problems, the utility model adopts the following technical solutions:
[0008] A current detection circuit structure comprises an MCU control chip, a current-voltage conversion module, and a filtering and voltage-stabilizing protection module. The MCU control chip is provided with an IO interface end, an ADC interface end, and a GND interface end. The current-voltage conversion module and the filtering and voltage-stabilizing protection module are both connected to the IO interface end and the ADC interface end. The MCU control chip outputs a high level or a low level to the current-voltage conversion module through the IO interface end for turning on or off the power supply of the current-voltage conversion module. The GND interface end of the MCU control chip is grounded. The current-voltage conversion circuit is connected to an external power supply and a terminal device. The external power supply is connected to the terminal device through a switch.
[0009] As a further improvement, the positive pole of the external power source is connected to the positive pole of the terminal device through a switch, and the negative pole of the external power source is connected to the current-voltage conversion module and then to the negative pole of the terminal device.
[0010] As a further improvement, the current-voltage conversion circuit includes a voltage divider module and a current sampling resistor Rs, one end of the voltage divider module is connected to the IO interface end of the MCU control chip, the other end of the voltage divider module is connected to one end of the current sampling resistor Rs, and the other end of the current sampling resistor Rs is respectively connected to the negative pole of the terminal device, the GND interface end of the MCU control chip, and the negative pole of the external power supply.
[0011] As a further improvement, the voltage divider module includes a resistor R3 and a resistor R4, one end of the resistor R3 is connected to the IO interface end of the MCU control chip, the other end of the resistor R3 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to the current sampling resistor Rs and the negative pole of the external power supply.
[0012] As a further improvement, the filtering and voltage stabilizing protection module includes a voltage stabilizing module and a filtering module. The voltage stabilizing module is connected in parallel with the resistor R3, and the filtering module is connected in parallel with the voltage stabilizing module.
[0013] As a further improvement, the voltage stabilizing module includes a Zener diode DZ1, the cathode of the Zener diode DZ1 is connected to the IO interface end of the MCU control chip, the anode of the Zener diode DZ1 is connected to the ADC interface end in the MCU control chip, and the resistor R3 is connected in parallel across the anode and cathode of the Zener diode DZ1.
[0014] As a further improvement, the filtering module includes a capacitor C1 , one end of the capacitor C1 is connected to the cathode of the Zener diode DZ1 , and the other end of the capacitor C1 is connected to the anode of the Zener diode DZ1 .
[0015] As a further improvement, the terminal device is a load or a battery pack.
[0016] As a further improvement, the resistance values of the resistor R3 and the resistor R4 in the voltage divider module are the same or different.
[0017] An electronic device comprises the current detection circuit structure mentioned above.
[0018] Compared with the prior art, the utility model has the following beneficial technical effects:
[0019] 1. Solved the problem that the traditional low-end detection circuit is affected by the common ground;
[0020] 2. Solve the problem of accuracy caused by the high voltage and large voltage-dividing ratio resistor network introduced in the traditional high-end detection circuit, and the problem of excessive common-mode signal input to the op amp;
[0021] 3. The MCU control chip is used to directly output high and low levels to control the conduction and cutoff of the sampling resistor. No separate transistor is required for control. The overall structure is simpler and the cost is lower.
[0022] 4. It has low power consumption function and energy-saving characteristics in the battery management system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of a low-end current detection circuit in the prior art;
[0024] Figure 2 It is a schematic diagram of a high-end current detection circuit in the prior art;
[0025] Figure 3 This is a schematic diagram of the current connection principle in the utility model. DETAILED DESCRIPTION
[0026] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0027] In the description of the present utility model, it should be understood that if the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like are involved, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present utility model and simplifying the description, and does 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 cannot be understood as a limitation on the present utility model. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present utility model, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0028] In the description of the present utility model, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium. It can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances.
[0029] like Figure 3 As shown, a current detection circuit structure includes an MCU control chip, a current-voltage conversion module, and a filtering and voltage-stabilizing protection module. The MCU control chip has an IO interface end, an ADC interface end, and a GND interface end. The current-voltage conversion module and the filtering and voltage-stabilizing protection module are both connected to the IO interface end and the ADC interface end. The MCU control chip outputs a high level or a low level to the current-voltage conversion module through the IO interface end for conducting or cutting off the power supply of the current-voltage conversion module. The GND interface end of the MCU control chip is grounded. The current-voltage conversion circuit is connected to an external power supply and a terminal device. The external power supply is connected to the terminal device through a switch. The terminal device is a load or a battery pack. The IO interface end of the MCU control chip is directly used to output a high level or a low level. When the high level is on, the current-voltage conversion module is turned on, and normal sampling can be performed. When the low level is output, the current is cut off to achieve low power consumption control. By accurately understanding the real-time current of the load or battery pack, it can be effectively used for subsequent circuit protection and detection.
[0030] The positive pole of the external power supply is connected to the positive pole of the terminal device through a switch, and the negative pole of the external power supply is connected to the current-voltage conversion module and then to the negative pole of the terminal device. The switch control can conveniently cut off the on-off of the load or battery pack.
[0031] The current-voltage conversion circuit includes a voltage divider module and a current sampling resistor Rs, one end of the voltage divider module is connected to the IO interface end of the MCU control chip, the other end of the voltage divider module is connected to one end of the current sampling resistor Rs, and the other end of the current sampling resistor Rs is respectively connected to the negative pole of the terminal device, the GND interface end of the MCU control chip, and the negative pole of the external power supply. The voltage divider module includes a resistor R3 and a resistor R4, one end of the resistor R3 is connected to the IO interface end of the MCU control chip, the other end of the resistor R3 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to the current sampling resistor Rs and the negative pole of the external power supply. The connection between the resistor R3 and the resistor R4 plays a voltage dividing role, converting the current signal on the current sampling resistor Rs into a voltage signal for use by the back end, the current acquisition resistor is connected to an external load or battery pack, and the current passes through the current sampling resistor, which can realize the sampling of the current. The resistor R3 and the resistor R4 are connected in series for voltage division, that is, the voltage is stepped down in stages after passing through the resistors R3 and R4, which solves the accuracy problem of the traditional high-end detection circuit caused by the introduction of a large voltage division ratio resistor network due to the high voltage and the problem of excessive common-mode signal input to the operational amplifier.
[0032] The filtering and voltage stabilizing protection module includes a voltage stabilizing module and a filtering module, the voltage stabilizing module is connected in parallel with the resistor R3, and the filtering module is connected in parallel with the voltage stabilizing module. The voltage stabilizing module includes a Zener diode DZ1, the cathode of the Zener diode DZ1 is connected to the IO interface end of the MCU control chip, the anode of the Zener diode DZ1 is connected to the ADC interface end in the MCU control chip, and the resistor R3 is connected in parallel to the anode and cathode ends of the Zener diode DZ1. The filtering module includes a capacitor C1, one end of the capacitor C1 is connected to the cathode of the Zener diode DZ1, and the other end of the capacitor C1 is connected to the anode of the Zener diode DZ1. The capacitor C1 plays a filtering role, and after the voltage is filtered, the voltage signal output to the back-end detection is more stable. The Zener diode DZ1 clamps the voltage divider value on the resistor R3, so that the range of the back-end output voltage is controlled in a suitable interval for the back-end detection and protection of the back-end circuit from damage. The Zener diode DZ1 plays a role in voltage stabilization, so that the voltage will not have a problem of excessive jump.
[0033] The series connection of the resistor R3 and the resistor R4 given in this embodiment can be provided with other numbers of resistors if necessary, so that the resistors are connected in series to form a voltage divider. For the filter module, this embodiment uses a capacitor C1, and two capacitors or other numbers can be provided according to actual needs, and the capacitors can be connected in parallel to form a filter module together to play a filtering role and make the voltage signal more balanced.
[0034] The resistance values of each resistor and the value of the capacitor can be flexibly selected here and set flexibly according to the application scenario and usage environment. By selecting different values, different models can also be formed to meet the use of various groups.
[0035] When measuring, refer to Figure 3 As shown, the current I flowing out of the load is detected:
[0036] The location of the GND interface terminal of the MCU control chip is taken as the 0V reference point. The current flowing into GND is positive, and the current flowing out of GND is negative.
[0037] Assuming that the power supply voltage of the MCU control chip is Uvdd, the voltage when the digital pin IO interface end of the MCU control chip outputs a high level is Uvdd.
[0038] Assume that the ADC reference voltage of the MCU control chip is Uref, the ADC resolution is N bits, and the ADC sampling value of the MCU control chip is n.
[0039] U rs =0-IRs=-IRs
[0040] U vs =U vdd
[0041]
[0042] From equations (1) and (2), the current I is:
[0043]
[0044] Through the above calculation, the real-time value of the current I can be obtained, providing reference data for the back end.
[0045] It should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or make equivalent substitutions for some of the technical features therein. However, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A current detection circuit structure, characterized in that: The invention comprises an MCU control chip, a current-voltage conversion module, and a filtering and voltage-stabilizing protection module. The MCU control chip is provided with an IO interface end, an ADC interface end, and a GND interface end. The current-voltage conversion module and the filtering and voltage-stabilizing protection module are both connected to the IO interface end and the ADC interface end. The MCU control chip outputs a high level or a low level to the current-voltage conversion module through the IO interface end so as to turn on or off the power supply of the current-voltage conversion module. The GND interface end of the MCU control chip is grounded. The current-voltage conversion circuit is connected to an external power supply and a terminal device. The external power supply is connected to the terminal device through a switch.
2. The current detection circuit structure according to claim 1, characterized in that: The positive pole of the external power source is connected to the positive pole of the terminal device through a switch, and the negative pole of the external power source is connected to the current-voltage conversion module and then connected to the negative pole of the terminal device.
3. The current detection circuit structure according to claim 2, characterized in that: The current-voltage conversion circuit includes a voltage divider module and a current sampling resistor Rs, one end of the voltage divider module is connected to the IO interface end of the MCU control chip, the other end of the voltage divider module is connected to one end of the current sampling resistor Rs, and the other end of the current sampling resistor Rs is respectively connected to the negative electrode of the terminal device, the GND interface end of the MCU control chip, and the negative electrode of the external power supply.
4. The current detection circuit structure according to claim 3, characterized in that: The voltage divider module includes a resistor R3 and a resistor R4, one end of the resistor R3 is connected to the IO interface end of the MCU control chip, the other end of the resistor R3 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to the current sampling resistor Rs and the negative electrode of the external power supply.
5. The current detection circuit structure according to claim 4, characterized in that: The filtering and voltage stabilizing protection module includes a voltage stabilizing module and a filtering module. The voltage stabilizing module is connected in parallel with the resistor R3, and the filtering module is connected in parallel with the voltage stabilizing module.
6. The current detection circuit structure according to claim 5, characterized in that: The voltage stabilizing module includes a Zener diode DZ1, the cathode of the Zener diode DZ1 is connected to the IO interface of the MCU control chip, the anode of the Zener diode DZ1 is connected to the ADC interface in the MCU control chip, and the resistor R3 is connected in parallel to the anode and cathode of the Zener diode DZ1.
7. The current detection circuit structure according to claim 6, characterized in that: The filtering module includes a capacitor C1 , one end of which is connected to the cathode of the Zener diode DZ1 , and the other end of which is connected to the anode of the Zener diode DZ1 .
8. The current detection circuit structure according to claim 1, characterized in that: The terminal device is a load or a battery pack.
9. The current detection circuit structure according to claim 4, characterized in that: The resistance values of the resistor R3 and the resistor R4 in the voltage divider module are the same or different.
10. An electronic device, characterized in that: The invention comprises the current detection circuit structure described in any one of claims 1 to 9.
