CN110033987B - 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
CN110033987B
CN110033987B CN201910402644.6A CN201910402644A CN110033987B CN 110033987 B CN110033987 B CN 110033987B CN 201910402644 A CN201910402644 A CN 201910402644A CN 110033987 B CN110033987 B CN 110033987B
Authority
CN
China
Prior art keywords
relay switch
switch module
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.)
Active
Application number
CN201910402644.6A
Other languages
Chinese (zh)
Other versions
CN110033987A (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

Images

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

Power supply control method, system, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronics, in particular to a power supply control method, a power supply control system, power supply control equipment and a storage medium.
Background
After production, the circuit board card needs to be subjected to power supply and discharge test, and the test needs to be controlled by a power supply control system to supply power and discharge. In the process of testing the circuit board card by using the power supply control system, the power supply control system is required to be stable and controllable for long-term discharge.
However, the conventional power supply control system uses a single relay to control the power supply and the discharge of the circuit board card, so when the relay is controlled to be opened and closed by a power supply control method, because the voltage difference exists between the relay terminals, an arc is generated on the relay, the service life of the relay is shortened, and the stability of the power supply control system is reduced.
Disclosure of Invention
The embodiment of the invention provides a power supply control method, a power supply control system, power supply control equipment and a storage medium, so as to improve the stability of the power supply control system.
In a first aspect, an embodiment of the present invention provides a power supply control method, which is applied to a power supply control system, where the power supply control system includes: 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 the board card to be tested through the first relay switch module; after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested.
Further, the first relay switch module comprises a diode unit and a relay unit connected with the diode unit; correspondingly, the controlling the first relay switch module to close includes:
and controlling the relay unit to be closed so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit.
Further, the power supply control method further includes:
after the control module receives the power-off instruction, detecting phase information of the alternating current input voltage signal; if the phase information is second phase information, controlling the second relay switch module to be switched off; and after the second relay switch module is controlled to be switched off, if the phase information is first phase information, the first relay switch module is controlled to be switched off.
Further, the power supply control method further includes:
and if the disconnection time of the first relay switch module is longer than the preset time, controlling a discharging module in the power supply control system to discharge the board card to be tested.
Further, the detecting the phase information of the ac input voltage signal includes:
a phase detection unit in the control module outputs phase identification information based on the received alternating current input voltage signal;
a processing unit in the control module determines phase information of the ac input voltage based on the phase identification information.
Further, the power supply control system further includes: the relay delay detection module correspondingly, the method further comprises:
receiving relay state information fed back by the relay delay detection module;
acquiring relay control information according to the relay state information,
and determining closing time delay information according to the relay state information and the relay control information.
In a second aspect, an embodiment of the present invention further provides a power supply control system, including: the device comprises a first relay switch module, a second relay switch module, a control module and a board card to be tested;
one end of the first relay switch module is connected with the control module, and the other end of the first relay switch module is connected with the board card to be tested;
one end of the second relay switch module is connected with the control module, and the other end of the second relay switch module is connected with the board card to be tested;
the control module is used for detecting phase information of an alternating current input voltage signal after receiving a power supply instruction, and controlling the first relay switch module to be closed if the phase information is first phase information, so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the first relay switch module; after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested.
Further, the first relay switch module includes a diode unit and a relay unit;
when the relay unit is closed, a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit.
Further, the control module includes: the phase detection unit and the processing unit are connected with the phase output end of the phase detection unit;
the phase detection unit receives an alternating current input voltage signal and sends first phase identification information to the processing unit when the phase of the alternating current input voltage signal is first phase information; when the phase of the alternating current input voltage signal is second phase information, sending second phase identification information to the processing unit;
after receiving the first phase identification information, the processing unit controls the first relay switch module to be closed; and after the first relay switch module is controlled to be closed, if second phase identification information is received, the second relay switch module is controlled to be closed.
Further, the power supply control system further includes: a discharge module connected with the board to be tested,
after the discharging module receives a starting instruction sent by the control module, a discharging transistor in the discharging module is triggered to be conducted according to the starting instruction so as to pull down the voltage of the end to be discharged of the board card to be tested.
Further, the discharge module further includes: a rectifier bridge is arranged on the base plate,
the alternating current input end of the rectifier bridge is connected to the end to be discharged, and the output end of the rectifier bridge is connected with the discharge end of the discharge module.
Furthermore, the power supply control system also comprises a mutual exclusion module,
the mutual exclusion input end of the mutual exclusion module is connected with the discharge detection end of the discharge module;
the mutual exclusion module receives a discharge detection signal output by the discharge module; and controlling the driving voltage of the first relay switch module and the second relay switch module based on the discharge detection signal, so that the control module controls the on-off state of the first relay switch module and the second relay switch module through the driving voltage.
In a third aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors, so that the one or more processors implement the power supply control method provided by the embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the power supply control method provided in the embodiment of the present invention.
The embodiment of the invention provides a power supply control method, a power supply control system, power supply equipment and a storage medium. After the first relay switch module is controlled to be closed, positive voltage signals of the alternating-current input voltage are transmitted to the board card to be tested through the first relay switch module. After the first relay switch module is closed, the second relay switch module is closed, so that the alternating-current input voltage signal passes through the board card to be tested. The first relay switch module and the second switch module are sequentially closed, the technical problem that fire arcs are generated on the relays when the existing power supply control method controls a single relay to be closed is effectively solved, and the purpose that the control alternating-current input voltage without the fire arcs is transmitted to the board card to be detected through the power supply control system to supply power for the board card to be detected is achieved.
Drawings
Fig. 1 is a schematic flow chart of a power supply control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a power supply control method according to a second embodiment of the present invention;
fig. 3a is a schematic structural diagram of a power supply control system according to a third embodiment of the present invention;
fig. 3b is a circuit diagram of a first relay switch module and a second relay switch module according to a third embodiment of the present invention;
fig. 3c is an equivalent circuit diagram of the first relay switch module and the second relay switch module according to the third embodiment of the present invention;
fig. 3d is a circuit diagram of a control module according to a third embodiment of the present invention;
fig. 3e is a circuit diagram of a discharging module according to a third embodiment of the present invention;
FIG. 3f is a circuit diagram of a mutex module according to a third embodiment of the present invention;
fig. 3g is a circuit diagram of a relay delay detection module according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a schematic flow chart of a power supply control method according to an embodiment of the present invention, where the method is applicable to a situation that a long-term stable power supply is provided for a board to be tested in a test process of the board to be tested, and the method may be applied to a power supply control system, for example, a power supply control system provided in the third embodiment, where the power supply control system may include: the device comprises a first relay switch module, a second relay switch module, a control module and a board card to be tested. The power supply control system can be used for supplying power to the board card to be tested so as to test the board card to be tested.
The first relay switch module is connected with the control module, the other end of the first relay switch module can be connected with the board card to be tested, and the first relay switch module is closed under the control of the control module, so that the power can be supplied to the board card to be tested. In addition, one end of the second relay switch module can be connected with the control module, the other end of the second relay switch module can be connected with the board card to be tested, and the second relay switch module is closed under the control of the control module, so that the power can be supplied to the board card to be tested.
It can be understood that, in this embodiment, the power input terminals of the first relay switch module and the second relay switch module may also input an ac input voltage signal. The connection relation between first relay switch module and second relay switch module can not do the injecing, as long as can guarantee, after closed first relay switch module for the positive voltage signal of alternating current input voltage signal transmits the integrated circuit board that awaits measuring through first relay switch module, and closed first relay switch module accomplishes the back, and closed second relay switch module again guarantees that alternating current input voltage signal transmits the integrated circuit board that awaits measuring can.
As shown in fig. 1, a power supply control method provided in an embodiment of the present invention includes the following steps:
s101, after receiving a power supply instruction, the control module detects phase information of an alternating current input voltage signal.
The power supply control method in the embodiment is applied to a power supply control system, and the power supply control system comprises a first relay switch module, a second relay switch module, a control module and a board card to be tested.
The first relay switch module can be understood as a relay module with reverse cut-off characteristics to ensure that a positive voltage signal of an alternating current input voltage signal is transmitted to the board card to be tested through the first relay switch module after the first relay switch module is closed. The second relay switch module may be understood as a relay module. Wherein the first and second are used only to distinguish the relay switch modules. The control module can be understood as a module for performing power supply control in the power supply control system. The board card to be tested can be understood as a board card to be tested, such as a television board card to be tested.
In an embodiment, the power supply instruction may be understood as a control instruction for supplying power to the board to be tested. The alternating-current input voltage signal can be understood as a voltage signal for supplying power to the board card to be detected. The phase information may be understood as the phase of the ac input voltage signal.
The trigger condition of the power supply instruction may not be limited, for example, the power supply instruction may be sent by an upper computer in communication connection with the power supply control system, or may be triggered by a physical key set in the power supply control system. Based on different trigger conditions of the power supply instruction, the control module can select a corresponding means for receiving the power supply instruction. Illustratively, if the power supply instruction is sent by the upper computer, the control module receives the power supply instruction through a communication link with the upper computer; if the power supply instruction is triggered by a physical key in the power supply control system, the power supply control system can detect the state of the physical key and receive the power supply control instruction.
In order to ensure that the arc-free control alternating current input voltage signal is transmitted to the board card to be tested through the power supply control system, the first relay switch module and the second relay switch module can be sequentially controlled to be closed based on the phase information of the alternating current input voltage signal. Therefore, after receiving the power supply control command, the step can detect the phase information of the alternating current input voltage signal.
The specific technical means for detecting the phase information of the ac input voltage signal is not limited herein, and for example, the phase information may be detected by the phase detecting unit and the processing unit, or the phase information may be detected by the sampling unit and the processing unit. When the phase detection unit is used for phase detection, a voltage dividing resistor and a diode can be used for dividing the voltage of an alternating current input voltage signal, so that whether a switching tube, such as an optical coupler, is conducted or not is determined according to the voltage of a diode branch, and the processing unit can detect the phase information of the alternating current input voltage. If the sampling unit is adopted to monitor the phase information, the alternating current input voltage signal can be divided firstly and then the voltage is lifted, and then the lifted voltage is sampled, so that the processing unit can determine the phase information of the alternating current input voltage signal.
And S102, if the phase information is the first phase information, controlling the first relay switch module to be closed.
In this embodiment, the first phase information may be understood as phase information corresponding to a negative half cycle of the ac input voltage signal.
After the phase information of the AC input voltage signal is detected, the phase information is judged. And if the phase information is the first phase information, controlling the first relay switch module to be closed.
The means by which the control module controls the first relay switch module to close is not limited, and may be determined based on the specific device included in the first relay switch module. For example, the first relay switch module may include a relay unit, and the control module may control the first relay switch module to be closed by supplying power to a coil of the relay unit.
After the control module controls the first relay switch module to be closed, a positive voltage signal in the alternating current input voltage signal can be transmitted to the board card to be tested through the first relay switch module, the negative voltage signal of the alternating current input voltage signal is cut off, no pressure difference exists in the first relay switch module at the moment, and arcing cannot occur during conduction.
It is understood that the negative voltage signal of the ac input voltage signal is turned off after the first relay switch module is closed due to the reverse turn-off characteristic of the first relay switch module. The reverse blocking characteristic of the first relay switch module may be generated by the first relay switch module including a reverse blocking characteristic device, such as a diode, and is not limited in this embodiment.
And S103, after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed.
In this embodiment, the second phase information may be understood as phase information corresponding to a positive half cycle of the ac input voltage signal.
After the first relay switch module is closed, the control module may continue to detect the phase information, and if the phase information is the second phase information, the second relay switch module may be closed. The closing means of the second relay switch module may refer to the means of closing the first relay switch module, and is not described herein.
After the second relay switch module is controlled to be closed, the alternating-current input voltage signal can also be directly transmitted to the board card to be tested, when the second relay switch module is closed, the pressure difference on the second relay switch module can only come from the first relay switch module, the voltage in the first relay switch module can only be generated by a reverse cut-off device included by the first relay switch module, and the voltage is lower. Therefore, when the second relay switch module is closed, no arcing occurs.
According to the power supply control method provided by the embodiment of the invention, after the power supply instruction is received, the first relay switch module and the second relay switch module are sequentially controlled to be closed based on the phase information of the alternating-current input voltage signal. After the first relay switch module is controlled to be closed, positive voltage signals of the alternating-current input voltage are transmitted to the board card to be tested through the first relay switch module. After the first relay switch module is closed, the second relay switch module is closed, so that the alternating-current input voltage signal passes through the board card to be tested. The first relay switch module and the second switch module are sequentially closed, the technical problem that fire arcs are generated on the relays when the existing power supply control method controls a single relay to be closed is effectively solved, and the purpose that the control alternating-current input voltage without the fire arcs is transmitted to the board card to be detected through the power supply control system to supply power for the board card to be detected is achieved.
Example two
Fig. 2 is a schematic flow chart of a power supply control method according to a second embodiment of the present invention, and the second embodiment is optimized based on the foregoing embodiments. In this embodiment, the first relay switch module is optimized to include a diode unit and a relay unit connected to the diode unit, and accordingly, the power supply control method is further embodied as: and controlling the relay unit to be closed so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit.
Further, the present embodiment further optimizes the following steps: after the control module receives the power-off instruction, detecting phase information of the alternating current input voltage signal; if the phase information is second phase information, controlling the second relay switch module to be switched off; and after the second relay switch module is controlled to be switched off, if the phase information is first phase information, the first relay switch module is controlled to be switched off.
Further, the present embodiment further optimizes the following steps: and if the disconnection time of the first relay switch module is longer than the preset time, controlling a discharging module in the power supply control system to discharge the board card to be tested.
Further, the phase information of the alternating input voltage signal is detected, and the optimization comprises the following steps:
a phase detection unit in the control module outputs phase identification information based on the received alternating current input voltage signal;
a processing unit in the control module determines phase information of the ac input voltage based on the phase identification information.
Please refer to the first embodiment for a detailed description of the present embodiment.
In this embodiment, can include the diode unit with the relay unit that is connected with the diode unit with first relay switch module optimization to make first relay switch module possess reverse blocking characteristic, thereby guarantee after first relay switch module is closed, the positive voltage signal of exchanging input voltage signal transmits the integrated circuit board that awaits measuring through first relay switch module. The diode unit can be understood as a device having a reverse blocking characteristic. A relay unit may be understood as a switch which is capable of controlling the conductive state by the control module.
In addition, the power supply system also comprises a relay delay detection module in an optimized mode, so that the power supply control method can detect closing delay information of the relay. The relay delay detection module can be understood as a module for detecting closing delay information during relay action.
Specifically, as shown in fig. 2, a power supply control method provided in the second embodiment of the present invention includes the following steps:
s201, after the control module receives a power supply instruction, a phase detection unit in the control module outputs phase identification information based on a received alternating current input voltage signal.
In this embodiment, when the control module detects the phase information of the ac input voltage signal, the phase detection unit in the control module may detect the phase identification information of the ac input voltage signal, so that the processing unit determines the control strategy. Phase identification information may be understood as information identifying the phase information of the alternating input voltage signal. The phase identification information includes first phase identification information that identifies the first phase information and second phase identification information that identifies the second phase information.
The phase detection unit may be understood as a unit that detects an ac input voltage signal. The unit may generate corresponding phase identification information for the processing unit to determine the phase information based on the positive and negative half cycle signals of the alternating input voltage signal.
Specifically, the reverse blocking characteristic of the diode can be utilized to distinguish the positive half cycle and the negative half cycle of the alternating current input voltage signal, so as to control the on state of a switching tube, such as a transistor or an optical coupler, and output phase identification information.
After the control module receives the power supply instruction, the phase detection unit in the control module may output phase identification information based on the received ac input voltage signal. The power supply control method in this embodiment may be further applied to a processing unit of the control module, and the processing unit may control the phase detection unit to output the phase identification information based on the ac input voltage signal.
S202, the processing unit in the control module determines phase information of the alternating current input voltage based on the phase identification information.
In this embodiment, the processing Unit may be understood as a processor in a control module, such as a Micro Controller Unit (MCU).
After the phase detection unit outputs the phase identification information, the processing unit of the control module may determine the phase information based on the phase identification information. Specifically, the processing unit may pre-store a correspondence between the phase identification information and the phase information, and after receiving the phase identification information, may determine the phase information corresponding to the phase identification information based on the stored correspondence.
S203, judging whether the phase information is first phase information, if so, executing S204; if not, go to S203.
After the phase information is determined, the phase information may be detected, and if the phase information is the first phase information, the first relay switch module may be controlled to be closed, that is, S204 may be performed; if the phase information is not the first phase information, the detection of the phase information may be continued, that is, S203 is performed until the first phase information is detected.
And S204, controlling the relay unit to be closed so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit.
When the first relay switch module is controlled to be closed, the relay unit can be controlled to be closed through the control module, so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit, and the negative voltage signal is cut off at the position of the diode unit. When the relay unit in the first relay switch module is controlled to be closed, no pressure difference exists on the relay unit, and no fire arc is generated when the relay unit is conducted.
S205, judging whether the phase information is second phase information or not after the first relay switch module is controlled to be closed, if yes, executing S206; if not, go to S205.
After the first relay switch module is closed, the present embodiment may continue to detect the phase information to determine whether the phase information is the second phase information, so as to determine whether to control the second relay switch module to be closed.
After the first relay switch module is closed, if the phase information is the second phase information, the second relay switch module may be controlled to be closed, that is, S206 may be performed; if the phase information is not the second phase information, the phase information may be continuously detected until the phase information is the second phase information, i.e., S205 may be performed.
And S206, controlling the second relay switch module to be closed.
After the first relay switch module is closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested.
After controlling the second relay switch module to be closed, the differential pressure of the second relay switch module can only come from the diode unit in the first relay switch module, the differential pressure is about 1.5V, and no arcing can be generated when the second relay switch module is conducted.
It can be understood that after the second relay switch module is closed, the alternating current input voltage signal can be directly output to the board card to be tested so as to normally supply power to the board card to be tested.
And S207, detecting the phase information of the alternating current input voltage signal after the control module receives the power-off instruction.
The power supply control method in the embodiment may further include power-off control in an optimized manner, so that no arcing passes through the power supply control system during power-off.
In this embodiment, the power-off instruction may also be understood as a control instruction for turning off the power supply of the board to be tested. The triggering condition of the power-off command can be referred to as the triggering condition of the power-on command, and is not limited herein.
After the board card to be tested is tested, the control module can control the first relay switch module and the second relay switch module to be disconnected by using the reverse process of conducting the first relay switch module and the second relay switch module so as to cut off the power supply of the board card to be tested.
Specifically, after receiving the power-off command, the control module may first detect phase information of the ac input voltage signal to determine the control strategy.
Specific means for detecting phase information can refer to the means for detecting phase information in the first embodiment, and is not limited herein.
S208, judging whether the phase information is second phase information, if so, executing S209; if not, go to step S208.
After the phase information is obtained, the step may determine whether the phase information is second phase information, so that when the second phase information is obtained, the second relay switch module is turned off, that is, S209 may be executed; if the phase information is not the second phase information, the detection may be continued until the phase information is the second phase information, i.e., S208 may be performed.
And S209, controlling the second relay switch module to be switched off.
When the phase information is the second phase information, the control module can control the second relay switch module to be disconnected, so that a positive voltage signal of the alternating current input voltage signal is output to the board card to be tested through the first relay switch module.
After the second relay switch module is disconnected, the pressure difference on the second relay switch module can only come from the reverse cut-off device of the first relay switch module, and the pressure difference is small, so that a fire arc cannot be generated.
S210, judging whether the phase information is the first phase information or not after the second relay switch module is controlled to be switched off, and if so, executing S211; if not, go to S210.
After the second relay switch module is turned off, this step may continue to detect the phase information to determine whether the phase information is the first phase information, thereby determining whether to turn off the first relay switch module. If the phase information is the first phase information, the first relay switch module may be turned off, that is, S211 may be performed; if the phase information is not the first phase information, the detection may be continued until the phase information is the first phase information, i.e., S210 may be performed.
And S211, controlling the first relay switch module to be switched off.
After the phase information is the first phase information, the control module may control the first relay switch module to turn off.
Technical means for switching off the first relay switch module and the second relay switch module can refer to means for switching on, such as power supply of coils of the first relay switch module and the second relay switch module can be switched off.
After the first relay switch module is disconnected, due to the reverse cut-off characteristic of the first relay switch module, no pressure difference exists on the second relay switch module, and therefore, no arcing occurs during disconnection.
S212, judging whether the disconnection time length of the first relay switch module is greater than the preset time length, if so, executing S213; if not, go to step S212.
In the test of the board card to be tested, the control of long-term stable discharge is required, and the requirement on the discharge time of the board card to be tested is short. Because the alternating current-direct current (AC-DC) power supply part of the board card to be tested has a large electrolytic capacitor, the electrolytic capacitor has charges after testing, so that the voltage is about 300V, and the voltage of part of the board card to be tested cannot naturally drop. The existing large electrolytic capacitor of the board card to be tested generally uses manual discharge or relay control discharge, and the problems of not fast discharge speed, short relay service life and the like can occur. The present embodiment discharges through the discharging module to solve the above problem.
In this embodiment, on the basis of disconnecting the power supply of the board card to be tested, the step of discharging the board card to be tested may be further optimized.
Specifically, after the second relay switch module and the first relay switch module are disconnected, a period of time can be delayed to ensure that the board card to be tested is successfully powered off, so that the board card to be tested is discharged to reach a factory state.
In the present embodiment, the off-period may be understood as a period in which the first relay switch module is off. The preset time can be understood as the preset delay time after the first relay switch module is switched off. When the disconnection duration is longer than the preset duration, discharging the board card to be tested, namely executing S213; if the off-duration is not greater than the preset duration, the detection may be continued until the off-duration is greater than the preset duration, i.e., S212 is performed.
And S213, controlling a discharging module in the power supply control system to discharge the board card to be tested.
When the disconnection time of the first relay switch module is longer than the preset time, the control module can control the discharging module to discharge for the board card to be tested.
The discharging module can be understood as a module for discharging the board card to be tested in the power supply control system.
The specific circuit of the discharging module is not limited, and the discharging module can reduce the voltage of the board card to be tested to the safe delivery voltage. The safe factory voltage can be determined according to actual conditions.
For example, the discharging module can discharge for the board card to be tested through the conducting state of the discharging transistor.
The power supply control method provided by the second embodiment of the invention embodies the operations of controlling the closing of the first relay switch module and detecting the phase information, and also optimizes the operations of power-off operation, discharging operation and closing delay information determination. By the aid of the method, the first relay switch module and the second relay switch module can be sequentially controlled to be closed after the power supply instruction is received, so that the power supply control system can supply power to the board card to be tested without arcing. After the power-off instruction is received, the second relay switch module and the first relay switch module are sequentially controlled to be disconnected, so that the power supply of the board card to be tested is disconnected without arcing of the power supply control system. In addition, after the power-off time is longer than the preset time, the board card to be tested is discharged through the discharging module, and the discharging speed of the board card to be tested is effectively improved.
Further, the power supply control system is optimized to include: the relay delay detection module is correspondingly, and the method further comprises the following steps:
receiving relay state information fed back by the relay delay detection module;
acquiring the relay control information according to the relay state information,
and determining closing time delay information according to the relay state information and the relay control information.
In addition, in this embodiment, the power supply control system may further include a relay delay detection module, and correspondingly, the control module receives the relay state information fed back by the relay delay detection module to obtain the relay control information, so as to determine the closing delay information based on the relay state information and the relay control information.
The relay state information can be understood as information that characterizes the closed state and the on state of the relay. The relay delay detection module can feed back relay state information to the control module based on the conduction state of the first relay switch module and/or the second relay switch module.
And after receiving the relay state information, the control module acquires relay control information corresponding to the relay state information. The relay control information may be understood as control information for the corresponding relay switch module when the relay state information is generated. If the control module sends the relay control information to the first relay switch module, the first relay switch module delays the closing time possibly due to aging, and the relay delay detection module detects the relay state information so that the control module can determine the closing delay information based on the relay state information and the relay control information.
After determining the closing delay information, the control module may send a control signal based on the closing delay information when controlling the corresponding relay switch module next time. Wherein the relay switch module may include a first relay switch module and a second relay switch module.
It should be noted that the execution timing for determining the closing delay information is not limited, and may be executed when the relay switch module generates an action, such as opening or closing.
EXAMPLE III
Fig. 3a is a schematic structural diagram of a power supply control system according to a third embodiment of the present invention, where the power supply control system is suitable for providing a long-term stable power supply for a board to be tested in a test process of the board to be tested, and the power supply control system can provide a power supply for the board to be tested.
As shown in fig. 3a, the power supply control system includes: the device comprises a first relay switch module 31, a second relay switch module 32, a control module 33 and a board card to be tested 34;
one end of the first relay switch module 31 is connected with the control module 33, and the other end of the first relay switch module 31 is connected with the board card 34 to be tested;
one end of the second relay switch module 32 is connected with the control module 33, and the other end of the second relay switch module 32 is connected with the board card 34 to be tested;
the control module 33 is configured to detect phase information of the ac input voltage signal after receiving the power supply instruction, and if the phase information is first phase information, control the first relay switch module 31 to be turned on, so that a positive voltage signal in the ac input voltage signal is transmitted to the board card 34 to be tested through the first relay switch module 31; after the first relay switch module 31 is controlled to be closed, if the phase information is the second phase information, the second relay switch module 32 is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card 34 to be tested.
In this embodiment, the control module of the power supply control system can sequentially control the first relay switch module 31 and the second relay switch module 32 to be closed based on the phase information, so that the power supply control system can supply power to the board card 34 to be tested without arcing.
Fig. 3b is a circuit diagram of a first relay switch module and a second relay switch module according to a third embodiment of the present invention. The schematic diagram shows only one connection manner in the embodiment of the present invention, and those skilled in the art can make adjustments according to the connection manner to achieve the same technical effect.
As shown in fig. 3b, the first terminal CNB1 may input an ac input voltage signal, the second terminal CNB2 may be connected to the board 34 to be tested, the board 34 to be tested in the power supply control system is not shown in fig. 3b, and a person skilled in the art may connect to the corresponding board 34 to be tested according to actual conditions. Fig. 3b shows only the connection relationship between the control module 33 and the first relay switch module 31 and the second relay switch module 32, and the control module 33 is not shown.
The control module 33 may control the on-off state of the first Relay switch module 31 through the 14 pin of the first Relay switch module 31, see network reference number Relay 2; the on-off state of the second Relay switch module 32 is controlled by the 14 pin of the second Relay switch module 32, see network reference number Relay 1.
Referring to fig. 3b, the first relay switch module 31 may include a relay unit JD2 and a diode unit D5. The second relay switch module 32 may include a second relay unit JD 1. The first relay switch module 31 and the second relay switch module 32 may include three sets of switches, respectively.
Fig. 3c is an equivalent circuit diagram of the first relay switch module and the second relay switch module according to the third embodiment of the present invention. Referring to fig. 3c, the terminals 6 and 9 of the relay JD2, i.e., JD2 (69), are connected in series with the diode D5 and then connected in parallel to the terminals 4 and 7 of the second relay JD1, i.e., JD1 (47). The 4 and 7 pins of the relay unit JD2, i.e., JD2 (47), are connected in parallel across the 6 and 9 pins, i.e., JD1 (69), of the second relay unit JD 1.
The power supply control system can supply power to the board card 34 to be tested in three stages:
initial state: the second relay unit JD1 and the relay unit JD2 are non-conductive.
(1) The control relay unit JD2 conducts during the negative half cycle of the AC input voltage signal AC based on the reverse non-conducting characteristic of the diode unit D5. At this time, there is no voltage difference between pins 4 and 7, and pins 6 and 9 of the relay unit JD2, no arcing occurs during conduction, and the positive half cycle of AC can pass through.
(2) The second relay unit JD1 is controlled to conduct on the positive half cycle of AC because the 6 pin and 9 pin of the relay unit JD2 are connected in series with D5 and then connected in parallel to the 4 pin and 7 pin of the second relay unit JD 1. At this time, only the voltage drop of the diode unit D5 is about 1.5V between the pin 4 and the pin 7 of the second relay unit JD1, so that arcing does not occur during conduction, and both positive and negative AC half cycles can pass through the second relay unit JD1 after conduction.
(3) And (5) normally supplying power.
The power supply control system can be divided into three stages for the power failure of the board card 34 to be tested:
initial state: the second relay unit JD1 and the relay unit JD are turned on.
(1) The phase detection unit detects the phase and transmits the phase information to the processing unit.
(2) The second relay unit JD1 is controlled to open on the positive half cycle of AC because pins 4 and 7 of the second relay unit JD1 are connected in parallel with the branch of the series diode unit D5 with pins 6 and 9 of the relay unit JD. At this time, the voltage drop of only the diode unit D5 of the pins 4 and 7 of the second relay unit JD1 is about 1.5V, so that no arcing occurs during disconnection, and the negative AC half cycle cannot pass through after the second relay unit JD1 is disconnected.
(3) The control relay unit JD is turned off in the negative half cycle of AC by the reverse non-conducting characteristic of diode unit D5. At this time, there is no voltage difference between pins 4 and 7, and pins 6 and 9 of the relay unit JD, no arcing occurs when the relay unit is turned off, and the positive half cycle of the AC cannot pass.
(4) The power supply is disconnected.
The embodiment provides a power supply control system, which can control a first relay switch module and a second relay switch module to be closed in sequence based on phase information of an alternating current input voltage signal after receiving a power supply instruction. After the first relay switch module is controlled to be closed, positive voltage signals of the alternating-current input voltage are transmitted to the board card to be tested through the first relay switch module. After the first relay switch module is closed, the second relay switch module is closed, so that the alternating-current input voltage signal passes through the board card to be tested. The first relay switch module and the second switch module are sequentially closed, the technical problem that fire arcs are generated on the relays when the existing power supply control method controls a single relay to be closed is effectively solved, and the purpose that the control alternating-current input voltage without the fire arcs is transmitted to the board card to be detected through the power supply control system to supply power for the board card to be detected is achieved.
Referring to fig. 3b-3c, further, the first relay switch module 31 includes a diode unit D5 and a relay unit JD 2;
when the relay unit JD2 is closed, the positive voltage signal in the ac input voltage signal is transmitted to the board card 34 to be tested through the diode unit D5.
Specifically, the positive voltage signal passes through the diode unit D5 and the 6 pins and the 9 pins of the relay unit JD2, and the 4 pins and the 7 pins of the board to be tested 34 and the relay unit JD2 to reach the N terminal of the first terminal CNB1 to form a closed loop. The negative voltage signal is turned off at diode unit D5.
Further, fig. 3d is a circuit diagram of a control module according to a third embodiment of the present invention. The control module 33 includes: the phase detection unit and the processing unit are connected with the phase output end of the phase detection unit;
the phase detection unit receives an alternating current input voltage signal and sends first phase identification information to the processing unit when the phase of the alternating current input voltage signal is first phase information; when the phase of the alternating current input voltage signal is second phase information, sending second phase identification information to the processing unit;
after receiving the first phase identification information, the processing unit controls the first relay switch module 31 to be closed; after the first relay switch module 31 is controlled to be closed, if the second phase identification information is received, the second relay switch module 32 is controlled to be closed.
Referring to fig. 3b, the phase detecting unit may include: a first phase resistor (at least one of R52, R141 and R31), a second phase resistor R109, a third phase resistor R11, a first phase diode D4, a second phase diode D7, a third phase diode D25, a fourth phase diode D8, a fifth phase diode D26 and a phase detection optocoupler PCB 1;
the positive input terminal 220V _ L and the negative input terminal 220V _ N of the phase detection unit receive an ac input voltage signal. When the alternating-current input voltage signal is a positive voltage signal, a voltage drop is formed on a branch circuit of the third phase diode D25, the fourth phase diode D8 and the fifth phase diode D26, the voltage drop is applied to the phase detection optocoupler PCB1 to trigger the phase detection optocoupler PCB1 to be conducted, and second phase identification information, namely a low-potential signal, is sent to the processing unit. When the alternating-current input voltage signal is a negative voltage signal, due to the reverse cut-off characteristic of a diode at the control end of the phase detection optocoupler PCB1, the switching tube PCB1B of the phase detection optocoupler PCB1 is disconnected, and the phase detection unit sends first phase identification information, namely a high-level signal, to the processor.
The first phase resistor (at least one of R52, R141 and R31), the second phase resistor R109 and the third phase resistor R11 can be used for voltage division or current limitation, and the first phase diode D4 and the second phase diode D7 can prevent the detection optocoupler PCB1 from being damaged when the alternating current input voltage signal is in a negative voltage signal.
After receiving the first phase identification information output by the phase output end 220V _ PhaseDet, the processing unit controls the first relay switch module 31 to be closed; after the first relay switch module 31 is controlled to be closed, if the second phase identification information is received, the second relay switch module 32 is controlled to be closed.
Specifically, when the first relay switch module 31 or the second relay switch module 32 is controlled to be closed, the supply state of the driving voltage may be controlled by controlling the first relay switch module 31 or the second relay switch module 32.
The supply state of the driving voltage of the first and second relay switch modules 31 and 32 may be realized by the corresponding first and second level conversion units. The first level shift unit and the second level shift unit may include the same devices, and the connection modes between the devices may be the same.
For example, the first level shift unit may include: the switching circuit comprises a first switching resistor R113, a second switching resistor R105, a third switching resistor R63, a fourth switching resistor R51, a fifth switching resistor R55, a switching capacitor C40, a switching field effect transistor Q10 and a switching triode Q15;
the first level shift unit may provide a driving voltage to the first relay switch module 31. When the processing unit controls the first relay switch module 31 to be closed, a turn-on voltage may be provided to the switching transistor Q15, so that the third, fourth and fifth switching resistors R63, R51 and R55 divide the voltage to turn on the switching fet Q10, thereby outputting the driving voltage 24V _ relax to the first relay switch module 31 to control the first relay switch module 31 to be closed.
Further, the power supply control system further includes: a discharging module connected with the board card 34 to be tested,
after receiving the start instruction sent by the control module 33, the discharge module triggers a discharge transistor in the discharge module to be turned on according to the start instruction, so as to pull down the voltage of the end to be discharged of the board card 34 to be tested.
Fig. 3e is a circuit diagram of a discharge module according to a third embodiment of the present invention. Referring to fig. 3e, fig. 3e shows a schematic connection diagram of a discharge module. The discharging module comprises a first discharging resistor R76, a second discharging resistor R44, a third discharging resistor R24, a fourth discharging resistor R22, a fifth discharging resistor R34, a sixth discharging resistor R10, a discharging triode Q17, a discharging field-effect tube Q4, a first discharging diode D30, a second discharging diode D32, a third discharging diode D33, a fourth discharging diode D11 and a first discharging optocoupler PCB 2;
the control module 33 sends a start command to the connection end 330VLOAD _ CT _ MOS of the first discharging resistor R76 and the second discharging resistor R44 of the discharging module, so that the discharging module triggers the discharging transistor to be turned on based on the start command, where the discharging transistor includes a discharging transistor Q17, a first discharging optocoupler PCB2, and a discharging fet Q4.
Specifically, after the control end of the discharge triode Q17 reaches the turn-on voltage, a differential pressure is generated on the control end PCB2A of the first discharge optocoupler PCB2, and the controlled end PCB2B of the first discharge optocoupler PCB2 is controlled to be turned on, so that a differential pressure is generated on the control end of the discharge field effect transistor Q4, and therefore the discharge field effect transistor Q4 is turned on, so that the first discharge diode D30, the second discharge diode D32 and the third discharge diode D33 are communicated, and the discharge is performed through the branch as the to-be-discharged end of the board card 34 to be tested. The ends to be discharged can be two ends of a large electrolytic capacitor in the board card 34 to be tested.
Further, the discharge module further includes: a rectifier bridge is arranged on the base plate,
the alternating current input end of the rectifier bridge is connected to the end to be discharged, and the output end of the rectifier bridge is connected with the discharge end of the discharge module.
The alternating current input ends CN and CP of the rectifier bridge are connected to the to-be-discharged end of the board card 34 to be tested, and the output end of the rectifier bridge is connected to the discharge end corresponding to the discharge module, for example, the positive output end of the rectifier bridge is connected to the positive discharge end of the discharge module, and the negative output end of the rectifier bridge is connected to the negative discharge end. Wherein the output terminals comprise a positive output terminal and a negative output terminal, and the discharge terminals comprise a positive output terminal and a negative output terminal, see the network reference numbers 300V + and 300V-positions.
The rectifier bridge is added in the discharging module, so that the discharging module can be connected with the board card 34 to be tested, and when the board card 34 to be tested discharges, positive and negative are not required to be distinguished, and the operation is convenient.
Furthermore, the power supply control system also comprises a mutual exclusion module,
the mutual exclusion input end of the mutual exclusion module is connected with the discharge detection end of the discharge module;
the mutual exclusion module receives a discharge detection signal output by the discharge module; and controls the driving voltages of the first and second relay switch modules 31 and 32 based on the discharge detection signal so that the control module 33 controls the open and closed states of the first and second relay switch modules 31 and 32 by the driving voltages.
Fig. 3f is a circuit diagram of a mutex module according to a third embodiment of the present invention. Referring to fig. 3e-3f, the mutex input terminal of the mutex module is connected to the discharge detection terminal of the discharge module, see the position of network label DisCharg _ State.
The mutual exclusion module comprises: a first mutex resistor R27, a second mutex resistor R23, a third mutex resistor R29, a fourth mutex resistor R35, a mutex triode Q16 and a mutex field effect transistor QM 1;
in the discharging process of the discharging module for the board card 34 to be tested, the discharging detection optocoupler PCB5 is turned on, so that the discharging detection end outputs a low potential signal to indicate that the discharging module is currently in a discharging state. The discharge detection terminal may also be connected to the control module 33 to inform the control module 33 of the current state of the discharge module.
In addition, after the mutex module receives the discharge detection signal output by the discharge detection terminal, if the discharge detection signal is a low-level signal, it can be said that the current state is in a discharge state, that is, the mutex transistor Q16 is turned off, and further the mutex field-effect transistor QM1 is turned off, so that the supply of the driving voltage is cut off. That is, when the discharging module is ensured to discharge for the board card 34 to be tested, the power supply control system does not supply power to the board card 34 to be tested. When the discharge detection signal is a high level signal, it may be stated that the current discharge module is not in a discharge state, and then a driving voltage may be supplied to the first relay switch module 31 and the second relay switch module 32, so that the control module 33 can control the on/off states of the first relay switch module 31 and the second relay switch module 32 through the driving voltage.
In addition, fig. 3g is a circuit diagram of a relay delay detection module according to a third embodiment of the present invention. Referring to fig. 3g, the relay delay detection module includes a detection resistor R104. The Relay state information is determined by detecting the voltage value of the Relay _ ActionTime at one end of the resistor R104. If the first Relay switch module 31 is closed, the Relay _ ActionTime at one end of the detection resistor R104 outputs a low voltage signal, otherwise, a high voltage signal is output. Thereby determining the Relay state information by detecting the voltage value of the Relay _ ActionTime at the one end of the resistor R104.
It can be seen that the power supply control system that provides in this embodiment adopts double relay, first relay switch module and second relay switch module through the phase place information that detects the AC input voltage signal, carries out the arc extinguishing of AC power supply and outage and handles, and power supply control system stability is high, can avoid bringing because of the relay long-term use in long-time use, and the problem that the on-off time is uncertain and life reduces, and the module of discharging need not distinguish positive negative input, the operation of being convenient for. The MOS tube and the optocoupler are used for fool-proofing on hardware, and the mutual exclusion module is adopted to prevent abnormal discharge accidents caused by faults of main chip programs such as control module programs, so that the logic is simple, and power supply and discharge logic are bound.
The power supply control system can execute the power supply control method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. As shown in fig. 4, the apparatus provided in the fourth embodiment of the present invention includes: one or more processors 41 and storage 42; the processor 41 in the device may be one or more, and one processor 41 is taken as an example in fig. 4; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, so that the one or more processors 41 implement the power supply control method according to any one of the embodiments of the present invention.
The apparatus may further include: an input device 43 and an output device 44.
The processor 41, the storage means 42, the input means 43 and the output means 44 in the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The storage device 42 in the apparatus is used as a computer-readable storage medium, and can be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the power supply control method provided in one or two embodiments of the present invention (for example, the modules in the power supply control system shown in fig. 3a include the first relay switch module 31, the second relay switch module 32, the control module 33, and the board 34 to be tested). The processor 41 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the storage device 42, that is, implements the power supply control method in the above-described method embodiment.
The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 44 may include a display device such as a display screen.
And, when the one or more programs included in the above-mentioned apparatus are executed by the one or more processors 41, the programs perform the following operations:
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 the board card to be tested through the first relay switch module; after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested.
EXAMPLE five
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is used, when executed by a processor, to execute a power supply control method, where the method is applied to a power supply control system, where the power supply control system includes: 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 the board card to be tested through the first relay switch module; after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested.
Optionally, the program may be further configured to perform the power supply control method according to any embodiment of the present invention when executed by the processor.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (14)

1. A power supply control method is applied to a power supply control system, and the power supply control system comprises: 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 the board card to be tested through the first relay switch module; after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested sequentially through the first relay switch module and the second relay switch module which are connected in series.
2. The method of claim 1, wherein the first relay switch module comprises a diode unit and a relay unit connected to the diode unit; correspondingly, the controlling the first relay switch module to close includes:
and controlling the relay unit to be closed so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit.
3. The method of claim 1, further comprising:
after the control module receives the power-off instruction, detecting phase information of the alternating current input voltage signal; if the phase information is second phase information, controlling the second relay switch module to be switched off; and after the second relay switch module is controlled to be switched off, if the phase information is first phase information, the first relay switch module is controlled to be switched off.
4. The method of claim 3, further comprising:
and if the disconnection time of the first relay switch module is longer than the preset time, controlling a discharging module in the power supply control system to discharge the board card to be tested.
5. The method of claim 1, wherein detecting phase information of the ac input voltage signal comprises:
a phase detection unit in the control module outputs phase identification information based on the received alternating current input voltage signal;
a processing unit in the control module determines phase information of the ac input voltage based on the phase identification information.
6. The method of any of claims 1-5, wherein the power supply control system further comprises: the relay delay detection module correspondingly, the method further comprises:
receiving relay state information fed back by the relay delay detection module;
acquiring relay control information according to the relay state information,
and determining closing time delay information according to the relay state information and the relay control information.
7. A power supply control system, comprising: the device comprises a first relay switch module, a second relay switch module, a control module and a board card to be tested;
one end of the first relay switch module is connected with the control module, and the other end of the first relay switch module is connected with the board card to be tested;
one end of the second relay switch module is connected with the control module, and the other end of the second relay switch module is connected with the board card to be tested;
the control module is used for detecting phase information of an alternating current input voltage signal after receiving a power supply instruction, and controlling the first relay switch module to be closed if the phase information is first phase information, so that a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the first relay switch module; after the first relay switch module is controlled to be closed, if the phase information is second phase information, the second relay switch module is controlled to be closed, so that the alternating-current input voltage signal is transmitted to the board card to be tested sequentially through the first relay switch module and the second relay switch module which are connected in series.
8. The power supply control system of claim 7, wherein the first relay switch module comprises a diode unit and a relay unit;
when the relay unit is closed, a positive voltage signal in the alternating current input voltage signal is transmitted to the board card to be tested through the diode unit.
9. The power supply control system of claim 7, wherein the control module comprises: the phase detection unit and the processing unit are connected with the phase output end of the phase detection unit;
the phase detection unit receives an alternating current input voltage signal and sends first phase identification information to the processing unit when the phase of the alternating current input voltage signal is first phase information; when the phase of the alternating current input voltage signal is second phase information, sending second phase identification information to the processing unit;
after receiving the first phase identification information, the processing unit controls the first relay switch module to be closed; and after the first relay switch module is controlled to be closed, if second phase identification information is received, the second relay switch module is controlled to be closed.
10. The power supply control system according to claim 7, characterized by further comprising: a discharge module connected with the board to be tested,
after the discharging module receives a starting instruction sent by the control module, a discharging transistor in the discharging module is triggered to be conducted according to the starting instruction so as to pull down the voltage of the end to be discharged of the board card to be tested.
11. The power supply control system of claim 10, wherein the discharge module further comprises: a rectifier bridge is arranged on the base plate,
the alternating current input end of the rectifier bridge is connected to the end to be discharged, and the output end of the rectifier bridge is connected with the discharge end of the discharge module.
12. The power supply control system of claim 10, further comprising a mutual exclusion module,
the mutual exclusion input end of the mutual exclusion module is connected with the discharge detection end of the discharge module;
the mutual exclusion module receives a discharge detection signal output by the discharge module; and controlling the driving voltage of the first relay switch module and the second relay switch module based on the discharge detection signal, so that the control module controls the on-off state of the first relay switch module and the second relay switch module through the driving voltage.
13. A power supply control apparatus characterized by comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the power supply control method of any one of claims 1-6.
14. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing a power supply control method according to any one of claims 1 to 6.
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 CN110033987A (en) 2019-07-19
CN110033987B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN116365685B (en) * 2023-03-13 2023-08-22 福勤智能科技(昆山)有限公司 Power-on and power-off control system, method, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252995A (en) * 2013-06-28 2014-12-31 王海 Control circuit of diode contact protection combination switch and control method of relay
CN106653433A (en) * 2017-02-08 2017-05-10 王海 High-voltage large-current zero-equivalent phase switch, and control method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100337291C (en) * 2002-11-20 2007-09-12 刘英彰 Spark free on/off control circuit for contact of relay
KR100518308B1 (en) * 2003-06-18 2005-09-30 주식회사 현대오토넷 Efficiency test system for occupant classification
CN205986102U (en) * 2016-08-30 2017-02-22 广州小百合信息技术有限公司 Protection circuit for power supply
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252995A (en) * 2013-06-28 2014-12-31 王海 Control circuit of diode contact protection combination switch and control method of relay
CN106653433A (en) * 2017-02-08 2017-05-10 王海 High-voltage large-current zero-equivalent phase switch, and control method thereof

Also Published As

Publication number Publication date
CN110033987A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN110033987B (en) Power supply control method, system, equipment and storage medium
US9847635B2 (en) Power supply module and soft start method
WO2017047221A1 (en) Power supply device and switch control method therefor
CN103490374A (en) Mass production test device and short-circuit current foldback circuit thereof
CN103630832B (en) A kind of power electronic equipment breaker in middle part startup self-detection method and device
CN111435147B (en) Switching device capable of automatically detecting and adjusting zero phase
CN108761329B (en) Single-live wire switch load detection circuit and method
CN104503560A (en) Server with power source protection system and power source protection method
CN107845519B (en) Double power supply automatic transfer switch and its control method
US10433402B2 (en) Remote switch device and remote control electric device
CN108711440B (en) Write protection circuit, write protection method, write protection device and electrical equipment
CN110967619B (en) Detection circuit, circuit detection and control method
CN114537146B (en) Vehicle control method and device, electronic equipment and storage medium
CN114902511A (en) Power control device, display device, and power control method
CN116707508A (en) Standby optocoupler switching circuit, method and device, storage medium and electronic equipment
CN104467395A (en) Hot-plug power source system and power source control device and method
CN115831666A (en) Relay control method, relay control device, electronic apparatus, and storage medium
CN102957885A (en) Method and electronic equipment for turning off display screen
CN105680673A (en) Control method achieved based on microcontroller for three-phase AC solid-state switch
CN113285607B (en) Isolated power supply circuit, control method of isolated power supply and isolated power supply
CN111952129A (en) Circuit breaker, power distribution system and signal detection system
US9042063B2 (en) Switching arrangement
CN213367401U (en) Relay protection device
JP2017103999A (en) Indoor ac/dc multipass power supply system
CN207301694U (en) A kind of combination switch switching control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant