[go: up one dir, main page]

CN115052403A - Lighting controller - Google Patents

Lighting controller Download PDF

Info

Publication number
CN115052403A
CN115052403A CN202210719229.5A CN202210719229A CN115052403A CN 115052403 A CN115052403 A CN 115052403A CN 202210719229 A CN202210719229 A CN 202210719229A CN 115052403 A CN115052403 A CN 115052403A
Authority
CN
China
Prior art keywords
lighting controller
key
cpu module
load
time value
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
CN202210719229.5A
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.)
Suzhou Zhierzhuo Digital Technology Co ltd
Original Assignee
Suzhou Zhierzhuo Digital 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 Suzhou Zhierzhuo Digital Technology Co ltd filed Critical Suzhou Zhierzhuo Digital Technology Co ltd
Priority to CN202210719229.5A priority Critical patent/CN115052403A/en
Publication of CN115052403A publication Critical patent/CN115052403A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • 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
    • 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/155Coordinated control of two or more light sources
    • 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/17Operational modes, e.g. switching from manual to automatic mode or prohibiting specific operations
    • 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

本申请公开了一种照明控制器,涉及照明控制技术领域,所述照明控制器包括:CPU模块以及连接于输入线路L和N二端之间的降压模块,降压模块为CPU模块提供工作电源;CPU模块包含矩阵键盘、通讯端口和输出控制端口,输出控制端口分别控制接触器K1~Kn的通与断,K1~Kn各自一端分别与L连接,另一端分别与负载L1~Ln的一端连接,L1~Ln各自的另一端均连接到线路N,每个负载分别受各自对应的接触器控制,CPU模块根据场景参数控制各个负载,n为大于1的整数。解决了现有技术中照明灯的控制方式固化功能单一无法满足部分场景的使用的问题,达到了可以根据场景参数灵活控制各个负载进而满足不同场景的需求的效果。此外,本申请的电路结构简单可靠性强。

Figure 202210719229

The present application discloses a lighting controller, which relates to the technical field of lighting control. The lighting controller includes: a CPU module and a step-down module connected between two terminals of an input line L and N, and the step-down module provides work for the CPU module Power supply; CPU module includes matrix keyboard, communication port and output control port. The output control port controls the on and off of contactors K1~Kn respectively. One end of K1~Kn is connected to L respectively, and the other end is connected to one end of load L1~Ln respectively. Connection, the other ends of L1~Ln are connected to line N, each load is controlled by its corresponding contactor, the CPU module controls each load according to the scene parameters, n is an integer greater than 1. The problem that the curing function of the control mode of the lighting lamp in the prior art cannot meet the use of some scenes is solved, and the effect that each load can be flexibly controlled according to scene parameters to meet the needs of different scenes is achieved. In addition, the circuit structure of the present application is simple and reliable.

Figure 202210719229

Description

照明控制器lighting controller

技术领域technical field

本发明涉及一种照明控制器,属于照明控制领域。The invention relates to a lighting controller, which belongs to the field of lighting control.

背景技术Background technique

现有楼宇或室内外照明集中电控,通常为一个开关控制一盏灯的“一对一”控制方式,或由厂家设置的“一对多”、“多对多”等固化了控制方式,功能较为单一,不能满足部分场景的使用。The centralized electric control of existing buildings or indoor and outdoor lighting is usually a "one-to-one" control method in which a switch controls one lamp, or a "one-to-many", "many-to-many" and other solidified control methods set by the manufacturer. The function is relatively single and cannot meet the use of some scenarios.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种照明控制器,用于解决现有技术中存在的问题。The purpose of the present invention is to provide a lighting controller for solving the problems existing in the prior art.

为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

根据第一方面,本发明实施例提供了一种照明控制器,所述照明控制器包括:According to a first aspect, an embodiment of the present invention provides a lighting controller, the lighting controller comprising:

中央处理器CPU模块以及连接于输入线路L和N二端之间的降压模块,所述降压模块为所述CPU模块提供工作电源;a central processing unit CPU module and a step-down module connected between the two ends of the input line L and N, the step-down module provides working power for the CPU module;

所述CPU模块包含矩阵键盘、通讯端口和输出控制端口,所述输出控制端口分别控制接触器K1~Kn的通与断,K1~Kn各自一端分别与L连接,另一端分别与负载L1~Ln的一端连接,L1~Ln各自的另一端均连接到线路N,每个负载分别受各自对应的接触器控制,所述CPU模块根据场景参数控制各个负载,n为大于1的整数。The CPU module includes a matrix keyboard, a communication port and an output control port. The output control ports respectively control the on and off of the contactors K1 to Kn. One end of each of K1 to Kn is respectively connected to L, and the other end is respectively connected to loads L1 to Ln. One end of L1~Ln is connected to line N, each load is controlled by its corresponding contactor, the CPU module controls each load according to scene parameters, n is an integer greater than 1.

可选地,所述矩阵键盘包括数字键和功能键F1~F5,所述F1用于切换场景编程模式和现场控制模式;Optionally, the matrix keyboard includes numeric keys and function keys F1 to F5, and the F1 is used to switch the scene programming mode and the scene control mode;

在所述场景编程模式下,F2为加入功能键,F3为切除能键,F4为延时开启的时间值键,F5为关闭延时的时间值键;In the scene programming mode, F2 is the add function key, F3 is the cut-off energy key, F4 is the time value key for delay opening, and F5 is the time value key for closing the delay;

在现场控制模式下,F2为全部开启键,F3为全部关闭键。In the field control mode, F2 is the all-on key, and F3 is the all-off key.

可选地,所述CPU模块中存储有驱动注册状态表和时间值储存表,所述驱动注册状态表中包括各个数字键与各个地址的逻辑状态的对应关系,所述时间值储存表中包括各个数字键被按下时各个负载的时间值;Optionally, a drive registration state table and a time value storage table are stored in the CPU module, the drive registration state table includes the correspondence between the logical states of each numeric key and each address, and the time value storage table includes The time value of each load when each number key is pressed;

所述CPU模块根据所述场景参数、所述驱动注册状态表和所述时间值储存表控制各个负载。The CPU module controls each load according to the scene parameter, the driver registration state table and the time value storage table.

可选地,所述降压模块输出两路电压,其中一路电压为所述CPU模块提供工作电源,另一路电压为所述接触器提供工作电压。Optionally, the step-down module outputs two voltages, wherein one voltage provides working power for the CPU module, and the other voltage provides working voltage for the contactor.

可选地,所述降压模块为:工频交流变压器降压形式,或者,脉冲宽度调制PWM降压形式,或者,AC-DC变换器,或者DC-DC变换器。Optionally, the step-down module is: a power-frequency AC transformer step-down form, or a pulse width modulation PWM step-down form, or an AC-DC converter, or a DC-DC converter.

可选地,所述接触器K1~Kn包括电磁式继电器、双向可控硅或者功率型绝缘栅双极型晶体管IGBT中的至少一种。Optionally, the contactors K1 to Kn include at least one of an electromagnetic relay, a triac or a power insulated gate bipolar transistor IGBT.

可选地,所述场景参数通过所述矩阵键盘设置或者通过所述通讯端口从外部获取。Optionally, the scene parameters are set through the matrix keyboard or obtained from the outside through the communication port.

可选地,所述负载L1~Ln包括白炽灯、发光二极管LED灯、日光灯和卤素灯中的至少一种。Optionally, the loads L1 to Ln include at least one of incandescent lamps, light-emitting diode (LED) lamps, fluorescent lamps and halogen lamps.

可选地,所述输入线路L和N两端的电压为AC220V或者直流电源。Optionally, the voltages at both ends of the input lines L and N are AC220V or DC power.

可选地,所述通讯端口包括基于物理通用异步收发器UART的通讯接口。Optionally, the communication port includes a physical universal asynchronous transceiver UART-based communication interface.

通过提供一种照明控制器,所述照明控制器包括:中央处理器CPU模块以及连接于输入线路L和N二端之间的降压模块,所述降压模块为所述CPU模块提供工作电源;所述CPU模块包含矩阵键盘、通讯端口和输出控制端口,所述输出控制端口分别控制接触器K1~Kn的通与断,K1~Kn各自一端分别与L连接,另一端分别与负载L1~Ln的一端连接,L1~Ln各自的另一端均连接到线路N,每个负载分别受各自对应的接触器控制,所述CPU模块根据场景参数控制各个负载,n为大于1的整数。解决了现有技术中照明灯的控制方式固化功能单一无法满足部分场景的使用的问题,达到了可以根据场景参数灵活控制各个负载进而满足不同场景的需求的效果。此外,本申请的电路结构简单可靠性强。By providing a lighting controller, the lighting controller includes: a central processing unit (CPU) module and a step-down module connected between two ends of an input line L and N, the step-down module provides working power for the CPU module The CPU module comprises a matrix keyboard, a communication port and an output control port, the output control ports respectively control the on and off of the contactors K1~Kn, one end of K1~Kn is respectively connected with L, and the other end is connected with the load L1~Kn respectively One end of Ln is connected, the other ends of L1 to Ln are connected to line N, each load is controlled by its corresponding contactor, the CPU module controls each load according to scene parameters, n is an integer greater than 1. The problem that the curing function of the control mode of the lighting lamp in the prior art cannot meet the use of some scenes is solved, and the effect of flexibly controlling each load according to the scene parameters to meet the needs of different scenes is achieved. In addition, the circuit structure of the present application is simple and reliable.

此外,本申请中CPU模块可以根据驱动注册状态表和时间值储存表现场编程,进一步扩大了本申请的应用场景。In addition, the CPU module in the present application can be programmed on-site according to the driver registration state table and the time value storage table, which further expands the application scenarios of the present application.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,并可依照说明书的内容予以实施,以下以本发明的较佳实施例并配合附图详细说明如后。The above description is only an overview of the technical solution of the present invention. In order to understand the technical means of the present invention more clearly, and implement it according to the content of the description, the preferred embodiments of the present invention are described in detail below with the accompanying drawings.

附图说明Description of drawings

图1为本发明一个实施例提供的照明控制器的电路原理示意图。FIG. 1 is a schematic diagram of a circuit principle of a lighting controller provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation or a specific orientation. construction and operation, and therefore should not be construed as limiting the invention. Furthermore, the terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be internal communication between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.

此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

请参考图1,其示出了本申请一个实施例提供的照明控制器的电路原理图,如图1所示,所述照明控制器包括:Please refer to FIG. 1, which shows a schematic circuit diagram of a lighting controller provided by an embodiment of the present application. As shown in FIG. 1, the lighting controller includes:

CPU(central processing unit,中央处理器)模块以及连接于输入线路L和N二端之间的降压模块,所述降压模块为所述CPU模块提供工作电源;A CPU (central processing unit, central processing unit) module and a step-down module connected between the two ends of the input line L and N, the step-down module provides working power for the CPU module;

所述CPU模块包含矩阵键盘、通讯端口和输出控制端口,所述输出控制端口分别控制接触器K1~Kn的通与断,K1~Kn各自一端分别与L连接,另一端分别与负载L1~Ln的一端连接,L1~Ln各自的另一端均连接到线路N,每个负载分别受各自对应的接触器控制,所述CPU模块根据场景参数控制各个负载,n为大于1的整数。The CPU module includes a matrix keyboard, a communication port and an output control port. The output control ports respectively control the on and off of the contactors K1 to Kn. One end of each of K1 to Kn is respectively connected to L, and the other end is respectively connected to loads L1 to Ln. One end of L1~Ln is connected to line N, each load is controlled by its corresponding contactor, the CPU module controls each load according to scene parameters, n is an integer greater than 1.

所述输入线路L和N两端的电压为AC220V或者直流电源。The voltages at both ends of the input lines L and N are AC220V or DC power.

所述矩阵键盘包括数字键和功能键F1~F5,所述F1用于切换场景编程模式和现场控制模式;其中,在一种可能的实现方式中,数字键包括0#~F#键。The matrix keyboard includes number keys and function keys F1 to F5, and the F1 is used to switch the scene programming mode and the scene control mode; wherein, in a possible implementation manner, the number keys include 0 # to F # keys.

在所述场景编程模式下,F2为加入功能键,F3为切除能键,F4为延时开启的时间值键,F5为关闭延时的时间值键;In the scene programming mode, F2 is the add function key, F3 is the cut-off energy key, F4 is the time value key for delay opening, and F5 is the time value key for closing the delay;

在现场控制模式下,F2为全部开启键,F3为全部关闭键。In the field control mode, F2 is the all-on key, and F3 is the all-off key.

其中,CPU模块或者外置E2PROM等记忆体中存储有驱动注册状态表,驱动注册状态表中包括各个数字键与各个地址的逻辑状态的对应关系,CPU模块根据场景参数和驱动状态注册表控制各个负载。在一种可能的实施例中,请参考表1,数字键0#~F#键分别对应表1地址00~0FH(16位格式)中的逻辑状态,且各地址中,均是D0位为1,也即0#键仅仅控制D0位,其示出了一种可能的驱动注册状态表的实现。Among them, the CPU module or the external E 2 PROM and other memory stores a driver registration status table, and the driver registration status table includes the corresponding relationship between each digital key and the logical state of each address. The CPU module registers according to the scene parameters and the driver status. Control individual loads. In a possible embodiment, please refer to Table 1, the number keys 0 # to F # correspond to the logic states in the addresses 00 to 0FH (16-bit format) in Table 1, respectively, and in each address, the D0 bit is 1, that is, the 0 # key only controls the D0 bit, which shows a possible implementation of the driver registration state table.

Figure BDA0003710692250000051
Figure BDA0003710692250000051

表1Table 1

在另一种可能的实施方式中,由于实际应用中,可能会需要控制负载延时关闭或者延时开启,因此,所述CPU模块中存储有时间值储存表,所述时间值储存表中包括各个数字键被按下时各个负载的时间值。比如,请参考表2,其示出了0#键被按下时,各个负载的时间值信息。其中,如表2所示,00H地址用于存放L1开启的延时值,01H地址用于存放L1关闭的延时值,表格直至1FH对应L16的关闭延时值为止。In another possible implementation manner, since in practical applications, it may be necessary to control the load to be turned off with a delay or to be turned on with a delay. Therefore, the CPU module stores a time value storage table, and the time value storage table includes The time value of each load when each number key is pressed. For example, please refer to Table 2, which shows the time value information of each load when the 0 # key is pressed. Among them, as shown in Table 2, the 00H address is used to store the delay value of L1 opening, the 01H address is used to store the delay value of L1 closing, and the table is until 1FH corresponds to the closing delay value of L16.

Figure BDA0003710692250000052
Figure BDA0003710692250000052

Figure BDA0003710692250000061
Figure BDA0003710692250000061

表2Table 2

如上所述,若数字键包括16个,则时间值储存表中还包括另外15个数字键被按下时对应的时间值信息,本实施例在此不再赘述。另外,在表2中,编程默认的最大时长为57600秒(16小时),时间值参数60001~60008,分别表示17~24小时。As described above, if there are 16 numeric keys, the time value storage table also includes time value information corresponding to the other 15 numeric keys being pressed, which will not be repeated in this embodiment. In addition, in Table 2, the default maximum duration of programming is 57600 seconds (16 hours), and the time value parameters are 60001 to 60008, representing 17 to 24 hours respectively.

并且,数字键每按下一次,取反状态,即“关”转变为“开”,再按一次,“开”转变为“关”。Moreover, each time the number key is pressed, the state is reversed, that is, "off" changes to "on", and when pressed again, "on" changes to "off".

在本地按键操控或来自通讯端口信息“启动”命令下,令某个或几个接触器接通,相应的一个负载(灯具)或几个负载(灯具)被接入电网开始工作,或其中的某一个灯具延时一段时间后开启等,在其“停止”命令下,相关负载立即关闭(断开)或其中的一个或数个按不同的延时时间,延时到达后关闭。“按键(命令)”采用逻辑非方式,即,一次为“1”,第二次为“0”,第三次为“1”,依次类推。Under the local button control or the "start" command from the communication port information, one or several contactors are turned on, and the corresponding one load (lamp) or several loads (lamp) are connected to the power grid and start to work, or one of them A certain lamp is turned on after a delay for a period of time. Under its "stop" command, the relevant load is immediately turned off (disconnected) or one or several of them are turned off after the delay is reached according to different delay times. "Key (command)" adopts the logical negation method, that is, one time is "1", the second time is "0", the third time is "1", and so on.

相应的,所述CPU模块根据所述场景参数、所述驱动注册状态表和所述时间值储存表控制各个负载。Correspondingly, the CPU module controls each load according to the scene parameter, the driver registration state table and the time value storage table.

在上述实施例中,所述场景参数通过所述矩阵键盘设置或者通过所述通讯端口从外部获取。In the above embodiment, the scene parameters are set through the matrix keyboard or obtained from the outside through the communication port.

在一种可能的实施方式中,用户欲在手机APP上实现K2(对应本地控制器上的1#键)控制楼上一盏灯(L1)即时开起、延时5秒关闭和楼下一盏灯(L2)延时10s后开启、即时关闭方式,控制器本地矩阵按键编码过程为,键F1长按5秒进入编程模式,因默认为逻辑组合地址为00H[K1(0#键)按键的逻辑值],再短按一次F1,对01H地址编程[K2(1#键)按键的逻辑值],按F2添加控制输出(驱动注册),按数字键1,表征L1加入控制,按F4,是否需要设置开启延时值,否,按数字键0(s),按F5,是否需要设置关闭延时值,是,按数字键5(s),00H对L1的编程结束,按F2,按数字键2,表征L2加入控制,按F4,按数字键10(s),按F5,按数字键0(s),键F1长按5秒退出编程模式,控制器进入正常工作方式。In a possible implementation, the user wants to implement K2 (corresponding to the 1 # key on the local controller) on the mobile APP to control a light (L1) upstairs to turn on immediately, delay 5 seconds to turn off, and turn off the downstairs with a delay of 5 seconds. The lamp (L2) is turned on after a delay of 10s, and then turned off immediately. The coding process of the controller's local matrix keys is as follows. Press and hold the key F1 for 5 seconds to enter the programming mode, because the default logic combination address is 00H[K1(0 #key ) key Logic value], short press F1 again, program the 01H address [the logic value of K2 (1 # key) key], press F2 to add control output (driver registration), press number key 1, sign L1 to add control, press F4 , Do you need to set the turn-on delay value, no, press the number key 0(s), press F5, whether you need to set the turn-off delay value, yes, press the number key 5(s), 00H to end the programming of L1, press F2, Press the number key 2 to indicate that L2 is added to the control, press F4, press the number key 10(s), press F5, press the number key 0(s), press and hold the key F1 for 5 seconds to exit the programming mode, and the controller enters the normal working mode.

在另一种可能的实施方式中,用户欲将本地3#键设置为L4—L5瞬时接通亮起,L6作为值班灯滞后18小时后关闭,编码过程为,键F1长按5秒进入编程模式,按F1三次,按F2,按数字键4,按F2,按数字键5,按F2,按数字键6,按F5,用数字键输入60002,键F1长按5秒退出编程模式。In another possible implementation, the user wants to set the local 3# key to turn on L4-L5 instantaneously, and L6 as the duty light to turn off after 18 hours lag, the coding process is, press and hold the key F1 for 5 seconds to enter the programming Mode, press F1 three times, press F2, press number key 4, press F2, press number key 5, press F2, press number key 6, press F5, use number keys to input 60002, press key F1 for 5 seconds to exit programming mode.

正常工作方式下,(例如)每按下0#键,CPU内部程序判断表1中00H地址里面的内容,若某位为“1”,进一步判断对应时间值储存表里面的二个时间值数据(表2式样),开启延时值为0(瞬开/动型),对应的输出端口的寄存器取反后输出;不为“0”(延开/动型),通过定时器计算“开启时间到后”,对应的输出端口的寄存器取反后输出。同样地,若某位为“1”所为对应的关闭延时值不为“0”,则在第二次按键操作后,通过定时器计算“关闭时间到后”取反端口状态。若表1中00H地址里面的内容某位为“0”(表征对0#按键未注册),不对其对应端口操作。In the normal working mode, (for example) every time the 0 # key is pressed, the internal program of the CPU judges the content of the 00H address in the table 1. If a bit is "1", it further judges the two time value data in the corresponding time value storage table. (Table 2 style), the turn-on delay value is 0 (instantaneous on/move type), and the corresponding output port register is inverted and output; if it is not “0” (delayed on/move type), the timer calculates “on” After the time is up", the register of the corresponding output port is inverted and output. Similarly, if a bit is "1" and the corresponding shutdown delay value is not "0", after the second key operation, the timer is used to calculate "after the shutdown time" to invert the port state. If a certain bit in the 00H address in Table 1 is "0" (indicating that the 0 # key is not registered), the corresponding port will not be operated.

通过驱动注册状态表和时间值储存表的应用,使得可以采用通道逻辑组合驱动和时间值综合编程,进而穷尽各种照明控制方式,满足任何场合照明场景的需要。Through the application of the drive registration state table and the time value storage table, it is possible to use the channel logic combination drive and the time value comprehensive programming, and then exhaust various lighting control methods to meet the needs of lighting scenes in any occasion.

所述降压模块为:工频交流变压器降压形式,或者,PWM(Pulse widthmodulation,脉冲宽度调制)降压形式,或者,AC-DC变换器,或者DC-DC变换器。所述降压模块输出两路电压,其中一路电压为所述CPU模块提供工作电源,另一路电压为所述接触器提供工作电压。比如,输出一路5V或3.3V等为CPU模块提供工作电源,一路12V或24V等为接触器线圈回路提供工作电源。当然,以上仅以降压模块输出两路电压为CPU模块和接触器回路提供电压来举例说明,实际实现时,接触器和负载的回路还可以通过其他电源进行供电,本申请对此并不做限定。并且在分开供电时,可以同时为交流供电,也可以同时是直流供电,当然,还可以为直流和交流组合供电,并且供电电压的等级可以根据实际需求确定。The step-down module is: a power-frequency AC transformer step-down form, or a PWM (Pulse width modulation, pulse width modulation) step-down form, or an AC-DC converter, or a DC-DC converter. The step-down module outputs two voltages, wherein one voltage provides working power for the CPU module, and the other voltage provides working voltage for the contactor. For example, output one channel of 5V or 3.3V to provide working power for the CPU module, and one channel of 12V or 24V to provide working power for the contactor coil loop. Of course, the above only takes the output of two voltages of the step-down module as an example to provide voltage for the CPU module and the contactor circuit. In actual implementation, the circuit of the contactor and the load can also be powered by other power sources, which is not limited in this application. . And when the power supply is separated, it can be AC power supply or DC power supply at the same time. Of course, it can also be combined power supply for DC and AC, and the level of the power supply voltage can be determined according to actual needs.

所述接触器K1~Kn包括电磁式继电器、双向可控硅或者功率型IGBT(InsulatedGate Bipolar Transistor,绝缘栅双极型晶体管)中的至少一种。K1~Kn受CPU模块输出通道控制,如CPU模块一路输出高电平时,K1常开触点闭合接通,L1得电开始工作;CPU模块一路输出低电平时,K1常开触点断开,L1断电停止工作,依次类推。The contactors K1 to Kn include at least one of an electromagnetic relay, a triac or a power IGBT (Insulated Gate Bipolar Transistor, insulated gate bipolar transistor). K1~Kn are controlled by the output channel of the CPU module. For example, when the CPU module outputs a high level all the way, the normally open contact of K1 is closed and connected, and L1 starts to work when it is energized; when the CPU module outputs a low level all the way, the normally open contact of K1 is disconnected, L1 power off and stop working, and so on.

所述的CPU模块包括8位、16位或32位架构并含多路I/O通道,用于扫描矩阵键盘和输出控制,CPU模块中的通讯端口,包括但不限于基于UART(Universal AsynchronousReceiver/Transmitter,通用异步收发器)物理类型的RS232和RS485等形式,通讯协议遵从上一级总控或能源计量平台而定,进一步地,通讯端口包括本地的无线发射类型,或连接至网关,通过互联网与手机APP互联,手机APP同样设有控制键用于远程控制K1~Kn的状态切换,显示窗口展示各路的通断状态和时间值等参数。The CPU module includes 8-bit, 16-bit or 32-bit architecture and contains multiple I/O channels for scanning the matrix keyboard and output control, and the communication ports in the CPU module include but are not limited to UART (Universal Asynchronous Receiver/ Transmitter, universal asynchronous transceiver) physical type RS232 and RS485 and other forms, the communication protocol is determined by the upper-level master control or energy metering platform, further, the communication port includes a local wireless transmission type, or is connected to a gateway, through the Internet Interconnected with the mobile APP, the mobile APP also has control keys to remotely control the state switching of K1~Kn, and the display window displays parameters such as the on-off state and time value of each channel.

所述负载L1~Ln包括白炽灯、发光二极管LED灯、日光灯和卤素灯中的至少一种。并且,以上仅以负载均为用于照明的灯来举例说明,实际实现时,负载还可以为电热器、电动机类负载,比如,烧烤炉家用电器和其他单相电用电设备。The loads L1 to Ln include at least one of incandescent lamps, light-emitting diode (LED) lamps, fluorescent lamps and halogen lamps. In addition, the above is only an example where the loads are lamps used for lighting. In actual implementation, the loads can also be electric heaters, motor loads, such as barbecue ovens, household appliances and other single-phase electrical appliances.

综上所述,通过提供一种照明控制器,所述照明控制器包括:中央处理器CPU模块以及连接于输入线路L和N二端之间的降压模块,所述降压模块为所述CPU模块提供工作电源;所述CPU模块包含矩阵键盘、通讯端口和输出控制端口,所述输出控制端口分别控制接触器K1~Kn的通与断,K1~Kn各自一端分别与L连接,另一端分别与负载L1~Ln的一端连接,L1~Ln各自的另一端均连接到线路N,每个负载分别受各自对应的接触器控制,所述CPU模块根据场景参数控制各个负载,n为大于1的整数。解决了现有技术中照明灯的控制方式固化功能单一无法满足部分场景的使用的问题,达到了可以根据场景参数灵活控制各个负载进而满足不同场景的需求的效果。此外,本申请的电路结构简单可靠性强。To sum up, by providing a lighting controller, the lighting controller includes: a central processing unit CPU module and a step-down module connected between the two ends of the input line L and N, the step-down module is the The CPU module provides working power; the CPU module includes a matrix keyboard, a communication port and an output control port, the output control ports respectively control the on and off of the contactors K1 ~ Kn, one end of each K1 ~ Kn is respectively connected to L, and the other end They are respectively connected to one end of the loads L1-Ln, and the other ends of L1-Ln are connected to the line N. Each load is controlled by its corresponding contactor. The CPU module controls each load according to the scene parameters, and n is greater than 1. the integer. The problem that the curing function of the control mode of the lighting lamp in the prior art cannot meet the use of some scenes is solved, and the effect of flexibly controlling each load according to the scene parameters to meet the needs of different scenes is achieved. In addition, the circuit structure of the present application is simple and reliable.

此外,本申请中CPU模块可以根据驱动注册状态表和时间值储存表现场编程,进一步扩大了本申请的应用场景。In addition, the CPU module in the present application can be programmed on-site according to the driver registration state table and the time value storage table, which further expands the application scenarios of the present application.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (10)

1.一种照明控制器,其特征在于,所述照明控制器包括:1. A lighting controller, wherein the lighting controller comprises: 中央处理器CPU模块以及连接于输入线路L和N二端之间的降压模块,所述降压模块为所述CPU模块提供工作电源;a central processing unit CPU module and a step-down module connected between the two ends of the input line L and N, the step-down module provides working power for the CPU module; 所述CPU模块包含矩阵键盘、通讯端口和输出控制端口,所述输出控制端口分别控制接触器K1~Kn的通与断,K1~Kn各自一端分别与L连接,另一端分别与负载L1~Ln的一端连接,L1~Ln各自的另一端均连接到线路N,每个负载分别受各自对应的接触器控制,所述CPU模块根据场景参数控制各个负载,n为大于1的整数。The CPU module includes a matrix keyboard, a communication port and an output control port. The output control ports respectively control the on and off of the contactors K1 to Kn. One end of each of K1 to Kn is respectively connected to L, and the other end is respectively connected to loads L1 to Ln. One end of L1~Ln is connected to line N, each load is controlled by its corresponding contactor, the CPU module controls each load according to scene parameters, n is an integer greater than 1. 2.根据权利要求1所述的照明控制器,其特征在于,所述矩阵键盘包括数字键和功能键F1~F5,所述F1用于切换场景编程模式和现场控制模式;2. The lighting controller according to claim 1, wherein the matrix keyboard comprises numeric keys and function keys F1-F5, and the F1 is used for switching between scene programming mode and scene control mode; 在所述场景编程模式下,F2为加入功能键,F3为切除能键,F4为延时开启的时间值键,F5为关闭延时的时间值键;In the scene programming mode, F2 is the add function key, F3 is the cut-off energy key, F4 is the time value key for delay opening, and F5 is the time value key for closing the delay; 在现场控制模式下,F2为全部开启键,F3为全部关闭键。In the field control mode, F2 is the all-on key, and F3 is the all-off key. 3.根据权利要求2所述的照明控制器,其特征在于,所述CPU模块中存储有驱动注册状态表和时间值储存表,所述驱动注册状态表中包括各个数字键与各个地址的逻辑状态的对应关系,所述时间值储存表中包括各个数字键被按下时各个负载的时间值;3. The lighting controller according to claim 2, wherein a driver registration state table and a time value storage table are stored in the CPU module, and the driver registration state table includes the logic of each numeric key and each address The corresponding relationship of the state, the time value of each load when each numeric key is pressed is included in the time value storage table; 所述CPU模块根据所述场景参数、所述驱动注册状态表和所述时间值储存表控制各个负载。The CPU module controls each load according to the scene parameter, the driver registration state table and the time value storage table. 4.根据权利要求1所述的照明控制器,其特征在于,所述降压模块输出两路电压,其中一路电压为所述CPU模块提供工作电源,另一路电压为所述接触器提供工作电压。4 . The lighting controller according to claim 1 , wherein the step-down module outputs two voltages, wherein one voltage provides working power for the CPU module, and the other voltage provides working voltage for the contactor. 5 . . 5.根据权利要求1所述的照明控制器,其特征在于,所述降压模块为:工频交流变压器降压形式,或者,脉冲宽度调制PWM降压形式,或者,AC-DC变换器,或者DC-DC变换器。5. The lighting controller according to claim 1, wherein the step-down module is: a power-frequency AC transformer step-down form, or a pulse width modulation PWM step-down form, or an AC-DC converter, Or a DC-DC converter. 6.根据权利要求1所述的照明控制器,其特征在于,所述接触器K1~Kn包括电磁式继电器、双向可控硅或者功率型绝缘栅双极型晶体管IGBT中的至少一种。6 . The lighting controller according to claim 1 , wherein the contactors K1 to Kn comprise at least one of an electromagnetic relay, a triac or a power insulated gate bipolar transistor (IGBT). 7 . 7.根据权利要求1至6任一所述的照明控制器,其特征在于,所述场景参数通过所述矩阵键盘设置或者通过所述通讯端口从外部获取。7 . The lighting controller according to claim 1 , wherein the scene parameters are set through the matrix keyboard or obtained from the outside through the communication port. 8 . 8.根据权利要求1至6任一所述的照明控制器,其特征在于,所述负载L1~Ln包括白炽灯、发光二极管LED灯、日光灯和卤素灯中的至少一种。8 . The lighting controller according to claim 1 , wherein the loads L1 to Ln comprise at least one of incandescent lamps, light-emitting diode (LED) lamps, fluorescent lamps and halogen lamps. 9 . 9.根据权利要求1至6任一所述的照明控制器,其特征在于,所述输入线路L和N两端的电压为AC220V或者直流电源。9. The lighting controller according to any one of claims 1 to 6, wherein the voltages at both ends of the input lines L and N are AC220V or DC power. 10.根据权利要求1至6任一所述的照明控制器,其特征在于,所述通讯端口包括基于物理通用异步收发器UART的通讯接口。10. The lighting controller according to any one of claims 1 to 6, wherein the communication port comprises a communication interface based on a physical universal asynchronous transceiver UART.
CN202210719229.5A 2022-06-23 2022-06-23 Lighting controller Pending CN115052403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210719229.5A CN115052403A (en) 2022-06-23 2022-06-23 Lighting controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210719229.5A CN115052403A (en) 2022-06-23 2022-06-23 Lighting controller

Publications (1)

Publication Number Publication Date
CN115052403A true CN115052403A (en) 2022-09-13

Family

ID=83162610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210719229.5A Pending CN115052403A (en) 2022-06-23 2022-06-23 Lighting controller

Country Status (1)

Country Link
CN (1) CN115052403A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050231134A1 (en) * 2004-04-15 2005-10-20 Alberto Sid Remote controlled intelligent lighting system
CN101184353A (en) * 2007-10-24 2008-05-21 李舒 Radio remote address programmable two-way communication digital light control system
CN101945514A (en) * 2009-07-07 2011-01-12 中国轻工业长沙工程有限公司 Illumination control system
CN203859904U (en) * 2014-04-17 2014-10-01 浙江广厦建设职业技术学院 Building power-supply and illumination system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050231134A1 (en) * 2004-04-15 2005-10-20 Alberto Sid Remote controlled intelligent lighting system
CN101184353A (en) * 2007-10-24 2008-05-21 李舒 Radio remote address programmable two-way communication digital light control system
CN101945514A (en) * 2009-07-07 2011-01-12 中国轻工业长沙工程有限公司 Illumination control system
CN203859904U (en) * 2014-04-17 2014-10-01 浙江广厦建设职业技术学院 Building power-supply and illumination system

Similar Documents

Publication Publication Date Title
WO2011125941A1 (en) Appliance control system
CN102791056A (en) Wireless lighting control system and its included remote control and system manager
CN207489235U (en) Switch device with auxiliary power unit and wireless receiving function and lamp system thereof
CN105142263B (en) Intelligent switch and live wire power getting method
US9295137B1 (en) Integrated lighting load and skylight control
CN108235531A (en) Wireless lamp driving device with independent power supply and lamp system thereof
CN103209525A (en) Intelligent illumination controller
CN103208709A (en) Wireless intelligent socket
CN113316294B (en) Circuit control system, series control device and control method thereof
CN106686835A (en) A sine wave decoding circuit for adjusting electrical parameters and its coding control circuit
CN104470134A (en) Method and device for controlling LED lamp color temperature changing
CN104135793B (en) A kind of circuit using on and off switch to adjust electrical parameter
CN204031527U (en) A kind of intelligent wireless illuminator
CN115052403A (en) Lighting controller
Thattai et al. ZigBee and ATmega32 based wireless digital control and monitoring system For LED lighting
US9287708B2 (en) Actuator and energy management system comprising such actuators
CN204720707U (en) There is the power control system of intelligent turn-off function
CN205336577U (en) Single wire system alternating current carrier wave switching device that adjusts luminance
CN206370988U (en) A kind of intelligent home matching dimming lamp
CN100418302C (en) Pluggable wireless remote control mechanism for control panels
CN203801113U (en) Multi-channel wireless WiFi (wireless fidelity) controlled and manually controlled light adjusting switch
CN212259376U (en) Intelligent switch and intelligent lighting system
CN203552041U (en) Electrical wiring system in indoor area
CN205378314U (en) Single live wire switch cross complaint system based on z -wave technique
CN206963138U (en) A kind of intelligent switch illuminator

Legal Events

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