CN218449586U - Power management circuit - Google Patents
Power management circuit Download PDFInfo
- Publication number
- CN218449586U CN218449586U CN202221261524.2U CN202221261524U CN218449586U CN 218449586 U CN218449586 U CN 218449586U CN 202221261524 U CN202221261524 U CN 202221261524U CN 218449586 U CN218449586 U CN 218449586U
- Authority
- CN
- China
- Prior art keywords
- switch circuit
- circuit
- electric switch
- internal
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The utility model relates to an electronic control technology field, and a power management circuit singlechip is disclosed, the input of singlechip is used for being connected with the serial ports drive, the output of singlechip is used for being connected with electric switch circuit through the control signal that charges, the output of singlechip is used for being connected with outer electric switch circuit through outer electric control signal, the output of singlechip is used for being connected with inner electric switch circuit through interior electric control signal, outer electric switch circuit's output is outer, outer electric switch circuit's input is outer, outer electric switch circuit's output is used for being connected with local power supply matching circuit and charging switch circuit respectively, the utility model discloses a be equipped with the singlechip, control instruction, be favorable to this circuit to possess the seamless switching function of inner and outer electricity, through being equipped with local power supply matching circuit, be favorable to this circuit application scope extensive, be applicable to the electronic system of interior outer electric voltage more than + 5V.
Description
Technical Field
The utility model relates to an electronic control technical field, more specifically relate to a power management circuit.
Background
In practical applications, many electronic devices often use an internal power supply, such as a rechargeable battery, and in order to prolong the service life of the devices, an external power supply is generally used to supply power to the devices during a device debugging stage, so that a power management circuit is required inside the devices to switch between internal and external power supplies and to charge the internal power supply.
The current mainstream internal and external electric switching circuit is realized by adopting a simple switch diode, one disadvantage of the circuit is that the power supply switching can be realized only by a voltage difference exceeding the conduction voltage of the switch diode between the internal electricity and the external electricity, and the other disadvantage is that when the internal electricity and the external electricity are both started, the circuit can only be switched to one end with high voltage, and the real free switching of the internal electricity and the external electricity can not be realized.
SUMMERY OF THE UTILITY MODEL
In order to overcome the above-mentioned defects of the prior art, the present invention provides a power management circuit to solve the problems existing in the above-mentioned background art.
The utility model provides a following technical scheme: a power management circuit, comprising:
the input end of the single chip microcomputer is in driving connection with a serial port, the output end of the single chip microcomputer is in circuit connection with an electric switch through a charging control signal, the output end of the single chip microcomputer is in circuit connection with an external electric switch through an external electric control signal, and the output end of the single chip microcomputer is in circuit connection with the internal electric switch through an internal electric control signal;
the output end of the external electric switch circuit outputs external power, the input end of the external electric switch circuit inputs the external power, and the output end of the external electric switch circuit is respectively used for being connected with the local power supply matching circuit and the charging switch circuit;
the output end of the internal electric switch circuit outputs internal electricity, the input end of the internal electric switch circuit inputs the internal electricity, and the output end of the internal electric switch circuit is used for being connected with a local power supply matching circuit through the internal electricity;
the output end of the charging switch circuit controls the output internal electricity to charge through a charging control signal;
the local power supply matching circuit is used for converting the voltage of input internal electricity and external electricity and outputting a local power supply used by the whole circuit;
and the output end of the serial port driver is connected with the single chip microcomputer through a control instruction.
Further, the singlechip adopts STM8S103F.
Further, the control instruction adopts an RS422 protocol, and the instruction content is divided into three types, which are respectively: an external power on and off internal electric instruction 55AA 02 00 00, an internal power on and off external electric instruction 55AA 02 00, an external power on and internal electric charging instruction 55AA 02 00 04 are all in hexadecimal, the hexadecimal is a counting system with the base number of 16 and is a carry system for entering 1 in a seam 16, and the carry system is generally represented by numbers of 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 and letters of A, B, C, D, E, F (a, b, c, d, e and F), wherein A to F represent 10 to 15.
Furthermore, the local power supply matching circuit adopts a multi-input voltage conversion integrated chip MIC5239_5.0 _BSto convert the input external power and the input internal power into +5V power supply output for a singlechip, a serial port driver and three switch circuits in the whole circuit.
Further, after receiving the instruction, the single chip executes the opening operation, and after delaying for 500ms, executes the closing operation.
Furthermore, a chip MAX3462ESA is arranged inside the serial port driver, and the control command needs to be converted into a +5V logic level by the serial port driver chip MAX3462ESA and then input to the single chip microcomputer.
The utility model discloses a technological effect and advantage:
1. the utility model discloses a be equipped with local power supply matching circuit, be favorable to this circuit application scope extensive, be applicable to the electronic system of interior outer voltage more than + 5V.
2. The utility model discloses a be equipped with singlechip, control command, be favorable to this circuit to possess interior outer electric seamless switching function.
3. The utility model discloses a be equipped with the charging switch circuit, be favorable to possessing the function that the internal electricity of control outer electricity charges.
Drawings
Fig. 1 is a schematic structural diagram of the present invention.
Fig. 2 is a schematic diagram of the single chip microcomputer and its peripheral circuit of the present invention.
Fig. 3 is a schematic diagram of a serial port driving circuit of the present invention.
Fig. 4 is a schematic circuit diagram of the external electric switch circuit, the internal electric switch circuit and the charging switch circuit of the present invention.
Fig. 5 is a schematic diagram of the local power matching circuit of the present invention.
The reference signs are: 1. a single chip microcomputer; 2. an external electrical switching circuit; 3. an internal electrical switching circuit; 4. a charge switch circuit; 5. a local power supply matching circuit; 6. a serial port driver; 7. and (5) controlling the command.
Detailed Description
The technical solution of the present invention will be described clearly and completely with reference to the drawings in the present invention, and the forms of the structures described in the following embodiments are merely examples, and the power management circuit of the present invention is not limited to the structures described in the following embodiments, and all other embodiments obtained by a person skilled in the art without creative work belong to the scope of the present invention.
Referring to fig. 1, the utility model provides a power management circuit, include:
the single-chip microcomputer 1 is characterized in that the input end of the single-chip microcomputer 1 is connected with a serial port driver 6, the output end of the single-chip microcomputer 1 is connected with an electric switch circuit 3 through a charging control signal, the output end of the single-chip microcomputer 1 is connected with an external electric switch circuit 2 through an external electric control signal, and the output end of the single-chip microcomputer 1 is connected with the internal electric switch circuit 3 through an internal electric control signal;
the output end of the external electric switch circuit 2 outputs external electricity, the input end of the external electric switch circuit 2 inputs the external electricity, and the output end of the external electric switch circuit 2 is respectively used for being connected with a local power supply matching circuit 5 and a charging switch circuit 4;
the output end of the internal electric switch circuit 3 outputs internal electricity, the input end of the internal electric switch circuit 3 inputs the internal electricity, and the output end of the internal electric switch circuit 3 is connected with a local power supply matching circuit 5 through the internal electricity;
the output end of the charging switch circuit 4 controls the output internal electricity to charge through the charging control signal;
a local power supply matching circuit 5, wherein the local power supply matching circuit 5 converts the voltage of the input internal power and the input external power and outputs a local power supply used by the whole circuit;
and the output end of the serial port driver 6 is connected with the singlechip 1 through a control instruction 7.
Preferably, the single chip microcomputer 1 adopts STM8S103F.
Referring to fig. 2 and 4, the control command 7 adopts RS422 protocol, and the command content is divided into three types, respectively: the instructions are hexadecimal, the hexadecimal is a counting system with a base number of 16, the instruction is a carry system when a user enters a station 16 into a station 1, the carry system is generally represented by numbers 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 and letters A, B, C, D, E, F (a, b, c, d, e and F), wherein A to F represent 10 to 15, the instruction 55AA 02 00 for charging the internal electricity by opening the external electricity is beneficial to controlling the single chip microcomputer 1 to output different control signals by arranging the control instruction 7.
Referring to fig. 5, the local power matching circuit 5 converts input external power and internal power into +5V power output by using a multi-input voltage conversion integrated chip MIC5239_5.0_bs, and the power output is used by the single chip microcomputer 1, the serial port driver 6 and the three switch circuits in the whole circuit.
Preferably, after receiving the instruction, the single chip microcomputer 1 executes the opening operation first, and executes the closing operation after delaying for 500ms, and the seamless switching of the operation can be ensured by arranging the single chip microcomputer 1.
Referring to fig. 3, a chip MAX3462ESA is disposed inside the serial driver 6, and the control instruction 7 needs to convert its RS422 level into a logic level of +5V through the chip MAX3462ESA of the serial driver 6 and then input the logic level into the single chip microcomputer 1.
The utility model discloses a theory of operation: during the use, singlechip 1STM8S103F3 is according to the opening and closing of the instruction content control three switch circuit of serial ports input, and the instruction content of serial ports input is hexadecimal: 55 When AA 02 00 time is up to AA, the power supply device indicates to turn on the external power and turn off the internal power, at this time, the single chip microcomputer 1 firstly outputs a low level control signal to the charging switch circuit 4, turns off the charging switch circuit 4, then outputs a high level control signal to the external electric switch circuit 2, so that the external electric switch circuit 2 is turned on, and after delaying for 500ms, outputs a low level control signal to the internal electric switch circuit 3, turns off the internal electric switch circuit 3, and realizes the seamless switching from the internal power to the external power; when the instruction content input by the serial port is hexadecimal: 55 When AA 02 00 time is AA 02, the power switch device is turned on, and the power switch device is turned off, at the moment, the single chip microcomputer 1 outputs a low level control signal to the charging switch circuit 4, turns off the charging switch circuit 4, then outputs a high level control signal to the internal electric switch circuit 3, so that the internal electric switch circuit 3 is turned on, and outputs a low level control signal to the external electric switch circuit 2 after delaying for 500ms, and turns off the external electric switch circuit 2, thereby realizing the seamless switching of the external power to the internal power; when the instruction content input by the serial port is hexadecimal: 55 When the power is supplied to the power supply, AA 02 00 represents that a charging circuit is started, at the moment, the singlechip 1 outputs a low-level control signal to the external electric switch circuit 2 and the internal electric switch circuit 3, the external electric switch circuit 2 and the internal electric switch circuit 3 are closed, a high-level control signal is output to the charging switch circuit 4 after the delay of 500ms, and the charging switch circuit 4 is started to realize the charging of the external electricity to the internal electricity; the local power supply matching circuit 5 converts the voltage of the input internal electricity and external electricity, outputs a power supply of +/-5V for the single chip microcomputer 1, the serial port driver 6 and three switch circuits in the whole circuit, the externally input control instruction 7 is an RS422 protocol, the RS422 level of the external power supply is converted into a logic level of +5V by the serial port driver 6 and then is input into the single chip microcomputer 1, the single chip microcomputer 1 outputs an internal electric control signal to the internal electric switch circuit 3 to control the on and off of the internal electric switch circuit 3 and outputs an external electric control signal to the external electric switch circuit 2 to control the on and off of the external electric switch circuit 2, outputs a charging control signal to the charging switch circuit 4 and controls the on and off of the charging switch circuit 4, the internal power supply voltage of the whole power supply management circuit is +5V, and therefore when the external electric power supply is switched on and the internal electric power supply is switched to be normally charged, the external electric power supply can work normally. When the internal electricity is abnormal, for example, the internal electricity is a +28V battery, the +28V battery may only output a voltage of about +10V at an extremely low temperature, and at this time, the internal battery cannot provide normal power for the mission system, but can normally provide power for the power management circuit, so that it can be ensured that the internal electricity is abnormal and can be normally switched to the external electricity.
The points to be finally explained are: first, in the description of the present application, it should be noted that, unless otherwise specified and limited, the terms "mounted," "connected," and "connected" should be understood broadly, and may be a mechanical connection or an electrical connection, or a communication between two elements, and may be a direct connection, and "upper," "lower," "left," and "right" are only used to indicate a relative positional relationship, and when the absolute position of the object to be described is changed, the relative positional relationship may be changed;
secondly, the method comprises the following steps: in the drawings of the disclosed embodiments of the present invention, only the structures related to the disclosed embodiments are referred to, and other structures can refer to common designs, and under the condition of no conflict, the same embodiment and different embodiments of the present invention can be combined with each other;
and finally: the above description is only for the preferred embodiment of the present invention and should not be taken as limiting the invention, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (5)
1. A power management circuit, comprising: the method comprises the following steps:
the single-chip microcomputer (1), the input end of the single-chip microcomputer (1) is used for being connected with a serial port driver (6), the output end of the single-chip microcomputer (1) is used for being connected with an electric switch circuit (3) through a charging control signal, the output end of the single-chip microcomputer (1) is used for being connected with an external electric switch circuit (2) through an external electric control signal, and the output end of the single-chip microcomputer (1) is used for being connected with the internal electric switch circuit (3) through an internal electric control signal;
the output end of the external electric switch circuit (2) outputs external electricity, the input end of the external electric switch circuit (2) inputs the external electricity, and the output end of the external electric switch circuit (2) is respectively used for being connected with a local power supply matching circuit (5) and a charging switch circuit (4);
the output end of the internal electric switch circuit (3) outputs internal electricity, the input end of the internal electric switch circuit (3) inputs the internal electricity, and the output end of the internal electric switch circuit (3) is used for being connected with a local power supply matching circuit (5) through the internal electricity;
the output end of the charging switch circuit (4) controls the output internal electricity to charge through a charging control signal;
a local power source matching circuit (5), wherein the local power source matching circuit (5) converts the voltage of the input internal power and the input external power and outputs a local power source used by the whole circuit;
the serial port driver (6), the output end of the serial port driver (6) is used for being connected with the single chip microcomputer (1) through a control instruction (7).
2. A power management circuit according to claim 1, wherein: the single chip microcomputer (1) adopts STM8S103F.
3. A power management circuit according to claim 1, wherein: the local power supply matching circuit (5) adopts a multi-input voltage conversion integrated chip MIC5239_5.0 _BSto convert input external electricity and input internal electricity into +5V power supply output for a singlechip (1), a serial port driver (6) and three switch circuits in the whole circuit to use.
4. A power management circuit according to claim 1, wherein: and after receiving the instruction, the single chip microcomputer (1) executes the opening operation firstly, and executes the closing operation after delaying for 500 ms.
5. A power management circuit according to claim 1, wherein: the serial port driver (6) is internally provided with a chip MAX3462ESA, and the control instruction (7) needs to be input into the singlechip (1) after the RS422 level is converted into a +5V logic level through the chip MAX3462ESA of the serial port driver (6).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202221261524.2U CN218449586U (en) | 2022-05-23 | 2022-05-23 | Power management circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202221261524.2U CN218449586U (en) | 2022-05-23 | 2022-05-23 | Power management circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN218449586U true CN218449586U (en) | 2023-02-03 |
Family
ID=85075706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202221261524.2U Active CN218449586U (en) | 2022-05-23 | 2022-05-23 | Power management circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN218449586U (en) |
-
2022
- 2022-05-23 CN CN202221261524.2U patent/CN218449586U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110224455A (en) | Series-parallel switching device and the battery pack comprising series-parallel switching device | |
CN103915863B (en) | Terminal unit and method of supplying power to thereof | |
CN110213406A (en) | A kind of folding electronic device | |
CN104953692A (en) | Power supply system | |
CN218449586U (en) | Power management circuit | |
CN104052091A (en) | Novel battery management architecture capable of charging in subareas and discharging in series areas | |
CN101669261A (en) | Power backup in a drive unit for a circuit breaker, and a circuit breaker | |
US20230253802A1 (en) | Battery charging protection and health management system | |
CN216216020U (en) | Motor load rejection prevention device of double-battery charging system | |
CN206442131U (en) | Charger baby and OTG data wires | |
CN209448498U (en) | UAV system and unmanned plane | |
CN110649678B (en) | High-voltage battery system | |
CN114243830A (en) | Identification circuit, battery management system, battery pack and electronic device | |
CN206640336U (en) | A kind of electronic equipment | |
CN114094684A (en) | Framework for charging battery | |
CN220199086U (en) | Vehicle battery system and vehicle | |
CN219843450U (en) | Charging and discharging control circuit, power supply circuit and energy storage device | |
CN1956254A (en) | Intelligent careful manager for charging discharging of dynamic lithium battery | |
CN206658088U (en) | Vehicular battery charging system | |
CN212572154U (en) | Battery, electric equipment and electric equipment circuit system | |
CN219227574U (en) | STS static single-phase double-power supply change-over switch | |
CN217396299U (en) | Double-battery control system for electric vehicle | |
CN212765722U (en) | Battery lock control circuit and electric vehicle | |
US20230231409A1 (en) | Automatic transfer switch and power supply system | |
CN202268729U (en) | Unlocking-avoiding charging control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |