CN108448532A - A kind of relay zero-crossing control circuit - Google Patents
A kind of relay zero-crossing control circuit Download PDFInfo
- Publication number
- CN108448532A CN108448532A CN201810372019.7A CN201810372019A CN108448532A CN 108448532 A CN108448532 A CN 108448532A CN 201810372019 A CN201810372019 A CN 201810372019A CN 108448532 A CN108448532 A CN 108448532A
- Authority
- CN
- China
- Prior art keywords
- port
- relay
- main control
- control chip
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 18
- 101150037899 REL1 gene Proteins 0.000 claims description 43
- 101100099158 Xenopus laevis rela gene Proteins 0.000 claims description 43
- 230000007704 transition Effects 0.000 claims description 12
- 230000003111 delayed effect Effects 0.000 claims description 6
- 230000005611 electricity Effects 0.000 claims description 3
- 238000000465 moulding Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 7
- 238000005259 measurement Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/02—Details
- H02H3/021—Details concerning the disconnection itself, e.g. at a particular instant, particularly at zero value of current, disconnection in a predetermined order
Landscapes
- Relay Circuits (AREA)
Abstract
A kind of relay zero-crossing control circuit and the control method based on the control circuit.It is related to field of household appliance control.Propose a kind of easy to operate, of low cost, reliable and stable relay zero-crossing control circuit and the control method based on the control circuit.The technical scheme is that:Including zero-cross triggering circuit, over-zero action circuit and central control module, the central control module includes the main control chip that connection is kept with zero trigger circuit, over-zero action circuit;The zero-cross triggering circuit connects alternating current and transmits voltage signal to the main control chip by port ZERO1, the over-zero action is electrically connected in alternating current, and the over-zero action circuit transmits voltage signal to the main control chip by port ZERO2 and receives control signal by port RLY.There is advantage easy to operate, of low cost, reliable and stable on the whole.
Description
Technical field
The present invention relates to field of household appliance control, and in particular to a kind of control method of relay zero-crossing.
Background technology
Relay is widely used as the powerful switch of small-power control at present, but is found during use, loads and is
When high current, easily there is arc spark in relay contact, seriously affects the service life of relay.So-called relay zero-crossing control
System, i.e., so that relay is attracted or disconnects near 0 point of alternating current, load end electric current is very small at this time, and relay is close
In no-load operation state, switch life is close to mechanical life, and the mechanical life of conventional relays is that it is electrical at present
100 times or so of service life, therefore its service life can significantly be extended using relay zero-crossing control.For AC load,
Portioned product realizes relay by screening relay, the preferable product of selecting switch special efficacy consistency by software constant time lag
Device Super-zero control reduces influence of the arc spark to relay life.But the method heavy workload, cost of labor are excessively high, it is difficult to
It is a wide range of to promote.Portioned product realizes the Super-zero control of relay by phase-detection, and circuit is relative complex, and material cost is high,
It is unfavorable for promoting.
Invention content
The present invention is in view of the above problems, propose a kind of relay zero-crossing control easy to operate, of low cost, reliable and stable
Circuit processed and control method based on the control circuit.
The technical scheme is that:Including zero-cross triggering circuit, over-zero action circuit and central control module, in described
Centre control module includes that the main control chip of connection is kept with zero trigger circuit, over-zero action circuit;
The zero-cross triggering circuit connects alternating current and transmits voltage signal, the mistake to the main control chip by port ZERO1
Zeroing is electrically connected in alternating current, and the over-zero action circuit transmits voltage by port ZERO2 to the main control chip to be believed
Number and pass through port RLY receive control signal.
The zero-cross triggering circuit includes resistance R8, resistance R9, resistance R10, diode D5 and diode D8, diode D5
Cathode be connected with 5V power supplys, the anode of diode D5 is connected with the cathode of diode D8, the plus earth of diode D8, resistance
The one end R8 is connected with resistance R9, the resistance R8 other ends connect alternating current, and the one end of resistance R9 far from R8 is connected to diode D5 and two
Between pole pipe D8, one end of resistance R10 is connected between diode D5 and diode D8 and the other end is connected by port ZERO1
Connect the main control chip.
The over-zero action circuit includes relay REL1, load H, resistance R7, resistance R6, resistance R5, resistance R2, resistance
R1, diode D1, diode D2, diode D9 and triode Q5, the load switch of the firewire L and relay REL1 of alternating current its
In a foot be connected and the load switch of relay REL1 another foot through load H be connected with the zero curve N of alternating current;
The anode of diode D9 connects zero curve N, and diode D9 cathodes connect the anode of diode D2, and diode D2 cathodes meet 5V
Power supply, the one end resistance R6 be connected between diode D2 and diode D9 and the other end by resistance R7 be connected to load H and
Between the load switch of relay REL1, one end of resistance R5 is connected between diode D2 and diode D9 and the other end is logical
Port ZERO2 is crossed with main control chip to be connected;
Resistance R1 mono- terminates the base stage of triode Q5 and the other end passes through port RLY connection main control chips, triode Q5 emitters
Ground connection, resistance R2 is connected in parallel between triode Q5 base stages and emitter, the coil of triode Q5 collector connecting relays REL1 and
The cathode of diode D1 anodes, a termination 12V power supply and diode D1 of the coil far from triode Q5 of relay REL1 connects
12V power supplys.
The central control module includes that the anode of capacitance E1, capacitance C1 and main control chip U1, the capacitance E1 connect 5V electricity
Source and cathode are grounded, and capacitance C1 is in parallel with capacitance E1, and the 1st foot of main control chip U1 is connected with 5V power supplys, and the of main control chip U1
8 feet are grounded, the 7th foot connectivity port ZERO1 of the 2nd foot connectivity port ZERO2 of main control chip U1, main control chip U1, master control core
The 6th foot connectivity port RLY of piece U1.
Super-zero control is carried out according to the following steps:
1), the time of measuring relay make delay;
1.1), main control chip detects the voltage negative skip signal sent out by port ZERO1;
1.1.1), main control chip sends out high level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 conducting, relay REL1 coils have electric current, trigger relay to be attracted;
1.1.2), when relay is closed, if alternating current is in positive half period, 1.1.3.1 is entered step);If alternating current is in negative
When the half period, then 1.1.3.2 is entered step);
1.1.3 Ton1), is recorded;
1.1.3.1), current path is firewire L- at this time>Resistance R7->Resistance R6->Resistance R5->Main control chip, port ZERO2
In high level;
1.1.3.2), current path is zero curve N- at this time>Main control chip->Resistance R5->Resistance R6->Resistance R7->Firewire L, end
Mouth ZERO2 is in low level, and ZERO2 kicks in port are high level over time;
1.1.3.3), record port ZERO2 is switched to the time of high level by low level;
1.1.3.4 the time of high level), is switched to by low level by main control chip calculating exit port ZERO2 and main control chip is sent out
The time difference of the time of signal, it is denoted as Ton1;
1.2), main control chip detects the voltage positive transition signal sent out by port ZERO1;
1.2.1), main control chip sends out high level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 conducting, relay REL1 coils have electric current, trigger relay to be attracted;
1.2.2), when relay is closed, if alternating current is in positive half period, 1.2.3.1 is entered step);If alternating current is in
When negative half-cycle, then 1.2.3.2 is entered step);
1.2.3 Ton2), is recorded;
1.2.3.1), current path is firewire L- at this time>Resistance R7->Resistance R6->Resistance R5->Main control chip, port ZERO2
In high level;
1.2.3.2), current path is zero curve N- at this time>Main control chip->Resistance R5->Resistance R6->Resistance R7->Firewire L, end
Mouth ZERO2 is in low level, and ZERO2 kicks in port are high level over time;
1.2.3.3), record port ZERO2 is switched to the time of high level by low level;
1.2.3.4 the time of high level), is switched to by low level by main control chip calculating exit port ZERO2 and main control chip is sent out
The time difference of the time of signal, it is denoted as Ton2;
1.3) it, takes the smaller value of Ton1, Ton2 as the practical closing time of relay by main control chip, remembers Ton=Min
(Ton1,Ton2);
2), relay zero-crossing is closed control;
2.1), the note alternating current period is Tac, takes Tadj=Ton%Tac (wherein % is to remove method remainder);
2.2), after detecting alternating current zero cross signal again, main control chip is delayed after Tac-Tadj to relay control port RLY
To high level, you can the make delay of compensation relay so that relay is closed in next zero;
3), the time of measuring relay off delay;
3.1), main control chip detects the voltage negative skip signal sent out by port ZERO1;
3.1.1), main control chip sends out low level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 cut-off, relay REL1 coil no currents, trigger relay disconnects;
3.1.2), when relay disconnects, if alternating current is in positive half period, 3.1.3.1 is entered step);If alternating current is in
When negative half-cycle, then 3.1.3.2 is entered step);
3.1.3 Toff1), is recorded;
3.1.3.1), port ZERO1 is in high level at this time, and port ZERO2 becomes low level from high level;
3.1.3.2), port ZERO1 is in low level at this time, and port ZERO2 is low level, and port over time
ZERO1 kicks are high level;
3.1.3.3 it), records port ZERO1 and the inconsistent time occurs in port ZERO2 level;
3.1.3.4 exit port ZERO1), is calculated by main control chip and inconsistent time and master control core occurs in port ZERO2 level
Piece sends out the time difference of the time of signal, is denoted as Toff1;
3.2), main control chip detects the voltage positive transition signal sent out by port ZERO1;
3.2.1), main control chip sends out low level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 cut-off, relay REL1 coil no currents, trigger relay disconnects
3.2.2), when relay disconnects, if alternating current is in positive half period, 3.2.3.1 is entered step);If alternating current is in negative
Half period then enters step 3.2.3.2);
3.2.3 Toff2), is recorded;
3.2.3.1), port ZERO1 is in high level at this time, and port ZERO2 becomes low level from high level;
3.2.3.2), port ZERO1 is in low level at this time, and port ZERO2 is low level, and port over time
ZERO1 kicks are high level;
3.2.3.3 it), records port ZERO1 and the inconsistent time occurs in port ZERO2 level;
3.2.3.4 exit port ZERO1), is calculated by main control chip and inconsistent time and master control core occurs in port ZERO2 level
Piece sends out the time difference of the time of signal, is denoted as Toff2;
3.3) it, takes the smaller value of Toff1, Toff2 as the actual switch-off time of relay by main control chip, remembers Toff=Min
(Toff1,Toff2);
4), relay zero-crossing disconnects control;
4.1), the note alternating current period is Tac, takes Tadk=Toff%Tac (wherein % is to remove method remainder);
4.2), after detecting alternating current zero cross signal again, main control chip is delayed after Tac-Tadk to relay control port RLY
To low level, you can the off delay of compensation relay so that relay is disconnected in next zero;It finishes.
The present invention obtains alternating current zero signal by zero-cross triggering circuit, is attracted or is closed by main control chip control relay
It closes, then by over-zero action circuit, detects the time of relay load end actual act, calculate and control letter is sent out by main control chip
Number arrive relay actual act time difference, you can obtain the delay of the actuating of relay.By the actuating of relay delay number of acquisition
According to being saved in main control chip, can be acted later according to relay coil by reading the related data stored in main control chip
The delay acted to load end, after receiving zero cross signal, main control chip delay a period of time provides relay control again
Signal realizes the zero passage switch of relay with this.Although the action delay consistency of relay batch is poor, for same
Its action delay consistency of a relay is extraordinary, therefore can carry out zero passage control to relay by the method completely
System.There is advantage easy to operate, of low cost, reliable and stable on the whole.
Description of the drawings
Fig. 1 is the structural schematic diagram of control circuit in this case,
Fig. 2 is the structural schematic diagram of zero-cross triggering circuit in this case,
Fig. 3 is the structural schematic diagram of over-zero action circuit in this case,
Fig. 4 is the structural schematic diagram of central control module in this case,
Fig. 5 is the structural schematic diagram of regulator circuit in this case;
Fig. 6 is the work flow diagram of step 1)-step 2) in this case,
Fig. 7 is the work flow diagram of step 3)-step 4) in this case.
Specific implementation mode
The present invention as shown in figs. 1-7, including zero-cross triggering circuit, over-zero action circuit and central control module, in described
Centre control module includes that the main control chip of connection is kept with zero trigger circuit, over-zero action circuit;
The zero-cross triggering circuit by regulator circuit (regulator circuit herein be the prior art and with this case main innovation point
It is unrelated, as shown in Figure 5) connect alternating current and voltage signal is transmitted to the main control chip by port ZERO1, the zero passage is dynamic
Be electrically connected in alternating current, the over-zero action circuit by port ZERO2 to the main control chip transmit voltage signal and
Control signal is received by port RLY.
As shown in Fig. 2, the zero-cross triggering circuit includes resistance R8, resistance R9, resistance R10, diode D5 and diode
The cathode of D8, diode D5 are connected with 5V power supplys, and the anode of diode D5 is connected with the cathode of diode D8, the sun of diode D8
Pole is grounded, and the one end resistance R8 is connected with resistance R9, the resistance R8 other ends (access resistance in regulator circuit by regulator circuit
Between R101 and diode D3) alternating current is connected, the one end of resistance R9 far from R8 is connected between diode D5 and diode D8,
One end of resistance R10 is connected between diode D5 and diode D8 and the other end passes through the port ZERO1 connections master control
Chip.
As shown in figure 3, the over-zero action circuit include relay REL1, load H, resistance R7, resistance R6, resistance R5,
Resistance R2, resistance R1, diode D1, diode D2, diode D9 and triode Q5, the firewire L's and relay REL1 of alternating current
A load switch wherein foot is connected and zero curve N phase of another foot of the load switch of relay REL1 through load H and alternating current
Even;
The anode of diode D9 connects zero curve N, and diode D9 cathodes connect the anode of diode D2, and diode D2 cathodes meet 5V
Power supply, the one end resistance R6 be connected between diode D2 and diode D9 and the other end by resistance R7 be connected to load H and
Between the load switch of relay REL1, one end of resistance R5 is connected between diode D2 and diode D9 and the other end is logical
Port ZERO2 is crossed with main control chip to be connected;
Resistance R1 mono- terminates the base stage of triode Q5 and the other end passes through port RLY connection main control chips, triode Q5 emitters
Ground connection, resistance R2 is connected in parallel between triode Q5 base stages and emitter, the coil of triode Q5 collector connecting relays REL1 and
The cathode of diode D1 anodes, a termination 12V power supply and diode D1 of the coil far from triode Q5 of relay REL1 connects
12V power supplys.
As shown in figure 4, the central control module includes capacitance E1, capacitance C1 and main control chip U1, the capacitance E1's
Anode connects 5V power supplys and cathode is grounded, and capacitance C1 is in parallel with capacitance E1, and the 1st foot of main control chip U1 is connected with 5V power supplys, master control
The 8th foot of chip U1 is grounded, the 2nd foot connectivity port ZERO2 of main control chip U1, the 7th foot connectivity port of main control chip U1
The 6th foot connectivity port RLY of ZERO1, main control chip U1.
The present invention obtains alternating current zero signal by zero-cross triggering circuit, is attracted or is closed by main control chip control relay
It closes, then by over-zero action circuit, detects the time of relay load end actual act, calculate and control letter is sent out by main control chip
Number arrive relay actual act time difference, you can obtain the delay of the actuating of relay.By the actuating of relay delay number of acquisition
According to being saved in main control chip, can be acted later according to relay coil by reading the related data stored in main control chip
The delay acted to load end, after receiving zero cross signal, main control chip delay a period of time provides relay control again
Signal realizes the zero passage switch of relay with this.Although the action delay consistency of relay batch is poor, for same
Its action delay consistency of a relay is extraordinary, therefore can carry out zero passage control to relay by the method completely
System.
The control principle of the present invention is as described below:
One, the detection of zero cross signal:When the port ZERO1 of zero-cross triggering circuit has level saltus step i.e. it is believed that alternating current is in zero
Near point, that is, obtain zero cross signal.
Two, the measurement of relay make delay:Over-zero action circuit and zero-cross triggering circuit are all that total zero curve is GND,
Therefore its zero cross signal is also synchronous, when main control chip detects that port ZERO1 bears saltus step, at this time to relay control port
RLY sends out high level, triode Q5 conductings, and relay REL1 coils have electric current, can trigger relay and be attracted.In relay load end
Before actuation, over-zero action circuit signal port ZERO2 is supported H and current-limiting resistance R7, resistance R6 drop-downs, is in low level shape
State.When the level state that relay is attracted rear port ZERO2 is then determined by the polarity of voltage of firewire L, zero curve N, if at electric current
In alternating current positive half period (electric current flows to N by L), then current path is L->Resistance R7->Resistance R6->Resistance R5->Chip interior
Positive catching diode, then port ZERO2 is in high level at this time.When L, N polarity of voltage are in alternating current negative half-cycle, (electric current is by N
Flow to L), then current path is N->Inside main control chip it is negative it is clamped->Resistance R5->Resistance R6->Resistance R7->L, i.e. port
ZERO2 is in low level.It can thus be appreciated that can determine whether that it has been attracted if port ZERO2 becomes low level from high level, if
Make delay at this time is Ton1.
But problem is also may be used when relay make delay is less than half of alternating current period, port ZERO2 is in low level
It can be in attracting state, then also needing to relay make delay time when zero cross signal positive transition.Similarly, work as port
ZERO1 positive transitions, main control chip send out high level to relay control port RLY.Before relay load is attracted, over-zero action
Circuit signal port ZERO2 is in low level, when detect port ZERO2 become high level can determine whether relay be attracted, note
Relay make delay at this time is Ton2.If the make delay of relay is less than half of alternating current period, Ton2<
Ton1, Ton2 is only actual relay make delay.If the make delay of relay is more than half of alternating current period,
Ton1<Ton2, Ton1 are only actual relay closing time.Thus the smaller value of Ton1, Ton2 can be taken as relay
The practical closing time of device, note Ton=Min (Ton1, Ton2).
Three, relay zero-crossing is closed control:The note alternating current period is Tac, and taking Tadj=Ton%Tac, (wherein % is to remove method
Remainder works as Ton<When Tac, Tadj=Ton;Work as Ton>When Tac, Tadj is the delay time more than the integer alternating current period), then
After detecting alternating current zero cross signal again, Tac-Tadj is again to relay control port RLY to high level for delay, you can compensation
The make delay of relay so that relay is closed in city's electrical zero.
Four, the measurement of relay off delay:When main control chip detects that port ZERO1 bears saltus step, relay is given at this time
Control port RLY low levels, triode Q5 cut-offs, relay REL coil no currents.Before relay load end disconnects, due to end
Mouth ZERO2 is synchronous with port ZERO1 signals, i.e. port ZERO2 and port ZERO1 is in same level state.And when relay is real
After border disconnects, port ZERO2 is supported H and current-limiting resistance R7, resistance R6 drop-downs, is in low level state.Can so it pass through
Judge whether port ZERO2 is consistent with port ZERO1 and judge whether relay disconnects, if inconsistent is already off.But
It is in low level since relay disconnects rear port ZERO2, cannot function as so port ZERO1 is consistent with port ZERO2 level
The abundant foundation that relay does not disconnect.Saltus step is born for port ZERO1, remembers that relay closing time at this time is Toff1, if
The turn-off time of relay is less than half of alternating current period, then Toff1 needs can be just detected in alternating current positive half period, i.e., at this time
Toff1 can be longer than actual relay closing time.Relay when measurement port ZERO1 positive transitions is so also needed to be closed
Time Toff2 sends out relay cut-off signal and assigns low electricity to port RLY when main control chip detects port ZERO1 positive transitions
Flat, since port ZERO1 is in high level, and relay disconnection rear port ZERO2 will be pulled to low level, so if after
The electric appliance actual switch-off time is less than half of alternating current period, then when its disconnection rear port ZERO2 level will be opposite in port ZERO1.
So the smaller value in Toff1, Toff2 can be taken as relay off delay, it is denoted as Toff=Min (Toff1, Toff2).
Five, relay zero-crossing disconnects control:It is similar with relay zero-crossing closure control, when detecting zero cross signal, prolong
When Tac-Toff%Tac (wherein % be remove method remainder, work as Toff<When Tac, Tadk=Toff;Work as Ton>When Tac, Tadk
For the delay time more than the integer alternating current period), then relay cut-off signal is sent out by main control chip, i.e., to the port ends RLY
Poll tax on children low level, at this time can compensation relay off delay, realize relay zero passage disconnect control.
Wherein, it is contemplated that actuating of relay delay can exceed that an alternating current period, be more than one when relay actuation time
When a alternating current period, that is, Ton>Tac so Tac-Ton will be less than 0, and the time is positive number always, therefore cannot directly use
Tac-Ton, using removing method method of residues in this case, you can accurately obtain out the delay time more than the integer alternating current period;
Similarly, Toff%Tac is necessarily not more than Tac, and time minimum is also 0 it is not possible that arriving negative.
As shown in fig. 6-7, Super-zero control is carried out according to the following steps:Relay can be divided into be closed and two kinds of behaviour of relay disconnection
Make mode;
1), the time of measuring relay make delay;The voltage that can be divided into is sent out by port ZERO1 since main control chip detects
Two kinds of negative skip signal and voltage positive transition signal, thus it is following in two kinds of situations are sampled respectively;
1.1), main control chip detects the voltage negative skip signal sent out by port ZERO1;
1.1.1), main control chip sends out high level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 conducting, relay REL1 coils have electric current, trigger relay to be attracted;Before the actuation of relay load end, zero passage
The port ZERO2 of actuating circuit is supported H and current-limiting resistance R7, R6 drop-down, is in low level state;
1.1.2 it), when relay is closed, if alternating current is in positive half period (electric current flows to N by L), enters step
1.1.3.1);When if alternating current is in negative half-cycle (electric current flows to L by N), 1.1.3.2 is entered step);
1.1.3 Ton1), is recorded;
1.1.3.1), current path is firewire L- at this time>Resistance R7->Resistance R6->Resistance R5->Main control chip, port ZERO2
In high level;
1.1.3.2), current path is zero curve N- at this time>Main control chip->Resistance R5->Resistance R6->Resistance R7->Firewire L, end
Mouth ZERO2 is in low level, and ZERO2 kicks in port are high level over time;
1.1.3.3), record port ZERO2 is switched to the time of high level by low level;
1.1.3.4 the time of high level), is switched to by low level by main control chip calculating exit port ZERO2 and main control chip is sent out
The time difference of the time of signal, it is denoted as Ton1;
1.2), main control chip detects the voltage positive transition signal sent out by port ZERO1;
1.2.1), main control chip sends out high level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 conducting, relay REL1 coils have electric current, trigger relay to be attracted;Before the actuation of relay load end, zero passage
The port ZERO2 of actuating circuit is supported H and current-limiting resistance R7, R6 drop-down, is in low level state;
1.2.2 it), when relay is closed, if when alternating current is in positive half period (electric current flows to N by L), enters step
1.2.3.1);When if alternating current is in negative half-cycle (electric current flows to L by N), 1.2.3.2 is entered step);
1.2.3 Ton2), is recorded;
1.2.3.1), current path is firewire L- at this time>Resistance R7->Resistance R6->Resistance R5->Main control chip, port ZERO2
In high level;
1.2.3.2), current path is zero curve N- at this time>Main control chip->Resistance R5->Resistance R6->Resistance R7->Firewire L, end
Mouth ZERO2 is in low level, and ZERO2 kicks in port are high level over time;
1.2.3.3), record port ZERO2 is switched to the time of high level by low level;
1.2.3.4 the time of high level), is switched to by low level by main control chip calculating exit port ZERO2 and main control chip is sent out
The time difference of the time of signal, it is denoted as Ton2;
1.3) it, takes the smaller value of Ton1, Ton2 as the practical closing time of relay by main control chip, remembers Ton=Min
(Ton1,Ton2);
2), relay zero-crossing is closed control;
2.1), the note alternating current period is Tac, takes Tadj=Ton%Tac (wherein % is to remove method remainder);
2.2), after detecting alternating current zero cross signal again, main control chip is delayed after Tac-Tadj to relay control port RLY
To high level, you can the make delay of compensation relay so that relay is closed in next zero;
3), the time of measuring relay off delay;The voltage that can be divided into is sent out by port ZERO1 since main control chip detects
Two kinds of negative skip signal and voltage positive transition signal, thus it is following in two kinds of situations are sampled respectively;
3.1), main control chip detects the voltage negative skip signal sent out by port ZERO1;
3.1.1), main control chip sends out low level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 cut-off, relay REL1 coil no currents, trigger relay disconnects;Due to port ZERO2 and port ZERO1
Signal synchronizes, i.e. port ZERO2 and port ZERO1 is in same level state;
3.1.2), when relay disconnects, if alternating current is in positive half period, 3.1.3.1 is entered step);If alternating current is in
When negative half-cycle, then 3.1.3.2 is entered step);
3.1.3 Toff1), is recorded;
3.1.3.1), port ZERO1 is in high level at this time, and port ZERO2 becomes low level from high level;
3.1.3.2), port ZERO1 is in low level at this time, and port ZERO2 is low level, and port over time
ZERO1 kicks are high level;
3.1.3.3 it), records port ZERO1 and the inconsistent time occurs in port ZERO2 level;
3.1.3.4 exit port ZERO1), is calculated by main control chip and inconsistent time and master control core occurs in port ZERO2 level
Piece sends out the time difference of the time of signal, is denoted as Toff1;
3.2), main control chip detects the voltage positive transition signal sent out by port ZERO1;
3.2.1), main control chip sends out low level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 cut-off, relay REL1 coil no currents, trigger relay disconnects;Due to port ZERO2 and port ZERO1
Signal synchronizes, i.e. port ZERO2 and port ZERO1 is in same level state;
3.2.2), when relay disconnects, if alternating current is in positive half period, 3.2.3.1 is entered step);If alternating current is in negative
Half period then enters step 3.2.3.2);
3.2.3 Toff2), is recorded;
3.2.3.1), port ZERO1 is in high level at this time, and port ZERO2 becomes low level from high level;
3.2.3.2), port ZERO1 is in low level at this time, and port ZERO2 is low level, and port over time
ZERO1 kicks are high level;
3.2.3.3 it), records port ZERO1 and the inconsistent time occurs in port ZERO2 level;
3.2.3.4 exit port ZERO1), is calculated by main control chip and inconsistent time and master control core occurs in port ZERO2 level
Piece sends out the time difference of the time of signal, is denoted as Toff2;
3.3) it, takes the smaller value of Toff1, Toff2 as the actual switch-off time of relay by main control chip, remembers Toff=Min
(Toff1,Toff2);
4), relay zero-crossing disconnects control;
4.1), the note alternating current period is Tac, takes Tadk=Toff%Tac (wherein % is to remove method remainder);
4.2), after detecting alternating current zero cross signal again, main control chip is delayed after Tac-Tadk to relay control port RLY
To low level, you can the off delay of compensation relay so that relay is disconnected in next zero;It finishes.
Claims (5)
1. a kind of relay zero-crossing control circuit, which is characterized in that including zero-cross triggering circuit, over-zero action circuit and center control
Molding block, the central control module include the main control chip that connection is kept with zero trigger circuit, over-zero action circuit;
The zero-cross triggering circuit connects alternating current and transmits voltage signal, the mistake to the main control chip by port ZERO1
Zeroing is electrically connected in alternating current, and the over-zero action circuit transmits voltage by port ZERO2 to the main control chip to be believed
Number and pass through port RLY receive control signal.
2. a kind of relay zero-crossing control circuit according to claim 1, which is characterized in that the zero-cross triggering circuit packet
Resistance R8, resistance R9, resistance R10, diode D5 and diode D8 are included, the cathode of diode D5 is connected with 5V power supplys, diode
The anode of D5 is connected with the cathode of diode D8, the plus earth of diode D8, and the one end resistance R8 is connected with resistance R9, resistance R8
The other end connects alternating current, and the one end of resistance R9 far from R8 is connected between diode D5 and diode D8, and one end of resistance R10 connects
It is connected between diode D5 and diode D8 and the other end passes through the port ZERO1 connections main control chip.
3. a kind of relay zero-crossing control circuit according to claim 1, which is characterized in that the over-zero action circuit packet
Include relay REL1, load H, resistance R7, resistance R6, resistance R5, resistance R2, resistance R1, diode D1, diode D2, two poles
The firewire L of pipe D9 and triode Q5, alternating current is connected with the load switch of a relay REL1 wherein foot and relay REL1
Another foot of load switch is connected through loading H with the zero curve N of alternating current;
The anode of diode D9 connects zero curve N, and diode D9 cathodes connect the anode of diode D2, and diode D2 cathodes connect 5V electricity
Source, the one end resistance R6 is connected between diode D2 and diode D9 and the other end is connected to load H and relay by resistance R7
Between the load switch of device REL1, one end of resistance R5 is connected between diode D2 and diode D9 and the other end passes through end
Mouth ZERO2 is connected with main control chip;
Resistance R1 mono- terminates the base stage of triode Q5 and the other end passes through port RLY connection main control chips, triode Q5 emitters
Ground connection, resistance R2 is connected in parallel between triode Q5 base stages and emitter, the coil of triode Q5 collector connecting relays REL1 and
The cathode of diode D1 anodes, a termination 12V power supply and diode D1 of the coil far from triode Q5 of relay REL1 connects
12V power supplys.
4. a kind of relay zero-crossing control circuit according to claim 1, which is characterized in that the central control module packet
The anode for including capacitance E1, capacitance C1 and main control chip U1, the capacitance E1 connects 5V power supplys and cathode ground connection, capacitance C1 and capacitance
E1 is in parallel, and the 1st foot of main control chip U1 is connected with 5V power supplys, the 8th foot ground connection of main control chip U1, the 2nd foot of main control chip U1
The 6th foot connectivity port RLY of the 7th foot connectivity port ZERO1 of connectivity port ZERO2, main control chip U1, main control chip U1.
5. a kind of relay zero-crossing control method based on relay zero-crossing control circuit described in claim 1, feature exist
In carrying out Super-zero control according to the following steps:
1), the time of measuring relay make delay;
1.1), main control chip detects the voltage negative skip signal sent out by port ZERO1;
1.1.1), main control chip sends out high level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 conducting, relay REL1 coils have electric current, trigger relay to be attracted;
1.1.2), when relay is closed, if alternating current is in positive half period, 1.1.3.1 is entered step);If alternating current is in negative
When the half period, then 1.1.3.2 is entered step);
1.1.3 Ton1), is recorded;
1.1.3.1), current path is firewire L- at this time>Resistance R7->Resistance R6->Resistance R5->Main control chip, port ZERO2
In high level;
1.1.3.2), current path is zero curve N- at this time>Main control chip->Resistance R5->Resistance R6->Resistance R7->Firewire L, end
Mouth ZERO2 is in low level, and ZERO2 kicks in port are high level over time;
1.1.3.3), record port ZERO2 is switched to the time of high level by low level;
1.1.3.4 the time of high level), is switched to by low level by main control chip calculating exit port ZERO2 and main control chip is sent out
The time difference of the time of signal, it is denoted as Ton1;
1.2), main control chip detects the voltage positive transition signal sent out by port ZERO1;
1.2.1), main control chip sends out high level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 conducting, relay REL1 coils have electric current, trigger relay to be attracted;
1.2.2), when relay is closed, if alternating current is in positive half period, 1.2.3.1 is entered step);If alternating current is in
When negative half-cycle, then 1.2.3.2 is entered step);
1.2.3 Ton2), is recorded;
1.2.3.1), current path is firewire L- at this time>Resistance R7->Resistance R6->Resistance R5->Main control chip, port ZERO2
In high level;
1.2.3.2), current path is zero curve N- at this time>Main control chip->Resistance R5->Resistance R6->Resistance R7->Firewire L, end
Mouth ZERO2 is in low level, and ZERO2 kicks in port are high level over time;
1.2.3.3), record port ZERO2 is switched to the time of high level by low level;
1.2.3.4 the time of high level), is switched to by low level by main control chip calculating exit port ZERO2 and main control chip is sent out
The time difference of the time of signal, it is denoted as Ton2;
1.3) it, takes the smaller value of Ton1, Ton2 as the practical closing time of relay by main control chip, remembers Ton=Min
(Ton1,Ton2);
2), relay zero-crossing is closed control;
2.1), the note alternating current period is Tac, takes Tadj=Ton%Tac (wherein % is to remove method remainder);
2.2), after detecting alternating current zero cross signal again, main control chip is delayed after Tac-Tadj to relay control port RLY
To high level, you can the make delay of compensation relay so that relay is closed in next zero;
3), the time of measuring relay off delay;
3.1), main control chip detects the voltage negative skip signal sent out by port ZERO1;
3.1.1), main control chip sends out low level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 cut-off, relay REL1 coil no currents, trigger relay disconnects;
3.1.2), when relay disconnects, if alternating current is in positive half period, 3.1.3.1 is entered step);If alternating current is in
When negative half-cycle, then 3.1.3.2 is entered step);
3.1.3 Toff1), is recorded;
3.1.3.1), port ZERO1 is in high level at this time, and port ZERO2 becomes low level from high level;
3.1.3.2), port ZERO1 is in low level at this time, and port ZERO2 is low level, and port over time
ZERO1 kicks are high level;
3.1.3.3 it), records port ZERO1 and the inconsistent time occurs in port ZERO2 level;
3.1.3.4 exit port ZERO1), is calculated by main control chip and inconsistent time and master control core occurs in port ZERO2 level
Piece sends out the time difference of the time of signal, is denoted as Toff1;
3.2), main control chip detects the voltage positive transition signal sent out by port ZERO1;
3.2.1), main control chip sends out low level by port RLY to relay REL1, and records the time for sending out signal, this
When triode Q5 cut-off, relay REL1 coil no currents, trigger relay disconnects
3.2.2), when relay disconnects, if alternating current is in positive half period, 3.2.3.1 is entered step);If alternating current is in negative
Half period then enters step 3.2.3.2);
3.2.3 Toff2), is recorded;
3.2.3.1), port ZERO1 is in high level at this time, and port ZERO2 becomes low level from high level;
3.2.3.2), port ZERO1 is in low level at this time, and port ZERO2 is low level, and port over time
ZERO1 kicks are high level;
3.2.3.3 it), records port ZERO1 and the inconsistent time occurs in port ZERO2 level;
3.2.3.4 exit port ZERO1), is calculated by main control chip and inconsistent time and master control core occurs in port ZERO2 level
Piece sends out the time difference of the time of signal, is denoted as Toff2;
3.3) it, takes the smaller value of Toff1, Toff2 as the actual switch-off time of relay by main control chip, remembers Toff=Min
(Toff1,Toff2);
4), relay zero-crossing disconnects control;
4.1), the note alternating current period is Tac, takes Tadk=Toff%Tac (wherein % is to remove method remainder);
4.2), after detecting alternating current zero cross signal again, main control chip is delayed after Tac-Tadk to relay control port RLY
To low level, you can the off delay of compensation relay so that relay is disconnected in next zero;It finishes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810372019.7A CN108448532A (en) | 2018-04-24 | 2018-04-24 | A kind of relay zero-crossing control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810372019.7A CN108448532A (en) | 2018-04-24 | 2018-04-24 | A kind of relay zero-crossing control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108448532A true CN108448532A (en) | 2018-08-24 |
Family
ID=63201433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810372019.7A Pending CN108448532A (en) | 2018-04-24 | 2018-04-24 | A kind of relay zero-crossing control circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108448532A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110123122A (en) * | 2019-05-06 | 2019-08-16 | 九阳股份有限公司 | A kind of method, cooking apparatus and the storage medium of SCR control motor rotary speed |
CN110448168A (en) * | 2019-08-29 | 2019-11-15 | 九阳股份有限公司 | A kind of method for heating and controlling of boiling water pot |
CN111081495A (en) * | 2019-12-12 | 2020-04-28 | 恒大智慧充电科技有限公司 | Charging apparatus, charging method, computer apparatus, and storage medium |
WO2020082536A1 (en) * | 2018-10-24 | 2020-04-30 | 深圳阿凡达智控有限公司 | Control method, apparatus, smart device and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103700542A (en) * | 2013-12-18 | 2014-04-02 | 美的集团股份有限公司 | Relay action response and delay detection circuit, circuit board and electric heating product containing thereof |
CN204790364U (en) * | 2015-06-12 | 2015-11-18 | 九阳股份有限公司 | Low food preparation machine control circuit that disturbs |
CN205016421U (en) * | 2015-08-12 | 2016-02-03 | 广东美的生活电器制造有限公司 | Relay switch drive arrangement and domestic appliance |
CN106098473A (en) * | 2016-08-05 | 2016-11-09 | 江苏特力威信息系统有限公司 | Self adaptation zero passage on-off control device and method |
CN206323119U (en) * | 2017-01-12 | 2017-07-11 | 厦门芯阳科技股份有限公司 | Relay zero point disconnects control circuit |
CN207162712U (en) * | 2017-09-25 | 2018-03-30 | 奥普家居股份有限公司 | A kind of economical and practical bathroom heating device |
CN208112209U (en) * | 2018-04-24 | 2018-11-16 | 广东华美骏达电器有限公司 | Relay zero-crossing control circuit |
-
2018
- 2018-04-24 CN CN201810372019.7A patent/CN108448532A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103700542A (en) * | 2013-12-18 | 2014-04-02 | 美的集团股份有限公司 | Relay action response and delay detection circuit, circuit board and electric heating product containing thereof |
CN204790364U (en) * | 2015-06-12 | 2015-11-18 | 九阳股份有限公司 | Low food preparation machine control circuit that disturbs |
CN205016421U (en) * | 2015-08-12 | 2016-02-03 | 广东美的生活电器制造有限公司 | Relay switch drive arrangement and domestic appliance |
CN106098473A (en) * | 2016-08-05 | 2016-11-09 | 江苏特力威信息系统有限公司 | Self adaptation zero passage on-off control device and method |
CN206323119U (en) * | 2017-01-12 | 2017-07-11 | 厦门芯阳科技股份有限公司 | Relay zero point disconnects control circuit |
CN207162712U (en) * | 2017-09-25 | 2018-03-30 | 奥普家居股份有限公司 | A kind of economical and practical bathroom heating device |
CN208112209U (en) * | 2018-04-24 | 2018-11-16 | 广东华美骏达电器有限公司 | Relay zero-crossing control circuit |
Non-Patent Citations (1)
Title |
---|
关健,李欣雪主编: "《电力电子技术》", 30 June 2018, 北京理工大学出版社, pages: 172 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020082536A1 (en) * | 2018-10-24 | 2020-04-30 | 深圳阿凡达智控有限公司 | Control method, apparatus, smart device and computer storage medium |
CN110123122A (en) * | 2019-05-06 | 2019-08-16 | 九阳股份有限公司 | A kind of method, cooking apparatus and the storage medium of SCR control motor rotary speed |
CN110448168A (en) * | 2019-08-29 | 2019-11-15 | 九阳股份有限公司 | A kind of method for heating and controlling of boiling water pot |
CN110448168B (en) * | 2019-08-29 | 2021-09-10 | 九阳股份有限公司 | Heating control method of water boiler |
CN111081495A (en) * | 2019-12-12 | 2020-04-28 | 恒大智慧充电科技有限公司 | Charging apparatus, charging method, computer apparatus, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108448532A (en) | A kind of relay zero-crossing control circuit | |
CN202917398U (en) | Self-adjusting zero-crossing control circuit for electromagnetic relay | |
CN107895931A (en) | A kind of no-voltage opens the switch implementation method closed with zero current | |
CN104868586A (en) | Automatic switching power supply circuit for double-way power supply | |
CN104934800A (en) | Intelligent electric shock preventive socket system based on plug identification | |
CN112666494A (en) | Circuit for detecting three-phase mains power failure | |
CN201063054Y (en) | Isolated circuit for detecting power supply phase | |
CN208112209U (en) | Relay zero-crossing control circuit | |
CN201717601U (en) | Power supply failure shunt trip and overvoltage, under-voltage protection miniature circuit breaker | |
CN103326635A (en) | Direct current motor braking circuit | |
CN108766835A (en) | Intelligent switch and its control method | |
CN202975143U (en) | Detection circuit of automatic change-over switch electric appliance | |
CN204992521U (en) | Electric energy meter that single -phase electric energy meter operated a switch control circuit and made with this circuit | |
CN104007688A (en) | Greenhouse actuator controller | |
CN209515563U (en) | Control relay circuit | |
CN103903912A (en) | Synchronous switch and control method thereof | |
CN201188536Y (en) | Protector for over voltage, undervoltage and lack phase of power supply | |
CN208781740U (en) | Relay for alternating-current charging pile and zero-crossing detection arc extinguishing circuit thereof | |
CN105486936B (en) | Uninterrupted power supply with lack zero line detection circuitry | |
CN101867303B (en) | Intelligent electricity-saving device of AC/DC contactor | |
CN208188220U (en) | A kind of novel load detection circuit | |
CN114551155A (en) | Relay protection circuit based on high-precision zero-crossing detection | |
CN203301380U (en) | An AC null line and live wire intelligent identifying and converting circuit | |
CN102645901B (en) | Stand-by circuit | |
CN204030614U (en) | A kind of capacitor switching combination switch |
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 |