CN107942736A - A kind of control method, main control device and zero-crossing detection circuit - Google Patents

A kind of control method, main control device and zero-crossing detection circuit Download PDF

Info

Publication number
CN107942736A
CN107942736A CN201610890351.3A CN201610890351A CN107942736A CN 107942736 A CN107942736 A CN 107942736A CN 201610890351 A CN201610890351 A CN 201610890351A CN 107942736 A CN107942736 A CN 107942736A
Authority
CN
China
Prior art keywords
input voltage
electronic equipment
signal
zero crossing
predetermined period
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.)
Granted
Application number
CN201610890351.3A
Other languages
Chinese (zh)
Other versions
CN107942736B (en
Inventor
李娟�
汪钊
肖小龙
陈伟
王彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Original Assignee
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd filed Critical Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority to CN201610890351.3A priority Critical patent/CN107942736B/en
Publication of CN107942736A publication Critical patent/CN107942736A/en
Application granted granted Critical
Publication of CN107942736B publication Critical patent/CN107942736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/175Indicating the instants of passage of current or voltage through a given value, e.g. passage through zero

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The embodiment of the invention discloses a kind of control method, main control device and zero-crossing detection circuit, wherein, the control method applied to electronic equipment includes:Monitoring input voltage signal;Judge whether zero crossing occur in predetermined period based on the input voltage signal, obtain the first judging result;The current state of electronic equipment is judged according to first judging result;When the current state for judging the electronic equipment for off-position when, control and discharge device is preset in the electronic equipment discharge.Using technical solution described in the embodiment of the present invention, the accuracy rate of zero-crossing examination can be improved, electronic equipment is consumed remaining capacity in time.

Description

A kind of control method, main control device and zero-crossing detection circuit
Technical field
The present invention relates to detection control technology field, and in particular to a kind of control method, main control device and zero-crossing examination Circuit.
Background technology
In various electrical safety standards, all restricted requirement of electric discharge generally to electric equipment products, is such as pulled out after power supply 1 second The voltage of remaining capacity is less than preset voltage value in clock.Mainly there are two kinds of charging methods in the prior art:One kind is to use to put Resistance discharges;Another kind is the change of monitoring voltage, determines whether to discharge according to the size of variable quantity.
But the charging method that is discharged using discharge resistance is, it is necessary to consider the size of discharge resistance carefully, because its The selection of size is very big for the speed influence of electric discharge, and has larger dependence for the quality quality of discharge resistance, if Discharge resistance selection is wrong or damages, then cannot complete to discharge.And for the method that the size of voltage variety is judged There are the risk of erroneous judgement, on the one hand when during voltage fluctuation there are during surge voltage it is possible that erroneous judgement, on the other hand works as Sample circuit may also fail to judge when can not substantially be distinguished to sampled value.
The content of the invention
In view of this, present invention contemplates that providing a kind of control method, main control device and zero-crossing detection circuit, can improve The accuracy rate of zero point detection, makes electronic equipment consume remaining capacity in time.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
An embodiment of the present invention provides a kind of control method, the described method includes:
Monitoring input voltage signal;
Judge whether zero crossing occur in predetermined period based on the input voltage signal, obtain the first judging result;
The current state of electronic equipment is judged according to first judging result;
When the current state for judging the electronic equipment for off-position when, control and discharger preset in the electronic equipment Part discharges.
In such scheme, alternatively, the current state that the electronic equipment is judged according to first judging result, Including:
If first judging result is zero crossing occur in the predetermined period,
The current state for judging the electronic equipment is non-off-position, and the counting to non-zero crossing is reset;
If first judging result is not occur zero crossing in the predetermined period,
The count value of non-zero crossing is added 1, when the count value of non-zero crossing in preset time period reaches N, described in judgement The current state of electronic equipment is off-position;Wherein, the N represents the predetermined period that the preset time period includes Number, the N are the positive integer more than or equal to 2.
It is alternatively, described to judge whether zero passage occur in predetermined period based on the input voltage signal in such scheme Point, including:
Obtain the corresponding voltage waveform of input voltage signal in predetermined period;
If the voltage waveform is the first input voltage waveform, predetermined period is judged based on first input voltage waveform Inside whether there is low level;Wherein, the low level is used to represent that the corresponding input voltage value of the input voltage signal is less than First preset voltage value;First preset voltage value is that to be used to distinguish the input voltage represented with high level or with low A kind of critical value that level represents, presets when the corresponding input voltage value of the input voltage signal is greater than or equal to described first During magnitude of voltage, judge the input voltage for high level;
If occurring low level in the predetermined period, there is zero crossing in judgement.
In such scheme, alternatively, first input voltage waveform is square-wave waveform.
It is alternatively, described to judge whether zero passage occur in predetermined period based on the input voltage signal in such scheme Point, including:
Obtain the corresponding voltage waveform of input voltage signal in predetermined period;
If the voltage waveform is the second input voltage waveform, the second preset voltage value is obtained;Wherein, described second is default Magnitude of voltage is the upper voltage limit value for judging zero crossing;
Second input voltage waveform is contrasted with representing the straight line of second preset voltage value in the same coordinate system;
If there are the m section waveforms that amplitude is less than second preset voltage value, there is zero crossing in judgement;Wherein, the m For the positive integer more than or equal to 2.
In such scheme, alternatively, second input voltage waveform is by continuously and by the upper half-wave group of sine wave Into waveform.
In such scheme, alternatively, in the control electronic equipment preset discharge device and discharge, including:
The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;And/or
The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, it is described aobvious Show that panel is used for the working status for showing the electronic equipment.
The embodiment of the present invention additionally provides a kind of main control device, and the main control device includes:
Monitoring unit, for monitoring input voltage signal;
First judging unit, for judging whether zero crossing occur in predetermined period based on the input voltage signal, obtains To the first judging result;
Second judging unit, for judging the current state of electronic equipment according to first judging result;
Control unit, for when the current state for judging the electronic equipment for off-position when, control the electronics to set Discharge device is preset in standby to discharge.
In such scheme, alternatively, second judging unit, is specifically used for:
If first judging result is zero crossing occur in the predetermined period,
The current state for judging the electronic equipment is non-off-position, and the counting to non-zero crossing is reset;Wherein, if Do not occur zero crossing in the predetermined period, then the count value of the non-zero crossing is added 1;
If first judging result is not occur zero crossing in the predetermined period,
Non- zero crossing is counted, when the count value of non-zero crossing in preset time period reaches N, judges the electronics The current state of equipment is off-position;Wherein, the N represents for the predetermined period that the preset time period includes Number, the N are the positive integer more than or equal to 2.
In such scheme, alternatively, first judging unit, is specifically used for:
Obtain corresponding first input voltage waveform of input voltage signal in predetermined period;
Judge whether low level occur in predetermined period based on first input voltage waveform;Wherein, the low level For representing that the corresponding input voltage value of the input voltage signal is less than the first preset voltage value;First preset voltage value It for distinguishing the input voltage is the critical value that is represented with high level or represented with low level to be, when the input voltage is believed When number corresponding input voltage value is greater than or equal to first preset voltage value, judge the input voltage for high level;
If occurring low level in the predetermined period, there is zero crossing in judgement.
In such scheme, alternatively, first judging unit, also particularly useful for:
Obtain corresponding second input voltage waveform of input voltage signal in predetermined period;
Obtain the second preset voltage value;Wherein, second preset voltage value is the upper voltage limit value for judging zero crossing;
Second input voltage waveform is contrasted with representing the straight line of second preset voltage value in the same coordinate system;
If there are the m section waveforms that amplitude is less than second preset voltage value, there is zero crossing in judgement;Wherein, the m For the positive integer more than or equal to 2.
In such scheme, alternatively, described control unit, is specifically used for:
The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;And/or
The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, it is described aobvious Show that panel is used for the working status for showing the electronic equipment.
The embodiment of the present invention additionally provides a kind of zero-crossing detection circuit, and the zero-crossing detection circuit includes:
Rectifier equipment, for carrying out full-wave rectification to the ac signal of access, the is rectified into by the ac signal One electric signal;Wherein, the cycle of first electric signal is the half in the cycle of the ac signal, first electric signal Corresponding waveform is the waveform of upper half wave component continuous and by sine wave, and the sine wave is that the ac signal corresponds to Waveform;
Sample devices, for accessing first electric signal, gather that sampling module is got in the sample devices second Electric signal, and export the input voltage signal to being obtained after second electric signal filtering;
Main control device, for monitoring input voltage signal;Based on the input voltage signal judge in predetermined period whether There is zero crossing, obtain the first judging result;The current state of electronic equipment is judged according to first judging result;Work as judgement When the current state of the electronic equipment is off-position, default discharge device in the electronic equipment is controlled to discharge.
In such scheme, alternatively, the sample devices includes:
Sampling module, the sample devices obtain the second electric signal from the sampling module;Wherein, second telecommunications Number same with the cycle phase of first electric signal, the corresponding input voltage value of the second electric signal described in same time point is less than described The corresponding input voltage value of first electric signal;
Division module, connects with the sampling module, and for accessing first electric signal, the sampling module is carried out Partial pressure;
Filter module, for filtering out the ripple signal in second electric signal.
In such scheme, alternatively, the zero-crossing detection circuit further includes:
Switchgear, the input voltage signal for the sample devices to be exported are converted into what is represented with high and low level Input voltage signal;Wherein, low level is used to represent that the corresponding input voltage value of the input voltage signal is less than first and presets Magnitude of voltage;High level is used to represent that the corresponding input voltage value of the input voltage signal is greater than or equal to the first predeterminated voltage Value;First preset voltage value be for distinguish the input voltage be represented with high level or represented with low level one Kind critical value;
Current limiter, for carrying out current limliting to the electric current for flowing through the switchgear and the main control device.
In such scheme, alternatively, the zero-crossing detection circuit further includes:
Filter apparatus, the burr signal of the switchgear is flowed through for filtering out.
In such scheme, alternatively, the zero-crossing detection circuit further includes:
Voltage follow equipment, it is whole described in the speed follower of the input voltage signal for controlling the sample devices to export Flow device access ac signal pace of change and adjust;
Equipment is protected, the input voltage signal for being exported to the sample devices is detected;When the input When the corresponding input voltage value of voltage signal exceeds predetermined threshold value, the input voltage signal is controlled to access the protection equipment; When the corresponding input voltage value of the input voltage signal is without departing from predetermined threshold value, the input voltage signal access institute is controlled State main control device.
Control method, main control device and zero-crossing detection circuit provided in an embodiment of the present invention, monitoring input voltage signal; Judge whether zero crossing occur in predetermined period based on the input voltage signal, obtain the first judging result;According to described One judging result judges the current state of electronic equipment;When the current state for judging the electronic equipment for off-position when, control Default discharge device in the electronic equipment is made to discharge;In this way, analyzed by the input voltage signal monitored default Whether zero crossing is occurred in cycle, and based on the judgement for whether occurring zero crossing in the predetermined period obtained in preset time period As a result judge whether the current state of electronic equipment is powered off state;Judge electricity relative to the size of voltage variety Whether sub- equipment is for off-position, since the input voltage signal of reference is continuous signal, and not discrete signal, and Judge that the current state of electronic equipment is based in predetermined period whether have zero crossing, and and corresponding to single time point Voltage and predeterminated voltage variable quantity size, the accuracy rate of zero-crossing examination can be improved, reduce the risk of erroneous judgement.And phase For by the way of discharged using discharge resistance, technical solution described in the embodiment of the present invention need not select special use Come the discharge resistance to discharge, and then without various problems existing during consideration selection discharge resistance, set by electronics Standby internal self-discharge device can just complete the consumption to remaining capacity in electronic equipment.When working as the judgement electronic equipment When preceding state is off-position, controls default discharge device in the electronic equipment to discharge, electronic equipment can be made timely Consume remaining capacity, will not after electronic equipment powers off because internal remaining capacity can not completely consume and caused by electronics set The damage of standby interior component, can extend the service life of electronic equipment.
Brief description of the drawings
Fig. 1 realizes flow diagram for a kind of control method provided in an embodiment of the present invention;
Fig. 2 (a) is the corresponding waveform diagram of ac signal of electronic equipment provided in an embodiment of the present invention access;2 (b) it is the corresponding waveform diagram of the first electric signal provided in an embodiment of the present invention;Fig. 2 (c) is provided in an embodiment of the present invention The corresponding waveform diagram of second electric signal;Fig. 2 (d) is a kind of corresponding ripple of input voltage signal provided in an embodiment of the present invention Shape schematic diagram;Fig. 2 (e) is the waveform diagram of another input voltage signal provided in an embodiment of the present invention;
Fig. 3 (a) is the current state provided in an embodiment of the present invention that electronic equipment is judged according to a kind of input voltage signal Schematic diagram;Fig. 3 (b) is the current shape provided in an embodiment of the present invention that electronic equipment is judged according to another input voltage signal The schematic diagram of state;
Fig. 4 realizes flow diagram for the default discharge device electric discharge of main control device provided in an embodiment of the present invention control;
Fig. 5 is the composition structure diagram of main control device provided in an embodiment of the present invention;
Fig. 6 is a kind of structure diagram of zero-crossing detection circuit provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of another zero-crossing detection circuit provided in an embodiment of the present invention;
Fig. 8 is a kind of optional hardware architecture diagram of zero-crossing detection circuit shown in Fig. 7 provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of another zero-crossing detection circuit provided in an embodiment of the present invention;
Figure 10 is a kind of optional hardware configuration signal of zero-crossing detection circuit shown in Fig. 9 provided in an embodiment of the present invention Figure.
Embodiment
In order to more fully hereinafter understand the features of the present invention and technology contents, below in conjunction with the accompanying drawings to the reality of the present invention Now it is described in detail, appended attached drawing purposes of discussion only for reference, is not used for limiting the present invention.
Embodiment one
Fig. 1 is that a kind of control method provided in an embodiment of the present invention realizes flow diagram, controlling party in this example Method is applied to electronic equipment, as shown in Figure 1, the control method mainly includes the following steps that:
Step 101:Monitoring input voltage signal.
Here, can be by the main control device of electronic equipment come monitoring input voltage signal.Wherein, the input voltage signal Refer to input to the signal of the main control device.
In one embodiment, the mode of the input voltage signal is obtained, including:
Full-wave rectification is carried out to the ac signal of access by the rectifier equipment of electronic equipment, by the ac signal It is rectified into the first electric signal;Wherein, the cycle of first electric signal is the half in the cycle of the ac signal, described The corresponding waveform of one electric signal is the waveform of upper half wave component continuous and by sine wave, and the sine wave is the alternating current The corresponding waveform of signal;
First electric signal is accessed by the sample devices of electronic equipment, gathers sampling module point in the sample devices The second electric signal obtained, and export the input voltage signal to being obtained after second electric signal filtering.
Here, alternating current can be the alternating current of 220V (volt), then, the frequency of 220V alternating currents is 50Hz (hertz), cycle It is 20ms (millisecond);Wherein, 220V refers to the virtual value of alternating current.
Fig. 2 (a) shows the corresponding waveform diagram of ac signal of electronic equipment access, it was found from Fig. 2 (a), week Phase is T1=20ms, sine wave, maximum amplitude Um, and actuallyBy rectifier equipment to handing over After galvanic electricity signal carries out full-wave rectification, the obtained corresponding waveform diagram of the first electric signal such as Fig. 2 (b) is shown, relative to Fig. 2 (a) for, the cycle of the first electric signal is the half in the cycle of ac signal, i.e., the cycle of described first electric signal is T2= 0.5 × T1, if the ac signal corresponding cycle is 20ms, the cycle of the first signal is 10ms;The corresponding ripple of ac signal Shape is sine wave, and the corresponding waveform of first electric signal is the waveform of upper half wave component continuous and by sine wave.
In an embodiment, first electric signal is accessed by sample devices, is gathered in the sample devices The second electric signal that sampling module is got, and the input voltage signal to being obtained after second electric signal filtering is exported, including:
First electric signal is accessed by the division module on the sample devices, the sampling module is divided Pressure;
The second electric signal is obtained from the sampling module on the sample devices;
Ripple signal in second electric signal is filtered out by the filter module on the sample devices.
Wherein, division module is connected with the sampling module.For example, the division module is divider resistance, the sampling Module is sampling resistor.
Wherein, ripple be due to DC stable power supply voltage fluctuation and caused by a kind of phenomenon because DC stabilization is electric Source is usually to be formed by links such as the rectified voltage stabilizings of AC power, this just inevitably how many band in DC stabilization amount There are some Alternating Components, this AC compounent being superimposed upon in DC stabilization amount is just referred to as ripple.In general, filtering is passed through Capacitance can filter out ripple signal.Therefore, the filter module can be filter capacitor.
Wherein, the cycle phase of second electric signal and first electric signal is same, the second telecommunications described in same time point Number corresponding magnitude of voltage is less than the corresponding magnitude of voltage of first electric signal.Fig. 2 (c) shows that the corresponding waveform of the second electric signal shows It is intended to, from Fig. 2 (c) as can be seen that the corresponding waveform diagram of the second electric signal is corresponding with the first signal shown in Fig. 2 (b) Waveform diagram is similar, the two cycle phase is same, but voltage magnitude is different.Fig. 2 (d) shows that one kind is filtered out in the second electric signal The corresponding waveform diagram of input voltage signal obtained after ripple signal, from Fig. 2 (d) as can be seen that input voltage signal pair The schematic diagram answered waveform diagram corresponding with the secondary signal shown in Fig. 2 (c) is almost identical, and not only cycle phase is same, Er Qie electricity Pressure amplitude value is identical, but Fig. 2 (d) is more smooth relative to the ripple in Fig. 2 (c).
In another embodiment, first electric signal is accessed by sample devices, gathers the sample devices The second electric signal that middle sampling module is got, and the input voltage signal to being obtained after second electric signal filtering is exported, also Including:
The input voltage signal that the sample devices exports is converted into by switchgear to represent defeated with high and low level Enter voltage signal;Wherein, low level is used to represent that the corresponding input voltage value of the input voltage signal is less than the first default electricity Pressure value;High level is used to represent that the corresponding input voltage value of the input voltage signal is greater than or equal to the first preset voltage value; It for distinguishing the input voltage is one kind for being represented with high level or being represented with low level that first preset voltage value, which is, Critical value;
Current limliting is carried out to the electric current for flowing through the switchgear and the main control device by current limiter.
For example, first preset voltage value is 2.5V, then, the corresponding input voltage value of input voltage signal is less than 2.5V, is represented with low level;When the corresponding input voltage value of input voltage signal is greater than or equal to 2.5V, represented with high level.
Fig. 2 (e) shows the schematic diagram of another input voltage signal, from Fig. 2 (e) as can be seen that input voltage letter Number corresponding oscillogram is square wave figure, and corresponding to the input voltage signal oscillogram shown in Fig. 2 (d), cycle phase is same, simply will figure Input voltage value is represented more than or equal to the input voltage of the first predetermined threshold value with high level in 2 (d), will input electricity in Fig. 2 (d) The input voltage that pressure value is less than the first predetermined threshold value is represented with low level.
Understood based on Fig. 2 (a)~(e), the input voltage signal oscillogram that either Fig. 2 (d) is represented, or Fig. 2 (e) tables The input voltage signal oscillogram shown, is changed with the change of the ac signal of electronic equipment access;Therefore, it is possible to Reflect the situation of change of ac signal well, so that subsequently to judge the current of electronic equipment according to input voltage signal State provides excellent basis.
Step 102:Judge whether zero crossing occur in predetermined period based on the input voltage signal, obtain the first judgement As a result.
Wherein, the zero crossing is used for the state for representing that voltage is 0.
It is in one embodiment, described to judge whether zero crossing occur in predetermined period based on the input voltage signal, Including:
Obtain the corresponding voltage waveform of input voltage signal in predetermined period;
If the voltage waveform is the first input voltage waveform, predetermined period is judged based on first input voltage waveform Inside whether there is low level;Wherein, the low level is used to represent that the corresponding input voltage value of the input voltage signal is less than First preset voltage value;First preset voltage value is that to be used to distinguish the input voltage represented with high level or with low A kind of critical value that level represents, presets when the corresponding input voltage value of the input voltage signal is greater than or equal to described first During magnitude of voltage, judge the input voltage for high level;
If occurring low level in the predetermined period, there is zero crossing in judgement.
Alternatively, the first input voltage waveform is square-wave waveform.
For example, shown in the first input voltage waveform figure such as Fig. 2 (e).Electronic equipment in normal operation, inputs Shown in waveform voltage signal such as Fig. 2 (e), and correspond to this kind of input voltage signal, high level and the regular alternating of low level go out It is existing, if continuous a period of time output high level, then it is assumed that be powered off state, Fig. 3 (a), which is shown, to be based on being represented with high and low level Input voltage signal judge electronic equipment current state schematic diagram, it is high from Fig. 3 (a) as can be seen that between [0, t1] Level and low level regularity are alternately present, and represent that during this period of time electronic equipment is in non-off-position;And after t1 A period of time in, continuous a period of time exports high level, then it is assumed that electronic equipment is in off-position.Wherein it is determined that mistake The method of zero point position, including:Determine to represent low level each section of ripple in first input voltage waveform;By described in The intermediate point of each section of ripple is determined as zero crossing.
In another embodiment, it is described to judge whether zero passage occur in predetermined period based on the input voltage signal Point, including:
Obtain the corresponding voltage waveform of input voltage signal in predetermined period;
If the voltage waveform is the second input voltage waveform, the second preset voltage value is obtained;Wherein, described second is default Magnitude of voltage is the upper voltage limit value for judging zero crossing;
Second input voltage waveform is contrasted with representing the straight line of second preset voltage value in the same coordinate system;
If there are the m section waveforms that amplitude is less than second preset voltage value, there is zero crossing in judgement;Wherein, the m For the positive integer more than or equal to 2.
Alternatively, second input voltage waveform is by the waveform of upper half wave component continuous and by sine wave.
For example, shown in the second input voltage waveform figure such as Fig. 2 (d), electronic equipment in normal operation, inputs Shown in waveform voltage signal such as Fig. 2 (d), and correspond to this kind of input voltage signal, there is amplitude at regular intervals and be less than , that is, there is a zero crossing in one section of waveform of second preset voltage value, and Fig. 3 (b), which is shown, to be based on continuous sine wave The input voltage signal that shows of upper half wave table judge electronic equipment current state schematic diagram, from Fig. 3 (b) as can be seen that Between [0, t2], there are the multistage waveform that amplitude is less than the second preset voltage value, such as oa, bc, cd, ef, fg, hi, ij, km, mn, Represent that during this period of time electronic equipment is in non-off-position;And within a period of time after t2, continuous a period of time is Do not occur the waveform that amplitude is less than the second preset voltage value, then it is assumed that electronic equipment is in off-position.Wherein it is determined that zero crossing The method of position, including:In the m sections of waveform, continuous two sections of ripples are determined;The point of two sections of ripples will be belonged at the same time It is determined as zero crossing;Wherein, in two sections of ripples, the direction of propagation of two sections of ripples is different.For example, can be by c points, f points, i points, m Point is determined as zero crossing.
Step 103:The current state of electronic equipment is judged according to first judging result.
In one embodiment, the current state that the electronic equipment is judged according to first judging result, bag Include:
If first judging result is zero crossing occur in the predetermined period,
The current state for judging the electronic equipment is non-off-position, and the counting to non-zero crossing is reset;
If first judging result is not occur zero crossing in the predetermined period,
The count value of non-zero crossing is added 1, when the count value of non-zero crossing in preset time period reaches N, described in judgement The current state of electronic equipment is off-position;Wherein, the N represents the predetermined period that the preset time period includes Number, the N are the positive integer more than or equal to 2.
Here, the off-position refers to that electronic equipment does not access alternating current currently;Here, the non-off-position refers to electricity Sub- equipment has currently accessed alternating current.In practical application, off-position described here can also be referred to as to pull out electricity condition, here institute The non-off-position stated can also be referred to as non-to pull out electricity condition.
Under normal circumstances, it is detected when the corresponding waveform of ac signal of electronic equipment access is continuous waveform Input voltage signal be also continuous waveform, be all sinusoidal variations for the input voltage of general electronic equipment, no Which kind of observation circuit pipe passes through, and the corresponding waveform of input voltage signal of acquisition all possesses zero crossing.Former capital can be to monitoring electricity The zero crossing on road carries out tracking and monitoring, is also non-off-position to judge that the current state of electronic equipment is powered off state, if Continuous a period of time does not all monitor zero crossing, and cumulative number reaches n times, then can be concluded that and pulled off power supply.
For example, the preset time period is 40ms, and the predetermined period is 10ms, and the preset time period includes 4 A predetermined period.Include there should be 2 zero crossings when the electronic equipment is in non-off-position, in 10ms, in 40ms planted agent This detects 8 zero crossings.If within [0, the 10ms] period, zero crossing is not detected by, then by the count value of non-zero crossing by 0 It is changed into 1;If (10,20ms] in the period, zero crossing is not detected by, then the count value of non-zero crossing is changed into 2 from 1;If (20,30ms] in the period, zero crossing is not detected by, then the count value of non-zero crossing is changed into 3 from 2;If (30,40ms] when Between in section, be not detected by zero crossing, then the count value of non-zero crossing be changed into 4 from 3;Due to non-zero crossing in preset time period Count value reaches 4, and the current state for judging the electronic equipment is off-position.
Step 104:When the current state for judging the electronic equipment for off-position when, control pre- in the electronic equipment If discharge device discharges.
Here, the default discharge device is the device that can consume the remaining capacity in electronic equipment, it is preferable that described Default discharge device is itself intrinsic device in electronic equipment.For example, the default discharge device may include radiating element such as Wind turbine;It may also include display device such as display board.
In one embodiment, discharge device is preset in the control electronic equipment to discharge, including:
The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment.
Specifically, when the current state for judging the electronic equipment for off-position when, the main control device in electronic equipment The first determination flag position has been put, the first determination flag position is sent into fan startup program, passes through wind turbine startup program control Wind turbine processed starts.Wherein, decision condition of the first determination flag position as wind turbine startup program, supports the wind turbine to start The operation of program.
In this way, the remaining capacity in electronic equipment is consumed by wind turbine.
In another embodiment, discharge device is preset in the control electronic equipment to discharge, including:
The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, it is described aobvious Show that panel is used for the working status for showing the electronic equipment.
Specifically, when the current state for judging the electronic equipment for off-position when, the main control device in electronic equipment The second determination flag position is put, the second determination flag position is sent to display panel shows program, is shown by display panel Show that programme-control display panel is shown, shown as display panel carries out all light.Wherein, the second determination flag position conduct Display panel shows the decision condition of program, supports the display panel to show the operation of program.
In this way, the remaining capacity in electronic equipment is consumed by display panel display mode.
In yet another embodiment, discharge device is preset in the control electronic equipment to discharge, including:
The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Meanwhile
The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, it is described aobvious Show that panel is used for the working status for showing the electronic equipment.
Specifically, when the current state for judging the electronic equipment for off-position when, the main control device in electronic equipment The 3rd determination flag position has been put, the 3rd determination flag position is sent into fan opening program at the same time and display panel is shown Program, controls wind turbine to start by wind turbine opening program, shows that programme-control display panel is shown by display panel.Its In, decision condition of the 3rd determination flag position as wind turbine opening program, while also serve as display panel and show program Decision condition.
In this way, consume the remaining capacity in electronic equipment by wind turbine opening ways and display panel display mode. For using single discharge mode consumption remaining capacity, can more rapidly it consume remaining surplus in electronic equipment Remaining electricity.Electric discharge is carried out using wind turbine it is possible to occur because remaining capacity is small not starting the feelings of blower motor in addition, single Condition, shows that institute's electricity demand is less than wind turbine and starts electricity, carrying out electric discharge using display panel can be effective since display panel starts The above situation is solved, effectively avoids the situation generation for causing remaining capacity not consume because wind turbine can not start.
Certainly, except above-mentioned cited these types of discharge type, can also be discharged by other discharge devices, This is repeated no more.
Control method provided in an embodiment of the present invention, is to analyze in predetermined period by the input voltage signal monitored No there is zero crossing, and is sentenced based on the judging result for whether occurring zero crossing in the predetermined period obtained in preset time period Whether the current state of disconnected electronic equipment is powered off state;Relative to this discrete quantitative manner of size of voltage variety To judge electronic equipment whether for the off-position, since the input voltage signal of reference is continuous signal, and not from Scattered signal, and judge that the current state of electronic equipment is based in predetermined period whether have zero crossing, and and it is single when Between put corresponding voltage and predeterminated voltage variable quantity size, the accuracy rate of zero-crossing examination can be improved, reduce erroneous judgement Risk.And by the way of discharged using discharge resistance for, technical solution described in the embodiment of the present invention need not The special discharge resistance for being used for discharging of selection, and then asked without various present in considering to select during discharge resistance Topic, the consumption to remaining capacity in electronic equipment can be just completed by the self-discharge device of electronic equipment internal.When judgement institute When the current state for stating electronic equipment is off-position, default discharge device in the electronic equipment is controlled to discharge, can Electronic equipment is set to consume remaining capacity in time, will not can not be complete because of the remaining capacity that retains of inside after electronic equipment powers off It totally disappeared consumption and cause the damage of component in electronic equipment, the service life of electronic equipment can be extended.
Embodiment two
Fig. 4 realizes flow diagram for the default discharge device electric discharge of main control device provided in an embodiment of the present invention control, As shown in figure 4, the flow includes:
Step 401:Main control device monitoring input voltage signal;
Here, the form of the corresponding waveform of the input voltage signal is not defined, for example, the input voltage The corresponding waveform of signal can be the first input voltage waveform figure as shown in Fig. 2 (e).The corresponding ripple of the input voltage signal Shape can be the second input voltage waveform figure as shown in Fig. 2 (d).
Step 402:Main control device judges whether zero crossing occur in predetermined period based on the input voltage signal, if There is zero crossing, perform step 403;If not occurring zero crossing, step 405 is performed;
Step 403:Counting of the main control device to non-zero crossing is reset;Then step 404 is performed;
Step 404:Main control device judges that the current state of the electronic equipment is non-off-position, is then back to step 401;
Step 405:The count value of non-zero crossing is added 1 by main control device, then performs step 406;
Step 406:Main control device judges whether the count value of non-zero crossing in preset time period reaches N;If reaching N, Perform step 407;If not up to N, step 401 is performed;
Wherein, the N represents the number for the predetermined period that the preset time period includes, and the N is to be more than or wait In 2 positive integer.
Step 407:Main control device judges that the current state of the electronic equipment is off-position, then performs step 408;
Step 408:Main control device controls default discharge device in the electronic equipment to discharge.
Specifically, the main control device controls default discharge device in the electronic equipment to discharge, including:
The wind turbine of the electronic equipment is notified to open;And/or
Notify the display panel of the electronic equipment to open, the display panel is carried out all light and show.
Whether control flow described in the present embodiment, occur by the input voltage signal monitored to analyze in predetermined period Zero crossing, and electronics is judged based on the judging result for whether occurring zero crossing in the predetermined period obtained in preset time period Whether the current state of equipment is powered off state;The accuracy rate of zero-crossing examination can be improved, reduces the risk of erroneous judgement.When judgement institute When the current state for stating electronic equipment is off-position, default discharge device in the electronic equipment is controlled to discharge, can Electronic equipment is set to consume remaining capacity in time, remaining capacity that will not be because of internal residual after electronic equipment powers off can not be complete It totally disappeared consumption and cause the damage of component in electronic equipment, the service life of electronic equipment can be extended.
Embodiment three
An embodiment of the present invention provides a kind of main control device, Fig. 5 is the composition of main control device provided in an embodiment of the present invention Structure diagram, as shown in figure 5, the main control device includes:Monitoring unit 51, the first judging unit 52, the second judging unit 53rd, control unit 54;Wherein,
The monitoring unit 51, for monitoring input voltage signal;
First judging unit 52, for judging whether zero passage occur in predetermined period based on the input voltage signal Point, obtains the first judging result;
Second judging unit 53, for judging the current state of electronic equipment according to first judging result;
Described control unit 54, for when the current state for judging the electronic equipment for off-position when, described in control Discharge device is preset in electronic equipment to discharge.
In an embodiment, second judging unit 53, is specifically used for:
If first judging result is zero crossing occur in the predetermined period,
The current state for judging the electronic equipment is non-off-position, and the counting to non-zero crossing is reset;Wherein, if Do not occur zero crossing in the predetermined period, then the count value of the non-zero crossing is added 1;
If first judging result is not occur zero crossing in the predetermined period,
Non- zero crossing is counted, when the count value of non-zero crossing in preset time period reaches N, judges the electronics The current state of equipment is off-position;Wherein, the N represents for the predetermined period that the preset time period includes Number, the N are the positive integer more than or equal to 2.
In an optional embodiment, first judging unit 52, is specifically used for:
Obtain corresponding first input voltage waveform of input voltage signal in predetermined period;
Judge whether low level occur in predetermined period based on first input voltage waveform;Wherein, the low level For representing that the corresponding input voltage value of the input voltage signal is less than the first preset voltage value;First preset voltage value It for distinguishing the input voltage is the critical value that is represented with high level or represented with low level to be, when the input voltage is believed When number corresponding input voltage value is greater than or equal to first preset voltage value, judge the input voltage for high level;
If occurring low level in the predetermined period, there is zero crossing in judgement.
In another optional embodiment, first judging unit 52, also particularly useful for:
Obtain corresponding second input voltage waveform of input voltage signal in predetermined period;
Obtain the second preset voltage value;Wherein, second preset voltage value is the upper voltage limit value for judging zero crossing;
Second input voltage waveform is contrasted with representing the straight line of second preset voltage value in the same coordinate system;
If there are the m section waveforms that amplitude is less than second preset voltage value, there is zero crossing in judgement;Wherein, the m For the positive integer more than or equal to 2.
In an embodiment, described control unit 54, is specifically used for:
The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;And/or
The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, it is described aobvious Show that panel is used for the working status for showing the electronic equipment.
It will be appreciated by those skilled in the art that in the main control device of the present embodiment each module function, can refer to foregoing control The associated description of method processed and understand.
In practical application, above-mentioned monitoring unit 51, the first judging unit 52, second judging unit 53, control unit 54 Concrete structure may both correspond to processor.The specific structure of processor can be central processing unit (CPU, Central Processing Unit), microprocessor (MCU, Micro Controller Unit), digital signal processor (DSP, Digital Signal Processing) or programmable logic device (PLC, Programmable Logic Controller) Deng electronic component or the set of electronic component with processing function.Wherein, the processor includes executable code, institute State executable code to be stored in storage medium, the processor can be by the communication interfaces such as bus and the storage medium It is connected, when performing the corresponding function of specific each unit, is read from the storage medium and run the executable code. The part that the storage medium is used to store the executable code is preferably non-moment storage medium.Wherein, it is described executable Code is used to perform the control method described in the various embodiments described above.
Main control device may be disposed in electronic equipment described in the present embodiment, and the electronic equipment is that discharge voltage is required Equipment, such as television set, air-conditioning, refrigerator, washing machine, various small household appliances such as electromagnetic oven, electric cooker etc..
Main control device described in the present embodiment, can improve the accuracy rate of zero-crossing examination, reduce the risk of erroneous judgement;It is electric when judging When the current state of sub- equipment is off-position, controls default discharge device in the electronic equipment to discharge, electricity can be made Sub- equipment consumes remaining capacity in time, will not after electronic equipment powers off because internal remaining capacity can not completely consume and The damage of component in electronic equipment is caused, the service life of electronic equipment can be extended.
Example IV
An embodiment of the present invention provides a kind of zero-crossing detection circuit, Fig. 6 examines for zero crossing provided in an embodiment of the present invention The structure diagram of slowdown monitoring circuit, as shown in fig. 6, the zero-crossing detection circuit includes:
Rectifier equipment 61, for carrying out full-wave rectification to the ac signal of access, the ac signal is rectified into First electric signal;Wherein, the cycle of first electric signal is the half in the cycle of the ac signal, first telecommunications Number corresponding waveform is the waveform of upper half wave component continuous and by sine wave, and the sine wave is the ac signal pair The waveform answered;
Sample devices 62, for accessing first electric signal, gathers sampling module 622 in the sample devices 62 and divides The second electric signal, and export second electric signal is filtered after obtained input voltage signal;
Main control device 63, for monitoring input voltage signal;Judged based on the input voltage signal be in predetermined period It is no zero crossing occur, obtain the first judging result;The current state of electronic equipment is judged according to first judging result;When sentencing When the current state of the fixed electronic equipment is off-position, default discharge device in the electronic equipment is controlled to discharge.
Specifically, the sample devices includes:
Sampling module 622, the sample devices 62 obtain the second electric signal from the sampling module 622;Wherein, it is described The cycle phase of second electric signal and first electric signal is same, the corresponding input voltage value of the second electric signal described in same time point Input voltage value corresponding less than first electric signal;
Division module 621, connects with the sampling module 622, for accessing first electric signal, to the sampling mould Block carries out partial pressure;
Filter module 623, for filtering out the ripple signal in second electric signal.
In an alternative embodiment, as shown in fig. 7, the zero-crossing detection circuit further includes:Switchgear 64 and current limliting Equipment 65;Wherein,
Switchgear 64, the input voltage signal for the sample devices to be exported are converted into being represented with high and low level Input voltage signal;Wherein, low level is used to represent that the corresponding input voltage value of the input voltage signal is pre- less than first If magnitude of voltage;High level is used to represent that the corresponding input voltage value of the input voltage signal is greater than or equal to the first predeterminated voltage Value;First preset voltage value be for distinguish the input voltage be represented with high level or represented with low level one Kind critical value;
Current limiter 65, for carrying out current limliting to the electric current for flowing through the switchgear and the main control device.
Alternatively, the zero-crossing detection circuit further includes:
Filter apparatus 66, the burr signal of the switchgear 64 is flowed through for filtering out.
Fig. 8 shows a kind of optional hardware architecture diagram of zero-crossing detection circuit shown in Fig. 7, the rectifier equipment 61 It is made of diode D051, D052;The sample devices 62 is made of resistance R051, R052, R053, C053, wherein, resistance R051, R052 form division module 621, and resistance R053 forms sampling module, and capacitance C063 forms filter module 623;It is described to open Equipment 64 is closed to be made of triode Q051, Q052;The current limiter 65 is made of resistance R054, R055, R056;Filter apparatus 66 are made of capacitance C051, C052.Specifically, the cathode of diode D051 is connected with firewire (being represented with alphabetical L);Diode The cathode of D052 is connected with zero curve (being represented with alphabetical N);The anode of diode D051 and the anode of diode D052 are and resistance R051 connections, resistance R051, resistance R052, resistance R053 serial connections;One end ground connection of resistance R053, resistance R053's is another Hold and be used for output-input voltage signal for output terminal, the output terminal, base stage of the output terminal also with triode Q051 (uses word Female B is represented) it is connected, emitter (being represented with the letter e) ground connection of triode Q051, the emitter of triode Q051 (uses letter C Represent) it is connected with resistance R054, resistance R054 is connected with DC power supply VCC;The base stage of triode Q052 (uses letter b table Show) it is connected with the emitter (being represented with letter C) of triode Q051, the emitter (being represented with letter e) of triode Q052 connects Ground, the emitter (being represented with letter C) of triode Q052 are connected with resistance R055, and resistance R055 and DC power supply VCC connects Connect;The emitter (being represented with letter C) of triode Q052 is also connected with resistance R056;One end of resistance R056 is with capacitance C053's One end connects, and the other end ground connection of capacitance C053, the main control device 63 is also accessed in one end of resistance R056.
In another optional embodiment, as shown in figure 9, the zero-crossing detection circuit further includes:
Voltage follow equipment 67, for controlling the sample devices 62 to export the speed follower institute of the input voltage signal State the pace of change of the ac signal of rectifier equipment access and adjust;
Equipment 68 is protected, the input voltage signal for being exported to the sample devices 62 is detected;When described When the corresponding input voltage value of input voltage signal exceeds predetermined threshold value, the input voltage signal access protection is controlled to set Standby 68;When the corresponding input voltage value of the input voltage signal is without departing from predetermined threshold value, the input voltage signal is controlled Access the main control device 63.
Figure 10 shows a kind of optional hardware architecture diagram of the zero-crossing detection circuit shown in Fig. 9, and the rectification is set Standby 61 are made of diode D061, D062;The sample devices 62 is by division module 621, sampling module 622, filter module 623 Composition, wherein, division module 621 is made of resistance R061, R062, R063;Sampling module 622 is made of resistance R064;Filtering Module 623 is made of capacitance C062;Voltage follow equipment 67 is made of capacitance C061;Equipment 68 is protected by diode D063 groups Into.Specifically, the cathode of diode D061 is connected with firewire (being represented with alphabetical L);The cathode of diode D062 (uses word with zero curve Female N is represented) connection;The anode of diode D061 is connected with the anode of diode D062 with resistance R061, resistance R061, resistance R062, resistance R063, resistance R064 serial connections, capacitance C061 and resistance R061 are connected in parallel, capacitance C062 and resistance R064 Parallel connection;One end ground connection of resistance R064, the other end of resistance R064 is output terminal, and the output terminal is used to export input electricity Signal is pressed, cathode of the output terminal also with diode D063 is connected, anode and the DC power supply VCC of diode D063 Connection, when the corresponding input voltage value of the input voltage signal exceeds predetermined threshold value, diode D063 conductings;When described defeated When entering the corresponding input voltage value of voltage signal without departing from predetermined threshold value, control the input voltage signal to access the master control and set Standby 63.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can pass through it Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can combine, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, be shown as unit The component shown can be or may not be physical location;Both a place can be located at, multiple network lists can also be distributed to In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used To be each unit individually as a unit, can also two or more units integrate in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through The relevant hardware of programmed instruction is completed, and foregoing program can be stored in computer read/write memory medium, which exists During execution, execution the step of including above method embodiment;And foregoing storage medium includes:Movable storage device, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. is various can be with the medium of store program codes.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical solution of example substantially in other words contributes the prior art can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each embodiment the method for the present invention. And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (17)

  1. A kind of 1. control method, it is characterised in that the described method includes:
    Monitoring input voltage signal;
    Judge whether zero crossing occur in predetermined period based on the input voltage signal, obtain the first judging result;
    The current state of electronic equipment is judged according to first judging result;
    When the current state for judging the electronic equipment for off-position when, control preset in the electronic equipment discharge device into Row electric discharge.
  2. 2. according to the method described in claim 1, it is characterized in that, described judge the electronics according to first judging result The current state of equipment, including:
    If first judging result is zero crossing occur in the predetermined period,
    The current state for judging the electronic equipment is non-off-position, and the counting to non-zero crossing is reset;
    If first judging result is not occur zero crossing in the predetermined period,
    The count value of non-zero crossing is added 1, when the count value of non-zero crossing in preset time period reaches N, judges the electronics The current state of equipment is off-position;Wherein, the N represents for the predetermined period that the preset time period includes Number, the N are the positive integer more than or equal to 2.
  3. 3. according to the method described in claim 1, it is characterized in that, described judge predetermined period based on the input voltage signal Inside whether there is zero crossing, including:
    Obtain the corresponding voltage waveform of input voltage signal in predetermined period;
    If the voltage waveform is the first input voltage waveform, judged based on first input voltage waveform be in predetermined period It is no low level occur;Wherein, the low level is used to represent that the corresponding input voltage value of the input voltage signal is less than first Preset voltage value;First preset voltage value is to be used for that to distinguish the input voltage to be to represent or use low level with high level A kind of critical value represented, when the corresponding input voltage value of the input voltage signal is greater than or equal to first predeterminated voltage During value, judge the input voltage for high level;
    If occurring low level in the predetermined period, there is zero crossing in judgement.
  4. 4. according to the method described in claim 3, it is characterized in that, first input voltage waveform is square-wave waveform.
  5. 5. according to the method described in claim 1, it is characterized in that, described judge predetermined period based on the input voltage signal Inside whether there is zero crossing, including:
    Obtain the corresponding voltage waveform of input voltage signal in predetermined period;
    If the voltage waveform is the second input voltage waveform, the second preset voltage value is obtained;Wherein, second predeterminated voltage Value is to judge the upper voltage limit value of zero crossing;
    Second input voltage waveform is contrasted with representing the straight line of second preset voltage value in the same coordinate system;
    If there are the m section waveforms that amplitude is less than second preset voltage value, there is zero crossing in judgement;Wherein, the m is big In or equal to 2 positive integer.
  6. 6. according to the method described in claim 5, it is characterized in that, second input voltage waveform is by continuously and by just The waveform of the upper half wave component of string ripple.
  7. 7. according to the method described in claim 1, it is characterized in that, preset in the control electronic equipment discharge device into Row electric discharge, including:
    The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;And/or
    The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, the display surface Plate is used for the working status for showing the electronic equipment.
  8. 8. a kind of main control device, it is characterised in that the main control device includes:
    Monitoring unit, for monitoring input voltage signal;
    First judging unit, for judging whether zero crossing occur in predetermined period based on the input voltage signal, obtains One judging result;
    Second judging unit, for judging the current state of electronic equipment according to first judging result;
    Control unit, for when the current state for judging the electronic equipment for off-position when, control in the electronic equipment Default discharge device discharges.
  9. 9. main control device according to claim 8, it is characterised in that second judging unit, is specifically used for:
    If first judging result is zero crossing occur in the predetermined period,
    The current state for judging the electronic equipment is non-off-position, and the counting to non-zero crossing is reset;Wherein, it is if described Do not occur zero crossing in predetermined period, then the count value of the non-zero crossing is added 1;
    If first judging result is not occur zero crossing in the predetermined period,
    Non- zero crossing is counted, when the count value of non-zero crossing in preset time period reaches N, judges the electronic equipment Current state be off-position;Wherein, the N represents the number for the predetermined period that the preset time period includes, institute It is the positive integer more than or equal to 2 to state N.
  10. 10. main control device according to claim 8, it is characterised in that first judging unit, is specifically used for:
    Obtain corresponding first input voltage waveform of input voltage signal in predetermined period;
    Judge whether low level occur in predetermined period based on first input voltage waveform;Wherein, the low level is used for Represent that the corresponding input voltage value of the input voltage signal is less than the first preset voltage value;First preset voltage value is to use It is the critical value for being represented with high level or being represented with low level in the differentiation input voltage, when the input voltage signal pair When the input voltage value answered is greater than or equal to first preset voltage value, judge the input voltage for high level;
    If occurring low level in the predetermined period, there is zero crossing in judgement.
  11. 11. main control device according to claim 8, it is characterised in that first judging unit, also particularly useful for:
    Obtain corresponding second input voltage waveform of input voltage signal in predetermined period;
    Obtain the second preset voltage value;Wherein, second preset voltage value is the upper voltage limit value for judging zero crossing;
    Second input voltage waveform is contrasted with representing the straight line of second preset voltage value in the same coordinate system;
    If there are the m section waveforms that amplitude is less than second preset voltage value, there is zero crossing in judgement;Wherein, the m is big In or equal to 2 positive integer.
  12. 12. main control device according to claim 8, it is characterised in that described control unit, is specifically used for:
    The wind turbine of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;And/or
    The display panel of the electronic equipment is notified to open, to consume the remaining capacity in electronic equipment;Wherein, the display surface Plate is used for the working status for showing the electronic equipment.
  13. 13. a kind of zero-crossing detection circuit, it is characterised in that the zero-crossing detection circuit includes:
    Rectifier equipment, for carrying out full-wave rectification to the ac signal of access, the first electricity is rectified into by the ac signal Signal;Wherein, the cycle of first electric signal is the half in the cycle of the ac signal, and first electric signal corresponds to Waveform be upper half wave component continuous and by sine wave waveform, the sine wave is the corresponding ripple of the ac signal Shape;
    Sample devices, for accessing first electric signal, gathers the second telecommunications that sampling module in the sample devices is got Number, and export the input voltage signal to being obtained after second electric signal filtering;
    Main control device, for monitoring input voltage signal;Judge whether occur in predetermined period based on the input voltage signal Zero crossing, obtains the first judging result;The current state of electronic equipment is judged according to first judging result;When described in judgement When the current state of electronic equipment is off-position, default discharge device in the electronic equipment is controlled to discharge.
  14. 14. zero-crossing detection circuit according to claim 13, it is characterised in that the sample devices includes:
    Sampling module, the sample devices obtain the second electric signal from the sampling module;Wherein, second electric signal with The cycle phase of first electric signal is same, and the corresponding input voltage value of the second electric signal described in same time point is less than described first The corresponding input voltage value of electric signal;
    Division module, connects with the sampling module, and for accessing first electric signal, the sampling module is divided Pressure;
    Filter module, for filtering out the ripple signal in second electric signal.
  15. 15. the zero-crossing detection circuit according to claim 13 or 14, it is characterised in that the zero-crossing detection circuit is also Including:
    Switchgear, the input voltage signal for the sample devices to be exported are converted into the input represented with high and low level Voltage signal;Wherein, low level is used to represent that the corresponding input voltage value of the input voltage signal is less than the first predeterminated voltage Value;High level is used to represent that the corresponding input voltage value of the input voltage signal is greater than or equal to the first preset voltage value;Institute It for distinguishing the input voltage is that the one kind for being represented with high level or being represented with low level is faced to state the first preset voltage value to be Dividing value;
    Current limiter, for carrying out current limliting to the electric current for flowing through the switchgear and the main control device.
  16. 16. zero-crossing detection circuit according to claim 15, it is characterised in that the zero-crossing detection circuit also wraps Include:
    Filter apparatus, the burr signal of the switchgear is flowed through for filtering out.
  17. 17. the zero-crossing detection circuit according to claim 13 or 14, it is characterised in that the zero-crossing detection circuit is also Including:
    Voltage follow equipment, for controlling rectification described in the speed follower of the sample devices output input voltage signal to set Adjusted for the pace of change of the ac signal of access;
    Equipment is protected, the input voltage signal for being exported to the sample devices is detected;When the input voltage When the corresponding input voltage value of signal exceeds predetermined threshold value, the input voltage signal is controlled to access the protection equipment;Work as institute When stating the corresponding input voltage value of input voltage signal without departing from predetermined threshold value, the input voltage signal is controlled to access the master Control equipment.
CN201610890351.3A 2016-10-12 2016-10-12 Control method, master control equipment and zero-crossing detection circuit Active CN107942736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610890351.3A CN107942736B (en) 2016-10-12 2016-10-12 Control method, master control equipment and zero-crossing detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610890351.3A CN107942736B (en) 2016-10-12 2016-10-12 Control method, master control equipment and zero-crossing detection circuit

Publications (2)

Publication Number Publication Date
CN107942736A true CN107942736A (en) 2018-04-20
CN107942736B CN107942736B (en) 2020-06-16

Family

ID=61928271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610890351.3A Active CN107942736B (en) 2016-10-12 2016-10-12 Control method, master control equipment and zero-crossing detection circuit

Country Status (1)

Country Link
CN (1) CN107942736B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109084446A (en) * 2018-08-23 2018-12-25 奥克斯空调股份有限公司 A kind of air conditioning control method, device and air conditioner
CN109085414A (en) * 2018-08-10 2018-12-25 深圳和而泰智能控制股份有限公司 Voltage detection method and device
CN111103554A (en) * 2019-11-27 2020-05-05 九阳股份有限公司 Power failure detection method, device, circuit system and computer storage medium
CN111384780A (en) * 2020-03-24 2020-07-07 佳源科技有限公司 High-speed reliable Internet of things power broadband carrier High Performance Liquid Chromatography (HPLC) system
WO2020211114A1 (en) * 2019-04-19 2020-10-22 青岛亿联客信息技术有限公司 Flash switch control system and input flash detection circuit thereof
CN112105106A (en) * 2020-08-14 2020-12-18 中山市合硕高品电器有限公司 Control method and device of induction cooker
CN112491008A (en) * 2020-11-23 2021-03-12 四川虹美智能科技有限公司 Electric quantity consumption device and method of electronic controller
CN114509975A (en) * 2022-02-16 2022-05-17 珠海格力电器股份有限公司 Electric appliance control method, control device and nonvolatile storage medium
CN115371200A (en) * 2022-08-09 2022-11-22 珠海格力电器股份有限公司 Air conditioner discharging method and device, storage medium and air conditioner
WO2023141798A1 (en) * 2022-01-26 2023-08-03 华为技术有限公司 Data bus inversion judgment method, circuit and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549921A (en) * 2009-10-01 2012-07-04 Bsh博世和西门子家用电器有限公司 Method for operating a household appliance and household appliance for carrying out said method
CN103235611A (en) * 2013-04-28 2013-08-07 东莞理工学院 Control method and controller for proportion integration differentiation (PID) control-based breathing machine heating and humidifying system
CN104168679A (en) * 2013-05-17 2014-11-26 美的集团股份有限公司 Induction cooker and induction cooker discharge method
CN104269837A (en) * 2014-10-17 2015-01-07 广东美的厨房电器制造有限公司 Unplugging protection device
CN104423292A (en) * 2013-08-23 2015-03-18 苏州三星电子有限公司 X capacitor bleeding control method and circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102549921A (en) * 2009-10-01 2012-07-04 Bsh博世和西门子家用电器有限公司 Method for operating a household appliance and household appliance for carrying out said method
CN103235611A (en) * 2013-04-28 2013-08-07 东莞理工学院 Control method and controller for proportion integration differentiation (PID) control-based breathing machine heating and humidifying system
CN104168679A (en) * 2013-05-17 2014-11-26 美的集团股份有限公司 Induction cooker and induction cooker discharge method
CN104423292A (en) * 2013-08-23 2015-03-18 苏州三星电子有限公司 X capacitor bleeding control method and circuit
CN104269837A (en) * 2014-10-17 2015-01-07 广东美的厨房电器制造有限公司 Unplugging protection device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109085414A (en) * 2018-08-10 2018-12-25 深圳和而泰智能控制股份有限公司 Voltage detection method and device
CN109085414B (en) * 2018-08-10 2021-06-11 深圳和而泰智能控制股份有限公司 Voltage detection method and device
CN109084446A (en) * 2018-08-23 2018-12-25 奥克斯空调股份有限公司 A kind of air conditioning control method, device and air conditioner
CN109084446B (en) * 2018-08-23 2019-09-13 奥克斯空调股份有限公司 A kind of air conditioning control method, device and air conditioner
WO2020211114A1 (en) * 2019-04-19 2020-10-22 青岛亿联客信息技术有限公司 Flash switch control system and input flash detection circuit thereof
CN111103554A (en) * 2019-11-27 2020-05-05 九阳股份有限公司 Power failure detection method, device, circuit system and computer storage medium
CN111384780A (en) * 2020-03-24 2020-07-07 佳源科技有限公司 High-speed reliable Internet of things power broadband carrier High Performance Liquid Chromatography (HPLC) system
CN112105106A (en) * 2020-08-14 2020-12-18 中山市合硕高品电器有限公司 Control method and device of induction cooker
CN112491008A (en) * 2020-11-23 2021-03-12 四川虹美智能科技有限公司 Electric quantity consumption device and method of electronic controller
WO2023141798A1 (en) * 2022-01-26 2023-08-03 华为技术有限公司 Data bus inversion judgment method, circuit and device
CN114509975A (en) * 2022-02-16 2022-05-17 珠海格力电器股份有限公司 Electric appliance control method, control device and nonvolatile storage medium
CN115371200A (en) * 2022-08-09 2022-11-22 珠海格力电器股份有限公司 Air conditioner discharging method and device, storage medium and air conditioner

Also Published As

Publication number Publication date
CN107942736B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN107942736A (en) A kind of control method, main control device and zero-crossing detection circuit
CN101330224B (en) Uninterrupted power source
CN104967100B (en) Voltage swells protective device, the method for pfc circuit in frequency-conversion domestic electric appliances equipment
CN103033769A (en) Fault detection method of three-phase power supply
US20090051344A1 (en) Triac/scr-based energy savings device, system and method
CN104967301B (en) Voltage swells protective device, the method for pfc circuit in frequency-conversion domestic electric appliances equipment
CN104682543B (en) A kind of mixed power supply system based on DC frequency-changing generating set
CN115333388B (en) Rectifier module switching method, device, terminal and storage medium
CN108075633A (en) Soft-start method, device, circuit and the electric appliance of circuit of power factor correction
CN208890421U (en) A kind of electric tool
CN109038476A (en) A kind of current foldback circuit and controller
CN209676119U (en) Drive control circuit and air conditioner
CN110824380B (en) Three-phase earth fault detection circuit and three-phase earth fault detection method
CN106603641A (en) Intelligent control method and intelligent control system of IoT device
CN106208820B (en) A kind of high-performance inverter with single-phase asynchronous motor soft start function
CN205812425U (en) A kind of kitchen appliance surge protection circuit
CN107359594A (en) Compressor power-off demagnetization guard method, device, household electrical appliance and storage medium
CN111835185A (en) Alternating current source self-adaptive control circuit with different voltage levels and operation logic method
CN107291202A (en) Regulation and control method, device and the computer-readable recording medium of power supply
CN208638018U (en) A kind of controller
CN110207341A (en) Drive control circuit and air conditioner
CN106410759B (en) A kind of method and device thereof of exchange line control machine communication overcurrent protection
CN205864833U (en) A kind of network ion blower
CN108964003A (en) A kind of power supply misconnection protective device, method and air conditioner
CN105971867B (en) The detection method and device of compressor fault

Legal Events

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