Search

CN-121994356-A - Intelligent scanning control method and system for spectrograph based on galvanometer

CN121994356ACN 121994356 ACN121994356 ACN 121994356ACN-121994356-A

Abstract

The invention relates to an intelligent scanning control method and system for a spectrometer based on a vibrating mirror, and belongs to the technical field of spectrum detection. The method comprises the steps of firstly controlling a vibrating mirror to execute global scanning once, obtaining a complete spectrum, identifying a characteristic peak, taking the complete spectrum as a center, automatically defining a local scanning wave band interval, recording the total integral power of the current spectrum as a reference, then controlling the vibrating mirror to conduct high-speed reciprocating scanning in the local interval, calculating the current total integral power in real time in the local scanning process, comparing the current total integral power with the reference value, maintaining a local scanning mode if the power change does not exceed a preset threshold value, automatically re-triggering global scanning if the power change exceeds the threshold value, and updating the position of the characteristic peak and the scanning interval. The corresponding system comprises modules of galvanometer scanning, spectrum acquisition, power monitoring, intelligent control and the like. The invention obviously reduces the ineffective scanning and the full stroke movement of the vibrating mirror, thereby realizing the great improvement of the scanning speed and effectively reducing the system power consumption and the mechanical abrasion.

Inventors

  • WU SHULIAN
  • LI HUI
  • LI ZHIFANG
  • LI WANGBIAO

Assignees

  • 福建师范大学

Dates

Publication Date
20260508
Application Date
20260306

Claims (10)

  1. 1. The intelligent scanning control method of the spectrometer based on the galvanometer is characterized by comprising the following steps of: s1, initializing a system, controlling a galvanometer to complete first global full-wave-band scanning, and collecting complete spectrum data; s2, analyzing the spectrum data, automatically identifying the wavelength of a protruding point or a characteristic peak of the spectrum as a central wavelength, and defining a local scanning wave band interval; s3, recording the total integrated power of the spectrum obtained by the current global scanning as reference power; s4, controlling the vibrating mirror to enter a local scanning mode, and performing reciprocating scanning only in a local scanning wave band interval; S5, calculating the total integral power of the current spectrum in real time in the local scanning process; S6, judging whether the difference value between the current total integrated power and the reference power exceeds a preset threshold value, if not, keeping local scanning, and if so, re-executing the step S1, and updating the central wavelength, the local scanning band interval and the reference power; s7, circularly executing the steps S4 to S6.
  2. 2. The intelligent scanning control method for the spectrograph based on the galvanometer according to claim 1, wherein in the step S1, the wavelength range of the global full-band scanning has a minimum value and a maximum value, and the scanning is performed with a fixed scanning step length, so as to obtain a series of wavelength points and corresponding light intensity data thereof.
  3. 3. The intelligent scanning control method for a spectrometer based on a galvanometer according to claim 1, wherein in the step S2, the method for automatically identifying the center wavelength of the protruding point or the characteristic peak of the spectrum includes calculating the first-order difference and the second-order difference of the spectrum data, searching for a wavelength point corresponding to a condition that the first-order difference value is close to zero and the second-order difference value is negative, and determining the wavelength point as the center wavelength.
  4. 4. The intelligent scanning control method for the spectrograph based on the galvanometer according to claim 1, wherein in the step S2, the method for defining the local scanning band interval comprises the steps of calculating the full width at half maximum of a spectrum convex point corresponding to a center wavelength, expanding the spectrum convex point to two sides by taking the center wavelength as a center, setting the width of the local scanning band interval to be twice the full width at half maximum, and taking a boundary value of global scanning as the boundary of the local scanning band interval if the boundary of the interval exceeds the wavelength range of global scanning.
  5. 5. The intelligent scanning control method for the spectrograph based on the galvanometer according to claim 1, wherein in the step S3 and the step S5, the total integrated power is obtained by performing an integration operation on the light intensity data in wavelength.
  6. 6. The intelligent scanning control method for the spectrograph based on the galvanometer according to claim 1 is characterized in that in the step S4, the galvanometer is controlled to enter a local scanning mode, specifically, a galvanometer deflection angle range corresponding to a local scanning wave band interval is calculated according to a linear mapping relation of wavelength and deflection angle, and the galvanometer is controlled to reciprocate only in the deflection angle range.
  7. 7. The intelligent scanning control method for the spectrograph based on the galvanometer according to claim 1, wherein in the step S6, the preset threshold is set as a preset proportion of the reference power, and whether the difference value exceeds the preset threshold is judged by calculating the change rate of the current total integrated power relative to the reference power, if the change rate does not exceed the preset proportion, the threshold is judged not to be exceeded, otherwise, the threshold is judged to be exceeded.
  8. 8. A galvanometer-based intelligent scanning control system for implementing the control method of any one of claims 1 to 7, comprising: The galvanometer scanning module comprises a high-speed deflection galvanometer, a grating and a driving circuit; the spectrum acquisition module is used for receiving the spectrum signals after the light splitting by the galvanometer scanning module and outputting spectrum data; the power monitoring module is connected with the spectrum acquisition module and is used for carrying out integral operation on the spectrum data in real time to obtain total integral power; the intelligent control unit is respectively connected with and controls the galvanometer scanning module, the spectrum acquisition module and the power monitoring module.
  9. 9. The intelligent scanning control system of a galvanometer-based spectrometer of claim 8, further comprising a light source module and an incident light path module, wherein light from the light source module is transmitted to the galvanometer scanning module via the incident light path module.
  10. 10. The intelligent scanning control system of the spectrometer based on the galvanometer according to claim 8, wherein the intelligent control unit is configured to identify a spectrum salient point and define a local scanning band interval according to data of the spectrum acquisition module, judge whether to trigger global rescanning according to total integrated power fed back by the power monitoring module, and output a control instruction to a driving circuit of the galvanometer scanning module to switch a scanning range.

Description

Intelligent scanning control method and system for spectrograph based on galvanometer Technical Field The invention relates to a spectrometer intelligent scanning control method and system based on a galvanometer. Background The existing galvanometer scanning type spectrometer generally adopts a full-band continuous repeated scanning mode, and each detection needs to drive a galvanometer to complete full-angle deflection so as to realize full-wavelength coverage. The method has the obvious defects of high scanning redundancy, large invalid data volume and low scanning speed, frequent full-stroke movement of the vibrating mirror, large mechanical loss and reduced service life, and in practical application, a user usually only pays attention to a spectrum salient point and a local wave band where a characteristic peak is located without continuous full-wave band scanning, and meanwhile, the existing equipment lacks a mechanism for automatically switching a scanning strategy according to the total power change of the spectrum, so that intelligent balance between high-speed detection and baseline stability cannot be realized. Therefore, it is difficult to meet the requirements of high-speed, low-loss, adaptive spectral detection in the prior art. Disclosure of Invention The invention aims to provide an intelligent scanning control method and system for a spectrograph based on a vibrating mirror, which can realize one-time global scanning positioning, normal local high-speed scanning of the vibrating mirror spectrograph, greatly improve the detection speed, automatically identify a protruding point/characteristic peak of the spectrograph, lock an effective wavelength division region, automatically execute global rescanning only when the total power is changed by taking the total power as a judging condition, reduce the full stroke movement of the vibrating mirror, reduce the power consumption and the mechanical loss, improve the stability of the system and prolong the service life of the system. In order to achieve the purpose, the technical scheme of the invention is that the intelligent scanning control method of the spectrometer based on the galvanometer comprises the following steps: s1, initializing a system, controlling a galvanometer to complete first global full-wave-band scanning, and collecting complete spectrum data; S2, analyzing the spectrum data, automatically identifying a wavelength lambda 0 of a spectrum bulge point or a characteristic peak, and defining a local scanning wave band interval [ lambda 1,λ2 ] by taking the wavelength lambda 0 as a center; s3, recording the total integrated power of the spectrum obtained by the current global scanning as reference power P_ref; S4, controlling the vibrating mirror to enter a local scanning mode, and performing reciprocating scanning only in a local scanning wave band interval [ lambda 1,λ2 ]; S5, calculating the total integral power P_current of the current spectrum in real time in the local scanning process; S6, judging whether the difference value between the current total integrated power P_current and the reference power P_ref exceeds a preset threshold value delta P, if not, maintaining local scanning, and if so, re-executing the step S1, and updating the protruding point wavelength lambda 0, the local scanning band interval [ lambda 1,λ2 ] and the reference power P_ref; s7, circularly executing the steps S4 to S6. Further, the wavelength range of the global full-band scanning has a minimum value and a maximum value, and is performed with a fixed scanning step length, so that a series of wavelength points and corresponding light intensity data thereof are obtained, specifically, the global full-band scanning wavelength range is [ lambda_min, lambda_max ], the scanning step length is delta lambda, the acquired spectrum data is I (lambda_i), wherein lambda_i=lambda_min+ (I-1) x delta lambda, i=1, 2. Further, in the step S2, the method for automatically identifying the center wavelength of the protruding point or the characteristic peak of the spectrum comprises the steps of calculating the first-order difference and the second-order difference of the spectrum data, searching a wavelength point corresponding to the condition that the first-order difference value is close to zero and the second-order difference value is negative, and determining the wavelength point as the center wavelength, and concretely, the specific method for identifying the protruding point wavelength lambda 0 comprises the steps of calculating the first-order difference delta I_i=I (lambda_ { i+1) }) -I (lambda_i) and the second-order difference delta 2 I_i=delta I_ { i+1} -delta I_i, and when the delta I_i is equal to 0 and delta 2 I_i <0, the corresponding wavelength lambda_i is the protruding point center wavelength lambda 0. Further, in the step S2, the method for defining the local scanning band interval comprises the steps of calculating the full width at half maximum of