CN108872693A - A kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure - Google Patents

A kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure Download PDF

Info

Publication number
CN108872693A
CN108872693A CN201810615118.3A CN201810615118A CN108872693A CN 108872693 A CN108872693 A CN 108872693A CN 201810615118 A CN201810615118 A CN 201810615118A CN 108872693 A CN108872693 A CN 108872693A
Authority
CN
China
Prior art keywords
chip microcontroller
filter capacitor
feet
capacitor
chip
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.)
Granted
Application number
CN201810615118.3A
Other languages
Chinese (zh)
Other versions
CN108872693B (en
Inventor
赵涛
伍喆
林扬宣
李文华
李祖光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Viewshine Intelligent Meter Co Ltd
Original Assignee
Zhejiang Viewshine Intelligent Meter 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 Zhejiang Viewshine Intelligent Meter Co Ltd filed Critical Zhejiang Viewshine Intelligent Meter Co Ltd
Priority to CN201810615118.3A priority Critical patent/CN108872693B/en
Publication of CN108872693A publication Critical patent/CN108872693A/en
Application granted granted Critical
Publication of CN108872693B publication Critical patent/CN108872693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/64Testing of capacitors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses a kind of voltage detecting circuit based on electric resistance partial pressure and capacitor charge and discharge.The present invention includes a single-chip microcontroller, a crystal oscillator, an anti-reverse diode, a Voltagre regulator chip, three resistance, eight filter capacitors, a charge and discharge capacitance, a DC power supply.Power supply provides the power supply of 3.6V to 6V, and Voltagre regulator chip exports 3.3V.Single-chip microcontroller controls output pin PC0 and was changed into output 50 microsecond of low level by high level state for loop cycle with 1.5 seconds, and single-chip microcontroller reads the voltage value of PC2 foot by detection input pin PC2.Circuit design of the present invention is simple, saves the miniaturization that PCB surface product is conducive to equipment, reduces the cost of raw material;Detection time is short, can detect supply voltage within longest 1.5 seconds;Sampling time is extremely short, reduces equipment overall power, and the instrument that can promote disposable power supply uses the time 30%;Detection does not need to increase additional backup power source and Detection accuracy is high.

Description

A kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure
Technical field
The invention belongs to instrument field of intelligent control technology, it is related to the voltage detecting based on capacitor charge and discharge and electric resistance partial pressure Circuit.
Background technique
With microprocessor, the parallel development of artificial intelligence technology, this gives instrument and meter industry to intelligent development, also It is the instrument and meter for saying intelligentized robot, the raising of level of intelligence and the speed that comparatively fast improves, this will allow people's lives More easily.
The working environment of meter electronics product is usually relatively more severe, and it is outer to usually require that instrument master control borad can detect in time Portion's supply voltage, while master control borad still can be carried out correlation function movement when outer power voltage is too low.Such as:Data are protected Deposit, motor action, backup power source switching etc..
Currently, country's standard ununified to instrument industry.What each department gas company and Instrument Corporation did not unify Scheme, each Instrument Corporation release the voltage detecting solution of oneself one after another.The scheme of current main-stream has electric resistance partial pressure AD inspection Survey method, using voltage checking chip detection method etc., these schemes have such as the defects of power consumption is big, circuit is complicated, reliability is not high. Therefore, the voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure is devised, low power consumption and low cost intelligence instrument is applied to, It is high to solve the power consumption occurred in similar application, circuit complexity, the high problem of maintenance cost.
Summary of the invention
It is an object of the invention to provide the voltage detecting circuits based on capacitor charge and discharge and electric resistance partial pressure.
A kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure, including a single-chip microcontroller U2, a crystal oscillator X1, an anti-reverse diode D1, Voltagre regulator chip U1, three resistance R, R2 and R3, a charge and discharge capacitance C1, Eight filter capacitors C2-C9, a power supply P1.
The one end first resistor R1 is connected with the anode of the anode of power supply P1, diode D1, another termination of first resistor R1 One end of second resistance R2 and one end of charge and discharge capacitance C1, the other end of second resistance R2 connect 53 feet of single-chip microcontroller U2;Power supply The cathode of P1 is grounded;The other end of charge and discharge capacitance C1 connects 57 foot of single-chip microcontroller;The cathode of diode D1 and the second filter capacitor C2 One end, Voltagre regulator chip U1 input pin connect;One end of third filter capacitor C3 and the 4th filter capacitor C4 are just Pole, Voltagre regulator chip U1 output pin connection after be used as VCC power output end;The other end of second filter capacitor C2, The grounding leg ground connection of the other end of three filter capacitor C3, the cathode of the 4th filter capacitor C4, Voltagre regulator chip U1;Crystal oscillator X1 One end 61 feet for being followed by single-chip microcontroller are connect with one end of the 5th filter capacitor C5;The other end of crystal oscillator X1 and the 6th filter capacitor One end connection of C6 is followed by 60 feet of single-chip microcontroller;Another termination of the other end of 5th filter capacitor C5, the 6th filter capacitor C6 Ground;A termination VCC power output end of 3rd resistor R3, one end phase of the other end of 3rd resistor R3 and the 7th filter capacitor C7 Connection while 2 feet for meeting single-chip microcontroller U2, the other end ground connection of the 7th filter capacitor C7;One end of 8th filter capacitor C8, the 9th One end of capacitor C9,11 feet of single-chip microcontroller U2,12 feet of single-chip microcontroller U2, single-chip microcontroller U2 13 feet be connected that be followed by VCC power supply defeated Outlet;The other end of 8th filter capacitor C8, the other end of the 9th capacitor C9 are grounded;It is defeated that 29 feet of single-chip microcontroller U2 connect VCC power supply Outlet, the 30 feet ground connection of single-chip microcontroller U2;
Single-chip microcontroller U2 uses model STM8R151L chip.
Voltagre regulator 1206B33, P1 are four section alkaline batteries.
The course of work of the present invention:
Power supply P1 provides the power supply of a 3.6V to 6V, exports 3.3V by Voltagre regulator chip U1.Single-chip microcontroller starts After work, single-chip microcontroller control foot PC0 is set as open-drain output, is changed into output 50 microsecond of low level by high level state within every 1.5 seconds, PC2 foot is set as the voltage value of floating input detection charge and discharge capacitance C1 simultaneously, and device was detected with 1.5 seconds for loop cycle.
When P1 has a power supply, and when PC0 output high level, since PC0 is open-drain output, PC0 is high-impedance state, resistance R2 with The voltage of PC0 connecting place is supply voltage, and capacitor C1 both end voltage is 0V and supply voltage;When PC0 exports low level, resistance R2 ground connection, since resistance R1 is to connect with R2, capacitor C1 both end voltage transition is the 1/2 of supply voltage, can be examined by PC2 foot Measure supply voltage.
The present invention has the beneficial effect that:
Circuit design of the present invention is simple, saves the miniaturization that PCB surface product is conducive to equipment, reduces the cost of raw material; Detection time is short, can detect supply voltage within longest 1.5 seconds;Sampling time is extremely short, reduces equipment overall power, can be promoted The instrument of disposable power supply uses the time 30%;Detection does not need to increase additional backup power source and Detection accuracy is high.
Detailed description of the invention
Fig. 1 is the voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure in the present invention;
Fig. 2 is that foot level state schematic diagram is controlled in the present invention;
Fig. 3 is that foot level state schematic diagram is detected in the present invention;
Specific embodiment
For the technology contents that the present invention will be described in detail, construction features, the effect realized, below in conjunction with embodiment and match Attached drawing is closed to be described in detail.
As shown in Figure 1-3, a kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure, including a single-chip microcontroller U2, a crystal oscillator X1, an anti-reverse diode D1, Voltagre regulator chip a U1, three resistance R, R2 and R3, one fill Discharge capacity C1, eight filter capacitors C2-C9, a power supply P1.
The one end first resistor R1 is connected with the anode of the anode of power supply P1, diode D1, another termination of first resistor R1 One end of second resistance R2 and one end of charge and discharge capacitance C1, the other end of second resistance R2 connect 53 feet of single-chip microcontroller U2;Power supply The cathode of P1 is grounded;The other end of charge and discharge capacitance C1 connects 57 foot of single-chip microcontroller;The cathode of diode D1 and the second filter capacitor C2 One end, Voltagre regulator chip U1 input pin connect;One end of third filter capacitor C3 and the 4th filter capacitor C4 are just Pole, Voltagre regulator chip U1 output pin connection after be used as VCC power output end;The other end of second filter capacitor C2, The grounding leg ground connection of the other end of three filter capacitor C3, the cathode of the 4th filter capacitor C4, Voltagre regulator chip U1;Crystal oscillator X1 One end 61 feet for being followed by single-chip microcontroller are connect with one end of the 5th filter capacitor C5;The other end of crystal oscillator X1 and the 6th filter capacitor One end connection of C6 is followed by 60 feet of single-chip microcontroller;Another termination of the other end of 5th filter capacitor C5, the 6th filter capacitor C6 Ground;A termination VCC power output end of 3rd resistor R3, one end phase of the other end of 3rd resistor R3 and the 7th filter capacitor C7 Connection while 2 feet for meeting single-chip microcontroller U2, the other end ground connection of the 7th filter capacitor C7;One end of 8th filter capacitor C8, the 9th One end of capacitor C9,11 feet of single-chip microcontroller U2,12 feet of single-chip microcontroller U2, single-chip microcontroller U2 13 feet be connected that be followed by VCC power supply defeated Outlet;The other end of 8th filter capacitor C8, the other end of the 9th capacitor C9 are grounded;It is defeated that 29 feet of single-chip microcontroller U2 connect VCC power supply Outlet, the 30 feet ground connection of single-chip microcontroller U2;Single-chip microcontroller U2 uses model STM8R151L chip.
The course of work of the present invention is as follows:
As shown in Fig. 2, power supply P1 provides the power supply of a 3.6V to 6V, 3.3V is exported by Voltagre regulator chip U1. After single-chip microcontroller is started to work, single-chip microcontroller control foot PC0 is set as open-drain output, and it is low by high level state to be changed into output within every 1.5 seconds 50 microsecond of level, while PC2 foot is set as the voltage value of floating input detection charge and discharge capacitance C1, device was followed with 1.5 seconds for the period Ring detection.
As shown in figure 3, when P1 has power supply, and when PC0 output high level, since PC0 is open-drain output, PC0 is high resistant The voltage of state, resistance R2 and PC0 connecting place is supply voltage, and capacitor C1 both end voltage is 0V and supply voltage;When PC0 output is low When level, resistance R2 ground connection, since resistance R1 is to connect with R2, capacitor C1 both end voltage transition is the 1/2 of supply voltage, is passed through PC2 foot can detect supply voltage.

Claims (1)

1. a kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure, it is characterised in that including a single-chip microcontroller U2, One crystal oscillator X1, an anti-reverse diode D1, Voltagre regulator chip U1, three resistance R, R2 and R3, a charge and discharge Capacitor C1, eight filter capacitors C2-C9, a power supply P1;
The one end first resistor R1 is connected with the anode of the anode of power supply P1, diode D1, another termination second of first resistor R1 One end of resistance R2 and one end of charge and discharge capacitance C1, the other end of second resistance R2 connect 53 feet of single-chip microcontroller U2;Power supply P1's Cathode ground connection;The other end of charge and discharge capacitance C1 connects 57 foot of single-chip microcontroller;The one of the cathode of diode D1 and the second filter capacitor C2 It holds, the input pin of Voltagre regulator chip U1 connects;One end of third filter capacitor C3 and anode, the electricity of the 4th filter capacitor C4 VCC power output end is used as after pressing the output pin connection of voltage regulator chip U1;The other end of second filter capacitor C2, third filtering The grounding leg ground connection of the other end of capacitor C3, the cathode of the 4th filter capacitor C4, Voltagre regulator chip U1;One end of crystal oscillator X1 61 feet for being followed by single-chip microcontroller are connect with one end of the 5th filter capacitor C5;The one of the other end of crystal oscillator X1 and the 6th filter capacitor C6 End connection is followed by 60 feet of single-chip microcontroller;The other end of 5th filter capacitor C5, the other end of the 6th filter capacitor C6 are grounded;Third A termination VCC power output end of resistance R3, the other end of 3rd resistor R3 are connected together with one end of the 7th filter capacitor C7 When connect 2 feet of single-chip microcontroller U2, the other end ground connection of the 7th filter capacitor C7;One end of 8th filter capacitor C8, the 9th capacitor C9 One end, 11 feet of single-chip microcontroller U2,12 feet of single-chip microcontroller U2, single-chip microcontroller U2 13 feet be connected and be followed by VCC power output end;The The other end of eight filter capacitor C8, the other end of the 9th capacitor C9 are grounded;29 feet of single-chip microcontroller U2 connect VCC power output end, single 30 feet of piece machine U2 are grounded;Single-chip microcontroller U2 uses model STM8R151L chip.
CN201810615118.3A 2018-06-14 2018-06-14 Voltage detection circuit based on capacitor charge and discharge and resistor voltage division Active CN108872693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810615118.3A CN108872693B (en) 2018-06-14 2018-06-14 Voltage detection circuit based on capacitor charge and discharge and resistor voltage division

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810615118.3A CN108872693B (en) 2018-06-14 2018-06-14 Voltage detection circuit based on capacitor charge and discharge and resistor voltage division

Publications (2)

Publication Number Publication Date
CN108872693A true CN108872693A (en) 2018-11-23
CN108872693B CN108872693B (en) 2024-07-02

Family

ID=64339017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810615118.3A Active CN108872693B (en) 2018-06-14 2018-06-14 Voltage detection circuit based on capacitor charge and discharge and resistor voltage division

Country Status (1)

Country Link
CN (1) CN108872693B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110687837A (en) * 2019-08-30 2020-01-14 浙江威星智能仪表股份有限公司 Power failure detection circuit based on single chip microcomputer
CN110750058A (en) * 2019-08-30 2020-02-04 浙江威星智能仪表股份有限公司 Temperature acquisition circuit based on singlechip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103187738A (en) * 2011-12-28 2013-07-03 海洋王照明科技股份有限公司 Charging circuit and charger
CN104713615A (en) * 2015-03-23 2015-06-17 杭州电子科技大学 Circuit of drainage pipe network liquid level measurement device
WO2017101231A1 (en) * 2015-12-18 2017-06-22 深圳市中孚能电气设备有限公司 Portable power circuit for lamp and lamp
WO2017143493A1 (en) * 2016-02-22 2017-08-31 深圳凯世光研股份有限公司 Electronic ballast for remote regulation and control via app
CN208588774U (en) * 2018-06-14 2019-03-08 浙江威星智能仪表股份有限公司 Voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103187738A (en) * 2011-12-28 2013-07-03 海洋王照明科技股份有限公司 Charging circuit and charger
CN104713615A (en) * 2015-03-23 2015-06-17 杭州电子科技大学 Circuit of drainage pipe network liquid level measurement device
WO2017101231A1 (en) * 2015-12-18 2017-06-22 深圳市中孚能电气设备有限公司 Portable power circuit for lamp and lamp
WO2017143493A1 (en) * 2016-02-22 2017-08-31 深圳凯世光研股份有限公司 Electronic ballast for remote regulation and control via app
CN208588774U (en) * 2018-06-14 2019-03-08 浙江威星智能仪表股份有限公司 Voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵顺洪;: "基于80C52的充放电法测高值电阻", 科学咨询(科技・管理), no. 10 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110687837A (en) * 2019-08-30 2020-01-14 浙江威星智能仪表股份有限公司 Power failure detection circuit based on single chip microcomputer
CN110750058A (en) * 2019-08-30 2020-02-04 浙江威星智能仪表股份有限公司 Temperature acquisition circuit based on singlechip

Also Published As

Publication number Publication date
CN108872693B (en) 2024-07-02

Similar Documents

Publication Publication Date Title
CN208588774U (en) Voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure
CN206805738U (en) Residual current type detector for electric fire protection
CN108872693A (en) A kind of voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure
CN104216494A (en) Single chip microcomputer controlled power grid detection and reset circuit
CN207704007U (en) A kind of DC power supply power-fail detection circuit
CN105807645B (en) A kind of method for controlling power supply and electronic equipment
CN201584957U (en) Touch key circuit, touch control device, touch screen and electronic equipment
CN204945296U (en) A kind of cellular phone data line tester
CN209560016U (en) A kind of DC power supply plate connector detection system
CN208571948U (en) A kind of primary side feedback Switching Power Supply control chip, control system and charger
CN208754183U (en) Power circuit and its indoor display unit based on MicroUSB power supply
CN203519735U (en) Electrostatic detection apparatus
CN207339649U (en) A kind of stabilized voltage supply device for being used for the double ultrasonic rangings of intelligence
CN103353566B (en) Battery for mimic channel equipment testing circuit in place
CN103499749B (en) A kind of electrostatic testing apparatus
CN206922502U (en) Power-down protection control circuit and electronic equipment
CN209372947U (en) A kind of power-fail detection circuit
CN208188198U (en) New electric energy metering and equipment for monitoring power quality
CN209656865U (en) A kind of DC voltage overvoltage/undervoltage detection circuit
CN203772966U (en) A portable measuring instrument
CN209593018U (en) A kind of capacitor of lithium ion battery over-discharge protection circuit
CN107294360B (en) Network tester externally connected with power supply interface and control method thereof
CN206671131U (en) A kind of laser PM2.5 monitors
CN205688220U (en) A kind of intelligent washing machine control system
CN204256029U (en) Residual voltage proving installation

Legal Events

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