Time sequence arrangement control method and system for multi-spectral light source

CN122945377APending Publication Date: 2026-10-20RSEE LIGHTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611436376.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-16
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0005]本发明提供了一种面向多光谱光源的时序编排调控方法及系统,以解决现有技术中存在的多波段光谱偏差难以在时序周期边界同步平滑修正的问题

Benefits of technology

(1)本发明通过对多光谱光源的实时光谱进行波段特征提取,得到各波段对应的波段状态数据,并根据所述波段状态数据与当前目标参数计算波段偏离量,进而确定异常波段及对应的驱动补偿量。该过程将各波段的实时中心波长和实时辐射通量与当前时序周期的目标光谱状态分别进行比较,使不同波段的光谱偏离状态能够被独立识别并量化,为后续多波段补偿参数的生成提供对应关系明确的控制依据。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
Patent Text Reader

Abstract

This invention relates to the field of multispectral light source timing control technology, and discloses a timing arrangement and control method and system for multispectral light sources. The method acquires real-time spectra, current driving parameters, current timing information, current target parameters, and next target parameters; extracts band features to obtain band state data; calculates band deviation based on the band state data and current target parameters, and identifies abnormal bands and driving compensation amounts; determines the period switching time based on the current timing information, and correlates the driving compensation amount with the period switching time to obtain the next period compensation parameters; obtains multi-band target parameters based on the next target parameters and the next period compensation parameters; generates a unified control timing sequence and a multi-band transition sequence based on the current driving parameters and multi-band target parameters; generates a current timing end signal based on the period switching time, synchronously loads the multi-band transition sequence, and obtains a multispectral timing output. This invention can achieve synchronous and smooth control of multi-band spectral deviations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of multispectral light source timing control technology, and in particular to a timing arrangement and control method and system for multispectral light sources. Background Technology

[0002] Currently, as new lighting equipment gradually develops towards multi-band combined output and phased sequential operation, multispectral light sources typically have multiple light-emitting channels with different center wavelengths. These channels are controlled to operate sequentially or synchronously according to set spectral and timing parameters, thus forming a continuous spectral output that meets the requirements of different operating stages. During continuous operation, fluctuations in the operating temperature, usage status, and drive circuit of the light-emitting device can cause changes in the center wavelength or radiant flux of some light-emitting channels, thereby altering the original spectral combination relationships between different bands.

[0003] In one existing technology, target spectral parameters and driving parameters for each time period are typically pre-configured, and the controller issues driving parameters to each emission channel in chronological order. When a shift in the spectral output of a certain emission channel is detected, the controller directly adjusts the driving parameters of the corresponding emission channel within the current time period. Because the degree of shift and the magnitude of parameter adjustment differ among the emission channels, the instantaneous change in driving parameters causes a step change in the spectral output within the current time period, and causes asynchronous changes in radiative flux of multiple emission channels during the adjustment process, resulting in an instantaneous spectral ratio deviating from the set value of the current time period. In another existing control method, the controller continues to execute the current driving parameters after detecting a spectral shift and reconfigures the corresponding emission channel in subsequent time periods. This control method does not uniformly correlate the shift state, compensation parameters, and time period boundaries of each emission channel. Compensation parameters for different emission channels may take effect at different control times, leading to asynchronous band correction and discontinuous spectral combinations during time period switching.

[0004] Existing technologies have the problem that multi-band spectral deviations are difficult to correct synchronously and smoothly at the temporal period boundaries. Summary of the Invention

[0005] This invention provides a timing arrangement and control method and system for multispectral light sources, in order to solve the problem in the prior art that it is difficult to synchronously and smoothly correct multi-band spectral deviations at the temporal period boundary.

[0006] In a first aspect, to solve the above-mentioned technical problems, the present invention provides a timing arrangement and control method for multispectral light sources, comprising: The real-time spectrum, current driving parameters, current timing information, current target parameters, and next target parameters of the multispectral light source are acquired, and band features are extracted from the real-time spectrum to obtain band state data. The band deviation is calculated based on the band status data and the current target parameters. Abnormal bands are determined based on the band deviation. The band deviation of the abnormal bands is compensated and mapped to obtain the driving compensation amount. The cycle switching time is determined based on the current timing information, and the drive compensation amount is associated with the cycle switching time to obtain the next cycle compensation parameters; The basic driving parameters are determined according to the next target parameters, and the basic driving parameters are corrected according to the next cycle compensation parameters to obtain multi-band target parameters. A unified control time sequence is generated according to the change amplitude between the current driving parameters and the multi-band target parameters, and a multi-band transition sequence is generated according to the unified control time sequence. The current timing end signal is generated according to the cycle switching time. When the current timing end signal is received, the multi-band transition sequence is loaded synchronously to perform timing switching on the band light source and obtain multispectral timing output.

[0007] Secondly, the present invention provides a timing arrangement and control system for multispectral light sources, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described above.

[0008] Compared with the prior art, the present invention has the following beneficial effects: (1) This invention extracts band features from the real-time spectrum of a multispectral light source to obtain band state data corresponding to each band, and calculates the band deviation based on the band state data and the current target parameters, thereby determining the abnormal bands and their corresponding driving compensation amounts. This process compares the real-time center wavelength and real-time radiant flux of each band with the target spectral state of the current time period, enabling the spectral deviation states of different bands to be independently identified and quantified, providing a clear control basis for the subsequent generation of multi-band compensation parameters.

[0009] (2) This invention generates the next cycle compensation parameter by associating the driving compensation amount corresponding to the abnormal band with the cycle switching time, and determines the basic driving parameter according to the next target parameter. The basic driving parameter is then corrected using the next cycle compensation parameter to obtain the multi-band target parameter. This process converts the spectral deviation state detected in the current time series into the driving parameter effective in the next time series, so that the current time series maintains the original driving state before the switching time. At the same time, the target spectral setting and deviation compensation of each band work together in the next time series, reducing the sudden change in spectral output caused by the instantaneous change of driving parameter in the current time series.

[0010] (3) This invention generates a unified control time sequence based on the variation amplitude between the current driving parameters and the multi-band target parameters, and generates a multi-band transition sequence according to the unified control time sequence. The multi-band transition sequence is synchronously loaded when the current time sequence end signal arrives. This process enables the driving parameters of each band to transition from the current driving parameters to the corresponding target driving parameters according to a common time starting point and control beat, reducing the switching deviation caused by different adjustment amplitudes and response times of different bands, thereby maintaining the continuity of multispectral output and the consistency of spectral combination relationships between bands during the time sequence period switching process. Attached Figure Description

[0011] Figure 1 This is a schematic flowchart of the timing arrangement and control method for multispectral light sources provided in the first embodiment of the present invention; Figure 2 This is a schematic diagram of band deviation and abnormal bands provided in the first embodiment of the present invention. Detailed Implementation

[0012] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0013] Reference Figure 1 The first embodiment of the present invention provides a timing arrangement and control method for multispectral light sources, including the following steps: S1, acquire the real-time spectrum, current driving parameters, current timing information, current target parameters and next target parameters of the multispectral light source, extract band features from the real-time spectrum to obtain band state data; S2, calculate the band deviation based on the band status data and the current target parameters, determine the abnormal band based on the band deviation, and perform compensation mapping on the band deviation of the abnormal band to obtain the driving compensation amount; S3, determine the cycle switching time based on the current timing information, associate the drive compensation amount with the cycle switching time, and obtain the next cycle compensation parameter; S4, determine the basic driving parameters according to the next target parameters, correct the basic driving parameters according to the next cycle compensation parameters to obtain multi-band target parameters, generate a unified control time sequence according to the change amplitude between the current driving parameters and the multi-band target parameters, and generate a multi-band transition sequence according to the unified control time sequence; S5, generate the current timing end signal according to the period switching time, and synchronously load the multi-band transition sequence when the current timing end signal is received, perform timing switching on the band light source, and obtain multi-spectral timing output.

[0014] The execution system in this embodiment includes a main control unit, a memory, a spectral acquisition component, multiple band drive circuits, and multiple band light sources. The spectral acquisition component is connected to the main control unit via a digital serial interface, and each band drive circuit is connected to its corresponding band light source. The main control unit writes the constant current amplitude and duty cycle to each band drive circuit via a drive data interface.

[0015] In one implementation, the main control unit includes a hardware timer. Each band driving circuit has its own shadow register and output register. The latch terminals of each band driving circuit are connected to the same common latch line, which is connected to the output terminal of the hardware timer. The memory records a band configuration table, a timing control table, a deviation compensation table, a spectral control table, a switching buffer, and an execution buffer.

[0016] In step S1, the real-time spectrum, current driving parameters, current timing information, current target parameters, and next target parameters of the multispectral light source are obtained, and band features are extracted from the real-time spectrum to obtain band state data.

[0017] The process of extracting band features from the real-time spectrum to obtain band state data includes: The real-time spectrum is divided according to a preset wavelength range to obtain multiple band spectra; The real-time center wavelength is obtained by weighting the sampled wavelengths in each band of the spectrum according to their corresponding spectral intensities. The real-time radiative flux is obtained by integrating the spectral intensity of each band along the wavelength direction. By associating the real-time center wavelength and the real-time radiative flux with the band identifier, band status data is obtained.

[0018] In one implementation, the spectral acquisition component acquires the output spectrum of the multispectral light source using a continuous sampling method and sends spectral frames to the main control unit. Each spectral frame includes the sampling time, the sampling wavelengths arranged in ascending order of wavelength, and the spectral intensity corresponding to each sampling wavelength. The spectral acquisition component converts the raw photoelectric signal into the spectral intensity corresponding to each sampling wavelength according to the wavelength calibration parameters and radiation calibration parameters in the device calibration file.

[0019] The current driving parameters are read from the control registers of each band driving circuit. In this embodiment, the current driving parameters include the current constant current amplitude and the current duty cycle. The driving channel number is read simultaneously when reading the current driving parameters, and the corresponding band identifier is obtained by querying the band configuration table based on the driving channel number.

[0020] The current timing information is read from the timing record being executed by the main control unit. This current timing information includes the cycle number, start time, and duration of the current timing period. The timing control table records the duration of each timing period and the target wavelength and target flux corresponding to each band in the execution order. Before the multispectral light source is put into operation, the timing control table is pre-configured and written into memory according to the timing requirements of the application scenario. During operation, it reads the corresponding timing record according to the cycle number of the current timing period and proceeds sequentially. The current target parameter is obtained by reading the corresponding timing record based on the cycle number of the current timing period; the next timing record is then read to obtain the next target parameter. When the current timing period is the last period, the target wavelength and target flux corresponding to the first timing period are read to obtain the next target parameter.

[0021] It should be noted that the preset wavelength range is established during the light source calibration stage. Each light source in each band is individually turned on and a reference spectrum is acquired. The sampling point with the highest spectral intensity is extracted from the reference spectrum to obtain the reference peak wavelength. Sampling points whose spectral intensity decreases to 50% of the peak spectral intensity are then retrieved from the reference peak wavelength towards both short-wave and long-wave directions. The wavelength range between these two sampling points is determined as the wavelength range for the corresponding band.

[0022] When wavelength ranges of adjacent bands overlap, the midpoint between the two reference peak wavelengths is determined as the common boundary. Band identifiers are assigned to each wavelength range in ascending order of wavelength, and the band identifier, wavelength range, and drive channel number are written into the band configuration table. The band configuration table is built with the band identifier as the primary key, and each record contains the band identifier, lower limit of the wavelength range, upper limit of the wavelength range, drive channel number, and light source type number.

[0023] When extracting band features, spectral data whose sampling wavelengths fall within the same wavelength range are divided into the same band spectrum. For any band spectrum, each sampling wavelength is multiplied by its corresponding spectral intensity, all products are accumulated, and the accumulated result is divided by the sum of all spectral intensities to obtain the real-time center wavelength.

[0024] When calculating the real-time radiative flux, two adjacent sampling points are selected sequentially according to the order of the sampling wavelengths. The average value of the spectral intensity corresponding to the two sampling points is calculated. The average value is multiplied by the wavelength difference between the two sampling wavelengths to obtain the radiative flux of the corresponding wavelength segment. The radiative flux of all wavelength segments is accumulated to obtain the real-time radiative flux.

[0025] For example, a certain wavelength range is 445 nm to 465 nm, including five sampling wavelengths: 445 nm, 450 nm, 455 nm, 460 nm, and 465 nm, with corresponding spectral intensities of 0.2 mW / nm, 0.6 mW / nm, 1.0 mW / nm, 0.6 mW / nm, and 0.2 mW / nm, respectively. A weighted average based on the spectral intensities yields a real-time center wavelength of 455 nm; segmented integration based on adjacent sampling points yields a real-time radiant flux of 12 mW.

[0026] By associating the real-time center wavelength, real-time radiative flux, and sampling time of each band with its corresponding band identifier, a band status record is formed. All band status records are arranged according to the band identifier to obtain band status data. The band status record is the band status data of the corresponding band.

[0027] In step S2, the band deviation is calculated based on the band status data and the current target parameters. Abnormal bands are determined based on the band deviation. The band deviation of the abnormal bands is compensated and mapped to obtain the driving compensation amount.

[0028] The process of calculating band deviation based on the band status data and the current target parameters, and determining abnormal bands based on the band deviation, includes: Extract the current target wavelength and current target flux corresponding to each band from the current target parameters; The difference between the real-time center wavelength and the corresponding current target wavelength is calculated to obtain the wavelength deviation; The difference between the real-time radiation flux and the corresponding current target flux is calculated to obtain the flux deviation; The band deviation is obtained by associating the wavelength deviation and the flux deviation with the band identifier; The bands whose absolute value of wavelength deviation exceeds a preset wavelength deviation threshold or whose absolute value of flux deviation exceeds a preset flux deviation threshold are identified as abnormal bands, and the remaining bands are identified as normal bands.

[0029] In one implementation, the real-time center wavelength and real-time radiant flux are read from the band status data according to the band identifier, and the current target wavelength and current target flux corresponding to the same band identifier are read from the current target parameters. The wavelength deviation is obtained by subtracting the current target wavelength from the real-time center wavelength; the flux deviation is obtained by subtracting the current target flux from the real-time radiant flux.

[0030] Both the wavelength deviation and the flux deviation retain their positive and negative signs. When the wavelength deviation is positive, the real-time center wavelength is greater than the current target wavelength; when the wavelength deviation is negative, the real-time center wavelength is less than the current target wavelength. When the flux deviation is positive, the real-time radiative flux is greater than the current target flux; when the flux deviation is negative, the real-time radiative flux is less than the current target flux. By associating the wavelength deviation and the flux deviation with the band identifier, the band deviation amount for the corresponding band is obtained.

[0031] It should be noted that the preset wavelength deviation threshold and the preset flux deviation threshold are determined based on the measurement fluctuations when the light source of each band is in a stable output state. For any band, a set of fixed driving parameters is written into the corresponding band driving circuit, and real-time spectra are continuously acquired according to the actual sampling period of the spectral acquisition component; preferably, the wavelength deviation threshold for the visible light band is 0.3 to 1.0 nanometers, and the flux deviation threshold is 2% to 5% of the nominal flux.

[0032] Continuous sampling is performed according to the actual sampling period of the spectral acquisition component. When the absolute difference between any two pairs of real-time center wavelengths corresponding to three consecutive sampling times is not greater than the wavelength repeatability value corresponding to the spectral acquisition component, and the absolute difference between any two pairs of real-time radiant fluxes corresponding to three consecutive sampling times is not greater than the flux repeatability value corresponding to the spectral acquisition component, the third sampling time among the three consecutive sampling times is determined as the stable time. The three consecutive sampling times cover two consecutive sampling intervals, thereby distinguishing them from the case where a single sampling value accidentally falls into the repeatability range.

[0033] After the band light source reaches a stable state, at least 100 frames of real-time spectrum are continuously acquired. These 100 frames represent the lower limit of the sample size for stable sampling statistical analysis, ensuring that the number of tail samples corresponding to the 99th percentile is at least one. If, during the stable sampling process, three consecutive sampling times fail to meet the aforementioned stable state determination conditions, the current set of stable sampling data is discarded, and data is acquired again after the band light source reaches a stable state once more.

[0034] For the stable sampling data, the absolute difference between the real-time center wavelength and the current target wavelength in each frame, as well as the absolute difference between the real-time radiant flux and the current target flux in each frame, are calculated. The 99th percentile values ​​of the two sets of absolute differences are selected and compared with the corresponding values ​​of wavelength resolution and flux repeatability of the spectral acquisition component. The larger value is determined as the wavelength deviation threshold and flux deviation threshold for the corresponding band. In the stable sampling data, the proportion of samples exceeding the corresponding 99th percentile value is no more than one percent.

[0035] For example, the actual cycle required for the spectral acquisition component to complete the acquisition and reading of one frame is 100 milliseconds, and 600 frames of real-time spectrum are continuously acquired, corresponding to a stable sampling period of 60 seconds. The 600 frames are greater than the minimum number of 100 samples required to calculate the 99th percentile value.

[0036] If the absolute value of the wavelength deviation of any band exceeds the corresponding wavelength deviation threshold, or if the absolute value of the flux deviation exceeds the corresponding flux deviation threshold, the band is identified as an abnormal band; if the absolute values ​​of both types of deviations do not exceed the corresponding thresholds, the band is identified as a normal band.

[0037] For example, if the current target wavelength of a certain band is 455 nm, the current target flux is 12 mW, the real-time center wavelength is 455.8 nm, and the real-time radiative flux is 10.8 mW, then the wavelength deviation is positive 0.8 nm, and the flux deviation is negative 1.2 mW. The wavelength deviation threshold for this band is 0.5 nm, and the flux deviation threshold is 0.6 mW, thus classifying this band as an abnormal band.

[0038] The compensation mapping for the band deviation of the abnormal band to obtain the driving compensation amount includes: The corresponding pre-calibrated deviation compensation table is called according to the band identifier of the abnormal band. The deviation compensation table records the wavelength deviation node, the flux deviation node, and the driving compensation amount corresponding to each node combination. Based on the wavelength deviation and flux deviation corresponding to the abnormal band, determine the wavelength deviation range and flux deviation range, and combine the wavelength deviation range and flux deviation range into a target compensation unit; Extract the driving compensation amount corresponding to the four boundary nodes of the target compensation unit from the deviation compensation table; Based on the positions of the wavelength deviation and the flux deviation in the target compensation unit, bilinear interpolation is performed on the driving compensation amounts corresponding to the four boundary nodes to obtain the driving compensation amounts corresponding to the abnormal band.

[0039] In one implementation, the drive compensation amount includes a current compensation component and a duty cycle compensation component. A positive current compensation component represents an increase in the constant current amplitude, and a negative current compensation component represents a decrease in the constant current amplitude; a positive duty cycle compensation component represents an increase in the duty cycle, and a negative duty cycle compensation component represents a decrease in the duty cycle.

[0040] The deviation compensation table and the spectral control table are established using the same set of basic calibration records. During calibration, multiple constant current amplitude nodes are set according to the allowable constant current amplitude range of the light source device, and multiple duty cycle nodes are set according to the allowable duty cycle range of the band drive circuit.

[0041] When determining the constant current amplitude node, the duty cycle is fixed to a programmable value corresponding to the midpoint of the allowable duty cycle range. If the midpoint cannot be directly written by the band drive circuit, the programmable value with the smallest absolute difference from the midpoint is selected. Starting from the lower limit of the constant current amplitude range, the constant current amplitude is increased incrementally according to the minimum programmable step size of the constant current control register. When the absolute difference between the real-time center wavelength corresponding to the current constant current amplitude and the real-time center wavelength corresponding to the previous constant current amplitude node reaches the wavelength resolution of the spectral acquisition component, or the absolute difference between the corresponding real-time radiant fluxes reaches the flux repeatability value corresponding to the spectral acquisition component, the current constant current amplitude is determined as the next constant current amplitude node. The constant current amplitude continues to increase in the same way until the upper limit of the constant current amplitude range is covered.

[0042] When determining the duty cycle node, the constant current amplitude is fixed to a programmable value corresponding to the median value within the allowable range of constant current amplitude. If the median value cannot be directly written by the band drive circuit, the programmable value with the smallest absolute difference from the median value is selected. Starting from the lower limit of the duty cycle range, the duty cycle is increased incrementally according to the minimum programmable step size of the duty cycle control register. When the absolute difference between the real-time center wavelength corresponding to the current duty cycle and the real-time center wavelength corresponding to the previous duty cycle node reaches the wavelength resolution of the spectral acquisition component, or the absolute difference between the corresponding real-time radiant fluxes reaches the flux repeatability value corresponding to the spectral acquisition component, the current duty cycle is determined as the next duty cycle node. The duty cycle continues to increase in the same way until the upper limit of the duty cycle range is covered.

[0043] Each constant current amplitude node is sequentially combined with each duty cycle node, traversing all driving parameter combinations. After each driving parameter combination is written into the corresponding band driving circuit, the steady state of the band light source is determined according to the aforementioned steady state determination method, and the corresponding real-time center wavelength, real-time radiant flux, constant current amplitude, and duty cycle are recorded to form a basic calibration record.

[0044] When establishing the deviation compensation table, each basic calibration record is sequentially designated as a reference record, and the basic calibration record adjacent to the reference record at the constant current amplitude node or duty cycle node is selected as the deviation record. The wavelength deviation is obtained by subtracting the real-time center wavelength in the reference record from the real-time center wavelength in the deviation record; the flux deviation is obtained by subtracting the real-time radiant flux in the reference record from the real-time radiant flux in the deviation record.

[0045] Subtracting the constant current amplitude from the deviation record from the constant current amplitude in the reference record yields the current compensation component; subtracting the duty cycle from the deviation record from the duty cycle in the reference record yields the duty cycle compensation component. Correlating the current compensation component and the duty cycle compensation component with the wavelength deviation and the flux deviation forms a compensation calibration record.

[0046] Based on the wavelength deviation range corresponding to all compensation calibration records, with zero as the reference, wavelength deviation nodes are set along the positive and negative directions according to the wavelength resolution of the spectral acquisition component until all wavelength deviations are covered; based on the flux deviation range corresponding to all compensation calibration records, with zero as the reference, flux deviation nodes are set along the positive and negative directions according to the corresponding values ​​of flux repeatability of the spectral acquisition component until all flux deviations are covered.

[0047] For any compensation calibration record, determine the wavelength deviation node closest to the wavelength deviation and the flux deviation node closest to the flux deviation. If the absolute difference between the wavelength deviation and the nearest wavelength deviation node is no greater than half the interval between the wavelength deviation nodes, and the absolute difference between the flux deviation and the nearest flux deviation node is no greater than half the interval between the flux deviation nodes, then the compensation calibration record is assigned to the corresponding node combination.

[0048] When multiple compensation calibration records are grouped into the same node combination, the arithmetic mean of each current compensation component and the arithmetic mean of each duty cycle compensation component are calculated separately to obtain the drive compensation amount corresponding to the node combination. Only the control unit with drive compensation amount for all four boundary nodes is retained, and the wavelength deviation node, the flux deviation node, and the drive compensation amount corresponding to each node combination are written into a two-dimensional table to obtain the deviation compensation table.

[0049] During operation, two adjacent wavelength deviation nodes are determined based on the wavelength deviation corresponding to the abnormal band, and two adjacent flux deviation nodes are determined based on the corresponding flux deviation. The intersection of the two wavelength deviation nodes and the two flux deviation nodes forms four boundary nodes, which together constitute the target compensation unit.

[0050] During bilinear interpolation, firstly, based on the position of the wavelength deviation between the two wavelength deviation nodes, linear interpolation is performed on the drive compensation amounts corresponding to the two flux deviation nodes to obtain two intermediate compensation amounts; then, based on the position of the flux deviation between the two flux deviation nodes, linear interpolation is performed on the two intermediate compensation amounts to obtain the drive compensation amount corresponding to the abnormal band. The current compensation component and the duty cycle compensation component respectively perform the interpolation process.

[0051] When the wavelength deviation or flux deviation exceeds the recording range of the deviation compensation table, the deviation exceeding the recording range is limited to the boundary node value in the same direction, and interpolation is performed using the corresponding boundary compensation unit.

[0052] For example, the wavelength deviation of a certain anomalous band is positive 0.8 nm, the flux deviation is negative 1.2 mW, the adjacent wavelength deviation nodes are positive 0.5 nm and positive 1.0 nm, and the adjacent flux deviation nodes are negative 1.5 mW and negative 1.0 mW.

[0053] The current compensation components corresponding to the wavelength deviation node positive 0.5 nm and flux deviation node negative 1.5 mW, the wavelength deviation node positive 1.0 nm and flux deviation node negative 1.5 mW, the wavelength deviation node positive 0.5 nm and flux deviation node negative 1.0 mW, and the wavelength deviation node positive 1.0 nm and flux deviation node negative 1.0 mW are negative 6 mA, negative 10 mA, negative 5 mA, and negative 9 mA, respectively, and the corresponding duty cycle compensation components are positive 3 percentage points, positive 4 percentage points, positive 2 percentage points, and positive 3 percentage points, respectively.

[0054] Linear interpolation is performed sequentially according to the wavelength deviation direction and the flux deviation direction to obtain a current compensation component of -7.8 mA and a duty cycle compensation component of +3 percentage points. The current compensation component and the duty cycle compensation component are then associated with the band identifier of the abnormal band to obtain the driving compensation amount.

[0055] like Figure 2 As shown, this figure is a schematic diagram of band deviation and abnormal bands. It forms a two-dimensional coordinate graph with wavelength deviation as the horizontal axis and flux deviation as the vertical axis. The two dashed lines in the figure represent the boundaries of the wavelength deviation threshold and the flux deviation threshold, respectively. The central area defined by the dashed lines is the normal band range, and the area outside the central area is the abnormal band range. The background color represents the corresponding compensation current direction and magnitude. Cyan data points represent normal bands where all deviations are within the threshold, and red data points represent abnormal bands where at least one deviation exceeds the threshold. This figure intuitively shows the classification results of each band deviation on both sides of the threshold boundary and the compensation current direction corresponding to different deviation positions, providing a visual basis for the compensation mapping of the driving compensation amount.

[0056] In step S3, the cycle switching time is determined based on the current timing information, and the drive compensation amount is associated with the cycle switching time to obtain the next cycle compensation parameters, including: Extract the boundary moment between the current timing period and the next timing period from the current timing information, and determine the boundary moment as the period switching moment; By associating the abnormal band, the drive compensation amount, and the cycle switching time with the band identifier, the compensation parameters for the next cycle are obtained. Set the cycle switching time as the effective time of the next cycle compensation parameter, and maintain the current driving parameters before the cycle switching time.

[0057] In one implementation, the current timing information includes the start time and duration of the current timing cycle. The start time and duration are added together to obtain the end time of the current timing cycle. The end time of the current timing cycle also corresponds to the start time of the next timing cycle; this end time is determined as the cycle switching time.

[0058] The start time, cycle switching time, and the current time read by the system clock all use the same hardware timer and the same time unit. For example, the start time of the current timing cycle is 120,000 milliseconds after system startup, the duration is 30,000 milliseconds, and 150,000 milliseconds after system startup is determined as the cycle switching time.

[0059] For each abnormal band, a compensation record is generated by associating the abnormal band, drive compensation amount, and cycle switching time according to the band identifier. Each compensation record includes the band identifier, current compensation component, duty cycle compensation component, and effective time. All compensation records are arranged according to the band identifier to obtain the compensation parameters for the next cycle.

[0060] When no abnormal band is detected, the driving compensation amount is not written into the compensation parameters of the next cycle; when multiple abnormal bands are detected, each abnormal band forms a compensation record, and each compensation record has the same cycle switching time.

[0061] The compensation parameters for the next cycle are calculated and written to memory before the cycle switching time. Before the cycle switching time, each band drive circuit continues to execute the current drive parameters, and the drive compensation amount is not written to the corresponding output register.

[0062] The multi-band target parameters and multi-band transition sequences are calculated and cached before the period switching time. After the period switching time arrives, the corresponding driving parameters are executed starting from the first control time of the multi-band transition sequence.

[0063] For example, the drive compensation amount corresponding to band identifier B2 includes a current compensation component of -7.8 mA and a duty cycle compensation component of 3 percentage points. By writing band identifier B2, the two compensation components and the cycle switching time of 150,000 milliseconds into the same compensation record, the compensation parameters for the next cycle are obtained.

[0064] In step S4, the basic driving parameters are determined according to the next target parameters, the basic driving parameters are corrected according to the next cycle compensation parameters to obtain multi-band target parameters, a unified control time sequence is generated according to the change amplitude between the current driving parameters and the multi-band target parameters, and a multi-band transition sequence is generated according to the unified control time sequence.

[0065] Specifically, the process involves determining the basic driving parameters based on the next target parameters, correcting the basic driving parameters based on the next period compensation parameters, and obtaining multi-band target parameters, including: Extract the next target wavelength and next target flux corresponding to each band from the next target parameters; The corresponding pre-calibrated spectral control table is invoked according to the band identifier. The spectral control table records the target wavelength node, the target flux node, and the basic driving parameters corresponding to each node combination. Based on the next target wavelength and the next target flux, bilinear interpolation is performed in the spectral control table to obtain the basic driving parameters corresponding to each band. Extract the driving compensation amount corresponding to the abnormal band from the next cycle compensation parameters, add the driving compensation amount to the corresponding basic driving parameters to obtain the target parameters of the abnormal band, and determine the basic driving parameters corresponding to the normal band as the target parameters of the normal band. The abnormal band target parameters and the normal band target parameters are arranged according to the band identifier to obtain multi-band target parameters.

[0066] In one implementation, the next target wavelength and next target flux corresponding to each band are read from the next target parameters based on the band identifier, and the spectral control table for the corresponding band is called. The basic driving parameters include constant current amplitude and duty cycle.

[0067] It should be noted that changes in the constant current amplitude may simultaneously cause changes in both the real-time radiative flux and the real-time center wavelength; when the peak current remains constant, changes in the duty cycle primarily alter the on-time and average radiative flux within one modulation cycle. Therefore, the spectral control table jointly records the correspondence between the constant current amplitude and duty cycle and the real-time center wavelength and real-time radiative flux, without limiting any driving parameter to only changing a single spectral characteristic.

[0068] The spectral control table is established based on the baseline calibration record generated in step S2. Target wavelength nodes and target flux nodes are set according to the center wavelength range and radiant flux range covered by the baseline calibration record. The spacing between target wavelength nodes is not less than the wavelength resolution of the spectral acquisition component, and the spacing between target flux nodes is not less than the corresponding value of the flux repeatability of the spectral acquisition component.

[0069] For any combination of target wavelength nodes and target flux nodes, calculate the absolute difference between the real-time center wavelength and the target wavelength node, as well as the absolute difference between the real-time radiant flux and the target flux node, in each basic calibration record. Divide the absolute difference of wavelength by the target wavelength node interval and the absolute difference of flux by the target flux node interval, and add the two division results to obtain the node distance.

[0070] Select the basic calibration record with the smallest node distance. When the absolute difference between the real-time center wavelength and the target wavelength node in the selected basic calibration record is no greater than half of the target wavelength node spacing, and the absolute difference between the real-time radiant flux and the target flux node is no greater than half of the target flux node spacing, the constant current amplitude and duty cycle in the basic calibration record are determined as the basic driving parameters for the corresponding node combination.

[0071] Nodes that do not meet the above conditions are not written into the spectral control table. Only control units with four boundary nodes that all have basic driving parameters are retained to obtain the spectral control table.

[0072] During the operation phase, two adjacent target wavelength nodes are determined based on the next target wavelength, and two adjacent target flux nodes are determined based on the next target flux. The basic driving parameters corresponding to the four boundary nodes are also read. The bilinear interpolation process of the basic driving parameters is the same as the bilinear interpolation process of the driving compensation in step S2. The constant current amplitude and duty cycle are interpolated separately to obtain the basic driving parameters for the corresponding band.

[0073] When the next target wavelength or the next target flux exceeds the recording range of the spectral control table, the corresponding target parameters are limited to the boundary node values ​​in the same direction, and interpolation is performed using the boundary control unit.

[0074] It should be noted that the drive compensation amount characterizes the drive increment of the same band light source and band drive circuit relative to the basic calibration state under the current operating state. The current time series and the next time series use the same band light source and band drive circuit, and both the current target parameters and the next target parameters are within the recording range of the corresponding spectral control table, and the next time series is adjacent to the current time series. Therefore, the drive compensation amount detected in the current time series is used as the increment of the basic drive parameters for the next time series.

[0075] For abnormal bands, the current compensation component and duty cycle compensation component corresponding to the same band identifier are extracted from the compensation parameters of the next cycle. The current compensation component is added to the constant current amplitude in the basic drive parameters, and the duty cycle compensation component is added to the duty cycle in the basic drive parameters to obtain the target parameters for the abnormal band. For normal bands, the corresponding basic drive parameters are determined as the target parameters for the normal band.

[0076] When the target parameters of an abnormal band exceed the allowable range of the band drive circuit, the parameters exceeding the upper limit are designated as the corresponding upper limit, and the parameters falling below the lower limit are designated as the corresponding lower limit. The abnormal band target parameters and normal band target parameters are arranged according to the band identifier to obtain multi-band target parameters.

[0077] For example, the next target wavelength in a certain anomalous band is 455.4 nm, and the next target flux is 12.6 mW. The adjacent target wavelength nodes in the spectral control table are 455.0 nm and 455.5 nm, and the adjacent target flux nodes are 12.0 mW and 13.0 mW. The constant current amplitudes corresponding to the four boundary nodes are 90 mA, 94 mA, 92 mA, and 96 mA, respectively, with corresponding duty cycles of 60%, 60%, 65%, and 65%, respectively.

[0078] After performing bilinear interpolation, the basic drive parameters are obtained as 94.4 mA and 63%. The corresponding drive compensation amounts are -7.8 mA and +3%. Adding the two sets of parameters together, we get 86.6 mA and 66%, forming the target parameters for the anomalous band.

[0079] Specifically, generating a unified control time sequence based on the variation amplitude between the current driving parameters and the multi-band target parameters, and generating a multi-band transition sequence based on the unified control time sequence, includes: Extract the target driving parameters corresponding to each band from the multi-band target parameters, calculate the absolute difference between the current driving parameter and the corresponding target driving parameter, and obtain the band change amplitude; Divide the change amplitude of each band by the corresponding preset maximum change rate to obtain the candidate transition duration, and select the maximum value from the candidate transition durations as the unified transition duration. Starting from the cycle switching time, the unified transition duration is divided according to the preset control interval to obtain a unified control time sequence; According to the unified control time sequence, the current driving parameters and the target driving parameters corresponding to each band are linearly interpolated to obtain the transition sequence of each band. The transition sequences of each band are then combined according to the band identifier to obtain a multi-band transition sequence.

[0080] In one implementation, the current and target drive parameters corresponding to each band are read according to the band identifier. The absolute difference between the target constant current amplitude and the current constant current amplitude is calculated to obtain the current change amplitude; the absolute difference between the target duty cycle and the current duty cycle is calculated to obtain the duty cycle change amplitude. The current change amplitude and the duty cycle change amplitude constitute the band change amplitude of the corresponding band.

[0081] The preset maximum rate of change includes the maximum current rate of change and the maximum duty cycle rate of change. The preset control interval is determined based on the time required for the band drive circuit to complete one stable parameter update and the time resolution of the hardware timer; the larger of the two time values ​​is determined as the control interval.

[0082] The maximum allowable constant current amplitude change and the maximum duty cycle change within a control interval are read from the technical parameters of the band drive circuit and the band light source. The maximum allowable constant current amplitude change is divided by the control interval to obtain the maximum current change rate; the maximum allowable duty cycle change is divided by the control interval to obtain the maximum duty cycle change rate. When multiple technical parameters limit the change amounts, the smaller value is selected.

[0083] For example, the time required for the band drive circuit to complete one stable parameter update is 10 milliseconds, the time resolution of the hardware timer is 1 millisecond, and the control interval is set to 10 milliseconds. The technical parameters state that the maximum allowable constant current amplitude change within a control interval is 2 mA, the maximum allowable duty cycle change is 1 percentage point, resulting in a maximum current change rate of 200 mA per second and a maximum duty cycle change rate of 100% / second.

[0084] For any given frequency band, divide the current change amplitude by the maximum current change rate to obtain the candidate current duration; divide the duty cycle change amplitude by the maximum duty cycle change rate to obtain the candidate duty cycle duration; select the larger of the two candidate durations to obtain the candidate transition duration for the corresponding frequency band. Then, select the maximum value from the candidate transition durations of all frequency bands to obtain the unified transition duration.

[0085] The cycle switching time is determined as the first control time in the unified control time sequence. Control times are added sequentially according to the control interval until the unified transition duration is covered, thus obtaining the unified control time sequence. If the unified transition duration is not divisible by the control interval, the end point of the unified transition duration is added as the last control time.

[0086] For any given frequency band, calculate the elapsed time of each control moment relative to the first control moment, and calculate the proportion of the elapsed time to the uniform transition time. Then, perform linear interpolation between the current drive parameters and the target drive parameters according to this proportion to obtain the drive parameters for the corresponding control moment. The first control moment corresponds to the current drive parameters, and the last control moment corresponds to the target drive parameters.

[0087] For example, the current drive parameters for a certain band are 100 mA and 60%, and the target drive parameters are 86.6 mA and 66%. Assuming the transition time is calculated based on the candidate transition times for each band and then uniformly set to 100 ms, determined by the candidate with the longest possible transition time, and the control interval is 10 ms, after a control period of 50 ms, the interpolated constant current amplitude is 93.3 mA and the duty cycle is 63%.

[0088] Each band generates a band transition sequence according to the same unified control time sequence. When the current driving parameter of a certain band is consistent with the target driving parameter, the same driving parameter is recorded at all control times. The band transition sequences are combined according to the band identifier to obtain a multi-band transition sequence.

[0089] In step S5, a current timing end signal is generated according to the period switching time. When the current timing end signal is received, the multi-band transition sequence is loaded synchronously to perform timing switching on the band light source and obtain multispectral timing output.

[0090] The generation of the current timing end signal based on the cycle switching time includes: Read the system clock to get the current time; The current time is compared with the cycle switching time. When the current time reaches the cycle switching time, a current timing end signal is generated.

[0091] In one implementation, the system clock uses a hardware timer that records the current timing information in step S3, with the current time and the cycle switching time using the same time unit. The cycle switching time is written into the hardware timer's comparison register. When the current count value of the hardware timer reaches the count value corresponding to the cycle switching time, the hardware timer generates a comparison event, which is then identified as the end signal of the current timing sequence.

[0092] After the current timing end signal is generated, the triggered state is set, and the current timing end signal will not be generated again during the same cycle switching process. After the start of the next timing cycle, the new cycle switching time is written to the compare register, and the triggered state is cleared.

[0093] For example, the cycle switching time is 150,000 milliseconds after system startup. When the current count value of the hardware timer reaches the count value corresponding to 150,000 milliseconds, the hardware timer generates a comparison event and generates a current timing end signal.

[0094] The process of synchronously loading the multi-band transition sequence upon receiving the current timing end signal includes: According to the band identifier, the multi-band transition sequence is split to obtain each band transition sequence, and each band transition sequence is written into the corresponding switchable buffer. Upon receiving the current timing end signal, each of the buffers to be switched is synchronously switched to the corresponding execution buffer. According to the unified control time sequence, the driving parameters in each execution buffer are read sequentially, and each driving parameter is written into the corresponding band driving circuit. At each control time, a unified latch instruction is sent to make each band driving circuit update the corresponding driving parameters synchronously, so as to obtain multispectral timing output.

[0095] In one implementation, the memory is divided into a switching buffer and an execution buffer according to the band. The switching buffer records the band transition sequence corresponding to the next timing cycle, and the execution buffer records the currently executing band transition sequence. Each buffer record includes the control time, constant current amplitude, and duty cycle.

[0096] After generating the multi-band transition sequence in step S4, the time series records corresponding to each band are extracted according to the band identifier and arranged according to the unified control time sequence to obtain the transition sequence for each band. Each band transition sequence is then written to its corresponding switching buffer. A buffer ready flag is set after all switching buffers have been written; if any switching buffer has not been written, the buffer ready flag remains unset.

[0097] Upon receiving the current timing end signal and with the buffer ready flag already set, the main control unit writes the starting address corresponding to each buffer to be switched to the execution pointer, synchronously switches each buffer to be switched to the corresponding execution buffer, and resets each execution sequence index to the sequence index corresponding to the first control moment. The switching process updates the buffer address without copying the band transition sequence one by one.

[0098] Each band drive circuit has its own shadow register and output register. Before the cycle switching time arrives, the main control unit reads the drive parameters corresponding to the first control time from each switchable buffer and writes the drive parameters into the shadow register of each band drive circuit. The first control time corresponds to the current drive parameters.

[0099] When the current timing end signal is generated, the main control unit synchronously switches each execution buffer, and the hardware timer simultaneously outputs a hardware latch pulse through the common latch line. At the same valid edge of the hardware latch pulse, each band drive circuit updates the current drive parameters in the shadow register to the output register.

[0100] When executing the subsequent unified control time sequence, before any control time arrives, the main control unit reads the constant current amplitude and duty cycle corresponding to the same sequence index from each execution buffer and writes them into the shadow register of the corresponding band drive circuit.

[0101] When the hardware timer reaches the corresponding control moment, it sends a unified latch instruction via a common latch line. At the same valid edge corresponding to the unified latch instruction, each band drive circuit synchronously updates the constant current amplitude and duty cycle in the shadow register to the output register. The unified latch instruction is generated by the hardware timer and does not employ a band-by-band software polling method.

[0102] For example, the unified control time sequence includes 11 control moments from 150,000 milliseconds to 150,100 milliseconds, with a control interval of 10 milliseconds between adjacent control moments. When the current timing end signal is generated at 150,000 milliseconds, each waiting-to-be-switched buffer synchronously switches to the execution buffer, and synchronously updates the current driving parameters corresponding to the first control moment through the common latch line.

[0103] Before 150010 milliseconds, the master control unit writes the driving parameters corresponding to the second sequence index into each shadow register, and synchronously updates each output register through the common latch line at 150010 milliseconds. This process continues in the same manner, synchronously updating to the target driving parameters at 150100 milliseconds.

[0104] Each band of light source updates its corresponding driving parameters according to the same unified control time sequence, and the multiple band spectra formed at each control time constitute a multispectral time sequence output.

[0105] In summary, this invention acquires the real-time spectrum, current driving parameters, current timing information, current target parameters, and next target parameters of a multispectral light source. It extracts band features from the real-time spectrum to obtain band state data, and calculates band deviation based on the band state data and the current target parameters to identify abnormal bands and their corresponding driving compensation amounts. The driving compensation amounts are then correlated with the period switching time to obtain the next period compensation parameters. Multi-band target parameters are generated based on the next target parameters and the next period compensation parameters. Furthermore, a unified control time sequence and a multi-band transition sequence are generated based on the variation amplitude between the current driving parameters and the multi-band target parameters. At the period switching time, each buffer to be switched is synchronously switched to its corresponding execution buffer, and the driving parameters are read according to the unified control time sequence. A unified latch instruction is used to synchronously update the corresponding driving parameters of each band driving circuit, achieving synchronous and smooth control of multi-band spectral deviations at the timing period boundaries.

[0106] The second embodiment of the present invention provides a timing arrangement and control system for multispectral light sources, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method described above.

[0107] It should be noted that the timing orchestration and control system for multispectral light sources provided in this embodiment of the invention is used to execute all the process steps of the timing orchestration and control method for multispectral light sources in the above embodiment. The working principles and beneficial effects of the two are one-to-one, so they will not be described again.

[0108] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A timing arrangement and control method for multispectral light sources, characterized in that, include: The real-time spectrum, current driving parameters, current timing information, current target parameters, and next target parameters of the multispectral light source are acquired, and band features are extracted from the real-time spectrum to obtain band state data. The band deviation is calculated based on the band status data and the current target parameters. Abnormal bands are determined based on the band deviation. The band deviation of the abnormal bands is compensated and mapped to obtain the driving compensation amount. The cycle switching time is determined based on the current timing information, and the drive compensation amount is associated with the cycle switching time to obtain the next cycle compensation parameters; The basic driving parameters are determined according to the next target parameters, and the basic driving parameters are corrected according to the next cycle compensation parameters to obtain multi-band target parameters. A unified control time sequence is generated according to the change amplitude between the current driving parameters and the multi-band target parameters, and a multi-band transition sequence is generated according to the unified control time sequence. The current timing end signal is generated according to the cycle switching time. When the current timing end signal is received, the multi-band transition sequence is loaded synchronously to perform timing switching on the band light source and obtain multispectral timing output.

2. The timing arrangement and control method for multispectral light sources according to claim 1, characterized in that, The step of extracting band features from the real-time spectrum to obtain band state data includes: The real-time spectrum is divided according to a preset wavelength range to obtain multiple band spectra; The real-time center wavelength is obtained by weighting the sampled wavelengths in each band of the spectrum according to their corresponding spectral intensities. The real-time radiative flux is obtained by integrating the spectral intensity of each band along the wavelength direction. By associating the real-time center wavelength and the real-time radiative flux with the band identifier, band status data is obtained.

3. The timing arrangement and control method for multispectral light sources according to claim 2, characterized in that, The step of calculating the band deviation based on the band status data and the current target parameters, and determining the abnormal band based on the band deviation, includes: Extract the current target wavelength and current target flux corresponding to each band from the current target parameters; The difference between the real-time center wavelength and the corresponding current target wavelength is calculated to obtain the wavelength deviation; The difference between the real-time radiation flux and the corresponding current target flux is calculated to obtain the flux deviation; The band deviation is obtained by associating the wavelength deviation and the flux deviation with the band identifier; The bands whose absolute value of wavelength deviation exceeds a preset wavelength deviation threshold or whose absolute value of flux deviation exceeds a preset flux deviation threshold are identified as abnormal bands, and the remaining bands are identified as normal bands.

4. The timing arrangement and control method for multispectral light sources according to claim 3, characterized in that, The compensation mapping of the band deviation of the abnormal band to obtain the driving compensation amount includes: The corresponding pre-calibrated deviation compensation table is called according to the band identifier of the abnormal band. The deviation compensation table records the wavelength deviation node, the flux deviation node, and the driving compensation amount corresponding to each node combination. Based on the wavelength deviation and flux deviation corresponding to the abnormal band, determine the wavelength deviation range and flux deviation range, and combine the wavelength deviation range and flux deviation range into a target compensation unit; Extract the driving compensation amount corresponding to the four boundary nodes of the target compensation unit from the deviation compensation table; Based on the positions of the wavelength deviation and the flux deviation in the target compensation unit, bilinear interpolation is performed on the driving compensation amounts corresponding to the four boundary nodes to obtain the driving compensation amounts corresponding to the abnormal band.

5. The timing arrangement and control method for multispectral light sources according to claim 4, characterized in that, The step of determining the cycle switching time based on the current timing information, associating the drive compensation amount with the cycle switching time, and obtaining the next cycle compensation parameters includes: Extract the boundary moment between the current timing period and the next timing period from the current timing information, and determine the boundary moment as the period switching moment; By associating the abnormal band, the drive compensation amount, and the cycle switching time with the band identifier, the compensation parameters for the next cycle are obtained. Set the cycle switching time as the effective time of the next cycle compensation parameter, and maintain the current driving parameters before the cycle switching time.

6. The timing arrangement and control method for multispectral light sources according to claim 5, characterized in that, The step of determining the basic driving parameters based on the next target parameters, and correcting the basic driving parameters based on the next period compensation parameters to obtain multi-band target parameters includes: Extract the next target wavelength and next target flux corresponding to each band from the next target parameters; The corresponding pre-calibrated spectral control table is invoked according to the band identifier. The spectral control table records the target wavelength node, the target flux node, and the basic driving parameters corresponding to each node combination. Based on the next target wavelength and the next target flux, bilinear interpolation is performed in the spectral control table to obtain the basic driving parameters corresponding to each band. Extract the driving compensation amount corresponding to the abnormal band from the next cycle compensation parameters, add the driving compensation amount to the corresponding basic driving parameters to obtain the target parameters of the abnormal band, and determine the basic driving parameters corresponding to the normal band as the target parameters of the normal band. The abnormal band target parameters and the normal band target parameters are arranged according to the band identifier to obtain multi-band target parameters.

7. The timing arrangement and control method for multispectral light sources according to claim 6, characterized in that, The step of generating a unified control time sequence based on the variation amplitude between the current driving parameters and the multi-band target parameters, and generating a multi-band transition sequence based on the unified control time sequence, includes: Extract the target driving parameters corresponding to each band from the multi-band target parameters, calculate the absolute difference between the current driving parameter and the corresponding target driving parameter, and obtain the band change amplitude; Divide the change amplitude of each band by the corresponding preset maximum change rate to obtain the candidate transition duration, and select the maximum value from the candidate transition durations as the unified transition duration. Starting from the cycle switching time, the unified transition duration is divided according to the preset control interval to obtain a unified control time sequence; According to the unified control time sequence, the current driving parameters and the target driving parameters corresponding to each band are linearly interpolated to obtain the transition sequence of each band. The transition sequences of each band are then combined according to the band identifier to obtain a multi-band transition sequence.

8. The timing arrangement and control method for multispectral light sources according to claim 7, characterized in that, The step of generating the current timing end signal based on the period switching time includes: Read the system clock to get the current time; The current time is compared with the cycle switching time. When the current time reaches the cycle switching time, a current timing end signal is generated.

9. The timing arrangement and control method for multispectral light sources according to claim 8, characterized in that, The synchronous loading of the multi-band transition sequence upon receiving the current timing end signal includes: According to the band identifier, the multi-band transition sequence is split to obtain each band transition sequence, and each band transition sequence is written into the corresponding switchable buffer. Upon receiving the current timing end signal, each of the buffers to be switched is synchronously switched to the corresponding execution buffer. According to the unified control time sequence, the driving parameters in each execution buffer are read sequentially, and each driving parameter is written into the corresponding band driving circuit. At each control time, a unified latch instruction is sent to make each band driving circuit update the corresponding driving parameters synchronously, so as to obtain multispectral timing output.

10. A timing arrangement and control system for multispectral light sources, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method according to any one of claims 1 to 9.