[go: up one dir, main page]

CN107509271A - A switch switching circuit and LED lamp - Google Patents

A switch switching circuit and LED lamp Download PDF

Info

Publication number
CN107509271A
CN107509271A CN201710751683.8A CN201710751683A CN107509271A CN 107509271 A CN107509271 A CN 107509271A CN 201710751683 A CN201710751683 A CN 201710751683A CN 107509271 A CN107509271 A CN 107509271A
Authority
CN
China
Prior art keywords
resistor
capacitor
chip
diode
terminal
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.)
Pending
Application number
CN201710751683.8A
Other languages
Chinese (zh)
Inventor
胡源洲
张凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Mingfirst Power Industrial Co ltd
Original Assignee
Guangdong Mingfirst Power Industrial Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Mingfirst Power Industrial Co ltd filed Critical Guangdong Mingfirst Power Industrial Co ltd
Priority to CN201710751683.8A priority Critical patent/CN107509271A/en
Publication of CN107509271A publication Critical patent/CN107509271A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Landscapes

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

Abstract

The invention discloses a switch switching circuit and an LED lamp, wherein the LED lamp comprises two LED light sources and the switch switching circuit, wherein one LED light source is connected to two ends of an ACN1 output port and an L1 output port, and the other LED light source is connected to two ends of an ACN1 output port and an L2 output port. The invention adopts a way of writing programs written by the MCU to control the output way: if the MCU detects that the I/O port is powered down once (the switch is switched once), the output I/O port switches the output to a high level and a low level, and the switching sequence can be selected according to requirements. The invention can realize the switching of single-path or double-path output, and the circuit can be flexibly applied to various circuits, such as two paths of lamps with different powers, and the single-path or double-path lamps can be switched on by a switch to achieve different environmental requirements and power saving modes.

Description

一种开关切换电路及LED灯具A switch switching circuit and LED lamp

技术领域technical field

本发明涉及照明灯具技术领域,具体涉及一种开关切换电路及LED灯具。The invention relates to the technical field of lighting lamps, in particular to a switch switching circuit and an LED lamp.

背景技术Background technique

目前,LED广泛应用于移动照明领域,其具有能效高、寿命长和绿色环保等优势,赢得了广大用户欢迎,被视为最有潜力的下一代照明光源,近年来LED商业照明市场更是获得了迅速的发展。大型商场、大型超市、大型宾馆、写字楼LED照明灯琳琅满目、比比皆是,用户提出了许多新的要求。At present, LED is widely used in the field of mobile lighting. It has the advantages of high energy efficiency, long life and environmental protection, and has won the popularity of users. It is regarded as the most potential next-generation lighting source. developed rapidly. Large shopping malls, large supermarkets, large hotels, and office buildings are full of LED lighting, and users have put forward many new requirements.

例如,用户在使用LED时,由于不同的环境要求灯亮的强度不一样或者为了省电,需要能实现单路或双路输出进行随意切换。For example, when users use LEDs, they need to be able to switch between single-channel or dual-channel outputs at will because different environments require different lighting intensity or in order to save power.

发明内容Contents of the invention

有鉴于此,为了解决现有技术中的上述问题,本发明提出一种开关切换电路及LED灯具。In view of this, in order to solve the above-mentioned problems in the prior art, the present invention proposes a switch switching circuit and an LED lamp.

本发明通过以下技术手段解决上述问题:The present invention solves the above problems by the following technical means:

一种开关切换电路,包括ACN输入口、ACL输入口,ACN输入口一端连接市电的N端,ACN输入口另一端连接整流桥BD1的-AC端,ACL输入口一端连接市电的L端,ACL输入口另一端通过保险丝F1连接第一电阻R1的一端,第一电阻R1的另一端连接整流桥BD1的+AC端,ACN输入口另一端通过压敏电阻RV1分别连接第一电阻R1的一端、第二电容C2的一端,第二电容C2的另一端连接整流桥BD1的+AC端,整流桥BD1的+V端连接第一电容C1的正极,第一电容C1的负极连接整流桥BD1的-V端,整流桥BD1的+V端通过第三电阻R3连接整流桥BD1的-V端,第一电容C1的正极通过第四电阻R4连接稳压二极管DZ1的负极,稳压二极管DZ1的正极连接第一电容C1的负极,第一电容C1的负极连接第五电容C5的负极,第五电容C5的正极连接第六二极管D6的负极,第六二极管D6的正极连接ACN输入口,第五电容C5的正极通过第十二电阻R12连接第十三电阻R13的一端,第十三电阻R13的另一端通过第十四电阻R14连接第十五电阻R15的一端,第十五电阻R15的另一端连接第五电容C5的负极,第十五电阻R15的另一端接地,第五电容C5的负极连接第三电容C3的负极,第三电容C3的正极连接芯片U1的第一VCC端,芯片U1的第一VCC端连接电阻R7B的一端,电阻R7B的另一端通过电阻R7A连接第一电容C1的正极,第五电容C5的负极通过电阻R7C连接电阻R7B的一端,芯片U1的第一VCC端与第二VCC端连接,芯片U1的第一GND端连接第四电容C4的负极,第四电容C4的正极连接芯片U1的AC端,芯片U1的第一GND端连接第二GND端,芯片U1的AC端连接第十五电阻R15的一端,芯片U1的P1端通过第十电阻R10连接第一三极管Q1的基极,第一三极管Q1的发射极接地,第一三极管Q1的集电极分别连接第五二极管D5的正极、第一继电器JDZ1线圈的一端,第五二极管D5的负极、第一继电器JDZ1线圈的另一端连接第八电阻R8的一端,第八电阻R8的另一端通过第十电阻R10连接芯片U1的P1端,芯片U1的P2端通过第十一电阻R11连接第二三极管Q2的基极,第二三极管Q2的发射极接地,第二三极管Q2的集电极分别连接第七二极管D7的正极、第二继电器JDZ2线圈的一端,第七二极管D7的负极、第二继电器JDZ2线圈的另一端连接第九电阻R9的一端,第九电阻R9的另一端通过第十一电阻R11连接芯片U1的P2端,第五二极管D5的负极连接第七二极管D7的负极,ACN输入口连接ACN1输出口,第一电阻R1的一端分别连接第一继电器JDZ1的常开触点的一端、第二继电器JDZ2的常开触点的一端,第一继电器JDZ1的常开触点的另一端连接L1输出口,第二继电器JDZ2的常开触点的另一端连接L2输出口。A switch switching circuit, including an ACN input port and an ACL input port, one end of the ACN input port is connected to the N end of the mains, the other end of the ACN input port is connected to the -AC end of the rectifier bridge BD1, and one end of the ACL input port is connected to the L end of the mains , the other end of the ACL input port is connected to one end of the first resistor R1 through the fuse F1, the other end of the first resistor R1 is connected to the +AC end of the rectifier bridge BD1, and the other end of the ACN input port is respectively connected to the first resistor R1 through the varistor RV1 One end, one end of the second capacitor C2, the other end of the second capacitor C2 is connected to the +AC end of the rectifier bridge BD1, the +V end of the rectifier bridge BD1 is connected to the positive pole of the first capacitor C1, and the negative pole of the first capacitor C1 is connected to the rectifier bridge BD1 The -V terminal of the rectifier bridge BD1 is connected to the -V terminal of the rectifier bridge BD1 through the third resistor R3, the anode of the first capacitor C1 is connected to the negative pole of the Zener diode DZ1 through the fourth resistor R4, and the The positive pole is connected to the negative pole of the first capacitor C1, the negative pole of the first capacitor C1 is connected to the negative pole of the fifth capacitor C5, the positive pole of the fifth capacitor C5 is connected to the negative pole of the sixth diode D6, and the positive pole of the sixth diode D6 is connected to the ACN input port, the positive pole of the fifth capacitor C5 is connected to one end of the thirteenth resistor R13 through the twelfth resistor R12, and the other end of the thirteenth resistor R13 is connected to one end of the fifteenth resistor R15 through the fourteenth resistor R14, and the fifteenth resistor The other end of R15 is connected to the negative pole of the fifth capacitor C5, the other end of the fifteenth resistor R15 is grounded, the negative pole of the fifth capacitor C5 is connected to the negative pole of the third capacitor C3, and the positive pole of the third capacitor C3 is connected to the first VCC terminal of the chip U1 , the first VCC end of the chip U1 is connected to one end of the resistor R7B, the other end of the resistor R7B is connected to the positive pole of the first capacitor C1 through the resistor R7A, the negative pole of the fifth capacitor C5 is connected to one end of the resistor R7B through the resistor R7C, and the first end of the chip U1 The VCC terminal is connected to the second VCC terminal, the first GND terminal of the chip U1 is connected to the negative pole of the fourth capacitor C4, the positive pole of the fourth capacitor C4 is connected to the AC terminal of the chip U1, and the first GND terminal of the chip U1 is connected to the second GND terminal. The AC end of the chip U1 is connected to one end of the fifteenth resistor R15, the P1 end of the chip U1 is connected to the base of the first triode Q1 through the tenth resistor R10, the emitter of the first triode Q1 is grounded, and the first triode The collector of the tube Q1 is respectively connected to the positive pole of the fifth diode D5 and one end of the coil of the first relay JDZ1, the negative pole of the fifth diode D5 and the other end of the coil of the first relay JDZ1 are connected to one end of the eighth resistor R8, and the second The other end of the eighth resistor R8 is connected to the P1 end of the chip U1 through the tenth resistor R10, and the P2 end of the chip U1 is connected to the base of the second transistor Q2 through the eleventh resistor R11, and the emitter of the second transistor Q2 is grounded , the collector of the second triode Q2 is respectively connected to the anode of the seventh diode D7, one end of the coil of the second relay JDZ2, the cathode of the seventh diode D7, and the other end of the coil of the second relay JDZ2 are connected to the ninth resistor One end of R9 , the other end of the ninth resistor R9 is connected to the P2 end of the chip U1 through the eleventh resistor R11, the cathode of the fifth diode D5 is connected to the cathode of the seventh diode D7, the ACN input port is connected to the ACN1 output port, and the first resistor One end of R1 is respectively connected to one end of the normally open contact of the first relay JDZ1, one end of the normally open contact of the second relay JDZ2, the other end of the normally open contact of the first relay JDZ1 is connected to the L1 output port, and the second relay JDZ2 The other end of the normally open contact is connected to the L2 output port.

进一步地,所述芯片U1为XD6062。Further, the chip U1 is XD6062.

一种LED灯具,包括两个LED光源,还包括所述开关切换电路,其中一个LED光源连接在ACN1输出口、L1输出口两端,另一个LED光源连接在ACN1输出口、L2输出口两端。An LED lamp, including two LED light sources, and also includes the switch switching circuit, wherein one LED light source is connected to the two ends of the ACN1 output port and the L1 output port, and the other LED light source is connected to the ACN1 output port and the two ends of the L2 output port .

与现有技术相比,本发明的有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:

本发明能实现单路或双路输出的切换,该电路可灵活应用到各种电路中去,如接两路大小不同功率的灯,通过开关切换实现单路或双路灯亮而达到不同的环境要求以及省电模式。The present invention can realize switching of single or double output, and the circuit can be flexibly applied to various circuits, such as connecting two lights with different sizes and powers, realizing single or double lights through switch switching to achieve different environments requirements and power saving mode.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明开关切换电路的原理图。FIG. 1 is a schematic diagram of a switching circuit of the present invention.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面将结合附图和具体的实施例对本发明的技术方案进行详细说明。需要指出的是,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the above objects, features and advantages of the present invention more comprehensible, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be pointed out that the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all those skilled in the art can obtain without creative work. Other embodiments all belong to the protection scope of the present invention.

实施例1Example 1

如图1所示,本发明提供一种开关切换电路,包括ACN输入口、ACL输入口,ACN输入口一端连接市电的N端,ACN输入口另一端连接整流桥BD1的-AC端,ACL输入口一端连接市电的L端,ACL输入口另一端通过保险丝F1连接第一电阻R1的一端,第一电阻R1的另一端连接整流桥BD1的+AC端,ACN输入口另一端通过压敏电阻RV1分别连接第一电阻R1的一端、第二电容C2的一端,第二电容C2的另一端连接整流桥BD1的+AC端,整流桥BD1的+V端连接第一电容C1的正极,第一电容C1的负极连接整流桥BD1的-V端,整流桥BD1的+V端通过第三电阻R3连接整流桥BD1的-V端,第一电容C1的正极通过第四电阻R4连接稳压二极管DZ1的负极,稳压二极管DZ1的正极连接第一电容C1的负极,第一电容C1的负极连接第五电容C5的负极,第五电容C5的正极连接第六二极管D6的负极,第六二极管D6的正极连接ACN输入口,第五电容C5的正极通过第十二电阻R12连接第十三电阻R13的一端,第十三电阻R13的另一端通过第十四电阻R14连接第十五电阻R15的一端,第十五电阻R15的另一端连接第五电容C5的负极,第十五电阻R15的另一端接地,第五电容C5的负极连接第三电容C3的负极,第三电容C3的正极连接芯片U1的第一VCC端,芯片U1的第一VCC端连接电阻R7B的一端,电阻R7B的另一端通过电阻R7A连接第一电容C1的正极,第五电容C5的负极通过电阻R7C连接电阻R7B的一端,芯片U1的第一VCC端与第二VCC端连接,芯片U1的第一GND端连接第四电容C4的负极,第四电容C4的正极连接芯片U1的AC端,芯片U1的第一GND端连接第二GND端,芯片U1的AC端连接第十五电阻R15的一端,芯片U1的P1端通过第十电阻R10连接第一三极管Q1的基极,第一三极管Q1的发射极接地,第一三极管Q1的集电极分别连接第五二极管D5的正极、第一继电器JDZ1线圈的一端,第五二极管D5的负极、第一继电器JDZ1线圈的另一端连接第八电阻R8的一端,第八电阻R8的另一端通过第十电阻R10连接芯片U1的P1端,芯片U1的P2端通过第十一电阻R11连接第二三极管Q2的基极,第二三极管Q2的发射极接地,第二三极管Q2的集电极分别连接第七二极管D7的正极、第二继电器JDZ2线圈的一端,第七二极管D7的负极、第二继电器JDZ2线圈的另一端连接第九电阻R9的一端,第九电阻R9的另一端通过第十一电阻R11连接芯片U1的P2端,第五二极管D5的负极连接第七二极管D7的负极,ACN输入口连接ACN1输出口,第一电阻R1的一端分别连接第一继电器JDZ1的常开触点的一端、第二继电器JDZ2的常开触点的一端,第一继电器JDZ1的常开触点的另一端连接L1输出口,第二继电器JDZ2的常开触点的另一端连接L2输出口。As shown in Figure 1, the present invention provides a switch switching circuit, including an ACN input port and an ACL input port. One end of the input port is connected to the L terminal of the mains, the other end of the ACL input port is connected to one end of the first resistor R1 through the fuse F1, the other end of the first resistor R1 is connected to the +AC end of the rectifier bridge BD1, and the other end of the ACN input port is connected to the voltage sensitive The resistor RV1 is respectively connected to one end of the first resistor R1 and one end of the second capacitor C2, and the other end of the second capacitor C2 is connected to the +AC terminal of the rectifier bridge BD1, and the +V terminal of the rectifier bridge BD1 is connected to the positive pole of the first capacitor C1, and the second capacitor C2 is connected to the positive pole of the first capacitor C1. The negative pole of a capacitor C1 is connected to the -V terminal of the rectifier bridge BD1, the +V terminal of the rectifier bridge BD1 is connected to the -V terminal of the rectifier bridge BD1 through the third resistor R3, and the positive pole of the first capacitor C1 is connected to the Zener diode through the fourth resistor R4 The negative pole of DZ1, the positive pole of the Zener diode DZ1 is connected to the negative pole of the first capacitor C1, the negative pole of the first capacitor C1 is connected to the negative pole of the fifth capacitor C5, the positive pole of the fifth capacitor C5 is connected to the negative pole of the sixth diode D6, and the sixth The anode of the diode D6 is connected to the ACN input port, the anode of the fifth capacitor C5 is connected to one end of the thirteenth resistor R13 through the twelfth resistor R12, and the other end of the thirteenth resistor R13 is connected to the fifteenth resistor through the fourteenth resistor R14. One end of the resistor R15, the other end of the fifteenth resistor R15 is connected to the negative pole of the fifth capacitor C5, the other end of the fifteenth resistor R15 is grounded, the negative pole of the fifth capacitor C5 is connected to the negative pole of the third capacitor C3, and the negative pole of the third capacitor C3 The positive pole is connected to the first VCC terminal of the chip U1, the first VCC terminal of the chip U1 is connected to one end of the resistor R7B, the other end of the resistor R7B is connected to the positive pole of the first capacitor C1 through the resistor R7A, and the negative pole of the fifth capacitor C5 is connected to the resistor through the resistor R7C One end of R7B, the first VCC end of the chip U1 is connected to the second VCC end, the first GND end of the chip U1 is connected to the negative pole of the fourth capacitor C4, the positive pole of the fourth capacitor C4 is connected to the AC end of the chip U1, and the first GND end of the chip U1 is connected to the AC end of the chip U1. One GND end is connected to the second GND end, the AC end of the chip U1 is connected to one end of the fifteenth resistor R15, the P1 end of the chip U1 is connected to the base of the first transistor Q1 through the tenth resistor R10, and the first transistor Q1 The emitter of the first triode Q1 is connected to the positive pole of the fifth diode D5, one end of the coil of the first relay JDZ1, the negative pole of the fifth diode D5, and the other end of the coil of the first relay JDZ1 respectively. One end of the eighth resistor R8 is connected, the other end of the eighth resistor R8 is connected to the P1 end of the chip U1 through the tenth resistor R10, and the P2 end of the chip U1 is connected to the base of the second triode Q2 through the eleventh resistor R11. The emitter of the second triode Q2 is grounded, and the collector of the second triode Q2 is respectively connected to the anode of the seventh diode D7, one end of the coil of the second relay JDZ2, the negative pole of the seventh diode D7, the second relay The other end of the JDZ2 coil Connect one end of the ninth resistor R9, the other end of the ninth resistor R9 is connected to the P2 end of the chip U1 through the eleventh resistor R11, the cathode of the fifth diode D5 is connected to the cathode of the seventh diode D7, and the ACN input port is connected to ACN1 output port, one end of the first resistor R1 is respectively connected to one end of the normally open contact of the first relay JDZ1, one end of the normally open contact of the second relay JDZ2, and the other end of the normally open contact of the first relay JDZ1 is connected to L1 output port, the other end of the normally open contact of the second relay JDZ2 is connected to the L2 output port.

本实施例中,所述芯片U1为XD6062。In this embodiment, the chip U1 is XD6062.

本发明采用MCU编写程序写入的方式来控制输出方式:The present invention adopts the mode that MCU writing program is written in to control the output mode:

MCU检测I/O口如检测到掉电一次(开关一次),则输出I/O口将轮留转换输出高电平和低电平,转换顺序可按需求选择,当前顺序为:H->L->H->L。If the MCU detects that the I/O port detects a power failure (one switch), the output I/O port will take turns to switch the output high level and low level. The conversion sequence can be selected according to the demand. The current sequence is: H->L ->H->L.

需要在电源增加一路供电电路给MCU一个稳定的3.3V供电。It is necessary to add a power supply circuit to the power supply to provide a stable 3.3V power supply to the MCU.

将MCU输出I/O口接到电源上的输出控制端,控制三极管导通关断。Connect the MCU output I/O port to the output control terminal on the power supply to control the transistor to turn on and off.

整流后输出端提供一个给MCU一个稳定的3.3V供电,同时从母线上接两个电阻分压给MCU作为掉电检测,MCU PWM输出脚接到三极管的B极脚上,工作原理为:当输入CAN、ACL接于220V市电上,ACN1与ACN直通,第一路L1通过保险F1,再通过JDZ1(跳线)直接输出,第二路L2经保险F1后到达JDZ2继电器前端,U1通过R1、C2、BD1、C1、R3、R4、DZ1、C5、R7A、R7B降压整流后供电,I/O口P2通入写入的程序输出低电平信号给到Q2的B极端致使Q2不能导通,从而JDZ2继电器断开,所以L2没有输出,这时只有L1一路输出220V交流电;而当通过切换输入开关关电一次,掉电检测电路D6、C5、R12、R13、R14、R15、C4给到MCU的AC电平信号会跟着电压下降一次,这时MCU的AC口检测到掉电一次,MCU的P2I/O通写入的程序根据条件就会输出高电平,控制Q2导通输出,JDZ2继电器就会接通,L2就能通过JDZ2输出220V交流电,这时就能达到L1、L2同时输出220V交流电,通过这个软件就能实现单路或双路输出的切换,该电路可灵活应到各种电路中去,如接两路大小不同功率的灯,通过开关切换实现不同功率的灯亮而达到不同的环境要求以及省电模式。After rectification, the output terminal provides a stable 3.3V power supply for the MCU. At the same time, two resistors are connected from the bus to divide the voltage to the MCU for power-off detection. The MCU PWM output pin is connected to the B pole pin of the triode. The working principle is: when The input CAN and ACL are connected to the 220V mains, ACN1 and ACN are directly connected, the first L1 passes through the insurance F1, and then directly outputs through JDZ1 (jumper), the second L2 reaches the front of the JDZ2 relay after passing through the insurance F1, and U1 passes through R1 , C2, BD1, C1, R3, R4, DZ1, C5, R7A, R7B are step-down and rectified to supply power, and the I/O port P2 is connected to the written program to output a low-level signal to the B extreme of Q2 so that Q2 cannot lead The JDZ2 relay is disconnected, so L2 has no output. At this time, only L1 outputs 220V AC power all the way; and when the power is turned off once by switching the input switch, the power-down detection circuit D6, C5, R12, R13, R14, R15, and C4 give The AC level signal to the MCU will drop once with the voltage. At this time, the AC port of the MCU detects a power failure, and the program written in the P2I/O of the MCU will output a high level according to the conditions, and control Q2 to turn on the output. The JDZ2 relay will be connected, and L2 can output 220V AC through JDZ2. At this time, L1 and L2 can output 220V AC at the same time. This software can realize the switching of single-channel or dual-channel output. The circuit can be flexibly adapted to In various circuits, such as connecting two lights with different sizes and powers, the lights of different powers can be turned on by switching to achieve different environmental requirements and power-saving modes.

实施例2Example 2

本发明还提供一种LED灯具,包括两个LED光源,还包括所述开关切换电路,其中一个LED光源连接在ACN1输出口、L1输出口两端,另一个LED光源连接在ACN1输出口、L2输出口两端。The present invention also provides an LED lamp, which includes two LED light sources and the switch switching circuit, wherein one LED light source is connected to both ends of the ACN1 output port and the L1 output port, and the other LED light source is connected to the ACN1 output port and the L2 output port. both ends of the output port.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (3)

1.一种开关切换电路,其特征在于,包括ACN输入口、ACL输入口,ACN输入口一端连接市电的N端,ACN输入口另一端连接整流桥BD1的-AC端,ACL输入口一端连接市电的L端,ACL输入口另一端通过保险丝F1连接第一电阻R1的一端,第一电阻R1的另一端连接整流桥BD1的+AC端,ACN输入口另一端通过压敏电阻RV1分别连接第一电阻R1的一端、第二电容C2的一端,第二电容C2的另一端连接整流桥BD1的+AC端,整流桥BD1的+V端连接第一电容C1的正极,第一电容C1的负极连接整流桥BD1的-V端,整流桥BD1的+V端通过第三电阻R3连接整流桥BD1的-V端,第一电容C1的正极通过第四电阻R4连接稳压二极管DZ1的负极,稳压二极管DZ1的正极连接第一电容C1的负极,第一电容C1的负极连接第五电容C5的负极,第五电容C5的正极连接第六二极管D6的负极,第六二极管D6的正极连接ACN输入口,第五电容C5的正极通过第十二电阻R12连接第十三电阻R13的一端,第十三电阻R13的另一端通过第十四电阻R14连接第十五电阻R15的一端,第十五电阻R15的另一端连接第五电容C5的负极,第十五电阻R15的另一端接地,第五电容C5的负极连接第三电容C3的负极,第三电容C3的正极连接芯片U1的第一VCC端,芯片U1的第一VCC端连接电阻R7B的一端,电阻R7B的另一端通过电阻R7A连接第一电容C1的正极,第五电容C5的负极通过电阻R7C连接电阻R7B的一端,芯片U1的第一VCC端与第二VCC端连接,芯片U1的第一GND端连接第四电容C4的负极,第四电容C4的正极连接芯片U1的AC端,芯片U1的第一GND端连接第二GND端,芯片U1的AC端连接第十五电阻R15的一端,芯片U1的P1端通过第十电阻R10连接第一三极管Q1的基极,第一三极管Q1的发射极接地,第一三极管Q1的集电极分别连接第五二极管D5的正极、第一继电器JDZ1线圈的一端,第五二极管D5的负极、第一继电器JDZ1线圈的另一端连接第八电阻R8的一端,第八电阻R8的另一端通过第十电阻R10连接芯片U1的P1端,芯片U1的P2端通过第十一电阻R11连接第二三极管Q2的基极,第二三极管Q2的发射极接地,第二三极管Q2的集电极分别连接第七二极管D7的正极、第二继电器JDZ2线圈的一端,第七二极管D7的负极、第二继电器JDZ2线圈的另一端连接第九电阻R9的一端,第九电阻R9的另一端通过第十一电阻R11连接芯片U1的P2端,第五二极管D5的负极连接第七二极管D7的负极,ACN输入口连接ACN1输出口,第一电阻R1的一端分别连接第一继电器JDZ1的常开触点的一端、第二继电器JDZ2的常开触点的一端,第一继电器JDZ1的常开触点的另一端连接L1输出口,第二继电器JDZ2的常开触点的另一端连接L2输出口。1. A switching circuit, characterized in that it comprises an ACN input port and an ACL input port, one end of the ACN input port is connected to the N terminal of the mains, the other end of the ACN input port is connected to the -AC end of the rectifier bridge BD1, and one end of the ACL input port Connect the L terminal of the mains, the other end of the ACL input port is connected to one end of the first resistor R1 through the fuse F1, the other end of the first resistor R1 is connected to the +AC end of the rectifier bridge BD1, and the other end of the ACN input port is connected to the varistor RV1 respectively. Connect one end of the first resistor R1 and one end of the second capacitor C2, the other end of the second capacitor C2 is connected to the +AC end of the rectifier bridge BD1, the +V end of the rectifier bridge BD1 is connected to the positive pole of the first capacitor C1, and the first capacitor C1 The negative pole of the rectifier bridge BD1 is connected to the -V terminal of the rectifier bridge BD1, the +V terminal of the rectifier bridge BD1 is connected to the -V terminal of the rectifier bridge BD1 through the third resistor R3, and the positive pole of the first capacitor C1 is connected to the negative pole of the Zener diode DZ1 through the fourth resistor R4 , the anode of the Zener diode DZ1 is connected to the cathode of the first capacitor C1, the cathode of the first capacitor C1 is connected to the cathode of the fifth capacitor C5, the anode of the fifth capacitor C5 is connected to the cathode of the sixth diode D6, and the sixth diode The positive pole of D6 is connected to the ACN input port, the positive pole of the fifth capacitor C5 is connected to one end of the thirteenth resistor R13 through the twelfth resistor R12, and the other end of the thirteenth resistor R13 is connected to the fifteenth resistor R15 through the fourteenth resistor R14 One end, the other end of the fifteenth resistor R15 is connected to the negative pole of the fifth capacitor C5, the other end of the fifteenth resistor R15 is grounded, the negative pole of the fifth capacitor C5 is connected to the negative pole of the third capacitor C3, and the positive pole of the third capacitor C3 is connected to the chip The first VCC end of U1, the first VCC end of the chip U1 is connected to one end of the resistor R7B, the other end of the resistor R7B is connected to the positive pole of the first capacitor C1 through the resistor R7A, and the negative pole of the fifth capacitor C5 is connected to one end of the resistor R7B through the resistor R7C , the first VCC terminal of the chip U1 is connected to the second VCC terminal, the first GND terminal of the chip U1 is connected to the negative pole of the fourth capacitor C4, the positive pole of the fourth capacitor C4 is connected to the AC terminal of the chip U1, and the first GND terminal of the chip U1 Connect the second GND end, the AC end of the chip U1 is connected to one end of the fifteenth resistor R15, the P1 end of the chip U1 is connected to the base of the first transistor Q1 through the tenth resistor R10, and the emitter of the first transistor Q1 Grounded, the collector of the first triode Q1 is respectively connected to the anode of the fifth diode D5, one end of the coil of the first relay JDZ1, the cathode of the fifth diode D5, and the other end of the coil of the first relay JDZ1 are connected to the eighth One end of the resistor R8, the other end of the eighth resistor R8 is connected to the P1 end of the chip U1 through the tenth resistor R10, and the P2 end of the chip U1 is connected to the base of the second triode Q2 through the eleventh resistor R11, and the second triode The emitter of the tube Q2 is grounded, and the collector of the second triode Q2 is respectively connected to the anode of the seventh diode D7, one end of the coil of the second relay JDZ2, the negative pole of the seventh diode D7, and the coil of the second relay JDZ2. The other end is connected to the One end of the ninth resistor R9, the other end of the ninth resistor R9 is connected to the P2 end of the chip U1 through the eleventh resistor R11, the cathode of the fifth diode D5 is connected to the cathode of the seventh diode D7, and the ACN input port is connected to the ACN1 output One end of the first resistor R1 is respectively connected to one end of the normally open contact of the first relay JDZ1, one end of the normally open contact of the second relay JDZ2, and the other end of the normally open contact of the first relay JDZ1 is connected to the L1 output port , the other end of the normally open contact of the second relay JDZ2 is connected to the L2 output port. 2.根据权利要求1所述的开关切换电路,其特征在于,所述芯片U1为XD6062。2. The switch switching circuit according to claim 1, wherein the chip U1 is an XD6062. 3.一种LED灯具,包括两个LED光源,其特征在于,还包括权利要求1-2任一所述的开关切换电路,其中一个LED光源连接在ACN1输出口、L1输出口两端,另一个LED光源连接在ACN1输出口、L2输出口两端。3. An LED lamp, comprising two LED light sources, characterized in that it also comprises the switch switching circuit described in any one of claims 1-2, wherein one LED light source is connected to both ends of the ACN1 output port and the L1 output port, and the other An LED light source is connected to both ends of the ACN1 output port and the L2 output port.
CN201710751683.8A 2017-08-28 2017-08-28 A switch switching circuit and LED lamp Pending CN107509271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710751683.8A CN107509271A (en) 2017-08-28 2017-08-28 A switch switching circuit and LED lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710751683.8A CN107509271A (en) 2017-08-28 2017-08-28 A switch switching circuit and LED lamp

Publications (1)

Publication Number Publication Date
CN107509271A true CN107509271A (en) 2017-12-22

Family

ID=60693978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710751683.8A Pending CN107509271A (en) 2017-08-28 2017-08-28 A switch switching circuit and LED lamp

Country Status (1)

Country Link
CN (1) CN107509271A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201571034U (en) * 2009-12-22 2010-09-01 吴东发 Electronic section switch
CN104023457A (en) * 2013-03-01 2014-09-03 海洋王(东莞)照明科技有限公司 Power failure detection circuit and lamp
CN205546034U (en) * 2016-01-19 2016-08-31 广东明丰电源电器实业有限公司 MCU switch switches device of adjusting luminance
CN206096314U (en) * 2016-10-26 2017-04-12 武汉盛帆电子股份有限公司 Power failure detection system and electric meter system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201571034U (en) * 2009-12-22 2010-09-01 吴东发 Electronic section switch
CN104023457A (en) * 2013-03-01 2014-09-03 海洋王(东莞)照明科技有限公司 Power failure detection circuit and lamp
CN205546034U (en) * 2016-01-19 2016-08-31 广东明丰电源电器实业有限公司 MCU switch switches device of adjusting luminance
CN206096314U (en) * 2016-10-26 2017-04-12 武汉盛帆电子股份有限公司 Power failure detection system and electric meter system

Similar Documents

Publication Publication Date Title
CN100549502C (en) A dual-purpose smart light
CN206865798U (en) A kind of LED linear constant-current circuit of automatic sensing ambient light
WO2015144017A1 (en) Digital adaptive dimming power supply
CN201059458Y (en) Intelligent lamp
CN107708252A (en) A kind of pure NVME backboards LED state indicator lamp STBY power switching device and methods
CN201078617Y (en) Dual-purpose intelligent lamp
CN107509271A (en) A switch switching circuit and LED lamp
CN203301796U (en) Control circuit for LED AC (alternating current) drive
CN202496102U (en) Emergency lamp with self-checking function
CN202374523U (en) Light emitting diode (LED) human body induction lamp
CN202395741U (en) Single-pole double-throw electronic switch with single wire system
CN108471655B (en) Dimming control device for LED lamp
JP4942538B2 (en) Fluorescent lamp fixtures
CN210899726U (en) Trinity control interface circuit of lamps and lanterns
CN107635322A (en) A kind of Dimmable LED constant-current drive circuit
CN211478445U (en) Simple input power failure detection circuit
CN202551430U (en) Dimming lamp
CN202679701U (en) Novel LED drive circuit
CN205142628U (en) A multifunctional LED safety power supply circuit
CN202101074U (en) Composite LED (light emitting diode) voice-controlled lighting lamp
CN207868793U (en) The short-circuit protection circuit of classroom blackboard LED light strip
CN205336601U (en) Energy -saving long -life LED lighting circuit
CN205546082U (en) A Simple and Practical LED DC Power Supply
CN204119628U (en) A touch delay lighting circuit based on IC integrated circuit
CN202135379U (en) A LED lighting energy-saving control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171222