CN105092948A - High-precision alternating-current signal zero crossing detection device and method - Google Patents
High-precision alternating-current signal zero crossing detection device and method Download PDFInfo
- Publication number
- CN105092948A CN105092948A CN201510525509.2A CN201510525509A CN105092948A CN 105092948 A CN105092948 A CN 105092948A CN 201510525509 A CN201510525509 A CN 201510525509A CN 105092948 A CN105092948 A CN 105092948A
- Authority
- CN
- China
- Prior art keywords
- optocoupler
- signal
- programmable logic
- logic device
- pld
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Electronic Switches (AREA)
Abstract
The invention discloses a high-precision alternating-current signal zero crossing detection device comprising an optical coupling device U1, an optical coupling device U2, and a programmable logic device. An L end of an alternating-current signal to be detected is electrically connected with the anode of the optical coupling device U1 and the cathode of the optical coupling device U2, and an N end is electrically connected with the cathode of the optical coupling device U1 and the anode of the optical coupling device U2. The collector of the optical coupling device U1 and the collector of the optical coupling device U2 are connected with an I/O input port of the programmable logic device, and are electrically connected with a power supply VCC. The emitter of the optical coupling device U1 and the emitter of the optical coupling device U2 are grounded. The invention further discloses a high-precision alternating-current signal zero crossing detection method. The programmable logic device processes level signals output by the optical coupling device U1 and the optical coupling device U2, and finally, outputs a narrow pulse signal corresponding to the zero crossing point of the alternating-current signal. The high-precision alternating-current signal zero crossing detection device is simple in structure, stable and reliable, and easy to use, and has strong anti-interference ability.
Description
Technical field
The present invention relates to a kind of high-precision AC signal zero crossing detection device, also relate to a kind of high-precision AC signal zero passage detection method, belong to signal detection technique field.
Background technology
Existing AC signal zero crossing detection circuit is of a great variety, and the circuit wherein utilizing optocoupler to carry out zero passage detection is widely used.
Existing optocoupler pick-up unit forms with two optocouplers, and its detection method utilizes AC signal to realize the detection of zero crossing in the characteristic close to optocoupler cut-off during zero crossing.Cut-off due to optocoupler is not the zero crossing of strict corresponding AC signal, therefore there is the problems such as dead band, zero passage out of true, error be large.
Summary of the invention
The object of the invention is to overcome deficiency of the prior art, a kind of high-precision AC signal zero crossing detection device is provided, solve optocoupler zero passage detection in prior art and there is dead band, zero passage out of true, technical matters that error is large.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: high-precision AC signal zero crossing detection device, comprise optocoupler U1, optocoupler U2 and programmable logic device (PLD), described optocoupler U1, optocoupler U2 comprise respectively: respective light emitting diode and the phototriode that arrange corresponding to light emitting diode;
The L end of AC signal to be detected is connected with the anode of optocoupler U1, the cathodic electricity of optocoupler U2 respectively, and N end is electrically connected with the negative electrode of optocoupler U1, the anode of optocoupler U2 respectively;
The collector of described optocoupler U1, the collector of optocoupler U2 are connected with the I/O input port of programmable logic device (PLD) respectively, are electrically connected respectively with the output terminal of power supply VCC simultaneously; The emitter of optocoupler U1, the emitter of optocoupler U2 ground connection respectively;
The I/O delivery outlet of described programmable logic device (PLD) is connected with main circuit digital quantity input port;
When the L-N of AC signal holds the positive half cycle of wave form output, the LEDs ON of optocoupler U1 is also luminous, the phototriode conducting of optocoupler U1, output low level; The light emitting diode cut-off of optocoupler U2 simultaneously, the phototriode cut-off of optocoupler U2, exports high level;
When the L-N of AC signal holds the positive half cycle of wave form output, the LEDs ON of optocoupler U2 is also luminous, the phototriode conducting of optocoupler U2, output low level; The light emitting diode cut-off of optocoupler U1 simultaneously, the phototriode cut-off of optocoupler U1, exports high level;
The level signal that described programmable logic device (PLD) exports according to optocoupler U1, optocoupler U2 is detected zero point.
As a further improvement on the present invention, the L of described AC signal holds successively after series limiting resistor R1, current-limiting resistance R2, then is connected with the anode of optocoupler U1, the cathodic electricity of optocoupler U2 respectively.
As a further improvement on the present invention, the collector of described optocoupler U1, the collector of optocoupler U2 are electrically connected respectively by the output terminal of respective pull-up resistor with power supply VCC.
Another object of the present invention is to, a kind of high-precision AC signal zero passage detection method is provided, comprises the steps:
Step one: programmable logic device (PLD) gathers the level signal that optocoupler U1, optocoupler U2 export, and to the level signal negate gathered, be designated as respectively: S1, S2;
Step 2: programmable logic device (PLD) carries out NOR-logic computing to signal S1 and S2, obtains square-wave signal S3;
Step 3: programmable logic device (PLD) measures the pulse width of square-wave signal S3;
Step 4: programmable logic device (PLD), at a half of square-wave signal S3 width, exports the zero crossing of burst pulse S4, S4 and corresponding AC signal L, N by I/O delivery outlet.
Compared with prior art, the present invention reaches
beneficial effectbe: structure is simple, reliable and stable, easy to use, there is stronger antijamming capability.
Accompanying drawing explanation
Fig. 1 is the circuit diagram of high-precision AC signal zero crossing detection device provided by the invention.
Fig. 2 is the process flow diagram of high-precision AC signal zero passage detection method provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
As shown in Figure 1, high-precision AC signal zero crossing detection device, comprise optocoupler U1, optocoupler U2 and programmable logic device (CPLD), optocoupler U1, optocoupler U2 comprise respectively: respective light emitting diode and the phototriode that arrange corresponding to light emitting diode.The I/O delivery outlet of programmable logic device (CPLD) is connected with main circuit digital quantity input port.
The L of AC signal to be detected holds successively after series limiting resistor R1, current-limiting resistance R2, then is connected with the anode of optocoupler U1, the cathodic electricity of optocoupler U2 respectively, and N end is electrically connected with the negative electrode of optocoupler U1, the anode of optocoupler U2 respectively.The collector of optocoupler U1, the collector of optocoupler U2 are connected with the I/O input port of programmable logic device (CPLD) respectively, are electrically connected respectively by the output terminal of respective pull-up resistor with power supply VCC simultaneously.The emitter of optocoupler U1, the emitter of optocoupler U2 ground connection respectively.
When the L-N of AC signal holds the positive half cycle of wave form output, the LEDs ON of optocoupler U1 is also luminous, the phototriode conducting of optocoupler U1, output low level; The light emitting diode cut-off of optocoupler U2 simultaneously, the phototriode cut-off of optocoupler U2, exports high level.
When the L-N of AC signal holds the positive half cycle of wave form output, the LEDs ON of optocoupler U2 is also luminous, the phototriode conducting of optocoupler U2, output low level; The light emitting diode cut-off of optocoupler U1 simultaneously, the phototriode cut-off of optocoupler U1, exports high level.
The level signal that programmable logic device (CPLD) exports according to optocoupler U1, optocoupler U2 is detected zero point.
A kind of high-precision AC signal zero passage detection method provided by the invention realizes based on above-mentioned zero crossing detection device, comprises the steps:
Step one: programmable logic device (CPLD) gathers the level signal that optocoupler U1, optocoupler U2 export, and to the level signal negate gathered, be designated as respectively: S1, S2;
Step 2: programmable logic device (CPLD) carries out NOR-logic computing to signal S1 and S2, obtains square-wave signal S3;
Step 3: programmable logic device (CPLD) measures the pulse width of square-wave signal S3;
Step 4: programmable logic device (CPLD), at a half of square-wave signal S3 width, exports the zero crossing of burst pulse S4, S4 and corresponding AC signal L, N by I/O delivery outlet.
High-precision AC signal zero passage detection method provided by the invention has stronger antijamming capability.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.
Claims (4)
1. high-precision AC signal zero crossing detection device, it is characterized in that, comprise optocoupler U1, optocoupler U2 and programmable logic device (PLD), described optocoupler U1, optocoupler U2 comprise respectively: respective light emitting diode and the phototriode that arrange corresponding to light emitting diode;
The L end of AC signal to be detected is connected with the anode of optocoupler U1, the cathodic electricity of optocoupler U2 respectively, and N end is electrically connected with the negative electrode of optocoupler U1, the anode of optocoupler U2 respectively;
The collector of described optocoupler U1, the collector of optocoupler U2 are connected with the I/O input port of programmable logic device (PLD) respectively, are electrically connected respectively with the output terminal of power supply VCC simultaneously; The emitter of optocoupler U1, the emitter of optocoupler U2 ground connection respectively;
The I/O delivery outlet of described programmable logic device (PLD) is connected with main circuit digital quantity input port;
When the L-N of AC signal holds the positive half cycle of wave form output, the LEDs ON of optocoupler U1 is also luminous, the phototriode conducting of optocoupler U1, output low level; The light emitting diode cut-off of optocoupler U2 simultaneously, the phototriode cut-off of optocoupler U2, exports high level;
When the L-N of AC signal holds the positive half cycle of wave form output, the LEDs ON of optocoupler U2 is also luminous, the phototriode conducting of optocoupler U2, output low level; The light emitting diode cut-off of optocoupler U1 simultaneously, the phototriode cut-off of optocoupler U1, exports high level;
The level signal that described programmable logic device (PLD) exports according to optocoupler U1, optocoupler U2 is detected zero point.
2. high-precision AC signal zero crossing detection device according to claim 1, is characterized in that, the L of described AC signal holds successively after series limiting resistor R1, current-limiting resistance R2, then is connected with the anode of optocoupler U1, the cathodic electricity of optocoupler U2 respectively.
3. high-precision AC signal zero crossing detection device according to claim 1, is characterized in that, the collector of described optocoupler U1, the collector of optocoupler U2 are electrically connected respectively by the output terminal of respective pull-up resistor with power supply VCC.
4. high-precision AC signal zero passage detection method, is characterized in that, comprise the steps:
Step one: programmable logic device (PLD) gathers the level signal that optocoupler U1, optocoupler U2 export, and to the level signal negate gathered, be designated as respectively: S1, S2;
Step 2: programmable logic device (PLD) carries out NOR-logic computing to signal S1 and S2, obtains square-wave signal S3;
Step 3: programmable logic device (PLD) measures the pulse width of square-wave signal S3;
Step 4: programmable logic device (PLD), at a half of square-wave signal S3 width, exports the zero crossing of burst pulse S4, S4 and corresponding AC signal L, N by I/O delivery outlet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510525509.2A CN105092948A (en) | 2015-08-25 | 2015-08-25 | High-precision alternating-current signal zero crossing detection device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510525509.2A CN105092948A (en) | 2015-08-25 | 2015-08-25 | High-precision alternating-current signal zero crossing detection device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105092948A true CN105092948A (en) | 2015-11-25 |
Family
ID=54573842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510525509.2A Pending CN105092948A (en) | 2015-08-25 | 2015-08-25 | High-precision alternating-current signal zero crossing detection device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105092948A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105675968A (en) * | 2016-04-08 | 2016-06-15 | 南京工程学院 | High-precision three-phase AC signal positive-negative zero-crossing detecting device and method |
CN106383264A (en) * | 2016-06-08 | 2017-02-08 | 江苏现代电力科技股份有限公司 | Anti-interference high-precision zero-crossing detection method |
CN108540112A (en) * | 2018-04-04 | 2018-09-14 | 沈机(上海)智能系统研发设计有限公司 | Control circuit, circuit control method and circuit system |
CN111853840A (en) * | 2020-07-17 | 2020-10-30 | 国电泉州热电有限公司 | Slag dragging control device and method, slag dragging machine and boiler |
CN115442210A (en) * | 2022-08-18 | 2022-12-06 | 海南电网有限责任公司 | Low-voltage power failure and restoration alarm method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59121511A (en) * | 1982-12-28 | 1984-07-13 | Toppan Printing Co Ltd | Zero-crossing control circuit |
JPH02223218A (en) * | 1989-02-23 | 1990-09-05 | Nec Corp | Zero cross detection circuit for ac power source |
JP2004328869A (en) * | 2003-04-23 | 2004-11-18 | Sharp Corp | Zero cross signal output device, and image forming apparatus |
CN2757310Y (en) * | 2004-08-03 | 2006-02-08 | 东南大学 | Mixed power electronic breaker observe and control device |
CN101598749A (en) * | 2009-06-26 | 2009-12-09 | 中兴通讯股份有限公司 | Three-phase does not have the center line alternating current zero crossing detection device |
CN201368896Y (en) * | 2009-03-06 | 2009-12-23 | 青岛海信日立空调系统有限公司 | Zero-crossing detection circuit |
CN101685111A (en) * | 2008-09-27 | 2010-03-31 | 苏州三星电子有限公司 | Novel zero crossing detection circuit |
CN102062810A (en) * | 2010-12-14 | 2011-05-18 | 江苏大学 | Detection circuit and method for zero crossing point of alternating current power supply |
CN204903637U (en) * | 2015-08-25 | 2015-12-23 | 南京工程学院 | High accuracy alternating current signal zero -crossing detection device |
-
2015
- 2015-08-25 CN CN201510525509.2A patent/CN105092948A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59121511A (en) * | 1982-12-28 | 1984-07-13 | Toppan Printing Co Ltd | Zero-crossing control circuit |
JPH02223218A (en) * | 1989-02-23 | 1990-09-05 | Nec Corp | Zero cross detection circuit for ac power source |
JP2004328869A (en) * | 2003-04-23 | 2004-11-18 | Sharp Corp | Zero cross signal output device, and image forming apparatus |
CN2757310Y (en) * | 2004-08-03 | 2006-02-08 | 东南大学 | Mixed power electronic breaker observe and control device |
CN101685111A (en) * | 2008-09-27 | 2010-03-31 | 苏州三星电子有限公司 | Novel zero crossing detection circuit |
CN201368896Y (en) * | 2009-03-06 | 2009-12-23 | 青岛海信日立空调系统有限公司 | Zero-crossing detection circuit |
CN101598749A (en) * | 2009-06-26 | 2009-12-09 | 中兴通讯股份有限公司 | Three-phase does not have the center line alternating current zero crossing detection device |
CN102062810A (en) * | 2010-12-14 | 2011-05-18 | 江苏大学 | Detection circuit and method for zero crossing point of alternating current power supply |
CN204903637U (en) * | 2015-08-25 | 2015-12-23 | 南京工程学院 | High accuracy alternating current signal zero -crossing detection device |
Non-Patent Citations (2)
Title |
---|
于新潮: "双向可控硅过零触发电路的设计", 《包头职业技术学院学报》 * |
盛占石等: "三相电源过零检测及相序自适应新方法", 《现代科学仪器》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105675968A (en) * | 2016-04-08 | 2016-06-15 | 南京工程学院 | High-precision three-phase AC signal positive-negative zero-crossing detecting device and method |
CN106383264A (en) * | 2016-06-08 | 2017-02-08 | 江苏现代电力科技股份有限公司 | Anti-interference high-precision zero-crossing detection method |
CN106383264B (en) * | 2016-06-08 | 2019-06-14 | 江苏现代电力科技股份有限公司 | Anti-interference high-precision zero passage detection method |
CN108540112A (en) * | 2018-04-04 | 2018-09-14 | 沈机(上海)智能系统研发设计有限公司 | Control circuit, circuit control method and circuit system |
CN108540112B (en) * | 2018-04-04 | 2021-10-22 | 沈机(上海)智能系统研发设计有限公司 | Control circuit, circuit control method and circuit system |
CN111853840A (en) * | 2020-07-17 | 2020-10-30 | 国电泉州热电有限公司 | Slag dragging control device and method, slag dragging machine and boiler |
CN115442210A (en) * | 2022-08-18 | 2022-12-06 | 海南电网有限责任公司 | Low-voltage power failure and restoration alarm method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105092948A (en) | High-precision alternating-current signal zero crossing detection device and method | |
CN102215035B (en) | A kind of isolation of the electric main in conjunction with low-voltage powerline carrier communication signal coupling zero cross detection circuit | |
CN203101494U (en) | AC (alternating current) electric supply power failure detection circuit, equipment and system | |
CN103424606B (en) | A kind of low voltage electric power carrier communication zero cross detection circuit of frequency self-adaption | |
CN202583311U (en) | Alternating current zero-crossing detection circuit | |
CN204391679U (en) | A kind of leakage current detection protection circuit | |
CN203759106U (en) | Commercial power zero cross detection circuit | |
CN201955387U (en) | Zero-crossing detecting circuit with low power consumption for carrier wave communication | |
CN204903637U (en) | High accuracy alternating current signal zero -crossing detection device | |
CN202305717U (en) | AC power failure quick detection circuit | |
CN106199123A (en) | A kind of wide-voltage switch amount collection isolation circuit | |
CN102855211B (en) | Universal serial bus-balanced voltage digital interface converter | |
CN106383264B (en) | Anti-interference high-precision zero passage detection method | |
CN204731307U (en) | AC voltage detection circuit | |
CN202929127U (en) | Circuit for detecting three-phase electricity phase sequence and open phase | |
CN103926516A (en) | Online diode detection circuit | |
CN104483579A (en) | Switching value acquisition circuit | |
CN202189120U (en) | Thyristor-controlled alternating-current (AC) switch detection circuit | |
CN204302420U (en) | A kind of switch quantity acquisition circuit | |
CN204495864U (en) | Resistance to voltage protection circuit | |
CN202652655U (en) | Led constant current drive circuit | |
CN204330873U (en) | A kind ofly gather on single live wire and be detected the circuit at zero point | |
CN203504786U (en) | Electromagnetic heating control circuit and electric pressure cooker | |
CN204269797U (en) | A kind of power supply output detection circuit | |
CN105675968A (en) | High-precision three-phase AC signal positive-negative zero-crossing detecting device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151125 |