Automatic sample injection multi-parameter detection method, medium and detection system
Through the multi-parameter detection system of automatic sampling, the industrial control machine is used to uniformly control multiple detection instruments and automatic sampling devices, which realizes efficient multi-parameter detection, and solves the existing technology with multiple detection equipment, complex processes and long cycles. The problem has improved the detection efficiency and equipment utilization rate.
Patent Information
- Application Number
- CN202411317622.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-10
AI Technical Summary
In the prior art, water quality testing requires multiple different testing instruments to complete multiple chemical parameter testing, resulting in increased instrument costs, large equipment occupancy, complex testing process and long cycles, and conventional automatic samplers can only be responsible for single sample extraction. It is impossible to achieve efficient multi-parameter detection.
Using a multi-parameter detection system for automatic sampling, the industrial control machine communicates with multiple detection instruments in parallel serial ports, and is connected to the serial port of the automatic sampler to realize the injection time of multiple detection devices, and the automatic sampler and detection are unified. The operation steps of the instrument meet the needs of multi-parameter parallel detection.
It greatly improves the working efficiency of the inspection equipment, reduces equipment costs and space requirements, simplifies the inspection process, shortens the inspection cycle, and achieves efficient completion of multi-parameter detection.
Smart Images

Figure CN119104744A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection technology, and in particular to an automatic sampling multi-parameter detection method, medium and detection system. Background Art
[0002] In the field of laboratory testing, in order to efficiently complete large-volume sample testing, an automatic sample injector is usually used in conjunction with a testing instrument. In the prior art, one automatic sample injector is generally connected to one testing instrument.
[0003] However, in the field of water quality testing in practice, a water sample usually needs to complete dozens of chemical parameter tests, which often requires multiple different detectors. Since each detector needs to draw water samples multiple times in one testing process, it is often necessary to configure an independent automatic sampler, which not only increases the cost of the instrument, but also increases the number of equipment, occupies operating space, and causes congestion, inconvenience in movement and other problems.
[0004] The reasons for existing problems in the industry: 1. Conventional automatic samplers are only responsible for extracting samples from designated locations and have a single outlet; 2. Conventional detectors work independently and are only responsible for designated parameter detection, and there is no communication between instruments.
[0005] For example, if a water sample is to be tested for multiple parameters, it needs to be divided into multiple testing instruments. However, the configuration of one testing instrument + one automatic sampler in the prior art requires the water samples to be packaged and tested separately. This not only makes the testing process more complicated and the testing cycle longer, but also easily leads to waste of water samples if the packaging is unreasonable. Summary of the invention
[0006] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, one purpose of the present invention is to provide a multi-parameter detection system, medium and detection method for automatic sampling, which can realize the organic sequencing of the sampling time of multiple detection devices, greatly improve the working efficiency of the detection equipment, reduce the cost of each device, and greatly reduce the problems of redundant equipment and large space requirements in the detection site.
[0007] In order to achieve the above purpose, this patent provides a multi-parameter detection method of automatic sampling, including an industrial computer, an automatic sampler and multiple detection instruments, the industrial computer is connected in parallel with the multiple detection instruments and connected by serial communication, and the industrial computer is connected to the automatic sampler by serial communication, the automatic sampler is connected to the multiple detection instruments by pipeline at the same time, and the detection method includes the following steps: Step 1: The industrial computer sends a bottle position instruction to the automatic sampler according to the current detection task, and moves the sampling needle to the corresponding sample bottle position; Step 2: The industrial computer sends a "start detection" instruction to all detection instruments in the detection task according to the detection task, and all detection instruments change from the "idle" state to the "busy" state, and all detection instruments start the detection process; the industrial computer sends the sample outlet status of the automatic sampler to all detection instruments at the same time, and the sample outlet of the automatic sampler is in the "sample waiting" state relative to all detection instruments; the number of all detection instruments is at least two; Step 3: The industrial computer continuously reads the current status information of the injection ports of all the detection instruments, and the current status information of the injection ports includes "register address, instrument water sample port associated automatic sampler, current instrument injection port status, check bit", wherein the "current instrument injection port status" includes three states: waiting, executing and stopping; when the industrial computer reads that the "current instrument injection port status" of a detection instrument is "waiting", the detection instrument is included in the "waiting for water supply" queue, and then the automatic sampler is controlled to provide water samples to the detection instruments in the queue in turn, and at the same time, the industrial computer issues an instruction to change the automatic sampler relative to the sample outlet of the detection instrument to the "sample outlet ready" state, and the "current instrument injection port status" of the detection instrument that is extracting water samples is changed to "executing"; Step 4: The industrial computer continuously reads the current status information of the sample inlet of the detection instrument that is extracting water samples in step 3. When the status changes from "execution" to "stop", the industrial computer issues a command to reset the status of the sample outlet of the automatic sampler relative to the detection instrument to "sample waiting status"; Step 5: Repeat steps 3 to 4. When a certain testing instrument completes its own testing task and outputs data, the testing instrument changes from the "busy" state to the "idle" state, and the industrial computer no longer reads the current state information of the injection port of the testing instrument; Step 6: When all the testing instruments have completed all the testing tasks and output the results, the testing task is completed.
[0008] Furthermore, the sample bottle positions of the automatic sampler are arranged in sequence in the form of a disc, and the bottle position instruction includes "register address, disc turns to a specified bottle number, check bit".
[0009] Furthermore, the "start detection" instruction includes "register address, instrument start detection, check bit".
[0010] Furthermore, the sample outlet status information of the automatic sampler relative to all detection instruments includes "register address, instrument water sample outlet associated with the automatic sampler, sample outlet status, check bit", wherein the sample outlet status includes "sample outlet waiting" status and "sample outlet ready" status.
[0011] Furthermore, the automatic sampler is connected to multiple detection instruments by pipelines at the same time, and the automatic sampler is connected to which detection instrument's pipeline is connected by specifying the valve port of the selection valve; in the step three, the industrial computer sends a command to the automatic sampler, switches the valve port of the selection valve to connect the detection instrument in the "waiting for water supply" queue that is about to draw water samples.
[0012] Furthermore, in step six, all detection instruments complete all detection tasks and output data. If there are other sample detection requirements, the central control unit sends instructions to the automatic sampler to move the sampling needle to the next corresponding sample bottle position according to the list of other sample detection tasks, and then performs steps one to six.
[0013] A computer-readable storage medium stores a multi-parameter detection program for automatic sampling, and the multi-parameter detection program for automatic sampling implements the above-mentioned multi-parameter detection method for automatic sampling when executed by a processor.
[0014] An automatic sampling multi-parameter detection system, comprising: an industrial computer, an automatic sample injector and a plurality of detection instruments; The industrial computer is connected in parallel with the multiple detection instruments and connected by serial communication, and the industrial computer is connected by serial communication with the automatic sampler, and the automatic sampler is connected to the multiple detection instruments by pipelines at the same time; the industrial computer is used to send bottle position instructions to the automatic sampler according to the detection task, and move the sampling needle to the corresponding sample bottle position; at the same time, the "start detection" instruction below is sent to all detection instruments in the detection task, and the status of the detection instruments is continuously read, and according to the "current instrument sampler status" in the current status of the sampler of the detection instrument, the detection instruments whose current instrument sampler status is "waiting" are arranged in the "waiting for water supply" queue, and the automatic sampler is controlled to provide water samples to the detection instruments in the queue in turn; according to the "busy" or "idle" status of the detection instrument, it is determined whether to continue to read the current status information of the sampler of the detection instrument; and the output numbers of all detection instruments are read and the detection results are obtained; The automatic sampler is used to control the supply of water samples to the corresponding detection instruments, and at the same time, according to the instructions of the industrial computer, the state of the sample outlet of each detection instrument is switched to the "sample waiting" state or the "sample ready" state; The detection instrument is used to start the detection process in a controlled manner and receive the water sample provided by the automatic sampler according to the instructions of the industrial computer.
[0015] The automatic sampler is connected to multiple detection instruments through pipelines at the same time, and the pipeline connection between the automatic sampler and which detection instrument is connected is determined by specifying the valve port of the selection valve; the industrial computer is further used to issue instructions to the automatic sampler, switch the valve port of the selection valve to the detection instrument in the "waiting for water supply" queue that is about to draw water samples, so as to achieve connection.
[0016] This patent first increases the outlet of the automatic sampler to meet the needs of connecting multiple injection ports of multiple detectors separately, and can realize fixed-point connection; second, it increases the parameter detection capability of a single instrument, such as ion chromatography and ICP-MS instruments can detect multiple parameters at a time; third, the automatic sampler and various detection instruments are uniformly controlled through a central control system (central control machine), especially the operating steps of the automatic sampler and the sampling sequence of each detector, so that the total detection time to complete all parameters is as close as possible to the detection cycle of independent automatic injection, meeting the goal of multi-parameter parallel detection.
[0017] This patent, through the combination form and control method of the automatic sampler and the detection instrument, allows multiple detectors to share one automatic sampler. This can not only meet the needs of multi-parameter parallel detection of each detector and shorten the detection cycle, but also meet the limited sample positions. The automatic sampler can load more samples at the same time.
[0018] In the process of testing a certain water sample to be tested, in most cases each detector needs to extract a quantitative volume of water sample from the automatic sampler multiple times. In order to minimize the time for completion, the central control unit only needs to continuously read the detection steps of the detection instrument, switch the selection valve to the corresponding valve port according to the sorting information of the "waiting for water supply" queue, complete the water extraction of a certain detection instrument, and then continue to read the current status information of all detection instruments until another detection instrument needs to extract water, and then switch the selection valve to the corresponding valve port; without waiting for one detection instrument to complete the water sample extraction action of each step before switching to another detection instrument. In this way, our patent can better realize time utilization, complete the water sample detection task in a short time, and better ensure the authenticity of the water sample data.
[0019] Since the built-in detection process of the detection instrument is pre-cursed, that is, the industrial computer only needs to continuously read the current status of the detection instrument, it can reasonably adjust the automatic sampler and all the detection instruments in the detection task to realize the supply of water samples, and organically adjust and arrange the process time of each detection instrument, which maximizes the rationalization of the multi-parameter detection process. Therefore, the control instructions of our patent are clear and simple, which greatly simplifies the complex scenes such as redundant equipment and wiring under the needs of multi-parameter detection, greatly simplifies the detection process and detection cost, and is suitable for combined detection of various parameter detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a schematic block diagram according to the present invention; Figure 2 It is a schematic diagram of a specific embodiment of the present invention. DETAILED DESCRIPTION
[0021] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0022] Embodiments of the present invention are described below with reference to the accompanying drawings. Figure 1-2 As shown, an automatic sampling multi-parameter detection system, in this embodiment, is a nutrient salt automatic analysis system, which is composed of an industrial computer 1, an automatic sampler 2 and multiple detection instruments 3. Figure 2 As shown, the detection task of this embodiment requires three detection instruments 3, namely detection instruments 3a, 3b, and 3c, and each detection instrument performs detection of 1-2 parameters respectively. The three detection instruments have their own injection ports a1, b1, and c1 respectively, and each injection port a1, b1, and c1 is connected to the valve ports A, B, and C corresponding to the automatic sampler 2 through a pipeline, as shown in FIG. Figure 2 As shown, valve ports A, B, and C of the automatic sampler 2 are connected to the sample injection ports a1, b1, and c1 of the detection instruments 3a, 3b, and 3c, respectively. The automatic sampler is connected to which detection instrument's pipeline by specifying the valve port connection. In this embodiment, all detection instruments 3 and the automatic sampler 2 communicate with the industrial computer 1 through RS-485 and are controlled by the industrial computer 1. In an actual embodiment, the industrial computer 1 can be installed in one of the detection instruments, and this detection instrument is used as a host.
[0023] The detection method of this embodiment comprises the following steps: Step 1: The industrial computer 1 sends a bottle position instruction to the automatic sampler 2 according to the current detection task, and moves the sampling needle to the corresponding sample bottle position; Step 2: The industrial computer 1 sends a "start detection" instruction to the detection instruments 3a, 3b, and 3c according to the detection task, and all the detection instruments 3a, 3b, and 3c change from the "idle" state to the "busy" state, and start the detection process; the industrial computer 1 sends the sample outlet status of the automatic sampler 2 to the detection instruments 3a, 3b, and 3c at the same time, including "register address, instrument water sample port associated with the automatic sampler 2, sample output status, and check bit", wherein the sample output status includes the "sample output waiting" state and the "sample output ready" state; at this time, the sample outlet of the automatic sampler 2 is in the "sample output waiting" state relative to the detection instruments 3a, 3b, and 3c; Step 3: The industrial computer 1 continuously reads the current status information of the injection ports of the detection instruments 3a, 3b, and 3c, and the current status information of the injection ports includes "register address, instrument water sample port associated automatic sampler 2, current instrument injection port status, and check bit", wherein the "current instrument injection port status" includes three states: waiting, executing, and stopping; when the industrial computer 1 reads that the "current instrument injection port status" of the detection instrument a is "waiting", the detection instrument 3a is included in the "waiting for water supply" queue, and then the automatic sampler 2 is controlled to open the valve port A to conduct the injection port a1 of the detection instrument 3a and provide a water sample. In an actual embodiment, the automatic sampler is controlled to turn the valve port of the sample selection valve to the first-ranked detection instrument in the "waiting for water supply" queue, and at the same time, the industrial computer 1 issues an instruction to change the automatic sampler 2 relative to the sample outlet of the detection instrument 3a to the "sample outlet ready" state, and the "current instrument injection port status" of the detection instrument 3a is changed to "executing"; Step 4: The industrial computer 1 continuously reads the current status information of the sample inlet of the detection instrument 3a in step 3. When the status changes from "execution" to "stop", the industrial computer 1 issues a command to reset the status of the sample outlet of the automatic sampler 2 relative to the detection instrument 3a to "sample outlet waiting status"; When the industrial computer 1 reads that the "current instrument injection port status" of the detection instrument 3b or the detection instrument 3c is "waiting", the detection instrument 3b or the detection instrument 3c is sequentially added to the queue of "waiting for water supply" and the above steps are performed; Step 5: Repeat steps 3 to 4. When a certain detection instrument completes its own detection task and outputs data, the detection instrument changes from the "busy" state to the "idle" state, and the industrial computer 1 no longer reads the current state information of the injection port of the detection instrument; Step 6: When the detection instruments 3a, 3b, and 3c complete all detection tasks and output numbers, the detection task is completed.
[0024] The sample bottle positions of the automatic sampler 2 are arranged in sequence in the form of a disc arrangement, and the bottle position instruction includes "register address, disc turns to specified bottle number, check bit"; the "start detection" instruction includes "register address, instrument start detection, check bit". The design of the disc arrangement is conducive to a more compact space design of the automatic sampler 2; in some embodiments, it can also be designed in the form of X-axis, Y-axis or XY-axis arrangement.
[0025] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0026] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0027] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0028] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0029] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A multi-parameter detection method for automatic sampling, characterized in that: The invention comprises an industrial computer, an automatic sample injector and a plurality of detection instruments, wherein the industrial computer is connected in parallel with the plurality of detection instruments and connected via serial communication, and the industrial computer is connected via serial communication with the automatic sample injector, and the automatic sample injector is connected via pipelines with the plurality of detection instruments at the same time. The detection method comprises the following steps: Step 1: The industrial computer sends a bottle position instruction to the automatic sampler according to the current detection task, and moves the sampling needle to the corresponding sample bottle position; Step 2: The industrial computer sends a "start detection" instruction to all detection instruments in the detection task according to the detection task, and all detection instruments change from the "idle" state to the "busy" state, and all detection instruments start the detection process; the industrial computer sends the sample outlet status of the automatic sampler to all detection instruments at the same time, and the sample outlet of the automatic sampler is in the "sample waiting" state relative to all detection instruments at this time; Step 3: The industrial computer continuously reads the current status information of the injection ports of all the detection instruments, and the current status information of the injection ports includes "register address, instrument water sample port associated automatic sampler, current instrument injection port status, check bit", wherein the "current instrument injection port status" includes three states: waiting, executing and stopping; when the industrial computer reads that the "current instrument injection port status" of a detection instrument is "waiting", the detection instrument is included in the "waiting for water supply" queue, and then the automatic sampler is controlled to provide water samples to the detection instruments in the queue in turn, and at the same time, the industrial computer issues an instruction to change the automatic sampler relative to the sample outlet of the detection instrument to the "sample outlet ready" state, and the "current instrument injection port status" of the detection instrument that is extracting water samples is changed to "executing"; Step 4: The industrial computer continuously reads the current status information of the sample inlet of the detection instrument that is extracting water samples in step 3. When the status changes from "execution" to "stop", the industrial computer issues a command to reset the status of the sample outlet of the automatic sampler relative to the detection instrument to "sample waiting status"; Step 5: Repeat steps 3 to 4. When a certain testing instrument completes its own testing task and outputs data, the testing instrument changes from the "busy" state to the "idle" state, and the industrial computer no longer reads the current state information of the sampling port of the testing instrument; Step 6: When all the testing instruments have completed all the testing tasks and output the results, the testing task is completed.
2. The multi-parameter detection method for automatic sampling according to claim 1, characterized in that: The sample bottle positions of the automatic sampler are arranged in sequence in the form of a disc, and the bottle position instruction includes "register address, disc turns to the specified bottle number, check bit".
3. The multi-parameter detection method for automatic sampling according to claim 1, characterized in that: The "start detection" instruction includes "register address, instrument start detection, check bit".
4. The multi-parameter detection method for automatic sampling according to claim 1, characterized in that: The sample outlet status information of the automatic sampler relative to all detection instruments includes "register address, instrument water sample outlet associated with the automatic sampler, sample outlet status, check bit", wherein the sample outlet status includes "sample outlet waiting" status and "sample outlet ready" status.
5. The multi-parameter detection method for automatic sampling according to claim 1, characterized in that: The automatic sampler is connected to multiple detection instruments through pipelines at the same time, and the pipeline of the automatic sampler is connected to which detection instrument is determined by specifying the valve port of the selection valve. In the step three, the industrial computer sends an instruction to the automatic sampler to switch the valve port of the selection valve to connect the detection instrument in the queue "waiting for water supply" that is about to draw water samples.
6. The multi-parameter detection method for automatic sampling according to claim 1, characterized in that: In step six, all detection instruments complete all detection tasks and output data. If there are other sample detection requirements, the central control unit sends instructions to the automatic sampler to move the sampling needle to the next corresponding sample bottle position according to the list of other sample detection tasks, and then performs steps one to six.
7. A computer-readable storage medium, characterized in that: An automatic sampling multi-parameter detection program is stored thereon, and when the automatic sampling multi-parameter detection program is executed by the processor, the automatic sampling multi-parameter detection method according to any one of claims 1 to 6 is implemented.
8. An automatic sampling multi-parameter detection system, characterized in that: include: An industrial computer, an automatic sampler and a plurality of detection instruments, wherein the industrial computer is connected in parallel with the plurality of detection instruments and connected via serial communication, and the industrial computer is connected via serial communication with the automatic sampler, and the automatic sampler is connected to the plurality of detection instruments via pipelines at the same time; The industrial computer is used to send a bottle position instruction to the automatic sampler according to the detection task, and move the sampling needle to the corresponding sample bottle position; at the same time, the "start detection" instruction is sent to all detection instruments in the detection task, and the status of the detection instruments is continuously read. According to the "current instrument injection port status" in the current status of the injection port of the detection instrument, the detection instruments whose current instrument injection port status is "waiting" are arranged in the "waiting for water supply" queue, and the automatic sampler is controlled to sequentially provide water samples to the detection instruments in the queue; according to the "busy" or "idle" status of the detection instrument, it is determined whether to continue to read the current status information of the injection port of the detection instrument; and the output data of all detection instruments are read to obtain the detection results; The automatic sampler is used to control the supply of water samples to the corresponding detection instruments, and at the same time, according to the instructions of the industrial computer, the state of the sample outlet of each detection instrument is switched to the "sample waiting" state or the "sample ready" state; The detection instrument is used to start the detection process in a controlled manner, and at the same time receives the water sample provided by the automatic sampler according to the instructions of the industrial computer.
9. The multi-parameter detection system for automatic sampling as claimed in claim 8, characterized in that: The sample bottle positions of the automatic sampler are arranged in sequence in the form of a disc, and the bottle position instruction includes "register address, disc turns to the specified bottle number, check bit"; the "start detection" instruction includes "register address, instrument start detection, check bit".
10. The multi-parameter detection system for automatic sampling as claimed in claim 8, characterized in that: The sample outlet status information of the automatic sampler relative to all detection instruments includes "register address, instrument water sample outlet associated with the automatic sampler, sample outlet status, check bit", wherein the sample outlet status includes "sample outlet waiting" status and "sample outlet ready" status.
11. The multi-parameter detection system for automatic sampling as claimed in claim 8, characterized in that: The automatic sampler is connected to multiple detection instruments through pipelines at the same time, and the pipeline connection between the automatic sampler and the detection instrument is determined by specifying the valve port of the selection valve to be connected; the industrial computer is further used to issue instructions to the automatic sampler, switch the valve port of the selection valve to the detection instrument in the "waiting for water supply" queue that is about to draw water samples, so as to achieve connection.
