CN110033987A - Power supply control method, system, equipment and storage medium - Google Patents

Power supply control method, system, equipment and storage medium Download PDF

Info

Publication number
CN110033987A
CN110033987A CN201910402644.6A CN201910402644A CN110033987A CN 110033987 A CN110033987 A CN 110033987A CN 201910402644 A CN201910402644 A CN 201910402644A CN 110033987 A CN110033987 A CN 110033987A
Authority
CN
China
Prior art keywords
switch module
relay switch
module
power supply
relay
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.)
Granted
Application number
CN201910402644.6A
Other languages
Chinese (zh)
Other versions
CN110033987B (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shikun Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910402644.6A priority Critical patent/CN110033987B/en
Publication of CN110033987A publication Critical patent/CN110033987A/en
Application granted granted Critical
Publication of CN110033987B publication Critical patent/CN110033987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H47/00Circuit arrangements not adapted to a particular application of the relay and designed to obtain desired operating characteristics or to provide energising current
    • H01H47/22Circuit arrangements not adapted to a particular application of the relay and designed to obtain desired operating characteristics or to provide energising current for supplying energising current for relay coil
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The invention discloses a power supply control method, a power supply control system, power supply control equipment and a storage medium, and relates to the technical field of electronics. The method is applied to a power supply control system, and the power supply control system comprises the following steps: the method comprises the following steps of: after receiving a power supply instruction, the control module detects phase information of an alternating current input voltage signal, and if the phase information is first phase information, the control module controls the first relay switch module to be closed, so that a positive voltage signal in the alternating current input voltage signal is transmitted to a board card to be tested through the first relay switch module; and after the first relay switch module is controlled to be closed, if the phase information is second phase information, controlling the second relay switch module to be closed. The method solves the technical problem that the existing power supply control system generates fire arc when supplying power to the board card to be tested so as to reduce the stability of the power supply control system, and achieves the technical effect of improving the stability of the power supply control system.

Description

A kind of method for controlling power supply, system, equipment and storage medium
Technical field
The present embodiments relate to electronic technology field more particularly to a kind of method for controlling power supply, system, equipment and storages Medium.
Background technique
Circuit-board card will need electric power supply control system progress by the test of power supply and discharging function, test after manufacture The control of power supply and electric discharge.Using electric power supply control system in circuit-board card test process, need electric power supply control system for putting Electric steady in a long-term is controllable.
However, the control that traditional electric power supply control system is powered circuit-board card and is discharged using single relay, therefore it is logical When crossing method for controlling power supply control relay unlatching and closure, since there are pressure differences between relay terminal, therefore the meeting on relay Generating fiery arc reduces the stability of electric power supply control system to reduce the service life of relay.
Summary of the invention
The embodiment of the invention provides a kind of method for controlling power supply, system, equipment and storage mediums, to promote power supply control The stability of system.
In a first aspect, being applied to electric power supply control system, the confession the embodiment of the invention provides a kind of method for controlling power supply Electric control system includes: the first relay switch module, the second relay switch module, the control module and awaiting board card, The described method includes:
After the control module receives power supply instruction, the phase information of AC-input voltage signal is detected, if the phase Position information is first phase information, then the first relay switch module closure is controlled, so that the AC-input voltage is believed Positive voltage signal in number is transferred to the awaiting board card by first relay switch module;Control described first after After electric switch module closure, if the phase information is second phase information, second relay switch module is controlled Closure, so that the AC-input voltage signal is transferred to the awaiting board card.
Further, first relay switch module includes diode and connect with the diode Relay unit;Correspondingly, control the first relay switch module closure, comprising:
The relay unit closure is controlled, so that described in the positive voltage signal process in the AC-input voltage signal Diode is transmitted to the awaiting board card.
Further, method for controlling power supply, further includes:
After the cut-offing instruction that the control module receives, the phase information of AC-input voltage signal is detected;If described Phase information is second phase information, then controls second relay switch module and disconnect;Controlling second relay After switch module disconnects, if the phase information is first phase information, controls first relay switch module and disconnect.
Further, method for controlling power supply, further includes:
If the disconnection duration of first relay switch module is greater than preset duration, the electric power supply control system is controlled In discharge module discharge the awaiting board card.
Further, the phase information of the detection AC-input voltage signal, comprising:
Phase detection unit in the control module is based on received AC-input voltage signal output phase mark letter Breath;
Processing unit in the control module determines the phase of the AC-input voltage based on the phase identification information Position information.
Further, the electric power supply control system further include: relay delay detection module, correspondingly, the method is also Include:
Receive the relay status information of the relay delay detection module feedback;
Information is controlled according to the relay status acquisition of information relay,
Information is controlled according to the relay status information and the relay, determines closure Delay.
Second aspect, the embodiment of the invention also provides a kind of electric power supply control systems, comprising: the first relay switch mould Block, the second relay switch module, control module and awaiting board card;
Wherein, one end of first relay switch module connects the control module, first relay switch The other end of module connects the awaiting board card;
One end of second relay switch module connects the control module, second relay switch module The other end connects the awaiting board card;
The control module detects the phase information of AC-input voltage signal, if institute after receiving power supply instruction Stating phase information is first phase information, then controls the first relay switch module closure, so that exchange input electricity Positive voltage signal in pressure signal is transferred to the awaiting board card by first relay switch module;Controlling described the After one relay switch module closure, if the phase information is second phase information, second relay switch is controlled Module closure, so that the AC-input voltage signal is transferred to the awaiting board card.
Further, first relay switch module includes diode and relay unit;
After relay unit closure, the positive voltage signal in the AC-input voltage signal passes through two pole Pipe unit is transmitted to the awaiting board card.
Further, the control module includes: phase detection unit and the phase output with the phase detection unit The connected processing unit in end;
The phase detection unit receives AC-input voltage signal, and is in the phase of the AC-input voltage signal When first phase information, Xiang Suoshu processing unit sends first phase identification information;In the phase of the AC-input voltage signal When position is second phase information, Xiang Suoshu processing unit sends second phase identification information;
After the processing unit receives the first phase identification information, controls first relay switch module and close It closes;After controlling the first relay switch module closure, if receiving second phase identification information, described second is controlled Relay switch module closure.
Further, electric power supply control system, further includes: the discharge module being connect with the awaiting board card,
After the discharge module receives the sign on that the control module is sent, according to sign on triggering Discharge transistor conducting in discharge module, to drag down the voltage at awaiting board card end to be discharged.
Further, the discharge module, further includes: rectifier bridge,
The ac input end of the rectifier bridge is connected to the end to be discharged, puts described in the output end connection of the rectifier bridge The discharge end of electric module.
Further, electric power supply control system further includes mutual exclusion module,
The mutual exclusion input terminal of the mutual exclusion module connects the discharge examination end of the discharge module;
The mutual exclusion module receives the discharge examination signal of the discharge module output;And it is based on the discharge examination signal The driving voltage of first relay switch module and second relay switch module is controlled, so that the control module The open and-shut mode of first relay switch module and second relay switch module is controlled by the driving voltage.
The third aspect, the embodiment of the invention also provides a kind of equipment, comprising:
One or more processors;
Storage device, for storing one or more programs;
One or more of programs are executed by one or more of processors, so that one or more of processors Realize method for controlling power supply provided in an embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the program realize method for controlling power supply provided in an embodiment of the present invention when being executed by processor.
The embodiment of the invention provides a kind of method for controlling power supply, system, equipment and storage mediums, utilize above-mentioned technical side Case, based on the phase information of AC-input voltage signal, can successively control the first relay and open after receiving power supply instruction Close module and the second relay switch module closure.After controlling the first relay switch module closure, guarantee exchange input electricity The positive voltage signal of pressure is transferred to awaiting board card by the first relay switch module.After being closed the first relay switch module, AC-input voltage signal is made to pass through awaiting board card by being closed the second relay switch module.Successively it is closed the first relay Switch module and second switch module, effectively solve existing method for controlling power supply by control single relay closure when, after The technical issues of fiery arc generated on electric appliance, has reached the control AC-input voltage without fiery arc and has been transmitted by electric power supply control system To awaiting board card, for awaiting board card power supply.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for method for controlling power supply that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of method for controlling power supply provided by Embodiment 2 of the present invention;
Fig. 3 a is a kind of structural schematic diagram for electric power supply control system that the embodiment of the present invention three provides;
Fig. 3 b is the first relay switch module of one kind and the second relay switch module that the embodiment of the present invention three provides Circuit diagram;
Fig. 3 c be the first relay switch module that provides of the embodiment of the present invention three and the second relay switch module etc. Imitate circuit diagram;
Fig. 3 d is the circuit diagram for the control module that the embodiment of the present invention three provides;
Fig. 3 e is the circuit diagram for the discharge module that the embodiment of the present invention three provides;
Fig. 3 f is the circuit diagram for the mutual exclusion module that the embodiment of the present invention three provides;
Fig. 3 g is the circuit diagram for the relay delay detection module that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, Many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be pacified again Row.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.Institute Stating processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow diagram for method for controlling power supply that the embodiment of the present invention one provides, and this method is applicable to In the test process to awaiting board card, the case where providing power supply steady in a long-term for awaiting board card, this method can be applied to supply Electric control system, such as the electric power supply control system that the present embodiment three provides, electric power supply control system may include: the first relay switch Module, the second relay switch module, the control module and awaiting board card.Electric power supply control system can be used for for awaiting board card It is powered, to realize the test to awaiting board card.
Wherein, one end of the first relay switch module can connect control module, and the other end can connect awaiting board card, First relay switch module is closed under the control of control module, so as to be awaiting board card power supply.In addition, the second relay One end of device switch module can connect control module, and the other end can connect awaiting board card, and the second relay switch module exists It is closed under the control of control module, so as to be awaiting board card power supply.
It is understood that the first relay switch module and the respective electricity of the second relay switch module in the present embodiment Source input terminal can be with input AC input voltage signal.Between first relay switch module and the second relay switch module Connection relationship can be not construed as limiting, as long as can guarantee, after being closed the first relay switch module, so that AC-input voltage The positive voltage signal of signal is transferred to awaiting board card by the first relay switch module, and the first relay switch module of closure is complete Cheng Hou recloses the second relay switch module, guarantees that AC-input voltage signal is transferred to awaiting board card.
As shown in Figure 1, a kind of method for controlling power supply that the embodiment of the present invention one provides, includes the following steps:
After S101, control module receive power supply instruction, the phase information of AC-input voltage signal is detected.
Method for controlling power supply in the present embodiment is applied to electric power supply control system, and electric power supply control system includes the first relay Switch module, the second relay switch module, control module and awaiting board card.
First relay switch module can be understood as the relay module with reversed cut-off characteristics, to guarantee be closed The positive voltage signal of AC-input voltage signal is transmitted by the first relay switch module after first relay switch module To awaiting board card.Second relay switch module can be understood as relay module.Wherein, first and second be only used for distinguish after Electric switch module.Control module can be understood as the module for being powered control in electric power supply control system.Awaiting board card can To be interpreted as the board of pending test, such as television board of pending detection.
In embodiment, power supply instruction can be understood as the control instruction being powered to awaiting board card.Exchange input electricity Pressure signal can be understood as the voltage signal being powered to board to be detected.Phase information can be understood as AC-input voltage The phase of signal.
Wherein, the trigger condition of instruction of powering can be not construed as limiting, and e.g., power supply instruction can be and electric power supply control system The host computer of communication connection is sent, or the physical button triggering set in electric power supply control system.Based on power supply instruction Different trigger conditions, control module can select the corresponding means for receiving power supply instruction.Illustratively, if power supply instruction is Host computer is sent, then control module is by receiving power supply instruction with the communication link of host computer;If power supply instruction is power supply control Physical button triggering in system, the then state that electric power supply control system can detecte the physical button receive power supply control instruction.
In order to guarantee that controlling AC-input voltage signal without fiery arc is transmitted to awaiting board card, this reality by electric power supply control system Apply example can the phase information based on AC-input voltage signal successively control the first relay switch module and the second relay Switch module closure.Therefore after receiving power supply control instruction, this step can detecte the phase letter of AC-input voltage signal Breath.
The particular technique means of the phase information of detection AC-input voltage signal are not defined, can such as be led to herein It crosses phase detection unit and processing unit detects phase information, phase can also be carried out by sampling unit and processing unit The detection of position information.When carrying out phase-detection using phase detection unit, divider resistance can be used and exchanged with diode pair Input voltage signal is divided, and decides whether that switching tube is connected with the voltage by diode branch, such as optocoupler is for processing The phase information of unit detection AC-input voltage.When monitoring phase information according to sampling unit, first exchange can be inputted Voltage signal is divided is lifted voltage again, then samples to the voltage after lifting, and unit for processing determines exchange input The phase information of voltage signal.
If S102, phase information are first phase information, the first relay switch module closure is controlled.
In the present embodiment, first phase information can be understood as the corresponding phase letter of AC-input voltage signal negative half period Breath.
After the phase information for detecting AC-input voltage signal, phase information is judged.If phase information For first phase information, then the first relay switch module closure is controlled.
Wherein, control module control the first relay switch module closure means be not construed as limiting, can based on first after Specific device included by electric switch module determines.Illustratively, the first relay switch module includes relay unit, then Control module can be by the coil power supply for relay unit, to control the first relay switch module closure.
After control module controls the first relay switch module closure, the positive voltage signal in AC-input voltage signal can To be transmitted to awaiting board card by the first relay switch module, the negative voltage signal of AC-input voltage signal is ended, this When the first relay switch module on there is no a pressure difference, when conducting, will not generate fiery arc.
It is understood that after the first relay switch module closure, the negative voltage signal quilt of AC-input voltage signal Cut-off is as caused by the reversed cut-off characteristics of the first relay switch module.Wherein, the first relay switch module is anti- It include reversed cut-off characteristics device to can be by the first relay switch module for cut-off characteristics, such as diode, generation, this It is not construed as limiting in embodiment.
S103, after controlling the first relay switch module closure, if phase information is second phase information, control the Two relay switch modules closure.
In the present embodiment, second phase information can be understood as the corresponding phase letter of AC-input voltage signal positive half cycle Breath.
After the first relay switch module closure, control module can continue to test phase information, if phase information For second phase information, then the second relay switch module can be closed.The closure means of second relay switch module can be with Referring to the means that the first relay switch module is closed, it is not repeated herein.
After controlling the second relay switch module closure, AC-input voltage signal can also be directly transferred to board under test Card, the second relay switch module closure when, the pressure difference in the second relay switch module can only be from first after Electric switch module, and the voltage in the first relay switch module can only by the first relay switch module include it is reversed Cutoff device generates, and the voltage is lower.Therefore in the second relay switch module closure, fiery arc will not be generated.
A kind of method for controlling power supply that the embodiment of the present invention one provides, can be after receiving power supply instruction, based on exchange The phase information of input voltage signal successively controls the first relay switch module and the second relay switch module closure.? After controlling the first relay switch module closure, guarantee that the positive voltage signal of AC-input voltage passes through the first relay switch mould Block is transferred to awaiting board card.After being closed the first relay switch module, to exchange by being closed the second relay switch module Input voltage signal passes through awaiting board card.It is successively closed the first relay switch module and second switch module, is effectively solved existing When having method for controlling power supply by controlling single relay closure, the fiery arc generated on relay the technical issues of, reach The control AC-input voltage of no fiery arc is transmitted to awaiting board card by electric power supply control system, for awaiting board card power supply.
Embodiment two
Fig. 2 is a kind of flow diagram of method for controlling power supply provided by Embodiment 2 of the present invention, and the present embodiment two is upper It states and optimizes on the basis of each embodiment.It in the present embodiment, include diode list by the optimization of the first relay switch module Member and the relay unit being connect with the diode, correspondingly, method for controlling power supply is further detailed as: control The relay unit closure is made, so that the positive voltage signal in the AC-input voltage signal passes through the diode It is transmitted to the awaiting board card.
Further, it includes: detection after cut-offing instruction that the control module receives that the present embodiment, which also advanced optimizes, The phase information of AC-input voltage signal;If the phase information is second phase information, second relay is controlled Switch module disconnects;After controlling second relay switch module and disconnecting, if the phase information is first phase information, First relay switch module is then controlled to disconnect.
Further, if the present embodiment also advanced optimize include: first relay switch module disconnection duration Greater than preset duration, then the discharge module controlled in the electric power supply control system discharges to the awaiting board card.
Further, it will test the phase information of AC-input voltage signal, optimization includes:
Phase detection unit in the control module is based on received AC-input voltage signal output phase mark letter Breath;
Processing unit in the control module determines the phase of the AC-input voltage based on the phase identification information Position information.
The not yet detailed content of the present embodiment please refers to embodiment one.
In the present embodiment, the first relay switch module can be optimized includes diode and and diode The relay unit of connection, so that the first relay switch module has reversed cut-off characteristics, to guarantee in the first relay After device switching molding group closure, the positive voltage signal of AC-input voltage signal is transferred to be measured by the first relay switch module Board.Wherein, diode can be understood as the device with reversed cut-off characteristics.Relay unit can be understood as can By the switch of control module control on state.
In addition, it includes relay delay detection module that power supply system, which also optimizes, so that method for controlling power supply is able to detect The make delay information of relay.Wherein, relay delay detection module can be understood as when detecting the actuating of relay The module of make delay information.
Specifically, as shown in Fig. 2, a kind of method for controlling power supply provided by Embodiment 2 of the present invention, includes the following steps:
After S201, control module receive power supply instruction, the phase detection unit in control module is based on received exchange Input voltage signal output phase identification information.
In the present embodiment, control module can pass through control when detecting the phase information of AC-input voltage signal The phase identification information of phase detection unit detection AC-input voltage signal in module, unit for processing determine control plan Slightly.Phase identification information can be understood as the information being identified to the phase information of AC-input voltage signal.Phase identification Information includes first phase identification information and second phase identification information, the first phase identification information mark first phase letter Breath, the second phase identification information identify second phase information.
Wherein, phase detection unit can be understood as the unit detected to AC-input voltage signal.The unit can Corresponding phase identification information is generated with positive half cycle signal and negative half-cycle signal based on AC-input voltage signal, it is for processing Unit determines phase information.
Specifically, can use the reversed cut-off characteristics of diode, distinguishing the positive half cycle of AC-input voltage signal and bearing Half cycle, thus control switch pipe, such as transistor or optocoupler, open state, with output phase identification information.
After control module receives power supply instruction, the phase detection unit in control module can be based on received exchange Input voltage signal output phase identification information.Method for controlling power supply in the present embodiment may further be applied to control module Processing unit in, processing unit can control phase detection unit be based on AC-input voltage signal output phase mark letter Breath.
Processing unit in S202, control module determines the phase information of AC-input voltage based on phase identification information.
In the present embodiment, processing unit can be understood as the processor in control module, such as micro-control unit (Microcontroller Unit, MCU).
After phase detection unit output phase identification information, the processing unit of control module can be based on the phase identification Information determines phase information.Specifically, processing unit can be previously stored with the correspondence of phase identification information and phase information Relationship can be determined to correspond to the phase identification information based on the corresponding relationship of storage after receiving phase identification information Phase information.
S203, judge whether phase information is first phase information, if so, executing S204;If it is not, then executing S203.
After determining phase information, phase information can be detected, if the phase information is first phase letter Breath then can control the first relay switch module closure, it can execute S204;It, then can be with if not first phase information Continue to detect phase information, i.e. execution S203, until detecting first phase information.
S204, control relay unit closure, so that the positive voltage signal in AC-input voltage signal passes through diode Unit is transmitted to awaiting board card.
When controlling the first relay switch module closure, this step can control relay unit by control module and close It closes, so that the positive voltage signal in AC-input voltage signal is transmitted to awaiting board card, negative voltage signal by diode It terminates at diode position.When controlling the relay unit closure in the first relay switch module, relay list No pressure difference in member, conducting will not generate fiery arc.
S205, judge after controlling the first relay switch module closure, whether phase information is second phase information, if It is then to execute S206;If it is not, then executing S205.
After the first relay switch module closure, the present embodiment can continue to test phase information, to judge that phase is believed Whether breath is second phase information, determines whether control the second relay switch module closure.
After the first relay switch module closure, if phase information is second phase information, second can control Relay switch module closure, it can execute S206;If phase information is not second phase information, can continue to test Phase information, until phase information is second phase information, it can execute S205.
S206, control the second relay switch module closure.
After the first relay switch module closure, if phase information is second phase information, the second relay is controlled Switch module closure, so that AC-input voltage signal is transmitted to awaiting board card.
After controlling the second relay switch module closure, the pressure difference of the second relay switch module can come solely from the Diode in one relay switch module, the pressure difference are about 1.5V, will not in the conducting of the second relay switch module Generate fiery arc.
It is understood that AC-input voltage signal can be exported directly after the second relay switch module closure To awaiting board card, to carry out normal power supply for awaiting board card.
After the cut-offing instruction that S207, control module receive, the phase information of AC-input voltage signal is detected.
Method for controlling power supply in the present embodiment can also optimize and control including power-off, to realize that power-off Shi Wuhuo arc is logical Cross electric power supply control system.
In the present embodiment, cut-offing instruction is also understood that disconnect the control instruction of awaiting board card power supply.The power-off refers to The trigger condition of order may refer to the trigger condition of power supply instruction, be not construed as limiting herein.
After the completion of awaiting board card test, control module can use the first relay switch module of conducting and the second relay The inverse process of switch module, controls the first relay switch module and second switch module disconnects, to cut off awaiting board card power supply.
Specifically, the phase letter of AC-input voltage signal can be detected first after control module receives cut-offing instruction Breath, to determine control strategy.
The specific means of detection phase information may refer to the means that phase information is detected in embodiment one, not limit herein It is fixed.
S208, judge whether phase information is second phase information, if so, executing S209;If it is not, then executing S208.
After obtaining phase information, this step may determine that whether the phase information is second phase information, in the second phase When the information of position, the second relay switch module is turned off, it can execute S209;If phase information is not second phase information, It can then continue to test, until phase information is second phase information, it can execute S208.
S209, control second relay switch module disconnect.
When phase information is second phase information, then control module can control the disconnection of the second relay switch module, So that the positive voltage signal of AC-input voltage signal is exported by the first relay switch module to awaiting board card.
Second relay switch module disconnect after, the pressure difference in the second relay switch module can only be from first after The reversed cutoff device of electric switch module, the pressure difference is smaller, will not generate fiery arc.
S210, judge after controlling the second relay switch module and disconnecting, whether phase information is first phase information, if It is then to execute S211;If it is not, then executing S210.
After disconnecting the second relay switch module, this step can continue to test phase information, to determine phase information Whether it is first phase information, determines whether to disconnect the first relay switch module.If phase information is first phase Information can then disconnect the first relay switch module, it can execute S211;If phase information is not first phase information, It can then continue to test, until phase information is first phase information, it can execute S210.
S211, the first relay switch module of control disconnect.
After phase information is first phase information, control module can control the disconnection of the first relay switch module.
The technological means for disconnecting the first relay switch module and the second relay switch module may refer to the hand be connected Section, can such as disconnect the power supply of the coil of the first relay switch module and the second relay switch module.
After disconnecting the first relay switch module, due to the reversed cut-off characteristics of the first relay switch module, second There is no pressure differences in relay switch module, therefore will not generate fiery arc when disconnection.
S212, judge whether the disconnection duration of the first relay switch module is greater than preset duration, if so, executing S213;If it is not, then executing S212.
In the test to awaiting board card, it is desirable that for steadily in the long term controllable of discharging, awaiting board card discharge time requires short. There is big electrolytic capacitor since the exchange of awaiting board card turns direct current (AC-DC) power pack, have charge on electrolytic capacitor after test, Leading to voltage is about 300V, and part awaiting board card voltage is unable to nature fell, can be preferable using the technical solution of the present embodiment Take into account stability and the velocity of discharge.The big electrolytic capacitor electric discharge of existing awaiting board card generally uses manual discharge or relay control System electric discharge has the problems such as velocity of discharge is not fast enough and relay life is short.The present embodiment is discharged by discharge module, To solve the above problems.
In the present embodiment, on the basis of disconnecting awaiting board card power supply, it can advanced optimize including being put for awaiting board card The step of electricity.
Specifically, after disconnecting the second relay switch module and the first relay switch module, can be delayed one section when Between, to ensure that awaiting board card powers off successfully, to discharge for awaiting board card, to reach factory state.
In the present embodiment, disconnecting duration can be understood as the duration of the first relay switch module disconnection.Preset duration Delay duration after can be understood as the first relay switch module of preset disconnection.It is greater than preset duration disconnecting duration When, it can discharge for awaiting board card, it can execute S213;It, can be after if disconnecting duration is not more than preset duration Continuous detection, until disconnecting duration is greater than preset duration, i.e. execution S212.
Discharge module in S213, the control electric power supply control system discharges to awaiting board card.
After the disconnection duration of the first relay switch module is greater than preset duration, control module can control discharge module For awaiting board card electric discharge.
Wherein, discharge module can be understood as the module discharged in electric power supply control system for awaiting board card.
The physical circuit of discharge module is not defined herein, as long as can guarantee that discharge module can be by awaiting board card Voltage drop down to safety dispatch from the factory voltage.Safety factory voltage can be determines according to actual conditions.
Such as, discharge module can be awaiting board card electric discharge by the on state of discharge transistor.
A kind of method for controlling power supply provided by Embodiment 2 of the present invention embodies the first relay switch module of control and closes The operation of conjunction and the operation for detecting phase information, also optimization include that power operation, discharge operation and make delay information determine Operation.Using this method, the first relay switch module and the second relay can be successively controlled after receiving power supply instruction Switch module closure, with realize electric power supply control system without fiery arc be awaiting board card power supply.After receiving cut-offing instruction, pass through It successively controls the second relay switch module and the first relay switch module disconnects, realize electric power supply control system without the disconnected of fiery arc Open the power supply of awaiting board card.In addition, it is long greater than after preset duration when power is off, it is awaiting board card electric discharge by discharge module, has Effect improves the velocity of discharge of awaiting board card.
Further, electric power supply control system is also optimized includes: relay delay detection module, correspondingly, correspondingly, should Method further include:
The relay status information of receiving relay delay detection module feedback;
Information is controlled according to relay status acquisition of information relay,
Information is controlled according to relay status information and relay, determines closure Delay.
In addition, it includes relay delay detection module that the present embodiment, which can also optimize electric power supply control system, correspondingly, control The relay status information of molding block receiving relay delay detection module feedback, to obtain relay control information, thus base Information is controlled in relay status information and relay, determines make delay information.
Wherein, relay status information can be understood as the closed state of characterization relay and the information of on state.After Electric appliance delay detection module can the on state based on the first relay switch module and/or the second relay switch module to Control module feddback relay device status information.
After control module receiving relay status information, the relay control letter for corresponding to relay status information is obtained Breath.When relay control information can be understood as generating relay status information, the control to corresponding relay switch module Information.Such as, control module has sent relay control information to the first relay switch module, and the first relay switch module has May be due to aging, the time for the closure that has been delayed, relay delay detection module then detects relay status information, for control Molding block determines closure Delay based on relay status information and relay control information.
After determining closure Delay, control module can be in the corresponding relay switch module of lower secondary control, and being based on should It is closed Delay and sends control signal.Wherein, relay switch module may include the first relay switch module and second Relay switch module.
It should be noted that determine that the execution opportunity of closure Delay is not construed as limiting, it can be in relay switch module When generation acts, when being such as opened or closed, execution.
Embodiment three
Fig. 3 a is a kind of structural schematic diagram for electric power supply control system that the embodiment of the present invention three provides, the electric power supply control system The case where being applicable in the test process to awaiting board card, providing power supply steady in a long-term for awaiting board card, the wherein power supply Control system can provide power supply for awaiting board card.
As shown in Figure 3a, which includes: the first relay switch module 31, the second relay switch module 32, control module 33 and awaiting board card 34;
Wherein, one end link control module 33 of the first relay switch module 31, the first relay switch module 31 The other end connects awaiting board card 34;
One end link control module 33 of second relay switch module 32, the other end of the second relay switch module 32 Connect awaiting board card 34;
Control module 33 detects the phase information of AC-input voltage signal, if phase after receiving power supply instruction Information is first phase information, then the first relay switch module 31 closure is controlled, so that in AC-input voltage signal just Voltage signal is transferred to awaiting board card 34 by the first relay switch module 31;It is closed controlling the first relay switch module 31 After conjunction, if phase information is second phase information, the second relay switch module 32 closure is controlled, so that AC-input voltage Signal is transferred to awaiting board card 34.
In the present embodiment, the control module of the electric power supply control system can successively control the first relay based on phase information Device switch module 31 and the second relay switch module 32 closure, to realize that electric power supply control system without fiery arc is awaiting board card 34 power supplies.
Fig. 3 b is the first relay switch module of one kind and the second relay switch module that the embodiment of the present invention three provides Circuit diagram.The schematic diagram illustrates only one of embodiment of the present invention connection type, and those skilled in the art can basis The connection type is adjusted, to realize identical technical effect.
As shown in Figure 3b, first terminal CNB1 can be can connect with input AC input voltage signal, Second terminal CNB2 The awaiting board card 34 in electric power supply control system is not shown in Fig. 3 b for awaiting board card 34, and those skilled in the art can be according to reality Situation is connected to corresponding awaiting board card 34.In addition, illustrating only control module 33 and the first relay switch module 31 in Fig. 3 b With the connection relationship of the second relay switch module 32, control module 33 is not shown.
Control module 33 can be by 14 pins of the first relay switch module 31, referring to network label Relay2, control Make the open and-shut mode of the first relay switch module 31;By 14 pins of the second relay switch module 32, referring to network mark Number Relay1 controls the open and-shut mode of the second relay switch module 32.
Referring to Fig. 3 b, the first relay switch module 31 may include relay unit JD2 and diode D5.Second Relay switch module 32 may include the second relay unit JD1.First relay switch module 31 and the second relay are opened Three groups of switches can be respectively included by closing module 32.
Fig. 3 c be the first relay switch module that provides of the embodiment of the present invention three and the second relay switch module etc. Imitate circuit diagram.Referring to Fig. 3 c, 6 pins and 9 pins of relay unit JD2, i.e. JD2 (6 9), after series diode cells D 5, It is connected in parallel to 4 pins and 7 pins of the second relay unit JD1, i.e. JD1 (4 7) both ends.4 pins of relay unit JD2 and 7 Pin, i.e. JD2 (4 7) are connected in parallel to 6 pins and 9 pins of the second relay unit JD1, i.e. JD1 (6 9) both ends.
Electric power supply control system is that the power supply of awaiting board card 34 can be divided into three phases:
Original state: the second relay unit JD1 and relay unit JD2 are not turned on.
(1) control relay unit JD2 is connected in the negative half period of AC-input voltage signal AC, is based on diode D5 Be reversely not turned on characteristic.4 pins of relay unit JD2 and 7 pins and 6 pins and 9 pins do not have pressure difference at this time, lead Fiery arc will not be generated when logical, and the positive half cycle of AC can pass through.
(2) the second relay unit JD1 of control is connected in the positive half cycle of AC, because of 6 pins of relay unit JD2 and 9 4 pins and 7 pins of the second relay unit JD1 are connected in parallel to after pin serial connection D5.The 4 of the second relay unit JD1 are drawn at this time It is about 1.5V that foot and 7 pins, which only have the pressure drop of diode D5, and when conducting will not generate fiery arc, the second relay unit JD1 AC positive-negative half-cycle can pass through after conducting.
(3) normal power supply.
Electric power supply control system is that the power-off of awaiting board card 34 can be divided into three phases:
Original state: the second relay unit JD1 and relay unit JD conducting.
(1) phase is detected, the phase detection unit of AC-input voltage signal AC phase is detected by phase information, is transmitted to place Manage unit.
(2) the second relay unit JD1 of control is disconnected in the positive half cycle of AC, because of 4 pins of the second relay unit JD1 With 7 pins and 6 pins of relay unit JD and the branch circuit parallel connection of 9 pin serial connection diode D5.Second relay at this time It is about 1.5V that 4 pins and 7 pins of unit JD1, which only have the pressure drop of diode D5, and when disconnection will not generate fiery arc, second after AC negative half period cannot pass through after electric appliance unit JD1 is disconnected.
(3) control relay unit JD is disconnected in the negative half period of AC, is reversely not turned on characteristic by diode D5. 4 pins of relay unit JD and 7 pins and 6 pins and 9 pins do not have a pressure difference at this time, and when disconnection will not generate fiery arc, and The positive half cycle of AC can not pass through.
(4) it is disconnected power supply.
A kind of electric power supply control system is present embodiments provided, it can be after receiving power supply instruction, based on exchange input electricity The phase information for pressing signal successively controls the first relay switch module and the second relay switch module closure.In control the After one relay switch module closure, guarantee that the positive voltage signal of AC-input voltage is transmitted by the first relay switch module To awaiting board card.After being closed the first relay switch module, make exchange input electricity by being closed the second relay switch module Pressure signal passes through awaiting board card.It is successively closed the first relay switch module and second switch module, effectively solves existing power supply When control method is by controlling single relay closure, the fiery arc generated on relay the technical issues of, reach without fiery arc Control AC-input voltage awaiting board card is transmitted to by electric power supply control system, with for awaiting board card power supply.
Referring to Fig. 3 b-3c, further, the first relay switch module 31 includes diode D5 and relay unit JD2;
After relay unit JD2 closure, the positive voltage signal in AC-input voltage signal passes through diode D5 It is transmitted to awaiting board card 34.
Specifically, positive voltage signal, by 6 pins of diode D5 and relay unit JD2 and 9 pins, to be measured 4 pins and 7 pins of board 34 and relay unit JD2 are to the N-terminal of first terminal CNB1 to form closed circuit.Negative voltage letter Number ended at diode D5.
Further, Fig. 3 d is the circuit diagram for the control module that the embodiment of the present invention three provides.Control module 33 includes: phase Position detection unit and the processing unit being connected with the phase output of phase detection unit;
Phase detection unit receives AC-input voltage signal, and is first phase in the phase of AC-input voltage signal When information, first phase identification information is sent to processing unit;It is second phase information in the phase of AC-input voltage signal When, second phase identification information is sent to processing unit;
After processing unit receives first phase identification information, control the first relay switch module 31 closure;It is controlling After first relay switch module 31 closure, if receiving second phase identification information, the second relay switch module is controlled 32 closures.
Referring to Fig. 3 b, phase detection unit may include: first phase resistance (at least one in R52, R141 and R31 It is a), second phase resistance R109, third phase resistance R11, first phase diode D4, second phase diode D7, third phase Position diode D25, the 4th phase diode D8, the 5th phase diode D26 and phase-detection optocoupler PCB1;
The positive input terminal 220V_L and negative input end 220V_N of phase detection unit receive AC-input voltage signal.Work as friendship When stream input voltage signal is positive voltage signal, third phase diode D25, the 4th phase diode D8, two pole of the 5th phase The branch road of pipe D26 forms pressure drop, is applied to phase-detection optocoupler PCB1, with phase-triggered detection optocoupler PCB1 conducting, to place It manages unit and sends second phase identification information, i.e. low-potential signal.When AC-input voltage signal is negative voltage signal, due to The switching tube PCB1B of the reversed cut-off characteristics of the diode of phase-detection optocoupler PCB1 control terminal, phase-detection optocoupler PCB1 is disconnected It opens, phase detection unit sends first phase identification information, i.e. high level signal to processor.
Wherein, first phase resistance (at least one of R52, R141 and R31), second phase resistance R109 and third phase Position resistance R11 can be used for dividing or current limliting, and first phase diode D4 can exchange input with second phase diode D7 When voltage signal is in negative voltage signal, damage detection optocoupler PCB1 is prevented.
After processing unit receives the first phase identification information of phase output 220V_PhaseDet output, control the One relay switch module 31 closure;After controlling the first relay switch module 31 closure, if receiving second phase mark Information then controls the second relay switch module 32 closure.
Specifically, when controlling the first relay switch module 31 or the second relay switch module 32 is closed, Ke Yitong The supply state for crossing the first relay switch module 31 of control or 32 driving voltage of the second relay switch module is realized.
The supply state of the driving voltage of first relay switch module 31 and the second relay switch module 32 can lead to It crosses corresponding first level conversion unit and second electrical level converting unit is realized.First level conversion unit and second electrical level conversion Device included by unit can be identical, and the connection type between each device can be identical.
Illustratively, the first level conversion unit may include: the first transfer resistance R113, the second transfer resistance R105, Third transfer resistance R63, the 4th transfer resistance R51, the 5th transfer resistance R55, conversion capacitor C40, conversion field-effect tube Q10 and Convert triode Q15;
First level conversion unit can provide driving voltage for the first relay switch module 31.When processing unit controls When first relay switch module 31 is closed, conducting voltage can be provided for conversion triode Q15, so that third conversion electricity R63, the 4th transfer resistance R51, the 5th transfer resistance R55 partial pressure are hindered, field-effect tube Q10 is converted with conducting, thus will driving electricity Pressure 24V_RELAYP is exported to the first relay switch module 31, to control the first relay switch module 31 closure.
Further, electric power supply control system further include: the discharge module being connect with awaiting board card 34,
After discharge module receives the sign on that control module 33 is sent, putting in discharge module is triggered according to sign on Electric transistor conducting, to drag down the voltage at the end to be discharged of awaiting board card 34.
Fig. 3 e is the circuit diagram for the discharge module that the embodiment of the present invention three provides.Referring to Fig. 3 e, Fig. 3 e shows one kind and puts The connection schematic diagram of electric module.Discharge module includes the first discharge resistance R76, the second discharge resistance R44, third discharge resistance R24, the 4th discharge resistance R22, the 5th discharge resistance R34, the 6th discharge resistance R10, discharge diode Q17, electric discharge field-effect Pipe Q4, the first discharge diode D30, the second discharge diode D32, third discharge diode D33, the 4th discharge diode D11 With the first electric discharge optocoupler PCB2;
The first discharge resistance R76 from control module 33 to discharge module and the second discharge resistance R44 connecting pin 330VLOAD_CT_MOS sends sign on, so that discharge module is based on sign on triggering discharge transistor conducting, electric discharge is brilliant Body pipe includes discharge diode Q17, the first electric discharge optocoupler PCB2 and electric discharge field-effect tube Q4.
Specifically, after discharge diode Q17 control terminal reaches conducting voltage, the first electric discharge optocoupler PCB2 control terminal PCB2A Upper generation pressure difference, control the first electric discharge optocoupler PCB2 controlled end PCB2B conducting, so as to be generated in electric discharge field-effect tube Q4 control terminal Pressure difference so that electric discharge field-effect tube Q4 be connected, therefore enables to the first discharge diode D30, the second discharge diode D32, the Three discharge diode D33 branches connection, to be discharged by the branch as the end to be discharged of awaiting board card 34.End to be discharged can be The both ends of big electrolytic capacitor in awaiting board card 34.
Further, discharge module, further includes: rectifier bridge,
The ac input end of rectifier bridge is connected to end to be discharged, the discharge end of the output end connection discharge module of rectifier bridge.
The ac input end CN and CP of rectifier bridge are connected to the end to be discharged of awaiting board card 34, the output end connection of rectifier bridge To the corresponding discharge end of discharge module, such as the positive discharge end of the positive output end connection discharge module of rectifier bridge, negative output terminal connection Negative discharge end.Wherein, output end includes positive output end and negative output terminal, and discharge end includes positive output end and negative output terminal, referring to The position network label 300V+ and 300V-.
Increasing rectifier bridge in discharge module enables to discharge module to connect awaiting board card 34, to put for awaiting board card 34 When electric, need not distinguish between it is positive and negative, convenient for operation.
Further, electric power supply control system further includes mutual exclusion module,
The discharge examination end of the mutual exclusion input terminal connection discharge module of mutual exclusion module;
Mutual exclusion module receives the discharge examination signal of discharge module output;And the first relay is controlled based on discharge examination signal The driving voltage of device switch module 31 and the second relay switch module 32, so that control module 33 passes through driving voltage control the The open and-shut mode of one relay switch module 31 and the second relay switch module 32.
Fig. 3 f is the circuit diagram for the mutual exclusion module that the embodiment of the present invention three provides.Referring to Fig. 3 e-3f, the mutual exclusion of mutual exclusion module Input terminal connects the discharge examination end of discharge module, at the position network label DisCharg_State.
Mutual exclusion module includes: the first mutual exclusion resistance R27, the second mutual exclusion resistance R23, third mutual exclusion resistance R29, the 4th mutual exclusion Resistance R35, mutual exclusion triode Q16 and mutual exclusion field-effect tube QM1;
Discharge module is in for 34 discharge process of awaiting board card, discharge examination optocoupler PCB5 conducting, so that discharge examination end Low-potential signal is exported, to indicate that discharge module is currently in discharge condition.Discharge examination end also can connect to control mould Block 33, to notify the state of 33 present discharge module of control module.
In addition, after mutual exclusion module receives the discharge examination signal that discharge examination end exports, if discharge examination signal is low Level signal, it can be said that bright be currently at discharge condition, i.e. disconnection mutual exclusion triode Q16, and then disconnect mutual exclusion field-effect tube QM1, to cut off the supply of driving voltage.When guaranteeing that discharge module is that awaiting board card 34 is discharged, electric power supply control system is not Awaiting board card 34 is powered.When discharge examination signal is high level signal, it may be said that bright present discharge module is not in electric discharge shape State then can supply driving voltage for the first relay switch module 31 and the second relay switch module 32, so that control mould Block 33 can control the open and-shut mode of the first relay switch module 31 and the second relay switch module 32 by driving voltage.
In addition, Fig. 3 g is the circuit diagram for the relay delay detection module that the embodiment of the present invention three provides.Referring to Fig. 3 g, after Electric appliance delay detection module includes detection resistance R104.Pass through the voltage of one end Relay_ActionTime of detection resistance R104 It is worth and determines relay status information.Such as after the first relay switch module 31 is closed, one end Relay_ of detection resistance R104 ActionTime exports low voltage signal, otherwise, output HIGH voltage signal.To pass through one end Relay_ of detection resistance R104 The voltage value of ActionTime determines relay status information.
As it can be seen that phase information of the electric power supply control system provided in the present embodiment by detection AC-input voltage signal, Using double relay, the first relay switch module and the second relay switch module carry out the arc extinguishing of Alternating Current Power Supply and power-off Processing, electric power supply control system stability is high, can avoid that bring is used for a long time because of relay in prolonged use, when switch Between do not know and the problem of service life reduces, discharge module does not have to distinguish positive negative input, convenient for operation.Using metal-oxide-semiconductor and Optocoupler carries out the fool proof on hardware, can be prevented using mutual exclusion module because of master chip program, such as control module program, failure causes Paradoxical discharge accident, logic is simple, will power supply and electric discharge logic binding.
Method for controlling power supply provided by any embodiment of the invention can be performed in above-mentioned electric power supply control system, has the side of execution The corresponding functional module of method and beneficial effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.As shown in figure 4, the embodiment of the present invention Four equipment provided include: one or more processors 41 and storage device 42;Processor 41 in the equipment can be one Or it is multiple, in Fig. 4 by taking a processor 41 as an example;Storage device 42 is for storing one or more programs;It is one or more A program is executed by one or more of processors 41, so that one or more of processors 41 realize that the present invention such as is implemented Method for controlling power supply described in any one of example.
The equipment can also include: input unit 43 and output device 44.
Processor 41, storage device 42, input unit 43 and output device 44 in equipment can by bus or other Mode connects, in Fig. 4 for being connected by bus.
Storage device 42 in the equipment is used as a kind of computer readable storage medium, can be used for storing one or more journeys Sequence, described program can be software program, computer executable program and module, as the embodiment of the present invention one or two provide Corresponding program instruction/the module of method for controlling power supply (for example, the module in electric power supply control system shown in attached drawing 3a, comprising: the One relay switch module 31, the second relay switch module 32, control module 33 and awaiting board card 34).Processor 41 passes through Run the software program, instruction and the module that are stored in storage device 42, thereby executing equipment various function application and Data processing, i.e. method for controlling power supply in realization above method embodiment.
Storage device 42 may include storing program area and storage data area, wherein storing program area can storage program area, Application program needed at least one function;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, Storage device 42 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 42 can be into one Step includes the memory remotely located relative to processor 41, these remote memories can pass through network connection to equipment.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 43 can be used for receiving the number or character information of input, and generate with the user setting of equipment and The related key signals input of function control.Output device 44 may include that display screen etc. shows equipment.
Also, when one or more included program of above equipment is executed by one or more of processors 41 When, program proceeds as follows:
After the control module receives power supply instruction, the phase information of AC-input voltage signal is detected, if the phase Position information is first phase information, then the first relay switch module closure is controlled, so that the AC-input voltage is believed Positive voltage signal in number is transferred to the awaiting board card by first relay switch module;Control described first after After electric switch module closure, if the phase information is second phase information, second relay switch module is controlled Closure, so that the AC-input voltage signal is transferred to the awaiting board card.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer program, the journey For executing method for controlling power supply when sequence is executed by processor, this method is applied to electric power supply control system, the power supply control system System includes: the first relay switch module, the second relay switch module, the control module and awaiting board card, this method packet It includes:
After the control module receives power supply instruction, the phase information of AC-input voltage signal is detected, if the phase Position information is first phase information, then the first relay switch module closure is controlled, so that the AC-input voltage is believed Positive voltage signal in number is transferred to the awaiting board card by first relay switch module;Control described first after After electric switch module closure, if the phase information is second phase information, second relay switch module is controlled Closure, so that the AC-input voltage signal is transferred to the awaiting board card.
Optionally, it can be also used for executing power supply provided by any embodiment of the invention when which is executed by processor Control method.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (Random Access of one or more conducting wires Memory, RAM), read-only memory (Read Only Memory, ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable CD-ROM, light storage device, magnetic storage Device or above-mentioned any appropriate combination.Computer readable storage medium, which can be, any includes or storage program has Shape medium, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In: electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to: Wirelessly, electric wire, optical cable, radio frequency (Radio Frequency, RF) etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN) --- it is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (14)

1. a kind of method for controlling power supply, which is characterized in that be applied to electric power supply control system, the electric power supply control system includes: the One relay switch module, the second relay switch module, control module and awaiting board card, which comprises
After the control module receives power supply instruction, the phase information of AC-input voltage signal is detected, if the phase is believed Breath is first phase information, then the first relay switch module closure is controlled, so that in the AC-input voltage signal Positive voltage signal the awaiting board card is transferred to by first relay switch module;Controlling first relay After switch module closure, if the phase information is second phase information, the second relay switch module closure is controlled, So that the AC-input voltage signal is transferred to the awaiting board card.
2. the method according to claim 1, wherein first relay switch module includes diode The relay unit being connect with the diode;Correspondingly, control the first relay switch module closure, Include:
The relay unit closure is controlled, so that the positive voltage signal in the AC-input voltage signal passes through two pole Pipe unit is transmitted to the awaiting board card.
3. the method according to claim 1, wherein further include:
After the cut-offing instruction that the control module receives, the phase information of AC-input voltage signal is detected;If the phase Information is second phase information, then controls second relay switch module and disconnect;Controlling second relay switch After module disconnects, if the phase information is first phase information, controls first relay switch module and disconnect.
4. according to the method described in claim 3, it is characterized by further comprising:
If the disconnection duration of first relay switch module is greater than preset duration, control in the electric power supply control system Discharge module discharges to the awaiting board card.
5. the method according to claim 1, wherein it is described detection AC-input voltage signal phase information, Include:
Phase detection unit in the control module is based on received AC-input voltage signal output phase identification information;
Processing unit in the control module determines that the phase of the AC-input voltage is believed based on the phase identification information Breath.
6. -5 any method according to claim 1, which is characterized in that the electric power supply control system further include: relay Delay detection module, correspondingly, the method also includes:
Receive the relay status information of the relay delay detection module feedback;
Information is controlled according to the relay status acquisition of information relay,
Information is controlled according to the relay status information and the relay, determines closure Delay.
7. a kind of electric power supply control system characterized by comprising the first relay switch module, the second relay switch module, Control module and awaiting board card;
Wherein, one end of first relay switch module connects the control module, first relay switch module The other end connect the awaiting board card;
One end of second relay switch module connects the control module, second relay switch module it is another End connects the awaiting board card;
The control module detects the phase information of AC-input voltage signal, if the phase after receiving power supply instruction Position information is first phase information, then the first relay switch module closure is controlled, so that the AC-input voltage is believed Positive voltage signal in number is transferred to the awaiting board card by first relay switch module;Control described first after After electric switch module closure, if the phase information is second phase information, second relay switch module is controlled Closure, so that the AC-input voltage signal is transferred to the awaiting board card.
8. electric power supply control system according to claim 7, which is characterized in that first relay switch module includes two Pole pipe unit and relay unit;
After relay unit closure, the positive voltage signal in the AC-input voltage signal passes through the diode list Member is transmitted to the awaiting board card.
9. electric power supply control system according to claim 7, which is characterized in that the control module includes: phase-detection list Member and the processing unit being connected with the phase output of the phase detection unit;
The phase detection unit receives AC-input voltage signal, and is first in the phase of the AC-input voltage signal When phase information, Xiang Suoshu processing unit sends first phase identification information;It is in the phase of the AC-input voltage signal When second phase information, Xiang Suoshu processing unit sends second phase identification information;
After the processing unit receives the first phase identification information, the first relay switch module closure is controlled; After controlling first relay switch module closure, if receiving second phase identification information, control described second after Electric switch module closure.
10. electric power supply control system according to claim 7, which is characterized in that further include: it is connect with the awaiting board card Discharge module,
After the discharge module receives the sign on that the control module is sent, the electric discharge is triggered according to the sign on Discharge transistor conducting in module, to drag down the voltage at awaiting board card end to be discharged.
11. electric power supply control system according to claim 10, which is characterized in that the discharge module, further includes: rectification Bridge,
The ac input end of the rectifier bridge is connected to the end to be discharged, and the output end of the rectifier bridge connects the electric discharge mould The discharge end of block.
12. electric power supply control system according to claim 10, which is characterized in that it further include mutual exclusion module,
The mutual exclusion input terminal of the mutual exclusion module connects the discharge examination end of the discharge module;
The mutual exclusion module receives the discharge examination signal of the discharge module output;And it is controlled based on the discharge examination signal The driving voltage of first relay switch module and second relay switch module, so that the control module passes through The driving voltage controls the open and-shut mode of first relay switch module and second relay switch module.
13. a kind of equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method for controlling power supply as claimed in any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as method for controlling power supply as claimed in any one of claims 1 to 6 is realized when execution.
CN201910402644.6A 2019-05-15 2019-05-15 Power supply control method, system, equipment and storage medium Active CN110033987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910402644.6A CN110033987B (en) 2019-05-15 2019-05-15 Power supply control method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910402644.6A CN110033987B (en) 2019-05-15 2019-05-15 Power supply control method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110033987A true CN110033987A (en) 2019-07-19
CN110033987B CN110033987B (en) 2021-05-07

Family

ID=67242218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910402644.6A Active CN110033987B (en) 2019-05-15 2019-05-15 Power supply control method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110033987B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182620A (en) * 2019-12-31 2020-05-19 哈尔滨海能达科技有限公司 Method for controlling transmitting power and related equipment
CN114994435A (en) * 2022-05-24 2022-09-02 深圳市尚科新能源有限公司 Mains supply power-off testing device and system
CN116365685A (en) * 2023-03-13 2023-06-30 福勤智能科技(昆山)有限公司 Power-on and power-off control system, method, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503287A (en) * 2002-11-20 2004-06-09 刘英彰 Spark free on/off control circuit for contact of relay
KR20040110261A (en) * 2003-06-18 2004-12-31 주식회사 현대오토넷 Efficiency test system for occupant classification
CN104252995A (en) * 2013-06-28 2014-12-31 王海 Control circuit of diode contact protection combination switch and control method of relay
CN205986102U (en) * 2016-08-30 2017-02-22 广州小百合信息技术有限公司 Protection circuit for power supply
CN106653433A (en) * 2017-02-08 2017-05-10 王海 High-voltage large-current zero-equivalent phase switch, and control method thereof
CN106872762A (en) * 2017-04-14 2017-06-20 云南电网有限责任公司电力科学研究院 A kind of board supply voltage on-line monitoring system
CN207601246U (en) * 2017-11-21 2018-07-10 武汉华中数控股份有限公司 A kind of servo major loop plate power supply and electric discharge device
CN108923551A (en) * 2018-08-07 2018-11-30 吉林大学 It is a kind of that wireless energy transform device is actively tuned based on phase judgement

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503287A (en) * 2002-11-20 2004-06-09 刘英彰 Spark free on/off control circuit for contact of relay
KR20040110261A (en) * 2003-06-18 2004-12-31 주식회사 현대오토넷 Efficiency test system for occupant classification
CN104252995A (en) * 2013-06-28 2014-12-31 王海 Control circuit of diode contact protection combination switch and control method of relay
CN205986102U (en) * 2016-08-30 2017-02-22 广州小百合信息技术有限公司 Protection circuit for power supply
CN106653433A (en) * 2017-02-08 2017-05-10 王海 High-voltage large-current zero-equivalent phase switch, and control method thereof
CN106872762A (en) * 2017-04-14 2017-06-20 云南电网有限责任公司电力科学研究院 A kind of board supply voltage on-line monitoring system
CN207601246U (en) * 2017-11-21 2018-07-10 武汉华中数控股份有限公司 A kind of servo major loop plate power supply and electric discharge device
CN108923551A (en) * 2018-08-07 2018-11-30 吉林大学 It is a kind of that wireless energy transform device is actively tuned based on phase judgement

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
白巧花: "主板内存供电电路供电机制及故障检测 ", 《电脑知识与技术》 *
白巧花: "主板内存供电电路供电机制及故障检测", 《电脑知识与技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182620A (en) * 2019-12-31 2020-05-19 哈尔滨海能达科技有限公司 Method for controlling transmitting power and related equipment
CN111182620B (en) * 2019-12-31 2023-02-28 哈尔滨海能达科技有限公司 Method for controlling transmitting power and related equipment
CN114994435A (en) * 2022-05-24 2022-09-02 深圳市尚科新能源有限公司 Mains supply power-off testing device and system
CN116365685A (en) * 2023-03-13 2023-06-30 福勤智能科技(昆山)有限公司 Power-on and power-off control system, method, equipment and medium
CN116365685B (en) * 2023-03-13 2023-08-22 福勤智能科技(昆山)有限公司 Power-on and power-off control system, method, equipment and medium

Also Published As

Publication number Publication date
CN110033987B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN110033987A (en) Power supply control method, system, equipment and storage medium
US9337689B2 (en) Power supply system and method for controlling the same
CN102186295A (en) Single live wire power-getting circuit
CN104868586B (en) Automatic switching power supply circuit for double-way power supply
CN102265481A (en) Intuitive electronic circuit
CN203732907U (en) Intelligent control switch for power line carrier
CN107231091A (en) DC-DC converter, rectification circuit, power supply adaptor, control method
CN106656021A (en) Anti-PID (Potential Induced Degradation) combiner box system and realization method thereof
CN209642395U (en) A kind of double power supply converting switch and power-supply system
CN108667327A (en) Multi-electrical level inverter
CN204030700U (en) Auto-breaking charger
CN107895943A (en) Device and its control method with wiring protection function
CN108573288A (en) A kind of resistive load identification and learning method based on electric energy meter
CN109951928A (en) A kind of flash detection control apparatus, electronic equipment and system including it
CN203674797U (en) Station power microgrid main wiring system
CN102655323A (en) Automatic identification and conversion circuit for alternating current zero and live wires
CN210839318U (en) Inverter with multiple input interfaces
CN104578377A (en) Cabinet power supply system, power supply switching control method and cabinet
CN106653421A (en) Circuit breaker switching-on and switching-off control method
CN115831666A (en) Relay control method, relay control device, electronic apparatus, and storage medium
CN104467395A (en) Hot-plug power source system and power source control device and method
CN105680673A (en) Control method achieved based on microcontroller for three-phase AC solid-state switch
CN207819548U (en) A kind of universal automatic transfer switching electric appliance controller
WO2021078242A1 (en) Inverter having multiple input interfaces
CN104935842B (en) The control method and television system of stand-by circuit, stand-by circuit

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
GR01 Patent grant
GR01 Patent grant