CN111398655B - Input current detection circuit and method - Google Patents

Input current detection circuit and method Download PDF

Info

Publication number
CN111398655B
CN111398655B CN202010154831.XA CN202010154831A CN111398655B CN 111398655 B CN111398655 B CN 111398655B CN 202010154831 A CN202010154831 A CN 202010154831A CN 111398655 B CN111398655 B CN 111398655B
Authority
CN
China
Prior art keywords
voltage
resistor
resistance
mode inductor
common mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010154831.XA
Other languages
Chinese (zh)
Other versions
CN111398655A (en
Inventor
陈玉堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010154831.XA priority Critical patent/CN111398655B/en
Publication of CN111398655A publication Critical patent/CN111398655A/en
Application granted granted Critical
Publication of CN111398655B publication Critical patent/CN111398655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/30Structural combination of electric measuring instruments with basic electronic circuits, e.g. with amplifier

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention provides an input current detection circuit and a method, comprising the following steps: the power filter is externally connected with a power supply, a common mode filter circuit is arranged in the power filter, two ends of the common mode filter circuit are respectively connected with the two ceramic capacitors, and the other ends of the two ceramic capacitors are connected with the input end of the detection circuit. When the invention is deployed in edge computing large scale or used in other fields, the cost of the configured power supply module can be reduced.

Description

Input current detection circuit and method
Technical Field
The invention belongs to the technical field of current detection, and particularly relates to an input current detection circuit and method.
Background
With the improvement of the communication rate of mobile equipment, the number of ICT equipment applied to edge computing is increasing, and as the equipment is far away from a data center, some remote monitoring management needs to be performed on the equipment, wherein the power of the equipment is also an important monitoring index; the cost of edge-based devices is high, and the power accuracy of edge-based devices is not particularly high, so a low-cost power detection method needs to be found as soon as possible.
The existing input current detection methods mainly comprise the following two methods:
(1) As shown in fig. 1, the voltage at both ends of the high-precision resistor connected in series to the input main power loop is detected, and the voltage is analyzed and calculated inside the single chip microcomputer, so as to obtain the magnitude of the input current.
(2) As shown in fig. 2, on the basis of the method (1), the detection progress is improved by adding a dedicated power detection chip.
The methods all need to be connected with a high-precision resistor in series, and the high-precision resistor is expensive in cost and large in resistance loss in production; and a special power detection chip is added, so that the detection cost is higher.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides an input current detection circuit and method to solve the above-mentioned technical problems.
In a first aspect, the present invention provides an input current detection circuit, including: the power filter is externally connected with a power supply, a common mode filter circuit is arranged in the power filter, two ends of the common mode filter circuit are respectively connected with the two ceramic capacitors, and the other ends of the two ceramic capacitors are connected with the input end of the detection circuit.
Further, the detection circuit comprises two voltage detection circuits and a single chip microcomputer; one end of each of the two voltage detection circuits is connected with the two ceramic capacitors, and the other end of each of the two voltage detection circuits is grounded; the voltage detection circuit comprises two resistors connected in series; and a resistor voltage division point is arranged on a series circuit between the two resistors connected in series, and the voltage detection circuit is connected with the single chip microcomputer through the resistor voltage division point.
The common mode filter circuit further comprises two common mode inductors, wherein coils of the two common mode inductors are wound on the same iron core, the number of turns of the coils is the same, the winding directions of the coils are opposite, and the two ceramic capacitors are only connected to two ends of any common mode inductor.
Further, the input current detection circuit further includes a fuse disposed on a line between the external power supply and the power filter.
In a second aspect, the present invention provides an input current detection method, including:
collecting voltages of front and rear resistance voltage division points of a common mode inductor;
calculating the input voltage and the output voltage of the common mode inductor according to the voltage and the resistance value of the line where the resistor voltage dividing point is located;
calculating the difference value of the input voltage and the output voltage of the common-mode inductor, and taking the absolute value of the difference value as the voltage drop of the common-mode inductor;
and calculating the ratio of the voltage drop of the common mode inductor to the single-side impedance, and taking the ratio as the input current.
Further, gather the voltage of two resistance voltage dividing points around the common mode inductance, include:
collecting the voltage of a resistor voltage division point in front of the common-mode inductor for multiple times, calculating the average value of the voltage, and taking the average value as a first voltage;
and collecting the voltage of the resistor voltage division point after the common-mode inductor for multiple times, calculating the average value of the voltage, and taking the average value as a second voltage.
Further, according to the voltage and the resistance value of the line where the resistance voltage dividing point is located, the common mode inductor input voltage and the common mode inductor output voltage are calculated, and the method includes the following steps:
acquiring the resistance value of the first resistor and the resistance value of the second resistor;
calculating the input voltage of the common mode inductor according to the first voltage, the resistance value of the first resistor and the resistance value of the second resistor, wherein the calculation formula is as follows: input voltage = first voltage (first resistance + second resistance)/second resistance.
Further, the calculating the common mode inductor input voltage and the output voltage according to the voltage and the resistance value of the series circuit where the voltage dividing point of the resistor is located further includes:
acquiring the resistance value of the third resistor and the resistance value of the fourth resistor;
calculating the output voltage of the common mode inductor according to the second voltage, the resistance value of the third resistor and the resistance value of the fourth resistor, wherein the calculation formula is as follows: output voltage = second voltage (third resistance + fourth resistance)/fourth resistance.
The beneficial effect of the invention is that,
the invention provides an input current detection circuit and a method, and provides a detection circuit for detecting the input current of a power supply and a detection method with lower cost.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic circuit connection diagram of one embodiment of the present application;
FIG. 2 is a schematic circuit connection diagram of one embodiment of the present application;
FIG. 3 is a schematic circuit connection diagram of one embodiment of the present application;
FIG. 4 is a block flow diagram of a method of one embodiment of the present application;
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Example 1
As shown in fig. 1, an embodiment of the present application provides an input current detection circuit, including: the power filter is externally connected with a power supply, a common mode filter circuit is arranged in the power filter and comprises two common mode inductors, coils of the two common mode inductors are wound on the same iron core, the number of turns of the coils is the same, and the winding directions of the coils are opposite; the two ceramic capacitors are only connected to two ends of one common-mode inductor, and the other ends of the two ceramic capacitors are connected with the input end of the detection circuit; the detection circuit comprises two voltage detection circuits and a single chip microcomputer; one end of each of the two voltage detection circuits is connected with the two ceramic capacitors, and the other end of each of the two voltage detection circuits is grounded; the voltage detection circuit comprises two resistors connected in series; and a resistor voltage division point is arranged on a series circuit between the two resistors connected in series, and the voltage detection circuit is connected with the single chip microcomputer through the resistor voltage division point.
In this embodiment, the voltages at the two ends of the common mode inductor are detected and converted into the current passing through the common mode inductor, so as to obtain the input current; the voltage at the two ends of the common mode inductor is calculated through the series-parallel connection relation with the resistor of the voltage detection circuit, and finally the input current is calculated according to the impedance of the common mode inductor connected with the ceramic capacitor.
The calculation method inside the single chip microcomputer is as follows:
(1) And the MCU collects and records the voltage Va of the resistance voltage division point in front of the common mode inductor and the voltage Vb of the resistance voltage division point in front of the common mode inductor.
(2) Continuously recording multiple times of Va and Vb and taking an average value;
(3) The MCU calculates a value of Vin according to a formula Vin = Va (R1 + R2)/R2, wherein the Vin is an input voltage of the common-mode inductor;
(4) The MCU calculates the value of Vchock according to a formula Vchock = Vb (R3 + R4)/R4, wherein the Vchock is the output voltage of the common-mode inductor;
(5) Calculating the value of Vf _ chock according to a formula Vf _ chock = | Vchock-Vin |, wherein Vf _ chock is the voltage drop of the common-mode resistor;
(6) The single-sided impedance Rdc of the common-mode inductor is known, and Iin = Vf _ chock/Rdc is calculated according to a formula, wherein Iin is input current.
Example 2
As shown in fig. 2, an input current detection circuit is provided in the present embodiment, which is different from embodiment 1 in that two ceramic capacitors are connected to two ends of another common mode inductor, and the functional effect of the difference is the same as that of embodiment 1.
Example 3
As shown in fig. 3, an input current detection circuit is provided in an embodiment of the present application, and in this embodiment, a fuse is added on the basis of embodiment 1, the fuse is disposed on a line between an external power supply and a power supply filter, and the fuse plays a role in protecting the input current detection circuit.
FIG. 4 is a schematic flow chart diagram of a method of one embodiment of the present invention. The implementation body in fig. 4 may be an input current detection circuit.
As shown in fig. 4, the method 100 includes:
step 110, collecting voltages of front and rear resistance voltage division points of a common mode inductor;
step 120, calculating the input voltage and the output voltage of the common mode inductor according to the voltage and the resistance value of the line where the resistance voltage dividing point is located;
step 130, calculating a difference value between the input voltage and the output voltage of the common mode inductor, and taking an absolute value of the difference value as a voltage drop of the common mode inductor;
step 140, calculating the ratio of the voltage drop of the common mode inductor to the single-side impedance, and using the ratio as the input current.
Optionally, as an embodiment of the present application, the acquiring voltages of two voltage division points of a front resistor and a rear resistor of a common mode inductor includes:
collecting the voltage of a resistor voltage division point in front of the common-mode inductor for multiple times, calculating the average value of the voltage, and taking the average value as a first voltage;
and collecting the voltage of the resistor voltage division point after the common-mode inductor for multiple times, calculating the average value of the voltage, and taking the average value as a second voltage.
Optionally, as an embodiment of the present application, the calculating an input voltage and an output voltage of a common mode inductor according to the voltage and a resistance value of a line where a voltage dividing point of a resistor is located includes:
acquiring the resistance value of the first resistor and the resistance value of the second resistor;
calculating the input voltage of the common mode inductor according to the first voltage, the resistance value of the first resistor and the resistance value of the second resistor, wherein the calculation formula is as follows: input voltage = first voltage (first resistance + second resistance)/second resistance.
Optionally, as an embodiment of the present application, the calculating a common mode inductor input voltage and an output voltage according to the voltage and a resistance value of a series circuit where the voltage dividing point and the resistance dividing point are located further includes:
acquiring the resistance value of the third resistor and the resistance value of the fourth resistor;
calculating the output voltage of the common mode inductor according to the second voltage, the resistance value of the third resistor and the resistance value of the fourth resistor, wherein the calculation formula is as follows: output voltage = second voltage (third resistance + fourth resistance)/fourth resistance.
In order to facilitate understanding of the present invention, the input current detection method provided by the present invention is further described below by using the principle of an input current detection lamp method of the present invention in conjunction with the input current detection process in the embodiments.
Specifically, the input current detection method includes:
s1, collecting voltages of front and rear resistance voltage division points of a common mode inductor;
the method comprises the following steps that a single chip microcomputer collects the voltage of a resistance voltage division point in front of a common-mode inductor for multiple times, the average value of the voltage is obtained, and the average value is used as a first voltage; the single chip microcomputer collects the voltage of the resistor voltage division point after the common-mode inductor is repeatedly collected, the average value of the voltage is obtained, and the average value is used as a second voltage. The step of calculating the average value is to avoid data acquisition errors and improve the accuracy of current detection, and the more voltage acquisition data, the higher the accuracy; in order to avoid other error influences, two voltage grouping points carry out voltage acquisition simultaneously.
S2, calculating the input voltage and the output voltage of the common mode inductor according to the voltage and the resistance value of a line where a resistance voltage dividing point is located;
the resistance values of a first resistor, a second resistor, a third resistor and a fourth resistor in the circuit are known; the single chip microcomputer carries out numerical calculation on the input voltage of the common-mode inductor according to a formula of 'input voltage = first voltage x (first resistor + second resistor)/second resistor'; the output voltage of the common mode inductance is calculated according to the formula "output voltage = second voltage (third resistance + fourth resistance)/fourth resistance".
S3, calculating a difference value between the input voltage and the output voltage of the common-mode inductor, and taking an absolute value of the difference value as a voltage drop of the common-mode inductor;
the voltage drop of the common mode inductor is calculated according to the formula "voltage drop = | input voltage-output voltage |".
And S4, calculating the ratio of the voltage drop of the common mode inductor to the single-side impedance, wherein the ratio is used as the input current.
The voltage drop of the common-mode inductor and the impedance of the common-mode inductor are known, the input current can be obtained according to ohm's law, the calculation formula is ' input current = voltage drop/single-side impedance ', the voltage of the common-mode inductor is detected only by the invention, and therefore the impedance of the common-mode inductor needs to be known.
Although the present invention has been described in detail in connection with the preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. An input current detection circuit, comprising: the power filter is externally connected with a power supply, a common mode filter circuit is arranged in the power filter, two ends of the common mode filter circuit are respectively connected with the two ceramic capacitors, and the other ends of the two ceramic capacitors are connected with the input end of the detection circuit;
the detection circuit comprises two voltage detection circuits and a single chip microcomputer; one end of each of the two voltage detection circuits is connected with the two ceramic capacitors, and the other end of each of the two voltage detection circuits is grounded; the voltage detection circuit comprises two resistors connected in series; a resistor voltage dividing point is arranged on a series circuit between the two resistors connected in series, and the voltage detection circuit is connected with the single chip microcomputer through the resistor voltage dividing point;
the common mode filter circuit includes: the coils of the two common-mode inductors are wound on the same iron core, the number of turns of the coils is the same, the winding directions of the coils are opposite, and the two ceramic capacitors are only connected to two ends of any common-mode inductor.
2. The input current detection circuit according to claim 1, further comprising a fuse provided on a line between the external power supply and the power supply filter.
3. An input current detection method applied to the input current detection circuit according to any one of claims 1 to 2, comprising:
collecting voltages of front and rear resistance voltage division points of a common mode inductor;
calculating the input voltage and the output voltage of the common mode inductor according to the voltage and the resistance value of the line where the resistance voltage dividing point is located;
calculating the difference value of the input voltage and the output voltage of the common-mode inductor, and taking the absolute value of the difference value as the voltage drop of the common-mode inductor;
and calculating the ratio of the voltage drop of the common mode inductor to the single-side impedance, and taking the ratio as the input current.
4. The input current detection method according to claim 3, wherein the acquiring voltages of two voltage division points of a front resistor and a rear resistor of the common mode inductor comprises:
collecting the voltage of a resistor voltage division point in front of the common-mode inductor for multiple times, calculating the average value of the voltage, and taking the average value as a first voltage;
and collecting the voltage of the resistor voltage division point after the common-mode inductor for multiple times, calculating the average value of the voltage, and taking the average value as a second voltage.
5. The input current detection method according to claim 4, wherein the calculating the common mode inductor input voltage and the output voltage according to the voltage and the resistance value of the line where the voltage dividing point is located comprises:
acquiring the resistance value of the first resistor and the resistance value of the second resistor;
calculating the input voltage of the common mode inductor according to the first voltage, the resistance value of the first resistor and the resistance value of the second resistor, wherein the calculation formula is as follows: input voltage = first voltage (first resistance + second resistance)/second resistance.
6. The input current detection method according to claim 4, wherein the calculating of the common mode inductor input voltage and the output voltage according to the voltage and the resistance value of the series circuit where the voltage dividing point is located further comprises:
acquiring the resistance value of the third resistor and the resistance value of the fourth resistor;
calculating the output voltage of the common mode inductor according to the second voltage, the resistance value of the third resistor and the resistance value of the fourth resistor, wherein the calculation formula is as follows: output voltage = second voltage (third resistance + fourth resistance)/fourth resistance.
CN202010154831.XA 2020-03-08 2020-03-08 Input current detection circuit and method Active CN111398655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010154831.XA CN111398655B (en) 2020-03-08 2020-03-08 Input current detection circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010154831.XA CN111398655B (en) 2020-03-08 2020-03-08 Input current detection circuit and method

Publications (2)

Publication Number Publication Date
CN111398655A CN111398655A (en) 2020-07-10
CN111398655B true CN111398655B (en) 2022-12-09

Family

ID=71428565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010154831.XA Active CN111398655B (en) 2020-03-08 2020-03-08 Input current detection circuit and method

Country Status (1)

Country Link
CN (1) CN111398655B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466485A (en) * 2021-12-31 2022-05-10 珠海雷特科技股份有限公司 Intelligent lamp, driving circuit thereof and overcurrent protection method of intelligent lamp

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205123587U (en) * 2015-11-30 2016-03-30 河北佳讯飞扬科技发展有限公司 Switching power supply of super wide region input
CN205945055U (en) * 2016-08-22 2017-02-08 重庆大及电子科技有限公司 Power supply filter
CN206865350U (en) * 2017-03-30 2018-01-09 深圳创维数字技术有限公司 A kind of filter circuit and power supply adaptor
CN109039037A (en) * 2018-06-21 2018-12-18 许继电源有限公司 A kind of high voltage direct current filter
CN109324218A (en) * 2017-07-31 2019-02-12 株洲变流技术国家工程研究中心有限公司 A kind of capacitance partial pressure DC bus partial pressure state detection circuit
CN110149051A (en) * 2019-06-25 2019-08-20 阿特拉斯·科普柯(无锡)压缩机有限公司 DC-DC converter and its control method
CN209765366U (en) * 2019-05-27 2019-12-10 天津鹏翔华夏科技有限公司 Band gap reference circuit with adjusting circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205123587U (en) * 2015-11-30 2016-03-30 河北佳讯飞扬科技发展有限公司 Switching power supply of super wide region input
CN205945055U (en) * 2016-08-22 2017-02-08 重庆大及电子科技有限公司 Power supply filter
CN206865350U (en) * 2017-03-30 2018-01-09 深圳创维数字技术有限公司 A kind of filter circuit and power supply adaptor
CN109324218A (en) * 2017-07-31 2019-02-12 株洲变流技术国家工程研究中心有限公司 A kind of capacitance partial pressure DC bus partial pressure state detection circuit
CN109039037A (en) * 2018-06-21 2018-12-18 许继电源有限公司 A kind of high voltage direct current filter
CN209765366U (en) * 2019-05-27 2019-12-10 天津鹏翔华夏科技有限公司 Band gap reference circuit with adjusting circuit
CN110149051A (en) * 2019-06-25 2019-08-20 阿特拉斯·科普柯(无锡)压缩机有限公司 DC-DC converter and its control method

Also Published As

Publication number Publication date
CN111398655A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111398655B (en) Input current detection circuit and method
CN206038762U (en) Electron mutual -inductor
CN212463048U (en) Precise voltage sampling circuit
CN206710499U (en) A kind of current data harvester based on Rogowski coil
CN203590017U (en) Electromagnetic interference elimination circuit
CN208012779U (en) Eight channel input temp collectors
CN109975590A (en) Current measurement circuit based on Hall chip and shunt resistance
CN215375643U (en) Arc detection sensor and arc detection circuit
CN105675996B (en) A kind of power battery internal resistance on-line monitoring system and method
CN205539129U (en) Three -phase electronic type combined mutual inductor
CN113865781A (en) Sensor detection circuit, drive control circuit board, electronic equipment and air conditioner
CN210221276U (en) Electronic scale with high reliability
CN209043961U (en) Become the direct current value collection circuit of intelligent monitoring and controlling device for photovoltaic case
CN113391110A (en) Active current transformer capable of resisting direct current component
CN220381265U (en) Internal resistance detection circuit of power battery
CN112924744A (en) Ripple current measuring method and device, computer equipment and coil assembly
CN111856118A (en) Output current integral detection system for medium-frequency direct-current resistance welding
CN217212904U (en) Distribution network automation terminal battery voltage and current acquisition circuit
CN206281894U (en) Measuring instrument
CN110542787A (en) voltage acquisition device for DC bus of three-level motor driver
CN218415810U (en) Current sampling circuit and switching power supply
CN218850756U (en) Alternating-current high-precision fully-differential sampling circuit
CN219870036U (en) Anti-interference temperature sampling circuit
CN209112119U (en) Digital diffluence device based on LIN bus
CN216387813U (en) Power consumption detection device and vehicle-mounted remote communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant