[go: up one dir, main page]

CN111405725A - A lighting control circuit, chip, lighting control device and system - Google Patents

A lighting control circuit, chip, lighting control device and system Download PDF

Info

Publication number
CN111405725A
CN111405725A CN202010381088.1A CN202010381088A CN111405725A CN 111405725 A CN111405725 A CN 111405725A CN 202010381088 A CN202010381088 A CN 202010381088A CN 111405725 A CN111405725 A CN 111405725A
Authority
CN
China
Prior art keywords
pin
control
interface
chip
main control
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
CN202010381088.1A
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.)
Smart Ic Nanjing Co ltd
Original Assignee
Smart Ic Nanjing 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 Smart Ic Nanjing Co ltd filed Critical Smart Ic Nanjing Co ltd
Priority to CN202010381088.1A priority Critical patent/CN111405725A/en
Publication of CN111405725A publication Critical patent/CN111405725A/en
Pending 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

本发明提供了一种灯光控制电路、芯片、灯光控制装置和系统,其电路包括:无线通信模块,用于接收移动终端的操作信息,并将采集的灯具状态信息发送至所述移动终端;控制模块,与所述无线通信模块连接,用于根据所述操作信息控制灯具的工作状态,以及采集灯具的灯具状态信息;人机交互模块,与所述控制模块连接,用于获取用户输入的操作信息,并显示时间值和灯具状态信息。本发明方便,灵活地控制调节灯具亮度和灯具开关,提升用户灯具控制体验。

Figure 202010381088

The invention provides a lighting control circuit, a chip, a lighting control device and a system. The circuit includes: a wireless communication module for receiving operation information of a mobile terminal and sending the collected lamp status information to the mobile terminal; controlling a module, connected with the wireless communication module, for controlling the working state of the lamp according to the operation information, and collecting the lamp status information of the lamp; a human-computer interaction module, connected with the control module, for obtaining the operation input by the user information, and displays time values and fixture status information. The invention conveniently and flexibly controls and adjusts the brightness of the lamp and the switch of the lamp, and improves the user's lamp control experience.

Figure 202010381088

Description

一种灯光控制电路、芯片、灯光控制装置和系统A lighting control circuit, chip, lighting control device and system

技术领域technical field

本发明涉及灯光控制技术领域,尤指一种灯光控制电路、芯片、灯光控制装置和系统。The invention relates to the technical field of lighting control, in particular to a lighting control circuit, a chip, a lighting control device and a system.

背景技术Background technique

随着智能照明技术的渐趋成熟,智能照明的普及率越来越高。前台接待又叫行政前台,归属公司行政部管辖,它是现代企业职位之一,一般公司前台会设置日光管及格栅灯一类led灯前台所使用的灯具。With the gradual maturity of smart lighting technology, the popularity of smart lighting is getting higher and higher. The front desk reception is also called the administrative front desk, which belongs to the administrative department of the company. It is one of the positions in modern enterprises. Generally, the front desk of the company will set up the lamps used in the front desk of led lights such as daylight tubes and grille lights.

传统的前台灯具的照明灯光的控制开关一般固定在墙上或者布置在照明灯附近,人们无法实现远距离控制,非常不方便,灵活性差,使用不方便。The control switch of the lighting of the traditional front lighting is generally fixed on the wall or arranged near the lighting, and people cannot realize remote control, which is very inconvenient, has poor flexibility, and is inconvenient to use.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种灯光控制电路、芯片、灯光控制装置和系统,实现方便,灵活地控制调节灯具亮度和灯具开关,提升用户灯具控制体验。The purpose of the present invention is to provide a lighting control circuit, a chip, a lighting control device and a system, which can be implemented conveniently and flexibly to control and adjust the brightness of the lamps and the switches of lamps, and improve the user's experience of lamp control.

本发明提供的技术方案如下:The technical scheme provided by the present invention is as follows:

本发明提供一种灯光控制电路,包括:The present invention provides a lighting control circuit, comprising:

无线通信模块,用于接收移动终端的操作信息,并将采集的灯具状态信息发送至所述移动终端;a wireless communication module, used for receiving operation information of the mobile terminal, and sending the collected lamp status information to the mobile terminal;

控制模块,与所述无线通信模块连接,用于根据所述操作信息控制灯具的工作状态,以及采集灯具的灯具状态信息;a control module, connected to the wireless communication module, for controlling the working state of the lamp according to the operation information, and collecting lamp state information of the lamp;

人机交互模块,与所述控制模块连接,用于获取用户输入的操作信息,并显示时间值和灯具状态信息。The human-computer interaction module is connected with the control module, and is used for acquiring the operation information input by the user, and displaying the time value and the lamp status information.

本发明还提供一种芯片,集成有所述的灯光控制电路。The invention also provides a chip, which integrates the lighting control circuit.

本发明还提供一种灯光控制装置,集成有所述的灯光控制电路。The invention also provides a lighting control device, which integrates the lighting control circuit.

本发明还提供一种灯光控制系统,包括移动终端和灯光控制装置,所述灯光控制装置集成有所述的灯光控制电路。The present invention also provides a lighting control system, comprising a mobile terminal and a lighting control device, wherein the lighting control device is integrated with the lighting control circuit.

通过本发明提供的一种灯光控制电路、芯片、灯光控制装置和系统,能够方便,灵活地控制调节灯具亮度和灯具开关,提升用户灯具控制体验。The lighting control circuit, chip, lighting control device and system provided by the present invention can conveniently and flexibly control and adjust the brightness of the lamps and switch the lamps, and improve the user's lighting control experience.

附图说明Description of drawings

下面将以明确易懂的方式,结合附图说明优选实施方式,对一种灯光控制电路、芯片、灯光控制装置和系统的上述特性、技术特征、优点及其实现方式予以进一步说明。The preferred embodiments will be described below in a clear and easy-to-understand manner with reference to the accompanying drawings, and further description will be given of the above-mentioned characteristics, technical features, advantages and implementation methods of a lighting control circuit, chip, lighting control device and system.

图1是本发明一种灯光控制电路的一个实施例的结构示意图;1 is a schematic structural diagram of an embodiment of a lighting control circuit of the present invention;

图2是本发明一种灯光控制电路的另一个实施例的结构示意图;2 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图3是本发明一种灯光控制电路的另一个实施例的结构示意图;3 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图4是本发明一种灯光控制电路的另一个实施例的结构示意图;4 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图5是本发明一种灯光控制电路的另一个实施例的结构示意图;5 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图6是本发明一种灯光控制电路的另一个实施例的结构示意图;6 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图7是本发明一种灯光控制电路的另一个实施例的结构示意图;7 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图8是本发明一种灯光控制电路的另一个实施例的结构示意图;8 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图9是本发明一种灯光控制电路的另一个实施例的结构示意图;9 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图10是本发明一种灯光控制电路的另一个实施例的结构示意图;10 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图11是本发明一种灯光控制电路的另一个实施例的结构示意图;11 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图12是本发明一种灯光控制电路的另一个实施例的结构示意图;12 is a schematic structural diagram of another embodiment of a lighting control circuit of the present invention;

图13是本发明移动终端的功能控制界面示意图;13 is a schematic diagram of a function control interface of the mobile terminal of the present invention;

图14是本发明设置灯具的灯光亮度为31%的前台灯亮度控制效果示意图;14 is a schematic diagram of the brightness control effect of the front light with the light brightness of the lamp set to 31% according to the present invention;

图15是本发明设置灯具的灯光亮度为81%的前台灯亮度控制效果示意图。FIG. 15 is a schematic diagram of the brightness control effect of the front light with the light brightness of the lamp set to be 81% according to the present invention.

具体实施方式Detailed ways

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。In order to more clearly describe the embodiments of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts, and obtain other implementations.

为使图面简洁,各图中只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。另外,以使图面简洁便于理解,在有些图中具有相同结构或功能的部件,仅示意性地绘示了其中的一个,或仅标出了其中的一个。在本文中,“一个”不仅表示“仅此一个”,也可以表示“多于一个”的情形。In order to keep the drawings concise, the drawings only schematically show the parts related to the present invention, and they do not represent its actual structure as a product. In addition, in order to make the drawings concise and easy to understand, in some drawings, only one of the components having the same structure or function is schematically shown, or only one of them is marked. As used herein, "one" not only means "only one", but also "more than one".

本发明的一个实施例,如图1所示,一种灯光控制电路,包括:An embodiment of the present invention, as shown in Figure 1, is a lighting control circuit, comprising:

无线通信模块10,用于接收移动终端1的操作信息,并将采集的灯具状态信息发送至所述移动终端1;The wireless communication module 10 is used for receiving the operation information of the mobile terminal 1 and sending the collected lamp status information to the mobile terminal 1;

控制模块20,与所述无线通信模块10连接,用于根据所述操作信息控制灯具3的工作状态,以及采集灯具3的灯具状态信息;a control module 20, connected to the wireless communication module 10, for controlling the working state of the lamp 3 according to the operation information, and collecting lamp state information of the lamp 3;

人机交互模块30,与所述控制模块20连接,用于获取用户输入的操作信息,并显示时间值和灯具状态信息。The human-computer interaction module 30, connected with the control module 20, is used for acquiring the operation information input by the user, and displaying the time value and lamp status information.

具体的,本实施例中,无线通信模块10、控制模块20、人机交互模块30通过UART串口线依次级联。通过移动终端1和人机交互模块30实现灯具3的灯光控制,改变了灯具3的传统控制方式,可以充分让人们享受到现代科技带来的轻松、舒适、愉悦的新生活体验。Specifically, in this embodiment, the wireless communication module 10 , the control module 20 , and the human-computer interaction module 30 are cascaded in sequence through a UART serial line. The lighting control of the lamp 3 is realized through the mobile terminal 1 and the human-computer interaction module 30, which changes the traditional control method of the lamp 3, and can fully allow people to enjoy the relaxed, comfortable and pleasant new life experience brought by modern technology.

基于前述实施例,所述无线通信模块10包括:Based on the foregoing embodiments, the wireless communication module 10 includes:

第一通信连接单元,通过串行接口与所述控制模块20连接,用于接收所述控制模块20所采集的灯具状态信息,并发送控制信号至所述控制模块20;a first communication connection unit, connected to the control module 20 through a serial interface, for receiving lamp status information collected by the control module 20 and sending a control signal to the control module 20;

天线,用于接收所述移动终端1的操作信息,并发送所述灯具状态信息至所述移动终端1;an antenna, used for receiving the operation information of the mobile terminal 1 and sending the lamp status information to the mobile terminal 1;

第一处理单元,分别与所述第一通信连接单元和天线连接,用于对所述移动终端1的操作信息进行解析处理得到对应的控制信号。The first processing unit is connected to the first communication connection unit and the antenna respectively, and is used for analyzing and processing the operation information of the mobile terminal 1 to obtain a corresponding control signal.

具体的,灯具状态信息包括灯具亮度信息和灯具3开关状态。移动终端1通过自身的无线通信模块10与灯光控制电路的无线通信模块10连接,用户可远程或者进程在移动终端1处输入以获取操作信息,然后移动终端1通过蓝牙(注:本设计采用蓝牙单模芯片不支持wi-fi)无线通信方式将操作信息进行发送,然后由天线接收获取操作信息。第一处理单元对操作信息进行解析得到控制信号,通过第一通信连接单元将控制信号发送至控制模块,以便控制模块控制灯具的亮度和开关。通过移动终端1和人机交互模块30实现灯具3的灯光控制,改变了灯具3的传统控制方式,可以充分让人们享受到现代科技带来的轻松、舒适、愉悦的新生活体验。Specifically, the lamp state information includes lamp brightness information and the switch state of the lamp 3 . The mobile terminal 1 is connected to the wireless communication module 10 of the lighting control circuit through its own wireless communication module 10, and the user can remotely or process input at the mobile terminal 1 to obtain operation information, and then the mobile terminal 1 uses Bluetooth (Note: this design uses Bluetooth The single-mode chip does not support wi-fi) wireless communication to send the operation information, and then the antenna receives and obtains the operation information. The first processing unit analyzes the operation information to obtain a control signal, and sends the control signal to the control module through the first communication connection unit, so that the control module controls the brightness and switch of the lamp. The lighting control of the lamp 3 is realized through the mobile terminal 1 and the human-computer interaction module 30, which changes the traditional control method of the lamp 3, and can fully allow people to enjoy the relaxed, comfortable and pleasant new life experience brought by modern technology.

基于前述实施例,如图3、图4所示,所述第一处理单元包括:第一主控芯片(U8)、第一晶振(X3);Based on the foregoing embodiments, as shown in FIG. 3 and FIG. 4 , the first processing unit includes: a first main control chip (U8) and a first crystal oscillator (X3);

所述第一通信连接单元包括:第一连接器(Con1);The first communication connection unit includes: a first connector (Con1);

所述第一主控芯片(U8)的第一控制引脚(24)与所述第一晶振(X3)的第一接口连接,所述第一晶振(X3)的第二接口通过第一电容(C45)与所述第一晶振(X3)的第一接口连接;The first control pin (24) of the first main control chip (U8) is connected to the first interface of the first crystal oscillator (X3), and the second interface of the first crystal oscillator (X3) passes through a first capacitor (C45) is connected with the first interface of the first crystal oscillator (X3);

所述第一晶振(X3)的第三接口通过第二电容(C48)与所述第一晶振(X3)的第四接口连接后接地,所述第一晶振(X3)的第三接口与所述第一主控芯片(U8)的第二控制引脚(25)连接;The third interface of the first crystal oscillator (X3) is connected to the fourth interface of the first crystal oscillator (X3) through a second capacitor (C48) and then grounded, and the third interface of the first crystal oscillator (X3) is connected to the fourth interface of the first crystal oscillator (X3). the second control pin (25) of the first main control chip (U8) is connected;

所述第一主控芯片(U8)的第一数据发送引脚(12)、第一数据接收引脚(13)、第二数据发送引脚(42)和第二数据接收引脚(43)分别与所述第一连接器(Con1)的第一数据发送接口(TXD1)、第一数据接收接口(RXD1)、第二数据发送接口(TXD2)和第二数据接收接口(RXD2)一一对应连接;The first data transmission pin (12), the first data reception pin (13), the second data transmission pin (42) and the second data reception pin (43) of the first main control chip (U8) One-to-one correspondence with the first data transmission interface (TXD1), the first data reception interface (RXD1), the second data transmission interface (TXD2) and the second data reception interface (RXD2) of the first connector (Con1) connect;

所述第一主控芯片(U8)的同步控制引脚(45)、串行时钟引脚(32)、串行数据引脚(33)、中断控制引脚(35)分别与所述第一连接器(Con1)的同步控制接口(SYNC)、串行时钟接口(SCL1)、串行数据接口(SDA1)、中断控制接口(I2CINT)一一对应连接;The synchronization control pin (45), serial clock pin (32), serial data pin (33), and interrupt control pin (35) of the first main control chip (U8) are respectively related to the first The synchronization control interface (SYNC), serial clock interface (SCL1), serial data interface (SDA1), and interrupt control interface (I2CINT) of the connector (Con1) are connected one by one;

所述第一主控芯片(U8)的天线接入引脚(28)与所述天线(图3中黑色加粗部位)连接;The antenna access pin (28) of the first main control chip (U8) is connected to the antenna (the black and bold part in FIG. 3 );

所述第一主控芯片(U8)的第一类电源引脚(20、23、26、30、31、48)接入芯片工作电压(VDD);The first type power supply pins (20, 23, 26, 30, 31, 48) of the first main control chip (U8) are connected to the chip working voltage (VDD);

所述第一主控芯片(U8)的第二类电源引脚(1、27、29)接地;The second type power pins (1, 27, 29) of the first main control chip (U8) are grounded;

所述第一主控芯片(U8)的异步复位引脚(7)通过电阻与所述第一主控芯片(U8)的第一电源引脚(9)连接后接入芯片工作电压(VDD)。The asynchronous reset pin (7) of the first main control chip (U8) is connected to the first power supply pin (9) of the first main control chip (U8) through a resistor and then connected to the chip working voltage (VDD) .

具体的,第一主控芯片(U8)的芯片类型为MM32W073PF,第一晶振(X3)的时钟信号频率为16MHZ。Specifically, the chip type of the first main control chip (U8) is MM32W073PF, and the clock signal frequency of the first crystal oscillator (X3) is 16MHZ.

基于前述实施例,所述人机交互模块30包括:Based on the foregoing embodiments, the human-computer interaction module 30 includes:

第二通信连接单元,通过串行接口与所述控制模块20连接,用于发送控制信号至所述控制模块20,以及接收所述控制模块20发送的灯具状态信息;a second communication connection unit, connected to the control module 20 through a serial interface, and configured to send a control signal to the control module 20 and receive lamp status information sent by the control module 20;

计时单元,用于计时得到时间值;Timing unit, used to time the time value;

输入单元,用于获取用户输入的操作信息;The input unit is used to obtain the operation information input by the user;

显示单元,用于显示所述时间值和灯具状态信息;a display unit, used to display the time value and lamp status information;

第二处理单元,分别与所述第二通信连接单元、计时单元、输入单元和显示单元连接,用于对所述用户输入的操作信息进行解析处理得到对应的控制信号,获取所述灯具状态信息并控制所述显示单元进行显示。The second processing unit is connected to the second communication connection unit, the timing unit, the input unit and the display unit respectively, and is used for analyzing and processing the operation information input by the user to obtain the corresponding control signal, and obtaining the lamp status information and control the display unit to display.

具体的,无线通信模块10实现通信交互:通过串口与人机交互模块30和控制模块20交互,通过第二通信连接单元(例如BLE蓝牙)与移动终端1交互,实现接收来自控制模块20的温度信息并通过第二通信连接单元发送温度信息发送至移动终端1。此外,无线通信模块10还接收移动终端1发送的操作信息并解析后转发至控制模块20。Specifically, the wireless communication module 10 realizes communication interaction: interacts with the human-computer interaction module 30 and the control module 20 through a serial port, and interacts with the mobile terminal 1 through a second communication connection unit (eg, BLE Bluetooth), so as to receive the temperature from the control module 20. information and send the temperature information to the mobile terminal 1 through the second communication connection unit. In addition, the wireless communication module 10 also receives the operation information sent by the mobile terminal 1 and forwards it to the control module 20 after analysis.

基于前述实施例,如图5、图6、图7和图8所示,所述第二处理单元包括:第二主控芯片(U5)、肖特基二极管(D3)、第四晶振(X4);Based on the foregoing embodiments, as shown in FIG. 5 , FIG. 6 , FIG. 7 and FIG. 8 , the second processing unit includes: a second main control chip (U5), a Schottky diode (D3), a fourth crystal oscillator (X4 );

所述计时单元包括:第二晶振(X2);The timing unit includes: a second crystal oscillator (X2);

所述输入单元包括:第一外部设备连接器(Per1)、触摸按键和机械按键;The input unit includes: a first external device connector (Per1), a touch key and a mechanical key;

所述第二通信连接单元包括:第二连接器(Con2);The second communication connection unit includes: a second connector (Con2);

所述显示单元包括:LCD显示屏(LCD1)、LCD连接器(LCD)和第一N型MOS管(T2);The display unit includes: an LCD display screen (LCD1), an LCD connector (LCD) and a first N-type MOS transistor (T2);

所述第二晶振(X2)的第一接口和第二接口分别与所述第二主控芯片(U5)的第一时钟引脚(3)和第二时钟引脚(4)连接后接地;The first interface and the second interface of the second crystal oscillator (X2) are respectively connected to the first clock pin (3) and the second clock pin (4) of the second main control chip (U5) and then grounded;

所述第四晶振(X4)的第一接口和第二接口分别与所述第二主控芯片(U5)的第三时钟引脚(5)和第四时钟引脚(6)连接后接地;The first interface and the second interface of the fourth crystal oscillator (X4) are respectively connected to the third clock pin (5) and the fourth clock pin (6) of the second main control chip (U5) and then grounded;

所述第二主控芯片(U5)的第一数据发送引脚(42)、第一数据接收引脚(43)、第二数据发送引脚(16)和第二数据接收引脚(17)分别与所述第二连接器(Con2)的第一数据发送接口(TXD1)、第一数据接收接口(RXD1)、第二数据发送接口(TXD2)和第二数据接收接口(RXD2)一一对应连接;The first data sending pin (42), the first data receiving pin (43), the second data sending pin (16) and the second data receiving pin (17) of the second main control chip (U5) One-to-one correspondence with the first data transmission interface (TXD1), the first data reception interface (RXD1), the second data transmission interface (TXD2) and the second data reception interface (RXD2) of the second connector (Con2) connect;

所述第二主控芯片(U5)的同步控制引脚(50)、串行时钟引脚(58)、串行数据引脚(59)、中断控制引脚(56)分别与所述第二连接器(Con2)的同步控制接口(SYNC)、串行时钟接口(SCL1)、串行数据接口(SDA1)、中断控制接口(I2CINT)一一对应连接;The synchronization control pin (50), serial clock pin (58), serial data pin (59), and interrupt control pin (56) of the second main control chip (U5) are respectively connected with the second The synchronization control interface (SYNC), serial clock interface (SCL1), serial data interface (SDA1), and interrupt control interface (I2CINT) of the connector (Con2) are connected one by one;

所述第二主控芯片(U5)的片选控制引脚(52)、时钟控制引脚(34)、数据配置引脚(36)、第一控制引脚(53)分别通过所述LCD连接器(LCD)与所述LCD显示屏(LCD1)的片选控制引脚(11)、时钟控制引脚(8)、数据配置引脚(7)、第一控制引脚(6)一一对应连接;The chip selection control pin (52), the clock control pin (34), the data configuration pin (36) and the first control pin (53) of the second main control chip (U5) are respectively connected through the LCD The chip selection control pin (11), the clock control pin (8), the data configuration pin (7), and the first control pin (6) of the LCD display screen (LCD1) are in one-to-one correspondence with the device (LCD) connect;

所述LCD显示屏(LCD1)的第二控制引脚(2)与所述第一N型MOS管(T2)的漏极连接,所述第一N型MOS管(T2)的源极接地;所述第一N型MOS管(T2)的栅极与所述第二主控芯片(U5)的第二控制引脚(62)连接;The second control pin (2) of the LCD display screen (LCD1) is connected to the drain of the first N-type MOS transistor (T2), and the source of the first N-type MOS transistor (T2) is grounded; The gate of the first N-type MOS transistor (T2) is connected to the second control pin (62) of the second main control chip (U5);

所述第二主控芯片(U5)的第三控制引脚(23)分别通过所述第一外部设备连接器(Per1)与第一机械按键(K1)和第一触摸按键(TS1)连接后接入芯片工作电压(VDD);After the third control pin (23) of the second main control chip (U5) is respectively connected with the first mechanical key (K1) and the first touch key (TS1) through the first external device connector (Per1) Access chip working voltage (VDD);

所述第二主控芯片(U5)的第四控制引脚(26)分别通过所述第一外部设备连接器(Per1)与第二机械按键(K2)和第二触摸按键(TS2)连接后接入芯片工作电压(VDD);After the fourth control pin (26) of the second main control chip (U5) is respectively connected with the second mechanical key (K2) and the second touch key (TS2) through the first external device connector (Per1) Access chip working voltage (VDD);

所述第二主控芯片(U5)的第五控制引脚(27)分别通过所述第一外部设备连接器(Per1)与第三机械按键(K3)和第三触摸按键(TS3)连接后接入芯片工作电压(VDD);After the fifth control pin (27) of the second main control chip (U5) is respectively connected with the third mechanical key (K3) and the third touch key (TS3) through the first external device connector (Per1) Access chip working voltage (VDD);

所述第二主控芯片(U5)的第一电源引脚(1)与所述肖特基二极管(D3)的第一接口连接,所述肖特基二极管(D3)的第二接口接入芯片工作电压(VDD),所述肖特基二极管(D3)的第三接口接入电池电源(BAT);The first power pin (1) of the second main control chip (U5) is connected to the first interface of the Schottky diode (D3), and the second interface of the Schottky diode (D3) is connected to The chip working voltage (VDD), the third interface of the Schottky diode (D3) is connected to the battery power supply (BAT);

所述第二主控芯片(U5)的异步复位引脚(7)接入芯片工作电压(VDD);The asynchronous reset pin (7) of the second main control chip (U5) is connected to the chip working voltage (VDD);

所述第二主控芯片(U5)的第一类电源引脚(13、19、32、48、64)接入芯片工作电压(VDD);The first type power supply pins (13, 19, 32, 48, 64) of the second main control chip (U5) are connected to the chip working voltage (VDD);

所述第二主控芯片(U5)的第二类电源引脚(12、18、31、47、63)接地。The second type power pins (12, 18, 31, 47, 63) of the second main control chip (U5) are grounded.

具体的,第二主控芯片(U5)的芯片型号为MM32L373PS,肖特基二极管(D3)的型号为BAT54C,第四晶振(X4)的时钟信号频率为8MHZ。第二晶振(X2)的时钟信号频率为32678HZ。LCD显示屏(LCD1)的型号为1.3LCD_H13TS43B。第一N型MOS管(T2)的型号为Sl2302。Specifically, the chip model of the second main control chip (U5) is MM32L373PS, the model of the Schottky diode (D3) is BAT54C, and the clock signal frequency of the fourth crystal oscillator (X4) is 8MHZ. The clock signal frequency of the second crystal oscillator (X2) is 32678HZ. The model of the LCD display (LCD1) is 1.3LCD_H13TS43B. The model of the first N-type MOS transistor (T2) is Sl2302.

基于前述实施例,所述人机交互模块30还包括:Based on the foregoing embodiments, the human-computer interaction module 30 further includes:

第一报警单元,与所述二处理单元连接,用于在所述二处理单元的控制下根据警报启动指令进行警报提示;a first alarm unit, connected to the second processing unit, for performing an alarm prompt according to an alarm activation instruction under the control of the second processing unit;

所述第二处理单元,还用于在时间值达到预设警报时间段时生成警报启动指令。The second processing unit is further configured to generate an alarm activation instruction when the time value reaches a preset alarm time period.

基于前述实施例,所述天线,还用于接收所述移动终端1的基准时间;Based on the foregoing embodiment, the antenna is further configured to receive the reference time of the mobile terminal 1;

所述第一通信连接单元,还用于发送所述基准时间至所述人机交互模块30;the first communication connection unit is further configured to send the reference time to the human-computer interaction module 30;

所述第二处理单元,还用于根据所述基准时间进行校准,并在校准后的时间值处于预设工作时间段内时生成针对所述灯具3的开启控制信号,在校准后的时间值处于预设工作时间段外时生成针对所述灯具3的关闭控制信号。The second processing unit is further configured to perform calibration according to the reference time, and generate a turn-on control signal for the lamp 3 when the calibrated time value is within a preset working time period, and the calibrated time value is A shutdown control signal for the light fixture 3 is generated when it is outside the preset working time period.

基于前述实施例,如图5、图6和图9所示,所述第一报警单元包括:第二N型MOS管(T1)、报警器(SP1)和第一二极管(D1);Based on the foregoing embodiments, as shown in FIG. 5 , FIG. 6 and FIG. 9 , the first alarm unit includes: a second N-type MOS transistor (T1), an alarm device (SP1) and a first diode (D1);

所述第二主控芯片(U5)的第六控制引脚(55)通过所述第一外部设备连接器与所述第二N型MOS管(T1)的栅极连接;The sixth control pin (55) of the second main control chip (U5) is connected to the gate of the second N-type MOS transistor (T1) through the first external device connector;

所述第二N型MOS管(T1)的源极接地,所述第二N型MOS管(T1)的漏极分别与所述第一二极管(D1)的阳极和所述报警器(SP1)的负极连接;The source of the second N-type MOS transistor (T1) is grounded, and the drain of the second N-type MOS transistor (T1) is respectively connected to the anode of the first diode (D1) and the alarm ( The negative connection of SP1);

所述第一二极管(D1)的阴极与所述报警器(SP1)的正极连接后接入芯片工作电压(VDD)。The cathode of the first diode (D1) is connected to the anode of the alarm device (SP1) and then connected to the chip working voltage (VDD).

具体的,第一二极管(D1)的型号为1N4148。第二N型MOS管(T1)的型号为Sl2302。Specifically, the model of the first diode (D1) is 1N4148. The model of the second N-type MOS transistor (T1) is Sl2302.

具体的,人机交互模块30实现以下功能:Specifically, the human-computer interaction module 30 implements the following functions:

时间与控制信息显示:利用SPI控制LCD显示屏(LCD)进行显示,显示内容包含本机系统时间信息(即本发明时间值)、无人值守模式状态、警报铃声状态、灯光实时状态。Time and control information display: use SPI to control the LCD display (LCD) for display, and the display content includes the local system time information (that is, the time value of the present invention), unattended mode status, alarm bell status, and real-time lighting status.

无人值守模式:该模式开启时,MCU根据本机系统时间信息判断是否处于预设工作时间段内(例如09:00~18:00),如判断处于工作时间段内,则通过串口发送灯光开启信号,否则发送灯光关闭信号。Unattended mode: When this mode is turned on, the MCU judges whether it is within the preset working time period (such as 09:00~18:00) according to the local system time information. If it is judged to be within the working time period, it will send the light through the serial port Turn on the signal, otherwise send the light off signal.

按键与警报:按键key1、key2、key3分别控制无人值守模式开关、警报开关、灯具3开关。警报设置为整点时刻响铃周期为1秒,其中1个响铃周期为响铃200毫秒,停顿毫秒。警报自动控制中午13点整不响铃。Buttons and alarms: Buttons key1, key2, and key3 respectively control the unattended mode switch, alarm switch, and lamp 3 switch. The alarm is set to the ringing period of 1 second at the hour, of which 1 ringing period is 200 milliseconds of ringing, with a pause of milliseconds. The alarm is automatically controlled to not ring at 13:00 noon.

时钟校准:根据无线通信模块10接收的移动终端1发送的实时时钟信息(即本发明基准时间)自动校准。Clock calibration: automatic calibration according to the real-time clock information (ie, the reference time of the present invention) sent by the mobile terminal 1 received by the wireless communication module 10 .

基于前述实施例,所述控制模块20包括:Based on the foregoing embodiments, the control module 20 includes:

第三通信连接单元,通过串行接口分别与所述人机交互模块30和无线通信模块10连接,用于发送所述灯具状态信息至所述无线通信模块10和人机交互模块30,并接收所述无线通信模块10或人机交互模块30发送的控制信号;The third communication connection unit is connected to the human-computer interaction module 30 and the wireless communication module 10 respectively through a serial interface, and is used for sending the lamp status information to the wireless communication module 10 and the human-computer interaction module 30, and receiving The control signal sent by the wireless communication module 10 or the human-computer interaction module 30;

PWM控制单元,用于根据电源输出状态控制所述灯具的工作状态;a PWM control unit, used for controlling the working state of the lamp according to the power output state;

采集单元,用于采集采样电阻的电压值;The acquisition unit is used to acquire the voltage value of the sampling resistor;

第三处理单元,分别与所述第三通信连接单元、PWM控制单元、采集单元连接,用于根据所述电压值获得所述控制模块20的灯具亮度调节信息,并采集处理器内部温度传感器的数值获取控制系统的实时温度信息,通过PWM控制单元的电源输出状态得到所述灯具状态信息。The third processing unit is connected to the third communication connection unit, the PWM control unit and the acquisition unit respectively, and is used to obtain the lamp brightness adjustment information of the control module 20 according to the voltage value, and to collect the temperature sensor of the processor. The real-time temperature information of the control system is obtained numerically, and the lamp status information is obtained through the power output state of the PWM control unit.

基于前述实施例,如图10、图11和图12所示,所述第三通信连接单元包括:第三连接器(Con3);Based on the foregoing embodiments, as shown in FIG. 10 , FIG. 11 and FIG. 12 , the third communication connection unit includes: a third connector (Con3);

所述PWM控制单元包括:PWM连接器(driver.sch)、PWM控制芯片(U6);The PWM control unit includes: a PWM connector (driver.sch), a PWM control chip (U6);

所述采集单元包括:可调电阻(R17)和第二外部设备连接器(Per2);The acquisition unit includes: an adjustable resistor (R17) and a second external device connector (Per2);

所述第三处理单元包括:第三主控芯片(U3)和第五晶振(X5);The third processing unit includes: a third main control chip (U3) and a fifth crystal oscillator (X5);

所述第五晶振(X5)的第一接口和第二接口分别与所述第三主控芯片(U3)的第一时钟引脚(5)和第二时钟引脚(6)连接后接地;The first interface and the second interface of the fifth crystal oscillator (X5) are respectively connected to the first clock pin (5) and the second clock pin (6) of the third main control chip (U3) and then grounded;

所述第三主控芯片(U3)的第一数据发送引脚(42)、第一数据接收引脚(43)、第二数据发送引脚(12)和第二数据接收引脚(13)分别与所述第三连接器(Con3)的第一数据发送接口(TXD1)、第一数据接收接口(RXD1)、第二数据发送接口(TXD2)和第二数据接收接口(RXD2)一一对应连接;The first data transmission pin (42), the first data reception pin (43), the second data transmission pin (12) and the second data reception pin (13) of the third main control chip (U3) One-to-one correspondence with the first data transmission interface (TXD1), the first data reception interface (RXD1), the second data transmission interface (TXD2) and the second data reception interface (RXD2) of the third connector (Con3) connect;

所述第三主控芯片(U3)的同步控制引脚(4)、串行时钟引脚(21)、串行数据引脚(22)、中断控制引脚(20)分别与所述第三连接器(Con3)的同步控制接口(SYNC)、串行时钟接口(SCL1)、串行数据接口(SDA1)、中断控制接口(I2CINT)一一对应连接;The synchronous control pin (4), serial clock pin (21), serial data pin (22), and interrupt control pin (20) of the third main control chip (U3) are respectively the same as those of the third main control chip (U3). The synchronization control interface (SYNC), serial clock interface (SCL1), serial data interface (SDA1), and interrupt control interface (I2CINT) of the connector (Con3) are connected one by one;

所述第三主控芯片(U3)的第一控制引脚(11)通过所述第二外部设备连接器(Per2)与所述可调电阻(R17)连接后接入芯片工作电压(VDD);The first control pin (11) of the third main control chip (U3) is connected to the adjustable resistor (R17) through the second external device connector (Per2) and then connected to the chip working voltage (VDD) ;

所述第三主控芯片(U3)的第二控制引脚(41)、第三控制引脚(44)、第四控制引脚(46)、第五控制引脚(38)、第六控制引脚(18)、第七控制引脚(39)、第三控制引脚(40)分别通过所述PWM连接器(driver.sch)与所述PWM控制芯片(U6)的第一A相PWM控制引脚(22)、第二A相PWM控制引脚(21)、第三A相PWM控制引脚(23)、第一B相PWM控制引脚(17)、第二B相PWM控制引脚(16)、第三B相PWM控制引脚(15)和待机控制引脚(19)一一对应连接;The second control pin (41), the third control pin (44), the fourth control pin (46), the fifth control pin (38) and the sixth control pin of the third main control chip (U3) The pin (18), the seventh control pin (39), and the third control pin (40) respectively pass through the PWM connector (driver.sch) and the first A-phase PWM of the PWM control chip (U6). Control pin (22), second A-phase PWM control pin (21), third A-phase PWM control pin (23), first B-phase PWM control pin (17), second B-phase PWM control pin The pin (16), the third B-phase PWM control pin (15) and the standby control pin (19) are connected in one-to-one correspondence;

所述PWM控制芯片(U6)的第三类电源引脚(13、14、24)接入供电电源;The third type power supply pins (13, 14, 24) of the PWM control chip (U6) are connected to the power supply;

所述PWM控制芯片(U6)的第一控制引脚(1)和第二控制引脚(2)分别与灯具电源输入端的第四接口连接;The first control pin (1) and the second control pin (2) of the PWM control chip (U6) are respectively connected with the fourth interface of the lamp power input end;

所述PWM控制芯片(U6)的第三控制引脚(5)和第四控制引脚(6)分别与灯具电源输入端的第三接口连接;The third control pin (5) and the fourth control pin (6) of the PWM control chip (U6) are respectively connected with the third interface of the lamp power input end;

所述PWM控制芯片(U6)的第五控制引脚(7)和第六控制引脚(8)分别与灯具电源输入端的第二接口连接;The fifth control pin (7) and the sixth control pin (8) of the PWM control chip (U6) are respectively connected with the second interface of the lamp power input end;

所述PWM控制芯片(U6)的第七控制引脚(11)和第八控制引脚(12)分别与灯具电源输入端的第一接口连接;The seventh control pin (11) and the eighth control pin (12) of the PWM control chip (U6) are respectively connected with the first interface of the lamp power input end;

所述第三主控芯片(U3)的异步复位引脚(7)接入芯片工作电压(VDD);The asynchronous reset pin (7) of the third main control chip (U3) is connected to the chip working voltage (VDD);

所述第三主控芯片(U3)的第一类电源引脚(1、9、24、48)接入芯片工作电压(VDD);The first type power supply pins (1, 9, 24, 48) of the third main control chip (U3) are connected to the chip working voltage (VDD);

所述第三主控芯片(U3)的第二类电源引脚(8、23、47)接地。The second type power pins (8, 23, 47) of the third main control chip (U3) are grounded.

具体的,如图2所示,通过电源适配器向灯光控制电路供电。控制模块20实现以下功能:Specifically, as shown in FIG. 2 , power is supplied to the light control circuit through a power adapter. The control module 20 implements the following functions:

ADC温度采集:通过第三主控芯片(U3)的内部ADC温度传感器通过可调电阻(R17)采集可调电阻(R17)的电压值从而获取采集温度信息,优选的,每隔10秒通过串口发送温度信息给无线通信模块10,由无线通信模块10发送给移动终端1,以便移动终端1周期性显示温度信息。ADC temperature acquisition: The internal ADC temperature sensor of the third main control chip (U3) collects the voltage value of the adjustable resistor (R17) through the adjustable resistor (R17) to obtain the temperature information, preferably, every 10 seconds through the serial port The temperature information is sent to the wireless communication module 10, and the wireless communication module 10 sends the temperature information to the mobile terminal 1, so that the mobile terminal 1 periodically displays the temperature information.

电源输出控制:人机交互模块30获取用户输入的操作信息并对操作信息进行解析得到对应的控制信号,此外,无线通信模块10接收移动终端1的操作信息并对操作信息进行解析得到对应的控制信号。运行过程中,接收来自人机交互模块30和/或无线通信模块10处的控制信号,根据控制信号调节所输出电源的电压占空比,从而根据电压占空比变化随时实现灯具3开关和灯具3亮度值调节。Power output control: the human-computer interaction module 30 obtains the operation information input by the user and parses the operation information to obtain the corresponding control signal; in addition, the wireless communication module 10 receives the operation information of the mobile terminal 1 and parses the operation information to obtain the corresponding control Signal. During operation, the control signal from the human-computer interaction module 30 and/or the wireless communication module 10 is received, and the voltage duty cycle of the output power supply is adjusted according to the control signal, so as to realize the switch of lamps 3 and lamps at any time according to the change of the voltage duty cycle 3 Brightness value adjustment.

示例性的,灯具3切换为关闭状态时,占空比不是突变,而是以预设周期(例如20ms)逐步变化,以实现灯光平滑变化无闪烁熄灭。例如灯具3的点亮状态下亮度值对应的占空比为70%,则控制灯具3每隔20ms按照占空比差值为10%进行降低占空比数值,即从第一个20ms后灯具3从70%降低为60%,然后第二个20ms后灯具3从60%降低为50%,以此类推直至占空比达到0为止灯具3切换为关闭状态。同理,灯具3切换为点亮状态时,占空比不是突变,而是以预设周期(例如20ms)逐步变化,以实现灯光平滑变化无闪烁点亮。例如灯具3处于关闭状态对应的占空比为0,且假设预设灯具3点亮状态对应的占空比为5%,则控制灯具3每隔20ms按照占空比差值为1%进行提高占空比数值,即从第一个20ms后灯具3从0提高为1%,然后第二个20ms后灯具3从1%提高为2%,以此类推直至占空比达到5%为止。Exemplarily, when the light fixture 3 is switched to the off state, the duty cycle is not abruptly changed, but is gradually changed at a preset period (for example, 20ms), so as to realize the smooth change of the light without flickering and extinguishing. For example, the duty cycle corresponding to the brightness value of lamp 3 is 70% in the lighting state, then control lamp 3 to reduce the duty cycle value according to the duty cycle difference of 10% every 20ms, that is, from the first 20ms after the lamp 3 is reduced from 70% to 60%, and after the second 20ms, light fixture 3 is reduced from 60% to 50%, and so on until the duty cycle reaches 0 and light fixture 3 is switched off. Similarly, when the lamp 3 is switched to the lighting state, the duty cycle is not abruptly changed, but is gradually changed at a preset period (for example, 20ms), so as to realize the smooth change and flicker-free lighting of the light. For example, the duty cycle corresponding to the off state of the lamp 3 is 0, and assuming that the duty cycle corresponding to the lighting state of the preset lamp 3 is 5%, the lamp 3 is controlled to increase every 20ms according to the difference of the duty cycle by 1%. The duty cycle value, that is, the lamp 3 is increased from 0 to 1% after the first 20ms, and then the lamp 3 is increased from 1% to 2% after the second 20ms, and so on until the duty cycle reaches 5%.

灯光亮度状态记忆功能:灯光亮度值为0x00–0x64,即灯具3亮度可设置为0%-%。第三处理单元每隔2秒比较灯光亮度值,当变化差值超过5时,第三处理单元将该灯光亮度值写入内部FLASH指定位置。当系统重新上电运行时,第三处理单元通过读取该位置存储的数值作为灯光亮度值进行点亮。Light brightness state memory function: the light brightness value is 0x00-0x64, that is, the brightness of light fixture 3 can be set to 0%-%. The third processing unit compares the light brightness value every 2 seconds, and when the change difference exceeds 5, the third processing unit writes the light brightness value into the specified position of the internal FLASH. When the system is powered on and running again, the third processing unit lights up by reading the value stored in the position as the light brightness value.

PWM呼吸特效:通过PWM控制实现呼吸灯效果,一个呼吸曲线周期采样90个点存储在pwm列表中,以便灯具3的亮度实现渐明渐暗的变化。PWM breathing effect: The effect of breathing light is realized through PWM control, and 90 points are sampled in a breathing curve cycle and stored in the pwm list, so that the brightness of lamp 3 can gradually change from light to dark.

上述实施例中,无线通信模块10、人机交互模块30和控制模块20三者分别通过第一通信连接器单元、第二通信连接单元和第三通信连接单元进行级联通信。如图2所示,人机交互模块30、控制模块20、无线通信模块10通过UART级联通信,UART级联通信的控制信号均符合系统指令数据包结构格式,结构格式如表1所示:In the above embodiment, the wireless communication module 10 , the human-computer interaction module 30 and the control module 20 respectively perform cascade communication through the first communication connector unit, the second communication connection unit and the third communication connection unit. As shown in Figure 2, the human-computer interaction module 30, the control module 20, and the wireless communication module 10 communicate through UART cascaded communication, and the control signals of the UART cascaded communication all conform to the system command data packet structure format, and the structure format is shown in Table 1:

1byte1byte 1byte1byte 1-8byte1-8byte 数据包长度packet length 指令匹配头instruction match header 指令数据command data

表1、系统指令数据包结构格式Table 1. System command data packet structure format

根据控制需要设定系统指令数据包对应的指令控制定义表如下表2所示:According to the control needs, set the command control definition table corresponding to the system command data package as shown in Table 2 below:

Figure BDA0002482109830000121
Figure BDA0002482109830000121

Figure BDA0002482109830000131
Figure BDA0002482109830000131

表2、系统指令数据包对应的指令控制定义Table 2. Command control definitions corresponding to system command data packets

基于上述实施例,如图13所示,移动终端1界面功能包括:Based on the above embodiment, as shown in FIG. 13 , the interface functions of the mobile terminal 1 include:

1、POWER进度条:设置灯光亮度值,左端点自动关闭,往右增大亮度值。1. POWER progress bar: Set the brightness value of the light, the left end point is automatically turned off, and the brightness value is increased to the right.

OFF:关闭灯光OFF: Turn off the light

ON:发送当前进度条值(灯光亮度值)并开启灯光ON: Send the current progress bar value (light brightness value) and turn on the light

2、SCENE进度条:设置呼吸特效场景的周期,左端点自动关闭,往右增大周期长度2. SCENE progress bar: Set the cycle of the breathing effect scene, the left endpoint is automatically closed, and the cycle length is increased to the right

DISABLE:关闭呼吸特效场景DISABLE: Turn off the breathing effect scene

LONGTIME:设置当前进度条值并开启呼吸场景特效LONGTIME: Set the current progress bar value and enable the breathing scene effect

3、TIM SYNC:立即同步系统时钟3. TIM SYNC: Synchronize the system clock immediately

4、AUTO:开启/关闭无人值守模式4. AUTO: Turn on/off unattended mode

灯光控制:移动终端1可以控制前台灯光开启和关闭,灯光亮度的强弱控制,以及灯光呼吸特效的开启和关闭(可调整呼吸时长)。示例性的,用户可以根据需要设置灯光亮度为31%或者81%。Lighting control: The mobile terminal 1 can control the opening and closing of the front light, the intensity control of the brightness of the light, and the opening and closing of the light breathing effect (the breathing duration can be adjusted). Exemplarily, the user can set the light brightness to 31% or 81% as required.

无人值守模式:在9:00至18:00的预设工作时间段内自动开启灯光,超出预设工作时间段将自动关闭,移动终端1和人机交互模块30处的机械按键或者触摸按键可以控制开启或关闭该模式。Unattended mode: the lights are automatically turned on during the preset working time period from 9:00 to 18:00, and will be automatically turned off beyond the preset working time period. Mechanical buttons or touch buttons at the mobile terminal 1 and the human-computer interaction module 30 This mode can be turned on or off.

时钟校准:当移动终端1连接至智能前台对应的灯光控制系统时,可以手动将移动终端1的时间同步至智能前台的灯光控制系统,精确到秒。Clock calibration: When the mobile terminal 1 is connected to the lighting control system corresponding to the smart front desk, the time of the mobile terminal 1 can be manually synchronized to the lighting control system of the smart front desk, accurate to the second.

温度监控:智能前台的灯光控制系统将控制模块20所采集的实时温度信息发送至移动终端1,监控温度是否正常。Temperature monitoring: The lighting control system of the intelligent front desk sends the real-time temperature information collected by the control module 20 to the mobile terminal 1 to monitor whether the temperature is normal.

本方案实现移动终端1通过无线通信完成灯光控制、呼吸特效、无人值守模式、时钟校准、温度监控功能。示例性的,采用本发明对灯具亮度调节的效果示意图如图14和图15所示,图14对应设置灯具的灯光亮度为31%。图15对应设置灯具的灯光亮度为81%。This solution realizes that the mobile terminal 1 completes the functions of lighting control, breathing special effects, unattended mode, clock calibration, and temperature monitoring through wireless communication. Exemplarily, schematic diagrams of the effect of the present invention for adjusting the brightness of a lamp are shown in FIG. 14 and FIG. 15 , and FIG. 14 corresponds to setting the brightness of the lamp at 31%. Figure 15 corresponds to setting the light brightness of the lamp to 81%.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的程序模块完成,即将所述装置的内部结构划分成不同的程序单元或模块,以完成以上描述的全部或者部分功能。实施例中的各程序模块可以集成在一个处理单元中,也可是各个单元单独物理存在,也可以两个或两个以上单元集成在一个处理单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序单元的形式实现。另外,各程序模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above-mentioned program modules is used as an example for illustration. The internal structure of the device is divided into different program units or modules to complete all or part of the functions described above. Each program module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one processing unit, and the above-mentioned integrated units may be implemented in the form of hardware. , can also be implemented in the form of software program units. In addition, the specific names of each program module are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application.

本发明的一个实施例,一种灯光控制装置4,包括处理器、存储器,其中,存储器,用于存放计算机程序;处理器,用于执行存储器上所存放的计算机程序,集成有实现上述实施例中的灯光控制电路。One embodiment of the present invention, a lighting control device 4, includes a processor and a memory, wherein the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, and is integrated with the implementation of the above embodiments. Light control circuit in .

本发明的一个实施例,一种芯片,集成有实现上述实施例中的灯光控制电路。One embodiment of the present invention, a chip, is integrated with the lighting control circuit that implements the above embodiments.

本发明的一个实施例,一种灯光控制系统,包括移动终端1和灯光控制装置4,所述灯光控制装置4集成有所述的灯光控制电路。An embodiment of the present invention, a lighting control system, includes a mobile terminal 1 and a lighting control device 4, and the lighting control device 4 is integrated with the lighting control circuit.

所述灯光控制装置4可以为桌上型计算机、笔记本、掌上电脑、平板型计算机、手机、人机交互屏等设备。所述灯光控制装置4可包括,但不仅限于处理器、存储器。本领域技术人员可以理解,上述仅仅是灯光控制装置4的示例,并不构成对灯光控制装置4的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如:灯光控制装置4还可以包括输入/输出接口、显示设备、网络接入设备、通信总线、通信接口等。通信接口和通信总线,还可以包括输入/输出接口,其中,处理器、存储器、输入/输出接口和通信接口通过通信总线完成相互间的通信。该存储器存储有计算机程序,该处理器用于执行存储器上所存放的计算机程序。The lighting control device 4 can be a desktop computer, a notebook, a palmtop computer, a tablet computer, a mobile phone, a human-computer interaction screen, and other devices. The light control device 4 may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above is only an example of the light control device 4, and does not constitute a limitation to the light control device 4, which may include more or less components than the one shown, or combine some components, or different Components, for example, the lighting control device 4 may also include input/output interfaces, display devices, network access devices, communication buses, communication interfaces, and the like. The communication interface and the communication bus may also include an input/output interface, wherein the processor, the memory, the input/output interface and the communication interface communicate with each other through the communication bus. The memory stores a computer program, and the processor executes the computer program stored in the memory.

所述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器可以是所述灯光控制装置4的内部存储单元,例如:灯光控制装置4的硬盘或内存。所述存储器也可以是所述灯光控制装置4的外部存储设备,例如:所述灯光控制装置4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器还可以既包括所述灯光控制装置4的内部存储单元也包括外部存储设备。所述存储器用于存储所述计算机程序以及所述灯光控制装置4所需要的其他程序和数据。所述存储器还可以用于暂时地存储已经输出或者将要输出的数据。The memory may be an internal storage unit of the lighting control device 4 , such as a hard disk or a memory of the lighting control device 4 . The memory can also be an external storage device of the lighting control device 4, for example: a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) equipped on the lighting control device 4 ) card, flash card (Flash Card) and so on. Further, the memory may also include both an internal storage unit of the light control device 4 and an external storage device. The memory is used to store the computer program and other programs and data required by the lighting control device 4 . The memory may also be used to temporarily store data that has been output or is to be output.

通信总线是连接所描述的元素的电路并且在这些元素之间实现传输。例如,处理器通过通信总线从其它元素接收到命令,解密接收到的命令,根据解密的命令执行计算或数据处理。存储器可以包括程序模块,例如内核(kernel),中间件(middleware),应用程序编程接口(Application Programming Interface,API)和应用。该程序模块可以是有软件、固件或硬件、或其中的至少两种组成。输入/输出接口转发用户通过输入/输出接口(例如感应器、键盘、触摸屏)输入的命令或数据。通信接口将该灯光控制装置4与其它网络设备、用户设备、网络进行连接。例如,通信接口可以通过串行或无线连接到网络以连接到外部其它的网络设备或用户设备。无线通信可以包括以下至少一种:无线保真(WiFi),蓝牙(BT),近距离无线通信技术(NFC),全球卫星定位系统(GPS)和蜂窝通信等等。串行通信可以包括以下至少一种:通用串行总线(USB),高清晰度多媒体接口(HDMI),异步传输标准接口(RS-232)等等。网络可以是电信网络和通信网络。通信网络可以为计算机网络、因特网、物联网、电话网络。灯光控制装置4可以通过通信接口连接网络,灯光控制装置4和其它网络设备通信所用的协议可以被应用、应用程序编程接口(API)、中间件、内核和通信接口至少一个支持。A communication bus is a circuit that connects the described elements and enables transmission between these elements. For example, the processor receives commands from other elements through the communication bus, decrypts the received commands, and performs computation or data processing according to the decrypted commands. The memory may include program modules such as kernels, middleware, application programming interfaces (APIs), and applications. The program module may be composed of software, firmware or hardware, or at least two of them. The input/output interface forwards commands or data entered by the user through the input/output interface (eg, sensor, keyboard, touch screen). The communication interface connects the lighting control device 4 with other network equipment, user equipment and the network. For example, the communication interface may be serially or wirelessly connected to a network to connect to external other network devices or user equipment. Wireless communication may include at least one of: Wireless Fidelity (WiFi), Bluetooth (BT), Near Field Communication Technology (NFC), Global Positioning System (GPS), cellular communication, and the like. Serial communications may include at least one of: Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), Asynchronous Transfer Standard Interface (RS-232), and the like. The network may be a telecommunication network and a communication network. The communication network can be a computer network, the Internet, the Internet of Things, a telephone network. The light control device 4 may be connected to the network through a communication interface, and the protocol used by the light control device 4 to communicate with other network devices may be supported by at least one of an application, an application programming interface (API), middleware, a kernel and a communication interface.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述或记载的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可能集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。It should be noted that the above embodiments can be freely combined as required. The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.

Claims (13)

1.一种灯光控制电路,其特征在于,包括:1. A lighting control circuit, characterized in that, comprising: 无线通信模块,用于接收移动终端的操作信息,并将采集的灯具状态信息发送至所述移动终端;a wireless communication module, used for receiving operation information of the mobile terminal, and sending the collected lamp status information to the mobile terminal; 控制模块,与所述无线通信模块连接,用于根据所述操作信息控制灯具的工作状态,以及采集灯具的灯具状态信息;a control module, connected to the wireless communication module, for controlling the working state of the lamp according to the operation information, and collecting lamp state information of the lamp; 人机交互模块,与所述控制模块连接,用于获取用户输入的操作信息,并显示时间值和灯具状态信息。The human-computer interaction module is connected with the control module, and is used for acquiring the operation information input by the user, and displaying the time value and the lamp status information. 2.根据权利要求1所述的灯光控制电路,其特征在于,所述无线通信模块包括:2. The lighting control circuit according to claim 1, wherein the wireless communication module comprises: 第一通信连接单元,通过串行接口与所述控制模块连接,用于接收所述控制模块所采集的灯具状态信息,并发送控制信号至所述控制模块;a first communication connection unit, connected to the control module through a serial interface, for receiving lamp status information collected by the control module, and sending a control signal to the control module; 天线,用于接收所述移动终端的操作信息,并发送所述灯具状态信息至所述移动终端;an antenna, configured to receive the operation information of the mobile terminal, and send the lamp status information to the mobile terminal; 第一处理单元,分别与所述第一通信连接单元和天线连接,用于对所述移动终端的操作信息进行解析处理得到对应的控制信号。The first processing unit is connected to the first communication connection unit and the antenna respectively, and is configured to analyze and process the operation information of the mobile terminal to obtain a corresponding control signal. 3.根据权利要求2所述的灯光控制电路,其特征在于;3. The lighting control circuit according to claim 2, characterized in that; 所述第一处理单元包括:第一主控芯片、第一晶振;The first processing unit includes: a first main control chip and a first crystal oscillator; 所述第一通信连接单元包括:第一连接器;The first communication connection unit includes: a first connector; 所述第一主控芯片的第一控制引脚与所述第一晶振的第一接口连接,所述第一晶振的第二接口通过第一电容与所述第一晶振的第一接口连接;The first control pin of the first main control chip is connected to the first interface of the first crystal oscillator, and the second interface of the first crystal oscillator is connected to the first interface of the first crystal oscillator through a first capacitor; 所述第一晶振的第三接口通过第二电容与所述第一晶振的第四接口连接后接地,所述第一晶振的第三接口与所述第一主控芯片的第二控制引脚连接;The third interface of the first crystal oscillator is connected to the fourth interface of the first crystal oscillator through a second capacitor and then grounded, and the third interface of the first crystal oscillator is connected to the second control pin of the first main control chip. connect; 所述第一主控芯片的第一数据发送引脚、第一数据接收引脚、第二数据发送引脚和第二数据接收引脚分别与所述第一连接器的第一数据发送接口、第一数据接收接口、第二数据发送接口和第二数据接收接口一一对应连接;The first data transmission pin, the first data reception pin, the second data transmission pin and the second data reception pin of the first main control chip are respectively connected with the first data transmission interface of the first connector, The first data receiving interface, the second data sending interface and the second data receiving interface are connected in one-to-one correspondence; 所述第一主控芯片的同步控制引脚、串行时钟引脚、串行数据引脚、中断控制引脚分别与所述第一连接器的同步控制接口、串行时钟接口、串行数据接口、中断控制接口一一对应连接;The synchronous control pin, serial clock pin, serial data pin and interrupt control pin of the first main control chip are respectively connected with the synchronous control interface, serial clock interface and serial data of the first connector. The interface and the interrupt control interface are connected one by one; 所述第一主控芯片的天线接入引脚与所述天线连接;The antenna access pin of the first main control chip is connected with the antenna; 所述第一主控芯片的第一类电源引脚接入芯片工作电压;The first type of power pin of the first main control chip is connected to the working voltage of the chip; 所述第一主控芯片的第二类电源引脚接地;The second type power pin of the first main control chip is grounded; 所述第一主控芯片的异步复位引脚通过电阻与所述第一主控芯片的第一电源引脚连接后接入芯片工作电压。The asynchronous reset pin of the first main control chip is connected to the first power supply pin of the first main control chip through a resistor and then connected to the working voltage of the chip. 4.根据权利要求3所述的灯光控制电路,其特征在于,所述人机交互模块包括:4. The lighting control circuit according to claim 3, wherein the human-computer interaction module comprises: 第二通信连接单元,通过串行接口与所述控制模块连接,用于发送控制信号至所述控制模块,以及接收所述控制模块发送的灯具状态信息;a second communication connection unit, connected to the control module through a serial interface, and configured to send a control signal to the control module and receive lamp status information sent by the control module; 计时单元,用于计时得到时间值;Timing unit, used to time the time value; 输入单元,用于获取用户输入的操作信息;The input unit is used to obtain the operation information input by the user; 显示单元,用于显示所述时间值和灯具状态信息;a display unit, used to display the time value and lamp status information; 第二处理单元,分别与所述第二通信连接单元、计时单元、输入单元和显示单元连接,用于对所述用户输入的操作信息进行解析处理得到对应的控制信号,获取所述灯具状态信息并控制所述显示单元进行显示。The second processing unit is connected to the second communication connection unit, the timing unit, the input unit and the display unit respectively, and is used for analyzing and processing the operation information input by the user to obtain the corresponding control signal, and obtaining the lamp status information and control the display unit to display. 5.根据权利要求4所述的灯光控制电路,其特征在于:5. The lighting control circuit according to claim 4, wherein: 所述第二处理单元包括:第二主控芯片、肖特基二极管、第四晶振;The second processing unit includes: a second main control chip, a Schottky diode, and a fourth crystal oscillator; 所述计时单元包括:第二晶振;The timing unit includes: a second crystal oscillator; 所述输入单元包括:第一外部设备连接器、触摸按键和机械按键;The input unit includes: a first external device connector, a touch key and a mechanical key; 所述第二通信连接单元包括:第二连接器;The second communication connection unit includes: a second connector; 所述显示单元包括:LCD显示屏、LCD连接器和第一N型MOS管;The display unit includes: an LCD display screen, an LCD connector and a first N-type MOS tube; 所述第二晶振的第一接口和第二接口分别与所述第二主控芯片的第一时钟引脚和第二时钟引脚连接后接地;The first interface and the second interface of the second crystal oscillator are respectively connected to the first clock pin and the second clock pin of the second main control chip and then grounded; 所述第四晶振的第一接口和第二接口分别与所述第二主控芯片的第三时钟引脚和第四时钟引脚连接后接地;The first interface and the second interface of the fourth crystal oscillator are respectively connected to the third clock pin and the fourth clock pin of the second main control chip and then grounded; 所述第二主控芯片的第一数据发送引脚、第一数据接收引脚、第二数据发送引脚和第二数据接收引脚分别与所述第二连接器的第一数据发送接口、第一数据接收接口、第二数据发送接口和第二数据接收接口一一对应连接;The first data transmission pin, the first data reception pin, the second data transmission pin and the second data reception pin of the second main control chip are respectively connected with the first data transmission interface of the second connector, The first data receiving interface, the second data sending interface and the second data receiving interface are connected in one-to-one correspondence; 所述第二主控芯片的同步控制引脚、串行时钟引脚、串行数据引脚、中断控制引脚分别与所述第二连接器的同步控制接口、串行时钟接口、串行数据接口、中断控制接口一一对应连接;The synchronous control pin, serial clock pin, serial data pin and interrupt control pin of the second main control chip are respectively connected with the synchronous control interface, serial clock interface and serial data of the second connector. The interface and the interrupt control interface are connected one by one; 所述第二主控芯片的片选控制引脚、时钟控制引脚、数据配置引脚、第一控制引脚分别通过所述LCD连接器与所述LCD显示屏的片选控制引脚、时钟控制引脚、数据配置引脚、第一控制引脚一一对应连接;The chip selection control pin, clock control pin, data configuration pin and first control pin of the second main control chip pass through the LCD connector and the chip selection control pin and clock of the LCD display screen respectively. Control pins, data configuration pins, and first control pins are connected in one-to-one correspondence; 所述LCD显示屏的第二控制引脚与所述第一N型MOS管的漏极连接,所述第一N型MOS管的源极接地,所述第一N型MOS管的栅极与所述第二主控芯片的第二控制引脚连接;The second control pin of the LCD display screen is connected to the drain of the first N-type MOS transistor, the source of the first N-type MOS transistor is grounded, and the gate of the first N-type MOS transistor is connected to the ground. the second control pin of the second main control chip is connected; 所述第二主控芯片的第三控制引脚分别通过所述第一外部设备连接器与第一机械按键和第一触摸按键连接后接入芯片工作电压;The third control pins of the second main control chip are respectively connected to the first mechanical key and the first touch key through the first external device connector and then connected to the chip working voltage; 所述第二主控芯片的第四控制引脚分别通过所述第一外部设备连接器与第二机械按键和第二触摸按键连接后接入芯片工作电压;The fourth control pin of the second main control chip is respectively connected to the second mechanical button and the second touch button through the first external device connector and then connected to the chip working voltage; 所述第二主控芯片的第五控制引脚分别通过所述第一外部设备连接器与第三机械按键和第三触摸按键连接后接入芯片工作电压;The fifth control pin of the second main control chip is respectively connected to the third mechanical button and the third touch button through the first external device connector and then connected to the chip working voltage; 所述第二主控芯片的第一电源引脚与所述肖特基二极管的第一接口连接,所述肖特基二极管的第二接口接入芯片工作电压,所述肖特基二极管的第三接口接入电池电源;The first power pin of the second main control chip is connected to the first interface of the Schottky diode, the second interface of the Schottky diode is connected to the working voltage of the chip, and the second interface of the Schottky diode is connected to the working voltage of the chip. The three ports are connected to the battery power supply; 所述第二主控芯片的异步复位引脚接入芯片工作电压;The asynchronous reset pin of the second main control chip is connected to the working voltage of the chip; 所述第二主控芯片的第一类电源引脚接入芯片工作电压;The first type of power pin of the second main control chip is connected to the working voltage of the chip; 所述第二主控芯片的第二类电源引脚接地。The second type power pin of the second main control chip is grounded. 6.根据权利要求5所述的灯光控制电路,其特征在于,所述人机交互模块还包括:6. The lighting control circuit according to claim 5, wherein the human-computer interaction module further comprises: 第一报警单元,与所述二处理单元连接,用于在所述二处理单元的控制下根据警报启动指令进行警报提示;a first alarm unit, connected to the second processing unit, for performing an alarm prompt according to an alarm activation instruction under the control of the second processing unit; 所述第二处理单元,还用于在时间值达到预设警报时间段时生成警报启动指令。The second processing unit is further configured to generate an alarm activation instruction when the time value reaches a preset alarm time period. 7.根据权利要求6所述的灯光控制电路,其特征在于:7. The lighting control circuit according to claim 6, wherein: 所述天线,还用于接收所述移动终端的基准时间;the antenna is further configured to receive the reference time of the mobile terminal; 所述第一通信连接单元,还用于发送所述基准时间至所述人机交互模块;the first communication connection unit, further configured to send the reference time to the human-computer interaction module; 所述第二处理单元,还用于根据所述基准时间进行校准,并在校准后的时间值处于预设工作时间段内时生成针对所述灯具的开启控制信号,在校准后的时间值处于预设工作时间段外时生成针对所述灯具的关闭控制信号。The second processing unit is further configured to perform calibration according to the reference time, and generate a turn-on control signal for the lamp when the calibrated time value is within a preset working time period, and when the calibrated time value is within the preset working time period. A shutdown control signal for the light fixture is generated when the preset working time period is outside. 8.根据权利要求6所述的灯光控制电路,其特征在于,所述第一报警单元包括:第二N型MOS管、报警器和第一二极管;8. The lighting control circuit according to claim 6, wherein the first alarm unit comprises: a second N-type MOS tube, an alarm and a first diode; 所述第二主控芯片的第六控制引脚通过所述第一外部设备连接器与所述第二N型MOS管的栅极连接;The sixth control pin of the second main control chip is connected to the gate of the second N-type MOS transistor through the first external device connector; 所述第二N型MOS管的源极接地,所述第二N型MOS管的漏极分别与所述第一二极管的阳极和所述报警器的负极连接;The source of the second N-type MOS transistor is grounded, and the drain of the second N-type MOS transistor is respectively connected to the anode of the first diode and the cathode of the alarm; 所述第一二极管的阴极与所述报警器的正极连接后接入芯片工作电压。The cathode of the first diode is connected to the anode of the alarm and then connected to the working voltage of the chip. 9.根据权利要求8所述的灯光控制电路,其特征在于,所述控制模块包括:9. The lighting control circuit according to claim 8, wherein the control module comprises: 第三通信连接单元,通过串行接口分别与所述人机交互模块和无线通信模块连接,用于发送所述灯具状态信息至所述无线通信模块和人机交互模块,并接收所述无线通信模块或人机交互模块发送的控制信号;The third communication connection unit is connected to the human-computer interaction module and the wireless communication module respectively through a serial interface, and is used for sending the lamp status information to the wireless communication module and the human-computer interaction module, and receiving the wireless communication The control signal sent by the module or the human-computer interaction module; PWM控制单元,用于根据电源输出状态控制所述灯具的工作状态;a PWM control unit, used for controlling the working state of the lamp according to the power output state; 采集单元,用于采集采样电阻的电压值;The acquisition unit is used to acquire the voltage value of the sampling resistor; 第三处理单元,分别与所述第三通信连接单元、PWM控制单元、采集单元连接,用于根据所述电压值获得所述控制模块的灯具亮度调节信息,并采集处理器内部温度传感器的数值获取控制系统的实时温度信息,通过PWM控制单元的电源输出状态得到所述灯具状态信息。The third processing unit is connected to the third communication connection unit, the PWM control unit and the collection unit respectively, and is used for obtaining the lamp brightness adjustment information of the control module according to the voltage value, and collecting the value of the temperature sensor inside the processor Obtain the real-time temperature information of the control system, and obtain the lamp state information through the power output state of the PWM control unit. 10.根据权利要求9所述的灯光控制电路,其特征在于:10. The lighting control circuit according to claim 9, wherein: 所述第三通信连接单元包括:第三连接器;The third communication connection unit includes: a third connector; 所述PWM控制单元包括:PWM连接器、PWM控制芯片;The PWM control unit includes: a PWM connector and a PWM control chip; 所述采集单元包括:可调电阻和第二外部设备连接器;The acquisition unit includes: an adjustable resistor and a second external device connector; 所述第三处理单元包括:第三主控芯片和第五晶振;The third processing unit includes: a third main control chip and a fifth crystal oscillator; 所述第五晶振的第一接口和第二接口分别与所述第三主控芯片的第一时钟引脚和第二时钟引脚连接后接地;The first interface and the second interface of the fifth crystal oscillator are respectively connected to the first clock pin and the second clock pin of the third main control chip and then grounded; 所述第三主控芯片的第一数据发送引脚、第一数据接收引脚、第二数据发送引脚和第二数据接收引脚分别与所述第三连接器的第一数据发送接口、第一数据接收接口、第二数据发送接口和第二数据接收接口一一对应连接;The first data transmission pin, the first data reception pin, the second data transmission pin and the second data reception pin of the third main control chip are respectively connected with the first data transmission interface of the third connector, The first data receiving interface, the second data sending interface and the second data receiving interface are connected in one-to-one correspondence; 所述第三主控芯片的同步控制引脚、串行时钟引脚、串行数据引脚中断控制引脚分别与所述第三连接器的同步控制接口、串行时钟接口、串行数据接口、中断控制接口一一对应连接;The synchronous control pin, serial clock pin and serial data pin interrupt control pin of the third main control chip are respectively connected with the synchronous control interface, serial clock interface and serial data interface of the third connector. , Interrupt control interface one-to-one corresponding connection; 所述第三主控芯片的第一控制引脚通过所述第二外部设备连接器与所述可调电阻连接后接入芯片工作电压;The first control pin of the third main control chip is connected to the adjustable resistor through the second external device connector and then connected to the chip working voltage; 所述第三主控芯片的第二控制引脚、第三控制引脚、第四控制引脚、第五控制引脚、第六控制引脚、第七控制引脚、第三控制引脚分别通过所述PWM连接器与所述PWM控制芯片的第一A相PWM控制引脚、第二A相PWM控制引脚、第三A相PWM控制引脚、第一B相PWM控制引脚、第二B相PWM控制引脚、第三B相PWM控制引脚和待机控制引脚一一对应连接;The second control pin, the third control pin, the fourth control pin, the fifth control pin, the sixth control pin, the seventh control pin and the third control pin of the third main control chip are respectively Through the PWM connector and the first A-phase PWM control pin, the second A-phase PWM control pin, the third A-phase PWM control pin, the first B-phase PWM control pin, the The two B-phase PWM control pins, the third B-phase PWM control pins and the standby control pins are connected in one-to-one correspondence; 所述PWM控制芯片的第三类电源引脚接入供电电源;The third type of power pin of the PWM control chip is connected to the power supply; 所述PWM控制芯片的第一控制引脚和第二控制引脚分别与灯具电源输入端的第四接口连接;The first control pin and the second control pin of the PWM control chip are respectively connected with the fourth interface of the lamp power input end; 所述PWM控制芯片的第三控制引脚和第四控制引脚分别与灯具电源输入端的第三接口连接;The third control pin and the fourth control pin of the PWM control chip are respectively connected with the third interface of the lamp power input end; 所述PWM控制芯片的第五控制引脚和第六控制引脚分别与灯具电源输入端的第二接口连接;The fifth control pin and the sixth control pin of the PWM control chip are respectively connected with the second interface of the lamp power input end; 所述PWM控制芯片的第七控制引脚和第八控制引脚分别与灯具电源输入端的第一接口连接;The seventh control pin and the eighth control pin of the PWM control chip are respectively connected with the first interface of the lamp power input end; 所述第三主控芯片的异步复位引脚接入芯片工作电压;The asynchronous reset pin of the third main control chip is connected to the working voltage of the chip; 所述第三主控芯片的第一类电源引脚接入芯片工作电压;The first type of power pin of the third main control chip is connected to the working voltage of the chip; 所述第三主控芯片的第二类电源引脚接地。The second type power pin of the third main control chip is grounded. 11.一种芯片,其特征在于,集成有如权利要求1至权利要求10任一项所述的灯光控制电路。11. A chip, characterized in that the light control circuit according to any one of claims 1 to 10 is integrated. 12.一种灯光控制装置,其特征在于,集成有如权利要求1至权利要求10任一项所述的灯光控制电路。12. A lighting control device, characterized in that the lighting control circuit according to any one of claims 1 to 10 is integrated. 13.一种灯光控制系统,其特征在于,包括移动终端和灯光控制装置,所述灯光控制装置集成有如权利要求1至权利要求10任一项所述的灯光控制电路。13. A lighting control system, comprising a mobile terminal and a lighting control device, wherein the lighting control device is integrated with the lighting control circuit according to any one of claims 1 to 10.
CN202010381088.1A 2020-05-08 2020-05-08 A lighting control circuit, chip, lighting control device and system Pending CN111405725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010381088.1A CN111405725A (en) 2020-05-08 2020-05-08 A lighting control circuit, chip, lighting control device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010381088.1A CN111405725A (en) 2020-05-08 2020-05-08 A lighting control circuit, chip, lighting control device and system

Publications (1)

Publication Number Publication Date
CN111405725A true CN111405725A (en) 2020-07-10

Family

ID=71431828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010381088.1A Pending CN111405725A (en) 2020-05-08 2020-05-08 A lighting control circuit, chip, lighting control device and system

Country Status (1)

Country Link
CN (1) CN111405725A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333877A (en) * 2020-07-23 2021-02-05 深圳市海洋王照明工程有限公司 Illumination control method, system, computer device and storage medium
CN114114933A (en) * 2020-08-31 2022-03-01 Oppo广东移动通信有限公司 Control method, device, device and storage medium for IoT device
CN114143946A (en) * 2021-12-13 2022-03-04 广东荣文科技集团有限公司 Information acquisition wireless communication control system based on NEMA interface and street lamp
CN114173460A (en) * 2021-11-19 2022-03-11 深圳市多思迈光电有限公司 Lamp control circuit and controller
CN115988702A (en) * 2022-12-21 2023-04-18 珠海雷特科技股份有限公司 A control circuit, a controller and a control method of an LED driving power supply

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060009502A (en) * 2004-07-26 2006-02-01 장승익 Tunnel lighting remote control system
CN102625527A (en) * 2012-03-07 2012-08-01 深圳世强电讯有限公司 LED (Light Emitting Diode) dimming device, system and method
CN202435659U (en) * 2011-12-16 2012-09-12 上海电机学院 Lamp intelligent controller
CN105764197A (en) * 2016-04-22 2016-07-13 华南理工大学 Intelligent illumination system based on WIFI-ZigBee fusion communication
CN109618447A (en) * 2018-12-07 2019-04-12 中科电子智能(深圳)有限公司 A kind of LED light Optimizing Control System based on remote operation
CN211860616U (en) * 2020-05-08 2020-11-03 灵动集成电路南京有限公司 Light control circuit, chip, light control device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060009502A (en) * 2004-07-26 2006-02-01 장승익 Tunnel lighting remote control system
CN202435659U (en) * 2011-12-16 2012-09-12 上海电机学院 Lamp intelligent controller
CN102625527A (en) * 2012-03-07 2012-08-01 深圳世强电讯有限公司 LED (Light Emitting Diode) dimming device, system and method
CN105764197A (en) * 2016-04-22 2016-07-13 华南理工大学 Intelligent illumination system based on WIFI-ZigBee fusion communication
CN109618447A (en) * 2018-12-07 2019-04-12 中科电子智能(深圳)有限公司 A kind of LED light Optimizing Control System based on remote operation
CN211860616U (en) * 2020-05-08 2020-11-03 灵动集成电路南京有限公司 Light control circuit, chip, light control device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张友汉: "《电子爱好者电子线路设计应用手册》", 31 July 2000, 福建科学技术出版社 *
陈有卿: "《实用灯光控制电路300例》", 28 February 2005, 中国电力出版社 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333877A (en) * 2020-07-23 2021-02-05 深圳市海洋王照明工程有限公司 Illumination control method, system, computer device and storage medium
CN114114933A (en) * 2020-08-31 2022-03-01 Oppo广东移动通信有限公司 Control method, device, device and storage medium for IoT device
WO2022042258A1 (en) * 2020-08-31 2022-03-03 Oppo广东移动通信有限公司 Control method and apparatus for internet of things device, and device and storage medium
CN114114933B (en) * 2020-08-31 2024-04-02 Oppo广东移动通信有限公司 Control methods, devices, equipment and storage media for Internet of Things equipment
CN114173460A (en) * 2021-11-19 2022-03-11 深圳市多思迈光电有限公司 Lamp control circuit and controller
CN114143946A (en) * 2021-12-13 2022-03-04 广东荣文科技集团有限公司 Information acquisition wireless communication control system based on NEMA interface and street lamp
CN114143946B (en) * 2021-12-13 2024-05-31 广东荣文科技集团有限公司 NEMA interface-based information acquisition wireless communication control system and street lamp
CN115988702A (en) * 2022-12-21 2023-04-18 珠海雷特科技股份有限公司 A control circuit, a controller and a control method of an LED driving power supply

Similar Documents

Publication Publication Date Title
CN111405725A (en) A lighting control circuit, chip, lighting control device and system
CN111817391B (en) Electronic device and battery charging/discharging control method thereof
US10503250B2 (en) System and method for setting display brightness of display of electronic device
WO2018000156A1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
WO2017024740A1 (en) Apparatus control method and device
CN114245256A (en) Mobile communication device, method of operating the same, and mobile system
JP2017504782A (en) Mode switching method, apparatus, program, and recording medium
US10439894B2 (en) Communication apparatus, display apparatus and method of controlling the same
US9323136B2 (en) Function expanding system
CN203838544U (en) Multimedia exhibition hall display system
WO2022227767A1 (en) Method and apparatus for finding wearable device
CN211860616U (en) Light control circuit, chip, light control device and system
EP2860623A1 (en) Terminal and background projection control method thereof
CN112037497B (en) Bluetooth BLE and infrared integrated remote control assembly and remote control method
CN210578885U (en) Multi-channel signal switcher
CN203483857U (en) Remote control system and flight control system thereof
CN116056049B (en) Fusion embedded unit and fusion terminal
CN108924524A (en) A kind of projector based on mobile network
CN106406538A (en) Head-mounted display equipment hardware module with interactive function
CN208905109U (en) A kind of projector based on mobile network
CN117170297A (en) A method and electronic device for controlling PLC equipment
CN110349398B (en) A lamp state adjustment system
CN208316976U (en) Baffle Box of Bluetooth with infrared remote control learning functionality
CN209301154U (en) A kind of equipment for hearing test
CN201837849U (en) Digital clock system with remote controller

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