Automatic optical path optimization system and method of UV-VIS spectrometer
Through dual-detector differential processing and adaptive filtering algorithms, the optical path parameters of the UV-VIS spectrometer are dynamically adjusted, solving the baseline drift problem caused by environmental interference in the optical path system during high-sensitivity detection, improving measurement accuracy and stability, and making it suitable for harsh industrial and laboratory scenarios.
Patent Information
- Application Number
- CN202510739685.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-09-16
AI Technical Summary
The optical path system of existing UV-VIS spectrometers is easily affected by ambient temperature and mechanical vibration in high-sensitivity detection scenarios, resulting in baseline drift and decreased measurement accuracy. Existing technologies cannot achieve long-term stable optical path energy transmission and real-time error compensation.
The system uses dual-detector real-time differential processing combined with an adaptive filtering algorithm. The condenser is switched by motor rotation. Combined with monitoring the maximum energy points of the deuterium and tungsten lamps, the optical path angle is automatically optimized and the optical path parameters are dynamically adjusted to compensate for environmental interference.
It improves measurement accuracy and light intensity utilization, reduces the frequency of manual recalibration, improves measurement signal-to-noise ratio and optical path transmission efficiency, and reduces hardware failure rate. It is suitable for industrial online monitoring and laboratory precision analysis.
Smart Images

Figure CN120651350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of spectral analysis, and in particular to an automatic optical path optimization system and method for a UV-VIS spectrometer. Background Art
[0002] Spectroscopic analysis technology is widely used in environmental monitoring, biomedicine, industrial testing and other fields. Its core is to quantitatively analyze the composition of a sample by measuring its absorption or scattering characteristics of light of a specific wavelength. Traditional spectral systems typically use a single detector structure and rely on a reference beam to correct for light source fluctuations. However, the stability of the optical path is easily affected by factors such as ambient temperature and mechanical vibration, resulting in baseline drift and reduced measurement accuracy. Especially in high-sensitivity detection scenarios (such as trace substance analysis), how to achieve long-term stable optical path energy transmission and real-time error compensation has become a key technical challenge.
[0003] In existing technologies, some spectral systems use a spectroscope to separate the light source into a reference path and a sampling path (e.g., patent CN201510023456.7), using dual detectors to receive signals separately to suppress light source fluctuations. Other solutions use a stepper motor to adjust the condenser angle (e.g., US20170184532A1), fixing the light path at a preset position. Furthermore, patent publication number JP2018013456A proposes combining photoelectric sensors with energy feedback to adjust the light path. However, this solution is optimized only for static environments and cannot adapt to dynamic interference. These technologies have significant shortcomings, as follows:
[0004] The dual-detector synergy efficiency is low: the reference and sampling signals are not dynamically differentially processed, and short-term sudden changes in the light source (such as LED thermal drift) will still lead to error accumulation;
[0005] Rigid optical path adjustment: Relying on preset mechanical positions or single calibration, it cannot cope with real-time offsets caused by temperature changes and vibrations, requiring frequent manual intervention.
[0006] Energy monitoring and execution are disconnected: Existing optical path optimization algorithms lack closed-loop control. For example, the actual energy gain is not verified after the stepper motor is adjusted, which makes it easy to fall into local optimality. Summary of the Invention
[0007] To address the aforementioned technical issues, a system and method for automatic optical path optimization for a UV-VIS spectrometer is provided. By using a motor to rotate and switch the condenser lens, a sensor to roughly position the lens, and monitoring the energy maximum points of the deuterium and tungsten lamps, the present invention automatically optimizes the switching angles of the tungsten and deuterium lamp paths, saving adjustment time, improving measurement accuracy, and increasing light intensity utilization.
[0008] The technical means adopted in the present invention are as follows:
[0009] An automatic optical path optimization system for a UV-VIS spectrometer includes: a light source module, a condenser adjustment module, a positioning detection module, an energy monitoring module, and a control module, wherein:
[0010] The light source module includes a deuterium lamp and a tungsten lamp, which are used for spectrum measurement in the ultraviolet and visible light regions respectively;
[0011] The condenser adjustment module includes a rotatable condenser and a pitch angle adjustment mechanism, wherein the rotatable condenser is mechanically connected to the stepping motor through a connector; the pitch angle adjustment mechanism is used to fine-tune the tilt angle of the condenser;
[0012] The positioning detection module includes a photoelectric sensor group for coarse positioning of the initial position of the rotatable condenser, with a positioning error ≤ ± a set value;
[0013] The energy monitoring module includes a reference detector and a sampling detector, which collects the light intensity signals of the deuterium lamp and the tungsten lamp in real time;
[0014] The control module is electrically connected to the stepper motor, the photoelectric sensor group and the energy monitoring module, and is used to execute the optical path automatic optimization algorithm, dynamically adjust the optical path parameters, and ensure that the system always operates in the best performance state.
[0015] Furthermore, the pitch angle adjustment mechanism includes a condenser pitch adjustment screw and a condenser bonding seat; the connecting member includes a first connecting member, a second connecting member and a motor connecting member, wherein:
[0016] The first connecting member serves as a transition connecting member between the condenser bracket and the rotation axis to achieve rigid fixation of the condenser pitch angle adjustment mechanism; the upper end of the first connecting member is fixed to the condenser adhesive seat through a threaded hole or a slot, ensuring that the pitch angle of the rotatable condenser can be fine-tuned by a screw; the lower end of the first connecting member is hinged to the second connecting member through a pin or a bolt, allowing the second connecting member to drive the rotatable condenser to rotate as a whole;
[0017] The second connecting member transmits the rotational motion of the stepper motor to the rotatable condenser and simultaneously bears the pitch adjustment torque of the first connecting member; the front side of the second connecting member is hinged to the first connecting member to form a revolute pair, and the rear side of the second connecting member is rigidly fixed to the motor connecting member via a flange or a keyway to ensure that there is no reverse transmission gap;
[0018] The motor connector serves as a torque transmission hub between the stepper motor and the second connector; the motor connector includes a motor end and a condenser end. The motor end is connected to the stepper motor output shaft through a coupling or direct socketing. The condenser end and the second connector are fixed by high-precision bolts, and the contact surface is processed into a V-groove to improve coaxiality.
[0019] Furthermore, the rotation range of the rotatable condenser is 0-360°, the circular motion of the rotatable condenser is achieved through a motor connector, and the rotation axis is coplanar with the light-emitting points of the tungsten lamp and the deuterium lamp.
[0020] Furthermore, the photoelectric sensor group includes a position sensor and a position sensor sheet, wherein:
[0021] The position sensor is fixed on the lamp house casting, and the cut position sensor piece is fixed on the second connecting piece or the motor connecting piece. The installation position of the cut position sensor piece is aligned with the initial zero point of the rotatable condenser to ensure that the rotatable condenser is in the correct calibration position when the position sensor is triggered. The two work together to realize the zero point calibration and angle detection of the rotatable condenser.
[0022] Furthermore, the reference detector and sampling detector respectively receive spectroscopic signals from the same light source, and their output signals are differentially processed to achieve dynamic baseline correction, wherein the reference detector is directly connected to the light source feedback circuit, and the sampling detector communicates with the control module through a digital interface.
[0023] Furthermore, the optical path automatic optimization algorithm includes:
[0024] The mechanical zero point is located by the photoelectric sensor group, and combined with the light intensity signal fed back by the energy monitoring module, the stepper motor is controlled to perform local scanning to lock the energy peak, and the angle of the rotatable condenser is dynamically adjusted to compensate for environmental interference.
[0025] The present invention also provides an automatic light path optimization method for a UV-VIS spectrometer implemented based on the automatic light path optimization system of the UV-VIS spectrometer, comprising:
[0026] S1. After powering on, the photoelectric sensor group roughly positions the rotatable condenser to the initial position;
[0027] S2: The motor drives the rotatable condenser to quickly move to the theoretical position of the deuterium lamp. It rotates at a preset step size within a certain angle range to collect energy. The linear search method is used to determine the maximum point of the deuterium lamp intensity and lock the optimal angle of the rotatable condenser.
[0028] S3: A motor drives the rotatable condenser to quickly move to the theoretical position of the tungsten lamp. It rotates within a certain angle range at a preset step size to collect energy and pre-process the data using a moving average filter. A linear search method is then used to determine the maximum point of the tungsten lamp intensity. Finally, the half-width peak determination method is used to correct the peak position and lock the optimal angle of the rotatable condenser.
[0029] S4. Store the optimized parameters and feed them back to the spectrometer main control system.
[0030] Furthermore, step S2 specifically includes:
[0031] S21, define the photoelectric sensor position as the absolute zero point, recorded as Position_ABS;
[0032] S22, controlling the stepper motor to drive the first rotatable condenser to rotate counterclockwise by a preset angle, recording the energy value as Data_0, and recording the position as Position_0;
[0033] S23, move toward the deuterium lamp N times, and each time drive the rotatable condenser to rotate clockwise toward the deuterium lamp by a set angle, rotate to a preset angle range, collect light intensity data and record the energy values as Data_1 to Data_N, and record the positions as Position_1 to Position_N.
[0034] S24. Determine the maximum light intensity point by linear search method:
[0035] Take the first element as the maximum value Data_MAX and record the current element position Position_MAX; start from the second element and traverse the remaining elements. If it is greater than the maximum value, update the maximum value and current position;
[0036] S25. Calculate the corrected position. The calculation formula is as follows:
[0037] Position_Calib=Position_MAX–25;
[0038] S26. Move the rotatable condenser to Position_ABS and perform position correction according to the calculated correction position. If Position_Calib is a positive number, it means moving in the clockwise direction. If Position_Calib is a negative number, it means moving in the counterclockwise direction. After correction, the current position is the position with the highest deuterium light intensity.
[0039] Furthermore, step S3 specifically includes:
[0040] S31, defining the deuterium lamp path position optimized in step S2 as the absolute zero point;
[0041] S32, controlling the stepper motor to drive the rotatable condenser to rotate counterclockwise toward the tungsten lamp by a preset angle, recording the energy value as Data_0, and recording the position as Position_0;
[0042] S33, move toward the tungsten lamp M times, and each time drive the rotatable condenser to rotate counterclockwise by a set angle toward the tungsten lamp, rotate to a preset angle range, collect light intensity data and record the energy values as Data_1 to Data_M, and record the positions as Position_1 to Position_M;
[0043] S34, use moving average filtering, set the window length to 5, take the current data as the center point, take the two adjacent values on the left and right to calculate the average value, the calculation formula is as follows:
[0044]
[0045] Among them, n represents the current position, i represents the relative position of the current position, and x i Indicates energy value;
[0046] S35. Determine the maximum tungsten light intensity point using a linear search method:
[0047] Take the first element as the maximum value Data_MAX and record the current element position Position_MAX; start traversing the remaining elements from the second element. If it is greater than the maximum value, update the maximum value and current position. The traversal ends and the peak position Position_MAX and energy value Data_MAX are determined.
[0048] S36, half-height width peak determination, determine the optimal position of the tungsten lamp path:
[0049] Starting from Position_MAX, search for the first position below Data_MAX / 2 on both sides, and take the midpoint of the two positions as the final peak position Position_Calib;
[0050] S37. Calculate the optimal optical path position of the tungsten lamp. The calculation formula is as follows:
[0051] Position_W=Position_0+Position_Calib.
[0052] Compared with the prior art, the present invention has the following advantages:
[0053] 1. The present invention adopts dual detectors (reference optical path + sampling optical path) for real-time differential processing, combined with an adaptive filtering algorithm, to eliminate sudden fluctuations of the light source (such as LED temperature drift and unstable power supply) at the hardware level, greatly improving baseline stability and increasing the measurement signal-to-noise ratio (SNR) by more than 40%.
[0054] 2. The present invention drives the stepper motor through the control module to perform real-time micro-angle scanning (±5°) on the rotatable concentrator. In conjunction with the feedback from the energy monitoring module, a gradient ascent algorithm is used to quickly lock the optimal focusing angle, so that the optical path transmission efficiency is always maintained at ≥95%, reducing the frequency of manual recalibration.
[0055] 3. The present invention uses a position sensor to trigger the position sensor to automatically locate the mechanical zero point by cutting the position sensor sheet, and completes the calibration within 3 seconds through the micro-step compensation of the stepping motor (0.1° accuracy). At the same time, it monitors the abnormal motor torque and actively shuts down for protection, reducing the hardware failure rate by more than 50%.
[0056] In summary, through the combination of hardware collaboration (dual detectors + stepper motors + sensor groups) and intelligent algorithms (dynamic differentiation + closed-loop optimization), compared with existing technologies, breakthroughs have been achieved in four aspects: accuracy, stability, anti-interference and reliability. It is suitable for harsh scenarios such as industrial online monitoring and laboratory precision analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0058] Figure 1 Schematic diagram of the overall structure of the system of the present invention.
[0059] Figure 2 This is a structural schematic diagram of the condenser adjustment module of the present invention.
[0060] Figure 3 This is a schematic diagram of the location of the positioning detection module of the present invention.
[0061] Figure 4 This is a flow chart for automatic optimization of the deuterium lamp path of the present invention.
[0062] Figure 5 The deuterium lamp intensity before and after optimization for the present invention.
[0063] Figure 6 This is a flow chart for automatic optimization of the tungsten lamp path of the present invention.
[0064] Figure 7 The tungsten light intensity before and after the optimization is carried out for the present invention.
[0065] In the figure: 1. Tungsten lamp; 2. Deuterium lamp; 3. Rotatable condenser; 4. Filter; 5. Entrance slit; 6. Grating; 7. Exit slit; 8. Condenser; 9. Reference detector; 10. Spectrometer; 11. Circulation cell; 12. Sampling detector; 13. Position sensor; 14. Lamp housing casting; 15. Stepper motor; 16. Cut position sensor sheet; 17. Condenser pitch adjustment screw; 18. Condenser adhesive base; 19. First connecting piece; 20. Second connecting piece; 21. Motor connecting piece. DETAILED DESCRIPTION
[0066] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0067] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0068] The present invention provides an automatic optical path optimization system for a UV-VIS spectrometer, comprising: a light source module, a condenser adjustment module, a positioning detection module, an energy monitoring module, and a control module, wherein:
[0069] The light source module includes a deuterium lamp 2 and a tungsten lamp 1, which are used for spectrum measurement in the ultraviolet and visible light regions respectively;
[0070] The condenser adjustment module includes a rotatable condenser 3 and a pitch angle adjustment mechanism, wherein the rotatable condenser 3 is mechanically connected to the stepping motor 15 through a connector; the pitch angle adjustment mechanism is used to fine-tune the tilt angle of the rotatable condenser 3;
[0071] The positioning detection module includes a photoelectric sensor group for coarse positioning of the initial position of the rotatable condenser 3, with a positioning error ≤ a set value. In this embodiment, the set value is ±2°;
[0072] The energy monitoring module includes a reference detector 9 and a sampling detector 12, which collects the light intensity signals of the deuterium lamp and the tungsten lamp in real time;
[0073] The control module is electrically connected to the stepper motor 15, the photoelectric sensor group and the energy monitoring module, and is used to execute the optical path automatic optimization algorithm, dynamically adjust the optical path parameters, and ensure that the system always operates in the best performance state.
[0074] In this embodiment, if Figure 1 As shown, the tungsten lamp 1 provides a visible light source with a wavelength range of 320-900nm and is fixed by the lamp housing casting 14; the deuterium lamp 2 provides an ultraviolet light source with a wavelength range of 160-360nm and is installed at an angle to the tungsten lamp; the rotatable condenser 3 is a rotatable parabolic mirror with an aluminum-coated reflective surface and is driven to rotate by a stepper motor 15; the filter 4 is a filter group for eliminating stray light and is located between the rotatable condenser 3 and the incident slit 5; the incident slit 5 is used to control the light flux entering the monochromator; the grating 6 is a UV-enhanced holographic grating, which is responsible for splitting the light; the exit slit 7 matches the width of the incident slit 5 and outputs monochromatic light; the condenser 8 is a fixed condenser for converging the light path to the detector direction; the reference detector 9 monitors the stability of the light source in real time; the beam splitter 10 directs 50% of the light intensity to the flow cell 11; the flow cell 11 is used to place the sample to be tested; the sampling detector 12 is the same model as the reference detector and receives the light signal after the sample absorbs.
[0075] When specifically implemented, as a preferred embodiment of the present invention, Figure 2 As shown, the pitch angle adjustment mechanism includes a condenser pitch adjustment screw 17 and a condenser adhesive seat 18; the connecting parts include a first connecting part 19, a second connecting part 20 and a motor connecting part 21, wherein:
[0076] The first connecting member 19 serves as a transitional connecting member between the condenser support and the rotation axis to achieve rigid fixation of the condenser pitch angle adjustment mechanism; the upper end of the first connecting member 19 is fixed to the condenser adhesive seat 18 through a threaded hole or a slot, ensuring that the pitch angle of the rotatable condenser 3 can be fine-tuned by a screw 17; the lower end of the first connecting member 19 is hinged to the second connecting member 20 through a pin or a bolt, allowing the second connecting member 20 to drive the rotatable condenser 3 to rotate as a whole;
[0077] The second connecting member 20 transmits the rotational motion of the stepper motor 15 to the rotatable condenser 3, while also bearing the pitch adjustment torque of the first connecting member 19. The front side of the second connecting member 20 is hinged to the first connecting member 19 to form a revolute pair (the rotation axis is perpendicular to the optical axis of the condenser), and the rear side of the second connecting member 20 is rigidly fixed to the motor connecting member 21 via a flange or keyway to ensure that there is no reverse transmission gap.
[0078] The motor connector 21 serves as a torque transmission hub between the stepper motor 15 and the second connector 20; the motor connector 21 includes a motor end and a condenser end. The motor end is connected to the output shaft of the stepper motor 15 through a coupling or direct socketing, and is locked with a top screw to prevent loosening. The condenser end and the second connector 20 are fixed by high-precision bolts (such as M3 hexagonal sockets).
[0079] In this embodiment, the stepper motor 15 is a two-phase hybrid stepper motor connected to the rotating shaft via a coupling; the condenser pitch adjustment screw 17 is an M3 precision adjustment screw used to manually fine-tune the pitch angle of the rotatable condenser 3; the condenser adhesive base 18 fixes the rotatable condenser 3 with epoxy resin glue; the first connecting member 19 is a transition connecting member between the motor shaft and the rotating shaft, eliminating axial clearance; the second connecting member 20 is a positioning bracket for the condenser rotating shaft and the condenser adhesive base 18;
[0080] In specific implementation, as a preferred embodiment of the present invention, the rotation range of the rotatable condenser 3 is 0-360°, the circular motion of the rotatable condenser 3 is achieved by the motor connector 21, and the rotation axis is coplanar with the light-emitting points of the tungsten lamp 1 and the deuterium lamp 2.
[0081] In specific implementation, as a preferred embodiment of the present invention, the photoelectric sensor group includes a position sensor 13 and a position sensor piece 16, wherein:
[0082] like Figure 3 As shown, the position sensor 13 is fixed to the lamp housing casting 14. The position sensor piece 16 is fixed to the second connecting piece 20 or the motor connecting piece 21. The installation position of the position sensor piece 16 is aligned with the initial zero point of the rotatable condenser 3 (such as the 0° optical path entrance), ensuring that the rotatable condenser 3 is in the correct calibration position when the position sensor 13 is triggered. The two cooperate to achieve zero point calibration and angle detection of the rotatable condenser 3.
[0083] In specific implementation, as a preferred embodiment of the present invention, the reference detector 9 and the sampling detector 12 respectively receive spectroscopic signals from the same light source, and their output signals are differentially processed to achieve dynamic baseline correction, wherein the reference detector 9 is directly connected to the light source feedback circuit, and the sampling detector 12 communicates with the control module through a digital interface.
[0084] In specific implementation, as a preferred embodiment of the present invention, the automatic optical path optimization algorithm includes: positioning the mechanical zero point through a photoelectric sensor group, combining the light intensity signal feedback from the energy monitoring module, controlling the stepper motor 15 to perform local scanning to lock the energy peak, and dynamically adjusting the angle of the rotatable condenser 3 to compensate for environmental interference.
[0085] The present invention also provides an automatic light path optimization method for a UV-VIS spectrometer implemented based on the automatic light path optimization system of the UV-VIS spectrometer, comprising:
[0086] S1. After powering on, the photoelectric sensor group roughly positions the rotatable condenser 3 to the initial position;
[0087] S2: The motor drives the rotatable condenser 3 to quickly move to the theoretical position of the deuterium lamp, rotates in a preset step size within a certain angle range, collects energy, and determines the maximum point of the deuterium lamp intensity through a linear search method, locking the optimal angle of the rotatable condenser 3;
[0088] S3: The motor drives the rotatable condenser 3 to quickly move to the theoretical position of the tungsten lamp. It rotates at a preset step size within a certain angle range to collect energy and pre-process the data using a moving average filter. The linear search method is then used to determine the maximum point of the tungsten lamp intensity. Finally, the half-height width peak determination method is used to correct the peak position and lock the optimal angle of the rotatable condenser 3.
[0089] S4. Store the optimized parameters and feed them back to the spectrometer main control system.
[0090] When specifically implemented, as a preferred embodiment of the present invention, Figure 4 As shown, the automatic optimization process of the optical path of the deuterium lamp 2, i.e., step S2, specifically includes:
[0091] S21, define the photoelectric sensor position as the absolute zero point, recorded as Position_ABS;
[0092] S22 , controlling the stepping motor 15 to drive the rotatable condenser mirror 3 to rotate counterclockwise by a preset angle, recording the energy value as Data_0, and recording the position as Position_0; in this embodiment, the preset angle is 3.125°.
[0093] S23. Move toward deuterium lamp 2 N times, each time driving rotatable condenser 3 to rotate clockwise by a set angle toward deuterium lamp 2, until the angle reaches a predetermined range. Collect light intensity data and record the energy values as Data_1 to Data_N, with the positions marked as Position_1 to Position_N. In this embodiment, the angle range is 5°-10°, resulting in a total rotation of 6.3°. If N = 50, collect light intensity data and record the energy values as Data_1 to Data_50, with the positions marked as Position_1 to Position_50.
[0094] S24. Determine the maximum light intensity point by linear search method:
[0095] Take the first element as the maximum value Data_MAX and record the current element position Position_MAX; start from the second element and traverse the remaining elements. If it is greater than the maximum value, update the maximum value and current position;
[0096] S25. Calculate the corrected position. The calculation formula is as follows:
[0097] Position_Calib=Position_MAX–N / 2;
[0098] S26, move the rotatable condenser 3 to Position_ABS, and perform position correction according to the calculated correction position result. If Position_Calib is a positive number, it means moving in the clockwise direction. If Position_Calib is a negative number, it means moving in the counterclockwise direction. After correction, the current position is the position where the light intensity of the deuterium lamp 2 is the highest. Figure 5 Shown are the light intensities of deuterium lamp 2 before and after optimization.
[0099] When specifically implemented, as a preferred embodiment of the present invention, Figure 6 FIG. 1 shows the automatic optimization process of the optical path of the tungsten lamp 1, namely step S3, which specifically includes:
[0100] S31, defining the deuterium lamp path position optimized in step S2 as the absolute zero point;
[0101] S32, control the stepper motor 15 to drive the rotatable condenser 3 to rotate counterclockwise toward the tungsten lamp 1 by a preset angle, record the energy value as Data_0, and record the position as Position_0; in this embodiment, the preset angle is 77°, and Position_0=616.
[0102] S33. Move toward the direction of tungsten lamp 1 M times, and each time drive the rotatable condenser 3 to rotate counterclockwise toward the direction of tungsten lamp 1 by a set angle, and rotate to the preset angle range value, collect light intensity data and record energy values as Data_1~Data_M, and record the positions as Position_1~Position_M; in this embodiment, the angle range value is 5°-10°, and in this embodiment, the total rotation is 7.5°; M=60, then collect light intensity data and record energy values as Data_1~Data_60, and record the positions as Position_1~Position_60.
[0103] S34, use moving average filtering, set the window length to 5, take the current data as the center point, take the two adjacent values on the left and right to calculate the average value, the calculation formula is as follows:
[0104]
[0105] Among them, n represents the current position, i represents the relative position of the current position, and x i Indicates the energy value; in this embodiment, the noise data is smoothed and filtered, and the optical path peak of the tungsten lamp 1 is optimized to prevent false detection of the half-peak height.
[0106] S35. Determine the maximum light intensity point of tungsten lamp 1 by linear search method:
[0107] Take the first element as the maximum value Data_MAX and record the current element position Position_MAX; start traversing the remaining elements from the second element. If it is greater than the maximum value, update the maximum value and current position. The traversal ends and the peak position Position_MAX and energy value Data_MAX are determined.
[0108] S36, half-height width peak determination, determine the optimal position of the tungsten lamp 1 optical path:
[0109] Starting from Position_MAX, search for the first position below Data_MAX / 2 on both sides, and take the midpoint of the two positions as the final peak position Position_Calib;
[0110] S37. Calculate the optimal optical path position of the tungsten lamp 1. The calculation formula is as follows:
[0111] Position_W=Position_0+Position_Calib;
[0112] like Figure 7 As shown, the light intensity of the tungsten lamp 1 before and after optimization.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An automatic optical path optimization system for a UV-VIS spectrometer, characterized in that: include: Light source module, condenser adjustment module, positioning detection module, energy monitoring module and control module, wherein: The light source module comprises a deuterium lamp (2) and a tungsten lamp (1), which are used for spectrum measurement in the ultraviolet and visible light regions respectively; The condenser adjustment module comprises a rotatable condenser (3) and a pitch angle adjustment mechanism, wherein the rotatable condenser (3) is mechanically connected to a stepper motor (15) via a connecting member; and the pitch angle adjustment mechanism is used to fine-tune the tilt angle of the condenser; The positioning detection module includes a photoelectric sensor group for coarse positioning of the initial position of the condenser, with a positioning error ≤ ± a set value; The energy monitoring module includes a reference detector (9) and a sampling detector (12) for collecting light intensity signals of the deuterium lamp and the tungsten lamp in real time; The control module is electrically connected to the stepper motor (15), the photoelectric sensor group and the energy monitoring module, and is used to execute the optical path automatic optimization algorithm, dynamically adjust the optical path parameters, and ensure that the system always operates in the best performance state.
2. The automatic optical path optimization system for a UV-VIS spectrometer according to claim 1, characterized in that: The pitch angle adjustment mechanism includes a condenser pitch adjustment screw (17) and a condenser adhesive seat (18); the connecting member includes a first connecting member (19), a second connecting member (20) and a motor connecting member (21), wherein: The first connecting member (19) serves as a transition connecting member between the condenser support and the rotation axis, and realizes the rigid fixation of the condenser pitch angle adjustment mechanism; the upper end of the first connecting member (19) is fixed to the condenser adhesive seat (18) through a threaded hole or a slot, ensuring that the pitch angle of the rotatable condenser (3) can be fine-tuned by the screw (17); the lower end of the first connecting member (19) is hinged to the second connecting member (20) through a pin or a bolt, allowing the second connecting member (20) to drive the rotatable condenser (3) to rotate as a whole; The second connecting member (20) transmits the rotational motion of the stepping motor (15) to the rotatable condenser (3), and at the same time bears the pitch adjustment torque of the first connecting member (19); the front side of the second connecting member (20) is hinged to the first connecting member (19) to form a rotation pair, and the rear side of the second connecting member (20) is rigidly fixed to the motor connecting member (21) through a flange or a keyway to ensure that there is no reverse transmission gap; The motor connector (21) serves as a torque transmission hub between the stepper motor (15) and the second connector (20); the motor connector (21) includes a motor end and a condenser end, the motor end is connected to the output shaft of the stepper motor (15) through a coupling or a direct sleeve connection, and the condenser end and the second connector (20) are fixed by high-precision bolts, and the contact surface is processed into a V-groove to improve coaxiality.
3. The automatic optical path optimization system for a UV-VIS spectrometer according to claim 2, characterized in that: The rotation range of the rotatable condenser (3) is 0-360 degrees, and the circular motion of the rotatable condenser (3) is achieved through the motor connector (21), and the rotation axis is coplanar with the light emitting points of the tungsten lamp (1) and the deuterium lamp (2).
4. The automatic optical path optimization system for a UV-VIS spectrometer according to claim 1, characterized in that: The photoelectric sensor group includes a position sensor (13) and a position sensor sheet (16), wherein: The position sensor (13) is fixed on the lamp chamber casting (14), and the position sensor piece (16) is fixed on the second connecting piece (20) or the motor connecting piece (21). The installation position of the position sensor piece (16) is aligned with the initial zero point of the rotatable condenser (3), ensuring that the rotatable condenser (3) is in the correct calibration position when the position sensor (13) is triggered. The two cooperate to realize the zero point calibration and angle detection of the rotatable condenser (3).
5. The automatic optical path optimization system for a UV-VIS spectrometer according to claim 1, characterized in that: The reference detector (9) and the sampling detector (12) respectively receive spectroscopic signals from the same light source, and their output signals are subjected to differential processing to achieve dynamic baseline correction, wherein the reference detector (9) is directly connected to the light source feedback circuit, and the sampling detector (12) communicates with the control module through a digital interface.
6. The automatic optical path optimization system for a UV-VIS spectrometer according to claim 1, characterized in that: The optical path automatic optimization algorithm includes: The mechanical zero point is positioned by a photoelectric sensor group, and combined with the light intensity signal fed back by the energy monitoring module, the stepping motor (15) is controlled to perform local scanning to lock the energy peak, and the angle of the rotatable condenser (3) is dynamically adjusted to compensate for environmental interference.
7. A method for automatic light path optimization of a UV-VIS spectrometer implemented by the automatic light path optimization system of the UV-VIS spectrometer according to any one of claims 1 to 6, characterized in that: include: S1. After powering on, the rotatable condenser (3) is roughly positioned to the initial position by the photoelectric sensor group; S2, the motor drives the rotatable condenser (3) to quickly move to the theoretical position of the deuterium lamp (2), rotates at a preset step length within a certain angle range, collects energy, and determines the maximum point of the light intensity of the deuterium lamp (2) through a linear search method, and locks the optimal angle of the rotatable condenser (3); S3, the motor drives the rotatable condenser (3) to quickly move to the theoretical position of the tungsten lamp (1), rotates at a preset step length within a certain angle range, collects energy, and pre-processes the data through a moving average filter, then uses a linear search method to determine the maximum point of the light intensity of the tungsten lamp (1), and finally uses a half-height width peak determination method to correct the peak position and lock the optimal angle of the rotatable condenser (3); S4. Store the optimized parameters and feed them back to the spectrometer main control system.
8. The automatic optical path optimization method of the UV-VIS spectrometer according to claim 7, characterized in that: Step S2 specifically includes: S21, define the photoelectric sensor position as the absolute zero point, recorded as Position_ABS; S22, controlling the stepping motor (15) to drive the rotatable condenser (3) to rotate counterclockwise by a preset angle, recording the energy value as Data_0, and recording the position as Position_0; S23, move toward the deuterium lamp (2) N times, and each time drive the rotatable condenser (3) to rotate clockwise toward the deuterium lamp (2) by a set angle, rotate to a preset angle range value, collect light intensity data and record the energy value as Data_1 to Data_N, and record the position as Position_1 to Position_N; S24. Determine the maximum light intensity point of the deuterium lamp (2) by linear search method: Take the first element as the maximum value Data_MAX and record the current element position Position_MAX; start from the second element and traverse the remaining elements. If it is greater than the maximum value, update the maximum value and current position; S25. Calculate the corrected position. The calculation formula is as follows: Position_Calib=Position_MAX–N / 2; S26. Move the rotatable condenser (3) to Position_ABS and perform position correction according to the calculated correction position result. If Position_Calib is a positive number, it means moving in the clockwise direction. If Position_Calib is a negative number, it means moving in the counterclockwise direction. After correction, the current position is the position where the light intensity of the deuterium lamp (2) is the highest.
9. The automatic optical path optimization method of the UV-VIS spectrometer according to claim 7, characterized in that: Step S3 specifically includes: S31, defining the deuterium lamp path position optimized in step S2 as the absolute zero point; S32, controlling the stepping motor (15) to drive the rotatable condenser (3) to rotate counterclockwise by a preset angle toward the tungsten lamp (1), recording the energy value as Data_0, and recording the position as Position_0; S33, move toward the tungsten lamp (1) M times, and each time rotate the condenser (3) counterclockwise toward the tungsten lamp (1) by a set angle, and rotate to a preset angle range value, collect light intensity data and record the energy value as Data_1 to Data_M, and record the position as Position_1 to Position_M; S34, use moving average filtering, set the window length to 5, take the current data as the center point, take the two adjacent values on the left and right to calculate the average value, the calculation formula is as follows: Among them, n represents the current position, i represents the relative position of the current position, and x i Indicates energy value; S35. Determine the maximum light intensity point of the tungsten lamp (1) by a linear search method: Take the first element as the maximum value Data_MAX and record the current element position Position_MAX; start traversing the remaining elements from the second element. If it is greater than the maximum value, update the maximum value and current position. The traversal ends and the peak position Position_MAX and energy value Data_MAX are determined. S36, half-height width peak determination, determine the optimal position of the tungsten lamp (1) light path: Starting from Position_MAX, search for the first position below Data_MAX / 2 on both sides, and take the midpoint of the two positions as the final peak position Position_Calib; S37. Calculate the optimal optical path position of the tungsten lamp (1). The calculation formula is as follows: Position_W=Position_0+Position_Calib.
Citation Information
Patent Citations
Indoor parking area vehicle locating and searching method based on nearest neighbor
CN104537875A
Battery state monitoring device, battery state monitoring system, battery state monitoring method and control program
JP2018013456A
Sensor array
US20170184532A1