Standard light source calibration device and control method thereof, equipment, storage medium and product
By incorporating a spectrometer on a standard light source, real-time calibration and online calibration of the light source are achieved, and the problem of limitations in the applicable scenarios of light source calibration in the existing technology is solved, and the convenience and accuracy of calibration are improved.
Patent Information
- Application Number
- CN202411811254.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-10
AI Technical Summary
The applicable scenarios of existing light source calibration solutions are too limited, and the light source equipment needs to be removed and placed on a specific fixture for calibration, which has high environmental requirements.
A standard light source calibration device is provided, including a standard light source, a built-in spectrometer and a main control component. The built-in spectrometer collects the internal spectral information of the standard light source in real time, and compares it with the internal reference spectrum when the target spectrum is matched, and performs feedback adjustment until the internal spectral information matches the internal reference spectrum.
Real-time calibration and online calibration of standard light sources are realized, which improves the convenience and scope of calibration, reduces the requirements for calibration environment, and ensures the accuracy of calibration.
Smart Images

Figure CN119729938A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of light source technology, and in particular to a standard light source calibration device and a control method, equipment, storage medium and product thereof. Background Art
[0002] Spectral light sources for machine vision systems are commonly used in modern industrial scenarios such as intelligent manufacturing and smart factories. The machine vision systems on the production lines have high requirements for the accuracy of visual performance calibration, and therefore have high requirements for spectral light sources.
[0003] The existing standard light source usually uses a spectrometer to collect the spectrum of the light outlet of the standard light source, and the drive current of the standard light source is feedback-adjusted by the difference between the measured spectrum and the target spectrum until the measured spectrum matches the target spectrum. However, this calibration method is relatively complicated, and the light source equipment needs to be disassembled and placed on a specific fixture for calibration by a spectrometer. The calibration environment requirements are relatively high, that is, the applicable scenarios of the existing light source calibration solution are too limited. Summary of the invention
[0004] The main purpose of the present application is to provide a standard light source calibration device, aiming to solve the technical problem that the applicable scenarios of existing light source calibration solutions are too limited.
[0005] To achieve the above-mentioned object, the present application provides a standard light source calibration device, the standard light source calibration device comprising: 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 when it emits light according to the target spectrum in real time; 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.
[0006] In one embodiment, the standard light source calibration device further comprises: 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 feedback-adjust 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.
[0007] In one embodiment, 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.
[0008] In one embodiment, the light source generating assembly 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.
[0009] In one embodiment, the light outlet is provided with a filter module.
[0010] To achieve the above object, the present application also provides a control method for 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: 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; Determine 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; The standard light source is feedback-adjusted according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum.
[0011] In one embodiment, the standard light source calibration device further includes: an external spectrometer; before the step of determining the internal reference spectrum corresponding to the target spectrum, the step includes: Controlling the standard light source to emit light according to a reference spectrum; The output spectrum information of the standard light source emitting light according to the reference spectrum is collected by an external spectrometer; Collecting the internal reference spectrum of the standard light source when it emits light according to the reference spectrum through a 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 benchmark spectrum corresponding to the reference spectrum.
[0012] To achieve the above-mentioned purpose, the present application also provides a control device for a standard light source calibration device, the control device for the standard light source calibration device comprising: a memory, a processor, the memory storing a computer program that can be run on the processor, and the computer program is configured to implement the steps of the control method as described above.
[0013] To achieve the above objectives, the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the control method as described above.
[0014] To achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the control method described above are implemented.
[0015] The present application proposes a standard light source calibration device, which includes: 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 when it emits light according to the target spectrum in real time; the main control component is used to determine the internal reference spectrum corresponding to the target spectrum, and according to the internal reference spectrum and the internal spectrum information, the standard light source is feedback-adjusted 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. Thus, the present application can collect the internal spectrum information of the standard light source when it emits light according to the target spectrum in real time through the built-in spectrometer arranged on the standard light source, and then compare 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, and feedback-adjust the standard light source according to the difference between the two until the internal spectrum information matches the internal reference spectrum. Therefore, the present application can realize real-time calibration and online calibration of the standard light source (i.e., without disassembling the light source equipment) through the built-in spectrometer, effectively improving the convenience of calibration of the standard light source and the scope of application of the calibration scenes, and solving the problem that the existing calibration scheme has too many requirements for the calibration environment, resulting in limited scope of application. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1This is a schematic structural diagram of the first embodiment of the standard light source calibration device of the present application; Figure 2 This is a schematic structural diagram of a second embodiment of the standard light source calibration device of the present application; Figure 3 This is a schematic diagram of the structure of the standard light source involved in the embodiment of the present application; Figure 4 A schematic flow chart of an embodiment of a control method of a standard light source calibration device of the present application; Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
[0017] Description of Figure Numbers:
[0018] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0021] The terms "first" and "second" 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 objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
[0022] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0023] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0024] 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.
[0025] In order to better describe the technical solution of the present application, the standard light source calibration device of the present application is described below in combination with some prior art: Spectral light sources for machine vision systems are commonly used in modern industrial scenarios such as intelligent manufacturing and smart factories. The machine vision systems on the production lines have high requirements for the accuracy of visual performance calibration, and therefore have high requirements for spectral light sources.
[0026] The existing standard light source usually uses a spectrometer to collect the spectrum of the light outlet of the standard light source, and the drive current of the standard light source is feedback-adjusted by the difference between the measured spectrum and the target spectrum until the measured spectrum matches the target spectrum. However, this calibration method is relatively complicated, and the light source equipment needs to be disassembled and placed on a specific fixture for calibration by a spectrometer. The calibration environment requirements are relatively high, that is, the applicable scenarios of the existing light source calibration solution are too limited.
[0027] This application uses a built-in spectrometer set on the standard light source to collect the internal spectrum information of the standard light source when it emits light according to the target spectrum in real time, 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, and performs feedback adjustment on the standard light source according to the difference between the two until the internal spectrum information matches the internal reference spectrum. Therefore, this application can realize real-time calibration and online calibration of the standard light source (i.e., without disassembling the light source equipment) through the built-in spectrometer, effectively improving the convenience of calibration of the standard light source and the scope of application for the calibration scene, and solving the problem that the existing calibration scheme has too many requirements for the calibration environment, resulting in a limited scope of application.
[0028] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of the first embodiment of the standard light source calibration device of the present application. The first embodiment of the present application provides a standard light source calibration device, the standard light source calibration device comprising: The standard light source calibration device comprises: a standard light source 10, a main control component 20 and a built-in spectrometer 30 arranged on the standard light source 10; A standard light source 10, used to emit light according to a target spectrum; A built-in spectrometer 30 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; The main control component 20 is used to determine the internal reference spectrum corresponding to the target spectrum, and to feedback-adjust 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 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.
[0029] In this embodiment, the standard light source calibration device includes a standard light source 10, a main control component 20, and a built-in spectrometer 30 disposed on the standard light source 10; the standard light source 10 emits light according to the target spectrum; the built-in spectrometer 30 collects internal spectrum information when the standard light source 10 emits light according to the target spectrum; the main control component 20 determines the internal reference spectrum corresponding to the target spectrum, and performs feedback adjustment on 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 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. Thus, in this embodiment, the internal spectrum information of the standard light source 10 when emitting light according to the target spectrum is collected in real time by the built-in spectrometer 30 disposed on the standard light source 10, and then the internal spectrum information is compared with the internal reference spectrum when the light output by the standard light source according to the target spectrum matches the target spectrum, and the standard light source is feedback adjusted according to the difference between the two until the internal spectrum information matches the internal reference spectrum. Therefore, the calibration of the standard light source 10 in this embodiment is not limited to being completed by setting up a spectrometer externally, which effectively improves the convenience of the standard light source calibration and reduces the requirements for the calibration environment. In addition, since 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, the accuracy of the standard light source calibration performed by the built-in spectrometer 30 is also guaranteed.
[0030] Reference Figure 2 , Figure 2 This is a schematic diagram of the structure of the second embodiment of the standard light source calibration device of the present application. In some embodiments, the standard light source calibration device further includes: an external spectrometer 40; A standard light source 10, used to emit light according to a reference spectrum; An external spectrometer 40 is used to collect output spectrum information of the standard light source 10 according to the reference spectrum; A built-in spectrometer 30 is used to collect an internal reference spectrum when the standard light source 10 emits light according to the reference spectrum; The main control component 20 is used to perform feedback adjustment on 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 uses the current internal reference spectrum as the internal benchmark spectrum corresponding to the reference spectrum.
[0031] It should be understood that in order to ensure the best calibration effect of the standard light source, the external spectrometer 40 can be directly traced back to the relevant national basic standards preserved by the China National Institute of Metrology to achieve more accurate value transfer.
[0032] In this embodiment, the standard light source calibration device also includes: an external spectrometer 40. The standard light source 10 emits light according to the reference spectrum; the external spectrometer 40 collects the output spectrum information of the standard light source 10 according to the reference spectrum; the built-in spectrometer 30 collects the internal reference spectrum when the standard light source 10 emits light according to the reference spectrum; the main control component 20 performs feedback adjustment on 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 the current internal reference spectrum is used as the internal reference spectrum corresponding to the reference spectrum. Therefore, this embodiment realizes the correspondence between the output spectrum and the internal reference spectrum by calibrating the built-in spectrometer 30 and the external spectrometer 40 together, so that the output spectrum information will also match the target spectrum corresponding to the internal reference spectrum while ensuring that the internal spectrum information matches the internal reference spectrum, thereby avoiding the error caused by the difference in the opening position of the integrating sphere, the difference in the optical path during calibration and actual use, and the difference in the spectral characteristics of the light source.
[0033] See also Figure 3 , Figure 3 Schematic diagram of the structure of the standard light source involved in the embodiments of the present application. In some embodiments, the standard light source 10 includes an integrating sphere 11 and a light source generating component 12; The light source generating component 12 is disposed at the light entrance 111 of the integrating sphere 11, and is used to emit light into the integrating sphere 11 under a driving current; The integrating sphere 11 is provided with a light outlet 112 . The light inputted from the light source generating assembly 12 is mixed by the integrating sphere 11 and then emitted from the light outlet 112 according to the target spectrum.
[0034] In this embodiment, the standard light source 10 includes an integrating sphere 11 and a light source generating assembly 12. The light source generating assembly 12 is disposed at the light inlet 111 of the integrating sphere 11, and emits light under a driving current into the integrating sphere 11. 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 assembly 12 is reflected and mixed by the inner wall of the integrating sphere 11 and then output from the light outlet 112.
[0035] In some embodiments, the light source generating assembly 12 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.
[0036] In this embodiment, the LED light source array is composed of LED lamp beads covering the entire visible light spectrum. The standard color temperature wide spectrum LED lamp beads of the first number of channels are LED lamp beads used to simulate standard spectra such as D65 and A light sources, such as 5-6 channels of wide spectrum phosphor LED light sources with different color temperatures, and the discrete LED narrow band lamp beads of the second number of channels are LED lamp beads used to supplement the full-band non-standard spectrum fitting, such as 30-31 channels of discrete LED narrow band lamp beads, that is, the LED light source array is a 36-channel LED array.
[0037] In some embodiments, the light outlet 112 is provided with a filter module 13 .
[0038] Limited by the LED light-emitting mechanism, it is difficult for previous spectral light sources to simulate the linear emission spectra of mercury lamps, xenon lamps, etc., and it is also impossible to provide monochromatic light of a 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 is understandable that the filter module 15 can be a filter fixture for clamping various filters. The filters mainly include but are not limited to: uniform light filter: used to improve light distribution, ensure the uniformity of output light, and improve lighting quality. 50% dimming filter and 10% dimming filter: by reducing the luminous flux, the light intensity can be precisely controlled to meet the application scenarios with different light intensity requirements. Transmissive 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: specially designed and tested for high dynamic range imaging systems to evaluate the performance of light sources under high contrast conditions. MURA (uneven brightness) simulation card: used to detect uniformity problems of display screens or light sources, especially for the simulation and detection of brightness defects. Therefore, by clamping the corresponding filter at the filter fixture of the filter module 15, this embodiment can output various colors of standard monochromatic light, polarization, grayscale, viewing angle, MURA (brightness unevenness) and other special test images. This embodiment can meet the calibration requirements of the standard light source calibration device in this embodiment for standard light sources in different application scenarios by customizing and replacing the filter clamped at the filter fixture of the filter module 15.
[0039] In addition, it is understandable that the standard light source 10 may 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 may include a fan, a thermoelectric cooler, a liquid cooling device, etc., which are used to adjust the real-time temperature of the light source generating component 12. The light source generating component 12 will generate more heat during the light emission process. As the heat accumulates, the real-time temperature of the light source generating component 12 will rise rapidly. Exemplarily, this embodiment may use a fan as a temperature control component, and start the fan after the real-time temperature of the light source generating component 12 is higher than the upper limit of the preset temperature range. After the real-time temperature of the light source generating component 12 is lower than the lower limit of the preset temperature range, turn off the fan.
[0040] See also Figure 4 , Figure 4 This is a flow chart of an embodiment of a control method of a standard light source calibration device of the present application. This 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, and the control method comprises the following steps: Step S10, in response to the calibration instruction, controlling the standard light source to emit light according to the target spectrum; Step S20, collecting internal spectrum information of the standard light source in real time when the standard light source emits light according to the target spectrum through the built-in spectrometer; 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; Step S40: 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.
[0041] 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, and the control device may be a PC (Personal Computer), a tablet computer, a portable computer or a server.
[0042] It should also be noted that 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 target spectrum is the spectrum information of the light expected to be output from the light outlet by the standard light source.
[0043] In this embodiment, in response to the calibration instruction, the standard light source is controlled to emit light according to the target spectrum. Among them, the calibration instruction is an instruction issued by the user through a physical button, voice, control device, etc. to control the standard light source calibration device to calibrate the standard light source. 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 outlet according to the target spectrum. Therefore, this embodiment can further query the 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. That is, when 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. Then, according to the internal reference spectrum and the internal spectrum information, the standard light source can be feedback-adjusted until the internal spectrum information matches the internal reference spectrum. Exemplarily, the feedback adjustment method for the standard light source in this embodiment may include: a method for solving the minimum value of the residual sum of squares between the spectral information (internal spectral information or output spectral information) and the specified spectrum (target spectrum or reference spectrum), a fuzzy control method, a PID control method, etc. Exemplarily, this embodiment can calculate the current residual sum of squares according to the spectral information (internal spectral information or output spectral information) and the specified spectrum (target spectrum or reference spectrum). Then, the 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 feedback-adjusted according to the current iteration error. The current iterative error may be calculated by a multivariate linear regression method, a least squares estimation method, or the like, so that the spectral distribution in the spectral information gradually approaches the specified spectrum.
[0044] Therefore, this embodiment can realize real-time calibration and online calibration of the standard light source through the built-in spectrometer (that is, there is no need to disassemble the light source device), which effectively improves the convenience of calibration of the standard light source and the scope of application of the calibration scene, and solves the problem that the existing calibration scheme has too many requirements for the calibration environment, resulting in a limited scope of application. In addition, 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 standard light source calibration through the built-in spectrometer is also guaranteed.
[0045] In some embodiments, the standard light source calibration device further includes: an external spectrometer; before step S30, including: Step A10, controlling the standard light source to emit light according to a reference spectrum; Step A20, collecting output spectrum information of the standard light source according to the reference spectrum through an external spectrometer; Step A30, collecting an internal reference spectrum when the standard light source emits light according to the reference spectrum through a built-in spectrometer; Step A40, feedback-adjusting 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.
[0046] It should be noted that the reference spectrum is the spectrum 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 spectrum information of the light output from the light outlet of the standard light source, and the internal spectrum information is the spectrum information of the light inside the standard light source.
[0047] 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 emitting light according to the reference spectrum is collected by the external spectrometer; the internal reference spectrum of the standard light source when emitting 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.
[0048] 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.
[0049] The present application provides a control device for a standard light source calibration device, the control device for the standard light source calibration device comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the control method of the standard light source calibration device in the above-mentioned embodiment 1. Specifically, the control device for the standard light source calibration device can be a PC (Personal Computer), a tablet computer, a portable computer, or a server.
[0050] like Figure 5 As shown, the control device of the standard light source calibration device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the control device of the standard light source calibration device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the control device of the standard light source calibration device to communicate with other devices wirelessly or by wire to exchange data. Although the control device of the standard light source calibration device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0051] 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, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0052] The control device of the standard light source calibration device provided in the present application adopts the control method of the standard light source calibration device in the above-mentioned embodiment, which can solve the technical problem that the applicable 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 in the present application are the same as the beneficial effects of the control method of the standard light source calibration device provided in the above-mentioned embodiment, and the other technical features in the control device of the standard light source calibration device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0053] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0054] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0055] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the control method of the standard light source calibration device in the above-mentioned embodiment.
[0056] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0057] The computer-readable storage medium may be included in the control device of the standard light source calibration device; or may exist independently without being assembled into the control device of the standard light source calibration device.
[0058] The 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: responds to the calibration instruction, controls the standard light source to emit light according to the target spectrum; collects internal spectral information of the standard light source when it emits 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 spectral 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 spectral information until the internal spectral information matches the internal reference spectrum.
[0059] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0060] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0061] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0062] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the control method of the above-mentioned standard light source calibration device, and can solve the technical problem that the applicable scenarios of the existing light source calibration scheme are too limited. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the control method of the standard light source calibration device provided by the above-mentioned embodiment, and will not be repeated here.
[0063] The present application also provides a computer program product, including a computer program, which implements the steps of the control method of the standard light source calibration device as described above when the computer program is executed by a processor.
[0064] The computer program product provided by the present application can solve the technical problem that the applicable scenarios of the existing light source calibration solution are too limited. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the control method of the standard light source calibration device provided by the above embodiment, which will not be repeated here.
[0065] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present 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 when it emits light according to the target spectrum in real time; 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.
2. The standard light source calibration device according to claim 1, characterized in that: The standard light source calibration device also 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 feedback-adjust 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.
3. The standard light source calibration device according to claim 1, characterized in that: 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.
4. The standard light source calibration device as claimed in claim 3, characterized in that: The light source generating component comprises: 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.
5. The standard light source calibration device as claimed in claim 3, characterized in that: The light outlet is provided with a filter module.
6. 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 5, 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; Determine 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; The standard light source is feedback-adjusted according to the internal reference spectrum and the internal spectrum information until the internal spectrum information matches the internal reference spectrum.
7. The control method according to claim 6, characterized in that: The standard light source calibration device further comprises: an external spectrometer; before the step of determining the internal reference spectrum corresponding to the target spectrum, the method comprises: Controlling the standard light source to emit light according to a reference spectrum; The output spectrum information of the standard light source emitting light according to the reference spectrum is collected by an external spectrometer; Collecting the internal reference spectrum of the standard light source when it emits light according to the reference spectrum through a 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 benchmark spectrum corresponding to the reference spectrum.
8. A control device for a standard light source calibration device, characterized in that: The control device of the standard light source calibration apparatus comprises: 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 as described in any one of claims 6 to 7 are implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method according to any one of claims 6 to 7 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the control method according to any one of claims 6 to 7 are implemented.
Citation Information
Patent Citations
Method and system for analyzing human body biological information through reflecting spectrum
CN109730641A
Rotary sample loading assembly with diffuse reflection built-in optical integrating sphere
CN115266624A
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
Portable spectrometer device
CN118591720A