A safety time interval path planning method and system for heterogeneous droplets
By using a two-dimensional grid map and A* search to generate safe time interval paths in a digital microfluidic chip, the problems of space occupation and safe spacing of droplets of different sizes are solved, and safe and efficient routing of droplets is achieved.
Patent Information
- Application Number
- CN202611634803.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing droplet path planning methods struggle to handle the space occupancy and safety distance constraints of droplets of varying sizes, leading to droplet collisions, cross-contamination, and resource conflicts.
The system uses a two-dimensional grid map to represent obstacles and droplet parameters, generates safe time interval paths through A* search, and performs path planning by combining global collision time intervals and safe time intervals. It dynamically detects and verifies droplet collisions and supports step-by-step simulation display.
It enables the handling of droplets of different sizes and safety distances within the same grid environment, reduces dynamic conflicts, and improves the routing success rate and the verifiability of planning results in complex scenarios.
Smart Images

Figure CN123167906A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automated design technology for digital microfluidic chips, specifically to a safe time interval path planning method and system for routing droplets of different sizes. Background Technology
[0002] Digital microfluidic chips utilize the electrowetting effect to drive droplets to move on a two-dimensional electrode array, enabling biochemical analysis, medical testing, and experimental automation.
[0003] Most existing droplet path planning methods abstract droplets to the size of a single electrode, making it difficult to accurately reflect the actual space occupancy of droplets in a chip. When multiple droplets have different sizes and need to maintain different safety distances, traditional path planning algorithms are prone to droplet collisions, cross-contamination, and resource conflicts.
[0004] Therefore, a path planning method is needed that can simultaneously handle dynamic occupancy of droplets of different sizes, safety spacing constraints, and time-dimensional conflicts. Summary of the Invention
[0005] This invention addresses the problems of insufficient representation of the occupied area of droplets of different sizes, difficulty in uniformly modeling safety distance constraints, and insufficient dynamic collision detection capabilities in existing DMFB path planning.
[0006] The technical solution adopted in this invention is as follows: The map is represented as a two-dimensional grid, and obstacles, starting areas, and target areas are recorded in the grid map. Each droplet has width, height, and a safety distance. The system matches and sorts the starting and target points according to the droplet parameters and plans the droplet path one by one. When planning the current droplet, the system maintains a global collision time interval based on the path occupancy of already planned droplets. For the droplet to be planned, the system constructs a safety time interval based on the conflict time periods within the corresponding extended area of the current position and candidate positions. Then, using the grid coordinates and the safety time interval number as the search state, an A* search is used to generate movable or waiting paths. After successful planning, the system writes the grids actually occupied by the current droplet in each time period into the global collision time interval, thereby constraining subsequent droplet planning. After all paths are generated, the system completes each path to the same time length and performs a safety check on the actual occupied area of the droplet according to the maximum safety distance between any two droplets. The system outputs the conflict location, conflict time, and related droplet parameters; it also supports step-by-step simulation display of the planned path.
[0007] The present invention has the following beneficial effects: it can handle droplets of different sizes and safe distances in the same grid environment; it reduces dynamic conflicts through global collision time intervals and safe time intervals; it enables droplets to pass within a safe time window through waiting actions; it improves the verifiability of planning results through path completion, conflict verification and simulation display; and it improves the routing success rate in complex and congested scenarios, thereby realizing safe and efficient routing of droplets of different sizes in digital microfluidic chips. Attached Figure Description
[0008] Figure 1 This is a schematic diagram of the system structure of the present invention;
[0009] Figure 2 This is a schematic diagram of the path planning method of the present invention;
[0010] Figure 3 This is a schematic diagram illustrating the construction of the safe time interval of the present invention;
[0011] Figure 4 This is a schematic diagram of the path verification and simulation process of the present invention. Detailed Implementation
[0012] To make the objectives, technical solutions, and beneficial effects of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments described herein are for illustrative purposes only and are not intended to limit the scope of protection of this invention.
[0013] Example 1
[0014] Please see Figures 1-4 The figure shows a safe time interval path planning method and system for droplets of different sizes according to Embodiment 1 of the present invention, including a map construction module, a matching and sorting module, a safe interval construction module, a path search module, a collision interval update module, and a path verification and simulation module.
[0015] The map building module is used to create a two-dimensional raster map and record obstacles, starting area, target area, and droplet parameters. Droplet parameters include at least width, height, and safety distance, where width and height represent the rectangular area occupied by the droplet body, and safety distance represents the buffer area that needs to be maintained around the droplet.
[0016] The matching and sorting module first sorts the starting point set and the target point set according to the user-defined horizontal and vertical sorting rules, prioritizing sorting based on safety distance. Then, it pairs starting and target points with the same width, height, and safety distance, resulting in multiple droplets to be planned. This process ensures that the droplet shape parameters corresponding to the starting and target points are consistent, avoiding erroneous planning caused by size mismatches. Path planning is performed sequentially according to the droplet order. The system first adds static obstacles from the map to the obstacle set; for unplanned droplets, its starting point's occupied area is expanded and added to the temporary obstacle set for the current droplet planning, preventing the current path from crossing the initial position of droplets that have not yet departed. For droplets that have already been planned, the system no longer simply treats them as static obstacles, but records their occupancy in the time dimension using a global collision time interval.
[0017] The safe interval construction module is used to maintain a global collision time interval database. The global collision time intervals are indexed by grid status and stored as a set of time intervals. Whenever a planned droplet occupies a grid during a certain time period, the system writes that time interval into the collision record of the corresponding grid. If a new interval overlaps with or is adjacent to an existing interval, they are merged into a continuous interval. For a candidate position of the current droplet, the system generates an extended judgment region based on its width, height, and safe distance, and collects the collision intervals of all grids within that region, merging them to form a union collision interval. Taking the complement of the union collision interval yields the safe time interval available for that candidate position.
[0018] The path search module is based on safe time interval path planning, defining the search state as grid coordinates and safe time interval index. When expanding neighbors for the current state, the system generates candidate nodes from four directions: top, bottom, left, and right. For each candidate location, boundary detection is first performed to determine if it exceeds the map range; then obstacle detection is performed to determine if it conflicts with static obstacles; finally, the rectangular occupied area is calculated based on the droplet size parameters to determine if the expanded area overlaps with obstacles. If the candidate location meets the above conditions, the safe time interval of the candidate location is read, and the earliest time that the droplet can enter the location is calculated. When the earliest entry time is later than the current time, the system automatically inserts a waiting action in the path, keeping the droplet stationary at the current location until the safe passage conditions are met.
[0019] The path search module employs A* search. A* search uses Manhattan distance as its heuristic function. The open list uses a priority queue structure to store nodes to be expanded, sorted by total generation value, generated generation value, x-coordinate, y-coordinate, and safe time interval number. When the target location is found and its safe time interval extends to infinity, the droplet is considered to have successfully reached the target region.
[0020] The collision interval update module is used to update the global collision time interval database after path planning is completed. The system traverses all states and actions in the droplet path, calculates the rectangular occupied area corresponding to each time step based on the droplet width and height, and writes all the grids covered by the occupied area into the corresponding time interval.
[0021] After all droplet planning is completed, the path verification and simulation phase begins.
[0022] First, the path verification module obtains the path lengths of all droplets and pads shorter paths to the longest. For droplets that arrive at the target position ahead of schedule, the system automatically inserts a waiting action to keep them stationary within the target area. Then, within each time step, the system iterates through any two droplets and establishes a safety judgment condition based on the larger of their safety distances. When the lateral or longitudinal distance between the rectangular areas occupied by two droplets is less than the safety distance threshold, the system determines that a safety conflict has occurred. Once a conflict is detected, the system outputs the conflict location coordinates, conflict occurrence time, relevant droplet number, droplet width parameter, droplet height parameter, and safety distance parameter information.
[0023] After the path verification is successful, the simulation module displays the droplet's motion process frame by frame at preset time intervals. The system retains information on obstacles, starting points, and target points, and draws the rectangular area occupied by each droplet on the map in real time, thus intuitively displaying the entire routing process.
[0024] Using the above method, this invention can simultaneously handle droplets of different sizes and different safety distance constraints within the same digital microfluidic chip environment. By leveraging the global collision time interval and safety time interval mechanism, it achieves joint constraints in the time and spatial dimensions, effectively reducing the probability of droplet collisions, cross-contamination, and resource conflicts, and improving the success rate of path planning and operational reliability in complex scenarios.
Claims
1. A safe time interval path planning method for droplets of varying sizes, characterized in that, The process includes the following steps: acquiring a digital microfluidic chip array map, a set of obstacle units, a set of multiple droplet starting positions, and a set of target positions; establishing a droplet size parameter model, which includes droplet width, droplet height, and safety distance; constructing a droplet expansion judgment region based on the droplet size parameters; determining the droplet planning order according to preset rules and performing path planning sequentially; and constructing an overall safety time interval for the expansion judgment region for the current droplet based on the global collision time interval of the planned droplets. Using the droplet's current position and corresponding safe time interval number as the search state, a safe time interval path planning algorithm is used to generate the path from the droplet's starting position to the target position. Write the time occupancy information corresponding to the current droplet path into the global collision time interval; repeat the above planning and update process until all droplets have obtained collision-free paths.
2. The method according to claim 1, characterized in that, The actual area occupied by the droplet is determined by the coordinates of the droplet's upper left corner, the droplet's width, and the droplet's height.
3. The method according to claim 1, characterized in that, The global collision time interval is stored with grid state as key and one or more time intervals as value. When a new path occupies a grid, the start and end time of the grid occupation is added to the global collision time interval, and overlapping or adjacent time intervals are merged.
4. The method according to claim 4, characterized in that, For any candidate position of the current droplet, obtain the collision time interval of each grid in the expansion judgment area corresponding to the candidate position, merge them to obtain the union collision interval, and take the complement of the union collision interval to obtain the safe time interval of the candidate position.
5. The method according to claim 5, characterized in that, The search state of the heuristic search includes grid coordinates and the corresponding safe time interval number. When generating adjacent states, the earliest reachable time is determined based on the current arrival time, movement cost, current safe time interval end time, and safe time interval of adjacent positions, and a subsequent state including waiting cost is generated.
6. The method according to claim 1, characterized in that, The heuristic search uses A* search. The priority queue is sorted according to the total value of the generation, the value of the generation, the horizontal axis of the state, the vertical axis of the state, and the safe time interval number. The heuristic value is the Manhattan distance from the current position to the target position.
7. The method according to claim 1, characterized in that, After completing the path planning for a single droplet, the occupied area corresponding to each time period in the droplet's path is added to the global collision time interval, and the occupied time after it finally reaches the target point is set as the continuous occupied interval.
8. The method according to claim 1, characterized in that, After obtaining all paths, each droplet path is completed by the longest path length, and collision checks are performed on the expansion judgment regions of the two droplets at the same time step based on the maximum safe distance between the two droplets; if the safe distance constraint is not met, the collision location, collision time, droplet size and safe distance are output.
9. A safe time interval path planning system for multiple droplets of varying sizes, characterized in that, include: The map modeling module is used to receive or generate raster maps, obstacles, starting points, target points, droplet size, and safety distances. The matching and sorting module is used to match the starting point and target point according to the droplet parameters and determine the planning order; safety. The interval construction module is used to construct a safe time interval based on the global collision time interval and the droplet expansion region; the path search module is used to generate a path in the safe time interval based on A* search. The collision interval update module is used to write the grid cells and time occupied by the planned path into the global collision time interval; The path verification and simulation module is used to verify the safe distance of the planning results and display the time-series simulation.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 9.
