TWI700460B - Desk lamp with power control circuit - Google Patents
Desk lamp with power control circuit Download PDFInfo
- Publication number
- TWI700460B TWI700460B TW108146781A TW108146781A TWI700460B TW I700460 B TWI700460 B TW I700460B TW 108146781 A TW108146781 A TW 108146781A TW 108146781 A TW108146781 A TW 108146781A TW I700460 B TWI700460 B TW I700460B
- Authority
- TW
- Taiwan
- Prior art keywords
- lamp
- power
- diode
- resistor
- unit
- Prior art date
Links
Images
Landscapes
- Secondary Cells (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
一種具有電源控制電路的檯燈,包括:設有帶進口的空腔的檯燈主體;設置在空腔中的控制電路,其包括電源輸入單元、控制單元、燈具延時單元、電源切換單元和充電單元,電源輸入單元電性連接著充電單元和控制單元;電源切換單元電性連接著燈具延時單元。在本發明中,控制單元通過檢測CHG_DET端來判斷電源輸入單元中是否有的市電接入,以控制CHG_EN由高電位到低電位來開啟PMOS管;在市電接入的情況下,電源切換單元的電池不供電,在市電未接入的情況下,電池進行供電;在通過開關對電池進行斷電後,燈具延時單元在電感的作用下,控制燈具的燈光逐漸變暗直至熄滅。A desk lamp with a power supply control circuit, comprising: a desk lamp main body provided with a cavity with an entrance; a control circuit arranged in the cavity, which includes a power input unit, a control unit, a lamp delay unit, a power switching unit and a charging unit, The power input unit is electrically connected to the charging unit and the control unit; the power switching unit is electrically connected to the lamp delay unit. In the present invention, the control unit determines whether there is mains connection in the power input unit by detecting the CHG_DET terminal, so as to control CHG_EN to turn on the PMOS tube from high to low potential; in the case of mains connection, the power switch unit The battery does not supply power. When the mains is not connected, the battery supplies power; after the battery is powered off through the switch, the lamp delay unit controls the lamp light to gradually dim until it goes out under the action of the inductance.
Description
本發明涉及檯燈領域,尤其涉及一種具有電源控制電路的檯燈。 The present invention relates to the field of desk lamps, in particular to a desk lamp with a power control circuit.
日常生活中,檯燈是人們用來進行小範圍光照的燈具。其中,為了保證檯燈的正常照明,電源控制電路是其中重要的組成部件,傳統檯燈的電源控制電路結構複雜,使用壽命低,故障率較高;同時,在切斷外來電源時,檯燈無後備電源進行供電,會立即熄滅,長時間會造成燈具損壞,帶來不便。 In daily life, table lamps are lamps that people use to illuminate small areas. Among them, in order to ensure the normal lighting of the table lamp, the power control circuit is an important component. The power control circuit of the traditional table lamp has a complex structure, low service life and high failure rate; at the same time, when the external power supply is cut off, the table lamp has no backup power supply. When power is supplied, it will be turned off immediately, which will cause damage to the lamp for a long time and cause inconvenience.
同時,現今的檯燈功能比較單一,僅僅只用來進行照明有些浪費電能,可以為其增加一些協助工具,例如充電功能,對電子設備進行充電,因此,需要對其電路構造進行一定的改進,已達到充電的功能。 At the same time, today’s desk lamps have relatively simple functions. They are only used for lighting purposes, which wastes electric energy. Some assistance tools can be added to them, such as charging functions to charge electronic devices. Therefore, certain improvements to their circuit structure are required. Reach the function of charging.
針對上述問題,本發明提供了一種具有電源控制電路的檯燈,其不僅能夠有效地控制檯燈的燈具延時熄滅,用來保護燈具,增長其實用壽命;同時增加了充電電路,能夠對其他設備進行充電,有效地解決了上述問題中至少一個方面。 In view of the above-mentioned problems, the present invention provides a desk lamp with a power control circuit, which can not only effectively control the delay of turning off the lamp of the lamp, protect the lamp and increase its practical life; at the same time, it also adds a charging circuit to charge other devices. , Effectively solve at least one of the above problems.
根據本發明的一個方面,本發明提供了一種具有電源控制電路的檯燈,包括:一檯燈主體,檯燈主體設有帶進口的空腔;一控制電路,控制電路設置在空腔中,其包括電源輸入單元、控制單元、燈具延時單元、電源切 換單元和充電單元,電源輸入單元電性連接著充電單元和控制單元;電源切換單元電性連接著燈具延時單元;電源輸入單元包括市電Vin、PMOS管Q、第一電阻R1和第二電阻R2;市電Vin的一端分別連接PMOS管Q的汲極以及第一電阻R1的一端,第一電阻R1的另一端串聯第二電阻R2並接地;控制單元包括CHG_EN端以及CHG_DET端,CHG_EN端連接在第一電阻R1和第二電阻R2之間,CHG_DET端連接在PMOS管Q的閘極。 According to one aspect of the present invention, the present invention provides a desk lamp with a power control circuit, including: a desk lamp main body, the desk lamp main body is provided with a cavity with an inlet; a control circuit, the control circuit is arranged in the cavity, which includes a power source Input unit, control unit, lamp delay unit, power switch The power input unit is electrically connected to the charging unit and the control unit; the power switching unit is electrically connected to the lamp delay unit; the power input unit includes mains Vin, PMOS transistor Q, first resistor R1 and second resistor R2 ; One end of the mains Vin is connected to the drain of the PMOS transistor Q and one end of the first resistor R1, the other end of the first resistor R1 is connected in series with the second resistor R2 and grounded; the control unit includes the CHG_EN end and the CHG_DET end, and the CHG_EN end is connected to the Between a resistor R1 and a second resistor R2, the CHG_DET terminal is connected to the gate of the PMOS transistor Q.
進一步,市電Vin供電,MOS管V的閘極為高電位,源極為低電位,汲極完全斷開,電能由第一二極體D1供給輸出,供電產生的漏電流通過第一二極體D1完全阻隔;進一步,電池GB供電,MOS管V的閘極接地為低電位,源極為高電位,汲極則導通,電能由第二二極體D2供給輸出。 Furthermore, when the mains Vin is powered, the gate of the MOS tube V is at a high potential, the source is at a low potential, and the drain is completely disconnected. The electrical energy is supplied and output by the first diode D1, and the leakage current generated by the power supply passes through the first diode D1. Block; further, the battery GB is powered, the gate of the MOS tube V is grounded at a low potential, the source is at a high potential, the drain is turned on, and the electrical energy is supplied and output by the second diode D2.
進一步,電源切換單元包括MOS管V、電池GB、開關S、第一二極體D1和第二二極體D2,所述MOS管V的閘極與PMOS管Q的源極連接,MOS管V的源極與電池GB相連,MOS管的汲極與第二二極體D2的正極相連,第一二極體D1的正極與MOS管的閘極相連,第一二極體D1的負極與第二二極體D2的負極相連;開關S連接在MOS管V的源極與電池GB之間。 Further, the power switching unit includes a MOS tube V, a battery GB, a switch S, a first diode D1 and a second diode D2, the gate of the MOS tube V is connected to the source of the PMOS tube Q, and the MOS tube V The source of the MOS tube is connected to the battery GB, the drain of the MOS tube is connected to the anode of the second diode D2, the anode of the first diode D1 is connected to the gate of the MOS tube, and the cathode of the first diode D1 is connected to the second diode D2. The negative pole of the diode D2 is connected; the switch S is connected between the source of the MOS tube V and the battery GB.
進一步,開關S為按鈕開關,按鈕開關包括動觸頭和靜觸頭,按鈕開關的電路通過動觸頭和靜觸頭斷開或者閉合。 Further, the switch S is a button switch, and the button switch includes a moving contact and a static contact, and the circuit of the button switch is opened or closed through the moving contact and the static contact.
進一步,燈具延時單元包括燈具L、電感Lx以及第三電阻R3;電感Lx連接著第一二極體D1的負極以及第二二極體D2的負極,燈具L連接在電感Lx的兩端,燈具L與第三電阻R3串聯在一起。 Further, the lamp delay unit includes a lamp L, an inductor Lx and a third resistor R3; the inductor Lx is connected to the negative electrode of the first diode D1 and the negative electrode of the second diode D2, and the lamp L is connected to both ends of the inductor Lx. L is connected in series with the third resistor R3.
進一步,充電單元為USB介面,USB介面包括第一引腳P1、第二引腳P2以及第三引腳P3,第一引腳P1連接在MOS管V的閘極與PMOS管Q的源極之間,第二引腳P2和第三引腳P3為資料傳輸腳。 Further, the charging unit is a USB interface. The USB interface includes a first pin P1, a second pin P2, and a third pin P3. The first pin P1 is connected between the gate of the MOS transistor V and the source of the PMOS transistor Q Meanwhile, the second pin P2 and the third pin P3 are data transmission pins.
進一步,USB介面內嵌在空腔的進口處。 Further, the USB interface is embedded in the entrance of the cavity.
進一步,還包括電路板,電路板位於空腔中,電路板上設置有PMOS管Q、第一電阻R1、第二電阻R2、控制單元、MOS管V、第一二極體D1、第二二極體D2、電感Lx和第三電阻R3。 Further, it also includes a circuit board. The circuit board is located in the cavity. The circuit board is provided with a PMOS tube Q, a first resistor R1, a second resistor R2, a control unit, a MOS tube V, a first diode D1, and a second diode. Polar body D2, inductance Lx and third resistance R3.
本發明具有以下有益效果:1、電源輸入單元和控制單元進行配合,在市電Vin接入時,控制單元通過檢測CHG_DET端來判斷是否有市電Vin接入,從而控制CHG_EN由高電位到低電位來開啟PMOS管Q,充當自動開關使用;2、電源切換單元中,MOS管V、電池GB、第一二極體D1和第二二極體D2配合,在市電Vin接入的情況下,電池GB不供電,在市電Vin未接入的情況下,電池GB進行供電;3、燈具延時單元中,燈具L連接在電感Lx的兩端,在通過開關S對電池GB進行斷電後,在電感Lx的作用下,燈具L的燈光逐漸變暗直至熄滅。 The present invention has the following beneficial effects: 1. The power input unit cooperates with the control unit. When the mains Vin is connected, the control unit determines whether the mains Vin is connected by detecting the CHG_DET terminal, thereby controlling CHG_EN from high potential to low potential. Turn on the PMOS tube Q to act as an automatic switch; 2. In the power switching unit, the MOS tube V, the battery GB, the first diode D1 and the second diode D2 cooperate. When the mains Vin is connected, the battery GB No power supply, when the mains Vin is not connected, the battery GB provides power; 3. In the lamp delay unit, the lamp L is connected to both ends of the inductor Lx. After the battery GB is powered off through the switch S, the battery GB is connected to the inductor Lx. Under the action of, the light of lamp L gradually dims until it goes out.
1:充電單元 1: charging unit
2:電源切換單元 2: Power switching unit
3:燈具延時單元 3: Lamp delay unit
4:控制單元 4: control unit
5:電源輸入單元 5: Power input unit
Vin:市電 Vin: mains
GB:電池 GB: battery
S:開關 S: switch
Q:PMOS管 Q: PMOS tube
R1:第一電阻 R1: first resistance
R2:第二電阻 R2: second resistor
V:MOS管 V: MOS tube
D1:第一二極體 D1: The first diode
D2:第二二極體 D2: The second diode
Lx:電感 Lx: inductance
R3:第三電阻 R3: third resistor
圖1為本發明結構示意圖;圖2為本發明電路圖。 Figure 1 is a schematic diagram of the structure of the present invention; Figure 2 is a circuit diagram of the present invention.
下面結合附圖和具體實施方式對本發明作進一步說明。 The present invention will be further described below in conjunction with the drawings and specific embodiments.
圖1示意性地顯示了本發明一種實施方式的結構示意圖。 Fig. 1 schematically shows a structural diagram of an embodiment of the present invention.
實施例一:Example one:
一種具有電源控制電路的檯燈,包括一檯燈主體,檯燈主體設有帶進口的空腔,由此,空腔用來裝放控制電路,對其進行保護,檯燈主體的的形狀可以採用市面上檯燈外形的任意一種。 A desk lamp with a power control circuit, including a desk lamp body, the desk lamp body is provided with a cavity with an inlet, so that the cavity is used to house the control circuit and protect it. The shape of the desk lamp body can be a commercially available desk lamp Any kind of shape.
如圖1所示,一控制電路,控制電路設置在空腔中,其包括電源輸入單元5、控制單元4、燈具延時單元3、電源切換單元2和充電單元1,電源輸入單元5電性連接著充電單元1和控制單元4;電源切換單元2電性連接著燈具延時單元3。
As shown in Figure 1, a control circuit is arranged in the cavity, which includes a power input unit 5, a
如圖2所示,電源輸入單元5包括市電Vin、PMOS管Q、第一電阻R1和第二電阻R2;市電Vin的一端分別連接PMOS管Q的汲極以及第一電阻R1的一端,第一電阻R1的另一端串聯第二電阻R2並接地;控制單元4包括CHG_EN端以及CHG_DET端,CHG_EN端連接在第一電阻R1和第二電阻R2之間,CHG_DET端連接在PMOS管Q的閘極。
As shown in Figure 2, the power input unit 5 includes a mains Vin, a PMOS transistor Q, a first resistor R1 and a second resistor R2; one end of the mains Vin is connected to the drain of the PMOS transistor Q and one end of the first resistor R1, The other end of the resistor R1 is connected in series with a second resistor R2 and grounded; the
具體的,在市電Vin接入時,控制單元4通過檢測CHG_DET端來判斷是否有市電接入,從而控制CHG_EN由高電位到低電位來開啟PMOS管Q,充當自動開關使用,控制單元4通過電源晶片進行控制,例如型號為WS3255的電源晶片。
Specifically, when the mains power Vin is connected, the
如圖2所示,電源切換單元2包括MOS管V、電池GB、開關S、第一二極體D1和第二二極體D2,所述MOS管V的閘極與PMOS管Q的源極連接,MOS管V的源極與電池GB相連,MOS管的汲極與第二二極體D2的正極相連,第一二極體D1的正極與MOS管的閘極相連,第一二極體D1的負極與第二二極體D2的負極相連;開關S連接在MOS管V的源極與電池GB之間。
As shown in FIG. 2, the
本實施例中,市電Vin供電時,MOS管V的閘極為高電位,源極為低電位,汲極完全斷開,電能通過第一二極體D1供給輸出,供電產生的漏電 流通過第一二極體D1完全阻隔;當電池GB供電時,MOS管V的閘極接地為低電位,源極為高電位,汲極則導通,通過第二二極體D2供給輸出。 In this embodiment, when the mains Vin is supplying power, the gate of the MOS transistor V is at a high potential, the source is at a low potential, and the drain is completely disconnected. The electric energy is supplied and output through the first diode D1, and the leakage caused by the power supply The flow is completely blocked by the first diode D1; when the battery GB is powered, the gate of the MOS tube V is grounded at a low potential, the source is at a high potential, and the drain is turned on, and supplies and outputs through the second diode D2.
開關S為按鈕開關,按鈕開關包括動觸頭和靜觸頭,按鈕開關的電路通過動觸頭和靜觸頭斷開或者閉合,進而實現電池GB電路的導通與閉合,從而促使電池GB輸送電能。 Switch S is a button switch. The button switch includes a moving contact and a static contact. The circuit of the button switch is opened or closed through the moving contact and the static contact, thereby realizing the conduction and closing of the battery GB circuit, thereby prompting the battery GB to deliver electric energy .
如圖2所示,燈具延時單元3包括燈具L、電感Lx以及第三電阻R3;電感Lx連接著第一二極體D1的負極以及第二二極體D2的負極,燈具L連接在電感Lx的兩端,燈具L與第三電阻R3串聯在一起。
As shown in Figure 2, the
本實施例中,在電池GB停止供電時,電感Lx中仍處在一定的電流,存在以下三種情況:情況一:若電感Lx的線圈電流大於燈具L中電流,則斷電時,通過燈具L的電流大於原來通過燈具L的電流,所以燈具L會更亮一下才慢慢熄滅;情況二:若電感Lx的線圈電流等於燈具L中電流,則斷電時,通過燈具L的電流等於原來通過燈具L的電流,所以燈具L是直接從原來的亮度開始慢慢熄滅;情況三:若電感Lx的線圈電流小於燈具L中電流,則斷電時,通過燈具L的電流小於原來通過燈具L的電流,那麼燈具L是突然變得更暗的狀態再慢慢熄滅。 In this embodiment, when the battery GB stops supplying power, there is still a certain current in the inductor Lx, and there are the following three situations: Case 1: If the coil current of the inductor Lx is greater than the current in the lamp L, when the power is off, the lamp L The current passing through the lamp L is greater than the current passing through the lamp L, so the lamp L will be brighter and then slowly extinguished; Case 2: If the coil current of the inductor Lx is equal to the current in the lamp L, when the power is off, the current passing through the lamp L is equal to the original passing The current of the lamp L, so the lamp L is extinguished directly from the original brightness; Case 3: If the coil current of the inductor Lx is less than the current in the lamp L, when the power is off, the current passing through the lamp L is less than the original passing through the lamp L Electric current, then the lamp L suddenly becomes darker and then slowly goes out.
如圖2所示,充電單元1為USB介面,USB介面包括第一引腳P1、第二引腳P2以及第三引腳P3,第一引腳P1連接在MOS管V的閘極與PMOS管Q的源極之間,第二引腳P2和第三引腳P3為資料傳輸腳。
As shown in Figure 2, the charging
本實施例中,USB介面內嵌在空腔的進口處,由於第一引腳P1連接在MOS管v的閘極與PMOS管Q的源極之間,PMOS管Q的源極輸出的電能通 過P1傳輸到USB,在蓄電設備連接到P2和P3時,電能輸送到蓄電設備,實現充電功能。 In this embodiment, the USB interface is embedded at the entrance of the cavity. Since the first pin P1 is connected between the gate of the MOS tube v and the source of the PMOS tube Q, the power output from the source of the PMOS tube Q is connected It is transmitted to USB via P1, and when the storage device is connected to P2 and P3, the electric energy is transmitted to the storage device to realize the charging function.
本發明中,燈具L、USB介面和開關S裸露或者內嵌在檯燈主體上,電池GB內置於空腔中,其他元器件可以通過電路板進行電路連接,便於安裝和調試,例如PMOS管Q、第一電阻R1、第二電阻R2、控制單元、MOS管V、第一二極體D1、第二二極體D2、電感Lx和第三電阻R3。 In the present invention, the lamp L, the USB interface and the switch S are exposed or embedded in the main body of the lamp, the battery GB is built in the cavity, and other components can be connected through the circuit board, which is convenient for installation and debugging, such as PMOS tube Q, The first resistor R1, the second resistor R2, the control unit, the MOS tube V, the first diode D1, the second diode D2, the inductor Lx, and the third resistor R3.
以上僅為本發明的一些實施方式,對於本領域普通技術人員來說,在不脫離本發明創造構思的前提下,還可進行若干變形和改進,這些都屬於本發明保護範圍。 The above are only some embodiments of the present invention. For those of ordinary skill in the art, without departing from the inventive concept of the present invention, several modifications and improvements can be made, and these all fall within the protection scope of the present invention.
Vin:市電 Vin: mains
GB:電池 GB: battery
S:開關 S: switch
Q:PMOS管 Q: PMOS tube
R1:第一電阻 R1: first resistance
R2:第二電阻 R2: second resistor
V:MOS管 V: MOS tube
D1:第一二極體 D1: The first diode
D2:第二二極體 D2: The second diode
Lx:電感 Lx: inductance
R3:第三電阻 R3: third resistor
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108146781A TWI700460B (en) | 2019-12-19 | 2019-12-19 | Desk lamp with power control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108146781A TWI700460B (en) | 2019-12-19 | 2019-12-19 | Desk lamp with power control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI700460B true TWI700460B (en) | 2020-08-01 |
TW202124877A TW202124877A (en) | 2021-07-01 |
Family
ID=73003429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108146781A TWI700460B (en) | 2019-12-19 | 2019-12-19 | Desk lamp with power control circuit |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI700460B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN207269161U (en) * | 2017-08-23 | 2018-04-24 | 广州市昇蓝演艺设备有限公司 | A kind of light control console uninterruptible power system |
CN207706476U (en) * | 2017-11-06 | 2018-08-07 | 湖北大学 | Automatic dimming circuit and LED desk lamp |
-
2019
- 2019-12-19 TW TW108146781A patent/TWI700460B/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN207269161U (en) * | 2017-08-23 | 2018-04-24 | 广州市昇蓝演艺设备有限公司 | A kind of light control console uninterruptible power system |
CN207706476U (en) * | 2017-11-06 | 2018-08-07 | 湖北大学 | Automatic dimming circuit and LED desk lamp |
Also Published As
Publication number | Publication date |
---|---|
TW202124877A (en) | 2021-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ATE465504T1 (en) | SAFETY SOCKET WITH LOGICAL CONTROL CIRCUIT | |
CN105406851A (en) | Single-livewire switch | |
TWI713280B (en) | Charging power supply circuit for portable electronic device and portable electronic device | |
TWI700460B (en) | Desk lamp with power control circuit | |
CN104159358A (en) | Electric torch drive circuit and mobile terminal | |
CN111315091A (en) | Photosensitive and timing-based community illumination control system and implementation method | |
CN201535452U (en) | High-sensitivity sound light control LED spherical lamp | |
CN101771406B (en) | Scheme for touch switch consuming no power in off state | |
CN113015295B (en) | Desk lamp with power supply control circuit | |
CN204069439U (en) | Self-inspection LED acousto-optic control lamp | |
WO2017045090A1 (en) | Multifunctional emergency led bulb with stand-by power supply | |
CN206118132U (en) | Gate illumination LED control circuit | |
CN105307357A (en) | Sound control energy-saving illumination system | |
CN211508615U (en) | Power supply reverse connection prevention protection circuit | |
CN212628491U (en) | Light-operated switch of solar lamp | |
CN211656478U (en) | District lighting control system based on it is photosensitive and regularly | |
CN211183457U (en) | Charger low current output circuit | |
CN108336784B (en) | Ignition circuit of electric arc ignition gun and control method | |
CN207427112U (en) | Direct current plug-in assist illuminator | |
CN103841711B (en) | A kind of LED emergence lighting lamp and drive circuit thereof | |
CN103687147B (en) | Lamp control circuit and light fixture | |
CN106061003B (en) | Mobile terminal | |
CN206807832U (en) | A kind of power down switch | |
CN203884057U (en) | Circuit used for controlling chargeable work lamp and capable of adjusting light | |
CN206759419U (en) | Risen slowly without surge and close photosensitive termination power slowly |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |