LED lamp brightness control method and LED lamp

By using micro cameras and brightness sensors in LED lamps to obtain image and brightness data, calculate the dust accumulation level and ambient brightness characteristics, and dynamically adjust the voltage to compensate for dust accumulation and ambient light brightness interference, the problem of inaccurate brightness control of traditional LED lamps is solved, and more precise transmittance adjustment and comfort improvement are achieved.

CN120701928APending Publication Date: 2025-09-26JIANGXI JINGKE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511124295.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-12
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

Traditional LED lamp brightness control methods rely on a single photosensor and do not take into account the dust accumulation on the lampshade, resulting in inaccurate brightness control.

Method used

The degree of dust accumulation is determined by obtaining the image of the lampshade through a micro camera, and the ambient brightness data is obtained by combining with the brightness sensor. The dust accumulation level and ambient brightness characteristics of each area are calculated, and regional differentiated transmittance adjustment is performed. The voltage is dynamically adjusted to compensate for the interference of dust accumulation and ambient light brightness.

Benefits of technology

The accuracy and comfort of LED lamp brightness control are improved, and more precise transmittance adjustment is achieved by considering the combined effects of dust accumulation and ambient light brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120701928A_ABST
    Figure CN120701928A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of LED lamp control, and particularly relates to an LED lamp brightness control method and an LED lamp, and the method comprises the steps: obtaining an image of a lampshade, and determining the dust deposition degree data of each region of the lampshade; acquiring environment brightness data of each area of the lampshade; according to the dust deposition degree data of each area of the lampshade, determining the dust deposition grade of each area of the lampshade; determining a first reference light transmittance of each area of the lampshade; determining a second reference light transmittance of each area of the lampshade according to the ambient brightness data of each area of the lampshade; performing regional differentiation fusion based on the first reference light transmittance and the second reference light transmittance of each region of the lampshade to obtain a third reference light transmittance of each region of the lampshade; and adjusting the voltage of each area of the lampshade according to the third reference light transmittance of each area of the lampshade. Based on the method, the light transmittance of each area of the lampshade is adjusted according to the dust accumulation condition of the lampshade and the interference condition of the ambient light brightness, and the dimming accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of LED lamp control, and in particular relates to a method for controlling the brightness of an LED lamp and an LED lamp. Background Art

[0002] LED lamps refer to devices that can transmit, distribute and change the light distribution of LED light sources. They include all components required to fix and protect the LED light source in addition to the LED light source, as well as the circuit accessories necessary to connect to the power supply.

[0003] Traditional LED lamp brightness control methods typically rely on a single photosensor to detect ambient brightness and adjust the LED drive current or voltage to achieve brightness control. However, this method does not take into account the accumulation of dust in the LED lamp (for example, dust accumulated on the lampshade can also affect the brightness). These LED lamp brightness control methods rely on a relatively single parameter and cannot achieve more accurate brightness control of the LED lamp. Summary of the Invention

[0004] The embodiments of the present application provide a method for controlling the brightness of an LED lamp and an LED lamp, which can solve the problem that in traditional methods for controlling the brightness of LED lamps, the brightness of the LED lamp cannot be accurately controlled based on relatively single parameters.

[0005] In a first aspect, an embodiment of the present application provides a method for controlling the brightness of an LED lamp, which is applied to an LED lamp. The LED lamp includes an LED lamp body, a micro camera, a brightness sensor, and a controller. The LED lamp body includes a lampshade and a wick disposed inside the lampshade. The micro camera is disposed inside the lampshade, and the brightness sensor is disposed outside the lampshade. The controller is electrically connected to the micro camera, the brightness sensor, and the lampshade, respectively. The method includes: acquiring an image of the lampshade by the micro camera, and determining dust accumulation data of each area of ​​the lampshade based on the image of the lampshade; Acquiring ambient brightness data of each area of ​​the lampshade through the brightness sensor; Obtaining the dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade; determining a first reference light transmittance of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade; determining a second reference light transmittance of each area of ​​the lampshade according to the ambient brightness data of each area of ​​the lampshade; Performing regional differentiation fusion based on the first reference light transmittance and the second reference light transmittance of each area of ​​the lampshade to obtain a third reference light transmittance of each area of ​​the lampshade; The voltage of each area of ​​the lampshade is adjusted according to the third reference transmittance of each area of ​​the lampshade.

[0006] The above technical solutions in the embodiments of the present application have at least the following technical effects: The embodiment of the present application provides a method for controlling the brightness of an LED lamp, which obtains an image of the lampshade through the micro camera, and determines dust accumulation data of each area of ​​the lampshade based on the image of the lampshade; obtains ambient brightness data of each area of ​​the lampshade through the brightness sensor; obtains dust accumulation levels of each area of ​​the lampshade according to the dust accumulation data of each area of ​​the lampshade; determines a first reference transmittance of each area of ​​the lampshade according to the sum of the dust accumulation levels of each area of ​​the lampshade; determines a second reference transmittance of each area of ​​the lampshade according to the ambient brightness data of each area of ​​the lampshade; performs regional differentiated fusion based on the first reference transmittance and the second reference transmittance of each area of ​​the lampshade to obtain a third reference transmittance of each area of ​​the lampshade; and adjusts the voltage of each area of ​​the lampshade according to the third reference transmittance of each area of ​​the lampshade. Based on the above method, not only the dust accumulation situation of the lampshade is effectively adjusted, but also the interference of ambient light brightness is taken into account to improve the dimming accuracy, thereby improving the comfort.

[0007] In a second aspect, an embodiment of the present application provides an LED lamp brightness control system for implementing the LED lamp brightness control method described in any one of the first aspects above, the LED lamp brightness control system comprising: an imaging unit, configured to acquire an image of the lampshade through the micro camera, and determine dust accumulation data of each area of ​​the lampshade based on the image of the lampshade; an acquisition unit, configured to acquire ambient brightness data of each area of ​​the lampshade through the brightness sensor; a processing unit, configured to obtain a dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade; a dust accumulation unit, configured to determine a first reference light transmittance of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade; a brightness unit, configured to determine a second reference light transmittance of each area of ​​the lampshade according to the ambient brightness data of each area of ​​the lampshade; a fusion unit, configured to perform regional differentiated fusion based on the first reference transmittance and the second reference transmittance of each region of the lampshade to obtain a third reference transmittance of each region of the lampshade; The adjustment unit is used to adjust the voltage of each area of ​​the lampshade according to the third reference transmittance of each area of ​​the lampshade.

[0008] In a third aspect, an embodiment of the present application provides an LED lamp, comprising an LED lamp body, a micro camera, a brightness sensor, and a controller, wherein the LED lamp body comprises a lampshade and a wick arranged inside the lampshade, the micro camera is arranged inside the lampshade, and the brightness sensor is arranged outside the lampshade. The controller is electrically connected to the micro camera, the brightness sensor, and the lampshade, respectively. The controller comprises a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the LED lamp brightness control method described in any one of the first aspects above is implemented.

[0009] It can be understood that the beneficial effects of the second to third aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0011] Figure 1 This is a flow chart of a method for controlling the brightness of an LED lamp provided in one embodiment of the present application; Figure 2 This is a schematic diagram of adjusting voltage in a method for controlling brightness of an LED lamp provided in one embodiment of the present application; Figure 3 This is a schematic diagram of the structure of the LED lamp brightness control system provided by an embodiment of the present application; Figure 4 It is a structural diagram of the LED lamp provided in an embodiment of the present application. DETAILED DESCRIPTION

[0012] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.

[0013] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.

[0014] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0015] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0016] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0017] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0018] In the related art, traditional LED lamp brightness control methods usually rely on a single photosensor to detect the ambient brightness and achieve brightness control by adjusting the LED driving current or voltage. However, the dust accumulation of the LED lamp is not taken into consideration (for example, dust accumulated on the lampshade will also interfere with the brightness). In the related LED lamp brightness control methods, the parameters are relatively single and it is impossible to perform more accurate brightness control of the LED lamp.

[0019] To solve the above problems, embodiments of the present application provide a method for controlling the brightness of an LED lamp and an LED lamp.

[0020] In this method, the dust accumulation value of each area of ​​the lampshade and the real-time ambient brightness data are obtained, and the dust accumulation data and dust accumulation change trend of each area of ​​the lampshade are obtained according to the dust accumulation value of each area of ​​the lampshade, and the first reference transmittance of each area is determined. According to the ambient brightness data of each area of ​​the lampshade, the ambient brightness characteristics of each area of ​​the lampshade are obtained, and the second reference transmittance of each area is determined. Based on the first reference transmittance of each area and the second reference transmittance of each area, regional differentiation fusion is performed to obtain the third reference transmittance of each area. According to the third reference transmittance of each area, the transmittance of each area of ​​the lampshade is independently adjusted. Based on the above method, not only the transmittance attenuation caused by dust accumulation is effectively obtained according to the dust accumulation situation of the lampshade, but also the transmittance attenuation caused by the interference of ambient light brightness and the initial state of the lampshade are considered to adjust the transmittance of each area of ​​the lampshade, improve the dimming accuracy, and thus improve the comfort.

[0021] The LED lamp brightness control method provided in the embodiment of the present application can be applied to LED lamps. In this case, the LED lamp is the executor of the LED lamp brightness control method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of LED lamp.

[0022] For example, an LED lamp may include an LED lamp body, a micro camera, a brightness sensor, and a controller. The LED lamp body includes a lampshade and a wick disposed within the lampshade. The lampshade is made of an electrochromic material, such as a tungsten oxide composite material or a polyaniline / transparent substrate composite material. The transmittance of different regions of the lampshade can be controlled by adjusting the voltage. For example, the lampshade may have a multilayer structure, including a transparent conductive layer, an electrochromic layer (such as WO3), an electrolyte layer, and an ion storage layer. When a voltage is applied, ions migrate between the layers, causing the material's color or transparency to change. The lampshade includes multiple shade regions, which are separately arranged and joined together to form a single unit. Each shade region is made of electrochromic material and is separately connected to a controller, enabling the controller to control each shade region independently. For example, the lampshade may include 9 shade regions, 16 shade regions, and so on, and the shade regions may be sequentially connected along the circumference of the lampshade. A micro camera is arranged inside the lampshade to capture images of the lampshade. A brightness sensor is arranged outside the lampshade. The number of brightness sensors can be multiple and they are respectively arranged in different areas of the lampshade to capture the light intensity of each area of ​​the lampshade. The controller serves as a data central processing device. The controller is electrically connected to the micro camera, brightness sensor, wick and lampshade respectively. For example, if the controller needs to obtain dust accumulation data of each area of ​​the lampshade, the micro camera is enabled to transmit the image data to the controller for processing. If the ambient brightness data of each area of ​​the lampshade needs to be obtained, the brightness sensor is enabled to collect light intensity data and transmit it to the controller for processing. The controller includes a memory, a processor and a computer program stored in the memory and run on the processor.

[0023] In order to better understand the LED lamp brightness control method provided in the embodiment of the present application, the specific implementation process of the LED lamp brightness control method provided in the embodiment of the present application is exemplarily introduced below.

[0024] Figure 1 A schematic flow chart of a method for controlling the brightness of an LED lamp provided in an embodiment of the present application is shown. Figure 2 The schematic diagram of the process of adjusting the voltage in the LED lamp brightness control method is shown in FIG. Figure 1 and Figure 2 , LED lamp brightness control method includes: S100: Acquire an image of the lampshade through a micro camera, and determine dust accumulation data of each area of ​​the lampshade based on the image of the lampshade.

[0025] It is understood that the dust accumulation data is used to quantify the amount and density of dust accumulation in each area of ​​the lampshade and can be expressed in different ways, such as using grayscale values, where a higher grayscale value indicates more severe dust accumulation.

[0026] The lampshade can be imaged using a micro camera and then processed using image analysis software, converting the image into a grayscale image. The distribution of grayscale values ​​can be used to determine the degree of dust accumulation in each area of ​​the lampshade. Alternatively, the dust profile can be identified to calculate the proportion of area covered by dust to obtain dust accumulation data for each area of ​​the lampshade.

[0027] As an optional embodiment of the present application, in step S100, determining dust accumulation data of each area of ​​the lampshade based on the image of the lampshade includes: S110, processing the image of the lampshade to obtain a dust accumulation grayscale image.

[0028] It can be understood that the dust accumulation grayscale image is used to reflect the degree of dust accumulation in various areas of the lampshade. The dust accumulation grayscale image is obtained by grayscale conversion of the original image. It can be converted to grayscale by weighted averaging of the color image using the formula: Gray = 0.299R + 0.587G + 0.114B. The grayscale value range of the converted image is 0-255, where 0 represents pure black and 255 represents pure white.

[0029] S120: Determine dust accumulation degree data of each area of ​​the lampshade based on the dust accumulation grayscale map.

[0030] It can be understood that the dust accumulation data for each area of ​​the lampshade can be converted from abstract image information into quantifiable numerical data by dividing the detection area and calculating the grayscale statistics (such as mean and variance) of each area. This data not only reflects the severity of dust accumulation in a single area (the higher the grayscale mean, the more dust accumulation), but also can be used to analyze the distribution characteristics of dust (such as localized accumulation or uniform coverage) through variance analysis. For example, the dust accumulation grayscale image can be divided into M×N uniform sub-areas (such as a 3×3 grid) based on the minimum pixel count. The grayscale mean of each sub-area is calculated as the dust accumulation data for the corresponding area.

[0031] S200: Acquire ambient brightness data of each area of ​​the lampshade through a brightness sensor.

[0032] It can be understood that the ambient brightness data is used to represent the light intensity of the environment surrounding the lampshade. It can be expressed in illuminance (unit: lux). The ambient brightness data reflects the brightness of the light in the environment.

[0033] Brightness data for each area of ​​the lampshade is collected using brightness sensors placed around the lampshade. These sensors directly measure ambient light intensity, or illuminance. The sensors convert light signals into electrical signals, which are then transmitted to a processor via a data acquisition device for recording and analysis.

[0034] S300: Determine the dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade.

[0035] It can be understood that the dust accumulation level indicates the proportion of the dust accumulation area in each area of ​​the lampshade to the area of ​​each area of ​​the lampshade. The dust accumulation level is distinguished according to the size of the proportion. For example, when the dust accumulation area in each area of ​​the lampshade accounts for 1% to 10% of the area of ​​each area of ​​the lampshade, the dust accumulation level is 1.

[0036] As an optional embodiment of the present application, S300, determining the dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade, includes: S310: Obtain dust accumulation coverage areas of respective regions of the lampshade according to dust accumulation degree data of respective regions of the lampshade.

[0037] It can be understood that the dust coverage area refers to the actual area covered by dust in each area of ​​the lampshade.

[0038] The dust coverage area of ​​each area of ​​the lampshade can be obtained by identifying and counting the pixels with dust accumulation data less than 255 during image analysis to obtain the number of dust-covered pixels. The number of dust-covered pixels is then multiplied by the physical area corresponding to a single pixel. For example: Number of dusty pixels: in ( is the image pixel size (width pixels × height pixels), is the pixel value).

[0039] Dust accumulation coverage area: ( is the side length of a single pixel. If the camera resolution is 10 pixels / mm, then , the physical area corresponding to a single pixel is ).

[0040] S320: Obtain a dust accumulation quantitative index for each region of the lampshade based on the dust accumulation coverage area of ​​each region of the lampshade; wherein the dust accumulation quantitative index is used to reflect the ratio of the dust accumulation coverage area of ​​the corresponding region to the total area of ​​the corresponding region.

[0041] It can be understood that the quantitative index of dust accumulation in each area of ​​the lampshade can be obtained by the formula: Get, where: is the dust coverage area; is the total area of ​​the region (which can be calculated by the total number of image pixels: , , ).

[0042] Example calculation: total number of image pixels in a certain area Pixels, dust pixel count Pixel, single pixel area : , , .

[0043] S330: Obtaining a dust accumulation level of each area of ​​the lampshade based on the dust accumulation quantitative index of each area of ​​the lampshade.

[0044] For example, the dust accumulation level of each area of ​​the lampshade is obtained by dividing the dust accumulation quantification index into Mapped to dust accumulation level L.

[0045] Example mapping: If the dust accumulation quantitative index in a certain area =25%, then 10%<25%<30%→L=2 (light dust accumulation); if =65%, then 50%≤65%<70%→L=4 (heavy dust accumulation).

[0046] By adopting the above steps S310 to S330, it is helpful to obtain the dust accumulation level of each area of ​​the lampshade based on the dust accumulation degree data of each area of ​​the lampshade, determine the dust coverage area of ​​each area of ​​the lampshade through image analysis, and then obtain the dust accumulation quantitative index of each area of ​​the lampshade, and obtain the final dust accumulation level of each area of ​​the lampshade.

[0047] S400: Determine a first reference light transmittance of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade.

[0048] The first reference light transmittance is a quantitative indicator of the reduction in light transmittance due to dust accumulation in various areas of the lampshade. It reflects the impact of dust accumulation on the lampshade's light transmittance. Essentially, it is calculated using a light transmittance attenuation model based on the dust accumulation level (reflecting the dust coverage area or thickness) and the initial light transmittance (the light transmittance of the lampshade in a dust-free state). This first reference light transmittance can be used as a reference for evaluating lampshade cleaning requirements or light transmittance performance.

[0049] The first reference transmittance of each area of ​​the lampshade is calculated using a linear attenuation model, using the formula: .in, The initial light transmittance of the lampshade when there is no dust accumulation (such as Or normalized value 1), initial light transmittance refers to the light transmittance without dust accumulation, that is, the light transmittance of the lampshade when it leaves the factory (related to the material); is the attenuation coefficient (the attenuation coefficient reflects the linear effect of dust accumulation on transmittance); Current dust accumulation level The corresponding dust accumulation quantitative index can be obtained through a database, for example. The database includes dust accumulation level, dust accumulation quantitative index, initial light transmittance and attenuation coefficient. There is a corresponding relationship between the dust accumulation level and the dust accumulation quantitative index. The initial light transmittance and attenuation coefficient are factory preset values ​​of the lampshade.

[0050] Example: If the dust accumulation level in a certain area is 2, the corresponding dust accumulation quantitative index is (ie 0.25), in the database , ,but: (ie the first reference transmittance is 75%).

[0051] As an optional embodiment of the present application, S400, determining a first reference light transmittance of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade, includes: S410, determining a reference dust accumulation rate for each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade; wherein the reference dust accumulation rate is used to represent a quantitative index of the current dust accumulation level of each area of ​​the lampshade relative to the cleanliness state.

[0052] It can be understood that the reference dust accumulation rate is an indicator that quantitatively represents the degree of dust accumulation by comparing the current dust accumulation level of each area of ​​the lampshade with the cleanliness status. The specific formula is as follows: Reference dust accumulation rate C .in It is a quantitative indicator of dust accumulation in the clean state. is the quantitative index of dust accumulation in the maximum dust accumulation state, Current dust accumulation level Corresponding quantitative index of dust accumulation.

[0053] Example: If the cleaning status , maximum dust accumulation state (Because the lampshade cannot be completely covered by dust), the dust accumulation quantitative index corresponding to the dust accumulation level in a certain area , then the reference dust accumulation rate C .

[0054] S420: Determine a light transmittance correction coefficient for each region of the lampshade according to a reference dust accumulation rate of each region of the lampshade.

[0055] It can be understood that the transmittance correction coefficient can be obtained based on the quantitative relationship between the reference dust accumulation rate (C) and the transmittance attenuation, such as the formula: .in, is the dust accumulation sensitivity coefficient, which can be obtained through experiments. (For example, if the reference dust accumulation rate increases by 10%, the transmittance decreases by 5%, then ); is the reference dust accumulation rate (range: 0%~100%). Example: If , reference dust accumulation rate of a certain area , then the transmittance correction coefficient .

[0056] S430: Determine a first reference transmittance of each region of the lampshade according to the transmittance correction coefficient and the initial transmittance of each region of the lampshade.

[0057] It can be understood that the first reference light transmittance refers to the quantitative index of the actual light transmittance of each area of ​​the lampshade after taking into account the influence of dust accumulation. It is calculated by multiplying the initial light transmittance by the light transmittance correction coefficient. The core calculation formula for determining the first reference light transmittance of each area of ​​the lampshade is: .in, is the initial transmittance (pre-stored value in the database, such as ). is the transmittance correction factor.

[0058] Example: If the initial transmittance of a region is , transmittance correction factor (ie, dust accumulation causes the transmittance to decrease by 25%), then the first reference transmittance .

[0059] By adopting the above steps S410 to S430, it is helpful to determine the reference dust accumulation rate of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade, and then obtain the transmittance correction coefficient of each area of ​​the lampshade, so as to determine the first reference transmittance of each area of ​​the lampshade. The first reference transmittance is an indicator that quantitatively represents the reduction in light transmittance of each area of ​​the lampshade due to dust accumulation.

[0060] S500: Determine a second reference light transmittance of each area of ​​the lampshade according to the ambient brightness data of each area of ​​the lampshade.

[0061] The second reference transmittance is a dynamic, quantitative indicator of the lampshade's actual light transmittance, taking into account the ambient brightness of the lampshade. Unlike the first reference transmittance (which is based on dust accumulation data), it focuses on the real-time impact of ambient lighting conditions on light transmission.

[0062] As an optional embodiment of the present application, S500, determining a second reference transmittance of each area of ​​the lampshade according to ambient brightness data of each area of ​​the lampshade, includes: S510: Determine actual brightness values ​​of each area of ​​the lampshade according to ambient brightness data of each area of ​​the lampshade.

[0063] It can be understood that the actual brightness value refers to the quantitative indicator of the light intensity finally output by each area of ​​the lampshade under the current ambient lighting conditions after transmittance correction. The actual brightness value of each area of ​​the lampshade is obtained by dividing the lampshade into several sub-areas (such as equally divided into upper left and lower right areas according to area), deploying brightness sensors in several sub-areas or inferring the illuminance distribution through image recognition technology (such as micro cameras).

[0064] S520, based on the comparison between the actual brightness value of each area of ​​the lampshade and the ambient brightness characteristic value, obtain the ambient brightness offset of each area of ​​the lampshade; wherein the ambient brightness characteristic value is set according to the space where the lamp is located and the usage scenario.

[0065] It can be understood that the ambient brightness characteristic value refers to the standard brightness reference value pre-set according to the specific space where the lamp is located (such as indoors, outdoors, factories, roads, etc.) and the usage scenario (such as office, lighting, warning, etc.). It is used to measure the reasonable brightness level that the lamp should achieve in the scenario (for example, the standard lighting brightness in the office may be set to 300-500 lux, and the road lighting may be set to 20-30 lux). The ambient brightness offset refers to the difference between the actual brightness value of each area of ​​the lampshade and the ambient brightness characteristic value, which is used to characterize the degree of deviation of the current brightness from the standard scene requirements.

[0066] In one possible implementation, S520, based on the comparison between the actual brightness value of each area of ​​the lampshade and the ambient brightness characteristic value, obtains the ambient brightness offset of each area of ​​the lampshade, including: S521 , extracting ambient brightness features based on actual brightness values ​​of each area of ​​the lampshade to obtain ambient brightness feature data of each area of ​​the lampshade; wherein the ambient brightness feature data of each area of ​​the lampshade is used to represent an average brightness level within the area.

[0067] It can be understood that the ambient brightness characteristic data refers to the average brightness level of the brightness in each area of ​​the lampshade, which is used to characterize the overall brightness of the area (for example, the average brightness of an area is 300 lux, which means that the overall brightness of the area is at a medium level).

[0068] The ambient brightness characteristic data of each area of ​​the lampshade is obtained by obtaining the actual brightness value set in the area, dividing the area and preprocessing the data, calculating the average brightness of the area, and using the average brightness as the ambient brightness characteristic data of the area. For example: If there are 5 measurement points in an area with brightness values ​​of 280, 300, 310, 290, and 320 lux respectively, the ambient brightness characteristic data is: Lux.

[0069] S522, obtaining an ambient brightness feature template of the ambient brightness feature value; wherein the ambient brightness feature template of the ambient brightness feature value is a template of expected brightness set according to the space where the lamp is located and the usage scenario.

[0070] An ambient brightness profile is a structured distribution model of the expected average brightness for each area, pre-defined based on the space (e.g., indoor room, road, factory, etc.) and usage scenario (e.g., office lighting, road lighting, stage lighting, etc.) where the luminaire is located. It is essentially a "brightness standard blueprint" that specifies the ideal average brightness values ​​for different areas within the luminaire's coverage area (e.g., the expected average brightness for office desks is 400 lux, and the expected average brightness for corridors is 200 lux).

[0071] S523, obtaining an offset correlation coefficient of the ambient brightness feature template based on the ambient brightness feature data and the ambient brightness feature template of each area of ​​the lampshade; wherein, the offset correlation coefficient of the ambient brightness feature template is obtained based on the ambient brightness feature data and the ambient brightness feature template of each area of ​​the lampshade, and the offset correlation coefficient of the ambient brightness feature template is used to reflect the degree of conformity between the actual average brightness and the expected brightness.

[0072] As you can understand, the offset correlation coefficient is a quantitative indicator used to measure the overall deviation or consistency between the actual average brightness of each area of ​​the lampshade (ambient brightness characteristic data) and the expected average brightness distribution (ambient brightness characteristic template). The closer the value is to 1 (or 0, depending on the calculation method), the closer the actual brightness is to the expected template; the greater the deviation, the greater the degree of deviation.

[0073] The offset correlation coefficient of the ambient brightness feature template is obtained by comparing the difference between the actual brightness of each area and the expected brightness of the template, and quantifying the difference as a comprehensive indicator. Common methods include error calculation (such as absolute error, mean square error) or correlation analysis. The specific formula for correlation analysis is as follows: Offset correlation coefficient ;formula: .in, and are the averages of the actual and expected values, is the actual average brightness of each area, is the expected average brightness of each area; The closer it is to 1, the stronger the linear correlation between the actual and expected brightness distributions (i.e., areas with high expected values ​​correspond to high actual values, and areas with low expected values ​​correspond to low actual values).

[0074] S524: Determine the ambient brightness offset of each area of ​​the lampshade based on the offset correlation coefficient.

[0075] It can be understood that the ambient brightness offset represents the degree of deviation between the actual average brightness of each area of ​​the lampshade and the expected average brightness (ambient brightness feature template), usually expressed in numerical form (such as brightness difference, proportional deviation, etc.). The core is to quantify this deviation through the offset correlation coefficient. The ambient brightness offset of each area of ​​the lampshade is determined by the offset correlation coefficient (range [-1, 1]). The ambient brightness offset can be calculated as follows: Ambient brightness offset: =1-| |, converted to a deviation ratio in the range of 0-1.

[0076] By adopting the above steps S521 to S524, it is helpful to determine the ambient brightness offset of each area of ​​the lampshade, that is, the attenuation degree of the brightness of the LED lamp, by comparing the actual brightness value with the ambient brightness characteristic value.

[0077] S530: Determine a second reference transmittance of each area of ​​the lampshade based on the ambient brightness offset of each area of ​​the lampshade.

[0078] It will be understood that the second reference transmittance is a reference value used to adjust the light transmittance of each region of the lampshade based on the ambient brightness offset of each region of the lampshade. This value is used to reflect the difference between the actual brightness value of each region of the lampshade and the characteristic ambient brightness value. The second reference transmittance of each region of the lampshade is obtained based on the ambient brightness offset.

[0079] Calculate the second reference transmittance based on the ambient brightness offset: ,in, is the initial light transmittance (the light transmittance of a new lampshade or after cleaning, usually 0.9), is the ambient brightness offset (range [-1, 1]), is the second reference transmittance.

[0080] Example: If the initial transmittance of a region is , ambient brightness offset (Indicates that the actual brightness is 20% lower than expected), then: .

[0081] By adopting the above steps S510 to S530, the LED lamp can calculate the ambient brightness offset based on the ambient brightness data and the ambient brightness characteristic value, thereby obtaining the second reference transmittance of each area of ​​the lampshade, that is, the interference degree of the ambient brightness on the brightness of the LED lamp.

[0082] S600: Perform regional differentiation fusion based on the first reference transmittance and the second reference transmittance of each region of the lampshade to obtain a third reference transmittance of each region of the lampshade.

[0083] It can be understood that the third reference transmittance represents a differentiated weight distribution or strategy combination of the first reference transmittance (the transmittance obtained after adjustment based on the dust accumulation data) and the second reference transmittance (the transmittance obtained after adjustment based on the ambient brightness data), so as to obtain the final transmittance parameters of each area.

[0084] As an optional embodiment of the present application, S600 performs regional differentiation fusion based on the first reference transmittance and the second reference transmittance of each region of the lampshade to obtain a third reference transmittance of each region of the lampshade, including: S610, performing regional differentiated fusion based on the first reference transmittance of each area of ​​the lampshade and the second reference transmittance of each area of ​​the lampshade to obtain a transmittance reference value of each area of ​​the lampshade; wherein the transmittance reference value of each area of ​​the lampshade is used to reflect the degree of influence of dust accumulation and ambient brightness in each area of ​​the lampshade on the light irradiated by the LED lamp in the environment.

[0085] It is understandable that the transmittance reference value needs to reflect the combined effect of these two factors. In essence, it is to establish a coupling relationship between the dust accumulation attenuation model and the brightness compensation model by integrating the first reference transmittance and the second reference transmittance. The transmittance reference value of each area of ​​the lampshade is obtained through the following steps: Assume that the first reference transmittance of a certain area is , the second reference transmittance is , the light transmittance reference value is , the ambient brightness offset of the area , which can be normalized into weight parameters. The fusion methods include: Linear weighted fusion calculates the weighting coefficient according to the offset size to achieve a smooth transition: Among them, the weight Calculation method: Based on the ambient brightness offset : ( The maximum allowed offset, if it exceeds the limit, it will be fully adopted. ).

[0086] Example: If the offset of a region is large ( ),but , focusing on correcting brightness deviation; if the offset is small ( ),but , retain the initial design.

[0087] S620, based on the light transmittance reference value of each area, a logical threshold operation is performed with the initial light transmittance to obtain comprehensive light transmittance data of each area of ​​the lampshade; wherein the initial light transmittance is the actual measured light transmittance value of the lampshade when it leaves the factory; the comprehensive light transmittance data of each area of ​​the lampshade is used to reflect the degree of influence of dust accumulation in each area of ​​the lampshade, ambient brightness and the initial state of the lampshade on the light irradiated by the LED lamp in the environment.

[0088] It can be understood that the determination process of comprehensive light transmittance data can be understood as: by logically coupling the light transmittance reference value with the initial light transmittance, quantifying the combined impact of the three factors (dust accumulation, ambient brightness, and material) on the light transmittance. The meaning of comprehensive light transmittance data: This data couples acquired environmental factors (dust accumulation, brightness) with innate initial characteristics through logical threshold calculations. The higher the value, the stronger the light transmittance (i.e., less dust accumulation, high environmental matching, and stable initial performance). Conversely, it means that the three factors together lead to a decrease in light transmittance. Initial light transmittance: , and correct it by environmental factors. Transmittance comprehensive data coupling formula: = × .

[0089] in For comprehensive data of light transmission, is the light transmittance reference value, is the initial light transmittance.

[0090] S630: Obtain a third reference light transmittance of each region of the lampshade based on the comprehensive light transmittance data of each region of the lampshade.

[0091] It's understandable that the process of deriving the third reference transmittance from the comprehensive transmittance data of each lampshade area essentially involves converting the comprehensive influencing factors into a transmittance index that can be directly used in lighting calculations through data calibration, regional characteristic adaptation, or multi-dimensional fusion. The specific implementation method needs to be integrated with the logic of the previous steps.

[0092] In one possible implementation, S630, obtaining a third reference transmittance of each region of the lampshade based on the comprehensive transmittance data of each region of the lampshade, includes: S631, based on the comprehensive light transmittance data of each area of ​​the lampshade, obtain the light transmittance attenuation of each area of ​​the lampshade.

[0093] It can be understood that the comprehensive light transmittance data represents the degree of influence of dust accumulation in each area of ​​the lampshade, ambient brightness, and the initial state of the lampshade on the light irradiated by the LED lamp in the environment. The light transmittance attenuation refers to the degree of attenuation of the light transmittance in each area of ​​the lampshade due to factors such as dust accumulation and ambient brightness relative to the initial state (initial light transmittance). Its core logic is to quantify the decline in light transmittance by comparing the comprehensive light transmittance data with the initial light transmittance. Initial light transmittance ( ), that is, the actual measured light transmittance value (such as 80%) when the lampshade is dust-free and in an ideal environment when it leaves the factory. ), reflecting the combined influence of current dust accumulation, ambient brightness, and other factors. It indicates the decrease in transmittance compared to the initial transmittance.

[0094] The formula for light transmittance attenuation is: Light transmittance attenuation: = - (The unit is the same as transmittance, such as percentage). is the initial transmittance, It is the comprehensive data of light transmission.

[0095] S632: Obtain a third reference transmittance of each region of the lampshade based on the transmittance attenuation of each region of the lampshade.

[0096] It can be understood that the third reference transmittance is the third reference transmittance obtained by reverse calculation based on the transmittance attenuation, which is used to comprehensively reflect the real-time transmittance of each area of ​​the lampshade under the influence of dust accumulation, ambient brightness and initial characteristics. Its core logic is to directly calculate the difference between the comprehensive transmittance data and the transmittance attenuation. The third reference transmittance is directly calculated by subtracting the transmittance attenuation from the initial transmittance. In essence, it is to reversely calculate the current actual transmittance based on the attenuation. This process converts the attenuation with a clear physical meaning into a transmittance value that can be directly used for lighting performance evaluation, providing key data support for real-time status monitoring and maintenance decisions of LED lamps. The third reference transmittance: .

[0097] S700: Adjust the voltage of each area of ​​the lampshade according to the third reference transmittance of each area of ​​the lampshade.

[0098] It can be understood that the core logic of adjusting the voltage according to the third reference transmittance of each area of ​​the lampshade is: by dynamically adjusting the power supply voltage of each area of ​​the LED lamp, the difference in light intensity caused by the change in transmittance is compensated, so that the actual output luminous flux meets the expected requirements.

[0099] As an optional embodiment of the present application, S700, adjusting the voltage of each area of ​​the lampshade according to the third reference transmittance of each area of ​​the lampshade, includes: S710, determining a dimming ratio of each area of ​​the lampshade according to a third reference transmittance of each area; wherein the dimming ratio of each area of ​​the lampshade is used to reflect the ratio of the brightness that should be set for each area of ​​the lampshade to the brightness previously set for each area of ​​the lampshade.

[0100] It can be understood that the dimming ratio refers to the dimming ratio of each area of ​​the lampshade, which is used to reflect the ratio of the brightness that should be set in each area of ​​the lampshade to the brightness set previously in each area of ​​the lampshade. It directly reflects the actual light transmission ability of the lampshade through the change in transmittance, and then adjusts the brightness output to make the final lighting effect meet the expectations (such as compensating for brightness attenuation caused by dust accumulation, or adapting to changes in ambient light).

[0101] The dimming ratio of each area of ​​the lampshade is obtained by obtaining the input: the third reference transmittance of each area ( )、initial light transmittance( ), dimming ratio ( ).

[0102] Calculate the dimming ratio: Calibrate with a fixed initial transmittance: ; Non-linear calibration: According to the characteristics of the lampshade Perform function correction (such as ).

[0103] Limiting: Restricted to a safe range (such as ).

[0104] Example: Scenario 1: Dust accumulation in a certain area causes , initial transmittance (new lampshade), then: .

[0105] S720 , obtaining dimming voltage data of each area of ​​the lampshade based on the dimming ratio of each area of ​​the lampshade; wherein the dimming voltage data is an actual control voltage value obtained according to the dimming ratio.

[0106] It can be understood that the core logic of calculating the dimming voltage data based on the dimming ratio is: through the product relationship between the dimming ratio and the historical voltage, combined with the voltage safety threshold, the actual control voltage value of the LED lamps in each area is obtained.

[0107] In one possible implementation, at S720, dimming voltage data for each area of ​​the lampshade is obtained based on the dimming ratio of each area of ​​the lampshade. The dimming voltage data is an actual control voltage value obtained according to the dimming ratio, including: S721 , calibrate based on the dimming ratio of each area and the real-time voltage of each area of ​​the lampshade to obtain the dimming voltage ratio of each area of ​​the lampshade.

[0108] The dimming voltage ratio is the parameter used to control the voltage across the shade after real-time voltage calibration. This calibration, based on the dimming ratio and real-time voltage, corrects for errors between theoretical calculations and actual circuits (such as driver power supply accuracy, line losses, and LED nonlinearity), ensuring that the final applied voltage accurately reflects the target brightness.

[0109] The dimming voltage ratio of each area of ​​the lampshade is obtained through the following standardized process: Linear regression modeling (core calibration algorithm) Model building: based on dimming ratio is the independent variable, the actual voltage With being the dependent variable, fit a linear model independently for each region: in, It is the dimming voltage ratio, which reflects the proportional relationship between the actual voltage and the theoretical voltage; is a small error offset (negligible in simplified scenarios), is the dimming ratio, is the actual voltage.

[0110] Parameter solution: calculated by least squares method , the formula is: Example: After fitting region A =0.967, indicating that the actual voltage is 96.7% of the theoretical value.

[0111] S722, obtaining dimming voltage data for each area of ​​the lampshade according to the dimming voltage ratio and a preset dimming voltage coefficient; wherein the preset dimming voltage coefficient is used to represent a hardware characteristic parameter for converting the dimming ratio into an actual control voltage value.

[0112] It can be understood that the dimming voltage ratio is a proportional parameter after real-time voltage calibration. The preset dimming voltage coefficient is a digital representation of the hardware characteristics, which is used to describe the physical conversion relationship between "dimming voltage ratio" and "actual voltage". The dimming voltage data of each area of ​​the lampshade is obtained through function mapping. The dimming voltage ratio is (The range is usually 0~1, obtained by S621 calibration), the preset dimming voltage coefficient is (unit is V, representing hardware characteristics), the real-time voltage is (such as the rated working voltage of the hardware), then the dimming voltage data The calculation logic is: .

[0113] By adopting the above steps S721 to S722, it is helpful to determine the dimming voltage ratio through the dimming ratio, and then obtain the dimming voltage data, that is, the actual control voltage value, based on the dimming voltage ratio and the dimming voltage coefficient.

[0114] S730: Adjust the voltage of each area of ​​the lampshade according to the dimming voltage data of each area of ​​the lampshade.

[0115] It can be understood that the realization of adjusting the voltage according to the dimming voltage data of each area of ​​the lampshade is essentially to convert the voltage control instruction driven by the digital signal into a voltage adjustment action executable by hardware.

[0116] By adopting the above steps S710 to S730, it is helpful for the LED lamp to determine the dimming ratio of each area of ​​the lampshade through the third reference transmittance based on the above method, and then determine the dimming voltage data according to the dimming ratio, and adjust the voltage of each area of ​​the lampshade through the dimming voltage data.

[0117] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0118] Corresponding to the LED lamp brightness control method described in the above embodiment, the embodiment of the present application further provides an LED lamp brightness control system, and each unit of the system can implement each step of the LED lamp brightness control method. Figure 3 A structural block diagram of an LED lamp brightness control system provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0119] Reference Figure 3 , the system comprises: an imaging unit, configured to acquire an image of the lampshade through the micro camera, and determine dust accumulation data of each area of ​​the lampshade based on the image of the lampshade; an acquisition unit, configured to acquire ambient brightness data of each area of ​​the lampshade through the brightness sensor; a processing unit, for obtaining a dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade; A dust accumulation unit, configured to determine a first reference light transmittance of each area of ​​the lampshade according to a dust accumulation level of each area of ​​the lampshade; a brightness unit, configured to determine a second reference light transmittance of each area of ​​the lampshade according to ambient brightness data of each area of ​​the lampshade; a fusion unit, configured to perform regional differentiation fusion based on the first reference light transmittance and the second reference light transmittance of each region of the lampshade to obtain a third reference light transmittance of each region of the lampshade; The adjustment unit is used to adjust the voltage of each area of ​​the lampshade according to the third reference transmittance of each area of ​​the lampshade.

[0120] It should be noted that the information interaction, execution process, etc. between the above-mentioned systems are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.

[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units as needed, that is, the internal structure of the system can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0122] The embodiment of the present application also provides an LED lamp, Figure 4 This is a schematic diagram of the structure of an LED lamp provided in one embodiment of the present application. Figure 4 As shown, the LED lamp 6 of this embodiment includes: at least one processor 60 ( Figure 4 Only one is shown), at least one memory 61 ( Figure 4 Only one is shown in the figure) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the LED lamp 6 implements the steps of any of the above-mentioned LED lamp brightness control method embodiments, or implements the functions of the units in the above-mentioned system embodiments.

[0123] For example, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to implement the present application. The one or more units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the LED lamp 6.

[0124] The LED lamp 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 4 This is merely an example of the LED lamp 6 and does not constitute a limitation on the LED lamp 6 . The LED lamp 6 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the LED lamp 6 may also include input and output devices, network access devices, buses, etc.

[0125] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0126] In some embodiments, the memory 61 can be an internal storage unit of the LED lamp 6, such as a hard drive or memory within the LED lamp 6. In other embodiments, the memory 61 can also be an external storage device within the LED lamp 6, such as a plug-in hard drive, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, etc. Furthermore, the memory 61 can include both the internal storage unit of the LED lamp 6 and an external storage device. The memory 61 is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of a computer program. The memory 61 can also be used to temporarily store data that has been output or is about to be output.

[0127] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0128] An embodiment of the present application provides a computer program product. When the computer program product is run on an LED lamp, the LED lamp implements the steps of any of the above method embodiments.

[0129] If the integrated unit is implemented as a software functional unit and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the process steps in the above-mentioned method embodiments by using a computer program to instruct the relevant hardware. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to the LED lamp, a recording medium, computer memory, read-only memory (ROM), random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Examples include a USB flash drive, a removable hard drive, a magnetic disk, or an optical disk.

[0130] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0131] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0132] In the embodiments provided herein, it should be understood that the disclosed LED lamps, LED lamp brightness control systems, and LED lamp brightness control methods can be implemented in other ways. For example, the LED lamp / LED lamp brightness control system embodiments described above are merely illustrative. For example, the division of the units is merely a logical functional division, and actual implementation may involve other divisions, such as multiple units or components being combined or integrated into another system, or some features being ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interface, and the indirect coupling or communication connection of the units may be electrical, mechanical, or other forms.

[0133] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0134] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. A method for controlling the brightness of an LED lamp, characterized in that: Applied to an LED lamp, the LED lamp includes an LED lamp body, a micro camera, a brightness sensor, and a controller. The LED lamp body includes a lampshade and a wick disposed inside the lampshade. The micro camera is disposed inside the lampshade, the brightness sensor is disposed outside the lampshade, and the controller is electrically connected to the micro camera, the brightness sensor, and the lampshade, respectively. The method includes: acquiring an image of the lampshade by the micro camera, and determining dust accumulation data of each area of ​​the lampshade based on the image of the lampshade; Acquiring ambient brightness data of each area of ​​the lampshade through the brightness sensor; determining the dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade; determining a first reference light transmittance of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade; determining a second reference light transmittance of each area of ​​the lampshade according to the ambient brightness data of each area of ​​the lampshade; Performing regional differentiation fusion based on the first reference light transmittance and the second reference light transmittance of each area of ​​the lampshade to obtain a third reference light transmittance of each area of ​​the lampshade; The voltage of each area of ​​the lampshade is adjusted according to the third reference transmittance of each area of ​​the lampshade.

2. The LED lamp brightness control method according to claim 1, characterized in that: The determining of dust accumulation data of each area of ​​the lampshade based on the image of the lampshade includes: Processing the image of the lampshade to obtain a dust accumulation grayscale image; Based on the dust accumulation grayscale image, dust accumulation degree data of each area of ​​the lampshade is determined.

3. The LED lamp brightness control method according to claim 1, characterized in that: Determining the dust accumulation level of each area of ​​the lampshade according to the dust accumulation degree data of each area of ​​the lampshade includes: Obtaining dust accumulation coverage areas of the respective regions of the lampshade according to the dust accumulation degree data of the respective regions of the lampshade; Based on the dust accumulation coverage area of ​​each region of the lampshade, a dust accumulation quantitative index of each region of the lampshade is obtained; wherein the dust accumulation quantitative index is used to reflect the ratio of the dust accumulation coverage area of ​​the corresponding region to the total area of ​​the corresponding region; Based on the dust accumulation quantitative index of each area of ​​the lampshade, the dust accumulation level of each area of ​​the lampshade is obtained.

4. The LED lamp brightness control method according to claim 1, characterized in that: Determining a first reference light transmittance of each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade includes: Determining a reference dust accumulation rate for each area of ​​the lampshade according to the dust accumulation level of each area of ​​the lampshade; wherein the reference dust accumulation rate is used to represent a quantitative indicator of the current dust accumulation level of each area of ​​the lampshade relative to the cleanliness state; determining a light transmittance correction coefficient for each area of ​​the lampshade based on the reference dust accumulation rate of each area of ​​the lampshade; A first reference light transmittance of each area of ​​the lampshade is determined according to the light transmittance correction coefficient and the initial light transmittance of each area of ​​the lampshade.

5. The LED lamp brightness control method according to claim 1, characterized in that: The determining, according to the ambient brightness data of each area of ​​the lampshade, a second reference transmittance of each area of ​​the lampshade comprises: Determining actual brightness values ​​of each area of ​​the lampshade according to the ambient brightness data of each area of ​​the lampshade; Based on the comparison between the actual brightness value of each area of ​​the lampshade and the ambient brightness characteristic value, the ambient brightness offset of each area of ​​the lampshade is obtained; wherein the ambient brightness characteristic value is set according to the space where the lamp is located and the usage scene; Based on the ambient brightness offset of each area of ​​the lampshade, a second reference transmittance of each area of ​​the lampshade is determined.

6. The LED lamp brightness control method according to claim 5, characterized in that: The step of obtaining the ambient brightness offset of each area of ​​the lampshade based on the comparison between the actual brightness value of each area of ​​the lampshade and the ambient brightness characteristic value includes: Performing ambient brightness feature extraction based on the actual brightness values ​​of each area of ​​the lampshade to obtain ambient brightness feature data of each area of ​​the lampshade; wherein the ambient brightness feature data of each area of ​​the lampshade is used to represent the average brightness level within the area; Obtaining an ambient brightness feature template of an ambient brightness feature value; wherein the ambient brightness feature template of the ambient brightness feature value is a template of expected brightness set according to the space in which the lamp is located and the usage scenario; Obtaining, based on the ambient brightness characteristic data of each region of the lampshade and the ambient brightness characteristic template, an offset correlation coefficient of the ambient brightness characteristic template; wherein the offset correlation coefficient of the ambient brightness characteristic template is obtained based on the ambient brightness characteristic data of each region of the lampshade and the ambient brightness characteristic template, and the offset correlation coefficient of the ambient brightness characteristic template is used to reflect the degree of conformity between the actual average brightness and the expected brightness; Based on the offset correlation coefficient, the ambient brightness offset of each area of ​​the lampshade is determined.

7. The LED lamp brightness control method according to claim 1, characterized in that: The performing regional differentiated fusion based on the first reference transmittance and the second reference transmittance of each region of the lampshade to obtain a third reference transmittance of each region of the lampshade includes: performing regional differentiation fusion based on the first reference light transmittance of each region of the lampshade and the second reference light transmittance of each region of the lampshade to obtain a light transmittance reference value of each region of the lampshade; wherein the light transmittance reference value of each region of the lampshade is used to reflect the degree of influence of dust accumulation and ambient brightness in each region of the lampshade on the light irradiated by the LED lamp in the environment; Based on the light transmittance reference value of each area, a logical threshold operation is performed on the initial light transmittance to obtain comprehensive light transmittance data of each area of ​​the lampshade; wherein the initial light transmittance is the actual measured light transmittance value of the lampshade when it leaves the factory; the comprehensive light transmittance data of each area of ​​the lampshade is used to reflect the degree of influence of dust accumulation in each area of ​​the lampshade, ambient brightness, and the initial state of the lampshade on the light irradiated by the LED lamp in the environment; Based on the comprehensive light transmittance data of each area of ​​the lampshade, a third reference light transmittance of each area of ​​the lampshade is obtained.

8. The LED lamp brightness control method according to claim 7, characterized in that: The obtaining, based on the comprehensive light transmittance data of each area of ​​the lampshade, a third reference light transmittance of each area of ​​the lampshade, comprises: Based on the comprehensive light transmittance data of each area of ​​the lampshade, obtaining the light transmittance attenuation of each area of ​​the lampshade; Based on the transmittance attenuation of each area of ​​the lampshade, a third reference transmittance of each area of ​​the lampshade is obtained.

9. The LED lamp brightness control method according to claim 1, characterized in that: The adjusting the voltage of each area of ​​the lampshade according to the third reference transmittance of each area of ​​the lampshade includes: Determining a dimming ratio of each area of ​​the lampshade according to the third reference transmittance of each area; wherein the dimming ratio of each area of ​​the lampshade is used to reflect the ratio of the brightness that should be set for each area of ​​the lampshade to the brightness previously set for each area of ​​the lampshade; Based on the dimming ratio of each area of ​​the lampshade, dimming voltage data of each area of ​​the lampshade is obtained; wherein the dimming voltage data is an actual control voltage value obtained according to the dimming ratio; The obtaining dimming voltage data of each area of ​​the lampshade based on the dimming ratio of each area of ​​the lampshade includes: Calibrate the dimming voltage ratio of each area of ​​the lampshade based on the dimming ratio of each area and the real-time voltage of each area of ​​the lampshade to obtain the dimming voltage ratio of each area of ​​the lampshade; Obtaining dimming voltage data for each area of ​​the lampshade according to the dimming voltage ratio and a preset dimming voltage coefficient; wherein the preset dimming voltage coefficient is used to represent a hardware characteristic parameter for converting the dimming ratio into an actual control voltage value; The voltage of each area of ​​the lampshade is adjusted according to the dimming voltage data of each area of ​​the lampshade.

10. An LED lamp, characterized in that: The invention comprises an LED lamp body, a micro camera, a brightness sensor, and a controller. The LED lamp body comprises a lampshade and a wick arranged inside the lampshade. The micro camera is arranged inside the lampshade. The brightness sensor is arranged outside the lampshade. The controller is electrically connected to the micro camera, the brightness sensor, and the lampshade respectively. The controller comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the method according to any one of claims 1 to 9 is implemented.