Digital twin unmanned aerial vehicle autonomous navigation and path planning system in complex environment
By constructing a simulation scenario using digital twin technology, dividing the path segments for path failure injection, simulating the restoration of the anchor area, and establishing a mapping chain, the problem of rapid recovery after the failure of UAV path segments is solved, and the navigation efficiency and continuity in complex environments are improved.
Patent Information
- Application Number
- CN202611300577.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-27
AI Technical Summary
Existing UAV path planning technologies struggle to quickly restore the continuity of flight conditions and conditions for passage after path segments fail in complex environments, lacking the ability to pre-verify and restore paths.
A simulation scenario is constructed using digital twin technology, path segments are divided for circuit break injection, anchor area recovery is simulated, a mapping chain is established, failure recovery verification is performed, a navigation scheme is output, and the simulation scenario is updated.
It improves the accuracy of position recovery and the feasibility of path recovery in the event of partial path failure, and enhances the efficiency of UAV autonomous navigation and flight continuity in complex environments.
Smart Images

Figure CN123177458A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital twin technology, and in particular to a digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments. Background Technology
[0002] With the application of UAVs in complex space environments, UAV autonomous navigation needs to combine environmental conditions, flight conditions and mission constraints to determine passable flight paths. The space occupancy status and UAV flight status in complex environments are variable. The generated flight path may fail due to changes in local space passability, interrupting the continuous passability relationship of the original path. Existing path planning technology lacks the ability to pre-determine the recoverable state after the candidate path fails locally, making it difficult to determine the successor position that can continue the flight mission after the failed path segment in the path planning stage.
[0003] Existing UAV path planning technologies require re-determining passable space and generating subsequent flight paths after a path segment actually fails. Path recovery also needs to simultaneously meet spatial passability conditions, UAV flight state continuity, and mission constraints. The lack of a pre-established correspondence between the path failure location and the recovery location makes it difficult to promptly determine a recovery path that can bypass the failure area and reconnect to the original path after an actual failure. Furthermore, there is a lack of pre-verification of the feasibility of the recovery path and the continuity of flight state in the failure scenario. Therefore, how to determine the failure recovery capability of candidate paths in advance in complex environments and quickly obtain a recovery path that meets the passability conditions and flight state continuity when a path actually fails has become an urgent problem to be solved. Summary of the Invention
[0004] To achieve the above objectives, this invention provides a digital twin UAV autonomous navigation and path planning system for complex environments. The system includes a twin scene construction module, a path break injection module, a recovery anchor zone simulation module, a mapping chain establishment module, a failure recovery verification module, and a feedback recovery update module, wherein: The digital twin scenario construction module is used to acquire environmental status data, UAV flight status data, and task constraint data to construct a digital twin simulation scenario. The path disconnection injection module is used to generate candidate main paths based on digital twin simulation scenarios, divide the candidate main paths into path segments, and perform counterfactual disconnection injection on the path segments to obtain virtual disconnection simulation scenarios. The recovery anchor zone simulation module is used to simulate the forward reachable domain and the reverse connectable domain in a virtual circuit breaker simulation scenario, taking the flight state at the front end of the circuit breaker location and the target state at the end point as the starting points, in order to determine the recovery anchor zone. The mapping chain establishment module is used to generate recovery paths based on recovery anchor zones and establish self-recovery path mapping chains between broken sections, recovery anchor zones, and recovery paths; The failure recovery verification module is used to perform failure recovery simulation verification on candidate main paths based on the self-recovery path mapping chain, and to screen target navigation schemes. The feedback recovery update module is used to output the target navigation scheme and receive flight execution feedback, and based on the actual failure data, retrieve the recovery path and update the digital twin simulation scenario.
[0005] In a preferred embodiment, the digital twin scenario construction module, when acquiring environmental state data, UAV flight state data, and task constraint data to construct a digital twin simulation scenario, is specifically used for: Time-align environmental status data and UAV flight status data to obtain synchronized status data; The synchronized state data is converted to a unified spatial coordinate reference, and then correlated with the spatial correspondence between environmental objects and UAVs to obtain spatiotemporal correlated state data. Extract the navigation target and flight constraint relationship from the task constraint data, and bind the navigation target and flight constraint relationship with the spatiotemporal correlation state data to obtain the task constraint scenario data; Map the environmental state and UAV flight state in the task constraint scenario data to virtual environmental elements and virtual UAV elements, respectively. Based on flight constraints, three-dimensional space is constructed for virtual environmental elements and virtual UAV elements to obtain an initial digital twin scene. Establish the state update relationship between environmental state data, UAV flight state data and virtual elements, and generate a digital twin simulation scene based on the state update relationship.
[0006] In a preferred embodiment, when the digital twin scene construction module performs three-dimensional spatial construction of virtual environmental elements and virtual UAV elements based on flight constraints to obtain an initial digital twin scene, it is specifically used for: A three-dimensional voxel coordinate framework is established based on a unified spatial coordinate datum and the task space range to obtain the voxel index; The location, spatial boundary, and occupancy status of virtual environmental elements are projected onto the voxel index, and the occupancy voxels are marked to obtain the environmental occupancy voxels. Based on the flight status and spatial boundaries of the drone virtual elements, the drone occupancy envelope is generated within the three-dimensional voxel coordinate framework. Based on flight constraints and UAV occupancy envelope, spatial occupancy is verified on environmental occupancy voxels. Voxels that meet the passage conditions are marked as passable states, and voxels that have occupancy conflicts are marked as restricted passable states, thus obtaining a three-dimensional passage state distribution. The environmental voxels, drone occupancy envelope, and 3D traffic status distribution are written into the corresponding spatial locations to obtain the initial digital twin scene.
[0007] In a preferred embodiment, when the path disconnection injection module performs the process of segmenting the candidate main path into path segments and injecting counterfactual disconnections into the path segments to obtain a virtual disconnection simulation scenario, it is specifically used for: Along the flight direction of the candidate main path, the candidate main path is divided into several continuous path segments based on the spatial position change nodes, environmental occupancy status change nodes, and flight status change nodes of the candidate main path. The starting and ending positions of each path segment, the spatial areas it passes through, and the passage status of the corresponding spatial areas are associated and stored to obtain the path segment status information. Based on the path segment status information, select the target path segment to be simulated as failing from the candidate main path, modify the passability status of the target path segment to the impassable status, and generate a local virtual circuit breaker scenario. Based on the spatial connectivity after the target path segment fails, the distribution of passable space in the local virtual circuit breaker scenario is updated to obtain the virtual circuit breaker simulation scenario.
[0008] In a preferred embodiment, when the path disconnection injection module performs the following steps to generate a local virtual disconnection scenario: selecting a target path segment to be simulated as failing from candidate main paths based on path segment status information, modifying the passability of the target path segment to an impassable state, and generating the scenario: Based on the path segment status information, determine the spatial region of each path segment and the connection relationship between adjacent path segments; Select the target path segment to be simulated as failing, and obtain the current traffic status of the corresponding spatial area of the target path segment; Keep the environmental occupancy status of the spatial area corresponding to the target path segment and the passage status of adjacent path segments unchanged, and change the current passage status from passable to impassable. Disconnecting the continuous passage relationship between the target path segment and adjacent path segments based on the candidate main path results in a local virtual road break scenario.
[0009] In a preferred embodiment, when the recovery anchor zone deduction module performs calculations in a virtual circuit breaker simulation scenario, starting from the forward reachable domain and the reverse connectable domain to determine the recovery anchor zone, it is specifically used for: Obtain the flight status of the front end of the broken section, the destination status, and the candidate main path nodes after the broken section; Based on the UAV state transition relationship, flight constraint relationship and the passage status of the virtual circuit breaker simulation scenario, the forward state extension of the flight state at the front end of the circuit breaker location is performed to obtain the forward reachable domain. Using the ability to continue candidate main path nodes as the condition for retaining the reverse state, the state of the destination target is expanded in reverse to obtain the reverse continuable domain. Anchored state nodes are defined as state nodes whose spatial positions coincide in the forward reachable domain and the reverse connectable domain and whose flight states satisfy the continuous transition conditions. The restored anchorage area is determined based on the spatial connectivity between anchored nodes.
[0010] In a preferred embodiment, the anchorage recovery deduction module, when performing forward and reverse state expansion, is specifically used for: The flight state at the front end of the circuit break location and the target state at the end point are respectively determined as the initial current state nodes for forward state expansion and reverse state expansion, and the flight control quantities allowed for a single state expansion are determined according to the flight constraint relationship. Based on the flight state and flight control variables of the current state node in the forward state expansion, candidate successor states are generated. Based on the UAV occupancy envelope corresponding to the candidate successor state, query the passage status in the virtual circuit breaker simulation scenario, and eliminate candidate successor states that restrict passage voxels and do not satisfy flight constraint relationships; The retained candidate successor states are used as new current state nodes for iterative expansion to generate the forward reachable domain; Based on the UAV state transition relationship, generate candidate predecessor states of the current state node in the reverse expansion, retain candidate predecessor states that meet the passage conditions and can be transitioned to the current state node, and record the corresponding successor relationship. The retained candidate predecessor states are determined as new current state nodes for iterative expansion, and the successor state chains of each reverse state node are generated according to the successor relationship. The successor state chain corresponding to each reverse state node is matched with the candidate main path after the broken section in terms of spatial location and flight status. If there is a state node in the successor state chain that matches the candidate main path node, the reverse state node corresponding to the successor state chain is retained to generate a reverse continuable domain.
[0011] In a preferred embodiment, when the mapping chain establishment module generates a recovery path based on the recovery anchor zone and establishes a self-recovering path mapping chain between the broken section, the recovery anchor zone, and the recovery path, it is specifically used for: Extract the anchored state nodes in the restored anchor zone, and determine the successor path nodes that match the candidate main path after the broken section by following the successor state chain of each anchored state node. In the forward reachable domain, with the flight state and anchored state nodes at the front end of the circuit break location as the two ends, search for the forward state node sequence that satisfies the UAV state transition relationship; By tracing the successor relationship from the anchor state node to the successor path node, a sequence of successor state nodes is obtained; The forward state node sequence and the subsequent state node sequence are spliced together according to the flight direction, and the subsequent path node is connected with the candidate main path to obtain the restored path. Configure the identifiers for the broken section, the recovery anchor zone, and the recovery path. Using the broken section identifier as the query index, sequentially associate the recovery anchor zone identifier and the recovery path identifier to obtain the self-recovery path mapping chain.
[0012] In a preferred embodiment, when the failure recovery verification module performs failure recovery simulation verification on candidate main paths based on the self-recovery path mapping chain and selects target navigation schemes, it is specifically used for: Based on each candidate main path, establish a normal flight simulation branch and a failure recovery simulation branch corresponding to each broken section. In the normal flight simulation branch, candidate main paths are executed to verify path traversability and mission constraint compliance; In the failure recovery simulation branch, when the UAV reaches the front end of the circuit break location, the corresponding recovery path is retrieved according to the circuit break segment identifier, and the feasibility of resuming flight, the continuity of flight status, and the compliance with mission constraints are verified. Candidate main paths that have passed verification in different branches are retained. Candidate main paths are selected based on normal flight cost and failure recovery cost. Combined with the corresponding self-recovery path mapping chain, the target navigation scheme is obtained.
[0013] In a preferred embodiment, when the feedback recovery update module executes the output target navigation scheme and receives flight execution feedback, and retrieves the recovery path and updates the digital twin simulation scenario based on actual failure data, it is specifically used for: The target navigation scheme is output to the UAV flight control terminal, and flight execution feedback on UAV flight status and environmental accessibility is received. The flight execution feedback is matched with the path segments in the target navigation scheme to determine the actual failed path segments, failure locations, and failure ranges, thereby obtaining the actual failure data; Based on the identifier of the actual failed path segment, query the self-recovery path mapping chain, retrieve the corresponding recovery path, and output the route switching command; Actual failure data and UAV flight status are written into the digital twin simulation scene to update the access status of spatial locations and the status of virtual UAV elements.
[0014] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention constructs a corresponding virtual path failure simulation scenario by dividing the candidate main path into continuous path segments and injecting counterfactual path failures into the path segments. While maintaining the environmental state, it simulates the interruption of local accessibility of the candidate main path. The forward reachable domain and reverse connectable domain are deduced from the flight state at the front end of the path failure location and the state at the destination target. The recovery anchor zone is determined based on the continuous transition relationship of spatial position and flight state. This makes the recovery path subject to the constraints of spatial accessibility, UAV state transition relationship and flight constraint relationship, thereby improving the accuracy of recovery position determination and the executability of recovery path in the case of local path failure.
[0015] 2. This invention establishes a self-recovering path mapping chain between the broken road segment, the recovery anchor area, and the recovery path, and uses normal flight simulation branches and failure recovery simulation branches to verify the failure recovery of candidate main paths. This enables the target navigation scheme to simultaneously possess normal passage capability and recovery capability after path failure. During actual flight, the corresponding self-recovering path mapping chain is directly queried based on the actual failed path segment, and the recovery path is retrieved. At the same time, the actual failure data and the UAV flight status are written into the digital twin simulation scene, realizing continuous linkage between the navigation scheme, failure recovery, and twin scene updates, thereby improving the path recovery efficiency and flight continuity of UAV autonomous navigation in complex environments. Attached Figure Description
[0016] Figure 1 This is a system architecture diagram of a digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments, provided in an embodiment of the present invention. Figure 2 This is a schematic diagram illustrating the recovery path flight state of a digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in a complex environment, provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the restored path three-dimensional trajectory of a digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments, provided in an embodiment of the present invention. The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments belong to some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “said” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.
[0019] Depending on the context, the word "if" or "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0020] Furthermore, the timing of the steps in the following method embodiments is merely an example and not a strict limitation.
[0021] In practice, the server-side equipment deployed in a digital twin UAV autonomous navigation and path planning system for complex environments may consist of one or more devices. This system can be implemented as a business instance, a virtual machine, or hardware devices. For example, it can be implemented as a business instance deployed on one or more devices in a cloud node. Simply put, it can be understood as software deployed on a cloud node, providing autonomous navigation and path planning services to various user terminals. Alternatively, it can be implemented as a virtual machine deployed on one or more devices in a cloud node, with application software installed to manage each user terminal. Or, it can also be implemented as a server composed of numerous identical or different types of hardware devices, with one or more hardware devices configured to provide autonomous navigation and path planning services to various user terminals.
[0022] In terms of implementation, a digital twin UAV autonomous navigation and path planning system for complex environments and a user terminal are mutually compatible. Specifically, if the digital twin UAV autonomous navigation and path planning system for complex environments is implemented as an application installed on a cloud service platform, then the user terminal acts as a client establishing a communication connection with that application; or if the digital twin UAV autonomous navigation and path planning system for complex environments is implemented as a website, then the user terminal acts as a webpage; or if the digital twin UAV autonomous navigation and path planning system for complex environments is implemented as a cloud service platform, then the user terminal acts as a mini-program within an instant messaging application.
[0023] like Figure 1 The figure shown is a system architecture diagram of a digital twin UAV autonomous navigation and path planning system in complex environments provided by an embodiment of the present invention.
[0024] The digital twin UAV autonomous navigation and path planning system 100 in complex environments described in this invention can be set up in a cloud server. In terms of implementation, it can be used as one or more service devices, or as an application installed in the cloud (e.g., a mobile service operator's server, server cluster, etc.), or it can be developed into a website. Depending on the functions implemented, the digital twin UAV autonomous navigation and path planning system 100 in complex environments may include a twin scene construction module 101, a path break injection module 102, a recovery anchor zone deduction module 103, a mapping chain establishment module 104, a failure recovery verification module 105, and a feedback recovery update module 106. The modules described in this invention can also be called units, referring to a series of computer program segments that can be executed by an electronic device's processor and perform a fixed function, stored in the electronic device's memory.
[0025] In this embodiment of the invention, in a digital twin UAV autonomous navigation and path planning system for complex environments, each of the above-mentioned modules can be implemented independently and can call other modules. Here, "calling" can be understood as one module connecting to multiple modules of another type and providing corresponding services to those connected modules. The digital twin UAV autonomous navigation and path planning system for complex environments provided by this embodiment of the invention allows for adjustment of the system's applicability by adding modules and directly calling them, without modifying the program code. This enables cluster-based horizontal expansion, achieving the goal of quickly and flexibly expanding the system. In practical applications, the above modules can be set in the same device or different devices, or in virtual devices, such as service instances in a cloud server.
[0026] The following describes, with reference to specific embodiments, each component and its specific workflow of a digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments: The digital twin scenario construction module 101 is used to acquire environmental state data, UAV flight state data, and task constraint data to construct a digital twin simulation scenario; In this embodiment of the invention, when the digital twin scene construction module acquires environmental state data, UAV flight state data, and task constraint data to construct a digital twin simulation scene, it is specifically used for: Time-align environmental status data and UAV flight status data to obtain synchronized status data; The synchronized state data is converted to a unified spatial coordinate reference, and then correlated with the spatial correspondence between environmental objects and UAVs to obtain spatiotemporal correlated state data. Extract the navigation target and flight constraint relationship from the task constraint data, and bind the navigation target and flight constraint relationship with the spatiotemporal correlation state data to obtain the task constraint scenario data; Map the environmental state and UAV flight state in the task constraint scenario data to virtual environmental elements and virtual UAV elements, respectively. Based on flight constraints, three-dimensional space is constructed for virtual environmental elements and virtual UAV elements to obtain an initial digital twin scene. Establish the state update relationship between environmental state data, UAV flight state data and virtual elements, and generate a digital twin simulation scene based on the state update relationship.
[0027] The digital twin scene construction module, when performing 3D spatial construction of virtual environmental elements and virtual UAV elements based on flight constraints to obtain an initial digital twin scene, is specifically used for: A three-dimensional voxel coordinate framework is established based on a unified spatial coordinate datum and the task space range to obtain the voxel index; The location, spatial boundary, and occupancy status of virtual environmental elements are projected onto the voxel index, and the occupancy voxels are marked to obtain the environmental occupancy voxels. Based on the flight status and spatial boundaries of the drone virtual elements, the drone occupancy envelope is generated within the three-dimensional voxel coordinate framework. Based on flight constraints and UAV occupancy envelope, spatial occupancy is verified on environmental occupancy voxels. Voxels that meet the passage conditions are marked as passable states, and voxels that have occupancy conflicts are marked as restricted passable states, thus obtaining a three-dimensional passage state distribution. The environmental voxels, drone occupancy envelope, and 3D traffic status distribution are written into the corresponding spatial locations to obtain the initial digital twin scene.
[0028] The system acquires environmental state data collected by the environmental perception terminal, UAV flight state data output by the UAV flight control terminal, and task constraint data provided by the task input terminal. The environmental state data is recorded according to environmental objects, including the collection time, spatial location, spatial boundary, and occupancy status of each environmental object. The UAV flight state data is organized according to UAV state records, including the collection time, spatial location, flight direction, and flight motion status. The task constraint data records the target spatial location corresponding to the navigation target and the flight constraint relationships that the UAV needs to satisfy when performing navigation tasks. This forms the data source for constructing a digital twin simulation scenario.
[0029] The system reads the acquisition time corresponding to each environmental object in the environmental state data and the acquisition time corresponding to each drone flight state in the drone flight state data. It takes the acquisition time corresponding to the current drone flight state as the scene state time and determines the environmental object state record corresponding to the scene state time in the environmental state data. When the acquisition time of the environmental object state record is consistent with the scene state time, a correspondence is directly established. When the scene state time is between the acquisition times of consecutive state records of the same environmental object, the system determines the state corresponding to the scene state time based on the spatial position, spatial boundary, and occupancy state change process of the environmental object in the consecutive state records, so that the environmental state data and the drone flight state data correspond to the same time position. The system then combines the environmental state data corresponding to the completion time with the drone flight state data to obtain synchronized state data.
[0030] Read the spatial coordinate reference used by the environmental objects and UAVs in the synchronization status data, and use the spatial coordinate reference corresponding to the task space as the unified spatial coordinate reference. Based on the correspondence between the origin, coordinate axis direction and spatial position between the original spatial coordinate reference and the unified spatial coordinate reference, transform the position and spatial boundary of the environmental objects and the position of the UAV to the unified spatial coordinate reference, so that the environmental objects and UAVs can be expressed through a unified spatial position.
[0031] Based on the spatial boundary of the environmental object after coordinate transformation and the spatial position of the UAV, a spatial correspondence is established. When the UAV's spatial position is within the area covered by the spatial boundary of the environmental object, a regional inclusion association is established between the environmental object and the UAV's location. When the area corresponding to the UAV's spatial position is connected to the area corresponding to the spatial boundary of the environmental object, a spatial adjacency association is established. When the spatial range corresponding to the UAV overlaps with the area corresponding to the spatial boundary of the environmental object, a spatial overlap association is established. The data after completing the time correspondence, coordinate transformation and spatial correspondence establishment are determined as spatiotemporal correlation state data.
[0032] The navigation target and flight constraint relationship are extracted from the task constraint data. The target spatial position corresponding to the navigation target is transformed to a unified spatial coordinate reference. The task start and end relationship is established between the navigation target and the current spatial position of the UAV in the spatiotemporal correlation state data. At the same time, the flight constraint relationship is associated with the task space region, UAV flight state and environmental objects corresponding to the UAV when performing the navigation task. This ensures that the spatial position in the spatiotemporal correlation state data can correspond to the determined navigation target and flight constraint relationship. The data that completes the binding of the navigation target and flight constraint relationship is determined as the task constraint scenario data.
[0033] The environmental state in the task constraint scenario data is read, and virtual environmental elements corresponding to each environmental object are established based on the position, spatial boundary, and occupancy status of each environmental object in a unified spatial coordinate reference. The virtual environmental elements maintain the spatial position, spatial coverage, and occupancy status of the corresponding environmental object. Then, the UAV flight state in the task constraint scenario data is read, and virtual UAV elements are established based on the spatial position, flight direction, flight motion state, and spatial boundary of the UAV. The virtual UAV elements maintain the correspondence with the current UAV flight state. Thus, the environmental state and UAV flight state in the task constraint scenario data are mapped to virtual environmental elements and virtual UAV elements, respectively.
[0034] The spatial boundary of the task space is determined based on a unified spatial coordinate reference. The task space is divided into voxels arranged continuously with no spatial overlap according to the three coordinate axes. Each voxel corresponds to a specific spatial range in the task space. A unique correspondence is configured according to the arrangement position of each voxel in the three coordinate axes. This allows any spatial position in the task space to be located to the corresponding voxel according to its spatial range. All voxels form a three-dimensional voxel coordinate frame. The correspondence that can uniquely determine the spatial position of each voxel is recorded as a voxel index.
[0035] The position, spatial boundary, and occupancy status of each virtual environmental element are read in a unified spatial coordinate reference. The spatial boundary of each virtual environmental element is mapped to the spatial range of each voxel in the three-dimensional voxel coordinate frame. When the spatial range of a voxel is within the spatial boundary of the virtual environmental element or overlaps with the spatial boundary of the virtual environmental element, the voxel is identified as the voxel occupied by the corresponding virtual environmental element. The voxel index corresponding to the voxel is used to record the identification and occupancy status of the virtual environmental element. The voxels that have completed the recording of the identification and occupancy status of the virtual environmental elements form the environment occupancy voxel.
[0036] The system reads the spatial position, flight direction, flight motion state, and spatial boundary of the virtual elements of the UAV. Using the current spatial position of the virtual elements of the UAV as the basis for spatial positioning, it maps the spatial boundary occupied by the UAV entity to a three-dimensional voxel coordinate frame. Based on the current flight direction of the UAV, it determines the spatial orientation of the spatial boundary in the three-dimensional voxel coordinate frame. The voxels that are inside the UAV's spatial boundary or overlap with the UAV's spatial boundary are determined as the voxels occupied by the UAV in the current state. All the determined voxels together form the UAV's occupancy envelope.
[0037] Based on flight constraints and UAV occupancy envelopes, spatial occupancy checks are performed on spatial positions within a 3D voxel coordinate framework. For each voxel to be checked, the voxel range covered by the UAV occupancy envelope at its corresponding spatial position is determined. This voxel range is spatially mapped to environmental occupancy voxels. When there are no environmental occupancy voxels within the coverage area of the UAV occupancy envelope and the UAV flight state at that position satisfies the flight constraints, the voxel is marked as passable. When the coverage area of the UAV occupancy envelope overlaps with the environmental occupancy voxel, or the UAV flight state at that position does not satisfy the flight constraints, the voxel is marked as restricted passable. The passable and restricted passable states corresponding to all voxels form a 3D passable state distribution.
[0038] Using voxel indexes as the basis for spatial location association, the environmental virtual element identifiers and occupancy status recorded by the environmental occupancy voxels are written into the corresponding spatial locations. A correspondence is established between the voxels covered by the UAV occupancy envelope and the flight status of the UAV virtual elements. The passable and restricted passable states in the 3D passability distribution are written into the corresponding voxels, so that the environmental occupancy status, UAV occupancy status and corresponding passability status can be determined at the same spatial location simultaneously. The initial digital twin scene is formed by the 3D voxel coordinate framework after the environmental occupancy voxels, UAV occupancy envelope and 3D passability distribution have been written.
[0039] A one-to-one correspondence is established between environmental object identifiers in environmental state data and virtual environmental elements in the initial digital twin scene, and a one-to-one correspondence is established between drone identifiers in drone flight state data and virtual drone elements. When new environmental state data is acquired, the corresponding virtual environmental elements are located based on the environmental object identifiers, and the virtual environmental elements and their corresponding environmental occupancy voxels are updated according to the new spatial location, spatial boundary, and occupancy status. When new drone flight state data is acquired, the corresponding virtual drone elements are located based on the drone identifiers, and the virtual drone elements and their corresponding drone occupancy envelopes are updated according to the new spatial location, flight direction, flight motion status, and spatial boundary. The state update relationship is formed by the data correspondence between environmental state data, drone flight state data, and corresponding virtual elements.
[0040] After updating the virtual environmental elements or UAV virtual elements based on the state update relationship, the voxels whose occupancy status has changed are determined according to the updated environmental occupancy voxels and UAV occupancy envelope. Spatial occupancy verification is then re-executed for these voxels. The passable or restricted passable status of the corresponding spatial location is re-marked according to the flight constraint relationship, so that the virtual environmental elements, UAV virtual elements and 3D passable status distribution correspond to the current environmental state data and UAV flight state data, respectively. The initial digital twin scene after completing the virtual element state update and 3D passable status distribution update is determined as the digital twin simulation scene.
[0041] The beneficial effects are as follows: by establishing a unified temporal correspondence and a unified spatial coordinate benchmark for environmental state data and UAV flight state data, and by associating navigation targets, flight constraints, virtual environmental elements, and virtual UAV elements with a three-dimensional voxel coordinate framework with a unique voxel index, the corresponding environmental occupancy status, UAV occupancy status, and passage status can be determined for each spatial location in the digital twin simulation scene. At the same time, through the state update relationship, the actual environmental state and UAV flight state are updated to correspond to the distribution of virtual environmental elements, virtual UAV elements, and three-dimensional passage status. This enables the digital twin simulation scene to continuously reflect the current spatial occupancy and passage relationships of the UAV mission space, providing a scene data foundation with consistent temporal relationships, unified spatial relationships, and clear passage status for subsequent candidate main path generation, path segment division, counterfactual path breaking injection, and forward reachability and reverse continuum domain deduction.
[0042] The path disconnection injection module 102 is used to generate candidate main paths based on the digital twin simulation scenario, divide the candidate main paths into path segments, and perform counterfactual disconnection injection on the path segments to obtain a virtual disconnection simulation scenario. In this embodiment of the invention, when the path disconnection injection module performs the process of segmenting the candidate main path into path segments and injecting counterfactual disconnections into the path segments to obtain a virtual disconnection simulation scenario, it is specifically used for: Along the flight direction of the candidate main path, the candidate main path is divided into several continuous path segments based on the spatial position change nodes, environmental occupancy status change nodes, and flight status change nodes of the candidate main path. The starting and ending positions of each path segment, the spatial areas it passes through, and the passage status of the corresponding spatial areas are associated and stored to obtain the path segment status information. Based on the path segment status information, select the target path segment to be simulated as failing from the candidate main path, modify the passability status of the target path segment to the impassable status, and generate a local virtual circuit breaker scenario. Based on the spatial connectivity after the target path segment fails, the distribution of passable space in the local virtual circuit breaker scenario is updated to obtain the virtual circuit breaker simulation scenario.
[0043] The path disconnection injection module, when performing actions based on path segment status information, selecting the target path segment to be simulated as failing from the candidate main paths, modifying the passability of the target path segment to an impassable state, and generating a local virtual disconnection scenario, is specifically used for: Based on the path segment status information, determine the spatial region of each path segment and the connection relationship between adjacent path segments; Select the target path segment to be simulated as failing, and obtain the current traffic status of the spatial region corresponding to the target path segment; Keep the environmental occupancy status of the spatial area corresponding to the target path segment and the passage status of adjacent path segments unchanged, and change the current passage status from passable to impassable. Disconnecting the continuous passage relationship between the target path segment and adjacent path segments based on the candidate main path results in a local virtual road break scenario.
[0044] The system reads the virtual elements of the UAV, navigation target, flight constraints, and 3D traffic status distribution corresponding to the current navigation task in the digital twin simulation scene. Taking the current spatial position of the UAV virtual elements as the path start position and the target spatial position corresponding to the navigation target as the path end position, the system reads the spatial region formed by the trafficable voxels in the 3D voxel coordinate frame. It establishes spatial connections for trafficable voxels whose spatial boundaries can be continuously connected and whose UAV occupancy envelope does not overlap with the environment occupancy voxels after being placed in the corresponding spatial position. It retains the voxel sequence that can be continuously connected from the path start position to the path end position and whose connection positions all satisfy the flight constraints. The voxel sequence is converted into spatial path nodes in the direction from the path start position to the path end position, and candidate main paths are formed by continuous connections between adjacent spatial path nodes.
[0045] The spatial path nodes are read sequentially along the flight direction of the candidate main path. The path nodes before the current path node, the current path node, and the path nodes after the current path node are respectively mapped to the three-dimensional voxel coordinate frame. When the extension direction of the path connection before and after the current path node changes in the unified spatial coordinate reference, the current path node is determined as the spatial position change node, so that the spatial position change node corresponds to the position where the flight direction of the candidate main path changes.
[0046] The distribution of environmental occupancy voxels corresponding to the spatial locations of each spatial path node is read along the candidate main path. The environmental occupancy voxels recorded in the spatial area corresponding to the current path node are continuously matched with the environmental occupancy voxels recorded in the spatial areas corresponding to the adjacent path nodes. When any record of environmental occupancy voxels in the spatial location, spatial boundary, or occupancy status changes, the path node located at the boundary of this change is determined as the environmental occupancy status change node, which is the location where the environmental spatial occupancy relationship of the candidate main path corresponding to the environmental occupancy status change node changes.
[0047] The flight status of the UAV corresponding to each spatial path node of the candidate main path is read. The flight direction of the UAV at the corresponding path position is determined according to the spatial connection direction between adjacent spatial path nodes. The flight direction and the corresponding flight motion state are continuously correlated with the flight status of the previous path node. When the flight direction or flight motion state changes, the current path node is determined as the flight state change node, so that the flight state change node corresponds to the position where the UAV changes its flight state during the flight along the candidate main path.
[0048] The candidate main path is divided into several continuous path segments by taking the path start position, path end position, spatial position change nodes, environmental occupancy status change nodes, and flight status change nodes determined sequentially along the flight direction. The spatial path nodes that are continuously connected between two adjacent path segment positions form a path segment, so that the same path segment maintains continuous spatial connection. At the same time, the path connection between the end position of one path segment and the start position of the next path segment maintains the continuous passage relationship between adjacent path segments. In this way, the candidate main path is divided into several continuous path segments along the flight direction of the candidate main path.
[0049] For each path segment, the first and last spatial path nodes arranged along the flight direction are read. The spatial position corresponding to the first spatial path node is recorded as the starting position, and the spatial position corresponding to the last spatial path node is recorded as the ending position. The voxel spaces corresponding to all spatial path nodes between the first and last spatial path nodes are combined into the spatial region traversed by the path segment. The passage status corresponding to the spatial region in the three-dimensional passage status distribution is read. A one-to-one correspondence record is established between the path segment identifier, starting position, ending position, traversed spatial region, and the passage status of the corresponding spatial region to obtain the path segment status information.
[0050] Based on the path segment status information, the start and end positions of each path segment are read according to the flight direction of the candidate main path. When the end position of a path segment is connected to the start position of the next path segment by an existing direct path in the candidate main path, the two path segments are identified as adjacent path segments, and the direct path connection is recorded as the connection relationship between the two adjacent path segments. This yields the spatial region corresponding to each path segment and the connection relationship between adjacent path segments formed according to the flight direction of the candidate main path.
[0051] The path segment status information is read sequentially according to the flight direction of the candidate main path. Each time, a path segment whose current passage status is passable and which has a continuous passage relationship with the preceding or subsequent path segment in the candidate main path is selected as the target path segment to be simulated as failure. The spatial region it passes through is read according to the target path segment identifier, and the current passage status corresponding to the spatial region is read from the path segment status information and the three-dimensional passage status distribution. The current passage status being passable is used as the determining condition for executing this counterfactual path interruption injection.
[0052] When performing counterfactual path interruption injection on the target path segment, the position, spatial boundary, and occupancy status of the virtual environmental elements within the corresponding spatial area of the target path segment are not changed, nor are the environmental occupancy voxels already recorded in the spatial area changed. At the same time, the original passage status of the preceding and subsequent adjacent path segments of the target path segment remains unchanged. Only the current passage status of the spatial area corresponding to the target path segment in the current simulation record is changed from a passable state to an impassable state. This state modification only indicates that the target path segment of the candidate main path has failed under the current simulation conditions, without changing the spatial occupancy relationship formed by the actual environmental objects in the digital twin simulation scene.
[0053] After changing the current passability of the target path segment to an impassable state, the connection relationship between the target path segment and the preceding and subsequent adjacent path segments is read based on the path segment status information. The original start position, end position, and spatial area records of each path segment are retained. The path connection records between the target path segment and adjacent path segments used to indicate the continuous passage of the candidate main path are deleted, so that the UAV cannot enter the target path segment from the adjacent path segment or continue to the next adjacent path segment through the target path segment according to the original candidate main path. The impassable state of the target path segment, the retained environmental occupancy state, the original passability state of the adjacent path segments, and the broken continuous passability relationship together form a local virtual road break scenario.
[0054] Based on the local virtual circuit breaker scenario, the impassable spatial region corresponding to the target path segment is read, and this impassable spatial region is used as the circuit breaker region for this spatial connectivity update. In the three-dimensional voxel coordinate frame, the spatial positions around the circuit breaker region that remain passable are read. When the spatial boundaries of two adjacent spatial positions can be directly connected, the corresponding positions remain passable, and the UAV's occupancy envelope is transferred from one spatial position to another without spatial overlap with the environment's occupancy voxel and the flight constraint relationship is satisfied, the spatial connectivity relationship between the two spatial positions is retained. When any of the above conditions are not met, the spatial connectivity relationship between the two spatial positions is canceled, thereby redetermining the spatial region that can form a continuous passage after the target path segment fails.
[0055] The redefined spatial connectivity is written back to the local virtual circuit breaker scenario, while keeping the spatial area corresponding to the target path segment in an impassable state. At the same time, the environmental voxels, UAV virtual elements, and original passage status that were not affected by this circuit breaker injection are retained, so that the distribution of passable space in the scenario can reflect the spatial area that can still be continuously passed by the UAV after the target path segment fails. The updated distribution of passable space, the impassable state of the target path segment, and the disconnected continuous passage relationship between the target path segment and adjacent path segments together constitute the virtual circuit breaker simulation scenario.
[0056] The beneficial effects are as follows: by dividing the candidate main path into continuous path segments with clear start and end positions, traversed spatial areas, and traffic status according to changes in spatial location, environmental occupancy, and flight status, and establishing the path segments and their connection relationships using the path segment status information, path failure can be located to a specific spatial area and path connection position. At the same time, by modifying the target path segment to an impassable state and breaking its continuous traffic relationship while keeping the actual environmental occupancy and the traffic status of adjacent path segments unchanged, the virtual circuit breaker simulation scenario can independently represent the changes in spatial connectivity after the candidate main path experiences a partial failure. This provides a simulation scenario foundation with clear circuit breaker location, traffic status, and spatial connectivity relationships for subsequent deduction of the forward reachable domain based on the front-end flight status of the circuit breaker location, deduction of the reverse connectable domain based on the end target status, and determination of the recovery anchor area.
[0057] The recovery anchor zone simulation module 103 is used to simulate the forward reachable domain and the reverse connectable domain in a virtual circuit breaker simulation scenario, taking the flight state at the front end of the circuit breaker location and the target state at the end point as the starting points, respectively, in order to determine the recovery anchor zone. In this embodiment of the invention, when the recovery anchor zone deduction module performs calculations in a virtual circuit breaker simulation scenario, starting from the forward reachable domain and the reverse continueable domain to determine the recovery anchor zone, it is specifically used for: Obtain the flight status of the front end of the broken section, the destination status, and the candidate main path nodes after the broken section; Based on the UAV state transition relationship, flight constraint relationship, and the passage status of the virtual circuit breaker simulation scenario, the forward state extension of the flight state at the front end of the circuit breaker position is performed to obtain the forward reachable domain; the UAV state transition relationship is used to characterize the continuous transition relationship between the UAV's current spatial position, flight direction, and flight motion state and the next spatial position and the next flight state under the flight control variables allowed by the flight constraint relationship; during reverse state extension, the previous spatial position and corresponding flight state that can be continuously transferred to the current state node are determined according to the UAV state transition relationship.
[0058] Using the ability to continue candidate main path nodes as the condition for retaining the reverse state, the state of the destination target is expanded in reverse to obtain the reverse continuable domain. Anchored state nodes are defined as state nodes whose spatial positions coincide in the forward reachable domain and the reverse connectable domain and whose flight states satisfy the continuous transition conditions. The restored anchorage area is determined based on the spatial connectivity between anchored nodes.
[0059] The recovery anchor zone deduction module, when performing forward state expansion and reverse state expansion, is specifically used for: The flight state at the front end of the circuit break location and the target state at the end point are respectively determined as the initial current state nodes for forward state expansion and reverse state expansion, and the flight control quantities allowed for a single state expansion are determined according to the flight constraint relationship. Based on the flight state and flight control variables of the current state node in the forward state expansion, candidate successor states are generated. Based on the UAV occupancy envelope corresponding to the candidate successor state, query the passage status in the virtual circuit breaker simulation scenario, and eliminate candidate successor states that restrict passage voxels and do not satisfy flight constraint relationships; The retained candidate successor states are used as new current state nodes for iterative expansion to generate the forward reachable domain; Based on the UAV state transition relationship, generate candidate predecessor states of the current state node in the reverse expansion, retain candidate predecessor states that meet the passage conditions and can be transitioned to the current state node, and record the corresponding successor relationship. The retained candidate predecessor states are determined as new current state nodes for iterative expansion, and the successor state chains of each reverse state node are generated according to the successor relationship. The successor state chain corresponding to each reverse state node is matched with the candidate main path after the broken section in terms of spatial location and flight status. If there is a state node in the successor state chain that matches the candidate main path node, the reverse state node corresponding to the successor state chain is retained to generate a reverse continuable domain.
[0060] The system reads the broken continuous passage relationship between the target path segment and its preceding adjacent path segment from the virtual circuit breaker simulation scenario. The end path node of the preceding adjacent path segment along the flight direction of the candidate main path is determined as the front node of the circuit breaker position. The spatial position, flight direction and flight motion state corresponding to the node are read and the above state records are determined as the front flight state of the circuit breaker position. At the same time, the target spatial position corresponding to the navigation target and the flight state that needs to be met when reaching the target spatial position are read to form the endpoint target state. The spatial path nodes located after the target path segment and maintaining the original continuous connection relationship are read according to the flight direction of the candidate main path to obtain the candidate main path nodes located after the circuit breaker segment.
[0061] The flight state at the front end of the circuit break position and the target state at the end point are respectively used as the starting records for state expansion. The state node corresponding to the flight state at the front end of the circuit break position is determined as the initial current state node for forward state expansion, and the state node corresponding to the target state at the end point is determined as the initial current state node for reverse state expansion. Both initial current state nodes correspond to a specific spatial position and a specific flight state in the virtual circuit break simulation scenario.
[0062] Read the spatial access restrictions and flight state transition restrictions corresponding to the current state node in the flight constraint relationship. Based on the flight direction and flight motion state recorded by the current state node, determine the flight control quantity that enables the UAV to transition from the current flight state to the next flight state while still satisfying the flight constraint relationship after the transition. Take each flight control quantity that satisfies the above conditions as an allowed state transition method for the current state node, so that a single state extension can only be carried out within the range of state changes allowed by the flight constraint relationship.
[0063] The current state node in the forward state expansion is used as the starting point of the state transition. The flight state corresponding to the current state node is changed according to the flight control variables that can be adopted. The next spatial position that the UAV can reach after completing the flight state change and the next flight state corresponding to the spatial position are determined according to the UAV state transition relationship. The next spatial position and the next flight state that can be directly obtained from the current state node are combined into candidate successor states, so that each candidate successor state retains its source current state node and the corresponding state transition relationship.
[0064] Based on the spatial location and flight state corresponding to each candidate successor state, the virtual UAV element is placed in the spatial location corresponding to the candidate successor state, and the voxel range covered by the UAV's occupied envelope is determined according to the flight state. In the virtual circuit breaker simulation scenario, the passage state corresponding to the voxel range is queried. When the UAV's occupied envelope covers voxels that restrict passage, the candidate successor state is deleted. When all voxels within the coverage area of the UAV's occupied envelope are in a passable state but the corresponding flight state does not satisfy the flight constraint relationship, the candidate successor state is deleted. Only candidate successor states where the space where the UAV's occupied envelope is located remains passable and the flight state satisfies the flight constraint relationship are retained.
[0065] Each of the retained candidate successor states is established as a new current state node, and the forward transition relationship between the new current state node and its source state node is recorded. Then, the new current state node continues to generate candidate successor states according to the same flight constraint relationship, UAV state transition relationship and virtual circuit breaker simulation scenario passage state. Each time the state expansion is completed, the state node that satisfies the passage conditions and flight constraint relationship is retained, and all state nodes that can be reached from the front flight state of the circuit breaker position through continuous state transition and their corresponding spatial positions are gathered to form a forward reachable domain.
[0066] Using the current state node in the reverse state expansion as the state to be continued, the flight state that can be reached through one continuous state transition is determined in reverse according to the UAV state transition relationship. The previous spatial position corresponding to the flight state in the virtual circuit breaker simulation scenario is determined. The previous spatial position and the corresponding flight state are combined to form a candidate precursor state, so that each candidate precursor state has a definite state transition relationship that can be transferred to the current state node.
[0067] For each candidate precursor state, the corresponding UAV occupancy envelope is determined, and the passage status of the voxel covered by the UAV occupancy envelope is read in the virtual circuit breaker simulation scenario. At the same time, it is determined whether the flight status change from the candidate precursor state to the current state node satisfies the flight constraint relationship. When the UAV occupancy envelope covers the restricted passage voxel or the candidate precursor state cannot be continuously transferred to the current state node according to the UAV state transition relationship, the candidate precursor state is deleted. Only the candidate precursor states whose spatial location is in a passable state and can be continuously transferred to the current state node are retained, and the current state node is recorded as the successor state of the corresponding candidate precursor state.
[0068] The retained candidate predecessor states are determined as new current state nodes, and the candidate predecessor states that can be transferred to the new current state nodes are determined in reverse. Each time a new reverse state node is formed, the connection relationship between the reverse state node and its successor state is recorded, so that any retained reverse state node can reach the target state in sequence along the continuously recorded successor relationship. The continuous state node sequence formed from the reverse state node to the target state is determined as the corresponding successor state chain.
[0069] Read the spatial position and flight status of the candidate main path node located after the broken section, and read the spatial position and flight status of each state node in each successor state chain in sequence. When the state node in the successor state chain corresponds to the same spatial position as the candidate main path node and the flight status of the state node can be continuously transformed into the flight status corresponding to the candidate main path node according to the UAV state transition relationship, the state node is determined as the state node matching the candidate main path node, so that the successor state chain has a continuous state relationship from the current reverse state node to the candidate main path after the broken section.
[0070] When a reverse state node has a state node in its successor state chain that matches a candidate main path node after a broken section, the reverse state node is retained. When there is no state node in its successor state chain that meets the matching conditions of spatial position and flight state, the reverse state node is deleted. The reverse continuable domain is formed by all the retained reverse state nodes, the successor state chains corresponding to each reverse state node, and the candidate main path nodes that can be continued.
[0071] Each state node in the forward reachable domain is spatially mapped to each state node in the reverse connectable domain according to a unified spatial coordinate reference. When two state nodes correspond to the same spatial location, the flight states recorded by the two state nodes are read. Based on the UAV state transition relationship, it is determined whether the flight state of the forward reachable domain state node can be continuously transferred to the flight state of the reverse connectable domain state node. Only when the spatial locations coincide and there is a continuous state transition relationship between the two flight states that satisfies the flight constraint relationship, the corresponding state node is determined as the anchored state node.
[0072] For each anchored state node, its spatial position in the virtual circuit breaker simulation scenario is read, and the spatial connection between adjacent anchored state nodes is determined based on the three-dimensional traffic state distribution. When the continuous spatial position between two anchored state nodes is both in a traffic state and the UAV does not cover the restricted traffic voxel when moving along the continuous spatial position, the two anchored state nodes are determined to have a spatial connection relationship, and the anchored state nodes with a continuous spatial connection relationship are classified into the same spatial region.
[0073] A spatial region formed by anchored state nodes that are spatially continuous and spatially connected is defined as a recovery anchor zone. Any retained anchored state node in the recovery anchor zone can be reached from the flight state at the front end of the broken section through the continuous state nodes in the forward reachable domain, and can be continued to the candidate main path node after the broken section through the successor state link recorded in the reverse continueable domain. Thus, a recovery anchor zone with forward reachability, reverse continueable relationship and spatial passage relationship is obtained.
[0074] The beneficial effect is that by extending the flight state forward from the front end of the broken road position to form a forward reachable domain that satisfies the UAV's state transition relationship, flight constraint relationship, and spatial access conditions, and by determining the state nodes that can continuously transfer to the end point and can connect to the candidate main path nodes after the broken road segment from the end point target state, a reverse connectable domain is formed. Then, based on the spatial location coincidence, continuous flight state transition, and spatial connectivity relationship, a recovery anchor area is determined, so that the state nodes in the recovery anchor area simultaneously have the executable conditions to reach from the broken road position and the executable conditions to reconnect to the candidate main path. This provides a path recovery basis with a determined spatial location, determined flight state, and determined state connectivity relationship for the subsequent generation of recovery paths that bypass the failed path segment and reconnect to the candidate main path.
[0075] The mapping chain establishment module 104 is used to generate a recovery path based on the recovery anchor zone and establish a self-recovery path mapping chain between the broken section, the recovery anchor zone, and the recovery path; In this embodiment of the invention, when the mapping chain establishment module generates a recovery path based on the recovery anchor zone and establishes a self-recovering path mapping chain between the broken section, the recovery anchor zone, and the recovery path, it is specifically used for: Extract the anchored state nodes in the restored anchor zone, and determine the successor path nodes that match the candidate main path after the broken section by following the successor state chain of each anchored state node. In the forward reachable domain, with the flight state and anchored state nodes at the front end of the circuit break location as the two ends, search for the forward state node sequence that satisfies the UAV state transition relationship; By tracing the successor relationship from the anchor state node to the successor path node, a sequence of successor state nodes is obtained; The forward state node sequence and the subsequent state node sequence are spliced together according to the flight direction, and the subsequent path node is connected with the candidate main path to obtain the restored path. Configure the identifiers for the broken section, the recovery anchor zone, and the recovery path. Using the broken section identifier as the query index, sequentially associate the recovery anchor zone identifier and the recovery path identifier to obtain the self-recovery path mapping chain.
[0076] Read all anchored state nodes from the restored anchor area, and read the successor relationship recorded by each anchored state node in the reverse successive domain, as well as the successor state chain formed by the successor relationship. Read the spatial position and flight state of the state node sequentially along each successor state chain in the direction from the anchored state node to the target state of the endpoint. At the same time, read the spatial position and flight state of the candidate main path node after the broken section. When the state node in the successor state chain corresponds to the same spatial position as the candidate main path node and the flight state of the state node can be continuously transferred to the flight state of the candidate main path node according to the UAV state transition relationship, the corresponding candidate main path node is determined as the successor path node corresponding to the anchored state node, thereby establishing a definite successor relationship between the anchored state node and the candidate main path after the broken section.
[0077] For each anchored state node with a determined successor path node, the source state node relationship corresponding to the anchored state node is read in the forward reachable domain. The anchored state node is then traced step by step along the source state node relationship to the initial current state node corresponding to the flight state at the front end of the broken position. This ensures that there is a state transition relationship between any two adjacent state nodes during the tracing process, which has been recorded in the forward state expansion stage. The traced state nodes are then rearranged according to the direction from the flight state at the front end of the broken position to the anchored state node. This allows the rearranged adjacent state nodes to complete the state transition in sequence according to the UAV state transition relationship. All the rearranged state nodes form a forward state node sequence that satisfies the UAV state transition relationship.
[0078] Read the spatial position and flight state corresponding to each state node in the forward state node sequence, and verify the passage relationship between the spatial positions corresponding to adjacent state nodes in the virtual circuit breaker simulation scenario. Only retain the forward state node sequence where adjacent spatial positions are all in a passable state, the UAV does not cover the restricted passage voxel when moving along the adjacent spatial positions, and the adjacent flight states satisfy the flight constraint relationship. This allows the forward state node sequence to represent the actual passable state process of the UAV continuously reaching the anchored state node from the flight state at the front end of the circuit breaker position.
[0079] Using the anchored state node as the starting node of the successive state node sequence, the subsequent state recorded by the anchored state node in the reverse state expansion phase is read, and the next successive state node is read in sequence according to the successor relationship. The process continues to track along the successor relationship until the state node corresponding to the determined successive path node is reached. This ensures that any current state node can be transferred to its successor state node according to the recorded UAV state transition relationship during the tracking process. All state nodes arranged in the flight direction from the anchored state node to the successive path node are determined as the successive state node sequence.
[0080] The system reads the spatial location and flight state of each state node in the successive state node sequence, and verifies the passage state of each spatial location according to the three-dimensional passage state distribution of the virtual circuit breaker simulation scenario. At the same time, it verifies the flight state transition relationship between adjacent state nodes according to the flight constraint relationship. When the spatial locations traversed by the successive state node sequence are all in a passable state and adjacent flight states can be continuously transferred, the successive state node sequence is retained. This allows the successive state node sequence to represent the executable state process of the UAV continuously reaching the successive path node from the anchor state node.
[0081] According to the direction of the UAV's flight from the front end of the broken section to the candidate main path after the broken section, the end anchored state node of the forward state node sequence and the beginning anchored state node of the successive state node sequence are merged into the same state node. Then, the forward state node sequence and the successive state node sequence are connected in sequence according to the continuity of spatial position and flight state. The connected state node sequence starts from the flight state at the front end of the broken section, extends through the anchored state nodes in the restored anchor area to the successive path node, and maintains the spatial continuity and flight state continuity between adjacent state nodes in the entire state node sequence.
[0082] The system reads the node positions of the successor path nodes in the candidate main path and reads the subsequent path connection relationships in the candidate main path that extend from the successor path nodes along the flight direction to the navigation target. It establishes a continuous flight connection between the end state node of the successor state node sequence and the successor path node, so that after the UAV reaches the successor path node, it can continue to pass through the path nodes after the broken section according to the original flight direction of the candidate main path. The recovery path is formed by the forward state node sequence, the successor state node sequence, and the connection relationship between the successor path node and the candidate main path.
[0083] For a broken section with multiple anchored state nodes, recovery paths are formed according to the corresponding forward state node sequence and the successor state node sequence. Only recovery paths that can continuously reach the anchored state node from the front end of the broken section, and can continuously reach the successor path node from the anchored state node, and can continue to connect to the broken section after the successor path node, are retained. This ensures that each retained recovery path has a complete broken section front end entry relationship, recovery anchor zone passage relationship, and candidate main path reconnection relationship.
[0084] Based on the established path segment status information of each path segment in the candidate main path, a unique path segment identifier is configured for the path segment that has undergone counterfactual path segment injection. A recovery anchor zone identifier is configured for the recovery anchor zone corresponding to the path segment, and a recovery path identifier is configured for the recovery path formed based on the recovery anchor zone. This enables the path segment identifier to locate the corresponding path segment, the recovery anchor zone identifier to locate the corresponding anchored state node and its spatial region, and the recovery path identifier to locate the corresponding forward state node sequence, the successor state node sequence, and the successor path node.
[0085] Using the road break segment identifier as the query index, the corresponding recovery anchor zone identifier is associated with the road break segment identifier, and the recovery path identifier generated based on the recovery anchor zone is associated with the recovery anchor zone identifier. This allows a single road break segment identifier query to sequentially determine the corresponding recovery anchor zone identifier and recovery path identifier. At the same time, a corresponding relationship is established between the connecting path node and the recovery path identifier. The road break segment identifier, recovery anchor zone identifier, recovery path identifier, and their sequentially established associations together form a self-recovery path mapping chain.
[0086] The self-recovery path mapping chain is associated with the corresponding candidate main path and stored. The path segment status information corresponding to the broken section identifier, the anchor status node corresponding to the recovery anchor area identifier, and the complete status node sequence corresponding to the recovery path identifier are retained. This enables the corresponding recovery anchor area and recovery path to be directly located based on the broken section identifier of the actual failed path segment after the failure recovery simulation verification of the candidate main path or the actual flight process. This results in a definite path recovery relationship in which the front end of the broken section bypasses the failed path segment and reconnects to the candidate main path.
[0087] The beneficial effects are as follows: by utilizing the anchored state nodes in the recovery anchor zone to establish a continuous state connection between the flight state at the front end of the broken section and the candidate main path after the broken section, the forward state node sequence in the forward reachable domain and the successive state node sequence in the reverse successive domain are connected according to the flight direction, so that the formed recovery path simultaneously satisfies the spatial passage relationship, the UAV state transition relationship and the flight constraint relationship. Furthermore, by establishing a self-recovering path mapping chain through the broken section identifier, the recovery anchor zone identifier and the recovery path identifier, each simulated broken section can be mapped to a determined recovery anchor zone and recovery path, providing a clear data association basis for subsequent failure recovery simulation verification and recovery path retrieval after the failure of actual path segments.
[0088] The failure recovery verification module 105 is used to perform failure recovery simulation verification on candidate main paths based on the self-recovery path mapping chain and to screen target navigation schemes. In this embodiment of the invention, when the failure recovery verification module performs failure recovery simulation verification on candidate main paths based on the self-recovery path mapping chain and selects target navigation schemes, it is specifically used for: Based on each candidate main path, establish a normal flight simulation branch and a failure recovery simulation branch corresponding to each broken section. In the normal flight simulation branch, candidate main paths are executed to verify path traversability and mission constraint compliance; In the failure recovery simulation branch, when the UAV reaches the front end of the circuit break location, the corresponding recovery path is retrieved according to the circuit break segment identifier, and the feasibility of resuming flight, the continuity of flight status, and the compliance with mission constraints are verified. Candidate main paths that have passed verification in different branches are retained. Candidate main paths are selected based on normal flight cost and failure recovery cost. Combined with the corresponding self-recovery path mapping chain, the target navigation scheme is obtained.
[0089] The normal flight cost is characterized by the normal flight distance and flight state transition when the candidate main path completes normal flight, while the failure recovery cost is characterized by the recovery flight distance corresponding to each broken segment and the flight state transition during the recovery flight process. During the screening, the normal flight distance is compared first, and when the normal flight distances are the same, the sum of the recovery flight distances of each broken segment is compared. When the recovery flight distances are still the same, the number of flight state transitions during the recovery flight process is compared.
[0090] Read the path segment status information and self-recovering path mapping chain corresponding to each candidate main path. Take each candidate main path as an independent simulation verification object. Preserve the original path connection relationship from the start position to the end position of the candidate main path to establish a normal flight simulation branch. Then, establish failure recovery simulation branches one by one according to the broken segments that have been injected with counterfactual circuit breakers in the candidate main path. A normal flight simulation branch is used to verify the flight process when the candidate main path has not experienced a path segment failure. A failure recovery simulation branch corresponds to a determined broken segment and is used to verify the recovery flight process after the broken segment fails.
[0091] In the normal flight simulation branch, the starting position of the candidate main path is used as the initial spatial position of the UAV virtual element. Adjacent path nodes and corresponding path segments are read sequentially according to the flight direction of the candidate main path, so that the UAV virtual element moves towards the navigation target along the continuous spatial connection formed by the candidate main path. Each time the UAV moves from the current path node to the next path node, the passage status of the corresponding spatial position in the digital twin simulation scene and the UAV occupancy envelope are read, thus forming the normal flight simulation process of the candidate main path from the starting position to the navigation target.
[0092] For each path node traversed during normal flight simulation, the UAV's occupied envelope is mapped to the three-dimensional traffic status distribution of the corresponding spatial location of that path node. When the space covered by the UAV's occupied envelope is in a trafficable state and there is a continuous spatial connection between adjacent path nodes, the corresponding path connection is determined to satisfy path trafficability. When the UAV's occupied envelope corresponding to any path node covers a restricted traffic voxel or there is no continuous spatial connection between adjacent path nodes, the normal flight simulation branch is determined to have failed the path trafficability verification.
[0093] The flight status of the UAV corresponding to each path node during normal flight simulation is read, and the UAV flight status, current spatial position, and corresponding task spatial region are matched with the navigation target and flight constraint relationship in the task constraint data item by item. When each flight status on the candidate main path satisfies the flight constraint relationship of the corresponding spatial region and the candidate main path can continuously reach the navigation target, the normal flight simulation branch is determined to have passed the task constraint compliance verification. When any flight status does not satisfy the corresponding flight constraint relationship or the candidate main path cannot continuously reach the navigation target, the normal flight simulation branch is determined to have failed the task constraint compliance verification.
[0094] The normal flight simulation branch that passes both path traversability verification and mission constraint compliance verification is recorded as the normal flight verification passed state. The path node connection relationship, flight state transition relationship and path travel range of the candidate main path from the path start position to the navigation target are also recorded. The above records are used as the basis data for the subsequent formation of normal flight cost.
[0095] In the failure recovery simulation branch, the UAV virtual element moves from the starting position of the path along the candidate main path to the front end of the corresponding broken position of the broken section according to the original flight direction of the candidate main path. After reaching the front end of the broken position, it stops and enters the broken section along the original candidate main path. The broken section identifier is read according to the broken section corresponding to the failure recovery simulation branch. The self-recovery path mapping chain is queried with the broken section identifier. The corresponding recovery anchor zone identifier and recovery path identifier are determined in sequence. The recovery path corresponding to the current broken section is retrieved according to the recovery path identifier.
[0096] The retrieved recovery path is connected to the flight state at the front end of the broken section. The virtual elements of the UAV enter the recovery anchor area from the front end of the broken section according to the forward state node sequence in the recovery path. Then, they move from the recovery anchor area to the continuous path node along the continuous state node sequence. Finally, they re-enter the candidate main path after the broken section from the continuous path node. This makes the failure recovery simulation branch form a recovery flight process consisting of the part of the candidate main path before the broken section, the recovery path, and the part of the candidate main path after the broken section.
[0097] For each state node traversed by the recovery path, the passage status of the corresponding spatial location is read, and the drone occupancy envelope is determined according to the drone flight status corresponding to each state node. The drone occupancy envelope is spatially mapped to the restricted passage voxel in the virtual circuit breaker simulation scenario. When the drone occupancy envelope formed by all state nodes traversed by the recovery path does not cover the restricted passage voxel, and there is a continuous spatial connection between adjacent state nodes, the recovery path is determined to have passed the passage feasibility verification. When the drone occupancy envelope corresponding to any state node covers the restricted passage voxel or the spatial connection between adjacent state nodes is broken, the corresponding failure recovery simulation branch is determined to have failed the passage feasibility verification.
[0098] The flight states recorded by adjacent state nodes are read sequentially along the flight direction of the recovery path. The flight states of the previous state node can be continuously transferred to the flight states of the next state node according to the UAV state transition relationship. At the same time, the state transition relationship between the flight state at the front end of the broken position and the first state node in the forward state node sequence, as well as the state transition relationship between the last state node in the successive state node sequence and the corresponding flight states of the successive path nodes are verified. When all adjacent state nodes of the recovery path can be continuously transferred according to the UAV state transition relationship, the flight recovery is confirmed to have passed the flight state continuity verification.
[0099] Read all flight states from the path start position to the front end of the broken path position, from the front end of the broken path position through the recovery path to the connecting path node, and from the connecting path node to the navigation target in the failure recovery simulation branch. Match each flight state and its corresponding spatial position with the flight constraint relationship item by item, and check whether the navigation target determined by the mission constraint data can be reached after the recovery flight is completed. When all flight states meet the corresponding flight constraint relationship and the recovery flight can continuously reach the navigation target, the corresponding failure recovery simulation branch is determined to have passed the mission constraint compliance verification.
[0100] The failure recovery simulation branch that simultaneously passes the feasibility verification, flight status continuity verification, and mission constraint compliance verification is recorded as the failure recovery verification passed state. The state node connection relationship, flight status transition relationship, and recovery path travel range formed during the process of entering the recovery path from the front end of the circuit break position, passing through the recovery anchor area, reaching the connecting path node, and reconnecting the candidate main path are recorded. The above records are used as the basis data for the subsequent formation of failure recovery cost.
[0101] For each candidate main path, its normal flight simulation branch and the failure recovery simulation branch corresponding to each broken section are summarized. The candidate main path is retained only when the normal flight simulation branch is in the normal flight verification state and all the failure recovery simulation branches corresponding to the candidate main path are in the failure recovery verification state. When the normal flight simulation branch or any failure recovery simulation branch fails the corresponding verification, the candidate main path is deleted. This way, the retained candidate main paths have both the continuous passage capability under normal conditions and the path recovery capability after the simulated broken section fails.
[0102] Based on the path node connection relationships and path travel range recorded during normal flight verification, the normal flight distance is determined according to the continuous spatial path actually traversed from the starting position of the candidate main path to the navigation target. Combined with the flight state transition records that occur during normal flight, the normal flight cost is formed, so that the normal flight cost corresponds to the spatial path and flight state adjustment process that the candidate main path needs to traverse to complete the navigation task without any path breakage.
[0103] Based on the recovery path travel range and flight state transition relationships recorded during each failure recovery verification process, the recovery flight distance is determined according to the continuous spatial path actually traversed by the UAV from the front end of the break point into the recovery path until it reaches the connecting path node again. Combined with the flight state transition records that occur during the recovery flight, the failure recovery cost of the corresponding break segment is formed. Then, the failure recovery costs corresponding to each break segment of the same candidate main path are associated and saved, so that the failure recovery cost can characterize the recovery process required for the candidate main path to complete path recovery when facing different simulated break segments.
[0104] Among all candidate main paths that have passed the verification of different branches, the shortest normal flight distance is used as the priority criterion for normal flight cost. Among candidate main paths with the same normal flight distance, the shortest sum of the recovery flight distances corresponding to each broken segment is used as the criterion for failure recovery cost. If the recovery flight distance is still the same, the minimum number of flight state transitions during the recovery flight process is used as the determining criterion. In this way, the candidate main path that simultaneously meets the requirements of normal flight and failure recovery is determined.
[0105] The selected candidate main paths are associated with their corresponding self-recovery path mapping chains, so that each verified broken segment in the candidate main path retains its corresponding broken segment identifier, recovery anchor zone identifier, and recovery path identifier. The candidate main paths, normal flight verification results, failure recovery verification results of each broken segment, and corresponding self-recovery path mapping chains are jointly determined as the target navigation scheme, so that the target navigation scheme includes both the main path executed under normal conditions and the recovery path call relationship corresponding to the simulated failed path segments in the main path.
[0106] The beneficial effects are that by establishing normal flight simulation branches and failure recovery simulation branches corresponding to each broken section, the path traversability and task constraint compliance of the candidate main path during normal execution, as well as the traversability, flight state continuity and task constraint compliance after the path segment fails, are fully verified. Only candidate main paths that have passed the verification of all simulation branches are retained. Then, the normal flight cost and failure recovery cost are combined to complete the screening. This ensures that the target navigation scheme can not only meet the continuous navigation requirements under normal conditions, but also pre-verifies the recovery execution capability after the candidate main path experiences a partial failure. At the same time, the deterministic association between the target navigation scheme and the self-recovery path mapping chain is retained, providing a data foundation for directly retrieving the verified recovery path when the actual failed path segment occurs.
[0107] The feedback recovery update module 106 is used to output the target navigation scheme and receive flight execution feedback, and based on the actual failure data, retrieve the recovery path and update the digital twin simulation scene.
[0108] In this embodiment of the invention, when the feedback recovery update module executes the output target navigation scheme and receives flight execution feedback, and retrieves the recovery path and updates the digital twin simulation scenario based on the actual failure data, it is specifically used for: The target navigation scheme is output to the UAV flight control terminal, and flight execution feedback on UAV flight status and environmental accessibility is received. The flight execution feedback is matched with the path segments in the target navigation scheme to determine the actual failed path segments, failure locations, and failure ranges, thereby obtaining the actual failure data; Based on the identifier of the actual failed path segment, query the self-recovery path mapping chain, retrieve the corresponding recovery path, and output the route switching command; After retrieving the recovery path, the current spatial position and current flight status of the UAV in the flight execution feedback are matched with the status nodes of the recovery path. The actual entry position or actual entry status node of the recovery path that can be continuously connected with the current flight status is determined, and the actual entry position or actual entry status node is used as the starting point of the route switching to form a route switching command.
[0109] Actual failure data and UAV flight status are written into the digital twin simulation scene to update the access status of spatial locations and the status of virtual UAV elements.
[0110] The candidate main path determined in the target navigation scheme, the start and end positions of each path segment, the traffic status corresponding to each path segment, the flight status corresponding to the UAV when flying along the candidate main path, and the self-recovery path mapping chain corresponding to each broken section are sent to the UAV flight control terminal. This enables the UAV flight control terminal to control the UAV to fly from the current spatial position to the navigation target according to the path node arrangement order of the candidate main path, and retain the path segment identifier as the basis for subsequent flight execution feedback and correspondence with the target navigation scheme.
[0111] During the flight of the UAV along the target navigation scheme, it continuously receives feedback from the UAV flight control terminal on the UAV flight status and environmental accessibility status. The UAV flight status records the UAV's current spatial position, flight direction and flight motion status, while the environmental accessibility status records whether the space in front of the UAV and the candidate main path remains passable. Each received UAV flight status and the corresponding environmental accessibility status are used to establish the same flight execution record, and the continuously formed flight execution records constitute the flight execution feedback.
[0112] The system reads the current spatial position of the UAV from the flight execution feedback and maps this position to the spatial areas traversed by each path segment in the target navigation scheme according to a unified spatial coordinate reference. When the current spatial position of the UAV is located within a continuous spatial area defined by the start and end positions of a certain path segment, the path segment is determined as the current execution path segment. At the same time, the system determines the path segments that have not yet been executed after the current execution path segment according to the flight direction of the candidate main path, thereby establishing a definite correspondence between the flight execution feedback and the path segments in the target navigation scheme.
[0113] The environmental accessibility status of the spatial region corresponding to the current execution path segment and its subsequent path segments is read. The environmental accessibility status in the flight execution feedback is matched with the path segment accessibility status recorded by the target navigation scheme segment by segment. When a path segment recorded as accessible in the target navigation scheme is corresponding to an inaccessible status in the flight execution feedback, and this inaccessible status is located on the candidate main path between the UAV's current spatial position and the navigation target, the path segment is determined as the actual failed path segment, so that the actual failed path segment corresponds to the candidate main path part that can no longer be executed according to the target navigation scheme.
[0114] Within the spatial region corresponding to the actual failed path segment, the spatial locations where the environmental accessibility changes are sequentially read along the flight direction of the candidate main path. The first spatial location where the accessibility changes from passable to impassable is determined as the failed location. The continuous spatial locations that remain impassable along the candidate main path are then read until a spatial location where the accessibility is restored to passable is found. The spatial region that remains impassable between the failed location and the location where the passable status is restored is determined as the failed range. The actual failed path segment, the failed location, and the failed range together form the actual failed data.
[0115] The actual failed path segment is mapped to the path segment status information in the target navigation scheme. The corresponding path segment identifier is determined based on the start position, end position and spatial area traversed by the actual failed path segment. This path segment identifier is used as the query index for the self-recovery path mapping chain. The recovery anchor zone identifier associated with the path segment identifier is read, and then the recovery path identifier associated with the recovery anchor zone identifier is read. The recovery path identifier is used to locate the recovery path that has passed the feasibility of passage, continuity of flight status and compliance with mission constraints during the failure recovery verification phase.
[0116] The system reads the flight status at the front end of the broken position corresponding to the retrieved recovery path, and maps the current spatial position and flight status of the UAV in the flight execution feedback to the status nodes in the recovery path. When the UAV has not yet reached the actual failed path segment, it determines the path node on the candidate main path that is located between the current spatial position of the UAV and the actual failed path segment and can be continuously connected to the beginning of the recovery path. The path node is then used as the actual entry position of the recovery path, enabling the UAV to reach the actual entry position of the recovery path along the currently executable candidate main path and enter the recovery path.
[0117] When the UAV is already at the failure position corresponding to the actual failure path segment and cannot continue to enter the actual failure path segment along the candidate main path, the current flight state of the UAV in the flight execution feedback is matched one by one with the state nodes in the forward state node sequence of the recovery path. The state node whose spatial location is continuously connected to the current position of the UAV and whose flight state can be continuously transferred from the current flight state according to the UAV's state transition relationship is selected as the actual entry state node of the recovery path, so that the result of the recovery path retrieval is continuous with the current flight state of the UAV when the actual path fails.
[0118] The actual entry position or actual entry status node of the recovery path is used as the starting point for route switching. The flight path after route switching is formed according to the arrangement relationship of the forward status node sequence in the recovery path, the anchor status node in the recovery anchor area, the successive status node sequence, and the successive path node. The spatial position sequence and flight status transition sequence corresponding to the flight path are used to form a route switching command and output to the UAV flight control terminal, so that the UAV stops entering the actual failed path segment and switches to the corresponding recovery path.
[0119] When the UAV resumes flight according to the route switching command, it passes through the forward state node sequence and the successor state node sequence in sequence along the recovery path. After reaching the successor path node, it reconnects to the candidate main path that is still passable after the actual failed path segment. This allows the UAV to bypass the failure range corresponding to the actual failed path segment and continue to fly towards the navigation target according to the subsequent path segment that is not failed in the target navigation scheme.
[0120] The actual failure path segments, failure locations, and failure ranges in the actual failure data are converted to a unified spatial coordinate reference used in the digital twin simulation scenario. Based on the failure range, the corresponding voxels in the three-dimensional voxel coordinate frame are determined. The voxels in the original passable state covered by the failure range are updated to the restricted passable state. At the same time, the original passable state of voxels outside the failure range that have not undergone environmental passable state changes is retained, so that the three-dimensional passable state distribution can correspond to the current environmental passable state detected during flight execution.
[0121] The current spatial position, flight direction, and flight motion status of the UAV in the flight execution feedback are written into the data location that establishes a state update relationship with the UAV virtual elements. The position of the UAV virtual elements in the three-dimensional voxel coordinate frame is updated according to the current spatial position of the UAV, the spatial orientation of the UAV virtual elements is updated according to the current flight direction, and the UAV occupancy envelope is re-determined based on the updated spatial position and flight status, so that the state of the UAV virtual elements corresponds to the UAV flight status in the flight execution feedback.
[0122] Based on the updated restricted access voxels and UAV occupancy envelopes, the connectivity between spatial locations affected by actual failure data is redefined. The spatial connectivity between the two spatial locations is retained when both adjacent spatial locations remain accessible, the UAV occupancy envelope does not cover the restricted access voxels when passing through the corresponding spatial location, and the corresponding flight state satisfies the flight constraint relationship. When any of these conditions are not met, the corresponding spatial connectivity is canceled, and the redefined access state and spatial connectivity are written into the digital twin simulation scene.
[0123] The updated 3D traffic status distribution, UAV virtual element status, and UAV occupancy envelope are used as the current scene status of the digital twin simulation scene. This allows the digital twin simulation scene to synchronously reflect the impassable space corresponding to the actual failed path segment and the current flight position of the UAV after performing a route switch. The updated digital twin simulation scene will continue to serve as the scene data basis for subsequent flight execution feedback, spatial traffic status judgment, and UAV status updates.
[0124] The beneficial effects are that by spatially mapping flight execution feedback with path segments in the target navigation scheme, the actual failed path segment, failure location, and failure range can be determined based on the environmental traffic conditions. The identifier of the actual failed path segment can be used to directly query the self-recovery path mapping chain to retrieve the recovery path verified by failure recovery simulation. This allows the UAV to switch to the corresponding recovery path according to its current spatial location and flight status after the candidate main path fails. At the same time, the actual failure data and UAV flight status are written into the digital twin simulation scene, and the three-dimensional traffic status distribution, UAV virtual element status, UAV occupancy envelope, and spatial connectivity are updated accordingly. This ensures that the actual flight status, path failure status, and digital twin simulation scene are consistent, providing a scene status basis corresponding to the current flight environment for subsequent navigation execution.
[0125] like Figure 2 The figure shows a schematic diagram of the recovered flight state of a digital twin UAV autonomous navigation and path planning system in complex environments, provided by an embodiment of the present invention. The figure illustrates the changes in altitude and speed of the UAV during its flight along the recovered path. The horizontal axis represents flight time in seconds; the upper vertical axis represents flight altitude in meters, reflecting the trend of altitude change during recovery; and the lower vertical axis represents flight speed in meters per second, reflecting the speed adjustment process. Different curves in the figure represent the normal flight state, the failure recovery state, and the corresponding flight constraint range, demonstrating that the UAV's altitude and speed can be continuously adjusted according to path changes during recovery.
[0126] like Figure 3 The figure shows a schematic diagram of the three-dimensional trajectory of a recovery path in a complex environment autonomous navigation and path planning system for a digital twin UAV provided in an embodiment of the present invention. As can be seen from the figure, the UAV executes the three-dimensional spatial trajectory when recovering its path. The two horizontal coordinate axes represent the east and north positions, respectively, both in meters. The vertical coordinate axis Up represents the UAV's flight altitude, also in meters. Different trajectories in the figure represent candidate main paths, normal flight paths, and recovery trajectories after a failure, and indicate the state before the break point and the final target state. It can be seen that the recovery trajectory can extend from the state before the break point to the final target state, forming a continuous three-dimensional spatial flight path.
[0127] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0128] This application embodiment can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system for complex environments, characterized in that, The system includes a twin scenario construction module, a path break injection module, a recovery anchor zone deduction module, a mapping chain establishment module, a failure recovery verification module, and a feedback recovery update module, wherein: The digital twin scenario construction module is used to acquire environmental status data, UAV flight status data, and task constraint data to construct a digital twin simulation scenario. The path disconnection injection module is used to generate candidate main paths based on digital twin simulation scenarios, divide the candidate main paths into path segments, and perform counterfactual disconnection injection on the path segments to obtain virtual disconnection simulation scenarios. The recovery anchor zone simulation module is used to simulate the forward reachable domain and the reverse connectable domain in a virtual circuit breaker simulation scenario, taking the flight state at the front end of the circuit breaker location and the target state at the end point as the starting points, in order to determine the recovery anchor zone. The mapping chain establishment module is used to generate recovery paths based on recovery anchor zones and establish self-recovery path mapping chains between broken sections, recovery anchor zones, and recovery paths; The failure recovery verification module is used to perform failure recovery simulation verification on candidate main paths based on the self-recovery path mapping chain, and to screen target navigation schemes. The feedback recovery update module is used to output the target navigation scheme and receive flight execution feedback, and based on the actual failure data, retrieve the recovery path and update the digital twin simulation scenario.
2. The digital twin UAV autonomous navigation and path planning system in complex environments as described in claim 1, characterized in that, The digital twin scenario construction module, when acquiring environmental state data, UAV flight state data, and task constraint data to construct a digital twin simulation scenario, is specifically used for: Time-align environmental status data and UAV flight status data to obtain synchronized status data; The synchronized state data is converted to a unified spatial coordinate reference, and then correlated with the spatial correspondence between environmental objects and UAVs to obtain spatiotemporal correlated state data. Extract the navigation target and flight constraint relationship from the task constraint data, and bind the navigation target and flight constraint relationship with the spatiotemporal correlation state data to obtain the task constraint scenario data; Map the environmental state and UAV flight state in the task constraint scenario data to virtual environmental elements and virtual UAV elements, respectively. Based on flight constraints, three-dimensional space is constructed for virtual environmental elements and virtual UAV elements to obtain an initial digital twin scene. Establish the state update relationship between environmental state data, UAV flight state data and virtual elements, and generate a digital twin simulation scene based on the state update relationship.
3. The digital twin UAV autonomous navigation and path planning system in complex environments as described in claim 2, characterized in that, The digital twin scene construction module, when performing 3D spatial construction of virtual environmental elements and virtual UAV elements based on flight constraints to obtain an initial digital twin scene, is specifically used for: A three-dimensional voxel coordinate framework is established based on a unified spatial coordinate datum and the task space range to obtain the voxel index; The location, spatial boundary, and occupancy status of virtual environmental elements are projected onto the voxel index, and the occupancy voxels are marked to obtain the environmental occupancy voxels. Based on the flight status and spatial boundaries of the drone virtual elements, the drone occupancy envelope is generated within the three-dimensional voxel coordinate framework. Based on flight constraints and UAV occupancy envelope, spatial occupancy is verified on environmental occupancy voxels. Voxels that meet the passage conditions are marked as passable states, and voxels that have occupancy conflicts are marked as restricted passable states, thus obtaining a three-dimensional passage state distribution. The environmental voxels, drone occupancy envelope, and 3D traffic status distribution are written into the corresponding spatial locations to obtain the initial digital twin scene.
4. The digital twin UAV autonomous navigation and path planning system in complex environments as described in claim 1, characterized in that, The path disconnection injection module, when performing the process of segmenting the candidate main path into path segments and injecting counterfactual disconnections into the path segments to obtain a virtual disconnection simulation scenario, is specifically used for: Along the flight direction of the candidate main path, the candidate main path is divided into several continuous path segments based on the spatial position change nodes, environmental occupancy status change nodes, and flight status change nodes of the candidate main path. The starting and ending positions of each path segment, the spatial areas it passes through, and the passage status of the corresponding spatial areas are associated and stored to obtain the path segment status information. Based on the path segment status information, select the target path segment to be simulated as failing from the candidate main path, modify the passability status of the target path segment to the impassable status, and generate a local virtual circuit breaker scenario. Based on the spatial connectivity after the target path segment fails, the distribution of passable space in the local virtual circuit breaker scenario is updated to obtain the virtual circuit breaker simulation scenario.
5. The digital twin UAV autonomous navigation and path planning system in complex environments as described in claim 4, characterized in that, The path disconnection injection module, when performing actions based on path segment status information, selecting the target path segment to be simulated as failing from the candidate main paths, modifying the passability of the target path segment to an impassable state, and generating a local virtual disconnection scenario, is specifically used for: Based on the path segment status information, determine the spatial region of each path segment and the connection relationship between adjacent path segments; Select the target path segment to be simulated as failing, and obtain the current traffic status of the corresponding spatial area of the target path segment; Keep the environmental occupancy status of the spatial area corresponding to the target path segment and the passage status of adjacent path segments unchanged, and change the current passage status from passable to impassable. Disconnecting the continuous passage relationship between the target path segment and adjacent path segments based on the candidate main path results in a local virtual road break scenario.
6. The digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments as described in claim 1, characterized in that, The recovery anchor zone deduction module, when executing in a virtual circuit breaker simulation scenario, deduces the forward reachable domain and the reverse connectable domain, respectively, starting from the flight state at the front end of the circuit breaker location and the target state at the end point, to determine the recovery anchor zone. Specifically, it is used for: Obtain the flight status of the front end of the broken section, the destination status, and the candidate main path nodes after the broken section; Based on the UAV state transition relationship, flight constraint relationship and the passage status of the virtual circuit breaker simulation scenario, the forward state extension of the flight state at the front end of the circuit breaker location is performed to obtain the forward reachable domain. Using the ability to continue candidate main path nodes as the condition for retaining the reverse state, the state of the destination target is expanded in reverse to obtain the reverse continuable domain. Anchored state nodes are defined as state nodes whose spatial positions coincide in the forward reachable domain and the reverse connectable domain and whose flight states satisfy the continuous transition conditions. The restored anchorage area is determined based on the spatial connectivity between anchored nodes.
7. The digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments as described in claim 6, characterized in that, The restored anchor zone deduction module is specifically used for: When performing forward and reverse state expansion, it is used to: The flight state at the front end of the circuit break location and the target state at the end point are respectively determined as the initial current state nodes for forward state expansion and reverse state expansion, and the flight control quantities allowed for a single state expansion are determined according to the flight constraint relationship. Based on the flight state and flight control variables of the current state node in the forward state expansion, candidate successor states are generated. Based on the UAV occupancy envelope corresponding to the candidate successor state, query the passage status in the virtual circuit breaker simulation scenario, and eliminate candidate successor states that restrict passage voxels and do not satisfy flight constraint relationships; The retained candidate successor states are used as new current state nodes for iterative expansion to generate the forward reachable domain; Based on the UAV state transition relationship, generate candidate predecessor states of the current state node in the reverse expansion, retain candidate predecessor states that meet the passage conditions and can be transitioned to the current state node, and record the corresponding successor relationship. The retained candidate predecessor states are determined as new current state nodes for iterative expansion, and the successor state chains of each reverse state node are generated according to the successor relationship. The successor state chain corresponding to each reverse state node is matched with the candidate main path after the broken section in terms of spatial location and flight status. If there is a state node in the successor state chain that matches the candidate main path node, the reverse state node corresponding to the successor state chain is retained to generate a reverse continuable domain.
8. The digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments as described in claim 7, characterized in that, The mapping chain establishment module, when executing the generation of recovery paths based on recovery anchor zones and establishing self-recovering path mapping chains between broken sections, recovery anchor zones, and recovery paths, is specifically used for: Extract the anchored state nodes in the restored anchor zone, and determine the successor path nodes that match the candidate main path after the broken section by following the successor state chain of each anchored state node. In the forward reachable domain, with the flight state and anchored state nodes at the front end of the circuit break location as the two ends, search for the forward state node sequence that satisfies the UAV state transition relationship; By tracing the successor relationship from the anchor state node to the successor path node, a sequence of successor state nodes is obtained; The forward state node sequence and the subsequent state node sequence are spliced together according to the flight direction, and the subsequent path node is connected with the candidate main path to obtain the restored path. Configure the identifiers for the broken section, the recovery anchor zone, and the recovery path. Using the broken section identifier as the query index, sequentially associate the recovery anchor zone identifier and the recovery path identifier to obtain the self-recovery path mapping chain.
9. The digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments as described in claim 1, characterized in that, When the failure recovery verification module performs failure recovery simulation verification on candidate main paths based on the self-recovery path mapping chain and selects target navigation schemes, it is specifically used for: Based on each candidate main path, establish a normal flight simulation branch and a failure recovery simulation branch corresponding to each broken section. In the normal flight simulation branch, candidate main paths are executed to verify path traversability and mission constraint compliance; In the failure recovery simulation branch, when the UAV reaches the front end of the circuit break location, the corresponding recovery path is retrieved according to the circuit break segment identifier, and the feasibility of resuming flight, the continuity of flight status, and the compliance with mission constraints are verified. Candidate main paths that have passed verification in different branches are retained. Candidate main paths are selected based on normal flight cost and failure recovery cost. Combined with the corresponding self-recovery path mapping chain, the target navigation scheme is obtained.
10. The digital twin unmanned aerial vehicle (UAV) autonomous navigation and path planning system in complex environments as described in claim 1, characterized in that, The feedback recovery and update module, when executing the output target navigation scheme and receiving flight execution feedback, and retrieving the recovery path and updating the digital twin simulation scenario based on actual failure data, is specifically used for: The target navigation scheme is output to the UAV flight control terminal, and flight execution feedback on UAV flight status and environmental accessibility is received. The flight execution feedback is matched with the path segments in the target navigation scheme to determine the actual failed path segments, failure locations, and failure ranges, thereby obtaining the actual failure data; Based on the identifier of the actual failed path segment, query the self-recovery path mapping chain, retrieve the corresponding recovery path, and output the route switching command; Actual failure data and UAV flight status are written into the digital twin simulation scene to update the access status of spatial locations and the status of virtual UAV elements.
