A low-intensity point light source signal detection system based on LabVIEW and Arduino and its working method
The low-intensity point light source signal detection system built by LabVIEW and Arduino solves the problem of detecting small point light source signals with unfixed positions in complex environments, and realizes high-precision spectral and light intensity signal acquisition, reducing costs and improving data accuracy.
Patent Information
- Application Number
- CN202211141821.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-09-20
AI Technical Summary
The prior art is difficult to detect time and frequency domain signals of low-intensity micro-point light sources with unfixed positions in complex environments with high accuracy, and the spectrometer requires fiber coupling to cause detection difficulties, manual operation affects experiments, and discrete sampling is likely to lead to data misleading when the signal is continuously developed and unknown.
The low-intensity point light source signal detection system based on LabVIEW and Arduino is adopted, and the Arduino control module and optical signal detector are used to collect spectral and light intensity signals through a monochromator and a photon counter. The data processing and image generation are combined with LabVIEW, which supports continuous and discrete sampling of spectral and light intensity signals.
High-precision spectral and light intensity signal detection of low-intensity micro-point light sources is achieved, avoiding the need for fiber coupling, reducing costs, and improving data accuracy through continuous and discrete sampling.
Smart Images

Figure CN115541506B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a low-intensity point light source signal detection system based on LabVIEW and Arduino and a working method thereof, belonging to the technical field of automated testing. Background Art
[0002] Currently, certain research fields involve the detection of time-domain and frequency-domain signals from tiny, low-intensity point sources. These point sources are often located in complex environments (including fluids and complex acoustic fields), making them difficult to detect at close range. Furthermore, the point source itself cannot be completely fixed. This is due to numerous detection challenges, including dispersed light, extremely low light intensity, positional drift, and the inability of detectors to approach closely. For example, sonoluminescence (SL), a field of study at the intersection of acoustics and optics, holds great promise for research. However, single-bubble sonoluminescence (SBSL) exhibits low intensity, and the luminous bubbles are located in a liquid environment with an ultrasonic field, resulting in a dispersed point source. The position of the luminous bubbles varies under different driving conditions, and measuring the spectra of moving sonoluminescent bubbles, a popular research method, makes optical coupling difficult. These complex conditions make close-range, high-precision detection challenging. Furthermore, sonoluminescence experiments must be conducted in a dark, enclosed environment, and manual control of the equipment and recording of data can introduce interference light that could disrupt the experiment and affect its proper performance.
[0003] Mainstream spectrometers currently on the market, such as the Ocean Optics series and Thorlabs' CCS series, use optical fibers for signal acquisition. These optical fibers have a small light cross-section and require light coupling or close proximity acquisition to maximize light throughput. These optical fibers are unsuitable for tiny point sources that are difficult to detect at close range, difficult to couple, exhibit positional drift, or have extremely low intensity. Consequently, detecting signals from tiny, low-intensity point sources in complex environments where their position cannot be completely fixed becomes a challenging task.
[0004] Furthermore, discrete sampling is typically performed without knowing the continuous state of the signal. However, in some special scenarios, sampling is required when the light source is unstable. Sampling without knowing the continuous state of the signal increases the probability of obtaining unrepresentative data, which can easily mislead experimental results and affect the accuracy of the measurement data. Summary of the Invention
[0005] In response to the shortcomings of the existing technology, the present invention provides a low-intensity point light source signal detection system based on LabVIEW and Arduino and its working method. The detection system can realize time domain and frequency domain signal detection of low-intensity tiny point light sources in complex environments where the position cannot be completely fixed.
[0006] Explanation of terms:
[0007] 1. Arduino: A convenient and flexible open-source electronics prototyping platform that can control devices such as stepper motors through software.
[0008] 2. LabVIEW: It is a program development environment that uses a graphical language and is considered a standard data acquisition and instrument control software.
[0009] The technical solution of the present invention is:
[0010] A low-intensity point light source signal detection system based on LabVIEW and Arduino includes a LabVIEW device control module, an Arduino control module, a light intensity signal sampling module, a spectrum signal sampling module, an image generation module, and a data storage module; the Arduino control module, the light intensity signal sampling module, the spectrum signal sampling module, the image generation module, and the data storage module are all interconnected with the LabVIEW device control module; the Arduino control module includes a module for controlling the spectroscopic wavelength of the output light of the point light source and transmitting the wavelength data to the LabVIEW device control module; the spectrum signal sampling module is used to collect the light signal intensity of the point light source at different wavelengths and transmit the collected light signal intensity to the LabVIEW device control module; the light intensity signal sampling module is used to collect the continuous light signal intensity of the point light source that changes with time and transmit the light signal intensity data and sampling time to the LabVIEW device control module. bVIEW device control module, or discrete sampling is performed in the continuous light intensity signal, and the discrete sampled data (light intensity) is transmitted to the LabVIEW device control module; the discrete sampled data is the light intensity of the point light source; the image generation module is used to obtain the wavelength data, sampling time and light intensity data of the output light of the point light source from the LabVIEW device control module, and generate a spectral data image, a continuous light intensity signal data image, and a discrete light intensity signal data image; the spectral data image is a trend graph of the light intensity of the point light source as the wavelength changes, and the continuous light intensity signal data image is a trend graph of the light intensity of the point light source as the time changes; the discrete light intensity signal data image is a trend graph of the light intensity of the point light source as other parameters change, among which other parameters can be set according to the actual usage scenario, such as the frequency and voltage of the signal generator. The signal generator is the equipment required for the single-bubble sonoluminescence experiment, and the frequency and voltage of the signal generator are important parameters of the single-bubble sonoluminescence experiment.
[0011] The data saving module is used to obtain the wavelength data, sampling time and light intensity data of the point light source output from the LabVIEW device control module and save them.
[0012] According to the present invention, preferably, the low-intensity point light source is a single-bubble sonoluminescent light source.
[0013] Preferably, according to the present invention, the Arduino control module includes an Arduino control board and an expansion board thereof, a stepper motor and a monochromator, and the Arduino control board and the expansion board, the stepper motor and the monochromator are connected in sequence. The Arduino control board and the expansion board control the stepper motor to drive the rotation of the monochromator, thereby controlling the wavelength of light output from the monochromator light outlet, and transmitting the monochromator rotation data to the LabVIEW device control module.
[0014] Arduino is a convenient and flexible open source platform with easy use, high reliability and low cost. It is suitable for connecting to stepper motors, can control stepper motors on a computer, and can communicate with LabVIEW.
[0015] According to a preferred embodiment of the present invention, the spectral signal sampling module includes an optical signal detector and a digital multimeter. The optical signal detector is connected to the digital multimeter. The optical signal detector is arranged at the light outlet of the monochromator and converts the detected optical signal into an electrical signal and inputs it into the digital multimeter. The digital multimeter inputs the electrical signal into the LabVIEW device control module. Any electrical signal detector that can be recognized by the digital multimeter can be used here, so the optical signal detector has a wide range of choices.
[0016] Further preferably, the optical signal detector is a photomultiplier tube detector. The photomultiplier tube detector has high sensitivity and fast detection speed, and can measure light signals of extremely low intensity.
[0017] According to a preferred embodiment of the present invention, the light intensity signal sampling module includes a photon counter, which is used to detect the intensity of the light output by the point light source. The photon counter has a high signal-to-noise ratio and sensitivity, and can measure extremely low-intensity light signals.
[0018] The working method of the low-intensity point light source signal detection system based on LabVIEW and Arduino includes:
[0019] 1) Collect the spectral signal of the point light source:
[0020] Step 1-1: The LabVIEW device control module communicates with the Arduino control module. The Arduino control module controls the stepper motor to rotate and drives the monochromator to rotate.
[0021] In step 1-2, the Arduino control module feeds back the monochromator rotation data to the LabVIEW device control module, which calculates the wavelength data of the optical signal after the monochromator's light outlet is rotated.
[0022] Steps 1-3: The LabVIEW device control module controls the spectral signal sampling module to collect the light intensity signal at the light outlet of the monochromator, and the spectral signal sampling module feeds the collected data back to the LabVIEW device control module;
[0023] In steps 1-4, the LabVIEW device control module transmits the wavelength data and light intensity data of the monochromator's light outlet to the image generation module and the data storage module. The image generation module draws the spectral data image, and the data storage module saves the wavelength data and light intensity data. At this point, the image generation module and the data storage module obtain a spectral data point.
[0024] Step 1-5, repeating steps 1-1 to 1-4 until the monochromator completes scanning the set wavelength range, the image generation module generates a spectral data image of the set wavelength range, and the data storage module stores the spectral data within the set wavelength range;
[0025] 2) Collect the light intensity signal of the point light source:
[0026] Step 2-1, the LabVIEW device control module controls the light intensity signal sampling module to collect the continuous light intensity signal of the point light source;
[0027] Step 2-2: The light intensity signal sampling module sends the collected light intensity data and time to the LabVIEW device control module. The LabVIEW device control module sends the collected light intensity data and time to the image generation module and the data storage module. The image generation module generates a continuous light intensity signal data image, and the data storage module saves the collected light intensity data and time.
[0028] Step 2-3, the LabVIEW device control module controls the light intensity signal sampling module to perform discrete light intensity signal sampling in the continuous light intensity signal according to the system operator's instructions;
[0029] Step 2-4: The light intensity signal sampling module sends the discrete light intensity signal data to the LabVIEW device control module. The LabVIEW device control module sends the discrete light intensity signal data to the image generation module and the data storage module. The image generation module generates an image of the discrete light intensity signal data, and the data storage module stores the discrete light intensity signal data.
[0030] Step 2-5, repeat steps 2-1 to 2-4 to complete N times of light intensity discrete data sampling, the image generation module generates a continuous light intensity signal data image, and generates N times of discrete light intensity signal data images, and the data storage module saves the continuous light intensity signal data and N times of discrete light intensity signal data.
[0031] The beneficial effects of the present invention are:
[0032] 1. The present invention provides a low-cost method for measuring the spectrum of low-intensity single-bubble sonoluminescent light sources that cannot be coupled into optical fibers: the present invention uses a monochromator, which has a large light intake, does not require coupling, and is not affected by slight movements of the point light source position. In combination with a highly sensitive optical signal detector, it can achieve spectral measurement of such low-intensity tiny point light sources with position drift, and at a relatively low cost.
[0033] 2. The optical signal detector can be replaced in model and equipment, with a wide range of choices; the present invention uses a digital multimeter to connect the optical signal detector to achieve optical signal measurement at the light outlet of the spectrometer. Any electrical signal detector that can be recognized by the digital multimeter can be used here, so the optical signal detector has a wide range of choices.
[0034] 3. Targeted discrete sampling of light intensity signals: The present invention first collects continuous light intensity signals, and then the system operator performs discrete data sampling based on the continuous signal conditions, thus avoiding data deviations caused by poor signal stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The present invention provides a schematic diagram of the corresponding relationship between various modules in a low-intensity point light source signal detection system based on LabVIEW and Arduino;
[0036] Figure 2 A flowchart of the low-intensity point light source signal detection system based on LabVIEW and Arduino provided by the present invention when performing spectral signal sampling;
[0037] Figure 3 A flowchart of the low-intensity point light source signal detection system based on LabVIEW and Arduino provided by the present invention when performing light intensity signal sampling;
[0038] Figure 4 A schematic diagram of the structure of a single-bubble sonoluminescence light source signal detection system based on LabVIEW and Arduino provided by the present invention;
[0039] Figure 5 Schematic diagram of the operating interface for the system provided by the invention to collect comprehensive data of single-bubble sonoluminescent light sources. DETAILED DESCRIPTION
[0040] The present invention will be further described below with reference to the embodiments and the accompanying drawings, but is not limited thereto.
[0041] Example 1
[0042] A low-intensity point light source signal detection system based on LabVIEW and Arduino, such as Figure 1As shown, it includes LabVIEW device control module, Arduino control module, light intensity signal sampling module, spectrum signal sampling module, image generation module, and data storage module;
[0043] The Arduino control module, the light intensity signal sampling module, the spectrum signal sampling module, the image generation module, and the data storage module are all interconnected with the LabVIEW device control module;
[0044] The Arduino control module is used to control the wavelength of the light output by the point light source and transmit the wavelength data to the LabVIEW device control module;
[0045] The spectral signal sampling module is used to collect the optical signal intensity of the point light source at different wavelengths and transmit the collected optical signal intensity to the LabVIEW device control module;
[0046] The light intensity signal sampling module is used to collect the continuous light signal intensity of the point light source that changes with time, and transmit the light signal intensity data and sampling time to the LabVIEW device control module, or to perform discrete sampling in the continuous light intensity signal and transmit the discrete sampled data (light intensity) to the LabVIEW device control module; the discrete sampled data is the light intensity of the point light source;
[0047] The image generation module is used to obtain the wavelength data, sampling time and light intensity data of the point light source output from the LabVIEW device control module, and generate spectrum data images, continuous light intensity signal data images, and discrete light intensity signal data images; Figure 5 As shown, the spectral data image is a trend diagram of the light intensity of a point light source as the wavelength changes, the continuous light intensity signal data image is a trend diagram of the light intensity of a point light source as time changes; the discrete light intensity signal data image is a trend diagram of the light intensity of a point light source as other parameters change, where other parameters can be set according to the actual usage scenario, such as the frequency and voltage of the signal generator. The signal generator is the equipment required for the single-bubble sonoluminescence experiment, and the frequency and voltage of the signal generator are important parameters of the single-bubble sonoluminescence experiment. Figure 5 As shown, the upper left corner is a discrete light intensity signal data image, the upper right corner is a continuous light intensity signal data image, and the two figures below are both discrete light intensity signal data images.
[0048] The data saving module is used to obtain the wavelength data, sampling time and light intensity data of the point light source output from the LabVIEW device control module and save them.
[0049] Example 2
[0050] A low-intensity point light source signal detection system based on LabVIEW and Arduino, which differs from Example 1 in that:
[0051] Used for signal acquisition of spectrum and light intensity of single-bubble sonoluminescence light source.
[0052] The single-bubble sonoluminescence signal is a tiny point source (on the order of μm) with extremely low light intensity. Its position varies under different experimental conditions, and in special cases, data measurement requires a moving point source. This point source is located in a complex acoustic environment containing fluids of varying composition. Conventional spectrometers cannot get close enough to the source to collect the optical signal. Furthermore, due to its unstable position and extremely low light intensity, it is impossible to couple the light. Therefore, measuring the spectrum is a key challenge in this research. This embodiment enables the acquisition of both the single-bubble sonoluminescence spectrum and the light intensity signal.
[0053] In this embodiment, Figure 4 As shown, the LabVIEW device control module includes a host computer, a signal generator, a digital oscilloscope, and a power amplifier. The signal generator and oscilloscope are devices specifically for single-bubble sonoluminescence. The signal generator and the digital oscilloscope are both connected to the host computer, and the signal generator is connected to the power amplifier. A first piezoelectric ceramic and a second piezoelectric ceramic are symmetrically arranged on both sides of the single-bubble sonoluminescence generator, and a third piezoelectric ceramic is arranged at the bottom of the single-bubble sonoluminescence generator. The power amplifier is connected to the first and second piezoelectric ceramics, and the digital oscilloscope is connected to the third piezoelectric ceramic.
[0054] In this embodiment, the single-bubble sonoluminescence generator is a flask, and the signal generator cooperates with the power amplifier to drive the piezoelectric ceramic. The piezoelectric ceramic vibrates and generates an ultrasonic field inside the flask. The digital oscilloscope measures the amplitude and frequency of the ultrasonic field inside the flask through the third piezoelectric ceramic. When the driving frequency and driving voltage of the signal generator are adjusted to the appropriate range, the bubbles in the liquid inside the flask can be captured and emit light in the center of the ultrasonic field, thus realizing single-bubble sonoluminescence.
[0055] The Arduino control module includes an Arduino control board and its expansion board, a stepper motor and a monochromator, and the Arduino control board and its expansion board, the stepper motor and the monochromator are connected in sequence. The Arduino control board and its expansion board control the stepper motor to drive the rotation of the monochromator, thereby controlling the wavelength of the output light of the monochromator light outlet, and transmitting the monochromator rotation data to the LabVIEW device control module.
[0056] The spectrum signal sampling module includes an optical signal detector and a digital multimeter (DMM). The optical signal detector is connected to the digital multimeter. The optical signal detector is set at the light outlet of the monochromator and converts the detected optical signal into an electrical signal and inputs it into the digital multimeter. Any electrical signal detector that can be recognized by the digital multimeter can be used here, so the selection range of optical signal detectors is wide;
[0057] In this embodiment, the optical signal detector is a photomultiplier tube detector (PMT), which has high sensitivity and can measure light signals of extremely low intensity.
[0058] The light intensity signal sampling module includes a photon counter, which detects the intensity of the light output from a point source. The photon counter has a high signal-to-noise ratio and high sensitivity, enabling the measurement of extremely low-intensity light signals.
[0059] The above-mentioned low-intensity point light source signal detection system based on LabVIEW and Arduino has both spectrum signal acquisition function and light intensity signal acquisition function.
[0060] The spectral signal sampling function is implemented as follows: the LabVIEW device control module controls the Arduino control module, which in turn controls the stepper motor, which in turn controls the monochromator. The Arduino control module feeds back the monochromator's rotation status to the LabVIEW device control module, which then calculates the wavelength of the optical signal at the monochromator's output after the rotation. Once the monochromator is controlled to rotate, the LabVIEW device control module's spectral signal sampling module collects the intensity of the optical signal at the monochromator's output and feeds this data back to the LabVIEW device control module. The LabVIEW device control module then sends the intensity and wavelength data to the image generation module and the data storage module. The image generation module plots an image with wavelength on the horizontal axis and light intensity on the vertical axis, and the data storage module stores the data.
[0061] The light intensity signal sampling function is implemented as follows: the LabVIEW device control module controls the light intensity signal sampling module to collect the continuous light signal intensity of the single-bubble sonoluminescence. The collected data is fed back to the LabVIEW device control module. The LabVIEW device control module sends the data and the collection time to the image generation module and the data storage module. The image generation module draws the continuous light intensity signal image, and the data storage module saves the data. The LabVIEW device control module controls the light intensity signal sampling module to perform discrete sampling in the continuous light intensity signal according to the instructions of the system operator. The collected data is fed back to the LabVIEW device control module. The LabVIEW device control module sends the sampled data to the image generation module and the data storage module. The image generation module draws the discrete light intensity signal image, and the data storage module saves the data.
[0062] Example 3
[0063] The working method of the low-intensity point light source signal detection system based on LabVIEW and Arduino provided in Example 2 includes:
[0064] like Figure 2 As shown, the method for implementing the spectrum signal sampling function includes the following steps:
[0065] S1, controls the monochromator to scan the spectrum range
[0066] S1-1: The LabVIEW device control module controls the Arduino control module, which in turn controls the stepper motor, which in turn drives the monochromator. The monochromator used in this embodiment is an MCOriel 1 / 4m, capable of spectrum scanning within the wavelength range of 265-1300 nm.
[0067] In step S1-2, the Arduino control module feeds the stepper motor's rotation status back to the LabVIEW device control module, which then calculates the wavelength of the optical signal at the optical output port. In this embodiment, the stepper motor subdivision is set to 128, the monochromator is set to 12.52 nm / 360°, and the wavelength position after rotation is calculated based on the initial wavelength position of the monochromator's optical output port.
[0068] S2, collect spectral signals
[0069] S2-1, the LabVIEW device control module controls the spectrum signal sampling module to measure the optical signal intensity at the monochromator light outlet, and the spectrum signal sampling module feeds the collected data back to the LabVIEW device control module;
[0070] S3, data image drawing and data storage
[0071] S3-1, the LabVIEW device control module sends the wavelength value and light intensity data of the monochromator light outlet to the image generation module and the data storage module. The image generation module draws a spectrum data image with the horizontal axis being the wavelength and the vertical axis being the light intensity. The data storage module saves the spectrum data.
[0072] S3-2, repeating steps S1-S3 until the monochromator completes the spectrum scanning, the image generation module generates a complete spectrum data image, and the data storage module saves the complete spectrum data.
[0073] like Figure 3 As shown, the method for implementing the light intensity signal sampling function includes the following steps:
[0074] S4, collect continuous light intensity signals
[0075] S4-1, the LabVIEW device control module controls the light intensity signal sampling module, and the light intensity signal sampling module controls the photon counter to collect the continuous light signal intensity of the single-bubble sonoluminescence;
[0076] S4-2, the light intensity signal sampling module sends the data and the acquisition time of each data to the LabVIEW device control module, and the LabVIEW device control module sends it to the image generation module and the data storage module. The image generation module draws a continuous light intensity signal image, and the data storage module saves the data;
[0077] S5, perform discrete data sampling according to the operation instructions
[0078] S5-1, the LabVIEW device control module controls the light intensity signal sampling module to perform discrete sampling in the continuous light intensity signal according to the instructions of the system operator, and feeds the sampled data back to the LabVIEW device control module after sampling. The LabVIEW device control module sends it to the image generation module and the data storage module. The image generation module draws the discrete light intensity signal image, and the data storage module saves the discrete light intensity data.
[0079] S5-2, repeating steps S4 to S5-1, can generate a continuous light intensity (time domain) signal data graph within a period of time and a discrete sampling light intensity data graph during the period and save them.
[0080] At this point, the entire working process of the low-intensity point light source signal detection system based on LabVIEW and Arduino is completed.
[0081] The present invention provides a detection and control system that can detect the light intensity and spectral signals of low-intensity tiny point light sources that cannot be detected at close range, have unfixed positions, and are difficult to detect. It overcomes the problems of common spectrometers on the market when dealing with such light sources, such as small light collection and great difficulty in optical coupling, and achieves high-precision detection of the spectrum and light intensity signals of such light sources.
Claims
1. A low-intensity point light source signal detection system based on LabVIEW and Arduino, characterized in that: The invention comprises a LabVIEW device control module, an Arduino control module, a light intensity signal sampling module, a spectrum signal sampling module, an image generation module and a data storage module; the Arduino control module, the light intensity signal sampling module, the spectrum signal sampling module, the image generation module and the data storage module are all interconnected with the LabVIEW device control module; the Arduino control module comprises a module for controlling the wavelength of light output by a point light source and transmitting the wavelength data to the LabVIEW device control module; the spectrum signal sampling module is used to collect the light signal intensity of the point light source at different wavelengths and transmit the collected light signal intensity to the LabVIEW device control module; the light intensity signal sampling module is used to collect the continuous light signal intensity of the point light source that changes with time and transmit the light signal intensity data and sampling time to the LabVIEW device control module, or transmit the light signal intensity data and sampling time to the LabVIEW device control module in the case of continuous light intensity. The optical signal is discretely sampled and the discretely sampled data is transmitted to the LabVIEW device control module; the light intensity signal sampling module includes a photon counter for detecting the intensity of the light output by the point light source; the spectrum signal sampling module includes a light signal detector and a digital multimeter, the light signal detector is connected to the digital multimeter, the light signal detector is arranged at the light outlet of the monochromator, and converts the detected light signal into an electrical signal and inputs it into the digital multimeter, and the digital multimeter inputs the electrical signal into the LabVIEW device control module; the image generation module is used to obtain the wavelength data, sampling time and light intensity data of the light output by the point light source from the LabVIEW device control module, and generate a spectrum data image, a continuous light intensity signal data image, and a discrete light intensity signal data image; the data storage module is used to obtain the wavelength data, sampling time and light intensity data of the light output by the point light source from the LabVIEW device control module and save them.
2. The low-intensity point light source signal detection system based on LabVIEW and Arduino according to claim 1, characterized in that: The low-intensity point light source is a single-bubble sonoluminescent light source.
3. The low-intensity point light source signal detection system based on LabVIEW and Arduino according to claim 1, characterized in that: The Arduino control module includes an Arduino control board and its expansion board, a stepper motor and a monochromator, and the Arduino control board and its expansion board, the stepper motor and the monochromator are connected in sequence. The Arduino control board and its expansion board control the stepper motor to drive the rotation of the monochromator, thereby controlling the wavelength of the output light of the monochromator light outlet, and transmitting the monochromator rotation data to the LabVIEW device control module.
4. The low-intensity point light source signal detection system based on LabVIEW and Arduino according to claim 1, characterized in that: The optical signal detector is a photomultiplier tube detector.
5. The working method of the low-intensity point light source signal detection system based on LabVIEW and Arduino according to any one of claims 1 to 4, characterized in that: include: 1) Collect the spectral signal of the point light source: Step 1-1: The LabVIEW device control module communicates with the Arduino control module. The Arduino control module controls the stepper motor to rotate and drives the monochromator to rotate. In step 1-2, the Arduino control module feeds back the monochromator rotation data to the LabVIEW device control module, which calculates the wavelength data of the optical signal after the monochromator's light outlet is rotated. Steps 1-3: The LabVIEW device control module controls the spectral signal sampling module to collect the light intensity signal at the light outlet of the monochromator, and the spectral signal sampling module feeds the collected data back to the LabVIEW device control module; Steps 1-4: The LabVIEW device control module transmits the wavelength data and light intensity data of the monochromator's light outlet to the image generation module and the data storage module. The image generation module draws the spectrum data image, and the data storage module saves the wavelength data and light intensity data. Step 1-5, repeating steps 1-1 to 1-4 until the monochromator completes scanning the set wavelength range, the image generation module generates a spectral data image of the set wavelength range, and the data storage module stores the spectral data within the set wavelength range; 2) Collect the light intensity signal of the point light source: Step 2-1, the LabVIEW device control module controls the light intensity signal sampling module to collect the continuous light intensity signal of the point light source; Step 2-2: The light intensity signal sampling module sends the collected light intensity data and time to the LabVIEW device control module. The LabVIEW device control module sends the collected light intensity data and time to the image generation module and the data storage module. The image generation module generates a continuous light intensity signal data image, and the data storage module saves the collected light intensity data and time. Step 2-3, the LabVIEW device control module controls the light intensity signal sampling module to perform discrete light intensity signal sampling in the continuous light intensity signal according to the instruction; Step 2-4: The light intensity signal sampling module sends the discrete light intensity signal data to the LabVIEW device control module. The LabVIEW device control module sends the discrete light intensity signal data to the image generation module and the data storage module. The image generation module generates an image of the discrete light intensity signal data, and the data storage module stores the discrete light intensity signal data. Step 2-5, repeat steps 2-1 to 2-4 to complete N times of light intensity discrete data sampling, the image generation module generates a continuous light intensity signal data image, and generates N times of discrete light intensity signal data images, and the data storage module saves the continuous light intensity signal data and N times of discrete light intensity signal data.