Search

CN-121985443-A - Multicolor LED built-in IC multicolor linkage control system and method

CN121985443ACN 121985443 ACN121985443 ACN 121985443ACN-121985443-A

Abstract

The invention discloses a multicolor LED built-in IC (integrated circuit) multicolor coordinated control system and a method, which relate to the technical field of embedded control and communication driving of addressable multicolor LED pixel unit lamp strips or lamps and are used for solving the problems that coordinated multicolor is easy to jump and flash at hue boundaries and color consistency among pixel units is difficult to maintain for a long time, resetting and enumerating serial pixel units by a main control, loading channel gain, gamma and current calibration parameters, establishing coordinated object mapping and coupling weight, generating target colors on HSV (hue, saturation and saturation) tracks according to a control period, inhibiting jump at hue boundaries by vector synthesis and weight gating, completing calibration quantization, frame sealing and protocol coding transmission, realizing regional multicolor and combining current or optical feedback closed loop calibration.

Inventors

  • FANG XIANGLING
  • LIU LI
  • LUO FANGFANG

Assignees

  • 广东晶宏欣光电有限公司

Dates

Publication Date
20260505
Application Date
20260320

Claims (10)

  1. 1. The multicolor LED built-in IC multicolor linkage control method is characterized by comprising the following steps: After the power supply is stable, the main control controller sends a reset sequence to the pixel unit links, determines the logical addresses and the number of the pixel unit links, divides the pixel units into a plurality of linkage objects according to the physical continuous interval, the geometric position or the user configuration grouping information recorded in a preset grouping table, generates the mapping from each linkage object to the pixel unit address subset, and establishes a coupling weight matrix between the linkage objects according to the adjacent relation, the distance attenuation or the same group of priority rules; Sampling a hue function, a saturation function and a brightness function in each control period by a main control controller, rewriting the hue into a two-dimensional vector formed by cosine and sine, constructing a brightness visibility coefficient, a boundary critical coefficient, a traction consistency index and a periodic variation steep coefficient, reforming and limiting a coupling weight matrix cycle by cycle, line by line to obtain a reforming weight, carrying out weighted summation on the hue vector of a target linkage object and adjacent linkage objects according to the reforming weight to obtain a candidate synthesized vector, carrying out gate control coefficient mixed normalization and time continuous coefficient recursive fusion to obtain a smooth hue, saturation and brightness, converting the smooth hue, saturation and brightness into red, green and blue components, and mapping and expanding the red, green and blue components into a pixel unit level input component set according to a pixel unit address subset; the main control controller packages the pixel unit level input component set into a driving frame spliced by pixel unit data segments, and sends the driving frame to a pixel unit link; And triggering synchronous updating after the transmission of the driving frame is finished and the built-in chip latch time sequence is met by the main control controller, collecting and normalizing the feedback quantity, constructing a brightness target quantity or a color proportion target quantity, calculating a brightness error or a color proportion error, recursively updating the calibration parameters according to the updating step length, and limiting.
  2. 2. The method of claim 1, wherein the master controller sends a reset sequence to the pixel unit link to clear the residual state after the power supply is stable, then determines the logical address and the number of each pixel unit by address writing recursion or in a cascading sequence enumeration mode, and establishes the corresponding relation between the index of the pixel unit and the physical position.
  3. 3. The multicolor LED built-in IC multicolor linkage control method of claim 2 is characterized in that after obtaining a logic address, a main control controller loads and writes color channel gain parameters, nonlinear mapping parameters and constant current calibration parameters which are selected and written into registers according to whether a built-in chip supports corresponding registers or participate in calculation at a main control side, then a preset grouping table is read, the grouping table at least records the corresponding relation between the logic addresses of all pixel units and linkage object identifiers, or records physical continuous intervals, geometric position areas or user configuration grouping rules, and the main control controller merges the logic addresses of the pixel units with the same linkage object identifier or meeting the same grouping rules into the same linkage object according to the grouping table, so that the pixel units are divided into a plurality of linkage objects, corresponding pixel unit address subset mapping is generated for all the linkage objects, and meanwhile, a coupling weight matrix among the linkage objects is generated according to the topological adjacent relation, the geometric position distance attenuation relation or the same group of priority rules among the linkage objects.
  4. 4. The multicolor LED built-in IC multicolor linkage control method according to claim 3, wherein the main control controller calculates a target color vector and a target brightness scalar for each linkage object in each control period, and expands a linkage object level result into a pixel unit level color component according to the mapping from the object to a pixel unit, the main control controller establishes a hue function, a saturation function and a brightness function for each linkage object in a uniform parameterization mode of hue, saturation and brightness, and uses the mapping of a control period sequence number and the control period to equivalent time as independent variables, the main control controller advances and forms a basic hue according to linear advance and modulo extraction or a hue lookup table, determines a phase offset according to the linkage object sequence number, a geometric position or user configuration, and performs translational modulo extraction on the basic hue to obtain an offset hue; And after the track parameters of each linkage object are obtained, the main control controller acts the coupling weight matrix on the parameters or the equivalent vector representation thereof.
  5. 5. The method of claim 4 wherein the master controller samples the hue function, saturation function and brightness function of each linked object in each control period, rewrites hue into a two-dimensional vector composed of cosine and sine by scalar, multiplies saturation and brightness to obtain a brightness visibility coefficient, obtains a boundary critical coefficient from the minimum distance from hue to a period endpoint, obtains an opposite vector from the current hue vector and each adjacent hue vector dot product, calculates a traction consistency index by combining a coupling weight, obtains a period change steep coefficient from the current and previous period hue vector dot products, reforms and limits the coupling weight matrix line by period based on the multi-factor judgment, constructs a credible factor for each adjacent object according to the relative direction, constructs a boundary-oriented inhibitor for the target object according to the boundary critical coefficient, the brightness visibility coefficient and the change coefficient, interpolates between the original coupling weight contribution and the self-sustaining factor by the inhibitor to generate a reforming weight, and then nonnegatively normalizes the reforming weight and gives a degradation steep coefficient zero when the zero-valued degradation of the denominator is given.
  6. 6. The method for controlling multicolor linkage of a multi-color LED built-in IC according to claim 5, wherein under the condition of reforming weight, a main control controller multiplies hue vectors of a target linkage object and hue vectors of adjacent linkage objects with coupling relation, respectively, by corresponding reforming weight, then carries out weighted summation to obtain candidate synthesized vectors, calculates amplitude values of the candidate synthesized vectors, constructs gating coefficients according to the amplitude values, mixes and normalizes the candidate synthesized vectors and the hue vectors of the target object according to the gating coefficients to obtain gating synthesized vectors, and then carries out inverse-calculation linkage synthesized hue by four-quadrant arctangent and modulo normalization, wherein the main control controller carries out weighted synthesis and range cutoff on saturation and brightness according to the same reforming weight as hue, and the main control controller carries out time-derived continuous coefficient of boundary critical coefficient, brightness visibility coefficient and variation steep coefficient, and carries out progressive fusion on the current period synthesized vectors and saturation, brightness and previous period smooth quantity, normalizes the smooth hue, and inversely calculates smooth hue.
  7. 7. The method of claim 6, wherein the master controller stores the last-period gated composite vector and calculates the directional consistency with the current-period candidate composite vector, adjusts the gating coefficient down according to a fixed rule when the consistency is low and the boundary critical and visibility are at a high level to enable the composite vector to fall back toward the target object or the last-period composite direction, after the smooth hue, saturation and brightness of each linked object are obtained, the master controller completes the calculation of the hue saturation brightness to red, green and blue components according to a standard segmentation formula, extracts the white light component according to the three-color minimum component when the white light channel is enabled, performs white light stripping on red, green and blue to obtain stripped three-color components, and then expands the object-level color component to the pixel-level channel input component according to the mapping of the linked object to the pixel-unit address subset, and introduces the phase offset into a single pixel unit to replace the smooth hue when expanding, and finally writes the pixel-unit index and each channel input component into the frame buffer.
  8. 8. The method of claim 7, wherein the master controller determines a structure of sequentially splicing the plurality of pixel unit data segments of the driving frame according to the cascade sequence of the pixel unit links, and determines the arrangement of the pixel unit data segments according to the mapping from the logic address to the cascade sequence; the main control controller reads channel gain parameters from an operation table for each pixel unit, multiplies input components of pixel unit level by channel gain and cuts the range, reads gamma parameters or lookup table to perform nonlinear mapping on the cut components to obtain drive code domain values, reads current calibration coefficients and reference constant current values to calculate current constraint scaling coefficients, scales the drive code domain values and cuts the drive code range, the main control controller carries out jitter quantization on the scaled drive code domain values by rounding quantization or introducing pseudo-random numbers or quantization jitter items generated by error diffusion to obtain integer drive codes, packages each channel integer drive code into pixel unit data segments according to channel sequence configuration items and splices the pixel unit data segments into drive frame loads according to cascade sequence, and adds cyclic redundancy check or and check fields to frame heads or frame tails according to configuration, and maps the drive frame bit sequences into line time sequence signals according to a selected physical layer protocol and sends the line time sequence signals, wherein the single line protocol adopts pulse width ratio mapping and is accessed by a timer, direct memory or is output by a special external device, the double lines synchronously output data according to time frame edges and output clock and the external device output data and the clock and the data are output by the external device and the serial output clock and the data are kept in a low-level time control condition or the frame tail.
  9. 9. The multicolor LED built-in IC multicolor linkage control method is characterized in that a main control controller takes a control period boundary as a reference, synchronous update is triggered after transmission of a driving frame in the period is finished and a built-in chip latching time sequence is met, and a latching condition is judged according to a frame end mark of a low-level holding time of a single-wire protocol or a chip selection signal and a built-in holding time, after latching, the main control controller selects a feedback quantity source according to configuration, collects a current sampling quantity or an optical brightness quantity and a red, green and blue measuring quantity in a preset sampling window, calculates a temperature drift prediction proportion based on a temperature and current model, normalizes the feedback quantity based on a extinction baseline and a reference driving frame measuring value, the main control controller constructs a brightness target quantity or a color proportion target quantity based on a driving code transmitted in the period and an operation table reference parameter, calculates a brightness error or a color proportion error according to the feedback type, the main control controller performs proportion recursion a current calibration coefficient according to an update step length, recursively clips channel gains according to channel error components when the color feedback is met, performs low-frequency adjustment on a gamma parameter or a lookup table when the stable condition is met or is in a calibration frame, or the main control controller performs low-frequency adjustment on the temperature and current sampling quantity, calculates a temperature drift prediction proportion based on the temperature and current model, normalizes the temperature drift prediction proportion based on the temperature and the temperature drift prediction is calculated on the current model, the temperature drift prediction is calculated based on the extinction baseline and the temperature adjustment and the temperature or the temperature adjustment is the brightness or the brightness error is the brightness or the color proportion target quantity is calculated, brightness error or the chip corresponds to the built-time.
  10. 10. The multicolor LED built-in IC multicolor linkage control system is used for realizing the multicolor LED built-in IC multicolor linkage control method according to any one of the claims 1-9, and is characterized by comprising an initialization pixel unit consistency configuration module, a multicolor linkage color calculation module, a driving frame generation code transmission module, a synchronous updating calibration closed loop module and signal connection among the modules; The initialization pixel unit consistency configuration module is used for sending a reset sequence to a pixel unit link after the main control controller is stable in power supply, determining the logic addresses and the number of the pixel unit link, dividing the pixel unit into a plurality of linkage objects according to the physical continuous interval, the geometric position or the user configuration grouping information recorded in a preset grouping table, generating the mapping from each linkage object to a pixel unit address subset, and establishing a coupling weight matrix between the linkage objects according to the adjacent relation, the distance attenuation or the same group of priority rules; the system comprises a master control controller, a color-changing linkage color calculation module, a coupling weight matrix, a pixel unit address subset mapping and expanding unit-level input component set, a color-changing linkage color calculation module and a color-changing linkage color calculation module, wherein the master control controller is used for sampling a hue function, a saturation function and a brightness function in each control period, rewriting the hue into a two-dimensional vector formed by cosine and sine to construct a brightness visibility coefficient, a boundary critical coefficient, a traction consistency index and a periodic variation steep coefficient; the driving frame generation coding and transmission module is used for packaging the pixel unit level input component set into a driving frame spliced by pixel unit data segments by the main control controller and transmitting the driving frame to the pixel unit link; the synchronous updating calibration closed loop module is used for triggering synchronous updating after the main control controller finishes the transmission of the driving frame and meets the built-in chip latching time sequence, collecting and normalizing the feedback quantity, constructing a brightness target quantity or a color proportion target quantity, calculating brightness errors or color proportion errors, and recursively updating and limiting the calibration parameters according to the updating step length.

Description

Multicolor LED built-in IC multicolor linkage control system and method Technical Field The invention relates to the technical field of embedded control and communication driving of an addressable multicolor LED pixel unit lamp strip or lamp, in particular to a multicolor LED built-in IC multicolor linkage control system and a multicolor LED built-in IC multicolor linkage control method. Background With the increasing demands of landscape lighting, stage lighting and consumer electronics on addressable multicolor LED pixel units, RGB or RGBW pixel units with built-in drive ICs are often connected in series to form a link, and the master control period transmits data to realize the multicolor effect. The existing scheme uses fixed weight to do hue interpolation or direct numerical weighting, and composite jump caused by endpoint homochromatic and numerical value crossing is easy to appear near the hue period endpoint, which is manifested by boundary flickering, fracture and linkage propagation, meanwhile, the light effect difference, gamma nonlinearity and constant current deviation among pixel units can cause color inconsistency, temperature rise and aging and parameter drift. On the other hand, the problems of frame loss, asynchronous latching and the like are easy to occur due to non-uniform link reset, enumeration addressing and channel sequence or bit width configuration, and the main control is difficult to correct in time without current or optical feedback, so that the brightness, color accuracy and long-term reliability are affected. In addition, a part of schemes adopt a simplified model for reducing the calculation amount, so that linkage smoothness and instantaneity are difficult to be combined, and the requirements are higher. The present invention proposes a solution to the above-mentioned problems. Disclosure of Invention In order to overcome the above-mentioned drawbacks of the prior art, embodiments of the present invention provide a multicolor LED built-in IC multicolor coordinated control system and method, so as to solve the problems set forth in the background art. In order to achieve the above purpose, the present invention provides the following technical solutions: in a preferred embodiment, the method comprises: After the power supply is stable, the main control controller sends a reset sequence to the pixel unit links, determines the logical addresses and the number of the pixel unit links, divides the pixel units into a plurality of linkage objects according to the physical continuous interval, the geometric position or the user configuration grouping information recorded in a preset grouping table, generates the mapping from each linkage object to the pixel unit address subset, and establishes a coupling weight matrix between the linkage objects according to the adjacent relation, the distance attenuation or the same group of priority rules; Sampling a hue function, a saturation function and a brightness function in each control period by a main control controller, rewriting the hue into a two-dimensional vector formed by cosine and sine, constructing a brightness visibility coefficient, a boundary critical coefficient, a traction consistency index and a periodic variation steep coefficient, reforming and limiting a coupling weight matrix cycle by cycle, line by line to obtain a reforming weight, carrying out weighted summation on the hue vector of a target linkage object and adjacent linkage objects according to the reforming weight to obtain a candidate synthesized vector, carrying out gate control coefficient mixed normalization and time continuous coefficient recursive fusion to obtain a smooth hue, saturation and brightness, converting the smooth hue, saturation and brightness into red, green and blue components, and mapping and expanding the red, green and blue components into a pixel unit level input component set according to a pixel unit address subset; the main control controller packages the pixel unit level input component set into a driving frame spliced by pixel unit data segments, and sends the driving frame to a pixel unit link; And triggering synchronous updating after the transmission of the driving frame is finished and the built-in chip latch time sequence is met by the main control controller, collecting and normalizing the feedback quantity, constructing a brightness target quantity or a color proportion target quantity, calculating a brightness error or a color proportion error, recursively updating the calibration parameters according to the updating step length, and limiting. In a preferred embodiment, the main control controller sends a reset sequence to the pixel unit link to clear the residual state after the power supply is stable, then determines the logical address and the number of each pixel unit by address writing recursion or in a cascading sequence enumeration mode, and establishes the corresponding relation between the index of the pixel unit a