Timing synchronization method and apparatus, device, and storage medium

CN116825601BActive Publication Date: 2026-09-25ZYBIO INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310773078.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2026-09-25
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

[0005]本发明的主要目的在于提供了一种时序同步方法、装置、设备及存储介质,旨在解决现有技术中扫描时序与采集时序同步性较差导致系统时序精度较差,稳定性较低的技术问题

Benefits of technology

[0047]本发明是在接收到开始扫描指令时,获取扫描所需的扫描参数;根据所述扫描参数获得扫描片段参数表,并根据所述扫描片段参数表确定各扫描片段对应的扫描时间和采集时间;基于所述扫描时间对目标离子进行扫描,并同时基于所述采集时间对所述目标离子进行采集,以使扫描时序与采集时序同步。由于本发明是以扫描片段为单位,根据各扫描片段对应的扫描时间和采集时间分别进行扫描和采集,相比于现有的扫描时序和采集时序同步性较差,本发明可提升描时序与采集时序的同步性,提升了时序精度,进而提升了系统的稳定性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116825601B_ABST
    Figure CN116825601B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of ion mass spectrometry, and particularly relates to a time sequence synchronization method, device and equipment and a storage medium, the method comprising: obtaining scanning parameters required for scanning when a start scanning instruction is received; obtaining a scanning segment parameter table according to the scanning parameters, and determining scanning time and collection time corresponding to each scanning segment according to the scanning segment parameter table; scanning target ions based on the scanning time, and simultaneously collecting the target ions based on the collection time, so that the scanning time sequence and the collection time sequence are synchronized. Since the present application is in units of scanning segments, scanning and collection are respectively performed according to the scanning time and the collection time corresponding to each scanning segment, compared with the existing scanning time sequence and collection time sequence, the synchronization of the scanning time sequence and the collection time sequence is improved, and the stability of the system is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ion mass spectrometry, and in particular to a time synchronization method, apparatus, device, and storage medium. Background Technology

[0002] Currently, triple quadrupole mass spectrometers have wide applications in biomedicine, chemistry, environment and other fields. When ions pass through the quadrupole, their trajectory is affected by the radio frequency electric field and the DC electric field. Only ions with a specific mass-to-charge ratio can pass through the screening region of the quadrupole, while other ions will be discharged. By changing the magnitude of the radio frequency voltage and the DC voltage, a specific range of ions can be selected, thereby achieving precise screening and separation of ions.

[0003] However, existing triple quadrupole control and sampling systems, when implementing the above functions, typically consist of multiple separate modules that scan ions when receiving the scan timing sequence and collect ions when receiving the acquisition timing sequence. The synchronization between the scan timing sequence and the acquisition timing sequence is poor, resulting in poor system timing accuracy and low stability.

[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this invention is to provide a timing synchronization method, apparatus, device, and storage medium, which aims to solve the technical problem in the prior art where poor synchronization between scanning timing and acquisition timing leads to poor system timing accuracy and low stability.

[0006] To achieve the above objectives, the present invention provides a timing synchronization method, the method comprising the following steps:

[0007] Upon receiving the start scan command, obtain the scan parameters required for scanning;

[0008] A scan segment parameter table is obtained based on the scan parameters, and the scan time and acquisition time corresponding to each scan segment are determined based on the scan segment parameter table.

[0009] The target ion is scanned based on the scan time, and the target ion is simultaneously acquired based on the acquisition time, so that the scan sequence and the acquisition sequence are synchronized.

[0010] Optionally, the step of determining the scanning time and acquisition time corresponding to each scanning segment according to the scanning segment parameter table includes:

[0011] The scanning segment information corresponding to each scanning segment is determined according to the scanning segment parameter table, and the scanning step information corresponding to each scanning step within the scanning segment is determined according to the scanning segment information;

[0012] The scanning time and acquisition time of each scanning step are determined based on the scanning step information.

[0013] Optionally, before the step of scanning the target ion based on the scan time, the method further includes:

[0014] Based on the scanning parameters, obtain the RF curve parameter table and the DC curve parameter table;

[0015] The radio frequency amplitude corresponding to each scanning step is obtained based on the scanning segment parameter table and the radio frequency curve parameter table, and the DC amplitude corresponding to each scanning step is obtained based on the scanning segment parameter table and the DC curve parameter table.

[0016] Accordingly, the step of scanning the target ion based on the scanning time includes:

[0017] The target ion is scanned based on the scan time, the radio frequency amplitude, and the DC amplitude.

[0018] Optionally, the step of obtaining the RF amplitude corresponding to each scan step based on the scan segment parameter table and the RF curve parameter table, and obtaining the DC amplitude corresponding to each scan step based on the scan segment parameter table and the DC curve parameter table, includes:

[0019] Based on the scan segment parameter table, determine the first position information of each scan step in the radio frequency curve parameter table;

[0020] Based on the scan segment parameter table, determine the second position information of each scan step in the DC curve parameter table;

[0021] A first parameter value is obtained based on the first location information, and a second parameter value is obtained based on the second location information;

[0022] Linear fitting is performed on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to each scanning step.

[0023] Optionally, before the step of determining the first position information of each scan step in the RF curve parameter table based on the scan segment parameter table, the method further includes:

[0024] The initialization time is obtained according to the scan segment parameter table;

[0025] Accordingly, the step of determining the first position information of each scan step in the radio frequency curve parameter table based on the scan segment parameter table includes:

[0026] During the initialization time, the first position information of the starting scan step in the radio frequency curve parameter table is determined based on the scan segment parameter table.

[0027] Accordingly, the step of determining the second position information of each scanning step in the DC curve parameter table based on the scanning segment parameter table includes:

[0028] During the initialization time, the second position information of the starting scan step in the DC curve parameter table is determined based on the scan segment parameter table;

[0029] Accordingly, the step of performing linear fitting on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to each scanning step includes:

[0030] Linear fitting is performed on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to the starting scanning step.

[0031] Optionally, after the step of linearly fitting the first parameter value and the second parameter value to obtain the radio frequency amplitude and DC amplitude corresponding to the starting scan step, the method further includes:

[0032] When scanning the target ion based on the scan time, the radio frequency amplitude, and the DC amplitude, the third position information of the next scan step in the radio frequency curve parameter table is determined based on the scan segment parameter table;

[0033] The fourth position information of the next scanning step in the DC curve parameter table is determined based on the scanning segment parameter table;

[0034] The third parameter value is obtained based on the third location information, and the fourth parameter value is obtained based on the fourth location information;

[0035] Linear fitting is performed on the third parameter value and the fourth parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to the next scanning step.

[0036] Optionally, before the step of obtaining the scanning parameters required for scanning upon receiving the start scanning command, the method further includes:

[0037] Obtain the voltage timing diagram and determine the scanning steps based on the voltage timing diagram;

[0038] The scanning time and acquisition time are determined based on the scanning steps, and scanning step information corresponding to each scanning step is generated based on the scanning time and the acquisition time.

[0039] The scanning segments are determined based on the scanning steps, and scanning segment information corresponding to each scanning segment is generated based on the scanning segments and the scanning step information.

[0040] A scan segment parameter table is constructed based on the scan segment information corresponding to each scan segment, and scan parameters are generated based on the scan segment parameter table.

[0041] Furthermore, to achieve the above objectives, the present invention also proposes a timing synchronization device, the device comprising:

[0042] The parameter acquisition module is used to acquire the scanning parameters required for scanning when a start scanning command is received;

[0043] The time determination module is used to obtain a scan segment parameter table based on the scan parameters, and to determine the scan time and acquisition time corresponding to each scan segment based on the scan segment parameter table.

[0044] The timing synchronization module is used to scan the target ion based on the scanning time and simultaneously collect the target ion based on the acquisition time, so as to synchronize the scanning timing with the acquisition timing.

[0045] Furthermore, to achieve the above objectives, the present invention also proposes a timing synchronization device, the device comprising: a memory, a processor, and a timing synchronization program stored in the memory and executable on the processor, the timing synchronization program being configured to implement the steps of the timing synchronization method as described above.

[0046] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a timing synchronization program, which, when executed by a processor, implements the steps of the timing synchronization method described above.

[0047] This invention acquires the necessary scanning parameters upon receiving a start scanning command; obtains a scanning segment parameter table based on the scanning parameters; and determines the scanning time and acquisition time corresponding to each scanning segment based on the scanning segment parameter table. It then scans the target ions based on the scanning time and simultaneously acquires the target ions based on the acquisition time, thus synchronizing the scanning and acquisition sequences. Because this invention operates on a segment-by-segment basis, performing scanning and acquisition separately according to the corresponding scanning and acquisition times for each segment, it improves the synchronization between scanning and acquisition sequences compared to existing methods with poor synchronization, thereby enhancing timing accuracy and ultimately improving system stability. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the timing synchronization device structure of the hardware operating environment involved in the embodiments of the present invention;

[0049] Figure 2 This is a flowchart illustrating the first embodiment of the timing synchronization method of the present invention;

[0050] Figure 3 This is a schematic diagram of a traditional triple quadrupole control and sampling system.

[0051] Figure 4 This is a schematic diagram of the structure of the first embodiment of the timing synchronization method of the present invention;

[0052] Figure 5 This is a schematic diagram of the structure of the dynamic scanning controller in the first embodiment of the timing synchronization method of the present invention;

[0053] Figure 6 This is a timing diagram of the timing synchronization method of the present invention in the first embodiment;

[0054] Figure 7 This is a flowchart illustrating the second embodiment of the timing synchronization method of the present invention;

[0055] Figure 8 This is a flowchart illustrating the third embodiment of the timing synchronization method of the present invention;

[0056] Figure 9 This is a structural block diagram of the first embodiment of the timing synchronization device of the present invention.

[0057] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0058] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0059] Reference Figure 1 , Figure 1 This is a schematic diagram of the timing synchronization device structure of the hardware operating environment involved in the embodiments of the present invention.

[0060] like Figure 1As shown, the timing synchronization device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

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

[0062] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a timing synchronization program.

[0063] exist Figure 1 In the timing synchronization device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the timing synchronization device of the present invention can be set in the timing synchronization device, and the timing synchronization device calls the timing synchronization program stored in the memory 1005 through the processor 1001 and executes the timing synchronization method provided in the embodiment of the present invention.

[0064] This invention provides a timing synchronization method, referencing... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the timing synchronization method of the present invention.

[0065] In this embodiment, the timing synchronization method includes the following steps:

[0066] Step S10: Upon receiving the start scan command, obtain the scan parameters required for scanning.

[0067] It should be noted that the method in this embodiment can be applied to scenarios involving time synchronization of a triple quadrupole mass spectrometer, or other scenarios requiring time synchronization. The executing entity in this embodiment can be a time synchronization device with data processing, network communication, and program execution functions, such as a clock generator, or other devices capable of performing similar or identical functions. This embodiment and the following embodiments will be specifically described using the aforementioned time synchronization device (hereinafter referred to as the device).

[0068] Understandably, traditional triple quadrupole control and sampling systems typically consist of multiple separate modules, resulting in poor synchronization between scanning and acquisition timings. For easier understanding, please refer to... Figure 3 , Figure 3 This is a schematic diagram of a traditional triple quadrupole control and sampling system, such as... Figure 3 As shown, the host computer is connected to both the scan controller and the acquisition controller. The drive circuit is connected to both the scan controller and the quadrupole, and the detector is connected to both the quadrupole and the acquisition controller. Traditionally, the host computer sends the scan timing sequence to the scan controller for scanning. The scan controller generates output pulses to the drive circuit, which then drives the quadrupole to filter ions. The host computer can also send the acquisition timing sequence to the acquisition controller. The detector collects ions from the quadrupole and sends the data to the acquisition controller, which then collects them. Because the traditional method involves sending the scan timing sequence and the acquisition timing sequence separately, poor synchronization between the scan timing sequence and the acquisition timing sequence can occur.

[0069] It should be understood that this embodiment can scan and acquire data in units of scan segments, thereby synchronizing the scanning sequence with the acquisition sequence. For ease of understanding, refer to... Figure 4 , Figure 4 This is a schematic diagram of the structure of the first embodiment of the timing synchronization method of the present invention, as shown below. Figure 4 As shown, the dynamic scanning controller is connected to the host computer, the signal detection circuit and the static parameter controller respectively; the signal generator is connected to the dynamic scanning controller and the radio frequency circuit respectively; the digital-to-analog converter is connected to the dynamic scanning controller and the DC circuit respectively; the coupled resonant circuit is connected to the radio frequency circuit, the DC circuit and the quadrupole respectively; the quadrupole is also connected to the signal detection circuit and the control circuit; and the control circuit is connected to the static parameter controller.

[0070] When screening for target mass-to-charge ratio ions, the host computer can send the scanning parameters to the dynamic scanning controller. The dynamic scanning controller can control the signal generator through the digital interface to generate a sinusoidal signal of a certain fixed frequency. The sinusoidal signal is amplified by the amplifier circuit in the signal generator and then transmitted to the radio frequency circuit.

[0071] A digital-to-analog converter can consist of a precision digital-to-analog converter and precision circuitry. A dynamic scanning controller can control the digital-to-analog converter to output multiple adjustable ultra-low voltage drift voltages to a DC circuit via a digital interface.

[0072] The radio frequency circuit can be composed of a feedback circuit, a comparison and adjustment circuit, a multiplication circuit, and a power amplifier circuit, which can achieve precise control of the quadrupole radio frequency voltage amplitude.

[0073] The DC circuit can be composed of a signal processing circuit and a high-voltage amplifier circuit, which can achieve precise control of the amplitude of the quadrupole DC voltage.

[0074] A coupled resonant circuit can be composed of a coupling circuit and a resonant circuit. It can complete the resonant amplification of radio frequency signals and couple the resonant radio frequency voltage and DC voltage to a quadrupole.

[0075] The static parameter controller can be composed of multiple Advanced Reduced Instruction Set Computer (ARM) microprocessors, which can be used to receive instructions from the dynamic scan controller and complete the static parameter setting.

[0076] The control circuit can be composed of a digital-to-analog converter circuit, a signal processing circuit, and a drive circuit. It can receive the control signal sent by the static parameter controller, output the static control signal and load it onto the quadrupole, so that the quadrupole can simultaneously achieve the screening of target mass-to-charge ratio ions based on the resonant radio frequency voltage and DC voltage.

[0077] The signal detection circuit can consist of a detector, a signal processing circuit, and a differential output drive circuit. The ion bombardment detector in the quadrupole can generate an electrical pulse signal. After electron multiplication, the electrical pulse signal is output to the signal processing circuit. The signal processing circuit converts the amplified electrical pulse signal into a transistor-transistor logic (TTL) pulse signal. The differential output drive circuit outputs the TTL pulse signal to the dynamic scan controller for implementation and acquisition. The devices and circuits in this embodiment are only for illustrative purposes and do not limit the specific structure of the device provided in this embodiment.

[0078] Reference Figure 5 , Figure 5 This is a schematic diagram of the dynamic scanning controller in the first embodiment of the timing synchronization method of the present invention. Figure 5As shown, the dynamic scan controller may include: a Field Programmable Gate Array (FPGA), a scan control interface, a memory circuit, a communication circuit, a high-speed counter circuit, and peripheral auxiliary circuits. The FPGA is connected to the memory circuit, scan control interface, communication circuit, high-speed counter circuit, and peripheral auxiliary circuits. The memory circuit can be used to store and retrieve received data. The scan control interface can be connected to a signal generator, a digital-to-analog converter, and a static parameter controller to realize signal transmission between them. The communication circuit can be connected to a host computer to realize data transmission. The high-speed counter circuit can be used for subsequent counting. The peripheral auxiliary circuits can be used to power the dynamic scan controller. The specific structure of the dynamic scan controller in this embodiment is only for illustrative purposes and does not limit the specific structure of the device provided in this embodiment.

[0079] It should also be noted that the above-mentioned start scan command can be a command used to control the device to start scanning. In this embodiment, the host computer in the device can obtain the scanning parameters required for scanning after receiving the start scan command sent from the outside.

[0080] Understandably, the above scanning parameters can be used for scanning and data acquisition. After the host computer obtains the scanning parameters, it can analyze them.

[0081] In a practical implementation, when the aforementioned device receives a start scanning command, it can obtain the scanning parameters required for scanning.

[0082] Step S20: Obtain the scanning segment parameter table according to the scanning parameters, and determine the scanning time and acquisition time corresponding to each scanning segment according to the scanning segment parameter table.

[0083] It should be understood that the above-mentioned scan segment parameter table may include several scan segments, as well as the acquisition time and scan time corresponding to each scan segment. In this embodiment, the voltage timing is divided into several scan segments, and each scan segment is set with a corresponding acquisition time and scan time. The above-mentioned scan time may be the time corresponding to the scanning action within the scan segment, and the above-mentioned acquisition time may be the time of the acquisition action within the scan segment.

[0084] It should be emphasized that the above-mentioned scan segment parameter table can be preset, that is, the voltage timing sequence can be divided into scan segments in advance, and the scan time and acquisition time in each scan segment can be set. After being set, it is stored in the scan segment parameter table. The specific scan time and acquisition time are not limited in this embodiment.

[0085] Understandably, after the host computer obtains the scanning parameters, it can obtain the scanning segment parameter table based on the scanning parameters and send the scanning segment parameter table to the dynamic scanning controller. The dynamic scanning controller saves the scanning segment parameter table and can obtain the scanning time and acquisition time corresponding to each scanning segment based on the scanning segment parameter table.

[0086] In practice, the device can obtain a scan segment parameter table based on the scan parameters, and determine the scan time and acquisition time corresponding to each scan segment based on the scan segment parameter table.

[0087] Step S30: Scan the target ion based on the scan time, and simultaneously collect the target ion based on the collection time, so that the scan sequence and the collection sequence are synchronized.

[0088] It should be noted that the target ion mentioned above can be an ion located within the screening region of the quadrupole, the scanning mentioned above can be scanning the target ion to obtain the mass-to-charge ratio information of the target ion, and the acquisition mentioned above can be acquiring the target ion to obtain the mass spectrometry signal of the target ion. All of these can be accomplished by the signal detection circuit mentioned above.

[0089] In a practical implementation, the aforementioned device can scan the target ions based on the scanning time and collect the target ions based on the collection time, thereby synchronizing the scanning sequence with the collection sequence.

[0090] Furthermore, considering that different voltage values ​​may exist in the scanned segment, in order to further improve the accuracy of synchronization, in this embodiment, the above step S20 includes:

[0091] Step S21: Determine the scanning segment information corresponding to each scanning segment according to the scanning segment parameter table, and determine the scanning step information corresponding to each scanning step within the scanning segment according to the scanning segment information;

[0092] Step S22: Determine the scanning time and acquisition time of each scanning step based on the scanning step information.

[0093] It should be noted that the aforementioned scanning steps can be scanning steps corresponding to different voltage values ​​within a scanning segment. For ease of explanation, please refer to... Figure 6 , Figure 6 This is a timing diagram of the first embodiment of the timing synchronization method of the present invention; as shown below. Figure 6As shown, A, B, C, D, E, F, G, and H are all time points on the time axis. The voltage timing diagram represents the voltage timing between A and H. The ion count represents the acquisition result at each time point. In this embodiment, if A is the starting point and H is the ending point, then B to E can be used as the first scan segment, and E to H as the second scan segment. The stages of voltage timing change can be used as the scan steps. That is, in B to E, the BC, CD, and DE segments can be used as scan steps, and in E to H, the EF, FG, and GH segments can be used as scan steps.

[0094] It is understood that the above-mentioned scan segment information may include the scan step information corresponding to each scan step in the scan segment, and the scan step information may include the start time point and end time point of the scan step, thereby obtaining the above-mentioned scan time and acquisition time.

[0095] For example, when setting the scanning fragment parameter table, the start time of the scanning time of segment BC is set to the time corresponding to point B, and the end time is set to the time corresponding to point C. At the same time, the start time of the acquisition time of segment BC is set to the time corresponding to point B, and the end time is set to the time corresponding to point C. Thus, when scanning and acquiring the target ion, scanning and acquisition can be performed at point B and ended at point C. Since the acquisition time corresponds to the scanning time, the synchronization of the scanning sequence and the acquisition sequence is achieved. The specific start time and end time can be set according to the actual situation, and this embodiment does not impose any restrictions.

[0096] In a specific implementation, the device can determine the scanning segment parameter information corresponding to each scanning segment according to the scanning segment parameter table, and determine the scanning step information corresponding to each scanning step within the scanning segment according to the scanning segment parameter information. Then, based on the scanning step information, it can determine the start time point and end time point of the scanning step, thereby obtaining the scanning time and acquisition time.

[0097] Furthermore, in order to generate the above scanning parameters, in this embodiment, before step S10, the following steps are also included:

[0098] Obtain the voltage timing diagram and determine the scanning steps based on the voltage timing diagram;

[0099] The scanning time and acquisition time are determined based on the scanning steps, and scanning step information corresponding to each scanning step is generated based on the scanning time and the acquisition time.

[0100] The scanning segments are determined based on the scanning steps, and scanning segment information corresponding to each scanning segment is generated based on the scanning segments and the scanning step information.

[0101] A scan segment parameter table is constructed based on the scan segment information corresponding to each scan segment, and scan parameters are generated based on the scan segment parameter table.

[0102] It should be noted that the voltage timing diagram described above can be set according to requirements, but this embodiment imposes limitations on it.

[0103] Understandably, when determining the scanning time and acquisition time based on the scanning steps, the time point corresponding to the starting position of the scanning steps can generally be used as the starting time point of the acquisition time or scanning time of the scanning steps, and the time point corresponding to the ending position of the scanning steps can be used as the ending time point of the acquisition time or scanning time of the scanning steps. Of course, other positions are also possible, and this embodiment does not impose any restrictions.

[0104] It should be understood that the scanning resolution and scanning quality range can also be set in the above scanning segment parameter table. The scanning resolution can be a parameter used to distinguish the mass difference between two ions, and the scanning quality range can be the range of ion masses that can be detected. In this embodiment, no specific limitations are imposed.

[0105] It should also be emphasized that, considering there may be multiple steps within a single scan segment, and multiple scan segments may exist throughout the entire scan process, for example... Figure 6 There are two scan segments in the process, and the scan segment parameter table can also include information on the number of times the segment is repeated. During scanning, the number of scan segments can be counted to ensure that each scan segment is executed. After all scan segments have been traversed, the voltage timing output is stopped, and the scanning ends.

[0106] In this embodiment, when the device receives a start scanning command, it can acquire the scanning parameters required for scanning, determine the scanning segment parameter information corresponding to each scanning segment according to the scanning segment parameter table, and determine the scanning step information corresponding to each scanning step within the scanning segment based on the scanning segment parameter information. Then, based on the scanning step information, it determines the start and end time points of the scanning steps, thereby obtaining the scanning time and acquisition time. Finally, it scans the target ions based on the scanning time and acquires the target ions based on the acquisition time, which improves the synchronization between the scanning and acquisition sequences. Compared to existing systems with poor synchronization between scanning and acquisition sequences, this embodiment, by pre-setting the acquisition and scanning times to the same sequence, operates on the same scanning step during both scanning and acquisition, improving the synchronization between the scanning and acquisition sequences, enhancing timing accuracy, and thus improving system stability.

[0107] refer to Figure 7 , Figure 7 This is a flowchart illustrating the second embodiment of the timing synchronization method of the present invention.

[0108] To enable the quadrupole to obtain the radio frequency voltage and DC voltage required for screening under different voltage timings, in this embodiment, before the above-mentioned step of scanning the target ions based on the scan time, the method further includes:

[0109] Step S301: Obtain the RF curve parameter table and DC curve parameter table based on the scanning parameters.

[0110] It should be noted that the above scanning parameters may also include an RF curve parameter table and a DC curve parameter table. The RF curve parameter table may contain the RF voltage corresponding to ions with a mass-to-charge ratio of 0 to 3000, and the resolution may be 1 mass-to-charge ratio. The DC curve parameter table may contain the DC voltage corresponding to ions with a mass-to-charge ratio of 0 to 3000, and the resolution may be 1 mass-to-charge ratio. Of course, the above mass-to-charge ratio range and resolution can be set according to the actual situation, and this embodiment does not impose any restrictions.

[0111] It is understood that both the above-mentioned RF curve parameter table and the above-mentioned DC curve parameter table can be obtained by pre-setting. The parameter values ​​corresponding to different scanning steps can be set, and the specific correspondence is not limited in this embodiment.

[0112] Step S302: Obtain the radio frequency amplitude corresponding to each scanning step based on the scanning segment parameter table and the radio frequency curve parameter table, and obtain the DC amplitude corresponding to each scanning step based on the scanning segment parameter table and the DC curve parameter table;

[0113] Accordingly, the step of scanning the target ion based on the scanning time includes:

[0114] Step S303: Scan the target ion based on the scan time, the radio frequency amplitude, and the DC amplitude.

[0115] It is understandable that the above-mentioned RF amplitude can be the amplitude corresponding to the RF voltage under the scanning step, and the above-mentioned DC amplitude can be the amplitude corresponding to the DC voltage under the scanning step. When obtaining the RF amplitude and DC amplitude based on the scanning segment parameter table, the voltage timing corresponding to each time point in the scanning segment parameter table can be queried in the RF curve parameter table and the DC curve parameter table, and thus the RF amplitude and DC amplitude corresponding to each time point can be obtained.

[0116] Furthermore, in order to accurately obtain the radio frequency amplitude and DC amplitude, in this embodiment, step S302 above includes:

[0117] Step S3021: Determine the first position information of each scanning step in the radio frequency curve parameter table based on the scanning segment parameter table;

[0118] Step S3022: Determine the second position information of each scanning step in the DC curve parameter table based on the scanning segment parameter table.

[0119] It should be understood that after the scanning begins, the above-mentioned device can perform scanning and acquisition according to the voltage timing diagram. During scanning, the mass-to-charge ratio of the target ion in the current quadrupole can be recorded according to the voltage timing of the current scanning step in the scanning segment table. Then, based on the mass-to-charge ratio, the first position information of the mass-to-charge ratio in the above-mentioned RF curve parameter table and the second position information in the above-mentioned DC curve parameter table are determined.

[0120] Step S3033: Obtain a first parameter value based on the first location information, and obtain a second parameter value based on the second location information.

[0121] It should be noted that after determining the first position information and the second position information, the above-mentioned device can read the corresponding radio frequency voltage in the radio frequency curve parameter table according to the first position information, use the radio frequency voltage as the first parameter value, and read the corresponding DC voltage in the DC curve parameter table according to the second position information, use the DC voltage as the second parameter value.

[0122] Step S3034: Perform linear fitting on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to each scanning step.

[0123] Understandably, in order to improve the accuracy of the results, the first parameter value and the second parameter value can be linearly fitted in this embodiment to obtain the radio frequency amplitude and DC amplitude corresponding to each scanning step.

[0124] In this embodiment, the device obtains an RF curve parameter table and a DC curve parameter table based on the scanning parameters. It records the mass-to-charge ratio of the target ion in the current quadrupole based on the voltage timing of the current scanning step in the scanning segment table. Then, based on the mass-to-charge ratio, it determines the first position information of the mass-to-charge ratio in the RF curve parameter table and the second position information in the DC curve parameter table. It then performs linear fitting on the first parameter value corresponding to the first position information and the second parameter value corresponding to the second position information to obtain the RF amplitude and DC amplitude corresponding to each scanning step. This allows scanning to be performed according to the voltage timing, improving the synchronization of the scanning.

[0125] refer to Figure 8 , Figure 8 This is a flowchart illustrating the third embodiment of the timing synchronization method of the present invention.

[0126] Considering that initialization is required before executing the first scan segment to ensure the smooth execution of subsequent operations, in this embodiment, before step S3021, the following steps are also included:

[0127] Step S3001: Obtain the initialization time according to the scan segment parameter table;

[0128] It should be noted that upon receiving the start scan command, the host computer can also generate start / stop scan commands based on the start scan instruction and send these commands to the dynamic scan controller. These start / stop scan commands may include the scan start method and a delay time. The scan start method may include direct start or waiting for an external trigger to start. The delay time can be an adjustable inherent timing delay between the Q1 and Q3 analyzers. Both the Q1 and Q3 analyzers can be instruments used in a mass spectrometer for mass spectrometry analysis. The Q1 analyzer can be used to select a specific ion mass, and the Q3 analyzer can be used to detect and record the ion signal.

[0129] It should be emphasized that the above delay time can be set to 0, or of course, other values. This embodiment does not impose any restrictions.

[0130] It should also be noted that, in order to enable the quadrupole to screen target ions, the above scanning parameters may also include a static parameter list, which may include the scanning frequency and static voltage. The scanning frequency may be the speed at which the ion beam passes through the quadrupole, and the static voltage may be the voltage used in the mass spectrometer to accelerate and focus the ion beam. Furthermore, the above device may also set the static voltage and scanning frequency according to the static parameter list through a dynamic scanning controller.

[0131] It is understandable that the aforementioned initialization time could be the time required to set parameters such as static voltage, for example... Figure 6 As shown, segment AB represents the initialization time mentioned above, and the time point corresponding to point A can be the initialization start time point.

[0132] In a specific implementation, the dynamic scanning controller in the above-mentioned device can first receive the start and stop scanning command, and parse it to obtain the start scanning mode and delay time. It can obtain the initialization time according to the scanning segment parameter table, and start the delay according to the delay time. When the delay ends, it can start the initialization according to the initialization time, so as to complete the setting of parameters such as static voltage during this period.

[0133] Accordingly, step S3021 includes:

[0134] Step S3002: During the initialization time, determine the first position information of the starting scan step in the radio frequency curve parameter table based on the scan segment parameter table.

[0135] It should be understood that the aforementioned initial scan step can be the first scan step at the beginning of a scan segment, such as... Figure 6As shown, if the time corresponding to segment AB is the initialization time, then segment BE can be the first scan segment, segment EH is the second scan segment, and point H is the completion of the scan. Therefore, for the first scan segment, segment BC is the starting scan step corresponding to the first scan segment, and for the second scan segment, segment EF is the starting scan step corresponding to the second scan segment.

[0136] It should be noted that the device described above in this embodiment can determine the first position information of the starting scanning step in the RF curve parameter table according to the scanning segment parameter table within the initialization time. That is, during the AB segment time, the first position information corresponding to the BC segment scanning step can be determined, thereby determining the position information of the next scanning step in advance, which is convenient for subsequent scanning.

[0137] Accordingly, step S3022 above includes:

[0138] Step S3003: During the initialization time, determine the second position information of the starting scan step in the DC curve parameter table based on the scan segment parameter table.

[0139] Understandably, the aforementioned device can determine the second position information of the starting scanning step in the DC curve parameter table based on the scanning segment parameter table within the initialization time. That is, during the AB segment, the second position information corresponding to the BC segment scanning step can be determined, thereby determining the position information of the next scanning step in advance, which is convenient for subsequent scanning.

[0140] Accordingly, step S3034 above includes:

[0141] Step S3004: Perform linear fitting on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to the starting scanning step.

[0142] In a specific implementation, the device can read the first scan segment parameter table in the scan segment parameter table during the initialization time, and obtain the RF amplitude and DC amplitude corresponding to the starting scan step according to the first scan segment parameter table. At the end of the initialization time, the obtained RF amplitude and DC amplitude are used as the latest RF amplitude and DC amplitude. Scanning is performed according to the scan time, RF amplitude and DC amplitude. At the same time, the number of scan steps, the scan duration, and the acquisition time are counted.

[0143] Furthermore, in order to allow the next scanning step to be processed immediately after the initial scanning step is completed, in this embodiment, after step S3004 above, the following is also included:

[0144] When scanning the target ion based on the scan time, the radio frequency amplitude, and the DC amplitude, the third position information of the next scan step in the radio frequency curve parameter table is determined based on the scan segment parameter table;

[0145] The fourth position information of the next scanning step in the DC curve parameter table is determined based on the scanning segment parameter table;

[0146] The third parameter value is obtained based on the third location information, and the fourth parameter value is obtained based on the fourth location information;

[0147] Linear fitting is performed on the third parameter value and the fourth parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to the next scanning step.

[0148] It should be noted that the aforementioned next scan step can be the scan step following the starting scan step, such as... Figure 6 In the CD segment, when the above-mentioned device performs the BC segment scanning step, it can determine the third position information of the CD segment scanning step in the RF curve parameter table and the fourth position information of the CD segment scanning step in the DC curve parameter table. Based on the third position information, it obtains the third parameter value and the fourth parameter value. Then, it performs linear fitting on the third parameter value and the fourth parameter value to obtain the RF amplitude and DC amplitude corresponding to the CD segment scanning step. The obtained RF amplitude and DC amplitude are used as the latest RF amplitude and DC amplitude. When the BC segment scanning ends, the CD segment scanning starts based on the scanning time, RF amplitude and DC amplitude.

[0149] It should be emphasized that when scanning the CD segment, the acquisition of the RF amplitude and DC amplitude of the next scanning segment can begin. The scanning of the next scanning segment can begin when the CD segment scanning segment ends. The processing method of subsequent scanning segments can be consistent with the above. In all cases, the RF amplitude and DC amplitude of the next scanning segment are acquired when the previous scanning segment is being scanned, and the scanning of the next scanning segment is started when the previous scanning segment ends, until the scanning segment is completed.

[0150] It should also be emphasized that the above-mentioned device can also determine whether the scanning steps of the scanning segment have ended based on the number of scanning steps. When the last scanning step of the scanning segment is executed, the next scanning segment is acquired, and the initial scanning step of the next scanning segment is acquired. The above operation is repeated until all scanning segments are completed, thereby completing the scanning and acquisition, and realizing the synchronization of scanning timing and acquisition timing.

[0151] Continue to refer to Figure 6 As shown, Figure 6 The image displays the acquisition results corresponding to each scan segment. Figure 6 The number of ions in the sample is collected and counted.

[0152] In this embodiment, the acquisition of radio frequency amplitude and DC amplitude for the next scanning step can begin when the previous scanning step is executed, thus enabling continuous scanning while scanning and acquisition are synchronized.

[0153] Furthermore, this embodiment of the invention also proposes a storage medium storing a timing synchronization program, which, when executed by a processor, implements the steps of the timing synchronization method described above.

[0154] In addition, refer to Figure 9 , Figure 9 This is a structural block diagram of a first embodiment of the timing synchronization device of the present invention. The present invention also proposes a timing synchronization device comprising:

[0155] The parameter acquisition module 901 is used to acquire the scanning parameters required for scanning when a start scanning command is received;

[0156] The time determination module 902 is used to obtain a scan segment parameter table based on the scan parameters, and to determine the scan time and acquisition time corresponding to each scan segment based on the scan segment parameter table.

[0157] The timing synchronization module 903 is used to scan the target ion based on the scanning time and simultaneously collect the target ion based on the acquisition time, so as to synchronize the scanning timing with the acquisition timing.

[0158] In this embodiment, when the device receives a start scanning command, it can acquire the scanning parameters required for scanning, determine the scanning segment parameter information corresponding to each scanning segment according to the scanning segment parameter table, and determine the scanning step information corresponding to each scanning step within the scanning segment based on the scanning segment parameter information. Then, based on the scanning step information, it determines the start and end time points of the scanning steps, thereby obtaining the scanning time and acquisition time. Finally, it scans the target ions based on the scanning time and acquires the target ions based on the acquisition time, thus synchronizing the scanning and acquisition sequences. Compared to existing asynchronous scanning and acquisition sequences, this embodiment, by pre-setting the acquisition and scanning times to the same sequence, operates on the same scanning step during both scanning and acquisition, synchronizing the scanning and acquisition sequences, improving timing accuracy, and thus enhancing system stability.

[0159] Other embodiments or specific implementations of the timing synchronization device of the present invention can be referred to the above-described method embodiments, and will not be repeated here.

[0160] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0161] The sequence numbers of the above embodiments of the present invention are merely for description and do not represent the superiority or inferiority of the embodiments. Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0162] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A time synchronization method applied in a triple quadrupole mass spectrometer, characterized in that, The timing synchronization method includes: Upon receiving the start scan command, obtain the scan parameters required for scanning; A scan segment parameter table is obtained based on the scan parameters, and the scan time and acquisition time corresponding to each scan segment are determined based on the scan segment parameter table. The target ions are scanned based on the scan time, and simultaneously acquired based on the acquisition time, so that the scan sequence and the acquisition sequence are synchronized. The step of determining the scanning time and acquisition time corresponding to each scanning segment based on the scanning segment parameter table includes: The scanning segment information corresponding to each scanning segment is determined according to the scanning segment parameter table, and the scanning step information corresponding to each scanning step within the scanning segment is determined according to the scanning segment information; The scanning time and acquisition time of each scanning step are determined based on the scanning step information; Prior to the step of scanning the target ion based on the scanning time, the method further includes: Based on the scanning parameters, obtain the RF curve parameter table and the DC curve parameter table; The radio frequency amplitude corresponding to each scanning step is obtained based on the scanning segment parameter table and the radio frequency curve parameter table, and the DC amplitude corresponding to each scanning step is obtained based on the scanning segment parameter table and the DC curve parameter table. Accordingly, the step of scanning the target ion based on the scanning time includes: The target ion is scanned based on the scan time, the radio frequency amplitude, and the DC amplitude.

2. The timing synchronization method as described in claim 1, characterized in that, The steps of obtaining the RF amplitude corresponding to each scan step based on the scan segment parameter table and the RF curve parameter table, and obtaining the DC amplitude corresponding to each scan step based on the scan segment parameter table and the DC curve parameter table, include: Based on the scan segment parameter table, determine the first position information of each scan step in the radio frequency curve parameter table; Based on the scan segment parameter table, determine the second position information of each scan step in the DC curve parameter table; A first parameter value is obtained based on the first location information, and a second parameter value is obtained based on the second location information; Linear fitting is performed on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to each scanning step.

3. The timing synchronization method as described in claim 2, characterized in that, Before the step of determining the first position information of each scan step in the RF curve parameter table based on the scan segment parameter table, the method further includes: The initialization time is obtained according to the scan segment parameter table; Accordingly, the step of determining the first position information of each scan step in the radio frequency curve parameter table based on the scan segment parameter table includes: During the initialization time, the first position information of the starting scan step in the radio frequency curve parameter table is determined based on the scan segment parameter table. Accordingly, the step of determining the second position information of each scanning step in the DC curve parameter table based on the scanning segment parameter table includes: During the initialization time, the second position information of the starting scan step in the DC curve parameter table is determined based on the scan segment parameter table; Accordingly, the step of performing linear fitting on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to each scanning step includes: Linear fitting is performed on the first parameter value and the second parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to the starting scanning step.

4. The timing synchronization method as described in claim 3, characterized in that, After the step of linearly fitting the first parameter value and the second parameter value to obtain the radio frequency amplitude and DC amplitude corresponding to the starting scanning step, the method further includes: When scanning the target ion based on the scan time, the radio frequency amplitude, and the DC amplitude, the third position information of the next scan step in the radio frequency curve parameter table is determined based on the scan segment parameter table; The fourth position information of the next scanning step in the DC curve parameter table is determined based on the scanning segment parameter table; The third parameter value is obtained based on the third location information, and the fourth parameter value is obtained based on the fourth location information; Linear fitting is performed on the third parameter value and the fourth parameter value respectively to obtain the radio frequency amplitude and DC amplitude corresponding to the next scanning step.

5. The timing synchronization method as described in claim 1, characterized in that, Before the step of obtaining the scanning parameters required for scanning upon receiving the start scanning command, the method further includes: Obtain the voltage timing diagram and determine the scanning steps based on the voltage timing diagram; The scanning time and acquisition time are determined based on the scanning steps, and scanning step information corresponding to each scanning step is generated based on the scanning time and the acquisition time. The scanning segments are determined based on the scanning steps, and scanning segment information corresponding to each scanning segment is generated based on the scanning segments and the scanning step information. A scan segment parameter table is constructed based on the scan segment information corresponding to each scan segment, and scan parameters are generated based on the scan segment parameter table.

6. A timing synchronization device, applied in a triple quadrupole mass spectrometer, characterized in that, The device includes: The parameter acquisition module is used to acquire the scanning parameters required for scanning when a start scanning command is received; The time determination module is used to obtain a scan segment parameter table based on the scan parameters, and to determine the scan time and acquisition time corresponding to each scan segment based on the scan segment parameter table. The timing synchronization module is used to scan the target ion based on the scanning time and simultaneously collect the target ion based on the acquisition time, so as to synchronize the scanning timing with the acquisition timing. The time determination module is also used to determine the scanning segment information corresponding to each scanning segment according to the scanning segment parameter table, and to determine the scanning step information corresponding to each scanning step within the scanning segment according to the scanning segment information; and to determine the scanning time and acquisition time of each scanning step based on the scanning step information. The timing synchronization module is further configured to obtain an RF curve parameter table and a DC curve parameter table based on the scanning parameters; obtain the RF amplitude corresponding to each scanning step based on the scanning segment parameter table and the RF curve parameter table; and obtain the DC amplitude corresponding to each scanning step based on the scanning segment parameter table and the DC curve parameter table. Accordingly, the step of scanning the target ion based on the scanning time includes: scanning the target ion based on the scanning time, the RF amplitude, and the DC amplitude.

7. A timing synchronization device, characterized in that, The device includes: a memory, a processor, and a timing synchronization program stored in the memory and executable on the processor, the timing synchronization program being configured to implement the steps of the timing synchronization method as described in any one of claims 1 to 5.

8. A storage medium, characterized in that, The storage medium stores a timing synchronization program, which, when executed by a processor, implements the steps of the timing synchronization method as described in any one of claims 1 to 5.