Intelligent lighting control method and device based on custom color temperature curve and medium

By generating a custom color temperature curve on the terminal display interface and matching electrical parameters using an electrical parameter lookup table, the problem of poor flexibility in light color adjustment in existing lighting control methods is solved, enabling precise control of users' personalized lighting needs.

CN121940935APending Publication Date: 2026-04-28ZHU HAI RU RAN ZHI NENG KE JI YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHU HAI RU RAN ZHI NENG KE JI YOU XIAN GONG SI
Filing Date
2026-03-20
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Existing lighting control methods cannot meet users' personalized lighting needs, have poor flexibility in light color adjustment, and are difficult to identify users' lighting needs for personalized adjustment.

Method used

By displaying the initial chromaticity diagram on the terminal display interface, obtaining the user's custom input information, generating the target custom color temperature curve, extracting the color coordinates of the target color temperature point, and sending it to the lamp, the lamp emits light by matching the target electrical parameters using a pre-built electrical parameter lookup table.

Benefits of technology

It enables precise control of color temperature for any user, improves the flexibility of light color adjustment, and meets users' personalized lighting needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121940935A_ABST
    Figure CN121940935A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent lighting control method and device based on a user-defined color temperature curve and a medium. The intelligent lighting control method based on the user-defined color temperature curve comprises the steps that an initial chromaticity diagram for a target lamp is displayed on a display interface of a terminal; obtaining user-defined input information for the initial chromaticity diagram on the display interface, and generating a target user-defined color temperature curve on the initial chromaticity diagram based on the user-defined input information; obtaining a target color temperature point selected on the target custom color temperature curve, and extracting a target color coordinate of the target color temperature point on the initial chromaticity diagram; and sending the target color coordinate to the target lamp, so that the target lamp finds a target electrical parameter matched with the target color coordinate in a pre-constructed electrical parameter query table, and emits light based on the target electrical parameter, thereby improving the flexibility of light color adjustment, and meeting the personalized illumination demand of the current user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of lighting technology, and in particular to an intelligent lighting control method, device and medium based on a custom color temperature curve. Background Technology

[0002] With the growing demand for healthy and personalized lighting, people have increasingly higher requirements for the color temperature of lighting fixtures. However, current lighting control methods only allow luminaires to switch between a few preset color temperatures. When users want more personalized color temperature lighting, existing luminaires struggle to recognize and personalize the lighting needs of users. Therefore, current lighting control methods have poor flexibility in color temperature adjustment and cannot meet the personalized lighting needs of current users. Summary of the Invention

[0003] The main objective of this disclosure is to propose an intelligent lighting control method, device, and medium based on a custom color temperature curve, which can improve the flexibility of light color adjustment and meet the personalized lighting needs of current users.

[0004] To achieve the above objectives, a first aspect of this disclosure proposes an intelligent lighting control method based on a custom color temperature curve, applied in a terminal, comprising: The initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface; Obtain custom input information for the initial chromaticity diagram on the display interface, and generate a target custom color temperature curve on the initial chromaticity diagram based on the custom input information; Obtain the target color temperature point selected on the target custom color temperature curve, and extract the target color coordinates of the target color temperature point on the initial chromaticity map; The target color coordinates are sent to the target luminaire so that the target luminaire can find the target electrical parameters that match the target color coordinates in a pre-built electrical parameter lookup table and emit light based on the target electrical parameters.

[0005] In some embodiments, when the electrical parameter lookup table is pre-stored in the terminal, after obtaining the target color temperature point selected on the target custom color temperature curve and extracting the target color coordinates of the target color temperature point on the initial chromaticity diagram, the intelligent lighting control method based on the custom color temperature curve further includes: Obtain the pre-built electrical parameter lookup table in the terminal, and find the target electrical parameter that matches the target color coordinate from the electrical parameter lookup table; The target electrical parameters are sent to the target luminaire so that the target luminaire emits light based on the target electrical parameters.

[0006] In some embodiments, the electrical parameter lookup table is established through the following steps: Acquire the spectral power distribution data and corresponding tristimulus values ​​of the different light emitted by the target luminaire when it emits light under all adjustable electrical parameters; Based on multiple different spectral power distribution data and the corresponding tristimulus values, the display range of the target lamp is generated in a preset chromaticity diagram; Based on the mapping relationship between the color coordinates of each point within the display range and the corresponding electrical parameters, the electrical parameter lookup table is constructed.

[0007] In some embodiments, displaying an initial chromaticity diagram for the target luminaire on the display interface of the terminal includes: An initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface, and the display range is shown in the initial chromaticity diagram.

[0008] In some embodiments, displaying an initial chromaticity diagram for the target luminaire on the display interface of the terminal includes: An initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface, and a blackbody trajectory line representing the display standard of the target luminaire is displayed in the initial chromaticity diagram.

[0009] In some embodiments, generating a target custom color temperature curve on the initial chromaticity map based on the custom input information includes: When the custom input information includes an initial color temperature curve drawn on the initial chromaticity diagram, a corresponding target custom color temperature curve is generated on the initial chromaticity diagram based on the initial color temperature curve. When the custom input information includes multiple target color temperature values, an initial color coordinate is configured for each target color temperature value, which deviates from the blackbody trajectory line of the target lamp display standard. Based on each initial color coordinate, an interpolation algorithm is used to interpolate the values, and a target custom color temperature curve is generated based on the interpolated color coordinates.

[0010] In some embodiments, after the target color coordinates are sent to the target luminaire so that the target luminaire finds the target electrical parameters that match the target color coordinates in a pre-built electrical parameter lookup table and emits light based on the target electrical parameters, the intelligent lighting control method based on a custom color temperature curve further includes: Based on the pre-calibrated spectral model of the target luminaire and the target electrical parameters that match the target color coordinates, the optical index of the current output light color of the target luminaire is calculated in real time. The calculated optical parameters are dynamically displayed on the display interface.

[0011] To achieve the above objectives, a second aspect of this disclosure proposes an intelligent lighting control method based on a custom color temperature curve, applied in a luminaire, comprising: The receiving terminal sends target color coordinates, wherein the target color coordinates are obtained by the terminal acquiring the target color temperature point selected on the target custom color temperature curve and extracting the color coordinates of the target color temperature point on the initial colorimetric diagram; the target custom color temperature curve is generated by the terminal after displaying the initial colorimetric diagram for the lamp on the display interface, acquiring custom input information for the initial colorimetric diagram on the display interface, and generating the initial colorimetric diagram based on the custom input information. In a pre-built electrical parameter lookup table, the target electrical parameters that match the target color coordinates are found, and light emission is performed based on the target electrical parameters.

[0012] To achieve the above objectives, a third aspect of this disclosure provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the intelligent lighting control method based on a custom color temperature curve as described in the first or second aspect embodiments.

[0013] To achieve the above objectives, a fourth aspect of the present disclosure provides a storage medium, which is a computer-readable storage medium storing a computer program that, when executed by a processor, implements the intelligent lighting control method based on a custom color temperature curve as described in the first or second aspect embodiment.

[0014] The beneficial effects of the embodiments disclosed herein include: This embodiment of the disclosure presents an initial chromaticity diagram of the target luminaire on the terminal display interface, allowing users to generate a target custom color temperature curve on the chromaticity diagram based on their own custom input information. This breaks the limitations of existing preset fixed color temperatures, giving users the authority to define the color temperature adjustment range and specific color temperature change trends. Then, by obtaining the target color temperature point selected by the user on the custom color temperature curve, extracting its corresponding color coordinates, and sending them to the target luminaire, the luminaire matches the corresponding target electrical parameters through a pre-built electrical parameter lookup table and emits light. This achieves precise control of any personalized color temperature for the user, thereby effectively improving the flexibility of light color adjustment and accurately meeting the current user's personalized lighting needs. Attached Figure Description

[0015] Figure 1This is a scene diagram illustrating the implementation environment of the intelligent lighting control method based on a custom color temperature curve provided in this embodiment of the disclosure; Figure 2 This is a flowchart illustrating the intelligent lighting control method based on a custom color temperature curve provided in this embodiment of the present disclosure. Figure 3 yes Figure 2 A flowchart illustrating the further steps following step S103; Figure 4 This is a flowchart illustrating the process of establishing an electrical parameter lookup table according to an embodiment of this disclosure; Figure 5 This is a schematic diagram of a chromaticity map containing a display range provided in an embodiment of this disclosure; Figure 6 This is a flowchart illustrating a chromaticity map containing a blackbody trajectory line, provided in an embodiment of this disclosure. Figure 7 yes Figure 2 A flowchart illustrating the further steps following step S104; Figure 8 This is another schematic flowchart of the intelligent lighting control method based on a custom color temperature curve provided in this disclosure embodiment; Figure 9 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this disclosure. Detailed Implementation

[0016] The accompanying drawings in the embodiments clearly and completely describe the technical solutions in the embodiments of this disclosure. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0017] It is understood that in the specific embodiments of this disclosure, it involves retrieving custom input information and related data. When the above embodiments of this disclosure are applied to specific products or technologies, user permission or consent can be obtained, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards.

[0018] Furthermore, when the embodiments of this disclosure need to retrieve custom input information and related data, separate permission or consent to the custom input information and related data can be obtained through pop-up windows or redirection to a confirmation page. After obtaining separate permission or consent to the custom input information and related data, the necessary custom input information and related data for the normal operation of the embodiments of this disclosure can be obtained.

[0019] In this disclosure, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0020] To address the aforementioned problems, this disclosure proposes an intelligent lighting control method, device, and medium based on a custom color temperature curve, which can improve the flexibility of light color adjustment and meet the personalized lighting needs of current users.

[0021] Please see Figure 1 , Figure 1 A scene diagram illustrating the implementation environment of the intelligent lighting control method based on a custom color temperature curve provided in this embodiment of the disclosure includes: a terminal 11 and a lamp 12 (target lamp).

[0022] For example, terminal 11 can display an initial chromaticity diagram for lamp 12 on the display interface; obtain custom input information for the initial chromaticity diagram on the display interface, and generate a target custom color temperature curve on the initial chromaticity diagram based on the custom input information; obtain the target color temperature point selected on the target custom color temperature curve, and extract the target color coordinates of the target color temperature point on the initial chromaticity diagram; send the target color coordinates to lamp 12, so that lamp 12 can find the target electrical parameters that match the target color coordinates in a pre-built electrical parameter lookup table, and emit light based on the target electrical parameters.

[0023] Terminal 11 may be a mobile phone, computer, smart voice interaction device, smart wearable device, smart home appliance, etc., but is not limited to these. Terminal 11 and server 12 can be directly or indirectly connected through wired or wireless communication, and this embodiment of the disclosure does not impose any limitations.

[0024] It should be noted that, Figure 1 The schematic diagram of the implementation environment shown is merely an example. The scenarios described in this disclosure are intended to more clearly illustrate the technical solutions of this disclosure and do not constitute a limitation on the technical solutions provided in this disclosure. As those skilled in the art will know, with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in this disclosure are also applicable to similar technical problems.

[0025] Please see Figure 2 , Figure 2This is a flowchart illustrating the intelligent lighting control method based on a custom color temperature curve provided in this disclosure. This intelligent lighting control method based on a custom color temperature curve can be applied in a terminal. The method includes steps S101 to S104: Step S101: Display the initial chromaticity diagram for the target luminaire on the terminal's display interface; Step S102: Obtain custom input information for the initial chromaticity diagram on the display interface, and generate a target custom color temperature curve on the initial chromaticity diagram based on the custom input information; Step S103: Obtain the target color temperature point selected on the target custom color temperature curve, and extract the target color coordinates of the target color temperature point on the initial chromaticity map; Step S104: The target color coordinates are sent to the target luminaire so that the target luminaire can find the target electrical parameters that match the target color coordinates in the pre-built electrical parameter lookup table and emit light based on the target electrical parameters.

[0026] Regarding step S101 above, the terminal is the interactive interface carrier for users to set personalized color temperature. This includes devices with graphical interfaces such as smartphones, tablets, or dedicated remote controls with a lighting control application (APP) installed, which work in conjunction with the target luminaire (hereinafter referred to as the luminaire) to achieve personalized color temperature adjustment. Furthermore, the terminal can establish a connection with the target luminaire via wireless communication protocols such as Wi-Fi, Bluetooth, or Zigbee.

[0027] The initial chromaticity diagram conforms to the CIE 1931 standard of the International Commission on Illumination. It is used to visually display the color coordinate position of colors on a two-dimensional plane, where the horizontal axis represents the x-coordinate and the vertical axis represents the y-coordinate. Each color corresponds to a unique color coordinate. When displaying the initial chromaticity diagram on the display interface, information such as the actual adjustable range of the target luminaire and the standard blackbody trajectory line can also be overlaid to provide users with a scientific adjustment reference. No specific limitations are imposed here.

[0028] The target luminaire is an intelligent lighting device to be controlled. It contains LED beads of various primary colors, such as RGB, RGBW, or multi-primary-color combinations. It can achieve light output of different color coordinates by adjusting the driving electrical parameters of each primary color, thereby achieving the corresponding dimming effect.

[0029] It should be noted that the embodiments of this disclosure present the CIE chromaticity diagram through the terminal display interface, transforming the abstract color temperature adjustment into an intuitive two-dimensional plane interaction, providing users with a scientific and visual adjustment environment, and laying a visual foundation for subsequent custom curve drawing.

[0030] Regarding step S102 above, the custom input information is the user's operation command to express personalized lighting needs on the initial chromaticity diagram. This can be a continuous trajectory drawn on the screen with a finger or stylus, or several key color temperature values ​​input by the user, or the corresponding color coordinate offset. The target custom color temperature curve is one or more curves generated based on the user's custom input information. It represents the positional relationship of the specific colors that the user expects to present at different color temperature values ​​on the chromaticity diagram. Unlike traditional lighting devices that can only be linearly adjusted along the blackbody trajectory, the custom color temperature curve in this embodiment can be of any shape. For example, it can present a warmer, redder light in the low color temperature region, leaning towards the right side of the blackbody trajectory, and a cooler, bluer light in the high color temperature region, leaning towards the left side of the blackbody trajectory. It can even be wavy or irregular in shape, completely breaking through the limitations of traditional single lines. After generating the curve, the user can name the curve and save it to the local terminal, the lamp's memory, or a cloud server, supporting switching and sharing of multiple schemes.

[0031] Furthermore, the terminal configures a drawing mode and a key point mode for the initial chromaticity map on the display interface. When the user inputs custom input information through the drawing mode, and the custom input information includes an initial color temperature curve drawn on the initial chromaticity map, this embodiment of the present disclosure can generate a corresponding target custom color temperature curve on the initial chromaticity map based on the initial color temperature curve. When the user inputs custom input information through the key point mode, and the custom input information includes multiple target color temperature values, this embodiment of the present disclosure can configure an initial color coordinate that deviates from the blackbody trajectory line of the target lamp display standard for each target color temperature value, and after interpolating based on each initial color coordinate using a preset interpolation algorithm, generate a target custom color temperature curve based on the interpolated color coordinates.

[0032] The drawing mode allows users to express their personalized needs in the most intuitive way. Users can directly draw a continuous curve on the chromaticity map with their finger or stylus, similar to drawing lines in drawing software. Furthermore, the terminal captures touch trajectories in real time, collecting dozens of sampling points per second, and performing noise reduction and smoothing processing on these sampling points. For example, it uses moving average filtering or Bézier curve fitting to convert discrete points into smooth curves. Each point on the generated curve corresponds to a color temperature value and color coordinates. In addition, the terminal can automatically estimate the color temperature value based on the position of points on the curve. The estimation method can be to calculate the shortest distance and direction of the point relative to the blackbody trajectory, and then correct it by combining it with the color temperature value of the corresponding point on the blackbody trajectory; alternatively, users can manually specify the color temperature values ​​of several key points after drawing, and determine the color temperature of each point on the entire curve through interpolation. The advantage of the drawing mode is its intuitiveness and freedom. Users can create curves of any shape based on their intuition, making it suitable for ordinary consumers to quickly achieve personalized settings.

[0033] Keypoint mode is suitable for users with precise color temperature requirements, such as photographers, lighting designers, or researchers. Users first input several target color temperature values, such as 2000K, 4000K, and 6500K, and then specify a target color coordinate relative to the blackbody trajectory for each color temperature value. The color coordinates can be specified by directly clicking on a point on the chromaticity map, with the system automatically reading the coordinates; manually inputting the color coordinate values; or inputting an offset relative to the blackbody trajectory, such as offsetting 0.005 to the right and 0.003 upwards from the 4000K blackbody trajectory point. After receiving these keypoints, the terminal needs to generate a smooth curve passing through all keypoints. Interpolation algorithms include linear interpolation, polynomial interpolation, cubic spline interpolation, and Bézier curve interpolation. Cubic spline interpolation ensures the curve passes through all keypoints and that the first and second derivatives are continuous, resulting in a smooth and natural curve, making it the most commonly used method. After interpolation, the terminal generates sufficiently dense sampling points on the curve to ensure that subsequent queries for any color temperature value can obtain accurate color coordinates. For example, a user inputs three color temperature values: 2000K, 4000K, and 6500K, and selects the corresponding three color coordinate points A, B, and C on the chromaticity diagram. The terminal uses a cubic spline interpolation algorithm to generate a continuous curve. This curve not only passes through the three points A, B, and C, but also smoothly transitions between the points. The user can then select any color temperature value, such as 3000K or 5000K, using the color temperature slider, and the system will automatically calculate the corresponding color coordinates based on the interpolation curve.

[0034] It should be noted that the embodiments of this disclosure provide two customization methods, drawing mode and key point mode, which take into account both intuitive and convenient user needs and precise controllability. The drawing mode allows ordinary users to quickly create personalized light and color based on their intuition, while the key point mode allows professional or more demanding users to make precise designs based on color temperature values. The two methods complement each other and jointly improve the flexibility and applicability of light and color adjustment.

[0035] Regarding step S103 above, the target color temperature point is a specific color temperature value selected by the user on a custom color temperature curve through clicking, sliding, or inputting a specific value. For example, if the user wants to present a warm, reddish light at 3000K, they select the position corresponding to 3000K on the curve. The target color coordinates are the precise color coordinate values ​​corresponding to the target color temperature point on the CIE chromaticity diagram, obtained by reading from the curve or by interpolation calculation. These color coordinates will serve as the target values ​​for subsequent lamp driving.

[0036] It should be noted that the embodiments of this disclosure convert users' personalized preferences into specific color coordinate data through custom curves, realizing the mapping transformation from subjective intentions to objective parameters, and providing a quantitative basis for subsequent precise control.

[0037] Regarding step S104 above, in one embodiment, the lamp contains an electrical parameter lookup table. In this scenario, the terminal can send the target color coordinates to the lamp, allowing the lamp to automatically look up the stored electrical parameter lookup table to determine the driving electrical parameters corresponding to the target color coordinates.

[0038] The electrical parameter lookup table is a pre-constructed mapping database in this embodiment, recording the correspondence between the color coordinates achievable by the luminaire under different combinations of electrical parameters and the corresponding electrical parameters. These electrical parameters may include parameters such as the PWM pulse width modulation duty cycle and current of each primary color LED. After receiving the target color coordinates, the target luminaire finds the nearest or directly corresponding color coordinate point by looking up the table. Once the PWM drive coefficients, i.e., the corresponding target electrical parameters, are found, the luminaire's microcontroller (MCU) generates a PWM signal with the corresponding duty cycle based on these coefficients. This signal, through the drive circuit, controls the luminous intensity of each primary color LED, mixing to produce the personalized light color desired by the user, thereby accurately reproducing the user-defined color temperature and color.

[0039] In summary, the embodiments of this disclosure, through the execution of the intelligent lighting control method based on a custom color temperature curve in steps S101 to S104, present the initial chromaticity diagram of the target luminaire on the terminal display interface, allowing users to generate a target custom color temperature curve on the chromaticity diagram based on their own custom input information. This breaks the limitations of existing preset fixed color temperatures, granting users the authority to define the color temperature adjustment range and specific color temperature change trends. Furthermore, by obtaining the target color temperature point selected by the user on the custom color temperature curve, extracting its corresponding color coordinates, and sending them to the target luminaire, the luminaire matches the corresponding target electrical parameters through a pre-built electrical parameter lookup table and emits light. This achieves precise control of any personalized color temperature by the user, thereby effectively improving the flexibility of light color adjustment and accurately meeting the current personalized lighting needs of the user.

[0040] Please see Figure 3 , Figure 3 yes Figure 2 The flowchart following step S103 is further illustrated. When the electrical parameter lookup table is pre-stored in the terminal, in some embodiments, after obtaining the target color temperature point selected on the target custom color temperature curve and extracting the target color coordinates of the target color temperature point on the initial chromaticity map, the intelligent lighting control method based on the custom color temperature curve may further include steps S201 to S202: Step S201: Obtain the pre-built electrical parameter lookup table in the terminal, and find the target electrical parameter that matches the target color coordinates from the electrical parameter lookup table; Step S202: Send the target electrical parameters to the target luminaire so that the target luminaire emits light based on the target electrical parameters.

[0041] In the above steps, the electrical parameter lookup table can be stored locally on the terminal, such as in the private directory or database of a smartphone app. This deployment method reduces the storage and computational burden on the luminaire, making it particularly suitable for low-cost luminaires with limited storage resources. When the user selects the target color temperature point on a custom curve and extracts the target color coordinates, the terminal app directly loads the lookup table file locally and executes a nearest neighbor search algorithm to find the matching electrical parameters. After finding the target electrical parameters, the terminal sends them to the target luminaire via a wireless communication protocol. The luminaire does not need to look up the table; it directly receives the parameters and drives the LED to emit light. This method shifts the main computational and storage tasks from the luminaire to the more powerful terminal device, reducing the hardware cost of the luminaire.

[0042] It should be noted that by storing the electrical parameter lookup table locally on the terminal, this embodiment of the present disclosure achieves a reasonable allocation of computing tasks, reduces the hardware requirements of the lighting fixture, and helps to reduce product costs. At the same time, this deployment method also provides greater flexibility and upgradeability for the terminal APP; the lookup table can be optimized and expanded through APP updates, achieving better performance without upgrading the lighting fixture hardware.

[0043] Please see Figure 4 , Figure 4 This is a flowchart illustrating the process of establishing an electrical parameter lookup table according to an embodiment of this disclosure. In some embodiments, the electrical parameter lookup table is established through the following steps, which may include steps S301 to S303: Step S301: Obtain the spectral power distribution data and corresponding tristimulus values ​​of different light emitted by the target lamp when it emits light under all adjustable electrical parameters; Step S302: Based on multiple different spectral power distribution data and corresponding tristimulus values, generate the display range of the target lamp in the preset chromaticity diagram; Step S303: Based on the mapping relationship between the color coordinates of each point within the display range and the corresponding electrical parameters, construct an electrical parameter lookup table.

[0044] Regarding step S301 above, the electrical parameters refer to the driving parameters that control the light emission of each primary color LED in the lamp, which can be a combination of PWM duty cycles, i.e., the PWM driving coefficients. For RGB three-primary-color lamps, assuming each primary color has 256 duty cycle levels (0-255), there are theoretically approximately 16.77 million possible combinations (256 cubed). Furthermore, the total number of measurement points can be selected according to the actual situation. For example, in the actual calibration process, since the color change produced by adjacent duty cycle combinations is very small, it is not necessary to measure all combinations. A uniform sampling method can be used, for example, taking 16 or 32 duty cycles for each primary color, combining them, and then measuring. The total number of measurement points is 16 cubed (4096 points) or 32 cubed (32768 points), respectively. During measurement, the target luminaire is placed in an integrating sphere or a spectrometer measurement system. Each PWM duty cycle combination is set sequentially. After the light output stabilizes, the spectrometer collects spectral power distribution (SPD) data. Spectral power distribution data refers to the functional relationship between the spectral density of the light source and the wavelength. It is usually represented by a spectral power distribution curve, with wavelength on the horizontal axis and radiant power on the vertical axis. It is crucial for describing the characteristics of the light source and measuring color.

[0045] For example, in embodiments of this disclosure, tristimulus values ​​X, Y, and Z can be obtained by integral calculation based on SPD data and the CIE standard chromaticity observer function, where k is a normalization factor, the tristimulus value Y represents luminance, and X and Z represent chromaticity information. All measured data, including PWM combinations, SPD, and tristimulus values, are recorded and stored to form the original calibration dataset.

[0046] Based on the tristimulus values ​​in the original calibration dataset, this embodiment can calculate the color coordinates of each measurement point. The formula for calculating the color coordinates (x, y) is x = X / X + Y + Z, and y = Y / X + Y + Z. Plotting the color coordinates of all measurement points on a CIE chromaticity diagram results in a dense point cloud. Due to the color mixing characteristics of the luminaire, the boundary of this point cloud is typically a convex polygon, i.e., the convex hull of all points. This convex polygon represents the display range of the target luminaire, signifying all color coordinates that the luminaire can achieve.

[0047] After generating the display area, its size can be further calculated as an indicator of the lamp's color gamut. Please refer to [link / reference]. Figure 5 , Figure 5 This is a schematic diagram of a chromaticity diagram containing a display range provided in an embodiment of this disclosure. For RGB three-primary-color lamps, the display range is usually a triangle, the vertices of which are the color coordinates of the red, green, and blue primary-color LEDs. Similarly, for RGBW four-primary-color lamps, the display range is a quadrilateral, the vertices of which include the color coordinates of the red, green, blue, and white primary colors.

[0048] The core task of constructing the electrical parameter lookup table is to establish the mapping relationship between each color coordinate point within the display range and its corresponding electrical parameter. The completed lookup table is stored in file form, which can be embedded in the lighting controller's memory, such as a Flash chip, or stored locally on the terminal or on a cloud server. For example, the lookup table typically contains tens of thousands to hundreds of thousands of records, each containing color coordinates x and y and the corresponding PWM drive coefficient.

[0049] Furthermore, to accelerate query speed, a spatial index structure, such as a KD-tree or R-tree, can be established to achieve logarithmic search time. For example, the lookup table of a certain lighting fixture contains 50,000 records, covering grid points with a precision of 0.001 within the display range. Each record stores 16 bits for the x-coordinate, 16 bits for the y-coordinate, 8 bits for the R duty cycle, 8 bits for the G duty cycle, 8 bits for the B duty cycle, and 8 bits for the W duty cycle. The total data volume is approximately 50,000 × 64 bits ≈ 400KB, which can be easily stored in the microcontroller of the lighting fixture.

[0050] Furthermore, since the number of original measurement points is limited, possibly only a few thousand to tens of thousands, while the continuous area within the display range contains an infinite number of points, a dense query grid can be generated using interpolation or fitting methods. For example, uniform grid sampling can be performed within the display range, dividing the chroma map region into a 0.001×0.001 grid. For each grid point, the optimal PWM combination for that grid point is estimated through triangulation interpolation or radial basis function interpolation. In the triangulation interpolation process, the original measurement points are first triangulated using Delaunay triangulation to form a triangular grid covering the display range. For the target point to be queried, the triangle containing it is found, and the PWM drive coefficient of the target point is calculated through barycentric coordinate interpolation using the known PWM combination and color coordinates of the three vertices of the triangle.

[0051] It should be noted that the embodiments of this disclosure complete the complex calculation process from color coordinates to PWM drive coefficients offline by pre-calibrating and constructing an electrical parameter lookup table. This design avoids the latency and instability caused by real-time calculation, ensures response speed, and the lookup table method is simple and reliable, making it suitable for resource-constrained embedded microcontrollers. In addition, the pre-stored lookup table can also include corresponding optical index data, providing a data foundation for subsequent real-time feedback.

[0052] Furthermore, in step S101 above, during the process of displaying the initial chromaticity diagram for the target lamp on the terminal's display interface, the display range in the above embodiment can also be displayed in the initial chromaticity diagram.

[0053] In the above steps, the display range refers to the area comprised of all color coordinate points that the target luminaire can actually reach. This is typically represented as a polygon on a chromaticity diagram. The specific shape and size of the display range depend on the spectral characteristics and color coordinates of the LED chips, and can vary significantly between different brands and models of luminaires. This range is overlaid on the initial chromaticity diagram and can be marked with semi-transparent color blocks or colored outlines, allowing users to clearly understand the luminaire's color gamut boundaries and avoid drawing unrealistic curves beyond the luminaire's capabilities. If the curve drawn by the user exceeds the display range, the app can provide real-time prompts, such as turning the excess portion of the curve red, or automatically snapping the excess portion to the display range boundary, ensuring that every point on the custom color temperature curve is within the adjustable range.

[0054] For example, the terminal displays a CIE chromaticity diagram and marks the RGBW quadrilateral display range of the target luminaire in a light green semi-transparent area. If the curve drawn by the user exceeds this area, the part of the curve that exceeds the range will automatically turn into a red warning line and a prompt will pop up to remind you that the set color temperature point exceeds the luminaire's capability range and you should adjust it. The user can then correct the curve accordingly.

[0055] It should be noted that this embodiment of the disclosure provides users with real-time feedback on capability boundaries through visualization of the display range, guiding users to personalize their designs within the achievable color gamut of the luminaire. This design avoids adjustment failures due to unattainable settings and prevents user confusion and frustration caused by a lack of understanding of the luminaire's physical limitations, thus improving the reliability of the interaction and user satisfaction. Simultaneously, the visualization of the display range also transparently presents the luminaire's performance parameters to the user, enhancing product credibility.

[0056] Furthermore, in step S101 above, an initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface, and a blackbody trajectory line representing the display standard of the target luminaire can also be displayed in the initial chromaticity diagram.

[0057] In the above steps, the blackbody locus, also known as the Planck locus, is the line connecting the coordinates of the radiation emitted by a standard blackbody at different temperatures on a chromaticity diagram. It represents the color temperature change path of natural white light from warm to cool. According to Planck's law of radiation, the spectral distribution of radiation emitted by a blackbody at different temperatures T can be calculated using Planck's formula, and then the corresponding color coordinates can be obtained using the CIE chromaticity calculation formula. Connecting the color coordinates of a series of temperature points yields the blackbody locus, which is the gold standard in the lighting industry, representing the most natural and comfortable white light variation.

[0058] Please see Figure 6 , Figure 6This is a flowchart illustrating a chromaticity diagram containing a blackbody trajectory line, provided in an embodiment of this disclosure. The blackbody trajectory line is overlaid on the initial chromaticity diagram. It can be represented by a black dashed or solid line, and the positions of typical color temperature points such as 2700K, 4000K, and 6500K are marked, providing users with a standard reference baseline. Users can make deviations based on this baseline. For example, if they want the light color to be slightly redder than standard warm light, they select a coordinate point to the right of the blackbody trajectory; if they want the light color to be slightly more bluish than standard cool light, they select a coordinate point to the left of the blackbody trajectory.

[0059] It should be noted that this embodiment of the disclosure provides users with a scientific adjustment reference by displaying the blackbody trajectory line, making personalized adjustments based on a solid foundation. The blackbody trajectory line is both an industry standard and a common language for users to understand and express their light color preferences. This technical solution not only meets users' innovative needs to break through tradition but also maintains its relevance to industry standards, making customized light colors both personalized and professional, achieving the best balance between personalization and standardization.

[0060] Please see Figure 7 , Figure 7 yes Figure 2 The flowchart further includes steps S104. In some embodiments, after sending the target color coordinates to the target luminaire so that the target luminaire finds the target electrical parameters that match the target color coordinates in a pre-built electrical parameter lookup table and emits light based on the target electrical parameters, the intelligent lighting control method based on a custom color temperature curve may further include steps S401 to S402: Step S401: Based on the pre-calibrated spectral model of the target luminaire and the target electrical parameters that match the target color coordinates, calculate the optical index of the current output light color of the target luminaire in real time; Step S402: The calculated optical parameters are dynamically displayed on the display interface.

[0061] In the above steps, the pre-calibrated spectral model refers to a mathematical model established based on the spectral power distribution data measured in step S301, which can predict the spectral distribution of the current output based on the PWM drive coefficient. The spectral model can be a linear superposition model, that is, assuming that the emission of each primary color LED is independent, and the spectrum of the mixed light is equal to the weighted sum of the spectra of each primary color. Based on the predicted spectrum, various optical indicators can be further calculated. Optical indicators are key parameters for evaluating the quality of light color, including the current actual output CIE color coordinates, correlated color temperature CCT, general color rendering index Ra, special color rendering index R9, color gamut index Rg, color fidelity Rf, etc. Real-time calculation means that when the user selects the target color temperature point or during the adjustment process, the system quickly reads the corresponding optical indicator values ​​from the pre-stored database based on the current PWM coefficient, or calculates them in real time through the model. Dynamic display means that these indicators are presented on the terminal interface in real time in the form of numerical values, charts, or progress bars, allowing users to see the changes in the optical quality of their customized light color immediately during the adjustment process, realizing a WYSIWYG interactive experience.

[0062] For example, when a user slides from 3000K to 4000K on a custom curve, the terminal interface updates and displays the current color coordinates 0.38, 0.38, color temperature 4000K, color rendering index Ra 98, special color rendering index R9 95, and color gamut index Rg102 in real time at the bottom. Users can fine-tune the curve position according to these indicators to pursue personalized colors while taking into account high color rendering performance.

[0063] It should be noted that the embodiments of this disclosure calculate and display optical indicators in real time, transforming the previous intuitive dimming into data-based scientific adjustment. This allows users to clearly understand the impact on spectral quality while pursuing personalized light colors, thus satisfying users' personalized needs and ensuring the controllability of lighting quality.

[0064] Please see Figure 8 , Figure 8 This is another flowchart illustrating the intelligent lighting control method based on a custom color temperature curve provided in this embodiment. This intelligent lighting control method based on a custom color temperature curve can be applied to lighting fixtures, specifically the target lighting fixture described in the above embodiment. The intelligent lighting control method based on a custom color temperature curve in the lighting fixture includes steps S501 to S502: Step S501: Receive the target color coordinates sent by the receiving terminal; The target color coordinates are obtained through steps S101 to S103 in the above embodiment. Step S502: In the pre-built electrical parameter lookup table, find the target electrical parameters that match the target color coordinates, and emit light based on the target electrical parameters.

[0065] For the above steps, the luminaire, as the execution end, can accurately reproduce the color coordinate instructions sent by the terminal. The control module inside the luminaire includes wireless communication units such as Wi-Fi modules, Bluetooth modules, microcontrollers (MCUs), flash memory, and LED driver circuits.

[0066] The process of obtaining the target color coordinates, and how to find the target electrical parameters that match the target color coordinates based on the electrical parameter lookup table, and then control the light emission of the lamp, have been described in the above embodiments, and will not be repeated here.

[0067] It should be noted that this embodiment of the disclosure achieves precise interaction with the terminal by receiving color coordinates on the luminaire side and driving the interaction through a lookup table. The lookup table method fully utilizes pre-calibrated data, ensuring real-time and accurate response and avoiding complex online calculations. The hardware design on the luminaire side is relatively simple, requiring only storage and lookup table capabilities, thus reducing costs. The division of labor between the terminal and the luminaire forms an efficient, precise, and reliable personalized lighting control system, enabling creative designs on the terminal to be seamlessly transformed into actual lighting effects.

[0068] In addition, this disclosure also provides another lamp, which does not store an electrical parameter lookup table. This lamp can directly receive the target electrical parameters sent by the terminal, and then directly control the lamp to emit light based on the target electrical parameters. This disclosure does not impose any specific limitations on this.

[0069] This disclosure also provides an electronic device, which can be a terminal or a lamp as described in the above embodiments. Regardless of which it is, the electronic device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned intelligent lighting control method based on a custom color temperature curve. This electronic device can be any intelligent terminal, including tablet computers, in-vehicle computers, etc.

[0070] Please see Figure 9 , Figure 9 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 901 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this disclosure. The memory 902 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 902 can store operating devices and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902 and is called and executed by the processor 901 to implement the intelligent lighting control method based on a custom color temperature curve according to the embodiments of this disclosure. The input / output interface 903 is used to implement information input and output; The communication interface 904 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 905 transmits information between various components of the device (e.g., processor 901, memory 902, input / output interface 903, and communication interface 904); The processor 901, memory 902, input / output interface 903, and communication interface 904 are connected to each other within the device via bus 905.

[0071] This disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described intelligent lighting control method based on a custom color temperature curve.

[0072] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0073] The embodiments described in this disclosure are for the purpose of more clearly illustrating the technical solutions of this disclosure and do not constitute a limitation on the technical solutions provided by this disclosure. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by this disclosure are also applicable to similar technical problems.

[0074] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this disclosure, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0075] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0076] Those skilled in the art will understand that all or some of the steps, apparatuses, or functional modules / units in the methods disclosed above can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0077] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in this disclosure and the foregoing drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0078] It should be understood that in this disclosure, "at least one item" means one or more, and "more than one" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0079] In the several embodiments provided in this disclosure, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0080] The units described above as separate components may or may not be physically separate. 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 the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0081] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0082] If the integrated unit is implemented as 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 this disclosure, 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. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0083] The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present disclosure. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of the present disclosure shall be within the scope of the claims of the present disclosure.

Claims

1. A smart lighting control method based on a custom color temperature curve, applied in a terminal, characterized in that, include: The initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface; Obtain custom input information for the initial chromaticity diagram on the display interface, and generate a target custom color temperature curve on the initial chromaticity diagram based on the custom input information; Obtain the target color temperature point selected on the target custom color temperature curve, and extract the target color coordinates of the target color temperature point on the initial chromaticity map; The target color coordinates are sent to the target luminaire so that the target luminaire can find the target electrical parameters that match the target color coordinates in a pre-built electrical parameter lookup table and emit light based on the target electrical parameters.

2. The intelligent lighting control method based on a custom color temperature curve according to claim 1, characterized in that, When the electrical parameter lookup table is pre-stored in the terminal, after obtaining the target color temperature point selected on the target custom color temperature curve and extracting the target color coordinates of the target color temperature point on the initial chromaticity diagram, the intelligent lighting control method based on the custom color temperature curve further includes: Obtain the pre-built electrical parameter lookup table in the terminal, and find the target electrical parameter that matches the target color coordinate from the electrical parameter lookup table; The target electrical parameters are sent to the target luminaire so that the target luminaire emits light based on the target electrical parameters.

3. The intelligent lighting control method based on a custom color temperature curve according to claim 1 or 2, characterized in that, The electrical parameter lookup table is established through the following steps: Acquire the spectral power distribution data and corresponding tristimulus values ​​of the different light emitted by the target luminaire when it emits light under all adjustable electrical parameters; Based on multiple different spectral power distribution data and the corresponding tristimulus values, the display range of the target lamp is generated in a preset chromaticity diagram; Based on the mapping relationship between the color coordinates of each point within the display range and the corresponding electrical parameters, the electrical parameter lookup table is constructed.

4. The intelligent lighting control method based on a custom color temperature curve according to claim 3, characterized in that, Displaying the initial chromaticity diagram for the target luminaire on the terminal's display interface includes: An initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface, and the display range is shown in the initial chromaticity diagram.

5. The intelligent lighting control method based on a custom color temperature curve according to claim 1, characterized in that, Displaying the initial chromaticity diagram for the target luminaire on the terminal's display interface includes: An initial chromaticity diagram for the target luminaire is displayed on the terminal's display interface, and a blackbody trajectory line representing the display standard of the target luminaire is displayed in the initial chromaticity diagram.

6. The intelligent lighting control method based on a custom color temperature curve according to claim 1, characterized in that, The step of generating a target custom color temperature curve on the initial chromaticity map based on the custom input information includes: When the custom input information includes an initial color temperature curve drawn on the initial chromaticity diagram, a corresponding target custom color temperature curve is generated on the initial chromaticity diagram based on the initial color temperature curve. When the custom input information includes multiple target color temperature values, an initial color coordinate is configured for each target color temperature value, which deviates from the blackbody trajectory line of the target lamp display standard. Based on each initial color coordinate, an interpolation algorithm is used to interpolate the values, and a target custom color temperature curve is generated based on the interpolated color coordinates.

7. The intelligent lighting control method based on a custom color temperature curve according to claim 1, characterized in that, After sending the target color coordinates to the target luminaire so that the target luminaire can find the target electrical parameters that match the target color coordinates in a pre-built electrical parameter lookup table and emit light based on the target electrical parameters, the intelligent lighting control method based on a custom color temperature curve further includes: Based on the pre-calibrated spectral model of the target luminaire and the target electrical parameters that match the target color coordinates, the optical index of the current output light color of the target luminaire is calculated in real time. The calculated optical parameters are dynamically displayed on the display interface.

8. A smart lighting control method based on a custom color temperature curve, applied in luminaires, characterized in that, include: The receiving terminal sends target color coordinates, wherein the target color coordinates are obtained by the terminal acquiring the target color temperature point selected on the target custom color temperature curve and extracting the color coordinates of the target color temperature point on the initial colorimetric diagram; the target custom color temperature curve is generated by the terminal after displaying the initial colorimetric diagram for the lamp on the display interface, acquiring custom input information for the initial colorimetric diagram on the display interface, and generating the initial colorimetric diagram based on the custom input information. In a pre-built electrical parameter lookup table, the target electrical parameters that match the target color coordinates are found, and light emission is performed based on the target electrical parameters.

9. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements any one of claims 1 to 7 or the intelligent lighting control method based on a custom color temperature curve as described in claim 8.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements any one of claims 1 to 7 or the intelligent lighting control method based on a custom color temperature curve as described in claim 8.