CN220490926U - Circuit and system for calculating power consumption in real time - Google Patents

Circuit and system for calculating power consumption in real time Download PDF

Info

Publication number
CN220490926U
CN220490926U CN202321700509.8U CN202321700509U CN220490926U CN 220490926 U CN220490926 U CN 220490926U CN 202321700509 U CN202321700509 U CN 202321700509U CN 220490926 U CN220490926 U CN 220490926U
Authority
CN
China
Prior art keywords
circuit
resistor
sampling
input end
power consumption
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
CN202321700509.8U
Other languages
Chinese (zh)
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.)
Dongguan Yiyun Information System Co ltd
Original Assignee
Dongguan Yiyun Information System 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 Dongguan Yiyun Information System Co ltd filed Critical Dongguan Yiyun Information System Co ltd
Priority to CN202321700509.8U priority Critical patent/CN220490926U/en
Application granted granted Critical
Publication of CN220490926U publication Critical patent/CN220490926U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The utility model discloses a circuit and a system for calculating power consumption in real time, wherein the circuit for calculating the power consumption in real time comprises a control circuit, a sampling circuit, a collecting circuit and a calculating circuit; the input end of the sampling circuit is connected with a power supply, and the output end of the sampling circuit is connected with a load; an input end of the acquisition circuit is connected with an input end of the sampling circuit, and the other input end of the acquisition circuit is connected with an output end of the sampling circuit; one input end of the calculating circuit is connected with the output end of the sampling circuit, the other input end of the calculating circuit is connected with the output end of the collecting circuit, and the output end of the calculating circuit is connected with the control circuit. The utility model can collect the voltage difference at two ends of the sampling circuit and the single-ended voltage at the same time, thereby improving the accuracy in calculating the power consumption.

Description

