AI water detection system operation control method and device, electronic equipment and storage medium

CN116341577BActive Publication Date: 2026-09-04LIHE TECH (HUNAN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111573680.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2026-09-04
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

[0003]本申请提供了一种AI水检系统运行控制方法,以解决在样品待测指标多且离散、检测仪器种类多且分散的检测场景下,由于样品调度、传送不合理造成系统检测效率不高的问题

Benefits of technology

[0044] This application provides an AI water testing system operation method, apparatus, electronic device, and storage medium. The method includes the following steps: when each target station issues a bottle-in or bottle-out request, calculate the number of conveying steps required for the conveyor belt to transport the sample bottles and empty spaces that meet the target station's matching conditions to the corresponding target station based on the absolute positions of the sample bottles and empty spaces on the conveyor belt that meet the target station's matching conditions; execute the bottle-in or bottle-out request corresponding to the minimum value of the obtained conveying steps, transport the sample bottles or empty spaces that meet the target station's matching conditions to the corresponding target station for alignment, and perform the bottle-in or bottle-out operation; after transporting the sample bottles or empty spaces that meet the target station's matching conditions to the corresponding target station for alignment and performing the bottle-in or bottle-out operation, update the current status of the target station and the absolute positions of each sample bottle and empty space on the conveyor belt in real time. The AI ​​water inspection system operation method of this application, when each target station issues a request to enter or exit a bottle, first calculates the number of conveyor steps required for the conveyor belt to move the sample bottles and empty spaces that meet the target station's request matching conditions to the corresponding target station based on the absolute positions of the sample bottles and empty spaces on the conveyor belt. Then, it filters and executes the request with the fewest conveyor steps. Moreover, after each request is executed, this application dynamically updates the current state of the target station and the absolute positions of each sample bottle and empty space on the conveyor belt in real time, and generates a new request based on the updated target station state and the absolute positions of each sample bottle and empty space on the conveyor belt, and executes the request with the fewest conveyor steps. This ensures that after responding to the above multiple requests, the total number of conveyor steps moved by the conveyor belt is minimized, effectively reducing the energy consumption of the inspection system, improving the conveying efficiency, and shortening the system inspection time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116341577B_ABST
    Figure CN116341577B_ABST
Patent Text Reader

Abstract

The application discloses an AI water detection system operation control method and device, electronic equipment and a storage medium. The method comprises the following steps: when each target station sends a bottle feeding or bottle discharging request, the absolute position of a sample bottle or an empty position on a conveying belt that meets the matching condition of the target station request is calculated to obtain the number of conveying steps required for the conveying belt to convey the sample bottle or the empty position that meets the matching condition of the target station request to align with the corresponding target station; the minimum value in the obtained conveying step number is executed to convey the sample bottle or the empty position that meets the matching condition of the target station request to align with the corresponding target station, and the corresponding bottle feeding or bottle discharging operation is performed; after the sample bottle or the empty position that meets the matching condition of the target station request is conveyed to align with the corresponding target station and the corresponding bottle feeding or bottle discharging operation is performed, the current state of the target station and the corresponding absolute position on the conveying belt are updated in real time. The application improves the conveying efficiency and shortens 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 operation control method, device, electronic equipment, and storage 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, and the number of testing instruments at each sampling station is limited and the indicators differ. Therefore, how to use reasonable scheduling and transport methods to deliver the samples to the most suitable sampling station for testing, thereby improving system efficiency, is a major challenge in automated, batch water quality testing. Summary of the Invention

[0003] This application provides an AI water testing system operation control method to solve the 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 that are scattered.

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

[0005] An AI water testing system operation control method includes the following steps:

[0006] When each target station issues a request to put or take out a bottle, the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station is calculated based on the absolute position of the sample bottle or empty space that meets the matching conditions of the target station. The absolute position on the conveyor belt is obtained by sequentially increasing the position number along the preset conveying direction on the conveyor belt track at a certain interval, starting from the preset position of the conveyor belt.

[0007] The minimum number of transfer steps obtained corresponds to the bottle inlet or bottle outlet request. The sample bottle or empty space that meets the target station request matching condition is transferred to the corresponding target station and the bottle inlet or bottle outlet operation is performed.

[0008] Sample bottles or empty spaces that meet the matching conditions of the target workstation are transported to the corresponding target workstation for alignment. After the bottle feeding or discharging operation is performed, the current status of the target workstation and the absolute position of each sample bottle or empty space on the conveyor belt are updated in real time.

[0009] Furthermore, when each target station issues a request to load or unload a bottle, the number of conveyor steps required to transport the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station is calculated based on the current absolute position of the sample bottle or empty space on the conveyor belt that meets the matching conditions of the target station. This specifically includes the following steps:

[0010] When the upstream and downstream workstations issue a request to put a sample bottle on or take a sample bottle off the line, the number of conveying steps required for the conveyor belt to move the sample bottle or empty space that meets the matching conditions of the upstream and downstream workstations to the alignment with the upstream and downstream workstations is calculated based on the absolute position of the sample bottle or empty space that meets the matching conditions of the upstream and downstream workstations.

[0011] When the sample injection station issues a request to inject or eject a sample, the number of conveyor steps required for the conveyor to move the sample or empty sample that meets the matching conditions of the sample injection station to the point of alignment with the sample injection station is calculated based on the absolute position of the sample or empty sample that meets the matching conditions of the sample injection station on the conveyor belt.

[0012] Furthermore, the minimum number of transfer steps is executed to request the bottle inlet or outlet, and the sample bottle or empty space that meets the target station request matching condition is transferred to the corresponding target station for alignment. This specifically includes the following steps:

[0013] Calculate the minimum number of conveying steps and obtain the target workstation corresponding to the minimum value, and the absolute position on the conveyor belt aligned with the target workstation;

[0014] The conveyor belt moves a specified number of conveying steps according to the minimum value, conveying the sample bottles or empty spaces that meet the matching conditions of the target station to the position aligned with the target station.

[0015] Further, the conveyor belt moves a specified number of conveying steps according to the minimum value, conveying the sample bottles or empty spaces that meet the target station's matching conditions to a position aligned with the target station, specifically including the following steps:

[0016] When the target station corresponding to the minimum number of conveying steps is the upper or lower line station, the conveyor belt is controlled to move by the minimum number of conveying steps according to the sample bottle loading request, and the nearest empty space is conveyed to the position aligned with the upper or lower line station. The robot arm then picks up the sample bottle to be loaded onto the empty space on the conveyor belt to realize the sample bottle loading. Alternatively, the conveyor belt is controlled to convey the nearest inspected sample bottle to the position aligned with the upper or lower line station according to the sample bottle unloading request, and the robot arm picks up the inspected sample bottle from the conveyor belt and unloads it.

[0017] When the target station corresponding to the minimum number of conveying steps is the sample injection station, the conveyor belt is controlled to move by the minimum number of conveying steps according to the bottle injection request of the sample injection station. The sample bottle that meets the matching conditions of the sample injection station request and is closest to the sample injection station is conveyed to a position aligned with the sample injection station, and the bottle transfer device moves the sample bottle into the sample injection station to achieve sample bottle push-in; or, the conveyor belt is controlled to move by the minimum number of conveying steps according to the bottle ejection request of the sample injection station. The empty space on the conveyor belt that is closest to the sample injection station is conveyed to a position aligned with the sample injection station, and the bottle transfer device moves the sample bottle from the sample injection station to the empty space to achieve sample bottle ejection.

[0018] Furthermore, 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 after conveying n steps are updated as follows:

[0019] i = [N + (i0 + n%N)%N]%N

[0020] in:

[0021] i0: The absolute position of the sample bottles and empty spaces on the conveyor belt before conveying;

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

[0023] i: The absolute position of the sample bottle and the empty space on the conveyor belt after n steps;

[0024] %: Modulo operation.

[0025] Furthermore, in the step of calculating the number of conveyor steps required to transport the sample bottle or empty space that meets the target station's matching conditions to the corresponding target station based on the absolute position of the sample bottle or empty space on the conveyor belt, the required number of conveyor steps is calculated as follows:

[0026]

[0027] in:

[0028] i0: The absolute position of the sample bottles and empty spaces on the conveyor belt before conveying;

[0029] i1: The absolute position on the conveyor belt that is aligned with the corresponding target workstation;

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

[0031] n: Number of teleportation steps.

[0032] Furthermore, the process of obtaining the absolute positions of various bottles and empty spaces on the conveyor belt includes the following steps:

[0033] 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.

[0034] 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.

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

[0036] By retrieving the location number of each sample bottle by sample ID, the absolute location of all sample bottles and empty spaces can be obtained.

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

[0038] The conveying step calculation module is used to calculate the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station when each target station issues a request to put or take a bottle in. The absolute position on the conveyor belt is obtained by sequentially increasing the position number along the preset conveying direction on the conveyor belt track at a certain interval, starting from the preset position of the conveyor belt.

[0039] The request execution module is used to execute the bottle inlet or bottle outlet request corresponding to the minimum value of the obtained transmission steps, and to transmit the sample bottle or empty space that meets the target station request matching conditions to the corresponding target station and perform the bottle inlet or bottle outlet operation.

[0040] The real-time update module is used to transfer sample bottles or empty spaces that meet the matching conditions of the target station request to the corresponding target station for alignment. After the bottle feeding or bottle discharge operation is performed, the current status of the target station and the absolute position of each sample bottle or empty space on the conveyor belt are updated in real time.

[0041] In another aspect, this application 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 operation control method.

[0042] In another aspect, this application 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 testing system operation control method.

[0043] Compared with the prior art, this application has the following beneficial effects:

[0044] This application provides an AI water testing system operation method, apparatus, electronic device, and storage medium. The method includes the following steps: when each target station issues a bottle-in or bottle-out request, calculate the number of conveying steps required for the conveyor belt to transport the sample bottles and empty spaces that meet the target station's matching conditions to the corresponding target station based on the absolute positions of the sample bottles and empty spaces on the conveyor belt that meet the target station's matching conditions; execute the bottle-in or bottle-out request corresponding to the minimum value of the obtained conveying steps, transport the sample bottles or empty spaces that meet the target station's matching conditions to the corresponding target station for alignment, and perform the bottle-in or bottle-out operation; after transporting the sample bottles or empty spaces that meet the target station's matching conditions to the corresponding target station for alignment and performing the bottle-in or bottle-out operation, update the current status of the target station and the absolute positions of each sample bottle and empty space on the conveyor belt in real time. The AI ​​water inspection system operation method of this application, when each target station issues a request to enter or exit a bottle, first calculates the number of conveyor steps required for the conveyor belt to move the sample bottles and empty spaces that meet the target station's request matching conditions to the corresponding target station based on the absolute positions of the sample bottles and empty spaces on the conveyor belt. Then, it filters and executes the request with the fewest conveyor steps. Moreover, after each request is executed, this application dynamically updates the current state of the target station and the absolute positions of each sample bottle and empty space on the conveyor belt in real time, and generates a new request based on the updated target station state and the absolute positions of each sample bottle and empty space on the conveyor belt, and executes the request with the fewest conveyor steps. This ensures that after responding to the above multiple requests, the total number of conveyor steps moved by the conveyor belt is minimized, effectively reducing the energy consumption of the inspection system, improving the conveying efficiency, and shortening the system inspection time.

[0045] In summary, this application employs a dynamic sample bottle tracking and scheduling strategy. By optimizing the matching of the injection station with the detection indicators (parameters) of the sample bottles to be tested, each sample bottle is assigned to the most suitable injection station for testing. This effectively reduces the number of injections required for multiple indicator (parameter) tests on a single sample bottle, shortens the idle waiting time of the testing instrument, and greatly improves the system's testing efficiency. Simultaneously, the system achieves precise sample bottle delivery with minimal transfer steps, effectively improving the system's transfer efficiency.

[0046] 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

[0047] 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:

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

[0049] Figure 2 This is a top-view schematic diagram of the AI ​​water inspection system of this application.

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

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

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

[0053] Figure 6 This is a flowchart of the sample transfer subroutine of this application.

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

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

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

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

[0058] Figure 11 This is a flowchart illustrating a sub-step of step 22 in a preferred embodiment of this application.

[0059] Figure 12 This is a flowchart illustrating another sub-step of step 1 in a preferred embodiment of this application.

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

[0061] Figure 14 This is a schematic diagram illustrating the execution sequence of the sample loading / unloading and transmission process according to a preferred embodiment of this application.

[0062] Figure 15 This is a schematic diagram of the operation control device module of the AI ​​water testing system according to a preferred embodiment of this application.

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

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

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

[0066] 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.

[0067] Reference Figure 1 A preferred embodiment of this application provides an AI water testing system operation control method, including the following steps:

[0068] S1. When each target station issues a request to put in or take out a bottle, the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station is calculated based on the absolute position of the sample bottle or empty space that meets the matching conditions of the target station on the conveyor belt. The absolute position on the conveyor belt is obtained by sequentially increasing the position number along the preset conveying direction on the conveyor belt track at a certain interval, starting from the preset position of the conveyor belt.

[0069] S2. Execute the minimum value of the obtained transfer steps corresponding to the bottle inlet or bottle outlet request, transfer the sample bottle or empty space that meets the target station request matching conditions to the corresponding target station and perform the bottle inlet or bottle outlet operation.

[0070] S3. Transfer the sample bottles or empty spaces that meet the matching conditions of the target station to the corresponding target station. After performing the bottle feeding or bottle discharging operation, update the current status of the target station and the absolute position of each sample bottle or empty space on the conveyor belt in real time.

[0071] The AI ​​water testing system involved in this embodiment is as follows: Figure 2As 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 box 8, inspection box 9, and analysis module 10. The conveyor belt of the AI ​​water testing system shown is a circulating conveyor belt; more specifically, it can be an annular conveyor belt. The annular 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 it. The system considers the conveyor belt to have moved one step for each partition (one conveyor belt station 1 interval).

[0072] 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.

[0073] 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.

[0074] Figure 3 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.

[0075] Sample preparation

[0076] like Figure 4 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 7 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 sample information such as the sample number, testing parameters, delivery time, electronic seal, and transportation temperature data. After obtaining the above data, the robotic arm and the rotating bottle mechanism work together to open the bottle cap and place it in the designated position in the cap storage area 4. 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 top of the conveyor belt's loading / unloading station, where it awaits loading.

[0077] Samples online

[0078] like Figure 5As shown, when the sample loading conditions are met, the system determines whether the conveyor belt station 1, which is aligned with the upper and lower line station 3, is empty. If it is not empty, the nearest empty station on the conveyor belt is moved to the loading position, and the robot arm grabs the sample bottle to be loaded onto the empty station on the conveyor belt.

[0079] Sample transfer

[0080] like Figure 6 As shown, when the sample transfer conditions are met, the system controls the conveyor belt to move a certain number of steps, delivering the sample bottles to be inspected or empty spaces to a position aligned with the target station (up / down line station or sample injection station) to meet the bottle loading or unloading needs of the target station. 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 matches the detection parameters of all sample bottles to be inspected on the conveyor belt with the detection parameters of the sample injection station, and selects the sample bottles that meet the parameter requirements and are closest to the sample injection station by a number of steps. Specifically, when a sample injection station has a bottle loading request, the system matches the detection parameters of all sample bottles to be inspected on the conveyor belt with the detection parameters of the sample injection station, and selects the sample bottles with the most matching detection parameters. When multiple sample bottles meet the condition, the sample bottle closest to the sample injection station by a number of steps is selected. This reduces the number of sample injections required for multiple testing parameters on a single sample bottle, effectively shortening the idle waiting time of the analysis module and improving the system's testing efficiency. Simultaneously, the system achieves precise sample bottle delivery with minimal transport steps, further enhancing its transport efficiency. When a sample injection station (after testing) needs to eject a bottle, the system selects the empty space on the conveyor belt closest to that station. At the same time, multiple injection stations may have requests for bottle injection or ejection. Each request requires the conveyor belt to rotate a specific number of steps. Among all requests, the request with the fewest transport steps is prioritized. The system controls the conveyor belt to move the required number of steps to deliver the sample bottle or empty space to the position aligned with the corresponding injection station 2. The bottle transfer device then moves the sample bottle to injection station 2 or removes the tested sample bottle from injection station 2 to the empty space on the conveyor belt. After each request is executed, the system updates the status of the sample injection station (whether there are sample vials present) and the absolute positions of the sample vials and empty slots on the conveyor belt in real time. Based on these statuses and the absolute positions of the sample vials and empty slots on the conveyor belt, the system generates a new request and executes the request with the fewest conveyor steps. When all sample injection stations are busy, the sample vials awaiting inspection are buffered on the conveyor belt. When there are no vial injection or effluent requests at any station (either the online / offline stations or the sample injection stations), the conveyor belt stops moving.

[0081] By selecting the request with the fewest transmission steps, we can ensure that the total number of steps the conveyor belt moves is minimized after responding to the above multiple requests, thus effectively improving transmission efficiency.

[0082] Sample off the production line

[0083] like Figure 7 As shown, when the sample removal conditions are met, the system controls the conveyor belt to transport the inspected sample bottle to a position aligned with the upper and lower line station 3, and the robot arm grabs the inspected sample bottle on the conveyor belt to a safe height above the conveyor belt.

[0084] Sample recovery

[0085] 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 information.

[0086] The control method of this embodiment includes the following steps: when each target station issues a request to put or take out a bottle, the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the target station's matching conditions to the corresponding target station is calculated based on the absolute position of the sample bottle or empty space on the conveyor belt that meets the target station's matching conditions to the alignment with the corresponding target station; the request to put or take out a bottle corresponding to the minimum value of the obtained conveying steps is executed, and the sample bottle or empty space that meets the target station's matching conditions is conveyed to the alignment with the corresponding target station, and the bottle putting or taking out operation is performed; after the sample bottle or empty space that meets the target station's matching conditions is conveyed to the alignment with the corresponding target station and the bottle putting or taking out operation is performed, the current state of the target station and the absolute position of each sample bottle and empty space on the conveyor belt are updated in real time. Specifically, when the upstream and downstream workstations issue a bottle loading request, the control conveyor belt moves the nearest empty space to a position aligned with the upstream and downstream workstations, and a robotic arm picks up the sample bottle to be loaded onto the empty space on the conveyor belt, thus loading the sample bottle; or, when the upstream and downstream workstations issue a bottle unloading request, the control conveyor belt moves the nearest inspected sample bottle to a position aligned with the upstream and downstream workstations, and a robotic arm picks up the inspected sample bottle on the conveyor belt and moves it to a safe height above the conveyor belt, thus unloading the sample bottle; or, when the sample loading workstation issues a bottle loading request... When a bottle is requested, the control system moves the sample bottle with the most matching detection parameters to the injection station and the closest to the injection station to a position aligned with the injection station. The bottle transfer device then moves the sample bottle into the injection station to push the sample bottle in. Alternatively, when the injection station issues a bottle removal request, the control system moves the conveyor belt to the empty space closest to the injection station to a position aligned with the injection station. The bottle transfer device then moves the inspected sample bottle from the injection station to the empty space to remove the sample bottle.

[0087] In this embodiment, the AI ​​water testing system operates by first calculating the number of transport steps required for the conveyor belt to transport a sample bottle or empty space that meets the target station's matching conditions to the corresponding target station, based on the absolute position of the sample bottle or empty space on the conveyor belt that meets the target station's matching conditions. Then, it filters and executes the request with the fewest transport steps, thus minimizing the number of transport steps for each request. Furthermore, after each request is executed, this embodiment dynamically updates the current state of the target station and the absolute positions of the sample bottles and empty spaces on the conveyor belt in real time. Based on the updated state and the absolute positions of the sample bottles and empty spaces on the conveyor belt, it generates a new request and executes the request with the fewest transport steps. This ensures that the total number of transport steps for the conveyor belt is minimized after responding to multiple requests. By reducing the number of transport steps, the timeliness of each request is ensured, thus effectively reducing the energy consumption of the testing system, improving transport efficiency, and shortening the system's testing time.

[0088] Optionally, such as Figure 9 As shown in the preferred embodiment of this application,

[0089] When each target station issues a bottle-in or bottle-out request, the number of conveyor steps required to move the sample bottle or empty space that meets the target station's matching conditions to the corresponding target station is calculated based on the absolute position of the sample bottle or empty space on the conveyor belt. This includes the following steps:

[0090] S101. When the upper and lower line stations issue a request to put a sample bottle on or take a sample bottle off the line, calculate the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the upper and lower line station to the alignment with the upper and lower line station based on the absolute position of the sample bottle or empty space that meets the matching conditions of the upper and lower line station.

[0091] S102. When the sample injection station issues a request to inject or eject a sample, the number of conveying steps required for the conveyor to move the sample or empty sample that meets the matching conditions of the sample injection station to the position aligned with the sample injection station is calculated based on the absolute position of the sample or empty sample that meets the matching conditions of the sample injection station on the conveyor belt.

[0092] During testing, the conveyor belt is typically triggered by bottle-in or bottle-out request signals from the online / offline workstations and the sample-in station to transport sample bottles. Therefore, to optimize the number of conveyor belt steps, it is best to start with the bottle-in or bottle-out requests from the online / offline workstations and the sample-in station. Different requests often require different numbers of conveyor belt steps. Therefore, in this embodiment, when the online / offline workstations and the sample-in station issue bottle-in or bottle-out requests, the absolute positions of the sample bottles and empty spaces on the conveyor belt that meet the target station's request matching conditions are calculated to determine the number of conveyor belt steps required to transport the sample bottles and empty spaces that meet the target station's request matching conditions to the corresponding target station for alignment. These number of conveyor steps are a necessary prerequisite for subsequently controlling the preferred order of execution of each request. Only after the number of conveyor steps required for each request is determined can the corresponding bottle-in or bottle-out request be selected and executed based on the minimum value among the conveyor steps.

[0093] Optionally, when each target station issues a bottle-in or bottle-out request, the system calculates the number of transport steps required for the conveyor belt to transport the sample bottle or empty space that meets the target station's request matching conditions to the corresponding target station, based on the absolute position of the sample bottle or empty space on the conveyor belt that meets the target station's request matching conditions. Then, it filters and executes the request with the fewest transport steps. After the conveyor belt moves a specified number of steps, the target station corresponding to the bottle-in or bottle-out request conditions will perform the corresponding bottle-in or bottle-out operation. After all stations have completed their corresponding bottle-in or bottle-out operations, the conveyor belt will generate a new request based on the updated target station status and the absolute position of the sample bottle or empty space on the conveyor belt, and execute the request with the fewest transport steps. In this embodiment, when each target station issues a bottle-in or bottle-out request, the system filters and executes the request with the fewest transport steps. After the conveyor belt moves a specified number of steps, multiple stations (sample-in stations or on / off line stations) may meet the bottle-in or bottle-out request conditions. In this case, the system needs to wait for all stations to complete their bottle-in or bottle-out operations before the conveyor belt continues to move. This ensures orderly and coordinated operation between each workstation and the conveyor belt, preventing discrepancies between the actual position of the sample bottle and the database information due to errors in bottle feeding or discharging operations at the workstations, which could lead to bottle compression or even damage to the conveyor belt. Simultaneously, if a workstation experiences a network outage (disconnection), the system will pause the conveyor belt operation until the workstation's network is restored, preventing errors in bottle feeding or discharging operations caused by network instability and asynchronous movements between the workstation and the conveyor belt.

[0094] like Figure 10 As shown, in the preferred embodiment of this application,

[0095] The minimum number of transfer steps corresponds to the bottle inlet or bottle outlet request. Sample bottles or empty spaces that meet the target station request matching conditions are transferred to the corresponding target station for alignment. The specific steps include:

[0096] S21. Calculate the minimum number of conveying steps and obtain the target workstation corresponding to the minimum value, and the absolute position on the conveyor belt aligned with the target workstation.

[0097] S22. The conveyor belt moves a specified number of conveying steps according to the minimum value, and conveys the sample bottle or empty space that meets the target station's matching conditions to the position aligned with the corresponding target station.

[0098] In this embodiment, when executing a bottle-in or bottle-out request, the minimum number of conveying steps required for each request is first selected from all such requests. Based on this minimum value, the corresponding target station and the absolute position on the conveyor belt aligned with that target station are obtained. Finally, the conveyor belt is controlled to move a specified number of conveying steps according to the minimum value, conveying the sample bottle and empty space to the position aligned with the corresponding target station. This embodiment employs a strategy of prioritizing requests with the minimum number of conveying steps, which reduces the number of conveyor belt movements, effectively reducing energy consumption during system operation, improving conveying efficiency, and shortening system detection time. Target stations include inbound / outbound stations and sample loading stations.

[0099] like Figure 11 As shown, in a preferred embodiment of this application, the conveyor belt moves a specified number of conveying steps according to the minimum value, conveying the sample bottle or empty space that meets the target station's request matching conditions to a position aligned with the target station. Specifically, this includes the following steps:

[0100] S221. When the target station corresponding to the minimum number of conveying steps is the upper or lower line station, the conveyor belt is controlled to move the conveying steps according to the minimum number of conveying steps based on the sample bottle loading request, and the nearest empty space is conveyed to the position aligned with the upper or lower line station. The robot arm then picks up the sample bottle to be loaded onto the empty space on the conveyor belt to realize the sample bottle loading. Alternatively, the conveyor belt is controlled to convey the nearest inspected sample bottle to the position aligned with the upper or lower line station based on the sample bottle unloading request, and the robot arm picks up the inspected sample bottle from the conveyor belt and unloads it.

[0101] S222. When the target station corresponding to the minimum number of conveying steps is the sample injection station, the conveyor belt is controlled to move by the minimum number of conveying steps according to the bottle injection request of the sample injection station. The sample bottle that meets the matching conditions of the sample injection station request and is closest to the sample injection station is conveyed to the position aligned with the sample injection station, and the bottle transfer device moves the sample bottle into the sample injection station to realize the sample bottle push-in; or, the conveyor belt is controlled to move by the minimum number of conveying steps according to the bottle ejection request of the sample injection station. The empty space on the conveyor belt that is closest to the sample injection station is conveyed to the position aligned with the sample injection station, and the bottle transfer device moves the sample bottle from the sample injection station to the empty space to realize the sample bottle ejection.

[0102] In this embodiment, regardless of whether the target station is an online / offline station or a sample injection station, its requests include both bottle injection and bottle ejection requests. Therefore, based on the action type of the specific target station corresponding to the minimum number of conveying steps—whether it's a bottle ejection request or a bottle injection request—the system will move the conveying steps according to the minimum value. This will transport the sample bottle or empty space on the conveyor belt that meets the target station request matching conditions and is closest to the target station to a position aligned with the target station for subsequent operations, such as sample grabbing, pushing, or inserting. Since each bottle ejection and injection request adopts a strategy of prioritizing the minimum number of conveying steps, the number of conveying steps moved by the conveyor belt can be reduced, effectively reducing the energy consumption of the detection system during operation, improving conveying efficiency, and shortening the system's detection time.

[0103] 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 after conveying steps n are updated as follows:

[0104] i=[N+(i0+n%N)%N]%N (1)

[0105] in:

[0106] i0: The absolute position of the sample bottles and empty spaces on the conveyor belt before conveying;

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

[0108] i: The absolute position of the sample bottle and the empty space on the conveyor belt after n steps;

[0109] %: Modulo operation.

[0110] 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. Each time the system completes a request and each 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. This ensures that during the detection process, the strategy of prioritizing the execution of the minimum number of transmission steps is continuously adopted to reduce the number of transmission steps of the conveyor belt, reduce the energy consumption of the detection system during operation, shorten the detection time, and improve the transmission efficiency.

[0111] Specifically, in the above embodiments, the step of calculating the number of conveying steps required for the conveyor belt to transport the sample bottle or empty space that meets the target station's matching conditions to the corresponding target station, based on the absolute position of the sample bottle or empty space on the conveyor belt that meets the target station's matching conditions, is as follows:

[0112]

[0113] in:

[0114] i0: The absolute position of the sample bottles and empty spaces on the conveyor belt before conveying;

[0115] i1: The absolute position on the conveyor belt that is aligned with the corresponding target workstation;

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

[0117] n: Number of teleportation steps.

[0118] This embodiment provides a detailed calculation method for the number of conveying steps. Since a circular conveyor belt is used, and the total number of bottles on the conveyor belt and the arrangement of their absolute positions are known, and the absolute positions on the conveyor belt are arranged in ascending order, if the absolute position on the conveyor belt aligned with the corresponding target station is greater than or equal to the absolute position of the sample bottle and empty space on the conveyor belt before conveying (i.e., the target station is downstream of the sample bottle and empty space on the conveyor belt before conveying), the number of conveying steps is the absolute position on the conveyor belt aligned with the corresponding target station minus the absolute position of the sample bottle or empty space on the conveyor belt before conveying. Conversely, if the absolute position on the conveyor belt aligned with the corresponding target station is less than the absolute position of the sample bottle and empty space on the conveyor belt before conveying (i.e., the target station is upstream of the sample bottle and empty space on the conveyor belt before conveying), the number of conveying steps is obtained by subtracting the absolute position of the sample bottle and empty space on the conveyor belt before conveying from the absolute position on the conveyor belt aligned with the corresponding target station and then adding the total number of bottles N, thus ensuring the accuracy of the required number of conveying steps.

[0119] like Figure 12 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:

[0120] 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.

[0121] 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.

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

[0123] 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.

[0124] 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 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 displayed on 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.

[0125] Table 1 System Location Numbers

[0126]

[0127] 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.

[0128] like Figure 13 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.

[0129] In addition, the sample scheduling process is mainly responsible for scheduling the conveyor belt operation, such as Figure 14 As shown, in a feasible embodiment of this application, in the relevant process involving the operation of the conveyor belt, the bottle entry and exit requests of the sample loading station are responded to first, followed by the sample loading request, and finally the sample unloading request. Through the above sorting, the detection efficiency of the system can be further maximized.

[0130] like Figure 15 As shown, another embodiment of this application provides an AI water testing system operation control device, including:

[0131] The conveying step calculation module is used to calculate the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station when each target station issues a request to put or take a bottle in. The absolute position on the conveyor belt is obtained by sequentially increasing the position number along the preset conveying direction on the conveyor belt track at a certain interval, starting from the preset position of the conveyor belt.

[0132] The request execution module is used to execute the bottle inlet or bottle outlet request corresponding to the minimum value of the obtained transmission steps, and to transmit the sample bottle or empty space that meets the target station request matching conditions to the corresponding target station and perform the bottle inlet or bottle outlet operation.

[0133] The real-time update module is used to transfer sample bottles or empty spaces that meet the matching conditions of the target station request to the corresponding target station for alignment. After the bottle feeding or bottle discharge operation is performed, the current status of the target station and the absolute position of each sample bottle or empty space on the conveyor belt are updated in real time.

[0134] In this embodiment, when the AI ​​water testing system operating device issues a request to enter or exit a bottle at each target station, it first calculates the number of conveyor steps required for the conveyor belt to transport each sample bottle and empty space to the corresponding target station based on the absolute positions of the sample bottles and empty spaces that meet the matching conditions of the target station's request. Then, it filters and executes the request with the fewest conveyor steps, thus minimizing the number of conveyor steps each time a request is executed. Furthermore, after each request is executed, this embodiment dynamically updates the current state of the target station and the absolute positions of each sample bottle and empty space on the conveyor belt in real time. Based on the updated target station state and the absolute positions of each sample bottle and empty space on the conveyor belt, it generates a new request and executes the request with the fewest conveyor steps. This ensures that after responding to the above multiple requests, the total number of conveyor steps is minimized. By reducing the number of conveyor steps, the timeliness of each request execution is ensured, thus effectively reducing the energy consumption of the testing system during operation, improving conveying efficiency, and shortening the testing time.

[0135] 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.

[0136] like Figure 16 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 AI ​​water inspection system operation control method in the above embodiments.

[0137] like Figure 17 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 17 As 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 operation control method.

[0138] Those skilled in the art will understand that Figure 17 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.

[0139] A preferred embodiment of this application also provides a storage medium, the storage medium including a stored program, wherein when the program is executed, the device where the storage medium is located executes the steps of the AI ​​water inspection system operation control method.

[0140] 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.

[0141] 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 other media capable of storing program code.

[0142] 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 method for controlling the operation of an AI water quality testing system, characterized in that, Including the following steps: When each target station issues a request to put or take out a bottle, the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station is calculated based on the absolute position of the sample bottle or empty space that meets the matching conditions of the target station. The absolute position on the conveyor belt is obtained by sequentially increasing the position number along the preset conveying direction on the conveyor belt track at a certain interval, starting from the preset position of the conveyor belt. The minimum number of transfer steps obtained corresponds to the bottle inlet or bottle outlet request. The sample bottle or empty space that meets the target station request matching condition is transferred to the corresponding target station and the bottle inlet or bottle outlet operation is performed. Sample bottles or empty spaces that meet the target station's matching criteria are conveyed to the corresponding target station for alignment. After performing bottle loading or unloading operations, the current status of the target station and the absolute positions of each sample bottle and empty space on the conveyor belt are updated in real time. 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 after conveying steps n are updated as follows: ; 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.

2. The AI ​​water testing system operation control method according to claim 1, characterized in that, When each target station issues a bottle-in or bottle-out request, the number of conveyor steps required to move the sample bottle or empty space that meets the target station's matching conditions to the corresponding target station is calculated based on the current absolute position of the sample bottle or empty space on the conveyor belt. This includes the following steps: When the upstream and downstream workstations issue a request to put a sample bottle on or take a sample bottle off the line, the number of conveying steps required for the conveyor belt to move the sample bottle or empty space that meets the matching conditions of the upstream and downstream workstations to the alignment with the upstream and downstream workstations is calculated based on the absolute position of the sample bottle or empty space that meets the matching conditions of the upstream and downstream workstations. When the sample injection station issues a request to inject or eject a sample, the number of conveyor steps required for the conveyor to move the sample or empty sample that meets the matching conditions of the sample injection station to the point of alignment with the sample injection station is calculated based on the absolute position of the sample or empty sample that meets the matching conditions of the sample injection station on the conveyor belt.

3. The AI ​​water testing system operation control method according to claim 2, characterized in that, The minimum number of transfer steps corresponds to the bottle inlet or bottle outlet request. Sample bottles or empty spaces that meet the target station request matching conditions are transferred to the corresponding target station for alignment. The specific steps include: Calculate the minimum number of conveying steps and obtain the target workstation corresponding to the minimum value, and the absolute position on the conveyor belt aligned with the target workstation; The conveyor belt moves a specified number of conveying steps according to the minimum value, conveying the sample bottles or empty spaces that meet the matching conditions of the target station to the position aligned with the target station.

4. The AI ​​water testing system operation control method according to claim 3, characterized in that, The conveyor belt moves a specified number of conveying steps according to the minimum value, conveying the sample bottle or empty space that meets the target station's matching conditions to a position aligned with the target station. Specifically, the steps include: When the target station corresponding to the minimum number of conveying steps is the upper or lower line station, the conveyor belt is controlled to move by the minimum number of conveying steps according to the sample bottle loading request, and the nearest empty space is conveyed to the position aligned with the upper or lower line station. The robot arm then picks up the sample bottle to be loaded onto the empty space on the conveyor belt to realize the sample bottle loading. Alternatively, the conveyor belt is controlled to convey the nearest inspected sample bottle to the position aligned with the upper or lower line station according to the sample bottle unloading request, and the robot arm picks up the inspected sample bottle from the conveyor belt and unloads it. When the target station corresponding to the minimum number of conveying steps is the sample injection station, the conveyor belt is controlled to move by the minimum number of conveying steps according to the bottle injection request of the sample injection station. The sample bottle that meets the matching conditions of the sample injection station request and is closest to the sample injection station is conveyed to a position aligned with the sample injection station, and the bottle transfer device moves the sample bottle into the sample injection station to achieve sample bottle push-in; or, the conveyor belt is controlled to move by the minimum number of conveying steps according to the bottle ejection request of the sample injection station. The empty space on the conveyor belt that is closest to the sample injection station is conveyed to a position aligned with the sample injection station, and the bottle transfer device moves the sample bottle from the sample injection station to the empty space to achieve sample bottle ejection.

5. The AI ​​water testing system operation control method according to claim 1, characterized in that, The required number of conveyor steps to transport a sample bottle or empty space that meets the target station's matching criteria to the corresponding target station is calculated based on the absolute position of the sample bottle or empty space on the conveyor belt. The calculation method for the required number of conveyor steps is as follows: ; in: The absolute positions of the sample bottles and empty spaces on the conveyor belt before they are conveyed; The absolute position on the conveyor belt that is aligned with the corresponding target workstation; N: The total number of bottle positions obtained by dividing the conveyor belt by partitions; n: Number of teleportation steps.

6. The AI ​​water testing system operation control method according to claim 1, characterized in that, The process of obtaining the absolute positions of various bottles and empty spaces on the conveyor belt includes 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 location number of each sample bottle by sample ID, the absolute location of all sample bottles and empty spaces can be obtained.

7. An AI water testing system operation control device, used to implement the method as described in any one of claims 1 to 6, characterized in that, include: The conveying step calculation module is used to calculate the number of conveying steps required for the conveyor belt to convey the sample bottle or empty space that meets the matching conditions of the target station to the corresponding target station when each target station issues a request to put or take a bottle in. The absolute position on the conveyor belt is obtained by sequentially increasing the position number along the preset conveying direction on the conveyor belt track at a certain interval, starting from the preset position of the conveyor belt. The request execution module is used to execute the bottle inlet or bottle outlet request corresponding to the minimum value of the obtained transmission steps, and to transmit the sample bottle or empty space that meets the target station request matching conditions to the corresponding target station and perform the bottle inlet or bottle outlet operation. The real-time update module is used to transfer sample bottles or empty spaces that meet the target station's request matching conditions to the corresponding target station for alignment. After performing bottle feeding or bottle discharge operations, it updates the current status of the target station and the absolute position of each sample bottle and empty space on the conveyor belt in real time.

8. 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 AI ​​water inspection system operation control method as described in any one of claims 1 to 6.

9. 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 testing system operation control method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Workpiece classification method, workpiece classification system and workpiece transmission system

    CN110813778A

  • Multi-station feeding control method and system

    CN111673929A