Light source control method and system, controller and storage medium

By coordinating the optical power control module and the photodetector, the wavelength and power of the light are adjusted, solving the problem of inaccurate measurement results caused by the non-uniformity of output of traditional light sources in different wavelength ranges, and realizing the accuracy and stability of the spectral measurement tool.

CN120935888APending Publication Date: 2025-11-11SHENZHEN TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510945705.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-09
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

The non-uniformity of output power of traditional light sources in different wavelength ranges affects the accuracy of measurement results of spectral measurement tools, especially when using white light sources for wide-band spectral measurements, leading to inaccurate measurement results.

Method used

The wavelength and power of light are adjusted to achieve constant power output through optical power control modules and photodetectors. This includes using optical power control modules such as electrically controlled apertures, electrically controlled slits, electrically controlled attenuators, or electrically controlled liquid crystals, combined with photodetectors for real-time adjustment.

Benefits of technology

It achieves constant power output from the light source, improves the accuracy of measurement results from spectral measurement tools, and reduces jitter and uncertainty at data switching points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935888A_ABST
    Figure CN120935888A_ABST
Patent Text Reader

Abstract

The invention provides a light source control method and system, a controller and a storage medium, and is applied to the technical field of optics, the light source control method is applied to the light source control system, and the light source control system comprises a light-emitting light source, a light splitting module, a light power control module and a photoelectric detector; the light source control method comprises the following steps: acquiring a starting wavelength value, an ending wavelength value and a target power value; driving the light splitting module to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value under the condition that the light emitting source emits the light, so that the wavelength of the light reaches a plurality of target wavelengths in sequence; and for each target wavelength, the adjusted light is controlled to be output at a target power value through an optical power control module and a photoelectric detector. According to the embodiment of the invention, the adjusted light can be controlled through the optical power control module and the photoelectric detector so as to realize the target power value output of the light, so that a light source with constant power can be provided, and the accuracy of a measurement result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical technology, and in particular to a light source control method, system, controller, and storage medium. Background Technology

[0002] In related technologies, the output characteristics of a light source have a crucial impact on the measurement of material properties. Commonly used spectroscopic measurement tools, such as dispersive spectrometers and Fourier transform spectrometers, often rely on a stable and uniform light source for accurate measurements. However, the output power of traditional light sources often varies significantly across different wavelength ranges, especially when using white light sources for broadband spectral measurements. This power inhomogeneity can significantly affect the accuracy of the measurement results. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a light source control method, system, controller, and storage medium, designed to provide a light source with constant power, thereby improving the accuracy of measurement results.

[0004] In a first aspect, embodiments of this application provide a light source control method, which is applied to a light source control system. The light source control system includes a light source, a beam splitting module, a light power control module, and a photodetector. The method includes:

[0005] Obtain the starting wavelength value, ending wavelength value, and target power value;

[0006] When the light source emits light, the beam splitting module is driven to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value, so that the wavelength of the light sequentially reaches multiple target wavelengths;

[0007] For each target wavelength, the optical power control module and the photodetector control the adjusted light to be output at the target power value.

[0008] According to some embodiments of this application, driving the beam splitting module to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value includes:

[0009] The starting wavelength value is sequentially superimposed according to the preset step size value until the wavelength of the light reaches the ending wavelength value.

[0010] According to some embodiments of this application, controlling the adjusted light to output at a target power value through the optical power control module and the photodetector includes:

[0011] The first current output power of the light is detected by the photodetector;

[0012] The optical power control module is adjusted based on the first current output power and the target power value so that the light is output at the target power value.

[0013] According to some embodiments of this application, the beam splitting module includes an electrically controlled aperture, and the step of adjusting the optical power control module according to the first current output power and the target power value to output the light at the target power value includes one of the following:

[0014] When the first current output power is less than the target power value, the aperture of the electronically controlled aperture is increased;

[0015] When the first current output power is equal to the target power value, the aperture of the electronically controlled aperture is maintained;

[0016] When the first current output power is greater than the target power value, the aperture of the electronically controlled aperture is reduced.

[0017] According to some embodiments of this application, after increasing or decreasing the aperture of the electrically controlled aperture, the method further includes:

[0018] The second current output power of the light is detected by the photodetector;

[0019] When the second current output power is not equal to the target power value, the aperture of the electronically controlled aperture is adjusted until the second current output power equals the target power value.

[0020] According to some embodiments of this application, when the first current output power or the second current output power is equal to the target power value, the method further includes:

[0021] Get the current wavelength value;

[0022] The beam splitter is controlled to output the next wavelength of light based on the preset step size and the current wavelength value.

[0023] According to some embodiments of this application, the light source control system further includes a digital tube, and the method further includes:

[0024] The starting wavelength value, the ending wavelength value, and the target power value are displayed on the digital tube.

[0025] Secondly, embodiments of this application provide a light source control system for executing the light source control method of the first aspect; the light source control system includes a light source, a beam splitting module, an optical power control module, and a photodetector, wherein the beam splitting module is located between the light source and the optical power control module, and the optical power control module is located between the beam splitting module and the photodetector.

[0026] Thirdly, embodiments of this application provide a controller, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the light source control method of the first aspect described above when running the computer program.

[0027] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions for performing the light source control method as described in the first aspect above.

[0028] According to the technical solution of the embodiments of this application, at least the following beneficial effects are achieved: The embodiments of this application propose a light source control method, system, controller, and storage medium, applied in the field of optical technology. The light source control method is applied to a light source control system, wherein the light source control system includes a light-emitting source, a beam splitting module, an optical power control module, and a photodetector; the light source control method includes: acquiring a starting wavelength value, an ending wavelength value, and a target power value; when the light-emitting source emits light, driving the beam splitting module to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value, so that the wavelength of the light sequentially reaches multiple target wavelengths; for each target wavelength, controlling the adjusted light to output at the target power value through the optical power control module and the photodetector. Since the embodiments of this application can control the adjusted light through the optical power control module and the photodetector to achieve the target power value output of the light, the embodiments of this application can provide a light source with constant power, thereby improving the accuracy of the measurement results.

[0029] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0030] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0031] Figure 1 This is a schematic diagram of the structure of a light source control system provided in one embodiment of this application;

[0032] Figure 2This is a schematic diagram of the structure of a light source control system provided in another embodiment of this application;

[0033] Figure 3 This is a schematic diagram of the structure of a light source control system provided in another embodiment of this application;

[0034] Figure 4 This is a flowchart of a light source control method provided in one embodiment of this application;

[0035] Figure 5 This is a flowchart of a light source control method provided in another embodiment of this application;

[0036] Figure 6 This is a flowchart of a light source control method provided in another embodiment of this application;

[0037] Figure 7 This is a flowchart of a light source control method provided in another embodiment of this application;

[0038] Figure 8 This is a flowchart of a light source control method provided in another embodiment of this application;

[0039] Figure 9 This is a flowchart of a light source control method provided in an overall embodiment of this application. Figure 10 This is a schematic diagram of a controller for performing a light source control method according to an embodiment of this application. Detailed Implementation

[0040] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0041] In the description of this application, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0042] In the description of this application, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0043] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.

[0044] In some cases, the output characteristics of a light source have a crucial impact on the measurement of material properties. Commonly used spectroscopic measurement tools, such as dispersive spectrometers and Fourier transform spectrometers, often rely on a stable and uniform light source for accurate measurements. However, the output power of traditional light sources often varies significantly across different wavelength ranges, especially when using white light sources for broadband spectral measurements. This power inhomogeneity can significantly affect the accuracy of the measurement results.

[0045] Furthermore, while widely used silicon photodetectors can operate effectively in the 300-1200nm wavelength range, they typically require replacement for measurements over a wider wavelength range. After detector replacement, jitter often occurs at data switching points, increasing measurement uncertainty.

[0046] Based on the above, this application proposes a light source control method, system, controller, and storage medium, aiming to provide a light source with constant power, thereby improving the accuracy of measurement results.

[0047] The various embodiments of the light source control system of this application will be further described below with reference to the accompanying drawings.

[0048] like Figure 1 , Figure 2 and Figure 3 As shown, Figure 1 This is a schematic diagram of the structure of a light source control system provided in one embodiment of this application; Figure 2 This is a schematic diagram of the structure of a light source control system provided in another embodiment of this application; Figure 3 This is a schematic diagram of the structure of a light source control system provided in another embodiment of this application.

[0049] In one embodiment, the light source control system includes a light source 100, a beam splitting module 200, a light power control module 300, and a photodetector 400.

[0050] It is understandable that the beam splitting module 200 is located between the light source 100 and the optical power control module 300, and the optical power control module 300 is located between the beam splitting module 200 and the photodetector 400.

[0051] It is understood that the light source 100 mentioned above can be a single halogen lamp, a xenon lamp, or a combination of multiple LED lamps with spliced ​​spectrum. This application does not specifically limit it.

[0052] It is understood that the light source 100 mentioned above can be an electronically controlled light source. By adjusting the intensity of the light emitted by the electronically controlled light source, the light can be output at a target power value.

[0053] It is understood that the aforementioned spectrometer 200 may be a monochromator, a grating, or a diffractive optical element, and this application does not specifically limit it.

[0054] It is understood that the aforementioned optical power control module 300 may be an electrically controlled aperture, an electrically controlled slit, an electrically controlled attenuator, or an electrically controlled liquid crystal, and this application embodiment does not specifically limit it.

[0055] Understandably, when the optical power control module 300 is an electrically controlled aperture, the aperture of the electrically controlled aperture can be adjusted to output light with the target power value.

[0056] Understandably, when the optical power control module 300 is an electrically controlled slit, the slit width can be adjusted to output light with a target power value. For example, if the current power value is less than the target power value, the slit width is increased; if the current power value is greater than the target power value, the slit width is decreased.

[0057] Understandably, when the optical power control module 300 is an electrically controlled attenuator, the electric field strength of the electrically controlled attenuator can be adjusted to output light with the target power value.

[0058] It is understandable that when the optical power control module 300 is an electro-hydraulic liquid crystal, the light transmittance can be changed by adjusting the arrangement of liquid crystal molecules in the electro-hydraulic liquid crystal in order to output light with the target power value.

[0059] In another embodiment, the light source control system further includes a controller 500.

[0060] Understandably, the controller 500 is used to acquire the starting wavelength value, the ending wavelength value, and the target power value. Thus, when the light source 100 emits light, the controller drives the beam splitting module 200 to adjust the wavelength of the light by means of the starting wavelength value and the ending wavelength value, so that the wavelength of the light sequentially reaches multiple target wavelengths. In addition, for each target wavelength, the controller uses the optical power control module 300 and the photodetector 400 to control the adjusted light to be output at the target power value.

[0061] In another embodiment, the light source control system also includes a digital tube (not shown in the figure).

[0062] Understandably, the digital tube is used to display the starting wavelength value, the ending wavelength value, and the target power value.

[0063] Understandably, digital tubes can also be used to display the completion progress, making it easier for users to monitor the testing process.

[0064] In another embodiment, the light source control system further includes a subtractor (not shown) for calculating the difference between the current output power and the target power value input by the user.

[0065] In another embodiment, the light source control system further includes an optical beam splitter 600, a digital-to-analog / analog-to-digital converter 700, and a microcontroller 800.

[0066] It is understandable that the light output from the optical power control module 300 is split into two parts: one part is output to the photodetector 400 via the digital-to-analog / analog-to-digital converter 700 and the microcontroller 800, and the other part is output to the sample to be tested.

[0067] In another embodiment, the light source control system further includes an optical power meter 900.

[0068] It is understood that in this embodiment of the application, the optical beam splitter 600 outputs part of the light from the optical power control module 300 to the optical power meter 900 and the other part to the sample to be tested.

[0069] Based on the hardware structure of the light source control system in the above embodiments, the following presents various embodiments of the light source control method of this application.

[0070] like Figure 4 As shown, Figure 4 This is a flowchart of a light source control method provided in one embodiment of this application; the light source control method may include, but is not limited to, steps S410, S420 and S430.

[0071] Step S410: Obtain the starting wavelength value, ending wavelength value, and target power value;

[0072] Step S420: When the light source emits light, drive the beam splitting module to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value so that the wavelength of the light sequentially reaches multiple target wavelengths.

[0073] Step S430: For each target wavelength, the adjusted light is controlled to output at the target power value through the optical power control module and photodetector.

[0074] In one embodiment, firstly, the present application embodiment acquires the starting wavelength value, the ending wavelength value, and the target power value; then, when the light source emits light, the wavelength of the light is adjusted by the starting wavelength value and the ending wavelength value so that the wavelength of the light sequentially reaches multiple target wavelengths; for each target wavelength, the adjusted light is controlled by the optical power control module and the photodetector so that the light is output according to the target power value.

[0075] It is worth noting that, since the embodiments of this application can control the adjusted light through the optical power control module and the photodetector to achieve the target power value output of the light, the embodiments of this application can provide a light source with constant power, thereby improving the accuracy of the measurement results.

[0076] It is understood that users can set the starting wavelength value, ending wavelength value, and target power value according to actual testing needs, and this application embodiment does not specifically limit them.

[0077] In another embodiment, the present application embodiment uses a preset step size value to sequentially superimpose the starting wavelength value until the wavelength of the light reaches the ending wavelength value, thereby realizing the output of light of the corresponding wavelength from the starting wavelength value to the ending wavelength value.

[0078] It is understood that the aforementioned preset step size value can be set according to actual needs, and the embodiments of this application do not specifically limit the data of the preset step size value.

[0079] Understandably, users can input the starting wavelength value of the light source in the user interface according to actual testing needs, and the system controls the beam splitting module to output light from the specified wavelength based on the starting wavelength value.

[0080] Understandably, users can input the end wavelength value of the light source in the user interface according to actual testing needs. The system controls the beam splitting module to stop outputting at that wavelength value based on the end wavelength value, ensuring that the wavelength output range meets the user's needs.

[0081] Understandably, users can set the target power value of the light source at different frequencies in the user interface when the optical power control module is an electronically controlled aperture, according to actual needs. This allows them to adjust the aperture of the electronically controlled aperture based on the target power value to output light at the target power value, thus meeting various complex application scenarios.

[0082] Understandably, users can obtain information about the test progress through the user interface.

[0083] In addition, such as Figure 5 As shown, Figure 5 This is a flowchart of a light source control method provided in another embodiment of this application; regarding the step S430 above, controlling the adjusted light to be output at the target power value through the optical power control module and photodetector, it may include, but is not limited to, steps S510 and S520.

[0084] Step S510: Detect the first current output power of the light using a photodetector;

[0085] Step S520: Adjust the optical power control module according to the first current output power and the target power value so that the light is output at the target power value.

[0086] It is understood that the embodiments of this application can obtain the first current output power of light through a photodetector, and then make a judgment based on the first current output power and the target power value. When the first current output power is not equal to the target power value, the optical power control module is adjusted so that the light is output at the target power value, thereby enabling the provision of a light source with constant power and improving the accuracy of the measurement results.

[0087] In addition, such as Figure 6 As shown, Figure 6 This is a flowchart of a light source control method provided in another embodiment of this application; regarding the above step S520, it may include, but is not limited to, steps S610, S620 and S630.

[0088] Step S610: When the first current output power is less than the target power value, increase the aperture of the electronically controlled aperture.

[0089] Step S620: When the first current output power equals the target power value, maintain the aperture of the electronically controlled aperture;

[0090] Step S630: When the first current output power is greater than the target power value, reduce the aperture of the electronically controlled aperture.

[0091] It is understandable that when the optical power control module is an electrically controlled aperture, in order to adjust the output power when the current output power is less than the target power value, the aperture of the electrically controlled aperture is increased in this embodiment to increase the amount of light passing through, thereby achieving the target power value.

[0092] It is understandable that when the optical power control module is an electrically controlled aperture, in order to adjust the output power when the current output power is greater than the target power value, the aperture of the electrically controlled aperture is reduced in this embodiment of the application, thereby reducing the amount of light passing through, and thus achieving the target power value for the output power.

[0093] In another embodiment, the light source is an electronically controlled light source. When the output power value is not equal to the target power value, the output power value can be adjusted by adjusting the intensity of the light output by the electronically controlled light source. For example, when the output power value is less than the target power value, in order to adjust the output power, the intensity of the light output by the electronically controlled light source is increased to increase the number of photons per unit time, thereby achieving the target power value. When the output power value is greater than the target power value, in order to adjust the output power, the intensity of the light output by the electronically controlled light source is decreased to decrease the number of photons per unit time, thereby achieving the target power value.

[0094] In another embodiment, the light source is an electronically controlled light source. When the output power value is not equal to the target power value, the output power value can be adjusted by adjusting the intensity of the light output by the electronically controlled light source and adjusting the aperture of the electronically controlled aperture. For example, when the output power value is less than the target power value, in order to adjust the output power, the intensity of the light output by the electronically controlled light source is increased and the aperture of the electronically controlled aperture is increased, thereby achieving the target power value. When the output power value is greater than the target power value, in order to adjust the output power, the intensity of the light output by the electronically controlled light source is decreased and the aperture of the electronically controlled aperture is decreased, thereby achieving the target power value.

[0095] In addition, such as Figure 7 As shown, Figure 7 This is a flowchart of a light source control method provided in another embodiment of this application; after increasing or decreasing the aperture of the electronically controlled aperture, steps S710 and S720 may be included, but are not limited to.

[0096] Step S710: Detect the second current output power of the light using a photodetector;

[0097] Step S720: When the second current output power is not equal to the target power value, adjust the aperture of the electronically controlled aperture until the second current output power is equal to the target power value.

[0098] It is understandable that after increasing or decreasing the aperture of the electronically controlled aperture, the second current output power of the light is detected by a photodetector, thereby judging the second current output power and the target power value. If the second current output power is not equal to the target power value, the aperture of the electronically controlled aperture is adjusted until the second current output power equals the target power value, thereby achieving the provision of a light source with constant power.

[0099] It is understood that, in the embodiments of this application, after increasing or decreasing the aperture of the electronically controlled aperture, the aperture of the electronically controlled aperture is adjusted by re-judging the current output power, thereby ensuring that the adjusted output power is equal to the set target power value.

[0100] It is understandable that when the second current output power is greater than the target power value, the aperture of the electronically controlled aperture is reduced to decrease the light transmittance; when the second current output power is less than the target power value, the aperture of the electronically controlled aperture is increased to increase the light transmittance.

[0101] In addition, such as Figure 8 As shown, Figure 8 This is a flowchart of a light source control method provided in another embodiment of this application; when the first current output power or the second current output power is equal to the target power value, it may include, but is not limited to, steps S810 and S820.

[0102] Step S810: Obtain the current wavelength value;

[0103] Step S820: Control the beam splitting module to output the next wavelength of light according to the preset step size value and the current wavelength value.

[0104] It is understood that, in the embodiments of this application, when the first current output power or the second current output power is equal to the target power value, the current wavelength value is acquired, and the current wavelength value is superimposed according to a preset step size value to output the light of the next wavelength.

[0105] It is understood that in the embodiments of this application, the next wavelength of light is output only when the first current output power or the second current output power is equal to the target power value, thereby ensuring that the light is output at a constant power.

[0106] In another embodiment, the starting wavelength value, ending wavelength value, and target power value are displayed on a digital tube.

[0107] Based on the light source control methods of the above embodiments, the overall embodiments of the light source control method of this application are presented below.

[0108] like Figure 9 As shown, Figure 9 This is a flowchart of a light source control method provided in an overall embodiment of this application.

[0109] 1. Wavelength setting method

[0110] After the light source is activated, the system will precisely control the beam splitter to output light of a specific wavelength according to the user-defined start and end wavelength values. The method of wavelength setting varies depending on the control core.

[0111] 1.1 Wavelength Setting on PC: The user inputs the starting wavelength, ending wavelength, and target power value on the user interface. These values ​​are transmitted to the controller via a digital communication interface. Upon receiving the wavelength and power requirements, the controller precisely controls the beam splitter to ensure that it outputs light according to the wavelength set by the user.

[0112] 1.2 Microcontroller / Field-Programmable Gate Array Wavelength Setting: The user inputs the starting wavelength, ending wavelength, and target power value via the keyboard. The input information is also displayed in real-time on an 8-segment display. The user submits the data to the controller via the confirmation key. After receiving the user's input wavelength and power requirements, the controller drives the beam splitter to output the corresponding wavelength light, meeting the user's precise requirements for the light source wavelength and power. All operations are based on the user's active commands.

[0113] 2. Wavelength Adjustment Logic

[0114] The current output power of the light is detected by a photodetector, and the difference between the current output power and the target power value is calculated by a subtractor. When the difference is 0, the beam splitting module is driven to output the next wavelength of light according to the preset step size and the current wavelength value. When the difference is not 0, the aperture of the electronically controlled aperture is adjusted. For example, when the difference is greater than 0, the aperture of the electronically controlled aperture is decreased, and when the difference is less than 0, the aperture of the electronically controlled aperture is increased.

[0115] After adjusting the aperture of the electronically controlled aperture, the current output power of the light is detected again by the photodetector, and the difference between the current output power and the target power value is calculated by the subtractor. If the difference is 0, the beam splitting module is driven to output the next wavelength of light according to the preset step size and the current wavelength value. If the difference is not 0, the aperture of the electronically controlled aperture is adjusted until the difference between the current output power and the target power value is 0.

[0116] Based on the light source control methods of the above embodiments, the following presents various embodiments of the controller and computer-readable storage medium of this application.

[0117] like Figure 10 As shown, Figure 10This is a schematic diagram of a controller for performing a light source control method according to an embodiment of this application. The controller 700 implemented in this application includes: a processor 710, a memory 720, and a computer program stored in the memory 720 and executable on the processor 710, wherein... Figure 10 The example uses a processor 710 and a memory 720.

[0118] The processor 710 and memory 720 can be connected via a bus or other means. Figure 10 Taking the example of a connection between China and Israel via a bus.

[0119] Memory 720, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory 720 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 720 may optionally include remotely located memories 720 relative to processor 710, which can be connected to controller 700 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0120] Those skilled in the art will understand that Figure 10 The device structure shown does not constitute a limitation on the controller 700 and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0121] exist Figure 10 In the controller 700 shown, the processor 710 can be used to call the control program stored in the memory 720, thereby implementing the above-described light source control method. Specifically, the non-transitory software program and instructions required to implement the light source control method of the above embodiment are stored in the memory 720, and when executed by the processor 710, the light source control method of the above embodiment is executed.

[0122] It is worth noting that, since the controller 700 of this application embodiment can execute the light source control method of any of the above embodiments, the specific implementation and technical effects of the controller 700 of this application embodiment can be referred to the specific implementation and technical effects of the light source control method of any of the above embodiments.

[0123] Furthermore, one embodiment of this application provides a computer-readable storage medium storing computer-executable instructions for performing the aforementioned light source control method. Exemplarily, the above-described method is executed... Figures 4 to 9 The methods and steps in the text.

[0124] It is worth noting that, since the computer-readable storage medium of this application embodiment can execute the light source control method of any of the above embodiments, the specific implementation and technical effects of the computer-readable storage medium of this application embodiment can be referred to the specific implementation and technical effects of the light source control method of any of the above embodiments.

[0125] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0126] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0127] In the several embodiments provided in this application, it should be understood that the disclosed systems, instruments, and methods can be implemented in other ways. For example, the instrument embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between instruments or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0128] It should also be understood that the various implementation methods provided in this application can be combined arbitrarily to achieve different technical effects.

[0129] The above provides a detailed description of the preferred embodiments of this application. However, this application is not limited to the above-described embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. A light source control method, characterized in that, The light source control method is applied to a light source control system, which includes a light source, a beam splitting module, a light power control module, and a photodetector. The method includes: Obtain the starting wavelength value, ending wavelength value, and target power value; When the light source emits light, the beam splitting module is driven to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value, so that the wavelength of the light sequentially reaches multiple target wavelengths; For each target wavelength, the optical power control module and the photodetector control the adjusted light to be output at the target power value.

2. The light source control method according to claim 1, characterized in that, The step of driving the beam splitter to adjust the wavelength of the light according to the starting wavelength value and the ending wavelength value includes: The starting wavelength value is sequentially superimposed according to the preset step size value until the wavelength of the light reaches the ending wavelength value.

3. The light source control method according to claim 2, characterized in that, The step of controlling the adjusted light to output at a target power value through the optical power control module and the photodetector includes: The first current output power of the light is detected by the photodetector; The optical power control module is adjusted based on the first current output power and the target power value so that the light is output at the target power value.

4. The light source control method according to claim 3, characterized in that, The beam splitting module includes an electrically controlled aperture. Adjusting the optical power control module based on the first current output power and the target power value to output the light at the target power value includes one of the following: When the first current output power is less than the target power value, the aperture of the electronically controlled aperture is increased; When the first current output power is equal to the target power value, the aperture of the electronically controlled aperture is maintained; When the first current output power is greater than the target power value, the aperture of the electronically controlled aperture is reduced.

5. The light source control method according to claim 4, characterized in that, After increasing or decreasing the aperture of the electrically controlled aperture, the method further includes: The second current output power of the light is detected by the photodetector; When the second current output power is not equal to the target power value, the aperture of the electronically controlled aperture is adjusted until the second current output power equals the target power value.

6. The light source control method according to claim 5, characterized in that, When the first current output power or the second current output power is equal to the target power value, the method further includes: Get the current wavelength value; The beam splitter is controlled to output the next wavelength of light based on the preset step size and the current wavelength value.

7. The light source control method according to claim 1, characterized in that, The light source control system also includes a digital tube, and the method further includes: The starting wavelength value, the ending wavelength value, and the target power value are displayed on the digital tube.

8. A light source control system, characterized in that, The system is used to perform the light source control method as described in any one of claims 1 to 7; the light source control system includes a light source, a beam splitting module, an optical power control module, and a photodetector, wherein the beam splitting module is located between the light source and the optical power control module, and the optical power control module is located between the beam splitting module and the photodetector.

9. A controller, characterized in that, include: The memory, the processor, and the computer program stored in the memory and executable on the processor, wherein the processor executes the light source control method as described in any one of claims 1 to 7 when running the computer program.

10. A computer-readable storage medium, characterized in that: The device stores computer-executable instructions for performing the light source control method as described in any one of claims 1 to 7.