CN109193910A - A kind of battery switching circuit and battery switching method - Google Patents

A kind of battery switching circuit and battery switching method Download PDF

Info

Publication number
CN109193910A
CN109193910A CN201811226310.XA CN201811226310A CN109193910A CN 109193910 A CN109193910 A CN 109193910A CN 201811226310 A CN201811226310 A CN 201811226310A CN 109193910 A CN109193910 A CN 109193910A
Authority
CN
China
Prior art keywords
voltage
resistance
control terminal
battery
stabiliser tube
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.)
Pending
Application number
CN201811226310.XA
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 AEROSPACE ENERGY CO Ltd
Original Assignee
SHANGHAI AEROSPACE ENERGY 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 SHANGHAI AEROSPACE ENERGY CO Ltd filed Critical SHANGHAI AEROSPACE ENERGY CO Ltd
Priority to CN201811226310.XA priority Critical patent/CN109193910A/en
Publication of CN109193910A publication Critical patent/CN109193910A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/36Arrangements using end-cell switching

Abstract

The present invention provides a kind of battery switching circuit and battery switching method, battery switching circuit includes the metal-oxide-semiconductor control circuit containing at least two metal-oxide-semiconductor control units in parallel;Metal-oxide-semiconductor control unit includes: connector, and positive terminal connects the anode of battery, its negative pole end connection battery cathode;First control terminal, the second control terminal and third control terminal, are separately connected the I/O port of single-chip microcontroller;First field-effect tube, grid connect the first control terminal, and source electrode connects the positive terminal of connector, connects master control borad after the drain electrode of the first field-effect tube of each metal-oxide-semiconductor control unit is in parallel;Second field-effect tube, grid connect the second control terminal, and source electrode connects the positive terminal of connector, and drain electrode is connected by the first branch of resistor voltage divider circuit with third control terminal.The state of the control of metal-oxide-semiconductor control circuit and real time monitoring battery, realizes the seamless switching of multiple groups battery, it is ensured that effective monitoring of the pressure controller to the pipeline longer time.

Description

A kind of battery switching circuit and battery switching method
Technical field
The present invention relates to battery circuit field more particularly to a kind of battery switching circuits and battery switching method.
Background technique
The maintenance to transport pipeline and the real time monitoring of conduit running state may be implemented in pressure controller, and battery needs Energy resource supply is provided for a long time, but in the circuit of existing pressure controller, when system cut-off or voltage are lower than its operating voltage, System is not normally functioning, and the maintenance and real time monitoring to transport pipeline bring certain influence.
Summary of the invention
For this purpose, being controlled the purpose of the present invention is to provide a kind of battery switching circuit and battery switching method for pressure Device is controlled and is monitored in real time the state of every group of battery by metal-oxide-semiconductor (field-effect tube) control circuit, and effective battery electricity Pressure condition information sends single-chip microcontroller to, can effectively manage and coordinate multiple groups battery and externally discharge, to realize pressure controller Effective monitoring to the pipeline longer time.
To achieve the above object, the invention adopts the following technical scheme:
First aspect of the present invention provides a kind of battery switching circuit, including metal-oxide-semiconductor control circuit, the metal-oxide-semiconductor control Circuit processed includes at least two metal-oxide-semiconductor control units in parallel;
Each metal-oxide-semiconductor control unit includes:
Connector, the connector include the cathode for connecting the positive terminal and the connection battery of the anode of battery Negative pole end;
First control terminal, the second control terminal and third control terminal, are connected with the I/O port of single-chip microcontroller respectively;
The grid of first field-effect tube, first field-effect tube is connected with the first control terminal, first field-effect The source electrode of pipe is connected with the positive terminal of the connector, first field-effect tube of each metal-oxide-semiconductor control unit For connecting master control borad after drain electrode is in parallel;
The grid of second field-effect tube, second field-effect tube is connected with the second control terminal, second field-effect The source electrode of pipe is connected with the positive terminal of the connector, the drain electrode of second field-effect tube pass through resistor voltage divider circuit the One branch is connected with the third control terminal, the negative pole end one of the second branch of the resistor voltage divider circuit and the connector Play ground connection;
The input terminal of the positive terminal connection regulated power supply of the connector of one of them metal-oxide-semiconductor control unit, institute The output end for stating regulated power supply connects the I/O port, jtag port and power port of the single-chip microcontroller, for being the single-chip microcontroller Direct current is provided.
Preferably, the grid of first field-effect tube is connected by first resistor with first control terminal, in institute It states between first resistor and first control terminal, is connected with the first voltage-stabiliser tube in parallel, the second voltage-stabiliser tube;Wherein, described One voltage-stabiliser tube, second voltage-stabiliser tube cathode be connected between the first resistor and first control terminal, described first The plus earth of voltage-stabiliser tube, second voltage-stabiliser tube.
Preferably, the grid of second field-effect tube is connected by second resistance with second control terminal, in institute It states between second resistance and second control terminal, is connected with third voltage-stabiliser tube in parallel, the 4th voltage-stabiliser tube;Wherein, described Three voltage-stabiliser tubes, the 4th voltage-stabiliser tube cathode be connected between the second resistance and second control terminal, the third The plus earth of voltage-stabiliser tube, the 4th voltage-stabiliser tube.
It is highly preferred that the metal-oxide-semiconductor control unit further includes 3rd resistor, one end of the 3rd resistor and described first The source electrode of field-effect tube is connected, and the other end is connected with the grid of second field-effect tube.
Preferably, the resistor voltage divider circuit includes concatenated 4th resistance and the 5th resistance;
One end of 4th resistance is connected with the drain electrode of second field-effect tube, and the other end and the third control End is connected;Between the 4th resistance and the third control terminal, it is connected with the 5th voltage-stabiliser tube in parallel, the 6th pressure stabilizing Pipe;Wherein, the 5th voltage-stabiliser tube, the 6th voltage-stabiliser tube cathode be connected to the 4th resistance and the third control terminal Between, the plus earth of the 5th voltage-stabiliser tube, the 6th voltage-stabiliser tube;
One end of 5th resistance is connected with the 4th resistance, and the other end is together with the negative pole end of the connector Ground connection.
Preferably, transient voltage suppressor, the transient state electricity are connected between the positive terminal and negative pole end of the connector The cathode of pressure suppressor is connected with the positive terminal of the connector, anode and the connector of the Transient Voltage Suppressor Negative pole end be connected.
Preferably, a kind of battery switching circuit further includes LED display unit, and the LED display unit includes at least Two display channels, the quantity of the display channel are corresponding with the quantity of the metal-oxide-semiconductor control unit;Each display is logical Road includes sequentially connected light emitting diode and the 6th resistance, and the anode of the light emitting diode connects the regulated power supply, institute The cathode for stating light emitting diode connects one end of the 6th resistance, and the other end of the 6th resistance connects the single-chip microcontroller I/O port.
It is highly preferred that described the another of 6th resistance is terminated with test point, for testing the work of the light emitting diode State.
Preferably, a kind of battery switching circuit further includes reset circuit of SCM, the reset circuit of SCM packet The 7th resistance and diode in parallel are included, one end of the 7th resistance connect the pressure stabilizing with the cathode of the diode jointly Power supply, the other end of the 7th resistance connect the reseting port of the single-chip microcontroller with the anode of the diode, and the described 7th The anode of the other end of resistance and the diode is also grounded by first capacitor.
Preferably, the regulated power supply includes a voltage stabilizing chip, and the voltage stabilizing chip includes input terminal, ground terminal, enables End and output end;
The input terminal of the voltage stabilizing chip is connected with the input terminal of the regulated power supply;In the input of the voltage stabilizing chip Between end and the input terminal of the regulated power supply, it is connected with the 7th voltage-stabiliser tube in parallel, the 8th voltage-stabiliser tube;7th pressure stabilizing Pipe, the 8th voltage-stabiliser tube cathode be connected between the input terminal of the voltage stabilizing chip and the input terminal of the regulated power supply, The plus earth of 7th voltage-stabiliser tube, the 8th voltage-stabiliser tube;
The enable end of the voltage stabilizing chip is connected by the 8th resistance with the input terminal of the regulated power supply, and the described 8th The enable end of the voltage stabilizing chip is pulled to high level by resistance makes the regulated power supply be placed in operating mode;
The ground terminal of the voltage stabilizing chip is grounded;
The output end of the voltage stabilizing chip is connected with the output end of the regulated power supply, the output end of the voltage stabilizing chip Also pass through the second capacity earth.
The second aspect of the present invention provides a kind of battery switching method, this method comprises:
The single-chip microcontroller controls second control terminal and sets low, the second field-effect tube conducting, the voltage of the battery It is exported after being divided by the resistor voltage divider circuit by the third control terminal and carries out battery voltage information to the single-chip microcontroller Acquisition;
The single-chip microcontroller controls first control terminal, first control terminal according to the battery voltage information of acquisition It setting low, first field-effect tube conducting, the battery is in supplying power for outside state, and first control terminal sets height, and described the The cut-off of one field-effect tube, the battery are in externally output off state.
Compared with prior art, technical solution of the present invention has the advantages that
The present invention provides a kind of battery switching circuit and battery switching methods, are used for pressure controller, pass through metal-oxide-semiconductor control Circuit processed controls and monitors in real time the state of every group of battery, and effective cell voltage status information is sent to single-chip microcontroller, It can effectively manage and coordinate multiple groups battery and externally discharge, the seamless switching of multiple groups battery is realized by the way of hardware, it is ensured that Effective monitoring of the pressure controller to the pipeline longer time.
Detailed description of the invention
Attached drawing is constituted part of this application to be used to provide further understanding of the present application, the schematic implementation of the application Example and its explanation are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the circuit diagram of the metal-oxide-semiconductor control unit of the embodiment of the present invention;
Fig. 2 is the circuit diagram of the metal-oxide-semiconductor control circuit of the embodiment of the present invention;
Fig. 3 is the single-chip microcontroller of the embodiment of the present invention and the circuit diagram of LED display unit;
Fig. 4 is the circuit diagram of the reset circuit of SCM of the embodiment of the present invention;
Fig. 5 is the circuit diagram of the regulated power supply of the embodiment of the present invention.
Specific embodiment
The present invention provides a kind of battery switching circuit and battery switching method, for make the purpose of the present invention, technical solution and Effect is clearer, clear, referring to the drawings and gives an actual example that the present invention is described in more detail.It should be appreciated that this place Specific examples are only used to explain the present invention for description, is not intended to limit the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order, it should be appreciated that is used in this way Data be interchangeable under appropriate circumstances.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
Embodiment:
A kind of battery switching circuit, including metal-oxide-semiconductor control circuit, the metal-oxide-semiconductor control circuit include six MOS in parallel Pipe control unit and six batteries are the first metal-oxide-semiconductor control unit, the second metal-oxide-semiconductor control unit, the control of third metal-oxide-semiconductor respectively Unit, the 4th metal-oxide-semiconductor control unit, the 5th metal-oxide-semiconductor control unit, the 6th metal-oxide-semiconductor control unit, the first battery, the second battery, Third battery, the 4th battery, the 5th battery and the 6th battery.
The circuit structure of each metal-oxide-semiconductor control unit is identical, makees detailed retouch to the first metal-oxide-semiconductor control unit here It states, the circuit structure of remaining metal-oxide-semiconductor control unit repeats no more.
Fig. 1 is the circuit diagram of the metal-oxide-semiconductor control unit of the embodiment of the present invention.
As shown in Figure 1, the first metal-oxide-semiconductor control unit includes:
Connector J1, the connector J1 include positive terminal and the connection described first for connecting the anode of the first battery The negative pole end of the cathode of battery.
First control terminal CTRL1, the second control terminal ADCEN1 and third control terminal ADC1, respectively with the IO of single-chip microcontroller U10 36 pins, 44 pins and 59 pins of port are connected.
First field-effect tube U1, the grid of the first field-effect tube U1 are connected with the first control terminal CTRL1, and described The source electrode of one field-effect tube U1 is connected with the positive terminal of the connector J1, and described the of each metal-oxide-semiconductor control unit For connecting master control borad after the drain electrode of one field-effect tube U1 is in parallel.
Second field-effect tube Q1, the grid of the second field-effect tube Q1 is connected with the second control terminal ADCEN1, described The source electrode of second field-effect tube Q1 is connected with the positive terminal of the connector J1, and the drain electrode of the second field-effect tube Q1 passes through The first branch of resistor voltage divider circuit is connected with the third control terminal ADC1, the second branch of the resistor voltage divider circuit with The negative pole end of the connector J1 is grounded together.
The input terminal of the positive terminal connection regulated power supply of the connector J1 of one of them metal-oxide-semiconductor control unit, The output end of the regulated power supply connects I/O port, jtag port and the power port of the single-chip microcontroller U10, for being the list Piece machine U10 provides direct current.
It is set low when the single-chip microcontroller U10 controls the second control terminal ADCEN1, the second field-effect tube Q1 conducting, institute The voltage of the first battery is stated by exporting by the third control terminal ADC1 to the list after resistor voltage divider circuit partial pressure Piece machine U10 carries out battery voltage information acquisition;The single-chip microcontroller U10 is according to the battery voltage information of acquisition control described the One control terminal CTRL1, the first control terminal CTRL1 are set low, and first battery is in supplying power for outside state, first control End CTRL1 processed sets height, the first field-effect tube U1 cut-off, and first battery is in externally output off state.
Specifically, the grid of the first field-effect tube U1 passes through first resistor R1 and the first control terminal CTRL1 phase Connection is connected with the first voltage-stabiliser tube Z1 in parallel, second between the first resistor R1 and the first control terminal CTRL1 Voltage-stabiliser tube Z2;Wherein, the first voltage-stabiliser tube Z1, the second voltage-stabiliser tube Z2 cathode be connected to the first resistor R1 and institute It states between the first control terminal CTRL1, the plus earth of the first voltage-stabiliser tube Z1, the second voltage-stabiliser tube Z2.
The grid of the second field-effect tube Q1 is connected by second resistance R19 with the second control terminal ADCEN1, Between the second resistance R19 and the second control terminal ADCEN1, it is connected with third voltage-stabiliser tube Z3 in parallel, the 4th pressure stabilizing Pipe Z4;Wherein, the third voltage-stabiliser tube Z3, the 4th voltage-stabiliser tube Z4 cathode be connected to the second resistance R19 and described Between second control terminal ADCEN1, the plus earth of the third voltage-stabiliser tube Z3, the 4th voltage-stabiliser tube Z4.
The metal-oxide-semiconductor control unit further includes 3rd resistor R25, one end of the 3rd resistor R25 with described first The source electrode of effect pipe U1 is connected, and the other end is connected with the grid of the second field-effect tube Q1.
The resistor voltage divider circuit includes concatenated 4th resistance R7 and the 5th resistance R8.One end of the 4th resistance R7 It is connected with the drain electrode of the second field-effect tube Q1, the other end is connected with the third control terminal ADC1.The described 4th Between resistance R7 and the third control terminal ADC1, it is connected with the 5th voltage-stabiliser tube Z5, the 6th voltage-stabiliser tube Z6 in parallel;Wherein, institute State the 5th voltage-stabiliser tube Z5, the cathode of the 6th voltage-stabiliser tube Z6 is connected to the 4th resistance R7 and the third control terminal ADC1 Between, the plus earth of the 5th voltage-stabiliser tube Z5, the 6th voltage-stabiliser tube Z6.One end of the 5th resistance R8 and described the Four resistance R7 are connected, and the other end is grounded together with the negative pole end of the connector J1.
The 4th resistance R7 and the 5th resistance R8 series connection partial pressure, so that the output electricity of the third control terminal ADC1 Pressure is the R8/ (R7+R8) of the input voltage of first battery, i.e. output voltage is less than input voltage, that is to say, that resistance point Volt circuit decays to input signal.In the present embodiment, the resistance value of the 4th resistance R7 and the 5th resistance R8 Identical, the output voltage of the third control terminal ADC1 is the half of the input voltage of first battery.
Transient voltage suppressor D1, the transient voltage suppression are connected between the positive terminal and negative pole end of the connector J1 The cathode of device D1 processed is connected with the positive terminal of the connector J1, and the anode of the Transient Voltage Suppressor D1 is patched with described The negative pole end of part J1 is connected.
The Transient Voltage Suppressor D1 works in reverse blocking state in circuit, it does not influence any of circuit at this time Function.Under the conditions of defined applied in reverse, when occurring significantly glitch or pulse current in circuit, the transient state Voltage suppressor D1 is rapidly converting to reverse-conducting state in a very short period of time, and by the voltage clamping of circuit in required peace Entirely numerically, so that it is against damages to be effectively protected component;After the disturbing pulse past, the Transient Voltage Suppressor D1 turns again To reverse blocking state.
Fig. 2 is the circuit diagram of the metal-oxide-semiconductor control circuit of the embodiment of the present invention.
Fig. 3 is the single-chip microcontroller of the embodiment of the present invention and the circuit diagram of LED display unit.In the present embodiment, the list Piece machine U10 selects MSP430F169 single-chip microcontroller.
As described in Fig. 2 and Fig. 3, six metal-oxide-semiconductor control units are in parallel.Wherein, the first metal-oxide-semiconductor control unit First control terminal CTRL1, the first control terminal CTRL2 of the second metal-oxide-semiconductor control unit, the third metal-oxide-semiconductor control unit The first control terminal CTRL3, the first control terminal CTRL4 of the 4th metal-oxide-semiconductor control unit, the 5th metal-oxide-semiconductor control it is single First control terminal CTRL5 of member and the first control terminal CTRL6 of the 6th metal-oxide-semiconductor control unit are separately connected the single-chip microcontroller 36 pins, 37 pins, 38 pins, 39 pins, 40 pins and 41 pins of U10;Second control of the first metal-oxide-semiconductor control unit End ADCEN1 processed, the second control terminal ADCEN2 of the second metal-oxide-semiconductor control unit, the third metal-oxide-semiconductor control unit Two control terminal ADCENL3, the second control terminal ADCEN4 of the 4th metal-oxide-semiconductor control unit, the 5th metal-oxide-semiconductor control unit The second control terminal ADCEN5 and the second control terminal ADCEN6 of the 6th metal-oxide-semiconductor control unit be separately connected the single-chip microcontroller 34 pins, 45 pins, 46 pins, 47 pins, 48 pins and 49 pins of U10;The third control of the first metal-oxide-semiconductor control unit End ADC1 processed, the second metal-oxide-semiconductor control unit third control terminal ADC2, the third metal-oxide-semiconductor control unit third control End ADCE3 processed, the 4th metal-oxide-semiconductor control unit third control terminal ADC4, the 5th metal-oxide-semiconductor control unit third control The end ADC5 processed and third control terminal ADC6 of the 6th metal-oxide-semiconductor control unit be separately connected the single-chip microcontroller U10 59 pins, 60 pins, 61 pins, 2 pins, 3 pins and 4 pins.
The drain electrode of the first field-effect tube U1 of the first metal-oxide-semiconductor control unit, the second metal-oxide-semiconductor control unit The drain electrode of the first field-effect tube U2, the drain electrode of the first field-effect tube U3 of the third metal-oxide-semiconductor control unit, institute State the drain electrode of the first field-effect tube U4 of the 4th metal-oxide-semiconductor control unit, the 5th metal-oxide-semiconductor control unit described first Field-effect tube U5 drain electrode and the 6th metal-oxide-semiconductor control unit the first field-effect tube U6 drain electrode parallel connection after with it is described Master control borad is connected.In a kind of preferred embodiment, the first field-effect tube of above-mentioned metal-oxide-semiconductor control unit drain electrode and Join between end and the master control borad, is connected with voltage-stabiliser tube Z39 and voltage-stabiliser tube Z40 in parallel.The cathode of the voltage-stabiliser tube Z39 and institute State voltage-stabiliser tube Z40 cathode be connected to above-mentioned metal-oxide-semiconductor control unit the first field-effect tube drain electrode parallel connected end and the master It controls between plate, the anode of the voltage-stabiliser tube Z39 and the plus earth of the voltage-stabiliser tube Z40.In a kind of preferred embodiment, The parallel connected end of the drain electrode of first field-effect tube of above-mentioned metal-oxide-semiconductor control unit also passes through a capacitor C8 ground connection.
A kind of battery switching circuit further includes LED display unit, and the LED display unit includes at least two displays Channel, the quantity of the display channel are corresponding with the quantity of the metal-oxide-semiconductor control unit.Each display channel include according to The light emitting diode of secondary connection and the 6th resistance, the 6th resistance can reduce the electric current for flowing through the Light-Emitting Diode, prevent Stop loss bad LED light.The anode of the light emitting diode connects the regulated power supply, described in the cathode connection of the light emitting diode The other end of one end of the 6th resistance, the 6th resistance connects the I/O port of the single-chip microcontroller U10.6th resistance it is another One end is further connected with test point, for testing the working condition of the light emitting diode.
In the present embodiment, the LED display unit includes six display channels, and respectively the first display channel, second show Show channel, third display channel, the 4th display channel, the 5th display channel and the 6th display channel.The single-chip microcontroller U10 passes through The metal-oxide-semiconductor control circuit collects the battery voltage information of six groups of batteries, aobvious by the LED display unit after data processing Show the use state of each battery.
First display channel includes the first Light-Emitting Diode LED1 being sequentially connected in series, resistance R34, and described first shines The anode of diode LED1 connects the regulated power supply, and the cathode of the first Light-Emitting Diode LED1 connects the one of resistance R34 End, the other end of resistance R34 connect the J2 pin of the single-chip microcontroller U10.The other end of resistance R34 is further connected with the first test point T1。
Second display channel includes the second Light-Emitting Diode LED2 being sequentially connected in series, resistance R35, and described second shines The anode of diode LED2 connects the regulated power supply, and the cathode of the second Light-Emitting Diode LED2 connects the one of resistance R35 End, the other end of resistance R35 connect the J3 pin of the single-chip microcontroller U10.The other end of resistance R35 is further connected with the second test point T2。
The third display channel includes the third Light-Emitting Diode LED3 being sequentially connected in series, resistance R36, and the third shines The anode of diode LED3 connects the regulated power supply, and the cathode of the third Light-Emitting Diode LED3 connects the one of resistance R36 End, the other end of resistance R36 connect the J4 pin of the single-chip microcontroller U10.The other end of resistance R36 is further connected with third test point T3。
4th display channel includes the 4th Light-Emitting Diode LED4, the resistance R37 being sequentially connected in series, and the described 4th shines The anode of diode LED4 connects the regulated power supply, and the cathode of the 4th Light-Emitting Diode LED4 connects the one of resistance R37 End, the other end of resistance R37 connect the J5 pin of the single-chip microcontroller U10.The other end of resistance R37 is further connected with the 4th test point T4。
5th display channel includes the 5th Light-Emitting Diode LED5, the resistance R38 being sequentially connected in series, and the described 5th shines The anode of diode LED5 connects the regulated power supply, and the cathode of the 5th Light-Emitting Diode LED5 connects the one of resistance R38 End, the other end of resistance R38 connect the J6 pin of the single-chip microcontroller U10.The other end of resistance R38 is further connected with the 5th test point T5。
6th display channel includes the 6th Light-Emitting Diode LED6, the resistance R39 being sequentially connected in series, and the described 6th shines The anode of diode LED6 connects the regulated power supply, and the cathode of the 6th Light-Emitting Diode LED6 connects the one of resistance R39 End, the other end of resistance R39 connect the J7 pin of the single-chip microcontroller U10.The other end of resistance R39 is further connected with the 6th test point T6。
Fig. 4 is the circuit diagram of the reset circuit of SCM of the embodiment of the present invention.
A kind of battery switching circuit further includes reset circuit of SCM.As shown in figure 4, the reset circuit of SCM Including the 7th resistance R32 and diode D20 in parallel, one end of the 7th resistance R32 and the cathode of the diode D20 are total With the regulated power supply is connected, the other end of the 7th resistance R32 connect the single-chip microcontroller with the anode of the diode D20 58 pins of U10, the other end of the 7th resistance R32 are also grounded by first capacitor C3 with the anode of the diode D20.
When single-chip microcontroller U10 powered on moment keeps low level since the both end voltage of the first capacitor C3 cannot be mutated, The single-chip microcontroller U10 starts to reset;Later as time goes by the regulated power supply by the 7th resistance R32 to described the One capacitor C3 charging, the both end voltage of the first capacitor C3 is high level when fully charged, and the single-chip microcontroller U10 starts normal work Make.
Fig. 5 is the circuit diagram of the regulated power supply of the embodiment of the present invention.
A kind of battery switching circuit further includes regulated power supply.In the present embodiment, shown regulated power supply is selected TPS70933 regulated power supply.TPS70933 regulated power supply is the ultra low quiescent current device designed for the application of sensitive power consumption class.
As shown in figure 5, the regulated power supply includes a voltage stabilizing chip U8, the voltage stabilizing chip U8 includes input terminal IN, connects Ground terminal GND, enable end EN and output end OUT.
The input terminal of the voltage stabilizing chip U8 is connected with the input terminal of the regulated power supply.The voltage stabilizing chip U8's Between input terminal and the input terminal of the regulated power supply, it is connected with the 7th voltage-stabiliser tube Z37, the 8th voltage-stabiliser tube Z38 in parallel;It is described 7th voltage-stabiliser tube Z37, the 8th voltage-stabiliser tube Z38 cathode be connected to the input terminal and pressure stabilizing electricity of the voltage stabilizing chip U8 Between the input terminal in source, the plus earth of the 7th voltage-stabiliser tube Z37, the 8th voltage-stabiliser tube Z38.
The enable end EN of the voltage stabilizing chip U8 is connected by the 8th resistance R33 with the input terminal of the regulated power supply, The enable end of the voltage stabilizing chip U8 is pulled to high level by the 8th resistance R33 makes the regulated power supply be placed in Working mould Formula.
The ground terminal GND of the voltage stabilizing chip U8 is grounded.
The output end OUT of the voltage stabilizing chip U8 is connected with the output end of the regulated power supply, the voltage stabilizing chip U8 Output end also pass through the second capacitor C21 ground connection.
Specific embodiments of the present invention are described in detail above, but it is merely an example, the present invention is simultaneously unlimited It is formed on particular embodiments described above.To those skilled in the art, any couple of present invention carries out equivalent modifications and Substitution is also all among scope of the invention.Therefore, without departing from the spirit and scope of the invention made by equal transformation and Modification, all should be contained within the scope of the invention.

Claims (10)

1. a kind of battery switching circuit, it is characterised in that: including metal-oxide-semiconductor control circuit, the metal-oxide-semiconductor control circuit includes at least Two metal-oxide-semiconductor control units in parallel;
Each metal-oxide-semiconductor control unit includes:
Connector, the connector include the cathode for connecting the cathode of positive terminal and the connection battery of the anode of battery End;
First control terminal, the second control terminal and third control terminal, are connected with the I/O port of single-chip microcontroller respectively;
The grid of first field-effect tube, first field-effect tube is connected with the first control terminal, first field-effect tube Source electrode is connected with the positive terminal of the connector, the drain electrode of first field-effect tube of each metal-oxide-semiconductor control unit For connecting master control borad after parallel connection;
The grid of second field-effect tube, second field-effect tube is connected with the second control terminal, second field-effect tube Source electrode is connected with the positive terminal of the connector, and the drain electrode of second field-effect tube passes through first of resistor voltage divider circuit Road is connected with the third control terminal, and the second branch of the resistor voltage divider circuit connects together with the negative pole end of the connector Ground;
The input terminal of the positive terminal connection regulated power supply of the connector of one of them metal-oxide-semiconductor control unit is described steady The output end of voltage source connects the I/O port, jtag port and power port of the single-chip microcontroller, for providing for the single-chip microcontroller Direct current.
2. a kind of battery switching circuit according to claim 1, it is characterised in that: the grid of first field-effect tube is logical It crosses first resistor to be connected with first control terminal, between the first resistor and first control terminal, be connected with simultaneously The first voltage-stabiliser tube, the second voltage-stabiliser tube of connection;Wherein, first voltage-stabiliser tube, second voltage-stabiliser tube cathode be connected to it is described Between first resistor and first control terminal, the plus earth of first voltage-stabiliser tube, second voltage-stabiliser tube.
3. a kind of battery switching circuit according to claim 1, it is characterised in that: the grid of second field-effect tube is logical It crosses second resistance to be connected with second control terminal, between the second resistance and second control terminal, be connected with simultaneously Third voltage-stabiliser tube, the 4th voltage-stabiliser tube of connection;Wherein, the third voltage-stabiliser tube, the 4th voltage-stabiliser tube cathode be connected to it is described Between second resistance and second control terminal, the plus earth of the third voltage-stabiliser tube, the 4th voltage-stabiliser tube.
4. a kind of battery switching circuit according to claim 3, it is characterised in that: the metal-oxide-semiconductor control unit further includes 3rd resistor, one end of the 3rd resistor are connected with the source electrode of first field-effect tube, the other end with described second The grid of effect pipe is connected.
5. a kind of battery switching circuit according to claim 1, it is characterised in that: the resistor voltage divider circuit includes series connection The 4th resistance and the 5th resistance;
One end of 4th resistance is connected with the drain electrode of second field-effect tube, the other end and the third control terminal phase Connection;Between the 4th resistance and the third control terminal, it is connected with the 5th voltage-stabiliser tube in parallel, the 6th voltage-stabiliser tube;Its In, the 5th voltage-stabiliser tube, the 6th voltage-stabiliser tube cathode be connected between the 4th resistance and the third control terminal, The plus earth of 5th voltage-stabiliser tube, the 6th voltage-stabiliser tube;
One end of 5th resistance is connected with the 4th resistance, and the other end connects together with the negative pole end of the connector Ground.
6. a kind of battery switching circuit according to claim 1, it is characterised in that: the positive terminal and cathode of the connector Transient voltage suppressor is connected between end, the cathode of the Transient Voltage Suppressor is connected with the positive terminal of the connector It connects, the anode of the Transient Voltage Suppressor is connected with the negative pole end of the connector.
7. a kind of battery switching circuit according to claim 1, it is characterised in that: a kind of battery switching circuit also wraps LED display unit is included, the LED display unit includes at least two display channels, the quantity of the display channel and the MOS The quantity of pipe control unit is corresponding;Each display channel includes sequentially connected light emitting diode and the 6th resistance, institute The anode for stating light emitting diode connects the regulated power supply, and the cathode of the light emitting diode connects the one of the 6th resistance End, the other end of the 6th resistance connect the I/O port of the single-chip microcontroller.
8. a kind of battery switching circuit according to claim 1, it is characterised in that: a kind of battery switching circuit also wraps Reset circuit of SCM is included, the reset circuit of SCM includes the 7th resistance and diode of parallel connection, the 7th resistance One end connect the regulated power supply, the other end and the diode of the 7th resistance with the cathode of the diode jointly Anode connects the reseting port of the single-chip microcontroller, and the other end of the 7th resistance and the anode of the diode also pass through first Capacity earth.
9. a kind of battery switching circuit according to claim 1, it is characterised in that: the regulated power supply includes a pressure stabilizing core Piece, the voltage stabilizing chip include input terminal, ground terminal, enable end and output end;
The input terminal of the voltage stabilizing chip is connected with the input terminal of the regulated power supply;The voltage stabilizing chip input terminal with Between the input terminal of the regulated power supply, it is connected with the 7th voltage-stabiliser tube in parallel, the 8th voltage-stabiliser tube;7th voltage-stabiliser tube, institute The cathode for stating the 8th voltage-stabiliser tube is connected between the input terminal of the voltage stabilizing chip and the input terminal of the regulated power supply, and described The plus earth of seven voltage-stabiliser tubes, the 8th voltage-stabiliser tube;
The enable end of the voltage stabilizing chip is connected by the 8th resistance with the input terminal of the regulated power supply, the 8th resistance The enable end of the voltage stabilizing chip, which is pulled to high level, makes the regulated power supply be placed in operating mode;
The ground terminal of the voltage stabilizing chip is grounded;
The output end of the voltage stabilizing chip is connected with the output end of the regulated power supply, and the output end of the voltage stabilizing chip is also logical Cross the second capacity earth.
10. a kind of battery switching method, which is characterized in that this method comprises:
The single-chip microcontroller controls second control terminal and sets low, and the second field-effect tube conducting, the voltage of the battery passes through It is exported after the resistor voltage divider circuit partial pressure by the third control terminal and carries out adopting for battery voltage information to the single-chip microcontroller Collection;
The single-chip microcontroller controls first control terminal according to the battery voltage information of acquisition, and first control terminal is set Low, first field-effect tube conducting, the battery is in supplying power for outside state, and first control terminal sets height, and described first Field-effect tube cut-off, the battery are in externally output off state.
CN201811226310.XA 2018-10-19 2018-10-19 A kind of battery switching circuit and battery switching method Pending CN109193910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811226310.XA CN109193910A (en) 2018-10-19 2018-10-19 A kind of battery switching circuit and battery switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811226310.XA CN109193910A (en) 2018-10-19 2018-10-19 A kind of battery switching circuit and battery switching method

Publications (1)

Publication Number Publication Date
CN109193910A true CN109193910A (en) 2019-01-11

Family

ID=64945974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811226310.XA Pending CN109193910A (en) 2018-10-19 2018-10-19 A kind of battery switching circuit and battery switching method

Country Status (1)

Country Link
CN (1) CN109193910A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220104A (en) * 2021-06-02 2021-08-06 深圳市绘王动漫科技有限公司 Switching circuit board and TYPE-C line for solving power supply problem

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110101910A1 (en) * 2007-04-18 2011-05-05 Shenzhen Yingi Industrial Co., Ltd Self-adaptable recharger
CN201886132U (en) * 2009-12-30 2011-06-29 深圳市福嘉太科技有限公司 Switch circuit for detecting voltage of battery
CN202587074U (en) * 2012-05-10 2012-12-05 夏新科技有限责任公司 Intelligent handset with double-battery power supply
CN105048575A (en) * 2015-08-03 2015-11-11 成都宇能通能源开发有限公司 Circuit for solving problem of mutual charging and discharging among multiple battery packs and method thereof
CN105048568A (en) * 2015-08-03 2015-11-11 成都宇能通能源开发有限公司 Circuit and method for solving problems of mutual charging and discharging of multiple battery packs
CN107069886A (en) * 2017-05-17 2017-08-18 广州市极越电子有限公司 One kind is based on metal-oxide-semiconductor battery adaptive charge and discharge device in parallel and method
CN207200362U (en) * 2017-06-05 2018-04-06 深圳市道通智能航空技术有限公司 Battery redundant circuit and unmanned vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110101910A1 (en) * 2007-04-18 2011-05-05 Shenzhen Yingi Industrial Co., Ltd Self-adaptable recharger
CN201886132U (en) * 2009-12-30 2011-06-29 深圳市福嘉太科技有限公司 Switch circuit for detecting voltage of battery
CN202587074U (en) * 2012-05-10 2012-12-05 夏新科技有限责任公司 Intelligent handset with double-battery power supply
CN105048575A (en) * 2015-08-03 2015-11-11 成都宇能通能源开发有限公司 Circuit for solving problem of mutual charging and discharging among multiple battery packs and method thereof
CN105048568A (en) * 2015-08-03 2015-11-11 成都宇能通能源开发有限公司 Circuit and method for solving problems of mutual charging and discharging of multiple battery packs
CN107069886A (en) * 2017-05-17 2017-08-18 广州市极越电子有限公司 One kind is based on metal-oxide-semiconductor battery adaptive charge and discharge device in parallel and method
CN207200362U (en) * 2017-06-05 2018-04-06 深圳市道通智能航空技术有限公司 Battery redundant circuit and unmanned vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220104A (en) * 2021-06-02 2021-08-06 深圳市绘王动漫科技有限公司 Switching circuit board and TYPE-C line for solving power supply problem

Similar Documents

Publication Publication Date Title
CN109873489B (en) Power management system of surveying instrument
CN104133149B (en) A kind of voltage acquisition line Beam Detector
CN201819982U (en) Power supply detection device
CN107878243A (en) A kind of battery management system and method
CN109193910A (en) A kind of battery switching circuit and battery switching method
CN109217410A (en) A kind of single-unit tandem type lithium battery protection circuit
CN109830764A (en) Have the battery module and electrical storage device and its operating method of abnormal detection function
CN208767771U (en) Over-and under-voltage protects circuit
CN206178101U (en) A adjustable surge load test device for electromagnetic relay
CN208969215U (en) A kind of analog power that circuit is realized
CN205120851U (en) Many strings of lithium ion battery protection shield testing arrangement
CN202025033U (en) Bidirectional input/output interface circuit
CN204314679U (en) A kind of fault routing inspection circuit exported for many power sources in parallel
CN203444044U (en) High-voltage capacitor charging and discharging test device
CN205826811U (en) A kind of aging testing system
CN201740835U (en) Wire testing device
CN108173298A (en) A kind of balancing control circuit of power battery module
CN201260064Y (en) Protection device for inputting over or under voltage
CN202748438U (en) Cable checking instrument
CN114123471A (en) AC/DC power supply circuit of ultrasonic detection equipment
CN210572628U (en) Device for testing feedback circuit of PG motor
CN108919062A (en) Test device for coalcutter control cable
CN208127933U (en) Signal acquisition circuit and battery management system
CN208143550U (en) A kind of centrally connected power source type fire emergency monitoring circuit
CN206673245U (en) A kind of charging programming data line with boosting current-limiting function

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication