CN109900954A - Electromagnetic heating system and its voltage sampling method, device - Google Patents
Electromagnetic heating system and its voltage sampling method, device Download PDFInfo
- Publication number
- CN109900954A CN109900954A CN201711310082.XA CN201711310082A CN109900954A CN 109900954 A CN109900954 A CN 109900954A CN 201711310082 A CN201711310082 A CN 201711310082A CN 109900954 A CN109900954 A CN 109900954A
- Authority
- CN
- China
- Prior art keywords
- zero cross
- cross signal
- electricity
- input
- electromagnetic heating
- 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
Abstract
The invention discloses a kind of electromagnetic heating system and its voltage sampling methods, device, wherein, voltage sampling method is the following steps are included: by carrying out zero passage detection to input AC electricity to obtain zero cross signal, pulse width and the burst length of zero cross signal are obtained according to zero cross signal, the frequency that input AC electricity is obtained according to the burst length obtains the voltage AD value of input AC electricity according to the frequency of input AC electricity and pulse width.Pulse width and burst length of this method by detection input AC electricity zero cross signal, can obtain the voltage AD value of input AC electricity, voltage AD sampling apparatus is specially equipped with without electromagnetic heating system, can save cost and the space of electromagnetic heating system.
Description
Technical field
The present invention relates to technical field of electric appliances, in particular to a kind of voltage sampling method of electromagnetic heating system, Yi Zhongfei
The voltage sampling apparatus and a kind of electromagnetic heating system of provisional computer readable storage medium, a kind of electromagnetic heating system.
Background technique
In the power control of electromagnetic heating system, need to sample present input voltage, and pass through voltage AD (Analog-
To-digital simulates parameter word) value and electric current AD value control electromagnetic heating system and realize according to power=voltage X electric current
Firm power output, and corresponding high pressure, low-voltage variation are carried out by voltage AD value simultaneously.Such as when voltage AD value is more than pre-
If high pressure limit value when, stop power output, and issue the warning of corresponding high pressure.
Conventional electromagnetic heating system, the general AD sample port by main control chip carry out voltage AD sampling.However,
Some applications, are limited to resources of chip, some main control chips do not have AD function, for the electromagnetic heating system using this kind of chip
System cannot then obtain the voltage AD value of alternating current.
Summary of the invention
The present invention is directed to solve one of the technical problem in above-mentioned technology at least to a certain extent.For this purpose, of the invention
First purpose is to propose a kind of voltage sampling method of electromagnetic heating system, and this method passes through detection input AC electricity zero passage
The pulse width of signal and burst length can obtain the voltage AD value of input AC electricity, specially match without electromagnetic heating system
Standby voltage AD sampling apparatus, can save cost and the space of electromagnetic heating system.
Second object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
Third object of the present invention is to propose a kind of voltage sampling apparatus of electromagnetic heating system.
Fourth object of the present invention is to propose a kind of electromagnetic heating system.
In order to achieve the above objectives, first aspect present invention embodiment proposes a kind of voltage sample side of electromagnetic heating system
Method, comprising the following steps: by carrying out zero passage detection to input AC electricity to obtain zero cross signal;It is obtained according to the zero cross signal
Take pulse width and the burst length of the zero cross signal;The frequency of the input AC electricity is obtained according to the burst length;
The voltage AD value of the input AC electricity is obtained according to the frequency of the input AC electricity and the pulse width.
The voltage sampling method of electromagnetic heating system according to an embodiment of the present invention, by carrying out zero passage to input AC electricity
Detection obtains pulse width and the burst length of zero cross signal further according to zero cross signal, then according to arteries and veins to obtain zero cross signal
The frequency that the time obtains the input AC electricity is rushed, input AC is finally obtained according to the frequency of input AC electricity and pulse width
The voltage AD value of electricity.Pulse width and burst length of this method by detection input AC electricity zero cross signal as a result, can obtain
The voltage AD value for taking input AC electricity, voltage AD sampling apparatus is specially equipped with without electromagnetic heating system, can be saved electromagnetism and be added
The cost of hot systems and space.
In addition, the voltage sampling method of the electromagnetic heating system proposed according to that above embodiment of the present invention can also have as
Under additional technical characteristic:
According to one embodiment of present invention, the pulse width that the zero cross signal is obtained according to the zero cross signal
And the burst length, comprising: when the rising edge of the zero cross signal arrives, start the clocking capability of timer;In the zero passage
When the failing edge of signal arrives, the timing time of the timer is obtained using the pulse width as the zero cross signal;Institute
When stating the rising edge of zero cross signal and arriving again, the timing time of the timer is obtained using the pulse as the zero cross signal
Time, and the timer is reset.
According to one embodiment of present invention, the frequency that the input AC electricity is obtained according to the burst length,
It include: to judge whether the burst length is greater than the first preset value;If the burst length is greater than first preset value,
Judge the frequency of the input AC electricity for 50Hz;If the burst length is less than or equal to first preset value, judge
The frequency of the input AC electricity is 60Hz.
According to one embodiment of present invention, first preset value is 9.1ms.
According to one embodiment of present invention, above-mentioned method further include: obtain the preceding pulsatile once of the zero cross signal
Width;Postpone half time of the preceding pulsatile once width when the rising edge of the zero cross signal arrives, using as
The currently practical zero crossing of the input AC electricity.
In order to achieve the above objectives, second aspect of the present invention embodiment proposes a kind of non-transitory computer-readable storage medium
Matter is stored thereon with computer program, and electricity described in first aspect present invention embodiment is realized when which is executed by processor
The voltage sampling method of magnetic heating system.
The non-transitorycomputer readable storage medium of the embodiment of the present invention, by carrying out zero passage detection to input AC electricity
To obtain zero cross signal, further according to zero cross signal obtain zero cross signal pulse width and the burst length, then according to pulse when
Between obtain the frequency of the input AC electricity, input AC electricity is finally obtained according to the frequency of input AC electricity and pulse width
Voltage AD value is equipped with voltage AD sampling apparatus without special, can save cost and space.
In order to achieve the above objectives, third aspect present invention embodiment proposes a kind of voltage sample dress of electromagnetic heating system
It sets, comprising: zero cross signal obtains module, for by carrying out zero passage detection to input AC electricity to obtain zero cross signal;Zero passage
Signal processing module, for obtaining pulse width and the burst length of the zero cross signal according to the zero cross signal, and according to
The burst length obtains the frequency of the input AC electricity;Voltage obtains module, for the frequency according to the input AC electricity
Rate and the pulse width obtain the voltage AD value of the input AC electricity.
The voltage sampling apparatus of electromagnetic heating system according to an embodiment of the present invention obtains module to defeated by zero cross signal
Enter alternating current and carry out zero passage detection to obtain zero cross signal, zero cross signal processing module obtains zero cross signal according to zero cross signal
Pulse width and burst length, and the frequency and voltage acquisition module that obtain input AC electricity according to the burst length are according to defeated
The frequency and pulse width that enter alternating current obtain the voltage AD value of input AC electricity.The device passes through detection input AC as a result,
The pulse width of electric zero cross signal and burst length can obtain the voltage AD value of input AC electricity, be not necessarily to electromagnetic heating system
It is special to be equipped with voltage AD sampling apparatus, cost and the space of electromagnetic heating system can be saved.
In addition, the voltage sampling apparatus of the electromagnetic heating system proposed according to that above embodiment of the present invention can also have as
Under additional technical characteristic:
According to one embodiment of present invention, the zero cross signal processing module is further used for, in the zero cross signal
Rising edge arrive when, start the clocking capability of timer;When the failing edge of the zero cross signal arrives, the timing is obtained
The timing time of device is using the pulse width as the zero cross signal;When the rising edge of the zero cross signal arrives again, obtain
It takes the timing time of the timer using the burst length as the zero cross signal, and the timer is reset.
According to one embodiment of present invention, the zero cross signal processing module is further used for, and judges the pulse
Whether the time is greater than the first preset value;If the burst length is greater than first preset value, the input AC is judged
The frequency of electricity is 50Hz;If the burst length is less than or equal to first preset value, the input AC electricity is judged
Frequency is 60Hz.
According to one embodiment of present invention, first preset value is 9.1ms.
According to one embodiment of present invention, above-mentioned device further includes that zero crossing obtains module, for obtaining the mistake
The preceding pulsatile once width of zero-signal, and postpone the preceding pulsatile once width when the rising edge of the zero cross signal arrives
The half time, using the currently practical zero crossing as the input AC electricity.
In order to achieve the above objectives, fourth aspect present invention embodiment proposes a kind of electromagnetic heating system, including the present invention
The voltage sampling apparatus of electromagnetic heating system described in third aspect embodiment.
The electromagnetic heating system of the embodiment of the present invention passes through detection input AC electricity by above-mentioned electromagnetic heating system
The pulse width of zero cross signal and burst length can obtain the voltage AD value of input AC electricity, be equipped with voltage AD without special
Sampling apparatus can save cost and space.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein
Fig. 1 is the flow chart of the voltage sampling method of electromagnetic heating system according to an embodiment of the invention;
Fig. 2 is the flow chart of the voltage sampling method of electromagnetic heating system in accordance with another embodiment of the present invention;
Fig. 3 is the schematic diagram of electromagnetic heating system according to an embodiment of the invention;
Fig. 4 a is the schematic diagram of zero cross signal under high-voltage case according to an embodiment of the invention;
Fig. 4 b is the schematic diagram of zero cross signal in the case of normal voltage according to an embodiment of the invention;
Fig. 4 c is the schematic diagram of zero cross signal under low voltage condition according to an embodiment of the invention;
Fig. 5 is the flow chart of the voltage sampling method of the electromagnetic heating system of another embodiment according to the present invention;And
Fig. 6 is the block diagram of the voltage sampling apparatus of electromagnetic heating system according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
With reference to the accompanying drawing come describe the embodiment of the present invention electromagnetic heating system voltage sampling method, non-transitory meter
The voltage sampling apparatus and electromagnetic heating system of calculation machine readable storage medium storing program for executing, electromagnetic heating system.
Fig. 1 is the flow chart of the voltage sampling method of electromagnetic heating system according to an embodiment of the invention.Such as Fig. 1 institute
Show, the voltage sampling method of the electromagnetic heating system the following steps are included:
S1, by carrying out zero passage detection to input AC electricity to obtain zero cross signal.
S2 obtains the pulse width T1 and burst length T2 of zero cross signal according to zero cross signal.
Further, as shown in Fig. 2, obtaining the pulse width T1 and burst length T2 of zero cross signal according to zero cross signal,
Include:
S201 starts the clocking capability of timer when the rising edge of zero cross signal arrives.
S202 obtains the timing time of timer using the arteries and veins as zero cross signal when the failing edge of zero cross signal arrives
Rush width T1;
S203 obtains the timing time of timer using as zero cross signal when the rising edge of zero cross signal arrives again
Burst length T2, and timer is reset.
S3 obtains the frequency f of input AC electricity according to burst length T2.
Further, as shown in Fig. 2, obtaining the frequency f of input AC electricity according to burst length T2, comprising:
S301, judges whether burst length T2 is greater than the first preset value.
S302 judges the frequency f of input AC electricity for 50Hz if burst length T2 is greater than the first preset value.
S303 judges the frequency f of input AC electricity for 60Hz if burst length T2 is less than or equal to the first preset value.
Wherein, in an embodiment of the present invention, the first preset value can be 9.1ms.
S4 obtains the voltage AD value of input AC electricity according to the frequency f of input AC electricity and pulse width T1.
Specifically, as shown in figure 3, electromagnetic heating system may include Switching Power Supply, zero cross detection circuit main control chip
The input terminal of IC1, zero cross detection circuit are electrically connected by rectification circuit and input AC, the output end of zero cross detection circuit and master
The port ZERO for controlling chip IC 1 is connected, and rectification circuit includes N representative input in first diode D1 and the second diode D2, Fig. 3
The zero curve of alternating current, L represent the firewire of input AC electricity, and VCC is default power supply.Zero cross detection circuit may include first to
Five resistance R1-R5, first capacitor C1, comparator CMP, specific connection type is as shown in figure 3, details are not described herein again.Comparator CMP
Zero cross signal is exported to main control chip IC1.Wherein, as depicted in figure 4 a-4 c, the voltage of input AC electricity is different, and comparator CMP is defeated
The zero cross signal of zero cross signal is also different out, wherein in the case of Fig. 4 a is high voltage according to an embodiment of the invention (V1)
The schematic diagram of zero cross signal;Fig. 4 b is the signal of (V2) zero cross signal in the case of normal voltage according to an embodiment of the invention
Figure;Fig. 4 c is the schematic diagram of zero cross signal in the case of low-voltage according to an embodiment of the invention (V3).V1 > V2 > V3, root
According to Fig. 4 a-4c it is found that the pulse width T1 of zero cross signal is related with the voltage of input AC electricity, the voltage of input AC electricity is got over
Greatly, pulse width T1 is smaller.So the voltage AD value of input AC electricity can be obtained according to pulse width T1.And pulse width
T1 is also related with the frequency f of input AC electricity, so, it can be obtained according to the frequency f of pulse width T1 and input AC electricity defeated
Enter the voltage AD value of alternating current.And the frequency f of input AC electricity is related with burst length T2, it therefore, can be by obtaining zero passage
The pulse width T1 and burst length T2 of signal obtain the voltage AD value of current input AC electricity, nothing according to preset tables of data
It needs electromagnetic heating system to be specially equipped with voltage AD sampling apparatus, cost and the space of electromagnetic heating system can be saved.
The pulse width T1 and burst length T2 of zero cross signal how are obtained below with reference to the description of specific example.
Specifically, it is interrupt function that port ZERO, which is arranged, in main control chip IC1, and rising edge is effective, and rising edge of a pulse triggered
Zero interrupt routine.In interrupt routine, when the rising edge of zero cross signal arrives, start the clocking capability of timer, starting is interrupted
It is effective to be set as failing edge for function;Pulse falling edge triggers zero passage interrupt routine, obtains timer timing time and believes as zero passage
Number pulse width T1, start interrupt function, it is effective to be set as rising edge;Rising edge of a pulse triggers zero passage interrupt routine, obtains
Burst length T2 of the timer timing time as zero cross signal, and by counter O reset, start interrupt function, is set as declining
Along effectively.
After the pulse width T1 and burst length T2 for obtaining zero cross signal, first judge whether burst length T2 is greater than
9.1ms judges the frequency f of input AC electricity for 50Hz if T2 > 9.1ms;If T2≤9.1ms, judge that input is handed over
The frequency f of galvanic electricity is 60Hz.After the frequency f for determining input AC electricity, current input can be obtained according to preset tables of data
The voltage AD value of alternating current, wherein preset tables of data can be obtained by related experiment, and be pre-stored in main control chip IC1.
The voltage AD value of current input AC electricity how is obtained below with reference to the description of specific example.
As shown in figure 3, ignoring the influence of the second capacitor C2, A point instantaneous voltage is Vz, then available following formula (1):
Vz=[Um*R3/ (R3+R4)] * sin (ω t+ ψ) (1)
Wherein, Vz is the instantaneous voltage of A point, and ω is angular frequency, and ψ is initial phase, and Um is voltage max, and t is the time.
ω=2 π/T=2 π f again, wherein T is the period of input AC electricity, and f is the frequency of input AC electricity.For convenience
It calculates, sets ψ=0, then following formula (2) can be obtained:
Vz=[Um*R3/ (R3+R4)] * sin (2* π * f*t) (2)
If f=50Hz, there are following formula (3):
Vz=[Um*R3/ (R3+R4)] * sin (100* π * t) (3)
If f=60Hz, there are following formula (4):
Vz=[Um*R3/ (R3+R4)] * sin (120* π * t) (4)
For example, if f=50Hz,
When t=0: Vz=[Um*R3/ (R3+R4)] * sin (0)=0;
When t=5ms: Vz=[Um*R3/ (R3+R4)] * sin (100 π * 0.005)
=[Um*R3/ (R3+R4)] * sin (pi/2)
=Um*R3/ (R3+R4);
When t=10ms: Vz=[Um*R3/ (R3+R4)] * sin (π)=0.
When the level of input terminal differs 0.01V, comparator CMP output switching activity.For convenience of calculating, it is assumed that Vz=Vref
When, comparator CMP output switching activity, if Vz=Vref, comparator CMP output switching activity can obtain following formula (5) at the t1 moment:
[Um*R3/ (R3+R4)] * sin (2 π * f*t1)=Vref (5)
In formula (5), it is known that under difference Um state, t1 value is different (only to consider t1 from zero point to wave crest by Vref, R3, R4, f
Period, i.e. 0≤t1≤5ms (50Hz), 0≤t1≤4.166ms (60Hz).
Also, in conjunction with Fig. 4 a-4c it is found that T1=2*t1, cycle T 2=T/2.Wherein, T is the period of input AC electricity, f
When=50Hz, T=20ms;When f=60Hz, T=16.66ms.
It is obtained by above-mentioned, under different voltages state, T1 follows the variation of Um, and under different frequency state, T1 follows Um to change
It is different.Therefore, by relevant experiment, the relationship of the voltage AD value of pulse width T1 and alternating current can be tested out in advance, and
It is pre-stored in main control chip IC1.
For example, inventor measures through related experiment, when the frequency f of input AC electricity be 50Hz when, can by with
The voltage AD value of the following table 1 acquisition input AC electricity.
Line voltage | Pulse width |
150V | 7.8ms |
180V | 7.06ms |
200V | 5.1ms |
220V | 4.58ms |
240V | 4.08ms |
260V | 3.64ms |
Table 1
Certainly, when the frequency f that input AC electricity can also be measured by related experiment is 60Hz, the voltage AD of input AC electricity
The relationship of value and pulse width T1.
In order to reduce switching loss and stress, main control chip IC1 needs to be switched on or off electromagnetic heating in voltage over zero
System, while in voltage zero-cross, (Programmable Pulse Generator, may be programmed pulse wave to the PPG that timely updates
Device) value output, to reduce electromagnetic noise.For this purpose, in an embodiment of the present invention, as shown in figure 5, above-mentioned electromagnetic heating system
Voltage sampling method can also include:
S5 obtains the preceding pulsatile once width T1 of zero cross signal.
S6 postpones half time of previous subpulse width T1 when the rising edge of zero cross signal arrives, using as
The currently practical zero crossing of input AC electricity.
That is, as depicted in figure 4 a-4 c, can determine input AC according to the preceding pulsatile once width T1 of zero cross signal
The currently practical zero crossing of electricity postpones the previous subpulse width T1/2 time when the rising edge of zero cross signal arrives, as defeated
Enter the currently practical zero crossing of alternating current.
In conclusion the voltage sampling method of electromagnetic heating system according to an embodiment of the present invention, by input AC
Electricity carries out zero passage detection to obtain zero cross signal, and pulse width and the burst length of zero cross signal are obtained further according to zero cross signal,
Then the frequency that the input AC electricity is obtained according to the burst length, is finally obtained according to the frequency of input AC electricity and pulse width
Take the voltage AD value of input AC electricity.Pulse width and pulse that this method passes through detection input AC electricity zero cross signal as a result,
Time can obtain the voltage AD value of input AC electricity, voltage AD sampling apparatus is specially equipped with without electromagnetic heating system, can be with
Save cost and the space of electromagnetic heating system.
In addition, the present invention also proposes a kind of non-transitorycomputer readable storage medium, it is stored thereon with computer program,
The program realizes the voltage sampling method of above-mentioned electromagnetic heating system when being executed by processor.
The non-transitorycomputer readable storage medium of the embodiment of the present invention, by carrying out zero passage detection to input AC electricity
To obtain zero cross signal, further according to zero cross signal obtain zero cross signal pulse width and the burst length, then according to pulse when
Between obtain the frequency of the input AC electricity, input AC electricity is finally obtained according to the frequency of input AC electricity and pulse width
Voltage AD value is equipped with voltage AD sampling apparatus without special, can save cost and space.
Fig. 6 is the block diagram of the voltage sampling apparatus of electromagnetic heating system according to an embodiment of the invention.Such as
Shown in Fig. 6, which includes: that zero cross signal obtains module 10, zero cross signal processing module 20 and voltage acquisition module 30.
Wherein, zero cross signal obtains module 10 and is used for by carrying out zero passage detection to input AC electricity to obtain zero passage letter
Number.Zero cross signal processing module 20 is used to obtain the pulse width T1 and burst length T2 of zero cross signal according to zero cross signal, and
The frequency f of input AC electricity is obtained according to burst length T2.Voltage obtain module 30 be used for according to the frequency f of input AC electricity with
The voltage AD value of pulse width t1 acquisition input AC electricity.
Specifically, as shown in figure 3, electromagnetic heating system may include zero cross detection circuit, the input of zero cross detection circuit
End is electrically connected by rectification circuit and input AC, the port ZERO phase of the output end and main control chip IC1 of zero cross detection circuit
Even, rectification circuit includes the zero curve that N represents input AC electricity in first diode D1 and the second diode D2, Fig. 3, and L represents defeated
Enter the firewire of alternating current.Zero cross detection circuit may include the first to the 5th resistance R1-R5, first capacitor C1, the second capacitor C2,
Comparator CMP, specific connection type is as shown in figure 3, details are not described herein again.Comparator CMP exports zero cross signal to main control chip
IC1.As depicted in figure 4 a-4 c, the voltage of input AC electricity is different, and the zero cross signal that comparator CMP exports zero cross signal is also different,
Wherein, Fig. 4 a is the schematic diagram of zero cross signal under high-voltage case according to an embodiment of the invention;Fig. 4 b is according to this hair
The schematic diagram of zero cross signal in the case of the normal voltage of bright one embodiment;Fig. 4 c is low electricity according to an embodiment of the invention
The schematic diagram of zero cross signal in the case of pressure.According to Fig. 4 a-4c it is found that the electricity of the pulse width T1 of zero cross signal and input AC electricity
It is pressed with pass, the voltage of input AC electricity is bigger, and pulse width T1 is smaller.It is handed over so input can be obtained according to pulse width T1
The voltage AD value of galvanic electricity.And pulse width T1 is also related with the frequency f of input AC electricity, so, it can be according to pulse width T1
The voltage AD value of input AC electricity is obtained with the frequency f of input AC electricity.And the frequency f and burst length T2 of input AC electricity have
It closes, therefore, module 10 can be obtained by zero cross signal, zero passage detection is carried out to obtain zero cross signal to input AC electricity, passed through
Zero cross signal processing module 20 obtains the pulse width T1 and burst length T2 of zero cross signal, and defeated according to burst length T2 acquisition
The frequency f for entering alternating current obtains the voltage AD of current input AC electricity by voltage acquisition module 30 according to preset tables of data
Value, voltage AD sampling apparatus is specially equipped with without electromagnetic heating system, can save cost and the space of electromagnetic heating system.
The pulse width T1 and burst length T2 of zero cross signal how are obtained below with reference to the description of specific example.
According to one embodiment of present invention, zero cross signal processing module 20 is further used for, in the rising of zero cross signal
Along when arriving, start the clocking capability of timer;Zero cross signal failing edge arrive when, obtain the timing time of timer with
Pulse width T1 as zero cross signal;When the rising edge of zero cross signal arrives again, obtain the timing time of timer with
As the burst length T2 of zero cross signal, and timer is reset.
Specifically, zero cross signal processing module 20 starts the timing function of timer when the rising edge of zero cross signal arrives
Can, start interrupt function, it is effective to be set as failing edge;Pulse falling edge triggers zero passage interrupt routine, zero cross signal processing module
20 obtain pulse width T1 of the timer timing time as zero cross signal, start interrupt function, it is effective to be set as rising edge;Arteries and veins
Rising edge triggering zero passage interrupt routine is rushed, zero cross signal processing module 20 obtains arteries and veins of the timer timing time as zero cross signal
Time T2 is rushed, and by counter O reset, starts interrupt function, it is effective to be set as failing edge.
According to one embodiment of present invention, zero cross signal processing module 20 is further used for, and judges burst length T2
Whether the first preset value is greater than;If burst length T2 is greater than the first preset value, judge the frequency of input AC electricity for 50Hz;
If burst length T2 is less than or equal to the first preset value, judge the frequency of input AC electricity for 60Hz.Wherein, of the invention
In embodiment, the first preset value can be 9.1ms.
Specifically, after the pulse width T1 and burst length T2 that zero cross signal processing module 20 obtains zero cross signal, first
Judge whether burst length T2 is greater than 9.1ms, if T2 > 9.1ms, zero cross signal processing module 20 judge into alternating current
Frequency f is 50Hz;If T2≤9.1ms, zero cross signal processing module 20 judges the frequency f of input AC electricity for 60Hz.?
After the frequency f for determining input AC electricity, voltage obtains module 30 can obtain current input AC electricity according to preset tables of data
Voltage AD value, wherein preset tables of data can be obtained by related experiment, and be prestored.
The voltage AD value of current input AC electricity how is obtained below with reference to the description of specific example.
As shown in figure 3, ignoring the influence of the second capacitor C2, A point instantaneous voltage is Vz, then available following formula (1):
Vz=[Um*R3/ (R3+R4)] * sin (ω t+ ψ) (1)
Wherein, Vz is the instantaneous voltage of A point, and ω is angular frequency, and ψ is initial phase, and Um is voltage max, and t is the time.
ω=2 π/T=2 π f again, wherein T is the period of input AC electricity, and f is the frequency of input AC electricity.For convenience
It calculates, sets ψ=0, then following formula (2) can be obtained:
Vz=[Um*R3/ (R3+R4)] * sin (2* π * f*t) (2)
If f=50Hz, there are following formula (3):
Vz=[Um*R3/ (R3+R4)] * sin (100* π * t) (3)
If f=60Hz, there are following formula (4):
Vz=[Um*R3/ (R3+R4)] * sin (120* π * t) (4)
For example, if f=50Hz,
When t=0: Vz=[Um*R3/ (R3+R4)] * sin (0)=0;
When t=5ms: Vz=[Um*R3/ (R3+R4)] * sin (100 π * 0.005)
=[Um*R3/ (R3+R4)] * sin (pi/2)
=Um*R3/ (R3+R4);
When t=10ms: Vz=[Um*R3/ (R3+R4)] * sin (π)=0.
When the level of input terminal differs 0.01V, comparator CMP output switching activity.For convenience of calculating, it is assumed that Vz=Vref
When, comparator CMP output switching activity, if Vz=Vref, comparator CMP output switching activity can obtain following formula (5) at the t1 moment:
[Um*R3/ (R3+R4)] * sin (2 π * f*t1)=Vref (5)
In formula (5), it is known that under difference Um state, t1 value is different (only to consider t1 from zero point to wave crest by Vref, R3, R4, f
Period, i.e. 0≤t1≤5ms (50Hz), 0≤t1≤4.166ms (60Hz).
Also, in conjunction with Fig. 4 a-4c it is found that T1=2*t1, cycle T 2=T/2.Wherein, T is the period of input AC electricity, f
When=50Hz, T=20ms;When f=60Hz, T=16.66ms.
It is obtained by above-mentioned, under different voltages state, T1 follows the variation of Um, and under different frequency state, T1 follows Um to change
It is different.Therefore, by relevant experiment, the relationship of the voltage AD value of pulse width T1 and alternating current can be tested out in advance, and
It is prestored.
For example, inventor measures through related experiment, when the frequency f of input AC electricity be 50Hz when, can by with
The voltage AD value of the following table 1 acquisition input AC electricity.
Line voltage | Pulse width |
150V | 7.8ms |
180V | 7.06ms |
200V | 5.1ms |
220V | 4.58ms |
240V | 4.08ms |
260V | 3.64ms |
Table 1
Certainly, when the frequency f that input AC electricity can also be measured by related experiment is 60Hz, the voltage AD of input AC electricity
The relationship of value and pulse width T1.
In order to reduce switching loss and stress, main control chip IC1 needs to be switched on or off electromagnetic heating in voltage over zero
System, while in voltage zero-cross, the PPG value that timely updates output, to reduce electromagnetic noise.For this purpose, in an embodiment of the present invention,
The voltage sampling apparatus of above-mentioned electromagnetic heating system can also include that zero crossing obtains module, before obtaining zero cross signal
Pulsatile once width T1, and postpone half time of previous subpulse width T1 when the rising edge of zero cross signal arrives,
Using the currently practical zero crossing as input AC electricity.
That is, as depicted in figure 4 a-4 c, zero crossing obtains module can be according to the preceding pulsatile once width of zero cross signal
T1 determines the currently practical zero crossing of input AC electricity, postpones previous subpulse width when the rising edge of zero cross signal arrives
The currently practical zero crossing of T1/2 time, as input AC electricity.
In conclusion the voltage sampling apparatus of electromagnetic heating system according to an embodiment of the present invention, is obtained by zero cross signal
Modulus block carries out zero passage detection to input AC electricity to obtain zero cross signal, and zero cross signal processing module is obtained according to zero cross signal
The pulse width of zero cross signal and burst length, and obtained according to the frequency and voltage of burst length acquisition input AC electricity
Module obtains the voltage AD value of input AC electricity according to the frequency and pulse width of input AC electricity.The device passes through inspection as a result,
In pulse width and the burst length for surveying input AC electricity zero cross signal, the voltage AD value of input AC electricity can be obtained, without electricity
Magnetic heating system is specially equipped with voltage AD sampling apparatus, can save cost and the space of electromagnetic heating system.
In addition, the embodiment of the present invention also proposes a kind of electromagnetic heating system, the electricity including above-mentioned electromagnetic heating system
Press sampling apparatus.
The electromagnetic heating system of the embodiment of the present invention passes through detection input AC electricity by above-mentioned electromagnetic heating system
The pulse width of zero cross signal and burst length can obtain the voltage AD value of input AC electricity, be equipped with voltage AD without special
Sampling apparatus can save cost and space.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time
The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on the figure or
Positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must
There must be specific orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include one or more of the features.In the description of the present invention, the meaning of " plurality " is two or more,
Unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary
The interaction relationship of the connection in portion or two elements.It for the ordinary skill in the art, can be according to specific feelings
Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with
It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below "
One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (12)
1. a kind of voltage sampling method of electromagnetic heating system, which comprises the following steps:
By carrying out zero passage detection to input AC electricity to obtain zero cross signal;
Pulse width and the burst length of the zero cross signal are obtained according to the zero cross signal;
The frequency of the input AC electricity is obtained according to the burst length;
The voltage AD value of the input AC electricity is obtained according to the frequency of the input AC electricity and the pulse width.
2. the voltage sampling method of electromagnetic heating system as described in claim 1, which is characterized in that described according to the zero passage
The pulse width of zero cross signal described in signal acquisition and burst length, comprising:
When the rising edge of the zero cross signal arrives, start the clocking capability of timer;
When the failing edge of the zero cross signal arrives, the timing time of the timer is obtained using as the zero cross signal
Pulse width;
When the rising edge of the zero cross signal arrives again, the timing time of the timer is obtained to believe as the zero passage
Number burst length, and the timer is reset.
3. the voltage sampling method of electromagnetic heating system as claimed in claim 1 or 2, which is characterized in that described according to
Burst length obtains the frequency of the input AC electricity, comprising:
Judge whether the burst length is greater than the first preset value;
If the burst length is greater than first preset value, judge the frequency of the input AC electricity for 50Hz;
If the burst length is less than or equal to first preset value, judge the frequency of the input AC electricity for 60Hz.
4. the voltage sampling method of electromagnetic heating system as claimed in claim 3, which is characterized in that first preset value is
9.1ms。
5. the voltage sampling method of electromagnetic heating system as described in claim 1, which is characterized in that further include:
Obtain the preceding pulsatile once width of the zero cross signal;
Postpone half time of the preceding pulsatile once width when the rising edge of the zero cross signal arrives, using as institute
State the currently practical zero crossing of input AC electricity.
6. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program quilt
Processor realizes the voltage sampling method of electromagnetic heating system according to any one of claims 1 to 5 when executing.
7. a kind of voltage sampling apparatus of electromagnetic heating system characterized by comprising
Zero cross signal obtains module, for by carrying out zero passage detection to input AC electricity to obtain zero cross signal;
Zero cross signal processing module, when for obtaining the pulse width and pulse of the zero cross signal according to the zero cross signal
Between, and obtain according to the burst length frequency of the input AC electricity;
Voltage obtains module, for obtaining the input AC electricity according to the frequency of the input AC electricity and the pulse width
Voltage AD value.
8. the voltage sampling apparatus of electromagnetic heating system as claimed in claim 7, which is characterized in that the zero cross signal processing
Module is further used for,
When the rising edge of the zero cross signal arrives, start the clocking capability of timer;
When the failing edge of the zero cross signal arrives, the timing time of the timer is obtained using as the zero cross signal
Pulse width;
When the rising edge of the zero cross signal arrives again, the timing time of the timer is obtained to believe as the zero passage
Number burst length, and the timer is reset.
9. the voltage sampling apparatus of electromagnetic heating system as claimed in claim 7 or 8, which is characterized in that the zero cross signal
Processing module is further used for,
Judge whether the burst length is greater than the first preset value;
If the burst length is greater than first preset value, judge the frequency of the input AC electricity for 50Hz;
If the burst length is less than or equal to first preset value, judge the frequency of the input AC electricity for 60Hz.
10. the voltage sampling apparatus of electromagnetic heating system as claimed in claim 9, which is characterized in that first preset value
For 9.1ms.
11. the voltage sampling apparatus of electromagnetic heating system as claimed in claim 7, which is characterized in that further include that zero crossing obtains
Modulus block, for obtaining the preceding pulsatile once width of the zero cross signal, and in the rising edge arrival time delay of the zero cross signal
The half time of the slow preceding pulsatile once width, using the currently practical zero crossing as the input AC electricity.
12. a kind of electromagnetic heating system, which is characterized in that including described in any item electromagnetic heating systems as claim in claims 7-11
The voltage sampling apparatus of system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711310082.XA CN109900954A (en) | 2017-12-11 | 2017-12-11 | Electromagnetic heating system and its voltage sampling method, device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711310082.XA CN109900954A (en) | 2017-12-11 | 2017-12-11 | Electromagnetic heating system and its voltage sampling method, device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109900954A true CN109900954A (en) | 2019-06-18 |
Family
ID=66942448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711310082.XA Pending CN109900954A (en) | 2017-12-11 | 2017-12-11 | Electromagnetic heating system and its voltage sampling method, device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109900954A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112557740A (en) * | 2020-12-07 | 2021-03-26 | 深圳市朗科智能电气股份有限公司 | Method and device for avoiding zero-crossing signal detection time deviation in zero-crossing detection circuit |
CN114269032A (en) * | 2021-12-23 | 2022-04-01 | 珠海格力电器股份有限公司 | Control method and device of electromagnetic induction heating equipment and electromagnetic induction heating system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0497444A2 (en) * | 1991-02-01 | 1992-08-05 | Tektronix Inc. | Limited amplitude signal trigger circuit |
CN201233423Y (en) * | 2008-07-29 | 2009-05-06 | 奥豪斯仪器(上海)有限公司 | Electric network voltage detection device |
CN202600040U (en) * | 2012-05-29 | 2012-12-12 | 长沙奥托自动化技术有限公司 | Simplified alternating-current zero crossing point detecting and amplitude sampling device |
CN202886459U (en) * | 2012-09-29 | 2013-04-17 | 广东美的制冷设备有限公司 | Digital zero cross detection circuit and household air-conditioner |
CN103499732A (en) * | 2013-09-29 | 2014-01-08 | 湘潭大学 | Bidirectional zero-cross detection circuit and method thereof |
CN103954828A (en) * | 2014-05-05 | 2014-07-30 | 广东美的暖通设备有限公司 | Voltage detection circuit and device based on single-phase PFC |
CN105266598A (en) * | 2014-06-24 | 2016-01-27 | 佛山市顺德区美的电热电器制造有限公司 | Control method for cooking device, and cooking device |
CN105958814A (en) * | 2016-06-12 | 2016-09-21 | 海信(广东)空调有限公司 | Control method and apparatus for PFC (power factor correction) converter, and frequency conversion electric appliance |
-
2017
- 2017-12-11 CN CN201711310082.XA patent/CN109900954A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0497444A2 (en) * | 1991-02-01 | 1992-08-05 | Tektronix Inc. | Limited amplitude signal trigger circuit |
CN201233423Y (en) * | 2008-07-29 | 2009-05-06 | 奥豪斯仪器(上海)有限公司 | Electric network voltage detection device |
CN202600040U (en) * | 2012-05-29 | 2012-12-12 | 长沙奥托自动化技术有限公司 | Simplified alternating-current zero crossing point detecting and amplitude sampling device |
CN202886459U (en) * | 2012-09-29 | 2013-04-17 | 广东美的制冷设备有限公司 | Digital zero cross detection circuit and household air-conditioner |
CN103499732A (en) * | 2013-09-29 | 2014-01-08 | 湘潭大学 | Bidirectional zero-cross detection circuit and method thereof |
CN103954828A (en) * | 2014-05-05 | 2014-07-30 | 广东美的暖通设备有限公司 | Voltage detection circuit and device based on single-phase PFC |
CN105266598A (en) * | 2014-06-24 | 2016-01-27 | 佛山市顺德区美的电热电器制造有限公司 | Control method for cooking device, and cooking device |
CN105958814A (en) * | 2016-06-12 | 2016-09-21 | 海信(广东)空调有限公司 | Control method and apparatus for PFC (power factor correction) converter, and frequency conversion electric appliance |
Non-Patent Citations (1)
Title |
---|
蔡国浩: "关于采用过零信号检测电网电压的一种方法", 《科技经济市场》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112557740A (en) * | 2020-12-07 | 2021-03-26 | 深圳市朗科智能电气股份有限公司 | Method and device for avoiding zero-crossing signal detection time deviation in zero-crossing detection circuit |
CN112557740B (en) * | 2020-12-07 | 2023-11-17 | 深圳市朗科智能电气股份有限公司 | Method and device for avoiding zero-crossing signal detection time deviation in zero-crossing detection circuit |
CN114269032A (en) * | 2021-12-23 | 2022-04-01 | 珠海格力电器股份有限公司 | Control method and device of electromagnetic induction heating equipment and electromagnetic induction heating system |
CN114269032B (en) * | 2021-12-23 | 2022-11-25 | 珠海格力电器股份有限公司 | Control method and device of electromagnetic induction heating equipment and electromagnetic induction heating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102749498B (en) | Alternating voltage detection circuit and method thereof and safety capacitor discharge circuit | |
EP2960912A1 (en) | Intelligent switch capacitor | |
US20110210712A1 (en) | AC or DC POWER SUPPLY EMPLOYING SAMPLING POWER CIRCUIT | |
CN105301522B (en) | A kind of detection method of three-phase mains power down | |
CN109799384A (en) | Voltage zero-cross detection method, device and cooking appliance | |
CN109900954A (en) | Electromagnetic heating system and its voltage sampling method, device | |
CN103675670A (en) | Pressure switch state detection circuit, circuit board, and electric heating product with circuit board | |
CN202679686U (en) | Voltage sampling and surge protection circuit of electromagnetic stove | |
CN202204866U (en) | Current detection circuit for air-conditioner compressor | |
CN106547301B (en) | A kind of residual voltage method for releasing of cooking equipment | |
CN107367633B (en) | Zero-cross processing method, device and equipment for voltage zero-crossing detection circuit | |
CN207783190U (en) | Electromagnetic heating system and its heating control apparatus | |
CN105528008B (en) | A method and a system for adjusting chip output parameters without changing chip pins | |
US9845967B2 (en) | Intelligent air conditioner socket with abnormality alarm | |
CN204008849U (en) | A kind of city electric detection means | |
CN106676830B (en) | Door lock state detection method, system and the washing machine of washing machine | |
CN109519983A (en) | Electromagnetism cooking system and its cookware recognition methods and cookware identification device | |
CN109425777B (en) | Electromagnetic heating equipment and power failure detection method and device thereof | |
CN203774193U (en) | Power-saving type AC contactor applying auxiliary contact | |
CN103675672A (en) | Pressure switch state detection circuit, circuit board, and electric heating product with circuit board | |
CN201134020Y (en) | Checking control circuit | |
CN204156762U (en) | A kind of three phase electric machine current over-zero checkout gear of Electronic Soft Starter | |
CN109038505B (en) | Power supply short-circuit protection method and inverter | |
CN103698576A (en) | Voltage detection circuit, circuit board provided with same, heating equipment and electric heating product | |
CN111148286B (en) | Equipment control method, device and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190618 |