Standard light source calibration device, control method, equipment, storage medium and product thereof
By setting up a built-in spectrometer and main control components on the standard light source to collect and adjust spectral information in real time, the problem of limited applicable scenarios of existing light source calibration solutions is solved, and convenient and accurate light source calibration is achieved.
Patent Information
- Application Number
- CN202411811254.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2044-12-10
AI Technical Summary
The existing light source calibration solution is too limited in its application scenarios. It requires the light source equipment to be disassembled for calibration, and the calibration environment requirements are high.
A built-in spectrometer is set on the standard light source to collect internal spectral information in real time, and feedback adjustment is performed through the main control component until it matches the internal reference spectrum. An external spectrometer can be optionally equipped for calibration to ensure that the output spectrum matches the reference spectrum.
Real-time and online calibration of standard light sources is achieved, which improves the convenience and applicability of calibration, reduces the requirements for the calibration environment, and ensures the accuracy of calibration.
Smart Images

Figure CN119729938B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of light source, in particular to a standard light source calibration device, a control method, equipment, a storage medium and a product thereof. BACKGROUND
[0002] The spectral light source for machine vision system is widely used in modern industrial scenes such as intelligent manufacturing and smart factory. The machine vision system on the production line has high precision requirements for vision performance calibration, and therefore has high requirements for the spectral light source.
[0003] The existing standard light source usually adopts a spectrometer to collect the spectrum of the light outlet of the standard light source. The driving current of the standard light source is feedback adjusted until the measured spectrum matches the target spectrum by the difference between the measured spectrum and the target spectrum. However, this calibration method is relatively complex, and the light source device needs to be removed and placed on a specific jig for calibration by the spectrometer. The calibration environment has high requirements, that is, the application scene of the existing light source calibration scheme is too limited. SUMMARY
[0004] The main purpose of the present application is to provide a standard light source calibration device, which aims to solve the technical problem that the application scene of the existing light source calibration scheme is too limited.
[0005] To achieve the above-mentioned purpose, the present application provides a standard light source calibration device, which comprises a standard light source, a main control component and a built-in spectrometer arranged on the standard light source.
[0006] The standard light source is used to emit light according to a target spectrum.
[0007] The built-in spectrometer is used to collect internal spectrum information of the standard light source when emitting light according to the target spectrum in real time.
[0008] The main control component is used to determine an internal reference spectrum corresponding to the target spectrum, and feedback adjust the standard light source according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum. The internal reference spectrum is the internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum.
[0009] In an embodiment, the standard light source calibration device further comprises an external spectrometer.
[0010] The standard light source is used to emit light according to a reference spectrum.
[0011] The external spectrometer is used to collect output spectrum information of the standard light source when emitting light according to the reference spectrum.
[0012] The built-in spectrometer is configured to collect internal reference spectrum when the standard light source emits light according to the reference spectrum;
[0013] The main control component is configured to perform feedback adjustment on the standard light source according to the reference spectrum and the output spectrum information until the output spectrum information matches the reference spectrum, and to take the current internal reference spectrum as the internal reference spectrum corresponding to the reference spectrum.
[0014] In an embodiment, the standard light source comprises an integrating sphere and a light source generating component.
[0015] The light source generating component is arranged at the light inlet of the integrating sphere and configured to emit light into the integrating sphere under a driving current.
[0016] The integrating sphere is provided with a light outlet, and the light emitted by the light source generating component is mixed in the integrating sphere and then output from the light outlet.
[0017] In an embodiment, the light source generating component comprises an LED light source array.
[0018] The LED light source array comprises a first number of channels of standard color temperature wide-spectrum LED beads and a second number of channels of discrete LED narrow-band beads.
[0019] In an embodiment, the light outlet is provided with a filter module.
[0020] To achieve the above-mentioned purposes, the present application further provides a control method of a standard light source calibration device, which is applied to the standard light source calibration device as described above, and the control method comprises the following steps:
[0021] In response to a calibration instruction, the standard light source emits light according to a target spectrum;
[0022] The built-in spectrometer is configured to collect internal spectrum information when the standard light source emits light according to the target spectrum in real time;
[0023] An internal reference spectrum corresponding to the target spectrum is determined, wherein the internal reference spectrum is the internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum;
[0024] The standard light source is adjusted in feedback according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum.
[0025] In an embodiment, the standard light source calibration device further comprises an external spectrometer, and before the step of determining the internal reference spectrum corresponding to the target spectrum, the method comprises:
[0026] controlling the standard light source to emit light according to a reference spectrum;
[0027] acquiring, by an external spectrometer, output spectrum information of light emitted by the standard light source according to the reference spectrum;
[0028] acquiring, by an internal spectrometer, an internal reference spectrum when the standard light source emits light according to the reference spectrum;
[0029] performing feedback adjustment on the standard light source according to the reference spectrum and the output spectrum information until the output spectrum information and the reference spectrum match, and taking the current internal reference spectrum as an internal reference spectrum corresponding to the reference spectrum.
[0030] To achieve the above object, the present application further provides a control device of a standard light source calibration device, which comprises a memory and a processor, and the memory stores a computer program capable of running on the processor, and the computer program is configured to implement the steps of the control method.
[0031] To achieve the above object, the present application further provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the processor executes the control method.
[0032] To achieve the above object, the present application further provides a computer program product, which comprises a computer program, and when the computer program is executed by a processor, the processor implements the steps of the control method.
[0033] The application provides a standard light source calibration device, which comprises a standard light source, a master control assembly and a built-in spectrometer arranged on the standard light source; the standard light source is used for emitting light according to a target spectrum; the built-in spectrometer is used for collecting internal spectrum information of the standard light source in real time when the standard light source emits light according to the target spectrum; and the master control assembly is used for determining an internal reference spectrum corresponding to the target spectrum, and performing feedback adjustment on the standard light source according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum, wherein the internal reference spectrum is internal spectrum information collected by the built-in spectrometer when light output by the standard light source according to the target spectrum matches the target spectrum. Thus, the built-in spectrometer arranged on the standard light source can be used for collecting internal spectrum information of the standard light source in real time when the standard light source emits light according to the target spectrum, and then the internal spectrum information is compared with an internal reference spectrum when light output by the standard light source according to the target spectrum matches the target spectrum, and feedback adjustment is performed on the standard light source according to the difference between the two, until the internal spectrum information matches the internal reference spectrum. Thus, the built-in spectrometer can be used for real-time calibration and online calibration (i.e. without disassembling the light source device) of the standard light source, effectively improving the calibration convenience of the standard light source and the application range of the calibration scene, and solving the problem that the existing calibration scheme has too many requirements for the calibration environment, thereby limiting the application range. BRIEF DESCRIPTION OF DRAWINGS
[0034] Figure 1 FIG. 1 is a structural schematic diagram of a first embodiment of the standard light source calibration device of the application;
[0035] Figure 2 FIG. 2 is a structural schematic diagram of a second embodiment of the standard light source calibration device of the application;
[0036] Figure 3 FIG. 3 is a structural schematic diagram of a standard light source related to the embodiments of the application;
[0037] Figure 4 FIG. 4 is a flowchart of an embodiment of a control method of the standard light source calibration device of the application;
[0038] Figure 5 FIG. 5 is a device structural schematic diagram of a hardware running environment related to the embodiments of the application.
[0039] BRIEF DESCRIPTION OF DRAWINGS
[0040]
[0041] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of the present application.
[0043] The term "and / or" in the present application is only used to describe the association relationship of the associated objects, and indicates that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone.
[0044] The terms "first" and "second" and the like in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first target object and the second target object are used to distinguish different target objects, rather than to describe a specific order of the target objects.
[0045] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present application are only used to explain the relative position relationship, motion condition, etc. between components in a certain posture (as shown in the drawings), and if the certain posture changes, the directional indications also change accordingly.
[0046] In the present application, unless otherwise explicitly specified and limited, the terms "connection", "fixation" and the like should be understood broadly, for example, "fixation" can be fixed connection, or detachable connection, or integral; can be mechanical connection, or electrical connection; can be direct connection, or indirect connection through an intermediate medium; can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise explicitly limited. For a person of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0047] It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0048] In order to better describe the technical solutions of the present application, the standard light source calibration device of the present application will be described in combination with some prior art as follows:
[0049] The spectral light source for machine vision system is widely used in intelligent manufacturing, smart factory and other modern industrial scenes. The machine vision system on the production line has high precision requirements for vision performance calibration, and therefore has high requirements for the spectral light source.
[0050] The existing standard light source is usually calibrated by a spectrometer. The spectrometer collects the spectrum of the light outlet of the standard light source, and adjusts the driving current of the standard light source by feedback until the measured spectrum matches the target spectrum. However, this calibration method is relatively complex, and the light source device needs to be removed and placed on a specific jig for calibration by a spectrometer. The calibration environment is relatively high, and the application scene of the existing light source calibration scheme is too limited.
[0051] The present application collects the internal spectrum information of the standard light source when the standard light source emits light according to the target spectrum in real time through the built-in spectrometer arranged on the standard light source, and then compares the internal spectrum information with the internal reference spectrum when the light output by the standard light source according to the target spectrum matches the target spectrum. According to the difference between the two, the standard light source is adjusted by feedback until the internal spectrum information matches the internal reference spectrum. Thus, the present application can realize real-time calibration and online calibration of the standard light source through the built-in spectrometer (i.e. without disassembling the light source device), effectively improving the calibration convenience of the standard light source and the application range of the calibration scene, and solving the problem that the existing calibration scheme has too many requirements for the calibration environment, resulting in limited application range.
[0052] Please refer to Figure 1 , Figure 1 The present application provides a standard light source calibration device, which comprises:
[0053] The standard light source calibration device comprises a standard light source 10, a master control component 20, and a built-in spectrometer 30 arranged on the standard light source 10.
[0054] The standard light source 10 is used for emitting light according to a target spectrum.
[0055] The built-in spectrometer 30 is used for collecting internal spectrum information when the standard light source 10 emits light according to the target spectrum.
[0056] The master control component 20 is used for determining an internal reference spectrum corresponding to the target spectrum, adjusting the standard light source 10 by feedback according to the internal reference spectrum and the internal spectrum information, until the internal spectrum information matches the internal reference spectrum, wherein the internal reference spectrum is the internal spectrum information collected by the built-in spectrometer 30 when the light output by the standard light source 10 according to the target spectrum matches the target spectrum.
[0057] In the embodiment, the standard light source calibration device comprises a standard light source 10, a master control assembly 20, and an internal spectrometer 30 arranged on the standard light source 10; the standard light source 10 emits light according to a target spectrum; the internal spectrometer 30 collects internal spectrum information of the standard light source 10 when the standard light source 10 emits light according to the target spectrum; the master control assembly 20 determines an internal reference spectrum corresponding to the target spectrum, and adjusts the standard light source 10 according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum, wherein the internal reference spectrum is internal spectrum information collected by the internal spectrometer 30 when light output by the standard light source 10 according to the target spectrum matches the target spectrum. Thus, in the embodiment, the internal spectrometer 30 arranged on the standard light source 10 is used to collect internal spectrum information of the standard light source 10 when the standard light source 10 emits light according to the target spectrum, and then the internal spectrum information is compared with an internal reference spectrum when light output by the standard light source according to the target spectrum matches the target spectrum, and the standard light source is adjusted according to the difference between the two until the internal spectrum information matches the internal reference spectrum. Thus, the calibration of the standard light source 10 in the embodiment is not limited to being completed by externally arranging a spectrometer, which effectively improves the convenience of standard light source calibration and reduces the requirements for the calibration environment. Moreover, since the internal reference spectrum is internal spectrum information collected by the internal spectrometer 30 when light output by the standard light source 10 according to the target spectrum matches the target spectrum, the accuracy of the calibration of the standard light source by the internal spectrometer 30 is also ensured.
[0058] With reference to Figure 2 , Figure 2 FIG. 1 is a structural schematic diagram of a standard light source calibration device according to a first embodiment of the present application. In some embodiments, the standard light source calibration device further comprises an external spectrometer 40.
[0059] The standard light source 10 is configured to emit light according to a reference spectrum.
[0060] The external spectrometer 40 is configured to collect output spectrum information of the standard light source 10 when the standard light source 10 emits light according to the reference spectrum.
[0061] The internal spectrometer 30 is configured to collect an internal reference spectrum of the standard light source 10 when the standard light source 10 emits light according to the reference spectrum.
[0062] The master control assembly 20 is configured to adjust the standard light source 10 according to the reference spectrum and the output spectrum information until the output spectrum information matches the reference spectrum, and to take the current internal reference spectrum as an internal reference spectrum corresponding to the reference spectrum.
[0063] It should be understood that, in order to ensure that the calibration of the standard light source achieves the best effect, the external spectrometer 40 can be directly traced to the relevant national primary standards preserved by the National Institute of Metrology of China, so as to achieve more accurate value transmission.
[0064] In the embodiment, the standard light source calibration device further comprises an external spectrometer 40. The standard light source 10 emits light according to the reference spectrum; the external spectrometer 40 collects output spectrum information of the standard light source 10 emitting light according to the reference spectrum; the internal spectrometer 30 collects the internal reference spectrum when the standard light source 10 emits light according to the reference spectrum; and the main control component 20 feeds back and adjusts the standard light source 10 according to the reference spectrum and the output spectrum information until the output spectrum information and the reference spectrum match, and takes the current internal reference spectrum as the internal reference spectrum corresponding to the reference spectrum. Thus, the embodiment realizes the correspondence between the output spectrum and the internal reference spectrum through the joint calibration of the internal spectrometer 30 and the external spectrometer 40, so that the output spectrum information will also match the target spectrum corresponding to the internal reference spectrum in the case of ensuring that the internal spectrum information matches the internal reference spectrum, thereby avoiding the errors caused by the difference in the opening position of the integrating sphere, the difference between the calibration and the actual use of the light path, and the difference in the spectral characteristics of the light source.
[0065] Referring to Figure 3 , Figure 3 FIG. 1 is a structural schematic diagram of a standard light source according to an embodiment of the present application. In some embodiments, the standard light source 10 comprises an integrating sphere 11 and a light source generating component 12.
[0066] The light source generating component 12 is arranged at the light inlet 111 of the integrating sphere 11 and is used to emit light into the integrating sphere 11 under the driving current.
[0067] The integrating sphere 11 is provided with a light outlet 112, and the light input by the light source generating component 12 is mixed in the integrating sphere 11 and then emitted from the light outlet 112 according to the target spectrum.
[0068] In the embodiment, the standard light source 10 comprises the integrating sphere 11 and the light source generating component 12, the light source generating component 12 is arranged at the light inlet 111 of the integrating sphere 11 and emits light into the integrating sphere 11 under the driving current. The inner wall of the integrating sphere 11 is coated with a high diffuse reflection layer, and the light emitted by each LED lamp in the light source generating component 12 is mixed and reflected on the inner wall of the integrating sphere 11 and then output from the light outlet 112.
[0069] In some embodiments, the light source generating component 12 comprises an LED light source array.
[0070] The LED light source array comprises a first number of channels of standard color temperature wide spectrum LED beads and a second number of channels of discrete LED narrow band beads.
[0071] In this embodiment, the LED light source array is composed of LED lamp beads covering the full visible light spectrum. The first number of channels of standard color temperature wide spectrum LED lamp beads are LED lamp beads used to simulate standard spectra such as D65, A light source, etc. For example, 5-6 channels of different color temperature wide spectrum phosphor LED light sources, the second number of channels of discrete LED narrow band lamp beads are LED lamp beads used to supplement the fitting degree of non-standard spectrum in the full frequency band. For example, 30-31 channels of discrete LED narrow band lamp beads, that is, the LED light source array is a 36-channel LED array.
[0072] In some embodiments, the light outlet 112 is provided with a filter module 13.
[0073] Due to the LED light emitting mechanism, the previous spectrum light source is difficult to well simulate the linear emission spectrum of mercury lamp, xenon lamp, etc. At the same time, it is also impossible to provide monochromatic light of specified wavelength for camera calibration. Therefore, the present application is provided with a filter module 15 at the light outlet 112 of the integrating sphere 11. It can be understood that the filter module 15 can be a filter clamp for clamping various filters. The filters mainly include but are not limited to: uniform light sheet: used to improve light distribution, ensure the uniformity of output light, and improve the lighting quality. 50% light reduction sheet and 10% light reduction sheet: by reducing the light flux, the light intensity is accurately controlled to meet the application scenarios of different illumination intensity requirements. Transmission type 24 color card: used for color calibration and analysis to ensure the accuracy and consistency of the light source in color reproduction. High dynamic test card: designed and tested for high dynamic range imaging system, to evaluate the performance of the light source under high contrast conditions. MURA (luminance unevenness) simulation card: used to detect the uniformity problem of display screen or light source, especially for the simulation and detection of luminance defects. Thus, the present embodiment can output various colors of standard monochromatic light by clamping the corresponding filters at the filter clamp of the filter module 15, and various special test images such as polarization, gray scale, viewing angle, MURA (luminance unevenness). The present embodiment can meet the calibration requirements of the standard light source calibration device in different application scenarios by customizing and replacing the filters clamped at the filter clamp of the filter module 15.
[0074] In addition, it can be understood that the standard light source 10 can also include more functional components, such as a temperature control component. The temperature control component is used to maintain the real-time temperature of the light source generating component 12 within a preset temperature range. The temperature control component can include a fan, a thermoelectric cooler, a liquid cooling device, etc., for adjusting the real-time temperature of the light source generating component 12. The light source generating component 12 generates a lot of heat during the light emitting process, and the real-time temperature of the light source generating component 12 will rise rapidly with the accumulation of heat. Illustratively, the embodiment can use a fan as a temperature control component, which is started when the real-time temperature of the light source generating component 12 is higher than the upper limit value of the preset temperature range. The fan is turned off when the real-time temperature of the light source generating component 12 is lower than the lower limit value of the preset temperature range.
[0075] Referring to Figure 4 , Figure 4 is a flowchart of an embodiment of a control method of a standard light source calibration device. The embodiment provides a control method of a standard light source calibration device, which is applied to the standard light source calibration device as described above. The control method comprises the following steps:
[0076] Step S10, in response to a calibration instruction, controlling the standard light source to emit light according to a target spectrum;
[0077] Step S20, collecting internal spectrum information of the standard light source emitting light according to the target spectrum in real time through the built-in spectrometer;
[0078] Step S30, determining an internal reference spectrum corresponding to the target spectrum, wherein the internal reference spectrum is internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum;
[0079] Step S40, according to the internal reference spectrum and the internal spectrum information, feeding back and adjusting the standard light source until the internal spectrum information matches the internal reference spectrum.
[0080] It should be noted that the control method of the standard light source calibration device is executed by a control device of the standard light source calibration device. The control device can be a PC (Personal Computer), a tablet computer, a portable computer, or a server device, etc.
[0081] It should also be noted that the internal reference spectrum is internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum. The target spectrum is the spectrum information of the light expected to be output from the light outlet by the standard light source.
[0082] In this embodiment, in response to the calibration instruction, the standard light source is controlled to emit light according to the target spectrum. The calibration instruction is an instruction for controlling the standard light source calibration device to calibrate the standard light source, which is issued by a user through a physical button, voice, a control device, or the like. Then, the internal spectrum information of the standard light source when emitting light according to the target spectrum can be collected in real time by the built-in spectrometer. Since the spectrum information of the light inside the standard light source is not the same as the spectrum information of the light output through the light output port according to the target spectrum, the internal reference spectrum corresponding to the target spectrum can be further queried in this embodiment. The internal reference spectrum is the internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum. That is, in the case where the internal spectrum information collected by the built-in spectrometer matches the internal reference spectrum, the spectrum information of the light output by the standard light source matches the target spectrum. The standard light source can be further adjusted and fed back according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum. For example, the adjustment and feedback of the standard light source in this embodiment can include a method of solving the minimum value of the residual sum of squares between the spectrum information (internal spectrum information or output spectrum information) and the specified spectrum (target spectrum or reference spectrum), a fuzzy control method, a PID control method, or the like. For example, the current residual sum of squares can be calculated according to the spectrum information (internal spectrum information or output spectrum information) and the specified spectrum (target spectrum or reference spectrum). Then, a damping factor is obtained, and the current iteration error and the estimated residual sum of squares under the current iteration error are calculated according to the Jacobian matrix of the current residual sum of squares and the damping factor. If the estimated residual sum of squares is less than the current residual sum of squares, the damping factor is reduced to obtain a new damping factor. If the estimated residual sum of squares is not less than the current residual sum of squares, the damping factor is increased to obtain a new damping factor. The driving current of the standard light source is adjusted and fed back according to the current iteration error. The current iteration error can be calculated by a multivariate linear regression method, a least squares estimation method, or the like, so that the spectrum distribution in the spectrum information gradually tends to the specified spectrum.
[0083] Therefore, the built-in spectrometer can realize real-time calibration and online calibration (i.e., without disassembling the light source device) of the standard light source, effectively improving the convenience of calibration of the standard light source and the application range of the calibration scene, and solving the problem that the existing calibration scheme has too many requirements for the calibration environment, resulting in a limited application range. Since the internal reference spectrum is the internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum, the accuracy of the calibration of the standard light source by the built-in spectrometer is also ensured.
[0084] In some embodiments, the standard light source calibration device further includes: an external spectrometer; and before step S30, includes:
[0085] Step A10, controlling the standard light source to emit light according to a reference spectrum;
[0086] Step A20, collecting output spectrum information of the standard light source according to the reference spectrum through an external spectrometer;
[0087] Step A30, collecting an internal reference spectrum of the standard light source when emitting light according to the reference spectrum through a built-in spectrometer;
[0088] Step A40 , performing feedback adjustment on the standard light source according to the reference spectrum and the output spectrum information until the output spectrum information matches the reference spectrum, and using the current internal reference spectrum as the internal benchmark spectrum corresponding to the reference spectrum.
[0089] It should be noted that the reference spectrum is the spectral information of the light output from the light outlet of the standard light source, and the reference spectrum at least includes the target spectrum. The output spectrum information is the spectral information of the light output from the light outlet of the standard light source, and the internal spectrum information is the spectral information of the light inside the standard light source.
[0090] In order to obtain a more accurate internal reference spectrum, this embodiment also requires an external spectrometer to be set at the light outlet of the standard light source. Thus, the standard light source is controlled to emit light according to the reference spectrum; the output spectrum information of the standard light source according to the reference spectrum is collected by the external spectrometer; the internal reference spectrum of the standard light source when it emits light according to the reference spectrum is collected by the built-in spectrometer; according to the reference spectrum and the output spectrum information, the standard light source is feedback-adjusted until the output spectrum information matches the reference spectrum, and the current internal reference spectrum is used as the internal reference spectrum corresponding to the reference spectrum. Thus, this embodiment establishes a corresponding relationship between the internal spectrum information collected by the built-in spectrometer and the output spectrum information collected by the external spectrometer.
[0091] like Figure 5 As shown, Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
[0092] The present application provides a control device for a standard light source calibration device. The control device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the control method for the standard light source calibration device described in the first embodiment above. Specifically, the control device for the standard light source calibration device can be a device such as a personal computer (PC), a tablet computer, a portable computer, or a server.
[0093] like Figure 5 As shown, the control device for the standard light source calibration apparatus may include a processing device 1001 (e.g., a central processing unit, graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the control device's operation. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007, such as a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008, such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003, such as a magnetic tape or hard disk; and communication device 1009. Communication device 1009 can allow the control device of the standard light source calibration device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows the control device of the standard light source calibration device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have alternatively.
[0094] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program codes for executing the method shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiments disclosed in the present application are executed.
[0095] The control device of the standard light source calibration device provided by the present application adopts the control method of the standard light source calibration device in the above-mentioned embodiments, and can solve the technical problem that the application scenarios of the existing light source calibration scheme are too limited. Compared with the prior art, the beneficial effects of the control device of the standard light source calibration device provided by the present application are the same as those of the control method of the standard light source calibration device provided by the above-mentioned embodiments, and other technical features in the control device of the standard light source calibration device are the same as those disclosed in the previous embodiment method, which will not be repeated here.
[0096] It should be understood that various parts of the present application can be realized by hardware, software, firmware or a combination thereof. In the description of the above-mentioned embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0097] The above is merely specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0098] The present application provides a computer readable storage medium having stored thereon computer readable program instructions (i.e. computer program) for executing the control method of the standard light source calibration device in the above-mentioned embodiments.
[0099] The computer readable storage medium provided in the present application may, for example, be a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system or device, or any combination of the above. More specific examples of the computer readable storage medium may include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), an optical fiber, a portable compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer readable storage medium can be transmitted by any suitable medium, including but not limited to an electric wire, an optical cable, an RF (Radio Frequency), and the like, or any suitable combination of the above.
[0100] The above computer readable storage medium may be contained in the control device of the standard light source calibration device, or may exist separately and not be assembled into the control device of the standard light source calibration device.
[0101] The above computer readable storage medium carries one or more programs, when the one or more programs are executed by the control device of the standard light source calibration device, the control device of the standard light source calibration device: controls the standard light source to emit light according to a target spectrum in response to a calibration instruction; collects internal spectrum information of the standard light source emitting light according to the target spectrum in real time through the built-in spectrometer; determines an internal reference spectrum corresponding to the target spectrum, wherein the internal reference spectrum is the internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum; and performs feedback adjustment on the standard light source according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum.
[0102] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0103] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0104] The modules involved in the embodiments of the present application can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0105] The readable storage medium provided by the present application is a computer readable storage medium, which stores computer readable program instructions (i.e., a computer program) for executing the control method of the standard light source calibration device, and can solve the technical problem that the application scenarios of the existing light source calibration scheme are too limited. Compared with the prior art, the computer readable storage medium provided by the present application has the same beneficial effects as the control method of the standard light source calibration device provided by the above-mentioned embodiments, and will not be described here.
[0106] The application further provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the control method of the standard light source calibration device as described above.
[0107] The computer program product provided by the application can solve the technical problem of too limited application scenarios of the existing light source calibration scheme. Compared with the prior art, the beneficial effects of the computer program product provided by the application are the same as those of the control method of the standard light source calibration device provided by the above-mentioned embodiments, and are not described here.
[0108] The above only describes some embodiments of the application, and does not limit the patent scope of the application. Any equivalent structural transformation, direct / indirect application in other related technical fields, or the like made by using the content of the application specification and drawings within the technical concept of the application is included in the patent protection scope of the application.
Claims
1. A standard light source calibration device, characterized in that: The standard light source calibration device comprises: a standard light source, a main control component and a built-in spectrometer arranged on the standard light source; The standard light source is used to emit light according to the target spectrum; The built-in spectrometer is used to collect the internal spectrum information of the standard light source in real time when the standard light source emits light according to the target spectrum; The main control component is used to determine an internal reference spectrum corresponding to the target spectrum, and perform feedback adjustment on the standard light source according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum, wherein the internal reference spectrum is the internal spectrum information collected by the built-in spectrometer when the light output by the standard light source according to the target spectrum matches the target spectrum; The standard light source calibration device further includes: an external spectrometer; The standard light source is used to emit light according to the reference spectrum; The external spectrometer is used to collect output spectrum information of the standard light source according to the reference spectrum; The built-in spectrometer is used to collect the internal reference spectrum when the standard light source emits light according to the reference spectrum; The main control component is used to perform feedback adjustment on the standard light source according to the reference spectrum and the output spectrum information until the output spectrum information matches the reference spectrum, and use the current internal reference spectrum as the internal benchmark spectrum corresponding to the reference spectrum; The main control component is used to calculate the current residual sum of squares based on the spectral information and the specified spectrum, wherein the spectral information is the internal spectral information or the output spectral information, and the specified spectrum is the target spectrum when the spectral information is the internal spectral information, and is the reference spectrum when the spectral information is the output spectral information; obtain the damping factor, and calculate the current iterative error and the estimated residual sum of squares under the current iterative error based on the Jacobian matrix of the current residual sum of squares and the damping factor; if the estimated residual sum of squares is less than the current residual sum of squares, reduce the damping factor to obtain a new damping factor; if the estimated residual sum of squares is not less than the current residual sum of squares, increase the damping factor to obtain a new damping factor; and perform feedback adjustment on the driving current of the standard light source according to the current iterative error.
2. The standard light source calibration device according to claim 1, wherein: The standard light source includes an integrating sphere and a light source generating component; The light source generating component is arranged at the light entrance of the integrating sphere, and is used to emit light into the integrating sphere under the driving current; The integrating sphere is provided with a light outlet, and the light input by the light source generating assembly is mixed by the integrating sphere and then output from the light outlet.
3. The standard light source calibration device according to claim 2, wherein: The light source generating component includes: an LED light source array; The LED light source array includes a first number of channels of standard color temperature wide spectrum LED lamp beads and a second number of channels of discrete LED narrow band lamp beads.
4. The standard light source calibration device according to claim 2, wherein: The light outlet is provided with a filter module.
5. A control method for a standard light source calibration device, characterized in that: Applied to the standard light source calibration device according to any one of claims 1 to 4, the control method comprises the following steps: In response to the calibration instruction, controlling the standard light source to emit light according to the target spectrum; The internal spectrum information of the standard light source when emitting light according to the target spectrum is collected in real time by the built-in spectrometer; Determining an internal reference spectrum corresponding to the target spectrum, wherein the internal reference spectrum is internal spectrum information collected by the built-in spectrometer when light output by the standard light source according to the target spectrum matches the target spectrum; performing feedback adjustment on the standard light source according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum; The standard light source calibration device further includes: an external spectrometer; and before the step of determining the internal reference spectrum corresponding to the target spectrum, the device includes: Controlling the standard light source to emit light according to a reference spectrum; The output spectrum information of the standard light source according to the reference spectrum is collected by an external spectrometer; Collecting the internal reference spectrum of the standard light source when emitting light according to the reference spectrum through a built-in spectrometer; performing feedback adjustment on the standard light source according to the reference spectrum and the output spectrum information until the output spectrum information matches the reference spectrum, and using the current internal reference spectrum as the internal benchmark spectrum corresponding to the reference spectrum; The step of performing feedback adjustment on the standard light source comprises: Calculating a current residual sum of squares according to the spectral information and a specified spectrum, wherein the spectral information is the internal spectral information or the output spectral information, and the specified spectrum is the target spectrum when the spectral information is the internal spectral information, and is the reference spectrum when the spectral information is the output spectral information; Obtaining a damping factor, and calculating a current iterative error and an estimated residual sum of squares under the current iterative error based on the Jacobian matrix of the current residual sum of squares and the damping factor; If the estimated residual sum of squares is less than the current residual sum of squares, reducing the damping factor to obtain a new damping factor; If the estimated residual sum of squares is not less than the current residual sum of squares, increasing the damping factor to obtain a new damping factor; Feedback adjustment is performed on the driving current of the standard light source according to the current iteration error.
6. A control device for a standard light source calibration device, characterized in that: The control device of the standard light source calibration apparatus includes: a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, the steps of the control method according to claim 5 are implemented.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which implements the steps of the control method according to claim 5 when executed by a processor.
8. A computer program product, characterized in that The computer program product comprises a computer program, which implements the steps of the control method according to claim 5 when executed by a processor.
Citation Information
Patent Citations
Light source spectrum parameter self-calibration method and self-calibration system
CN116448245A
Spectral light source device, control method and equipment thereof and readable storage medium
CN117793992A