Illuminance adaptive adjustment method, system and its application in intelligent lighting system
By setting illuminance references in the light-affected area of the lamp and using the camera equipment to obtain its chromaticity values for comparison, the problem that lamps in the prior art is difficult to achieve illuminance balance, and the adaptive adjustment of illuminance and the improvement of humanized and intelligent lighting are achieved.
Patent Information
- Application Number
- CN202210335921.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-03-31
AI Technical Summary
When adjusting the indoor illuminance, it is difficult to achieve balance of illuminance in existing dimmable lamps, especially when the external ambient light changes, it is impossible to adapt to and adjust the indoor illuminance in time.
By setting the illuminance reference in the light-influenced area of the lamp, using the imaging device to obtain the chromaticity value of the reference object, and comparing it with the initially set reference chromaticity value, generating a comparison result, and adjusting the illuminance of the lamp according to preset conditions to achieve equalization of illuminance.
It realizes adaptive adjustment of lighting illumination, can respond to changes in the external ambient light in a timely manner, ensures the balance and humanization of indoor lighting, and improves the intelligence level of smart lamp systems.
Smart Images

Figure CN114916108B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lamp illumination adjustment, and in particular to an illumination adaptive adjustment method and system and application thereof in an intelligent lamp system. Background Art
[0002] As a commonly used auxiliary device in indoor and outdoor lighting, with the continuous innovation of technology, dimmable lamps have long been widely used. For classrooms, living rooms or other public indoor environments, appropriate light intensity can provide indoor people with a better environmental experience. However, current dimmable lamps often require manual intervention for dimming, or simply rely on their own sensors to identify external lighting conditions to adjust the light intensity of the lamps. This small-scale light intensity monitoring method often causes the ambient light entering from the outdoors to affect the light intensity of local areas indoors, making it impossible for the lamps in the corresponding areas to actively dim to adapt to the pre-set light intensity of the environment. Therefore, how to improve the light intensity balance of the lighting auxiliary environment is a very positive and practical topic. Summary of the invention
[0003] In view of this, the object of the present invention is to provide a method and system for adaptively adjusting illumination with rapid response, convenient adjustment, reliable implementation and user-friendly use, and application thereof in an intelligent lighting system.
[0004] In order to achieve the above technical objectives, the technical solution adopted by the present invention is:
[0005] A method for adaptively adjusting illuminance, used for adjusting illuminance of a lamp-assisted lighting scene, wherein the lamp is an illuminance-adjustable lamp, and comprises:
[0006] S01. Start the lamp to provide auxiliary lighting;
[0007] S02. Select an illumination reference object in the illumination influence area of the lamp and set it as the detection object;
[0008] S03, obtaining an image within the area affected by the lighting of the lamp, and then locating the object to be detected in the image and obtaining the chromaticity value of the object to be detected in the image;
[0009] S04, adjusting the illuminance of the lamp so that the illuminance in the area affected by the lamp reaches the preset requirement, and then obtaining the chromaticity value corresponding to the detection object after the lamp is adjusted, and setting it as the reference chromaticity value;
[0010] S05, obtaining the chromaticity value of the detected object at a preset time frequency, setting it as a real-time chromaticity value, and comparing and matching it with a reference chromaticity value to generate a comparison result;
[0011] S06. Obtain comparison results and adjust the illuminance of the lamp according to preset conditions.
[0012] As a possible implementation manner, further in this solution, the auxiliary lighting scene is an indoor scene; and the illumination reference object is an auxiliary tag arranged in the indoor scene.
[0013] As a preferred implementation mode, preferably, in this solution, the auxiliary label includes:
[0014] The first reference part is a black ring structure;
[0015] A second reference portion, located in the annular structure of the first reference portion and white in color;
[0016] The outer contours of the first reference portion and the second reference portion are both perfect circles.
[0017] As a preferred implementation mode, preferably, in the present solution S03, the method of obtaining an image within the illumination influence area of the lamp, and then locating the detection object in the image and obtaining the chromaticity value of the detection object in the image includes:
[0018] S031. Acquire an image within the area affected by the lighting of the lamp;
[0019] S032, positioning the detected object in the image and generating a positioning result;
[0020] S033, obtaining a positioning result, and when the positioning result meets the preset requirements, performing distortion correction on the detected object located in the image to generate a contour of the detected object that is the same as the actual contour shape;
[0021] S034. Obtain the chromaticity value of the second reference part of the test object.
[0022] As a preferred implementation mode, preferably, in the present solutions S05 and S06, the comparison result is the difference between the real-time chromaticity value and the reference chromaticity value.
[0023] As a preferred implementation mode, preferably, in the present solution S01, when the lamp is started, the adjustment sensitivity of the lamp is also set so that it can provide auxiliary lighting.
[0024] In the corresponding step S06, after obtaining the comparison result, the comparison result is compared with the adjustment sensitivity. When the comparison result exceeds the adjustment sensitivity, the illuminance of the lamp is adjusted according to the preset conditions so that the illuminance in the area affected by the lamp is adjusted to the preset value;
[0025] When the comparison result does not exceed the adjustment sensitivity, the illuminance of the lamp is not adjusted, so that the illuminance in the area affected by the lamp remains the same;
[0026] The adjustment sensitivity is the range in which the illuminance in the area affected by the lamp deviates from the preset value.
[0027] As a preferred implementation mode, preferably, in this solution, the lamp adjusts its illuminance by adjusting the current input value.
[0028] Based on the above scheme, the present invention also provides a light intensity adaptive adjustment system, which includes
[0029] A lamp is used to provide lighting in an auxiliary lighting scene, and the lamp is an illuminance-adjustable lamp;
[0030] A camera unit, used to obtain images within the lighting influence area of the lamp;
[0031] Illuminance reference objects are set in the illumination influence area of the lamp and are used to provide illuminance reference;
[0032] A positioning detection unit, used to select an illumination reference object in the lighting influence area of the lamp and set it as a detection object, and also used to locate the detection object in the image in the lighting influence area of the lamp and obtain the chromaticity value of the detection object;
[0033] The lamp control unit is used to start the lamp to provide auxiliary lighting and to adjust the illumination of the lamp so that the illumination in the area affected by the lamp reaches the preset requirements;
[0034] The monitoring unit is used to obtain the chromaticity value corresponding to the detection object after the lamp is adjusted, set it as the reference chromaticity value, and is also used to obtain the chromaticity value of the detection object at a preset time frequency, set it as the real-time chromaticity value, and compare and match it with the reference chromaticity value, generate a comparison result and output an instruction to adjust the illumination of the lamp according to preset conditions based on the comparison result.
[0035] As a preferred implementation mode, preferably, in this solution, there are more than one lamps, which are arranged in the auxiliary lighting scene; there are more than one light intensity reference objects, which are arranged in the auxiliary lighting scene and correspond to one or more lamps; there are more than one camera units, and the image capture range of all camera units covers the arrangement positions of all light intensity reference objects.
[0036] As a preferred implementation mode, preferably, in this solution, the auxiliary lighting scene is indoors.
[0037] Based on the above solution, the present invention also provides an intelligent lighting system, which includes the above-mentioned adaptive illumination adjustment system.
[0038] By adopting the above-mentioned technical scheme, the present invention has the following beneficial effects compared with the prior art: the scheme cleverly sets the detection object as the illuminance feedback object in the auxiliary lighting scene of the lamp, uses the camera equipment to collect images of the detection object at a preset time frequency and obtains its chromaticity value, combines the initially selected reference chromaticity value for comparison to obtain the degree of illuminance deviation in the current scene, and then adjusts the lamp operation when the illuminance deviates from the reference chromaticity value through sensitivity setting, so that when the external ambient light or other light source changes, the illuminance output of the lamp can be adjusted in time to achieve illuminance balance for the whole scene, thereby improving the humanization and intelligence of the auxiliary lighting of the lamp. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 It is a schematic diagram of a simplified implementation process of one embodiment of the method of the present invention;
[0041] Figure 2 It is a schematic diagram of an implementation outline of one of the detection objects mentioned in the method of the present invention;
[0042] Figure 3 It is a schematic diagram of a brief process of image acquisition, detection, positioning and distortion correction of the detection object in the method of the present invention;
[0043] Figure 4 It is a schematic diagram of the method of the present invention, in which the detected object is distorted from a circle to an ellipse in the image pickup;
[0044] Figure 5 It is a schematic diagram of correcting and converting the detected object into a circle after it is distorted into an ellipse in the image pickup in the method of the present invention;
[0045] Figure 6 It is a schematic diagram of a region for performing colorimetric value detection on a second reference portion of a detection object in the method of the present invention;
[0046] Figure 7 It is a schematic diagram of a brief process of setting the sensitivity of the lamp after turning on the lamp, and subsequently adjusting the brightness of the reference object and the illumination of the lamp according to the comparison result in the method of the present invention;
[0047] Figure 8 It is a brief connection principle diagram of the system of the present invention;
[0048] Fig. 9 It is a brief schematic diagram of one implementation example of the solution of the present invention;
[0049] Fig.10 The present invention is loaded into a server and a connection principle diagram is provided for controlling Internet of Things devices such as cameras, gateways, and smart lights. DETAILED DESCRIPTION
[0050] The present invention will be further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present invention, but are not intended to limit the scope of the present invention. Similarly, the following examples are only partial embodiments of the present invention rather than all embodiments, and all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present invention.
[0051] like Figure 1 As shown, the present invention implements a method for adaptively adjusting illuminance, which is used for adjusting illuminance of a lamp-assisted lighting scene, wherein the lamp is an illuminance-adjustable lamp, and comprises:
[0052] S01. Start the lamp to provide auxiliary lighting;
[0053] S02. Select an illumination reference object in the illumination influence area of the lamp and set it as the detection object;
[0054] S03, obtaining an image within the area affected by the lighting of the lamp, and then locating the object to be detected in the image and obtaining the chromaticity value of the object to be detected in the image;
[0055] S04, adjusting the illuminance of the lamp so that the illuminance in the area affected by the lamp reaches the preset requirement, and then obtaining the chromaticity value corresponding to the detection object after the lamp is adjusted, and setting it as the reference chromaticity value;
[0056] S05, obtaining the chromaticity value of the detected object at a preset time frequency, setting it as a real-time chromaticity value, and comparing and matching it with a reference chromaticity value to generate a comparison result;
[0057] S06. Obtain comparison results and adjust the illuminance of the lamp according to preset conditions.
[0058] Combination Figure 2 As shown, as a possible implementation mode, further, in this solution, the auxiliary lighting scene is an indoor scene; and in order to facilitate unified management and improve the reference stability of the reference object, in this solution, the illuminance reference object is an auxiliary tag arranged in the indoor scene; as a preferred mode, the auxiliary tag includes:
[0059] The first reference part is a black ring structure;
[0060] A second reference portion, located in the annular structure of the first reference portion and white in color;
[0061] Among them, the outer contours of the first reference part and the second reference part are both perfect circles; in addition, the main function of the first reference part is to identify the characteristics of the reference object, that is, when the detection object is subsequently detected and positioned, the auxiliary label with the concentric circle contour is defined as the detection object, and the black ring on the periphery can be used as a unique feature of the detection object for convenient positioning and detection; and as an example of a size specification, the outer diameter of the second reference part of the auxiliary label can be 20cm and the inner diameter can be 16cm. When it is installed indoors, it is attached to the wall at a height of more than 2 meters to make it within the shooting range of the camera; when there are multiple lamps and the indoor space is large, multiple detection objects can be posted according to the number of rows of lamps or the lamp control requirements to meet the needs of individual control of lamps in this scene.
[0062] Combination Figures 3 to 7 As shown in one, in terms of image acquisition and positioning detection of chromaticity values of the detection object, as a preferred embodiment, preferably, in this solution S03, the method of obtaining an image within the area affected by the lighting of the lamp, and then locating the detection object in the image and obtaining the chromaticity value of the detection object in the image includes:
[0063] S031. Acquire an image within the area affected by the lighting of the lamp;
[0064] S032, positioning the detected object in the image and generating a positioning result;
[0065] S033, obtaining a positioning result, and when the positioning result meets the preset requirements, performing distortion correction on the detected object located in the image to generate a contour of the detected object that is the same as the actual contour shape;
[0066] S034. Obtain the chromaticity value of the second reference part of the test object.
[0067] Among them, the chromaticity value described in S034 can be an RGB chromaticity value, and the second reference part is pure white, and its RGB chromaticity value should be (255, 255, 255). After binarization, the black and white chromaticity of the second reference part is adjusted to [0, 255]. That is, when the detection value is 255, it is the highest value of white, and when it is 0, it is defined as pure black, that is, there is no light illumination environment; in actual application scenarios, the factors affecting indoor light illumination include not only the light output power of the lamp, but also the outdoor ambient light. Therefore, in actual application, the chromaticity value detected by the second reference part will be lower than 255, for example, 200. Therefore, when the initial light illumination of the light is adjusted, after the chromaticity value of the second reference part is detected according to the subsequent time frequency, its value deviating from the preset value is monitored, and the change of indoor light illumination can be indirectly known, that is, when the ambient brightness changes, the chromaticity value of the detection object captured by the camera will also change accordingly. When the environment becomes darker, the chromaticity value of the detection object in the image will decrease, and when the environment becomes brighter, the image pixel value will increase; and the ambient brightness and the chromaticity value of the detection object in the image will show a certain linear change; therefore, by calculating the average chromaticity value of the designated object (detection object) in the environment in the image, the change in brightness in the environment can be reflected; and when the detection object has a circular outline, the stability and uniformity of the detection can be improved by detecting the chromaticity value of the pixel value of the area covered by the second reference part and then taking its average value. When there are multiple detection objects, by associating different detection objects with different lamps, compared with the chromaticity value reference of a single detection object, through multiple one-to-one or one-to-many illuminance feedback, the flexibility of the site illuminance detection can be improved; as a preferred embodiment, preferably, in this scheme S05 and S06, the comparison result is the difference between the real-time chromaticity value and the reference chromaticity value, specifically, the difference is calculated by the average chromaticity value of all pixels in the second reference part and the reference chromaticity value.
[0068] As a preferred implementation method, in the present solution S01, when the lamp is started, the adjustment sensitivity of the lamp is also set so that it can provide auxiliary lighting.
[0069] In the corresponding step S06, after obtaining the comparison result, the comparison result is compared with the adjustment sensitivity. When the comparison result exceeds the adjustment sensitivity, the illuminance of the lamp is adjusted according to the preset conditions so that the illuminance in the area affected by the lamp is adjusted to the preset value;
[0070] When the comparison result does not exceed the adjustment sensitivity, the illuminance of the lamp is not adjusted, so that the illuminance in the area affected by the lamp remains the same;
[0071] The adjustment sensitivity is the range of the illuminance in the area affected by the lamp that deviates from the preset value. For example, the sensitivity is set to deviate from the reference chromaticity value by ±20. When the real-time chromaticity value of the reference object is higher or lower than the reference chromaticity value by 20, a lamp illuminance adjustment instruction is generated. By adjusting the illuminance of the lamp, the indoor illuminance is maintained at the initially set illuminance. This method can avoid the need to adjust the illuminance output of the lamp to correct or compensate for the indoor illuminance requirement when the external ambient light changes. At the same time, the sensitivity setting also includes: (1) preventing a small change in the brightness of the detected object in the image from causing frequent changes in the lamp current, and (2) meeting different scenarios and different users' different requirements for brightness adjustment.
[0072] In order to facilitate the adjustment of the illuminance output value of the lamp, as a preferred implementation method, preferably, in this solution, the lamp adjusts its illuminance by adjusting the current input value, and it is common for existing lamps to dim by controlling the input current. Therefore, the mechanism of changing the current dimming will not be repeated.
[0073] Combination Figure 8 As shown, based on the above scheme, this scheme also provides a light intensity adaptive adjustment system, which includes
[0074] A lamp, arranged in an auxiliary lighting scene to provide lighting, wherein the lamp is an illuminance-adjustable lamp, wherein the auxiliary lighting scene is indoors;
[0075] A camera unit, used to obtain images within the lighting influence area of the lamp;
[0076] Illuminance reference objects are set in the illumination influence area of the lamp and are used to provide illuminance reference;
[0077] A positioning detection unit, used to select an illumination reference object in the lighting influence area of the lamp and set it as a detection object, and also used to locate the detection object in the image in the lighting influence area of the lamp and obtain the chromaticity value of the detection object;
[0078] The lamp control unit is used to start the lamp to provide auxiliary lighting and to adjust the illumination of the lamp so that the illumination in the area affected by the lamp reaches the preset requirements;
[0079] The monitoring unit is used to obtain the chromaticity value corresponding to the detection object after the lamp is adjusted, set it as the reference chromaticity value, and is also used to obtain the chromaticity value of the detection object at a preset time frequency, set it as the real-time chromaticity value, and compare and match it with the reference chromaticity value, generate a comparison result and output an instruction to adjust the illumination of the lamp according to preset conditions based on the comparison result.
[0080] Among them, as a preferred implementation mode, preferably, in this scheme, there are more than one lamps, which are arranged in the auxiliary lighting scene; there are more than one light intensity reference objects, which are arranged in the auxiliary lighting scene and correspond to one or more lamps; there are more than one camera units and the image capture range of all camera units covers the arrangement positions of all light intensity reference objects.
[0081] Based on the above scheme, combined with Fig. 9 or Fig.10 As shown, the present embodiment also provides an implementation example of a smart lamp system, which includes the above-mentioned adaptive light adjustment system, wherein a computer-readable storage medium can be added, and the storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the above-mentioned adaptive light adjustment method, and then loaded into a server, and a communication connection is established with a camera (i.e., a camera unit) and a Bluetooth gateway through a switch, and then an Internet of Things communication connection is established with a smart lamp (i.e., a light fixture with adjustable light intensity) through the Bluetooth gateway, so as to realize adaptive light adjustment of the smart lamp during auxiliary lighting.
[0082] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0084] The above descriptions are only some embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for adaptively adjusting illuminance, used for adjusting illuminance of a lighting fixture auxiliary lighting scene, wherein the lighting fixture is an illuminance-adjustable lighting fixture, characterized in that: It includes: Start the lamps to provide auxiliary lighting; Select an illumination reference object within the lighting influence area of the lamp and set it as the detection object; Acquire an image of the area affected by the lighting of the lamp, then locate the object to be tested in the image and obtain the chromaticity value of the object to be tested in the image; Adjust the illuminance of the lamp so that the illuminance in the area affected by the lamp reaches the preset requirement, and then obtain the chromaticity value corresponding to the test object after the lamp is adjusted, and set it as the reference chromaticity value; Acquire the chromaticity value of the detected object at a preset time frequency, set it as the real-time chromaticity value, and compare and match it with the reference chromaticity value to generate a comparison result; Obtain the comparison results and adjust the illuminance of the lamps according to the preset conditions; Wherein, the comparison result is the difference between the real-time chromaticity value and the reference chromaticity value; When the lamp is started, the adjustment sensitivity of the lamp is also set to enable it to provide lighting assistance; After obtaining the comparison results, compare the comparison results with the adjustment sensitivity. When the comparison result exceeds the adjustment sensitivity, the illuminance of the lamp is adjusted according to the preset conditions so that the illuminance in the area affected by the lamp is adjusted to the preset value; The adjustment sensitivity is the range in which the illuminance in the area affected by the lamp deviates from the preset value.
2. The method for adaptively adjusting illumination according to claim 1, characterized in that: The auxiliary lighting scene is an indoor scene; The illumination reference object is an auxiliary tag arranged in an indoor scene.
3. The method for adaptively adjusting illumination according to claim 2, characterized in that: The auxiliary label includes: The first reference part is a black ring structure; A second reference portion, located in the annular structure of the first reference portion and white in color; The outer contours of the first reference portion and the second reference portion are both perfect circles.
4. The method for adaptively adjusting illumination according to claim 3, characterized in that: The method of obtaining an image within the area affected by the lighting of the lamp, and then locating the detection object in the image and obtaining the chromaticity value of the detection object in the image includes: Acquire the image within the lighting influence area of the lamp; Locate the detected object in the image and generate a positioning result; Obtaining the positioning result, and when the positioning result meets the preset requirements, performing distortion correction on the detected object located in the image to generate the contour of the detected object that is the same as the actual contour shape; The colorimetric value of the second reference portion of the test object is obtained.
5. The method for adaptively adjusting illumination according to claim 1, characterized in that: The lamp adjusts its illuminance by adjusting the current input value.
6. A light intensity adaptive adjustment system, which is applied with the light intensity adaptive adjustment method according to any one of claims 1 to 5, characterized in that: It includes: A lamp is used to be arranged in an auxiliary lighting scene to provide lighting, and the lamp is a lamp with adjustable illumination; A camera unit, used to obtain images within the lighting influence area of the lamp; Illuminance reference objects are set in the illumination influence area of the lamp and are used to provide illuminance references; A positioning detection unit, used to select an illumination reference object in the lighting influence area of the lamp and set it as a detection object, and also used to locate the detection object in the image in the lighting influence area of the lamp and obtain the chromaticity value of the detection object; The lamp control unit is used to start the lamp to provide auxiliary lighting and to adjust the illumination of the lamp so that the illumination in the area affected by the lamp reaches the preset requirements; The monitoring unit is used to obtain the chromaticity value corresponding to the detection object after the lamp is adjusted, set it as the reference chromaticity value, and is also used to obtain the chromaticity value of the detection object at a preset time frequency, set it as the real-time chromaticity value, and compare and match it with the reference chromaticity value, generate a comparison result and output an instruction to adjust the illumination of the lamp according to preset conditions based on the comparison result.
7. The adaptive illumination adjustment system according to claim 6, characterized in that: There are more than one lamps, which are arranged in the auxiliary lighting scene; There are more than one illumination reference object, which are arranged in the auxiliary lighting scene and correspond to one or more lamps; There is more than one camera unit and the image capturing ranges of all the camera units cover the layout positions of all illumination reference objects.
8. The adaptive illumination adjustment system according to claim 6, characterized in that: The auxiliary lighting scene is indoors.
9. An intelligent lighting system, characterized in that: It includes the illumination adaptive adjustment system as described in any one of claims 6 to 7.
Citation Information
Patent Citations
LED surgical shadowless lamp system with full-automatic intelligent constant-light control function
CN104363676A
Indoor intelligent control lamp at public place
CN104869695A
Automatic adjusting method, device and system for intelligent lamp
CN111867211A