CN105472814B - A kind of RGBW lamp systems and control method - Google Patents

A kind of RGBW lamp systems and control method Download PDF

Info

Publication number
CN105472814B
CN105472814B CN201510970736.6A CN201510970736A CN105472814B CN 105472814 B CN105472814 B CN 105472814B CN 201510970736 A CN201510970736 A CN 201510970736A CN 105472814 B CN105472814 B CN 105472814B
Authority
CN
China
Prior art keywords
module
control
udp
tcp
led
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.)
Active
Application number
CN201510970736.6A
Other languages
Chinese (zh)
Other versions
CN105472814A (en
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.)
KINGSUN OPTOELECTRONIC CO Ltd
Dongguan Kingsun Optoelectronic Co Ltd
Original Assignee
KINGSUN OPTOELECTRONIC CO Ltd
Dongguan Kingsun Optoelectronic 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 KINGSUN OPTOELECTRONIC CO Ltd, Dongguan Kingsun Optoelectronic Co Ltd filed Critical KINGSUN OPTOELECTRONIC CO Ltd
Priority to CN201510970736.6A priority Critical patent/CN105472814B/en
Publication of CN105472814A publication Critical patent/CN105472814A/en
Application granted granted Critical
Publication of CN105472814B publication Critical patent/CN105472814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/40Details of LED load 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
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]

Landscapes

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

Abstract

A kind of RGBW lamp systems and control method, are related to a kind of RGBW lamp systems and control method, are to improve the utilization rate of the light that LED sends.It monitors the control instruction that control module APP sends by way of UDP is monitored or the control instruction that cloud platform sends is monitored by way of TCP is monitored, and is transmitted to scene calculation procedure module or the directly work of control LED drive module;Scene calculation procedure module is parsed by the control instruction that UDP monitoring modules or TCP monitorings module are listened to, and configures corresponding LED parameters, and is sent to scenario generating module generation scene, and controls LED drive module to work.The present invention is applied to the occasions such as sleeping, beauty, colorful regulation.

Description

A kind of RGBW lamp systems and control method
Technical field
The present invention relates to a kind of RGBW lamp systems and control method.
Background technology
With the continuous improvement of quality of life, traditional light fixture can not meet the life requirement of people.Traditional lamp Have low to the utilization rate of light, the overwhelming majority is intended merely as illumination, with the raising of intelligent residence level, Intelligent lamp Widely studied.
But current Intelligent lamp is only mostly the Based Intelligent Control carried out for the correlated performance of LED, such as publication number For:CN104333959's《LED Intelligent lamps and LED Intelligent lamp control systems》, this application can be by network monitoring LED The working condition of light fixture;
Publication No.:CN204559938's《A kind of LED Intelligent lamps based on the color adjustable colors of RGB tri-》, this application lead to The color of control LED is crossed, and then adjusts brightness and the colour temperature of LED.
Such disclosed document is more, but, these are studied all without departing from the control for LED in itself, and fresh The utilization rate for having the light for being sent according to LED is studied.
The content of the invention
The present invention is in order to improve the utilization rate of the light that LED sends, so as to provide a kind of RGBW lamp systems and control Method.
A kind of RGBW lamp systems, it includes light fitting body and LED drive module, and the LED drive module is used to drive LED works;
It also includes user's control modules A PP, cloud platform and MCU chip;MCU chip is arranged in light fitting body;
User's control modules A PP:Control instruction for generating user, and carry out data interaction, Huo Zheyu with MCU chip Cloud platform carries out data interaction;
Cloud platform:For carrying out data interaction with user's control modules A PP, or data interaction is carried out with MCU chip;
MCU chip is internally embedded UDP and monitors module, TCP monitorings module, instruction retransmission process module, scene calculation procedure Module and scene settings module;
UDP monitors module:The control instruction that monitoring users control module APP sends by way of for being monitored UDP;
TCP monitors module:The control instruction that cloud platform sends is monitored by way of for being monitored TCP;
Instruction retransmission process module:For the control instruction that UDP monitoring modules or TCP monitorings module are listened to be transmitted to Scene calculation procedure module;It is additionally operable to UDP and monitors the control instruction control LED driving moulds that module or TCP monitorings module are listened to Block works;
Scene calculation procedure module:Solved for monitoring UDP the control instruction that module or TCP monitorings module are listened to Analysis, and corresponding LED parameters are configured, and it is sent to scenario generating module;
Scenario generating module:LED parameters for being sent according to scene calculation procedure module generate scene, and control LED Drive module works.
The control method of RGBW lamp systems, it is comprised the following steps:
For generating the control instruction of user according to user's control modules A PP, and data interaction is carried out with MCU chip, or Person carries out the user's control step of data interaction with cloud platform;
For carrying out data interaction according to cloud platform and user's control modules A PP, or data interaction is carried out with MCU chip Step;
MCU chip inner loop is comprised the following steps:
The UDP of the control instruction that monitoring users control module APP sends monitors step by way of for being monitored UDP;
The TCP that the control instruction that cloud platform sends is monitored by way of for being monitored TCP monitors step;
For the control instruction that UDP monitoring modules or TCP monitorings module are listened to be transmitted into scene calculation procedure module, And the instruction forwarding of the control instruction control LED drive module work that module or TCP monitorings module are listened to is monitored for UDP Step;
Parsed for monitoring UDP the control instruction that module or TCP monitorings module are listened to, and configure corresponding LED parameters, and it is sent to the scene calculation procedure of scenario generating module;
Scene is generated for the LED parameters that are sent according to scene calculation procedure module, and control the LED drive module to carry out field The scene generation step of scape switch operating.
The present invention is greatly improved the utilization rate of light, using the various characteristics of light, to being applied to for plant illumination, to people The aspect such as sleeping, beauty.And the present invention can carry out any regulation using mobile terminal to light, compensate for conventional lamp and exist The deficiency of control aspect.
Brief description of the drawings
Fig. 1 is structural representation of the invention;
Specific embodiment
Specific embodiment one, this specific embodiment is illustrated with reference to Fig. 1, a kind of RGBW lamp systems, it includes light fixture Body and LED drive module, the LED drive module are used to drive LED to work;
It also includes user's control modules A PP, cloud platform and MCU chip;MCU chip is arranged in light fitting body;
User's control modules A PP:Control instruction for generating user, and carry out data interaction, Huo Zheyu with MCU chip Cloud platform carries out data interaction;
Cloud platform:For carrying out data interaction with user's control modules A PP, or data interaction is carried out with MCU chip;
MCU chip is internally embedded UDP and monitors module, TCP monitorings module, instruction retransmission process module, scene calculation procedure Module and scene settings module;
UDP monitors module:The control instruction that monitoring users control module APP sends by way of for being monitored UDP;
TCP monitors module:The control instruction that cloud platform sends is monitored by way of for being monitored TCP;
Instruction retransmission process module:For the control instruction that UDP monitoring modules or TCP monitorings module are listened to be transmitted to Scene calculation procedure module;It is additionally operable to UDP and monitors the control instruction control LED driving moulds that module or TCP monitorings module are listened to Block works;
Scene calculation procedure module:Solved for monitoring UDP the control instruction that module or TCP monitorings module are listened to Analysis, and corresponding LED parameters are configured, and it is sent to scenario generating module;
Scenario generating module:LED parameters for being sent according to scene calculation procedure module generate scene, and control LED Drive module carries out scene switch operating.
In present embodiment, control instruction can be sent to cloud platform by user's control modules A PP by Internet, be led to Cross being forwarded to up to light fixture of cloud platform, reach the purpose that light fixture is controlled by Internet, it is also possible to can mistake UDP directly and light fixture Communicated, reached the purpose that light fixture can be also controlled in LAN.
Sent to light fixture by mobile terminal and instructed, the operation program for triggering lamp interior is adjusted to light, utilized The characteristic of light realizes the functions such as sleeping, beauty, colorful conversion.
Specific embodiment two, this specific embodiment and a kind of RGBW lamp systems described in specific embodiment one Difference is that it also includes Wi-Fi module, and the Wi-Fi module is arranged in light fitting body, and the Wi-Fi module is used to refer to Make forwarding module with user's control modules A PP or cloud platform carries out data interaction.
Specific embodiment three, this specific embodiment and a kind of RGBW lamp systems described in specific embodiment one Difference is that LED is made up of multiple red-light LED particle R, green light LED particle G, blue-ray LED particle B and white light LEDs particle W.
In present embodiment, can realize obtaining the light of random color and brightness by luminous intensity distribution.
Specific embodiment four, this specific embodiment and a kind of RGBW lamp systems described in specific embodiment one Difference is that user's control modules A PP is embedded in user mobile phone.
Specific embodiment five, a kind of control method of RGBW lamp systems, it is comprised the following steps:
For generating the control instruction of user according to user's control modules A PP, and data interaction is carried out with MCU chip, or Person carries out the user's control step of data interaction with cloud platform;
For carrying out data interaction according to cloud platform and user's control modules A PP, or data interaction is carried out with MCU chip Step;
MCU chip inner loop is comprised the following steps:
The UDP of the control instruction that monitoring users control module APP sends monitors step by way of for being monitored UDP;
The TCP that the control instruction that cloud platform sends is monitored by way of for being monitored TCP monitors step;
For the control instruction that UDP monitoring modules or TCP monitorings module are listened to be transmitted into scene calculation procedure module, And the instruction forwarding of the control instruction control LED drive module work that module or TCP monitorings module are listened to is monitored for UDP Step;
Parsed for monitoring UDP the control instruction that module or TCP monitorings module are listened to, and configure corresponding LED parameters, and it is sent to the scene calculation procedure of scenario generating module;
Scene is generated for the LED parameters that are sent according to scene calculation procedure module, and control the LED drive module to carry out field The scene generation step of scape switch operating.
Specific embodiment six, this specific embodiment and a kind of RGBW lamp systems described in specific embodiment five The further restriction of control method, it also includes:For instructing forwarding module and user's control modules A PP or cloud platform to enter line number According to interactive Wi-Fi communication steps.
Specific embodiment seven, this specific embodiment and a kind of RGBW lamp systems described in specific embodiment six The further restriction of control method, the priority of Wi-Fi communication steps monitors step more than UDP and TCP monitors step.
Specific embodiment eight, this specific embodiment and a kind of RGBW lamp systems described in specific embodiment six The further restriction of control method, after the interruption of Wi-Fi communication steps, synchronous averaging UDP monitors step and TCP monitors step.
In present embodiment, light fixture integrating WIFI module, the MCU chip of WIFI module opens TCP and UDP ends in interruption Mouth is monitored, and supports that TCP and UDP works simultaneously, while electric on light fixture, set up by the cloud platform on TCP and Internet and connected Connect, open the monitoring of udp port.

Claims (8)

1. a kind of RGBW lamp systems, including light fitting body and LED drive module, the LED drive module are used to drive LED works;
It is characterized in that:Also include user's control modules A PP, cloud platform and MCU chip;MCU chip is arranged in light fitting body;
User's control modules A PP:Control instruction for generating user, and carry out data interaction, or and cloud with MCU chip Platform carries out data interaction;
Cloud platform:For carrying out data interaction with user's control modules A PP, or data interaction is carried out with MCU chip;
MCU chip is internally embedded UDP and monitors module, TCP monitorings module, instruction retransmission process module, scene calculation procedure mould
Block and scenario generating module;
UDP monitors module:The control instruction that monitoring users control module APP sends by way of for being monitored UDP;
TCP monitors module:The control instruction that cloud platform sends is monitored by way of for being monitored TCP;
Instruction retransmission process module:For the control instruction that UDP monitoring modules or TCP monitorings module are listened to be transmitted into field Scape calculation procedure module;It is additionally operable to UDP and monitors the control instruction control LED driving moulds that module or TCP monitorings module are listened to Block works;
Scene calculation procedure module:Solved for monitoring UDP the control instruction that module or TCP monitorings module are listened to Analysis, and corresponding LED parameters are configured, and it is sent to scenario generating module;Scenario generating module:For calculating journey according to scene The LED parameters generation scene that sequence module sends, and control the LED drive module to carry out scene switch operating.
2. a kind of RGBW lamp systems according to claim 1, it is characterised in that it also includes Wi-Fi module, described Wi-Fi module is arranged in light fitting body, the Wi-Fi module be used to instructing forwarding module and user's control modules A PP or Cloud platform carries out data interaction.
3. a kind of RGBW lamp systems according to claim 1 and 2, it is characterised in that LED is by multiple red-light LEDs Particle(R), green light LED particle(G), blue-ray LED particle(B)With white light LEDs particle(W)Composition.
4. a kind of RGBW lamp systems according to claim 3, it is characterised in that user's control modules A PP is embedded in In user mobile phone.
5. a kind of control method of RGBW lamp systems, it is characterized in that:It is comprised the following steps:
For generating the control instruction of user according to user's control modules A PP, and data interaction is carried out with MCU chip, or With the user's control step that cloud platform carries out data interaction;
For carrying out data interaction according to cloud platform and user's control modules A PP, or the step of data interaction is carried out with MCU chip Suddenly;
MCU chip inner loop is comprised the following steps:
The UDP of the control instruction that monitoring users control module APP sends monitors step by way of for being monitored UDP;
The TCP that the control instruction that cloud platform sends is monitored by way of for being monitored TCP monitors step;
For the control instruction that UDP monitoring modules or TCP monitorings module are listened to be transmitted into scene calculation procedure module, with And turn for the instruction that UDP monitors the control instruction control LED drive module work that module or TCP monitorings module are listened to Hair step;Parsed for monitoring UDP the control instruction that module or TCP monitorings module are listened to, and configure corresponding LED parameters, and it is sent to the scene calculation procedure of scenario generating module;For what is sent according to scene calculation procedure module LED parameters generate scene, and control the LED drive module to carry out the scene generation step of scene switch operating.
6. the control method of a kind of RGBW lamp systems according to claim 5, it is characterised in that it also includes:For Instruction forwarding module is with user's control modules A PP or cloud platform carries out the Wi-Fi communication steps of data interaction.
7. a kind of control method of RGBW lamp systems according to claim 6, it is characterised in that Wi-Fi communication steps Rapid priority monitors step more than UDP and TCP monitors step.
8. the control method of a kind of RGBW lamp systems according to claim 6, it is characterised in that in Wi-Fi communications After step is interrupted, synchronous averaging UDP monitors step and TCP monitors step.
CN201510970736.6A 2015-12-18 2015-12-18 A kind of RGBW lamp systems and control method Active CN105472814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510970736.6A CN105472814B (en) 2015-12-18 2015-12-18 A kind of RGBW lamp systems and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510970736.6A CN105472814B (en) 2015-12-18 2015-12-18 A kind of RGBW lamp systems and control method

Publications (2)

Publication Number Publication Date
CN105472814A CN105472814A (en) 2016-04-06
CN105472814B true CN105472814B (en) 2017-06-13

Family

ID=55609950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510970736.6A Active CN105472814B (en) 2015-12-18 2015-12-18 A kind of RGBW lamp systems and control method

Country Status (1)

Country Link
CN (1) CN105472814B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107567146B (en) * 2017-09-28 2024-04-19 广东新创电源科技有限公司 Light controller and light control system
CN110351927A (en) * 2019-07-16 2019-10-18 浙江创意声光电科技有限公司 Light show control method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972543A (en) * 2006-12-07 2007-05-30 李旭亮 Color-changed LED light control system and control method
TW201433205A (en) * 2013-02-07 2014-08-16 Hep Tech Co Ltd Dimmable LED illumination system and driving device and driving method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104676430A (en) * 2013-11-30 2015-06-03 鸿富锦精密工业(深圳)有限公司 Solar LED lamp and solar LED lamp module used for same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972543A (en) * 2006-12-07 2007-05-30 李旭亮 Color-changed LED light control system and control method
TW201433205A (en) * 2013-02-07 2014-08-16 Hep Tech Co Ltd Dimmable LED illumination system and driving device and driving method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种无线LED照明智能控制系统设计;陈万里,等;《现代电子技术》;20150715;第38卷(第14期);第55—58页 *

Also Published As

Publication number Publication date
CN105472814A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN204259247U (en) The five road light adjusting systems that mobile phone controls
CN102497703A (en) LED (Light Emitting Diode) indoor lighting dimming control system based on mobile phone
CN107071969A (en) The many pixelation LED light source control circuits of car rear
CN104717806A (en) Method for adjusting light and colors of LED lamp and light and color adjustable LED lamp system
CN104918369A (en) LED light source-based functional lighting system
CN105517257A (en) Intelligent lamp band controller and control method thereof
CN105472814B (en) A kind of RGBW lamp systems and control method
CN107257591A (en) A kind of LED intelligent illumination wireless control system based on Zigbee and Qt
CN205196004U (en) Control system of relaying lamp
CN107172786B (en) Intelligent lamp regulation and control method based on indoor and outdoor temperature analysis
CN204408722U (en) A kind of chicken farm illuminator based on LED light source
CN205051910U (en) Zigbee lighting control system
CN202907282U (en) LED double dimming control system based on WIFI network
CN203748080U (en) Illumination control system
CN106488606A (en) A kind of Wireless Light modulating toning intelligent illuminating system
CN207442877U (en) A kind of intelligent gateway applied in wireless lighting systems
CN202425113U (en) LED (Light Emitting Diode) indoor illumination light adjusting control system based on mobile phone
CN202992741U (en) Light-emitting diode (LED) lamp capable of adjusting light and color synchronously
CN207427542U (en) Lamps and lanterns and its regulating device and signal generation apparatus
CN205584539U (en) Intelligence lamp hypertape control unit
CN206291047U (en) RGB lamp bars colour temperature adjusts light bar
CN210197174U (en) Colored annular light filling lamp
CN207011068U (en) A kind of three tunnel plant lamp controllers
CN106793292A (en) Can darkening toning intelligent LED lamp
CN208462111U (en) A kind of LED ceiling lamp system of controllable smart home

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant