[0038] Such as figure 1 As shown, the LED table lamp with adjustable color temperature and brightness of the present invention includes a table lamp base 1, a table lamp fixing bracket 2, a table lamp base 3, an LED light source, a light source drive module, a micro control processing unit, a signal acquisition module, a control panel and a power supply module.
[0039] The table lamp fixing bracket 2 is installed on the table lamp base 3 through a rotating structure, which supports the lamp holder 1 of the table lamp and can rotate 360 degrees. The lamp holder 1 of the table lamp is connected to the upper end of the table lamp fixing bracket 2 through an angle adjustment structure, and can be adjusted up and down by 180 degrees, which is convenient for expanding the lighting range of the table lamp. The LED light source is installed on the lamp holder 1 of the table lamp, and is composed of 4 kinds of independent basic color temperature LED light sources arranged and combined together. The 4 independent basic color temperatures are 2700K, 4000K, 5500K, and 7000K. There are no strict requirements on the arrangement of LED light sources of various color temperatures, and they can be arranged individually or mixed in rows according to the shape or optical structure of the light emitting surface of the table lamp. The LED light source of each color temperature is connected with the corresponding light source driving module.
[0040] The power supply module adopts an external switching power supply 6, and the external switching power supply 6 is connected to the voltage stabilizer and the light source driving module inside the lamp holder 3 through the power cord 7. The voltage stabilizer is respectively connected with the signal acquisition module and the micro-control processing unit. The external switching power supply 6 converts 220V city power into 12V direct current and provides it to the light source drive module and the voltage stabilizer inside the lamp holder 3, which converts the 12V direct current into 5V direct current and supplies it to the micro control processing unit and Signal acquisition module.
[0041] The control panel is set on the table lamp base 3 and consists of 7 color temperature control switches 4 and 7 brightness control switches 5. The color temperature control switch 4 and the brightness control switch 5 can be capacitive touch sensors, and the signal acquisition module can be touch sensors. The color temperature control switch and the brightness control switch are connected to the micro control processing unit through the signal acquisition module, and the micro control processing unit is connected to each light source driving module. The signal acquisition module is responsible for receiving the sensing signals of the color temperature control switch and the brightness control switch and transmitting them to the micro-control processing unit. The micro-control processing unit outputs control signals to the subsequent light source driving module according to the preset control strategy. The light source drive module adopts a step-down power supply topology. Its internal main control IC detects the current value output by the power supply module, and adjusts the 12V output voltage of the external switching power supply 6 to the received pulse width modulation signal of the micro control processing unit. 10V, drive the LED light source corresponding to the color temperature to adjust the brightness and color temperature of the table lamp.
[0042] Such as image 3 As shown, the LED desk lamp control system with adjustable color temperature and brightness of the present invention includes:
[0043] Sensor interface: Responsible for receiving the power switch, color temperature control switch and brightness control switch sensing signals transmitted by the signal acquisition module; the power switch can be a key switch or touch sensor switch set on the lamp base alone, or any color temperature can be controlled The switch or brightness control switch is set to the power switch.
[0044] Sensing signal judgment module: used to judge whether the sensing signal is the lamp on signal, the lamp off signal or the color temperature and brightness adjustment signal of the lamp on state; if the sensing signal is the lamp on signal, the light source is output according to the color temperature and brightness state when the lamp was turned off last time Drive module strobe signal and brightness adjustment control signal; if the sensing signal is the lamp off signal, save the current lamp state as the initial state of the next lamp turning on; if the sensing signal is the color temperature and brightness adjustment signal of the lamp on state, judge Which path is the color temperature control switch sensing signal or the brightness control switch sensing signal; the brightness adjustment control signal can be a pulse width modulation signal or a threshold level control signal.
[0045] Color temperature adjustment module: According to the color temperature control switch sensing signal transmitted by the signal acquisition module, the corresponding light source drive module strobe signal is output to drive the LED light source with the corresponding color temperature to emit light;
[0046] Brightness adjustment module: According to the brightness control switch induction signal output by the signal acquisition module, the pulse width modulation signal output can also be a threshold level control signal to adjust the brightness of the LED light source.
[0047] Such as Figure 4 As shown, the color temperature and brightness adjustable LED desk lamp control method of the present invention includes the following steps:
[0048] step one
[0049] First connect the power cord 7 to the external switching power supply 6, and connect to the 220V AC power supply; then touch the power switch to turn on the desk lamp after a certain delay. The initial working color temperature and brightness of the desk lamp are the state when it was turned off last time;
[0050] Step two
[0051] Touch any color temperature control switch according to lighting needs, receive the color temperature control switch sensing signal through the signal acquisition module and transmit it to the micro control processing unit; the micro control processing unit outputs the corresponding color temperature control switch sensing signal according to the color temperature control switch transmitted by the signal acquisition module The light source drive module strobe signal to drive the corresponding color temperature LED light source to emit light; for example, touch the first color temperature control switch, the micro-control processing unit controls the output current of the first color temperature light source drive module to drive the 2700K color temperature LED light source to emit light; Touch the second color temperature control switch, the micro-control processing unit controls the output current of the first and second color temperature light source drive modules, and drives the 2700K, 4000K color temperature LED light source to emit light to obtain 3300K color temperature light; touch the third color temperature control switch, micro The control processing unit controls the output current of the second color temperature light source driving module, drives the 4000K color temperature LED light source to emit light, and so on to realize the adjustment of 7 color temperatures of 2700K, 3300K, 4000K, 4700K, 5500K, 6200K, 7000K.
[0052] Step three
[0053] Touch any brightness control switch according to lighting needs, receive the brightness control switch sensing signal through the signal acquisition module and transmit it to the micro control processing unit; the micro control processing unit outputs the corresponding sensing signal according to the brightness control switch transmitted by the signal acquisition module The output pulse width modulation signal or threshold level control signal can realize the adjustment of the brightness of the LED light source. There are two ways to adjust the brightness. The first is to use 6 brightness control switches to make the micro-control processing unit output pulse width modulation signals with different duty cycles or threshold level control signals to achieve 6-level brightness adjustment. A brightness control switch is used to adjust the brightness by touching the time. The length enables the micro-control processing unit to output pulse width modulation signals with different duty cycles to achieve continuous adjustment of 0-100% brightness; the second type is to use 7 brightness control switches, touch the first brightness control switch, and touch the time To achieve continuous adjustment of 0-15% brightness, touch the second brightness control switch, and achieve continuous adjustment of 15-30% brightness through the length of the touch time, and so on to achieve continuous adjustment of 0-100% brightness.
[0054] Step Four
[0055] Turn off the power switch, the micro-control processing unit saves the current status of the lamp, as the initial state of the next lamp is turned on, after a certain delay, the lamp will automatically turn off, and the next time it is turned on, it will memorize and restore the working state of the previous shutdown.
[0056] The present invention is not limited to the above-mentioned embodiments. The type of color temperature, the number of color temperature control switches and the number of brightness control switches of the LED light source in the LED light source can be designed according to actual needs. The power supply module can also use a built-in switching power supply, or a built-in transformer can be used to convert 220V AC to 12V and 5V DC. The color temperature control switch and the brightness control switch can also be a button type mechanical switch, the brightness control switch can also be a knob switch to achieve continuous brightness adjustment, and the signal acquisition module can also use a pressure sensor. The power module can also be composed of a power frequency transformer and a rectifier filter circuit. Therefore, any simple modification made on the basis of the technical solution of claim 1 of the present invention shall fall within the scope of protection intended by the present invention.