Small night lamp circuit and PD fast-charging charger

By introducing the DC voltage input terminal and voltage conversion circuit of the PD fast charging charger into the night light circuit, the convenience and cost problems of traditional night lights relying on mains power are solved, and stable power supply and brightness control in a DC voltage environment are achieved. , improving user experience and circuit design efficiency.

CN221807243UActive Publication Date: 2024-10-01深圳市恒玺科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420334157.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-22
Publication Date
2024-10-01
Estimated Expiration
2034-02-22

AI Technical Summary

Technical Problem

Traditional night lights rely on 220V AC power from the mains, which is inconvenient and costly to use and requires an adapter for conversion.

Method used

A small night light circuit is designed, which uses the DC voltage input terminal in the PD fast charging charger to achieve DC voltage conversion and lamp component status control through the voltage conversion circuit and main control circuit. There is no need to use an AC-DC conversion circuit. It is suitable for For DC interface such as USB interface.

Benefits of technology

It improves user convenience and circuit design cost, users can use the night light without mains power, and reduces circuit complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221807243U_ABST
    Figure CN221807243U_ABST
Patent Text Reader

Abstract

The utility model discloses a small night lamp circuit and a PD fast-charging charger, the small night lamp circuit is applied to the PD fast-charging charger, and the small night lamp circuit comprises a power supply input end used for accessing a DC voltage and a power supply output end used for outputting a power supply voltage; the voltage conversion circuit is electrically connected with the power supply output end, and the voltage conversion circuit is used for performing voltage conversion on the direct-current voltage and then outputting the power supply voltage through the power supply output end; the power supply end of the main control circuit is electrically connected with the power output end, and the main control circuit is used for controlling the working state of at least one lamp assembly. The utility model aims to improve the user use convenience of the small night lamp circuit and the functional diversity of the PD quick charger.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of lighting technology, and in particular to a night light circuit and a PD fast charging charger. Background Art

[0002] As people pursue a higher quality of life, families now generally install night lights that emit light at night. However, traditional night lights are all one-way using 220V AC power from the mains, and an adapter is required to convert the 220V AC power into the DC power supply voltage of the night light, which obviously causes inconvenience to users and high costs. Utility Model Content

[0003] The main purpose of the utility model is to provide a night light circuit and a PD fast charging charger, aiming to improve the user convenience of the night light circuit and the functional diversity of the PD fast charging charger.

[0004] To achieve the above object, the utility model proposes a night light circuit, which is applied to a PD fast charging charger. The night light circuit includes a power input terminal for connecting a DC voltage and a power output terminal for outputting a power supply voltage; and also includes:

[0005] A voltage conversion circuit, the voltage conversion circuit is electrically connected to the power output terminal, and the voltage conversion circuit is used to convert the DC voltage into a voltage and then output the supply voltage via the power output terminal;

[0006] A main control circuit, wherein the power supply end of the main control circuit is electrically connected to the power output end, and the main control circuit is used to control the working state of at least one lamp component.

[0007] Optionally, the voltage conversion circuit includes a step-down chip, which has an input pin, an output pin, a feedback pin, an enable pin, a first ground pin, a second ground pin, a third ground pin and a fourth ground pin; wherein the input pin is electrically connected to the power input terminal, and the output pin is electrically connected to the power output terminal.

[0008] Optionally, the main control circuit includes a touch control chip, and the touch control chip includes a first output pin, a second output pin, a power pin, a touch input pin and a sampling capacitor input pin; wherein the power pin is a power supply end of the main control circuit.

[0009] Optionally, the night light circuit includes:

[0010] An input filter circuit, wherein a first end of the input filter circuit is electrically connected to the power input end, and a second end of the input filter circuit is electrically connected to the input end of the voltage conversion circuit;

[0011] An output filter circuit, wherein a first end of the output filter circuit is electrically connected to the output end of the voltage conversion circuit, and a second end of the output filter circuit is electrically connected to the power supply output end.

[0012] Optionally, the input filter circuit includes a first resistor, a first capacitor and a second capacitor; the output filter circuit includes a third capacitor, a fourth capacitor and a fifth capacitor; wherein, the first end of the first capacitor and the second end of the second capacitor are electrically connected to the power input terminal, and the second end of the first capacitor, the second end of the second capacitor and the second end of the first resistor are grounded; the first end of the first resistor is electrically connected to the enable pin of the buck chip; the first end of the third capacitor, the first end of the fourth capacitor and the first end of the fifth capacitor are electrically connected to the output pin of the buck chip, and the second end of the third capacitor, the second end of the fourth capacitor and the second end of the fifth capacitor are all grounded.

[0013] Optionally, the night light circuit includes:

[0014] an inductor, wherein a first end of the inductor is electrically connected to an output end of the voltage conversion circuit, and a second end of the inductor is electrically connected to an output end of the power supply;

[0015] A freewheeling diode, wherein a cathode of the freewheeling diode is electrically connected to the first end of the inductor, and an anode of the freewheeling diode is grounded.

[0016] Optionally, the night light circuit includes at least one lamp component and at least one switching circuit; wherein, the first end of the lamp component is electrically connected to the power output end, the second end of the lamp component is electrically connected to the first end of the switching circuit, the second end of the switching circuit is electrically connected to the output end of the main control circuit, and the third end of the switching circuit is grounded.

[0017] Optionally, at least one of the lamp assemblies includes a first lamp assembly, a second lamp assembly, a third lamp assembly and a fourth lamp assembly, and at least one of the switch circuits includes a first switch circuit and a second switch circuit;

[0018] Among them, the first lamp assembly and the second lamp assembly are connected in parallel, the third lamp assembly and the fourth lamp assembly are connected in parallel, the first end of the first switch circuit is electrically connected to the first end of the first lamp assembly and the first end of the second lamp assembly, and the first end of the second switch circuit is electrically connected to the first end of the third lamp assembly and the first end of the fourth lamp assembly.

[0019] Optionally, the first switch circuit includes a first MOS transistor, a second resistor and a third resistor, and the second switch circuit includes a second MOS transistor, a fourth resistor and a fifth resistor;

[0020] Wherein, a first end of the second resistor is electrically connected to the first output pin, a second end of the second resistor is connected to a first end of the third resistor, a second end of the third resistor is grounded, a common connection end of the second resistor and the third resistor is electrically connected to a gate of the first MOS transistor, and a drain of the first MOS transistor is electrically connected to the first lamp component and the second lamp component;

[0021] The first end of the fourth resistor is electrically connected to the second output pin, the second end of the fourth resistor is connected to the first end of the fifth resistor, the second end of the fifth resistor is grounded, the common connection end of the fourth resistor and the fifth resistor is electrically connected to the gate of the second MOS tube, the drain of the second MOS tube is electrically connected to the third lamp component and the fourth lamp component, and the source of the first MOS tube and the source of the second MOS tube are grounded.

[0022] The utility model also proposes a PD fast charging charger, which includes the night light circuit described in any one of the above items and an output interface, and the output interface is used to be electrically connected to the power input terminal.

[0023] The utility model proposes a night light circuit, which is applied to a PD fast charging charger. The night light circuit includes a power input terminal for connecting to a DC voltage and a power output terminal for outputting a power supply voltage; it also includes a voltage conversion circuit and a main control circuit. The voltage conversion circuit is electrically connected to the power output terminal, and the voltage conversion circuit is used to convert the DC voltage and output the power supply voltage through the power output terminal; the power supply terminal of the main control circuit is electrically connected to the power output terminal, and the main control circuit is used to control the working state of at least one lamp component.

[0024] In practical applications, the power input terminal can be used to access a DC interface that can provide a DC voltage, such as a USB interface of a mobile terminal such as a computer, so that the voltage conversion circuit can convert the connected DC voltage into the power supply voltage of the night light. Compared with the prior art, there is no need to use an AC-DC conversion circuit, and the working state of the night light does not need to be limited to 220V AC, which improves user convenience and reduces circuit design costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0026] Figure 1 This is a schematic diagram of a circuit module of an embodiment of a night light circuit of the utility model;

[0027] Figure 2 This is a schematic diagram of a circuit module of another embodiment of the night light circuit of the utility model;

[0028] Figure 3 This is a schematic diagram of a circuit module of another embodiment of the night light circuit of the utility model;

[0029] Figure 4 This is a schematic diagram of a circuit module of another embodiment of the night light circuit of the utility model;

[0030] Figure 5 This is a specific circuit diagram of an embodiment of the night light circuit of the utility model.

[0031] Description of Figure Numbers:

[0032] Label name Label name 10 Power input terminal 20 Power output terminal 30 Voltage conversion circuit 40 Main control circuit 50 Input filter circuit 60 Output filter circuit 70 First switch circuit 80 Second switch circuit

[0033] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0035] In addition, in the present utility model, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.

[0036] As people pursue a higher quality of life, families now generally install night lights that emit light at night. However, traditional night lights are all one-way using 220V AC power from the mains, and an adapter is required to convert the 220V AC power into the DC power supply voltage of the night light, which obviously causes inconvenience to users and high costs.

[0037] To this end, the utility model proposes a night light circuit, referring to Figure 1 The night light circuit is applied to a PD fast charging charger, and the night light circuit includes a power input terminal 10 for connecting a DC voltage and a power output terminal 20 for outputting a power supply voltage; and also includes:

[0038] A voltage conversion circuit 30, the voltage conversion circuit 30 is electrically connected to the power output terminal 20, and the voltage conversion circuit 30 is used to convert the DC voltage and then output the supply voltage through the power output terminal 20;

[0039] A main control circuit 40, a power supply end of the main control circuit 40 is electrically connected to the power output end 20, and the main control circuit 40 is used to control the working state of at least one lamp component.

[0040] In this embodiment, the main control circuit 40 can be implemented by a main controller, such as MCU, DSP (Digital Signal Process), FPGA (Field Programmable Gate Array), PLC, SOC (System On Chip), etc. The voltage conversion circuit 30 can be composed of at least one switch tube, inductor and capacitor, or implemented by a voltage conversion chip, such as a buck-boost chip.

[0041] Specifically, in practical applications, the night light circuit can be applied to a PD fast charging charger. When the user uses the voltage output by the PD fast charging charger as the power supply voltage of the night light, the power input terminal 10 of the night light circuit is connected to the DC voltage and the voltage conversion circuit 30 performs voltage conversion and then outputs the power supply voltage through the power output terminal 20 to power the light components in the night light circuit. Among them, the voltage conversion circuit 30 can be a step-down chip for stepping down the DC voltage connected to the power input terminal 10 and then outputting the power supply voltage. For example, a 3.3-20V DC voltage is outputted through a DC-DC step-down chip to power the night light, which can be used by the user for night lighting. In addition, since the power supply terminal of the main control circuit 40 is electrically connected to the power output terminal 20, the power supply voltage output by the power output terminal 20 can be used as the power supply voltage of the main control circuit 40, so that the main control circuit 40 controls the working state of at least one light component. Among them, the number of lamp assemblies can be set in advance by R&D personnel according to brightness requirements, and users can control the operation of some or all lamp assemblies through a trigger device electrically connected to the lamp assemblies to achieve lighting of different brightness.

[0042] It is understandable that, since the power input terminal 10 of the utility model is used to access the DC voltage, the USB interface of a mobile terminal such as a laptop computer or a mobile phone can be electrically connected to the power input terminal 10, so that the DC voltage output by the USB interface can be used as the power supply voltage of the night light circuit. In this way, the user can still use the night light for lighting when there is no mains electricity, such as when going out for an outing at night. Compared with the prior art, there is no need to use an AC-DC conversion circuit, and the working state of the night light does not need to be limited to 220V AC, which improves the user's convenience and reduces the circuit design cost to a certain extent.

[0043] In another embodiment of the present invention, reference Figure 2 The voltage conversion circuit 30 includes a step-down chip, which has an input pin, an output pin, a feedback pin, an enable pin, a first ground pin, a second ground pin, a third ground pin and a fourth ground pin; wherein the input pin is electrically connected to the power input terminal 10, and the output pin is electrically connected to the power output terminal 20.

[0044] refer to Figure 3 , the night light circuit comprises:

[0045] An input filter circuit 50, wherein a first end of the input filter circuit 50 is electrically connected to the power input terminal 10, and a second end of the input filter circuit 50 is electrically connected to an input terminal of the voltage conversion circuit 30;

[0046] An output filter circuit 60 , wherein a first end of the output filter circuit 60 is electrically connected to the output end of the voltage conversion circuit 30 , and a second end of the output filter circuit 60 is electrically connected to the power output end 20 .

[0047] In this embodiment, the buck chip can be implemented by using the XL1509 switch buck DC-DC converter chip. The fixed switching frequency of the XL1509 buck chip is 150KHZ, which can reduce the size of external components and facilitate EMC design. At the same time, the buck chip has excellent linear adjustment rate and load adjustment rate, and can output a 3.3V DC power supply voltage. The XL1509 chip integrates overcurrent protection, overtemperature protection, short circuit protection and other functional modules, with high integration and good circuit stability. The input filter circuit 50 and the output filter circuit 60 can be implemented by using a filter circuit composed of at least one of a capacitor, a resistor, and an inductor.

[0048] Specifically, the present embodiment uses the XL1509 step-down chip as the voltage conversion circuit 30 to step down the DC voltage connected to the power output terminal 20 and then output a 3.3V power supply voltage to power the night light circuit of the present utility model, thereby realizing the lighting work of the lamp assembly. Figure 5As shown, U1 is an XL1509 buck chip, including an input pin VIN, an output pin OUT, a feedback pin FB, an enable pin EN, and four ground pins GND, which are a first ground pin, a second ground pin, a third ground pin, and a fourth ground pin.

[0049] In this embodiment, the night light circuit includes:

[0050] an inductor, wherein a first end of the inductor is electrically connected to an output end of the voltage conversion circuit 30, and a second end of the inductor is electrically connected to the power supply output end 20;

[0051] A freewheeling diode, wherein a cathode of the freewheeling diode is electrically connected to the first end of the inductor, and an anode of the freewheeling diode is grounded.

[0052] Specifically, refer to Figure 5 , the first end of the inductor L and the cathode of the freewheeling diode D1 are both electrically connected to the output pin OUT of U1, and the anode of the freewheeling diode D1 is grounded. The input filter circuit 50 includes a first capacitor C1, a second capacitor C2 and a first resistor R1, the first capacitor C1 is connected in parallel with the second capacitor C2, the first common connection end of the first capacitor C1 and the second capacitor C2 is electrically connected to the power input terminal 10 and the input pin VIN of U1, and the second common connection end of the first capacitor C1 and the second capacitor C2 is grounded. The first end of the first resistor R1 is electrically connected to the enable pin EN of the buck chip U1, and the second end of the first resistor R2 is grounded. In addition, the output filter circuit 60 includes a third capacitor C3, a fourth capacitor C4 and a fifth capacitor C5, wherein the third capacitor C3, the fourth capacitor C4 and the fifth capacitor C5 are connected in parallel, the first end of the third capacitor C3, the first end of the fourth capacitor C4 and the first end of the fifth capacitor C5 are all electrically connected to the second end of the inductor L, and the second end of the third capacitor C3, the second end of the fourth capacitor C4 and the second end of the fifth capacitor C5 are grounded. It should be noted that the input filter circuit 50 composed of the first capacitor C1, the second capacitor C2 and the first resistor R1 is used to filter the DC voltage connected to the power input terminal 10 and output it to the input terminal of the voltage conversion circuit 30. The voltage converted by the voltage conversion circuit 30 is output to the output filter circuit 60 composed of the third capacitor C3, the fourth capacitor C4 and the fifth capacitor C5 for filtering and then output through the power output terminal 20. In this way, the stability of the power supply voltage output by the power output terminal 20 can be improved, thereby improving the working stability of the night light circuit of the utility model.

[0053] It can be understood that a switch circuit for controlling the conduction and closure of the output pin is integrated inside U1. When the switch circuit is turned on, U1 steps down the DC voltage of the power input terminal 10 and outputs it through the output pin OUT. The inductor L stores energy, and the current flowing through the inductor increases linearly. At the same time, the third capacitor C3 is charged to provide energy for the power output terminal 20 until the voltage at the voltage output terminal increases to the power supply voltage of the night light circuit, such as the stable output of a 3.3V DC power supply voltage through the power output terminal 20. When the switch circuit integrated inside U1 is in the off state, there is no output at the output pin OUT, the energy storage inductor L discharges through the freewheeling diode D1, the current of the inductor L decreases linearly, and the power supply voltage output from the power output terminal 20 is maintained by the capacitor discharge and the inductor current to slowly decrease. Therefore, by controlling the duty cycle of the switch circuit integrated inside U1 to turn on and off, the magnitude of the voltage output from the power output terminal 20 can be controlled.

[0054] It should be noted that the buck chip U1 has an integrated voltage regulation circuit, and the output voltage is sampled to the feedback pin FB through the voltage divider resistor connected to the output terminal of the buck chip, and a voltage is output through the operational amplifier after comparison with the reference voltage, and a PWM signal is generated by comparison with the triangle wave to drive the switch circuit integrated in U1, such as the switch tube, so as to realize the closed-loop control of the output voltage of the buck chip. In this way, it can ensure that the power output terminal 20 outputs a stable 3.3V DC power supply voltage to power the night light circuit.

[0055] Through the above arrangement, it is possible to ensure that the DC voltage connected to the power input terminal 10 is stepped down and then outputted into a 3.3V power supply voltage to power the night light circuit, thereby ensuring that the lamp assembly can work normally, facilitating the user's use of nighttime lighting, and improving the user's convenience. At the same time, the input filter circuit 50 can perform preliminary filtering on the DC voltage connected to the power input terminal 10 to reduce noise and interference, and the output filter circuit 60 can further filter the voltage output by the step-down chip to make the power output terminal 20 output a more stable power supply voltage, thereby improving the stability of the night light circuit of the utility model.

[0056] In one embodiment of the present invention, reference Figure 2 The main control circuit 40 includes a touch control chip, and the touch control chip includes a first output pin, a second output pin, a power pin, a touch input pin and a sampling capacitor input pin; wherein the power pin is the power supply end of the main control circuit 40.

[0057] Specifically, Figure 5As shown, U2 is a touch control chip, such as an APS0130S touch chip, which has an operating voltage of 2.4-5.5V, a first output pin SO1 and a second output pin SO2, a power pin VDD, a touch input pin TCH, and a sampling capacitor input pin CMDD. Among them, C6 is a sampling capacitor, the first end of the sampling capacitor is connected to the sampling capacitor input pin CMDD, and the second end of the sampling capacitor is grounded. The power supply voltage output by the power output terminal 20 is used to power the touch control chip U2. It can be understood that U2 outputs a dual-channel PWM control signal through the first output pin and the second output pin to achieve light control of the lamp assembly. At the same time, the touch input pin TCH supports touch input. U2 is mainly used for touch dimming and color temperature adjustment lamps, and can achieve touch switch control of the light, brightness and color temperature adjustment and other effects. And it has the outstanding advantages of low power consumption, wide operating voltage range, and no flicker of light. In addition, the touch input pin TCH of U2 can be connected in series with a resistor R with a resistance range of 0 to 10K, and a trigger device for controlling touch input can be connected through the resistor R, wherein the trigger device can be implemented by a physical key or a virtual key. This embodiment uses a physical touch key that can be cyclically controlled to improve the accuracy and reliability of touch input. The resistance value of resistor R is set in advance by the R&D personnel according to the user's sensitivity requirements for touch control.

[0058] In combination with the contents of the above embodiments, brightness adjustment can be achieved by controlling the working states of multiple lamp components. Therefore, the night light circuit includes at least one lamp component and at least one switch circuit; wherein, the first end of the lamp component is electrically connected to the power output terminal 20, the second end of the lamp component is electrically connected to the first end of the switch circuit, the second end of the switch circuit is electrically connected to the output end of the main control circuit 40, and the third end of the switch circuit is grounded.

[0059] In this embodiment, the lamp assembly can be implemented by LED lamp, incandescent lamp, etc. The switch circuit can be implemented by switch devices such as relays and contactors, or switch tubes such as triodes, MOS tubes, and IGBT tubes.

[0060] In this embodiment, reference Figure 4 , at least one of the lamp components includes a first lamp component, a second lamp component, a third lamp component and a fourth lamp component, and at least one of the switch circuits includes a first switch circuit 70 and a second switch circuit 80; wherein, the first lamp component and the second lamp component are connected in parallel, the third lamp component and the fourth lamp component are connected in parallel, the first end of the first switch circuit 70 is electrically connected to the first end of the first lamp component and the first end of the second lamp component, and the first end of the second switch circuit 80 is electrically connected to the first end of the third lamp component and the first end of the fourth lamp component.

[0061] The first switch circuit 70 includes a first MOS transistor, a second resistor and a third resistor, and the second switch circuit 80 includes a second MOS transistor, a fourth resistor and a fifth resistor;

[0062] Wherein, a first end of the second resistor is electrically connected to the first output pin, a second end of the second resistor is connected to a first end of the third resistor, a second end of the third resistor is grounded, a common connection end of the second resistor and the third resistor is electrically connected to a gate of the first MOS transistor, and a drain of the first MOS transistor is electrically connected to the first lamp component and the second lamp component;

[0063] The first end of the fourth resistor is electrically connected to the second output pin, the second end of the fourth resistor is connected to the first end of the fifth resistor, the second end of the fifth resistor is grounded, the common connection end of the fourth resistor and the fifth resistor is electrically connected to the gate of the second MOS tube, the drain of the second MOS tube is electrically connected to the third lamp component and the fourth lamp component, and the source of the first MOS tube and the source of the second MOS tube are grounded.

[0064] Take MOS tubes as the first switch circuit 70 and the second switch circuit 80, and LED lamps as the first lamp assembly, the second lamp assembly, the third lamp assembly, and the fourth lamp assembly as an example for description. Figure 5 , N-type MOS tube Q1 is the first MOS tube, N-type MOS tube Q2 is the second MOS tube; LED1, LED2, LED3 and LED4 are the first lamp component, the second lamp component, the third lamp component and the fourth lamp component respectively. The second resistor R2 and the fourth resistor R4 are current limiting resistors respectively, and the third resistor R3 and the fifth resistor R5 are pull-down resistors corresponding to Q1 and Q2 respectively. The touch control chip U2 outputs the corresponding PWM control signal through the first output pin SO1 and the second output pin SO2 to control the conduction and shutdown of the N-type MOS tubes Q1 and Q2, and then control the working state of the four lamp components, that is, to realize the on and off control of the LED lamp. When the PWM control signal output by the first output pin SO1 is high, the N-type MOS tube Q1 is turned on and LED1 and LED2 are lit. When the first output pin SO1 outputs a low-level signal, LED1 and LED2 are turned off. Similarly, when the PWM control signal output by the second output pin SO2 is high level, the N-type MOS tube Q2 is turned on, and LED3 and LED4 are lit; when the second output pin SO2 outputs a low level signal, LED3 and LED4 are turned off. In this way, the brightness of the night light can be adjusted by controlling the number of lamp components in working state. It should be noted that the color temperature of the night light can also be adjusted by the type of lamp components. That is, the switching time and duty cycle of the four LED lamps can be controlled by U2 to achieve the dimming effect.

[0065] Through the above settings, the touch input function can be realized through the touch input pin TCH of the touch control chip U2, so that the user can realize touch input and cycle control functions by operating the touch buttons, thereby improving the functional diversity and user convenience of the night light circuit of the utility model.

[0066] The utility model also proposes a PD fast charging charger, which includes a night light circuit and an output interface as described in any one of the above items, and the output interface is used to be electrically connected to the power input terminal 10.

[0067] In this embodiment, the output interface is a type-c interface, which is electrically connected to the power input terminal 10 and is used to output the corresponding DC voltage to the power output terminal 20. In this way, the PD fast charging charger can be applied to mobile devices such as laptops and tablets, as well as electric vehicles, to output the battery voltage of laptops, tablets, etc. to the power input terminal 10 through the output interface, and then output it to the power output terminal 20 after voltage conversion by the voltage conversion circuit 30, so as to realize the lighting of the night light. It can be understood that the PD fast charging charger supports high power transmission to achieve fast charging, and the type-c interface supports forward and reverse insertion and bidirectional charging, which improves the user's convenience and charging experience.

[0068] It is worth noting that since the PD fast charging charger of the present invention is based on the above-mentioned night light circuit, the embodiments of the PD fast charging charger of the present invention include all technical solutions of all embodiments of the above-mentioned night light circuit, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0069] The above description is only an optional embodiment of the utility model, and does not limit the patent scope of the utility model. All equivalent structural changes made by using the contents of the utility model specification and drawings under the inventive concept of the utility model, or direct / indirect application in other related technical fields are included in the patent protection scope of the utility model.

Claims

1. A night light circuit, characterized in that: The night light circuit is applied to a PD fast charging charger, and the night light circuit includes a power input terminal for connecting a DC voltage and a power output terminal for outputting a power supply voltage; and also includes: A voltage conversion circuit, the voltage conversion circuit is electrically connected to the power output terminal, and the voltage conversion circuit is used to convert the DC voltage into a voltage and then output the supply voltage via the power output terminal; A main control circuit, wherein the power supply end of the main control circuit is electrically connected to the power output end, and the main control circuit is used to control the working state of at least one lamp component.

2. The night light circuit as claimed in claim 1, characterized in that: The voltage conversion circuit includes a buck chip, which has an input pin, an output pin, a feedback pin, an enable pin, a first ground pin, a second ground pin, a third ground pin and a fourth ground pin; wherein the input pin is electrically connected to the power input terminal, and the output pin is electrically connected to the power output terminal.

3. The night light circuit as claimed in claim 2, characterized in that: The main control circuit includes a touch control chip, and the touch control chip includes a first output pin, a second output pin, a power pin, a touch input pin and a sampling capacitor input pin; wherein the power pin is a power supply terminal of the main control circuit.

4. The night light circuit as claimed in claim 2, characterized in that: The night light circuit comprises: An input filter circuit, wherein a first end of the input filter circuit is electrically connected to the power input end, and a second end of the input filter circuit is electrically connected to the input end of the voltage conversion circuit; An output filter circuit, wherein a first end of the output filter circuit is electrically connected to the output end of the voltage conversion circuit, and a second end of the output filter circuit is electrically connected to the power supply output end.

5. The night light circuit as claimed in claim 4, characterized in that: The input filter circuit includes a first resistor, a first capacitor and a second capacitor; the output filter circuit includes a third capacitor, a fourth capacitor and a fifth capacitor; wherein the first end of the first capacitor and the second end of the second capacitor are electrically connected to the power input terminal, and the second end of the first capacitor, the second end of the second capacitor and the second end of the first resistor are grounded; the first end of the first resistor is electrically connected to the enable pin of the buck chip; the first end of the third capacitor, the first end of the fourth capacitor and the first end of the fifth capacitor are electrically connected to the output pin of the buck chip, and the second end of the third capacitor, the second end of the fourth capacitor and the second end of the fifth capacitor are all grounded.

6. The night light circuit as claimed in claim 2, characterized in that: The night light circuit comprises: an inductor, wherein a first end of the inductor is electrically connected to an output end of the voltage conversion circuit, and a second end of the inductor is electrically connected to an output end of the power supply; A freewheeling diode, wherein a cathode of the freewheeling diode is electrically connected to the first end of the inductor, and an anode of the freewheeling diode is grounded.

7. The night light circuit as claimed in claim 3, characterized in that: The night light circuit includes at least one lamp component and at least one switch circuit; wherein, the first end of the lamp component is electrically connected to the power output end, the second end of the lamp component is electrically connected to the first end of the switch circuit, the second end of the switch circuit is electrically connected to the output end of the main control circuit, and the third end of the switch circuit is grounded.

8. The night light circuit as claimed in claim 7, characterized in that: At least one of the lamp assemblies includes a first lamp assembly, a second lamp assembly, a third lamp assembly, and a fourth lamp assembly, and at least one of the switch circuits includes a first switch circuit and a second switch circuit; Among them, the first lamp assembly and the second lamp assembly are connected in parallel, the third lamp assembly and the fourth lamp assembly are connected in parallel, the first end of the first switch circuit is electrically connected to the first end of the first lamp assembly and the first end of the second lamp assembly, and the first end of the second switch circuit is electrically connected to the first end of the third lamp assembly and the first end of the fourth lamp assembly.

9. The night light circuit as claimed in claim 8, characterized in that: The first switch circuit includes a first MOS transistor, a second resistor and a third resistor, and the second switch circuit includes a second MOS transistor, a fourth resistor and a fifth resistor; Wherein, a first end of the second resistor is electrically connected to the first output pin, a second end of the second resistor is connected to a first end of the third resistor, a second end of the third resistor is grounded, a common connection end of the second resistor and the third resistor is electrically connected to a gate of the first MOS transistor, and a drain of the first MOS transistor is electrically connected to the first lamp component and the second lamp component; The first end of the fourth resistor is electrically connected to the second output pin, the second end of the fourth resistor is connected to the first end of the fifth resistor, the second end of the fifth resistor is grounded, the common connection end of the fourth resistor and the fifth resistor is electrically connected to the gate of the second MOS tube, the drain of the second MOS tube is electrically connected to the third lamp component and the fourth lamp component, and the source of the first MOS tube and the source of the second MOS tube are grounded.

10. A PD fast charging charger, characterized in that: The PD fast charging charger includes a night light circuit and an output interface as described in any one of claims 1-9, and the output interface is used to be electrically connected to the power input terminal.