CN2777559Y - Powder detecting circuit - Google Patents

Powder detecting circuit Download PDF

Info

Publication number
CN2777559Y
CN2777559Y CN 200420107626 CN200420107626U CN2777559Y CN 2777559 Y CN2777559 Y CN 2777559Y CN 200420107626 CN200420107626 CN 200420107626 CN 200420107626 U CN200420107626 U CN 200420107626U CN 2777559 Y CN2777559 Y CN 2777559Y
Authority
CN
China
Prior art keywords
voltage
input
resistance
power
microcontroller
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.)
Expired - Fee Related
Application number
CN 200420107626
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.)
Shanghai Huanda Computer Technology Co Ltd
Getac Technology Corp
Original Assignee
Shanghai Huanda Computer Technology Co Ltd
Mitac Technology Corp
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 Shanghai Huanda Computer Technology Co Ltd, Mitac Technology Corp filed Critical Shanghai Huanda Computer Technology Co Ltd
Priority to CN 200420107626 priority Critical patent/CN2777559Y/en
Application granted granted Critical
Publication of CN2777559Y publication Critical patent/CN2777559Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

The utility model discloses a power detecting circuit capable of self detecting the consumed power in an electronic device, which can calculate the power of the electronic device after input current and input voltage of an input power supply of the electronic device are detected by the power detecting circuit. The detecting circuit comprises a current detecting unit and a voltage detecting unit, wherein the input power supply is connected with a microcontroller by the current detecting unit and the voltage detecting unit which are connected in series to detect the input current and the input voltage of the input power supply and to correspondingly transform the input current and the input voltage into the first and the second voltage which can be identified by the microcontroller. The output ends of the current detecting unit and the voltage detecting unit are respectively connected with a first and a second A/D interfaces of the microcontroller to transform the first voltage and the second voltage to the first and the second A/D interfaces. The first voltage and the second voltage are processed by the microcontroller to obtain the consumed power of the electronic device. The power detecting circuit comprises few electronic elements, so the power detecting circuit can easily be integrated on a circuit board in the electronic device to realize the real time power detection of the electronic device.

Description