Circuit and system for calculating power consumption in real time
Technical Field
The utility model relates to the technical field of power electronics, in particular to a circuit and a system for calculating power consumption in real time.
Background
The traditional power consumption calculation is that an ADC of an MCU respectively collects current flowing through a sampling resistor and single-ended voltage, and then the MCU calculates according to the collected data to obtain a power consumption value. The current and the single-ended voltage of the sampling resistor are not data in the same time, so that the calculated power consumption data is inaccurate.
Disclosure of Invention
The utility model provides a circuit and a system for calculating power consumption in real time, which aim at solving the problem of inaccurate calculation result caused by the sequence of acquired current and single-ended voltage.
In a first aspect, the present utility model provides a circuit for calculating power consumption in real time, where the circuit for calculating power consumption in real time includes a control circuit, a sampling circuit, an acquisition circuit, and a calculation circuit; the input end of the sampling circuit is connected with a power supply, and the output end of the sampling circuit is connected with a load; an input end of the acquisition circuit is connected with an input end of the sampling circuit, and the other input end of the acquisition circuit is connected with an output end of the sampling circuit; one input end of the calculating circuit is connected with the output end of the sampling circuit, the other input end of the calculating circuit is connected with the output end of the collecting circuit, and the output end of the calculating circuit is connected with the control circuit.
Further, the sampling circuit comprises a sampling resistor, one end of the sampling resistor is used as an input end of the sampling circuit to be respectively connected with the power supply and an input end of the acquisition circuit, and the other end of the sampling resistor is used as an output end of the sampling circuit to be respectively connected with the other input end of the acquisition circuit, an input end of the calculation circuit and the load.
Further, the acquisition circuit comprises an operational amplifier; the non-inverting input end of the operational amplifier is connected with the output end of the sampling circuit, the inverting input end of the operational amplifier is respectively connected with the input end of the sampling circuit and the output end of the operational amplifier, and the output end of the operational amplifier is connected with the calculation circuit.
Further, the acquisition circuit further comprises a first resistor and a second resistor; one end of the first resistor is connected with the output end of the sampling circuit, and the other end of the first resistor is connected with the non-inverting input end of the operational amplifier; one end of the second resistor is connected with the input end of the sampling circuit, and the other end of the second resistor is connected with the inverting input end of the operational amplifier.
Further, the acquisition circuit further comprises a first capacitor and a second capacitor; one end of the first capacitor is connected with the first resistor, one end of the second capacitor is connected with the second resistor, and the other end of the first capacitor and the other end of the second capacitor are grounded.
Further, the acquisition circuit further comprises a third resistor and a fourth resistor; one end of the third resistor is connected with the first resistor, and the other end of the third resistor is grounded; one end of the fourth resistor is connected with the second resistor, and the other end of the fourth resistor is connected with the output end of the operational amplifier.
Further, the computing circuit includes a multiplier; one input end of the multiplier is connected with the output end of the sampling circuit, the other input end of the multiplier is connected with the output end of the operational amplifier, and the output end of the multiplier is connected with the control circuit.
Further, the power supply circuit further comprises a switch circuit, wherein the input end of the switch circuit is connected with the power supply, the output end of the switch circuit is connected with the input end of the sampling circuit, and the controlled end of the switch circuit is connected with the control circuit.
Further, the switch circuit comprises a switch chip; the input pin of the switch chip is connected with the power supply, the enabling pin of the switch chip is connected with the control circuit, and the output pin of the switch chip is connected with the sampling circuit.
In a second aspect, the present utility model also provides a system for calculating power consumption in real time, which includes a circuit for calculating power consumption in real time as described in any one of the above.
According to the circuit and the system for calculating the power consumption in real time, when the sampling circuit has current flowing, the acquisition circuit can acquire the voltages at two ends of the sampling circuit so as to obtain the voltage difference at two ends of the sampling circuit, the voltage difference is input into the calculation circuit, the calculation circuit can also acquire the single-end voltage of the sampling circuit, so that the power consumption of the sampling circuit can be calculated, and the power consumption is output to the control circuit.
Drawings
In order to more clearly illustrate the technical solutions of the present utility model, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present utility model, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a circuit for calculating power consumption in real time according to an embodiment of the present utility model;
FIG. 2 is a block diagram of a circuit for calculating power consumption in real time according to another embodiment of the present utility model; and
fig. 3 is a circuit diagram of a circuit for calculating power consumption in real time according to an embodiment of the present utility model.
Detailed Description
The following description of the embodiments of the present utility model will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the utility model are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the utility model without making any inventive effort, are intended to be within the scope of the utility model.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the utility model herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the utility model. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
FIG. 1 is a block diagram of a circuit 10 for real-time power consumption calculation according to an embodiment of the present utility model; FIG. 2 is a block diagram of a circuit 10 for calculating power consumption in real time according to another embodiment of the present utility model; fig. 3 is a circuit diagram of a circuit 10 for calculating power consumption in real time according to an embodiment of the present utility model. As shown in fig. 1, the circuit 10 for calculating power consumption in real time provided by the utility model comprises a control circuit 14, a sampling circuit 10, a collecting circuit 12 and a calculating circuit 14; the input end of the sampling circuit 10 is connected with the power supply 20, and the output end of the sampling circuit 10 is connected with the load 30; an input end of the acquisition circuit 12 is connected with an input end of the sampling circuit 10, and another input end of the acquisition circuit 12 is connected with an output end of the sampling circuit 10; one input end of the calculating circuit 14 is connected with the output end of the sampling circuit 10, the other input end of the calculating circuit 14 is connected with the output end of the collecting circuit 12, and the output end of the calculating circuit 14 is connected with the control circuit 14.
Specifically, the circuit 10 for calculating power consumption in real time may include a control circuit 14, a sampling circuit 10, an acquisition circuit 12, and a calculation circuit 14, and the control circuit 14 may be an MCU for controlling the operation of the circuit 14. The sampling circuit 10 is connected between the power supply 20 and the load 30, and when the control circuit 14 controls the circuit 14 to operate, the power supply 20 supplies power to the load 30, the load 30 starts to operate, and the sampling circuit 10 generates voltage and current. One input end of the acquisition circuit 12 is connected with the input end of the sampling circuit 10, and the other input end of the acquisition circuit 12 is connected with the output end of the sampling circuit 10, so that the voltage difference between two ends of the sampling circuit 10 can be acquired, and the voltage difference can be amplified according to a certain proportion and then output to the calculation circuit 14. An input end of the calculating circuit 14 is connected with an output end of the sampling circuit 10, and is used for collecting single-ended voltage of the sampling circuit 10, another input end of the calculating circuit 14 is connected with an output end of the collecting circuit 12, and is used for collecting voltage difference output by the collecting circuit 12, so that voltage difference and single-ended current of the sampling circuit 10 are collected simultaneously, power consumption of the sampling circuit 10 is calculated by the calculating circuit 14 according to the collected voltage difference and the single-ended current, power consumption of the load 30 can be obtained, and the calculated power consumption is sent to the control circuit 14, so that accuracy of the power consumption obtained by the control circuit 14 is high.
Referring to fig. 3, as a further embodiment, the sampling circuit 10 includes a sampling resistor RS, one end of the sampling resistor RS is connected as an input terminal of the sampling circuit 10 to the power supply 20 and an input terminal of the collecting circuit 12, respectively, and the other end of the sampling resistor RS is connected as an output terminal of the sampling circuit 10 to another input terminal of the collecting circuit 12, an input terminal of the calculating circuit 14, and the load 30, respectively.
The resistance of the sampling resistor RS may be set according to the load 30, for example, the resistance of the sampling resistor RS is set to 10mΩ, the collecting circuit 12 collects the voltage difference between two ends of the sampling resistor RS, and the calculating circuit 14 collects the single-ended voltage of the sampling resistor RS and the voltage difference output by the collecting circuit 12 at the same time, so as to ensure that the current and the single-ended voltage of the sampling resistor RS can be collected at the same time.
As a further embodiment, the acquisition circuit 12 includes an operational amplifier U1; the non-inverting input terminal of the operational amplifier U1 is connected with the output terminal of the sampling circuit 10, the inverting input terminal of the operational amplifier U1 is connected with the input terminal of the sampling circuit 10 and the output terminal of the operational amplifier U1, and the output terminal of the operational amplifier U1 is connected with the calculation circuit 14.
The non-inverting input terminal of the operational amplifier U1 is connected to the output terminal of the sampling circuit 10, and the inverting input terminal of the operational amplifier U1 is connected to the input terminal of the sampling circuit 10, so as to collect the voltage difference between two terminals of the sampling circuit 10. After the voltage difference is collected, the voltage difference is amplified according to a certain proportion, and the amplified voltage difference is output to the value calculating circuit 14, and the amplified proportion can be set correspondingly.
As a further example, the acquisition circuit 12 further comprises a first resistor R1 and a second resistor R2; one end of the first resistor R1 is connected with the output end of the sampling circuit 10, and the other end of the first resistor R1 is connected with the non-inverting input end of the operational amplifier U1; one end of the second resistor R2 is connected to the input end of the sampling circuit 10, and the other end of the second resistor R2 is connected to the inverting input end of the operational amplifier U1.
As a further embodiment, the acquisition circuit 12 further comprises a first capacitor C1 and a second capacitor C2; one end of the first capacitor C1 is connected with the first resistor R1, one end of the second capacitor C2 is connected with the second resistor R2, and the other end of the first capacitor C1 and the other end of the second capacitor C2 are grounded.
As a further example, the acquisition circuit 12 further comprises a third resistor R3 and a fourth resistor R4; one end of the third resistor R3 is connected with the first resistor R1, and the other end of the third resistor R3 is grounded; one end of the fourth resistor R4 is connected to the second resistor R2, and the other end of the fourth resistor R4 is connected to the output end of the operational amplifier U1.
As a further embodiment, the calculation circuit 14 includes a multiplier U2; an input end of the multiplier U2 is connected to an output end of the sampling circuit 10, another input end of the multiplier U2 is connected to an output end of the operational amplifier U1, and an output end of the multiplier U2 is connected to the control circuit 14.
One input end of the multiplier U2 is connected to the output end of the operational amplifier U1, and is configured to receive the amplified voltage difference, the other input end of the multiplier U2 is connected to the output end of the sampling circuit 10, and is configured to collect the voltage of the output end of the sampling point circuit, and the multiplier U2 may collect the voltage difference output by the operational amplifier U1 and the voltage of the output end of the sampling circuit 10 at the same time, so that accuracy of the calculation result may be improved.
Referring to fig. 2, as a further embodiment, the device further includes a switch circuit 15, an input end of the switch circuit 15 is connected to the power supply 20, an output end of the switch circuit 15 is connected to an input end of the sampling circuit 10, and a controlled end of the switch circuit 15 is connected to the control circuit 14.
The control circuit 14 may control the on/off of the load 30 through the switch circuit 15, when the control circuit 14 controls the switch circuit 15 to be turned on, the power supply 20 supplies power to the load 30, the sampling circuit 10 generates voltage and current, and when the control circuit 14 controls the switch circuit 15 to be turned off, the load 30 stops working.
Referring to fig. 3, as a further embodiment, the switching circuit 15 includes a switching chip U3; an input pin of the switch chip U3 is connected with the power supply 20, an enabling pin of the switch chip U3 is connected with the control circuit 14, and an output pin of the switch chip U3 is connected with the sampling circuit 10.
When the switch chip U3 receives the enable signal sent by the control circuit 14, the switch chip U3 is turned on, and the power supply 20 supplies power to the load 30 through the input pin and the output pin of the switch chip U3.
The present utility model also provides a system for calculating power consumption in real time, which includes the circuit 10 for calculating power consumption in real time according to any one of the above embodiments; the circuit 10 for calculating the power consumption in real time comprises a control circuit 14, a sampling circuit 10, a collecting circuit 12 and a calculating circuit 14; the input end of the sampling circuit 10 is connected with the power supply 20, and the output end of the sampling circuit 10 is connected with the load 30; an input end of the acquisition circuit 12 is connected with an input end of the sampling circuit 10, and another input end of the acquisition circuit 12 is connected with an output end of the sampling circuit 10; one input end of the calculating circuit 14 is connected with the output end of the sampling circuit 10, the other input end of the calculating circuit 14 is connected with the output end of the collecting circuit 12, and the output end of the calculating circuit 14 is connected with the control circuit 14.
The utility model can collect the voltage difference between two ends of the sampling circuit through the collecting circuit and send the voltage difference to the calculating circuit, the calculating circuit can collect the voltage of the output end of the sampling circuit at the same time, and calculate the power consumption of the sampling circuit according to the received voltage difference and the collected voltage, thereby ensuring the accuracy of the calculation result.
While the utility model has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the utility model. Therefore, the protection scope of the utility model is subject to the protection scope of the claims.

Claims (10)

1. A circuit for calculating power consumption in real time, comprising:
a control circuit;
the input end of the sampling circuit is connected with a power supply, and the output end of the sampling circuit is connected with a load;
the sampling circuit comprises a sampling circuit, a sampling circuit and a sampling circuit, wherein one input end of the sampling circuit is connected with the input end of the sampling circuit, and the other input end of the sampling circuit is connected with the output end of the sampling circuit;
and one input end of the computing circuit is connected with the output end of the sampling circuit, the other input end of the computing circuit is connected with the output end of the acquisition circuit, and the output end of the computing circuit is connected with the control circuit.
2. The circuit for calculating power consumption in real time according to claim 1, wherein the sampling circuit comprises a sampling resistor, one end of the sampling resistor is used as an input end of the sampling circuit to be respectively connected with the power supply and one input end of the acquisition circuit, and the other end of the sampling resistor is used as an output end of the sampling circuit to be respectively connected with the other input end of the acquisition circuit, one input end of the calculation circuit and the load.
3. The circuit for calculating power consumption in real time as recited in claim 1, wherein said acquisition circuit comprises an operational amplifier;
the non-inverting input end of the operational amplifier is connected with the output end of the sampling circuit, the inverting input end of the operational amplifier is respectively connected with the input end of the sampling circuit and the output end of the operational amplifier, and the output end of the operational amplifier is connected with the calculation circuit.
4. The circuit for calculating power consumption in real time as recited in claim 3, wherein said acquisition circuit further comprises a first resistor and a second resistor;
one end of the first resistor is connected with the output end of the sampling circuit, and the other end of the first resistor is connected with the non-inverting input end of the operational amplifier;
one end of the second resistor is connected with the input end of the sampling circuit, and the other end of the second resistor is connected with the inverting input end of the operational amplifier.
5. The circuit for calculating power consumption in real time as recited in claim 4, wherein said acquisition circuit further comprises a first capacitor and a second capacitor;
one end of the first capacitor is connected with the first resistor, one end of the second capacitor is connected with the second resistor, and the other end of the first capacitor and the other end of the second capacitor are grounded.
6. The circuit for calculating power consumption in real time as recited in claim 4, wherein said acquisition circuit further comprises a third resistor and a fourth resistor;
one end of the third resistor is connected with the first resistor, and the other end of the third resistor is grounded;
one end of the fourth resistor is connected with the second resistor, and the other end of the fourth resistor is connected with the output end of the operational amplifier.
7. A circuit for calculating power consumption in real time as claimed in claim 3, wherein said calculation circuit comprises a multiplier;
one input end of the multiplier is connected with the output end of the sampling circuit, the other input end of the multiplier is connected with the output end of the operational amplifier, and the output end of the multiplier is connected with the control circuit.
8. The circuit for calculating power consumption in real time according to claim 1, further comprising a switching circuit, wherein an input end of the switching circuit is connected to the power supply, an output end of the switching circuit is connected to an input end of the sampling circuit, and a controlled end of the switching circuit is connected to the control circuit.
9. The circuit for calculating power consumption in real time as claimed in claim 8, wherein said switching circuit comprises a switching chip;
the input pin of the switch chip is connected with the power supply, the enabling pin of the switch chip is connected with the control circuit, and the output pin of the switch chip is connected with the sampling circuit.
10. A system for calculating power consumption in real time, comprising a circuit for calculating power consumption in real time according to any one of claims 1 to 9.
CN202321700509.8U 2023-06-30 2023-06-30 Circuit and system for calculating power consumption in real time Active CN220490926U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202321700509.8U CN220490926U (en) 2023-06-30 2023-06-30 Circuit and system for calculating power consumption in real time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202321700509.8U CN220490926U (en) 2023-06-30 2023-06-30 Circuit and system for calculating power consumption in real time

Publications (1)

Publication Number Publication Date
CN220490926U true CN220490926U (en) 2024-02-13

Family

ID=89836924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202321700509.8U Active CN220490926U (en) 2023-06-30 2023-06-30 Circuit and system for calculating power consumption in real time

Country Status (1)

Country Link
CN (1) CN220490926U (en)

Similar Documents

Publication Publication Date Title
CN105445673B (en) A kind of direct current perseverance resistance electronic load device
CN110376520B (en) Motor parameter acquisition device, motor and motor parameter acquisition method thereof
CN208506629U (en) A kind of power supply circuit based on far-end feedback
CN203444012U (en) High accuracy and rapid speed measurement circuit of wide range current in power system
CN220490926U (en) Circuit and system for calculating power consumption in real time
US20200292586A1 (en) Current sensing for monitoring load current in a buck power converter
CN214409627U (en) Airborne equipment parameter collector
WO2017148044A1 (en) Sampling device compensating for operational amplifier offset voltage by increasing operational amplifier input voltage
CN218567474U (en) Resistance measurement control circuit
CN213846621U (en) Novel accurate absolute value circuit
CN214333884U (en) Signal acquisition circuit and signal processing system
CN209803233U (en) Signal acquisition circuit compatible with current and voltage input
CN209088518U (en) A kind of hardware Over Current Protection System for bidirectional current output
CN210670031U (en) Analog-digital conversion device for torque measurement equipment
CN208795396U (en) Surge pressure acquisition device
CN113671256A (en) Off-line insulation resistance sampling circuit based on constant current converter system
CN107636958B (en) Microcontroller with average current measurement circuit using voltage-to-current converter
CN110554310A (en) Method, circuit and device for online testing action power of on-off relay
US20150042349A1 (en) Voltage measurement
CN110873618A (en) Torque measuring equipment
CN117008509A (en) Analog output circuit and control system
CN218824477U (en) Battery voltage sampling measurement circuit and measurement device
CN112198368B (en) Electric automobile insulation resistance detection circuit and method
CN211741406U (en) Electronic equipment and signal acquisition circuit thereof
CN220137274U (en) Insulation resistance detection device and detection equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant