201020456 九、發明說明: 【發明所屬之技術領域】 本發明可直接利用-般牆壁開關切換⑽谓…⑽達 到控制LED燈具均衡亮度調整。 【先前技術】 1 .目前市面利用牆壁開關切換燈 ,'冗度,大都利用群 組迴路控制法,例如開關切換一201020456 IX. Description of the invention: [Technical field to which the invention pertains] The present invention can directly control the balanced brightness adjustment of an LED lamp by using a general wall switch (10). [Prior Art] 1. At present, the market uses wall switches to switch lamps. 'Quickness, mostly use group loop control method, such as switch switching one.
盈燈亮,切換兩次B 盞燈亮,切換三次A、B盞燈亮 ^ ,The light is on, switch twice, B light is on, switch three times, A, B light is on ^,
寻此方法在傳統燈具 已十分實用。缺點是區域内若有多燊枚 方,夕盞燈,但亮度不需全部 燈皆亮時,會有區域光源不均的現象。 例:區域内ABCD組燈,所需亮度只要一半時,利用現 有群組控制法AC組燈亮、BD組燈暗,雖經過一定高度光源 散光後,BD組燈具下方依舊可以明顯感覺亮度不足,造成 區域光源不均。 如將此傳統方法利用在LED燈具,除上述問題點外, 亦會因使用者較集中使用其中幾組LED燈,造成LED燈壽 p不均LED燈具雖壽命長,—旦故障卻不如傳統燈泡般方 便更換燈具。 2 開關上外加旋鈕開關、或額外按鍵,作為[ED燈具 儿度控制。缺點是開關除AC電源外,必須另外拉控制線至 LED燈具,這將會造成水電裝配人員困擾與先前作業習慣 不同富燈具組數一多’又在狹小空間裝配,施工時間拉 亦各易•成裝配錯誤。本發明除減少線材成本,符合 LED環保概念’也不改變原先施工方式,不改變使用者以切 201020456 換開關改變亮度習慣。 3 .利用遙控進行LEI)亮度控制。此種方式施工方便, 使用者亮度調整容易’但仍有其缺點: 一、 生產成本高,需要額外發射及接收模組。 二、 安裝需注意接收角度及距離,當發射與接收間 有障礙物(如水泥牆),穩定度降低。 二、當燈具組數量一多,不是家中掛滿一堆遙控器, 就是遙控器上按鍵數過於複雜,大幅降低使用 ® 者意願。 【發明内容】 本發明人有鑑於上述先前技術之缺點,即加以研創可 '直接利用牆壁開關切換控制LED燈具亮度之裝置,藉此袭 :置可以不須修改原屋内配線達到控制燈具整組L肋從微亮 (如小夜燈)至全亮’達到省電效果,屋内燈具不用添: 不同功能之燈具數,只要-盞LED燈具即可隨使用者需要 而調整亮度功能。 ❹,【實施方式】 、本發明可利用爾脈波寬度調變或控制限電流兩種方 式實施。 1 ·利用PWM脈波寬度調變方式: 請參閱第1圖所示,AC電源經SWl牆壁開關1後到ac/d( 電«流電路2轉換有電源2G,供應給則單晶片 3及LED驅動電路4及LED5 ’在Ac/K電源整流電路: 有第二DC電源2丨是會隨SW,牆壁開關i 〇n_〇ff_〇n時產生 201020456 脈衝電壓(如第2圖所示),此脈衝電壓可供應MCU單晶 片3计算SW!牆壁開關1 ON-〇FF_〇N次數,爾後可供控制[仙 組5亮度之依據,當脈衝電懸Mcu單晶# 3内計次電路 30計次後,由PffM控制電路31轉出之脈衝寬度(如第31、 3 2、3-3圖所不),在固定頻率中控制脈衝寬度(亮 的時間),進可控制LED 0N的時間,即可控制亮度,因D, D’ ,D”為在一基準時間LED導通的時間,當導通時間越多, LED總和亮度即越亮。 ® 2.利用控制限電流方式: 請參閱第4圖所示,AC電源經SWi牆壁開關6後到A(:/Dc 電源整流電路7轉換有第一 Dc電源7〇,供應給MCU單晶片 i 8及LED驅動電路9及LED组1〇,在AC/DC電源整流電路7 :有第二DC電源71是會隨SWl牆壁開關6 〇Ν—〇ρτ_〇Ν時產生 脈衝電壓,此脈衝電壓可供應MCU單晶片8計算SWi牆壁開 關6 0N-0FF—0N次數,爾後可供控制LED組1〇亮度之依據, 當脈衝電壓經MCU單晶片8内計次電路8〇計次後,由D/A _轉換電路81轉換為電壓高低,依此電壓高低可控制⑽媒 動電路9中之限流電路90,只要讓LED驅動電路9輸出電 流抑制在所預設之值即可控制LED組1〇之亮度。 藉由上述實施方式即當牆壁開關每按一次0N-0FF-0N, 其LED組即會改變亮度,如連續按〇N_〇FF_〇N…則led組 亮度一直改變到最終點,如操作中亮度已符合使用者所 需,牆壁開關只要停在0IU立置即可’關燈時只要將開關按 在OFF位置即可,開關按在〇FF位置超過額定時間後,再 201020456 按on位置又恢復至最先設定亮度點。 【圖式簡單說明】 第1圖為本發明利用PWM脈波寬度調變方式之電路圖。 第2圖為本發明第二pc電源隨观牆壁開關〇N 〇FF,時產生脈衝電廢之 電路圖。 第3-1圖為本發明由刚控制電路轉出之脈衝寬度(呈微亮)示意圖。 第3-2圖為本發明由PWM控制電路轉出之脈衝寬度(呈適亮)示意圖。 第3-3圖為本發明由PWM控制電路轉出之脈衝寬度(呈最亮)示意圖。 第4圖為本發明利用控制限電流方式之電路圖。 【主要元件符號說明】 © 壁開關.1 第一 DC電源.20 MCU單晶片.3 ,PWM控制電路.31 LED 組.5 \ AC/DC電源整流電路.7 第二DC電源.71 計次電路.80 LED驅動電路.9 办 LH)組.10 AC/DC電源整流電路.2 第二DC電源.21 計次電路.30 LED驅動電路.4 瀰!牆壁開關.6 第一 DC電源.70 MCU單晶片.8 D/A轉換電路.81 限流電路.90Finding this method is very practical in traditional lighting. The disadvantage is that if there are more than one square in the area, the night light, but the brightness does not need to be all lights, there will be uneven regional light source. Example: In the area of ABCD group lights, when the required brightness is only half, the AC group lights are bright and the BD group lights are dark by the existing group control method. Although the BD group lamps are astigmatized after a certain height, the BD group lamps can still obviously feel insufficient brightness. The area light source is uneven. If this traditional method is used in LED lamps, in addition to the above problems, the LED lamps may be uneven due to the concentrated use of several groups of LED lamps by the user, although the LED lamps have a long life, and the failure is not as good as the conventional bulbs. It is convenient to replace the lamps. 2 The switch is equipped with a rotary switch or an extra button as the [ED lamp control. The disadvantage is that in addition to the AC power supply, the switch must pull the control line to the LED luminaire. This will cause the hydropower assembler to be bothered by the previous work habits and the number of rich luminaires is more than one. It is also assembled in a small space and the construction time is easy. Assembly error. The invention not only reduces the cost of the wire rod, but also conforms to the LED environmental protection concept', does not change the original construction mode, and does not change the user's habit of changing the brightness by changing the 201020456 switch. 3. Use LEI) brightness control with remote control. This method is convenient to construct and the user's brightness adjustment is easy', but there are still some shortcomings: 1. The production cost is high, and additional transmitting and receiving modules are needed. Second, the installation needs to pay attention to the receiving angle and distance. When there is an obstacle between the launch and the receiving (such as cement wall), the stability is reduced. Second, when there are a large number of lighting fixtures, it is not a pile of remote controls in the home, that is, the number of keys on the remote control is too complicated, which greatly reduces the willingness to use ® . SUMMARY OF THE INVENTION The present inventors have in view of the above-mentioned shortcomings of the prior art, that is, the research and development can directly use the wall switch to switch and control the brightness of the LED lamp, thereby: the set can be controlled without the need to modify the wiring in the original house to control the entire set of lamps L The ribs from the light (such as the night light) to the full light 'to achieve power-saving effect, the house lights do not need to add: the number of lamps with different functions, as long as - 盏 LED lamps can be adjusted according to user needs. ❹, [Embodiment] The present invention can be implemented by using the pulse width modulation or the current limit control. 1 ·Using PWM pulse width modulation method: Please refer to Fig. 1 , AC power supply through SW1 wall switch 1 to ac / d (electric «current circuit 2 conversion with power supply 2G, supply to single chip 3 and LED Drive circuit 4 and LED5 'in Ac/K power rectifier circuit: There is a second DC power supply 2丨 that will generate a 201020456 pulse voltage with SW, wall switch i 〇n_〇ff_〇n (as shown in Figure 2) This pulse voltage can be supplied to the MCU single chip 3 to calculate the SW! Wall switch 1 ON-〇FF_〇N times, and then can be controlled [Island 5 brightness basis, when the pulse suspension Mcu single crystal #3 internal counting circuit After 30 counts, the pulse width (such as shown in Figures 31, 3 2, and 3-3) is turned by the PMW control circuit 31, and the pulse width (bright time) is controlled at a fixed frequency, and the LED 0N can be controlled. Time, you can control the brightness, because D, D', D" is the time when the LED is on at a reference time. When the on-time is higher, the brightness of the LED is brighter. ® 2. Using the control current limit: Please refer to 4, AC power is passed through the SWi wall switch 6 to A (: / Dc power rectifier circuit 7 converts the first DC power supply 7 〇, supplied to the MCU single crystal The chip i 8 and the LED driving circuit 9 and the LED group 1 are in the AC/DC power supply rectifying circuit 7: the second DC power source 71 generates a pulse voltage when the SW1 wall switch 6 〇Ν - 〇 ρ τ 〇Ν The pulse voltage can be supplied to the MCU single chip 8 to calculate the number of SW wall switches 6 0-0-0FF-0N, and then can be used to control the brightness of the LED group 1 ,, when the pulse voltage is counted by the counting circuit in the MCU single chip 8 The D/A_conversion circuit 81 converts the voltage to a high or low voltage, and according to the voltage level, the current limiting circuit 90 in the medium driving circuit 9 can be controlled. The LED driving circuit 9 can suppress the output current at a preset value to control the LED. The brightness of the group 1〇. With the above embodiment, when the wall switch is pressed once every time 0N-0FF-0N, the LED group will change the brightness, such as continuous pressing 〇N_〇FF_〇N...the brightness of the led group is always changed. At the final point, if the brightness in the operation has been met by the user, the wall switch can be set to 0 IU and the wall switch can be turned off. Just press the switch to the OFF position, and the switch is pressed after the 〇FF position exceeds the rated time. Then 201020456 press the on position and return to the first set brightness point. Fig. 1 is a circuit diagram of a PWM pulse width modulation method according to the present invention. Fig. 2 is a circuit diagram of a second PC power supply with a wall switch 〇N 〇FF, which generates a pulsed electrical waste. The invention is a schematic diagram of the pulse width (indicated by the light) which is just transferred out of the control circuit. Fig. 3-2 is a schematic diagram of the pulse width (apparently bright) which is transferred from the PWM control circuit of the present invention. The pulse width (brightest) is shown by the PWM control circuit. Figure 4 is a circuit diagram of the present invention utilizing a control current limiting mode. [Main component symbol description] © Wall switch.1 First DC power supply. 20 MCU single chip.3, PWM control circuit.31 LED group.5 \ AC/DC power supply rectifier circuit.7 Second DC power supply.71 Counting circuit .80 LED Driver Circuit.9 Office LH) Group.10 AC/DC Power Supply Rectifier Circuit. 2 Second DC Power Supply.21 Counting Circuit.30 LED Driver Circuit.4 Mi! Wall Switch.6 First DC Power Supply .70 MCU Single chip .8 D/A conversion circuit .81 current limiting circuit .90