Variable speed operation control method and device of ai water detection system, electronic equipment and medium

By acquiring and storing the absolute positions of sample bottles and empty spaces on the conveyor belt in real time, and adaptively adjusting the number of steps the conveyor belt moves, the problem of low detection efficiency caused by unreasonable sample scheduling in water quality testing is solved, and efficient sample transfer and testing are achieved.

CN116341576BActive Publication Date: 2026-06-23LIHE TECH (HUNAN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LIHE TECH (HUNAN) CO LTD
Filing Date
2021-12-21
Publication Date
2026-06-23

Smart Images

  • Figure CN116341576B_ABST
    Figure CN116341576B_ABST
Patent Text Reader

Abstract

The application discloses an AI water detection system variable-speed operation control method and device, electronic equipment and medium. The method comprises the following steps: acquiring and storing the absolute positions of all sample bottles and empty positions on a conveying belt in real time; when a request station sends a bottle feeding or bottle discharging request, determining whether the sample bottle or empty position information at the absolute position aligned with the request station meets the matching condition of the bottle feeding or bottle discharging request information sent by the request station; if yes, performing the request operation of the request station; otherwise, controlling the conveying belt to move a specified number of steps and then performing the matching condition determination until the request station request is met, wherein the specified number of steps is adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and the empty positions. The application can adaptively adjust the conveying step number of the conveying belt during detection, effectively reduce the energy consumption of the detection system during operation, improve the conveying efficiency, and shorten the system detection time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of environmental monitoring technology, and in particular, to an AI water monitoring system variable speed operation control method, device, electronic equipment, and medium. Background Technology

[0002] Currently, automated, batch testing solutions for single or a few indicators are relatively mature. Because the number of indicators involved is small, sample scheduling and transport during the testing process are relatively simple. However, in the field of water quality testing, there are hundreds of indicators, each requiring different testing instruments. In actual testing scenarios, each sample needs to be tested for a relatively large number of varying indicators. The number of testing instruments at each sample entry station is limited, and the indicators differ. Furthermore, the conveyor belt typically transports sample bottles at a pre-set fixed speed and direction during loading, unloading, and movement. Therefore, how to efficiently deliver the samples to the most suitable entry station for testing through reasonable scheduling and transport methods to improve system testing efficiency is a major challenge for automated, batch water quality testing. Summary of the Invention

[0003] This application provides a variable speed operation control method for an AI water testing system to solve the technical problem of low system testing efficiency caused by unreasonable sample scheduling and transmission in testing scenarios where there are many discrete indicators to be tested on the sample and many types of testing instruments.

[0004] The technical solution adopted in this application is as follows:

[0005] A variable speed operation control method for an AI water testing system, comprising the following steps:

[0006] The absolute positions of all sample bottles and empty spaces on the conveyor belt are acquired and stored in real time. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering the positions along the conveyor belt track at certain intervals, starting from a preset position on the conveyor belt and moving along the preset conveying direction.

[0007] When a requesting station issues a request to put or take out a bottle, it is determined whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching condition with the request information issued by the requesting station. If the condition is met, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is determined again, until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces.

[0008] Furthermore, when a requesting station issues a request to put or take out a bottle, it is determined whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching condition with the request information for putting or taking out a bottle issued by the requesting station. If they do, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is checked again, until the station request is met. Specifically, this includes:

[0009] When a requesting station issues a request to put or take out a bottle, the requesting station reads the absolute positions of all sample bottles and empty spaces on the conveyor belt from its storage. It then obtains the sample bottle or empty space information at the absolute position on the conveyor belt aligned with the requesting station and determines whether the sample bottle or empty space information at the absolute position aligned with the requesting station matches the request to put or take out a bottle. If the match is found, the requesting station's operation is executed; otherwise, the conveyor belt is moved a specified number of steps before the matching condition is checked again, until the station's request is satisfied.

[0010] Furthermore, the specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of sample bottles and empty spaces on the conveyor belt, specifically including the following steps:

[0011] When there is a sample bottle at the absolute position with the least common multiple of B on the conveyor belt, the conveyor belt moves B steps each time, where B is the number of bottles between each sample feeding station around the conveyor belt.

[0012] When there is a sample bottle on the conveyor belt at the absolute position with the least common multiple of B and the above position is full, and more sample bottles need to be added to the conveyor belt, the conveyor belt moves C steps each time, where C is the largest integer divisor of B other than itself.

[0013] If C≠1, then when the absolute position of the least common multiple of C on the conveyor belt is full of sample bottles and more sample bottles need to be added, the conveyor belt moves D steps each time, where D is the largest integer divisor of C other than itself.

[0014] Repeat the above steps until the conveyor belt moves one step at a time.

[0015] Furthermore, when acquiring and storing the absolute positions of all sample bottles and empty spaces on the conveyor belt in real time, the absolute positions of the sample bottles and empty spaces on the conveyor belt after conveying steps n are:

[0016]

[0017] in:

[0018] The absolute positions of the sample bottles and empty spaces on the conveyor belt before they are conveyed;

[0019] N: The total number of bottle positions obtained by dividing the conveyor belt by partitions;

[0020] The absolute positions of the sample bottles and empty spaces on the conveyor belt after n steps of transport;

[0021] : Modulo operation.

[0022] Furthermore, the absolute positions of all sample bottles and empty spaces on the conveyor belt are acquired and stored in real time, specifically including the following steps:

[0023] During sample preparation, the sample ID of the sample bottle is obtained by scanning the QR code or electronic tag of the sample bottle with a barcode scanner. A wireless connection is established with the sample bottle through the sample ID, and the sample information of the sample bottle is extracted. The sample information includes sample number, testing parameters, delivery time, electronic seal, and transportation temperature data.

[0024] Each sample ID is bound to a sample position register to store the position number of the corresponding sample bottle. The position number corresponds to the absolute position. When the absolute position of the sample bottle changes, the position number in the sample position register changes accordingly.

[0025] The remaining position numbers that are not bound to the sample ID are identified as empty slots;

[0026] By retrieving the position number of each sample bottle by sample ID, the absolute position of all sample bottles and empty spaces on the conveyor belt can be obtained.

[0027] This application also provides an AI water testing system variable speed operation control device, including:

[0028] The position acquisition module is used to acquire and store the absolute positions of all sample bottles and empty spaces on the conveyor belt in real time. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering the positions along the conveyor belt track at certain intervals, starting from the preset position of the conveyor belt and moving along the preset conveying direction.

[0029] The request matching module is used to determine whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching conditions when a requesting station issues a request for bottle entry or exit. If the conditions are met, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is re-evaluated, until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt.

[0030] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the AI ​​water inspection system variable speed operation control method.

[0031] This application also provides a storage medium including a stored program that, when the program is executed, controls the device where the storage medium is located to perform the steps of the AI ​​water inspection system variable speed operation control method.

[0032] Compared with the prior art, this application has the following advantages:

[0033] This application provides an AI water testing system operation method, apparatus, electronic device, and medium. The method includes the following steps: acquiring and storing the absolute positions of all sample bottles and empty spaces on a conveyor belt in real time. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering positions along the conveyor belt track at certain intervals, starting from a preset position on the conveyor belt and moving along a preset conveying direction. When a requesting station issues a request to put or take out a bottle, it is determined whether the information of the sample bottle or empty space at the absolute position on the conveyor belt aligned with the requesting station meets the matching condition with the request information of the requesting station to put or take out a bottle. If the matching condition is met, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps and the matching condition is re-evaluated until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt. The AI ​​water testing system operation method of this application, when a requesting station issues a request to put or take out a bottle, if the sample bottle or empty space information aligned with the requesting station meets the matching condition with the request information, then the requesting station's request operation is executed. Otherwise, the conveyor belt will move a specified number of steps adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt, and then perform the matching condition judgment until the station request is met. Since the specified number of steps in this application is adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt, that is, regardless of the number of sample bottles on the conveyor belt, under the premise of ensuring that the sample bottles can be transferred to the requesting station, a relatively large specified number of steps are maintained each time. This improves the conveying efficiency, reduces the number of moves, and ensures that the requests of each station can be responded to in a timely manner, effectively reducing the energy consumption of the testing system during operation, improving the conveying efficiency, and shortening the system testing time.

[0034] In addition to the purposes, features, and advantages described above, this application has other purposes, features, and advantages. The application will now be described in further detail with reference to the accompanying drawings. Attached Figure Description

[0035] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0036] Figure 1 This is a schematic diagram of the variable speed operation control method of the AI ​​water inspection system according to a preferred embodiment of this application.

[0037] Figure 2 This is a schematic flowchart of the sample scheduling subroutine of a preferred embodiment of this application.

[0038] Figure 3 This is a top view of the AI ​​water inspection system of this application.

[0039] Figure 4 This is a schematic diagram of the testing process of the AI ​​water testing system according to a preferred embodiment of this application.

[0040] Figure 5 This is a flowchart of the sample preparation subroutine for this application.

[0041] Figure 6 This is a flowchart of the sample online process for this application.

[0042] Figure 7 This is a flowchart of the sample production line subroutine for this application.

[0043] Figure 8 This is a flowchart of the sample recycling subroutine of this application.

[0044] Figure 9 This is a flowchart illustrating a sub-step of step 2 in a preferred embodiment of this application.

[0045] Figure 10 This is a flowchart illustrating a sub-step of step 1 in a preferred embodiment of this application.

[0046] Figure 11 This is a schematic diagram illustrating the execution sequence of the sample preparation and recovery process according to a preferred embodiment of this application.

[0047] Figure 12 This is a schematic diagram of the variable speed operation control device module of the AI ​​water inspection system according to a preferred embodiment of this application.

[0048] Figure 13 This is a schematic block diagram of an electronic device according to a preferred embodiment of this application.

[0049] Figure 14 This is an internal structural diagram of a computer device according to a preferred embodiment of this application.

[0050] In the diagram: 1. Conveyor belt station; 2. Sample injection station; 3. Loading and unloading station; 4. Capping area; 5. Gas tube removal station; 6. Bottle rotating station; 7. Barcode scanner; 8. Recycling basket; 9. Inspection basket; 10. Analysis module. Detailed Implementation

[0051] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0052] Reference Figure 1 and Figure 2 A preferred embodiment of this application provides a variable speed operation control method for an AI water testing system, comprising the following steps:

[0053] S1. Real-time acquisition and storage of the absolute positions of all sample bottles and empty spaces on the conveyor belt. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering the positions along the conveyor belt track at certain intervals, starting from the preset position of the conveyor belt and moving along the preset conveying direction.

[0054] S2. When a requesting station issues a bottle-in or bottle-out request, determine whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching condition with the bottle-in or bottle-out request information issued by the requesting station. If they meet, execute the request operation of the requesting station; otherwise, control the conveyor belt to move a specified number of steps and then re-evaluate the matching condition until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces. The matching condition specifically refers to:

[0055] When the sample injection station issues a bottle injection request, it determines whether there is a sample bottle on the conveyor belt at the absolute position aligned with the requested station that matches the detection parameters (indicators) of the sample injection station. If there is, the bottle injection operation is performed.

[0056] When the sample injection station issues a bottle ejection request, it determines whether there is an empty space on the conveyor belt at the absolute position aligned with the requested station. If there is, the bottle ejection operation is performed.

[0057] When the upstream or downstream workstation issues a bottle feeding request, it is determined whether there is an empty space on the conveyor belt at the absolute position aligned with the requesting workstation. If there is, the bottle feeding operation is performed.

[0058] When the upstream or downstream workstation issues a bottle ejection request, it is determined whether there is a sample bottle that has completed testing at the absolute position on the conveyor belt that is aligned with the requested workstation. If there is, the bottle ejection operation is performed.

[0059] The AI ​​water testing system involved in this embodiment is as follows: Figure 3As shown, the system includes conveyor belt station 1, sample injection station 2, loading and unloading station 3, cap storage area 4, gas removal station 5, bottle rotating station 6, barcode scanner 7, recycling basket 8, inspection basket 9, and analysis module 10. The conveyor belt of the AI ​​water testing system shown is a circulating conveyor belt; further, it can be a ring conveyor belt. The ring conveyor belt chain plate has 108 partitions evenly installed, dividing the conveyor belt into 108 conveyor belt stations 1. Each partition has a sensor block on one side of its inner ring, and a sensor switch is fixedly installed on one side of the inner ring of the conveyor belt. When a partition moves past the sensor switch as the conveyor belt approaches, the sensor switch reads the signal change and counts. The system considers the conveyor belt to have moved one step for each partition (one conveyor belt station 1 interval).

[0060] A certain position on the circular conveyor belt is aligned with the upper and lower line workstations 3. Starting from the position aligned with the upper and lower line workstations 3 on the conveyor belt, positions are arranged along one direction on the conveyor belt track. For each additional conveyor belt workstation 1 interval from the starting point, the position number is incremented by 1. In this way, 108 absolute positions can be arranged on the conveyor belt. The conveyor belt workstations 1 between the partitions move with the conveyor belt, but the above absolute positions do not change.

[0061] Several sample inlet stations 2 and analysis modules 10 are set on one side of the outer ring of the conveyor belt. When the induction block on the conveyor belt partition is facing the induction switch, all sample inlet stations 2 and upper and lower line stations 3 are facing the bottle position of the conveyor belt station 1. At this time, the sample bottle of the corresponding bottle position on the conveyor belt can enter and exit the upper and lower line station 3 or the sample inlet station 2.

[0062] Figure 4 The diagram below shows the entire testing process of the AI ​​water testing system. Some of the processes in the test will be explained below with reference to the attached diagram.

[0063] Sample preparation

[0064] like Figure 5 As shown, when the sample preparation conditions are met, the robotic arm, using machine vision, picks up the sample bottle from the inspection basket 9 and moves it to the rotating bottle station 6. The sample bottle rotates with the rotating mechanism, and the barcode scanner reads the sample bottle's QR code ID (or electronic tag) to obtain the sample ID. The system establishes a wireless connection with the sample bottle through this sample ID and extracts the sample number, testing parameters, delivery time, electronic seal, and transportation temperature data. After obtaining the above data, the robotic arm and the rotating mechanism work together to open the bottle cap and place it in the designated position in the cap storage area. The system records the sample ID and cap storage position corresponding to the cap. The robotic arm picks up the sample bottle to be inspected from the rotating bottle station and moves it to the upper and lower stations of the conveyor belt to wait for it to be loaded.

[0065] Samples online

[0066] like Figure 6As shown, when the sample loading conditions are met, the system determines whether the conveyor belt station 1 aligned with the upper and lower line station 3 is empty. If it is not empty, the system controls the conveyor belt to move a specified number of steps and then determines whether it is empty again. When the conveyor belt station 1 aligned with the upper and lower line station 3 is empty, the robot arm grabs the sample bottle to be loaded onto the empty position on the conveyor belt.

[0067] Sample transfer

[0068] When the sample transfer conditions are met, the system controls the conveyor belt to move a certain number of steps, delivering the sample bottle to be tested or an empty slot to a position aligned with the target station (up / down line station or sample injection station) to meet the target station's bottle loading or unloading needs. The system can acquire the status of each station in real time. Taking the sample injection station as an example, when a sample injection station has a bottle loading request, the system will determine whether the parameters (indicators) to be tested on the sample bottle at the absolute position aligned with the sample injection station on the conveyor belt match the parameters requested by the sample injection station. If they match, the system executes the request operation of the sample injection station; otherwise, it controls the conveyor belt to move a specified number of steps and performs the matching condition judgment again until the station request is met. When the sample injection station (after testing) needs to unload a bottle, the system will determine whether the absolute position aligned with the sample injection station on the conveyor belt is empty. If they match, the system executes the request operation of the sample injection station; otherwise, it controls the conveyor belt to move a specified number of steps and performs the matching condition judgment again until the station request is met. The conveyor belt stops moving when there are no bottle feeding or voicing requests at any of the workstations (online / offline workstations or sample injection workstations). The specified number of steps is not fixed but adaptively determined by the distribution characteristics of the absolute positions of sample bottles and empty spaces on the conveyor belt. This avoids excessive movement, effectively improves conveying efficiency, and shortens the system's detection time.

[0069] Sample off the production line

[0070] like Figure 7 As shown, when the sample removal condition is met, the system determines whether the sample bottle on the conveyor belt station 1 aligned with the upper and lower line station 3 is a sample that has been inspected (a sample to be removed from the line). If it is not a sample to be removed from the line, the system controls the conveyor belt to move a specified number of steps and then determines whether it is a sample bottle that has been inspected. This process continues until the conveyor belt station 1 aligned with the upper and lower line station 3 is a sample bottle that has been inspected. At this point, the robot arm picks up the sample bottle on the conveyor belt and moves it to a safe height above the conveyor belt.

[0071] Sample recovery

[0072] like Figure 8 As shown, the robotic arm picks up the sample bottle that is coming off the line and moves it to the bottle-spinning station 6. Then, it picks up the bottle cap that was removed when the sample was put on the line from the cap storage area 4. The robotic arm and the bottle-spinning mechanism work together to tighten the bottle cap. The robotic arm picks up the sample bottle with the cap tightened from the bottle-spinning station 6 and moves it to the designated position in the recycling basket 8 and records the position number.

[0073] This embodiment provides a variable speed operation control method for an AI water testing system, the method including the following steps:

[0074] The system acquires and stores the absolute positions of all sample bottles and empty spaces on the conveyor belt in real time. The absolute positions on the conveyor belt are obtained by sequentially increasing the position number along the conveyor belt track at certain intervals, starting from a preset position on the conveyor belt and moving along a preset conveying direction. When a requesting station issues a request to put or take out a bottle, the system determines whether the information of the sample bottle or empty space at the absolute position on the conveyor belt aligned with the requesting station meets the matching condition. If the matching condition is met, the requesting station's operation is executed; otherwise, the system controls the conveyor belt to move a specified number of steps and then performs the matching condition judgment again until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt.

[0075] The AI ​​water testing system operation method of this application, when a workstation issues a request to put or take out a bottle, if the sample bottle or empty space information aligned with the workstation meets the matching condition with the requesting workstation's request to put or take out a bottle, then the requesting workstation's request operation is executed. Otherwise, the conveyor belt will move a specified number of steps adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt, and then perform the matching condition judgment until the workstation request is met. Since the specified number of steps in this application is adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt, that is, regardless of the number of sample bottles on the conveyor belt, under the premise of ensuring that the sample bottles can be transferred to the requesting workstation, a large specified number of steps is maintained each time, thereby improving the conveying efficiency, reducing the number of moves, and ensuring that the requests of each workstation can be responded to in a timely manner. Since this embodiment can adaptively adjust the conveyor belt conveying steps during the detection process, it can effectively reduce the energy consumption of the detection system during operation, improve the conveying efficiency, and shorten the system detection time.

[0076] Optionally, when a requesting station issues a bottle-in or bottle-out request, it is determined whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching conditions of the bottle-in or bottle-out request information issued by the requesting station. If the requesting station meets the bottle-in or bottle-out request conditions, it will perform the corresponding bottle-in or bottle-out operation. After all stations have performed the corresponding bottle-in or bottle-out operations, and after the sample-in station and / or the loading / unloading station have completed the corresponding bottle-in or bottle-out operations, the sample bottle and empty space status on the conveyor belt will change, and the system will update this status in real time. The conveyor belt will adaptively move a specified number of steps according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the updated conveyor belt. In this embodiment, when a requesting station issues a bottle-in or bottle-out request, it determines whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt matches the bottle-in or bottle-out request information issued by the requesting station. If the requesting station meets the bottle-in or bottle-out request conditions, it will execute the corresponding bottle-in or bottle-out operation. At this time, multiple stations (sample-in stations or loading / unloading stations) may meet the bottle-in or bottle-out request conditions. The conveyor belt will only continue moving after all stations have completed their bottle-in or bottle-out operations. This ensures orderly collaborative operation between the stations and the conveyor belt, preventing errors in bottle-in or bottle-out operations from causing discrepancies between the actual position of the sample bottle and the position information in the database, resulting in sample bottle compression or even damage to the conveyor belt. Simultaneously, if some stations experience network anomalies (disconnection), the system will pause the conveyor belt operation until the station's network returns to normal, avoiding errors in bottle-in or bottle-out operations caused by network instability leading to asynchronous movements between the stations and the conveyor belt.

[0077] Optionally, in a preferred embodiment of this application, when a requesting station issues a request to put or take out a bottle, it is determined whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching condition with the request information for putting or taking out a bottle issued by the requesting station. If the condition is met, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is determined again, until the station request is met. Specifically, this includes:

[0078] When a requesting station issues a request to put or take out a bottle, the requesting station reads the absolute positions of all sample bottles and empty spaces on the conveyor belt, obtains the sample bottle or empty space information at the absolute position on the conveyor belt aligned with the requesting station, and determines whether the sample bottle or empty space information at the absolute position on the conveyor belt aligned with the requesting station meets the matching conditions of the request to put or take out a bottle. If they do, the requesting station's request operation is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is checked again, until the station request is met.

[0079] This embodiment adopts a distributed scheduling approach. The central control system acquires and stores the absolute positions of all sample bottles and empty spaces on the conveyor belt, while the scheduling of sample bottles on the conveyor belt is completed by the requesting workstations. This approach ensures high reliability, and even if one requesting workstation fails, it will not affect the execution of requests from other workstations. At the same time, it achieves load balancing, overcomes data transmission bottlenecks, and reduces the hardware requirements of the central control system because some computing power is borne by the requesting workstations.

[0080] Optionally, such as Figure 9 As shown, in a preferred embodiment of this application, the specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of sample bottles and empty spaces on the conveyor belt, specifically including the following steps:

[0081] S21. When there are sample bottles at the absolute positions with a least common multiple of 6 on the conveyor belt, the conveyor belt moves 6 steps each time, where 6 is the number of bottles between each sample feeding station around the conveyor belt.

[0082] S22. When there are sample bottles on the conveyor belt at the absolute position with the least common multiple of 6 and the above position is full, and more sample bottles need to be added to the conveyor belt, the conveyor belt moves 3 steps each time, where 3 is the largest integer divisor of 6 other than itself.

[0083] S23. Since 3 ≠ 1, when the position on the conveyor belt with the least common multiple of 3 is full of sample bottles and more sample bottles need to be added, the conveyor belt moves 1 step each time, and 1 is the largest integer divisor of 3 other than itself.

[0084] S24. Repeat the above steps until the conveyor belt moves 1 step each time. Since the conveyor belt has already moved 1 step each time in step S23 of this embodiment, if it has not reached 1 step, repeat the above steps until the conveyor belt moves 1 step each time.

[0085] In this embodiment, each sample loading station around the conveyor belt is spaced 6 (or an integer multiple of 6) bottle positions apart. The number of steps the conveyor belt moves each time can be automatically adjusted. At the initial stage of sample bottle loading, since each loading station receives concurrent bottle loading requests, the system controls the conveyor belt to perform a matching condition check every 6 steps. This allows the loaded sample bottles to be delivered to the requesting stations more quickly. When the sample bottles on the conveyor belt are fully distributed at intervals of 6, the conveyor belt can automatically adjust to move 3 steps each time. Then, when the least common multiple of 3 on the conveyor belt is full of sample bottles and more need to be added, the conveyor belt moves 1 step each time, and so on, until the conveyor belt can only move 1 step at a time to improve the loading efficiency of subsequent sample bottles.

[0086] Specifically, in the above embodiments, when updating the absolute positions of each sample bottle and empty space on the conveyor belt in real time, the absolute positions of the sample bottles and empty spaces on the conveyor belt after conveying steps n are:

[0087] (1);

[0088] in:

[0089] The absolute positions of the sample bottles and empty spaces on the conveyor belt before they are conveyed;

[0090] N: The total number of bottle positions obtained by the partitions on the conveyor belt. In this embodiment, N is 108.

[0091] The absolute positions of the sample bottles and empty spaces on the conveyor belt after n steps of transport;

[0092] : Modulo operation.

[0093] Using the above formula, given the absolute positions of the sample bottles and empty spaces on the conveyor belt before transmission and the total number of bottles on the conveyor belt, the absolute positions of the sample bottles and empty spaces on the conveyor belt after transmission steps n can be accurately calculated. Every time the system completes a request and every time a transmission task is completed, the absolute positions of the sample bottles and empty spaces on the conveyor belt will be recalculated using formula (1) to ensure the real-time and accuracy of the absolute positions of each sample bottle and empty space on the conveyor belt during transmission.

[0094] like Figure 10 As shown, in a preferred embodiment of this application, the process of obtaining the absolute positions of various bottles and empty spaces on the conveyor belt includes the following steps:

[0095] S111. During sample preparation, the sample ID of the sample bottle is obtained by scanning the QR code or electronic tag of the sample bottle with a barcode scanner. A wireless (such as Bluetooth) connection is established with the sample bottle through the sample ID, and the sample information of the sample bottle is extracted. The sample information includes sample number, detection parameters, delivery time, electronic seal, and transportation temperature data.

[0096] S112. Bind a sample position register to each read sample ID to store the position number of the corresponding sample bottle. The position number corresponds to the absolute position. When the absolute position of the sample bottle changes, the position number in the sample position register changes accordingly.

[0097] S113. Confirm the remaining position numbers that are not bound to the sample ID as empty positions;

[0098] S114. By retrieving the position number of each sample bottle through the sample ID, the absolute position of all sample bottles and empty spaces on the conveyor belt can be obtained.

[0099] To obtain the absolute positions of each sample bottle and empty space on the conveyor belt, this embodiment first obtains the sample ID and related sample information of the sample bottle through a barcode scanner and establishes a wireless (such as Bluetooth) connection. Then, each sample ID is bound to a sample position register to store the position number representing the absolute position of the sample bottle. This position number changes as the absolute position of the sample bottle changes. The remaining position numbers not bound to the sample ID are identified as empty spaces. In this way, since both the sample ID and the empty space are bound to the corresponding position number, the position number of each sample bottle can be retrieved through the sample ID and presented in the simulation interface of the system software (see Table 1). This allows the absolute positions of all sample bottles and empty spaces on the conveyor belt to be obtained, ensuring that each sample bottle and empty space is bound to a position number representing its absolute position. Thus, during the detection process, the system can grasp the absolute positions of each sample bottle and empty space on the conveyor belt, achieving precise positioning of each sample bottle and empty space, which facilitates the accurate subsequent transport of each sample bottle and empty space.

[0100] Table 1: System Location Numbers

[0101]

[0102] As can be seen, the control method of this application has two parallel processes: the sample scheduling process and the sample preparation and recovery process.

[0103] like Figure 11 As shown in the feasible embodiment of this application, the sample preparation and retrieval process is mainly responsible for scheduling the operation of the robot arm. In the relevant processes involving the robot arm, the system responds to the sample preparation request first, and then responds to the sample retrieval request. Through the above sorting, the samples to be tested can be brought online as soon as possible, further improving the testing efficiency.

[0104] In addition, the sample scheduling process is mainly responsible for scheduling the conveyor belt operation, such as Figure 2 As shown in the feasible embodiment of this application, when there is a bottle in / out request at the sample injection station or a sample bottle loading / unloading request at the loading / unloading station, the sample scheduling program controls the conveyor belt to move until the matching conditions of all requesting stations are met.

[0105] like Figure 12 As shown, another embodiment of this application provides a variable speed operation control device for an AI water testing system, comprising:

[0106] The position acquisition module is used to acquire and store the absolute positions of all sample bottles and empty spaces on the conveyor belt in real time. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering the positions along the conveyor belt track at certain intervals, starting from the preset position of the conveyor belt and moving along the preset conveying direction.

[0107] The request matching module is used to determine whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching conditions when a requesting station issues a request for bottle entry or exit. If the conditions are met, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is re-evaluated, until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt.

[0108] In this embodiment, the variable speed operation control device of the AI ​​water testing system executes the request operation of the requesting station when the requesting station issues a request to put or take out a bottle. If the sample bottle or empty space information aligned with the requesting station meets the matching condition with the request information, the requesting station will execute the request operation. Otherwise, the conveyor belt will move a specified number of steps adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt, and then perform the matching condition judgment until the station request is met. Since the specified number of steps in this application is adaptively determined according to the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt, that is, regardless of the number of sample bottles on the conveyor belt, under the premise of ensuring that the sample bottles can be transferred to the requesting station, a large specified number of steps are maintained each time. This improves the conveying efficiency, reduces the number of moves, and ensures that the requests of each station can be responded to in a timely manner, effectively reducing the energy consumption of the testing system, improving the conveying efficiency, and shortening the system testing time.

[0109] Each module in the above-mentioned device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0110] like Figure 13 As shown, a preferred embodiment of this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the variable speed operation control method of the AI ​​water inspection system in the above embodiments.

[0111] like Figure 14 As shown in the preferred embodiment of this application, a computer device is also provided, the internal structure of which can be illustrated as follows: Figure 14As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with other external computer devices via a network connection. When the computer program is executed by the processor, it implements the aforementioned AI water inspection system variable speed operation control method.

[0112] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment on which the present application is applied. Specific computer equipment may include more or fewer devices than shown in the figure, or combinations of certain devices, or different device arrangements.

[0113] A preferred embodiment of this application also provides a storage medium, the storage medium including a stored program, which, when the program is executed, controls the device where the storage medium is located to perform the steps of the AI ​​water inspection system variable speed operation control method.

[0114] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0115] If the functions described in this embodiment are implemented as software functional units and sold or used as independent products, they can be stored in one or more computing device-readable storage media. Based on this understanding, the parts of this application's embodiments that contribute to the prior art or the technical solutions can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computing device (which may be a personal computer, server, mobile computing device, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage media include: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and various other media capable of storing program code.

[0116] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A variable speed operation control method for an AI water testing system, characterized in that, Including the following steps: The absolute positions of all sample bottles and empty spaces on the conveyor belt are acquired and stored in real time. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering the positions along the conveyor belt track at certain intervals, starting from a preset position on the conveyor belt and moving along the preset conveying direction. When a requesting station issues a bottle-in or bottle-out request, it is determined whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching condition with the bottle-in or bottle-out request information issued by the requesting station. If they do, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps each time, and the matching condition is checked again until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces. The specific steps include: When there is a sample bottle at the absolute position with the least common multiple of B on the conveyor belt, the conveyor belt moves B steps each time, where B is the number of bottles between each sample feeding station around the conveyor belt. When there is a sample bottle on the conveyor belt at the absolute position with the least common multiple of B and the above position is full, and more sample bottles need to be added to the conveyor belt, the conveyor belt moves C steps each time, where C is the largest integer divisor of B other than itself. If C≠1, then when the absolute position of the least common multiple of C on the conveyor belt is full of sample bottles and more sample bottles need to be added, the conveyor belt moves D steps each time, where D is the largest integer divisor of C other than itself. Repeat the above steps until the conveyor belt moves one step at a time.

2. The variable speed operation control method for the AI ​​water testing system according to claim 1, characterized in that, When a requesting station issues a bottle-in or bottle-out request, it determines whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching condition with the bottle-in or bottle-out request information issued by the requesting station. If they do, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps and the matching condition is checked again until the station request is met. Specifically, this includes: When a requesting station issues a request to put or take out a bottle, the requesting station reads the absolute positions of all sample bottles and empty spaces on the conveyor belt from its storage. It then obtains the sample bottle or empty space information at the absolute position on the conveyor belt aligned with the requesting station and determines whether the sample bottle or empty space information at the absolute position aligned with the requesting station matches the request to put or take out a bottle. If the match is found, the requesting station's operation is executed; otherwise, the conveyor belt is moved a specified number of steps before the matching condition is checked again, until the station's request is satisfied.

3. The variable speed operation control method for the AI ​​water testing system according to claim 1, characterized in that, When acquiring and storing the absolute positions of all sample bottles and empty spaces on the conveyor belt in real time, the absolute positions of the sample bottles and empty spaces on the conveyor belt after conveying steps n are: ; in: The absolute positions of the sample bottles and empty spaces on the conveyor belt before they are conveyed; N: The total number of bottle positions obtained by dividing the conveyor belt by partitions; The absolute positions of the sample bottles and empty spaces on the conveyor belt after n steps of transport; : Modulo operation.

4. The variable speed operation control method for the AI ​​water testing system according to claim 1, characterized in that, The absolute positions of all sample bottles and empty spaces on the conveyor belt are acquired and stored in real time, specifically including the following steps: During sample preparation, the sample ID of the sample bottle is obtained by scanning the QR code or electronic tag of the sample bottle with a barcode scanner. A wireless connection is established with the sample bottle through the sample ID, and the sample information of the sample bottle is extracted. The sample information includes sample number, testing parameters, delivery time, electronic seal, and transportation temperature data. Each sample ID is bound to a sample position register to store the position number of the corresponding sample bottle. The position number corresponds to the absolute position. When the absolute position of the sample bottle changes, the position number in the sample position register changes accordingly. The remaining position numbers that are not bound to the sample ID are identified as empty slots; By retrieving the position number of each sample bottle by sample ID, the absolute position of all sample bottles and empty spaces on the conveyor belt can be obtained.

5. A variable speed operation control device for an AI water testing system, characterized in that, include: The position acquisition module is used to acquire and store the absolute positions of all sample bottles and empty spaces on the conveyor belt in real time. The absolute positions on the conveyor belt are obtained by sequentially and incrementally numbering the positions along the conveyor belt track at certain intervals, starting from the preset position of the conveyor belt and moving along the preset conveying direction. The request matching module is used to determine whether the sample bottle or empty space information at the absolute position aligned with the requesting station on the conveyor belt meets the matching conditions when a requesting station issues a bottle-in or bottle-out request. If the conditions are met, the request operation of the requesting station is executed; otherwise, the conveyor belt is controlled to move a specified number of steps before the matching condition is re-evaluated, until the station request is met. The specified number of steps is adaptively determined by the distribution characteristics of the absolute positions of the sample bottles and empty spaces on the conveyor belt. The specific steps include: When there is a sample bottle at the absolute position with the least common multiple of B on the conveyor belt, the conveyor belt moves B steps each time, where B is the number of bottles between each sample feeding station around the conveyor belt. When there is a sample bottle on the conveyor belt at the absolute position with the least common multiple of B and the above position is full, and more sample bottles need to be added to the conveyor belt, the conveyor belt moves C steps each time, where C is the largest integer divisor of B other than itself. If C≠1, then when the absolute position of the least common multiple of C on the conveyor belt is full of sample bottles and more sample bottles need to be added, the conveyor belt moves D steps each time, where D is the largest integer divisor of C other than itself. Repeat the above steps until the conveyor belt moves one step at a time.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the variable speed operation control method for the AI ​​water inspection system as described in any one of claims 1 to 4.

7. A storage medium comprising a stored program, characterized in that, When the program is running, it controls the device containing the storage medium to perform the steps of the AI ​​water inspection system variable speed operation control method as described in any one of claims 1 to 4.