Position correction method, device, electronic device and readable storage medium
By controlling the horizontal power unit movement of the sampler and determining the position compensation parameters, the automatic position correction of the sampler is realized, solving the problem of low position correction efficiency in the prior art, and improving the position correction efficiency.
Patent Information
- Application Number
- CN202310035506.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-10
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2043-01-10
AI Technical Summary
In the prior art, the position correction efficiency of the sampler is low and requires manual assisted adjustment, resulting in low position correction efficiency.
By controlling the horizontal power unit to move to the target position in the first direction, the position compensation parameters are determined, and the motion parameters are corrected according to the compensation parameters, automatic position compensation is realized and manual adjustment is avoided.
Automatic position correction of the sampler is realized, position correction efficiency is improved, and technical defects of manual assisted adjustment are avoided.
Smart Images

Figure CN115969425B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical devices, and in particular to a position correction method, device, electronic device, and readable storage medium. Background Art
[0002] With the rapid development of science and technology, the application of samplers is becoming more and more extensive. In order to accurately distribute samples to various reaction pools or measurements, high requirements are placed on the position accuracy of the sampler's needle during movement and measurement. When the sampler's horizontal power unit is operating, the needle position of the sampler cannot be executed according to the theoretical position during various movements and measurements due to the manufacturing and multi-level assembly errors of mechanical parts. The position needs to be adjusted to ensure that the sampler's needle position is accurate. Each position adjustment requires manual assistance, resulting in low position correction efficiency. Summary of the Invention
[0003] The main purpose of this application is to provide a position correction method, device, electronic device and readable storage medium, aiming to solve the technical problem of low position correction efficiency in the prior art.
[0004] To achieve the above-mentioned object, the present application provides a position correction method, which is applied to a sampler, wherein the sampler includes a sampling needle, and a horizontal power unit is deployed on the sampling needle. The position correction method includes:
[0005] Controlling the horizontal power unit to move from an initial position to a target position in a first direction, and determining position compensation parameters of the horizontal power unit as it passes through each reaction cell;
[0006] According to each of the position compensation parameters, the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction tanks are corrected to obtain target motion parameters;
[0007] According to each of the target motion parameters, the horizontal power unit is controlled to move from the target position to the initial position in a second direction opposite to the first direction.
[0008] Optionally, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the method further includes:
[0009] Acquiring a current position of the horizontal power unit and a position of a reaction tank adjacent to the current position;
[0010] According to the current position, the horizontal power unit is positioned to an initial position corresponding to the position of the reaction tank.
[0011] Optionally, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the method further includes:
[0012] Obtaining position distribution information of each of the reaction pools;
[0013] Based on the position distribution information, the target position corresponding to the horizontal power unit is determined, and the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position is determined, so as to control the horizontal power unit to move from the initial position to the target position in a first direction according to the planned path.
[0014] Optionally, the planned path includes a first path and a second path, and the target position includes a first target position and a second target position.
[0015] The steps of determining the target position corresponding to the horizontal power unit according to the position distribution information, and determining the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position include:
[0016] If the position distribution type corresponding to each of the reaction pools is a linear distribution type and the initial position is a position corresponding to any reaction pool except a reaction pool at an edge position, determining the target first position and the target second position according to the position distribution information;
[0017] The first path is generated according to the position distribution information, the initial position, and the target first position, and the second path is generated according to the position distribution information, the initial position, and the target second position.
[0018] Optionally, the step of determining the target position corresponding to the horizontal power unit according to the position distribution information, and determining the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position includes:
[0019] If the position distribution type corresponding to each of the reaction pools is a circular distribution type, the initial position is used as the target position, and the horizontal power unit is determined to move from the initial position to a planned path corresponding to the initial position based on the position distribution information.
[0020] Optionally, the sampler further deploys an optical coupling structure corresponding to the position of each reaction pool, and the step of determining the position compensation parameter of the horizontal power unit passing through each reaction pool includes:
[0021] Obtaining the actual sampling position corresponding to each of the reaction cells;
[0022] If the optical coupling structure is detected to be triggered, the actual sampling position of the horizontal power unit is collected;
[0023] According to the pairwise differences between the true sampling positions and the actual sampling positions, position compensation parameters of the horizontal power unit passing through the reaction pools are determined.
[0024] Optionally, the motion parameter includes a pulse number, and the target motion parameter includes a target pulse number.
[0025] The step of correcting the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools according to the position compensation parameters to obtain target motion parameters includes:
[0026] Obtaining the unit pulse number corresponding to the horizontal power unit and the reaction pool position corresponding to each reaction pool;
[0027] Determining the number of pulses corresponding to the movement of the horizontal power unit to each of the reaction pools according to the unit pulse number and the position of each of the reaction pools;
[0028] According to each of the position compensation parameters, each of the pulse numbers is corrected to obtain a target pulse number.
[0029] To achieve the above-mentioned purpose, the present application further provides a position correction device, which is applied to a sampler, wherein the sampler includes a sampling needle, and a horizontal power unit is deployed on the sampling needle. The position correction device includes:
[0030] a determination module, configured to control the horizontal power unit to move from an initial position to a target position in a first direction, and determine position compensation parameters of the horizontal power unit as it passes through each reaction cell;
[0031] a correction module, configured to correct the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction tanks according to the position compensation parameters, to obtain target motion parameters;
[0032] A motion module is used to control the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction according to each of the target motion parameters.
[0033] Optionally, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the position correction device is further configured to:
[0034] Acquiring a current position of the horizontal power unit and a position of a reaction tank adjacent to the current position;
[0035] According to the current position, the horizontal power unit is positioned to an initial position corresponding to the position of the reaction tank.
[0036] Optionally, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the position correction device is further configured to:
[0037] Obtaining position distribution information of each of the reaction pools;
[0038] Based on the position distribution information, the target position corresponding to the horizontal power unit is determined, and the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position is determined, so as to control the horizontal power unit to move from the initial position to the target position in a first direction according to the planned path.
[0039] Optionally, the planned path includes a first path and a second path, the target position includes a first target position and a second target position, and the position correction device is further configured to:
[0040] If the position distribution type corresponding to each of the reaction pools is a linear distribution type and the initial position is a position corresponding to any reaction pool except a reaction pool at an edge position, determining the target first position and the target second position according to the position distribution information;
[0041] The first path is generated according to the position distribution information, the initial position, and the target first position, and the second path is generated according to the position distribution information, the initial position, and the target second position.
[0042] Optionally, the position correction device is further used to:
[0043] If the position distribution type corresponding to each of the reaction pools is a circular distribution type, the initial position is used as the target position, and the horizontal power unit is determined to move from the initial position to a planned path corresponding to the initial position based on the position distribution information.
[0044] Optionally, the sampler further deploys an optical coupling structure corresponding to the position of each reaction cell, and the determination module is further configured to:
[0045] Obtaining the actual sampling position corresponding to each of the reaction cells;
[0046] If the optical coupling structure is detected to be triggered, the actual sampling position of the horizontal power unit is collected;
[0047] According to the pairwise differences between the true sampling positions and the actual sampling positions, position compensation parameters of the horizontal power unit passing through the reaction pools are determined.
[0048] Optionally, the motion parameter includes a pulse number, the target motion parameter includes a target pulse number, and the correction module is further configured to:
[0049] Obtaining the unit pulse number corresponding to the horizontal power unit and the reaction pool position corresponding to each reaction pool;
[0050] Determining the number of pulses corresponding to the movement of the horizontal power unit to each of the reaction pools according to the unit pulse number and the position of each of the reaction pools;
[0051] According to each of the position compensation parameters, each of the pulse numbers is corrected to obtain a target pulse number.
[0052] The present application also provides an electronic device, which includes: a memory, a processor, and a program of the position correction method stored in the memory and runnable on the processor. When the program of the position correction method is executed by the processor, the steps of the position correction method as described above can be implemented.
[0053] The present application also provides a computer-readable storage medium, on which is stored a program for implementing the position correction method. When the program for the position correction method is executed by a processor, the steps of the position correction method as described above are implemented.
[0054] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned position correction method when executed by a processor.
[0055] The present application provides a position correction method, device, electronic device and readable storage medium. Compared with manually adjusting the position of each needle sampling of a sampler, the present application is applied to a sampler, wherein the sampler includes a sampling needle, and a horizontal power unit is deployed on the sampling needle. The horizontal power unit is controlled to move from an initial position to a target position in a first direction, and the position compensation parameters of the horizontal power unit passing through each reaction pool are determined; according to each of the position compensation parameters, the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools are corrected to obtain target motion parameters; according to each of the target motion parameters, the horizontal power unit is controlled to move from the target position to the initial position in a second direction opposite to the first direction, and the position compensation parameters of the horizontal power unit in each reaction pool are determined by traversing each reaction pool. Then, according to each position compensation parameter, the motion parameters of the horizontal power unit are corrected, thereby realizing automatic position compensation of the horizontal power unit and avoiding the technical defects of manually adjusting the needle position of the sampler, thereby improving the efficiency of position correction. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0058] Figure 1 This is a flow chart of the first embodiment of the position correction method of the present application;
[0059] Figure 2 A schematic diagram of the arrangement structure of a sampler and a reaction pool involved in the position correction method in an embodiment of the present application;
[0060] Figure 3 Schematic diagram of the device structure of the hardware operating environment involved in the position correction method in the embodiment of the present application.
[0061] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0062] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.
[0063] Example 1
[0064] The present application provides a method for position correction. In the first embodiment of the method for position correction, refer to Figure 1 , applied to a sampler, the sampler including a sampling needle, a horizontal power unit being deployed on the sampling needle, the position correction method including:
[0065] Step S10, controlling the horizontal power unit to move from an initial position to a target position in a first direction, and determining position compensation parameters of the horizontal power unit as it passes through each reaction cell;
[0066] Step S20, correcting the motion parameters corresponding to the movement of the horizontal power unit to the reaction tanks according to the position compensation parameters to obtain target motion parameters;
[0067] Step S30 , controlling the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction according to the target motion parameters.
[0068] Exemplarily, steps S10 to S30 include: obtaining a position interval between an initial position and a target position, determining initial motion parameters corresponding to the horizontal power unit based on the position interval, controlling the horizontal power unit to move from the initial position to the target position in a first direction based on the initial motion parameters, and determining position compensation parameters of the horizontal power unit passing through each reaction pool; correcting motion parameters corresponding to the movement of the horizontal power unit to each reaction pool based on each position compensation parameter to obtain target motion parameters; and controlling the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction based on each target motion parameter.
[0069] As an example, the horizontal power unit moves from the initial position to the target position at a first speed, and the first speed is less than a preset speed threshold, wherein the preset speed threshold is a preset speed critical value of the horizontal power unit. By setting the horizontal power unit to a lower movement speed, the horizontal power unit is prevented from losing steps, which may cause the determined position compensation parameters to be inaccurate or lost, thereby causing inaccurate sampling.
[0070] As an example, a vertical power unit is further deployed on the sampler. When it is detected that the horizontal power unit reaches above each of the reaction pools, the vertical power unit is controlled to drive the sampling needle to sample each of the reaction pools respectively.
[0071] Wherein, in step S10, the sampler further deploys an optical coupling structure corresponding to the position of each reaction cell.
[0072] The step of determining the position compensation parameters of the horizontal power unit passing through each reaction tank comprises:
[0073] Step S11, obtaining the actual sampling position corresponding to each reaction cell;
[0074] Step S12: if the optical coupling structure is detected to be triggered, the actual sampling position of the horizontal power unit is collected;
[0075] Step S13 , determining position compensation parameters of the horizontal power unit passing through each of the reaction cells according to the pairwise differences between each of the true sampling positions and each of the actual sampling positions.
[0076] In this embodiment, it should be noted that the optical coupling structure may be a slot-type optical coupler, and the number and position of the optical coupling structure correspond to each of the reaction cells.
[0077] Exemplarily, steps S11 to S13 include: obtaining the actual sampling position corresponding to each of the reaction pools; if it is detected that a trigger device matching the optical coupling structure triggers the optical coupling structure, collecting the actual sampling position of the horizontal power unit through a position sensor; and determining the position compensation parameters of the horizontal power unit passing through each of the reaction pools based on the difference between each of the real sampling positions and each of the actual sampling positions.
[0078] Wherein, in step S20, the motion parameter includes the pulse number, and the target motion parameter includes the target pulse number.
[0079] The step of correcting the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools according to the position compensation parameters to obtain target motion parameters includes:
[0080] Step S21, obtaining the unit pulse number corresponding to the horizontal power unit and the reaction pool position corresponding to each reaction pool;
[0081] Step S22, determining the number of pulses corresponding to the movement of the horizontal power unit to each of the reaction cells according to the unit pulse number and the position of each of the reaction cells;
[0082] Step S23: correcting each of the pulse numbers according to each of the position compensation parameters to obtain a target pulse number.
[0083] Exemplarily, steps S21 to S23 include: obtaining the number of pulses corresponding to the unit distance of movement of the horizontal power unit to obtain the unit pulse number, and obtaining the position of each reaction pool to obtain the position of each reaction pool; using the ratio of the position of each reaction pool to the unit pulse number as the number of pulses corresponding to the movement of the horizontal power unit to each reaction pool; and correcting each pulse number according to each position compensation parameter to obtain the target pulse number.
[0084] As an example, see Figure 2 , Figure 2 Schematic diagram of the arrangement structure of a sampler and a reaction pool involved in the position correction method in an embodiment of the present application. Figure 2 The system comprises: reaction cells (reaction measurement cell 1, reaction measurement cell 2, reaction measurement cell 3, ..., reaction measurement cell n), a sampling needle, a horizontal power unit (horizontal motion drive unit), a vertical power unit (vertical motion drive unit), and an optical coupling structure (reaction measurement cell position marking structure). Within the frame, the horizontal power unit drives the vertical power unit to move horizontally within the base plate. A position sensor senses the actual position of the horizontal power unit, and the vertical power unit drives the sampling needle in the vertical direction.
[0085] An embodiment of the present application provides a position correction method. Compared with manually adjusting the position of the sampler's needle sampling each time, the embodiment of the present application is applied to the sampler, which includes a sampling needle. A horizontal power unit is deployed on the sampling needle. The horizontal power unit is controlled to move from an initial position to a target position in a first direction, and the position compensation parameters of the horizontal power unit passing through each reaction pool are determined; according to each of the position compensation parameters, the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools are corrected to obtain target motion parameters; according to each of the target motion parameters, the horizontal power unit is controlled to move from the target position to the initial position in a second direction opposite to the first direction, and the position compensation parameters of the horizontal power unit in each reaction pool are determined by traversing each reaction pool. Then, according to each position compensation parameter, the motion parameters of the horizontal power unit are corrected, thereby realizing automatic position compensation of the horizontal power unit and avoiding the technical defects of manually adjusting the needle position of the sampler, thereby improving the efficiency of position correction.
[0086] Example 2
[0087] Further, refer to Figure 2 Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated hereafter. On this basis, in step S10, before the step of controlling the horizontal power unit to move from the initial position to the target position in the first direction, the following is also included:
[0088] Step A10, obtaining the current position of the horizontal power unit and the position of the reaction tank adjacent to the current position;
[0089] Step A20: Positioning the horizontal power unit to an initial position corresponding to the position of the reaction tank according to the current position.
[0090] Exemplarily, steps A10 to A20 include: obtaining the current position of the horizontal power unit and the reaction pool position adjacent to the current position; judging whether the position deviation between the current position and the reaction pool position adjacent to the current position is greater than a preset deviation threshold; if the position deviation between the current position and the reaction pool position adjacent to the current position is greater than the preset deviation threshold, positioning the horizontal power unit to an initial position corresponding to the reaction pool position according to the current position; if the position deviation between the current position and the reaction pool position adjacent to the current position is not greater than the preset deviation threshold, taking the current position as the initial position.
[0091] As an example, the horizontal power unit is manually positioned to an initial position, and the initial position may be a position corresponding to any reaction pool.
[0092] Wherein, in step S10, before the step of controlling the horizontal power unit to move from the initial position to the target position in the first direction, the method further includes:
[0093] Step B10, obtaining the position distribution information of each reaction pool;
[0094] Step B20, based on the position distribution information, determines the target position corresponding to the horizontal power unit, and determines the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position, so as to control the horizontal power unit to move from the initial position to the target position in a first direction according to the planned path.
[0095] Wherein, in step B20, the planned path includes a first path and a second path, and the target position includes a first target position and a second target position.
[0096] The steps of determining the target position corresponding to the horizontal power unit according to the position distribution information, and determining the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position include:
[0097] Step B21: if the position distribution type corresponding to each reaction pool is a linear distribution type and the initial position is a position corresponding to any reaction pool except a reaction pool at an edge position, determining the target first position and the target second position according to the position distribution information;
[0098] Step B22: Generate the first path according to the position distribution information, the initial position, and the target first position; and generate the second path according to the position distribution information, the initial position, and the target second position.
[0099] As an example, see Figure 2 When the initial position is the position corresponding to the reaction measurement cell 3, the position corresponding to the reaction measurement cell n is used as the target first position, the position corresponding to the reaction measurement cell 1 is used as the target second position, the path from the reaction measurement cell 3 to the reaction measurement cell n is used as the first path, and the path from the reaction measurement cell 3 to the reaction measurement cell 1 is used as the second path.
[0100] Wherein, in step B20, the steps of determining the target position corresponding to the horizontal power unit according to the position distribution information, and determining the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position include:
[0101] Step C10: If the position distribution type corresponding to each reaction pool is a circular distribution type, the initial position is used as the target position, and according to the position distribution information, the horizontal power unit is determined to move from the initial position to the planned path corresponding to the initial position.
[0102] An embodiment of the present application provides a position correction method. Compared with manually adjusting the position of the sampler's needle sampling each time, the embodiment of the present application is applied to the sampler, which includes a sampling needle. A horizontal power unit is deployed on the sampling needle. The horizontal power unit is controlled to move from an initial position to a target position in a first direction, and the position compensation parameters of the horizontal power unit passing through each reaction pool are determined; according to each of the position compensation parameters, the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools are corrected to obtain target motion parameters; according to each of the target motion parameters, the horizontal power unit is controlled to move from the target position to the initial position in a second direction opposite to the first direction, and the position compensation parameters of the horizontal power unit in each reaction pool are determined by traversing each reaction pool. Then, according to each position compensation parameter, the motion parameters of the horizontal power unit are corrected, thereby realizing automatic position compensation of the horizontal power unit and avoiding the technical defects of manually adjusting the needle position of the sampler, thereby improving the efficiency of position correction.
[0103] Example 3
[0104] The present application also provides a position correction device, which is applied to a sampler. The sampler includes a sampling needle, and a horizontal power unit is deployed on the sampling needle. The position correction device includes:
[0105] a determination module, configured to control the horizontal power unit to move from an initial position to a target position in a first direction, and determine position compensation parameters of the horizontal power unit as it passes through each reaction cell;
[0106] a correction module, configured to correct the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction tanks according to the position compensation parameters, to obtain target motion parameters;
[0107] A motion module is used to control the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction according to each of the target motion parameters.
[0108] Optionally, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the position correction device is further configured to:
[0109] Acquiring a current position of the horizontal power unit and a position of a reaction tank adjacent to the current position;
[0110] According to the current position, the horizontal power unit is positioned to an initial position corresponding to the position of the reaction tank.
[0111] Optionally, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the position correction device is further configured to:
[0112] Obtaining position distribution information of each of the reaction pools;
[0113] Based on the position distribution information, the target position corresponding to the horizontal power unit is determined, and the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position is determined, so as to control the horizontal power unit to move from the initial position to the target position in a first direction according to the planned path.
[0114] Optionally, the planned path includes a first path and a second path, the target position includes a first target position and a second target position, and the position correction device is further configured to:
[0115] If the position distribution type corresponding to each of the reaction pools is a linear distribution type and the initial position is a position corresponding to any reaction pool except a reaction pool at an edge position, determining the target first position and the target second position according to the position distribution information;
[0116] The first path is generated according to the position distribution information, the initial position, and the target first position, and the second path is generated according to the position distribution information, the initial position, and the target second position.
[0117] Optionally, the position correction device is further used to:
[0118] If the position distribution type corresponding to each of the reaction pools is a circular distribution type, the initial position is used as the target position, and the horizontal power unit is determined to move from the initial position to a planned path corresponding to the initial position based on the position distribution information.
[0119] Optionally, the sampler further deploys an optical coupling structure corresponding to the position of each reaction cell, and the determination module is further configured to:
[0120] Obtaining the actual sampling position corresponding to each of the reaction cells;
[0121] If the optical coupling structure is detected to be triggered, the actual sampling position of the horizontal power unit is collected;
[0122] According to the pairwise differences between the true sampling positions and the actual sampling positions, position compensation parameters of the horizontal power unit passing through the reaction pools are determined.
[0123] Optionally, the motion parameter includes a pulse number, the target motion parameter includes a target pulse number, and the correction module is further configured to:
[0124] Obtaining the unit pulse number corresponding to the horizontal power unit and the reaction pool position corresponding to each reaction pool;
[0125] Determining the number of pulses corresponding to the movement of the horizontal power unit to each of the reaction pools according to the unit pulse number and the position of each of the reaction pools;
[0126] According to each of the position compensation parameters, each of the pulse numbers is corrected to obtain the target pulse number. The position correction device provided in this application adopts the position correction method in the above embodiment to solve the technical problem of low position correction efficiency. Compared with the prior art, the beneficial effects of the position correction device provided in the embodiment of this application are the same as the beneficial effects of the position correction method provided in the above embodiment, and the other technical features of the position correction device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0127] Example 4
[0128] An embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the position correction method of the above embodiment.
[0129] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include but is not limited to in vitro diagnostic equipment such as a hematology analyzer, a biochemistry analyzer, an immunoassay device, an electrolyte analyzer, and the like. Figure 3 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0130] like Figure 3 As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0131] Typically, the following systems can be connected to the I / O interface: input devices such as a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices such as a magnetic tape, hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figures show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.
[0132] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0133] The electronic device provided in this application utilizes the position correction method of the above-described embodiment to solve the technical problem of low position correction efficiency. Compared with the prior art, the beneficial effects of the electronic device provided in the embodiment of this application are the same as those of the position correction method provided in the above-described embodiment, and the other technical features of the electronic device are the same as those disclosed in the above-described embodiment method, and are not further described here.
[0134] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in an appropriate manner.
[0135] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
[0136] Example 5
[0137] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the position correction method in the above embodiment.
[0138] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. A more specific example of a computer-readable storage medium can include, but is not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by an instruction execution system, a system or a device or used in combination therewith. The program code contained in the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: an electric wire, an optical cable, RF (radio frequency), etc., or any suitable combination thereof.
[0139] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0140] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: controls the horizontal power unit to move from the initial position to the target position in a first direction, and determines the position compensation parameters of the horizontal power unit passing through each reaction pool; according to each of the position compensation parameters, corrects the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools to obtain target motion parameters; according to each of the target motion parameters, controls the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction.
[0141] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0142] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0143] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0144] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the aforementioned position correction method, thereby resolving the technical issue of low position correction efficiency. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment of the application are the same as those of the position correction method provided in the aforementioned embodiment, and are not further elaborated here.
[0145] Example 6
[0146] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned position correction method when executed by a processor.
[0147] The computer program product provided in this application solves the technical problem of low efficiency of position correction. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiment of this application are the same as the beneficial effects of the position correction method provided in the above embodiment, which will not be repeated here.
[0148] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A position correction method, characterized in that: Applied to a sampler, the sampler includes a sampling needle, a horizontal power unit is deployed on the sampling needle, and the position correction method includes: Acquiring a current position of the horizontal power unit and a position of a reaction tank adjacent to the current position; According to the current position, positioning the horizontal power unit to an initial position corresponding to the position of the reaction tank; Controlling the horizontal power unit to move from an initial position to a target position in a first direction, and determining position compensation parameters of the horizontal power unit as it passes through each reaction cell; According to each of the position compensation parameters, the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction tanks are corrected to obtain target motion parameters; controlling the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction according to each of the target motion parameters; Wherein, before the step of controlling the horizontal power unit to move from an initial position to a target position in a first direction, the method further includes: Obtaining position distribution information of each of the reaction pools; Based on the position distribution information, the target position corresponding to the horizontal power unit is determined, and the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position is determined, so as to control the horizontal power unit to move from the initial position to the target position in a first direction according to the planned path.
2. The position correction method according to claim 1, wherein: The planned path includes a first path and a second path, and the target position includes a first target position and a second target position. The steps of determining the target position corresponding to the horizontal power unit according to the position distribution information, and determining the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position include: If the position distribution type corresponding to each of the reaction pools is a linear distribution type and the initial position is a position corresponding to any reaction pool except a reaction pool at an edge position, determining the target first position and the target second position according to the position distribution information; The first path is generated according to the position distribution information, the initial position, and the target first position, and the second path is generated according to the position distribution information, the initial position, and the target second position.
3. The position correction method according to claim 1, wherein: The steps of determining the target position corresponding to the horizontal power unit according to the position distribution information, and determining the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position include: If the position distribution type corresponding to each of the reaction pools is a circular distribution type, the initial position is used as the target position, and the horizontal power unit is determined to move from the initial position to a planned path corresponding to the initial position based on the position distribution information.
4. The position correction method according to claim 1, wherein: The sampler also deploys an optical coupling structure corresponding to the position of each reaction pool. The step of determining the position compensation parameters of the horizontal power unit passing through each reaction tank comprises: Obtaining the actual sampling position corresponding to each of the reaction cells; If the optical coupling structure is detected to be triggered, the actual sampling position of the horizontal power unit is collected; According to the pairwise differences between the true sampling positions and the actual sampling positions, position compensation parameters of the horizontal power unit passing through the reaction pools are determined.
5. The position correction method according to claim 1, wherein: The motion parameters include the number of pulses, and the target motion parameters include the target number of pulses. The step of correcting the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction pools according to the position compensation parameters to obtain target motion parameters includes: Obtaining the unit pulse number corresponding to the horizontal power unit and the reaction pool position corresponding to each reaction pool; Determining the number of pulses corresponding to the movement of the horizontal power unit to each of the reaction pools according to the unit pulse number and the position of each of the reaction pools; According to each of the position compensation parameters, each of the pulse numbers is corrected to obtain a target pulse number.
6. A position correction device, characterized in that: Applied to a sampler, the sampler includes a sampling needle, a horizontal power unit is deployed on the sampling needle, and the position correction device includes: a determination module, configured to obtain a current position of the horizontal power unit and a position of a reaction pool adjacent to the current position; locate the horizontal power unit to an initial position corresponding to the position of the reaction pool according to the current position; control the horizontal power unit to move from the initial position to a target position in a first direction, and determine position compensation parameters of the horizontal power unit as it passes through each reaction pool; a correction module, configured to correct the motion parameters corresponding to the movement of the horizontal power unit to each of the reaction tanks according to the position compensation parameters, to obtain target motion parameters; a motion module, configured to control the horizontal power unit to move from the target position to the initial position in a second direction opposite to the first direction according to each of the target motion parameters; Among them, the determination module is also used to: obtain the position distribution information of each of the reaction pools; determine the target position corresponding to the horizontal power unit based on the position distribution information, and determine the planned path corresponding to the movement of the horizontal power unit from the initial position to the target position, so as to control the horizontal power unit to move from the initial position to the target position in a first direction according to the planned path.
7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the position correction method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for implementing the position correction method, and the program for implementing the position correction method is executed by a processor to implement the steps of the position correction method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Probe tip alignment for precision liquid handler
CN1416523A