CN217639277U - Simple onboard power consumption detection circuit - Google Patents
Simple onboard power consumption detection circuit Download PDFInfo
- Publication number
- CN217639277U CN217639277U CN202221582055.4U CN202221582055U CN217639277U CN 217639277 U CN217639277 U CN 217639277U CN 202221582055 U CN202221582055 U CN 202221582055U CN 217639277 U CN217639277 U CN 217639277U
- Authority
- CN
- China
- Prior art keywords
- resistor
- power supply
- unit
- load
- 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
Links
Images
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
The utility model discloses a simple and easy board carries consumption detection circuitry, a consumption for detecting the load, consumption detection circuitry includes shunt resistor, the divider resistance unit, first filter capacitor, the RC filter unit, the main control MCU unit, operational amplifier and reference voltage power supply, shunt resistor's first end is used for being connected with the power supply positive output of load, shunt resistor's first end still is connected with operational amplifier's inverting input, shunt resistor's second end is connected with reference voltage power supply's positive output and operational amplifier's homophase input end respectively, the first end of divider resistance unit is connected with shunt resistor's first end, the second end of divider resistance unit is connected with main control MCU's first ADC end, main control MCU's first ADC end still is through first filter capacitor ground connection, operational amplifier's output is connected with RC filter unit's input, RC filter unit's output and main control MCU unit's second ADC end are connected.
Description
Technical Field
The utility model belongs to the technical field of circuit design, concretely relates to simple and easy board carries consumption detection circuitry.
Background
With the rapid development of electronic technology, modern devices, modules and the like are approaching to miniaturization design more and more, but a key constraint parameter in the miniaturization process is the power consumption of components (loads). If the power consumption of the components (loads) is too high, further reduction of the size of the device and the module is limited. For example, in an output circuit including a crystal oscillator, the power consumption of the crystal oscillator is particularly significant in the constraint of miniaturization design of the output circuit, and therefore, the power consumption of the crystal oscillator needs to be continuously monitored in the design, debugging and testing processes of the output circuit including the crystal oscillator.
At present, the following method is generally adopted for detecting the power consumption of a load: after the power supply of the load powers on two ends of the load, the real-time power consumption value of the load is obtained by respectively detecting the voltage value of one end of the load, which is connected with the positive electrode output end of the power supply of the load, and the current value flowing through the load, and then multiplying the detected voltage value and the detected current value.
Common power consumption measurement means are: 1. adopting a mode of a universal meter and manual calculation; 2. the method is characterized in that the digital program-controlled power supply is used, and the power consumption of the load is estimated according to the voltage value and the current value displayed on the digital program-controlled power supply. The power consumption value precision measured by the two modes is poor, and the multimeter and the digital program control power supply are large in size and inconvenient to take and use. Furthermore, in a laboratory environment, it is often necessary to monitor the power consumption of multiple loads simultaneously for comprehensive judgment, however, the number of multimeters and digitally programmed power supplies is very limited. Therefore, it is necessary to design and mount a simple and lightweight power consumption detection circuit using laboratory component resources.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to overcome one or more of prior art not enough, provide a simple and easy board year consumption detection circuitry.
The purpose of the utility model is realized through the following technical scheme:
a simple on-board power consumption detection circuit is used for detecting the power consumption of a load and is connected with the positive output end of a power supply of the load; the power consumption detection circuit comprises a shunt resistor, a divider resistor unit, a first filter capacitor, an RC filter unit, a main control MCU unit, an operational amplifier and a reference voltage power supply;
the first end of the shunt resistor is used for being connected with the positive output end of a power supply of a load, and the first end of the shunt resistor is also connected with the inverting input end of the operational amplifier;
the second end of the shunt resistor is respectively connected with the positive output end of the reference voltage power supply and the non-inverting input end of the operational amplifier;
the first end of the divider resistance unit is connected with the first end of the shunt resistance, the second end of the divider resistance unit is connected with the first ADC end of the main control MCU unit, and the first ADC end of the main control MCU unit is grounded through the first filter capacitor;
the output end of the operational amplifier is connected with the input end of the RC filtering unit, and the output end of the RC filtering unit is connected with the second ADC end of the main control MCU unit.
In a further improvement, the output voltage value of the positive output terminal when the reference voltage power supply is loaded is the same as the output voltage value of the positive output terminal when the power supply of the load is unloaded.
In a further improvement, the voltage dividing resistance unit comprises a first resistor, a second resistor and a third resistor; the first end of the first resistor is connected with the first end of the shunt resistor, the second end of the first resistor is connected with the first end of the second resistor and the first end of the third resistor respectively, the second end of the second resistor is connected with the first ADC end of the main control MCU unit and the first end of the first filter capacitor respectively, the second end of the third resistor is grounded, and the second end of the third resistor is connected with the second end of the first filter capacitor.
In a further improvement, the second end of the shunt resistor is connected to the positive output end of the reference voltage power supply through a fourth resistor.
In a further improvement, the RC filtering unit includes a fifth resistor and a second filtering capacitor; the first end of the fifth resistor is connected with the output end of the operational amplifier, the second end of the fifth resistor is respectively connected with the second ADC end of the main control MCU unit and the first end of the second filter capacitor, and the second end of the second filter capacitor is grounded.
In a further improvement, the power consumption detection circuit further comprises a first interface connector and a second interface connector; the first end of the shunt resistor is used for being connected with the positive output end of the power supply of the load through the first interface connector; and the interaction end of the main control MCU unit is used for being connected with an external interaction display unit through the second interface connector.
In a further improvement, the operational amplifier is an adjustable gain amplifier, and a gain control end of the operational amplifier is connected with a control end of the main control MCU unit.
The utility model has the advantages that:
(1) When the power consumption of the load is detected, after the load is electrified, the shunt resistor generates current from the reference voltage power supply positive electrode output end to the power supply positive electrode output end of the load, the voltage difference between two ends of the shunt resistor is amplified through the operational amplifier and then is input into the second ADC end of the main control MCU unit to detect voltage, the output voltage of the power supply positive electrode output end of the load is divided through the voltage dividing resistor unit and then is input into the first ADC end of the main control MCU unit to detect the voltage, the main control MCU unit respectively calculates the voltage values input by the first ADC end and the second ADC end and calculates the voltage value of the first end of the shunt resistor through the voltage value of the first ADC end, the current value of the shunt resistor is calculated through the voltage value of the second ADC end, and the main control MCU unit multiplies the calculated voltage value of the first end of the shunt resistor by the current value of the shunt resistor to obtain the power consumption value of the load.
The power consumption detection circuit realized by the utility model has small volume and is convenient to take and use; each component in the power consumption detection circuit is easy to obtain in a laboratory environment, and the cost and the risk are controllable; based on the voltage detection precision of the ADC end of the main control MCU unit, compared with a multimeter and a digital program control power supply, the power consumption detection precision is obviously improved.
(2) Due to the virtual short characteristic of the operational amplifier, the output voltage value of the positive output end when the reference voltage power supply is loaded is selected to be the same as the output voltage value of the positive output end when the power supply of the load is unloaded, so that the voltage difference between the non-inverting input end and the non-inverting input end of the operational amplifier is ensured to be very small, and the short circuit phenomenon between the non-inverting input end and the non-inverting input end of the operational amplifier is avoided.
(3) The setting through first interface connector and second interface connector makes the utility model discloses the consumption detection circuitry that realizes is more convenient with being connected of external load and outside mutual display element, has improved load consumption detection efficiency.
(4) And the detection range of the power consumption detection circuit is increased by setting the operational amplifier as the adjustable gain amplifier.
Drawings
FIG. 1 is a schematic diagram of a simple on-board power consumption detection circuit.
Detailed Description
The technical solution of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of the present invention.
This embodiment provides a simple and easy board carries consumption detection circuitry, consumption detection circuitry is used for detecting the consumption of LOAD, and consumption detection circuitry is used for being connected with the power supply positive pole output VCC _ LOAD of LOAD.
As shown in fig. 1, the power consumption detection circuit includes: the circuit comprises a shunt resistor R6, a divider resistor unit, a first filter capacitor C1, an RC filter unit, a main control MCU unit, an operational amplifier U2, a fourth resistor R4 and a reference voltage power supply. The voltage division resistance unit comprises a first resistor R1, a second resistor R2 and a third resistor R3. The RC filtering unit includes a fifth resistor R5 and a second filtering capacitor C2. The master control MCU unit preferably comprises a single chip microcomputer U1, the single chip microcomputer U1 comprises a plurality of ADC ends, and an ADC conversion circuit capable of detecting voltage is arranged in each ADC end of the single chip microcomputer U1 selected in the embodiment. The reference voltage source is preferably a high precision regulated power supply.
The first end of the shunt resistor R6 is used for being connected with the power supply anode output end VCC _ LOAD of the LOAD, and the first end of the shunt resistor R6 is also connected with the inverting input end RS-of the operational amplifier U2. The second end of the shunt resistor R6 is connected to the positive output terminal VCC _ REF of the reference voltage power supply via the fourth resistor R4, and the second end of the shunt resistor R6 is further connected to the non-inverting input terminal RS + of the operational amplifier U2. The first end of the first resistor R1 is connected with the first end of the shunt resistor R6, the second end of the first resistor R1 is connected with the first end of the second resistor R2 and the first end of the third resistor R3 respectively, the second end of the second resistor R2 is connected with the first ADC end ADC _1 of the single chip microcomputer U1 and the first end of the first filter capacitor C1 respectively, the second end of the third resistor R3 is grounded, and the second end of the third resistor R3 is connected with the second end of the first filter capacitor C1. A first end of the fifth resistor R5 is connected with the output end OUT of the operational amplifier U2, a second end of the fifth resistor R5 is connected with the second ADC end ADC _2 of the single chip U1 and a first end of the second filter capacitor C2, respectively, and a second end of the second filter capacitor C2 is grounded. Operational amplifier U2's power end VCC is connected to the positive output VCC1 of outside LDO power, and operational amplifier U2's power end VCC still passes through third filter capacitor C3 ground connection, filters the ripple interference of LDO power through third filter capacitor C3. The power supply end VDD of the single chip microcomputer U1 is connected to the positive electrode output end VCC1 of an external LDO power supply, and the power supply end VDD of the single chip microcomputer U1 is grounded through a fourth filter capacitor C4.
As a further improvement of this embodiment, the output voltage value of the positive output terminal VCC _ REF when the reference voltage power supply is loaded is selected to be the same as the output voltage value of the positive output terminal VCC _ LOAD when the power supply of the LOAD is unloaded. Because the reference voltage power supply is a stabilized voltage power supply, the output voltage value of the positive output terminal VCC _ REF is relatively constant when the reference voltage power supply is loaded. After the LOAD is electrified, the power supply of the LOAD can generate a small-amplitude voltage drop, correspondingly, the real-time output voltage value of the power supply anode output end VCC _ LOAD of the LOAD is lower than the real-time output voltage value of the reference voltage power supply anode output end VCC _ REF, and the current flowing from the reference voltage power supply anode output end VCC _ REF to the power supply anode output end VCC _ LOAD of the LOAD is generated on the shunt resistor R6. Due to the virtual short characteristic of the operational amplifier U2, the output voltage value of the positive output end VCC _ REF when the reference voltage power supply is loaded is selected to be the same as the output voltage value of the positive output end VCC _ LOAD when the power supply of the LOAD is unloaded, so that the voltage difference between the non-inverting input end and the inverting input end of the operational amplifier U2 is ensured to be very small, the short circuit phenomenon between the non-inverting input end and the inverting input end of the operational amplifier U2 is avoided, and the effectiveness of power consumption detection is ensured.
As a further improvement of this embodiment, the power consumption detection circuit further includes a first interface connector and a second interface connector. The first end of the shunt resistor R6 is used for being connected with the positive output terminal VCC _ LOAD of the power supply of the LOAD through the first interface connector. And the interaction end of the singlechip U1 is used for being connected with an external interaction display unit through a second interface connector.
As a further improvement of this embodiment, the operational amplifier U2 is an adjustable gain amplifier, and a gain control end of the operational amplifier U2 is connected to a control end of the single chip microcomputer U1. When the operational amplifier U2 with fixed gain is used, the detection range of the current value flowing through the shunt resistor R6 is a fixed range within the detectable voltage range of the second ADC end of the single chip U1. When the gain-adjustable operational amplifier U2 is adopted, the gain of the operational amplifier U2 is changed, and the detection range of the current value flowing through the shunt resistor R6 can be expanded in the detectable voltage range of the second ADC end of the singlechip U1, so that the detection range of the power consumption detection circuit is increased.
The working principle of the embodiment is as follows:
and electrifying the LOAD, and connecting the first end of the shunt resistor R6 with the positive output end VCC _ LOAD of the power supply of the LOAD through the first interface connector. After the LOAD is electrified, the current from the anode output end VCC _ REF of the reference voltage power supply to the anode output end VCC _ LOAD of the power supply of the LOAD is generated on the shunt resistor R6, the operational amplifier U2 amplifies the voltage drop between the second end of the shunt resistor R6 and the first end of the shunt resistor R6 according to the gain value set in the operational amplifier U2, then the amplified voltage is output, the amplified voltage is filtered through the RC filtering unit, coupling interference is filtered, and then the amplified voltage is input into the second ADC end ADC _2 of the singlechip U1; the output voltage of the power supply anode output end VCC _ LOAD of the LOAD is divided through the voltage dividing resistor unit, and the voltage is divided into a voltage range detectable by the first ADC end ADC _1 of the single chip microcomputer U1. The single chip microcomputer U1 calculates a first voltage value according to the voltage input by the first ADC end ADC _1, calculates a second voltage value according to the voltage input by the second ADC end ADC _2, calculates a voltage value of the first end of the shunt resistor R6 according to the first voltage value, calculates a current value flowing through the shunt resistor R6 according to the second voltage value, and multiplies the voltage value of the first end of the shunt resistor R6 by the current value flowing through the shunt resistor R6 to obtain a power consumption value of the load.
The foregoing is illustrative of the preferred embodiments of the present invention, and it is to be understood that the invention is not limited to the precise forms disclosed herein, and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the invention as defined by the appended claims. But that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention, which is to be limited only by the claims appended hereto.
Claims (7)
1. A simple on-board power consumption detection circuit is used for detecting the power consumption of a load and is connected with the positive output end of a power supply of the load; the power consumption detection circuit is characterized by comprising a shunt resistor, a divider resistor unit, a first filter capacitor, an RC filter unit, a main control MCU unit, an operational amplifier and a reference voltage power supply;
the first end of the shunt resistor is used for being connected with the positive output end of a power supply of a load, and the first end of the shunt resistor is also connected with the inverting input end of the operational amplifier;
the second end of the shunt resistor is respectively connected with the positive output end of the reference voltage power supply and the non-inverting input end of the operational amplifier;
the first end of the divider resistance unit is connected with the first end of the shunt resistance, the second end of the divider resistance unit is connected with the first ADC end of the main control MCU unit, and the first ADC end of the main control MCU unit is grounded through the first filter capacitor;
the output end of the operational amplifier is connected with the input end of the RC filtering unit, and the output end of the RC filtering unit is connected with the second ADC end of the main control MCU unit.
2. The simple on-board power consumption detection circuit of claim 1, wherein the output voltage value of the positive output terminal when the reference voltage power supply is on-load is the same as the output voltage value of the positive output terminal when the power supply of the load is off-load.
3. The simple on-board power consumption detection circuit of claim 1, wherein the voltage dividing resistance unit comprises a first resistor, a second resistor and a third resistor; the first end of the first resistor is connected with the first end of the shunt resistor, the second end of the first resistor is connected with the first end of the second resistor and the first end of the third resistor respectively, the second end of the second resistor is connected with the first ADC end of the main control MCU unit and the first end of the first filter capacitor respectively, the second end of the third resistor is grounded, and the second end of the third resistor is connected with the second end of the first filter capacitor.
4. The simple on-board power consumption detection circuit of claim 1, wherein a second end of the shunt resistor is connected to a positive output terminal of the reference voltage power supply via a fourth resistor.
5. The simple on-board power consumption detection circuit of claim 1, wherein the RC filtering unit comprises a fifth resistor and a second filtering capacitor; the first end of the fifth resistor is connected with the output end of the operational amplifier, the second end of the fifth resistor is respectively connected with the second ADC end of the main control MCU unit and the first end of the second filter capacitor, and the second end of the second filter capacitor is grounded.
6. A simple on-board power consumption detection circuit according to claim 1, wherein the power consumption detection circuit further comprises a first interface connector and a second interface connector; the first end of the shunt resistor is used for being connected with the positive output end of the power supply of the load through the first interface connector; and the interaction end of the main control MCU unit is used for being connected with an external interaction display unit through the second interface connector.
7. The simple on-board power consumption detection circuit of claim 1, wherein the operational amplifier is an adjustable gain amplifier, and a gain control terminal of the operational amplifier is connected to a control terminal of the main control MCU unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202221582055.4U CN217639277U (en) | 2022-06-23 | 2022-06-23 | Simple onboard power consumption detection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202221582055.4U CN217639277U (en) | 2022-06-23 | 2022-06-23 | Simple onboard power consumption detection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN217639277U true CN217639277U (en) | 2022-10-21 |
Family
ID=83629355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202221582055.4U Active CN217639277U (en) | 2022-06-23 | 2022-06-23 | Simple onboard power consumption detection circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN217639277U (en) |
-
2022
- 2022-06-23 CN CN202221582055.4U patent/CN217639277U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN200996992Y (en) | Corrugating fast inspecter of micro-radar medical low-voltage power supply | |
CN110609072B (en) | Weak signal detection circuit of Prussian blue membrane bioelectrode | |
CN217639277U (en) | Simple onboard power consumption detection circuit | |
CN210865578U (en) | Power consumption detection circuit of display panel | |
CN109510457B (en) | Output voltage adjustable power supply circuit and gas data acquisition equipment | |
CN113238081A (en) | Intelligent electric meter terminal | |
CN204903445U (en) | Hydrogen concentration detector | |
US8143881B2 (en) | Current measuring apparatus for power supply | |
CN106989793B (en) | Sampling circuit and detection device | |
CN104682929B (en) | Pulse signal duty cycle measurement circuit | |
CN215768763U (en) | Voltage detection sampling circuit | |
CN216351137U (en) | Power signal acquisition circuit | |
CN106291065B (en) | Voltage sampling circuit | |
CN210534231U (en) | A collection system for dynamic power consumption detects | |
CN210894497U (en) | Ammeter system | |
CN109560781B (en) | Signal amplifying circuit and battery management system | |
CN202276285U (en) | Power supply filter circuit used for stored program control exchange | |
CN206378535U (en) | A kind of detection platform of small resistor resistance | |
CN217010702U (en) | Frequency quantity acquisition device | |
CN221202543U (en) | Signal acquisition circuit and signal acquisition equipment | |
CN211629851U (en) | Hardware protection circuit and power utilization system | |
CN211043609U (en) | Battery sampling circuit, battery sampling device and electronic equipment | |
CN221803169U (en) | Temperature detection circuit and battery management system | |
CN217363362U (en) | Over-temperature protection module, light source driving circuit and replacement light source | |
CN218298477U (en) | Circuit for improving detection precision of internal resistance of storage battery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |