CN205356737U - LED lamp controller - Google Patents

LED lamp controller Download PDF

Info

Publication number
CN205356737U
CN205356737U CN201521109412.5U CN201521109412U CN205356737U CN 205356737 U CN205356737 U CN 205356737U CN 201521109412 U CN201521109412 U CN 201521109412U CN 205356737 U CN205356737 U CN 205356737U
Authority
CN
China
Prior art keywords
module
led lamp
light
communication
bus
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
CN201521109412.5U
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.)
XIAMEN GREENER OPTOELECTRONICS CO Ltd
Original Assignee
XIAMEN GREENER OPTOELECTRONICS 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 XIAMEN GREENER OPTOELECTRONICS CO Ltd filed Critical XIAMEN GREENER OPTOELECTRONICS CO Ltd
Priority to CN201521109412.5U priority Critical patent/CN205356737U/en
Application granted granted Critical
Publication of CN205356737U publication Critical patent/CN205356737U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The utility model discloses a LED lamp controller, it includes RS485 communication module, microcontroller MCU module, relay switch module, the module of adjusting luminance and power module. The utility model discloses a storage has an only ID number in the microcontroller MCU of every lamps and lanterns module, and the signal passes through the RS485 bus, with transmission of commands to appointed LED lamps and lanterns, just can realize that it adjusts luminance to carry out the switch to arbitrary one lamps and lanterns to and voltage, electric current, the power isoparametric of gathering the LED lamps and lanterns, thereby realize controlling respectively the single lamp among the intelligent light control system.

Description

A kind of LED lamp controller
Technical field
This utility model relates to a kind of light fixture control field, specifically a kind of LED lamp controller.
Background technology
Along with the rise of China's city terrestrial reference night scene vertical lighting, the use of intelligent lamp energy-conservation, controlled, beautiful in colour will cause technical reform, and therefore intelligent light control system also just arises at the historic moment.Current intelligent light control system is generally adopted the intelligent light control system based on RS485 bus marco, it is by self-defining communication protocol plug-in all types of controllers in RS485 bus, and by the master-slave mode bus-type Lighting Control Assembly of master control unified management.
In the existing intelligent light control system based on RS485 bus marco, the control method of its light fixture is all adopt loop control scheme, adopts the method can only control all light fixture Simultaneous Switchings and the light modulation in whole loop, it is impossible to realize the control of single lamp.
Utility model content
The purpose of this utility model is to provide a kind of LED lamp controller, and the single lamp in intelligent light control system can be respectively controlled by it.
To achieve these goals, this utility model adopts the following technical scheme that
A kind of LED lamp controller, including RS485 communication module, microcontroller module, relay switch module, light-adjusting module and power module;Working power is provided for whole controller by described power module, described RS485 communication module and the communication connection of described microcontroller module, the outfan of described microcontroller module connects the control input of described relay switch module and described light-adjusting module respectively, and described relay switch module is all connected with LED lamp with the outfan of described light-adjusting module;Described microcontroller module memory contains No. ID corresponding to described LED lamp, and in same intelligent light control system No. ID of each LED lamp different.
The RS-485 interface chip of described RS485 communication module adopts SN75LBC184 chip;Electrically insulated completely by isolation circuit between single-chip microcomputer and this RS-485 interface chip of described RS485 communication module;The reset terminal of described microcontroller module is connected to outer watchdog circuit.
It is connected to isolation circuit between outfan and the control input of described relay switch module of described microcontroller module.
Described light-adjusting module adopts digital light-adjusting circuit.
After adopting such scheme, this utility model one LED lamp controller, by containing only one ID at the microcontroller module memory of every light fixture, signal passes through RS485 bus, transfer the command to the LED lamp specified, just can realize any one light fixture is carried out switch dimming, and gather the parameters such as the voltage of LED lamp, electric current, power, thus realizing the single lamp in intelligent light control system is respectively controlled.
Accompanying drawing explanation
Fig. 1 is schematic block circuit diagram of the present utility model;
Fig. 2 is the circuit theory diagrams of microcontroller in Fig. 1;
Fig. 3 is the circuit theory diagrams of RS485 communication module in Fig. 1;
Fig. 4 is the circuit theory diagrams of Fig. 1 repeat circuit switch module;
Fig. 5 is the circuit theory diagrams of light-adjusting module in Fig. 1;
Fig. 6 is the circuit theory diagrams of power module in Fig. 1.
Detailed description of the invention
This utility model one LED lamp controller, as it is shown in figure 1, include RS485 communication module 1, microcontroller module 2, relay switch module 3, light-adjusting module 4 and power module 5;Working power is provided for whole controller by power module 5, RS485 communication module 1 and microcontroller module 2 communicate to connect, the outfan of microcontroller module 2 connects the outfan of the control input of relay switch module 3 and light-adjusting module 4, relay switch module 3 and light-adjusting module 4 respectively and is all connected with LED lamp 6;Microcontroller module 2 internal memory contains No. ID corresponding to LED lamp 6, and in same intelligent light control system No. ID of each LED lamp different.
The single-chip microcomputer U1 (NUC100LC1BN) of the NUC100 that MCU is the new Tang of the TaiWan, China series that microcontroller module 2 adopts, NUC100 series is 32 single-chip microcomputers, built-in ARMcortex-M0 kernel, for Industry Control and the relevant application scenario needing abundant signal communication interface.The highest run the external clock to 50MHZ, there is the built-in flash storage of 32K/64K/128K byte, the built-in SRAM of 4K/8K/16K byte.And in have intervalometer, WatchDog Timer, RTC, PDMA, UART, SPI/SSP, I2C, I2S, PWM intervalometer, GPIO, 12 ADC, analog comparater, low voltage test and energy-conservation detecting function.The circuit theory diagrams of microcontroller module 2 are as shown in Figure 2.
It is exactly the industrial control equipment network that physical layer adopts RS-485 communication interface to form at one of network that Industry Control and fields of measurement are comparatively commonly used.Many equipment can be formed one and control network by this communication interface very easily.From solving many program analysis of middle and long distance communication between single-chip microcomputer at present, RS-485 bus communication pattern is widely used in the fields such as instrument and meter, the collecting and distributing control of intellectualized sensor, building control, monitoring alarm owing to having the features such as simple in construction, cheap, communication distance and message transmission rate are suitable.But there is the shortcoming such as self adaptation, self-protection function fragility in RS485 bus;, in the process of some details, often there are the faults such as communication failure even systemic breakdown, in this utility model in a lot of products; RS485 communication module 1 is optimized design, such that it is able to avoid problem above.Specific as follows:
In RS485 communication module 1, as it is shown on figure 3, the model of RS-485 interface chip U2 is SN75LBC184, this chip adopts single power supply Vcc, and voltage can normal operation in+3~+5.5V scope.Compared with common RS-485 chip, it not only can the impact of anti lightning and also the electrostatic discharge shock of 8kV can be withstood up to, 4 instantaneous overvoltages protection pipes of Embedded, the transient surge voltage of 400V can be withstood up to.Therefore, it can significantly improve the reliability preventing thunder and lightning from damaging device.The scene that some environment are more severe, can directly connect with transmission line without any additional protection element.This chip also has a unique design, and when input is opened a way, it is output as high level, so can ensure when receptor input cable has open fault, the not normal operation of influential system.It addition, 2 times that its input impedance is RS485 standard input impedance (>=24k Ω), therefore 64 transceivers can be connected in bus.Chip internal devises limit slope and drives, and making the output signal edge will not be excessively steep, making will not produce on transmission line too much high fdrequency component, thus effectively controlling electromagnetic interference.
Additionally, in RS485 communication module 1, the photoelectrical coupler U3(TLP521 of quaternity) single-chip microcomputer U1 and RS-485 interface chip U2 is electrically insulated completely so that contacting entirely without electricity between single-chip microcomputer U1 and RS-485 interface chip U2, improve the reliability of work.Its ultimate principle is: as the 19th foot PC1=0 of single-chip microcomputer U1, the lumination of light emitting diode of photoelectrical coupler U3, and phototriode turns on, and output HIGH voltage (+5V) chooses the DE end of RS485 interface chip U2, it is allowed to send.As the 19th foot PC1=1 of single-chip microcomputer U1, the light emitting diode of photoelectrical coupler U3 is not luminous, and phototriode is not turned on, output low-voltage (0V), chooses the RE end of RS485 interface chip U2, it is allowed to receive.The R end (receiving terminal) of RS485 interface chip U2 and the principle of D end (transmitting terminal) are similar to the above.
In the semi-duplex communication system that RS-485 bus is constructed, any instant can only have a node be in transmission state and send data to bus in the entire network, and other all nodes all necessarily be in reception state.If have 2 nodes or more than 2 nodes to send data to bus, it will to cause that the data of all senders send unsuccessfully simultaneously.Therefore, in the hardware designs of each node of system, should first make every effort to avoid causing this node to send data to bus and cause bus data conflict because of abnormal conditions.Single-chip microcomputer for NUC100 series, because it is when system reset, I/O mouth all exports high level, if I/O mouth is directly connected with the driver Enable Pin DE of RS-485 interface chip, can be high at MCU reset period chien shih DE, so that this node is in transmission state.If now there being other nodes sending data in bus, then this data transfer will be interrupted and fail, even cause whole bus because of the fault of a certain node communication blocking, then affect the properly functioning of whole system.Considering stability and the reliability of communication, the transmission pin controlling RS485 Bus Interface Chip should be designed to the antilogical of DE end in the design of each node, when namely control pin is logical one, DE end is " 0 ";When control pin is logical zero, DE end is " 1 ".In this utility model, the 19th foot PC1 of single-chip microcomputer U1 is driven by photoelectrical coupler U3 the DE end of RS485 interface chip U2, RS485 interface chip U2 is made to be in reception state all the time when thus can make control pin for high or exceptional reset, thus being prevented effectively from the impact that whole system is caused by node because of abnormal conditions from hardware.This just reliable communications for whole system lay a good foundation.
Additionally, the reset terminal of RS485 communication module 1 is also associated with a piece of watchdog chip U11(MAX813L), can when node generation endless loop or other faults, automatically reset program, surrenders RS-485 bus control right.Thus can guarantee that whole system will not monopolize bus because of a certain nodes break down, cause that whole system is paralysed.
When a node needs to use bus, reliable in order to realize bus communication, first bus mode when sending when there being data to need.On hardware interface, first it is followed by anti-phase for the data receiver pin of RS-485 interface chip U2 to single-chip microcomputer U1 interrupt pin INT1.In figure 3, INT1 is the outfan being connected to photoelectrical coupler U3.When bus there being data transmit, the data receiver (R end) of RS-485 interface chip U2 shows as the low and high level of change, microcontroller module 2 trailing edge utilizing its generation interrupts (may be used without inquiry mode), can learn now whether just bus " does ", namely whether bus have node to communicate." if free time ", then can obtain the use authority to bus, the problem thus solving bus collision preferably.On this basis, it is also possible to define the priority of various message, the message of high priority is made to be able to preferential transmission, thus improving the real-time of system further.After adopting this working method, not had dividing of master and slave node in system, the use authority of bus is equality by each node, thus effectively prevent the situation that respective nodes communications burden is heavier.The utilization rate of bus and the communication efficiency of system are all greatly improved, thus also making the real-time that system responds improve, even and if in system respective nodes break down, without the proper communication and the normal operation that affect other nodes." danger " that so makes system disperses, and enhances functional reliability and the stability of system to some degree.
Stabilivolt VD1~VD4 is signal limiter diode, and its voltage stabilizing value should ensure that and meets RS-485 standard, and stabilivolt VD1 and VD3 takes 12V, and stabilivolt VD2 and VD4 takes 7V, to ensure to be limited between-7~+12V by signal amplitude, improves the ability of anti-overvoltage further.Consider the special circumstances (the breakdown short circuit of RS-485 chip such as a certain node) of circuit, for preventing the communication of other extension sets in bus to be affected, signal output part at RS-485 interface chip U2 has been connected resistance R1 and the R2 of 2 20 Ω, and the hardware fault of this sample machine would not make the communication of whole bus be affected.In the site operation of application system, owing to communications carrier is twisted-pair feeder, its characteristic impedance is about 120 Ω, so during circuit design, the build-out resistor (R3 in Fig. 3) of 1 120 Ω should be respectively connect, to reduce the reflection transmitting signal on circuit at the top of RS485 Network transmission line and end.
Relay is a kind of electronic control device, it has control system (also known as input circuit) and is controlled system (also known as output loop), being commonly used in automatic control circuit, it is actually the one " automatically switch " going to control larger current with less electric current.Therefore play in circuit be automatically adjusted, safeguard protection, the effect such as change-over circuit.Electromagnetic type relay is generally made up of iron core, coil, armature, contact reed etc..As long as at coil two ends plus certain voltage, coil will pass through certain electric current, thus producing galvanomagnetic-effect, armature will overcome the pulling force of return spring to be drawn to iron core under the effect of electromagnetic attracting force, thus the movable contact with moving armature and stationary contact (normally opened contact) adhesive.When, after coil blackout, the suction of electromagnetism also disappears therewith, armature will return to original position at the counteracting force of spring, makes movable contact and original stationary contact (normally-closed contact) adhesive.Such adhesive, release, thus having reached the purpose of conducting in circuit, cut-out." normally opened, normally closed " contact for relay, it is possible to so distinguish: the stationary contact being off when relay coil is not powered on, be called " normally opened contact ";Stationary contact in an ON state is called " normally-closed contact ".
In this utility model, as shown in Figure 4, the 21st foot PE5 mouth of microcontroller module 2 receives optocoupler U5(PC817 to relay switch module 3) the 2nd foot, PE5 mouth output low and high level, isolating through optocoupler U5, controlling the switch of audion QM3, thus controlling Guan Bi and the disconnection of relay K M2.
When using the relatively larger load of Control, isolate if not done by signal, it is easy to front-end circuit is produced impact, cause whole product work unstable.In relay switch module 2 of the present utility model, optocoupler U5 is added in relay K M2 front end, relay K M2 switch sections and the microcontroller module 2 controlling relay is made to isolate, when avoiding relay K M2 switch motion, produce a small amount of counterattack voltage or microcontroller module 2 is impacted by electric current, make microcontroller module 2 can steady operation more so that whole controller is more stable.
As shown in Figure 5, the effect of light-adjusting module 4 is that PWM ripple signal microcontroller module 2 exported is converted into 0-10V voltage signal, the PWM ripple signal of the PWM1 mouth output 0-5V of microcontroller module 2, isolate through optocoupler U7, be converted to the PWM ripple signal of 0-3.3V, PWM ripple amplifies through audion Q3, it is input to voltage integrated amplifier U8, by resistance R45, R46 determines voltage amplification factor, in the present embodiment, the voltage amplification factor of application is 3 times, electric capacity C36, C37, C38, C39 is filter capacitor, the difference of light-adjusting module 4 of the present utility model and existing light-adjusting module is: existing 0-10V dims, major part is all use analog circuit light modulation, namely by regulating the resistance of resistance, the voltage making output changes, the output light modulation ratio of precision of simulation light modulation is relatively low.Light-adjusting module 4 of the present utility model adopts digital form to dim, and dims by regulating square-wave signal dutycycle, and output light modulation precision comparison is high.
As shown in Figure 6, power module 5 of the present utility model is divided into four parts, and Part I is: transfer civil power AC220V to DC voltage 15V by power supply chip U6;Part II is: by DC voltage 15V through voltage stabilizing chip UM4(L78M12) it is converted into DC voltage 12V;Part III is: by DC voltage 12V through voltage stabilizing chip UM5(L78M05) it is converted into DC voltage 5V;Part IV is: by DC voltage 5V through voltage stabilizing chip UM13(SPX1117M3-3.3) it is converted into DC voltage 3.3V.

Claims (4)

1. a LED lamp controller, it is characterised in that: include RS485 communication module, microcontroller module, relay switch module, light-adjusting module and power module;Working power is provided for whole controller by described power module, described RS485 communication module and the communication connection of described microcontroller module, the outfan of described microcontroller module connects the control input of described relay switch module and described light-adjusting module respectively, and described relay switch module is all connected with LED lamp with the outfan of described light-adjusting module;Described microcontroller module memory contains No. ID corresponding to described LED lamp, and in same intelligent light control system No. ID of each LED lamp different.
2. a kind of LED lamp controller according to claim 1, it is characterised in that: the RS-485 interface chip of described RS485 communication module adopts SN75LBC184 chip;Electrically insulated completely by isolation circuit between single-chip microcomputer and this RS-485 interface chip of described RS485 communication module;The reset terminal of described microcontroller module is connected to outer watchdog circuit.
3. a kind of LED lamp controller according to claim 1, it is characterised in that: it is connected to isolation circuit between outfan and the control input of described relay switch module of described microcontroller module.
4. a kind of LED lamp controller according to claim 1, it is characterised in that: described light-adjusting module adopts digital light-adjusting circuit.
CN201521109412.5U 2015-12-29 2015-12-29 LED lamp controller Active CN205356737U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201521109412.5U CN205356737U (en) 2015-12-29 2015-12-29 LED lamp controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201521109412.5U CN205356737U (en) 2015-12-29 2015-12-29 LED lamp controller

Publications (1)

Publication Number Publication Date
CN205356737U true CN205356737U (en) 2016-06-29

Family

ID=56171741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201521109412.5U Active CN205356737U (en) 2015-12-29 2015-12-29 LED lamp controller

Country Status (1)

Country Link
CN (1) CN205356737U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517239A (en) * 2015-12-29 2016-04-20 厦门格绿能光电股份有限公司 Led lamp intelligent terminal controller
CN107750073A (en) * 2017-11-01 2018-03-02 合肥艾斯克光电科技有限责任公司 One kind is based on PWM light modulating LED light fixture wireless control systems
CN108040397A (en) * 2017-12-28 2018-05-15 北京启冠智能科技股份有限公司 A kind of LED intelligent dimmings controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517239A (en) * 2015-12-29 2016-04-20 厦门格绿能光电股份有限公司 Led lamp intelligent terminal controller
CN105517239B (en) * 2015-12-29 2017-09-15 厦门格绿能光电股份有限公司 Led lamp intelligent terminal controller
CN107750073A (en) * 2017-11-01 2018-03-02 合肥艾斯克光电科技有限责任公司 One kind is based on PWM light modulating LED light fixture wireless control systems
CN108040397A (en) * 2017-12-28 2018-05-15 北京启冠智能科技股份有限公司 A kind of LED intelligent dimmings controller

Similar Documents

Publication Publication Date Title
CN105517239B (en) Led lamp intelligent terminal controller
CN205356737U (en) LED lamp controller
CN204350378U (en) A kind of LED of energy extinguish fast
CN106163050B (en) Street lamp buffer control system
CN201577219U (en) Light source lighting circuit for long life LED railway annunciator
CN207531129U (en) LED intelligent illumination control system based on bluetooth MESH technology
CN107309886A (en) A kind of household intelligent robot system
CN204559951U (en) A kind of intelligent illuminating system
CN204559952U (en) A kind of for the intelligent switch controller in intelligent illuminating system
CN203775483U (en) Intelligent LED light modulator based on KNX bus
CN206042478U (en) Take GPS's street lamp remote control ware
CN201119103Y (en) Multi-channel switch control module for lighting lamp
CN109526111B (en) Power carrier wave three-primary-color multi-color-temperature LED street lamp control system
CN111988898A (en) Independent DALI conversion module of adjusting luminance
CN202691873U (en) Solar light-emitting diode (LED) corridor lamp
CN206851101U (en) A kind of Intelligent corridor lighting system
CN204314658U (en) A kind of intelligent guest room controller
CN202260526U (en) Power system circuit
CN205093021U (en) Relay module based on KNX agreement
CN204721653U (en) For the wireless transmission anti-jamming circuit of intelligent building lamp-controlling circuit
CN107135566B (en) A kind of LED constant current light adjusting controller based on multiple communication modes
CN204966871U (en) Safe socket with earthleakage protective equipment
CN109391277A (en) A kind of cascade bus signal receiving circuit and control system
CN204790382U (en) Power control system with power consumption function of limiting quantity of
CN204719432U (en) A kind of hotel guest room intelligent control system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant