CN215681911U - Power supply switching control circuit, power supply control system and industrial control system - Google Patents

Power supply switching control circuit, power supply control system and industrial control system Download PDF

Info

Publication number
CN215681911U
CN215681911U CN202121606786.3U CN202121606786U CN215681911U CN 215681911 U CN215681911 U CN 215681911U CN 202121606786 U CN202121606786 U CN 202121606786U CN 215681911 U CN215681911 U CN 215681911U
Authority
CN
China
Prior art keywords
module
power supply
control
switch module
resistor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202121606786.3U
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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN202121606786.3U priority Critical patent/CN215681911U/en
Application granted granted Critical
Publication of CN215681911U publication Critical patent/CN215681911U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application relates to the technical field of power supply, and discloses a power supply switching control circuit, a power supply control system and an industrial control system. Wherein, the power supply switching control circuit includes first switch module, the second switch module, the equipment switch module, first switch module's input is used for connecting battery module's supply terminal, the control end is used for being connected to control module's first control end, second switch module's input is used for being connected to the supply terminal of outside power module, first switch module's output and second switch module's output are connected to the input of equipment switch module, equipment switch module's output is used for being connected to consumer, control module is used for when the outage of outside power module, when informing consumer to carry out outage emergency treatment flow and when the emergency treatment who receives consumer finishes instructing, control equipment switch module disconnection, can effectively improve battery module's life-span.

Description

Power supply switching control circuit, power supply control system and industrial control system
Technical Field
The application relates to the technical field of power supply, in particular to a power supply switching control circuit, a power supply control system and an industrial control system.
Background
When a control system such as a communication system and an industrial control system faces an emergency power failure, a controller (such as an industrial personal computer and a processor) in the system is usually required to be shut down in a delayed manner so as to complete storage of current operation node information and related operation data, and the data can be shut down only after being sent to an upper control end. In this case, a battery power supply system is required inside the system. Because the power supply endurance of the battery is poor, and for miniaturization, the common battery capacity only meets the requirement that a key control system operates for a few minutes, therefore, when the system operates normally, the external power supply system is required to supply power, and only when the power is cut off, the battery power supply system supplies power.
A prior art battery powered system is shown in fig. 1, where 12V _ BAT represents battery POWER, 12V _ POWER represents external POWER (usually converted from mains), and VCC12V _ PC represents a POWER source used by an industrial personal computer or other controllers. The inventor finds that if the industrial personal computer or other controllers do not have the autonomous shutdown function, the circuit cannot be autonomously shut down, and the industrial personal computer or other controllers cannot sense whether emergency situations exist, when the industrial personal computer or other controllers are powered by batteries, the industrial personal computer or other controllers can only shut down after the batteries are exhausted, dry batteries are consumed, the batteries are greatly damaged by the exhausted batteries, and the service life of the batteries is easily shortened.
SUMMERY OF THE UTILITY MODEL
The application aims to provide a power supply switching control circuit, a power supply control system and an industrial control system, so as to solve the problems that a dry battery is consumed due to the fact that a power supply system in the prior art is used up, the battery is extremely damaged due to battery exhaustion, and the service life of the battery is easily shortened.
In a first aspect of the present application, a power switching control circuit is provided, where the power switching control circuit includes a first switch module, a second switch module, and a device switch module, an input end of the first switch module is used to connect a power supply end of a battery module, a control end of the first switch module is used to connect to a first control end of the control module, an input end of the second switch module is used to connect to a power supply end of an external power supply module, an output end of the first switch module and an output end of the second switch module are connected to an input end of the device switch module after being connected in common, and are used to connect to a power supply end of the control module, an output end of the device switch module is used to connect to an electric device, and a control end of the device switch module is used to connect to a second control end of the control module;
and the control module is used for informing the electric equipment to execute a power-off emergency treatment process when the external power supply module is powered off and controlling the switching module of the equipment to be switched off when receiving an emergency treatment finishing instruction of the electric equipment.
Further, the power supply switching control circuit comprises a plurality of equipment switch modules, each equipment switch module is used for being connected to corresponding electric equipment, and the control module is further used for informing all electric equipment to execute a power failure emergency treatment process and controlling the corresponding equipment switch modules of the electric equipment to be disconnected when receiving an indication that the emergency treatment of the electric equipment is finished when the external power supply module is powered off, and controlling the first switch modules to be disconnected after all the equipment switch modules are disconnected.
Further, the control module is further configured to read the power supply voltage of the power supply end of the battery module and the number of the electrical devices still operating, evaluate a remaining operating time according to the power supply voltage of the power supply end of the battery module and the number of the electrical devices still operating, and inform each operating electrical device of an emergency processing procedure of accelerated operation and power failure according to the remaining operating time.
Further, the first switch module comprises a first resistor, a second resistor, a third resistor, a first power switch unit and a first relay; one end of the first resistor is connected with the first contact of the first relay in a sharing mode, the connection end serves as the input end of the first switch module, the second contact of the first relay serves as the output end of the first switch module, the other end of the first resistor is connected with the first end of the first power switch unit, the second end of the first power switch unit is connected with the control end of the first relay, the second resistor is connected with one end of the third resistor in a sharing mode and is connected with the control end of the first power switch unit, the other end of the second resistor serves as the control end of the first switch module, and the other end of the third resistor is connected with the ground end.
Furthermore, a charging control module is connected between the input end of the first switch module and the power supply end of the battery module in series, the charging control module comprises a fourth resistor and a first diode, one end of the fourth resistor and the positive end of the first diode are connected in common and then are used for being connected to the power supply end of the battery module, and the other end of the fourth resistor and the negative end of the first diode are connected in common and then are connected to the input end of the second switch module.
Further, the second switch module comprises a fifth resistor and a second relay; one end of the fifth resistor is connected with the first contact of the second relay and serves as the input end of the second switch module, the other end of the fifth resistor is connected with the control end of the second relay, and the second contact of the second relay serves as the output end of the second switch module.
Furthermore, a second diode is connected between one end of the fifth resistor and the first contact of the second relay, the negative end of the second diode is connected with the first contact of the second relay and the input end of the first switch module, the positive end of the second diode is connected with one end of the fifth resistor, and the connection end of the positive end of the second diode and the fifth resistor is used as the input end of the second switch module.
In a second aspect of the present application, a power supply control system is provided, which includes a control module, a power-consuming device, an external power supply module, a battery module, and a power supply switching control circuit of any one of the foregoing first aspects.
Further, the control module is a single chip microcomputer, an ARM processor or a DSP processor.
In a third aspect of the present application, an industrial control system is provided, which includes the power supply control system of the second aspect.
It is thus clear that, in the scheme that this application provided, when the outage of external power supply module, external power supply module spare can't continue to supply power for consumer, but based on the circuit of this application, battery module can continue to supply power for consumer, thereby play the effect of postponing the shutdown to the consumer, the shutdown function has, control module can in time inform that consumer external power supply module has cut off the power supply, use electrical equipment to carry out outage emergency treatment flow, let the consumer have sufficient time outage emergency treatment flow, the bad influence that brings when having reduced the consumer effectively and cut off the power supply. Secondly, when the control module receives the indication that the emergency treatment of the electric equipment is finished, the control module switches off the switch module of the electric equipment, so that the battery module is prevented from continuously supplying power to the electric equipment which is finished with the emergency treatment, the battery module is prevented from being consumed, and the service life and the safety of the battery module are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a battery power supply system provided in the prior art;
FIG. 2 is a schematic diagram of a power supply control system according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a power switching control circuit according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a control module according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a first switch module and a second switch module provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an equipment switch module according to an embodiment of the present application;
fig. 7 is a schematic diagram of an operation process of a power supply control system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Please refer to fig. 2, fig. 2 is a schematic diagram of a power supply control system provided in the present application, which includes communication relationships and connection relationships among modules of the power supply control system, where the power supply control system includes a control module, an electric device, an external power supply module, and a battery module power switching control circuit, where the control module is configured to perform state communication with each user device (e.g., the electric device 1, the electric device 2, the electric device m), and is configured to control an on/off state of each electric device in combination with the power switching control circuit, so as to perform on/off control on each electric device, where the control module may specifically be a microprocessor, including but not limited to an ARM processor, a DSP processor, or a single chip microcomputer. The battery module refers to a power supply module which temporarily supplies power to the electric equipment; the external power supply module refers to a permanent power supply module of the electric device, that is, a non-temporary emergency power supply, and is generally used for converting the commercial power to obtain a power supply of the electric device, for example, the power supply module of the electric device is 12V, the external power supply module is a power supply module for converting the commercial power of 200V to obtain 12VDC, and the battery module is a power supply module for providing 12 VDC.
It should be noted that the power supply control system provided in the present application may be applied to various system application scenarios, including but not limited to an industrial control system, a communication system, a future possible intelligent integrated system, and other possible complex systems, taking the industrial control system as an example, each power consumption device may specifically refer to each industrial control computer, a manager unit, and a controller unit in the industrial control system, and it is understood that the industrial control system is generally a complex system, including a plurality of industrial control computers, and may generally include a plurality of controllers, processors, and the like. Similarly, in a communication system, a future possible intelligent integrated system and other possible complex systems, there may be more internal processor units and more controller units, and the power on/off of various processors has priority requirements, and in the above system, for abnormal power failure situations, such as sudden external power supply interruption, the core processor such as an industrial personal computer is usually required not to be powered off at this time, and the power off is allowed only after an emergency flow is processed, so that a new power supply system and method are needed to deal with the situation, and therefore, the technical scheme provided by the present application exists. The technical solution of the present application is described in detail below with reference to the system of fig. 2.
As shown in fig. 3, firstly, a power switching control circuit provided in the present application is described, which includes a first switch module 51, a second switch module 52, and a device switch module 53, wherein an input terminal of the first switch module 51 is used for connecting a power supply terminal of the battery module 10, the power supply terminal of the battery module 10 refers to a positive terminal of the battery module, a control terminal of the first switch module 51 is used for connecting to a first control terminal of the control module 30, the first control terminal of the control module 30 is used for controlling on/off of the first switch module 51, when the control module 30 controls the first switch module 51 to be on by using the first control terminal, the battery module 10 can be connected to the device switch module 53, when the control module 30 controls the first switch module 51 to be off by using the first control terminal, the battery module 10 is disconnected from the device switch module 53, namely: the on/off of the first switch module 51 is controlled by a control signal of the first control terminal of the control module 30.
The input end of the second switch module 52 is used for being connected to the power supply end of the external power supply module 20, the output end of the first switch module 51 and the output end of the second switch module 52 are connected to the input end of the device switch module 53 after being connected in common and are used for being connected to the power supply end of the control module 30, the second switch module 52 is configured to trigger the second switch module 52 to be turned on when the external power supply module 20 is powered on, so that the external power supply module 20 supplies power to the control module 30 through the first switch module 51, and the control module 30 can normally operate, that is: the on/off of the second switch module 52 and whether the control module 30 can control the working power supply to be controlled by the external power supply module 20 to be powered off or not.
An output terminal of the device switch module 53 is configured to be connected to the powered device 40, and a control terminal of the device switch module 53 is configured to be connected to a second control terminal of the control module 30. Namely: the on/off of the device switch module 53 is controlled by the second control terminal of the control module 30.
As can be seen from the above connection relationship, when the external power supply module 20 is powered on, the second switch module 52 is turned on, and the external power supply module 20 supplies power to the control module 30, at this time, the control module 30 is powered on normally. After the control module 30 is normally powered on, the control module 30 may control the first switch module 51 and the device switch module 53 to be turned on, and when the first switch module 51 is turned on, there are two paths for supplying power to the electric device 40 at the same time, where one path is the battery module 10 → the first switch module 51 → the device switch module 53 → the electric device 40; the other path is the external power supply module 20 → the second switch module 52 → the device switch module 53 → the electric device 40, so that the electric device 40 has power and can be normally powered on. When the external power supply module 20 is suddenly powered off, the second switch module 52 is turned off, and at this time, the battery module 10 can continue to supply power to the electric equipment 40 through its path, so that in this application, the function that the electric equipment 40 can continue to be powered by the battery module 10 when the external power supply module 20 is powered off can be realized, and the function that the electric equipment 40 is not powered off can be maintained.
In this application, the control module 30 is configured to notify the electrical equipment 40 to execute the power outage emergency processing procedure when the external power supply module 20 is powered off, and to turn off the control equipment switch module 53 when receiving an emergency processing completion instruction of the electrical equipment 40. It should be noted that the power outage emergency processing flow refers to a flow that is configured in advance for the electric device 40 and is required to be executed by the electric device 40 when the electric device 40 receives the notification of executing the power outage emergency processing fed back by the control module 30. For example, the power outage emergency treatment process includes, but is not limited to: the electric equipment 40 completes the processes of storing the current operation node information and the related operation data, and transmitting the data to the upper control end to enable the upper control end to perform the other processes.
It can be seen that in this embodiment, when the external power supply module 20 is powered off, the external power supply module 20 cannot continue to supply power to the electric device 40, but based on the circuit of this embodiment of the present application, the battery module 10 may continue to supply power to the electric device 40, so as to delay shutdown of the electric device 40, so that the electric device 40 has enough time for emergency treatment. Control module 30 can in time inform consumer 40 that outside power module 20 has cut off the power supply, let consumer 40 carry out outage emergency treatment process, make consumer 40 have sufficient time outage emergency treatment process, bad influence that brings when having reduced consumer 40 outage effectively, secondly, when control module 30 received consumer 40's emergency treatment and has accomplished the instruction, then controlgear switch module 53 breaks off, also avoid battery module 10 to continue to supply power for consumer 40 that has accomplished emergency treatment like this, the battery that has reduced battery module 10 is consumed effectively, the life-span and the safety of battery module 10 have been improved.
In some embodiments of the present application, the control module 30 is configured to detect the supply voltage of the external power supply module 20 in real time; and judging whether the external power supply module 20 is powered off currently according to the power supply voltage of the external power supply module 20.
It should be noted that, in the embodiment provided in this application, if the electrical device 40 does not have the autonomous shutdown function, the power switching control circuit provided in this application can implement the power on/off control of the electrical device 40, and there is no need to wait for the battery to consume all electric power because the electrical device does not have the autonomous shutdown function as in the prior art, and then the battery is shut down without power supply, which effectively reduces the useless consumption of the battery, improves the life and safety of the battery, and also provides a novel power on/off control mode of the electrical device. It can be seen that, in this application, it is a very big innovation to utilize control module 30 to control, has realized the effective management of power switching, just has been equivalent to have a brain can detect the commercial power outage, tells behind the testing result that the consumer 40 emergency treatment is complained, can carry out shutdown control to the consumer after consumer 40 ends, can not cause consuming dry battery.
In some embodiments of the present application, the power switching control circuit includes a plurality of device switch modules 53, each device switch module 53 is configured to be connected to a corresponding electrical device 40, and the control module 30 is further configured to, when the external power supply module 20 is powered off, notify all electrical devices 40 to execute a power outage emergency processing procedure and, when an emergency processing completion instruction of the electrical device 40 is received, control the corresponding device switch module 53 of the electrical device 40 to be turned off, and when all device switch modules 53 are turned off, control the first switch module 51 to be turned off.
It can be understood that in the communication system, the industrial control system, and more intelligent integrated systems in the future, there are more internal processor units (electrical devices), and the on/off of various processors have priority requirements, for effective management, when the external power supply module 20 is powered off, the control module 30 notifies all the electrical devices 40 to execute the power-off emergency processing procedure, and when receiving the emergency processing completion indication of the electrical devices 40, controls the device switch modules 53 corresponding to the electrical devices 40 to be turned off, and when all the device switch modules 53 are turned off, controls the first switch module 51 to be turned off. Therefore, each electric device 40 can be sequentially turned off to realize orderly control of the turning-off of the electric devices 40, when all the electric devices 40 are turned off, the control module 10 turns off the first switch module 51, the battery module 10 is cut off to supply power to the control module 10, and the control module 10 realizes self-turning-off to complete the final turning-off action. It is thus clear that in communication system, industrial control system and more intelligent integrated systems in the future, under the circumstances that its inside processor unit (consumer) can be more, adopt this application embodiment, the shutdown order can be managed more effectively, and manage the power supply order, even the consumer 40 does not have self-shutdown, this application also can realize the shutdown to the consumer 40, and need not to realize shutting down through the purpose of consuming the dry battery, effectively protect life-span and the safety of battery, the on-off control scheme that also provides an orderly, avoid the on-off confusion of consumer 40, thereby guarantee that the original priority of consumer 40 handles the order and can realize.
In some embodiments of the present application, the control module 30 is further configured to read the power supply voltage of the power supply terminal of the battery module 10 and the number of the electrical devices still operating, and to evaluate the remaining operating time according to the power supply voltage of the power supply terminal of the battery module 10 and the number of the electrical devices still operating, and inform each operating electrical device 40 of the accelerated operation of the power outage emergency processing procedure according to the remaining operating time.
The specific remaining operating time may be evaluated according to past empirical data, in combination with the current supply voltage of the power supply terminal of the battery module 10 and the number of the operating electric devices.
Referring to fig. 4-6, in some embodiments of the present application, a first switch module 51 is provided, the first switch module 51 includes a first resistor R1, a second resistor R2, a third resistor R3, a first power switch Q1, and a first relay K1; one end of a first resistor R1 is commonly connected with the first contact of the first relay K1, and the commonly connected end is used as an input end of the first switch module 51, the second contact of the first relay K1 is used as an output end of the first switch module 51, the other end of the first resistor R1 is connected with the first end of the first power switch unit Q1, the second end of the first power switch unit Q1 is connected with the control end of the first relay K1, the second resistor R2 is commonly connected with one end of the third resistor R3 and is connected with the control end of the first power switch unit Q1, the other end of the second resistor R2 is used as a control end of the first switch module 51, and the other end of the third resistor R3 is connected with the ground end. In some embodiments of the application, the Q1 may adopt an NPN type triode or other power switching transistor, such as an MOS transistor, and the like, and the application is not limited in this application, and the first power switching unit Q1 is an NPN type triode, where a pole B of the NPN type triode is a control terminal, a pole C of the NPN type triode is connected to the first contact of the first relay K1, and a pole E of the NPN type triode is connected to the control terminal of the first relay K1. Thus, when the control module 30 applies a high level to the other end of the second resistor R2, the first POWER switch unit Q1 is turned on, so that the POWER supply of the battery module 10 pulls the first relay K1, and thus, the battery module 10 can supply POWER to the outside through the first relay K1 as the VCC _ PC _ POWER terminal.
It should be noted that the first switch module 51 is only one embodiment, and other conversion circuits may be provided in other embodiments, for example, the first relay K1 may also adopt other switch types, or the driving circuit of the first relay K1 may also adopt other forms, which is not limited in the present application.
In some embodiments of the present application, a charging control module is connected in series between an input end of the first switch module 51 and the power supply terminal VCC _ BAT of the battery module 10, the charging control module includes a fourth resistor R4 and a first diode D1, one end of the fourth resistor R4 is connected in common with a positive terminal of the first diode D1 for being connected to the power supply terminal VCC _ BAT of the battery module 10, and the other end of the fourth resistor R4 is connected in common with a negative terminal of the first diode D1 and then connected to an input end of the second switch module 52, in combination with the above embodiments, that is, the other end of the fourth resistor 56dr 7 is connected in common with the negative terminal of the first diode D1 and then connected to one end of the first resistor R1 and the first contact point of the first relay K1.
In some embodiments of the present application, the second switching module 52 includes a fifth resistor R5 and a second relay K2; one end of the fifth resistor R5 is connected to the first contact of the second relay K2 and serves as an input end of the second switch module 52, the other end of the fifth resistor R5 is connected to the control end of the second relay K2, the second contact of the second relay K2 serves as an output end of the second switch module 52, and the output end of the second switch module 52 and the output end of the first switch module 51 are connected together to serve as an external power supply end, that is: VCC _ PC _ POWER terminal. Thus, when the POWER supply terminal VCC _12V of the external POWER module 20 is powered on, the second relay K2 is driven to pull in, so that the external POWER module 20 can supply POWER to the outside through the second relay K2 as a VCC _ PC _ POWER terminal.
It should be noted that the second switch module 52 is only one embodiment, and other conversion circuits may be provided in other embodiments, for example, the second relay K2 may also adopt other switch types, or the driving circuit of the second relay K2 may also adopt other forms, which is not limited in this application.
In some embodiments of the present application, a second diode D2 is further connected between one end of the fifth resistor R5 and the first contact of the second relay K2, a negative terminal of the second diode D2 is connected to the first contact of the second relay K2 and the input terminal of the first switch module 51, a positive terminal D2 of the second diode is connected to one end of the fifth resistor R5, and a connection terminal of a positive terminal of the second diode D2 and the fifth resistor R5 serves as the input terminal of the second switch module 52. In combination with the above embodiments, that is, the positive terminal D2 of the second diode is connected to the power supply terminal VCC _12V of the external power supply module 20 after being connected to one end of the fifth resistor R5, and the negative terminal of the second diode D2 is connected to the other end of the fourth resistor R4 and the negative terminal of the first diode D1 after being connected to the first contact of the second relay K2.
Through the embodiment, the charge and discharge management function of the battery module can be realized, and the principle is as follows:
the battery module charging process comprises the following steps:
when the power supply terminal VCC _12V of the external power supply module 20 is powered on, if the battery module 10 is in a power-down state, the power supply terminal VCC _12V of the external power supply module charges the battery module 10 through the second diode D2 and the fourth resistor R4. The fourth resistor R4 is a charging current limiting resistor, and is used to effectively prevent the battery module 10 from being damaged by too fast charging current when the battery module 10 is severely power-down. Based on the above circuit structure relationship, it can be seen that the maximum supply voltage VCC _ BAT of the battery module 10 can reach the supply voltage VCC _12V of the external power supply module minus the voltage drop of the second diode D2, and the second diode D2 also plays a role in preventing the supply voltage VCC _ BAT of the power supply terminal of the battery module 20 from flowing to the power supply terminal VCC _12V of the external power supply module 20, and has high practicability.
And (3) discharging the battery module:
when the POWER supply terminal VCC _12V of the external POWER supply module 20 is powered on, the control module 30 controls the second relay K2 to pull in, and at this time, the two paths of the first relay K1 and the second relay K2 can simultaneously supply POWER to the external POWER supply terminal VCC _ PC _ POWER, based on the circuit structure relationship of the present application, the POWER supply voltage is only VCC _12V provided by the external POWER supply module 20, and there is no POWER supply (VCC _ BAT) of the battery module 10, because VCC _ BAT is less than or equal to COM point voltage, if VCC _ BAT output POWER supply is desired, VCC _ BAT > (COM + D1 voltage drop) is necessary. Therefore, when the external power supply module 20 supplies power, only the power supply terminal VCC _12V of the external power supply module 20 supplies power, and the battery module 10 is in a charging or full-charged state. When the power supply of the external power supply module 20 disappears, the power supply voltage VCC _ BAT of the battery module can flow through the first diode D1 and the first relay K1 to supply power, so that seamless switching of power supply is realized, subsequent electric equipment can work normally, and the situation of disordered power supply can not occur.
It can be seen that, based on the power supply switching control circuit that this application provided, can solve among the prior art's the circuit, be the confusion problem of battery powered or outside power supply on the earth, also can solve battery charging or the chaotic problem of the chronogenesis of discharging effectively, through this application, can realize the charge-discharge management of battery effectively, the charge of battery is clear with the discharge logic, has avoided the chaotic phenomenon of battery charge-discharge chronogenesis effectively, has higher practicality.
In some embodiments of the present application, there is provided a device switch module 53, the device switch module 53 comprising a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a second power switch unit Q2, a third relay K3; one end of a sixth resistor R6 is commonly connected with the first contact of the third relay K3, and the commonly connected end is used as an input end of the device switch module 53, the second contact of the third relay K3 is used as an output end of the device switch module 53, the other end of the sixth resistor R6 is connected with the first end of the second power switch unit Q2, the second end of the second power switch unit Q2 is connected with the control end of the third relay K3, the seventh resistor R7 is commonly connected with one end of the eighth resistor R8 and is connected with the control end of the second power switch unit Q2, the other end of the seventh resistor R7 is used as the control end of the device switch module 53, and the other end of the eighth resistor R8 is connected with the ground end. In combination with the above embodiments, that is, one end of the sixth resistor R6 is connected to the first contact of the third relay K3 and the VCC _ PC _ POWER terminal, the second contact of the third relay K3 serves as a POWER supply terminal VCC _ PC1_ POWER for connecting to the corresponding electric device PC1 (such as the industrial personal computer 1), and the other end of the seventh resistor R7 is used for connecting to the control terminal PC1_ CTRL of the control module.
In some embodiments of the present application, when there are multiple electric devices in the power supply control system, there may be multiple device switch modules 53, and each device switch module 53 may adopt the same circuit structure, and the present application is not limited in this application. In the present application, the description will be made by taking the case where two device switch modules 53 are included as an example. As shown in fig. 6, the present application further includes another device switch module 53, where the another device switch module 53 includes a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a third power switch unit Q2, and a fourth relay K4; one end of a ninth resistor R9 is commonly connected to the first contact of the fourth relay K4, and the commonly connected end is used as the input end of the other device switch module 53, the second contact of the fourth relay K4 is used as the output end of the other device switch module 53, the other end of the ninth resistor R9 is connected to the first end of the third power switch unit Q3, the second end of the third power switch unit Q3 is connected to the control end of the fourth relay K4, the tenth resistor R10 is commonly connected to one end of the eleventh resistor R11 and is connected to the control end of the third power switch unit Q3, the other end of the tenth resistor R10 is used as the control end of the other device switch module 53, and the other end of the eleventh resistor R1 is connected to ground.
In combination with the above embodiments, that is, one end of the 9 th resistor R9 and the first contact of the fourth relay K4 are connected to the VCC _ PC _ POWER terminal, the second contact of the fourth relay K4 serves as a POWER supply terminal VCC _ PC2_ POWER for connecting to the corresponding electric device PC2 (such as the industrial personal computer 2), and the other end of the 10 th resistor R10 is used for connecting to the control terminal PC2_ CTRL of the control module.
It should be noted that, in some embodiments of the present application, both the Q2 and the Q3 may adopt NPN transistors or other power switching transistors, such as MOS transistors, and the like, and the present application is not limited to this application, and the second power switching unit Q2 and the third power switching unit Q3 are NPN transistors for illustration. It should be noted that the device switch module 53 is only one embodiment, and other conversion circuits may be provided in other embodiments, for example, the relay in the device switch module 53 may also adopt other switch types, or the driving circuit thereof may also adopt other forms, which is not limited in the present application.
In combination with the above circuit structure, as shown in fig. 4, the control module in this application may specifically be implemented by a Microprocessor (MCU), and the Microprocessor (MCU) may perform state communication with an external electric device through a General-purpose input/output (GPIO) interface therein, and may also send out a related control signal. For example, the method comprises the steps of communicating with an industrial personal computer 1 through GPIO _1 and sending out a PC1_ CTRL control signal (such as high or low level) through GPIO _ 2; the control circuit is used for communicating with the industrial personal computer 2 through the GPIO _5, sending out a PC2_ CTRL control signal (such as a high or low level) through the GPIO _6, sending out an MCU _ CTRL control signal (such as a high or low level) to the power switching control circuit through the GPIO _3, and performing state communication or sending out a control signal with other processors through the GPIO _ N, which is not limited specifically.
The embodiment of the present application further provides a power supply control system, which includes a control module 30, a powered device 40, an external power supply module 20, a battery module 10, and the power supply switching control circuit described in the foregoing embodiment. The embodiment of the application further provides an industrial control system, which comprises the power supply control system described in the embodiment.
In order to facilitate understanding of the embodiment of the present application, the following describes an operation process of the power supply control system by taking an electrical device as a plurality of industrial personal computers, with reference to fig. 4 and 7; for example, after the external power supply module 20 is powered on, the control module 30 controls GPIO of the power supply of the industrial personal computer to be high level, that is, the GPIO _2/3/6 needs to be set to be high level, and then the ADC1 and the ADC2 measure the power supply voltage VCC _12V of the external power supply module 20 and the power supply voltage VCC _ BAT of the battery module 10 in real time. When the control module 30 detects that the power supply voltage VCC _12V of the external power supply module 20 is less than or equal to the preset voltage (for example, 10V) through the ADC1, it is determined that the external power supply is lost, and at this time, the control module 30 notifies the industrial personal computer through a state communication GPIO connected to the industrial personal computer to notify the industrial personal computer of external power outage and needs to execute an emergency power outage processing procedure. If the industrial personal computers 1 and 2 are informed to execute the power-off emergency processing flow through GPIO _1/5 and the like, ADC2, namely the power supply voltage of the battery module 10, is read by the industrial personal computers in the emergency power-off processing flow, the control module 30 can evaluate the residual working time according to the voltage of the battery module 10 and the number of the industrial personal computers still working, continuously inform the operating industrial personal computers and urge the industrial personal computers to accelerate the operation of the emergency power-off processing flow. And after receiving task completion information fed back by the industrial personal computer, judging whether the industrial personal computer completes the emergency power-off processing flow or not according to the task completion information, and correspondingly controlling the GPIO of the power supply of the industrial personal computer to be low when the emergency power-off processing flow is completed. If it is low level to set GPIO _2 in order to close industrial computer 1, set up GPIO _6 in order to close industrial computer 2 for low level, after all industrial computers (industrial computer 1-industrial computer n) all need urgent processing to finish, judge again whether all industrial computers have all closed, all industrial computers have all closed control module 30 control GPIO _3 to low, also promptly with first relay K1 disconnection, disconnect battery module 10 for the control module power supply, the process ends.
It should be noted that more functions or steps executed by the control module 30 may correspond to the corresponding description of the first embodiment, and are not described herein to avoid repetition. Moreover, the technical effects of the power supply control method can also be referred to the corresponding description of the first embodiment, and the description is not repeated here.
It should be noted that the control module 30 can be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor, and can also be stored in a memory in the processor in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a control module 30 is provided, wherein the control module 30 can be a microprocessor, an ARM processor, a DSP processor, or the like, and the network interface of the control module 30 is used for communicating with an external powered device via a network connection. The computer program is executed by the control module 30 to implement the steps of the control module 30 in the power supply control method or implement the functions of the control module in the power supply control system, and the details can be seen in the above embodiments and will not be described repeatedly herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A power supply switching control circuit is characterized by comprising a first switch module, a second switch module and a device switch module, wherein the input end of the first switch module is used for connecting the power supply end of a battery module, the control end of the first switch module is used for being connected to the first control end of the control module, the input end of the second switch module is used for being connected to the power supply end of an external power supply module, the output end of the first switch module and the output end of the second switch module are connected to the input end of the device switch module after being connected in common and used for being connected to the power supply end of the control module, the output end of the device switch module is used for being connected to electric equipment, and the control end of the device switch module is used for being connected to the second control end of the control module;
and the control module is used for informing the electric equipment to execute a power-off emergency treatment process when the external power supply module is powered off and controlling the equipment switch module to be switched off when receiving an emergency treatment finishing instruction of the electric equipment.
2. The power switching control circuit according to claim 1, wherein the power switching control circuit comprises a plurality of device switch modules, each of the device switch modules is configured to be connected to a corresponding electrical device, and the control module is further configured to, when the external power supply module is powered off, notify all the electrical devices to perform a power failure emergency processing procedure and, when an emergency processing completion indication of the electrical devices is received, control the corresponding device switch module of the electrical devices to be turned off, and when all the device switch modules are turned off, control the first switch module to be turned off.
3. The power switching control circuit according to claim 1, wherein the control module is further configured to read a supply voltage at the power supply terminal of the battery module and the number of the remaining operating electric devices, and to evaluate a remaining operating time according to the supply voltage at the power supply terminal of the battery module and the number of the remaining operating electric devices, and notify each operating electric device of the emergency processing procedure of power failure during the accelerated operation according to the remaining operating time.
4. The power switching control circuit of claim 1, wherein the first switch module comprises a first resistor, a second resistor, a third resistor, and a first power switch unit, a first relay; one end of the first resistor is connected with the first contact of the first relay in a sharing mode, a connection end of the first resistor is used as an input end of the first switch module, the second contact of the first relay is used as an output end of the first switch module, the other end of the first resistor is connected with the first end of the first power switch unit, the second end of the first power switch unit is connected with the control end of the first relay, one end of the second resistor and one end of the third resistor are connected in a sharing mode and connected with the control end of the first power switch unit, the other end of the second resistor is used as the control end of the first switch module, and the other end of the third resistor is connected with the ground end.
5. The power switching control circuit of claim 4, wherein a charging control module is connected in series between the input terminal of the first switch module and the power supply terminal of the battery module, the charging control module comprises a fourth resistor and a first diode, one end of the fourth resistor is connected in common with the positive terminal of the first diode for connecting to the power supply terminal of the battery module, and the other end of the fourth resistor is connected in common with the negative terminal of the first diode for connecting to the input terminal of the second switch module.
6. The power switching control circuit of any of claims 1-5, wherein the second switching module comprises a fifth resistor and a second relay; one end of the fifth resistor is connected with the first contact of the second relay and serves as the input end of the second switch module, the other end of the fifth resistor is connected with the control end of the second relay, and the second contact of the second relay serves as the output end of the second switch module.
7. The power switching control circuit according to claim 6, wherein a second diode is further connected between one end of the fifth resistor and the first contact of the second relay, a negative terminal of the second diode is connected to the first contact of the second relay and the input terminal of the first switch module, a positive terminal of the second diode is connected to one end of the fifth resistor, and a connection terminal of the positive terminal of the second diode and the fifth resistor serves as the input terminal of the second switch module.
8. A power supply control system comprising a control module, a powered device, an external power supply module, a battery module and a power supply switching control circuit as claimed in any one of claims 1 to 7.
9. The power supply control system of claim 8 wherein the control module is a single chip, or an ARM processor, or a DSP processor.
10. An industrial control system, characterized by comprising a power supply control system according to claim 8 or 9.
CN202121606786.3U 2021-07-13 2021-07-13 Power supply switching control circuit, power supply control system and industrial control system Active CN215681911U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121606786.3U CN215681911U (en) 2021-07-13 2021-07-13 Power supply switching control circuit, power supply control system and industrial control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121606786.3U CN215681911U (en) 2021-07-13 2021-07-13 Power supply switching control circuit, power supply control system and industrial control system

Publications (1)

Publication Number Publication Date
CN215681911U true CN215681911U (en) 2022-01-28

Family

ID=79980346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121606786.3U Active CN215681911U (en) 2021-07-13 2021-07-13 Power supply switching control circuit, power supply control system and industrial control system

Country Status (1)

Country Link
CN (1) CN215681911U (en)

Similar Documents

Publication Publication Date Title
CN111725879B (en) Light-storage combined power supply mobile energy storage system and control method thereof
WO2018028316A1 (en) Terminal charging control method, device and terminal
KR101480090B1 (en) Control device for battery management system
CN110994689A (en) Method and system for switching grid connection to off-grid and energy storage converter
US9985457B2 (en) Charger for blocking standby power and method of controlling same
CN105048621A (en) RFID (Radio Frequency Identification) hand-held terminal and double battery power supplying method thereof
CN104037842A (en) Soft power outage battery management system used for electric vehicles
CN215681911U (en) Power supply switching control circuit, power supply control system and industrial control system
US20240055879A1 (en) Battery management circuit, battery assembly and power tool system thereof
CN113555949A (en) Power supply switching control circuit, power supply control system, power supply control method and readable storage medium
EP2988391B1 (en) Mobile power supply terminal and power supply method therefor
CN116317008A (en) Charge and discharge control method, energy storage device, energy storage system and storage medium
CN112638700B (en) Charging and discharging switching device and method and bidirectional charging system
CN212811294U (en) Robot power supply management circuit and robot
CN109638930B (en) Battery charging control method and power supply system
CN216451154U (en) Multi-battery parallel charging circuit and robot
JP2003209934A (en) Charging system for portable device
CN212751841U (en) Charging power supply device of Beidou equipment and Beidou system
CN114825594A (en) Control method and control device of uninterruptible power supply
CN209805473U (en) Control circuit and charger of power supply
CN208774692U (en) A kind of mobile unit and automobile
CN110048472B (en) Standby power supply operation method of controller
CN112165153A (en) Power supply method and power supply device
CN204304543U (en) A kind of power protecting circuit and terminal
CN221353959U (en) Control circuit, battery management system and power utilization device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant