A control system and method for a triple quadrupole mass spectrometer
Through the coordinated work of the main control module, data processing module and communication module, the problem of low detection efficiency caused by excessive load of the main control chip is solved, and a more efficient detection process is achieved.
Patent Information
- Application Number
- CN202210533256.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-05-12
AI Technical Summary
During the detection process of the triple quadrupole mass spectrometer, the main control chip needs to control multiple controlled units and perform real-time status detection, which increases its workload and affects the detection efficiency.
The main control module, data processing module and communication module are divided into two parts: the main control module issues control instructions, the data processing module parses and converts data formats, and the communication module transmits information, which reduces the workload of the main control module.
Through division of labor and cooperation, the detection efficiency of the triple quadrupole mass spectrometer was improved, ensuring the accuracy of the detection data and the stability of the system.
Smart Images

Figure CN114910544B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical device technology, and in particular to a control system and method for a triple quadrupole mass spectrometer. Background Art
[0002] A triple quadrupole mass spectrometer is a testing instrument used in biology, aquaculture, environmental science, and medicine. Its detection function is achieved by a master control chip sending control instructions to multiple controlled units, which then collect, process, and return data to the sample being tested.
[0003] Because a triple quadrupole mass spectrometer requires multiple controlled units during detection, the main control chip not only has to issue control commands to control these units but also perform real-time status monitoring to ensure they operate according to commands. Furthermore, it must receive and process data returned by these units. Because each controlled unit uses different data interfaces, the format of the data returned by each unit must also be converted within the main control chip. This increased workload on the main control chip, while achieving these functions, impacts its own performance and reduces detection efficiency. Summary of the Invention
[0004] The present application provides a control system and method for a triple quadrupole mass spectrometer to solve the problem that the detection efficiency of the triple quadrupole mass spectrometer is reduced due to excessive integrated functions of a main control chip.
[0005] In a first aspect, an embodiment of the present application provides a control system for a triple quadrupole mass spectrometer, comprising: a main control module, a communication module and a data processing module.
[0006] The main control module is electrically connected to the data processing module;
[0007] The data processing module is electrically connected to the controlled unit of the triple quadrupole mass spectrometer via the communication module;
[0008] The main control module is configured to send control instructions to the data processing module; the communication module is configured to transmit the control instructions and data;
[0009] The data processing module is configured to:
[0010] receiving a control instruction issued by the main control module; the control instruction includes identification information for selecting a controlled unit to be operated and control information for controlling an action mode of the controlled unit;
[0011] parsing the control instruction to obtain a number for selecting a controlled unit, an execution action of the controlled unit, and an operating parameter of the controlled unit;
[0012] sending an execution instruction to the controlled unit through the communication module;
[0013] receiving the sample detection data returned by the controlled unit through the communication module;
[0014] The composition and structure of the sample are determined based on the sample detection data.
[0015] In a second aspect, an embodiment of the present application further provides a method for controlling a triple quadrupole mass spectrometer, comprising:
[0016] issuing a control instruction for controlling a controlled unit of the triple quadrupole mass spectrometer;
[0017] receiving the control instruction;
[0018] Parsing the control instruction to obtain a number for selecting a controlled unit, an execution action of the controlled unit, and an operating parameter of the controlled unit, and compiling them to obtain an execution instruction recognized by the controlled unit;
[0019] sending an execution instruction to the controlled unit;
[0020] Receiving sample detection data returned by the controlled unit;
[0021] The composition and structure of the sample are determined based on the sample detection data.
[0022] Before sending the instruction to the controlled unit: according to the number for selecting the controlled unit obtained by parsing the control instruction, a controlled unit corresponding to the number is selected to receive the execution instruction.
[0023] After sending the execution instruction to the controlled unit, the state of the controlled unit is detected by polling, and the result of the state detection is fed back in real time.
[0024] The state of the controlled unit is detected by polling. When a new control instruction is received, the state detection is suspended in response to the new control instruction. The control instruction is parsed and a new execution instruction is sent to the controlled unit.
[0025] It can be seen from the above technical solution that the embodiment of the present application provides a control system and method for a triple quadrupole mass spectrometer, which controls the triple quadrupole mass spectrometer through a main control module, a data processing module and a communication module. Among them, the main control module is used to issue control instructions and receive status detection information and data information returned by the data processing module. The data processing module is used to parse the control instructions, and select the controlled unit to execute the content of the control instructions according to the control instructions, and perform status detection on the controlled unit at the same time. It is also used to unify the format of the data returned by the controlled unit and then return it to the main control module. The communication module is used for information transmission between the main control module, the data processing module and the controlled unit. By setting the data processing module, the workload of the main control module is reduced, and the function of the main control module is concentrated on controlling the triple quadrupole mass spectrometer, thereby improving the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a control system module connection diagram of a triple quadrupole mass spectrometer provided in an embodiment of the present application;
[0027] Figure 2 This is a flow chart of system module configuration provided by an embodiment of the present application;
[0028] Figure 3 is a flowchart of the execution tasks of the data processing module provided in the embodiment of the present application after executing step S102;
[0029] Figure 4 This is a schematic diagram of polling status detection provided by an embodiment of the present application;
[0030] Figure 5 This is a flowchart of the execution tasks when the data processing module receives a new control instruction from the main control module when the controlled unit is operating normally, as provided in an embodiment of the present application;
[0031] Figure 6 This is a logic diagram of the data processing module operation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0033] A triple quadrupole mass spectrometer is a mass spectrometer that uses three sets of quadrupoles connected in series. The first set of quadrupoles, Q1, and the third set of quadrupoles, Q3, serve as mass spectrometers for parent ions and fragment ions resulting from parent ion fragmentation. The second set of quadrupoles, Q2, acts as a collision activation chamber for ion collisions. The first set of quadrupoles, Q1, selects parent ions, which are then subjected to collisional dissociation in the second set of quadrupoles, Q2. Finally, the third set of quadrupoles, Q3, analyzes the fragment ions, ultimately yielding a mass spectrum of the sample being tested.
[0034] A triple quadrupole mass spectrometer requires multiple controlled units during detection, including a vacuum gauge, mechanical pump, molecular pump, flow meter, heater, mass analyzer, electron multiplier, and signal conditioning circuitry. The vacuum gauge measures pressure in a vacuum environment; the mechanical and molecular pumps create a vacuum; the flow meter measures the flow of collision reaction gases and ion source gases; the heater controls the temperature of the ion transport tube; the mass analyzer scans ions with varying mass-to-charge ratios; and the electron multiplier and signal conditioning circuitry collect and transmit signals from ions with varying mass-to-charge ratios.
[0035] For example, when scanning and analyzing a sample, the main control chip first controls the mass analyzer to scan the ions from the ion source on the first set of quadrupoles Q1, and only allows ions with a specific mass-to-charge ratio to enter the second set of quadrupoles Q2. As the ions from the ion source reach the first set of quadrupoles Q1, the main control chip also controls the ion source to output ions at a certain rate, controls the temperature of the heating device, and filters the ions according to a specific mass-to-charge ratio through the mass analyzer.
[0036] Next, the ions passing through the first set of quadrupoles Q1 undergo collision fragmentation within the second set of quadrupoles Q2. During this process, the main control chip controls the mechanical and molecular pumps to create a vacuum environment suitable for ion collisions. Simultaneously, the main control chip controls the vacuum gauge to monitor the vacuum environment and return vacuum / pressure data.
[0037] Finally, the fragment ions obtained by collision arrive at the third set of quadrupoles Q3. The main control chip controls the mass analyzer to scan the fragment ions according to the preset mass range. Finally, the fragment ions enter the electron multiplier. The output signal of the electron multiplier is counted by the signal conditioning circuit. The signal conditioning circuit returns the counting information to the main control chip through communication for spectrum drawing.
[0038] Furthermore, during the scanning and analysis process, the main control chip also controls aspects such as the power supply, which involves the power parameters of each controlled unit. Therefore, the main control chip not only issues control instructions to control multiple controlled units, but also performs real-time status detection on the controlled units to ensure they operate according to instructions. It also receives and processes the data returned by the controlled units. Because different controlled units use different data interfaces, the format of the data returned by the controlled units also needs to be converted within the main control chip. While implementing the above functions, the main control chip experiences increased load, which in turn affects its own performance and reduces detection efficiency.
[0039] In order to solve the above-mentioned problem of performance degradation of the main control chip and reduced detection efficiency due to increased workload, the embodiments of the present application provide a control system and method for a triple quadrupole mass spectrometer.
[0040] Figure 1 This is a control system module connection diagram of a triple quadrupole mass spectrometer provided in an embodiment of the present application. Figure 2 This is a flow chart of system module configuration. The control system is used to control a triple quadrupole mass spectrometer. By setting the main control module and the data processing module to take on different functions, the problem of reduced detection efficiency due to the heavy workload of the main control chip is solved. Figure 1 and Figure 2 As shown, the control system includes: a main control module, a communication module and a data processing module. The main control module is electrically connected to the data processing module, and the data processing module is electrically connected to the controlled unit of the triple quadrupole mass spectrometer through the communication module.
[0041] The main control module and the data processing module are also electrically connected via the communication module. Control commands issued by the main control module are transmitted to the data processing module via the communication module. The data processing module assists the main control module in controlling the controlled units and consists of a microprocessor chip with control functions and peripheral circuits compatible with the chip. This assistance is reflected in the data processing module's role in parsing control commands and transmitting them to the corresponding controlled units, performing status checks on the controlled units, and formatting the data returned by the controlled units before sending them to the main control module.
[0042] For example, during a scan analysis of a sample to be tested, the main control module sends a control instruction to the data processing module for controlling the controlled unit. After receiving the control instruction, the data processing module parses the control instruction and compiles it into an execution instruction and sends it to the controlled unit. The data processing module receives the ion flow data detected by the flow meter during the detection process, the temperature detection data attached to the heating device, the vacuum / air pressure data detected by the vacuum gauge, and the ion count information detected by the electron multiplier and signal conditioning circuit. Parameters such as temperature, air pressure, and flow are state detection data. After receiving the state detection data, the data processing module returns it to the main control module in real time for normal operation detection. The ion count information is used to generate a mass spectrum of the sample to be tested. The mass spectrum is generated by the data processing module and then sent to the main control module. After the generated mass spectrum is confirmed to meet the standards in the main control module, the main control module issues a stop operation instruction.
[0043] In one embodiment, the controlled units include a vacuum gauge, a mechanical pump, a molecular pump, a flow meter, a heating device, a mass analyzer, an electron multiplier, and a signal conditioning circuit. The communication methods used by these controlled units are RS485 or RS232 serial communication. Therefore, the communication module uses a communication chip suitable for RS485 and RS232 communication. Accordingly, peripheral circuits related to RS485 and RS232 are also required around the data processing module to ensure data transmission between the data processing module and each controlled unit.
[0044] The communication interface of each controlled unit is fixed at the factory and difficult to change. RS485 or RS232 communication methods can paralyze the entire transmission network due to node errors during data transmission, and debugging is also difficult. Therefore, CAN communication was selected as the communication method between the main control module and the data processing module. CAN communication has an error detection mechanism during data transmission and provides higher communication reliability, ensuring data accuracy. Accordingly, the communication module also includes the hardware circuitry for converting RS485 / RS232 communication to CAN communication. In conjunction with code instructions, the data processing module converts the return data received from each controlled unit into the transmission format corresponding to CAN communication and returns it to the main control module.
[0045] Furthermore, when configuring the peripheral circuits of the communication module, a communication alarm light is provided. When a communication anomaly occurs, the light flashes to alert the operator, allowing them to immediately detect the anomaly and debug the control system. Different alarm modes, such as flashing frequency, can be set based on the type of communication anomaly. Different colors of the alarm light can also be used to indicate different abnormal conditions.
[0046] As can be seen from the above, the data processing module should use a type of microprocessor chip as its core chip. This core chip has control functions and is equipped with related circuits. Such microprocessor chips include, but are not limited to, FPGAs (Field-Programmable Gate Arrays), ARMs (Advanced RISC Machines, AEM processors), and single-chip microcomputers. Because the data processing module serves as a control module auxiliary to the main control chip, in this embodiment, a lower-cost single-chip microcomputer is selected as the core processing chip of the data processing module.
[0047] After the main control module issues a control instruction, the data processing module is configured as follows:
[0048] S101: Receive a control instruction sent by the main control module.
[0049] The control instruction includes identification information for selecting the controlled unit to be operated and control information for controlling the operation mode of the controlled unit. The main control module issues a control instruction for controlling the operation of the controlled unit, which is received by the data processing module. When the control instruction is the first instruction issued by the main control module, it is usually an instruction to control the controlled unit to start working; when the control instruction is issued when the controlled unit is working, the basis for its issuance may be that the data / sample to be detected has changed, so a new controlled unit needs to be called; it may also be that the returned data is incorrect and the status of the controlled unit needs to be detected; it may also be to improve the detection efficiency and call a spare controlled unit to participate in the detection. However, the purpose and reason for the main control module to issue the control instruction include but are not limited to the above content. The content of the control instruction is formulated and issued based on the actual detection content.
[0050] S102: Parse the control instruction, and send an execution instruction to the controlled unit through the communication module.
[0051] The data processing module receives control instructions via CAN communication, parses them, and generates execution instructions based on the results, which are then transmitted to the controlled unit. Parsing the control instructions yields the number used to select the controlled unit, the execution action for the controlled unit, and the controlled unit's operating parameters. This parsing process converts the control instructions from CAN communication format data into RS485 / RS232 communication format data for direct transmission to the controlled unit. Its primary application scenario involves simple operations such as starting and stopping a single controlled unit. It also involves compiling the parsed controlled unit number, execution action, and operating parameters into corresponding execution instructions based on the control instruction content and transmitting them to the controlled unit. This primary application scenario involves starting multiple controlled units with complex conditions such as a start sequence, start time, and end time.
[0052] The controlled units are numbered, including but not limited to, based on hardware information such as the machine number and data port address of the controlled unit. Utilizing the controlled unit number in conjunction with the control information in the control instruction allows for more accurate control of the controlled unit's execution of related actions during the detection process. For complex startup methods, individually assigning controlled units by number reduces control difficulty while ensuring proper startup of the controlled units.
[0053] S103: Receive the sample detection data returned by the controlled unit through the communication module.
[0054] After receiving the execution command, the controlled unit starts up according to the execution command and returns data to the data processing module. This returned data includes, but is not limited to, ion flow rate and flow rate measured by the flowmeter, temperature sensor data attached to the heating device, and mass spectrometry data obtained by the mass analyzer. The actual data returned may vary depending on the controlled unit currently being tested and the data required for the test, but all data is returned to the data processing module. After processing by the data processing module, the status test results and mass spectrum are returned to the main control module.
[0055] The communication module used for data transmission between the data processing module and the controlled units also includes a multiplexing unit and a communication unit. The data processing module issues execution instructions to the controlled units via the communication module. The communication module transmits these instructions to the controlled units, which then perform checks based on the instructions and return data. The returned data is transmitted via the controlled unit's data port to the multiplexing unit's data acquisition port, and finally to the data processing module.
[0056] The communication unit utilizes an RS485 or RS232 communication chip as its core, along with peripheral circuitry. The multiplexing unit also utilizes a multiplexing chip as its core, along with peripheral circuitry. The multiplexing chip provides multiple data acquisition ports for lower-level controlled units, while exchanging information with the upper-level data processing unit through a single port. Each type of controlled unit is equipped with a multiplexing chip. Data collected by the same type of controlled unit during operation is first aggregated through the multiplexing chip's multiple data acquisition ports and then transmitted to the data processing module.
[0057] The use of a multiplexing chip aggregates and retransmits data from multiple controlled units, reducing the use of communication interfaces, saving hardware resources, and lowering hardware costs. Furthermore, during the data collection phase, the multiplexing chip can also classify and identify the data returned by the controlled units, making it easier to pinpoint the source of the faulty data when problems arise.
[0058] When the data processing module executes step S102 , the data processing module selects a controlled unit corresponding to the control instruction according to a result of parsing the control instruction.
[0059] The main control module issues general control instructions, which include operating conditions such as how the controlled units should operate and when. The data processing module parses the general control instructions and assigns tasks to the controlled units based on the parsed content. The data processing module assigns different tasks to different types of controlled units by identifying the controlled unit's signature identifiers contained in the general control instructions. These identifiers include, but are not limited to, the controlled unit's communication port code, a self-assigned controlled unit number, and similar features.
[0060] S104: Receive sample test data and analyze sample composition and structure.
[0061] After receiving the sample test data, the data processing module classifies, compares, and summarizes the data according to the existing database to obtain the sample test results. The test results can also be used to exchange information with the main control module, which can also use the test results as the basis for generating subsequent control instructions and determine the progress of the test.
[0062] In some embodiments, the current detection progress can be compared with the detection progress requirement, and based on the comparison result, new control instructions can be generated to activate the number of controlled units that meets the current progress requirement, or the operating parameters of the controlled units can be adjusted as required. Through this adjustment method, the control system can automatically and in real time adjust the number of controlled units to be activated and the operating mode of the controlled units according to detection needs, fully ensuring detection efficiency.
[0063] Figure 3 This is a flowchart of the tasks executed by the data processing module after executing step S102. Figure 4 This is a schematic diagram of polling status detection.
[0064] S201: Performing status detection on the controlled unit in a polling manner.
[0065] Step S201 involves the data processing module sequentially performing normal operating status checks on the controlled units currently in operation to ensure their normal operation during the testing process. A specific implementation involves configuring a state machine within the data processing module. The state machine has a corresponding state for each controlled unit. After each state check on a controlled unit, the machine automatically jumps to the next state to perform state checks on the remaining controlled units.
[0066] If an error occurs, the data processing module promptly sends an error report to the main control module. This status check is performed by adding an error flag to each data point returned by the controlled unit. The data consists of multiple data bytes, and several of these bytes are selected as error flags. If the data processing module detects any data bytes containing error flags in the data returned by the controlled unit, it reports the error to the main control module. The data processing module also transmits the controlled unit number from which the data originated to the main control module, awaiting new control instructions from the main control module.
[0067] S202: Feedback the status detection result to the main control module in real time.
[0068] The data processing module not only feeds back the status detection results to the main control module, but also transmits the controlled unit number where the data originated to the main control module, allowing the main control module to identify any problems with the controlled unit and issue appropriate processing instructions. The data processing module then waits for new control instructions from the main control module.
[0069] Figure 5 This is a flowchart of the execution tasks when the data processing module receives a new control instruction from the main control module when the controlled unit is operating normally.
[0070] S301: In response to a control instruction from the main control module, suspend status detection.
[0071] When a new control instruction is received, it indicates that the detection task has changed. The working state of the controlled unit will also change. To save process resources, the state detection of the controlled unit is suspended. The state machine also switches to the state of executing / parsing the control instruction of the main control module. After parsing the new control instruction content, the state detection of the controlled unit is resumed.
[0072] S302: Parse the control instruction, and send a new execution instruction to the controlled unit through the communication module.
[0073] After parsing the new control instruction, the data processing module obtains the number, execution action and operating parameters of the controlled unit that needs to be called in the new detection task, compiles and generates a new execution instruction and transmits it to the called controlled unit. After all the called controlled units are successfully started, the status of the controlled units is again detected by polling to ensure the accuracy of the data and the working efficiency of the controlled units.
[0074] Figure 6The logic diagram for running the data processing module. The upper box in the figure represents the judgment loop related to the while statement. Applied to the above functions, the data processing module is configured in a multi-threaded processing mode, and the data processing module uses different threads to receive instructions and issue instructions respectively. For example, thread 1 is set as a transmission thread for transmitting data outward, and the data processing module transmits data information to the main control module or the controlled unit through thread 1. Thread 2 is set as a receiving thread for receiving data, and the data returned by the controlled unit and the control instructions issued by the main control module are all received by the data processing module through thread 1. And the priority of the instructions issued by the main control module is set to the highest. When the data processing module receives and sends data through thread 1 / thread 2, it receives the instructions issued by the main control module, and immediately receives the instructions issued by the main control module through thread 1. After parsing and processing the instructions, it immediately responds to the instructions issued by the main control module through thread 2 and transmits new execution commands to the controlled unit.
[0075] The present application also provides a control method for a triple quadrupole mass spectrometer, which is applied to a control system of a triple quadrupole mass spectrometer, comprising:
[0076] A control instruction for controlling the controlled unit of the triple quadrupole mass spectrometer is issued through the main control module.
[0077] The control instruction is received through a data processing module.
[0078] The control instruction is also analyzed by a data processing module, and an execution instruction is sent to the controlled unit.
[0079] The data returned by the controlled unit is also received through the data processing module.
[0080] After parsing the control instruction, a controlled unit corresponding to the control instruction is selected according to the result of parsing the control instruction, and then an execution instruction is sent to the controlled unit.
[0081] After sending the execution instruction to the controlled unit, the state of the controlled unit is detected by polling, and the result of the state detection is fed back in real time.
[0082] When the state of the controlled unit is detected by polling, when a control instruction from the main control module is received, the state detection is stopped, the control instruction is parsed, and a new execution instruction is sent to the controlled unit.
[0083] By incorporating this method into the control system of a triple quadrupole mass spectrometer, the controlled units of the triple quadrupole mass spectrometer can be monitored for normal operation using a polling detection method, providing real-time feedback when an anomaly occurs. This ensures normal operation and data accuracy, thereby improving detection efficiency.
[0084] The embodiment of the present application provides a control system and method for a triple quadrupole mass spectrometer, which controls the triple quadrupole mass spectrometer through a main control module, a data processing module and a communication module. Among them, the main control module is used to issue control instructions and receive status detection information and data information returned by the data processing module. The data processing module is used to parse the control instructions and select the controlled unit to execute the content of the control instructions according to the control instructions, and perform status detection on the controlled unit at the same time. It is also used to unify the format of the data returned by the controlled unit and then return it to the main control module. The communication module is used for information transmission between the main control module, the data processing module and the controlled unit. By setting the data processing module, the workload of the main control module is reduced, and the function of the main control module is concentrated on controlling the triple quadrupole mass spectrometer, thereby ensuring detection efficiency.
[0085] Furthermore, in terms of circuit board design, a multiplexing chip is used to aggregate and transmit information from multiple controlled units and their multiple sensors to a data processing chip. This allows the detection data returned by the controlled units and their associated sensors to be concentrated on the same data processing chip on the same circuit board. The related hardware is also integrated on the same circuit board as the data processing module, facilitating problem detection and subsequent hardware maintenance. Furthermore, through multi-faceted status monitoring, the normal operation of the controlled units is ensured, thereby ensuring detection efficiency.
[0086] Similar parts between the embodiments provided in this application can be referenced to each other. The specific implementation methods provided above are only a few examples under the overall concept of this application and do not constitute a limitation on the scope of protection of this application. For those skilled in the art, any other implementation methods expanded based on the scheme of this application without expending creative work shall fall within the scope of protection of this application.
Claims
1. A control system for a triple quadrupole mass spectrometer, used to control the triple quadrupole mass spectrometer to detect samples; characterized in that: include: Main control module, communication module and data processing module; The main control module is electrically connected to the data processing module, wherein the main control module and the data processing module perform CAN communication; The data processing module is electrically connected to a controlled unit of the triple quadrupole mass spectrometer, wherein the controlled unit adopts RS485 or RS232 communication mode; The main control module is configured to send control instructions to the data processing module; the communication module is configured to transmit the control instructions and data; The data processing module is configured to: receiving a control instruction issued by the main control module; the control instruction includes identification information for selecting a controlled unit to be operated and control information for controlling an action mode of the controlled unit; parsing the control instruction to obtain a number for selecting a controlled unit, an execution action of the controlled unit, and an operating parameter of the controlled unit; Compiling the number of the controlled unit, the execution action of the controlled unit, and the operating parameters of the controlled unit to obtain an execution instruction recognized by the controlled unit; sending an execution instruction to the controlled unit through the communication module; Performing status detection on the controlled unit; receiving status detection data returned by the controlled unit, converting the data format of the status detection data into a transmission format corresponding to CAN communication, and sending the data to the main control module in real time; receiving, via the communication module, sample test data returned by the controlled unit, obtaining a sample test result based on the sample test data, and sending the sample test result to the main control module via the communication module, so that the main control module obtains a current test progress based on the sample test result, compares the current test progress with a test progress requirement, and generates a new control instruction based on the comparison result to call a number of controlled units that meets the current test progress requirement, or adjusts operating parameters of the controlled units; The composition and structure of the sample are determined based on the sample detection data.
2. The system according to claim 1, wherein: The communication module includes: a communication unit and a multiplexing unit; The input port of the multiplexing unit is connected to the output port of the data processing module; the data acquisition port of the multiplexing unit is connected to the data port of the controlled unit; The input port of the communication unit is connected to the output port of the data processing module; the output port of the communication unit is connected to the input port of the controlled unit; the input port of the controlled unit is used to receive the execution instruction; Wherein, the input port and the output port are both bidirectional transmission ports; the data acquisition port of the multiplexing unit is used to acquire the sample detection data returned by the data port of the controlled unit.
3. The system according to claim 1, wherein: Before sending the execution instruction to the controlled unit through the communication module, the data processing module is further configured to: According to the number for selecting a controlled unit obtained by parsing the control instruction, a controlled unit corresponding to the number is selected.
4. The system according to claim 1, wherein: After sending the execution instruction to the controlled unit through the communication module, the data processing module is further configured to: The state of the controlled unit is detected by polling.
5. The system according to claim 4, characterized in that Upon receiving a new control instruction from the main control module, the data processing module is further configured to: In response to the new control instruction, suspending status detection; The new control instruction is parsed, and a new execution instruction is sent to the controlled unit through the communication module.
6. The system according to any one of claims 1 to 5, characterized in that: The data processing module is configured in a multi-threaded processing mode, and the data processing module uses different threads to receive instructions and issue instructions respectively.
7. A control method for a triple quadrupole mass spectrometer, characterized in that: include: The main control module issues a control instruction for controlling the controlled unit of the triple quadrupole mass spectrometer, wherein the control instruction is in a transmission format corresponding to CAN communication; The data processing module receives the control instruction; the control instruction includes identification information for selecting the controlled unit to be operated and control information for controlling the operation mode of the controlled unit; The data processing module parses the control instruction to obtain a number for selecting a controlled unit, an execution action of the controlled unit, and an operating parameter of the controlled unit; The data processing module compiles the number of the controlled unit, the execution action of the controlled unit and the operating parameters of the controlled unit to obtain an execution instruction recognized by the controlled unit; The data processing module sends an execution instruction to the controlled unit; The data processing module performs status detection on the controlled unit; receives status detection data returned by the controlled unit, converts the data format of the status detection data into a transmission format corresponding to CAN communication, and sends the data format to the main control module in real time, wherein the status detection data is in a transmission format corresponding to RS485 or RS232 communication mode; The data processing module receives the sample test data returned by the controlled unit, obtains a sample test result based on the sample test data, and sends the sample test result to the main control module, so that the main control module obtains the current test progress based on the sample test result, compares the current test progress with the test progress requirement, and generates a new control instruction based on the comparison result to call the number of controlled units that meets the current test progress requirement, or adjusts the operating parameters of the controlled units; The data processing module determines the composition and structure of the sample based on the sample detection data.
8. The method according to claim 7, characterized in that Before sending an execution instruction to the controlled unit: The data processing module selects a controlled unit corresponding to a number obtained by parsing the control instruction and used to select a controlled unit.
9. The method according to claim 7, characterized in that After sending the execution instruction to the controlled unit: The data processing module detects the status of the controlled unit in a polling manner.
10. The method according to claim 9, characterized in that When the data processing module receives a new control instruction from the main control module: The data processing module suspends state detection in response to the new control instruction; The data processing module parses the new control instruction and sends a new execution instruction to the controlled unit.