[go: up one dir, main page]

CN2598296Y - Automatic code wireless dimmer - Google Patents

Automatic code wireless dimmer Download PDF

Info

Publication number
CN2598296Y
CN2598296Y CNU022943218U CN02294321U CN2598296Y CN 2598296 Y CN2598296 Y CN 2598296Y CN U022943218 U CNU022943218 U CN U022943218U CN 02294321 U CN02294321 U CN 02294321U CN 2598296 Y CN2598296 Y CN 2598296Y
Authority
CN
China
Prior art keywords
wireless
remote control
code
dimmer
circuit
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.)
Expired - Fee Related
Application number
CNU022943218U
Other languages
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 AIWEI AEROSPACE ELECTRONIC CO Ltd
Original Assignee
SHANGHAI XIEN COMMUNICATION NEVIGATION 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 XIEN COMMUNICATION NEVIGATION CO Ltd filed Critical SHANGHAI XIEN COMMUNICATION NEVIGATION CO Ltd
Priority to CNU022943218U priority Critical patent/CN2598296Y/en
Application granted granted Critical
Publication of CN2598296Y publication Critical patent/CN2598296Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本实用新型旨在设计一种家用的自动对码无线调光器。无线调光器由于采用了无线收发技术具有发送距离远(一般为几十米)、受遮挡影响小的特点,使用较为方便。在同一区域如果有多个用户使用无线调光器,必须采用地址码技术,即在无线遥控信息中加入地址码,而每个调光器也有一个专用地址码,每个调光器只有在接收到遥控指令的地址码与本机地址码相同时,才发生调光动作。本实用新型的无线调光器使用户操作简单,且重码几率少,相邻用户间的干扰大大减少。

The utility model aims to design a household automatic code matching wireless dimmer. Due to the use of wireless transceiver technology, the wireless dimmer has the characteristics of long transmission distance (generally tens of meters) and little influence from occlusion, so it is more convenient to use. If there are multiple users using wireless dimmers in the same area, the address code technology must be used, that is, address codes are added to the wireless remote control information, and each dimmer also has a dedicated address code. When the address code of the remote control command is the same as the address code of the local machine, the dimming action will take place. The wireless dimmer of the utility model makes the user's operation simple, has less chance of repeated codes, and greatly reduces the interference between adjacent users.

Description

自动对码无线调光器Automatic code wireless dimmer

(1)技术领域(1) Technical field

本实用新型涉及一种无线调光器,更进一步说,是涉及一种能自动对码的无线调光器。通过无线遥控器发送遥控信号,使无线调光器接收遥控信号并根据遥控命令和地址码调节照明灯具的亮度或开关灯具。The utility model relates to a wireless dimmer, in particular to a wireless dimmer capable of automatic code matching. The remote control signal is sent through the wireless remote control, so that the wireless dimmer receives the remote control signal and adjusts the brightness of the lighting fixture or switches the light fixture according to the remote control command and address code.

(2)背景技术(2) Background technology

目前国内外的无线调光器地址码的设置采用开关阵列控制,即在无线遥控器和无线调光器中各有一组开关阵列,将无线遥控器中的开关阵列的开关位置与无线调光器中的开关阵列的开关位置调节为一致,即完成了地址码的设置,该操作步骤即为“对码”。采用开关阵列进行“对码”存在以下缺点:At present, the setting of the address code of the wireless dimmer at home and abroad is controlled by a switch array, that is, there is a set of switch arrays in the wireless remote control and the wireless dimmer, and the switch position of the switch array in the wireless remote control and the wireless dimmer Adjust the switch position of the switch array in the switch to be consistent, that is, the setting of the address code is completed, and this operation step is "code matching". The use of switch arrays for "code matching" has the following disadvantages:

1、对码工作较为复杂,用户需要打开遥控器和调光器,拨动开关阵列进行设置。1. The code matching work is more complicated. The user needs to turn on the remote control and dimmer, and toggle the switch array to set.

2、开关阵列受物理尺寸限制,开关位数较少,可设置的地址码较少,容易出现相邻用户的重码,导致用户间的干扰。2. The switch array is limited by the physical size, the number of switch bits is small, and the number of address codes that can be set is small, which is prone to repeated codes of adjacent users, resulting in interference between users.

(3)实用新型内容(3) Contents of utility model

本实用新型的目的是提供一种功能自动对码的无线调光器,用户只需拨动对码开关,使无线调光器处于“对码”状态,再按动无线调光器,便可使调光器自动对码。结束对码后,当前遥控器的地址码将被保存,用户可根据需要通过无线遥控器来调节照明灯具的亮度或开关灯具。The purpose of this utility model is to provide a wireless dimmer with automatic code matching function. The user only needs to toggle the code switch to make the wireless dimmer in the "code matching" state, and then press the wireless dimmer to Make the dimmer automatically code. After the code pairing is completed, the address code of the current remote control will be saved, and the user can adjust the brightness of the lighting fixture or switch the lighting fixture through the wireless remote control as needed.

为达上述目的,本实用新型的一种自动对码无线调光器,包括:In order to achieve the above purpose, an automatic code matching wireless dimmer of the present invention includes:

无线遥控发射器,用于发射无线遥控命令,产生地址码;The wireless remote control transmitter is used to transmit wireless remote control commands and generate address codes;

无线接收电路,用于接收所述无线遥控发射电路的无线信号;A wireless receiving circuit, used to receive the wireless signal of the wireless remote control transmitting circuit;

一微控制器,与所述无线接收电路相连接,通过所述无线接收电路来捕获所述无线遥控发射电路的地址码,处理所述无线遥控命令;A microcontroller, connected to the wireless receiving circuit, captures the address code of the wireless remote control transmitting circuit through the wireless receiving circuit, and processes the wireless remote control command;

与所述微控制相连的调光执行电路,用于执行所述无线遥控发射电路的无线遥控命令;The dimming execution circuit connected with the micro-controller is used to execute the wireless remote control command of the wireless remote control transmitting circuit;

其特征在于,它还包括:It is characterized in that it also includes:

一非易失存储器,与所述微控制器相连,用于保存所述无线遥控发射电路产生的地址码;A non-volatile memory, connected with the microcontroller, used to save the address code generated by the wireless remote control transmitting circuit;

一对码开关,与所述微控制器相连,将产生对码的命令传送给所述微控制器。A pair of code switches is connected with the micro-controller and transmits the command for generating the code to the micro-controller.

采用这样的结构,使其具有以下优点:Adopting such a structure makes it have the following advantages:

1、用户操作简单,用户只需要拨动一个对码开关,便可完成对码设置,而不需要打开无线遥控器和拨动多个开关;1. The user's operation is simple. The user only needs to toggle a code switch to complete the code setting without turning on the wireless remote control and flipping multiple switches;

2、与开关阵列技术相比,地址码数量更多。采用开关阵列技术时,如果采用8位开关,每位开关有2种状态状态(高电平和低电平),则共有256种地址码组合;而采用自动对码技术,遥控器中的编码器有8位地址码输入端,每位有3种状态(高电平、低电平和浮空),共有6561种地址码组合,重码几率少,相邻用户间的干扰大大减少。2. Compared with the switch array technology, the number of address codes is more. When using switch array technology, if 8-bit switches are used, and each switch has 2 states (high level and low level), there are 256 address code combinations in total; while using automatic code matching technology, the encoder in the remote control There are 8-bit address code input terminals, each of which has 3 states (high level, low level and floating), a total of 6561 address code combinations, less chance of repeated codes, and greatly reduced interference between adjacent users.

为进一步说明本实用新型的上述目的、结构特点和效果,以下将结合附图对本实用新型进行详细的描述。In order to further illustrate the above purpose, structural features and effects of the present utility model, the utility model will be described in detail below in conjunction with the accompanying drawings.

(4)附图说明(4) Description of drawings

图1是自动对码无线调光器的整机结构框图。Figure 1 is a block diagram of the whole machine structure of the automatic coding wireless dimmer.

图2是自动对码无线调光器的遥控器电原理图。Figure 2 is an electrical schematic diagram of the remote control of the automatic code pairing wireless dimmer.

图3是自动对码无线调光器的主机电原理图。Fig. 3 is a schematic diagram of the main motor of the automatic coding wireless dimmer.

(5)具体实施方式(5) specific implementation

图1所示为本实用新型自动对码无线调光器的整机结构框图,它包括:Fig. 1 shows the structural block diagram of the whole machine of the automatic code matching wireless dimmer of the present invention, which includes:

无线遥控器1,用于产生编码,发射无线遥控命令,编码可以分为地址码和命令码两部分,无线发射电路是公知电路。无线遥控器的详细电原理图如图2所示,主要包括以下电路部分:无线遥控器遥控编码产生电路21、遥控器工作指示电路22、无线发射电路23和电池。The wireless remote controller 1 is used to generate codes and transmit wireless remote control commands. The codes can be divided into address codes and command codes. The wireless transmitting circuit is a known circuit. The detailed electrical schematic diagram of the wireless remote control is shown in Figure 2, which mainly includes the following circuit parts: the wireless remote control code generation circuit 21, the remote control work instruction circuit 22, the wireless transmission circuit 23 and the battery.

无线遥控器遥控编码产生电路21主要包括编码芯片U101、按键S101、按键S102、地址选择跳线K101~K108、电阻R101等部件。无线遥控编码由编码芯片U101产生,编码芯片U101的A1~A8为遥控编码地址码的输入端,每个输入端有高电平、低电平和浮空3种状态,因此总共有38=6561种地址码组合。8个输入端分别与8组地址选择跳线K101~K108连接,每组跳线可以设置输入端接电源、接地或悬空,分别对应高电平、低电平和浮空。跳线设置在生产过程中完成,6561种地址码循环使用,并确保同一批产品的地址码尽量不要重复。编码芯片U101的D1、D2为遥控命令输入端,其中编码芯片U101的遥控命令输入端D1与调亮灯光的按键S101相连,遥控命令输入端D2与调暗灯光的按键S102相连。The remote control code generation circuit 21 of the wireless remote controller mainly includes code chip U101, key S101, key S102, address selection jumpers K101-K108, resistor R101 and other components. The wireless remote control code is generated by the coding chip U101. A1~A8 of the coding chip U101 are the input terminals of the remote control coding address code. Each input terminal has three states of high level, low level and floating, so there are 3 8 =6561 in total combination of address codes. The 8 input terminals are respectively connected with 8 groups of address selection jumpers K101~K108, and each group of jumpers can be set to connect the input terminals to power supply, ground or float, corresponding to high level, low level and floating respectively. The jumper setting is completed during the production process, 6561 kinds of address codes are recycled, and it is ensured that the address codes of the same batch of products should not be repeated as much as possible. The D1 and D2 of the encoding chip U101 are remote control command input terminals, wherein the remote control command input terminal D1 of the encoding chip U101 is connected to the key S101 for dimming the light, and the remote control command input D2 is connected to the key S102 for dimming the light.

当用户按下调亮灯光的按键S101时,电池电压加至编码芯片U101的遥控命令输入端D1,编码芯片U101的遥控命令输入端D1为高电平,电池电压还通过二极管D101向编码芯片U101和其它电路供电,而此时编码芯片U101的遥控命令输入端D2为低电平,编码芯片U101将遥控命令输入端D1、D2和遥控编码地址码的输入端A1~A8的电平进行编码,并通过数据输出端DOUT向外发送。When the user presses the button S101 for turning on the light, the battery voltage is applied to the remote control command input terminal D1 of the encoding chip U101, and the remote control command input terminal D1 of the encoding chip U101 is at a high level, and the battery voltage is also sent to the encoding chip U101 and the encoding chip U101 through the diode D101. Other circuits supply power, and at this time the remote control command input terminal D2 of the encoding chip U101 is at low level, the encoding chip U101 encodes the levels of the remote control command input terminals D1, D2 and the input terminals A1-A8 of the remote control encoding address code, and Send out through the data output terminal DOUT.

当用户按下调暗灯光的按键S102时,电池电压加至编码芯片U101的遥控命令输入端D2,编码芯片U101的遥控命令输入端D2为高电平,电池电压还通过二极管D102向编码芯片U101和其它电路供电,而此时编码芯片U101的D1为低电平,编码芯片U101将遥控命令输入端D1、D2和遥控编码地址码的输入端A1~A8的电平进行编码,并通过数据输出端DOUT向外发送。When the user presses the button S102 for dimming the light, the battery voltage is applied to the remote control command input terminal D2 of the encoding chip U101, and the remote control command input terminal D2 of the encoding chip U101 is at a high level, and the battery voltage is also sent to the encoding chip U101 and the encoding chip U101 through the diode D102. Other circuits supply power, and at this time the D1 of the encoding chip U101 is at a low level, the encoding chip U101 encodes the levels of the remote control command input terminals D1, D2 and the input terminals A1-A8 of the remote control encoding address code, and transmits them through the data output terminal. DOUT is sent out.

电阻R101与编码芯片U101内部的电容器组成振荡电路,向编码芯片U101提供时钟信号。The resistor R101 and the capacitor inside the encoding chip U101 form an oscillating circuit to provide a clock signal to the encoding chip U101.

无线遥控器的无线发射电路23主要是由三极管Q101、电容C101~C105、电阻R103、电阻R104、电感L101、电感L102、电感L103、声表面滤波器SAW组成的一个简单的ASK(移频键控)无线发射电路。所谓ASK(移频键控)即提供载波信号的有无来表示信号高低电平的一种调制方式。在本电路中,通过编码电路的输出(编码芯片U101的数据输出端DOUT)控制载波信号的有无。The wireless transmitting circuit 23 of the wireless remote controller is mainly a simple ASK (frequency shift keying) composed of triode Q101, capacitors C101-C105, resistor R103, resistor R104, inductor L101, inductor L102, inductor L103, and surface acoustic filter SAW. ) wireless transmitting circuit. The so-called ASK (frequency shift keying) is a modulation method that provides the presence or absence of the carrier signal to indicate the high or low level of the signal. In this circuit, the presence or absence of the carrier signal is controlled by the output of the encoding circuit (the data output terminal DOUT of the encoding chip U101).

当编码芯片U101的数据输出端DOUT输出高电平时,电压通过电容C101和电阻R103加至声表面滤波器SAW。声表面滤波器SAW产生高频振荡信号,该高频振荡信号通过三极管Q101的放大,再通过电感L102的线圈发射;当编码芯片U101的数据输出端DOUT输出低电平时,声表面滤波器SAW振荡器停止振荡,三极管Q101停止发射;当编码芯片U101的数据输出端DOUT高低电平不断变化时,高频载波就相应的有无。When the data output terminal DOUT of the encoding chip U101 outputs a high level, the voltage is applied to the surface acoustic filter SAW through the capacitor C101 and the resistor R103. The surface acoustic filter SAW generates a high-frequency oscillation signal, which is amplified by the transistor Q101, and then transmitted through the coil of the inductor L102; when the data output terminal DOUT of the encoding chip U101 outputs a low level, the surface acoustic filter SAW oscillates The device stops oscillating, and the transistor Q101 stops transmitting; when the high and low levels of the data output terminal DOUT of the encoding chip U101 are constantly changing, the presence or absence of the high-frequency carrier is corresponding.

电感L101和电容C102组成向三极管Q101供电的电源滤波电路,电容C103、电容C104、电容C105、电感L103组成高频谐振电路,改变声表面滤波器SAW的频率可以改变发射的频率。无线发射电路是公知电路。Inductor L101 and capacitor C102 form a power filter circuit for supplying power to transistor Q101. Capacitor C103, capacitor C104, capacitor C105, and inductor L103 form a high-frequency resonant circuit. Changing the frequency of the surface acoustic filter SAW can change the frequency of emission. The wireless transmission circuit is a known circuit.

无线遥控器工作指示电路22包括电阻R102、发光二极管D103等部件,用于在用户按下遥控按键时的工作指示。The working instruction circuit 22 of the wireless remote control includes components such as a resistor R102 and a light emitting diode D103, which are used for working instructions when the user presses a remote control button.

图1中的第二部分为自动对码无线调光器主机2,包括:无线接收电路3、微控制器4、对码开关5、非易失存储器6、手动调光按键7、调光执行电路8。自动对码无线调光器主机2与灯具9和交流220V市电火线相连,灯具9再与交流220V市电零线相连,如图1所示。以下结合图1和图3介绍自动对码无线调光器主机2工作原理。The second part in Fig. 1 is the main unit 2 of the automatic code-aligning wireless dimmer, including: wireless receiving circuit 3, microcontroller 4, code-pairing switch 5, non-volatile memory 6, manual dimming button 7, dimming execution Circuit 8. The host 2 of the wireless dimmer for automatic code matching is connected to the lamp 9 and the live wire of the AC 220V mains, and the lamp 9 is then connected to the neutral wire of the AC 220V mains, as shown in FIG. 1 . The following describes the working principle of the wireless dimmer host 2 for automatic code matching with reference to FIG. 1 and FIG. 3 .

图1中无线接收电路3,用于接收无线遥控器1的无线信号,并解调出遥控编码。无线接收电路3的电路图见图3的31,主要包括天线A1、三极管Q1、运算放大器U1A和U1B、检波二极管D1等器件。The wireless receiving circuit 3 in FIG. 1 is used to receive the wireless signal of the wireless remote controller 1 and demodulate the remote control code. The circuit diagram of the wireless receiving circuit 3 is shown in 31 in FIG. 3 , which mainly includes antenna A1, transistor Q1, operational amplifiers U1A and U1B, detection diode D1 and other components.

三极管Q1、检波二极管D1及其外围电路(电容C1~C5、电阻R1~R3、R6)组成了高频放大和检波电路,检波输出通过R7、R8加至运算放大器U1A,运算放大器U1A将检波后的信号进行放大,电阻R9是运算放大器U1A的反馈电阻。运算放大器U1B和电阻R10、二极管D2组成波形整形电路。运算放大器U1B的7号脚输出就是解调还原出的无线遥控器1的编码器U101的数据输出端DOUT的信号。无线接收电路3也是公知电路。Transistor Q1, detection diode D1 and its peripheral circuits (capacitors C1~C5, resistors R1~R3, R6) form a high-frequency amplification and detection circuit, and the detection output is added to the operational amplifier U1A through R7 and R8, and the operational amplifier U1A converts the detected The signal is amplified, and the resistor R9 is the feedback resistor of the operational amplifier U1A. Operational amplifier U1B, resistor R10 and diode D2 form a waveform shaping circuit. The output of pin 7 of the operational amplifier U1B is the demodulated and restored signal of the data output terminal DOUT of the encoder U101 of the wireless remote controller 1 . The wireless receiving circuit 3 is also a known circuit.

如图1所示,微控制器4与无线接收电路3相连,通过无线接收电路3来接收无线遥控器1的编码,并将编码分为地址码和命令码分别送入非易失存储器5和调光执行电路8。As shown in Figure 1, the microcontroller 4 is connected to the wireless receiving circuit 3, receives the code of the wireless remote controller 1 through the wireless receiving circuit 3, and divides the code into address code and command code and sends them to the nonvolatile memory 5 and Dimming executive circuit 8.

微控制器的电原理图见图3的32,单片机U2的管脚SDA、SCL、EN分别与非易失存储器6(电原理图见图3中的33)相应的管脚连接。单片机U2的管脚P1与对码开关S1连接,单片机U2的管脚P2与手动调光按键S2连接,单片机U2的管脚DIN与无线接收电原理图31的输出端(即图中的7号脚输出)连接,单片机U2的管脚P3、P4与调光执行电路8(电原理图见图3中的36)连接。晶体振荡器Y1和稳定补偿电容C12、C13组成了单片机U2的时钟电路。电阻R12、电容C14组成了单片机U2的上电复位电路。单片机U2内部有自动对码调光程序,控制整机的运行。单片机U2内部还有RAM存储器,可以用来存放用户上一次关灯前灯光的亮度,该亮度数值在用户执行开灯动作时被读取,并用于控制调光执行电路8,以此实现灯光亮度的记忆功能。The electrical schematic diagram of the microcontroller is shown in 32 in FIG. 3 , and the pins SDA, SCL, and EN of the single-chip microcomputer U2 are respectively connected to the corresponding pins of the nonvolatile memory 6 (the electrical schematic diagram is shown in 33 in FIG. 3 ). The pin P1 of the single-chip microcomputer U2 is connected to the code switch S1, the pin P2 of the single-chip microcomputer U2 is connected to the manual dimming button S2, and the pin DIN of the single-chip microcomputer U2 is connected to the output terminal of the wireless receiving circuit schematic diagram 31 (that is, No. 7 in the figure pin output), and the pins P3 and P4 of the single-chip microcomputer U2 are connected with the dimming execution circuit 8 (see 36 in FIG. 3 for the electrical schematic diagram). The crystal oscillator Y1 and the stable compensation capacitors C12 and C13 form the clock circuit of the microcontroller U2. The resistor R12 and the capacitor C14 form the power-on reset circuit of the single-chip microcomputer U2. There is an automatic dimming program inside the single-chip microcomputer U2 to control the operation of the whole machine. There is also a RAM memory inside the single-chip microcomputer U2, which can be used to store the brightness of the light before the user turned off the light last time. memory function.

图1中对码开关器5(即图3中的34部分的对码开关S1),用于设置调光器工作状态,即设置“对码”状态和“正常工作”状态的开关。对码开关器5与微控制器4(即单片机U2的管脚P1)相连。The code switch 5 in Fig. 1 (ie the code switch S1 of part 34 in Fig. 3) is used to set the working state of the dimmer, that is, the switch for setting the "code" state and the "normal operation" state. The code switch 5 is connected with the microcontroller 4 (ie, the pin P1 of the single-chip microcomputer U2).

当对码开关器5处于打开状态时,微控制器4(即单片机U2)的管脚P1为高电平,微控制器4(即单片机U2)读到管脚P1为高电平时,即判断处于”正常工作”状态;当对码开关5处于闭合状态时,微控制器4(即单片机U2)的管脚P1为低电平,微控制器4(即单片机U2)读到管脚P1为低电平时,即判断处于“对码”状态。When the code switch 5 was in an open state, the pin P1 of the microcontroller 4 (ie, the single-chip microcomputer U2) was at a high level, and when the microcontroller 4 (ie, the single-chip microcomputer U2) read that the pin P1 was at a high level, it judged It is in the state of "normal operation"; when the code switch 5 is in the closed state, the pin P1 of the microcontroller 4 (that is, the single-chip microcomputer U2) is at a low level, and the microcontroller 4 (that is, the single-chip microcomputer U2) reads that the pin P1 is When the level is low, it is judged to be in the "code matching" state.

图1中手动调光开关7(即图3中的35部分的手动调光按键S2),用于用户直接手动调节灯光亮度。The manual dimmer switch 7 in FIG. 1 (that is, the manual dimmer button S2 at part 35 in FIG. 3 ) is used for the user to directly manually adjust the light brightness.

手动调光开关7与微控制器4(即单片机U2的管脚P2)相连。当用户按下手动调光开关7,微控制器4(即单片机U2)的管脚P2为低电平,微控制器4(即单片机U2)读到管脚P2为低电平时,就控制调光执行电路8进行调光。The manual dimmer switch 7 is connected with the microcontroller 4 (that is, the pin P2 of the single-chip microcomputer U2). When the user presses the manual dimmer switch 7, the pin P2 of the microcontroller 4 (that is, the single-chip microcomputer U2) is at a low level, and when the microcontroller 4 (that is, the single-chip microcomputer U2) reads that the pin P2 is at a low level, it controls the dimming. The light actuator circuit 8 performs light adjustment.

微控制器4可以根据用户按键时间的长度,决定进行调光或是开/关灯。当用户按下手动调光开关7的时间超过0.5秒,微控制器4控制调光执行电路8执行调光动作:如果上一次调光是将灯光调亮,则继续渐渐调亮灯光,当灯光亮度达到最大,则渐渐调暗灯光;如果上一次调光是将灯光调暗,则继续渐渐调暗灯光,当灯光亮度到达最小(关状态),则渐渐调亮灯光。当用户松开手动调光开关7,微控制器4立刻停止调光动作。当用户按下手动调光开关7的时间小于0.5秒,微控制器4控制调光执行电路8执行开关灯动作:如果当前灯是开状态,则执行关灯;如果当前灯是关状态,则执行开灯,将灯光亮度调节到上一次关灯时的亮度。这种灯光亮度的记忆功能可以方便用户使用。The microcontroller 4 can decide to adjust the light or turn on/off the light according to the length of time the user presses the key. When the user presses the manual dimming switch 7 for more than 0.5 seconds, the micro-controller 4 controls the dimming executive circuit 8 to perform the dimming action: if the previous dimming was to brighten the light, then continue to gradually dim the light. When the brightness reaches the maximum, the light will be dimmed gradually; if the light was dimmed last time, the light will continue to be dimmed gradually, and when the light brightness reaches the minimum (off state), the light will be gradually brightened. When the user releases the manual dimming switch 7, the microcontroller 4 immediately stops the dimming action. When the time for the user to press the manual dimming switch 7 is less than 0.5 seconds, the microcontroller 4 controls the dimming execution circuit 8 to perform the light switching action: if the current light is on, then turn off the light; if the current light is off, Then turn on the light and adjust the brightness of the light to the brightness when the light was turned off last time. The memory function of the light brightness can be convenient for users to use.

图1中非易失存储器7(即图3中的2-3部分的非易失存储芯片U3),与微控制器4(即单片机U2)相连,用于保存对应的遥控器的地址码,并且在断电情况下,仍可以保存地址码,使地址码数据不丢失。Non-volatile memory 7 among Fig. 1 (being the non-volatile memory chip U3 of 2-3 part among Fig. 3), is connected with microcontroller 4 (being single-chip microcomputer U2), is used for storing the address code of corresponding remote controller, And in the case of power failure, the address code can still be saved, so that the address code data will not be lost.

图1中的调光执行电路8(电原理图见图3中的36部分),其中三极管Q2、Q3及其外围电路(包括二极管D7、D8、电阻R20~R23)组成对220V交流电的50Hz信号的采样电路,可以将50Hz正弦波信号变换为100Hz脉冲信号,微控制器4将以此信号作为调光的同步信号。可控硅Q6及其外围电路(包括电阻R16、电感L3、电容C19)组成调光控制电路,该电路由微控制器4控制通断,以控制通过灯具9的交流220V市电的时间长短来到达控制灯光亮度目的。由于控制电路工作的频率是100Hz(由上述采样电路获得),所以人眼不会感到闪烁。保险丝F1为保护电路,LAMP为灯。调光执行电路36也可以控制灯的开关。Dimming executive circuit 8 in Fig. 1 (see part 36 in Fig. 3 for the electrical schematic diagram), in which triodes Q2, Q3 and their peripheral circuits (including diodes D7, D8, and resistors R20-R23) form a 50Hz signal to 220V AC The sampling circuit can transform the 50Hz sine wave signal into a 100Hz pulse signal, and the microcontroller 4 will use this signal as a synchronous signal for dimming. Thyristor Q6 and its peripheral circuits (including resistor R16, inductor L3, and capacitor C19) form a dimming control circuit, which is controlled by the microcontroller 4 to control the duration of the AC 220V mains power passing through the lamp 9. To achieve the purpose of controlling the brightness of the light. Since the operating frequency of the control circuit is 100Hz (obtained by the above-mentioned sampling circuit), human eyes will not feel flicker. Fuse F1 is the protection circuit, and LAMP is the lamp. The dimming executive circuit 36 can also control the switch of the light.

按照本实用新型自动对码无线调光器的工作流程如下:According to the working process of the utility model automatic coding wireless dimmer is as follows:

1、无线遥控器1在出厂时具有固定的地址码(假设地址码为M),而自动对码调光器主机2在出厂时地址码为0。用户在使用前必须进行“对码”,即将对码开关器5置于“对码”位置,按照图1所示将自动对码调光器主机2串接在交流220V市电的火线上;1. The wireless remote controller 1 has a fixed address code (assuming the address code is M) when it leaves the factory, while the address code of the automatic code-aligning dimmer host 2 is 0 when it leaves the factory. The user must perform "code matching" before use, that is, put the code switch 5 in the "code matching" position, and connect the automatic code dimmer host 2 to the live line of the AC 220V mains in series as shown in Figure 1;

2、用户按下无线遥控器1上的任意按键,无线遥控器1电路工作,将遥控命令和地址码(M)编码后发射;2. The user presses any button on the wireless remote control 1, the circuit of the wireless remote control 1 works, encodes the remote control command and the address code (M) and then transmits it;

3、自动对码调光器主机2通过无线接收电路3接收无线遥控信号并送到微控制器4。微控制器4分解遥控信号中的遥控命令和地址码,将地址码保存在非易失存储器6中,并根据遥控命令控制调光执行电路8进行调光。用户可以根据调光结果,知道地址码设置成功。该步骤就是自动对码技术的“学习”和“记忆”过程;3. The main unit 2 of the automatic code dimmer receives the wireless remote control signal through the wireless receiving circuit 3 and sends it to the microcontroller 4 . The microcontroller 4 decomposes the remote control command and address code in the remote control signal, stores the address code in the non-volatile memory 6, and controls the dimming execution circuit 8 to perform dimming according to the remote control command. The user can know that the address code is set successfully according to the dimming result. This step is the "learning" and "memory" process of automatic code matching technology;

4、用户将对码开关5置于“正常工作”位置,按下无线遥控器1上遥控命令按键,无线遥控器1电路工作,将遥控命令和地址码(M)编码后发射。自动对码调光器主机2接收无线遥控信号,微控制器4将无线遥控信号分解为遥控命令和地址码(M),并将地址码(M)与非易失存储器6中保存的地址码对比,如果相同,则执行遥控命令;如果不同,则不执行遥控命令。4. The user puts the code switch 5 in the "normal working" position, presses the remote control command button on the wireless remote control 1, the circuit of the wireless remote control 1 works, encodes the remote control command and address code (M) and then transmits. The host 2 of the automatic code dimmer receives the wireless remote control signal, and the microcontroller 4 decomposes the wireless remote control signal into a remote control command and an address code (M), and compares the address code (M) with the address code stored in the non-volatile memory 6 For comparison, if they are the same, the remote control command is executed; if they are different, the remote control command is not executed.

5、用户通过无线遥控器1可以进行灯光的调亮、调暗,也可以开/关灯。微控制器4可以根据用户按键时间的长度,决定进行调光或是开/关灯。当用户按下如图2的无线遥控器遥控编码产生电路21中的调光按键S101或按键S102的时间超过0.5秒,微控制器4控制调光执行电路8执行调光动作:如果按下了按键S101,则渐渐调亮灯光,直到灯光亮度达到最大;如果按下了按键S102,则渐渐调暗灯光,直到灯光亮度到达最小(关状态)。当用户松开调光按键S101或按键S102,微控制器4立刻停止调光动作。当用户按下调光按键S101或按键S102的时间小于0.5秒,微控制器4控制调光执行电路8执行开关灯动作:如果按下按键S102,则执行关灯;如果按下按键S101,则执行开灯,将灯光亮度调节到上一次关灯时的亮度。这种灯光亮度的记忆功能可以方便用户使用。5. Through the wireless remote controller 1 , the user can adjust the lights, dim them, and turn on/off the lights. The microcontroller 4 can decide to adjust the light or turn on/off the light according to the length of time the user presses the key. When the user presses the dimming button S101 or button S102 in the wireless remote control code generation circuit 21 as shown in Figure 2 for more than 0.5 seconds, the microcontroller 4 controls the dimming execution circuit 8 to perform the dimming action: if the button is pressed Press the button S101 to gradually brighten the light until the brightness of the light reaches the maximum; if the button S102 is pressed, then gradually dim the light until the brightness of the light reaches the minimum (off state). When the user releases the dimming button S101 or the button S102, the microcontroller 4 immediately stops the dimming action. When the user presses the dimming button S101 or the button S102 for less than 0.5 seconds, the micro-controller 4 controls the dimming execution circuit 8 to perform the light switching action: if the button S102 is pressed, the light is turned off; if the button S101 is pressed, then Turn on the light and adjust the brightness of the light to the brightness when the light was turned off last time. The memory function of the light brightness can be convenient for users to use.

虽然本发明已参照当前的具体实施例来描述,但是本技术领域中的普通技术人员应当认识到,以上的实施例仅是用来说明本实用新型,应理解其中可作各种变化和修改而在广义上没有脱离本发明,所以并非作为对本实用新型的限定,只要在本实用新型的实质精神范围内,对以上所述实施例的变化、变形都将落在本实用新型权利要求书的范围内。Although the present invention has been described with reference to the current specific embodiments, those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the utility model, and it should be understood that various changes and modifications can be made therein. In a broad sense, it does not depart from the present invention, so it is not as a limitation to the present utility model, as long as within the scope of the essential spirit of the present utility model, changes and deformations to the above-mentioned embodiments will fall within the scope of the claims of the present utility model Inside.

Claims (2)

1.一种自动对码无线调光器,包括:1. An automatic code matching wireless dimmer, comprising: 无线遥控发射器,用于发射无线遥控命令,产生地址码;The wireless remote control transmitter is used to transmit wireless remote control commands and generate address codes; 无线接收电路,用于接收所述无线遥控发射电路的无线信号;A wireless receiving circuit, used to receive the wireless signal of the wireless remote control transmitting circuit; 一微控制器,与所述无线接收电路相连接,通过所述无线接收电路来捕获所述无线遥控发射电路的地址码,处理所述无线遥控命令;A microcontroller, connected to the wireless receiving circuit, captures the address code of the wireless remote control transmitting circuit through the wireless receiving circuit, and processes the wireless remote control command; 与所述微控制相连的调光执行电路,用于执行所述无线遥控发射电路的无线遥控命令;The dimming execution circuit connected with the micro-controller is used to execute the wireless remote control command of the wireless remote control transmitting circuit; 其特征在于,它还包括:It is characterized in that it also includes: 一非易失存储器,与所述微控制器相连,用于保存所述无线遥控发射电路产生的地址码;A non-volatile memory, connected with the microcontroller, used to save the address code generated by the wireless remote control transmitting circuit; 一对码开关,与所述微控制器相连,将产生对码的命令传送给所述微控制器。A pair of code switches is connected with the micro-controller and transmits the command for generating the code to the micro-controller. 2.如权利要求书1所述的无线调光器,其特征在于它还包括一直接与所述微控制器相连的手动调光开关。2. The wireless dimmer of claim 1, further comprising a manual dimmer switch directly connected to said microcontroller.
CNU022943218U 2002-12-27 2002-12-27 Automatic code wireless dimmer Expired - Fee Related CN2598296Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU022943218U CN2598296Y (en) 2002-12-27 2002-12-27 Automatic code wireless dimmer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU022943218U CN2598296Y (en) 2002-12-27 2002-12-27 Automatic code wireless dimmer

Publications (1)

Publication Number Publication Date
CN2598296Y true CN2598296Y (en) 2004-01-07

Family

ID=34151945

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU022943218U Expired - Fee Related CN2598296Y (en) 2002-12-27 2002-12-27 Automatic code wireless dimmer

Country Status (1)

Country Link
CN (1) CN2598296Y (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184353B (en) * 2007-10-24 2011-05-11 李舒 Radio remote address programmable two-way communication digital light control system
CN102111580A (en) * 2009-12-23 2011-06-29 康佳集团股份有限公司 Electronic device with RF remote control module and remote control method of electronic device
CN102651940A (en) * 2012-05-21 2012-08-29 潘国燕 Learning wireless remote control LED dimming lamp and control matching method thereof
CN103646526A (en) * 2013-12-17 2014-03-19 苏州市昇源电子科技有限公司 Remote control transmitter applicable to lighting system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184353B (en) * 2007-10-24 2011-05-11 李舒 Radio remote address programmable two-way communication digital light control system
CN102111580A (en) * 2009-12-23 2011-06-29 康佳集团股份有限公司 Electronic device with RF remote control module and remote control method of electronic device
CN102651940A (en) * 2012-05-21 2012-08-29 潘国燕 Learning wireless remote control LED dimming lamp and control matching method thereof
CN103646526A (en) * 2013-12-17 2014-03-19 苏州市昇源电子科技有限公司 Remote control transmitter applicable to lighting system

Similar Documents

Publication Publication Date Title
CN103857146B (en) Illumination regulation and control method and device
CN103636292B (en) The control device of luminaire and method
CN102282913A (en) Calibration of lamps using power line communication for sending calibration data
CA2488035A1 (en) Electronic dimming ballast for compact fluorescent lamps
CN105392239A (en) Luminaire brightness control method and LED lamp with adjustable brightness
CN102300378A (en) Wireless remote control and remote control light-adjusting and electricity-saving bulb device with signal response and forwarding
CN2598296Y (en) Automatic code wireless dimmer
JP2009517803A (en) Energy efficient fluorescent lamp
CN1925714A (en) Multi-stage dimming control device and dimming control method for gas discharge lamp
JP2019212626A (en) Master-slave lighting device, master-slave lighting device control method, and smart lighting system
CN1335679A (en) Intelligent radio remote control electric appliance switch system
CN204498406U (en) Touch/wireless remote control light modulation lamp
CN101291560A (en) Light modulation control circuit applied to lighting control circuit of single wire
CN201844212U (en) LED (light emitting diode) torch
CN1705421A (en) Digital remote controlled dimmer switch capable of controlling energy-saving lamp
US11617249B2 (en) Lighting apparatus
CN108633138A (en) A kind of method that list firewire sends brightness control signal
CN201260254Y (en) Remote-control electric lamp switch
CN202435648U (en) Electrodeless dimming switch based on LED illumination
CN2534766Y (en) Remote-controlling controller for illuminating lamps
CN102123548A (en) Brightness adjusting method and system of LED lamp
CN2525736Y (en) Intelligent radio remote control electric switch device
CN209994581U (en) Light modulator
CN2476156Y (en) Lamps with remote control
CN213342771U (en) Lamp control system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHANGHAI AIWEI AVIATION ELECTRONICS CO., LTD.

Free format text: FORMER OWNER: SHANGHAI XIEN COMMUNICATION NEVIGATION CO. LTD.

Effective date: 20060310

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20060310

Address after: 200233, room 47, building 555, No. 512, Guiping Road, Shanghai

Patentee after: Shanghai Aiwei Aerospace Electronic Co., Ltd.

Address before: 200233, room 47, building 555, No. 512, Guiping Road, Shanghai

Patentee before: Shanghai Xien Communication Nevigation Co. Ltd.

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

Granted publication date: 20040107

Termination date: 20101227