CN101303376A - Method and apparatus for compensating voltage zero-cross detection - Google Patents

Method and apparatus for compensating voltage zero-cross detection Download PDF

Info

Publication number
CN101303376A
CN101303376A CNA2008100674579A CN200810067457A CN101303376A CN 101303376 A CN101303376 A CN 101303376A CN A2008100674579 A CNA2008100674579 A CN A2008100674579A CN 200810067457 A CN200810067457 A CN 200810067457A CN 101303376 A CN101303376 A CN 101303376A
Authority
CN
China
Prior art keywords
zero
timer
voltage
zero passage
look
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
CNA2008100674579A
Other languages
Chinese (zh)
Other versions
CN101303376B (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.)
Shenzhen H&T Intelligent Control Co Ltd
Original Assignee
Shenzhen H&T Intelligent Control 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 Shenzhen H&T Intelligent Control Co Ltd filed Critical Shenzhen H&T Intelligent Control Co Ltd
Priority to CN2008100674579A priority Critical patent/CN101303376B/en
Publication of CN101303376A publication Critical patent/CN101303376A/en
Application granted granted Critical
Publication of CN101303376B publication Critical patent/CN101303376B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a zero passage voltage detection and compensation method which is characterized by including the steps that: a timer is started up after zero passage voltage interrupt signals are received and the timing time of the timer is the offset time of a zero crossing point of voltage; the interrupt point of the timer is determined as the zero crossing point of the voltage after the interrupt signals of the timer are received. The invention also discloses a corresponding zero passage voltage detection and compensation device. The method and the device of the invention can accurately detect an absolute zero crossing point of the voltage without adding hardware cost and can be applied to occasions demanding very accurate zero passage signals.

Description

A kind of voltage zero-cross detects compensation method and device
Technical field
The present invention relates to the voltage zero-cross detection technique, relate in particular to a kind of voltage zero-cross and detect compensation method and device.
Background technology
In electronic technology, zero passage is meant alternating voltage in the change procedure of voltage, and change in voltage arrives that of zero, can utilize this zero crossing to come generally to be used for timing and to open SCR control as reference point in line design usually.The method and the circuit that have occurred a lot of zero passage detection therefrom.Fig. 1 and Fig. 2 are two kinds of zero passage detection circuits that utilize diode and triode to realize respectively relatively more commonly used in the prior art, in above circuit, when zero crossing arrives, produce the zero passage look-at-me, under the situation of interrupting over the single-chip microcomputer, send in the single-chip microcomputer by the I/O mouth of single-chip microcomputer.
Above-mentioned prior art problems is, adopt these two kinds of wireline inspection to the zero cross signal situation that hysteresis all can be arranged basically or postpone, rather than absolute zero passage.Under less demanding situation, as timing, drive the controllable silicon of resistive load etc., problem is little, requires zero cross signal occasion very accurately but can not be applied in.
Summary of the invention
Technical matters to be solved by this invention is: provide a kind of voltage zero-crossing signal to detect compensation method, this method can detect the absolute voltage zero crossing exactly, need not to increase hardware cost, can be applicable to zero cross signal requirement occasion very accurately.
The further technical matters to be solved of the present invention is: provide a kind of voltage zero-crossing signal to detect compensation system, this device can detect the absolute voltage zero crossing exactly, need not to increase hardware cost, can be applicable to zero cross signal requirement occasion very accurately.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of zero passage voltage detection and compensation method is characterized in that, may further comprise the steps:
After receiving the zero passage voltage look-at-me, start timer, the timing of described timer is the voltage over zero shift time;
After receiving the look-at-me of timer, this timer point of interruption is defined as voltage over zero.
Correspondingly, the present invention also adopts following technical scheme:
A kind of zero passage voltage detection and compensation device, this device includes:
Zero passage Interrupt Process unit is used for after receiving the zero passage voltage look-at-me, starts timer, and the timing of described timer is the voltage over zero shift time;
The zero crossing determining unit is used for after receiving the look-at-me of timer, and this timer point of interruption is defined as voltage over zero.
The invention has the beneficial effects as follows:
On the basis of embodiments of the invention by zero passage circuit commonly used in the prior art, utilize the timer internal and the external interrupt of single-chip microcomputer itself to work in coordination, zero passage look-at-me to the outside is revised, thereby obtain zero passage look-at-me accurately, thereby increase under the situation of hardware cost need not, can be applicable to zero cross signal requirement occasion very accurately.
The present invention is described in further detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is the circuit theory diagrams that utilize the zero passage detection circuit of diode realization in the prior art.
Fig. 2 is the circuit theory diagrams that utilize the zero passage detection circuit of triode realization in the prior art.
Fig. 3 is the oscillogram of line voltage.
Fig. 4 is the zero cross signal oscillogram that zero passage detection circuit of the prior art produces.
Fig. 5 is actual zero cross signal oscillogram.
Fig. 6 is the method flow diagram of an embodiment of zero passage detection compensation method provided by the invention.
Embodiment
As shown in Figure 3, the used line voltage standard of electric equipment is 220V 50Hz usually.Because the on state characteristic of diode and triode, the forward voltage of general diode and triode are about 0.3-0.7V, therefore in real voltage zero-cross, not having rising and falling edges in the circuit illustrated in figures 1 and 2 produces, and cause zero cross signal to have some skew, with reference to figure 4, among the figure, each waveform is not the 10ms of standard, and might be offset a bit, and as 9.5ms, 10.5ms etc., but the frequency of waveform still can not become, or 50Hz.
According to above-mentioned, in Single Chip Microcomputer (SCM) system, can utilize the timer internal of single-chip microcomputer itself and external interrupt to work in coordination, its outside zero passage look-at-me is compensated and corrected, obtain zero passage look-at-me more accurately.Under the situation that does not increase hardware cost, just can realize real zero passage like this, require tighter occasion just can use to zero cross signal at some.
Present embodiment is on the basis of zero passage detection circuit commonly used in the prior art, utilizes the timer internal of single-chip microcomputer itself and external interrupt to work in coordination, and the zero passage look-at-me of outside is compensated and corrected, thereby obtain zero passage look-at-me accurately.
During specific implementation, can set an external interrupt and a timer internal in single-chip microcomputer, the IO mouth of external interrupt connects circuit as depicted in figs. 1 and 2.When zero cross signal comes, A point as Fig. 4, single-chip microcomputer enters the zero passage interrupt service routine, and at this moment be not real zero crossing, real zero crossing is at the B of Fig. 5 point, the A point has been done sth. in advance 0.5ms than the B point, therefore be 0.5ms the break period of setting timer internal in the zero passage interrupt service routine, open timer internal, when the interruption of timer internal timing 0.5 has come, enter in-line interrupt service routine, arrived the B point of Fig. 5, be exactly real zero crossing, just can carry out various the operation after having found real zero crossing.Can just can find other real zero crossing by similar method, thereby realize obtaining of accurate zero cross signal.
With reference to figure 6, particularly, as follows to the process of the zero passage look-at-me single compensation correction of outside:
Step S01 is a zero passage Interrupt Process step, in this step, receive the zero passage voltage look-at-me after, start timer, the timing of described timer is the voltage over zero shift time, during specific implementation, its timing is 5ms;
Step S02 is the zero crossing determining step, in this step, receive the look-at-me of timer after, this timer point of interruption is defined as voltage over zero.
Describe an embodiment of zero passage voltage detection and compensation device provided by the invention below in detail.Present embodiment mainly includes:
Zero passage Interrupt Process unit is used for after receiving the zero passage voltage look-at-me, starts timer;
The voltage over zero determining unit is used for after receiving the look-at-me of timer, and this timer point of interruption is defined as voltage over zero.
During specific implementation, the timing of described timer is the time of zero cross signal time-delay, as 5ms.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.

Claims (4)

1, a kind of zero passage voltage detection and compensation method is characterized in that, may further comprise the steps:
After receiving the zero passage voltage look-at-me, start timer, the timing of described timer is the voltage over zero shift time;
After receiving the look-at-me of timer, this timer point of interruption is defined as voltage over zero.
2, zero passage voltage detection and compensation method as claimed in claim 1 is characterized in that, the timing of described timer is 5ms.
3, a kind of zero passage voltage detection and compensation device is characterized in that, this device includes:
Zero passage Interrupt Process unit is used for after receiving the zero passage voltage look-at-me, starts timer, and the timing of described timer is the voltage over zero shift time;
The zero crossing determining unit is used for after receiving the look-at-me of timer, and this timer point of interruption is defined as voltage over zero.
4, zero passage voltage detection and compensation device as claimed in claim 1 is characterized in that, the timing of described timer is 5ms.
CN2008100674579A 2008-05-26 2008-05-26 Method and apparatus for compensating voltage zero-cross detection Expired - Fee Related CN101303376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100674579A CN101303376B (en) 2008-05-26 2008-05-26 Method and apparatus for compensating voltage zero-cross detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100674579A CN101303376B (en) 2008-05-26 2008-05-26 Method and apparatus for compensating voltage zero-cross detection

Publications (2)

Publication Number Publication Date
CN101303376A true CN101303376A (en) 2008-11-12
CN101303376B CN101303376B (en) 2011-06-15

Family

ID=40113379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100674579A Expired - Fee Related CN101303376B (en) 2008-05-26 2008-05-26 Method and apparatus for compensating voltage zero-cross detection

Country Status (1)

Country Link
CN (1) CN101303376B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102121950A (en) * 2010-12-21 2011-07-13 厦门拓能信息科技有限公司 Method for zero crossing detection of adaptive alternating-current voltage
CN102890183A (en) * 2012-10-23 2013-01-23 四川长虹空调有限公司 Method and device for automatic voltage correction of zero crossing detection circuit
CN104090151A (en) * 2014-04-14 2014-10-08 西安工程大学 Zero-crossing-point accurate detection method for AC power-grid voltage signals
CN106102225A (en) * 2016-06-20 2016-11-09 福州台江区超人电子有限公司 Bridge guardrail pipe control system of lamp decoration
CN106199160A (en) * 2016-08-31 2016-12-07 杭州康奋威科技股份有限公司 Voltage zero-crossing point of power grid detection method and detection device
CN106452120A (en) * 2016-12-02 2017-02-22 四川英杰电气股份有限公司 Phase-locking synchronous compensation processing method and system
CN107367633A (en) * 2016-05-11 2017-11-21 佛山市顺德区美的电热电器制造有限公司 Zero-cross processing method, device and equipment for voltage zero-crossing detection circuit
CN109782207A (en) * 2019-01-30 2019-05-21 廖金群 Zero passage detection calibration method, device, electronic equipment and storage medium
CN109799384A (en) * 2017-11-16 2019-05-24 佛山市顺德区美的电热电器制造有限公司 Voltage zero-cross detection method, device and cooking appliance
CN111366778A (en) * 2018-12-25 2020-07-03 施耐德电气(澳大利亚)有限公司 Method and device for detecting zero-crossing times of an electrical signal, electronic regulating device
CN112557740A (en) * 2020-12-07 2021-03-26 深圳市朗科智能电气股份有限公司 Method and device for avoiding zero-crossing signal detection time deviation in zero-crossing detection circuit

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102121950A (en) * 2010-12-21 2011-07-13 厦门拓能信息科技有限公司 Method for zero crossing detection of adaptive alternating-current voltage
CN102890183A (en) * 2012-10-23 2013-01-23 四川长虹空调有限公司 Method and device for automatic voltage correction of zero crossing detection circuit
CN104090151A (en) * 2014-04-14 2014-10-08 西安工程大学 Zero-crossing-point accurate detection method for AC power-grid voltage signals
CN107367633B (en) * 2016-05-11 2019-08-27 佛山市顺德区美的电热电器制造有限公司 Zero-cross processing method, device and equipment for voltage zero-crossing detection circuit
CN107367633A (en) * 2016-05-11 2017-11-21 佛山市顺德区美的电热电器制造有限公司 Zero-cross processing method, device and equipment for voltage zero-crossing detection circuit
CN106102225A (en) * 2016-06-20 2016-11-09 福州台江区超人电子有限公司 Bridge guardrail pipe control system of lamp decoration
CN106199160A (en) * 2016-08-31 2016-12-07 杭州康奋威科技股份有限公司 Voltage zero-crossing point of power grid detection method and detection device
CN106199160B (en) * 2016-08-31 2019-02-26 杭州康奋威科技股份有限公司 Voltage zero-crossing point of power grid detection method and detection device
CN106452120A (en) * 2016-12-02 2017-02-22 四川英杰电气股份有限公司 Phase-locking synchronous compensation processing method and system
CN109799384B (en) * 2017-11-16 2020-11-20 佛山市顺德区美的电热电器制造有限公司 Voltage zero-crossing detection method and device and cooking appliance
CN109799384A (en) * 2017-11-16 2019-05-24 佛山市顺德区美的电热电器制造有限公司 Voltage zero-cross detection method, device and cooking appliance
CN111366778A (en) * 2018-12-25 2020-07-03 施耐德电气(澳大利亚)有限公司 Method and device for detecting zero-crossing times of an electrical signal, electronic regulating device
CN111366778B (en) * 2018-12-25 2022-12-27 施耐德电气(澳大利亚)有限公司 Method and device for detecting the zero crossing of an electrical signal, electronic regulating device
CN109782207A (en) * 2019-01-30 2019-05-21 廖金群 Zero passage detection calibration method, device, electronic equipment and storage medium
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

Also Published As

Publication number Publication date
CN101303376B (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN101303376B (en) Method and apparatus for compensating voltage zero-cross detection
CN105790754B (en) A kind of number isolation circuit and its control method
CN104821708B (en) Lift the circuit structure of primary side feedback power-supply system EFT immunity to interference
CN1312850C (en) Method and devices for controlling loads connected to powr line
CN101872960A (en) Phase sequence detection and adjustment method and circuit
CN103094884A (en) System and method of power conversion system on condition of open circuit and/or short circuit
WO2004061690A3 (en) Apparatus and method for bus signal termination compensation during detected quiet cycle
CN101752845A (en) Voltage and current surge protection method for electromagnetic oven and circuit thereof
US7940536B2 (en) Flyback converter with improved synchronous rectification
CN106558449A (en) Relay control device and its control method
CN109001622B (en) Detection method for external load switch of electric energy meter
CN105372552A (en) Load open circuit detection circuit and method for high-side switch
CN103208782A (en) Comprehensive detection and electric protection device for power frequency and variable frequency power supplies
CN102890183B (en) Method and device for automatic voltage correction of zero crossing detection circuit
CN102739085A (en) Inverter phase sequence detection phase locking device and phase locking and phase sequence identifying method
CN102005729A (en) Method for self-adaptation to alternating-current input signals of intelligent motor protection controller
CN102522969B (en) Anti-interference method of IGBT (Insulated Gate Bipolar Translator)
CN201904748U (en) Five-phase brushless direct current motor controller with Hall fault tolerance function
CN103926455A (en) Method and apparatus for identification of DC input voltage transient speed
CN102075126B (en) Five-phase brushless direct-current motor control method having Hall fault-tolerance function
CN205353651U (en) Soybean milk machine control circuit
CN204229171U (en) A kind of air-conditioner set control circuit based on dual processors backup
CN202317371U (en) Intelligent magnetic biasing detecting and processing device for inverter welding power source
CN203416196U (en) Motor rotating speed tracing apparatus
CN1897435A (en) Power supplier with over-low-voltage protecting system and over-low-voltage protection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: SHENZHEN H&T INTELLIGENT CONTROL Co.,Ltd. Person in charge of patentsThe principal of patent

Document name: payment instructions

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Pan Jinmei

Document name: Notice of termination of patent right

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110615