201235593 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種燈具,特別是指一種可替換通信 模組的燈具。 【先前技術】 近年來LED燈具由於技術成熟而大量興起,且其高壽 命及高可控性之特性,也促使燈具的通信控制技術,例如紅 外線、Zigbee、DALI或電力線等如雨後春筍般蓬勃發展。 習知LED燈具之控制器會透過一通信介面以有線或無線的 方式與一控制端進行通訊,以根據控制端的控制指令來調控 led燈的亮度或色溫,但以往LED燈具的通信介面和控制 器被設置在一起(或在同一電路板上)不可分離,因此當使用 者想要使用新的通信協定(即改變控制端的通信方式)來控 制LED燈具時,由於LED燈具之通信介面與控制器不可分 離,且控制器中使用之韌體與新的通信協定不相容,而必需 更換整個LED燈具,這不但讓使用者所費不貲,而且在現 今#求環保的共識下,是一個相當不環保的做法,故有必要 加以改進。 【發明内容】 因此,本發明之目的,即在提供一種只需替換通信介 面即可適用不同通信協定之燈具。 為達到上述目的,本發明的燈具,與一通信模組可插 電輕接,以透過該通信模組接收來自—控制端的控制 才曰7,並包括一發光元件模組、一驅動電路、一微控制單 201235593 元及一第一連接器。 5玄微控制單元與該驅動電路電耦接,以控制該驅動電 路的工作週期’該第-連接器與該微控制單元電耦接;該 通信模組具有一與該第一連接器可插拔地對接之第二連接 器並接收來自该控制端的一控制指令並傳送給該微控制 單凡’使根據該控制指令控制該驅動電路,並具有該通信 換組所屬一通信模組類型、以及相對於該通信模組類型的 -物體,該細體執行該控制指令以產生一脈波寬度調變訊 號控制^亥驅動電路,且該微控制單元内建有針對不同通信 模組的複數種勒體; 其中,當該第二連接器與該第一連接器首次電耦接 時,該通信模組發出一通知訊號通知該微控制單元,該微 控制單7L發出一識別命令要求該通信模組回覆該通信模組 類型,以便在尚未内建支援該通信模組類型時,從該通信 模組下載所屬該通信模組類型的勒體。 較佳地,該通信模組還包含一訊號接收單元及一微控 制器°亥微控制器將該訊號接收單元所接收之控制指令轉 成該第一連接器與該第二連接器共通之一訊號格式再輸出 至該第二連接器。 較佳地,該訊號格式為12C,且該第一連接器與該第二 連接益為I2C介面。 較佳地,該通信模組是紅外線通信模組、Zigbee通信 模組、數位可定址調光介面通信模組或電力線通信模組其 中之一。 201235593 較佳地’該發光元件模組是一由複數發光二極體所組 成之發光二極體模組。 較佳地’該燈具更包含一供容置該驅動電路、該微控 制單元及該第一連接器的殼體,且該發光元件模組固定於 該殼體表面的一凹陷區,該殼體還具有一相對於該第一連 接器設置的開口,及一設於該開口的蓋板,該通信模組由 該開口置入該殼體中,使該第二連接器與該第一連接器對 接’且該蓋板封閉該開口以將該通信模組收納於該殼體内。 本發明的功效在於藉由燈具與通信模組可插拔地電連 接,當使用者更換使用其它通信協定的控制端時,只需更 換通信模組,而不需一併更換燈具,不但省錢環保且燈 具可自動識別與其插接之通信模組的類型並適時更新韌 體,可相容於各種類型的通信模組,確實達到本發明的功 效與目的。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在以 下配合參考圖式之較佳實施例的詳細說明中,將可清楚的呈 現。 參見圖1及圖2所示,是本發明燈具的—較佳實施例的 電路方塊圖,本實施例的燈具】經由一通信模"與一控制 端3通訊’以接收控制端3之—控制指令而作動,並包括一 發光讀模組U、-驅動該發光元件模組u之驅動電路 12、一控制該驅動電路12之工作週期的微控制單元η及一 第一連接器14。 201235593 在本實施例中,發光元件模組η是由多數個發光二極 體成組成之發光模組,但並不以此為限。驅動電路12是― 脈波寬度調變驅動電路’並與發光元件模組u電耦接,其 根據-脈波寬度調變訊號’調整驅動發光元件模組u的: 作週期’以控制發光元件模組u的亮度或色溫。微控制單 元13與驅動㈣12t搞接,並輸出該脈波寬度調變訊號控 制驅動電路的工作週期。第—連接器14與微控制單元 電耗接以傳送來自控制端3之控制指令給微控制單元 13 ° 通信模組2與燈具1電耦接,並包括一與第一連接器 14對接之第二連接器21,一與第二連接器21電耦接之微控 制器22,及一接收控制端3送出之控制指令的訊號接收單 兀23 ^在本實施例中,第一連接器14與第二連接器21是 I C "面,因此,當訊號接收單元23收到控制端3之控制指 令並送至微控制器22時,微控制器22會將控制指令轉換成 I C訊號格式再輸出至第二連接器21。 在本實施例中,為了搭配不同控制端3所使用之通訊協 定,通信模組2具有各種不同的類型,例如圖丨所示,若控 制端A是透過紅外線發射控制指令,則與其搭配之通信模組 2為一紅外線通信模組a,若控制端B是以Zigbee技術發射 控制指令,則與其搭配之通信模組2為一 Zigbee通信模組 B,若控制端C是採用數位可定址調光介面(Digital201235593 VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to a luminaire, and more particularly to a luminaire for an alternative communication module. [Prior Art] In recent years, LED lamps have risen a lot due to the maturity of technology, and their high life and high controllability have also led to the development of communication control technologies for lamps, such as infrared, Zigbee, DALI or power lines. The controller of the conventional LED lamp communicates with a control terminal through a communication interface in a wired or wireless manner to regulate the brightness or color temperature of the LED lamp according to the control command of the control terminal, but the communication interface and controller of the LED lamp in the past Being set together (or on the same board) is not separable, so when the user wants to use the new communication protocol (ie, change the communication mode of the console) to control the LED fixture, the communication interface and controller of the LED fixture are not available. Separation, and the firmware used in the controller is incompatible with the new communication protocol, and the entire LED fixture must be replaced, which not only saves the user, but also is quite environmentally unfriendly under the current environmental consensus. The practice is necessary to improve. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a luminaire that can be adapted to different communication protocols by simply replacing the communication interface. In order to achieve the above object, the lamp of the present invention can be plugged in and connected with a communication module to receive the control port 7 from the control terminal through the communication module, and includes a light emitting component module, a driving circuit, and a Micro control single 201235593 yuan and a first connector. 5 a micro control unit is electrically coupled to the driving circuit to control a duty cycle of the driving circuit. The first connector is electrically coupled to the micro control unit; the communication module has a pluggable with the first connector Trussing the second connector and receiving a control command from the control terminal and transmitting to the micro control unit to enable the control circuit to be controlled according to the control command, and having a communication module type to which the communication group belongs, and The control unit executes the control command to generate a pulse width modulation signal control circuit, and the micro control unit has a plurality of types of signals for different communication modules. When the second connector is electrically coupled to the first connector for the first time, the communication module sends a notification signal to notify the micro control unit, and the micro control unit 7L issues an identification command requesting the communication module. The type of the communication module is replied to download the type of the communication module type from the communication module when the communication module type is not built. Preferably, the communication module further includes a signal receiving unit and a microcontroller, wherein the control command received by the signal receiving unit is converted into one of the first connector and the second connector. The signal format is then output to the second connector. Preferably, the signal format is 12C, and the first connector and the second connection are I2C interfaces. Preferably, the communication module is one of an infrared communication module, a Zigbee communication module, a digital addressable dimming interface communication module or a power line communication module. 201235593 Preferably, the light emitting element module is a light emitting diode module composed of a plurality of light emitting diodes. Preferably, the luminaire further includes a housing for accommodating the driving circuit, the micro control unit and the first connector, and the illuminating element module is fixed to a recessed area of the surface of the housing, the housing The device further has an opening disposed relative to the first connector, and a cover plate disposed on the opening, the communication module is inserted into the housing from the opening, and the second connector and the first connector are Docking and the cover closes the opening to receive the communication module in the housing. The function of the invention is that the lamp and the communication module are electrically connected by pluggable. When the user replaces the control terminal of the other communication protocol, the communication module only needs to be replaced, and the lamp is not replaced at the same time, which not only saves money The environmental protection and the luminaire can automatically identify the type of the communication module that is plugged in and update the firmware in time, and can be compatible with various types of communication modules, and indeed achieve the efficacy and purpose of the present invention. The above and other technical contents, features, and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments. Referring to FIG. 1 and FIG. 2, it is a circuit block diagram of a preferred embodiment of the luminaire of the present invention. The luminaire of this embodiment communicates with a control terminal 3 via a communication module to receive the control terminal 3. The control command is activated, and includes a light-emitting read module U, a driving circuit 12 for driving the light-emitting element module u, a micro-control unit η for controlling the duty cycle of the driving circuit 12, and a first connector 14. 201235593 In the embodiment, the light-emitting element module η is a light-emitting module composed of a plurality of light-emitting diodes, but is not limited thereto. The driving circuit 12 is a "pulse width modulation driving circuit" and is electrically coupled to the light emitting element module u, which adjusts the driving of the light emitting element module u according to the pulse width modulation signal 'period' to control the light emitting element The brightness or color temperature of the module u. The micro control unit 13 is connected to the driving (four) 12t, and outputs the duty cycle of the pulse width modulation signal control driving circuit. The first connector 14 and the micro control unit are electrically connected to transmit the control command from the control terminal 3 to the micro control unit. The communication module 2 is electrically coupled to the lamp 1 and includes a first interface with the first connector 14. a second connector 21, a microcontroller 22 electrically coupled to the second connector 21, and a signal receiving unit 23 for receiving a control command sent from the control terminal 3. In the present embodiment, the first connector 14 is The second connector 21 is an IC " face, therefore, when the signal receiving unit 23 receives the control command of the control terminal 3 and sends it to the microcontroller 22, the microcontroller 22 converts the control command into an IC signal format and outputs the same. To the second connector 21. In this embodiment, in order to match the communication protocol used by the different control terminals 3, the communication module 2 has various types, for example, as shown in the figure, if the control terminal A transmits an infrared transmission control command, the communication with the communication terminal The module 2 is an infrared communication module a. If the control terminal B transmits a control command by using Zigbee technology, the communication module 2 matched with it is a Zigbee communication module B, and if the control terminal C is digitally addressable dimming Interface (Digital
Addressable Lighting Interface,簡稱 DALI)技術發射控制指 令,則與其搭配之通信模組2為一 DAU通信模組C,或者 201235593 通信模組2也可以是透過一電力線20與控制端D通訊之電 力線通信模組D…等。值得一提的是,紅外線通信模組a、 Zigbee通信模組B及DALI通信模組C中之訊號接收單元23 包含一天線及一解調電路,且控制端A、控制端B及控制端 C是一遙控器’而電力線通信模組d之訊號接收單元23是 一與電力線20連接之接頭,且控制端d是透過電力線2〇控 制燈具1。 且在燈具1端,為了相容於各種不同類型的通信模組 2,微控制單元13中通常會内建不同類型之通信模組2(例 如通訊模組A及通訊模組B)的韌體,該韌體主要功能是從 I C訊號中取出控制端3發出的控制指令並執行該控制指 令,以產生脈波寬度調變訊號給驅動電路12。 再如圖3所示,是燈具1與通信模組2插接後之互動流 程。如步驟31,當通信模組2之第二連接器21插接至燈具 1之第一連接器14後,如步驟32,通信模組2之微控制器 22會發出-通知訊號給微控制單元13,此時,為了識別與 其插接之通信模組2是否為燈具1所支援的類型,如步驟 33,微控制單元13會發出一識別命令給通信模組2,要求 回傳其類型’並進行步驟34 ’判斷通信模組2所回傳的類 型是否為預設支援的通信额_,若是(即通訊模组A或 通訊模組B其中之-),則進行步驟35,制對應該通信模 組2的勃體來控制驅動電路12,若否(即通訊模组八或通^ 模組B以外的通訊模組2,例如通訊模組c),則進行步驟 36,從通信模組2(通訊模組C)之微控制器22下載最新的韌 201235593 體並使用該韌體來執行控制指令以控制驅動電路12。 由上述說明可知,本實施例藉由在燈具1端設置第一連 接器14,並在通信模組2端設置一與第一連接器14對接之 第二連接器21 ’讓通信模組2可插拔地與燈具1電連接, 方便使用者在改變控制端3之通訊方式時,可對應更換不同 的通信模組2’而不需要將燈具1連同通信模組2整個換掉,The Addressable Lighting Interface (DALI) technology launch control command, the communication module 2 with which it is matched is a DAU communication module C, or the 201235593 communication module 2 may also be a power line communication mode that communicates with the control terminal D through a power line 20. Group D...etc. It is worth mentioning that the signal receiving unit 23 in the infrared communication module a, the Zigbee communication module B and the DALI communication module C comprises an antenna and a demodulation circuit, and the control terminal A, the control terminal B and the control terminal C It is a remote controller' and the signal receiving unit 23 of the power line communication module d is a connector connected to the power line 20, and the control terminal d controls the lamp 1 through the power line 2〇. In the first end of the lamp, in order to be compatible with various types of communication modules 2, the firmware of different types of communication modules 2 (for example, communication module A and communication module B) is usually built in the micro control unit 13 The main function of the firmware is to take out a control command issued by the control terminal 3 from the IC signal and execute the control command to generate a pulse width modulation signal to the driving circuit 12. As shown in FIG. 3, it is an interaction process between the lamp 1 and the communication module 2. In step 31, after the second connector 21 of the communication module 2 is plugged into the first connector 14 of the lamp 1, as in step 32, the microcontroller 22 of the communication module 2 sends a notification signal to the micro control unit. 13. At this time, in order to identify whether the communication module 2 plugged in is the type supported by the lamp 1, as in step 33, the micro control unit 13 issues an identification command to the communication module 2, requesting to return its type 'and Go to step 34 to determine whether the type returned by the communication module 2 is the preset supported communication amount _. If yes (that is, the communication module A or the communication module B is -), proceed to step 35 to make the corresponding communication. The driving circuit 12 is controlled by the module 2, and if not (ie, the communication module 8 or the communication module 2 other than the module B, for example, the communication module c), proceed to step 36, the communication module 2 The microcontroller 22 (communication module C) downloads the latest tough 201235593 body and uses the firmware to execute control commands to control the drive circuit 12. It can be seen from the above description that the first connector 14 is disposed at the end of the lamp 1 and the second connector 21 ′ that interfaces with the first connector 14 is disposed at the end of the communication module 2 to enable the communication module 2 It is electrically connected to the lamp 1 in a plugged manner, so that when the communication mode of the control terminal 3 is changed, the user can replace the different communication module 2' without replacing the lamp 1 with the communication module 2 as a whole.
不但環保省錢’而且更換步驟簡單容易八而料观&俠—_ 插接至燈具1,兩者即會自動進行類型識別及韌體更新無 而使用者自行手動操作或設定。 再者,如圖4所示,是本實施例之燈具1的外觀示意圖, 燈具1還包含-供容置驅動電路12、微控制單元13及第一 連接器14的殼體15,且發光元件模組η是設於殼體15表 面的一凹陷區10 ’圖中雖是以兩個發光元件模組11為例, <不以此為限’也可以是單個或兩個以上發光元件模組11, 且發光元件模M U之發光元件(_的排列不限於長條 形也可以排列成圓形或其它形狀。殼體i 5還具有一相對 Γ第二連接器14設置的開口16,及-設於開口16的蓋板 7:糟者開口 16的設置可曝露出位在殼體15内部的第一連 :盗14。如此’通信模組2由開口 16置入殼體 ^二連接器21與第_連接器14對接,且蓋㈣封閉開口 免於::蝴組2收納於殼體15内’可保護通信模租2 免於又潮或沾染灰塵。此外,圖 為:明’並…為限,實際上本實施例=:= 在至内做為照明用途外,也可用在室外做為交通燈號或警示 201235593 燈等。 綜上所述,上述實施例令燈具丨與通信模組2可插拔地 電連接,方便使用者更換控制端3之通信協定時,只需更換 通信模組2,而不需連同燈具! 一併換掉,不但省錢而且環 保,此外,燈具1可自動識別與其插接之通信模組2的類型 並適時更新韌體,不但可相容於各種類型的通信模組2,而 且更換方便簡單,確實達到本發明的功效與目的。 惟以上所述者,僅為本發明之較佳實施例而已,當不能 以此限定本發明實施之範圍,即大凡依本發明申請專利範圍 及發明說明内谷所作之簡單的等效變化與修飾,皆仍屬本發 明專利涵蓋之範圍内。 【圖式簡單說明】 圖1是本發明燈具的一較佳實施例的電路方塊圖; 圖2是本實施例之通信模組的電路方塊圖; 圖3是本實施例之燈具與通信模組插接後之互動流 程;及 圖4是本實施例之燈具的外觀示意圖。 10 201235593 【主要元件符號說明】 1燈具 2通信模組 3控制端 31~36步驟 10凹陷區 11發光元件模組 12驅動電路 13微控制單元 14第一連接器 15殼體 16開口 17蓋板 20電力線 21第二連接器 22微控制器 23訊號接收單元Not only is it environmentally friendly and economical, but the replacement procedure is simple and easy to use. The ___ is plugged into the luminaire 1. Both will automatically perform type identification and firmware update without manual operation or setting by the user. Moreover, as shown in FIG. 4, it is a schematic view of the appearance of the lamp 1 of the present embodiment. The lamp 1 further includes a housing 15 for accommodating the driving circuit 12, the micro control unit 13 and the first connector 14, and the light emitting element. The module η is a recessed area 10 provided on the surface of the casing 15. Although the two light-emitting element modules 11 are taken as an example, <not limited thereto, it may be a single or two or more light-emitting element modules. Group 11, and the light-emitting elements of the light-emitting element module MU (the arrangement of _ may not be limited to an elongated shape may be arranged in a circular shape or other shapes. The housing i 5 further has an opening 16 provided with respect to the second connector 14, and - a cover plate 7 provided at the opening 16: the arrangement of the bad person opening 16 exposes a first connection inside the housing 15: the thief 14. Thus the 'communication module 2 is placed in the housing by the opening 16 21 is docked with the first connector 14, and the cover (4) closes the opening to avoid: the butterfly group 2 is housed in the housing 15 to protect the communication module 2 from moisture or dust. Further, the picture is: For the sake of limitation, in fact, this embodiment =:= can be used as a traffic light or warning 20 outdoors. 1235593 Lights, etc. In summary, the above embodiment enables the lamp 丨 to be electrically connected to the communication module 2 in a pluggable manner, so that when the user replaces the communication protocol of the control terminal 3, only the communication module 2 needs to be replaced, without Together with the luminaires, it is not only cost-effective but also environmentally friendly. In addition, the luminaire 1 can automatically identify the type of the communication module 2 that is plugged in and update the firmware in time, which is compatible with various types of communication modules 2, Moreover, it is convenient and simple to replace, and it is true that the present invention is effective and the object of the present invention. The above is only the preferred embodiment of the present invention, and the scope of the present invention cannot be limited thereto. And the simple equivalent changes and modifications made by Neigu are still within the scope of the present invention. [Fig. 1 is a circuit block diagram of a preferred embodiment of the lamp of the present invention; 2 is a circuit block diagram of the communication module of the embodiment; FIG. 3 is an interaction flow of the lamp and the communication module of the embodiment; and FIG. 4 is a schematic diagram of the appearance of the lamp of the embodiment. 01235593 [Description of main component symbols] 1 Lamp 2 Communication module 3 Control terminal 31~36 Step 10 Depression area 11 Light-emitting element module 12 Drive circuit 13 Micro-control unit 14 First connector 15 Housing 16 Opening 17 Cover 20 Power line 21 second connector 22 microcontroller 23 signal receiving unit