CN211603332U - System and battery package based on MCU internal integration operational amplifier measuring current - Google Patents

System and battery package based on MCU internal integration operational amplifier measuring current Download PDF

Info

Publication number
CN211603332U
CN211603332U CN201922438755.0U CN201922438755U CN211603332U CN 211603332 U CN211603332 U CN 211603332U CN 201922438755 U CN201922438755 U CN 201922438755U CN 211603332 U CN211603332 U CN 211603332U
Authority
CN
China
Prior art keywords
operational amplifier
inverting input
mcu
resistor
input end
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
CN201922438755.0U
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.)
Huizhou Blueway Electronic Co Ltd
Original Assignee
Huizhou Blueway Electronic 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 Huizhou Blueway Electronic Co Ltd filed Critical Huizhou Blueway Electronic Co Ltd
Priority to CN201922438755.0U priority Critical patent/CN211603332U/en
Application granted granted Critical
Publication of CN211603332U publication Critical patent/CN211603332U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Secondary Cells (AREA)

Abstract

The utility model relates to the technical field of battery packs, specifically disclose a system and battery pack based on MCU internal integration operational amplifier measuring current, including MCU and sampling resistor, MCU internal integration has operational amplifier, operational amplifier's the non inverting input end and operational amplifier's the inverting input end are connected respectively to the both ends of sampling resistor; a first resistor is arranged between the non-inverting input end of the operational amplifier and the sampling resistor, a second resistor is arranged between the inverting input end of the operational amplifier and the sampling resistor, and a third resistor is arranged between the output end of the operational amplifier and the inverting input end of the operational amplifier; the utility model discloses an MCU internal integration operational amplifier can omit discrete operational amplifier, has obviously reduced the development cost of product, can measure the electric current that acquires the same degree of accuracy simultaneously.

Description

System and battery package based on MCU internal integration operational amplifier measuring current
Technical Field
The utility model relates to a battery package technical field especially relates to a system and battery package based on measurement current is put to MCU internal integration fortune.
Background
With the progress of science and technology, the demand for electric power energy is increasing day by day. For the demand of electric power, an alternating current or a battery pack formed by connecting a plurality of battery cells in series can be used as the power supply. The advantage of using a battery pack as the power source is that the power source is mobile and not limited to use in a fixed location.
A conventional battery pack mainly includes a plurality of battery core groups for providing power and a battery pack monitoring unit electrically connected to the battery core groups for detecting states of the battery core groups, such as voltage, current, temperature, and the like.
Under the present situation, in the control of most handheld dust catcher battery package products, use discrete operational amplifier to the collection of electric current, after passing through operational amplifier with sampling resistance both ends voltage and zooming, rethread MCU gathers AD voltage value and converts to corresponding electric current, so, is unfavorable for reducing the development cost of product.
SUMMERY OF THE UTILITY MODEL
To the technical problem, the utility model provides a system and battery package based on MCU internal integration fortune is put and is measured electric current adopts MCU internal integration operational amplifier, can omit discrete operational amplifier, has obviously reduced the development cost of product, can measure the electric current that acquires the same degree of accuracy simultaneously.
In order to solve the technical problem, the utility model provides a concrete scheme as follows:
a current measuring system based on an MCU (microprogrammed control Unit) internal integrated operational amplifier comprises an MCU and a sampling resistor, wherein an operational amplifier is integrated in the MCU, and two ends of the sampling resistor are respectively connected with a non-inverting input end of the operational amplifier and an inverting input end of the operational amplifier;
a first resistor is arranged between the non-inverting input end of the operational amplifier and the sampling resistor, and a second resistor is arranged between the inverting input end of the operational amplifier and the sampling resistor.
Optionally, a third resistor is disposed between the output end of the operational amplifier and the inverting input end of the operational amplifier.
Optionally, the non-inverting input terminal of the operational amplifier is further connected to a current limiting resistor, the other end of the current limiting resistor is connected to VDD, and the current limiting resistor is used to limit the magnitude of the current of the branch where the current is located, so as to prevent the current from being too large and burning out the components connected in series, and meanwhile, the current limiting resistor can also perform a voltage division function.
Optionally, a filter capacitor is disposed between the non-inverting input terminal of the operational amplifier and the inverting input terminal of the operational amplifier, and the filter capacitor is configured to reduce an ac ripple coefficient and improve high-efficiency smooth dc output.
Optionally, the MCU has a model of HR7P169B, and supports an operational amplifier, and a pin of the operational amplifier is shared with a common I/O pin, and when the operational amplifier is not used, the pin can be used as the common pin without wasting I/O resources.
The utility model also provides a battery package, include and put measuring current's system based on MCU internal integration fortune, can omit discrete operational amplifier, reduce the development cost of product.
Compared with the prior art, the beneficial effects of the utility model reside in that: the utility model provides a pair of system and battery package based on put measuring current in MCU internal integration fortune adopts MCU internal integration operational amplifier, can omit discrete operational amplifier, has obviously reduced the development cost of product, can measure the electric current that acquires the same degree of accuracy simultaneously.
Drawings
Fig. 1 is the embodiment of the utility model provides a system schematic diagram based on MCU internal integration operational amplifier measuring current.
Fig. 2 is a block diagram of a battery pack provided in an embodiment of the present invention.
Detailed Description
In order to explain the technical solution of the present invention in detail, the following will combine the drawings of the embodiments of the present invention to perform clear and complete description on the technical solution of the embodiments of the present invention. It is to be understood that the embodiments described are only some of the embodiments of the present invention, and not all of them. All other embodiments, which can be obtained by a person skilled in the art without any inventive work based on the described embodiments of the present invention, belong to the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
For example, a system for measuring current based on an operational amplifier integrated inside an MCU comprises the MCU and a sampling resistor, wherein an operational amplifier is integrated inside the MCU, and two ends of the sampling resistor are respectively connected with a non-inverting input end of the operational amplifier and an inverting input end of the operational amplifier; a first resistor is arranged between the non-inverting input end of the operational amplifier and the sampling resistor, a second resistor is arranged between the inverting input end of the operational amplifier and the sampling resistor, and a third resistor is arranged between the output end of the operational amplifier and the inverting input end of the operational amplifier.
The system and the battery pack for measuring the current based on the MCU internal integrated operational amplifier provided by the embodiment adopt the MCU internal integrated operational amplifier, can omit the discrete operational amplifier, obviously reduce the development cost of products, and can measure and obtain the current with the same accuracy.
In some embodiments, as shown in fig. 1, a system for measuring current based on an MCU internally integrated operational amplifier is provided, which includes an MCU and a sampling resistor R40, wherein an operational amplifier is integrated inside the MCU, and two ends of the sampling resistor R40 are respectively connected to a non-inverting input terminal of the operational amplifier and an inverting input terminal of the operational amplifier; a first resistor R10 is arranged between the non-inverting input end of the operational amplifier and the sampling resistor R40, a second resistor R1 is arranged between the inverting input end of the operational amplifier and the sampling resistor, and a third resistor R2 is arranged between the output end of the operational amplifier and the inverting input end of the operational amplifier.
Specifically, in this example, the MCU has a model HR7P169B, and supports an operational amplifier, and the pin of the operational amplifier is shared with a normal I/O pin, and when the operational amplifier is not used, the pin can be used as a normal pin without wasting I/O resources. The first resistor R10, the second resistor R1 and the third resistor R2 play a role in adjusting amplification ratio, voltage test points MC + and MC-at two ends of the sampling resistor R40 are connected to an operational amplifier inside the sampling resistor R40 through pins 15 and 16 of HR7P169B respectively, HR7P169B is configured by software in an operational amplifier mode, and voltage of a reading pin 14 is sampled through AD, so that the voltage can be converted into a corresponding current value. Regarding software configuration: setting pins 14, 15 and 16 to an input mode; pin 14 is set to ADC mode; it is only necessary to initially set the value of the OPAC register.
In some embodiments, the non-inverting input terminal of the operational amplifier is further connected to a current limiting resistor R6, the other terminal of the current limiting resistor R6 is connected to VDD, and the current limiting resistor R6 is used to limit the magnitude of the current of the branch in which the current is located, so as to prevent the current from being too large and burning out the components connected in series, and also to perform a voltage dividing function. A filter capacitor C1 is arranged between the non-inverting input end of the operational amplifier and the inverting input end of the operational amplifier, and the filter capacitor C1 is used for reducing alternating current ripple coefficients and improving high-efficiency smooth direct current output.
As shown in fig. 2, the present application further provides a battery pack, which includes a system for measuring current based on an integrated operational amplifier inside an MCU, the system includes an MCU and a sampling resistor, an operational amplifier is integrated inside the MCU, and two ends of the sampling resistor are respectively connected to a non-inverting input terminal of the operational amplifier and an inverting input terminal of the operational amplifier; a first resistor is arranged between the non-inverting input end of the operational amplifier and the sampling resistor, a second resistor is arranged between the inverting input end of the operational amplifier and the sampling resistor, and a third resistor is arranged between the output end of the operational amplifier and the inverting input end of the operational amplifier.
The battery pack provided by the embodiment is mainly applied to the handheld dust collector, so that the discrete operational amplifier can be omitted, and the development cost of the product is reduced.
The above-mentioned embodiments only represent some embodiments of the present invention, and the description thereof is specific and detailed, but the limitation of the patent scope of the present invention can not be understood thereby. It should be noted that, for those skilled in the art, various changes and modifications can be made without departing from the spirit and scope of the present invention, and therefore, the scope of the present invention should be determined by the appended claims.

Claims (6)

1. A system for measuring current based on an MCU (microprogrammed control Unit) internal integrated operational amplifier is characterized by comprising the MCU and a sampling resistor, wherein an operational amplifier is integrated in the MCU, and two ends of the sampling resistor are respectively connected with the non-inverting input end of the operational amplifier and the inverting input end of the operational amplifier;
a first resistor is arranged between the non-inverting input end of the operational amplifier and the sampling resistor, and a second resistor is arranged between the inverting input end of the operational amplifier and the sampling resistor.
2. The MCU internally integrated operational amplifier based current measuring system according to claim 1, wherein a third resistor is arranged between the output terminal of the operational amplifier and the inverting input terminal of the operational amplifier.
3. The MCU internally integrated operational amplifier based current measuring system according to claim 1, wherein the non-inverting input terminal of the operational amplifier is further connected with a current limiting resistor, and the other end of the current limiting resistor is connected with VDD.
4. The MCU internally integrated operational amplifier based current measuring system according to claim 1, wherein a filter capacitor is provided between the non-inverting input terminal of the operational amplifier and the inverting input terminal of the operational amplifier.
5. The MCU internally integrated operational amplifier based current measuring system according to claim 1, wherein the MCU is of the type HR7P 169B.
6. A battery pack, characterized in that it comprises a system for measuring current based on MCU internal integrated operational amplifier according to any of claims 1-5.
CN201922438755.0U 2019-12-30 2019-12-30 System and battery package based on MCU internal integration operational amplifier measuring current Active CN211603332U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922438755.0U CN211603332U (en) 2019-12-30 2019-12-30 System and battery package based on MCU internal integration operational amplifier measuring current

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922438755.0U CN211603332U (en) 2019-12-30 2019-12-30 System and battery package based on MCU internal integration operational amplifier measuring current

Publications (1)

Publication Number Publication Date
CN211603332U true CN211603332U (en) 2020-09-29

Family

ID=72597753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922438755.0U Active CN211603332U (en) 2019-12-30 2019-12-30 System and battery package based on MCU internal integration operational amplifier measuring current

Country Status (1)

Country Link
CN (1) CN211603332U (en)

Similar Documents

Publication Publication Date Title
CN204556731U (en) Internal resistance of cell measuring system
CN206573635U (en) A kind of mobile terminal, power consumption test terminal and power consumption test system
CN102098368B (en) Mobile phone
CN105044622A (en) Test instrument power supply power self-detection device and self-detection method
CN204302347U (en) Microcomputer-recognized intelligent universal meter
CN201311485Y (en) Ripple factor detecting device adapted to DC power supply
CN207067227U (en) Sample circuit and current measurement circuit
CN101408594A (en) Device suitable for monitoring direct-current power supply ripple coefficient
ES8606667A1 (en) Test method for direct current sources like accumulators, batteries and test device.
CN106646056B (en) Signal acquisition circuit powered by single lithium battery and acquisition method thereof
CN211603332U (en) System and battery package based on MCU internal integration operational amplifier measuring current
CN202025832U (en) Charging battery and charging system
CN113847952A (en) Wireless device for measuring temperature and load current of cable based on induction electricity taking
CN101639521A (en) Method and system for testing charging performance of battery
CN108288872B (en) Current self-adaptive lithium battery quick charging device
CN211348397U (en) Portable open-circuit voltage and short-circuit current detection device
CN103487630A (en) High-end sampling battery voltage circuit
CN206497161U (en) A kind of battery-powered signal acquisition circuit of single-lithium-battery
CN211603471U (en) System and battery package based on short circuit is put to inside integrated fortune of MCU
CN206004290U (en) A kind of home circuit electric current monitor
CN211402533U (en) Automatic module and system of patrolling and examining of multichannel voltage
CN201697727U (en) Temperature measuring circuit
CN104333092A (en) Charger system for testing battery starting current
CN218824477U (en) Battery voltage sampling measurement circuit and measurement device
CN202362363U (en) Wide range single-phase electric energy meter

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant