CN102548134A - Digital addressable lighting system and method integrating functions of safety protection and emergency recourse - Google Patents

Digital addressable lighting system and method integrating functions of safety protection and emergency recourse Download PDF

Info

Publication number
CN102548134A
CN102548134A CN2011104176729A CN201110417672A CN102548134A CN 102548134 A CN102548134 A CN 102548134A CN 2011104176729 A CN2011104176729 A CN 2011104176729A CN 201110417672 A CN201110417672 A CN 201110417672A CN 102548134 A CN102548134 A CN 102548134A
Authority
CN
China
Prior art keywords
pin
dali
links
mega8
resistance
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.)
Granted
Application number
CN2011104176729A
Other languages
Chinese (zh)
Other versions
CN102548134B (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201110417672.9A priority Critical patent/CN102548134B/en
Publication of CN102548134A publication Critical patent/CN102548134A/en
Application granted granted Critical
Publication of CN102548134B publication Critical patent/CN102548134B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a digital addressable lighting system integrating the functions of safety protection and emergency recourse and a control method. The digital addressable lighting system integrating the functions of safety protection and emergency recourse comprises a personal computer (PC), a master controller and 1 to 64 nodes, wherein the 1 to 64 nodes are divided into lighting control nodes, lighting execution nodes, safety-protection control nodes and a safety-protection execution node; the PC is connected with the master controller by an RS232 serial port, and the master controller, the lighting control nodes, the lighting execution nodes, the safety-protection control nodes and the safety-protection execution node are all hung and carried on a digital addressable lighting interface (DALI) bus; and the system is based on a DALI protocol and follows the specifications of the DALI buses of a plurality of controllers. By setting the continuous inquiring time and the random-number collision waiting time of DALI bus nodes, the lighting control nodes, the safety-protection control nodes and the safety-protection execution node are additionally arranged on the basis of a traditional DALI lighting system according to the digital addressable lighting system integrating the functions of safety protection and emergency recourse and the control method so as to finish a set of DALI lighting system with the functions of safety protection and emergency recourse. A system integrating the function of safety protection is compatible to the traditional DALI lighting system; and the control flexibility is increased, and the total owning cost of a user is also lowered.

Description

The digital addressable lighting system and method for integrated security protection and flash appeal function
Technical field
The invention belongs to intelligent lighting control technology category, relate in particular to the digital addressable lighting system and method for a kind of integrated security protection and flash appeal function.
Background technology
Digital address dimming interface (Digital Addressing Lighting Interface, be called for short DALI) agreement is a kind of specialized protocol towards the fluorescent lighting control system, lists IEC IEC60929 in 1994 in.The DALI agreement obtains the extensive support of famous lighting apparatus manufacturers of developed country such as Philips, OSRAM, and the DALI-AG of non-profit organization that is located at Germany is responsible for product certification and management; The aim of agreement is to guarantee that the dimming electronic ballast that different vendor produces has interchangeability, has represented the general trend of current lighting technology towards digitlization, simple, reliable direction development.Along with the continuous propelling that DALI uses breadth and depth, the IEC60929 standard is drawn the industry latest scientific research and is grown with each passing hour, and standard techniques advance and widespread popularity are attained a yet higher goal; In August, 2010, DALI-AG has issued the revised edition of DALI agreement, and the substance of DALI agreement comprises: the non-single main controller of (1) controller; (2) 64 of bus independent address assignment; Controller and actuator all need address assignment, (3) group address numerical digit 16, the wrong detection of (4) coded biphase; (5) Asynchronous Transfer Mode, (6) optional polarity and (7) bus electrical code.The change of agreement relates generally to the working method of multi-controller in the DALI system.
At present; The economic index of dimming electronic ballast and Inductive ballast contrasts as follows: in the economize on electricity of not considering that power system reactive power reduces; The air-conditioning heat load that the ballast lower calorific value reduces; The prolongation of fluorescent lifetime, and under a series of situation that help the dimming electronic ballast factor such as light source quality improvement; Dimming electronic ballast is 35% (the high-frequency work pattern economize on electricity 15% of dimming electronic ballast, light modulation mode of operation economize on electricity 10%, the low-power consumption economize on electricity 10% of dimming electronic ballast self) to the integrated power-saving rate of Inductive ballast; The Shou Jia $100/ of dimming electronic ballast only, Inductive ballast Shou Jia $15/ only, the 40w fluorescent lamp 6h that works every day, electricity price is pressed $0.55/Kwh, then be payoff period:
Figure 937786DEST_PATH_IMAGE001
Be not difficult to find that single with regard to economic category, the benefit that the dimming electronic ballast economize on electricity brings maintains an equal level with the expense that adopts dimming electronic ballast (5 years conservative designed lives) to increase, so the economic index of dimming electronic ballast remains further to be improved.Under the user paid wages constant basically condition, dimming electronic ballast was realized economize on electricity, environmental protection, and the user lacks direct economic boost power, popularized the work of dimming electronic ballast and can not accomplish in one move.Along with the adjustment of electricity price, the cost of dimming electronic ballast descends, the increasing of national policy support dynamics, and the enhancing of people's environmental protection, saving consciousness, and be on the make the tomorrow of dimming electronic ballast.
Developed country has run into the difficult problem of " power saving does not save money " equally when promoting electric ballast; Though the difficulty that national good environmental consciousness and strong ability to pay are dealt with problems developed country reduces, the problem that the comprehensive economic index of the relative Inductive ballast of electric ballast is not dominant still exists.Government of developed country strengthens the dynamics of environmental protection and energy saving propaganda on the one hand; Encourage lighting apparatus manufacturer to combine dimming electronic ballast and efficient electricity-saving illuminator on the other hand; Let the user obtain the operational environment of safety and comfort; Let the brand-new easily living atmosphere of user experience warmth, the guiding user admits dimming electronic ballast, and external successful experience is worthy of our study and uses for reference.Digital addressable illumination control system is compared with traditional electric inductance type fluorescent lamp illumination; Preliminary expenses is higher to be its shortcoming; Can not look to digital addressable illumination control system to obtain the generally approval of the whole society under the situation that power saving does not save money, therefore reducing whole user, to have cost be the key issue that needs to be resolved hurrily.Base oneself upon China's actual conditions, according to the survey feedback to the Smart Home user's request, security protection and flash appeal demand are positioned at the front two of user's request; Therefore, integrated above-mentioned two functions have been catered to users' active demand in the illuminator.The utilization of integrated security protection help function be the software and hardware idling-resource of digital addressable illumination control system; Thereby reduced the total cost of ownership (TCO) of intelligent illuminating system and the failure rate of Smart Home, helped to improve the social identity degree of digital addressable illumination control system.
Existing with 140m 2Standardized house, two Rooms, three Room be example, 48 of 64 Node Controllers are that lighting nodes controller, 16 are security protection Control Node and security protection XM; The illumination sensor Node Controller accounts for 12 in 48 lighting nodes controllers, all the other then are illumination actuator Node Controller.Concrete distribution can combine user's request, when mounted adjustment flexibly.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, the digital addressable lighting system and method for a kind of integrated security protection and flash appeal function is provided.
The digital addressable lighting system of integrated security protection and flash appeal function comprises PC, main controller and 1~64 node, and wherein 1~64 node is divided into illumination Control Node, illumination XM, security protection Control Node and a security protection XM; PC links to each other with main controller through the RS232 serial ports, and main controller, illumination Control Node, illumination XM, security protection Control Node and the equal carry of security protection XM are on the DALI bus; Described illumination Control Node is made up of MCU module, DALI interface module and guidance panel, and wherein the MCU module links to each other with guidance panel with the DALI interface module respectively as the controller of illumination Control Node; Described security protection Control Node is made up of MCU module, DALI interface module and security sensor, and wherein the MCU module is connected with security sensor with the DALI interface module respectively as the controller of security protection Control Node; Described security protection XM is made up of MCU module, DALI interface module and GSM alarm module, and wherein the MCU module is connected with the GSM alarm module with the DALI interface module respectively as the controller of security protection XM; MCU module in illumination Control Node, security protection Control Node and the security protection XM is selected the single chip computer AT-MEGA8 of same model for use.
Described DALI interface module circuit is: DALI interface J2 pin 2, resistance R 2, diode D2 negative pole and diode D4 are anodal to link to each other; Resistance R 2 other end ground connection, DALI interface J2 pin 1, resistance R 1, diode D1 negative pole and diode D3 are anodal to link to each other resistance R 1 another termination 12V power supply; Diode D1 positive pole, diode D2 positive pole, electrochemical capacitor EC7 negative pole, resistance R 8, triode Q2 pin 2 and voltage stabilizing didoe D6 are anodal to link to each other; Diode D3 negative pole, diode D4 negative pole link to each other with resistance R 10, and resistance R 10 other ends, diode D5 positive pole, resistance R 9 link to each other with resistance R 11, and diode D5 negative pole, photoelectrical coupler U4 pin 3 and electrochemical capacitor EC7 are anodal to link to each other; Photoelectrical coupler U4 pin 1 connects the 5V power supply; Photoelectrical coupler U4 pin 2 links to each other with resistance R 6, and photoelectrical coupler U4 pin 4 links to each other with resistance R 7, and MEGA8 pin 23 links to each other in resistance R 6 other ends and the MCU module; Resistance R 7 other ends, resistance R 8 other ends and triode Q2 pin 1 link to each other; Resistance R 9 other ends link to each other with triode Q2 pin 3, and photoelectrical coupler U7 pin 1 links to each other with resistance R 11 other ends, and photoelectrical coupler U7 pin 2 links to each other with voltage stabilizing didoe D6 negative pole; Photoelectrical coupler U7 pin 3 connects the 5V power supply; Photoelectrical coupler U7 pin 4, resistance R 16 and resistance R 17 link to each other, resistance R 16 other end ground connection, and MEGA8 pin 24 links to each other in resistance R 17 other ends and the MCU module; The DALI interface has the transmitted in both directions function of sending and receiving order, improves the versatility of DALI interface, and when Control Node need be sent order, the command signal of controller got into bus through photoelectrical coupler U4 and triode Q2; When Control Node received order, the command signal of bus was sent to the controller of node through photoelectrical coupler U7.
Described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit, and the SCM peripheral circuit comprises: outer crystal oscillator of sheet and restorer, and guidance panel is made up of 12 buttons and 4 resistance; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X1 and capacitor C 31 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X1 links to each other with capacitor C 32, ground connection after the other end of capacitor C 31 links to each other with the other end of capacitor C 32; The restorer circuit is: MEGA8 pin 21 links to each other with capacitor C 35, ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 35; MEGA8 pin 23 links to each other with DALI interface module pin 23, and MEGA8 pin 24 links to each other with DALI interface module pin 24; Reset switch K1 two ends connect MEGA8 pin 1 and ground, MEGA8 pin 8 ground connection respectively; MEGA8 pin 2,3,4,5,14,15 is connected with guidance panel respectively with 16; The guidance panel circuit is: MEGA8 pin 14 links to each other with button S1, button S2, button S3, button S4; MEGA8 pin 15 links to each other with button S5, button S6, button S7, button S8; MEGA8 pin 16 links to each other with button S9, button S10, button S11, button S12; MEGA8 pin 2 links to each other with the other end, the other end of button S8, the other end of button S12, the resistance R 44 of button S4; MEGA8 pin 3 links to each other with the other end, the other end of button S7, the other end of button S11, the resistance R 43 of button S3; MEGA8 pin 4 links to each other with the other end, the other end of button S6, the other end of button S10, the resistance R 42 of button S2; MEGA8 pin 5 links to each other with the other end, the other end of button S5, the other end of button S9, the resistance R 41 of button S1, ground connection after the other end of the other end of the other end of resistance R 41, resistance R 42, the other end of resistance R 43 and resistance R 44 links to each other.
Described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit, and the SCM peripheral circuit comprises: sensor interface, the outer crystal oscillator of sheet, restorer and buzzer, and the security sensor model is flush door magnetic MC-36; Sensor interface circuitry is: the two ends of resistance R 21 link to each other with the 5V power supply with interface com2 pin 3 respectively; Interface com2 pin 2, resistance R 22 and capacitor C 6 link to each other; The other end of interface com2 pin 1, capacitor C 6 links to each other with photoelectrical coupler U5 pin 2, and photoelectrical coupler U5 pin 1 links to each other with the other end of resistance R 22, and photoelectrical coupler U5 pin 3, MEGA8 pin 25 and resistance R 23 link to each other; Another termination 5V power supply of resistance R 23, photoelectrical coupler U2 pin 4 ground connection; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X2 and capacitor C 11 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X2 links to each other with capacitor C 12, ground connection after the other end of capacitor C 11 links to each other with the other end of capacitor C 12; MEGA8, restorer and buzzer circuit are: reset switch K2 two ends link to each other with ground with MEGA8 pin 1 respectively; MEGA8 pin 27 links to each other with buzzer U1, the other end ground connection of buzzer U1; MEGA8 pin 21 links to each other with capacitor C 5, ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 5, and MEGA8 pin 23 links to each other with DALI interface module pin DALI_W, and MEGA8 pin 24 links to each other MEGA8 pin 8 ground connection with DALI interface module pin DALI_R.
Described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit, and the SCM peripheral circuit comprises: RS232 serial ports, the outer crystal oscillator of sheet and restorer, and the GSM alarm module adopts the TC35i module of Siemens and passes through serial ports and single chip communication; The RS232 serial port circuit is: be connected MEGA8 pin 2 after the pin 10 of resistance R 25 and chip MAX232 links to each other; After linking to each other, the pin 9 of resistance R 26 and chip MAX232 is connected MEGA8 pin 3; The other end of resistance R 25 with connect the 5V power supply after the other end of resistance R 26 links to each other, the two ends of capacitor C 25 link to each other with pin 5 with the pin 4 of chip MAX232 respectively, the two ends of capacitor C 24 link to each other with pin 3 with the pin 1 of chip MAX232 respectively; Capacitor C 27 with connect the 5V power supply after the pin 16 of chip MAX232 links to each other; The other end of capacitor C 27 links to each other with the pin 2 of chip MAX232, ground connection after capacitor C 26 links to each other with the pin 15 of chip MAX232, and the other end of capacitor C 26 links to each other with the pin 6 of chip MAX232; The pin 2 of interface D9 links to each other with the pin 8 of chip MAX232; The pin 3 of interface D9 links to each other with the pin 7 of chip MAX232, pin 5 ground connection of interface D9, ground connection after the pin 10 of interface D9 links to each other with pin 11; The pin 11,12,13 and 14 of chip MAX232 is unsettled, and the pin 1,4,6,7,8 and 9 of interface D9 is unsettled; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X3 and capacitor C 21 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X3 links to each other with capacitor C 22, ground connection after the other end of capacitor C 21 links to each other with the other end of capacitor C 22; MEGA8 with the restorer circuit is: reset switch K3 two ends link to each other with ground with MEGA8 pin 1 respectively; MEGA8 pin 21 links to each other with capacitor C 23; Ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 23; MEGA8 pin 23 links to each other with DALI interface module pin DALI_W, and MEGA8 pin 24 links to each other MEGA8 pin 8 ground connection with DALI interface module pin DALI_R.
Described illumination XM and security protection are carried out joint and in system, are not possessed the function of initiatively sending order as operating part, and main controller, illumination Control Node and security protection Control Node possess the function of initiatively sending order; Realize that through the bus continuous Query time is set the bus of multi-controller uses pattern, and on the basis of bus continuous Query time the definition random number bus collision stand-by period prevent the command collision of multi-controller in bus; Through being set, the order that the different continuous Query time divides security protection Control Node, main controller and illumination Control Node sends priority; The random number bus collision stand-by period of definition can prevent the bus collision that the Control Node of same type and equal priority produces simultaneously; When promptly detecting the DALI bus collision; Control Node is ceased and desisted order immediately and is sent and read six at timer end as random number, and order is retransmitted in the time-delay back.
Said main controller, illumination Control Node and security protection Control Node possess the mode of initiatively sending order and be: controller is ready for sending order and continues Xms whether detect the DALI bus idle; If the arbitrfary point of DALI bus in continuing Xms detected to busy, then read six the stand-by period Yms that send as the order time-delay in counter end, the scope of stand-by period is 0~63; Time-delay is ready for sending order after waiting for again; If the DALI bus is idle in continuing Xms, then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes; Then still read six the stand-by period Yms that send as the order time-delay in counter end; Time-delay is ready for sending order after waiting for again, and no conflict occurred as if the DALI bus, and then order is sent successfully; The X value that wherein the Different control device is corresponding is different; The priority of security protection Control Node is the highest; DALI bus lasting detection time of X is set to 13 ms ± 4%; Main controller continues to detect DALI bus time X and is set to 15 ms ± 4%, and the illumination Control Node continues to detect DALI bus time X and is set to 17ms ± 4%.
The control method of described illumination Control Node is: whether inquiry button is pressed behind the illumination Control Node power-up initializing, if button is not pressed, whether the 1ms that then delays time continues the queries button and press; If button is pressed, the Control Node of then throwing light on is ready for sending order, and whether continue 17ms detection DALI bus idle; If the arbitrfary point of DALI bus in 17ms detected to busy, then stop the bus inquiry immediately and read six the stand-by period Yms that send as the order time-delay in counter end, time-delay is ready for sending order after waiting for again; If the DALI bus is idle in 17ms; Then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes, stops to send order immediately and reads six the wait numerical value Yms as the order time-delay in counter end; Time-delay is ready for sending order after waiting for again; No conflict occurred as if the DALI bus, and then order is sent successfully, and whether time-delay 1ms returns the continuation inquiry button and press; The communication mode of illumination sensor node and command format are deferred to the DALI protocol specification fully.
The control method of described security protection Control Node is: whether detecting sensor is in proper working order behind the security protection Control Node power-up initializing, if working sensor is undesired, then stops the concurrent sound that is out of order of security protection Control Node; If working sensor is normal, then whether query sensors reports to the police, if transducer is not reported to the police; Whether the 1ms that then delays time continues query sensors and reports to the police, if transducer is reported to the police, then security protection Control Node is ready for sending order; Whether idle, if the arbitrfary point of DALI bus in 13ms detected to busy, then stop bus immediately and inquire about and read six the stand-by period Yms as order time-delay transmission in counter end if continuing 13ms detection DALI bus; Time-delay is ready for sending order after waiting for again; If the DALI bus is idle in 13ms, then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes; Stop to send order immediately and read six the wait numerical value Yms in counter end as the order time-delay; Time-delay is ready for sending order after waiting for again, and no conflict occurred as if the DALI bus, and then whether order sends success and return the continuation detecting sensor in proper working order; The communication mode of security protection Control Node and command format are deferred to the DALI protocol specification fully, the custom instruction that alarm command uses the DALI agreement to reserve.
The control method of the digital addressable lighting system of integrated security protection and flash appeal function is: the control method of security protection XM is: the DALI bus receives and gsm module is handled; Control method comprises: read cell-phone number and identification code in the gsm module behind the security protection XM power-up initializing, detect whether receive the DALI bus line command then, if do not receive the DALI bus line command; The 1ms that then delays time continues to receive the DALI bus line command, if receive the DALI bus line command, then judges command address or claims that destination address comprises with node address whether broadcast address is consistent; If command address is not equal to node address and comprises broadcast address, then give up, detect whether receive the DALI bus line command behind the time-delay 1ms; If command address equals node address and comprises broadcast address, then the expression order is effectively carried out resolve command in proper order; PDU coding and transmission GSM note judge then whether note sends success, if note is sent successfully; Then delay time and return detection behind the 1ms and whether receive the DALI bus line command, unsuccessful if note is sent, then judge and retransmit number of times; If retransmitting number of times is not more than 3 times; Resend the GSM note after then waiting for 10 seconds,, then stop to return to detect again whether receive the DALI bus line command behind note transmission and the time-delay 1ms if retransmit number of times greater than 3 times.
DALI illuminator of the present invention combines the underloaded characteristics of residential lighting, utilizes the bus address of free time system in, integrated security protection and flash appeal function.System after integrated not only utilizes the network idling-resource to solve people's demand, and has reduced the overall cost (TCO) of DALI illuminator.The DALI illuminator is changed the traditional centralized control mode, based on DALI protocol revision draft, has realized the distributed control of DALI illuminator, the maximized flexibility that improves illumination control.
Description of drawings
Fig. 1 is traditional DALI lighting system structure sketch map;
Fig. 2 is the digital address intelligent lighting system structural representation that is integrated with security protection and help function;
Fig. 3 is the structured flowchart of illumination Control Node of the present invention;
Fig. 4 is the structured flowchart of security protection Control Node of the present invention;
Fig. 5 is the structured flowchart of security protection XM of the present invention;
Fig. 6 is DALI interface circuit figure of the present invention;
Fig. 7 is the circuit diagram of MCU module in the illumination Control Node of the present invention;
Fig. 8 is the circuit diagram of guidance panel in the illumination Control Node of the present invention;
Fig. 9 is the circuit diagram of MCU module in the security protection Control Node of the present invention;
Figure 10 is the circuit diagram of MCU module in the security protection XM of the present invention;
Figure 11 is the flow chart of bus line commands to be sent such as multi-controller of the present invention.
Embodiment
As shown in Figure 1, traditional digital address (DALI) illuminator comprises PC, main controller and 1~64 illumination XM, and PC links to each other with main controller through the RS232 serial ports, and main controller and 1~64 equal carry of illumination XM are on the DALI bus; Main controller has the ability of initiatively sending fame and gain and the XM that throws light on can only receive and carry out the order of main controller.
Shown in Fig. 2~5; The digital addressable lighting system of integrated security protection and flash appeal function comprises PC, main controller and 1~64 node, and wherein 1~64 node is divided into illumination Control Node, illumination XM, security protection Control Node and a security protection XM; PC links to each other with main controller through the RS232 serial ports, and main controller, illumination Control Node, illumination XM, security protection Control Node and the equal carry of security protection XM are on the DALI bus; Described illumination Control Node is made up of MCU module, DALI interface module and guidance panel, and wherein the MCU module links to each other with guidance panel with the DALI interface module respectively as the controller of illumination Control Node; Described security protection Control Node is made up of MCU module, DALI interface module and security sensor, and wherein the MCU module is connected with security sensor with the DALI interface module respectively as the controller of security protection Control Node; Described security protection XM is made up of MCU module, DALI interface module and GSM alarm module, and wherein the MCU module is connected with the GSM alarm module with the DALI interface module respectively as the controller of security protection XM; MCU module in illumination Control Node, security protection Control Node and the security protection XM is selected the single chip computer AT-MEGA8 of same model for use.
As shown in Figure 6, described DALI interface module circuit is: DALI interface J2 pin 2, resistance R 2, diode D2 negative pole and diode D4 are anodal to link to each other resistance R 2 other end ground connection; DALI interface J2 pin 1, resistance R 1, diode D1 negative pole and diode D3 are anodal to link to each other; Resistance R 1 another termination 12V power supply, diode D1 positive pole, diode D2 positive pole, electrochemical capacitor EC7 negative pole, resistance R 8, triode Q2 pin 2 and voltage stabilizing didoe D6 are anodal to link to each other, and diode D3 negative pole, diode D4 negative pole link to each other with resistance R 10; Resistance R 10 other ends, diode D5 positive pole, resistance R 9 link to each other with resistance R 11; Diode D5 negative pole, photoelectrical coupler U4 pin 3 and electrochemical capacitor EC7 positive pole link to each other, and photoelectrical coupler U4 pin 1 connects the 5V power supply, and photoelectrical coupler U4 pin 2 links to each other with resistance R 6; Photoelectrical coupler U4 pin 4 links to each other with resistance R 7; MEGA8 pin 23 links to each other in resistance R 6 other ends and the MCU module, and resistance R 7 other ends, resistance R 8 other ends and triode Q2 pin 1 link to each other, and resistance R 9 other ends link to each other with triode Q2 pin 3; Photoelectrical coupler U7 pin 1 links to each other with resistance R 11 other ends; Photoelectrical coupler U7 pin 2 links to each other with voltage stabilizing didoe D6 negative pole, and photoelectrical coupler U7 pin 3 connects the 5V power supply, and photoelectrical coupler U7 pin 4, resistance R 16 and resistance R 17 link to each other; MEGA8 pin 24 links to each other in resistance R 16 other end ground connection, resistance R 17 other ends and MCU module; The DALI interface has the transmitted in both directions function of sending and receiving order, improves the versatility of DALI interface, and when Control Node need be sent order, the command signal of controller got into bus through photoelectrical coupler U4 and triode Q2; When Control Node received order, the command signal of bus was sent to the controller of node through photoelectrical coupler U7.
Like Fig. 7, shown in 8, described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit, and the SCM peripheral circuit comprises: outer crystal oscillator of sheet and restorer, and guidance panel is made up of 12 buttons and 4 resistance; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X1 and capacitor C 31 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X1 links to each other with capacitor C 32, ground connection after the other end of capacitor C 31 links to each other with the other end of capacitor C 32; The restorer circuit is: MEGA8 pin 21 links to each other with capacitor C 35, ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 35; MEGA8 pin 23 links to each other with DALI interface module pin 23, and MEGA8 pin 24 links to each other with DALI interface module pin 24; Reset switch K1 two ends connect MEGA8 pin 1 and ground, MEGA8 pin 8 ground connection respectively; MEGA8 pin 2,3,4,5,14,15 is connected with guidance panel respectively with 16; The guidance panel circuit is: MEGA8 pin 14 links to each other with button S1, button S2, button S3, button S4; MEGA8 pin 15 links to each other with button S5, button S6, button S7, button S8; MEGA8 pin 16 links to each other with button S9, button S10, button S11, button S12; MEGA8 pin 2 links to each other with the other end, the other end of button S8, the other end of button S12, the resistance R 44 of button S4; MEGA8 pin 3 links to each other with the other end, the other end of button S7, the other end of button S11, the resistance R 43 of button S3; MEGA8 pin 4 links to each other with the other end, the other end of button S6, the other end of button S10, the resistance R 42 of button S2; MEGA8 pin 5 links to each other with the other end, the other end of button S5, the other end of button S9, the resistance R 41 of button S1, ground connection after the other end of the other end of the other end of resistance R 41, resistance R 42, the other end of resistance R 43 and resistance R 44 links to each other.
As shown in Figure 9, described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit, and the SCM peripheral circuit comprises: sensor interface, the outer crystal oscillator of sheet, restorer and buzzer, and the security sensor model is flush door magnetic MC-36; Sensor interface circuitry is: the two ends of resistance R 21 link to each other with the 5V power supply with interface com2 pin 3 respectively; Interface com2 pin 2, resistance R 22 and capacitor C 6 link to each other; The other end of interface com2 pin 1, capacitor C 6 links to each other with photoelectrical coupler U5 pin 2, and photoelectrical coupler U5 pin 1 links to each other with the other end of resistance R 22, and photoelectrical coupler U5 pin 3, MEGA8 pin 25 and resistance R 23 link to each other; Another termination 5V power supply of resistance R 23, photoelectrical coupler U2 pin 4 ground connection; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X2 and capacitor C 11 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X2 links to each other with capacitor C 12, ground connection after the other end of capacitor C 11 links to each other with the other end of capacitor C 12; MEGA8, restorer and buzzer circuit are: reset switch K2 two ends link to each other with ground with MEGA8 pin 1 respectively; MEGA8 pin 27 links to each other with buzzer U1, the other end ground connection of buzzer U1; MEGA8 pin 21 links to each other with capacitor C 5, ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 5, and MEGA8 pin 23 links to each other with DALI interface module pin DALI_W, and MEGA8 pin 24 links to each other MEGA8 pin 8 ground connection with DALI interface module pin DALI_R.Interface com2 is general sensor interface; The power supply input of pin 3 respective sensor of interface com2; Then pin 3 is unsettled not need external power supply like transducer; The switching value signal of pin 2 respective sensor of interface com2 is come in and gone out, the signal ground of pin 1 respective sensor of interface com2, and buzzing U1 sends the buzzing prompt tone when processor detects the security sensor fault.
Shown in figure 10; Described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit; The SCM peripheral circuit comprises: RS232 serial ports, the outer crystal oscillator of sheet and restorer, and the GSM alarm module adopts the TC35i module of Siemens and passes through serial ports and single chip communication; The RS232 serial port circuit is: be connected MEGA8 pin 2 after the pin 10 of resistance R 25 and chip MAX232 links to each other; After linking to each other, the pin 9 of resistance R 26 and chip MAX232 is connected MEGA8 pin 3; The other end of resistance R 25 with connect the 5V power supply after the other end of resistance R 26 links to each other, the two ends of capacitor C 25 link to each other with pin 5 with the pin 4 of chip MAX232 respectively, the two ends of capacitor C 24 link to each other with pin 3 with the pin 1 of chip MAX232 respectively; Capacitor C 27 with connect the 5V power supply after the pin 16 of chip MAX232 links to each other; The other end of capacitor C 27 links to each other with the pin 2 of chip MAX232, ground connection after capacitor C 26 links to each other with the pin 15 of chip MAX232, and the other end of capacitor C 26 links to each other with the pin 6 of chip MAX232; The pin 2 of interface D9 links to each other with the pin 8 of chip MAX232; The pin 3 of interface D9 links to each other with the pin 7 of chip MAX232, pin 5 ground connection of interface D9, ground connection after the pin 10 of interface D9 links to each other with pin 11; The pin 11,12,13 and 14 of chip MAX232 is unsettled, and the pin 1,4,6,7,8 and 9 of interface D9 is unsettled; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X3 and capacitor C 21 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X3 links to each other with capacitor C 22, ground connection after the other end of capacitor C 21 links to each other with the other end of capacitor C 22; MEGA8 with the restorer circuit is: reset switch K3 two ends link to each other with ground with MEGA8 pin 1 respectively; MEGA8 pin 21 links to each other with capacitor C 23; Ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 23; MEGA8 pin 23 links to each other with DALI interface module pin DALI_W, and MEGA8 pin 24 links to each other MEGA8 pin 8 ground connection with DALI interface module pin DALI_R.
Shown in figure 11, described illumination XM and security protection are carried out joint and in system, are not possessed the function of initiatively sending order as operating part, and main controller, illumination Control Node and security protection Control Node possess the function of initiatively sending order; Realize that through the bus continuous Query time is set the bus of multi-controller uses pattern, and on the basis of bus continuous Query time the definition random number bus collision stand-by period prevent the command collision of multi-controller in bus; Through being set, the order that the different continuous Query time divides security protection Control Node, main controller and illumination Control Node sends priority; The random number bus collision stand-by period of definition can prevent the bus collision that the Control Node of same type and equal priority produces simultaneously; When promptly detecting the DALI bus collision; Control Node is ceased and desisted order immediately and is sent and read six at timer end as random number, and order is retransmitted in the time-delay back.Said main controller, illumination Control Node and security protection Control Node possess the mode of initiatively sending order and be: controller is ready for sending order and continues Xms whether detect the DALI bus idle; If the arbitrfary point of DALI bus in continuing Xms detected to busy, then read six the stand-by period Yms that send as the order time-delay in counter end, the scope of stand-by period is 0~63; Time-delay is ready for sending order after waiting for again; If the DALI bus is idle in continuing Xms, then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes; Then still read six the stand-by period Yms that send as the order time-delay in counter end; Time-delay is ready for sending order after waiting for again, and no conflict occurred as if the DALI bus, and then order is sent successfully; The X value that Different control device as shown in table 1 is corresponding is different; The priority of security protection Control Node is the highest; DALI bus lasting detection time of X is set to 13 ms ± 4%; Main controller continues to detect DALI bus time X and is set to 15 ms ± 4%, and the illumination Control Node continues to detect DALI bus time X and is set to 17ms ± 4%.
Table 1
The order transmit control device Continue detection time
The security protection Control Node 13ms ± 4%
Main controller 15ms ± 4%
The illumination sensor Node Controller 17ms ± 4%
The control method of illumination Control Node is: whether inquiry button is pressed behind the illumination Control Node power-up initializing, if button is not pressed, whether the 1ms that then delays time continues the queries button and press; If button is pressed, the Control Node of then throwing light on is ready for sending order, and whether continue 17ms detection DALI bus idle; If the arbitrfary point of DALI bus in 17ms detected to busy, then stop the bus inquiry immediately and read six the stand-by period Yms that send as the order time-delay in counter end, time-delay is ready for sending order after waiting for again; If the DALI bus is idle in 17ms; Then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes, stops to send order immediately and reads six the wait numerical value Yms as the order time-delay in counter end; Time-delay is ready for sending order after waiting for again; No conflict occurred as if the DALI bus, and then order is sent successfully, and whether time-delay 1ms returns the continuation inquiry button and press; The communication mode of illumination sensor node and command format are deferred to the DALI protocol specification fully.
The control method of security protection Control Node is: whether detecting sensor is in proper working order behind the security protection Control Node power-up initializing, if working sensor is undesired, then stops the concurrent sound that is out of order of security protection Control Node; If working sensor is normal, then whether query sensors reports to the police, if transducer is not reported to the police; Whether the 1ms that then delays time continues query sensors and reports to the police, if transducer is reported to the police, then security protection Control Node is ready for sending order; Whether idle, if the arbitrfary point of DALI bus in 13ms detected to busy, then stop bus immediately and inquire about and read six the stand-by period Yms as order time-delay transmission in counter end if continuing 13ms detection DALI bus; Time-delay is ready for sending order after waiting for again; If the DALI bus is idle in 13ms, then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes; Stop to send order immediately and read six the wait numerical value Yms in counter end as the order time-delay; Time-delay is ready for sending order after waiting for again, and no conflict occurred as if the DALI bus, and then whether order sends success and return the continuation detecting sensor in proper working order; The communication mode of security protection Control Node and command format are deferred to the DALI protocol specification fully, the custom instruction that alarm command uses the DALI agreement to reserve.
The control method of the digital addressable lighting system of integrated security protection and flash appeal function is: the control method of security protection XM is: the DALI bus receives and gsm module is handled; Control method comprises: read cell-phone number and identification code in the gsm module behind the security protection XM power-up initializing, detect whether receive the DALI bus line command then, if do not receive the DALI bus line command; The 1ms that then delays time continues to receive the DALI bus line command, if receive the DALI bus line command, then judges command address or claims that destination address comprises with node address whether broadcast address is consistent; If command address is not equal to node address and comprises broadcast address, then give up, detect whether receive the DALI bus line command behind the time-delay 1ms; If command address equals node address and comprises broadcast address, then the expression order is effectively carried out resolve command in proper order; PDU coding and transmission GSM note judge then whether note sends success, if note is sent successfully; Then delay time and return detection behind the 1ms and whether receive the DALI bus line command, unsuccessful if note is sent, then judge and retransmit number of times; If retransmitting number of times is not more than 3 times; Resend the GSM note after then waiting for 10 seconds,, then stop to return to detect again whether receive the DALI bus line command behind note transmission and the time-delay 1ms if retransmit number of times greater than 3 times.

Claims (10)

1. the digital addressable lighting system of integrated security protection and flash appeal function; It is characterized in that comprising PC, main controller and 1~64 node, wherein 1~64 node is divided into illumination Control Node, illumination XM, security protection Control Node and a security protection XM; PC links to each other with main controller through the RS232 serial ports, and main controller, illumination Control Node, illumination XM, security protection Control Node and the equal carry of security protection XM are on the DALI bus; Described illumination Control Node is made up of MCU module, DALI interface module and guidance panel, and wherein the MCU module links to each other with guidance panel with the DALI interface module respectively as the controller of illumination Control Node; Described security protection Control Node is made up of MCU module, DALI interface module and security sensor, and wherein the MCU module is connected with security sensor with the DALI interface module respectively as the controller of security protection Control Node; Described security protection XM is made up of MCU module, DALI interface module and GSM alarm module, and wherein the MCU module is connected with the GSM alarm module with the DALI interface module respectively as the controller of security protection XM; MCU module in illumination Control Node, security protection Control Node and the security protection XM is selected the single chip computer AT-MEGA8 of same model for use.
2. the digital addressable lighting system of a kind of integrated security protection according to claim 1 and flash appeal function is characterized in that described DALI interface module circuit is: DALI interface J2 pin 2, resistance R 2, diode D2 negative pole and diode D4 are anodal to link to each other resistance R 2 other end ground connection; DALI interface J2 pin 1, resistance R 1, diode D1 negative pole and diode D3 are anodal to link to each other; Resistance R 1 another termination 12V power supply, diode D1 positive pole, diode D2 positive pole, electrochemical capacitor EC7 negative pole, resistance R 8, triode Q2 pin 2 and voltage stabilizing didoe D6 are anodal to link to each other, and diode D3 negative pole, diode D4 negative pole link to each other with resistance R 10; Resistance R 10 other ends, diode D5 positive pole, resistance R 9 link to each other with resistance R 11; Diode D5 negative pole, photoelectrical coupler U4 pin 3 and electrochemical capacitor EC7 positive pole link to each other, and photoelectrical coupler U4 pin 1 connects the 5V power supply, and photoelectrical coupler U4 pin 2 links to each other with resistance R 6; Photoelectrical coupler U4 pin 4 links to each other with resistance R 7; MEGA8 pin 23 links to each other in resistance R 6 other ends and the MCU module, and resistance R 7 other ends, resistance R 8 other ends and triode Q2 pin 1 link to each other, and resistance R 9 other ends link to each other with triode Q2 pin 3; Photoelectrical coupler U7 pin 1 links to each other with resistance R 11 other ends; Photoelectrical coupler U7 pin 2 links to each other with voltage stabilizing didoe D6 negative pole, and photoelectrical coupler U7 pin 3 connects the 5V power supply, and photoelectrical coupler U7 pin 4, resistance R 16 and resistance R 17 link to each other; MEGA8 pin 24 links to each other in resistance R 16 other end ground connection, resistance R 17 other ends and MCU module; The DALI interface has the transmitted in both directions function of sending and receiving order, improves the versatility of DALI interface, and when Control Node need be sent order, the command signal of controller got into bus through photoelectrical coupler U4 and triode Q2; When Control Node received order, the command signal of bus was sent to the controller of node through photoelectrical coupler U7.
3. the digital addressable lighting system of a kind of integrated security protection according to claim 1 and flash appeal function; It is characterized in that described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit; The SCM peripheral circuit comprises: outer crystal oscillator of sheet and restorer, and guidance panel is made up of 12 buttons and 4 resistance; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X1 and capacitor C 31 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X1 links to each other with capacitor C 32, ground connection after the other end of capacitor C 31 links to each other with the other end of capacitor C 32; The restorer circuit is: MEGA8 pin 21 links to each other with capacitor C 35, ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 35; MEGA8 pin 23 links to each other with DALI interface module pin 23, and MEGA8 pin 24 links to each other with DALI interface module pin 24; Reset switch K1 two ends connect MEGA8 pin 1 and ground, MEGA8 pin 8 ground connection respectively; MEGA8 pin 2,3,4,5,14,15 is connected with guidance panel respectively with 16; The guidance panel circuit is: MEGA8 pin 14 links to each other with button S1, button S2, button S3, button S4; MEGA8 pin 15 links to each other with button S5, button S6, button S7, button S8; MEGA8 pin 16 links to each other with button S9, button S10, button S11, button S12; MEGA8 pin 2 links to each other with the other end, the other end of button S8, the other end of button S12, the resistance R 44 of button S4; MEGA8 pin 3 links to each other with the other end, the other end of button S7, the other end of button S11, the resistance R 43 of button S3; MEGA8 pin 4 links to each other with the other end, the other end of button S6, the other end of button S10, the resistance R 42 of button S2; MEGA8 pin 5 links to each other with the other end, the other end of button S5, the other end of button S9, the resistance R 41 of button S1, ground connection after the other end of the other end of the other end of resistance R 41, resistance R 42, the other end of resistance R 43 and resistance R 44 links to each other.
4. the digital addressable lighting system of a kind of integrated security protection according to claim 1 and flash appeal function; It is characterized in that described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit; The SCM peripheral circuit comprises: sensor interface, the outer crystal oscillator of sheet, restorer and buzzer, and the security sensor model is flush door magnetic MC-36; Sensor interface circuitry is: the two ends of resistance R 21 link to each other with the 5V power supply with interface com2 pin 3 respectively; Interface com2 pin 2, resistance R 22 and capacitor C 6 link to each other; The other end of interface com2 pin 1, capacitor C 6 links to each other with photoelectrical coupler U5 pin 2, and photoelectrical coupler U5 pin 1 links to each other with the other end of resistance R 22, and photoelectrical coupler U5 pin 3, MEGA8 pin 25 and resistance R 23 link to each other; Another termination 5V power supply of resistance R 23, photoelectrical coupler U2 pin 4 ground connection; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X2 and capacitor C 11 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X2 links to each other with capacitor C 12, ground connection after the other end of capacitor C 11 links to each other with the other end of capacitor C 12; MEGA8, restorer and buzzer circuit are: reset switch K2 two ends link to each other with ground with MEGA8 pin 1 respectively; MEGA8 pin 27 links to each other with buzzer U1, the other end ground connection of buzzer U1; MEGA8 pin 21 links to each other with capacitor C 5, ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 5, and MEGA8 pin 23 links to each other with DALI interface module pin DALI_W, and MEGA8 pin 24 links to each other MEGA8 pin 8 ground connection with DALI interface module pin DALI_R.
5. the digital addressable lighting system of a kind of integrated security protection according to claim 1 and flash appeal function; It is characterized in that described MCU module is made up of single-chip microcomputer MEGA8 and SCM peripheral circuit; The SCM peripheral circuit comprises: RS232 serial ports, the outer crystal oscillator of sheet and restorer, and the GSM alarm module adopts the TC35i module of Siemens and passes through serial ports and single chip communication; The RS232 serial port circuit is: be connected MEGA8 pin 2 after the pin 10 of resistance R 25 and chip MAX232 links to each other; After linking to each other, the pin 9 of resistance R 26 and chip MAX232 is connected MEGA8 pin 3; The other end of resistance R 25 with connect the 5V power supply after the other end of resistance R 26 links to each other, the two ends of capacitor C 25 link to each other with pin 5 with the pin 4 of chip MAX232 respectively, the two ends of capacitor C 24 link to each other with pin 3 with the pin 1 of chip MAX232 respectively; Capacitor C 27 with connect the 5V power supply after the pin 16 of chip MAX232 links to each other; The other end of capacitor C 27 links to each other with the pin 2 of chip MAX232, ground connection after capacitor C 26 links to each other with the pin 15 of chip MAX232, and the other end of capacitor C 26 links to each other with the pin 6 of chip MAX232; The pin 2 of interface D9 links to each other with the pin 8 of chip MAX232; The pin 3 of interface D9 links to each other with the pin 7 of chip MAX232, pin 5 ground connection of interface D9, ground connection after the pin 10 of interface D9 links to each other with pin 11; The pin 11,12,13 and 14 of chip MAX232 is unsettled, and the pin 1,4,6,7,8 and 9 of interface D9 is unsettled; The outer crystal oscillating circuit of sheet is: MEGA8 pin 9, crystal oscillator X3 and capacitor C 21 link to each other, and the other end of MEGA8 pin 10, crystal oscillator X3 links to each other with capacitor C 22, ground connection after the other end of capacitor C 21 links to each other with the other end of capacitor C 22; MEGA8 with the restorer circuit is: reset switch K3 two ends link to each other with ground with MEGA8 pin 1 respectively; MEGA8 pin 21 links to each other with capacitor C 23; Ground connection after MEGA8 pin 22 links to each other with the other end of capacitor C 23; MEGA8 pin 23 links to each other with DALI interface module pin DALI_W, and MEGA8 pin 24 links to each other MEGA8 pin 8 ground connection with DALI interface module pin DALI_R.
6. the control method of the digital addressable lighting system of the integrated security protection of using system according to claim 1 and flash appeal function; It is characterized in that throwing light on XM and security protection carried out joint and in system, do not possessed the function of initiatively sending order as operating part, and main controller, illumination Control Node and security protection Control Node possess the function of initiatively sending order; Realize that through the bus continuous Query time is set the bus of multi-controller uses pattern, and on the basis of bus continuous Query time the definition random number bus collision stand-by period prevent the command collision of multi-controller in bus; Through being set, the order that the different continuous Query time divides security protection Control Node, main controller and illumination Control Node sends priority; The random number bus collision stand-by period of definition can prevent the bus collision that the Control Node of same type and equal priority produces simultaneously; When promptly detecting the DALI bus collision; Control Node is ceased and desisted order immediately and is sent and read six at timer end as random number, and order is retransmitted in the time-delay back.
7. the control method of the digital addressable lighting system of a kind of integrated security protection according to claim 6 and flash appeal function; It is characterized in that said main controller, illumination Control Node and security protection Control Node possess the mode of initiatively sending order and be: controller is ready for sending order and continues Xms whether detect the DALI bus idle; If the arbitrfary point of DALI bus in continuing Xms detected to busy, then read six the stand-by period Yms that send as the order time-delay in counter end, the scope of stand-by period is 0~63; Time-delay is ready for sending order after waiting for again; If the DALI bus is idle in continuing Xms, then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes; Then still read six the stand-by period Yms that send as the order time-delay in counter end; Time-delay is ready for sending order after waiting for again, and no conflict occurred as if the DALI bus, and then order is sent successfully; The X value that wherein the Different control device is corresponding is different; The priority of security protection Control Node is the highest; DALI bus lasting detection time of X is set to 13 ms ± 4%; Main controller continues to detect DALI bus time X and is set to 15 ms ± 4%, and the illumination Control Node continues to detect DALI bus time X and is set to 17ms ± 4%.
8. the control method of the digital addressable lighting system of a kind of integrated security protection according to claim 6 and flash appeal function is characterized in that the control method of described illumination Control Node is: whether inquiry button is pressed behind the illumination Control Node power-up initializing, if button is not pressed; Whether the 1ms that then delays time continues the queries button and presses, if button is pressed, the Control Node of then throwing light on is ready for sending order; Whether continue 17ms detection DALI bus idle; If the arbitrfary point of DALI bus in 17ms detected to busy, then stop the bus inquiry immediately and read six the stand-by period Yms that send as the order time-delay in counter end, time-delay is ready for sending order after waiting for again; If the DALI bus is idle in 17ms; Then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes, stops to send order immediately and reads six the wait numerical value Yms as the order time-delay in counter end; Time-delay is ready for sending order after waiting for again; No conflict occurred as if the DALI bus, and then order is sent successfully, and whether time-delay 1ms returns the continuation inquiry button and press; The communication mode of illumination sensor node and command format are deferred to the DALI protocol specification fully.
9. the control method of the digital addressable lighting system of a kind of integrated security protection according to claim 6 and flash appeal function, it is characterized in that the control method of described security protection Control Node is: whether detecting sensor is in proper working order behind the security protection Control Node power-up initializing, if working sensor is undesired; Then stop the concurrent sound that is out of order of security protection Control Node, if working sensor is normal, then whether query sensors reports to the police; If transducer is not reported to the police, whether the 1ms that then delays time continues query sensors and reports to the police, if transducer is reported to the police; Then security protection Control Node is ready for sending order; Whether idle, if the arbitrfary point of DALI bus in 13ms detected to busy, then stop bus immediately and inquire about and read six the stand-by period Yms as order time-delay transmission in counter end if continuing 13ms detection DALI bus; Time-delay is ready for sending order after waiting for again; If the DALI bus is idle in 13ms, then whether controller sends order through the DALI bus and monitors bus and conflict, if the DALI bus clashes; Stop to send order immediately and read six the wait numerical value Yms in counter end as the order time-delay; Time-delay is ready for sending order after waiting for again, and no conflict occurred as if the DALI bus, and then whether order sends success and return the continuation detecting sensor in proper working order; The communication mode of security protection Control Node and command format are deferred to the DALI protocol specification fully, the custom instruction that alarm command uses the DALI agreement to reserve.
10. the control method of the digital addressable lighting system of a kind of integrated security protection according to claim 6 and flash appeal function is characterized in that the control method of described security protection XM is: the DALI bus receives and gsm module is handled; Control method comprises: read cell-phone number and identification code in the gsm module behind the security protection XM power-up initializing, detect whether receive the DALI bus line command then, if do not receive the DALI bus line command; The 1ms that then delays time continues to receive the DALI bus line command, if receive the DALI bus line command, then judges command address or claims that destination address comprises with node address whether broadcast address is consistent; If command address is not equal to node address and comprises broadcast address, then give up, detect whether receive the DALI bus line command behind the time-delay 1ms; If command address equals node address and comprises broadcast address, then the expression order is effectively carried out resolve command in proper order; PDU coding and transmission GSM note judge then whether note sends success, if note is sent successfully; Then delay time and return detection behind the 1ms and whether receive the DALI bus line command, unsuccessful if note is sent, then judge and retransmit number of times; If retransmitting number of times is not more than 3 times; Resend the GSM note after then waiting for 10 seconds,, then stop to return to detect again whether receive the DALI bus line command behind note transmission and the time-delay 1ms if retransmit number of times greater than 3 times.
CN201110417672.9A 2011-12-14 2011-12-14 Digital addressable lighting system and method integrating functions of safety protection and emergency recourse Expired - Fee Related CN102548134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110417672.9A CN102548134B (en) 2011-12-14 2011-12-14 Digital addressable lighting system and method integrating functions of safety protection and emergency recourse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110417672.9A CN102548134B (en) 2011-12-14 2011-12-14 Digital addressable lighting system and method integrating functions of safety protection and emergency recourse

Publications (2)

Publication Number Publication Date
CN102548134A true CN102548134A (en) 2012-07-04
CN102548134B CN102548134B (en) 2014-01-29

Family

ID=46353774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110417672.9A Expired - Fee Related CN102548134B (en) 2011-12-14 2011-12-14 Digital addressable lighting system and method integrating functions of safety protection and emergency recourse

Country Status (1)

Country Link
CN (1) CN102548134B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685324A (en) * 2014-01-07 2014-03-26 中山市中大半导体照明技术研究有限公司 DALI (Digital Addressable Lighting Interface) signal generator communication protocol on basis of USB (Universal Serial Bus) interface and device
CN105453701A (en) * 2013-06-14 2016-03-30 皇家飞利浦有限公司 System comprising a controlling device and a controlled device
CN106102274A (en) * 2016-07-07 2016-11-09 上海兴珠信息科技有限公司 A kind of street lamp control system
CN108966457A (en) * 2018-06-29 2018-12-07 中山市中大半导体照明技术研究有限公司 Bus coupled system based on DALI agreement
CN110276937A (en) * 2019-05-29 2019-09-24 北大青鸟环宇消防设备股份有限公司 The hybrid control method and fire protection alarm system of fire protection warning bus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420813A (en) * 2008-11-21 2009-04-29 浙江大学 Digital addressable illumination control system and method thereof
WO2011023140A1 (en) * 2009-08-31 2011-03-03 嘉力时灯光设备(东莞)有限公司 Lighting device based on digital addressable lighting interface (dali) protocol and method for setting identification address thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420813A (en) * 2008-11-21 2009-04-29 浙江大学 Digital addressable illumination control system and method thereof
WO2011023140A1 (en) * 2009-08-31 2011-03-03 嘉力时灯光设备(东莞)有限公司 Lighting device based on digital addressable lighting interface (dali) protocol and method for setting identification address thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
傅炜钢: "《基于DALI的智能照明系统设计》", 《中国优秀硕士学位论文全文数据库》, 15 September 2008 (2008-09-15), pages 23 - 77 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105453701A (en) * 2013-06-14 2016-03-30 皇家飞利浦有限公司 System comprising a controlling device and a controlled device
US10091862B2 (en) 2013-06-14 2018-10-02 Philips Lighting Holding B.V. System comprising a controlling device and a controlled device
CN105453701B (en) * 2013-06-14 2020-05-15 飞利浦灯具控股公司 System including control device and controlled device, device in system, method, and computer storage medium
CN103685324A (en) * 2014-01-07 2014-03-26 中山市中大半导体照明技术研究有限公司 DALI (Digital Addressable Lighting Interface) signal generator communication protocol on basis of USB (Universal Serial Bus) interface and device
CN106102274A (en) * 2016-07-07 2016-11-09 上海兴珠信息科技有限公司 A kind of street lamp control system
CN106102274B (en) * 2016-07-07 2018-10-26 浙江优联智能科技有限公司 A kind of street lamp control system
CN108966457A (en) * 2018-06-29 2018-12-07 中山市中大半导体照明技术研究有限公司 Bus coupled system based on DALI agreement
CN110276937A (en) * 2019-05-29 2019-09-24 北大青鸟环宇消防设备股份有限公司 The hybrid control method and fire protection alarm system of fire protection warning bus
CN110276937B (en) * 2019-05-29 2021-12-17 青鸟消防股份有限公司 Hybrid control method of fire alarm bus and fire alarm system

Also Published As

Publication number Publication date
CN102548134B (en) 2014-01-29

Similar Documents

Publication Publication Date Title
CN101883455B (en) Lighting power-saving measurement and control system based on wireless sensor network
CN102548134B (en) Digital addressable lighting system and method integrating functions of safety protection and emergency recourse
CN201766739U (en) Intelligent home LED lighting system based on ZigBee and ARM techniques
CN101969713A (en) LED street lamp control system based on electric power carrier communication technology
CN205121197U (en) Automatically regulated of family travelling comfort economizer
CN203225420U (en) Intelligent outlet based on power line carrier
CN104302052A (en) Family lamplight control panel
CN205862410U (en) The apparatus for controlling elevator of identity-based card remote validation
CN204119581U (en) A kind of underground parking intelligent illuminating system
CN202025224U (en) Intelligent office energy-saving control system
CN202254113U (en) Long-distance radio-frequency low-power-consumption networked air conditioning remote control
CN102196650A (en) Street lamp illumination control system
CN201138442Y (en) Intelligent monitoring system for energy conservation of indoor electric appliance
CN204104195U (en) A kind of family signal light control panel
CN104155934A (en) Building automatic control method base on Internet of Things
CN102147961B (en) Wireless network based wireless transmission equipment
CN201134954Y (en) Power line carrier remote group controlled illuminating electricity saving system
CN214281008U (en) Energy optimization management system based on building information model
CN201700070U (en) Remote control electrodeless lamp lighting system
CN108429663A (en) A kind of intelligence with human-computer interaction interface energy managing device
CN206096914U (en) Long -range teaching building electric energy energy -saving control system
CN203630611U (en) Illumination power utilization monitoring system
CN203364960U (en) Wireless communication based desktop illuminometer and intelligent control system
CN209401134U (en) A kind of fire acousto-optic alarm
CN208607267U (en) Intelligent electric energy meter door displays

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140129

Termination date: 20141214

EXPY Termination of patent right or utility model