Current detection circuit, power supply and electronic equipment
By designing a current detection circuit in electronic devices to detect and control the current, the safety problem caused by excessive current in the equipment is solved, and the equipment is protected.
Patent Information
- Application Number
- CN202520015837.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2035-01-02
AI Technical Summary
In the existing technology, electronic devices lack effective protection measures when the current is too high, resulting in insufficient device safety.
Design a current detection circuit, including a current detection module, an analog-to-digital converter, and a control module. The circuit detects whether the current exceeds a preset threshold. If the current exceeds the threshold, the power supply is stopped or the device is forcibly shut down to prevent excessive current.
It effectively prevents electronic devices from being damaged by excessive current, ensuring device safety.
Smart Images

Figure CN223756810U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to power supply technical field, concretely relates to a current detection circuit, power supply and electronic equipment. BACKGROUND
[0002] According to the requirement of special protection application circuit, some special equipment needs to increase protection measures when working, such as: national standard GBT3836.4-2021 requires that the maximum current of IIB class equipment cannot exceed 3.33A at the minimum voltage, and the maximum current of IIC class equipment cannot exceed 2.37A at the minimum voltage. The circuit of the above-mentioned special current limiting requirement needs a functional circuit that can meet the requirement to realize. When the equipment appears functional abnormality or the back-end circuit device is damaged, which leads to the maximum current value exceeding the protection required by the equipment, the input end of the equipment will produce excessive current. If a detection circuit is added at the input end of the equipment to detect the size of the current, it will play a good protective role for the safety of the whole machine of the equipment. SUMMARY
[0003] The technical problem solved by the utility model is how to prevent the current input into the electronic equipment from being too large. The utility model provides a current detection circuit, a power supply and an electronic equipment.
[0004] According to the first aspect, a current detection circuit is provided in an embodiment, which is connected between a power supply and an electronic equipment. The current detection circuit comprises:
[0005] A current detection module comprising a current detection resistor and a detection element; one end of the current detection resistor is electrically connected to the positive electrode of the power supply, the other end of the current detection resistor is electrically connected to the electronic equipment, and the negative electrode of the power supply is grounded; the detection element is used to convert the current in the current detection resistor into a voltage signal and output the voltage signal to an analog-digital converter;
[0006] An analog-digital converter is used to convert the voltage signal into a digital signal;
[0007] A control module is used to determine whether the current in the current detection resistor exceeds a preset maximum current threshold according to whether the size of the digital signal exceeds a preset voltage threshold; if the current in the current detection resistor exceeds the preset maximum current threshold, the control module stops the power supply from supplying power to the electronic equipment or forces the electronic equipment to shut down.
[0008] In an embodiment, the detection element is a current sense amplifier; wherein a fifth pin of the current sense amplifier is electrically connected to a positive pole of the power supply, a third pin of the current sense amplifier is electrically connected to one end of the current detection resistor, a fourth pin of the current sense amplifier is electrically connected to another end of the current detection resistor, a second pin of the current sense amplifier is grounded, and a first pin of the current sense amplifier outputs the voltage signal to the analog-digital converter.
[0009] In an embodiment, the current detection module further comprises a load resistor and a current limiting resistor; wherein one end of the load resistor and one end of the current limiting resistor are both electrically connected to the first pin of the current sense amplifier, another end of the load resistor is grounded, and another end of the current limiting resistor is electrically connected to the analog-digital converter, which is electrically connected to the control module.
[0010] In an embodiment, the current detection circuit further comprises a surge protection diode; wherein the surge protection diode is arranged between the power supply and the current detection module, one end of the surge protection diode is electrically connected to the positive pole of the power supply, and another end of the surge protection diode is grounded.
[0011] In an embodiment, the current detection circuit further comprises a filter capacitor; wherein the filter capacitor is arranged between the power supply and the current detection module, one end of the filter capacitor is electrically connected to the positive pole of the power supply, and another end of the filter capacitor is grounded.
[0012] In an embodiment, the control module is a CPU.
[0013] In an embodiment, the current detection circuit further comprises an alarm module; wherein the alarm module is electrically connected to the control module, and is configured to send a pre-warning information when the current in the current detection resistor exceeds a preset maximum current threshold.
[0014] In an embodiment, another end of the current detection resistor is electrically connected to a power IC.
[0015] According to a second aspect, an embodiment provides a power supply comprising the current detection circuit according to any one of the embodiments herein.
[0016] According to a third aspect, an embodiment provides an electronic device comprising the current detection circuit according to any one of the embodiments herein.
[0017] The application has the following beneficial effects:
[0018] The current detection circuit of the application comprises: a current detection module comprising a current detection resistor and a detection element; one end of the current detection resistor is electrically connected to the positive pole of a power supply, the other end of the current detection resistor is electrically connected to an electronic device, and the negative pole of the power supply is grounded; the detection element is used to convert the current in the current detection resistor into a voltage signal and output the voltage signal to an analog-digital converter; the analog-digital converter is used to convert the voltage signal into a digital signal; the control module is used to determine whether the current in the current detection resistor exceeds a preset maximum current threshold according to whether the size of the digital signal exceeds a preset voltage threshold; wherein if the current in the current detection resistor exceeds the preset maximum current threshold, the control module stops the power supply from supplying power to the electronic device or forces the electronic device to shut down, so as to ensure the safety of the electronic device. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 The structural schematic diagram of the current detection circuit of an embodiment. DETAILED DESCRIPTION
[0020] The application will be described in further detail below with specific embodiments and with reference to the drawings. In different embodiments, similar elements are denoted by similar reference numerals. In the following embodiments, many details are described in order to make the application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different cases, or can be replaced by other elements, materials or methods. In some cases, some operations related to the application are not shown or described in the specification in order to avoid the core part of the application being overwhelmed by too much description, and it is not necessary to describe these related operations in detail for those skilled in the art based on the description in the specification and general technical knowledge in the art.
[0021] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various embodiments. At the same time, the steps or actions in the method description can also be sequentially adjusted or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment, and do not mean that the sequence is necessary, unless otherwise stated that a certain sequence must be followed.
[0022] In this paper, the serial numbers of components, such as "first", "second", etc., are only used to distinguish the described objects, and do not have any sequence or technical meaning. Unless otherwise specified, "connection" and "coupling" in this application include direct and indirect connection (coupling).
[0023] The technical solutions of the application will be described in detail below with reference to the embodiments.
[0024] The application provides a current detection circuit connected between a power supply and an electronic device. Please refer to Figure 1 , VBAT IN and GND1 both represent input interfaces of the circuit, wherein J1 represents a positive pole of the power supply, J2 represents a negative pole of the power supply, and GND1 is a grounding pin; VBAT OUT and GND2 both represent output interfaces of the circuit, wherein GND2 is a grounding pin. The current detection circuit comprises:
[0025] a current detection module 100 comprising a current detection resistor R1 and a detection element U1; one end of the current detection resistor R1 is electrically connected to the positive pole J1 of the power supply, the other end of the current detection resistor R1 is electrically connected to the electronic device, and the negative pole J2 of the power supply is grounded; the detection element U1 is used to convert a current in the current detection resistor R1 into a voltage signal and output the voltage signal to an analog-digital converter 200;
[0026] an analog-digital converter 200 used to convert the voltage signal into a digital signal;
[0027] a control module 300 used to determine whether the current in the current detection resistor R1 exceeds a preset maximum current threshold according to whether the size of the digital signal exceeds a preset voltage threshold; wherein if the current in the current detection resistor R1 exceeds the preset maximum current threshold, the control module 300 executes a preset protection program (such as stopping the power supply from supplying power to the electronic device or forcing the electronic device to shut down); and if the current in the current detection resistor R1 does not exceed the preset maximum current threshold, the power supply normally supplies power to the electronic device, etc.
[0028] The preset voltage threshold, the preset maximum current threshold and the preset protection program can be determined by the person skilled in the art according to actual needs, and are not specifically limited here.
[0029] It can be understood that the power supply can only be a direct current power supply. The specific size of the current detection resistor R1 can be determined by the model of the detection element U1 and the specific circuit requirements. For example, if the current required by the load device at the back end (such as a low-dropout linear regulator and a direct current-direct current converter (DCDC)) is large, the value of the current detection resistor R1 should be as small as possible, so that the pressure difference will not be too large, and the conversion efficiency of the back-end circuit will be relatively stable.
[0030] In some embodiments, the detection element U1 is a current sense amplifier; wherein a fifth pin of the current sense amplifier is electrically connected to a positive pole of the power supply, a third pin of the current sense amplifier is electrically connected to one end of the current detection resistor R1, a fourth pin of the current sense amplifier is electrically connected to the other end of the current detection resistor R1, a second pin of the current sense amplifier is grounded, and a first pin of the current sense amplifier outputs the voltage signal to the analog-to-digital converter 200. For example, the model of the current sense amplifier can be INA169. INA169 is a high-precision, low-power current sense amplifier IC chip that can measure the size and direction of current and convert this information into a voltage signal for use by other circuits or systems. The working principle of INA169 is based on the Hall effect, which measures the size and direction of current by sensing the magnetic field generated by the current.
[0031] In some embodiments, the current detection module 100 further comprises a load resistor R2 and a current limiting resistor R3; wherein one end of the load resistor R2 and one end of the current limiting resistor R3 are both electrically connected to the first pin of the current sense amplifier, the other end of the load resistor R2 is grounded, and the other end of the current limiting resistor R3 is electrically connected to the analog-to-digital converter 200, which is electrically connected to the control module 300.
[0032] It can be understood that the detection element U1 converts the current in the current detection resistor R1 into a voltage signal, and the larger the load resistor R2, the higher the voltage signal. Those skilled in the art can appropriately adjust the specific resistance value of the load resistor R2 according to the maximum voltage value of the control terminal. Since the current required by the analog-to-digital converter 200 is usually small, the current limiting resistor R3 is used to prevent the current output by the first pin of the detection element U1 from being too large.
[0033] In some embodiments, the current detection circuit further comprises a surge protection diode D1; wherein the surge protection diode D1 is arranged between the power supply and the current detection module 100, one end (e.g. the positive pole) of the surge protection diode D1 is electrically connected to the positive pole of the power supply, and the other end (e.g. the negative pole) of the surge protection diode D1 is grounded. The surge protection diode D1 is used to prevent the surge voltage when the power supply is instantaneously connected from damaging the rear-end circuit.
[0034] In some embodiments, the current detection circuit further comprises a filter capacitor C1; wherein the filter capacitor C1 is arranged between the power supply and the current detection module 100, one end of the filter capacitor C1 is electrically connected to the positive pole of the power supply, and the other end of the filter capacitor C1 is grounded.
[0035] In some embodiments, the control module 300 is a CPU (Central Processing Unit).
[0036] It can be understood that the CPU can be a CPU of an electronic device. The CPU can also be a CPU of the current detection circuit.
[0037] In some embodiments, the current detection circuit further comprises an alarm module; wherein the alarm module is electrically connected with the control module 300, and is configured to send a warning information when the current in the current detection resistor R1 exceeds a preset maximum current threshold. The warning information can be sent in the form of indicator light warning, pop-up window, voice prompt, etc.
[0038] In some embodiments, the other end of the current detection resistor R1 is electrically connected with an interface VBAT_OUT of a power IC (such as 400 in Figure 1 The power IC is a control integrated element for regulating the stability of the output voltage and current of the power supply. The power IC can be a power IC of an electronic device. The power IC can also be a power IC of the current detection circuit, and in this case, the power IC can be electrically connected with the electronic device.
[0039] It can be understood that when the detection element U1 detects the voltage across the current detection resistor R1, the detection element U1 outputs a corresponding voltage signal at the first pin, which is transmitted to the analog-to-digital converter 200 through the current-limiting resistor R3; then, the analog-to-digital converter 200 converts the voltage signal into a digital signal and transmits the digital signal to the control module 300.
[0040] In some embodiments, the voltage and current are output to the interface VBAT_OUT of the power IC (such as 400 in Figure 1 ) through the current detection resistor R1, and the ground pin GND2 of the power IC is grounded.
[0041] The following is a brief description of the specific working process of the current detection circuit in an embodiment: assuming that the current sensing amplifier U1 is a current sensing amplifier IC chip INA169, if the resistance of the current detection resistor R1 is 150 milliohms, the resistance of the load resistor R2 is 2.7K ohms, and the current through the current detection resistor R1 is 3A, the first pin of the current sensing amplifier U1 outputs a voltage signal of 0.21V, which is transmitted to the analog-to-digital converter 200 through the current-limiting resistor R3; then, the analog-to-digital converter 200 converts the voltage signal into a digital signal and transmits the digital signal to the CPU (e.g., 300 in the figure). When the CPU detects that the voltage across the current detection resistor R1 exceeds the preset voltage threshold (e.g., 0.2V), it is determined that the power consumption of the entire machine has exceeded or reached the preset maximum current threshold, and the CPU can forcibly shut down the existing running function of the electronic device or control the power supply to stop supplying power to the electronic device. In addition, the CPU can also send a warning message through the alarm module, such as a warning through an indicator light, a warning pop-up window, and / or a voice prompt.
[0042] The above is some description of the current detection circuit. Some embodiments of the present application also disclose a power supply comprising the current detection circuit described in any one of the embodiments herein.
[0043] Some embodiments of the present application also disclose an electronic device comprising the current detection circuit described in any one of the embodiments herein.
[0044] Various exemplary embodiments are described herein with reference to a variety of example embodiments. However, those skilled in the art will recognize that changes and modifications can be made to the exemplary embodiments without departing from the scope hereof. For example, various operational steps and components for carrying out the operational steps can be implemented in different manners depending on the particular application or any number of cost functions associated with the operation of the system (e.g., one or more steps can be deleted, modified, or combined with other steps).
[0045] In the above embodiments, all or part of the above embodiments can be implemented by software, hardware, firmware or any combination thereof. In addition, as understood by those skilled in the art, the principles herein can be reflected in a computer program product on a computer readable storage medium preloaded with computer readable program code. Any tangible, non-transitory computer readable storage medium can be used, including magnetic storage devices (hard disk, floppy disk, etc.), optical storage devices (CD-ROM, DVD, Blu Ray disc, etc.), flash memory and / or the like. These computer program instructions can be loaded onto a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to form a machine, so that these instructions executed on the computer or other programmable data processing apparatus can generate a device that implements the specified function. These computer program instructions can also be stored in a computer readable storage medium, which can instruct the computer or other programmable data processing apparatus to operate in a specific way, so that the instructions stored in the computer readable storage medium can form a manufactured product, including an implementation device that implements the specified function. Computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so as to execute a series of operation steps on the computer or other programmable data processing apparatus to generate a computer-implemented process, so that the instructions executed on the computer or other programmable data processing apparatus can provide steps for implementing the specified function.
[0046] Although the principles herein have been shown in various embodiments, many modifications in structure, arrangement, proportions, elements, materials, and components specially adapted to specific environments and operational requirements can be used without departing from the principles and scope of the present disclosure. The above modifications and other changes or modifications will be included within the scope of the principles herein.
[0047] The foregoing detailed description has been described with reference to various embodiments. However, those skilled in the art will recognize that various modifications and changes can be made without departing from the scope of the present disclosure. Accordingly, the present disclosure is intended to be illustrative and not limiting, and all such modifications are intended to be included within the scope of the present disclosure. Also, advantages, other advantages, and solutions to problems have been described above as related to various embodiments. However, the benefits, advantages, solutions to problems and any element(s) that can cause these to occur, or to become more pronounced, are not to be construed as critical, required or essential features of the present disclosure. The terms "comprises", "comprising", or any other variations thereof, as used in the herein are of a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, system, article or apparatus. In addition, the terms "coupled" and any other variations thereof, as used herein, refer to physical connection, electrical connection, magnetic connection, optical connection, communicative connection, functional connection and / or any other connection.
[0048] One skilled in the art will recognize that the foregoing preferred embodiments can be readily substituted for one another, and many changes can be made to the foregoing embodiments without departing from the spirit and scope of the present application. Accordingly, the scope of the present application should be determined by the following claims.
Claims
1. A current detection circuit connected between a power supply and an electronic device, characterized by comprising: The current detection circuit comprises: a current detection module comprising a current detection resistor and a detection element; one end of the current detection resistor is electrically connected to the positive pole of a power supply, the other end of the current detection resistor is electrically connected to an electronic device, and the negative pole of the power supply is grounded; the detection element is used to convert the current in the current detection resistor into a voltage signal and output the voltage signal to an analog-digital converter; an analog-digital converter used to convert the voltage signal into a digital signal; a control module used to determine whether the current in the current detection resistor exceeds a preset maximum current threshold according to whether the size of the digital signal exceeds a preset voltage threshold; if the current in the current detection resistor exceeds the preset maximum current threshold, the control module stops the power supply from supplying power to the electronic device or forces the electronic device to shut down.
2. The current sense circuit of claim 1, wherein, The detection element is a current sense amplifier; the fifth pin of the current sense amplifier is electrically connected to the positive pole of the power supply, the third pin of the current sense amplifier is electrically connected to one end of the current detection resistor, the fourth pin of the current sense amplifier is electrically connected to the other end of the current detection resistor, the second pin of the current sense amplifier is grounded, and the first pin of the current sense amplifier outputs the voltage signal to the analog-digital converter.
3. The current sense circuit of claim 2, wherein, The current detection module further comprises a load resistor and a current-limiting resistor; one end of the load resistor and one end of the current-limiting resistor are both electrically connected to the first pin of the current sense amplifier, the other end of the load resistor is grounded, the other end of the current-limiting resistor is electrically connected to the analog-digital converter, and the analog-digital converter is electrically connected to the control module.
4. The current sense circuit of claim 3, wherein, The current detection circuit further comprises a surge protection diode; the surge protection diode is arranged between the power supply and the current detection module, one end of the surge protection diode is electrically connected to the positive pole of the power supply, and the other end of the surge protection diode is grounded.
5. The current sense circuit of claim 4, wherein, The current detection circuit further comprises a filter capacitor; the filter capacitor is arranged between the power supply and the current detection module, one end of the filter capacitor is electrically connected to the positive pole of the power supply, and the other end of the filter capacitor is grounded.
6. The current sense circuit of claim 5, wherein, The control module is a CPU.
7. The current sense circuit of claim 6, wherein, The current detection circuit further comprises an alarm module; the alarm module is electrically connected to the control module and is used to issue a warning information when the current in the current detection resistor exceeds the preset maximum current threshold.
8. The current sense circuit of claim 7, wherein, The other end of the current detection resistor is electrically connected to a power supply IC.
9. A power supply, characterized by, The current detection circuit comprises any one of claims 1-8.
10. An electronic device, comprising: The current detection circuit comprises any one of claims 1-8.