Movatterモバイル変換


[0]ホーム

URL:


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 PDF

Info

Publication number
CN112821545A
CN112821545ACN202110211117.4ACN202110211117ACN112821545ACN 112821545 ACN112821545 ACN 112821545ACN 202110211117 ACN202110211117 ACN 202110211117ACN 112821545 ACN112821545 ACN 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
Application number
CN202110211117.4A
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.)
Fuzhou Chuangshi Xunlian Information Technology Co ltd
Original Assignee
Fuzhou Chuangshi Xunlian Information Technology 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 Fuzhou Chuangshi Xunlian Information Technology Co ltdfiledCriticalFuzhou Chuangshi Xunlian Information Technology Co ltd
Priority to CN202110211117.4ApriorityCriticalpatent/CN112821545A/en
Publication of CN112821545ApublicationCriticalpatent/CN112821545A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

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

Method and device for setting bypass state of system after power failure
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 abypass switching module 3 of the control system switches the bypass state of thebypass switching module 3 to a preset bypass state.
As can be seen from the above description, for the bypass state switching of the system, thebypass 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 amain control module 1, avoltage monitoring module 2, and abypass switching module 3;
the bypass state switching module is electrically connected with themain control module 1, themain control module 1 is connected with thevoltage monitoring module 2, themain control module 1 is connected with thebypass switching module 3, and thebypass switching module 3 is used for controlling the bypass state of the system and is powered by the system;
themain 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: themain control module 1 controls thevoltage monitoring module 2 to continuously monitor the current working voltage value of the system, so that thebypass 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 avoltage reduction module 4;
and the voltage output end of thevoltage reduction module 4 is connected with thebypass 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 thebypass switching module 3 by the step-downmodule 4 outputting an output voltage suitable for thebypass switching module 3.
Further, thevoltage 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, themain control module 1 includes a programmable logic device.
As can be seen from the above description, themain control module 1 is mainly implemented by a programmable logic device.
Further, thebypass 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 abypass switching module 3 of the control system switches the bypass state of thebypass 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 thebypass 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 amain control module 1, avoltage monitoring module 2 and abypass switching module 3. The bypass state switching module is electrically connected with themain control module 1, themain control module 1 is connected with thevoltage monitoring module 2, themain control module 1 is connected with thebypass switching module 3, and thebypass switching module 3 is used for controlling the bypass state of the system and is powered by the system. Themain 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, thevoltage 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, thebypass 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)

CN202110211117.4A2021-02-252021-02-25Method and device for setting bypass state of system after power failurePendingCN112821545A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110211117.4ACN112821545A (en)2021-02-252021-02-25Method and device for setting bypass state of system after power failure

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110211117.4ACN112821545A (en)2021-02-252021-02-25Method and device for setting bypass state of system after power failure

Publications (1)

Publication NumberPublication Date
CN112821545Atrue CN112821545A (en)2021-05-18

Family

ID=75865640

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110211117.4APendingCN112821545A (en)2021-02-252021-02-25Method and device for setting bypass state of system after power failure

Country Status (1)

CountryLink
CN (1)CN112821545A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2001007942A (en)*1999-06-212001-01-12Nec Eng LtdElectronic line switching device
CN101296064A (en)*2008-06-182008-10-29杭州华三通信技术有限公司Bypass switching method, system and bypass equipment
CN101702533A (en)*2009-11-042010-05-05成都市华为赛门铁克科技有限公司Power supply method and equipment
CN103904773A (en)*2014-04-022014-07-02英利能源(中国)有限公司Bypass device of power distribution equipment and control method of power distribution network
CN107465547A (en)*2017-08-082017-12-12深圳市三旺通信技术有限公司A kind of ethernet device with bypass circuit
CN107785988A (en)*2016-08-312018-03-09新疆金风科技股份有限公司The online detection and control device and method of ups power
CN207559681U (en)*2017-12-212018-06-29漳州科华技术有限责任公司A kind of not power down control device of accessory power supply failure mode
CN109391320A (en)*2017-08-142019-02-26艾普仕股份有限公司 Network switch system
CN209267267U (en)*2019-01-292019-08-16佛山市永立新机电有限公司A kind of elevator emergency uninterrupted power supply

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2001007942A (en)*1999-06-212001-01-12Nec Eng LtdElectronic line switching device
CN101296064A (en)*2008-06-182008-10-29杭州华三通信技术有限公司Bypass switching method, system and bypass equipment
CN101702533A (en)*2009-11-042010-05-05成都市华为赛门铁克科技有限公司Power supply method and equipment
CN103904773A (en)*2014-04-022014-07-02英利能源(中国)有限公司Bypass device of power distribution equipment and control method of power distribution network
CN107785988A (en)*2016-08-312018-03-09新疆金风科技股份有限公司The online detection and control device and method of ups power
CN107465547A (en)*2017-08-082017-12-12深圳市三旺通信技术有限公司A kind of ethernet device with bypass circuit
CN109391320A (en)*2017-08-142019-02-26艾普仕股份有限公司 Network switch system
CN207559681U (en)*2017-12-212018-06-29漳州科华技术有限责任公司A kind of not power down control device of accessory power supply failure mode
CN209267267U (en)*2019-01-292019-08-16佛山市永立新机电有限公司A kind of elevator emergency uninterrupted power supply

Similar Documents

PublicationPublication DateTitle
JPH1024783A (en) Integrated circuit coupling microcontroller controller to two-wire bus
US8836339B2 (en)Switching device
CN104850021B (en)A kind of power on/off system
WO2018028316A1 (en)Terminal charging control method, device and terminal
CN113972702B (en)Power supply device and power supply control method
CN101428594A (en)Vehicle starting device and control method
CN105490368A (en)Auxiliary power supply redundant power supply circuit and start-stop control system of UPS
CN112821545A (en)Method and device for setting bypass state of system after power failure
CN103875145B (en) Grid monitoring device
US20190372342A1 (en)Intelligent Power Supply and Auxiliary Monitoring Method for Intelligent Power Supply
EP3631936B1 (en)Input circuit capable of reducing dark current
CN112803575B (en) A battery replacement control system and a battery replacement control method
US11050379B1 (en)Circuit and method for start of single phase to three phase conversion system
CN113179032A (en)Synchronous rectification controller, control method and adapter
CN110445421B (en)Starting circuit of motor, control method of starting circuit and engineering machinery
CN116707075A (en) A control system and method for power safety management
CN212435348U (en)Overcurrent protection circuit of vehicle-mounted ECU output power supply
CN103236808B (en)Voltage reduction start protector for motor
CN221652244U (en) Reactive power automatic compensation controller monitors switching control devices and distribution systems
CN112858894A (en)Detection method and detection device for working state of contactor, storage medium and vehicle
KR20220030810A (en)Apparatus for controlling power of cigar jack of vehicle
CN215990309U (en)Vehicle-mounted T-Box safe power supply system
CN220122892U (en)TBOX (tunnel boring oxide) abnormality repair circuit and vehicle
CN103676639B (en)Output precision and operation method
CN113036825B (en)High-reliability load power distribution control circuit

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20210518

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp