[go: up one dir, main page]

WO2025201077A1 - Power line phase-cut communication control mode and led lamp control system - Google Patents

Power line phase-cut communication control mode and led lamp control system

Info

Publication number
WO2025201077A1
WO2025201077A1 PCT/CN2025/082354 CN2025082354W WO2025201077A1 WO 2025201077 A1 WO2025201077 A1 WO 2025201077A1 CN 2025082354 W CN2025082354 W CN 2025082354W WO 2025201077 A1 WO2025201077 A1 WO 2025201077A1
Authority
WO
WIPO (PCT)
Prior art keywords
wave
waveform
signal
zero
gap
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
Application number
PCT/CN2025/082354
Other languages
French (fr)
Chinese (zh)
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.)
Shanghai Jinquan Electronic Technology Co Ltd
Original Assignee
Shanghai Jinquan Electronic Technology 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 Shanghai Jinquan Electronic Technology Co Ltd filed Critical Shanghai Jinquan Electronic Technology Co Ltd
Publication of WO2025201077A1 publication Critical patent/WO2025201077A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/32Pulse-control circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/185Controlling the light source by remote control via power line carrier transmission

Definitions

  • the present invention relates to the fields of phase-cut communication control and LED lamp control, and in particular to a power line phase-cut communication control method and an LED lamp control system.
  • Wireless dimming control typically utilizes protocols such as Wi-Fi, Zigbee, and Bluetooth. This simplifies wiring, eliminates the need for signal cables, and is low-cost.
  • Wired dimming control suffers from poor compatibility between different protocols and ecosystems, and its signal is significantly affected by the on-site environment, prone to signal dropouts, and exhibits poor stability.
  • Wired dimming control primarily includes thyristor phase-cut dimming, 0-10V linear dimming, DALI and DMX512 digital dimming, and PLC power carrier dimming.
  • PLC power carrier control method that transmits signals through power lines. It does not require signal lines, has simple wiring, can adjust the light and color, and can control each lamp individually.
  • the current cost is relatively high, the carrier frequency is high, the transmission distance is short, and it is susceptible to interference.
  • An isolator must be added separately at the front end, which is not easy to install.
  • the present invention discloses a power line communication control method, comprising the following steps:
  • the phase-cut controller generates a zero-crossing interruption pulse signal ZERO-PULSE through the live AC sine wave signal, controlling the shortest shutdown of the rising or falling edge of the half-wave or full-wave, so that the waveform produces a very small gap of equal width;
  • the left and right gaps of the waveform are controlled according to the digital signal that needs to be transmitted. Then, according to the different combinations of left and right gaps, digital analysis is performed through the number, position and superposition width of the corresponding square wave signals to finally realize the transmission of digital signals.
  • the AC voltage output waveform is rectified to form a waveform V_DC, and the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted after passing through the signal detection circuit.
  • V_SW if there is only one square wave corresponding to the right gap in the half-wave period, it means that the received digital signal is "0". If the two corresponding square wave widths of the right gap of the previous half wave and the left gap of the next half wave are continuously superimposed, it means that the received digital signal is "1".
  • the digital information contained in the alternating current is parsed according to this rule.
  • the circuit is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, or after the zero-crossing signal ZERO-PULSE is triggered, the circuit is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, and after the duration of (T-t), the circuit is turned off again for t time, so that the right falling edge of the waveform in the second half of the cycle produces a right gap corresponding to the duration of t.
  • the full-wave signal period T there is only one right gap in the waveform in the first half of the cycle, or there is one right gap in the waveform in the first and second half cycles respectively.
  • the AC voltage output waveform is rectified to form a waveform V_DC, which is then passed through a signal detection circuit to generate a square wave V_SW corresponding to the digital signal to be transmitted.
  • V_SW in a full wave period T, the square wave pulse generated by the right-side short circuit and the pulse generated by the zero-crossing interruption can both be used as synchronization pulses to determine the interval time of the next pulse.
  • the circuit is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, or the circuit is turned on for T/2 after the zero-crossing signal in the full-wave period and then turned off for t time, so that the left rising edge of the waveform in the second half of the cycle produces a left gap corresponding to the duration of t.
  • the full-wave signal period T there is only a right gap in the waveform in the first half of the cycle, or there is only a left gap in the waveform in the second half of the cycle.
  • the AC voltage output waveform is rectified to form a waveform V_DC.
  • the waveform V_DC After passing through the signal detection circuit, the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted.
  • the square wave V_SW the square wave generated after the zero-crossing trigger is turned on for (T/2)-t time indicates that the received digital signal is "0", and the square wave generated after the zero-crossing trigger is turned on for T/2 time indicates that the received digital signal is "1". Based on this rule, the digital information contained in the AC power can be parsed.
  • the phase-cutting controller includes a first input unit, a signal and power transmission unit, a power supply unit, a zero-crossing detection unit and a first single-chip microcomputer.
  • One end of the signal and power transmission unit is connected to the first input unit, and the other end is respectively connected to the power supply unit, the zero-crossing detection unit and the first single-chip microcomputer.
  • the power supply unit and the zero-crossing detection unit are also respectively connected to the first single-chip microcomputer.
  • the first single-chip microcomputer controls the signal and power transmission unit to control the different positions or numbers of waveform gaps within the half-wave or full-wave period of the live line AC, corresponding to different digital signals, and controls different combinations of left and right gaps of the AC half-wave signal according to the digital signal to be transmitted, thereby changing the AC voltage waveform to realize the transmission of the digital signal.
  • the discharge shaping unit generates a voltage division ratio by two voltage-dividing resistors, is connected to the base of the transistor, and controls the conduction and cutoff of the transistor.
  • the collector of the transistor is connected to the base of the MOS tube. When the transistor is cut off, the collector voltage is pulled high, the MOS tube is turned on, and V_DC is instantly pulled down.
  • the signal detection unit consists of an adjustable shunt regulator TL431 and an optocoupler PC817, whose input end is connected to V_DC, the reference end pin of the adjustable shunt regulator TL431 is connected to two voltage-dividing resistors, the cathode of the optocoupler light-emitting diode of the optocoupler PC817 is connected to the cathode of TL431, the anode of the light-emitting diode is connected to the positive voltage VCC through a resistor, the emitter of the optocoupler transistor is grounded, and the collector is connected to the positive voltage 3.3V through a resistor, and the collector outputs a V_SW square wave pulse signal.
  • the control method designed in the present invention controls the extremely short shutdown of the rising or falling edge of a half-wave or full-wave, so that the waveform produces extremely small gaps of equal width. Since there is no need to distinguish between large and small gaps, equal extremely small gaps can be located on one side or both sides of the half-wave, which minimizes the damage to the AC sinusoidal waveform, wastes less energy, and pollutes the power grid less, making it environmentally friendly.
  • the left and right gaps of the waveform are controlled according to the digital signal to be transmitted, forming different combinations, thereby changing the AC voltage waveform.
  • the technical solution of the present invention adopts a fixed turn-off time t to produce a very small gap of equal width, which also fixes the turn-off voltage value.
  • the shaping circuit sets the device parameters in the circuit according to the fixed voltage corresponding to the t time at the highest input voltage and the minimum T period.
  • the discharge shaping circuit is started.
  • the second microcontroller does not need to know the t time.
  • the discharge shaping circuit can accurately calculate the matching parameters of the discharge circuit, avoiding the energy loss caused by the difference in turn-off voltage due to different gap sizes.
  • FIG1 is a block diagram of the overall structure of the LED lamp control system of the present invention.
  • FIG2 is a block diagram of a phase-cut controller of an LED lamp control system according to the present invention.
  • FIG3 is a block diagram of a dimming driver structure of an LED lamp control system according to the present invention.
  • FIG4 is a zero-crossing detection circuit diagram of an LED lamp control system according to the present invention.
  • FIG5 is a diagram of a discharge shaping circuit and a signal detection circuit of an LED lamp control system according to the present invention.
  • FIG6 is a signal waveform diagram of Example 1 of the present invention.
  • FIG7 is a signal waveform diagram of Example 2 of the present invention.
  • FIG8 is a signal waveform diagram of Example 3 of the present invention.
  • FIG9 is a comparison diagram of energy loss in Example 1 of the present invention and in the conventional large-deficit and small-deficit cases.
  • the LED lamp control system disclosed in the present invention includes a phase-cut controller, a dimming driver, and an LED lamp.
  • the phase-cut controller is connected to the dimming driver, which is in turn connected to the signal input terminal of the LED lamp.
  • the phase-cut controller generates a zero-crossing interrupt pulse signal ZERO-PULSE from a live AC sine wave signal and controls the extremely short shutdown of the rising or falling edge of a half-wave or full-wave, thereby generating extremely small gaps of equal width in the waveform.
  • the phase-cut controller obtains an AC voltage waveform containing an extremely small gap, which serves as the input signal of the dimming driver.
  • the AC voltage waveform from the phase-cut controller is parsed by the dimming driver to become a digital signal to be transmitted.
  • the phase-cut controller includes a first input unit, a signal and power transmission unit, a power supply unit, a zero-crossing detection unit, and a first single-chip microcomputer.
  • a first input unit a signal and power transmission unit
  • a power supply unit a power supply unit
  • a zero-crossing detection unit a first single-chip microcomputer.
  • the power supply unit and the zero-crossing detection unit are also connected to the first single-chip microcomputer, respectively.
  • the phase-cut controller After the phase-cut controller generates a zero-crossing interrupt pulse ZERO-PULSE, the signal and power transmission unit controls the different positions or numbers of waveform gaps within the half-wave or full-wave period of the live AC line, corresponding to different digital signals.
  • the signal and power transmission unit includes two control switches, and the two control switches are controlled by the first single-chip microcomputer at the same time.
  • the first single-chip microcomputer realizes the conduction and shutdown of the signal by controlling the opening and closing of the two control switches.
  • the circuit diagram of the zero-crossing detection unit is shown in Figure 4.
  • the base of the transistor is connected to the voltage divider between the two resistors, the collector is connected to the positive voltage VDD, and the emitter is grounded.
  • the voltage change process generates a voltage divider ratio by the two resistors to form a voltage at the base of the transistor, which controls the on and off states of the transistor to alternate.
  • the transistor is cut off and the collector outputs a high level.
  • the transistor is turned on and the collector outputs a low level.
  • the two states alternate to generate a zero-crossing interrupt pulse signal.
  • the dimming driver includes a second input unit, a rectifier unit, and a second single-chip microcomputer connected in sequence, as well as a discharge shaping unit and a signal detection unit.
  • the AC voltage waveform from the phase-cutting controller is rectified by the rectifier unit to generate a rectified waveform V_DC.
  • the discharge shaping unit instantly lowers V_DC and promptly generates a square wave V_SW corresponding to the digital signal to be transmitted through the signal detection unit.
  • the square wave V_SW is parsed by the second single-chip microcomputer to obtain the digital signal to be transmitted.
  • the digital signal parsed by the second single-chip microcomputer is dimmed through the dimming execution unit.
  • the dimming driver also includes a high power factor step-down unit, which steps down the voltage of the rectified AC power supply to supply power to the dimming execution unit.
  • the high power factor step-down units here are conventional circuits on the market and will not be further described here.
  • the specific circuits of the discharge shaping unit and the signal detection unit are shown in Figure 5.
  • the discharge shaping circuit mainly generates a voltage divider ratio by two voltage-dividing resistors, which are connected to the base of the transistor and control the conduction and cutoff of the transistor.
  • the collector of the transistor is connected to the base of the MOS tube. When the transistor is cut off, the collector voltage is pulled high, the MOS tube is turned on, and V_DC is instantly pulled down.
  • the signal detection circuit primarily consists of an adjustable shunt regulator TL431 and an optocoupler PC817.
  • the input is connected to V_DC
  • the reference pin of the TL431 is connected to two voltage-divider resistors
  • the cathode of the optocoupler's light-emitting diode is connected to the cathode of the TL431
  • the anode of the diode is connected to the positive voltage VCC through a resistor.
  • the emitter of the optocoupler's transistor is grounded, and the collector is connected to a positive voltage of 3.3V through a resistor.
  • the collector outputs a square wave pulse signal V_SW.
  • V_DC When V_DC is high, the TL431 turns on, current flows through the optocoupler's diode, and the transistor portion of the optocoupler is in the on state, causing V_SW to output a low level.
  • V_DC drops to a low level, the TL431 turns off, the optocoupler's light-emitting diode stops operating, the transistor portion turns off, and V_SW outputs a high level.
  • the phase-cut controller generates a zero-crossing interruption pulse signal ZERO-PULSE through the live AC sine wave signal, controlling the extremely short shutdown of the rising or falling edge of the half-wave or full-wave, so that the waveform produces extremely small gaps of equal width.
  • the left and right gaps of the waveform are controlled according to the digital signal that needs to be transmitted. Then, according to the different combinations of left and right gaps, digital analysis is performed through the number, position and superposition width of the corresponding square wave signals to finally realize the transmission of digital signals.
  • the AC voltage output waveform forms a waveform V_DC.
  • the waveform V_DC After passing through the signal detection circuit, the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted.
  • V_SW if there is only one square wave corresponding to the right gap within a half-wave period, it means that the received digital signal is "0". If the two corresponding square wave widths of the right gap of the previous half-wave and the left gap of the next half-wave are continuously superimposed, it means that the received digital signal is "1". This rule is used to parse the digital information contained in the AC power.
  • the sinusoidal AC signal has no gaps in the first cycle T.
  • the falling edge of the first half-wave produces a right gap
  • the falling edge of the second half-wave also produces a right gap.
  • the rising edge of the first half-wave produces a left gap
  • its falling edge produces a right gap
  • the rising edge of the second half-wave produces a left gap
  • Rectification produces the V_DC signal shown in Figure 6 .
  • Signal detection generates a square wave pulse V_SW.
  • the right gap of the first half-wave and the left gap of the second half-wave form a square wave pulse with a width of 2t, or the right gap of a half-wave forms a square wave pulse with a width of t. If there is only one square wave corresponding to a right gap within a half-wave cycle, the received digital signal is "0.” If the right gap of the previous half-wave and the left gap of the next half-wave are continuously superimposed, the received digital signal is "1.” The final digital signal is 01011, etc.
  • the sinusoidal diagram at the upper end of Figure 9 is the energy loss corresponding to the square wave pulse with a width of 2t in Example 1 of the present invention, wherein the shaded area is the energy loss.
  • the sinusoidal diagram at the lower end of Figure 9 is the energy loss corresponding to the same 2t width of the traditional large gap. It can be seen from the figure that the present invention can significantly reduce the energy loss under the same shutdown time.
  • the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, and after the duration of (T-t), it is turned off again for t time, so that the right falling edge of the waveform in the second half of the cycle produces a right gap corresponding to the duration of t.
  • T there is only one right gap in the waveform in the first half of the cycle, or there is a right gap in the waveform in the first and second half cycles respectively.
  • the AC voltage output waveform is rectified to form waveform V_DC.
  • waveform V_DC After passing through a signal detection circuit, waveform V_DC generates a square wave V_SW corresponding to the desired digital signal.
  • both the square wave pulses generated by a right-side gap and the pulses generated by a zero-crossing interruption can be used as synchronization pulses to determine the interval between subsequent pulses.
  • a pair of a square wave pulse corresponding to a right-side gap in the first half of the waveform and a zero-crossing pulse in the second half indicates a "0" in the received digital signal.
  • a pair of square wave pulses corresponding to a right-side gap in both the first and second halves of the waveform indicate a "1" in the received digital signal. Other combinations are invalid, allowing the digital information contained in the AC power to be parsed using this pattern.
  • the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, or it is turned on for T/2 after the zero-crossing signal in the full-wave period and then turned off for t time, so that the left rising edge of the waveform in the second half of the cycle produces a left gap corresponding to the duration of t.
  • the full-wave signal period T there is only a right gap in the waveform in the first half of the cycle, or there is only a left gap in the waveform in the second half of the cycle.
  • the AC voltage output waveform forms a waveform V_DC.
  • the waveform V_DC After passing through the signal detection circuit, the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted.
  • the square wave V_SW the square wave generated after the zero-crossing trigger is turned on for (T/2)-t indicates that the received digital signal is "0".
  • the square wave generated after the zero-crossing trigger is turned on for T/2 indicates that the received digital signal is "1". This rule is used to parse the digital information contained in the AC power.
  • the above three embodiments are only three typical and easy-to-analyze combination forms listed in the present invention.
  • the combination forms that can be used for analysis include but are not limited to the above three.
  • the above implementation methods are only for illustrating the technical concept and features of the present invention. Its purpose is to enable people familiar with this technology to understand the content of the present invention and implement it accordingly. It does not limit the scope of protection of the present invention.
  • the fields of application of the technical concept of the present invention include but are not limited to the field of LED lamp control. Other control fields such as motor speed control and temperature control are also applicable to the technical concept and spirit of the present invention. Any equivalent transformation or modification made according to the spirit of the present invention should be covered within the scope of protection of the present invention.

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The present invention relates to the field of phase-cut communication control and LED lamp control. Disclosed are a power line phase-cut communication control mode and an LED lamp control system. The method comprises: by means of a live-wire alternating-current sinusoidal wave signal, generating a zero-crossing interruption pulse signal (ZERO-PULSE), and controlling brief cutoffs at a rising edge or a falling edge of a half wave or a full wave, so as to generate equal-width narrow notches in the waveform; and by means of a new phase-cut notch definition mode, and by means of a transmitting mode of narrow left and right notches having the equal width, accurately analyzing digital signals in a half-wave or full-wave period on the basis of the number, position and superposed width of corresponding pulses, so as to achieve digital communication control for scenario modes, etc. Without the need of rewiring, the present invention can achieve intelligent control by merely replacing LED lamp drive and control devices, which involves an extremely low cost and is simple and convenient.

Description

一种电力线切相通讯控制方式及LED灯具控制系统A power line phase-cut communication control method and LED lamp control system 技术领域Technical Field

本发明涉及切相通讯控制、LED灯具控制领域,尤其涉及一种电力线切相通讯控制方式及LED灯具控制系统。The present invention relates to the fields of phase-cut communication control and LED lamp control, and in particular to a power line phase-cut communication control method and an LED lamp control system.

背景技术Background Art

目前市场上LED照明产品调光控制的通讯方式分无线和有线两大类,无线调光控制通常采用WIFI、ZIGBEE、蓝牙等协议,布线简单,无需信号线,成本低,但不同协议和生态兼容性差,信号受现场环境影响严重,容易掉码,稳定性差。有线调光控制主要有可控硅切相调光、0-10V线性调光、DALI和DMX512数字调光及PLC电力载波等,切相调光无需更改线路,成本低,但存在调光闪烁,能量损耗大,不能调色及只能回路控等缺陷。0-10V、DALI、DMX512通讯稳定性好,调光效果好,但都需要单独布信号控制线,改造成本高,且调试不便。Currently, communication methods for dimming control of LED lighting products on the market are categorized into two main types: wireless and wired. Wireless dimming control typically utilizes protocols such as Wi-Fi, Zigbee, and Bluetooth. This simplifies wiring, eliminates the need for signal cables, and is low-cost. However, wireless dimming control suffers from poor compatibility between different protocols and ecosystems, and its signal is significantly affected by the on-site environment, prone to signal dropouts, and exhibits poor stability. Wired dimming control primarily includes thyristor phase-cut dimming, 0-10V linear dimming, DALI and DMX512 digital dimming, and PLC power carrier dimming. Phase-cut dimming requires no wiring changes and is low-cost, but it suffers from flickering dimming, high energy loss, inability to adjust color, and loop-based control. 0-10V, DALI, and DMX512 offer excellent communication stability and dimming performance, but they all require separate signal control wiring, resulting in high modification costs and inconvenient debugging.

现有有线通讯技术中,有一种PLC电力载波的控制方式,通过电力线传输信号,无需信号线,布线简便,能调光调色,单灯单控,但目前成本较高,载波频率高,传输距离短,易受干扰,前端要单独加隔离器,不易施工。Among existing wired communication technologies, there is a PLC power carrier control method that transmits signals through power lines. It does not require signal lines, has simple wiring, can adjust the light and color, and can control each lamp individually. However, the current cost is relatively high, the carrier frequency is high, the transmission distance is short, and it is susceptible to interference. An isolator must be added separately at the front end, which is not easy to install.

现有技术中,还有一种通过电力线切相通讯的控制器,CN112637995B-一种LED灯具控制方法、控制器、LED灯具及其控制系统,利用正弦交流电的下降沿大小切相缺口传递数据的技术方案,可解决上述问题,但切相大缺口对正弦波形破坏严重,浪费能量,污染电网,由于分大缺小缺,关断时间不等,导致环路维持电路无法精确计算参数,产生无用的能量损耗。In the prior art, there is also a controller that communicates through power line phase cutting, CN112637995B - A LED lamp control method, controller, LED lamp and control system thereof, which uses the large and small phase-cut gaps on the falling edge of sinusoidal alternating current to transmit data. This technical solution can solve the above-mentioned problems. However, large phase-cut gaps seriously damage the sinusoidal waveform, waste energy, and pollute the power grid. Due to the large and small gaps and different shutdown times, the loop maintenance circuit cannot accurately calculate parameters, resulting in useless energy loss.

因此,亟需设计一种能够减少能量损耗且能够精确控制的切相通讯控制器。Therefore, there is an urgent need to design a phase-cut communication controller that can reduce energy loss and enable precise control.

发明内容Summary of the Invention

发明目的:针对现有技术中存在的问题,本发明公开了一种电力线切相通讯控制方式及LED灯具控制系统,通过新的切相缺口定义方式,在半波或全波周期内,采用等宽左右极小缺口的传递方式,通过对应脉冲的数量、位置及叠加宽度等不同方式,精准解析数字信号,实现场景模式等数字化通讯控制,无需重新布线,只需更换LED灯具驱动及控制设备即可实现智能化,成本极低且简单便捷。 Purpose of the invention: In response to the problems existing in the prior art, the present invention discloses a power line phase-cut communication control method and an LED lamp control system. Through a new phase-cut gap definition method, a transmission method of extremely small gaps of equal width on the left and right is adopted within a half-wave or full-wave cycle. By using different methods such as the number, position and superposition width of corresponding pulses, digital signals can be accurately analyzed to realize digital communication control such as scene modes. There is no need to rewire, and intelligence can be achieved by simply replacing the LED lamp drive and control equipment. The cost is extremely low and it is simple and convenient.

技术方案:本发明公开了一种电力线通讯控制方法,包括如下步骤: Technical solution: The present invention discloses a power line communication control method, comprising the following steps:

切相控制器通过火线交流电正弦波信号产生过零中断脉冲信号ZERO-PULSE,控制半波或全波上升沿或下降沿极短关断,使波形产生宽度相等的极小缺口;The phase-cut controller generates a zero-crossing interruption pulse signal ZERO-PULSE through the live AC sine wave signal, controlling the shortest shutdown of the rising or falling edge of the half-wave or full-wave, so that the waveform produces a very small gap of equal width;

以半波周期T/2为传输速率,在ZERO-PULSE信号触发后,在一个半波中形成一个右缺或形成一个左缺和一个右缺;With the half-wave period T/2 as the transmission rate, after the ZERO-PULSE signal is triggered, a right gap or a left gap and a right gap are formed in one half-wave;

以全波周期T为传输速率,在ZERO-PULSE信号触发后,全波信号T周期内只在前半周波形形成一个右缺或在前后半周波形各形成一个右缺;或者全波信号T周期内只在前半周波形形成一个右缺或只在后半周波形形成一个左缺,T是交流电压波形的周期;Taking the full-wave period T as the transmission rate, after the ZERO-PULSE signal is triggered, within the full-wave signal period T, only one right gap is formed in the waveform of the first half cycle, or one right gap is formed in the waveform of the first and second half cycles; or within the full-wave signal period T, only one right gap is formed in the waveform of the first half cycle, or only one left gap is formed in the waveform of the second half cycle, where T is the period of the AC voltage waveform;

在交流电半波或者全波不同的周期内,根据需要传递的数字信号控制波形的左缺和右缺,再根据左、右缺不同组合形式,通过对应方波信号的数量、位置及叠加宽度进行数字解析,最终实现数字信号的传递。In different cycles of half-wave or full-wave of alternating current, the left and right gaps of the waveform are controlled according to the digital signal that needs to be transmitted. Then, according to the different combinations of left and right gaps, digital analysis is performed through the number, position and superposition width of the corresponding square wave signals to finally realize the transmission of digital signals.

进一步地,以半波周期T/2为传输速率,在过零ZERO-PULSE信号触发后,导通(T/2)-t后关断t时间,使半波的右侧下降沿产生与t时长对应的右缺,或在过零ZERO-PULSE信号触发后,导通(T/2)-t后关断t时间,使半波的右侧下降沿产生与t时长对应的右缺且在下个半波过零后立即关断t时间,使半波的左侧上升沿产生与t时长对应的左缺;在一个半波中只有一个右缺,或有一个左缺和一个右缺。Furthermore, with a half-wave period of T/2 as the transmission rate, after the zero-crossing ZERO-PULSE signal is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the half-wave produces a right gap corresponding to the duration of t, or after the zero-crossing ZERO-PULSE signal is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the half-wave produces a right gap corresponding to the duration of t, and immediately turns off for t time after the next half-wave crosses zero, so that the left rising edge of the half-wave produces a left gap corresponding to the duration of t; there is only one right gap in a half-wave, or one left gap and one right gap.

进一步地,交流电压输出波形经过整流后形成波形V_DC,所述波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,若是半波周期内只有一个右缺对应的方波,则表示接收到的数字信号为“0”,若是上一个半波的右缺与下一个半波的左缺两个对应的方波宽度连续叠加,则表示接收到的数字信号为“1”,以此规律解析出交流电中所包含的数字信息。Furthermore, the AC voltage output waveform is rectified to form a waveform V_DC, and the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted after passing through the signal detection circuit. In the square wave V_SW, if there is only one square wave corresponding to the right gap in the half-wave period, it means that the received digital signal is "0". If the two corresponding square wave widths of the right gap of the previous half wave and the left gap of the next half wave are continuously superimposed, it means that the received digital signal is "1". The digital information contained in the alternating current is parsed according to this rule.

进一步地,以全波周期T为传输速率,在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺,或在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺且在(T-t)时长后再次关断t时间,使后半周波形的右侧下降沿产生一个与t时长对应的右缺,全波信号T周期内只在前半周波形有一个右缺或者在前后半周波形各有一个右缺。Furthermore, with the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, the circuit is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, or after the zero-crossing signal ZERO-PULSE is triggered, the circuit is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, and after the duration of (T-t), the circuit is turned off again for t time, so that the right falling edge of the waveform in the second half of the cycle produces a right gap corresponding to the duration of t. Within the full-wave signal period T, there is only one right gap in the waveform in the first half of the cycle, or there is one right gap in the waveform in the first and second half cycles respectively.

进一步地,交流电压输出波形经过整流后形成波形V_DC,所述波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,一个全波周期T中,右缺产生的方波脉冲和过零中断产生的脉冲都能够作为同步脉冲,以此判断后一个脉冲的间隔时间;Furthermore, the AC voltage output waveform is rectified to form a waveform V_DC, which is then passed through a signal detection circuit to generate a square wave V_SW corresponding to the digital signal to be transmitted. In the square wave V_SW, in a full wave period T, the square wave pulse generated by the right-side short circuit and the pulse generated by the zero-crossing interruption can both be used as synchronization pulses to determine the interval time of the next pulse.

当前半周波形有右缺对应的方波脉冲和后半周有过零脉冲作为一对出现时,表示接收到的数字信号为“0”;When the square wave pulse corresponding to the right missing in the first half cycle waveform and the zero-crossing pulse in the second half cycle appear as a pair, it means that the received digital signal is "0";

当前后半周波形各有一个右缺对应的方波脉冲作为一对出现时,则表示接收到的数字信号为“1”,其他组合无效,以此规律解析出交流电中所包含的数字信息。When there is a corresponding square wave pulse with a right gap in the waveform of the first and second half cycles as a pair, it means that the received digital signal is "1". Other combinations are invalid. The digital information contained in the alternating current can be parsed based on this rule.

进一步地,以全波周期T为传输速率,在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺,或在全波周期过零信号后导通T/2后关断t时间,使后半周波形的左侧上升沿产生一个与t时长对应的左缺,全波信号T周期内只在前半周波形有一个右缺,或只在后半周波形有一个左缺。Furthermore, with the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, the circuit is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, or the circuit is turned on for T/2 after the zero-crossing signal in the full-wave period and then turned off for t time, so that the left rising edge of the waveform in the second half of the cycle produces a left gap corresponding to the duration of t. Within the full-wave signal period T, there is only a right gap in the waveform in the first half of the cycle, or there is only a left gap in the waveform in the second half of the cycle.

进一步地,交流电压输出波形经过整流后形成波形V_DC,所述波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,过零触发后导通(T/2)-t时长后产生的方波,表示接收到的数字信号为“0”,过零触发后导通T/2时长后产生的方波,表示接收到的数字信号为“1”,以此规律解析出交流电中所包含的数字信息。Furthermore, the AC voltage output waveform is rectified to form a waveform V_DC. After passing through the signal detection circuit, the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted. In the square wave V_SW, the square wave generated after the zero-crossing trigger is turned on for (T/2)-t time indicates that the received digital signal is "0", and the square wave generated after the zero-crossing trigger is turned on for T/2 time indicates that the received digital signal is "1". Based on this rule, the digital information contained in the AC power can be parsed.

进一步地,切相控制器在采用半波周期T/2为传输速率的情况下,最多关断两次t时间,t时间对应的缺口位于半波两侧,左侧为上升沿,右侧为下降沿,分别为左缺和右缺;采用全波周期T的为传输速率情况下每个半波最多关断一次,左缺对应的关断时间等于右缺对应的关断时间,关断时间t=α*(T/2),其中,α为预设系数,0<α<0.5。Furthermore, when the phase-cut controller uses half-wave period T/2 as the transmission rate, it will shut down at most twice for t time, and the gaps corresponding to the t time are located on both sides of the half-wave, with the left side being the rising edge and the right side being the falling edge, which are the left gap and the right gap respectively; when the full-wave period T is used as the transmission rate, each half-wave will be shut down at most once, and the shutdown time corresponding to the left gap is equal to the shutdown time corresponding to the right gap, and the shutdown time t=α*(T/2), where α is the preset coefficient, 0<α<0.5.

本发明还公开一种LED灯具控制系统,包括切相控制器、调光驱动器以及LED灯具,所述切相控制器与所述调光驱动器连接,所述调光驱动器与所述LED灯具信号输入端连接;切相控制器以及调光驱动器执行如上所述的电力线通讯控制方法,切相控制器得到交流电压波形,其作为调光驱动器的输入信号,来自所述切相控制器的交流电压波形经过调光驱动器解析后为需要传递的数字信号。The present invention also discloses an LED lamp control system, including a phase-cut controller, a dimming driver and an LED lamp, wherein the phase-cut controller is connected to the dimming driver, and the dimming driver is connected to the signal input end of the LED lamp; the phase-cut controller and the dimming driver execute the power line communication control method as described above, the phase-cut controller obtains an AC voltage waveform, which serves as the input signal of the dimming driver, and the AC voltage waveform from the phase-cut controller is parsed by the dimming driver to become a digital signal to be transmitted.

优选地,所述切相控制器包括第一输入单元、信号及功率传输单元、供电单元、过零检测单元和第一单片机,所述信号及功率传输单元一端连接第一输入单元,另一端分别连接供电单元、过零检测单元和第一单片机,所述供电单元和过零检测单元也分别连接第一单片机,过零检测单元检测产生过零中断脉冲ZERO-PULSE后,第一单片机控制所述信号及功率传输单元控制火线交流半波或全波周期内波形缺口不同的位置或数量,对应不同的数字信号,根据需要传递的数字信号控制交流半波信号左缺右缺的不同组合形式,从而改变交流电压波形实现数字信号的传递。Preferably, the phase-cutting controller includes a first input unit, a signal and power transmission unit, a power supply unit, a zero-crossing detection unit and a first single-chip microcomputer. One end of the signal and power transmission unit is connected to the first input unit, and the other end is respectively connected to the power supply unit, the zero-crossing detection unit and the first single-chip microcomputer. The power supply unit and the zero-crossing detection unit are also respectively connected to the first single-chip microcomputer. After the zero-crossing detection unit detects and generates a zero-crossing interrupt pulse ZERO-PULSE, the first single-chip microcomputer controls the signal and power transmission unit to control the different positions or numbers of waveform gaps within the half-wave or full-wave period of the live line AC, corresponding to different digital signals, and controls different combinations of left and right gaps of the AC half-wave signal according to the digital signal to be transmitted, thereby changing the AC voltage waveform to realize the transmission of the digital signal.

优选地,所述调光驱动器包括依次连接的第二输入单元、整流单元、第二单片机,还包括泄放整形单元和信号检测单元,来自切相控制器的交流电压波形经过第二输入单元、整流单元整流后产生整流波形V_DC,在输入波形遇到缺口时,泄放整形单元瞬间拉低V_DC,及时地经过信号检测单元产生需要传递的数字信号对应的方波V_SW,所述方波V_SW经第二单片机解析后为需要传递的数字信号。Preferably, the dimming driver includes a second input unit, a rectifier unit, and a second single-chip microcomputer connected in sequence, and also includes a discharge shaping unit and a signal detection unit. The AC voltage waveform from the phase-cut controller is rectified by the second input unit and the rectifier unit to generate a rectified waveform V_DC. When the input waveform encounters a gap, the discharge shaping unit instantly lowers V_DC and promptly generates a square wave V_SW corresponding to the digital signal to be transmitted through the signal detection unit. The square wave V_SW is parsed by the second single-chip microcomputer to become the digital signal to be transmitted.

优选地,所述泄放整形单元由两个分压电阻产生分压比,连接到三极管的基极,并控制三极管的导通与截止,三极管的集电极连接MOS管的基极,当三极管截止时,集电极电压拉高,MOS管导通,V_DC被瞬间拉低;Preferably, the discharge shaping unit generates a voltage division ratio by two voltage-dividing resistors, is connected to the base of the transistor, and controls the conduction and cutoff of the transistor. The collector of the transistor is connected to the base of the MOS tube. When the transistor is cut off, the collector voltage is pulled high, the MOS tube is turned on, and V_DC is instantly pulled down.

所述信号检测单元由一个可调并联稳压器TL431和一个光耦PC817组成,其输入端连接V_DC,可调并联稳压器TL431的参考端引脚连接两个分压电阻,光耦PC817的光耦发光二极管的负极连接TL431的阴极,发光二极管的正极通过电阻连接正电压VCC,光耦的三极管发射极接地,集电极经一个电阻连接正电压3.3V,集电极输出V_SW方波脉冲信号。The signal detection unit consists of an adjustable shunt regulator TL431 and an optocoupler PC817, whose input end is connected to V_DC, the reference end pin of the adjustable shunt regulator TL431 is connected to two voltage-dividing resistors, the cathode of the optocoupler light-emitting diode of the optocoupler PC817 is connected to the cathode of TL431, the anode of the light-emitting diode is connected to the positive voltage VCC through a resistor, the emitter of the optocoupler transistor is grounded, and the collector is connected to the positive voltage 3.3V through a resistor, and the collector outputs a V_SW square wave pulse signal.

有益效果Beneficial effects

1、本发明设计的控制方法控制半波或全波上升沿或下降沿的极短关断,使波形产生相等宽度的极小缺口,由于不用区分大小缺,可采用相等的极小缺位于半波的一侧或两侧,对交流正弦波形的破坏程度最小,能量的浪费更少,对电网污染小,绿色环保。在交流电半波或者全波不同的周期内,根据需要传递的数字信号控制波形的左缺和右缺,形成不同的组合形式,从而改变交流电压波形,再根据左右缺不同组合形式,通过对应方波信号的数量、位置及叠加宽度等不同逻辑方式进行数字解析,最终实现数字信号的传递。本发明在半波或全波两种不同周期内,采用等宽左右极小缺口的传递方式,既解决了现有技术中数据传输时冲击电流大、干扰大,又避免了波形存在大缺所导致的能量浪费,对交流正弦波形的破坏程度降到最小,能量的浪费更少,对电网污染小,绿色环保,同时简化了泄放整形电路,便于精确设计整形电路的参数,减小了无用的能量损耗。1. The control method designed in the present invention controls the extremely short shutdown of the rising or falling edge of a half-wave or full-wave, so that the waveform produces extremely small gaps of equal width. Since there is no need to distinguish between large and small gaps, equal extremely small gaps can be located on one side or both sides of the half-wave, which minimizes the damage to the AC sinusoidal waveform, wastes less energy, and pollutes the power grid less, making it environmentally friendly. Within different cycles of the AC half-wave or full-wave, the left and right gaps of the waveform are controlled according to the digital signal to be transmitted, forming different combinations, thereby changing the AC voltage waveform. Then, according to the different combinations of left and right gaps, digital analysis is performed through different logical methods such as the number, position, and superposition width of the corresponding square wave signals, ultimately realizing the transmission of digital signals. The present invention adopts a transmission method with extremely small gaps of equal width on the left and right within two different periods of half wave or full wave, which not only solves the problems of large impact current and interference during data transmission in the existing technology, but also avoids the energy waste caused by large gaps in the waveform, minimizes the damage to the AC sinusoidal waveform, reduces energy waste, and has less pollution to the power grid. It is green and environmentally friendly. At the same time, it simplifies the discharge shaping circuit, facilitates the precise design of the shaping circuit parameters, and reduces useless energy loss.

2、本发明的技术方案采用固定关断时间t,产生相等宽度的极小缺,也就固定了关断电压值,虽然不同T周期对应的关断电压不同,但由于t时间极短,损耗极小,所以整形电路按最高输入电压和最小T周期时的t时间对应的固定电压设定电路中的器件参数,当电压低于这个固定电压值时启动泄放整形电路,第二单片机无需了解t时间,泄放整形电路可以精确的计算出泄放电路匹配的参数,避免了缺口大小不同导致关断电压差异所产生的能量损耗。2. The technical solution of the present invention adopts a fixed turn-off time t to produce a very small gap of equal width, which also fixes the turn-off voltage value. Although the turn-off voltage corresponding to different T periods is different, since the t time is extremely short and the loss is extremely small, the shaping circuit sets the device parameters in the circuit according to the fixed voltage corresponding to the t time at the highest input voltage and the minimum T period. When the voltage is lower than this fixed voltage value, the discharge shaping circuit is started. The second microcontroller does not need to know the t time. The discharge shaping circuit can accurately calculate the matching parameters of the discharge circuit, avoiding the energy loss caused by the difference in turn-off voltage due to different gap sizes.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明LED灯具控制系统整体结构框图;FIG1 is a block diagram of the overall structure of the LED lamp control system of the present invention;

图2为本发明LED灯具控制系统切相控制器结构框图;FIG2 is a block diagram of a phase-cut controller of an LED lamp control system according to the present invention;

图3为本发明LED灯具控制系统调光驱动器结构框图;FIG3 is a block diagram of a dimming driver structure of an LED lamp control system according to the present invention;

图4为本发明LED灯具控制系统过零检测电路图;FIG4 is a zero-crossing detection circuit diagram of an LED lamp control system according to the present invention;

图5为本发明LED灯具控制系统泄放整形电路与信号检测电路图;FIG5 is a diagram of a discharge shaping circuit and a signal detection circuit of an LED lamp control system according to the present invention;

图6为本发明实施例1的信号波形图;FIG6 is a signal waveform diagram of Example 1 of the present invention;

图7为本发明实施例2的信号波形图;FIG7 is a signal waveform diagram of Example 2 of the present invention;

图8为本发明实施例3的信号波形图,;FIG8 is a signal waveform diagram of Example 3 of the present invention;

图9为本发明实施例1中与传统大缺小缺情况下的能量损耗对比图。FIG9 is a comparison diagram of energy loss in Example 1 of the present invention and in the conventional large-deficit and small-deficit cases.

具体实施方式DETAILED DESCRIPTION

下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present invention.

本发明公开了一种电力线切相通讯控制方式及LED灯具控制系统,参见图1至图5,本发明公开的LED灯具控制系统包括切相控制器、调光驱动器以及LED灯具,切相控制器与调光驱动器连接,调光驱动器与LED灯具信号输入端连接。切相控制器通过火线交流电正弦波信号产生过零中断脉冲信号ZERO-PULSE,并控制半波或全波上升沿或下降沿的极短关断,使波形产生宽度相等的极小缺口。切相控制器得到含极小缺口的交流电压波形,其作为调光驱动器的输入信号,来自切相控制器的交流电压波形经过调光驱动器解析后为需要传递的数字信号。The present invention discloses a power line phase-cut communication control method and an LED lamp control system. Referring to Figures 1 to 5, the LED lamp control system disclosed in the present invention includes a phase-cut controller, a dimming driver, and an LED lamp. The phase-cut controller is connected to the dimming driver, which is in turn connected to the signal input terminal of the LED lamp. The phase-cut controller generates a zero-crossing interrupt pulse signal ZERO-PULSE from a live AC sine wave signal and controls the extremely short shutdown of the rising or falling edge of a half-wave or full-wave, thereby generating extremely small gaps of equal width in the waveform. The phase-cut controller obtains an AC voltage waveform containing an extremely small gap, which serves as the input signal of the dimming driver. The AC voltage waveform from the phase-cut controller is parsed by the dimming driver to become a digital signal to be transmitted.

切相控制器包括第一输入单元、信号及功率传输单元、供电单元、过零检测单元和第一单片机,参见图2,信号及功率传输单元一端连接第一输入单元,另一端分别连接供电单元、过零检测单元和第一单片机,供电单元和过零检测单元也分别连接第一单片机,切相控制器产生过零中断脉冲ZERO-PULSE后,信号及功率传输单元控制火线交流半波或全波周期内波形缺口不同的位置或数量,对应不同的数字信号,根据需要传递的数字信号控制交流半波信号左缺右缺的不同组合形式,从而改变交流电压波形实现数字信号的传递。本发明中,信号及功率传输单元包括两个控制开关,两个控制开关同时由第一单片机控制,第一单片机通过控制两个控制开关的开启与关闭实现信号的导通与关断。The phase-cut controller includes a first input unit, a signal and power transmission unit, a power supply unit, a zero-crossing detection unit, and a first single-chip microcomputer. Referring to FIG2 , one end of the signal and power transmission unit is connected to the first input unit, and the other end is connected to the power supply unit, the zero-crossing detection unit, and the first single-chip microcomputer, respectively. The power supply unit and the zero-crossing detection unit are also connected to the first single-chip microcomputer, respectively. After the phase-cut controller generates a zero-crossing interrupt pulse ZERO-PULSE, the signal and power transmission unit controls the different positions or numbers of waveform gaps within the half-wave or full-wave period of the live AC line, corresponding to different digital signals. According to the digital signal to be transmitted, the different combinations of left and right gaps of the AC half-wave signal are controlled, thereby changing the AC voltage waveform to realize the transmission of the digital signal. In the present invention, the signal and power transmission unit includes two control switches, and the two control switches are controlled by the first single-chip microcomputer at the same time. The first single-chip microcomputer realizes the conduction and shutdown of the signal by controlling the opening and closing of the two control switches.

过零检测单元的电路图参见图4,三极管的基极连接两个电阻之间的分压,集电极连接正电压VDD,发射极接地,交流电经过整流后,电压变化的过程中由两个电阻产生分压比在三极管的基极形成电压,控制三极管的导通与截止状态交替变化,当电压降低将至零时,三极管截止,集电极输出高电平,电压升高时,三极管导通,集电极输出低电平,两种状态交替变化产生过零中断脉冲信号。The circuit diagram of the zero-crossing detection unit is shown in Figure 4. The base of the transistor is connected to the voltage divider between the two resistors, the collector is connected to the positive voltage VDD, and the emitter is grounded. After the AC power is rectified, the voltage change process generates a voltage divider ratio by the two resistors to form a voltage at the base of the transistor, which controls the on and off states of the transistor to alternate. When the voltage drops to zero, the transistor is cut off and the collector outputs a high level. When the voltage rises, the transistor is turned on and the collector outputs a low level. The two states alternate to generate a zero-crossing interrupt pulse signal.

调光驱动器包括依次连接的第二输入单元、整流单元、第二单片机,还包括泄放整形单元和信号检测单元,来自切相控制器的交流电压波形经过整流单元整流后产生整流波形V_DC,在输入波形遇到缺口时,泄放整形单元瞬间拉低V_DC,及时地经过信号检测单元产生需要传递的数字信号对应的方波V_SW,方波V_SW经第二单片机解析后为需要传递的数字信号,第二单片机解析后的数字信号通过调光执行单元进行调光。The dimming driver includes a second input unit, a rectifier unit, and a second single-chip microcomputer connected in sequence, as well as a discharge shaping unit and a signal detection unit. The AC voltage waveform from the phase-cutting controller is rectified by the rectifier unit to generate a rectified waveform V_DC. When the input waveform encounters a gap, the discharge shaping unit instantly lowers V_DC and promptly generates a square wave V_SW corresponding to the digital signal to be transmitted through the signal detection unit. The square wave V_SW is parsed by the second single-chip microcomputer to obtain the digital signal to be transmitted. The digital signal parsed by the second single-chip microcomputer is dimmed through the dimming execution unit.

调光驱动器还包括高功率因数降压单元,对交流电源经过整流后进行降压,为调光执行单元供电,此处的高功率因数降压单元均为市场面常规电路,此处不做进一步赘述。The dimming driver also includes a high power factor step-down unit, which steps down the voltage of the rectified AC power supply to supply power to the dimming execution unit. The high power factor step-down units here are conventional circuits on the market and will not be further described here.

泄放整形单元和信号检测单元的具体电路参见图5,泄放整形电路主要由两个分压电阻产生分压比,连接到三极管的基极,并控制三极管的导通与截止,三极管的集电极连接MOS管的基极,当三极管截止时,集电极电压拉高,MOS管导通,V_DC被瞬间拉低。The specific circuits of the discharge shaping unit and the signal detection unit are shown in Figure 5. The discharge shaping circuit mainly generates a voltage divider ratio by two voltage-dividing resistors, which are connected to the base of the transistor and control the conduction and cutoff of the transistor. The collector of the transistor is connected to the base of the MOS tube. When the transistor is cut off, the collector voltage is pulled high, the MOS tube is turned on, and V_DC is instantly pulled down.

泄放整形电路按最高输入电压和最小T周期时的t时间对应的固定电压设定电路中的器件参数,当电压低于这个固定电压值时启动泄放整形电路,通过泄放电路瞬间拉低V_DC电压,波形立即产生缺口,从而使信号检测单元顺利检测出完整的方波波形,最终第二单片机解析出准确的数字信号。本技术方案采用固定关断时间t,虽然不同T周期对应的关断电压不同,但由于t时间极短,损耗极小,所以整形电路按最高输入电压和最小T周期时的t时间对应的固定电压设定电路中的器件参数,当电压低于这个固定电压值时启动泄放整形电路,第二单片机无需了解t时间。The device parameters in the discharge shaping circuit are set according to the fixed voltage corresponding to the t time at the highest input voltage and the minimum T period. When the voltage drops below this fixed voltage value, the discharge shaping circuit is activated. The discharge shaping circuit instantly lowers the V_DC voltage, immediately creating a gap in the waveform, allowing the signal detection unit to successfully detect the complete square wave waveform, and ultimately the second single-chip microcomputer to parse the accurate digital signal. This technical solution uses a fixed off-time t. Although the off-voltage corresponding to different T periods is different, the t time is extremely short and the loss is extremely small. Therefore, the device parameters in the shaping circuit are set according to the fixed voltage corresponding to the t time at the highest input voltage and the minimum T period. When the voltage drops below this fixed voltage value, the discharge shaping circuit is activated, and the second single-chip microcomputer does not need to know the t time.

信号检测电路主要由一个可调并联稳压器TL431和一个光耦PC817组成,输入连接V_DC,TL431的参考端引脚连接两个分压电阻,光耦发光二极管的负极连接TL431的阴极,发光二极管的正极通过电阻连接正电压VCC。光耦的三极管发射极接地,集电极经一个电阻连接正电压3.3V,集电极输出V_SW方波脉冲信号。当V_DC为高电压时,TL431导通,光耦的发光二极管有电流流过,光耦的三极管部分处于导通状态,V_SW输出低电平。当V_DC变低,TL431截止,光耦的发光二极管部分不工作,三极管部分截止,V_SW输出高电平。The signal detection circuit primarily consists of an adjustable shunt regulator TL431 and an optocoupler PC817. The input is connected to V_DC, the reference pin of the TL431 is connected to two voltage-divider resistors, the cathode of the optocoupler's light-emitting diode is connected to the cathode of the TL431, and the anode of the diode is connected to the positive voltage VCC through a resistor. The emitter of the optocoupler's transistor is grounded, and the collector is connected to a positive voltage of 3.3V through a resistor. The collector outputs a square wave pulse signal V_SW. When V_DC is high, the TL431 turns on, current flows through the optocoupler's diode, and the transistor portion of the optocoupler is in the on state, causing V_SW to output a low level. When V_DC drops to a low level, the TL431 turns off, the optocoupler's light-emitting diode stops operating, the transistor portion turns off, and V_SW outputs a high level.

切相控制器与调光驱动器进行电力线通讯的控制方法具体包括如下步骤:The control method for the phase-cut controller and the dimming driver to perform power line communication specifically includes the following steps:

切相控制器通过火线交流电正弦波信号产生过零中断脉冲信号ZERO-PULSE,控制半波或全波上升沿或下降沿极短关断,使波形产生宽度相等的极小缺口。The phase-cut controller generates a zero-crossing interruption pulse signal ZERO-PULSE through the live AC sine wave signal, controlling the extremely short shutdown of the rising or falling edge of the half-wave or full-wave, so that the waveform produces extremely small gaps of equal width.

以交流电压半波周期T/2为传输速率,在ZERO-PULSE信号触发后,在一个半波中形成一个右缺或形成一个左缺和一个右缺。With the AC voltage half-wave period T/2 as the transmission rate, after the ZERO-PULSE signal is triggered, a right gap or a left gap and a right gap are formed in one half-wave.

以交流电压全波周期T为传输速率,在ZERO-PULSE信号触发后,全波信号T周期内只在前半周波形形成一个右缺或在前后半周波形各形成一个右缺;或者全波信号T周期内只在前半周波形形成一个右缺或只在后半周波形形成一个左缺。Taking the full-wave period T of the AC voltage as the transmission rate, after the ZERO-PULSE signal is triggered, within the full-wave signal period T, only a right gap is formed in the waveform of the first half cycle, or a right gap is formed in the waveform of the first and second half cycles respectively; or within the full-wave signal period T, only a right gap is formed in the waveform of the first half cycle, or only a left gap is formed in the waveform of the second half cycle.

在交流电半波或者全波不同的周期内,根据需要传递的数字信号控制波形的左缺和右缺,再根据左、右缺不同组合形式,通过对应方波信号的数量、位置及叠加宽度进行数字解析,最终实现数字信号的传递。In different cycles of half-wave or full-wave of alternating current, the left and right gaps of the waveform are controlled according to the digital signal that needs to be transmitted. Then, according to the different combinations of left and right gaps, digital analysis is performed through the number, position and superposition width of the corresponding square wave signals to finally realize the transmission of digital signals.

实施例Example

以半波周期T/2为传输速率,在过零ZERO-PULSE信号触发后,导通(T/2)-t后关断t时间,使半波的右侧下降沿产生与t时长对应的右缺,或在过零ZERO-PULSE信号触发后,导通(T/2)-t后关断t时间,使半波的右侧下降沿产生与t时长对应的右缺且在下个半波过零后立即关断t时间,使半波的左侧上升沿产生与t时长对应的左缺。即在一个半波中只有一个右缺,或有一个左缺和一个右缺。With a half-wave period of T/2 as the transmission rate, after the ZERO-PULSE signal is triggered, it is turned on for (T/2)-t and then turned off for t time, causing a right gap corresponding to the duration t on the right falling edge of the half-wave. Alternatively, after the ZERO-PULSE signal is triggered, it is turned on for (T/2)-t and then turned off for t time, causing a right gap corresponding to the duration t on the right falling edge of the half-wave. Immediately after the next half-wave crosses zero, it is turned off for t time, causing a left gap corresponding to the duration t on the left rising edge of the half-wave. In other words, there is only one right gap, or one left gap and one right gap, in a half-wave.

交流电压输出波形经过整流后形成波形V_DC,波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,若是半波周期内只有一个右缺对应的方波,则表示接收到的数字信号为“0”,若是上一个半波的右缺与下一个半波的左缺两个对应的方波宽度连续叠加,则表示接收到的数字信号为“1”,以此规律解析出交流电中所包含的数字信息。After rectification, the AC voltage output waveform forms a waveform V_DC. After passing through the signal detection circuit, the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted. In the square wave V_SW, if there is only one square wave corresponding to the right gap within a half-wave period, it means that the received digital signal is "0". If the two corresponding square wave widths of the right gap of the previous half-wave and the left gap of the next half-wave are continuously superimposed, it means that the received digital signal is "1". This rule is used to parse the digital information contained in the AC power.

参见图6,正弦交流信号第一个周期T内无缺口,在第二个周期T内,前一个半波的下降沿产生一个右缺,后一个半波的下降沿也产生一个右缺,同时在第三个周期T,前一个半波的上升沿产生一个左缺,其下降沿产生一个右缺,后一个半波的上升沿产生一个左缺等等。经过整流后产生如图6中所示的V_DC信号,经过信号检测后产生了方波脉冲V_SW,前一个半波的右缺与后一个半波的左缺形成一个宽度为2t的方波脉冲,或者半波的右缺形成一个宽度为t的方波脉冲,半波周期内只有一个右缺对应的方波,则表示接收到的数字信号为“0”,若是上一个半波的右缺与下一个半波的左缺两个对应的方波宽度连续叠加,则表示接收到的数字信号为“1”,最终该数字信号为01011等。Referring to Figure 6 , the sinusoidal AC signal has no gaps in the first cycle T. In the second cycle T, the falling edge of the first half-wave produces a right gap, and the falling edge of the second half-wave also produces a right gap. Simultaneously, in the third cycle T, the rising edge of the first half-wave produces a left gap, its falling edge produces a right gap, and the rising edge of the second half-wave produces a left gap, and so on. Rectification produces the V_DC signal shown in Figure 6 . Signal detection generates a square wave pulse V_SW. The right gap of the first half-wave and the left gap of the second half-wave form a square wave pulse with a width of 2t, or the right gap of a half-wave forms a square wave pulse with a width of t. If there is only one square wave corresponding to a right gap within a half-wave cycle, the received digital signal is "0." If the right gap of the previous half-wave and the left gap of the next half-wave are continuously superimposed, the received digital signal is "1." The final digital signal is 01011, etc.

参见图9,图9上端的正弦图为本发明实施例1的宽度2t的方波脉冲对应的能量损耗,其中阴影面积即为能量损耗,图9下端的正弦图为传统大缺同样2t宽度对应的能量损耗,从图中可以看出,本发明在同等关断时间下能够明显减少能量损耗。Referring to Figure 9, the sinusoidal diagram at the upper end of Figure 9 is the energy loss corresponding to the square wave pulse with a width of 2t in Example 1 of the present invention, wherein the shaded area is the energy loss. The sinusoidal diagram at the lower end of Figure 9 is the energy loss corresponding to the same 2t width of the traditional large gap. It can be seen from the figure that the present invention can significantly reduce the energy loss under the same shutdown time.

实施例Example

以全波周期T为传输速率,在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺,或在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺且在(T-t)时长后再次关断t时间,使后半周波形的右侧下降沿产生一个与t时长对应的右缺,全波信号T周期内只在前半周波形有一个右缺或者在前后半周波形各有一个右缺。Taking the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t. Or after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, and after the duration of (T-t), it is turned off again for t time, so that the right falling edge of the waveform in the second half of the cycle produces a right gap corresponding to the duration of t. Within the full-wave signal period T, there is only one right gap in the waveform in the first half of the cycle, or there is a right gap in the waveform in the first and second half cycles respectively.

交流电压输出波形经过整流后形成波形V_DC,波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,一个全波周期T中,右缺产生的方波脉冲和过零中断产生的脉冲都能够作为同步脉冲,以此判断后一个脉冲的间隔时间。当前半周波形有右缺对应的方波脉冲和后半周有过零脉冲作为一对出现时,表示接收到的数字信号为“0”。当前后半周波形各有一个右缺对应的方波脉冲作为一对出现时,则表示接收到的数字信号为“1”,其他组合无效,以此规律解析出交流电中所包含的数字信息。The AC voltage output waveform is rectified to form waveform V_DC. After passing through a signal detection circuit, waveform V_DC generates a square wave V_SW corresponding to the desired digital signal. Within a full-wave period T of square wave V_SW, both the square wave pulses generated by a right-side gap and the pulses generated by a zero-crossing interruption can be used as synchronization pulses to determine the interval between subsequent pulses. A pair of a square wave pulse corresponding to a right-side gap in the first half of the waveform and a zero-crossing pulse in the second half indicates a "0" in the received digital signal. A pair of square wave pulses corresponding to a right-side gap in both the first and second halves of the waveform indicate a "1" in the received digital signal. Other combinations are invalid, allowing the digital information contained in the AC power to be parsed using this pattern.

参见图7,以一个全波周期T为例,第一个全波周期T内,前半周波形的右侧下降沿产生一个与t时长对应的右缺,且后半周波形的右侧下降沿产生一个与t时长对应的右缺。第二个全波周期T内,只在前半周波形的右侧下降沿产生一个与t时长对应的右缺。第三个全波周期T内,前半周波形的右侧下降沿产生一个与t时长对应的右缺,且后半周波形的右侧下降沿产生一个与t时长对应的右缺。第四个全波周期T内,只在前半周波形的右侧下降沿产生一个与t时长对应的右缺。最终经过整流后产生方波脉冲,最终该数字信号为1010…。Refer to Figure 7. Taking a full-wave cycle T as an example, in the first full-wave cycle T, the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t, and the right falling edge of the waveform in the second half cycle produces a right gap corresponding to the duration of t. In the second full-wave cycle T, only the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t. In the third full-wave cycle T, the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t, and the right falling edge of the waveform in the second half cycle produces a right gap corresponding to the duration of t. In the fourth full-wave cycle T, only the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t. Finally, after rectification, a square wave pulse is generated, and the final digital signal is 1010…

实施例Example

以全波周期T为传输速率,在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺,或在全波周期过零信号后导通T/2后关断t时间,使后半周波形的左侧上升沿产生一个与t时长对应的左缺,全波信号T周期内只在前半周波形有一个右缺,或只在后半周波形有一个左缺。Taking the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t, or it is turned on for T/2 after the zero-crossing signal in the full-wave period and then turned off for t time, so that the left rising edge of the waveform in the second half of the cycle produces a left gap corresponding to the duration of t. In the full-wave signal period T, there is only a right gap in the waveform in the first half of the cycle, or there is only a left gap in the waveform in the second half of the cycle.

交流电压输出波形经过整流后形成波形V_DC,波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,过零触发后导通(T/2)-t时长后产生的方波,表示接收到的数字信号为“0”,过零触发后导通T/2时长后产生的方波,表示接收到的数字信号为“1”,以此规律解析出交流电中所包含的数字信息。After rectification, the AC voltage output waveform forms a waveform V_DC. After passing through the signal detection circuit, the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted. In the square wave V_SW, the square wave generated after the zero-crossing trigger is turned on for (T/2)-t indicates that the received digital signal is "0". The square wave generated after the zero-crossing trigger is turned on for T/2 indicates that the received digital signal is "1". This rule is used to parse the digital information contained in the AC power.

参见图8,以一个全波周期T为例,第一个全波周期T内,前半周波形的右侧下降沿产生一个与t时长对应的右缺。第二个全波周期T内,前半周波形的右侧下降沿产生一个与t时长对应的右缺。第三个全波周期T内,后半周波形的左侧上升沿产生一个与t时长对应的左缺。第四个全波周期T内,后半周波形的左侧上升沿产生一个与t时长对应的左缺。最终经过整流后产生方波脉冲,最终该数字信号为0011…。Refer to Figure 8. Taking a full-wave cycle T as an example, during the first full-wave cycle T, the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t. During the second full-wave cycle T, the right falling edge of the waveform in the first half of the cycle produces a right gap corresponding to the duration of t. During the third full-wave cycle T, the left rising edge of the waveform in the second half of the cycle produces a left gap corresponding to the duration of t. During the fourth full-wave cycle T, the left rising edge of the waveform in the second half of the cycle produces a left gap corresponding to the duration of t. Finally, after rectification, a square wave pulse is generated, and the final digital signal is 0011...

以上3个实施例仅是本发明列举的三种典型的易于解析的组合形式,能够用于解析的组合形式包含但不止于以上三种,上述实施方式只为说明本发明的技术构思及特点,其目的在于让熟悉此项技术的人能够了解本发明的内容并据以实施,并不能以此限制本发明的保护范围。本发明的技术构思所应用的领域包含但不止于LED灯具控制领域,电机调速控制、温度控制等其他控制领域同样适用本发明的技术构思及精神实质,凡根据本发明精神实质所做的等效变换或修饰,都应涵盖在本发明的保护范围之内。The above three embodiments are only three typical and easy-to-analyze combination forms listed in the present invention. The combination forms that can be used for analysis include but are not limited to the above three. The above implementation methods are only for illustrating the technical concept and features of the present invention. Its purpose is to enable people familiar with this technology to understand the content of the present invention and implement it accordingly. It does not limit the scope of protection of the present invention. The fields of application of the technical concept of the present invention include but are not limited to the field of LED lamp control. Other control fields such as motor speed control and temperature control are also applicable to the technical concept and spirit of the present invention. Any equivalent transformation or modification made according to the spirit of the present invention should be covered within the scope of protection of the present invention.

Claims (12)

一种电力线通讯控制方法,其特征在于,包括如下步骤:A power line communication control method, characterized by comprising the following steps: 切相控制器通过火线交流电正弦波信号产生过零中断脉冲信号ZERO-PULSE,控制半波或全波上升沿或下降沿极短关断,使波形产生宽度相等的极小缺口;The phase-cut controller generates a zero-crossing interruption pulse signal ZERO-PULSE through the live AC sine wave signal, controlling the shortest shutdown of the rising or falling edge of the half-wave or full-wave, so that the waveform produces a very small gap of equal width; 以交流电压半波周期T/2为传输速率,在ZERO-PULSE信号触发后,在一个半波中形成一个右缺或形成一个左缺和一个右缺;With the AC voltage half-wave period T/2 as the transmission rate, after the ZERO-PULSE signal is triggered, a right gap or a left gap and a right gap are formed in one half-wave; 以交流电压全波周期T为传输速率,在ZERO-PULSE信号触发后,全波信号T周期内只在前半周波形形成一个右缺或在前后半周波形各形成一个右缺;或者全波信号T周期内只在前半周波形形成一个右缺或只在后半周波形形成一个左缺;Taking the full-wave period T of the AC voltage as the transmission rate, after the ZERO-PULSE signal is triggered, within the full-wave signal period T, only a right gap is formed in the waveform of the first half cycle, or a right gap is formed in the waveform of the first and second half cycles respectively; or within the full-wave signal period T, only a right gap is formed in the waveform of the first half cycle, or only a left gap is formed in the waveform of the second half cycle; 在交流电半波或者全波不同的周期内,根据需要传递的数字信号控制波形的左缺和右缺,再根据左、右缺不同组合形式,通过对应方波信号的数量、位置及叠加宽度进行数字解析,最终实现数字信号的传递。In different cycles of half-wave or full-wave of alternating current, the left and right gaps of the waveform are controlled according to the digital signal that needs to be transmitted. Then, according to the different combinations of left and right gaps, digital analysis is performed through the number, position and superposition width of the corresponding square wave signals to finally realize the transmission of digital signals.  根据权利要求1所述的一种电力线通讯控制方法,其特征在于,以半波周期T/2为传输速率,在过零ZERO-PULSE信号触发后,导通(T/2)-t后关断t时间,使半波的右侧下降沿产生与t时长对应的右缺,或在过零ZERO-PULSE信号触发后,导通(T/2)-t后关断t时间,使半波的右侧下降沿产生与t时长对应的右缺且在下个半波过零后立即关断t时间,使半波的左侧上升沿产生与t时长对应的左缺;在一个半波中只有一个右缺,或有一个左缺和一个右缺。A power line communication control method according to claim 1, characterized in that, with a half-wave period T/2 as the transmission rate, after the zero-crossing ZERO-PULSE signal is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the half-wave produces a right gap corresponding to the duration of t, or after the zero-crossing ZERO-PULSE signal is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the half-wave produces a right gap corresponding to the duration of t and is immediately turned off for t time after the next half-wave crosses zero, so that the left rising edge of the half-wave produces a left gap corresponding to the duration of t; there is only one right gap in a half-wave, or there is one left gap and one right gap.  根据权利要求2所述的一种电力线通讯控制方法,其特征在于,交流电压输出波形经过整流后形成波形V_DC,所述波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,若是半波周期内只有一个右缺对应的方波,则表示接收到的数字信号为“0”,若是上一个半波的右缺与下一个半波的左缺两个对应的方波宽度连续叠加,则表示接收到的数字信号为“1”,以此规律解析出交流电中所包含的数字信息。A power line communication control method according to claim 2, characterized in that the AC voltage output waveform is rectified to form a waveform V_DC, and the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted after passing through a signal detection circuit. In the square wave V_SW, if there is only one square wave corresponding to the right gap in a half-wave period, it indicates that the received digital signal is "0"; if the two corresponding square wave widths of the right gap of the previous half-wave and the left gap of the next half-wave are continuously superimposed, it indicates that the received digital signal is "1", and the digital information contained in the alternating current is parsed according to this rule.  根据权利要求1所述的一种电力线通讯控制方法,其特征在于,以全波周期T为传输速率,在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺,或在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺且在(T-t)时长后再次关断t时间,使后半周波形的右侧下降沿产生一个与t时长对应的右缺,全波信号T周期内只在前半周波形有一个右缺或者在前后半周波形各有一个右缺。A power line communication control method according to claim 1, characterized in that, with the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t, or after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t and is turned off again for t time after (T-t) time, so that the right falling edge of the waveform in the second half cycle produces a right gap corresponding to the duration of t, and within the full-wave signal period T, there is only one right gap in the waveform in the first half cycle or there is a right gap in the waveform in the first and second half cycles respectively.  根据权利要求4所述的一种电力线通讯控制方法,其特征在于,交流电压输出波形经过整流后形成波形V_DC,所述波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,一个全波周期T中,右缺产生的方波脉冲和过零中断产生的脉冲都能够作为同步脉冲,以此判断后一个脉冲的间隔时间;The power line communication control method according to claim 4 is characterized in that the AC voltage output waveform is rectified to form a waveform V_DC, and the waveform V_DC is passed through a signal detection circuit to generate a square wave V_SW corresponding to the digital signal to be transmitted. In the square wave V_SW, in a full wave period T, the square wave pulse generated by the right gap and the pulse generated by the zero-crossing interruption can both be used as synchronization pulses to determine the interval time of the next pulse; 当前半周波形有右缺对应的方波脉冲和后半周有过零脉冲作为一对出现时,表示接收到的数字信号为“0”;When the square wave pulse corresponding to the right missing in the first half cycle waveform and the zero-crossing pulse in the second half cycle appear as a pair, it means that the received digital signal is "0"; 当前后半周波形各有一个右缺对应的方波脉冲作为一对出现时,则表示接收到的数字信号为“1”,其他组合无效,以此规律解析出交流电中所包含的数字信息。When there is a corresponding square wave pulse with a right gap in the waveform of the first and second half cycles as a pair, it means that the received digital signal is "1". Other combinations are invalid. The digital information contained in the alternating current can be parsed based on this rule.  根据权利要求1所述的一种电力线通讯控制方法,其特征在于,以全波周期T为传输速率,在过零信号ZERO-PULSE触发后,导通(T/2)-t后关断t时间,使前半周波形的右侧下降沿产生一个与t时长对应的右缺,或在全波周期过零信号后导通T/2后关断t时间,使后半周波形的左侧上升沿产生一个与t时长对应的左缺,全波信号T周期内只在前半周波形有一个右缺,或只在后半周波形有一个左缺。A power line communication control method according to claim 1, characterized in that, with the full-wave period T as the transmission rate, after the zero-crossing signal ZERO-PULSE is triggered, it is turned on for (T/2)-t and then turned off for t time, so that the right falling edge of the waveform in the first half cycle produces a right gap corresponding to the duration of t, or it is turned on for T/2 after the full-wave period zero-crossing signal and then turned off for t time, so that the left rising edge of the waveform in the second half cycle produces a left gap corresponding to the duration of t. Within the full-wave signal period T, there is only a right gap in the waveform in the first half cycle, or there is only a left gap in the waveform in the second half cycle.  根据权利要求6所述的一种电力线通讯控制方法,其特征在于,交流电压输出波形经过整流后形成波形V_DC,所述波形V_DC经过信号检测电路后产生与需要传递的数字信号对应的方波V_SW,在方波V_SW中,过零触发后导通(T/2)-t时长后产生的方波,表示接收到的数字信号为“0”,过零触发后导通T/2时长后产生的方波,表示接收到的数字信号为“1”,以此规律解析出交流电中所包含的数字信息。A power line communication control method according to claim 6, characterized in that the AC voltage output waveform is rectified to form a waveform V_DC, and the waveform V_DC generates a square wave V_SW corresponding to the digital signal to be transmitted after passing through a signal detection circuit. In the square wave V_SW, the square wave generated after the zero-crossing trigger is turned on for (T/2)-t time indicates that the received digital signal is "0", and the square wave generated after the zero-crossing trigger is turned on for T/2 time indicates that the received digital signal is "1", and the digital information contained in the AC power is parsed according to this rule.  根据权利要求1所述的一种电力线通讯控制方法,其特征在于,切相控制器在采用半波周期T/2为传输速率的情况下,最多关断两次t时间,t时间对应的缺口位于半波两侧,左侧为上升沿,右侧为下降沿,分别为左缺和右缺;采用全波周期T的为传输速率情况下每个半波最多关断一次,左缺对应的关断时间等于右缺对应的关断时间,关断时间t=α*(T/2),其中,α为预设系数,0<α<0.5。A power line communication control method according to claim 1, characterized in that the phase-cut controller shuts down at most twice for t time when the half-wave period T/2 is used as the transmission rate, and the gap corresponding to the t time is located on both sides of the half-wave, with the left side being the rising edge and the right side being the falling edge, which are the left gap and the right gap respectively; when the full-wave period T is used as the transmission rate, each half-wave is shut down at most once, and the shutdown time corresponding to the left gap is equal to the shutdown time corresponding to the right gap, and the shutdown time t=α*(T/2), where α is a preset coefficient, 0<α<0.5.  一种LED灯具控制系统,其特征在于,包括切相控制器、调光驱动器以及LED灯具,所述切相控制器与所述调光驱动器连接,所述调光驱动器与所述LED灯具信号输入端连接;切相控制器以及调光驱动器之间执行如权利要求1至8任一所述的电力线通讯控制方法,切相控制器得到交流电压波形,其作为调光驱动器的输入信号,来自所述切相控制器的交流电压波形经过调光驱动器解析后为需要传递的数字信号。An LED lamp control system, characterized in that it includes a phase-cut controller, a dimming driver and an LED lamp, the phase-cut controller is connected to the dimming driver, and the dimming driver is connected to the signal input end of the LED lamp; the phase-cut controller and the dimming driver execute the power line communication control method as described in any one of claims 1 to 8, the phase-cut controller obtains an AC voltage waveform as an input signal of the dimming driver, and the AC voltage waveform from the phase-cut controller is parsed by the dimming driver to become a digital signal to be transmitted.  根据权利要求9所述的一种LED灯具控制系统,其特征在于,所述切相控制器包括第一输入单元、信号及功率传输单元、供电单元、过零检测单元和第一单片机,所述信号及功率传输单元一端连接第一输入单元,另一端分别连接供电单元、过零检测单元和第一单片机,所述供电单元和过零检测单元也分别连接第一单片机,过零检测单元检测产生过零中断脉冲ZERO-PULSE后,第一单片机控制所述信号及功率传输单元控制火线交流半波或全波周期内波形缺口不同的位置或数量,对应不同的数字信号,根据需要传递的数字信号控制交流半波信号左缺右缺的不同组合形式,从而改变交流电压波形实现数字信号的传递。An LED lamp control system according to claim 9, characterized in that the phase-cutting controller includes a first input unit, a signal and power transmission unit, a power supply unit, a zero-crossing detection unit and a first single-chip microcomputer, one end of the signal and power transmission unit is connected to the first input unit, and the other end is respectively connected to the power supply unit, the zero-crossing detection unit and the first single-chip microcomputer, the power supply unit and the zero-crossing detection unit are also respectively connected to the first single-chip microcomputer, after the zero-crossing detection unit detects and generates a zero-crossing interrupt pulse ZERO-PULSE, the first single-chip microcomputer controls the signal and power transmission unit to control the different positions or numbers of waveform gaps within the half-wave or full-wave period of the live AC line, corresponding to different digital signals, and controls different combinations of left and right gaps of the AC half-wave signal according to the digital signal to be transmitted, thereby changing the AC voltage waveform to realize the transmission of digital signals.  根据权利要求9所述的一种LED灯具控制系统,其特征在于,所述调光驱动器包括依次连接的第二输入单元、整流单元、第二单片机,还包括泄放整形单元和信号检测单元,来自切相控制器的交流电压波形经过第二输入单元、整流单元整流后产生整流波形V_DC,在输入波形遇到缺口时,泄放整形单元瞬间拉低V_DC,及时地经过信号检测单元产生需要传递的数字信号对应的方波V_SW,所述方波V_SW经第二单片机解析后为需要传递的数字信号。An LED lamp control system according to claim 9, characterized in that the dimming driver includes a second input unit, a rectifier unit, and a second single-chip microcomputer connected in sequence, and also includes a discharge shaping unit and a signal detection unit. The AC voltage waveform from the phase-cut controller is rectified by the second input unit and the rectifier unit to generate a rectified waveform V_DC. When the input waveform encounters a gap, the discharge shaping unit instantly lowers V_DC and promptly generates a square wave V_SW corresponding to the digital signal to be transmitted through the signal detection unit. The square wave V_SW is parsed by the second single-chip microcomputer to become the digital signal to be transmitted.  根据权利要求11所述的一种LED灯具控制系统,其特征在于,所述泄放整形单元由两个分压电阻产生分压比,连接到三极管的基极,并控制三极管的导通与截止,三极管的集电极连接MOS管的基极,当三极管截止时,集电极电压拉高,MOS管导通,V_DC被瞬间拉低;The LED lamp control system according to claim 11 is characterized in that the discharge shaping unit generates a voltage division ratio by two voltage-dividing resistors, is connected to the base of the transistor, and controls the conduction and cutoff of the transistor. The collector of the transistor is connected to the base of the MOS tube. When the transistor is cut off, the collector voltage is pulled high, the MOS tube is turned on, and V_DC is instantly pulled low. 所述信号检测单元由一个可调并联稳压器TL431和一个光耦PC817组成,其输入端连接V_DC,可调并联稳压器TL431的参考端引脚连接两个分压电阻,光耦PC817的光耦发光二极管的负极连接TL431的阴极,发光二极管的正极通过电阻连接正电压VCC,光耦的三极管发射极接地,集电极经一个电阻连接正电压3.3V,集电极输出V_SW方波脉冲信号。The signal detection unit consists of an adjustable shunt regulator TL431 and an optocoupler PC817, whose input end is connected to V_DC, the reference end pin of the adjustable shunt regulator TL431 is connected to two voltage-dividing resistors, the cathode of the optocoupler light-emitting diode of the optocoupler PC817 is connected to the cathode of TL431, the anode of the light-emitting diode is connected to the positive voltage VCC through a resistor, the emitter of the optocoupler transistor is grounded, and the collector is connected to the positive voltage 3.3V through a resistor, and the collector outputs a V_SW square wave pulse signal.
PCT/CN2025/082354 2024-03-28 2025-03-13 Power line phase-cut communication control mode and led lamp control system Pending WO2025201077A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410362630.7 2024-03-28
CN202410362630.7A CN118301812A (en) 2024-03-28 2024-03-28 Power line switching communication control mode and LED lamp control system

Publications (1)

Publication Number Publication Date
WO2025201077A1 true WO2025201077A1 (en) 2025-10-02

Family

ID=91685409

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/082354 Pending WO2025201077A1 (en) 2024-03-28 2025-03-13 Power line phase-cut communication control mode and led lamp control system

Country Status (2)

Country Link
CN (1) CN118301812A (en)
WO (1) WO2025201077A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118301812A (en) * 2024-03-28 2024-07-05 上海锦荃电子科技有限公司 Power line switching communication control mode and LED lamp control system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404907A (en) * 2010-09-17 2012-04-04 英飞特电子(杭州)有限公司 Three-wire dimmer
CN103166678A (en) * 2013-02-27 2013-06-19 黎辉 Alternating current clipping pulse coding control method
US20170111977A1 (en) * 2014-03-27 2017-04-20 Tridonic Gmbh & Co Kg Operating Device for Lamps for Transmitting Information
CN110708092A (en) * 2019-08-28 2020-01-17 绍兴凯晟照明电器有限公司 Method for realizing power line communication through chopping
CN112637995A (en) * 2020-12-22 2021-04-09 深圳市宝瑞恒业科技有限公司 LED lamp control method, controller, LED lamp and control system thereof
CN113840420A (en) * 2021-11-05 2021-12-24 深圳市星标电子科技有限公司 Dimming and toning data transmission method and dimming and toning driving circuit
CN118301812A (en) * 2024-03-28 2024-07-05 上海锦荃电子科技有限公司 Power line switching communication control mode and LED lamp control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404907A (en) * 2010-09-17 2012-04-04 英飞特电子(杭州)有限公司 Three-wire dimmer
CN103166678A (en) * 2013-02-27 2013-06-19 黎辉 Alternating current clipping pulse coding control method
US20170111977A1 (en) * 2014-03-27 2017-04-20 Tridonic Gmbh & Co Kg Operating Device for Lamps for Transmitting Information
CN110708092A (en) * 2019-08-28 2020-01-17 绍兴凯晟照明电器有限公司 Method for realizing power line communication through chopping
CN112637995A (en) * 2020-12-22 2021-04-09 深圳市宝瑞恒业科技有限公司 LED lamp control method, controller, LED lamp and control system thereof
CN113840420A (en) * 2021-11-05 2021-12-24 深圳市星标电子科技有限公司 Dimming and toning data transmission method and dimming and toning driving circuit
CN118301812A (en) * 2024-03-28 2024-07-05 上海锦荃电子科技有限公司 Power line switching communication control mode and LED lamp control system

Also Published As

Publication number Publication date
CN118301812A (en) 2024-07-05

Similar Documents

Publication Publication Date Title
CN203984735U (en) A kind of drive circuit of LED lighting device
CN109246885B (en) Phase-cut dimming device of LED
TWI608761B (en) Power supply control system and method
CN211702503U (en) Novel intelligent control silicon controlled rectifier light modulation switch and light-adjustable lamp thereof
WO2025201077A1 (en) Power line phase-cut communication control mode and led lamp control system
CN208273313U (en) A kind of single-entry single-out touch phase-cut dimming controller
CN108990201A (en) A kind of wall controlled LED lamp low harmony wave light-dimming method
CN103702480A (en) LED (Light-Emitting Diode) driving circuit and emitted light color changing method through LED driving circuit in combination with power switch
CN214544162U (en) Three-core controlled DC ceiling fan control circuit with illumination function
CN110087342B (en) Pulse frequency modulation heating power regulation control method
CN103415111A (en) Drive circuit and drive method of LED illuminating device
CN203407039U (en) Driving circuit of LED lighting device
CN209659672U (en) A kind of control circuit, LED drive chip and LED drive system
CN103139991A (en) Light-adjustable light-emitting diode (LED) drive circuit
CN103917022A (en) LED lamp control and adjusting device and method based on electronic switching tube power line carrier
CN104837250A (en) A single live wire low harmonic regulation method for controlling the brightness of LED lamps
CN204650219U (en) A kind of control system of the intelligent fireplace with multi-color flame
CN203645882U (en) LED driving circuit for changing luminescent colors with cooperation of power switch
CN205249580U (en) Light modulation control circuit with fan and shutoff function
CN212970167U (en) Light source driving circuit capable of continuously dimming, light source driving device and lamp
CN210629942U (en) A lighting synchronous control system
CN115774144A (en) Zero-crossing detection signal adjusting method, zero-crossing detection signal adjusting device, terminal equipment and medium
CN103188849B (en) Digital AC dimming control circuit
CN210579387U (en) A new type of intelligent dimmer
CN206380142U (en) LED Multichannel constant-current driving power supplies

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 25776794

Country of ref document: EP

Kind code of ref document: A1