Power detecting circuit
Technical field
The utility model has related to a kind of power detecting circuit, particularly a kind of circuit of the consumed power that is used in the electronic installation and can the self-sensing electronic installation.
Background technology
In general electronic installation, the user generally is the actual power consumption that can't directly know the electronic installation in the use.With the computer is example, and computer generally can only self-sensing input voltage size, and can not detect the size of input current, and therefore, the user is the consumed power in the time of can't directly knowing computer work.Consumed power when knowing its work if necessary must be carried out subtest to computer by external unit, calculates then and just can draw power.Therefore, this dependence external unit test computer power is limited by external condition, and the user is little simultaneously realizes easily.After if computer can be detected input current and input voltage by certain circuit, that just is easy to realize allowing the user directly know the consumed power of computer, simultaneously, realize that the circuit of this function should constitute simply, with low cost and be integrated in easily on the circuit board of computer inside.
Summary of the invention
The utility model discloses the power detecting circuit that to detect its power in a kind of electronic installation.
Power detecting circuit of the present utility model adopts following technical scheme to realize: power detecting circuit of the present utility model comprises: a current sense unit, be serially connected with between described input power supply and the microcontroller, change into discernible first voltage of microcontroller in order to the input current of detecting input power supply and with its correspondence; One detecting voltage unit is serially connected with between described input power supply and the microcontroller, changes into discernible second voltage of microcontroller in order to the input voltage of detecting input power supply and with its correspondence; One microcontroller, comprise first, second A/D interface, output terminal with described current sense unit and detecting voltage unit is connected respectively, in order to accept above-mentioned first, second voltage, and this microcontroller has an algorithm routine, obtains the consumed power of electronic installation in order to above-mentioned first, second voltage is handled.Described current sense unit comprises one the 3rd resistance and a voltage comparator, the 3rd resistance string is coupled on the input power supply, and the positive and negative input end of described voltage comparator is connected with the two ends of the 3rd resistance after being connected in series first, second resistance respectively, and the positive input terminal of described voltage comparator also is connected with the 4th resistance of an end ground connection, and is serially connected with one the 5th resistance between negative input end and the output terminal; Described first, second resistance equates, and described the 4th, the 5th resistance equates.
Described detecting voltage unit comprises the 6th, the 7th resistance of mutual serial connection, and an end of the 6th resistance is connected with the input power supply, and the other end is connected with the 2nd A/D interface of described microcontroller, and the other end of the 7th resistance connects the earth.The size of first, second voltage of the output terminal of described current sense unit and detecting voltage unit is no more than 5 volts.
Owing to adopted above-mentioned technology, power detecting circuit of the present utility model is that the A/D interface that has made full use of microcontroller reads through input voltage and input current data after manipulative, microcontroller calculates the power of electronic installation then, therefore the user can know the power of electronic installation itself simply and easily, and this circuit constitutes simple simultaneously.
Embodiment
Be illustrated in figure 1 as the circuit box simplified schematic diagram of a specific embodiment of the utility model power detecting circuit.This power detecting circuit is integrated to be manufactured on the circuit board in the electronic installation, behind the input current of the input power supply 40 by the detecting electronic installation and the input voltage and utilize the microcontroller 30 of electronic installation inside to calculate its consumed power.
Described power detecting circuit comprises: a current sense unit 10, be serially connected with between input power supply 40 and the microcontroller 30, and this current sense unit 10 can be detected the input current of input power supply 40 and its correspondence is changed into discernible first voltage of microcontroller; One detecting voltage unit 20 also is serially connected with between input power supply 40 and the microcontroller 30, and this detecting voltage unit 20 can be detected the input voltage of input power supply 40 and its correspondence is changed into microcontroller 30 discernible voltage second voltages.And, the output terminal of above-mentioned current sense unit 10 and detecting voltage unit 20 is connected with 320 with first, second A/D interface 310 of microcontroller 30 respectively, in order to first, second voltage is transferred to first, second A/D interface 310 and 320 of described microcontroller 30 respectively.
Wherein, current sense unit 10 comprises the 3rd resistance 130 and a voltage comparator 160, the 3rd resistance 130 is serially connected with on the input power supply 40, and voltage comparator 160 comprises a positive input terminal, a negative input end and an output terminal, and positive input terminal with after negative input end is connected in series first, second resistance 110 and 120 respectively respectively with the two ends that are connected the 3rd resistance 130; The positive input terminal of this current sense unit 10 also is connected in series one the 4th resistance 140 back and is connected with the earth, and negative input end also is serially connected with the other end of one the 5th resistance, 150, the five resistance 150 and is connected with the output terminal of current sense unit 10; The output terminal of described current sense unit 10 is connected with an A/D interface 310 of microcontroller 30 in order to give an A/D interface 310 with first voltage transmission of the output terminal of described current sense unit 10.
Described first, second resistance 110 and 120 resistance equate, described the 4th, the 5th resistance 140 and 150 resistance equate, and described the 3rd resistance is approximately 0.001-0.05 ohm.
Described detecting voltage unit 20 comprises the 6th, the 7th resistance 260 and 270, and wherein an end of the 6th resistance 260 is connected with input power supply 40, and the other end is connected with the 2nd A/D interface 320 of described microcontroller 30; And described the 7th resistance 270 1 ends are connected in series with the 6th resistance, and the other end connects the earth.
And described input power supply 40 also is connected with an end of one first capacitor 510, and the other end of this first capacitor 510 is connected with the earth, and this first capacitor 510 strobes in power detecting circuit of the present utility model.
Being applied in the notebook computer with above-mentioned power detecting circuit below is that example further specifies power detecting circuit of the present utility model.
Generally speaking, the input voltage of input power supply 40 is approximately the 10-32 volt for the voltage through exporting behind the voltage adapter of notebook computer; One the 3rd resistance 130 (being approximately 0.001-0.05 ohm) owing on input power supply 40, connected, so the voltage drop u that the 3rd resistance 130 causes is very little, and by voltage comparator 160 will above-mentioned the 3rd resistance 130 two ends voltage drop amplification certain multiple n after, the voltage drop (being second voltage) after this is exaggerated can be read by an A/D interface 310 of microcontroller 30.And described enlargement factor n is the resistance value ratio of the 5th resistance 150 and second resistance 120; This moment, output terminal second voltage that outputs to an A/D interface 310 of voltage comparator 160 was exaggerated voltage behind the multiple n for voltage drop u.
Resistance size by choose reasonable the 5th resistance 150 and second resistance 120 is selected rational enlargement factor n, make first voltage output to an A/D interface 310 size an A/D interface 310 working range in, generally should not be above 5 volts.And, described voltage drop u is the input current of input power supply 40 voltage drop that the 3rd resistance 130 causes of flowing through, so accepting output first voltage of current sense unit 10, an A/D interface 310 is the input current stream of input power supply 40 and the product of the resistance of the 3rd resistance 130, and having amplified the voltage of multiple n, this multiple n is the resistance value ratio of described the 5th resistance 150 and second resistance 120.
And in detecting voltage unit 20, because the 6th, the 7th resistance 260 is connected in series mutually with 270, so it is input voltage voltage drop on the 7th resistance 270 in the sequential circuit of the 6th, the 7th resistance 260 and 270 of input power supply 40 that the output terminal of this detecting voltage unit 20 outputs to second voltage of the 2nd A/D interface 320 of microcontroller 30, so after outputing to the product of second voltage for input input voltage of power supply 40 and the 7th resistance 270 of the 2nd A/D interface 320 of microcontroller 30, again with the resistance of the 6th, the 7th resistance 260 and 270 and ratio.
After first, second A/D interface 310 and 320 of microcontroller 30 controls reads and accepts voltage, microcontroller 30 will be handled the power that above-mentioned data calculate notebook computer according to certain algorithm routine, this algorithm routine can pass through the programming language compilation in advance, and burning is in microcontroller 30.The algorithm of the algorithm routine of this rated output is based on following principle and realizes:
Power equals to import the input voltage of power supply 40 and the product of input current, and first, second voltage that input voltage and input current all can read by first, second A/D interface 310 and 320 of microcontroller 30 control converts and obtains: second voltage that a described A/D interface 310 is accepted 10 outputs of current sense unit is the input current stream of input power supply 40 and the product of the resistance of the 3rd resistance 130, and having amplified the voltage of multiple n, this multiple n is the resistance value ratio of described the 5th resistance 150 and second resistance 120; Behind the product of second voltage of the 2nd A/D interface 320 of described microcontroller 30 for input input voltage of power supply 40 and the 7th resistance 270, again with the resistance of the 6th, the 7th resistance 260 and 270 and ratio.
Because the electronic component that comprises of this power detecting circuit is few, thus simple in structure and be integrated in easily on the circuit board of electronic installation inside, realize the power of real-time detecting electronic installation.

Claims (7)

1. power detecting circuit is used for the power of self-sensing electronic installation, this power detecting circuit by the input power supply of detecting electronic installation input current and input voltage after and calculate its power, it is characterized in that this power detecting circuit comprises:
One current sense unit is serially connected with between described input power supply and the microcontroller, changes into discernible first voltage of microcontroller in order to the input current of detecting input power supply and with its correspondence;
One detecting voltage unit is serially connected with between described input power supply and the microcontroller, changes into discernible second voltage of microcontroller in order to the input voltage of detecting input power supply and with its correspondence;
One microcontroller, comprise first, second A/D interface, output terminal with described current sense unit and detecting voltage unit is connected respectively, in order to accept above-mentioned first, second voltage, and this microcontroller has an algorithm routine, obtains the consumed power of electronic installation in order to above-mentioned first, second voltage is handled.
2. power detecting circuit according to claim 1, it is characterized in that, described current sense unit comprises one the 3rd resistance and a voltage comparator, the 3rd resistance string is coupled on the input power supply, and the positive and negative input end of described voltage comparator is connected with the two ends of the 3rd resistance after being connected in series first, second resistance respectively, and the positive input terminal of described voltage comparator also is connected with the 4th resistance of an end ground connection, and is serially connected with one the 5th resistance between negative input end and the output terminal.
3. state power detecting circuit as claim 2, it is characterized in that, described first, second resistance equates, and described the 4th, the 5th resistance equates.
4. as power detecting circuit as described in the claim 2, it is characterized in that the output terminal of described voltage comparator is connected with an A/D interface of described microcontroller, in order to give an A/D interface with first voltage transmission of the output terminal of voltage comparator.
5. power detecting circuit according to claim 1, it is characterized in that, described detecting voltage unit comprises the 6th, the 7th resistance of mutual serial connection, one end of the 6th resistance is connected with the input power supply, and the other end is connected with the 2nd A/D interface of described microcontroller, and the other end of the 7th resistance connects the earth.
6. power detecting circuit according to claim 1 is characterized in that described power detecting circuit also comprises one first capacitor, and an end of this first capacitor is connected with the input power supply, and other end connection the earth.
7. power detecting circuit according to claim 1 is characterized in that the size of first, second voltage of the output terminal of described current sense unit and detecting voltage unit is no more than 5 volts.
CN 200420107626 2004-11-02 2004-11-02 Powder detecting circuit Expired - Fee Related CN2777559Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200420107626 CN2777559Y (en) 2004-11-02 2004-11-02 Powder detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200420107626 CN2777559Y (en) 2004-11-02 2004-11-02 Powder detecting circuit

Publications (1)

Publication Number Publication Date
CN2777559Y true CN2777559Y (en) 2006-05-03

Family

ID=36744943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200420107626 Expired - Fee Related CN2777559Y (en) 2004-11-02 2004-11-02 Powder detecting circuit

Country Status (1)

Country Link
CN (1) CN2777559Y (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819230A (en) * 2010-05-14 2010-09-01 中兴通讯股份有限公司 Method and device for monitoring power consumption of single board
CN102769965A (en) * 2012-06-19 2012-11-07 山东浪潮华光照明有限公司 Dual power LED (Light-emitting Diode) street lamp circuit with wireless detection and control function
CN103235175A (en) * 2013-03-27 2013-08-07 四川和芯微电子股份有限公司 Power consumption detecting circuit
CN105116214A (en) * 2015-08-31 2015-12-02 重庆京东方光电科技有限公司 Power detection device
CN109709388A (en) * 2019-02-28 2019-05-03 苏州浪潮智能科技有限公司 A kind of input power circuit for detecting

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819230A (en) * 2010-05-14 2010-09-01 中兴通讯股份有限公司 Method and device for monitoring power consumption of single board
CN102769965A (en) * 2012-06-19 2012-11-07 山东浪潮华光照明有限公司 Dual power LED (Light-emitting Diode) street lamp circuit with wireless detection and control function
CN103235175A (en) * 2013-03-27 2013-08-07 四川和芯微电子股份有限公司 Power consumption detecting circuit
CN103235175B (en) * 2013-03-27 2016-01-06 四川和芯微电子股份有限公司 Power consumption detection circuit
CN105116214A (en) * 2015-08-31 2015-12-02 重庆京东方光电科技有限公司 Power detection device
CN109709388A (en) * 2019-02-28 2019-05-03 苏州浪潮智能科技有限公司 A kind of input power circuit for detecting

Similar Documents

Publication Publication Date Title
CN201269738Y (en) Intelligent converter of LVDT displacement transducer
CN2777559Y (en) Powder detecting circuit
CN102522884B (en) LDO (Low Dropout Regulator) circuit for high-input voltage
CN202256477U (en) Digital voltmeter adaptable for automatically switching range
CN203365653U (en) Low-cost battery electric quantity detection circuit
CN105007668B (en) LED light adjusting systems
CN206117500U (en) PFC circuit, PFC control circuit and switching power supply
CN2416506Y (en) Differential pressure dynamic wind speed measuring apparatus
CN207265995U (en) It is a kind of to use the key switch electromechanics road with ena-bung function linear voltage regulator
CN203133530U (en) Power management circuit
CN206020363U (en) Two-wire bus detector
CN201514441U (en) Current zero-crossing detection current circuit
CN2847304Y (en) Three phase electronic leakage and electricity stealing detecting electric energy meter
CN204335073U (en) A kind of multi-functional OLED driving power
CN201113813Y (en) Power supply converter
CN201194015Y (en) Current sampling circuit using constantan wire
CN2881754Y (en) Underground cable voltage constant voltage control circuit of petroleum logging instrument
CN203275605U (en) Generator operation state monitoring and displaying device
CN206002673U (en) A kind of voltage-stabilized power supply observation circuit
CN206671131U (en) A kind of laser PM2.5 monitors
CN2617058Y (en) Metering socket
CN2537982Y (en) Novel electric energy and electric power measuring meter
CN217132264U (en) Environmental data recorder and environmental monitoring device
CN204041249U (en) Oil-fired power generating unit control gear
CN105891704B (en) A kind of gear detection circuit of high-current switch

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee