Light source centering method of hollow cathode photoelectric spectrometer and related product
By correcting the light source position in three dimensions in a hollow cathode photoelectric spectrometer and utilizing multiple distance measurement methods and single-axis alignment technology, the instrument reliability problem caused by light source position offset was solved, achieving higher correction accuracy and reliability.
Patent Information
- Application Number
- CN202510944569.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-09
- Publication Date
- 2025-09-16
AI Technical Summary
The accuracy of light source position offset correction in existing hollow cathode photoelectric spectrometers is low, resulting in low instrument reliability.
By correcting the position of the hollow cathode lamp in three dimensions, using ultrasonic ranging, laser ranging, infrared ranging, radar ranging or machine vision methods to determine the distance between the lamp body and the origin and the barrel, combined with the single-axis alignment method, it is ensured that the spectral intensity is always maximized in all directions.
The accuracy of light source calibration is improved, thereby improving the reliability of hollow cathode photoelectric spectrometer.
Smart Images

Figure CN120651762A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of instrument technology, and in particular to a light source centering method for a hollow cathode photoelectric spectrometer and related products. Background Art
[0002] Hollow cathode photoelectric spectrometers enable quantitative analysis of trace and ultratrace elements in various fusible and refractory solid materials, such as high-temperature alloys, steel, aluminum alloys, titanium alloys, magnesium alloys, and pure metals. These spectrometers boast low detection limits, high sensitivity, and excellent stability, capable of simultaneously detecting and analyzing over 30 elements with spectral lines between 170 and 430 nm. They feature automatic electrode pretreatment, automatic optical path alignment, automatic spectral line tracing and calibration, real-time display of current-time and intensity-time curves, automatic start and stop, multi-spectral overlay, and powerful data processing. They provide a simple and efficient analytical tool for both production and scientific research in the field of solid material inspection and testing.
[0003] However, the instrument places high demands on the light source, requiring both stability and positional stability during use. In related technologies, the accuracy of light source positional offset correction is low, resulting in low reliability for hollow cathode photoelectric spectrometers. Summary of the Invention
[0004] Based on the above problems, the present application provides a light source centering method and related products for a hollow cathode photoelectric spectrometer to correct the offset of the light source position and improve the reliability of the hollow cathode photoelectric spectrometer.
[0005] The embodiments of this application disclose the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a method for centering a light source of a hollow cathode photoelectric spectrometer, the method comprising:
[0007] Obtaining a first centering position of the hollow cathode lamp in the first direction according to the distance between the hollow cathode lamp and the origin in the first direction and the distance between the hollow cathode lamp and the lens barrel; wherein the origin is the intersection of the first direction, the second direction, and the third direction;
[0008] Controlling the hollow cathode lamp to move to a first centering position in the first direction to obtain initial positions of the hollow cathode lamp in the second direction and the third direction respectively;
[0009] Based on the initial position of the hollow cathode lamp in the second direction, a single-axis centering method is used in the second direction to obtain a second centering position in which the spectral intensity in the second direction is always maximized;
[0010] Based on the initial position of the hollow cathode lamp in the third direction, a single-axis centering method is used in the third direction to obtain a third centering position that always maximizes the spectral intensity in the third direction;
[0011] The hollow cathode lamp is controlled to move to a second centering position in a second direction and to move to a third centering position in a third direction.
[0012] In one possible embodiment, a single shaft alignment method includes:
[0013] Taking the initial position h of the hollow cathode lamp in the second / third direction as the center, the hollow cathode lamp is scanned within the scanning range f to obtain a first spectrum intensity-position relationship diagram;
[0014] Obtain a first position H corresponding to the maximum spectral intensity in the first spectral intensity-position relationship diagram;
[0015] If the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the second / third direction is less than a preset threshold value θ, then scan the hollow cathode lamp within the scanning range f centered at the first position H n times to obtain a second spectral intensity-position relationship graph, where n is an integer greater than or equal to 3;
[0016] Obtaining second positions H1 to Hn corresponding to respective maximum spectral intensities in respective second spectral intensity-position relationship diagrams;
[0017] If the absolute difference between each two second positions H1 to Hn is also less than the preset threshold θ, the final first position H is the second / third centering position of the hollow cathode lamp in the second / third direction;
[0018] Otherwise, let the first position H be the initial position h, that is, h=H, and repeat the above steps until the second / third centering position of the hollow cathode lamp in the second / third direction is obtained.
[0019] In a possible embodiment, before obtaining a first centering position of the hollow cathode lamp in the first direction according to the distance between the hollow cathode lamp and the origin in the first direction and the distance between the hollow cathode lamp and the lens barrel, the method further includes:
[0020] Determine whether the light source of the hollow cathode photoelectric spectrometer needs to be aligned;
[0021] When the light source needs to be centered, initialize the parameters involved in the light source centering method;
[0022] After the parameter initialization is completed, start the hollow cathode photoelectric spectrometer;
[0023] When the hollow cathode photoelectric spectrometer is started up, replace the electrode;
[0024] When the electrode replacement is completed, set the excitation current;
[0025] Ignite the hollow cathode photoelectric spectrometer by a preset ignition current;
[0026] After ignition is completed, the ignition current becomes the set excitation current, and the excitation electrode emits strong light.
[0027] In a possible embodiment, starting a hollow cathode photoelectric spectrometer includes the following steps:
[0028] Obtain the temperature and vacuum degree of the optical chamber in the hollow cathode photoelectric spectrometer;
[0029] When the vacuum degree is greater than the vacuum degree threshold, the vacuum pump of the optical chamber is started; when the temperature exceeds the preset temperature range, the heating device is started to increase the temperature or the heat dissipation device is started to cool down until the temperature and vacuum degree in the optical chamber meet the requirements;
[0030] When the temperature and vacuum degree meet the requirements, start the vacuum pump and circulating water of the hollow cathode photoelectric spectrometer in sequence;
[0031] When water flow is detected in the water circuit, the gas cylinder valve, pressure dividing valve and flow meter switch are opened in sequence, and the solenoid valve and gas circuit adjustment switch in each gas circuit are controlled to keep the gas flow in the gas circuit within the preset gas flow range;
[0032] Online test between the hollow cathode photoelectric spectrometer and the computer to ensure normal communication between the hollow cathode photoelectric spectrometer and the computer.
[0033] In a possible embodiment, the method further includes:
[0034] When the hollow cathode photoelectric spectrometer fails to start, fails to ignite, or the fluctuation amplitude of the excitation current is greater than or equal to the preset fluctuation threshold, the current operation is immediately terminated and the instrument is automatically shut down, and then abnormal information is reported and displayed.
[0035] In a possible embodiment, the excitation current ranges from 100 to 800 mA.
[0036] In a possible embodiment, the distance between the hollow cathode lamp and the origin in the first direction may be obtained by any one of ultrasonic ranging, laser ranging, infrared ranging, radar ranging, and machine vision, or a combination thereof.
[0037] In a second aspect, an embodiment of the present application provides a light source centering device for a hollow cathode photoelectric spectrometer, comprising: a first acquisition module, a first control module, a second acquisition module, a second control module, a third acquisition module, and a third control module;
[0038] a first acquisition module, configured to obtain a first centering position of the hollow cathode lamp in the first direction based on a distance between the hollow cathode lamp and the origin in the first direction and a distance between the hollow cathode lamp and the lens barrel; wherein the origin is an intersection of the first direction, the second direction, and the third direction;
[0039] A first control module is used to control the hollow cathode lamp to move to a first centering position on the first direction track to obtain initial positions of the hollow cathode lamp in the second direction and the third direction respectively;
[0040] a second acquisition module, configured to obtain, based on the initial position of the hollow cathode lamp in the second direction, a second centering position in the second direction where the spectral intensity in the second direction is always maximized by using a single-axis centering method;
[0041] a second control module, for controlling the hollow cathode lamp to move to a second centering position on a second direction track;
[0042] a third acquisition module, configured to obtain, based on the initial position of the hollow cathode lamp in the third direction, a third centering position in the third direction where the spectral intensity in the third direction is always maximized by using a single-axis centering method in the third direction;
[0043] The third control module is used to control the hollow cathode lamp to move to a third centering position on the third directional track.
[0044] In a third aspect, an embodiment of the present application provides a control device comprising a processor and a memory, wherein the memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory to complete a light source centering method for a hollow cathode photoelectric spectrometer as in any embodiment of the first aspect.
[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which is loaded by a processor to execute a light source centering method for a hollow cathode photoelectric spectrometer as in any embodiment of the first aspect.
[0046] To improve the reliability of a hollow cathode photoelectric spectrometer, an embodiment of the present application provides a light source centering method for a hollow cathode photoelectric spectrometer. The method comprises: obtaining a first centering position of the hollow cathode lamp in the first direction based on the distance between the hollow cathode lamp and an origin in the first direction and the distance between the hollow cathode lamp and a lens barrel, wherein the origin is the intersection of the first, second, and third directions; controlling the hollow cathode lamp to move to the first centering position in the first direction to obtain initial positions of the hollow cathode lamp in the second and third directions, respectively; using a single-axis centering method in the second direction based on the initial position of the hollow cathode lamp in the second direction to obtain a second centering position that consistently maximizes the spectral intensity in the second direction; using a single-axis centering method in the third direction based on the initial position of the hollow cathode lamp in the third direction to obtain a third centering position that consistently maximizes the spectral intensity in the third direction; controlling the hollow cathode lamp to move to the second centering position in the second direction and to the third centering position in the third direction. The light source centering method for a hollow cathode photoelectric spectrometer in the embodiment of the present application corrects the offset of the light source in three dimensions, thereby improving the accuracy of light source calibration and thereby improving the reliability of the hollow cathode photoelectric spectrometer. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present application 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0048] Figure 1 A flow chart of a method for centering a light source of a hollow cathode photoelectric spectrometer provided in an embodiment of the present application;
[0049] Figure 2 A schematic diagram of a first direction, a second direction, and a third direction provided in an embodiment of the present application;
[0050] Figure 3 A flowchart of a single-axis alignment method in a second direction provided in an embodiment of the present application;
[0051] Figure 4 A first spectrum intensity-position relationship diagram of a second direction provided in an embodiment of the present application;
[0052] Figure 5 A second first spectrum intensity-position relationship diagram in a second direction provided in an embodiment of the present application;
[0053] Figure 6 A final first spectrum intensity-position relationship diagram of a second direction provided in an embodiment of the present application;
[0054] Figure 7 A second spectral intensity-position relationship diagram of a second direction provided in an embodiment of the present application;
[0055] Figure 8 A second spectrum intensity-position relationship diagram of another second direction provided in an embodiment of the present application;
[0056] Figure 9 A second spectrum intensity-position relationship diagram of another second direction provided in an embodiment of the present application;
[0057] Figure 10 A flowchart of a single-axis alignment method in a third direction provided in an embodiment of the present application;
[0058] Figure 11 A first spectral intensity-position relationship diagram of a third direction provided in an embodiment of the present application;
[0059] Figure 12 A second spectral intensity-position relationship diagram of a third direction provided in an embodiment of the present application;
[0060] Figure 13 A final spectral intensity-position relationship diagram of a third direction provided in an embodiment of the present application;
[0061] Figure 14 A second spectrum intensity-position relationship diagram in a third direction provided in an embodiment of the present application;
[0062] Figure 15 A second spectrum intensity-position relationship diagram of another third direction provided in an embodiment of the present application;
[0063] Figure 16 A second spectrum intensity-position relationship diagram of another third direction provided in an embodiment of the present application;
[0064] Figure 17 A flowchart of a method for centering a light source on a hollow cathode photoelectric spectrometer provided in an embodiment of the present application;
[0065] Figure 18 A schematic diagram of an excitation current after successful ignition provided in an embodiment of the present application;
[0066] Figure 19 A schematic diagram of a light source centering device for a hollow cathode photoelectric spectrometer provided in an embodiment of the present application;
[0067] Figure 20 A schematic diagram of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] In order to help those skilled in the art better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments 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 those skilled in the art without creative work are within the scope of protection of this application.
[0069] The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of objects. For example, "first switching device" and "second switching device" are used to distinguish different switching devices, rather than to describe a specific order of switching devices.
[0070] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0071] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0072] See also Figure 1 , which is a flow chart of a light source centering method for a hollow cathode photoelectric spectrometer provided in an embodiment of the present application.
[0073] like Figure 1 As shown, the method includes:
[0074] S100: Obtaining a first centering position of the hollow cathode lamp in the first direction according to a distance between the hollow cathode lamp and an origin in the first direction and a distance between the hollow cathode lamp and the lens barrel; wherein the origin is an intersection of the first direction, the second direction and the third direction.
[0075] In one possible implementation, the horizontal distance between the lamp body of the hollow cathode lamp and the lens barrel is set to β, and then any one of ultrasonic ranging, laser ranging, infrared ranging, radar ranging and machine vision or a combination thereof is used to determine the distance Q (the distance between the origin and the lamp body of the hollow cathode lamp) that the lamp body needs to move in the first direction (x-axis) with the cooperation of the ranging algorithm, so that the horizontal distance between the lamp body of the hollow cathode lamp and the lens barrel is β, and Q is the first centering position of the lamp body in the first direction (x-axis).
[0076] In this embodiment, let β = 2 mm. With the cooperation of laser ranging technology and ranging algorithm, it is determined that the distance Q that the lamp body needs to move in the first direction (x-axis) is 50 mm. The laser ranging sensor uses a micron-level high-precision laser ranging displacement sensor.
[0077] like Figure 2 As shown, it should be understood that the first direction, the second direction, and the third direction in the embodiment of the present application correspond to the first direction track 208, the second direction track 205, and the third direction track 211, respectively. The first direction track 208, the second direction track 205, and the third direction track 211 are respectively used to support the hollow cathode lamp to move in the first direction (x-axis), the second direction (y-axis), and the third direction (z-axis).
[0078] S200: Control the hollow cathode lamp to move to a first centering position in the first direction, and obtain initial positions of the hollow cathode lamp in the second direction and the third direction respectively.
[0079] For example, in this embodiment, let X=Q, and control the lamp body of the hollow cathode to move to the coordinate P0 (X, 0, 0) corresponding to the first centering position.
[0080] S300: Based on the initial position of the hollow cathode lamp in the second direction, a single-axis centering method is used in the second direction to obtain a second centering position that always maximizes the spectral intensity in the second direction.
[0081] It should be understood that the use of the single-axis alignment method in the second direction (y-axis) is consistent with the use of the single-axis alignment method in the third direction (z-axis). The specific processes of using the single-axis alignment method in the second direction (y-axis) and in the third direction (z-axis) are introduced below.
[0082] For example, in this embodiment, the final second centering position (final first position H value) of the hollow cathode lamp in the second direction (y-axis) is 0.10 mm.
[0083] like Figure 3 As shown, the single-axis alignment method in the second direction (y-axis) includes steps S310-S380:
[0084] S310: Parameter initialization, ie, reading the set values of the initial position h of the lamp body of the hollow cathode lamp in the second direction (y-axis), the scanning range f, the stop threshold θ, etc.
[0085] For example, in this embodiment, it is assumed that h=0 mm, f=10 mm, and θ=0.3 mm.
[0086] S320: Scanning the hollow cathode lamp within a scanning range f with the initial position h of the hollow cathode lamp in the second direction (y-axis) as the center to obtain a first spectrum intensity-position relationship diagram.
[0087] For example, in this embodiment, the hollow cathode lamp is scanned within a scanning range of f = 10 mm with the initial position h = 0 mm of the hollow cathode lamp in the second direction (y axis) as the center, and the first spectrum intensity-position relationship diagram in the second direction (y axis) is obtained, as shown in FIG. Figure 4 shown.
[0088] S330: Obtain a first position H corresponding to the maximum spectral intensity in the first spectral intensity-position relationship diagram.
[0089] For example, in this embodiment, Figure 4 In the figure, the maximum spectral intensity is 804.20, and the corresponding position is 2.29 mm, that is, the first position H at this time is 2.29 mm.
[0090] S340: Determine the position where the spectral intensity of the hollow cathode lamp in the second direction (y-axis) is always the largest, that is, determine the relationship between the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the second direction (y-axis) and the preset threshold θ:
[0091] If the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the second direction (y-axis) is less than the preset threshold θ, then the first position H at this time is the position where the spectral intensity of the hollow cathode lamp in the second direction (y-axis) is always the maximum; otherwise, let the first position H be the initial position h, that is, h=H, and repeat steps S320-S340 until the position where the spectral intensity of the hollow cathode lamp in the second direction (y-axis) is always the maximum is obtained.
[0092] In this embodiment, Figure 4 In the figure, the maximum spectral intensity is 804.20, and its corresponding position is 2.29mm, that is, the first position H at this time is 2.29mm. Since |Hh|=|2.29-0|=2.29mm>θ=0.3mm, we set h=H=2.29mm and repeat steps S320-S340 to obtain the second first spectral intensity-position relationship diagram in the second direction (y-axis), as shown in Figure 5 shown.
[0093] exist Figure 5In the figure, the maximum spectral intensity is 901.04, and its corresponding position is 1.09 mm, that is, the first position H at this time is 1.09 mm. Since |Hh|=|1.09-2.29|=1.20mm>θ=0.3mm, we set h=H=1.09mm and repeat steps S320-S340 until |Hh|<θ, and obtain the final first spectral intensity-position relationship diagram in the second direction (y-axis), as shown in the figure. Figure 6 shown.
[0094] exist Figure 6 In the figure, the maximum spectral intensity is 897.00, and the corresponding position is 0.10 mm. At this time, there is a first position H=h=0.10 mm, that is, the spectral intensity of the hollow cathode lamp in the second direction (y-axis) is always the largest, and the corresponding position is 0.10 mm.
[0095] S350: If the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the second direction (y-axis) is less than the preset threshold θ, the hollow cathode lamp is scanned n times within the scanning range f with the first position H as the center to obtain a second spectral intensity-position relationship diagram, where n is an integer greater than or equal to 3.
[0096] For example, in this embodiment, Figure 6 In the figure, the maximum spectral intensity is 897.00, and its corresponding position is 0.10mm. At this time, the first position H = h = 0.10mm. Since |Hh| = |0.10-0.10| = 0.00mm < θ = 0.3mm, we can obtain the second spectral intensity-position relationship diagram by scanning the hollow cathode lamp three times with the first position h = H = 0.10mm as the center and within the scanning range f = 10mm, as shown in the figure. Figures 7 to 9 shown.
[0097] It should be understood that the three scans in the embodiment of the present application are merely exemplary, and the number of scans is not limited in the embodiment of the present application.
[0098] S360: Obtaining second positions H1 to Hn corresponding to respective maximum spectral intensities in respective second spectral intensity-position relationship diagrams.
[0099] For example, in this embodiment, Figures 7 to 9 In the figure, the corresponding maximum spectral intensities are 897.00, 897.00, and 897.00, respectively, and the corresponding positions are 0.10 mm, 0.10 mm, and 0.10 mm, respectively, that is, H1=H2=H3=0.10 mm.
[0100] S370: Determine the second centering position of the hollow cathode lamp in the second direction (y-axis), that is, determine the relationship between the absolute difference between each two second positions H1 to Hn and the preset threshold θ:
[0101] If the absolute difference between each two second positions in the second positions H1~Hn is also less than the preset threshold θ, then the final first position H in step S340 is the second centering position of the hollow cathode lamp in the second direction (y-axis); otherwise, let the first position H be the initial position h, that is, h=H, and repeat steps S320~S370 until the second centering position of the hollow cathode lamp in the second direction (y-axis) is obtained.
[0102] For example, in this embodiment, Figures 7 to 9 In, due to:
[0103] |H2-H1|=|0.10-0.10|=0.00mm<θ=0.3mm
[0104] |H3-H1|=|0.10-0.10|=0.00mm<θ=0.3mm
[0105] |H3-H2|=|0.10-0.10|=0.00mm<θ=0.3mm
[0106] That is, in the second positions H1~H3, the absolute difference between each two second positions is also less than the preset threshold θ, so the final first position H=0.10mm in step S340 is the second centering position of the hollow cathode lamp in the second direction (y-axis), that is, the second centering position of the hollow cathode lamp in the second direction (y-axis) is 0.10mm.
[0107] S380: Save and output the final first position H value, and end the single-axis alignment method.
[0108] S400: Based on the initial position of the hollow cathode lamp in the third direction, a single-axis centering method is used in the third direction to obtain a third centering position that always maximizes the spectral intensity in the third direction.
[0109] For example, in this embodiment, the final third centering position (final first position H value) of the hollow cathode lamp in the third direction (z-axis) is -0.10 mm.
[0110] Similarly, if Figure 10 As shown, the single-axis alignment method in the third direction (z-axis) includes steps S410-S480:
[0111] S410: Parameter initialization, that is, reading the set values of the initial position h of the hollow cathode lamp body in the third direction (z axis), the scanning range f, the stop threshold θ, etc.
[0112] For example, in this embodiment, it is assumed that h=0 mm, f=10 mm, and θ=0.3 mm.
[0113] S420: Scanning the hollow cathode lamp within a scanning range f with the initial position h of the hollow cathode lamp in the third direction (z axis) as the center to obtain a first spectrum intensity-position relationship diagram.
[0114] For example, in this embodiment, the hollow cathode lamp is scanned within a scanning range of f = 10 mm with its initial position h = 0 mm in the third direction (z axis) as the center, and a first spectrum intensity-position relationship diagram in the third direction (z axis) is obtained, as shown in FIG. Figure 11 shown.
[0115] S430: Obtain a first position H corresponding to the maximum spectral intensity in the first spectral intensity-position relationship diagram.
[0116] For example, in this embodiment, Figure 11 In the figure, the maximum spectral intensity is 10567.33, and its corresponding position is 2.31 mm, that is, the first position H at this time is 2.31 mm.
[0117] S440: Determine the position where the spectral intensity of the hollow cathode lamp in the third direction (z-axis) is always the largest, that is, determine the relationship between the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the third direction (z-axis) and the preset threshold θ:
[0118] If the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the third direction (z-axis) is less than the preset threshold θ, then the first position H at this time is the position where the spectral intensity of the hollow cathode lamp in the third direction (z-axis) is always the maximum; otherwise, let the first position H be the initial position h, that is, h=H, and repeat steps S420-S440 until the position where the spectral intensity of the hollow cathode lamp in the third direction (z-axis) is always the maximum is obtained.
[0119] In this embodiment, Figure 11 In the figure, the maximum spectral intensity is 10567.33, and its corresponding position is 2.31mm, that is, the first position H at this time is 2.31mm. Since |Hh|=|2.31-0|=2.31mm>θ=0.3mm, we set h=H=2.31mm and repeat steps S420-S440 to obtain the second first spectral intensity-position relationship diagram in the third direction (z axis), as shown in Figure 12 shown.
[0120] exist Figure 12 In the figure, the maximum spectral intensity is 11711.42, and its corresponding position is 1.09 mm, that is, the first position H at this time is 1.09 mm. Since |Hh|=|1.09-2.31|=1.22mm>θ=0.3mm, we set h=H=1.09mm and repeat steps S420-S440 until |Hh|<θ, and obtain the final first spectral intensity-position relationship diagram in the third direction (z axis), as shown in the figure. Figure 13 shown.
[0121] exist Figure 13 In the figure, the maximum spectral intensity is 11708.00, and its corresponding position is -0.10 mm. At this time, the first position H=h=-0.10 mm, that is, the spectral intensity of the hollow cathode lamp in the third direction (z axis) is always the largest, and the corresponding position is -0.10 mm.
[0122] S450: If the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the third direction (z axis) is less than the preset threshold θ, the hollow cathode lamp is scanned n times within the scanning range f with the first position H as the center to obtain a second spectral intensity-position relationship diagram, where n is an integer greater than or equal to 3.
[0123] For example, in this embodiment, Figure 13 In the figure, the maximum spectral intensity is 11708.00, and its corresponding position is -0.10mm. At this time, the first position H = h = -0.10mm. Since |Hh| = |-0.10-(-0.10)| = 0.00mm < θ = 0.3mm, we can obtain the second spectral intensity-position relationship diagram by scanning the hollow cathode lamp three times with the first position h = H = -0.10mm as the center and within the scanning range f = 10mm, as shown in the figure. Figures 14 to 16 shown.
[0124] It should be understood that the three scans in the embodiment of the present application are merely exemplary, and the number of scans is not limited in the embodiment of the present application.
[0125] S460: Obtaining second positions H1 to Hn corresponding to respective maximum spectral intensities in respective second spectral intensity-position relationship diagrams.
[0126] For example, in this embodiment, Figures 14 to 16 , the corresponding maximum spectral intensities are 11708.00, 11708.00, and 11708.00, and the corresponding positions are -0.10 mm, -0.10 mm, and -0.10 mm, that is, H1=H2=H3=-0.10 mm.
[0127] S470: Determine the third centering position of the hollow cathode lamp in the third direction (z axis), that is, determine the relationship between the absolute difference between each two second positions H1 to Hn and the preset threshold value θ:
[0128] If the absolute difference between each two second positions H1~Hn is also less than the preset threshold θ, then the final first position H in step S440 is the third centering position of the hollow cathode lamp in the third direction (z-axis); otherwise, let the first position H be the initial position h, that is, h=H, and repeat steps S420~S470 until the third centering position of the hollow cathode lamp in the third direction (z-axis) is obtained.
[0129] For example, in this embodiment, Figures 14 to 16 In, due to:
[0130] |H2-H1|=|-0.10-(-0.10)|=0.00mm<θ=0.3mm
[0131] |H3-H1|=|-0.10-(-0.10)|=0.00mm<θ=0.3mm
[0132] |H3-H2|=|-0.10-(-0.10)|=0.00mm<θ=0.3mm
[0133] That is, in the second positions H1~H3, the absolute difference between each two second positions is also less than the preset threshold value θ, so the final first position H=-0.10mm in step S440 is the third centering position of the hollow cathode lamp in the third direction (z-axis), that is, the third centering position of the hollow cathode lamp in the third direction (z-axis) is -0.10mm.
[0134] S480: Save and output the final first position H value, and end the single-axis alignment method.
[0135] S500: Control the hollow cathode lamp to move to a second centering position in the second direction, and to move to a third centering position in the third direction.
[0136] The hollow cathode photoelectric spectrometer in the embodiment of the present application corrects the offset of the light source in three dimensions, which can improve the accuracy of the light source correction and thereby improve the reliability of the hollow cathode photoelectric spectrometer.
[0137] In addition, the embodiment of the present application provides a flow chart of executing the light source centering method on a hollow cathode photoelectric spectrometer device, such as Figure 17 As shown, the following steps are included:
[0138] S1701: Determine whether the light source needs to be centered. If so, execute S1702; otherwise, end the automatic centering of the light source.
[0139] For example, in one possible implementation, the process of determining whether the light source needs to be aligned is as follows:
[0140] During the operation of the hollow cathode photoelectric spectrometer, the system will record the spectral intensity of the light source every time interval λ (default 10 minutes). If the light source intensity recorded for n consecutive times (default 3 times) is significantly lower than the spectral intensity value η hours (default 1 hour) ago, it means that the light source position may have shifted. The system will pause the currently executing step and automatically execute the light source alignment method to correct the light source position.
[0141] In this embodiment, the position of the lamp body is manually shifted significantly to verify the effectiveness of the centering method described in this application. Therefore, the light source needs to be centered, and S1702 needs to be executed next.
[0142] S1702: When the light source needs to be centered, initialize the parameters involved in the light source centering method.
[0143] For example, in one possible implementation, let X=Y=Z=Q=H=h=0, and set the values of λ, η, n, t, α, β, f, d, j, θ. Among them, X represents the coordinate value of the final centering position of the lamp body in the x-axis direction; Y represents the coordinate value of the final centering position of the lamp body in the y-axis direction; Z represents the coordinate value of the final centering position of the lamp body in the z-axis direction; Q represents the distance the lamp body needs to move in the x-axis direction; H represents the result output each time the single-axis centering method is executed, that is, the position corresponding to the maximum value of the luminous intensity of the lamp body in the y-axis or z-axis direction; h represents the initial position of the lamp body in the y-axis or z-axis direction; λ represents the interval time for the system to collect the light source intensity, in seconds; η represents the interval time required for the system to determine whether the light source is offset, in hours; n represents the time required for the system to determine whether the light source is offset. The minimum number of times the light source intensity decreases when an offset occurs; t represents the time required for the system to determine that the excitation current is stable after the instrument is successfully ignited, in seconds; α represents the fluctuation threshold of the excitation current amplitude, in milliamperes; β represents the horizontal distance between the lamp body and the lens barrel, in millimeters; f represents the scanning range of the lamp body in the y-axis or z-axis direction each time, in millimeters; d represents the moving step of the lamp body in the x-axis, y-axis, and z-axis directions each time, in millimeters; j represents the integration time of the lamp body in each scanning process in the y-axis or z-axis direction, in seconds; θ represents the stopping threshold of the lamp body in the y-axis or z-axis direction, in millimeters.
[0144] In this embodiment, let X=Y=Z=Q=H=h=0mm, and let λ=300s, η=0.5h, n=2, t=100s, α=±10mA, β=2mm, f=10mm, d=0.2mm, j=1s, θ=0.3mm.
[0145] S1703: Determine whether the hollow cathode photoelectric spectrometer is ready. If it is ready, execute S1705; otherwise, execute S1704.
[0146] For example, in one possible implementation, the system automatically reads information on the optical chamber temperature, optical chamber vacuum, optical chamber control switch, vacuum pump operating status, circulating water operating status, vacuum pump control switch, circulating water control switch, each gas circuit switch, each gas circuit solenoid valve and flow sensor to determine the working status of the instrument.
[0147] In this embodiment, because the hollow cathode photoelectric spectrometer was not used that day, it has been in the off state. When the system automatically reads the information of the optical chamber temperature, optical chamber vacuum, optical chamber control switch, vacuum pump operating status, circulating water operating status, vacuum pump control switch, circulating water control switch, each gas circuit switch, each gas circuit solenoid valve and flow sensor, they are all in the stopped working state. Therefore, the system determines that the instrument is not ready and needs to execute S1704.
[0148] S1704: Start the hollow cathode photoelectric spectrometer and determine abnormalities during the startup process.
[0149] For example, in this embodiment, the instrument is started by automatically starting the system. The specific steps are as follows:
[0150] P1. The system sends a command to the optical chamber control module to read the temperature and vacuum state of the optical chamber. Since the instrument has been in the off state, the vacuum degree of the optical chamber exceeds the preset value and the temperature of the optical chamber is also lower than the preset value. The system needs to start the optical chamber vacuum pump and heating device until the temperature and vacuum degree in the optical chamber meet the requirements.
[0151] It should be understood that in the embodiment of the present application, the user can set the temperature requirements and vacuum requirements of the light chamber according to specific needs, which are not specifically limited here.
[0152] P2, the system sends a command to the light source vacuum pump control module to start the light source vacuum pump;
[0153] P3, the system sends a command to the circulating water control module to start circulating water and start water flow monitoring;
[0154] P4. The system sends instructions to the gas circuit control module to open the gas cylinder valve, pressure reducing valve, and flow meter switch one by one. It also controls the solenoid valves and gas circuit adjustment switches of each gas circuit to keep the gas flow in the gas circuit within the preset range, and starts gas flow monitoring at the same time.
[0155] P5. Online test between the hollow cathode photoelectric spectrometer and the computer to ensure normal communication.
[0156] If steps P1 to P5 are all successfully executed, the instrument is considered to be started successfully; otherwise, the instrument is considered to have failed to start.
[0157] S1705: Determine whether to replace the electrode. If the electrode needs to be replaced, execute S1706; otherwise, execute S1707.
[0158] For example, in one possible implementation, in addition to receiving an instruction to replace an electrode, the system will default to automatically replacing a new electrode after the instrument is started, after analyzing a sample, or before automatic centering and spectral tracing.
[0159] In this embodiment, since the instrument has just been started, a new electrode needs to be replaced, and S1706 needs to be executed.
[0160] S1706: Replace the electrode.
[0161] For example, in a possible implementation, the present application does not specifically limit the method of replacing the electrodes, and the method of replacing the electrodes may be manual or automatic.
[0162] In this embodiment, the system automatically replaces the electrodes, that is, the system automatically completes the replacement of the electrodes with the cooperation of the automatic electrode replacement device and method.
[0163] S1707: Set the excitation current.
[0164] Exemplarily, setting the excitation current includes setting the magnitude of the excitation current and the excitation time. The default excitation current magnitude is 650 mA, and the excitation time is 3600 s.
[0165] In this embodiment, the excitation current is set to 600 mA and the excitation time is set to 2400 s.
[0166] S1708: Instrument ignition and ignition completion judgment.
[0167] For example, in one possible implementation, the present application does not specifically limit the instrument ignition method, and the instrument ignition method can be manual or automatic. When all steps in the ignition process are performed normally and the light information emitted by the light source is finally detected, it means that the ignition is successful.
[0168] In this embodiment, the system automatically ignites, that is, after the instrument is successfully started, the system automatically ignites under the control of the automatic ignition method according to the set excitation current (excitation current size is 600mA, excitation time is 2400s).
[0169] S1709: Determine whether the excitation current is stable. If the excitation current is stable, execute step S1710.
[0170] For example, in one possible implementation, after the instrument is successfully ignited, wait for t seconds (120 seconds by default). If the fluctuation amplitude of the excitation current remains within the set threshold α, it is considered that the excitation current is stable.
[0171] In this embodiment, when t = 100 seconds and α = ±10mA, after the instrument is successfully ignited, it actually only takes 80 seconds for the excitation current to stabilize. Figure 18 shown.
[0172] S1710: When the excitation current is stable, calculate the first centering position Q of the lamp body in the first direction (x-axis).
[0173] It should be understood that the calculation method of the first centering position Q in the first direction (x-axis) has been described in detail in the previous embodiments, and will not be repeated here.
[0174] S1711: Let X=Q, that is, obtain the first centering position of the lamp body in the first direction (x-axis).
[0175] S1712: Control the lamp body of the hollow cathode lamp to move to the initial position P0 (X, 0, 0).
[0176] S1713: Call the single-axis alignment method in the second direction (y-axis) to perform alignment on the second direction (y-axis) to obtain an alignment result H.
[0177] It should be understood that the process of calling the single-axis alignment method in the second direction (y-axis) is introduced in the previous embodiment, and will not be repeated here.
[0178] S1714: Let Y=H, that is, obtain the second centering position of the lamp body in the second direction (y-axis).
[0179] S1715: Call the single-axis alignment algorithm in the third direction (z-axis) to perform alignment on the third direction (z-axis) to obtain an alignment result H.
[0180] It should be understood that the process of calling the single-axis alignment method in the third direction (z-axis) is introduced in the previous embodiment, and will not be repeated here.
[0181] S1716: Let Z=H, that is, obtain the third centering position of the lamp body in the third direction (z axis).
[0182] S1717: Save and output the final centering position P (X, Y, Z).
[0183] S1718: Control each control module of the light source centering device to move the lamp body of the hollow cathode lamp to the P position.
[0184] Automatic centering of the light source is completed.
[0185] For example, in this embodiment, once the hollow cathode photoelectric spectrometer fails to start or the hollow cathode photoelectric spectrometer fails to ignite or the fluctuation amplitude of the excitation current is greater than or equal to the preset fluctuation threshold, the current operation is immediately terminated and the device is automatically shut down, and then abnormal information is reported or displayed.
[0186] For example, in this embodiment, the excitation current is set in a range of 100 to 800 mA, and the excitation time is set in a range of 100 to 43200 s.
[0187] The hollow cathode photoelectric spectrometer in the embodiment of the present application corrects the offset of the light source in three dimensions, which can improve the accuracy of the light source correction and thereby improve the reliability of the hollow cathode photoelectric spectrometer.
[0188] In addition, Figure 19 As shown, the embodiment of the present application also provides a light source centering device for a hollow cathode photoelectric spectrometer (its corresponding structural schematic diagram is shown in FIG. Figure 2 As shown), the device includes:
[0189] A first acquisition module 1901, a first control module 1902, a second acquisition module 1903, a second control module 1904, a third acquisition module 1905 and a third control module 1906;
[0190] A first acquisition module 1901 is configured to obtain a first centering position of the hollow cathode lamp in the first direction based on a distance between the hollow cathode lamp and an origin in the first direction and a distance between the hollow cathode lamp and the lens barrel; wherein the origin is an intersection of the first direction, the second direction, and the third direction;
[0191] A first control module 1902 is configured to control the hollow cathode lamp to move to a first centering position on the first direction track 208 to obtain initial positions of the hollow cathode lamp in the second direction and the third direction respectively;
[0192] A second acquisition module 1903 is configured to obtain, based on the initial position of the hollow cathode lamp in the second direction, a second centering position in the second direction where the spectral intensity in the second direction is always maximized using a single-axis centering method;
[0193] The second control module 1904 is used to control the hollow cathode lamp to move to a second centering position on the second direction track 205;
[0194] A third acquisition module 1905 is configured to obtain, based on the initial position of the hollow cathode lamp in the third direction, a third centering position that maximizes the spectral intensity in the third direction by using a single-axis centering method in the third direction;
[0195] The third control module 1906 is used to control the hollow cathode lamp to move to a third centering position on the third directional track 211 .
[0196] The hollow cathode photoelectric spectrometer in the embodiment of the present application corrects the offset of the light source in three dimensions, which can improve the accuracy of the light source correction and thereby improve the reliability of the hollow cathode photoelectric spectrometer.
[0197] In a possible embodiment, the second acquisition module is specifically used to: scan the hollow cathode lamp within a scanning range f with an initial position h of the hollow cathode lamp in the second direction as the center to obtain a first spectral intensity-position relationship diagram; obtain a first position H corresponding to the maximum spectral intensity in the first spectral intensity-position relationship diagram; if the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the second direction is less than a preset threshold value θ, obtain n times of scanning the hollow cathode lamp within the scanning range f with the first position H as the center to obtain a second spectral intensity-position relationship diagram, wherein n is an integer greater than or equal to 3; obtain second positions H1~Hn corresponding to each maximum spectral intensity in each second spectral intensity-position relationship diagram; if the absolute difference between each two second positions in the second positions H1~Hn is also less than the preset threshold value, the final first position H is the second centering position of the hollow cathode lamp in the second direction; otherwise, let the first position H be the initial position h, that is, h=H, and repeat the above steps until the second centering position of the hollow cathode lamp in the second direction is obtained.
[0198] Similarly, the working process of the third acquisition module is the same as that of the second acquisition module.
[0199] In a possible embodiment, the light source centering device of the hollow cathode photoelectric spectrometer further includes: a method execution module.
[0200] A method execution module is used to determine whether the light source of a hollow cathode photoelectric spectrometer needs to be aligned; if the light source needs to be aligned, initialize the parameters involved in the light source alignment method; if the parameter initialization is completed, start the hollow cathode photoelectric spectrometer; if the hollow cathode photoelectric spectrometer is started, replace the electrode; if the electrode is replaced, set the excitation current; ignite the hollow cathode photoelectric spectrometer using a preset ignition current; after ignition is completed, the ignition current becomes the set excitation current, the excitation electrode emits strong light, and if the fluctuation amplitude of the excitation current is less than a preset fluctuation threshold, execute the light source alignment method to automatically calibrate the light source.
[0201] In a possible embodiment, the method execution module includes a startup module;
[0202] A startup module is used to obtain the temperature and vacuum degree of the optical chamber in the hollow cathode photoelectric spectrometer; when the vacuum degree is greater than the vacuum degree threshold, the vacuum pump of the optical chamber is started; when the temperature exceeds the preset temperature range, the heating device is started to heat up or the heat dissipation device is started to cool down until the temperature and vacuum degree in the optical chamber meet the requirements; when the temperature and vacuum degree meet the requirements, the vacuum pump and circulating water of the hollow cathode photoelectric spectrometer are started in sequence; when water flow is detected in the water path, the gas cylinder valve, pressure dividing valve and flow meter switch are opened in sequence, and the solenoid valve and gas path adjustment switch in each gas path are controlled to keep the gas flow in the gas path within the preset gas flow range; an online test between the hollow cathode photoelectric spectrometer and the computer is performed to ensure that the communication between the hollow cathode photoelectric spectrometer and the computer is normal.
[0203] In a possible embodiment, the method execution module is also used to immediately terminate the current operation and automatically shut down when the hollow cathode photoelectric spectrometer fails to start, fails to ignite, or the fluctuation amplitude of the excitation current is greater than or equal to a preset fluctuation threshold, and then report or display abnormal information.
[0204] In a possible embodiment, the excitation current is set in a range of 100 to 800 mA, and the excitation time is set in a range of 100 to 43200 s.
[0205] In a possible embodiment, the distance between the hollow cathode lamp and the origin in the first direction may be obtained by any one of ultrasonic ranging, laser ranging, infrared ranging, radar ranging, and machine vision, or a combination thereof.
[0206] In one possible implementation, see Figure 20 , which is a schematic diagram of a control device provided in an embodiment of the present application.
[0207] The control device may include a memory 1011 and a processor 1012. The processor 1012 may be connected to the hollow cathode photoelectric spectrometer to drive various components in the hollow cathode photoelectric spectrometer, such as Figure 20 The memory may be a random access memory (RAM), a flash memory, a read only memory (ROM), an EPROM memory, an electronic programmable ROM (EPROM), a register, a hard disk, a removable disk, or the like.
[0208] Memory 1011 can store computer instructions. When the computer instructions stored in memory 1011 are executed by processor 1012, processor 1012 can be used to perform a method for aligning a light source of a hollow cathode photoelectric spectrometer. Memory 1011 can also store data, such as information such as the preset range and preset threshold involved in the above-mentioned embodiments.
[0209] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When software is used for implementation, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0210] The present application also provides a readable storage medium for storing the methods provided in the above embodiments, such as a random access memory (RAM), flash memory, read-only memory (ROM), EPROM, electronic programmable ROM (EPROM), register, hard disk, removable disk, or any other form of storage medium known in the art.
[0211] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other.
[0212] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for centering a light source of a hollow cathode photoelectric spectrometer, characterized in that: The method comprises: Obtaining a first centering position of the hollow cathode lamp in the first direction according to a distance between the hollow cathode lamp and an origin in the first direction and a distance between the hollow cathode lamp and the lens barrel, wherein the origin is an intersection of the first direction, the second direction, and the third direction; Controlling the hollow cathode lamp to move to the first centering position in the first direction to obtain initial positions of the hollow cathode lamp in the second direction and the third direction respectively; Based on the initial position of the hollow cathode lamp in the second direction, using a single-axis centering method in the second direction, a second centering position is obtained so that the spectral intensity in the second direction is always maximized; Based on the initial position of the hollow cathode lamp in the third direction, using the single-axis centering method in the third direction, a third centering position is obtained in which the spectral intensity in the third direction is always maximized; The hollow cathode lamp is controlled to move to the second centering position in the second direction and to move to the third centering position in the third direction.
2. The method according to claim 1, characterized in that The single shaft alignment method comprises: Scanning the hollow cathode lamp within a scanning range f with an initial position h of the hollow cathode lamp in the second direction or the third direction as the center to obtain a first spectral intensity-position relationship diagram; Obtaining a first position H corresponding to the maximum spectral intensity in the first spectral intensity-position relationship diagram; If the absolute difference between the first position H and the initial position h of the hollow cathode lamp in the second direction or the third direction is less than a preset threshold value θ, scanning the hollow cathode lamp within a scanning range f centered at the first position H is performed n times to obtain a second spectral intensity-position relationship graph, where n is an integer greater than or equal to 3; Obtaining second positions H1 to Hn corresponding to each maximum spectral intensity in each of the second spectral intensity-position relationship diagrams; If the absolute difference between each two of the second positions H1 to Hn is also less than the preset threshold θ, the final first position H is the second centering position of the hollow cathode lamp in the second direction, or the third centering position in the third direction; Otherwise, let the first position H be the initial position h, that is, h=H, and repeat the above steps until the hollow cathode lamp is in the second centering position or the third centering position.
3. The method according to claim 1, characterized in that Before obtaining a first centering position of the hollow cathode lamp in the first direction based on the distance between the hollow cathode lamp and the origin in the first direction and the distance between the hollow cathode lamp and the lens barrel, the method further includes: Determining whether the light source of the hollow cathode photoelectric spectrometer needs to be aligned; In the case where the light source needs to be centered, initializing parameters involved in the light source centering method; When the parameter initialization is completed, starting the hollow cathode photoelectric spectrometer; When the hollow cathode photoelectric spectrometer is started up, replacing the electrode; When the electrode replacement is completed, setting the excitation current; igniting the hollow cathode photoelectric spectrometer using a preset ignition current; After ignition is completed, the ignition current becomes the set excitation current, which excites the electrode to emit strong light.
4. The method according to claim 3, characterized in that The method of starting the hollow cathode photoelectric spectrometer comprises the following steps: Obtaining the temperature and vacuum degree of the optical chamber in the hollow cathode photoelectric spectrometer; When the vacuum degree is greater than the vacuum degree threshold, the vacuum pump of the optical chamber is started; when the temperature exceeds the preset temperature range, the heating device is started to increase the temperature or the heat dissipation device is started to cool down the temperature until the temperature and vacuum degree in the optical chamber meet the requirements; When the temperature and the vacuum degree meet the requirements, starting the vacuum pump and circulating water of the hollow cathode photoelectric spectrometer in sequence; When water flow is detected in the water circuit, the gas cylinder valve, the pressure dividing valve and the flow meter switch are opened in sequence, and the solenoid valve and the gas circuit adjustment switch in each gas circuit are controlled to keep the gas flow in the gas circuit within the preset gas flow range; The online test between the hollow cathode photoelectric spectrometer and the computer ensures that the communication between the hollow cathode photoelectric spectrometer and the computer is normal.
5. The method according to claim 3, characterized in that The method further comprises: When the hollow cathode photoelectric spectrometer fails to start, fails to ignite, or the fluctuation amplitude of the excitation current is greater than or equal to a preset fluctuation threshold, the current operation is immediately terminated and the instrument is automatically shut down, and then abnormal information is reported and displayed.
6. The method according to claim 3, characterized in that The excitation current ranges from 100 to 800 mA.
7. The method according to claim 1, characterized in that The distance between the hollow cathode lamp and the origin in the first direction can be obtained by any one of ultrasonic ranging, laser ranging, infrared ranging, radar ranging and machine vision, or a combination thereof.
8. A light source centering device for a hollow cathode photoelectric spectrometer, characterized in that: include: a first acquisition module, a first control module, a second acquisition module, a second control module, a third acquisition module, and a third control module; The first acquisition module is configured to obtain a first centering position of the hollow cathode lamp in the first direction based on a distance between the hollow cathode lamp and an origin in the first direction and a distance between the hollow cathode lamp and the lens barrel; wherein the origin is an intersection of the first direction, the second direction, and the third direction; The first control module is used to control the hollow cathode lamp to move to the first centering position on the first direction track to obtain the initial positions of the hollow cathode lamp in the second direction and the third direction respectively; The second acquisition module is configured to obtain, based on the initial position of the hollow cathode lamp in the second direction, a second centering position in the second direction where the spectral intensity in the second direction is always maximized by using a single-axis centering method in the second direction; The second control module is used to control the hollow cathode lamp to move to the second centering position on the second direction track; The third acquisition module is configured to obtain, based on the initial position of the hollow cathode lamp in the third direction, a third centering position in the third direction at which the spectral intensity in the third direction is always maximized by using the single-axis centering method in the third direction; The third control module is used to control the hollow cathode lamp to move to the third centering position on the third directional track.
9. A control device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory to complete the light source centering method of the hollow cathode photoelectric spectrometer as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that A computer program is stored, and the computer program is loaded by a processor to execute the light source centering method of the hollow cathode photoelectric spectrometer according to any one of claims 1 to 7.
Citation Information
Patent Citations
Centering control device applied to OCT spectrograph camera and working method thereof
CN108332852A
Hollow cathode spectroscope light path automatic alignment method
CN110749577A
Mechanical centering device of cathode fluorescence system probe and centering method thereof
CN114113187A
Three-dimensional focusing method and focusing device for light source lamp of gas-phase molecular absorption spectrometer
CN115420695A
Hollow cathode photoelectric spectrometer and analysis method
CN117347273A