CN111988883B - Cabinet lamp, cabinet and control method of cabinet lamp - Google Patents
Cabinet lamp, cabinet and control method of cabinet lamp Download PDFInfo
- Publication number
- CN111988883B CN111988883B CN202010811502.8A CN202010811502A CN111988883B CN 111988883 B CN111988883 B CN 111988883B CN 202010811502 A CN202010811502 A CN 202010811502A CN 111988883 B CN111988883 B CN 111988883B
- Authority
- CN
- China
- Prior art keywords
- cabinet
- distance detection
- led lamp
- lamp panel
- main control
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000001514 detection method Methods 0.000 claims abstract description 151
- 239000003990 capacitor Substances 0.000 description 8
- 238000005286 illumination Methods 0.000 description 6
- 230000003247 decreasing effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 229910052736 halogen Inorganic materials 0.000 description 1
- 150000002367 halogens Chemical class 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical compound [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 1
- 229910052721 tungsten Inorganic materials 0.000 description 1
- 239000010937 tungsten Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
- H05B45/12—Controlling the intensity of the light using optical feedback
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/32—Pulse-control circuits
- H05B45/325—Pulse-width modulation [PWM]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a cabinet lamp, a cabinet and a control method of the cabinet lamp, wherein the cabinet lamp comprises a shell, an LED lamp panel and an electric control assembly, wherein the shell is provided with a detection hole; when the cabinet door and the cabinet body are closed, the LED lamp panel is arranged opposite to the cabinet door, and the LED lamp panel and the shell are enclosed to form an accommodating cavity; the electric control assembly is contained in the containing cavity and comprises an electric control board, a main control chip and a distance detection module, wherein the main control chip and the distance detection module are arranged on the electric control board; the distance detection module penetrates through the detection hole to detect the distance between the LED lamp panel and the cabinet door and outputs a corresponding distance detection signal to the main control chip; the main control chip is used for outputting a PWM control signal according to the received distance detection signal so as to control the brightness of the LED lamp panel. The invention improves the anti-interference capability of the cabinet lamp in the kitchen cabinet and saves the electric quantity.
Description
Technical Field
The invention relates to the technical field of illumination of kitchen utensils, in particular to a cabinet lamp, a cabinet and a control method of the cabinet lamp.
Background
At present, the cupboard lamp among the kitchen cupboard adopts the on off state of infrared geminate transistor mode perception cupboard door more, however the interference killing feature of infrared geminate transistor is poor, when kitchen cupboard door is dark, dark cupboard can absorb the infrared ray, however this kind of interference can make the cupboard lamp make the misjudgement action, misjudgement cupboard lamp is for the state of opening or closing easily, it is tired day and month, the very big waste of electric energy can be caused in the action of this kind of misjudgement, and, can not satisfy the demand that the user needs dark cupboard, user experience sense has been reduced.
Disclosure of Invention
The invention mainly aims to provide a cabinet lamp, aiming at improving the anti-interference capability of the cabinet lamp and saving electric quantity.
In order to achieve the above object, the present invention provides a cabinet lamp for a kitchen, the cabinet lamp including a cabinet body and a cabinet door, the cabinet lamp including:
a housing having a detection aperture;
the LED lamp panel is arranged opposite to the cabinet door when the cabinet door and the cabinet body are closed, and the LED lamp panel and the shell body enclose to form an accommodating cavity;
the electronic control assembly is accommodated in the accommodating cavity and comprises an electronic control board, a main control chip and a distance detection module, wherein the main control chip and the distance detection module are arranged on the electronic control board, and the distance detection module and the LED lamp panel are respectively and electrically connected with the main control chip; wherein,
the distance detection module penetrates through the detection hole to detect the distance between the LED lamp panel and the cabinet door and outputs a corresponding distance detection signal to the main control chip;
and the main control chip is used for outputting a PWM control signal according to the received distance detection signal so as to control the brightness of the LED lamp panel.
In an embodiment, the distance detection module comprises laser sensors, the number and position of which correspond to the cabinet doors.
In one embodiment, when the number of the laser sensors is multiple, the multiple laser sensors respectively detect the distance between the LED lamp panel and the cabinet door and output corresponding distance detection signals;
and the main control chip outputs a PWM control signal with the size corresponding to the laser sensor when determining that any cabinet door is opened according to the distance detection signal output by the laser sensor.
In one embodiment, when the number of the laser sensors is multiple, the multiple laser sensors respectively detect the distance between the LED lamp panel and the cabinet door and output corresponding distance detection signals;
when the main control chip determines that the cabinet doors are opened according to the distance detection signals output by the laser sensors, the main control chip compares the distance detection signals output by the laser sensors and outputs a PWM control signal corresponding to a larger distance detection signal in the distance detection signals output by the laser sensors.
In one embodiment, the electronic control assembly further comprises a power supply end and a driving circuit;
the controlled end of the LED lamp driving circuit is connected with the PWM control signal output end of the main control chip, the input end of the LED lamp driving circuit is connected with the power supply end through the LED lamp panel, and the output end of the LED lamp driving circuit is grounded;
and the LED lamp driving circuit is used for driving the LED lamp panel to gradually brighten or darken according to the received PWM control signal.
The invention also provides a cabinet for kitchen storage, which comprises a cabinet body, a cabinet door and the cabinet lamp; the cabinet lamp is arranged opposite to the cabinet door.
In addition, the invention also provides a control method of the cabinet lamp, which is applied to the cabinet lamp, wherein the cabinet lamp comprises an LED lamp panel and a distance detection module, and the control method of the cabinet lamp comprises the following steps:
acquiring a distance detection signal between the LED lamp panel and a cabinet door detected by a distance detection module;
and outputting a PWM control signal according to the received distance detection signal so as to control the brightness of the LED lamp panel.
In one embodiment, the distance detection module comprises a plurality of laser sensors, and when the number of the laser sensors is multiple, the plurality of laser sensors respectively detect the distance between the LED lamp panel and the cabinet door and output corresponding distance detection signals;
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel specifically includes:
when any cabinet door is determined to be opened according to the distance detection signal output by the laser sensor, a PWM control signal with the size corresponding to that of the laser sensor is output to control the brightness of the LED lamp panel.
In one embodiment, the distance detection module comprises a plurality of laser sensors, and when the number of the laser sensors is multiple, the plurality of laser sensors respectively detect the distance between the LED lamp panel and the cabinet door and output corresponding distance detection signals;
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel specifically includes:
when the plurality of cabinet doors are determined to be opened according to the distance detection signals output by the plurality of laser sensors, comparing the magnitude of the distance detection signals output by the plurality of laser sensors, and outputting a PWM control signal corresponding to a larger distance detection signal in the distance detection signals output by the plurality of laser sensors.
In an embodiment, the control method of the cabinet lamp further comprises the following steps:
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel specifically includes:
and outputting a PWM control signal to control the LED lamp panel to work in a dormant state when the cabinet door is determined to be opened according to the received distance detection signal and the preset opening degree is maintained for a first preset time.
In the technical scheme of the invention, the cabinet lamp comprises a shell, an LED lamp panel and an electric control assembly, wherein the shell is provided with a detection hole; when the cabinet door and the cabinet body are closed, the LED lamp panel is arranged opposite to the cabinet door, and the LED lamp panel and the shell are enclosed to form an accommodating cavity; the electric control assembly is accommodated in the accommodating cavity and comprises an electric control board, a main control chip and a distance detection module, wherein the main control chip and the distance detection module are arranged on the electric control board; the distance detection module penetrates through the detection hole to detect the distance between the LED lamp panel and the cabinet door, and outputs a corresponding distance detection signal to the main control chip; in addition, manual operation is not needed, and the main control chip can output a PWM control signal according to the received distance detection signal so as to control the brightness of the LED lamp panel to realize intelligent illumination. The invention improves the anti-interference capability of the cabinet lamp and saves electric quantity.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the embodiments or technical solutions of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic view of an embodiment of a cabinet lamp according to the present invention;
FIG. 2 is a functional block diagram of an embodiment of a cabinet lamp according to the invention;
FIG. 3 is a circuit diagram of an embodiment of a cabinet light of the present invention;
FIG. 4 is a flowchart of an embodiment of a method for controlling a cabinet lamp;
fig. 5 is a flowchart of another embodiment of a method for controlling a cabinet lamp.
The reference numbers illustrate:
reference numerals | Name (R) | Reference numerals | Name (R) |
10 | |
50 | |
11 | |
60 | LED |
20 | |
70 | |
30 | |
80 | |
40 | Distance detection module |
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the descriptions relating to "first", "second", etc. in the present invention are only used for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout is: the method comprises three parallel schemes, wherein the scheme is taken as an A/B (A/B) as an example, the scheme comprises the scheme A, the scheme B or the scheme A and the scheme B simultaneously satisfy, in addition, the technical schemes between the various embodiments can be combined with each other, but the technical schemes must be based on the realization of the technical schemes by a person skilled in the art, and when the technical schemes are mutually contradictory or can not be realized, the combination of the technical schemes is not considered to exist, and the protection scope of the invention is not within the protection scope of the invention.
The invention provides a cabinet lamp which is mainly used in a kitchen cabinet.
Referring to fig. 1 to 3, in an embodiment of the present invention, the cabinet lamp of the present invention is applied to a kitchen cabinet, which includes a cabinet body (not shown) and a cabinet door (not shown), and it should be noted that the cabinet is mainly used for storing kitchen sundries and daily necessities, not for storing a refrigerator.
The cabinet lamp of the present invention includes:
a housing 10, the housing 10 having a detection hole 11;
the LED lamp panel 20 is arranged opposite to the cabinet door when the cabinet door and the cabinet body are closed, and the LED lamp panel 20 and the shell 10 enclose to form an accommodating cavity (not shown in the figure); it should be noted that the number of cabinet doors on the cabinet may be one or more, and the cabinet doors may be set in a single-opening type, a double-opening type or a drawing type, and the color of the cabinet doors may be set in a dark color series or other specific forms without limitation;
the electronic control assembly is accommodated in the accommodating cavity and comprises an electronic control board (not shown in the figure), a main control chip 30 and a distance detection module 40, wherein the main control chip 30 and the distance detection module 40 are arranged on the electronic control board, and the distance detection module 40 and the LED lamp panel 20 are respectively and electrically connected with the main control chip 30; the main control chip 30 may be implemented by a microprocessor such as a single chip, a DSP or an FPGA, and in some other embodiments, may also be implemented by a programmable logic controller PLC, which is not limited herein.
The distance detection module 40 passes through the detection hole 11 to detect the distance between the LED lamp panel 20 and the cabinet door, and outputs a corresponding distance detection signal to the main control chip 30; in order to prevent misjudgment of dark-color series cabinet doors and ambient light to the distance detection module 40, the distance detection module 40 can be realized by adopting a laser detection chip or a laser sensor to improve the anti-interference performance of the laser detection chip or the laser sensor;
and the main control chip 30 is configured to output a PWM control signal according to the received distance detection signal, so as to control the brightness of the LED lamp panel 20. In order to save energy, when the detected distance detection signal is gradually increased, the duty ratio of the PWM control signal is controlled to be gradually increased to control the LED lamp panel 20 to be gradually lightened, and when the detected distance detection signal is gradually decreased, the duty ratio of the PWM control signal is controlled to be gradually decreased to be darkened.
In addition, the electronic control assembly further comprises a power module 50, wherein the power module 50 is connected with the main control chip 30; the power module 50 may conveniently supply power to the modules such as the main control chip 30 and the distance detection module 40, and the power module 50 may adopt a power chip, or may be composed of a rectifier bridge, a filter circuit and a voltage stabilizing circuit, which is not specifically limited herein.
In the invention, the distance detection module 40 detects the distance between the LED lamp panel 20 and the cabinet door, and outputs a distance detection signal to the main control chip 30, and the main control chip 30 is used for controlling the main control chip 30 to output a PWM control signal to control the brightness of the LED lamp panel 20 according to the received distance detection signal, because the distance detection module 40 is not easily affected by the external light and the color of the cabinet door in the detection process, the distance detection module 40 improves the anti-interference performance of the cabinet lamp, so the cabinet lamp of the invention can be used not only in light-color kitchen cabinets, but also in deep-color kitchen cabinets to meet the user requirements, in addition, manual operation is not required, the main control chip 30 can automatically control the LED lamp panel 20 to gradually brighten or dim according to the state of opening or closing the cabinet door to realize the brightness change of the LED lamp panel 20, thereby realizing intelligent illumination and saving a large amount of electric energy.
In an embodiment, the distance detection module 40 comprises laser sensors, the number and position of which correspond to the cabinet doors. For example, when the number of cabinet doors is one, the number of the laser sensors is also one, when the number of cabinet doors is two, the number of the laser sensors is two, when the number of cabinet doors is multiple, the number of the laser sensors is multiple, and so on, and the description is omitted here.
In an embodiment, referring to fig. 1 to 3, when the number of the laser sensors is multiple, the multiple laser sensors respectively detect a distance between the LED lamp panel 20 and the cabinet door, and output corresponding distance detection signals;
the main control chip 30 outputs a PWM control signal having a size corresponding to the laser sensor when it is determined that any one of the cabinet doors is opened according to the distance detection signal output from the laser sensor. For example, the number of the laser sensors is two, and the two laser sensors are respectively a first laser sensor and a second laser sensor, and the first laser sensor and the second laser sensor are respectively connected with the main control chip 30; the first laser sensor is configured to detect a distance detection signal between the cabinet lamp and a first cabinet door, and output a first distance detection signal to the main control chip 30; the second laser sensor is configured to detect a distance detection signal between the cabinet lamp and a second cabinet door, and output a second distance detection signal to the main control chip 30; when the first cabinet door or the second cabinet door is in an open state, the main control chip 30 controls the first laser sensor or the second laser sensor to output a PWM control signal of a corresponding magnitude to control the LED lamp panel 20 to gradually become bright or dark.
In an embodiment, referring to fig. 1 to 3, when the number of the laser sensors is multiple, the multiple laser sensors respectively detect a distance between the LED lamp panel 20 and the cabinet door, and output corresponding distance detection signals;
when the main control chip 30 determines that all the cabinet doors are opened according to the distance detection signals output by the plurality of laser sensors, the main control chip compares the magnitude of the distance detection signals output by the plurality of laser sensors and outputs a PWM control signal corresponding to a larger distance detection signal among the distance detection signals output by the plurality of laser sensors. For example, the number of the laser sensors is two, the two laser sensors are respectively a first laser sensor U2 and a second laser sensor U3, the first laser sensor U2 and the second laser sensor U3 are respectively arranged corresponding to the first cabinet door and the second cabinet door, when the main control chip 30 detects that the first cabinet door and the second cabinet door are both in an open state, and the first laser sensor U2 detects that the distance between the cabinet lamp and the first cabinet door is greater than the distance between the cabinet lamp and the second cabinet door detected by the second laser sensor U3, the main control chip 30 outputs a corresponding PWM control signal according to the distance detection signal between the first laser sensor U2 and the first cabinet door, so as to control the LED lamp panel 20 to gradually turn on or turn dark.
Specifically, in an embodiment, referring to fig. 1 to 3, the distance detection module 40 includes a first laser sensor U2 and a second laser sensor U3, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a first capacitor C1, a second capacitor C2, a third capacitor C3, and a fourth capacitor C4; in order to improve the anti-interference performance, the models of the first laser sensor U2 and the second laser sensor U3 are VL53L0X.
The first laser sensor U2 has an enable terminal XSHUT1, an initialization terminal VL530LX _ INIT1, a clock terminal SCL _ L53L0X, and a data terminal SDA _ L53L0X, which can enable the first laser sensor U2 to more accurately detect a distance detection signal between the cabinet lamp and the first cabinet door, wherein the enable terminal XSHUT1 is connected to the first enable terminal XSHUT1 of the main control chip U1, the enable terminal XSHUT1 is at a low level, and the enable terminal XSHUT1 is at a high level, so that the first laser sensor U2 can be reset and not operate; the initialization terminal VL530LX _ INIT1 is connected with the first initialization terminal VL530LX _ INIT1 of the main control chip U1, and the initialization terminal VL530LX _ INIT1 is used for providing a good output port for data transmission; the clock terminal SCL _ L53L0X is connected with the clock terminal SCL _ L53L0X of the main control chip U1, and the clock terminal SCL _ L53L0X is used for providing a stable clock for data communication; the data end SDA _ L53L0X is connected to the data end SDA _ L53L0X of the main control chip U1, and the data end SDA _ L53L0X is used for transmitting the acquired distance data; similarly, the second laser sensor U3 has an enable terminal XSHUT2, an initialization terminal VL53L0X _ INIT2, a clock terminal SCL _ L53L0X, and a data terminal SDA _ L53L0X; these ports enable the second laser sensor U3 to more accurately detect a distance detection signal between the cabinet lamp and the second cabinet door, wherein the enable terminal XSHUT2 is connected to the second enable terminal XSHUT2 of the main control chip 30, the second laser sensor U3 is reset and does not operate when the enable terminal XSHUT2 is at a low level, and the second laser sensor U3 starts to operate when the enable terminal XSHUT2 is at a high level; the initialization terminal VL53L0X _ INIT2 is connected to the second initialization terminal VL53L0X _ INIT2 of the main control chip 30, and the initialization terminal VL53L0X _ INIT2 is used for providing a good output port for data transmission; the clock terminal SCL _ L53L0X is connected to the clock terminal SCL _ L53L0X of the main control chip 30, and the clock terminal SCL _ L53L0X is used for providing a stable clock for data communication; the data end SDA _ L53L0X is connected to the data end SDA _ L53L0X of the main control chip 30, and the data end SDA _ L53L0X is used to transmit the acquired distance data;
the model of the main control chip U1 may be AS3031U, and the power supply module 5050 includes a power supply conversion chip U4, a seventh capacitor C7, an eighth capacitor C8, a ninth capacitor C9, and a tenth capacitor C10;
the power conversion chip U4 can convert the voltage of the VIN input terminal from 3.3V to 5V into a voltage of 2.8V to meet the working requirements of the main control chip U1 and other modules.
When determining that any one of the first cabinet door and the second cabinet door is opened according to the distance detection signal output by the first laser sensor U2 or the second laser sensor U3, the main control chip 30 outputs a PWM control signal having a size corresponding to the laser sensor to output a PWM control signal having a size corresponding to the first laser sensor U2 or the second laser sensor U3 to control the LED lamp panel 20 to become gradually bright or dark.
Or, when determining that both the first cabinet door and the second cabinet door are opened according to the distance detection signals output by the first laser sensor U2 and the second laser sensor U3, the main control chip 30 compares the magnitudes of the distance detection signals output by the first laser sensor U2 and the second laser sensor U3, and outputs a PWM control signal corresponding to a larger distance detection signal among the distance detection signals output by the first laser sensor U2 and the second laser sensor U3 to control the LED lamp panel 20 to gradually become bright or dark.
In one embodiment, referring to fig. 3, the electronic control assembly further comprises a power supply terminal and an LED lamp driving circuit 60;
the controlled end of the LED lamp driving circuit 60 is connected to the PWM control signal output end of the main control chip 30, the input end of the LED lamp driving circuit 60 is connected to the power supply end through the LED lamp panel 20, and the output end of the LED lamp driving circuit 60 is grounded;
the LED lamp driving circuit 60 is configured to drive the LED lamp panel 20 to gradually become bright or dark according to the received PWM control signal.
Specifically, the LED lamp driving circuit 60 includes a MOS transistor Q1, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, and a thirteenth resistor R13; it should be noted that, the MOS transistor Q1 may also be replaced by another switching transistor, such as a triode or an IGBT, and the disclosure is not limited in this respect.
The power end VIN, the first end of the ninth resistor R9, the first end of the tenth resistor R10, and the first end of the eleventh resistor R11 are interconnected, the second end of the ninth resistor R9, the second end of the tenth resistor R10, the second end of the eleventh resistor R11, and the anode LED + of the LED lamp panel 20 are interconnected, the PWM controlled end PWM of the main control chip 30 is connected to the first end of the twelfth resistor R12, the second end of the twelfth resistor R12, the first end of the thirteenth resistor R13, and the gate of the MOS transistor Q1 are interconnected, the drain of the MOS transistor Q1 is connected to the cathode LED-of the LED lamp panel 20, and the second end of the thirteenth resistor R13 and the source of the MOS transistor Q1 are grounded GND;
when the voltage signal output by the PWM controlled end of the main control chip 30 is greater than a certain voltage signal, the gate and the source of the MOS transistor Q1 are turned on to control the LED lamp panel 20 to light up, and when the PWM control signal received by the LED lamp driving circuit 60 is gradually increased, that is, the voltage signal output by the PWM controlled end of the main control chip 30 is gradually increased, the LED lamp panel 20 is gradually lightened until the output duty ratio is 100% and becomes brightest, and in addition, when the PWM control signal received by the LED lamp driving circuit 60 is gradually decreased, that is, when the voltage signal output by the PWM controlled end of the main control chip 30 is gradually decreased, the LED lamp panel 20 is gradually darkened until the output duty ratio is 0% and is extinguished. Thus, the LED lamp driving circuit 60 is configured to receive the PWM control signal to drive the LED lamp panel 20 to gradually become bright or dark, so as to realize intelligent power consumption and save electric energy. The certain voltage signal is set according to a user requirement, and is not specifically limited herein.
In one embodiment, to facilitate storing the distance detection signal detected by the distance detection module 40, referring to fig. 3, the electronic control assembly further includes a storage circuit 70;
the storage circuit 70 is connected to the main control chip 30, and is configured to store the distance detection signal detected by the distance detection module 40. The storage module can be a storage chip, such as an EEPROM or a FLASH;
specifically, the memory module includes a memory chip U5, a twelfth resistor R12 and a thirteenth resistor R13, where the type of the memory chip U5 may be a24C02, a clock terminal SCL0 of the memory chip U5 is connected to the clock terminal SCL0 of the main control chip 30, and a data terminal SDA0 of the memory chip U5 is connected to the data terminal SDA0 of the main control chip 30.
In order to improve the accuracy of the distance measurement, in an embodiment, the electronic control assembly further includes a calibration circuit 80, and the calibration circuit 80 is connected to the main control chip 30;
the calibration circuit 80 is configured to output a distance calibration signal to trigger the main control chip 30 to calibrate the distance detection signal. The calibration circuit 80 includes a first calibration key S1 and/or a second calibration key S2, a first end of the first calibration key S1 and a first end of the second calibration key S2 are connected to the ground GND, a second end of the first calibration key S1 is connected to a first calibration end Cali of the main control chip 30, and a second end of the second calibration key S2 is connected to a second calibration end Cali1 of the main control chip 30. For example, when the first calibration key S1 is pressed, the main control chip 30 may automatically calibrate the laser ranging sensor in the distance detection module 40, which is convenient for a user to calibrate.
The present invention also provides a cabinet (not shown) for storing articles in a kitchen, which in one embodiment comprises a cabinet body (not shown), a cabinet door (not shown) and a cabinet light as described above;
the cabinet lamp is arranged opposite to the cabinet door. The specific structure of the cabinet refers to the above embodiments, and since the cabinet adopts all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and no further description is given here.
In an embodiment of the present invention, referring to fig. 1 to 5, the cabinet lamp includes an LED lamp panel 20 and a distance detection module 40, and the method for controlling the cabinet lamp includes the following steps:
step S10, obtaining a distance detection signal between the LED lamp panel 20 and the cabinet door, which is detected by the distance detection module 40;
and step S20, outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel 20. The LED lamp panel 20 of the present invention can also be replaced by a fluorescent lamp, an incandescent lamp, a halogen tungsten lamp, etc., which is not limited herein.
In the scheme, when the light in the room is insufficient or the light is insufficient due to other shelters, the cabinet lamp can be used for locally illuminating the cabinet; the number of cabinet doors on the cabinet can be one or more, the cabinet doors can be arranged in a single-opening type, a double-opening type or a drawing type mode, and the like, and the colors of the cabinet doors can be dark color series or other types, and the specific situation is not limited; this cupboard lamp includes LED lamp plate 20, main control chip 30 and distance detection module 40, and wherein, main control chip 30 can adopt microprocessors such as singlechip, DSP or FPGA to realize, in some other embodiments, can also adopt programmable logic controller PLC to realize, does not do the restriction here.
First, a distance detection signal between the LED lamp panel 20 and the cabinet door detected by the distance detection module 40 is obtained and output to the main control chip 30, and then the main control chip 30 outputs a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel 20. When the cabinet doors are opened and closed differently, the LED lamp panels 20 output different brightness to meet different requirements of users, for example, when the distance detection signals detected by the main control chip 30 become larger gradually from closing to opening of the cabinet doors, at this time, the main control chip 30 controls the duty ratio of the PWM control signal to increase gradually to control the LED lamp panels 20 to become brighter gradually to meet the lighting requirements of the users, and when the distance detection signals detected by the main control chip 30 decrease gradually from opening to closing of the cabinet doors, at this time, the main control chip 30 controls the duty ratio of the PWM control signal to decrease gradually to control the LED lamp panels 20 to become darker gradually to meet the energy saving requirements desired by the users. In addition, according to different natural light of the environment, the main control chip 30 controls different duty ratios of the output PWM control signals to realize that the LED lamp panel 20 outputs different brightness to meet diversified requirements of users; for example, when the light is sufficient in the daytime, the main control chip 30 controls the duty ratio of the output PWM control signal to be smaller relatively at night, so as to be beneficial to energy saving, and when the light is dark at night, the main control chip 30 controls the duty ratio of the output PWM control signal to be larger relatively in the daytime, so as to be beneficial to illumination. In addition, without manual operation, the main control chip 30 may automatically control the LED lamp panel 20 to gradually become bright or dark according to the state of opening or closing the cabinet door to realize brightness change of the LED lamp panel 20, thereby realizing intelligent illumination to save a large amount of electric energy.
In an embodiment of the present invention, referring to fig. 1 to 5, in order to reduce the influence of the ambient light, the distance detection module 40 may use a laser sensor; the distance detection module 40 includes a plurality of laser sensors, and when the number of the laser sensors is multiple, the plurality of laser sensors respectively detect the distance between the LED lamp panel 20 and the cabinet door, and output corresponding distance detection signals;
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel 20 specifically includes:
step S21, when it is determined that any one cabinet door is opened according to the distance detection signal output by the laser sensor, outputting a PWM control signal having a size corresponding to the laser sensor to control the brightness of the LED lamp panel 20.
It should be noted that, even when only one of the cabinet doors is opened, the laser sensor for detecting the LED lamp panel 20 and the cabinet door controls the main control chip 30 to output a PWM control signal with a size corresponding to the laser sensor, so as to control the brightness of the LED lamp panel 20 to realize illumination.
In an embodiment of the present invention, referring to fig. 1 to 5, the distance detection module 40 includes a plurality of laser sensors, and when the number of the laser sensors is multiple, the plurality of laser sensors respectively detect a distance between the LED lamp panel 20 and the cabinet door, and output corresponding distance detection signals;
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel 20 specifically includes:
and S22, when the plurality of cupboard doors are determined to be opened according to the distance detection signals output by the plurality of laser sensors, comparing the distance detection signals output by the plurality of laser sensors, and outputting a PWM control signal corresponding to a larger distance detection signal in the distance detection signals output by the plurality of laser sensors.
It should be noted that, when the plurality of cabinet doors are opened and the opening and closing angles of each cabinet door are different, the plurality of laser sensors output different distance detection signals to the main control chip 30, and the main control chip 30 compares a larger value of the distance detection signals output by the plurality of laser sensors, and outputs a corresponding PWM control signal by using a PWM control signal corresponding to a maximum value of the distance detection signals as a control reference, so as to control the brightness of the LED lamp panel 20, thereby implementing automatic control.
In an embodiment of the present invention, referring to fig. 1 to 5, the method for controlling a cabinet lamp further includes the following steps:
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel 20 specifically includes:
and step S23, outputting a PWM control signal to control the LED lamp panel 20 to operate in a sleep state when it is determined that the cabinet door is opened and the preset opening degree is maintained for a first preset time according to the received distance detection signal.
When the user accesses the article, the cabinet door is in an open state and can maintain a preset opening degree, when the time of maintaining the preset opening degree is within a first preset time, the main control chip 30 can consider that the user takes the article and can return later, the main control chip 30 can control the LED lamp panel 20 to work in a dormant state, when the user returns, the main control chip 30 outputs a PWM control signal to control the LED lamp panel 20 to be awakened to illuminate, when the time of maintaining the preset opening degree is greater than the first preset time, the main control chip 30 can consider that the user forgets to close the cabinet door, the main control chip 30 can control the LED lamp panel 20 to be extinguished so as to save the electric energy, for example, when the time is set to 30 minutes at the first preset time, when the user accesses the article and the cabinet door is opened and maintains the preset opening degree within 30 minutes, the main control chip 30 can control the LED lamp panel 20 to work in the dormant state and to be extinguished, and when the user returns, the main control chip 30 can control chip can control the LED lamp panel to output a PWM control signal to control the LED 20 to be awakened to be extinguished so as to illuminate, when the user accesses the article and maintains the preset opening degree and the cabinet door is more than 30 minutes, the main control chip 30 minutes, and the main control chip can consider that the main control chip can close the LED lamp panel 20 to save the electric energy. The first preset time may be set according to a user requirement, and is not limited herein.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (6)
1. A cabinet lamp applied to a cabinet of a kitchen, the cabinet comprising a cabinet body and a cabinet door, the cabinet lamp comprising:
a housing having a detection aperture;
the LED lamp panel is arranged opposite to the cabinet door when the cabinet door and the cabinet body are closed, and the LED lamp panel and the shell enclose to form an accommodating cavity;
the electronic control assembly is accommodated in the accommodating cavity and comprises an electronic control board, a main control chip and a distance detection module, wherein the main control chip and the distance detection module are arranged on the electronic control board, and the distance detection module and the LED lamp panel are respectively and electrically connected with the main control chip; wherein,
the distance detection module penetrates through the detection hole to detect the distance between the LED lamp panel and the cabinet door and outputs a corresponding distance detection signal to the main control chip;
the main control chip is used for outputting a PWM control signal according to the received distance detection signal so as to control the brightness of the LED lamp panel;
the distance detection module comprises a plurality of laser sensors, and when the number of the laser sensors is multiple, the plurality of laser sensors respectively detect the distance between the LED lamp panel and the cabinet door and output corresponding distance detection signals;
when the main control chip determines that the cabinet doors are opened according to the distance detection signals output by the laser sensors, the main control chip compares the distance detection signals output by the laser sensors and outputs a PWM control signal corresponding to a larger distance detection signal in the distance detection signals output by the laser sensors.
2. The cabinet light of claim 1, wherein the number and location of the laser sensors correspond to cabinet doors.
3. The cabinet light of claim 1, wherein the electrical control assembly further comprises power terminals and a drive circuit;
the controlled end of the LED lamp driving circuit is connected with the PWM control signal output end of the main control chip, the input end of the LED lamp driving circuit is connected with the power supply end through the LED lamp panel, and the output end of the LED lamp driving circuit is grounded;
and the LED lamp driving circuit is used for driving the LED lamp panel to gradually brighten or darken according to the received PWM control signal.
4. A cabinet for kitchen storage, comprising a cabinet body, a cabinet door and a cabinet lamp according to any one of claims 1 to 3;
the cabinet lamp is arranged opposite to the cabinet door.
5. A control method of a cabinet lamp applied to the cabinet lamp as claimed in any one of claims 1 to 3, wherein the cabinet lamp comprises an LED lamp panel and a distance detection module, the control method of the cabinet lamp comprises the following steps:
acquiring a distance detection signal between the LED lamp panel and the cabinet door detected by the distance detection module;
outputting a PWM control signal according to the received distance detection signal so as to control the brightness of the LED lamp panel;
the distance detection module comprises a plurality of laser sensors, and when the number of the laser sensors is multiple, the plurality of laser sensors respectively detect the distance between the LED lamp panel and the cabinet door and output corresponding distance detection signals;
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel specifically includes:
when the plurality of cabinet doors are determined to be opened according to the distance detection signals output by the plurality of laser sensors, comparing the magnitude of the distance detection signals output by the plurality of laser sensors, and outputting a PWM control signal corresponding to a larger distance detection signal in the distance detection signals output by the plurality of laser sensors.
6. The cabinet lamp control method according to claim 5, further comprising the steps of:
the step of outputting a PWM control signal according to the received distance detection signal to control the brightness of the LED lamp panel specifically includes:
and outputting a PWM control signal to control the LED lamp panel to work in a dormant state when the cabinet door is determined to be opened according to the received distance detection signal and the preset opening degree is maintained for a first preset time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010811502.8A CN111988883B (en) | 2020-08-12 | 2020-08-12 | Cabinet lamp, cabinet and control method of cabinet lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010811502.8A CN111988883B (en) | 2020-08-12 | 2020-08-12 | Cabinet lamp, cabinet and control method of cabinet lamp |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111988883A CN111988883A (en) | 2020-11-24 |
CN111988883B true CN111988883B (en) | 2022-11-15 |
Family
ID=73435410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010811502.8A Active CN111988883B (en) | 2020-08-12 | 2020-08-12 | Cabinet lamp, cabinet and control method of cabinet lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111988883B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101953577A (en) * | 2010-07-28 | 2011-01-26 | 宁波方太厨具有限公司 | Cabinet with touch induction lamp |
CN102907924A (en) * | 2012-11-06 | 2013-02-06 | 南通芯迎设计服务有限公司 | Cabinet with light-emitting diode (LED) lamps |
CN203633744U (en) * | 2013-10-30 | 2014-06-11 | 浙江花为媒集团有限公司 | Cabinet with intelligent adjustment lamp |
CN205319528U (en) * | 2016-01-07 | 2016-06-15 | 江西威力特生物科技有限公司 | Prevent wind type switch board |
CN205782318U (en) * | 2016-05-25 | 2016-12-07 | 上虞舜和照明电器有限公司 | A kind of human body sensing LED cabinet lamp |
CN206280935U (en) * | 2016-12-20 | 2017-06-27 | 广东好掌柜展示制品有限公司 | A kind of showcase of adjustable illuminating brightness |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070241259A1 (en) * | 2006-04-18 | 2007-10-18 | Robert Pandorf | Room light responsive cabinet lighting apparatus |
-
2020
- 2020-08-12 CN CN202010811502.8A patent/CN111988883B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101953577A (en) * | 2010-07-28 | 2011-01-26 | 宁波方太厨具有限公司 | Cabinet with touch induction lamp |
CN102907924A (en) * | 2012-11-06 | 2013-02-06 | 南通芯迎设计服务有限公司 | Cabinet with light-emitting diode (LED) lamps |
CN203633744U (en) * | 2013-10-30 | 2014-06-11 | 浙江花为媒集团有限公司 | Cabinet with intelligent adjustment lamp |
CN205319528U (en) * | 2016-01-07 | 2016-06-15 | 江西威力特生物科技有限公司 | Prevent wind type switch board |
CN205782318U (en) * | 2016-05-25 | 2016-12-07 | 上虞舜和照明电器有限公司 | A kind of human body sensing LED cabinet lamp |
CN206280935U (en) * | 2016-12-20 | 2017-06-27 | 广东好掌柜展示制品有限公司 | A kind of showcase of adjustable illuminating brightness |
Also Published As
Publication number | Publication date |
---|---|
CN111988883A (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201037611Y (en) | LED desk lamp with automatic light stabilizing function | |
CN205336574U (en) | Indoor intelligent LED lighting system who combines natural light | |
CN203467038U (en) | Refrigerator light source adjusting device | |
CN204598431U (en) | A kind of visual intelligent illuminator | |
CN105050301A (en) | Mobile phone Bluetooth-based indoor Intelligent LED lighting system design | |
CN201797628U (en) | Intelligent lighting control system | |
CN100534256C (en) | Respiration lamp controlling method and its device | |
CN110572895A (en) | Primary and secondary lighting device, control method of primary and secondary lighting device and intelligent lighting system | |
CN204014161U (en) | Sound-controlled bed-side lamp | |
CN111988883B (en) | Cabinet lamp, cabinet and control method of cabinet lamp | |
CN205179441U (en) | Indoor LED lighting system of intelligence bluetooth of mobile phone control | |
TWM523811U (en) | Indication lamp with automatic brightness adjustment function and electronic including the same | |
CN201910957U (en) | Automatic dimming inductor | |
CN201126297Y (en) | LED illumination, fresh-keeping modular control circuit and refrigerator containing the circuit | |
CN204318017U (en) | With the intelligent LED locker of microswitch | |
CN202841594U (en) | Dimmable lamp digital display controller | |
CN108549274A (en) | A kind of night self-induction desk lamp | |
CN203731133U (en) | LED light engine module and lighting device | |
CN204573954U (en) | A kind of panel light with intelligent dimming sensor | |
CN201114963Y (en) | Electronic dimmer | |
CN209309777U (en) | Multi-door cabinet body lighting device and multi-door cabinet body device | |
CN101938875A (en) | Intelligent illumination control system and control method thereof | |
CN104433352A (en) | Intelligent LED locker with micro switch | |
CN202907270U (en) | Touch type LED controller | |
CN108684100B (en) | Mirror lamp with memory function |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |