CN112821545A - Method and device for setting bypass state of system after power failure - Google Patents
Method and device for setting bypass state of system after power failure Download PDFInfo
- Publication number
- CN112821545A CN112821545A CN202110211117.4A CN202110211117A CN112821545A CN 112821545 A CN112821545 A CN 112821545A CN 202110211117 A CN202110211117 A CN 202110211117A CN 112821545 A CN112821545 A CN 112821545A
- Authority
- CN
- China
- Prior art keywords
- bypass
- voltage value
- bypass state
- module
- setting
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J9/00—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
- H02J9/04—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
- H02J9/06—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a method and a device for setting a bypass state after a system is powered off, wherein a current working voltage value of the system is firstly obtained, whether the current working voltage value is smaller than or equal to a preset voltage value is judged, if yes, a step S3 is executed, otherwise, the current working voltage value is obtained again and is judged again, before the current working voltage value of the system is smaller than a power supply voltage value of a circuit used for bypass switching of the system, the system is timely found to be powered off, and a bypass switching module is controlled according to the preset bypass state to change the bypass state of the system, and compared with a large capacitor design with a capacitance value changing along with time, the design cannot become unreliable due to the lapse of time; compared with the dial switch design with complex operation, the bypass state of the system is set by adopting software control, the operation of a user is simpler, and the bypass state after the power failure of the system can be conveniently set only by a software command.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for setting a bypass state of a system after power failure.
Background
The main role of the bypass function technology is twofold. One is to improve the reliability of the system, and a monostable type relay is used in a general scheme. When the network forwarding system is powered down due to a fault, the bypass port is immediately switched into a bypass enabling state. Thus, the system cannot process the information despite the failure. However, the physical ports of the upstream and downstream systems are still connected. The whole system is not broken. Such a scenario is typically used for firewalls. Another is applied to the security aspect of the system, sometimes for the reason of network security, it is necessary to actively disconnect a certain port from the internal chip of the system, and then set the relevant port in the bypass disabled state.
The conventional bypass scheme generally includes a set of relays, a control signal circuit for the relays, and a bypassed power supply circuit. Most of traditional schemes cannot set a bypass state after power failure, and in the power failure state, a relay is fixed and defaulted to be in one state, generally a bypass starting state. If the circuit for controlling the bypass is a locking type relay, the relay keeps the state immediately before the power failure in the power failure state. Some solutions may design some large capacitors. When the power is off, the system utilizes the electric quantity stored in the capacitor to carry out configuration after the power is off. However, the capacitance of the capacitor decreases with time, and the capacity of storing electricity decreases, so that the method cannot reliably implement the setting after power down. Some solutions may manually set some switches, such as dial circuits, to set the power-down state, but this method is inflexible and inconvenient for the user.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the device for setting the bypass state after the system is powered down are provided, and the bypass state after the system is powered down can be conveniently and reliably set.
In order to solve the technical problems, the invention adopts the technical scheme that:
a method for setting a bypass state after a system is powered down comprises the following steps:
s1, acquiring the current working voltage value of the system;
s2, judging whether the current working voltage value is smaller than or equal to a preset voltage value, if so, executing the step S3, otherwise, acquiring the current working voltage value again, and judging again, wherein the preset voltage value is larger than the power supply voltage value of a circuit used for bypass switching by the system;
and S3, changing the bypass state of the system into a preset bypass state.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a device for setting a bypass state after a system is powered down comprises a main control module, a voltage monitoring module and a bypass switching module;
the bypass state switching module is electrically connected with the main control module, the main control module is connected with the voltage monitoring module, the main control module is connected with the bypass switching module, and the bypass switching module is used for controlling the bypass state of the system and supplying power to the system;
the main control module is used for executing the method for setting the bypass state of the system after power failure.
In conclusion, the beneficial effects of the invention are as follows: the main control module controls the voltage monitoring module to continuously judge the monitored current working voltage value of the system and the preset voltage value, so that before the current working voltage value of the system is smaller than the power supply voltage value of a circuit used for bypass switching of the system, the system is timely found out of power failure, and the bypass switching module is controlled according to the preset bypass state to change the bypass state of the system; compared with the dial switch design with complex operation, the bypass state of the system is set by adopting software control, the operation of a user is simpler, and the bypass state after the system is powered off can be conveniently and quickly set only by a software command.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for setting a bypass state after a system is powered down according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating steps of a method for setting a bypass state after a system power failure according to an embodiment of the present invention;
fig. 3 is a block diagram of a bypass state setting apparatus after power failure of a system according to an embodiment of the present invention;
description of reference numerals:
1. a main control module; 2. a voltage monitoring module; 3. a bypass switching module; 4. and a voltage reduction module.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1 to 2, a method for setting a bypass state after a system power failure includes the following steps:
s1, acquiring the current working voltage value of the system;
s2, judging whether the current working voltage value is smaller than or equal to a preset voltage value, if so, executing the step S3, otherwise, acquiring the current working voltage value again, and judging again, wherein the preset voltage value is larger than the power supply voltage value of a circuit used for bypass switching by the system;
and S3, changing the bypass state of the system into a preset bypass state.
From the above description, the beneficial effects of the present invention are: the method comprises the steps of obtaining a current working voltage value of a system and judging the current working voltage value of the system with a preset voltage value, so that before the current working voltage value of the system is smaller than a power supply voltage value of a circuit, used for bypass switching, of the system, the system is timely found to be powered down, the bypass state of the system is changed according to the preset bypass state, and compared with a large capacitor design with a capacitance value changing along with time, the situation that the system is unreliable due to the lapse of time is avoided; compared with the dial switch design with complex operation, the bypass state of the system is set by adopting software control, the operation of a user is simpler, and the bypass state after the power failure of the system can be conveniently set only by a software command.
Further, "no, before reacquiring the current operating voltage value," further includes:
whether a power-down command is received is detected, and if yes, the step S3 is executed.
As can be seen from the above description, even if the current system is not powered down, the bypass state of the system is still changed according to the preset bypass state after the power-down command is detected. Except the condition that the system detects the power failure, a user can directly issue a power failure instruction through software according to actual needs, and the bypass state of the system can be changed quickly and conveniently.
Further, step S1 is preceded by:
and S0, acquiring a normal working voltage value of the system, and setting the normal working voltage value as a preset voltage value according to a preset proportion.
As can be seen from the above description, the magnitude of the preset voltage value is set according to the magnitude of the normal operating voltage value of the current system in a preset proportion. And when the ratio of the current working voltage value of the system to the normal working voltage value is smaller than the preset ratio, the system is considered to be powered down.
Further, the preset ratio is [ 80%, 95% ].
From the above description, the preset ratio is as high as [ 80%, 95% ] in order to find out the system power down as early as possible and to allow enough time for changing the bypass state of the system subsequently.
Further, step S3 is specifically:
and a bypass switching module 3 of the control system switches the bypass state of the bypass switching module 3 to a preset bypass state.
As can be seen from the above description, for the bypass state switching of the system, the bypass switching module 3 of the control system changes the corresponding bypass state in the system.
Referring to fig. 3, a device for setting a bypass state after a system power failure includes a main control module 1, a voltage monitoring module 2, and a bypass switching module 3;
the bypass state switching module is electrically connected with the main control module 1, the main control module 1 is connected with the voltage monitoring module 2, the main control module 1 is connected with the bypass switching module 3, and the bypass switching module 3 is used for controlling the bypass state of the system and is powered by the system;
the main control module 1 is used for executing the method for setting the bypass state of the system after power failure.
From the above description, the beneficial effects of the present invention are: the main control module 1 controls the voltage monitoring module 2 to continuously monitor the current working voltage value of the system, so that the bypass switching module 3 is controlled according to the preset bypass state to change the bypass state of the system before the current working voltage value of the system is smaller than the power supply voltage value of a circuit used for bypass switching of the system, and the bypass state cannot become unreliable due to time lapse compared with a large capacitor design with a capacitance value changing along with time; compared with the dial switch design with complex operation, the bypass state of the system is set by adopting software control, the operation of a user is simpler, and the bypass state after the power failure of the system can be conveniently set only by a software command.
Further, the device also comprises a voltage reduction module 4;
and the voltage output end of the voltage reduction module 4 is connected with the bypass switching module 3, and the voltage input end of the voltage reduction module is used for connecting a power supply of the system.
As can be seen from the above description, the power supply of the system supplies power to the bypass switching module 3 by the step-down module 4 outputting an output voltage suitable for the bypass switching module 3.
Further, the voltage monitoring module 2 includes a voltage monitoring chip INA 231.
From the above description, the voltage monitoring chip with the INA231 programmable has higher precision.
Further, the main control module 1 includes a programmable logic device.
As can be seen from the above description, the main control module 1 is mainly implemented by a programmable logic device.
Further, the bypass switching module 3 includes a latching relay ohron.
From the above description, it can be seen that the latching relay ohron requires a low rated voltage and a fast switching time, and is very suitable for switching the bypass state of the system.
Referring to fig. 1, a first embodiment of the present invention is:
a method for setting a bypass state after a system power failure, as shown in fig. 1, includes the following steps:
s1, acquiring the current working voltage value of the system;
s2, judging whether the current working voltage value is smaller than or equal to a preset voltage value, if so, executing the step S3, otherwise, acquiring the current working voltage value again, and judging again, wherein the preset voltage value is larger than the power supply voltage value of a circuit used for bypass switching by the system;
and S3, changing the bypass state of the system into a preset bypass state.
In this embodiment, the current working voltage value of the system is obtained and is subjected to size judgment with the preset voltage value, so that before the current working voltage value of the system is smaller than the power supply voltage value of a circuit used for bypass switching by the system, the power failure of the system is timely found, the bypass state of the system is changed according to the preset bypass state, complex operations such as large capacitance or dial switch setting are not needed, simplicity and convenience are achieved, failure caused by factors such as time lapse is avoided, and the convenient and reliable setting of the bypass state after the power failure of the system is realized.
In this embodiment, step S3 specifically includes:
and a bypass switching module 3 of the control system switches the bypass state of the bypass switching module 3 to a preset bypass state.
Correspondingly, the preset voltage value is larger than the power supply voltage value of the bypass switching circuit of the system, so that the system power failure can be found timely. And the bypass state switching of the system is completed under the condition that the power supply of the bypass switching module 3 is ensured.
Further, in the present embodiment, specifically, step S1 is preceded by:
and S0, acquiring a normal working voltage value of the system, and setting the normal working voltage value as a preset voltage value according to a preset proportion.
Wherein, the preset proportion is preferably [ 80%, 95% ] so as to find out the system power failure as early as possible and reserve enough time for changing the bypass state of the system subsequently.
Referring to fig. 2, the second embodiment of the present invention is:
on the basis of the first embodiment, as shown in fig. 2, before "reacquiring the current operating voltage value", a method for setting a bypass state after a system power failure further includes:
whether a power-down command is received is detected, and if yes, the step S3 is executed.
The power-down instruction is an artificial input mode. Even if the current system is not powered down, the operator can still change the bypass state of the system according to the preset bypass state by inputting a power-down command from the outside.
Referring to fig. 3, a third embodiment of the present invention is:
a device for setting a bypass state of a system after power failure comprises a main control module 1, a voltage monitoring module 2 and a bypass switching module 3. The bypass state switching module is electrically connected with the main control module 1, the main control module 1 is connected with the voltage monitoring module 2, the main control module 1 is connected with the bypass switching module 3, and the bypass switching module 3 is used for controlling the bypass state of the system and is powered by the system. The main control module 1 is configured to execute the method for setting the bypass state after the system is powered down according to the first or second embodiment.
In the present embodiment, the voltage monitoring module 2 includes a voltage monitoring chip INA 231. Other chips having the same function may be used in other embodiments.
Furthermore, in the present embodiment, the bypass switching module 3 includes a latching relay ohron. Other relays having the same function may be used in other embodiments.
In summary, the present invention discloses a method and an apparatus for setting a bypass state after a system power failure, wherein a main control module controls a voltage monitoring module to continuously judge a monitored current working voltage value of the system and a preset voltage value, so that before the current working voltage value of the system is smaller than a power supply voltage value of a circuit of the system for bypass switching, the system power failure is timely found, a bypass switching module is controlled according to the preset bypass state to change the bypass state of the system, a value close to a normal working voltage of the system is taken as the preset voltage value, and a relay with a fast switching speed is adopted to perform bypass switching, so that compared with a large capacitor design in which a capacitance value changes along with time, the design is not unreliable due to time lapse; compared with the dial switch design with complex operation, the bypass state of the system is set by adopting software control, the operation of a user is simpler, and the bypass state after the power failure of the system can be conveniently set only by a software command.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent modifications made by the contents of the present specification and the drawings, or applied to the related technical fields directly or indirectly, are included in the scope of the present invention.
Claims (10)
1. A method for setting a bypass state after a system is powered down is characterized by comprising the following steps:
s1, acquiring the current working voltage value of the system;
s2, judging whether the current working voltage value is smaller than or equal to a preset voltage value, if so, executing a step S3, otherwise, acquiring the current working voltage value again, and judging again, wherein the preset voltage value is larger than a power supply voltage value of a circuit used for bypass switching by a system;
and S3, changing the bypass state of the system into a preset bypass state.
2. The method as claimed in claim 1, wherein before the step S2 of otherwise retrieving the current operating voltage value, the method further comprises:
whether a power-down command is received is detected, and if yes, the step S3 is executed.
3. The method for setting the bypass state after the system power failure according to claim 1, wherein the step S1 is preceded by:
and S0, acquiring a normal working voltage value of the system, and setting the normal working voltage value as the preset voltage value according to a preset proportion.
4. The method of claim 1, wherein the predetermined ratio is [ 80%, 95% ].
5. The method for setting the bypass state after the system is powered down according to claim 1, wherein the step S3 specifically includes:
and the bypass switching module of the control system switches the bypass state of the bypass switching module into a preset bypass state.
6. A device for setting a bypass state after a system is powered down is characterized by comprising a main control module, a voltage monitoring module and a bypass switching module;
the bypass state switching module is electrically connected with the main control module, the main control module is connected with the voltage monitoring module, the main control module is connected with the bypass switching module, and the bypass switching module is used for controlling the bypass state of the system and supplying power to the system;
the main control module is used for executing the method for setting the bypass state of the system after power failure as claimed in any one of claims 1 to 3.
7. The device for setting the bypass state after the system is powered down as claimed in claim 6, further comprising a voltage reduction module;
and the voltage output end of the voltage reduction module is connected with the bypass switching module, and the voltage input end of the voltage reduction module is used for being connected with a power supply of the system.
8. The device as claimed in claim 6, wherein the voltage monitoring module comprises a voltage monitoring chip INA 231.
9. The apparatus according to claim 6, wherein the main control module comprises a programmable logic device.
10. The device for setting the bypass state after the system is powered down as claimed in claim 6, wherein the bypass switching module comprises a latching relay ohm dragon.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110211117.4A CN112821545A (en) | 2021-02-25 | 2021-02-25 | Method and device for setting bypass state of system after power failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110211117.4A CN112821545A (en) | 2021-02-25 | 2021-02-25 | Method and device for setting bypass state of system after power failure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112821545A true CN112821545A (en) | 2021-05-18 |
Family
ID=75865640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110211117.4A Pending CN112821545A (en) | 2021-02-25 | 2021-02-25 | Method and device for setting bypass state of system after power failure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112821545A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001007942A (en) * | 1999-06-21 | 2001-01-12 | Nec Eng Ltd | Electronic line switching device |
CN101296064A (en) * | 2008-06-18 | 2008-10-29 | 杭州华三通信技术有限公司 | Bypass switching method, system and bypass equipment |
CN101702533A (en) * | 2009-11-04 | 2010-05-05 | 成都市华为赛门铁克科技有限公司 | Power supply method and equipment |
CN103904773A (en) * | 2014-04-02 | 2014-07-02 | 英利能源(中国)有限公司 | Bypass device of power distribution equipment and control method of power distribution network |
CN107465547A (en) * | 2017-08-08 | 2017-12-12 | 深圳市三旺通信技术有限公司 | A kind of ethernet device with bypass circuit |
CN107785988A (en) * | 2016-08-31 | 2018-03-09 | 新疆金风科技股份有限公司 | The online detection and control device and method of ups power |
CN207559681U (en) * | 2017-12-21 | 2018-06-29 | 漳州科华技术有限责任公司 | A kind of not power down control device of accessory power supply failure mode |
CN109391320A (en) * | 2017-08-14 | 2019-02-26 | 艾普仕股份有限公司 | network switch system |
CN209267267U (en) * | 2019-01-29 | 2019-08-16 | 佛山市永立新机电有限公司 | A kind of elevator emergency uninterrupted power supply |
-
2021
- 2021-02-25 CN CN202110211117.4A patent/CN112821545A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001007942A (en) * | 1999-06-21 | 2001-01-12 | Nec Eng Ltd | Electronic line switching device |
CN101296064A (en) * | 2008-06-18 | 2008-10-29 | 杭州华三通信技术有限公司 | Bypass switching method, system and bypass equipment |
CN101702533A (en) * | 2009-11-04 | 2010-05-05 | 成都市华为赛门铁克科技有限公司 | Power supply method and equipment |
CN103904773A (en) * | 2014-04-02 | 2014-07-02 | 英利能源(中国)有限公司 | Bypass device of power distribution equipment and control method of power distribution network |
CN107785988A (en) * | 2016-08-31 | 2018-03-09 | 新疆金风科技股份有限公司 | The online detection and control device and method of ups power |
CN107465547A (en) * | 2017-08-08 | 2017-12-12 | 深圳市三旺通信技术有限公司 | A kind of ethernet device with bypass circuit |
CN109391320A (en) * | 2017-08-14 | 2019-02-26 | 艾普仕股份有限公司 | network switch system |
CN207559681U (en) * | 2017-12-21 | 2018-06-29 | 漳州科华技术有限责任公司 | A kind of not power down control device of accessory power supply failure mode |
CN209267267U (en) * | 2019-01-29 | 2019-08-16 | 佛山市永立新机电有限公司 | A kind of elevator emergency uninterrupted power supply |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101232202B (en) | Double power supply converting switch device | |
JPH1024783A (en) | Integrated circuit with microcontroller control device connected to two-wire bus | |
CN105406580A (en) | Power supply system and method | |
WO2018028316A1 (en) | Terminal charging control method, device and terminal | |
US8836339B2 (en) | Switching device | |
CN113972702B (en) | Power supply device and power supply control method | |
CN111799759A (en) | Overcurrent protection circuit of vehicle-mounted ECU output power supply and control method thereof | |
CN105490368A (en) | Auxiliary power supply redundant power supply circuit and start-stop control system of UPS | |
US20190372342A1 (en) | Intelligent Power Supply and Auxiliary Monitoring Method for Intelligent Power Supply | |
EP3631936B1 (en) | Input circuit capable of reducing dark current | |
CN111463886A (en) | Method and device for rapidly switching static transfer switch, storage medium and terminal equipment | |
CN112821545A (en) | Method and device for setting bypass state of system after power failure | |
CN113179032A (en) | Synchronous rectification controller, control method and adapter | |
CN110445421B (en) | Starting circuit of motor, control method of starting circuit and engineering machinery | |
CN112039060B (en) | Control method and device applied to power supply circuit, terminal and storage medium | |
CN210804042U (en) | Lower computer power-on and power-off time sequence control system and robot | |
CN204517833U (en) | Power over Ethernet system and feeder ear equipment thereof | |
US11050379B1 (en) | Circuit and method for start of single phase to three phase conversion system | |
CN107566131B (en) | PSE multi-path automatic switching chip | |
CN114750709A (en) | Isolation controller applied to automobile power supply network and control method | |
CN103236808B (en) | Voltage reduction start protector for motor | |
CN110350650B (en) | High-capacity high-reliability rapid power supply switching device and switching control method thereof | |
CN203339997U (en) | Motor voltage reduction starting protector | |
CN112858894A (en) | Detection method and detection device for working state of contactor, storage medium and vehicle | |
CN215990309U (en) | Vehicle-mounted T-Box safe power supply system |
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: 20210518 |
|
RJ01 | Rejection of invention patent application after publication |