Summary of the invention
In view of the foregoing, it is necessary to provide it is a kind of reduction or reduction arc discharge it is hurtful to power supply and relay
Power switch control device and method.
A kind of power switch control device, comprising:
One switching device, including first and second input terminal, first and the to be connected corresponding with first and second input terminal
Two switch units and an output end, the output end are defeated to receive one first by first input end and first switch unit
Enter voltage, or to receive one second input voltage, each switch unit by the second input terminal and second switch unit
Including several relays;
One control device, comprising:
One detecting unit is connected with first and second input terminal, to receive first or second input voltage, and to
Detect the zero-crossing signal of first or second input voltage;
One processor is connected with detecting unit, first and second switch unit, to receive first or second input voltage
And the zero-crossing signal, and the period to detect the first or second input voltage, and judge that the first or second is defeated
Enter whether voltage is abnormal, when processor detects the first input voltage exception from first input end, then according to first input
The discharge time of the relay in the period and first switch unit of voltage calculates a delay time, and according to the delay time and
The zero-crossing signal of the first input voltage detected come judge control first switch unit relay disconnect opportunity.
A kind of power switch control device, comprising:
One switching device, including first and second input terminal, first and the to be connected corresponding with first and second input terminal
Two switch units and an output end, the output end are defeated to receive one first by first input end and first switch unit
Enter voltage, or to receive one second input voltage, each switch unit by the second input terminal and second switch unit
Including several relays;
One control device, comprising:
One detecting unit is connected with first and second input terminal, to receive first or second input voltage, and to
Detect the wave crest signal of first or second input voltage;
One processor is connected with detecting unit, first and second switch unit, to receive first or second input voltage
And the wave crest signal, and the period to detect the first or second input voltage, and judge that the first or second inputs
Whether voltage is abnormal, when processor detects the first input voltage exception from first input end, then according to the first input electricity
The discharge time of the relay in the period and first switch unit of pressure calculates a delay time, and according to the delay time and detects
The wave crest signal of the first input voltage measured judges opportunity that the relay for controlling first switch unit disconnects, opens when first
After closing unit disconnection, the relay for the second switch unit that processor control is connected with the second input terminal is connected, so that second is defeated
Enter end and the second input voltage is provided to output end.
A kind of power supply switch controlling method, this method step include the following:
The first or second input voltage exported by first or second input terminal is received by a voltage sensing unit;
The zero-crossing or wave crest signal of the first or second input voltage are detected by a signal sensing unit;
The first or second input voltage that processor is provided by voltage sensing unit detects period of the input voltage,
And judge whether the first or second input voltage abnormal, if, the first input voltage be it is abnormal, then processor is according to being detected
To the period of input voltage and the discharge time for the relay being connected with first input end calculate a delay time, and according to
The zero-crossing of the input voltage of the delay time and the first input end detected or wave crest judge that first switch unit is opened at end
Relay opportunity.
Compared to the prior art, power switch control device and method of the present invention can make processor by detecing
Period of the input voltage of unit detecting first or second input terminal and whether abnormal is surveyed, if detecting the input terminal of work at present
When the input voltage exception of offer, one is calculated according to the period of the input voltage detected and the discharge time of relay and is prolonged
When the time, and the zero-crossing signal of the input voltage detected or wave crest signal are delayed delay time be calculated to sentence
The opportunity that the relay that disconnected output is connected with the input terminal of work at present disconnects.It is thus possible to greatly reduce or reduce relay
When disconnection, arc discharge damages power supply and relay.
Detailed description of the invention
Fig. 1 is the signal that power switch control device of the present invention is connected with the first power supply, second source and an electronic equipment
Figure.
Fig. 2 is the block diagram of the first preferred embodiment of power switch control device of the present invention.
Fig. 3 is the structural schematic diagram of the first preferred embodiment of power switch control device of the present invention.
Fig. 4 be the zero-crossing signal according to input voltage of the first preferred embodiment of power switch control device of the present invention come
Judge the first waveform schematic diagram of delay time.
Fig. 5 be the zero-crossing signal according to input voltage of the first preferred embodiment of power switch control device of the present invention come
Judge the second waveform diagram of delay time.
Fig. 6 be the zero-crossing signal according to input voltage of the first preferred embodiment of power switch control device of the present invention come
Judge the third waveform diagram of delay time.
Fig. 7 is the schematic diagram of the second preferred embodiment of power switch control device of the present invention.
Fig. 8 is being sentenced according to the wave crest signal of input voltage for the second preferred embodiment of power switch control device of the present invention
The first waveform schematic diagram of disconnected delay time.
Fig. 9 is being judged according to the wave crest signal of input voltage for the good embodiment of power switch control device second of the present invention
Second waveform diagram of delay time.
Figure 10 is being sentenced according to the wave crest signal of input voltage for the good embodiment of power switch control device second of the present invention
The third waveform diagram of disconnected delay time.
Figure 11 is the flow chart of power supply switch controlling method of the present invention.
Main element symbol description
Power switch control device 100
First power supply 300
Second source 400
Electronic equipment 200
Switching device 10
Control device 20
First input end 11
Second input terminal 12
First switch unit 13
Second switch unit 14
Output end 15
Detecting unit 23
Processor 25
Voltage sensing unit 230
Zero-crossing signal sensing unit 231
First voltage sensor 2301
Second signal detector 2302
First zero-crossing signal sensor 2310
Second zero-crossing signal sensor 2311
Primary peak signal sensing device 2330
Secondary peak signal sensing device 2331
Relay R1-R8
Thyristor S1-S4
Control chip 250
Relay driver 251
Thyristor driver 252
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
Refering to what is shown in Fig. 1, power switch control device 100 and one first power supply 300, a second source 400 and an electronics
Equipment 200 is connected, for switching between the first power supply 300 and second source 400 with the voltage of the first power supply or second is electric
The voltage in source is supplied to electronic equipment 200, to maintain the normal power supply of electronic equipment 200.
Fig. 2 is referred to, for the schematic diagram of the first preferred embodiment of the invention.In the present embodiment, the power switch
Control device 100 includes a switching device 10 and a control device 20, and the switching device 10 is automatic change-over
(Automatic Transfer Switch, referred to as: ATS), the switching device 10 include that a first input end 11, one second is defeated
Enter end 12, a first switch unit 13, a second switch unit 14 and an output end 15, the first input end 11 and second is defeated
Enter end 12 to be connected with the first power supply 300 and second source 400 respectively, the output end 13 is to pass through first input end 11 and the
One switch unit 13 receives the first input voltage of the first power supply 300 output, or to be opened by the second input terminal 12 and second
It closes unit 14 and receives the second input voltage that second source 400 exports.The control device 20 includes a detecting unit 23 and one
Processor 25, the detecting unit 23 include a voltage sensing unit 230 and a zero-crossing signal sensing unit 231, the electricity
Pressing sensing unit 230 includes a first voltage sensor 2301 and a second voltage sensor 2302, the zero-crossing signal sense
Survey unit 231 include one first zero-crossing signal sensor 2310 and one second zero-crossing signal sensor 2311, described first
Voltage-sensor 2301 and the first zero-crossing signal sensor 2310 are connected with the first input end 11 and processor 25, institute
It states second voltage sensor 2302 and the second zero-crossing signal sensor 2311 is connected with the second input terminal 12 and processor 25,
Processor 25 is also connected with the first switch unit 13 and second switch unit 14.
As shown in figure 3, for the structural schematic diagram of the first preferred embodiment of the invention.The first input end 11 and second is defeated
Enter end 12 and is all connected with alternating current.The first switch unit 13 includes four relay R1-R4 and two thyristors S1 and S2,
The second switch unit 14 includes four relay R5-R8 and four thyristors S3 and S4.The relay R1 and after
Electric appliance R2 is serially connected between the firewire L1 and output end 15 of the first input end 11, the relay R3 and relay R4 concatenation
Between the zero curve N1 and output end 15 of the first input end 11.Each thyristor by two individual thyristors simultaneously
Connection composition.Node between the first end of the thyristor S1 and relay R1 and R2 is connected, the thyristor S1
Second end be connected with output end 15.Node between the first end of the thyristor S2 and relay R3 and R4 is connected,
The second end of the thyristor S2 is connected with output end 15.It is defeated that the relay R5 and relay R6 is serially connected with described second
Between the firewire L2 and output end 15 for entering end 12, the relay R7 and relay R8 are serially connected with the zero of second input terminal 12
Between line N2 and output end 15.Node between the first end of the thyristor S3 and relay R5 and R6 is connected, described
The second end of thyristor S3 is connected with output end 15.Between the first end and relay R7 and R8 of the thyristor S4
Node be connected, the second end of the thyristor S4 is connected with output end 15.
The processor 25 includes controlling chip 250, a relay driver 251 and a thyristor driver 252,
The relay R1-R8 passes through relay driver 251 and is connected to the processor 25, the thyristor S1-S4's
Control terminal is connected to the processor 25 by thyristor driver 252.The relay driver 251 and silicon control rectification
Device driver 252 plays the voltage that regulating relay R1-R8 and thyristor S1-S4 are connected into control chip 250 by alternating current, with
Have the function that voltage matches.
In the present embodiment, when thyristor S1 and S2 can play the signal transmitting for accelerating first input end to output end
Between, thyristor S3 and S4 can play the signal passing time for accelerating the second input terminal to output end, each silicon control rectification
Device advantageously reduces the pressure drop of corresponding relay connected in parallel, is then conducive to further decrease arc discharge.
When work, when the voltage that output end 15 is currently received comes from the first input end 11 and the first power supply 300, institute
It states first voltage sensor 2301 and detects received first input voltage of first input end 11, and the voltage received is supplied to
Processor 25, the first zero-crossing signal sensor 2310 detect the zero-crossing signal of the first input voltage, and will detect
Zero-crossing signal be supplied to the processor 25.The processor 25 passes through first input of the detecting of first voltage sensor 2301
The cycle T of voltage, and judge whether first input voltage is abnormal, if current first input voltage is abnormal, the processor
25 according to the discharge time T of the relay of the cycle T and first switch unit 13 of the first input voltageReleaseTo calculate a delay
Time TDelay, and according to delay time TDelayAnd the zero-crossing signal of the first input voltage detected is disconnected to judge to export
The opportunity of four relay R1-R4 signals is opened, to avoid stronger arc discharge, reduces arc discharge to relay and power supply
Adverse effect.In the present embodiment, the power-on time T of relayReleaseIt is relay coil from the control for starting to be powered off
The release time that signal processed is fully disconnected to relay contacts point.
Referring to fig. 4 to fig. 6, when to be the first input voltage be sine wave, processor 25 is with the first zero-crossing signal sensor
On the basis of three kinds of state waveforms of the zero-crossing signal (ZCD) of 2310 the first input voltages of detecting, determines submitting and disconnect four
Relay (indicates) opportunity of signal with Delay in fig. 4 to fig. 6, wherein TDelayMeet following relational expression:
T/4-TRelease <TDelay< T/2-TRelease ;Or 3T/4-TRelease <TDelay< T-TRelease 。
I.e. processor 25 is detecting the zero-crossing signal of the first input voltage (ZCD) and through delay time TDelayLater,
Output disconnects four relay R1-R4 signals immediately.After four relay R1-R4 being connected with first input end 11 are disconnected,
Processor 25 controls the relay R5-R8 that is connected with the second input terminal 12 and is closed, so that the second input terminal 12 is by second source 400
Voltage exported by relay R5-R8 to output end 15.In the present embodiment, the zero-crossing signal of the input voltage is defeated
Enter the sine wave of voltage signal when close to horizontal axis.
As shown in fig. 7, for the schematic diagram of the second preferred embodiment of the invention, unlike the first preferred embodiment, institute
Stating detecting unit 23 includes voltage sensing unit 230 and a wave crest signal sensing unit 233, shown wave crest signal sensing unit
233 include primary peak signal sensing device 2330 and a secondary peak signal sensing device 2331, the primary peak signal sensing
Device 2330 and a secondary peak signal sensing device 2331 respectively with receive the first input voltage and the second input voltage, and detect the
The wave crest signal of one input voltage and the second input voltage, and the wave crest signal detected is supplied to processor 25.
Second preferred embodiment is similar with the working principle of the first preferred embodiment, when the electricity that output end 15 is currently received
Pressure comes from the first input end 11 and the first power supply 300, and the first voltage sensor 2301 is detected first input end 11 and connect
The first input voltage received, and the voltage received is supplied to processor 25, the primary peak signal sensing device 2330 is detectd
The wave crest signal of the first input voltage is surveyed, and the wave crest signal detected is supplied to the processor 25.The processor 25
The cycle T of the first input voltage is detected by first voltage sensor 2301, and judges whether first input voltage is abnormal, if
Current first input voltage be it is abnormal, the processor 25 is according to the cycle T of the first input voltage and first switch unit 13
The discharge time T of relayReleaseTo calculate a delay time TDelay, and according to delay time TDelayAnd first detected
The wave crest signal of input voltage come judge output disconnect four relay R1-R4 signals opportunity.
Referring to Fig. 8 to Figure 10, when to be the first input voltage be sine wave, processor 25 is with primary peak signal sensing device
2310 detecting the first input voltages wave crest signal (PKD) three kinds of state waveforms on the basis of, calculate submitting disconnect four after
Electric appliance (indicates) opportunity of signal with Delay in fig. 4 to fig. 6, wherein TDelayMeet following relational expression:
0<TDelay< T/4-TRelease Or T/2-TRelease <TDelay< 3T/4-TRelease 。
I.e. processor 25 is in the wave crest signal (PKD) for detecting the first input voltage and through delay time TDelayLater, it stands
I.e. output disconnects four relay R1-R4 signals.After four relay R1-R4 being connected with first input end 11 are disconnected, place
Reason device 25 controls the relay R5-R8 that is connected with the second input terminal 12 and is closed, so that the second input terminal 12 is by second source 400
Voltage is exported by relay R5-R8 to output end 15.In the present embodiment, the wave crest signal of the input voltage is input electricity
The sine wave of pressure signal in wave crest.
It is the flow chart of power supply automatic switching method preferred embodiment of the present invention with reference to shown in Figure 11.In the present embodiment,
This method can be by being applied to power switch control device as described above, which includes the following:
Step S801 receives the first input voltage exported by first input end by voltage sensing unit 230.
Step S802 detects the zero-crossing or wave crest signal of first input voltage by signal sensing unit 231/233.
Step S803, processor 25 receive the first input voltage that voltage sensing unit 230 provides, and it is first defeated to detect this
Enter the cycle T of voltage.
Step S804, processor 25 judges whether first input voltage is abnormal, abnormal if it exists, then carries out step
S805, if it does not exist abnormal then return step S801.
Step S805, what processor was connected according to the cycle T of the first input voltage detected and with first input end
The discharge time T of relay R1-R4ReleaseTo calculate a delay time tDelay。
Step S806, processor is according to delay time tDelayAnd zero friendship of the input voltage of the first input end detected
Exceeding signal or wave crest signal judge that output disconnects the opportunity of the signal of the relay of first switch unit.
Step S807, after the relay of first switch unit disconnects, the control of processor 25 is connected with the second input terminal 12
Second switch unit relay R5-R8 conducting so that the voltage of second source 400 is provided to output by the second input terminal 12
End 15.
When second source 400 is supplied to output end 15, and the second electricity by second switch unit 14 by the second input terminal 12
When sensor 2302 and the second zero-crossing signal sensor 2311 being pressed to work, principle and first input end 11 pass through first switch
First power supply 300 is supplied to output end 15, and first voltage sensor 2301 and the first zero-crossing signal sensor by unit 13
The principle of 2310 work is identical, and details are not described herein.
To sum up, processor 25 of the invention is by the zero-crossing or wave crest signal of detecting input voltage, and by input voltage
Zero-crossing signal or wave crest signal be delayed delay time be calculated to judge the input terminal phase of output with work at present
The opportunity that relay even disconnects.It is thus possible to which arc discharge is to power supply and relay when greatly reducing or reduce relay disconnection
Device damages.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although referring to the above preferred embodiment pair
The present invention is described in detail, those skilled in the art should understand that, technical solution of the present invention can be carried out
Modification or equivalent replacement should not all be detached from the spirit and scope of technical solution of the present invention.