A spectrum matching method and device based on filter and brightness optimization
By adding a filter square array in front of the artificial light source, using the combination of non-electrochromic filters and electrochromic filters, the problems of complexity, high cost, low adjustment accuracy and spectral discontinuity of artificial light sources in the prior art are solved, and spectral continuity and high precision matching are achieved.
Patent Information
- Application Number
- CN202510103845.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2045-01-23
AI Technical Summary
The prior art has problems such as complexity, high cost, low adjustment accuracy and discontinuity in artificial light sources when simulating target spectra.
A spectral matching method based on filter and brightness optimization is adopted. By adding a filter square array in front of an artificial light source, the combination of non-electrochromic filters and electrochromic filters is used to achieve spectral continuity and high-precision matching.
The continuity and high-precision matching of the spectrum are achieved, the system complexity and cost are reduced, the matching ability of unknown target spectra is enhanced, and the shortcomings of multi-band combination technology and phosphor conversion technology in the prior art are overcome.
Smart Images

Figure CN119556466B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer models and optical design, and in particular to a spectrum matching method and device based on filters and brightness optimization. Background Art
[0002] The technology of simulating target spectra such as natural spectra (such as solar spectra) by artificial light sources (such as LED light sources) has important applications in crop cultivation, industrial production, medical treatment and other fields. The artificial light source technology used to simulate the target spectrum in the existing technology mainly adopts multi-band artificial light source combination technology and phosphor conversion artificial light source technology.
[0003] The multi-band artificial light source combination technology combines artificial light sources of multiple bands (such as LED light sources) and adjusts the brightness of each artificial light source to match the target spectrum. This technical solution uses the luminous characteristics of artificial light sources of multiple different wavelengths to approximate the target spectrum by mixing spectra. However, this technical solution requires the use of a large number of artificial light sources of different bands, which makes the system complex and costly, increases the difficulty of hardware and software development, and makes it difficult to achieve a continuous spectrum, especially in the smooth transition between bands. There are also spectral overlaps and mutual interference between artificial light sources, which leads to reduced adjustment accuracy.
[0004] Phosphor conversion artificial light source technology uses blue light or ultraviolet artificial light source to excite different types of phosphors to produce a wide spectrum output. This technical solution adjusts the distribution of the spectrum by selecting different types of phosphors. However, this technical solution has the technical defect of low flexibility in spectrum adjustment, which is specifically manifested in that once the characteristics of the phosphor are determined, the spectrum cannot be dynamically adjusted; in addition, the luminous efficiency in this technical solution is affected by the phosphor material, which is prone to heat loss and efficiency reduction problems, and it is difficult to achieve accurate spectrum matching, especially in occasions with high-precision spectrum requirements (such as plant growth lamps and medical light sources). Summary of the invention
[0005] The technical problem to be solved by the present invention is how to overcome the technical defects of the prior art in simulating target spectrum of artificial light source, such as high complexity and cost, low adjustment accuracy and spectral discontinuity. In order to overcome the defects of the prior art, the present invention provides a spectrum matching method and device based on filter and brightness optimization, including a spectrum matching method based on filter and brightness optimization and a spectrum matching device based on filter and brightness optimization.
[0006] The present invention provides a spectrum matching method based on filter and brightness optimization, comprising the following steps:
[0007] S1: acquiring spectral data of a target light source and an artificial light source respectively through a spectral sensor data reading interface, wherein the spectral data includes data showing a corresponding relationship between wavelength and spectral intensity;
[0008] S2: combining a plurality of non-electrochromic filters whose wavelength coverage range includes the visible light wavelength range with a plurality of electrochromic filters into a filter array having an order equal to the number of the electrochromic filters;
[0009] S3: placing the filter array in front of the artificial light source according to the direction of the emitted light of the artificial light source to obtain an integrated light source;
[0010] S4: obtaining a linear interpolation function of the luminous spectrum intensity of the integrated light source by using the spectral data of the artificial light source in an interpolation manner, and the domain of the linear interpolation function is the luminous wavelength range of the target light source;
[0011] S5: constructing an error function based on the linear interpolation function and the spectrum data of the target light source, which takes the brightness coefficients of all the filters in step S2 as independent variables and represents the difference between the luminous spectra of the integrated light source and the target light source;
[0012] S6: Obtain the brightness coefficient value of each filter when the error function takes a minimum value through an optimization model solving algorithm, and then adjust the electric drive signal of the brightness of the electrochromic filter and / or the artificial light source according to the value.
[0013] The spectral matching method based on filter and brightness optimization disclosed in the present invention aims at the technical defects existing in the prior art. By adding a filter array in front of the artificial light source to obtain an integrated light source, the filter array is a square array with an order of the number of electrochromic filters synthesized by a plurality of non-electrochromic filters whose wavelength coverage range includes the visible light wavelength range and a plurality of electrochromic filters, which meets the continuity requirement of the spectrum, thereby being able to provide a wide spectral distribution with low cost. In addition, the electrochromic filter has the characteristic of allowing the output of a specific band to be adjusted according to actual needs, which helps to enhance the matching ability of unknown target spectra. Therefore, compared with the multi-band artificial light source combination technology, the present invention only needs one type of artificial light source, which ultimately simplifies the complexity and control difficulty of the hardware circuit. Subsequently, the optimization model solving algorithm is used to optimize the brightness of the luminous spectrum of the artificial light source modulated by the filter (i.e., the luminous spectrum of the integrated light source). Through the combination of filter diversity and brightness optimization, the luminous spectrum intensity of each spectral band can be accurately controlled to achieve a high-precision spectral fitting effect, thereby achieving high-precision matching of the luminous spectrum of the artificial light source with the target spectrum (such as the solar spectrum), overcoming the shortcomings of the multi-band artificial light source combination technology and phosphor conversion artificial light source technology in the existing technology, and providing a spectral modulation solution with a simple system, high adjustment accuracy and higher energy efficiency.
[0014] In a possible implementation, in step S2, several of the non-electrochromic filters have the same wavelength bandwidth; this solution can ensure real-time adjustment of spectral matching parameters on the basis of ensuring spectral continuity, ensuring that the brightness can be adjusted and controlled, and is more suitable for a variety of applications that require simulation of natural light.
[0015] In a possible implementation, the mathematical formula of the error function is as follows:
[0016] ,
[0017] ,
[0018] In the formula,
[0019] Representative The brightness coefficient of each filter;
[0020] Represents the total number of filters;
[0021] a spectral function representing the artificial light source;
[0022] represents the linear interpolation function;
[0023] a sample size representing the spectral data of the target light source;
[0024] The first The wavelength values in samples;
[0025] The first Spectral intensity values in samples;
[0026] The error function defined in this scheme not only satisfies the characteristic of representing the difference between the luminous spectra of the integrated light source and the target light source, but also because the method for solving the minimum value of this function is mature, the amount of calculation is controllable, which can ensure that the brightness coefficient of each filter is dynamically adjusted using the optimization algorithm to achieve efficient operation of high-precision spectral matching.
[0027] In a possible implementation, the optimization model solving algorithm in step S6 is a sequential quadratic programming algorithm, which has good convergence and helps to accurately solve the optimal solution and achieve high-precision spectral fitting.
[0028] Another technical solution of the present invention is to provide a spectrum matching device based on a filter and brightness optimization, the spectrum matching device comprising:
[0029] Light homogenization module;
[0030] An integrated light source, the integrated light source comprising an artificial light source and a filter matrix, the filter matrix being a matrix composed of a plurality of non-electrochromic filters and a plurality of electrochromic filters, the order of which is equal to the number of the electrochromic filters;
[0031] A data acquisition module, used for acquiring spectral data of the target light source and the artificial light source in real time;
[0032] A circuit module, used for sending electric drive signals for adjusting the brightness of each of the electrochromic filters and the artificial light source respectively;
[0033] A control module is configured to call the circuit module to run using the spectrum data of the artificial light source and the target light source through an optimization model solving algorithm;
[0034] in,
[0035] The artificial light source, the filter matrix, and the light homogenization module are arranged in sequence along the direction of travel of the emitted light of the artificial light source;
[0036] The control module is electrically connected to the data acquisition module, and the circuit module is electrically connected to the control module, each of the electrochromic filters, and the artificial light source respectively.
[0037] The spectrum matching device disclosed in the present invention is provided with a uniform light module, an integrated light source, a data acquisition module, a circuit module and a control module, wherein the integrated light source is a synthetic light source in which a filter matrix is added before an artificial light source, and the filter matrix is a matrix of an order equal to the number of electrochromic filters synthesized by a number of non-electrochromic filters and a plurality of electrochromic filters, and the cost is low, and the integrated light source can provide a wide spectrum, and the spectrum distribution has continuity. In addition, the electrochromic filter allows the circuit module and the control module to adjust the output of a specific band according to actual needs, thereby enhancing the matching ability of the unknown target spectrum. At the same time, the control module can optimize the brightness of the spectrum modulated by the filter, so as to achieve high-precision matching of the luminous spectrum of the artificial light source with the target spectrum (such as the solar spectrum), overcome the defects of insufficient precision in the prior art, solve the problems of difficult spectrum adjustment, low energy efficiency and complex system in the prior art, and the cost of the entire device is low, and has efficient, flexible and accurate spectrum fitting characteristics.
[0038] In a possible implementation, the non-electrochromic filter is a filter with Gaussian transmission characteristics; this solution can further meet the requirement of continuous distribution of the spectrum, thereby reducing the fitting error of the luminous spectrum of the target light source.
[0039] In a possible implementation, the data acquisition module includes:
[0040] A first spectrum sensor, used for acquiring spectrum data of the target light source in real time;
[0041] A second spectrum sensor, used for acquiring spectrum data of the artificial light source in real time;
[0042] in,
[0043] The control module is electrically connected to the first spectrum sensor and the second spectrum sensor respectively;
[0044] The circuit structure of this solution has an anti-interference design, which can ensure the accuracy and reliability of signal acquisition and facilitate the rapid and accurate transmission of communication signals.
[0045] In a possible implementation, the circuit module includes:
[0046] A light source control circuit, used for sending an electric drive signal to the artificial light source to adjust its brightness;
[0047] A filter control circuit, used for sending an electric drive signal for adjusting the brightness of each electrochromic filter;
[0048] A power management circuit, used for providing operating voltage to the light source control circuit and the filter control circuit respectively;
[0049] in,
[0050] The power management circuit is electrically connected to the light source control circuit, the filter control circuit, and the control module respectively;
[0051] This solution can drive artificial light sources and electrochromic filters, and ensure information interaction with spectral sensors to achieve real-time adjustment and feedback.
[0052] In a possible implementation, the control module includes a central processing unit and a digital-to-analog converter, the central processing unit is electrically connected to the first spectral sensor and the second spectral sensor, respectively, the digital-to-analog converter is electrically connected to the central processing unit, and the power management circuit is electrically connected to the digital-to-analog converter; further, the central processing unit can collect spectral data, and the instructions made can be converted from digital to analog through the digital-to-analog converter, thereby further ensuring information interaction between the artificial light source, the electrochromic filter and the spectral sensor, and realizing closed-loop control.
[0053] In a possible implementation, the central processing unit is configured to perform the following steps:
[0054] A1: Obtaining a linear interpolation function of the luminous spectrum intensity of the integrated light source by using the spectral data of the artificial light source in an interpolation manner, and the domain of the linear interpolation function is the luminous wavelength range of the target light source;
[0055] A2: constructing an error function based on the linear interpolation function and the spectral data of the target light source, which takes the brightness coefficients of all filters contained in the filter matrix as independent variables and represents the difference between the luminous spectra of the integrated light source and the target light source;
[0056] A3: Obtaining the brightness coefficient value of each filter when the error function takes a minimum value through an optimization model solving algorithm, and then calling the digital-to-analog converter according to the value to send an analog signal for adjusting the brightness of the electrochromic filter and / or the artificial light source to the power management circuit;
[0057] The central processor corresponding to this solution can adjust the spectral matching parameters in real time according to the spectral data obtained by the first and second spectral sensors, so as to adapt to the spectral requirements of different scenarios, such as agricultural lighting, medical lighting and special industrial lighting. Moreover, this combination of filter combination and brightness optimization method not only solves the problems of difficult spectral adjustment, low energy efficiency and complex system in the prior art, but also has efficient, flexible and accurate spectral fitting characteristics. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is a flow chart of a spectrum matching method based on filters and brightness optimization disclosed in Example 1 of the present application;
[0059] Figure 2 This is a schematic diagram of the mechanical structure of the spectrum matching device based on the filter and brightness optimization disclosed in the second embodiment of the present application;
[0060] Figure 3 This is a schematic diagram of the structure of the control module, data acquisition module and circuit module disclosed in the second embodiment of the present application;
[0061] Figure 4 This is an operation flow chart of the central processing unit disclosed in Example 2 of the present application.
[0062] Description of reference numerals;
[0063] 1. Light homogenization module, 2. Integrated light source, 21. Artificial light source, 22. Filter array, 221. Non-electrochromic filter, 222. Electrochromic filter, 3. Data acquisition module, 31. First spectral sensor, 32. Second spectral sensor, 4. Circuit module, 41. Light source control circuit, 42. Filter control circuit, 43. Power management circuit, 5. Control module, 51. Central processing unit, 52. Digital-to-analog converter, 6. Lampshade. DETAILED DESCRIPTION
[0064] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.
[0065] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "electrical connection" and "electrical connection relationship" should be understood in a broad sense, that is, referring to a connection method with an electrical relationship, for example, it can be a circuit connection through a conductive wire, or it can be an electrical connection through a radio signal channel (channel), or a combination of the two. In addition, "electrical connection" and "electrical connection relationship" can be based on mechanical connection (such as a conductive wire set in a connecting key); it can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.
[0066] In the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0067] Two embodiments will be used below, and the present application will be further described in detail in conjunction with the accompanying drawings and specific embodiments.
[0068] Embodiment 1:
[0069] See also Figure 1 As shown, the embodiment of the present application discloses a spectral matching method based on filter and brightness optimization. Figure 1 is a flow chart of the method, the method comprising the following steps:
[0070] S1: Acquire the spectral data of the target light source and the artificial light source 21 respectively through the spectral sensor data reading interface, where the spectral data includes data showing the corresponding relationship between wavelength and spectral intensity.
[0071] Specifically, the spectral data of the target light source shows the corresponding relationship between the wavelength and spectral intensity of the target light source. In one sampling period, the spectral data of the target light source obtained through the spectral sensor data reading interface can be expressed as:
[0072] ;
[0073] In the formula,
[0074] The number of samples representing the spectral data of the target light source;
[0075] The spectral data of the target light source is represented by The wavelength values in samples;
[0076] The spectral data of the target light source is represented by The spectral intensity values in the samples.
[0077] At the same time, the spectrum data of the artificial light source 21 shows the corresponding relationship between the wavelength and the spectrum intensity of the artificial light source 21. Also in this sampling period, the spectrum data of the artificial light source 21 obtained through the spectrum sensor data reading interface can be expressed as:
[0078] ;
[0079] In the formula,
[0080] a sample size representing spectral data of the artificial light source 21;
[0081] The first The wavelength values in samples;
[0082] The first The spectral intensity values in the samples.
[0083] In addition, as an implementation manner, the artificial light source 21 used in this embodiment is an LED light source, which is a light source composed of at least one LED light-emitting unit.
[0084] S2: Combining a plurality of non-electrochromic filters 221 whose wavelength coverage range is designed to include the visible light wavelength range with a plurality of electrochromic filters 222 to form a filter matrix 22 whose order is the number of electrochromic filters 222 .
[0085] The non-electrochromic filter 221 is a filter whose filtering characteristics are not electrically controlled. The non-electrochromic filter 221 used in this embodiment is a filter with Gaussian transmission characteristics, and the visible light wavelength range can be 360-780nm, or 400-800nm. In this embodiment, the visible light wavelength range is set to 400-800nm.
[0086] In step S2 of this embodiment, several non-electrochromic filters 221 have the same wavelength bandwidth. This embodiment uses 20 filters with a bandwidth of 40 nm, with a central wavelength every 20 nm, and the central wavelengths are distributed as 400nm, 420nm, 440nm, 460nm, ..., 780nm, and the central wavelength interval is half of the bandwidth. Since the number of non-electrochromic filters 221 is 20, in order to form a square array, the number of electrochromic filters 222 needs to be 5, thereby forming a 5×5 square array, that is, a 5-order square array. These filters are bonded by an adhesive to form a filter square array 22, and as a preferred embodiment, this embodiment arranges 5 electrochromic filters 222 on a diagonal line of the filter square array 22.
[0087] S3: placing the filter array 22 in front of the artificial light source 21 according to the traveling direction of the emitted light of the artificial light source 21 to obtain the integrated light source 2.
[0088] S4: Obtain a linear interpolation function of the luminous spectrum intensity of the integrated light source 2 by using the spectrum data of the artificial light source 21 through interpolation, and the domain of the linear interpolation function is the luminous wavelength range of the target light source.
[0089] Specifically applied to the spectrum data of the artificial light source 21 in this embodiment, firstly, the spectrum data with wavelengths within the emission wavelength range of the target light source is screened out from the spectrum data of the artificial light source 21 in this embodiment. It may be assumed that the screened spectrum data is:
[0090] ,
[0091] The formula of the linear interpolation function is as follows:
[0092] ,
[0093] In the formula, .
[0094] S5: constructing an error function based on the linear interpolation function and the spectral data of the target light source, with the brightness coefficients of all filters (non-electrochromic filter 221 and electrochromic filter 222) in step S2 as independent variables, to represent the difference between the luminous spectra of the integrated light source 2 and the target light source.
[0095] Specifically in this embodiment, the mathematical formula of the error function constructed is as follows:
[0096] ,
[0097] ,
[0098] In the formula,
[0099] Representative The brightness coefficient of each filter;
[0100] represents the total number of filters, which is 25 in this embodiment;
[0101] Represents the spectral function of an artificial light source.
[0102] S6: Obtain the brightness coefficient value of each filter when the error function takes a minimum value through the optimization model solving algorithm, and then adjust the electric drive signal of the brightness of the electrochromic filter 222 and / or the artificial light source 21 according to the value to adjust the brightness coefficient of the electrochromic filter 222 and / or the artificial light source 21.
[0103] In step S6 of the present embodiment, the optimization model solving algorithm used is the sequential quadratic programming algorithm (SQP). Those skilled in the art may refer to relevant books or literature on numerical calculation methods or optimization theory (such as "Optimization Theory and Methods" by Yuan Yaxiang) to obtain the specific steps of the algorithm, which will not be elaborated here.
[0104] The spectral matching method based on filter and brightness optimization disclosed in this embodiment is to obtain an integrated light source 2 by adding a filter array 22 in front of an artificial light source 21, and the filter array 22 is an array of order 5 synthesized by 20 non-electrochromic filters 221 and 5 electrochromic filters 222 whose wavelength coverage range includes 400nm-800nm. Since the wavelength coverage range of the 20 non-electrochromic filters 221 is continuous, the continuity requirement of the spectrum is met, thereby being able to provide a wide spectrum distribution, and only 5 electrochromic filters 222 are used, which is relatively low in cost. In addition, the electrochromic filter 222 has the characteristic of allowing the output of a specific band to be adjusted according to actual needs, which helps to enhance the matching ability of unknown target spectra. Therefore, compared with the multi-band artificial light source combination technology, the present invention only requires one type of artificial light source, which ultimately simplifies the complexity and control difficulty of the hardware circuit. Subsequently, the brightness of the luminous spectrum of the artificial light source modulated by the filter (i.e., the luminous spectrum of the integrated light source) is optimized and adjusted using the optimization model solving algorithm. Through the combination of filter diversity and brightness optimization, the spectral intensity of each spectral segment can be accurately controlled to achieve a high-precision spectral fitting effect, thereby achieving high-precision matching of the luminous spectrum of the artificial light source 21 with the target spectrum (such as the solar spectrum), overcoming the shortcomings of the multi-band artificial light source combination technology and phosphor conversion artificial light source technology in the prior art, and providing a spectral modulation solution with a simple system, high adjustment accuracy and higher energy efficiency.
[0105] Embodiment 2:
[0106] See also Figure 2 , Figure 3 and Figure 4 As shown, this embodiment further discloses a spectrum matching device based on filter and brightness optimization, and the mechanical structure schematic diagram of the spectrum matching device is shown in Figure 2 As shown, the spectrum matching device includes a light homogenization module 1, an integrated light source 2, a data acquisition module 3, a circuit module 4, a control module 5 and a lampshade 6, wherein the integrated light source 2 includes an artificial light source 21 and a filter matrix 22, and the artificial light source 21, the filter matrix 22 and the light homogenization module 1 are arranged in sequence along the forward direction of the emitted light of the artificial light source 21; the control module 5 is electrically connected to the data acquisition module 3, and the circuit module 4 is electrically connected to the control module 5, each electrochromic filter 222 and the artificial light source 21 respectively.
[0107] See also Figure 2 As shown, in this embodiment, the lampshade 6, the light homogenizing module 1, the filter matrix 22 and the artificial light source 21 are arranged in sequence from top to bottom, and the filter matrix 22 is a matrix composed of a plurality of non-electrochromic filters 221 and a plurality of electrochromic filters 222, and the first order number is the number of electrochromic filters 222, and these non-electrochromic filters 221 have the same wavelength bandwidth, and these non-electrochromic filters 221 are filters with Gaussian transmission characteristics. As an implementation method, this embodiment uses 30 filters with a bandwidth of 28 nm, a wavelength coverage range of 380nm-800nm, a central wavelength every 14nm, and the central wavelength distribution is 380nm, 394nm, 408nm, 422nm, ..., 786nm, and the central wavelength interval is half of the bandwidth. Similarly, since the number of non-electrochromic filters 221 in this embodiment is 30, in order to form a square array, the number of electrochromic filters 222 needs to be 6, thereby forming a 6×6 square array, that is, a 6-order square array. These filters are bonded by an adhesive to form a filter square array 22. In addition, Figure 2 As shown, as a preferred implementation, this embodiment arranges 6 electrochromic filters 222 on a diagonal line of the filter matrix 22, and different electrochromic filters 222 are controlled by different circuit channels. At the same time, the artificial light source 21 used in this embodiment is an LED light source, which is a 6×6 light source matrix composed of 36 LED light-emitting units, and different LED light sources are controlled by different circuit channels.
[0108] See also Figure 3As shown, in the spectrum matching device, the data acquisition module 3 is used to obtain the spectrum data of the target light source and the artificial light source 21 in real time. Specifically, the data acquisition module 3 includes a first spectrum sensor 31 and a second spectrum sensor 32, wherein the control module 5 is electrically connected to the first spectrum sensor 31 and the second spectrum sensor 32 respectively. The first spectrum sensor 31 is used to obtain the spectrum data of the target light source in real time; the second spectrum sensor 32 is used to obtain the spectrum data of the artificial light source 21 in real time.
[0109] Please continue to see Figure 3 As shown, in the spectrum matching device, the circuit module 4 is used to send electric drive signals for adjusting the brightness of each electrochromic filter 222 and the artificial light source 21. Specifically, the circuit module 4 includes a light source control circuit 41, a filter control circuit 42 and a power management circuit 43, wherein the power management circuit 43 is electrically connected to the light source control circuit 41, the filter control circuit 42 and the control module 5 respectively.
[0110] In the circuit module 4, the light source control circuit 41 is used to send an electric drive signal to the artificial light source 21 to adjust its brightness. The light source control circuit 41 of this embodiment is a drive circuit that adopts a constant current drive solution. This drive circuit enables each LED light-emitting unit to be controlled by a separate drive channel, and each drive channel uses a pulse width modulation (PWM) signal to adjust the drive current, thereby achieving precise control of the brightness of the LED light-emitting unit. It should be noted that the design of the light source control circuit 41 also needs to consider the stability of the power supply and thermal management issues to ensure long-term stable working performance.
[0111] In the circuit module 4, the filter control circuit 42 is used to send an electric drive signal for adjusting the brightness of each electrochromic filter 222. The filter control circuit 42 in this embodiment controls the change of the spectral characteristics of each electrochromic filter 222 through a specific voltage. The power management circuit 43 is used to provide operating voltage to the light source control circuit 41 and the filter control circuit 42 respectively. The power management circuit 43 of this embodiment includes a DC-DC conversion circuit, which can provide a stable operating voltage.
[0112] Please continue to see Figure 3 As shown, in the spectrum matching device, the control module 5 is configured to call the circuit module 4 to run using the spectrum data of the artificial light source 21 and the target light source through the optimization model solving algorithm. The control module 5 includes a central processing unit 51 and a digital-to-analog converter 52. The central processing unit 51 is electrically connected to the first spectrum sensor 31 and the second spectrum sensor 32 respectively, and can be electrically connected through a communication interface such as I2C or SPI to transmit spectrum data in real time through a communication interface such as I2C or SPI. The digital-to-analog converter 52 is electrically connected to the central processing unit 51, and the power management circuit 43 is electrically connected to the digital-to-analog converter 52.
[0113] See also Figure 4 As shown, in this embodiment, the central processing unit 51 is configured to perform the following steps:
[0114] A1: receiving the spectral data obtained by the first spectral sensor 31 and the second spectral sensor 32 respectively, and obtaining the linear interpolation function of the luminous spectrum intensity of the integrated light source 2 by using the spectral data of the artificial light source 21 through interpolation, and the definition domain of the obtained linear interpolation function is the luminous wavelength range of the target light source;
[0115] A2: Based on the linear interpolation function and the spectral data of the target light source, an error function is constructed with the brightness coefficients of the 36 filters contained in the filter matrix 22 as independent variables, which represents the difference between the luminous spectra of the integrated light source 2 and the target light source; the specific function form can adopt the function form in the first embodiment;
[0116] A3: The brightness coefficient value of each filter when the error function takes a minimum value is obtained through the optimization model solving algorithm, and then the digital-to-analog converter 52 is called according to the value to send an analog signal for adjusting the brightness of the electrochromic filter 222 and / or the artificial light source 21 to the power management circuit 43.
[0117] The spectrum matching device disclosed in this embodiment is provided with a light homogenization module 1, an integrated light source 2, a data acquisition module 3, a circuit module 4 and a control module 5, wherein the integrated light source 2 is a synthetic light source with a filter matrix 22 added before the artificial light source 21, and the filter matrix 22 is a matrix with a first order of 6 synthesized by 30 non-electrochromic filters 221 and 6 electrochromic filters 222, which has a low cost and can enable the integrated light source 2 to have the performance of providing a wide spectrum, and the spectrum distribution has continuity. In addition, the electrochromic filter 222 allows the circuit module 4 and the control module 5 to adjust the output of a specific band according to actual needs, thereby enhancing the matching ability of the unknown target spectrum. At the same time, the control module 5 can optimize the brightness of the spectrum modulated by the filter, so as to achieve high-precision matching of the luminous spectrum of the artificial light source with the target spectrum (such as the solar spectrum), overcoming the defects of insufficient accuracy in the prior art, and solving the problems of difficult spectrum adjustment, low energy efficiency and complex system in the prior art. Moreover, the entire device has low cost and has efficient, flexible and accurate spectrum fitting characteristics.
[0118] In the description of the embodiments of the present application, it should be noted that in the description of the present application, terms such as "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is only for the convenience of description, and does not indicate or imply that the device or component must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present application.
[0119] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "in the present embodiment", "specific example", or "some examples" etc. means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A spectrum matching method based on filter and brightness optimization, characterized in that: The steps include: S1: acquiring spectral data of a target light source and an artificial light source (21) respectively through a spectral sensor data reading interface, wherein the spectral data includes data showing a corresponding relationship between wavelength and spectral intensity; S2: combining a plurality of non-electrochromic filters (221) whose designed wavelength coverage range includes the visible light wavelength range with a plurality of electrochromic filters (222) into a filter matrix (22) having an order equal to the number of the electrochromic filters (222); S3: placing the filter array (22) in front of the artificial light source (21) according to the traveling direction of the emitted light of the artificial light source (21) to obtain an integrated light source (2); S4: using the spectrum data of the artificial light source (21) to obtain a linear interpolation function of the luminous spectrum intensity of the integrated light source (2) by interpolation, wherein the domain of the linear interpolation function is the luminous wavelength range of the target light source; S5: constructing an error function based on the linear interpolation function and the spectral data of the target light source, with the brightness coefficients of all the filters in step S2 as independent variables, which represents the difference between the luminous spectra of the integrated light source (2) and the target light source; S6: Obtaining the brightness coefficient value of each filter when the error function takes a minimum value through an optimization model solving algorithm, and then adjusting the electric drive signal of the brightness of the electrochromic filter (222) and / or the artificial light source (21) according to the value.
2. The spectrum matching method based on filter and brightness optimization according to claim 1, characterized in that: In the step S2, the plurality of non-electrochromic filters (221) have the same wavelength bandwidth.
3. The spectrum matching method based on filter and brightness optimization according to claim 2, characterized in that: The mathematical formula of the error function is as follows: , , In the formula, Representative The brightness coefficient of each filter; Represents the total number of filters; a spectral function representing the artificial light source; represents the linear interpolation function; a sample size representing the spectral data of the target light source; The first The wavelength values in samples; The first The spectral intensity values in the samples.
4. The spectrum matching method based on filter and brightness optimization according to claim 3, characterized in that: The optimization model solving algorithm in step S6 is a sequential quadratic programming algorithm.
5. A spectrum matching device based on filter and brightness optimization, characterized in that: Based on the spectral matching method based on filter and brightness optimization according to any one of claims 1 to 4, the spectral matching device comprises: Light homogenization module (1); An integrated light source (2), the integrated light source (2) comprising an artificial light source (21) and a filter matrix (22), the filter matrix (22) being a matrix composed of a plurality of non-electrochromic filters (221) and a plurality of electrochromic filters (222) and having an order equal to the number of the electrochromic filters (222); A data acquisition module (3) for acquiring spectral data of the target light source and the artificial light source (21) in real time; A circuit module (4) for sending electric drive signals for adjusting the brightness of the electrochromic filters (222) and the artificial light sources (21) respectively; A control module (5) is configured to call the circuit module (4) to run using the spectrum data of the artificial light source (21) and the target light source through an optimization model solving algorithm; in, The artificial light source (21), the filter matrix (22), and the light homogenization module (1) are arranged in sequence along the advancing direction of the emitted light of the artificial light source (21); The control module (5) is electrically connected to the data acquisition module (3), and the circuit module (4) is electrically connected to the control module (5), each of the electrochromic filters (222), and the artificial light source (21), respectively.
6. The spectral matching device based on filter and brightness optimization according to claim 5, characterized in that: The non-electrochromic filter (221) is a filter with Gaussian transmission characteristics.
7. The spectral matching device based on filter and brightness optimization according to claim 5 or 6, characterized in that: The data acquisition module (3) comprises: A first spectrum sensor (31), used for acquiring spectrum data of the target light source in real time; A second spectrum sensor (32) for acquiring spectrum data of the artificial light source (21) in real time; in, The control module (5) is electrically connected to the first spectrum sensor (31) and the second spectrum sensor (32) respectively.
8. The spectral matching device based on filter and brightness optimization according to claim 7, characterized in that: The circuit module (4) comprises: A light source control circuit (41) for sending an electric drive signal to the artificial light source (21) for adjusting its brightness; A filter control circuit (42) for sending an electric drive signal for adjusting the brightness of each electrochromic filter (222); A power management circuit (43) for providing operating voltages to the light source control circuit (41) and the optical filter control circuit (42) respectively; in, The power management circuit (43) is electrically connected to the light source control circuit (41), the optical filter control circuit (42), and the control module (5) respectively.
9. The spectral matching device based on filter and brightness optimization according to claim 8, characterized in that: The control module (5) comprises a central processing unit (51) and a digital-to-analog converter (52); the central processing unit (51) is electrically connected to the first spectral sensor (31) and the second spectral sensor (32), respectively; the digital-to-analog converter (52) is electrically connected to the central processing unit (51); and the power management circuit (43) is electrically connected to the digital-to-analog converter (52).
10. The spectral matching device based on filter and brightness optimization according to claim 9, characterized in that: The central processing unit (51) is configured to perform the following steps: A1: using the spectrum data of the artificial light source (21) to obtain a linear interpolation function of the luminous spectrum intensity of the integrated light source (2) by interpolation, and the domain of the linear interpolation function is the luminous wavelength range of the target light source; A2: constructing an error function based on the linear interpolation function and the spectral data of the target light source, with the brightness coefficients of all filters contained in the filter matrix (22) as independent variables, and representing the difference between the luminous spectra of the integrated light source (2) and the target light source; A3: The brightness coefficient value of each filter when the error function takes a minimum value is obtained through an optimization model solving algorithm, and then the digital-to-analog converter (52) is called according to the value to send an analog signal for adjusting the brightness of the electrochromic filter (222) and / or the artificial light source (21) to the power management circuit (43).
Citation Information
Patent Citations
Full resolution color imaging of an object
CN103957394A
Polarization demosaicing method based on edge change induction
CN112788314A