CN105227164B - Relay control method and device and induction cooker - Google Patents
Relay control method and device and induction cooker Download PDFInfo
- Publication number
- CN105227164B CN105227164B CN201410251258.9A CN201410251258A CN105227164B CN 105227164 B CN105227164 B CN 105227164B CN 201410251258 A CN201410251258 A CN 201410251258A CN 105227164 B CN105227164 B CN 105227164B
- Authority
- CN
- China
- Prior art keywords
- relay
- turn
- voltage
- delay time
- 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.)
- Active
Links
Images
Landscapes
- Relay Circuits (AREA)
Abstract
The invention discloses a control method of a relay, which comprises the following steps: acquiring mechanical turn-on delay time t11 and mechanical turn-off delay time t21 of the relay; acquiring the turn-on delay time ta and the turn-off delay time tb of the relay according to the zero voltage period T of the power supply grid and the mechanical turn-on delay time T11 and the mechanical turn-off delay time T21 of the relay; when the voltage of the power supply grid is zero, a switching-on control signal is output after a delay of ta to control the switching-on of the relay or a switching-off control signal is output after a delay of tb to control the switching-off of the relay, wherein the voltage values corresponding to the time points of t11+ ta and t21+ tb are all in the voltage zero-crossing range. The control method of the relay can ensure that different relays are switched on and off at zero voltage, not only can prolong the service life of the relay, but also can avoid the interference to a power supply grid and improve the stability of the power supply grid. The invention also discloses a control device of the relay and an induction cooker with the control device of the relay.
Description
Technical Field
The invention relates to the technical field of relays, in particular to a control method of a relay, a control device of the relay and an induction cooker with the control device.
Background
In the process of switching on and off the mechanical relay, certain mechanical delay exists, and the delay time has larger difference. Therefore, in the control process of the relay, the on and off of the relay are difficult to be ensured to be carried out under the zero voltage, and the relay is switched on and off under the higher voltage, so that the service life of the relay is shortened, and the on and off of the relay can generate larger interference on a power grid.
Therefore, improvement in control of on and off of the relay is required.
Disclosure of Invention
The object of the present invention is to solve at least the technical drawbacks mentioned above.
To this end, a first object of the present invention is to propose a method for controlling a relay, which is able to ensure that different relays are switched on and off at zero voltage.
A second object of the present invention is to provide a relay control device. The third purpose of the invention is to provide an induction cooker.
In order to achieve the above object, a method for controlling a relay according to an embodiment of a first aspect of the present invention includes the following steps: acquiring mechanical turn-on delay time t11 and mechanical turn-off delay time t21 of the relay; acquiring the turn-on delay time ta and the turn-off delay time tb of the relay according to a zero voltage period T of a power supply grid and the mechanical turn-on delay time T11 and the mechanical turn-off delay time T21 of the relay; and when the voltage of the power supply grid is zero, outputting a switching-on control signal after delaying the time ta to control the relay to be switched on or outputting a switching-off control signal after delaying the time tb to control the relay to be switched off, wherein the voltage values corresponding to the time points t11+ ta and t21+ tb are both in a voltage zero-crossing range.
According to the control method of the relay, firstly, mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay are obtained, then turn-on delay time ta and turn-off delay time tb of the relay are obtained according to a zero voltage period T of a power supply grid, mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay, and finally when the voltage of the power supply grid is zero, a turn-on control signal is output after the delay of ta so as to control the relay to be turned on at the next voltage zero-crossing after the ta or a turn-off control signal is output after the delay of tb so as to control the relay to be turned off at the next zero-crossing point after the tb. The relay is delayed for time ta when the first voltage passes through zero, a control signal is output at the time, the relay is actually switched on after t11 is delayed, and because the voltage value corresponding to the time point of ta + t11 is within the zero-crossing voltage range, the actual switching-on time of the relay is within the zero-crossing voltage range, and similarly, the switching-off time is within the voltage zero-crossing range, so that the zero-crossing switching-on or switching-off of the relay is realized, the service life of the relay is prolonged, the stability and reliability of a circuit are improved, the interference to a power supply grid can be avoided, and the stability of the power supply grid is improved.
According to an embodiment of the present invention, obtaining the mechanical turn-on delay time t11 of the relay specifically includes: when the opening control signal is output to the relay, controlling a first timer to start timing, and detecting the opening condition of the relay; and when detecting that the relay is completely opened, controlling the first timer to finish timing, wherein the timing time of the first timer is mechanical opening delay time t11 of the relay.
According to an embodiment of the present invention, obtaining the mechanical turn-off delay time t21 of the relay specifically includes: when the turn-off control signal is output to the relay, controlling a second timer to start timing, and detecting the turn-off condition of the relay; and when the relay is detected to be completely turned off, controlling the second timer to finish timing, wherein the timing time of the second timer is the mechanical turn-off delay time t21 of the relay.
Wherein ta is equal to mT-t11, tb is equal to mT-t21, and m is a positive integer. Thus ta + t11 equals mT and tb + t11 equals mT, so that the relay is switched on or off at the zero crossing point, and the loss of the relay can be minimized.
According to an embodiment of the present invention, further comprising: detecting the voltage of the power supply grid, and judging the voltage zero crossing of the power supply grid when the voltage of the power supply grid is less than or equal to a preset voltage, wherein the voltage zero crossing generally refers to a small-interval range of which the voltage is near a zero point.
In order to achieve the above object, a control device for a relay according to an embodiment of a second aspect of the present invention includes: a voltage detection circuit for detecting a voltage of a power supply grid to generate a voltage detection signal; the relay control circuit is used for controlling the relay to be switched on or switched off; and the microprocessor is connected with the voltage detection circuit and the relay control circuit respectively, acquires the turn-on delay time ta and the turn-off delay time tb of the relay according to the zero voltage period T of the power supply grid and the acquired mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay, judges that the voltage of the power supply grid crosses zero according to the voltage detection signal, delays the ta, outputs a turn-on control signal to the relay control circuit to control the turn-on of the relay or delays the tb, and outputs a turn-off control signal to the relay control circuit to control the turn-off of the relay, wherein voltage values corresponding to two time points of T11+ ta and T21+ tb are both in a voltage zero-crossing range.
According to the control device of the relay, the microprocessor acquires the turn-on delay time ta and the turn-off delay time tb of the relay according to the zero voltage period T of the power supply grid and the acquired mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay, and judges the voltage zero crossing of the power supply grid according to the voltage detection signal, the microprocessor outputs a turn-on control signal to the relay control circuit after delaying the time ta so as to control the relay to be turned on when the next voltage after the time ta crosses zero or outputs a turn-off control signal to the relay control circuit after delaying the time tb so as to control the relay to be turned off when the next voltage after the time tb crosses zero. That is, when the first voltage crosses zero, the time is delayed by ta, and at the time, a control signal is output, the relay is actually switched on after t11 is delayed, because the voltage value corresponding to the time point of ta + t11 is in the zero-crossing voltage range, the actual switching-on time of the relay is performed in the zero-crossing voltage range, and similarly, the switching-off time is performed in the voltage zero-crossing range, so that the zero-crossing switching-on or switching-off of the relay is realized, and thus, the switching-on process and the switching-off process of the relay are performed in the zero-crossing voltage range, the service life of the relay can be prolonged, the stability and the reliability of a circuit are improved, the interference to a power supply grid can be.
According to an embodiment of the invention, the relay detection circuit is further included, the relay detection circuit is used for detecting the on condition and the off condition of the relay, and the microprocessor comprises a first timer, the microprocessor controls the first timer to start timing when outputting the on control signal to the relay control circuit, and controls the first timer to finish timing when the relay detection circuit detects that the relay is completely turned on, wherein the timing time of the first timer is mechanical turn-on delay time t11 of the relay.
According to an embodiment of the invention, the microprocessor further comprises a second timer, the microprocessor controls the second timer to start timing when outputting the turn-off control signal to the relay control circuit, and controls the second timer to finish timing when the relay detection circuit detects that the relay is completely turned off, wherein the timing time of the second timer is mechanical turn-off delay time t21 of the relay.
Wherein ta is equal to mT-t11, tb is equal to mT-t21, and m is a positive integer. Thus ta + t11 equals mT and tb + t11 equals mT, so that the relay is switched on or off at the zero crossing point, and the loss of the relay can be minimized.
According to an embodiment of the present invention, when the voltage detection circuit detects that the voltage of the power supply grid is less than or equal to a preset voltage, the microprocessor determines the voltage zero crossing of the power supply grid according to the voltage detection signal.
In addition, the embodiment of the invention also provides an induction cooker which comprises the control device of the relay.
According to the electromagnetic oven provided by the embodiment of the invention, when the control device of the relay controls the relay to be switched on or switched off, the switching-on process and the switching-off process of the relay can be carried out under zero voltage, so that the service life of the relay can be prolonged, the stability and the reliability of a circuit can be improved, the interference to a power supply grid can be avoided, and the stability of the power supply grid can be improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a control method of a relay according to an embodiment of the present invention;
fig. 2A is a schematic diagram of obtaining an on delay time ta or an off delay time tb of a relay according to an embodiment of the present invention; and
fig. 2B is a block diagram illustrating a control apparatus of a relay according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize the applicability of other processes and/or the use of other materials. In addition, the structure of a first feature described below as "on" a second feature may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features are formed between the first and second features, such that the first and second features may not be in direct contact.
In the description of the present invention, it should be noted that, unless otherwise specified and limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, mechanically or electrically connected, or interconnected between two elements, directly or indirectly through an intermediate medium, and the specific meanings of the terms as described above will be understood by those skilled in the art according to the specific situation.
A control method of a relay, a control device of the relay, and an induction cooker having the control device of the relay according to embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a control method of a relay according to an embodiment of the present invention. As shown in fig. 1, the control method of the relay includes the steps of:
and S1, acquiring the mechanical turn-on delay time t11 and the mechanical turn-off delay time t21 of the relay.
According to an embodiment of the present invention, obtaining the mechanical turn-on delay time t11 of the relay specifically includes: when the switching-on control signal is output to the relay, controlling a first timer to start timing, and detecting the switching-on condition of the relay; and when the relay is detected to be completely opened, controlling a first timer to finish timing, wherein the timing time of the first timer is mechanical opening delay time t11 of the relay.
Specifically, the microprocessor starts to work after being electrified, and when the microprocessor outputs a switching-on control signal to the relay, the first timer starts to time; when the relay is detected to be completely opened, an interrupt signal is input into the microprocessor, the microprocessor generates interrupt, the first timer finishes timing, the time from the time when the microprocessor sends an opening control signal to the time when the relay is completely opened, namely the time counted by the first timer is the actual mechanical opening delay time t11 of the relay, and then t11 is stored in the memory.
If a plurality of relays exist in a circuit, such as a circuit of an induction cooker, the mechanical turn-on delay time of each relay is obtained according to the steps, the mechanical turn-on delay times t11, t12, t13, … … and t1n of the relays are stored in a memory, and n is an integer greater than 1.
Similarly, obtaining the mechanical turn-off delay time t21 of the relay specifically includes: when the turn-off control signal is output to the relay, controlling a second timer to start timing, and detecting the turn-off condition of the relay; and when the complete turn-off of the relay is detected, controlling a second timer to finish timing, wherein the timing time of the second timer is the mechanical turn-off delay time t21 of the relay.
Specifically, after the mechanical turn-on delay time t11 of the relay is obtained, the microprocessor outputs a turn-off control signal to the relay, and at the moment, the second timer starts to time; when the relay is detected to be completely switched off, an interrupt signal is input into the microprocessor, the microprocessor generates interrupt, the second timer finishes timing, the time from the time when the microprocessor sends a switching-off control signal to the time when the relay is completely switched off, namely the time counted by the second timer is the actual mechanical switching-off delay time t21 of the relay, and then t21 is stored in the memory.
If a plurality of relays exist in a circuit, such as a circuit of an induction cooker, the mechanical turn-off delay time of each relay is acquired according to the steps, the mechanical turn-off delay times t21, t22, t23, … … and t2n of the relays are stored in a memory, and n is an integer greater than 1.
And S2, acquiring the turn-on delay time ta and the turn-off delay time tb of the relay according to the zero voltage period T of the power supply grid and the mechanical turn-on delay time T11 and the mechanical turn-off delay time T21 of the relay.
And S3, when the voltage of the power supply grid crosses zero, outputting a turn-on control signal after a delay of ta to control the relay to be turned on or outputting a turn-off control signal after a delay of tb to control the relay to be turned off, wherein the voltage values corresponding to the two time points of t11+ ta and t21+ tb are both in the voltage zero-crossing range.
According to an embodiment of the present invention, the method for controlling a relay further includes: and detecting the voltage of the power supply grid, and judging the voltage zero crossing of the power supply grid when the voltage of the power supply grid is less than or equal to a preset voltage. That is, the voltage of the power supply grid may be detected by the voltage detection circuit, and the generated voltage detection signal is sent to the microprocessor, when the voltage detection circuit detects that the voltage of the power supply grid is less than or equal to the preset voltage U0, the microprocessor determines the zero crossing of the voltage of the power supply grid according to the voltage detection signal at this time, and as shown in fig. 2A, the voltage between U0 points on both sides of the voltage near the zero point is considered to be in the zero crossing range.
The zero voltage cycle time of the power supply grid may be defined as T, and according to one embodiment of the invention, the turn-on delay time ta of the relay is recorded as mT-T11, where m is a positive integer. And when m is 1, the opening delay time of the relays is respectively T-T11, T-T12, T-T13, … … and T-T1 n. Similarly, the turn-off delay time tb of the relay is mT-T21, and when m is 1, the turn-on delay times of the relays are T-T21, T-T22, T-T23, … … and T-T2n respectively.
Specifically, as shown in fig. 2A, when the voltage waveform of the power supply grid is an ac waveform, and m is 1, ta is T-T11, so that the turn-on delay time ta of the relay can be obtained as T-T11, when a zero-crossing point is detected, a turn-on control signal is output to the relay after the delay time ta, the relay is actually turned on after being delayed by T11, that is, the relay is turned on at a zero-crossing voltage point at time T; similarly, the turn-off delay time tb of the relay can be obtained as T-T21, when the zero-crossing point is detected, the turn-off control signal is output to the relay after the time is delayed by tb1, and then the relay is actually turned off after the time is delayed by T21, that is, the relay is turned off at the zero-crossing voltage point at the time T. Thus, the actual opening or actual closing of the relay can be ensured to be carried out under zero voltage. If the voltage waveform of the power supply grid is a direct current waveform, the turn-on delay time and the turn-off delay time of the relay can be obtained.
Therefore, the control method of the relay provided by the embodiment of the invention can obtain different mechanical turn-on delay time and mechanical turn-off delay time of each relay in the circuit of the induction cooker, then calculate the turn-on delay time and the turn-off delay time of each relay, and finally ensure that the relay is turned on and off under zero voltage so as to prolong the service life of the relay and improve the stability of a power supply grid.
According to the control method of the relay, firstly, mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay are obtained, then turn-on delay time ta and turn-off delay time tb of the relay are obtained according to a zero voltage period T of a power supply grid, mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay, and finally when the voltage of the power supply grid is zero, a turn-on control signal is output after the delay of ta so as to control the relay to be turned on at the next voltage zero-crossing after the ta or a turn-off control signal is output after the delay of tb so as to control the relay to be turned off at the next zero-crossing point after the tb. The relay is delayed for time ta when the first voltage passes through zero, a control signal is output at the time, the relay is actually switched on after t11 is delayed, and because the voltage value corresponding to the time point of ta + t11 is within the zero-crossing voltage range, the actual switching-on time of the relay is within the zero-crossing voltage range, and similarly, the switching-off time is within the voltage zero-crossing range, so that the zero-crossing switching-on or switching-off of the relay is realized, the service life of the relay is prolonged, the stability and reliability of a circuit are improved, the interference to a power supply grid can be avoided, and the stability of the power supply grid is improved.
Fig. 2B is a block diagram illustrating a control apparatus of a relay according to an embodiment of the present invention. As shown in fig. 2B, the control device of the relay includes a voltage detection circuit 10, a relay control circuit 20, and a microprocessor 30.
The voltage detection circuit 10 is used for detecting the voltage of the power supply grid to generate a voltage detection signal, the relay control circuit 20 is used for controlling the relay 100 to be switched on or switched off, the microprocessor 30 is respectively connected with the voltage detection circuit 10 and the relay control circuit 20, the microprocessor 30 acquires the switching-on delay time ta and the switching-off delay time tb of the relay 100 according to the zero voltage period T of the power supply grid and the acquired mechanical switching-on delay time T11 and mechanical switching-off delay time T21 of the relay 100, and according to the voltage detection signal, when the voltage of the power supply grid is judged to be zero, the microprocessor 30 delays ta and then outputs a turn-on control signal to the relay control circuit 20 to control the relay 100 to be turned on or delays tb and then outputs a turn-off control signal to the relay control circuit 20 to control the relay 100 to be turned off, the voltage values corresponding to the two time points t11+ ta and t21+ tb are both in the voltage zero-crossing range.
According to an embodiment of the present invention, when the voltage detection circuit 10 detects that the voltage of the power supply grid is less than or equal to the preset voltage U0, the microprocessor 30 determines the zero crossing of the voltage of the power supply grid according to the voltage detection signal.
According to an embodiment of the present invention, as shown in fig. 2B, the control device of the relay further includes a relay detection circuit 40, the relay detection circuit 40 is configured to detect an on condition and an off condition of the relay 100, and the microprocessor 30 includes a first timer 301, the microprocessor 30 controls the first timer 301 to start timing when outputting the on control signal to the relay control circuit 20, and the microprocessor 30 controls the first timer 301 to finish timing when the relay detection circuit 40 detects that the relay 100 is completely turned on, wherein the timing time of the first timer 301 is a mechanical on delay time t11 of the relay 100.
And, the microprocessor 30 further includes a second timer 302, and the microprocessor 30 controls the second timer 302 to start timing when outputting the turn-off control signal to the relay control circuit 20, and controls the second timer 302 to finish timing when the relay detection circuit 40 detects that the relay 100 is completely turned off, wherein the timing time of the second timer 302 is the mechanical turn-off delay time t21 of the relay 100.
As shown in fig. 2B, the control apparatus of the relay further includes a memory 50 for storing a mechanical turn-on delay time t11 and a mechanical turn-off delay time t21 of the relay, and if a plurality of relays exist in a circuit, such as a circuit of an induction cooker, the mechanical turn-on delay time of each relay is acquired, and the mechanical turn-on delay times t11, t12, t13, … …, t1n of the plurality of relays are stored in the memory 50, where n is an integer greater than 1. Likewise, the mechanical off delay time of each relay is acquired separately, and the mechanical off delay times t21, t22, t23, … …, t2n of the plurality of relays are stored in the memory 50.
In an embodiment of the present invention, ta is equal to T-T11 and tb is equal to T-T21. Since the memory 50 stores t1n and t2n of each relay, the delay time of turning on or off each relay only needs to be detected once, and ta and tb can be calculated according to the originally stored t1n and t2n when turning on or off the next time, or the ta and tb of each relay can be directly stored.
According to the control device of the relay, the microprocessor acquires the turn-on delay time ta and the turn-off delay time tb of the relay according to the zero voltage period T of the power supply grid and the acquired mechanical turn-on delay time T11 and mechanical turn-off delay time T21 of the relay, and judges the voltage zero crossing of the power supply grid according to the voltage detection signal, the microprocessor outputs a turn-on control signal to the relay control circuit after delaying the time ta so as to control the relay to be turned on when the next voltage after the time ta crosses zero or outputs a turn-off control signal to the relay control circuit after delaying the time tb so as to control the relay to be turned off when the next voltage after the time tb crosses zero. That is, when the first voltage crosses zero, the time is delayed by ta, and at the time, a control signal is output, the relay is actually switched on after t11 is delayed, because the voltage value corresponding to the time point of ta + t11 is in the zero-crossing voltage range, the actual switching-on time of the relay is performed in the zero-crossing voltage range, and similarly, the switching-off time is performed in the voltage zero-crossing range, so that the zero-crossing switching-on or switching-off of the relay is realized, and thus, the switching-on process and the switching-off process of the relay are performed in the zero-crossing voltage range, the service life of the relay can be prolonged, the stability and the reliability of a circuit are improved, the interference to a power supply grid can be.
In addition, the embodiment of the invention also provides an induction cooker which comprises the control device of the relay.
According to the electromagnetic oven provided by the embodiment of the invention, when the control device of the relay controls the relay to be switched on or switched off, the switching-on process and the switching-off process of the relay can be carried out under zero voltage, so that the service life of the relay can be prolonged, the stability and the reliability of a circuit can be improved, the interference to a power supply grid can be avoided, and the stability of the power supply grid can be improved.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (7)
1. A control method of a relay is characterized by comprising the following steps:
acquiring mechanical turn-on delay time t11 of a circuit relay of the induction cooker, and acquiring mechanical turn-off delay time t21 of the relay after acquiring mechanical turn-on delay time t 11;
acquiring the turn-on delay time ta and the turn-off delay time tb of the relay according to a zero voltage period T of a power supply grid and the mechanical turn-on delay time T11 and the mechanical turn-off delay time T21 of the relay;
when the voltage of the power supply grid is zero, outputting a switching-on control signal after delaying the time ta to control the relay to be switched on or outputting a switching-off control signal after delaying the time tb to control the relay to be switched off, wherein the voltage values corresponding to the time points t11+ ta and t21+ tb are both in a voltage zero-crossing range,
the obtaining of the mechanical turn-on delay time t11 of the relay specifically includes:
when the opening control signal is output to the relay, controlling a first timer to start timing, and detecting the opening condition of the relay;
when the relay is detected to be completely opened, controlling the first timer to finish timing, wherein the timing time of the first timer is the mechanical opening delay time t11 of the relay,
the obtaining of the mechanical turn-off delay time t21 of the relay specifically includes:
when the turn-off control signal is output to the relay, controlling a second timer to start timing, and detecting the turn-off condition of the relay;
when the relay is detected to be completely turned off, controlling the second timer to finish timing, wherein the timing time of the second timer is mechanical turn-off delay time t21 of the relay;
when the number of the relays is more than 1, the mechanical turn-on delay time t1n and the mechanical turn-off delay time t2n of each relay are respectively obtained.
2. The control method of the relay according to claim 1, wherein the ta is equal to mT-t11, the tb is equal to mT-t21, and m is a positive integer.
3. The control method of the relay according to claim 1, further comprising:
and detecting the voltage of the power supply grid, and judging the voltage zero crossing of the power supply grid when the voltage of the power supply grid is less than or equal to a preset voltage.
4. A control device of a relay, characterized by comprising:
a voltage detection circuit for detecting a voltage of a power supply grid to generate a voltage detection signal;
the relay control circuit is used for controlling the on or off of a relay in the circuit of the induction cooker;
the microprocessor is respectively connected with the voltage detection circuit and the relay control circuit, the microprocessor acquires mechanical turn-on delay time T11 of the relay firstly according to a zero voltage period T of the power supply grid and then acquires mechanical turn-off delay time T21 to acquire turn-on delay time ta and turn-off delay time tb of the relay, and judges that the voltage of the power supply grid crosses zero according to the voltage detection signal, the microprocessor outputs a turn-on control signal to the relay control circuit after delaying the time ta to control the turn-on of the relay or outputs a turn-off control signal to the relay control circuit after delaying the time tb to control the turn-off of the relay, wherein voltage values corresponding to two time points of T11+ ta and T21+ tb are both in a voltage zero-crossing range,
wherein, the control device of the relay further comprises a relay detection circuit, the relay detection circuit is used for detecting the on condition and the off condition of the relay, and the microprocessor comprises a first timer, the microprocessor controls the first timer to start timing when outputting the on control signal to the relay control circuit, and controls the first timer to finish timing when the relay detection circuit detects that the relay is completely opened, wherein, the timing time of the first timer is the mechanical opening delay time t11 of the relay,
the microprocessor further comprises a second timer, when the microprocessor outputs the turn-off control signal to the relay control circuit, the microprocessor controls the second timer to start timing, and when the relay detection circuit detects that the relay is completely turned off, the microprocessor controls the second timer to finish timing, wherein the timing time of the second timer is mechanical turn-off delay time t21 of the relay;
when the number of the relays is more than 1, the mechanical turn-on delay time t1n and the mechanical turn-off delay time t2n of each relay are respectively obtained.
5. The relay control device according to claim 4, wherein ta is equal to mT-t11, tb is equal to mT-t21, and m is a positive integer.
6. The relay control device according to claim 4, wherein the microprocessor judges a zero crossing of the voltage of the power supply grid based on the voltage detection signal when the voltage detection circuit detects that the voltage of the power supply grid is less than or equal to a preset voltage.
7. An induction hob, characterized in, that it comprises a control device of a relay according to any one of the claims 4-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410251258.9A CN105227164B (en) | 2014-06-06 | 2014-06-06 | Relay control method and device and induction cooker |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410251258.9A CN105227164B (en) | 2014-06-06 | 2014-06-06 | Relay control method and device and induction cooker |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105227164A CN105227164A (en) | 2016-01-06 |
CN105227164B true CN105227164B (en) | 2020-06-30 |
Family
ID=54995910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410251258.9A Active CN105227164B (en) | 2014-06-06 | 2014-06-06 | Relay control method and device and induction cooker |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105227164B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105977074B (en) * | 2016-06-24 | 2019-03-26 | 华立科技股份有限公司 | Arc extinguishing method based on relay |
CN107976573A (en) * | 2017-12-27 | 2018-05-01 | 厦门赛特勒磁电有限公司 | A kind of relay surge voltage current management system |
CN110448168B (en) * | 2019-08-29 | 2021-09-10 | 九阳股份有限公司 | Heating control method of water boiler |
CN110535162B (en) * | 2019-09-23 | 2021-09-03 | 阳光电源(上海)有限公司 | Local load starting control method of energy storage inverter and energy storage inverter |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010055430A3 (en) * | 2008-11-12 | 2010-08-26 | John Barry Leech | Power Supply Control Device and Method |
CN201584953U (en) * | 2008-12-27 | 2010-09-15 | 夏小勇 | Single-phase alternating current contactor consisting of low loss alternating current electronic switch circuit |
CN102510081A (en) * | 2011-09-30 | 2012-06-20 | 深圳市英威腾电气股份有限公司 | Zero-cross control circuit, method and system of photovoltaic network disconnection relay |
CN103326193A (en) * | 2013-06-05 | 2013-09-25 | 哈尔滨工程大学 | Electronic arc suppression power socket |
-
2014
- 2014-06-06 CN CN201410251258.9A patent/CN105227164B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010055430A3 (en) * | 2008-11-12 | 2010-08-26 | John Barry Leech | Power Supply Control Device and Method |
CN201584953U (en) * | 2008-12-27 | 2010-09-15 | 夏小勇 | Single-phase alternating current contactor consisting of low loss alternating current electronic switch circuit |
CN102510081A (en) * | 2011-09-30 | 2012-06-20 | 深圳市英威腾电气股份有限公司 | Zero-cross control circuit, method and system of photovoltaic network disconnection relay |
CN103326193A (en) * | 2013-06-05 | 2013-09-25 | 哈尔滨工程大学 | Electronic arc suppression power socket |
Also Published As
Publication number | Publication date |
---|---|
CN105227164A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105227164B (en) | Relay control method and device and induction cooker | |
JP5344056B2 (en) | Switching element drive circuit | |
CN105992419B (en) | Electromagnetic heating system and zero-crossing switching-on detection method and device of switching tube of electromagnetic heating system | |
MX2018012626A (en) | Switch actuation measurement circuit for voltage converter. | |
KR101778694B1 (en) | High-frequency heating device and method and apparatus for controlling power supply of the same | |
US20130286528A1 (en) | Electrical relay control arrangement for switching an electrical relay at zero crossing of an ac mains supply | |
RU2018126049A (en) | A control circuit and a method for controlling a resonant converter and an inverting power amplifier comprising a resonant converter and a control circuit | |
US10237925B2 (en) | Cooking appliance | |
US10298007B2 (en) | Digital power supply protection circuit, and apparatus | |
WO2018150876A1 (en) | Arc detection circuit, switch system, power conditioner system and arc detection method | |
US8779338B2 (en) | Method and apparatus for controlling a cooking device, in particular an induction hob | |
US9754744B2 (en) | Self-learning relay turn-off control system and method | |
US20180212520A1 (en) | Direct flux control power converter | |
CN107087321B (en) | Method for adjusting hard turn-on voltage of IGBT and induction cooker | |
JP5515800B2 (en) | Switching control device | |
CN105528007A (en) | Power control device and method of disinfection cabinet and disinfection cabinet | |
CN106470000B (en) | Motor drive | |
CN108419318B (en) | Electromagnetic heating device, electromagnetic heating system and control method thereof | |
US10205392B1 (en) | Control system for transitioning a DC-DC voltage converter from a buck operational mode to a safe operational mode utilizing a task deadline monitoring application | |
KR20100092955A (en) | Method and device for operating an electric drive with the aid of a phase angle control | |
JP6689025B2 (en) | Conflict avoidance control device for PWM output and AD conversion, conflict avoidance control method, and power control system | |
JP3781581B2 (en) | Relay drive device | |
US10277153B2 (en) | Phase control of an induction motor | |
KR20220104215A (en) | Voltage detection and adaptation method, device control method, apparatus, and storage medium | |
EP2538143A1 (en) | A method for controlling a heating-up period of an oven |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |