UAV attitude control method and system for cruising in complex scenes

By establishing sub-path and attitude compensation parameters, the problem of poor attitude control caused by inaccurate UAV target point positioning is solved, and the UAV can fly accurately and efficiently in complex scenes.

CN118151675BActive Publication Date: 2024-09-10NANJING NEW ROUTE UAV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410564273.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-09-10
Estimated Expiration
2044-05-09

AI Technical Summary

Technical Problem

Inaccurate target point positioning of UAVs results in poor attitude control, affecting flight stability and efficiency.

Method used

By establishing sub-paths and utilizing the communication between the processing server and the position sensor, gyroscope, and acceleration sensor to perform task decomposition, path optimization, and attitude compensation parameter generation, precise attitude control of the UAV is achieved.

Benefits of technology

It improves the accuracy and efficiency of UAV attitude control, ensuring that tasks can be completed stably and accurately in complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118151675B
    Figure CN118151675B
Patent Text Reader

Abstract

The present invention discloses a method and system for controlling the attitude of a UAV for cruising in complex scenes, and relates to the field related to intelligent control. The method comprises: performing path optimization, establishing a calibrated cruise track to generate timing control parameters, performing UAV operation control to feedback real-time position track, setting track deviation limits in conventional areas to perform offset correction of real-time position track and calibrated cruise track to generate updated position track, performing approximate ladder optimization of track to establish track compensation parameters to generate predicted approach time, generating attitude compensation parameters according to real-time attitude, predicted approach time and attitude requirements of mission key points, and controlling the attitude of UAV through track compensation parameters and attitude compensation parameters. The technical problem of poor attitude control of UAV due to inaccurate positioning of target point of UAV is solved, and the technical effect of accurately determining the target point of UAV and improving attitude control efficiency is achieved by establishing sub-paths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control, and in particular to a method and system for controlling the attitude of an unmanned aerial vehicle (UAV) for cruising in complex scenarios. Background Art

[0002] With the continuous development of UAV technology, the application fields of UAV are becoming more and more extensive. The motion stability and attitude control of UAV are the core issues in UAV flight. UAV refers to an unmanned machine that can realize autonomous flight. It can complete the detection and survey tasks in areas that humans cannot reach. In the process of UAV flight, its attitude control is a very important part. It can control the UAV to maintain the same attitude or change the attitude to achieve the stable flight of the UAV. At present, due to the inaccurate positioning of the target point of the UAV, the UAV has the technical problem of poor attitude control. Summary of the invention

[0003] This application solves the technical problem of poor attitude control of the drone due to inaccurate positioning of the drone's target point by providing a drone attitude control method and system for complex scene cruising, and achieves the technical effect of accurately determining the drone's target point and improving attitude control efficiency by establishing sub-paths.

[0004] The present application provides a method for controlling the attitude of a drone for cruising in complex scenes. The method is applied to a drone attitude control system. The system includes a processing server, and the processing server is in communication connection with a position sensor, a gyroscope, and an acceleration sensor provided on the drone. The method includes: reading the flight mission of the drone through the processing server, performing task decomposition of the flight mission, and establishing mission key points;

[0005] Establishing scene space characteristics of the mission scene, and based on the flight mission and the scene space characteristics, performing path optimization, establishing a calibrated cruise track according to the path optimization result, and generating timing control parameters mapped with the calibrated cruise track;

[0006] Execute the UAV operation control with the timing control parameters, and feedback the real-time position trajectory through the position sensor;

[0007] Setting a track deviation limit for a conventional area, performing offset correction of a real-time position track and a calibrated cruise track by using the track deviation limit, and generating an updated position track;

[0008] When the updated position trajectory and the mission key points meet the preset trigger conditions, the trajectory approximation ladder optimization is performed, the trajectory compensation parameters are established, and the predicted approach time is generated;

[0009] Acquire feedback information from the gyroscope and accelerometer at a timing node when a preset trigger condition is triggered, establish the real-time attitude of the drone, and generate attitude compensation parameters according to the real-time attitude, predicted approach time, and attitude requirements of mission key points;

[0010] The UAV attitude control is performed by using the trajectory compensation parameters and the attitude compensation parameters.

[0011] In a possible implementation, the attitude compensation parameters are generated according to the real-time attitude, the predicted approach time and the attitude requirements of the mission key points, and the following processing is performed: a digital twin model of the UAV is established, and an attitude wind force confrontation test is performed with the digital twin model, and an attitude confrontation parameter matching network is established according to the test results;

[0012] Performing time segmentation on the predicted approaching time to establish an approaching step time set, wherein the approaching step time set has a speed identifier mapped thereto;

[0013] Acquire the real-time monitored wind force of the UAV, use the real-time monitored wind force, real-time speed and speed identifier to perform wind force conversion within the approximate step time set, and simultaneously generate a time attitude fitting result corresponding to the approximate step time set;

[0014] The wind force conversion result and the time attitude fitting result are input into the attitude confrontation parameter matching network to generate attitude confrontation parameters corresponding to the approximation step time set;

[0015] The posture compensation parameters are generated according to the time posture fitting results and the posture adversarial parameters.

[0016] In a possible implementation, a time posture fitting result corresponding to an approximation step time set is synchronously generated, and the following processing is performed: an approximation posture stage is divided based on the approximation step time set to establish a large step stage, a stable step stage, and a fine-tuning stage;

[0017] By real-time monitoring of the attitude adjustment ratios in the large-step phase, the stable-step phase and the fine-tuning phase of wind power distribution, attitude fitting of time points within the phase is performed according to the distribution results to generate time attitude fitting results.

[0018] In a possible implementation, the attitude compensation parameter is generated according to the time attitude fitting result and the attitude confrontation parameter, and the following processing is performed: the attitude adjustment fitting of the UAV in the calibration environment is performed using the digital twin model to establish the attitude adjustment parameter mapping in the calibration environment;

[0019] Perform parameter matching through the time posture fitting result and posture adjustment parameter mapping to generate a parameter matching result;

[0020] A posture compensation parameter is generated based on the parameter matching result and the posture confrontation parameter.

[0021] In a possible implementation, the following processing is performed: establishing a verification node with the predicted approximate time;

[0022] Performing real-time status detection of the UAV at the verification node and performing control deviation verification with the verification node;

[0023] The control is updated based on the control deviation verification result, and the attitude control of the UAV is continued according to the control update result.

[0024] In a possible implementation, the control update based on the control deviation verification result is performed by performing the following processing: determining whether the control deviation verification result meets a preset deviation threshold;

[0025] When the control deviation verification result meets the preset deviation threshold, a maintenance verification instruction is generated;

[0026] After performing a control self-check of the drone according to the hold check instruction, the control update is completed again.

[0027] In a possible implementation, the following processing is performed: when any mission key point completes the mission loop, a correction feedback is generated based on the attitude control of the UAV during the mission execution;

[0028] The timing control parameters are adjusted according to the correction feedback, and the attitude control of the UAV for subsequent tasks is performed according to the adjusted timing control parameters.

[0029] The present application also provides a UAV attitude control system for cruising in complex scenarios, comprising: a task decomposition module, the task decomposition module is used to read the flight mission of the UAV through the processing server, and perform task decomposition of the flight mission to establish mission key points;

[0030] A first optimization module, the first optimization module is used to establish a scene space feature of a mission scene, and based on the flight mission and the scene space feature, perform path optimization, establish a calibrated cruise track according to the path optimization result, and generate a timing control parameter mapped with the calibrated cruise track;

[0031] An operation control module, the operation control module is used to perform the operation control of the UAV with the timing control parameters and to feed back the real-time position trajectory through the position sensor;

[0032] An offset correction module, the offset correction module is used to set a track deviation limit in a conventional area, perform offset correction on a real-time position track and a calibrated cruise track through the track deviation limit, and generate an updated position track;

[0033] A second optimization module, wherein the second optimization module is used to perform an approximate step optimization of the trajectory, establish a trajectory compensation parameter, and generate a predicted approach time when the updated position trajectory and the mission key point meet a preset trigger condition;

[0034] A first compensation module, the first compensation module is used to obtain feedback information from the gyroscope and the acceleration sensor at a timing node when a preset trigger condition is triggered, establish a real-time attitude of the drone, and generate attitude compensation parameters according to the real-time attitude, the predicted approach time, and the attitude requirements of the mission key points;

[0035] A first control module, wherein the first control module is used to perform attitude control of the UAV through the trajectory compensation parameters and the attitude compensation parameters.

[0036] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0037] The UAV attitude control method and system for complex scene cruising provided in the present application relate to the field of intelligent control technology, solve the technical problem of poor attitude control of the UAV due to inaccurate positioning of the target point of the UAV, and achieve the technical effect of accurately determining the target point of the UAV and improving the attitude control efficiency by establishing sub-paths. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the accompanying drawings of the embodiment of the present invention will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.

[0039] Figure 1 A flow chart of a method for controlling the attitude of a UAV in complex scene cruising provided in an embodiment of the present application.

[0040] Figure 2 A schematic diagram of the structure of a UAV attitude control system for cruising in complex scenarios provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0043] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.

[0044] The embodiment of the present application provides a method for controlling the attitude of a drone for cruising in complex scenes. The method is applied to a drone attitude control system. The system includes a processing server, which is connected to a position sensor, a gyroscope, and an acceleration sensor provided on the drone. Figure 1 As shown, the method includes:

[0045] Step A100, read the flight mission of the drone through the processing server, perform task decomposition of the flight mission, and establish mission key points; receive the flight mission from the drone or the mission management system through the network connection, and the flight mission may include detailed information such as flight route, altitude, speed, shooting requirements, etc., and further split the complex flight mission into a series of simple and executable subtasks, and the flight mission may be decomposed into detailed steps including determining take-off and landing points, planning flight paths, setting shooting points, or performing specific tasks such as search, reconnaissance, etc. For example, when the drone is performing electric cruising, there are some areas that are not particularly important, but when the drone finally reaches the target power component position, the drone needs to be accurately positioned and correctly positioned, so it is necessary to determine the mission key points in the flight mission, and then determine the mission key points in the flight mission according to important moments or positions in the execution of the flight mission, such as take-off, arrival at a specific shooting point, execution of a specific action or return, etc., and each mission key point contains detailed information, such as position coordinates, timestamps, execution instructions, etc., to ensure that the drone can complete the mission accurately and efficiently.

[0046] Execute step A200 to establish scene space characteristics of the mission scene, and perform path optimization based on the flight mission and the scene space characteristics, and establish a calibrated cruise track according to the path optimization result, and generate a timing control parameter mapped with the calibrated cruise track;

[0047] Based on the mission scenario of the UAV's mission, data such as terrain, obstacle distribution, and meteorological conditions are collected, and the collected scene data is processed and analyzed to extract spatial features that have an important impact on the flight mission, including altitude restrictions, flight restricted areas, and potential danger areas. Based on the extracted spatial features, the scene spatial features of the mission scenario are established, and the flight path optimization operation of the UAV is further performed based on the flight mission and scene spatial features obtained above. This means that the flight mission is first analyzed for requirements including mission objectives, flight time, flight altitude, speed requirements, etc., and the UAV path optimization calculation is performed based on the mission requirements and scene spatial features through path optimization algorithms such as genetic algorithms and particle swarm optimization algorithms to generate a path The optimal path obtained by the optimization is then smoothed, that is, the possible mutation points or sharp corners in the path optimization result are eliminated to make the track smoother and reduce the maneuvering burden of the UAV. The smoothed track is calibrated to determine the position, altitude, speed and other parameters of each waypoint, and the establishment of the calibrated cruise track is completed. Further, according to the calibrated cruise track, the UAV flight sequence including the take-off time, the time to arrive at each waypoint, the task execution time, etc. is planned. Based on the timing planning, the timing control parameters mapped with the calibrated cruise track are generated. The timing control parameters can include the acceleration, deceleration, turning radius, etc. of the UAV, which are used to guide how the UAV adjusts its state during flight to meet the track requirements.

[0048] Execute step A300 to execute the UAV operation control with the timing control parameters, and feedback the real-time position trajectory through the position sensor;

[0049] The operation of the UAV is controlled according to the timing control parameters. When the UAV receives the timing control parameters, it starts to adjust the speed, altitude, heading, etc. of the UAV in real time according to the instructions in the timing control parameters to perform flight operations, so that it can accurately reach the predetermined waypoint and perform corresponding tasks. At the same time, the position sensors carried on the UAV, such as GPS, RTK, etc., can obtain the position information of the UAV in real time. The position data obtained by the position sensor can be processed by the data processing unit of the UAV, and then transmitted to the ground station or processing server in real time through the communication system of the UAV. After the ground station or processing server receives the real-time position data of the UAV, it can view the flight trajectory, speed, altitude and other information of the UAV in real time, thereby obtaining the real-time position trajectory fed back by the UAV, thereby achieving the technical effect of monitoring and managing the real-time flight position status of the UAV.

[0050] Execute step A400 to set a track deviation limit for a conventional area, perform offset correction of a real-time position track and a calibrated cruise track according to the track deviation limit, and generate an updated position track;

[0051] First, according to the requirements of the flight mission and the spatial characteristics of the scene, the conventional area for the UAV flight is determined. The conventional area for the UAV flight refers to the key area where the UAV frequently flies or performs tasks. For each conventional area, the trajectory deviation threshold is set according to the performance of the UAV, the accuracy requirements of the flight mission, and environmental factors such as wind force and airflow, so as to complete the setting of the trajectory deviation limit of the conventional area. By calculating the position difference between the real-time position trajectory and the calibrated cruise track at the same time point, the offset between the real-time position trajectory and the calibrated cruise track is completed, so as to determine the actual offset of the UAV during the flight. Then, according to the trajectory deviation threshold set above, the calculated offset is determined. If the offset exceeds the trajectory deviation threshold, it is determined that the UAV has deviated from the trajectory and needs to be corrected. If the offset is within the range of the trajectory deviation threshold, it is determined that the UAV is flying normally and no correction is required. According to the result of the offset determination, the flight state of the UAV is adjusted by parameters such as flight speed, direction, and altitude. Finally, according to the corrected flight state, an updated position trajectory is generated, which can ensure that the UAV can stably and accurately fly according to the predetermined track during the flight process, thereby improving the execution efficiency and accuracy of the flight mission.

[0052] Next, step A500 is executed. When the updated position trajectory and the mission key point meet the preset trigger condition, the trajectory approximation ladder optimization is performed, the trajectory compensation parameters are established, and the predicted approach time is generated;

[0053] The updated position trajectory is compared with the key points of the mission. First, based on the distance, speed, time and other parameters between the UAV and the key points, it is determined whether the updated position trajectory and the key points of the mission meet the preset trigger conditions. According to the mission requirements and the performance of the UAV, the approximate ladder optimization of the execution trajectory means that the trajectory of the UAV is approximated by a step-by-step approach, and the flight parameters of the UAV such as speed, direction, altitude, etc. are continuously adjusted to find an optimal or suboptimal trajectory, so that the UAV can reach the key points of the mission more efficiently.

[0054] Further, according to the step optimization results, the deviations existing in the process of the UAV approaching the key points of the mission are analyzed, and the trajectory compensation parameters are calculated based on the analysis results. The trajectory compensation parameters may include trajectory compensation data such as adjusting the flight speed of the UAV, changing the flight direction, adding climbing or descending altitude, etc. The established trajectory compensation parameters are used to simulate the flight process of the UAV and calculate its position at different time points to predict the flight trajectory of the UAV. According to the predicted trajectory, the predicted time for the UAV to reach the key points of the mission is calculated and recorded as the predicted approach time, which can enable the UAV to reach the key points of the mission more efficiently and improve the accuracy and efficiency of task execution.

[0055] Execute step A600, obtain feedback information from the gyroscope and the accelerometer at the timing node where the preset trigger condition is triggered, establish the real-time attitude of the UAV, and generate attitude compensation parameters according to the real-time attitude, the predicted approach time and the attitude requirements of the mission key points; obtain the real-time angular velocity data of the UAV through the gyroscope and the real-time acceleration data of the UAV through the accelerometer based on the timing node where the preset trigger condition is triggered, fuse the data of the gyroscope and the accelerometer through filtering and calibration of the sensor data to eliminate noise and errors and improve the accuracy of attitude estimation; based on the fused data, the real-time attitude of the UAV can be calculated using attitude algorithms such as the quaternion method and the Euler angle method, including the real-time attitude of the UAV such as the pitch angle, yaw angle and roll angle.

[0056] In a possible implementation, step A600 further includes step A610, establishing a digital twin model of the drone, performing an attitude wind resistance test using the digital twin model, and establishing an attitude resistance parameter matching network according to the test results;

[0057] First, according to the size, weight, power system, flight control system, sensor configuration, etc. of the drone, a digital twin model of the drone is constructed to simulate the flight dynamics, aerodynamic characteristics, and sensor and flight control system behaviors of the drone. The accuracy of the digital twin model is verified by comparing it with the flight data of the actual drone. Since the speed can be converted into wind force, only the relationship between wind force and attitude needs to be considered. Then, in the digital twin model, different wind environments are simulated, including different wind speeds, wind directions, and wind shear, and the attitude of the drone is adjusted in the simulated wind environment to counteract the influence of wind force. At the same time, the test data such as the attitude change, flight parameters, and sensor data of the drone are recorded, and features related to attitude confrontation are extracted from the test data, such as wind speed, wind direction, and drone attitude change. On this basis, the matching relationship between the attitude confrontation parameters and the drone flight parameters is established through the optimization algorithm, and the attitude confrontation parameter matching network is constructed according to the matching relationship. The attitude confrontation parameter matching network is a network that can automatically adjust the attitude confrontation parameters of the drone according to the real-time wind data and the flight status of the drone.

[0058] Execute step A620 to time-segment the predicted approaching time and establish an approaching step time set, wherein the approaching step time set has a speed identifier mapped thereto;

[0059] According to the current position, speed, attitude of the UAV and the position and required attitude of the target point, the total time from the current moment to the expected arrival of the UAV at the mission key point is calculated, and it is recorded as the UAV predicted approach time. The predicted approach time is further divided into several time segments of unequal length according to the needs, and each time segment represents a stage in the UAV flight process. Then the divided time segments are combined into an approximation step time set, and each time segment has a corresponding position in the approximation step time set, indicating a specific time point in the UAV flight process. According to the flight mission, flight environment and real-time attitude of the UAV, a speed value is planned for each time segment. The corresponding planned speed value needs to ensure that the UAV can smoothly and safely reach the mission key point and meet the attitude requirements when arriving. Finally, the planned speed value is mapped to each time segment in the approximation step time set, so that the approximation step time set has a speed identifier mapped to it.

[0060] Execute step A630 to obtain the real-time monitored wind force of the UAV, use the real-time monitored wind force, real-time speed and speed identifier to perform wind force conversion within the approximate step time set, and simultaneously generate a time attitude fitting result corresponding to the approximate step time set;

[0061] The wind data such as the real-time wind force size and wind direction angle around the UAV are collected to obtain the real-time monitored wind force of the UAV, and the real-time monitored wind force is correlated with the real-time speed of the UAV to obtain the influence of the current wind force on the flight speed of the UAV, and the real-time speed is compared with the speed mark in the approaching step time set to determine the current flight stage of the UAV and the expected flight speed. Furthermore, based on the real-time monitored wind force, real-time speed and speed mark, the influence of wind force on the flight trajectory and attitude of the UAV is calculated, and the corresponding wind force conversion calculation is performed in the approaching step time set. According to the wind force conversion calculation results, the influence of wind force on the UAV in the approaching step time set, including the extension of the UAV's flight time and the deviation of the flight path, is evaluated. According to the wind force impact assessment results, the approaching step time set is adjusted as necessary to reflect the influence of wind force on the flight process.

[0062] In one possible implementation, step A630 further includes step A631, dividing the approximation attitude stage based on the approximation step time set, establishing a large step stage, a stable step stage and a fine-tuning stage; executing step A632, through the real-time monitoring of the attitude adjustment ratios of the large step stage, the stable step stage and the fine-tuning stage of wind power distribution, performing attitude fitting at the time points within the stage according to the allocation results, and generating a time attitude fitting result.

[0063] According to the approach step time set, the approach attitude process of the UAV is divided into three main stages: large step stage, stable step stage and fine-tuning stage. The large step stage mainly focuses on the process of the UAV quickly approaching the mission key point from the current position, and the attitude adjustment range of the UAV is large in the large step stage to quickly reduce the distance to the target point. When the UAV approaches the mission key point, it enters the stable step stage. The main goal of the stable step stage is to maintain the stable flight of the UAV, while continuing to adjust the attitude to prepare for the fine-tuning stage. When the UAV is about to reach the mission key point, it enters the fine-tuning stage. The fine-tuning stage requires fine adjustment of the UAV's attitude to ensure that the UAV can reach the mission key point with a precise attitude.

[0064] Furthermore, based on the real-time monitored wind data, the attitude adjustment ratio of each stage can be dynamically adjusted, which means using real-time data such as wind speed and wind direction to evaluate the specific impact of wind on the flight attitude of the UAV, including possible offsets and attitude changes, and dynamically adjust the attitude adjustment ratios of the large step stage, stable step stage and fine-tuning stage according to the wind impact assessment results. For example, if the current wind force is small, which is a general normal situation, the large step stage needs to adjust a larger attitude angle. If the wind force is large, the large step stage needs to be slightly reduced, and the attitude length of the stable step stage and the fine-tuning stage needs to be appropriately increased. Although the stable step stage and the fine-tuning stage are in an increasing state, the large step stage is still the state with the largest adjustment.

[0065] After determining the attitude adjustment ratio of each stage, the next step is to perform attitude fitting at the time points within the stage. The real-time attitude data of the UAV in each stage, namely the pitch angle, yaw angle, roll angle, etc. of the UAV, are collected. The attitude fitting algorithm is used to perform attitude fitting on the collected real-time attitude data to generate the corresponding attitude curve. Finally, the fitted attitude curve is combined with the time axis to generate the time attitude fitting result.

[0066] Execute step A640, input the wind force conversion result and the time attitude fitting result into the attitude confrontation parameter matching network, and generate the attitude confrontation parameter corresponding to the approximate step time set;

[0067] Before inputting the wind conversion results and time attitude fitting results into the attitude adversarial parameter matching network, the wind conversion results obtained after the real-time monitoring wind force is converted are formatted to extract key wind parameters such as wind speed and wind direction changes. Then, key information such as the attitude prediction values ​​at different time points in the time attitude fitting results and the trend of attitude changes are extracted to match the network input requirements.

[0068] The processed wind conversion results and time attitude fitting results are further passed as input data to the attitude confrontation parameter matching network. The attitude confrontation parameter matching network generates attitude confrontation parameters corresponding to the approximate step time set based on the input data through internal calculation and processing. The attitude confrontation parameters may include the attitude adjustment strategies that the UAV should adopt at different time points and different flight stages to counter the influence of wind. The generated attitude confrontation parameters are applied to the flight control system of the UAV to guide the UAV to adjust its attitude during actual flight to cope with wind interference.

[0069] Execute step A650 to generate posture compensation parameters according to the time posture fitting result and the posture confrontation parameter.

[0070] In one possible implementation, step A650 further includes step A651, using the digital twin model to perform attitude adjustment fitting of the UAV in a calibration environment, and establishing an attitude adjustment parameter mapping in the calibration environment; executing step A652, performing parameter matching through the time attitude fitting result and the attitude adjustment parameter mapping, and generating a parameter matching result; executing step A653, generating attitude compensation parameters based on the parameter matching result and the attitude confrontation parameter.

[0071] Firstly, an environment with wind speed, wind direction, temperature, air pressure and other parameters that are as close as possible to the actual flight of the UAV is set in the digital twin model, and it is recorded as the calibration environment. Under the calibration environment, the digital twin model is simulated for multiple times, and the attitude change data under different flight conditions are recorded. By analyzing the attitude change data, the attitude adjustment law of the UAV in the calibration environment is fitted, and the attitude adjustment parameter mapping is established.

[0072] Furthermore, according to the extracted time attitude fitting results and the attitude adjustment parameter mapping established in the calibration environment, parameter matching is performed to obtain the attitude adjustment parameters closest to the actual flight situation. The attitude confrontation parameters generated above are integrated with the parameter matching results to obtain a more comprehensive attitude adjustment strategy. The attitude confrontation parameters are parameters for attitude adjustment based on environmental factors such as real-time wind force, and the parameter matching results are based on the simulation results of the digital twin model in the calibration environment. Then, based on the integrated attitude confrontation parameters and parameter matching results, the final attitude compensation parameters are generated. The attitude compensation parameters are used to guide the UAV to adjust its attitude during actual flight to compensate for the impact of environmental factors on the flight attitude.

[0073] Finally, step A700 is executed to perform attitude control of the UAV using the trajectory compensation parameters and the attitude compensation parameters.

[0074] In a possible implementation, step A700 further includes step A710, establishing a verification node with the predicted approach time; executing step A720, performing real-time state detection of the UAV at the verification node, and performing control deviation verification with the verification node; determining the predicted approach time of the UAV based on the previous attitude adjustment fitting, time attitude fitting and wind conversion results, the predicted approach time of the UAV is a set of time points when the UAV is expected to reach the key points of the mission, and then selecting a series of key time points as verification nodes within the predicted approach time, performing real-time state detection on the UAV at the verification node, and obtaining the current position and attitude information of the UAV in real time through the positioning system and attitude sensor of the UAV, and obtaining the information of the surrounding environment in real time using the environmental perception device of the UAV, including obstacles, other aircraft and weather conditions, and then performing control deviation verification, and comparing the actual flight trajectory of the UAV with the expected approach trajectory to analyze whether there is a deviation, and evaluating the flight risk of the UAV according to the results of real-time state detection and control deviation verification. If potential risks or abnormal situations are found, timely warnings are issued and corresponding countermeasures are taken.

[0075] Execute step A730, perform control update based on the control deviation verification result, and continue the attitude control of the UAV according to the control update result. In a possible implementation, step A730 further includes step A731, determining whether the control deviation verification result meets the preset deviation threshold; executing step A732, when the control deviation verification result meets the preset deviation threshold, generating a maintenance check instruction; executing step A733, after performing a control self-check of the UAV according to the maintenance check instruction, re-complete the control update.

[0076] According to the results of the control deviation verification, the flight speed of the UAV is adjusted, the flight altitude of the UAV is changed, the attitude angle of the UAV is corrected, etc., to complete the update of the UAV control strategy, and the updated control strategy is applied to continue to control the attitude of the UAV, and to judge in real time whether the result of the control deviation verification meets the preset deviation threshold. The preset deviation threshold is pre-set based on factors such as the performance, mission requirements and safety standards of the UAV, and is used to judge whether the control deviation is within an acceptable range. Then, when the control deviation verification result meets the preset deviation threshold, that is, the control deviation exceeds the acceptable range, the system will generate a hold check instruction. The hold check instruction is used to suspend the current flight mission and perform necessary inspections and adjustments to ensure the safety and stability of the flight. Further, according to the hold check instruction, the UAV executes the control self-check procedure, which refers to a comprehensive inspection of the flight control system, sensors, power system, etc., and diagnoses the specific problem based on the self-check results, and performs corresponding repairs or adjustments. Based on the repaired system status and new environmental conditions, the control is re-updated to further improve the flight performance and stability of the UAV.

[0077] In one possible implementation, step A700 further includes step A740, when any mission key point completes the task loop, generating correction feedback based on the UAV attitude control during the task execution; executing step A750, adjusting the timing control parameters according to the correction feedback, and executing the UAV attitude control of subsequent tasks according to the adjusted timing control parameters.

[0078] First, the key points of the UAV flight mission are confirmed in a closed loop. A closed loop means that the UAV's mission has been completed according to the preset requirements, and the relevant data and status have been correctly recorded and fed back. When the UAV completes any key point of the mission during the flight, such as target positioning, data collection, item delivery, etc., the system first confirms whether the mission point is successfully closed. During the mission execution, the system continuously collects key parameters such as the UAV's attitude angle, angular velocity, acceleration, etc., obtains the actual flight status of the UAV, and generates attitude control data. Based on the collected attitude control data, the system generates correction feedback. The correction feedback is an analysis of the difference between the actual flight status and the expected status, as well as correction suggestions for these differences.

[0079] Furthermore, according to the correction feedback, the system evaluates the current timing control parameters, namely the flight speed, attitude adjustment rate, trajectory planning, etc., and formulates specific adjustment strategies based on the parameter evaluation. The formulated adjustment strategies include increasing or decreasing the flight speed, adjusting the rate of change of the attitude angle, optimizing the trajectory planning algorithm, etc. According to the formulated adjustment strategies, the timing control parameters are actually adjusted at the same time. During the subsequent task execution, the system will continue to monitor the flight status of the UAV and adjust the timing control parameters in real time according to the actual situation, so that the UAV can maintain a stable flight attitude and efficient task execution capabilities in various complex environments.

[0080] The embodiment of the present application solves the technical problem of poor attitude control of the drone due to inaccurate positioning of the drone's target point, and achieves the technical effect of accurately determining the drone's target point and improving attitude control efficiency by establishing sub-paths.

[0081] In the above, refer to Figure 1 The following describes in detail the attitude control method of a drone for cruising in complex scenes according to an embodiment of the present invention. Figure 2 The present invention describes an unmanned aerial vehicle attitude control system for cruising in complex scenarios according to an embodiment of the present invention.

[0082] The attitude control system of a drone for cruising in complex scenes according to an embodiment of the present invention is used to solve the technical problem of poor attitude control of the drone due to inaccurate positioning of the target point of the drone, and achieves the technical effect of accurately determining the target point of the drone and improving the efficiency of attitude control by establishing a sub-path. The attitude control system of a drone for cruising in complex scenes includes: a task decomposition module 10, a first optimization module 20, an operation control module 30, an offset correction module 40, a second optimization module 50, a first compensation module 60, and a first control module 70.

[0083] A task decomposition module 10, the task decomposition module 10 is used to read the flight mission of the UAV through the processing server, and perform task decomposition of the flight mission to establish mission key points;

[0084] A first optimization module 20, the first optimization module 20 is used to establish a scene space feature of a mission scene, and based on the flight mission and the scene space feature, perform path optimization, establish a calibrated cruise track according to the path optimization result, and generate a timing control parameter mapped with the calibrated cruise track;

[0085] An operation control module 30, the operation control module 30 is used to perform the operation control of the UAV with the timing control parameters and to feed back the real-time position trajectory through the position sensor;

[0086] An offset correction module 40, the offset correction module 40 is used to set a track deviation limit in a conventional area, and to perform offset correction of a real-time position track and a calibrated cruise track through the track deviation limit to generate an updated position track;

[0087] The second optimization module 50 is used to perform approximate ladder optimization of the trajectory, establish trajectory compensation parameters, and generate a predicted approach time when the updated position trajectory and the mission key point meet the preset trigger condition;

[0088] A first compensation module 60, which is used to obtain feedback information from the gyroscope and the acceleration sensor at a timing node when a preset trigger condition is triggered, establish a real-time attitude of the drone, and generate attitude compensation parameters according to the real-time attitude, the predicted approach time, and the attitude requirements of the mission key points;

[0089] The first control module 70 is used to perform attitude control of the UAV through the trajectory compensation parameters and the attitude compensation parameters.

[0090] The specific configuration of the first compensation module 60 will be described in detail below. As described above, the attitude compensation parameters are generated according to the real-time attitude, predicted approach time and the attitude requirements of the mission key points. The first compensation module 60 may further include: a first test unit is used to establish a digital twin model of the drone, and perform an attitude wind force confrontation test with the digital twin model, and establish an attitude confrontation parameter matching network according to the test results; a time division unit is used to perform time division on the predicted approach time, and establish an approximation step time set, wherein the approximation step time set has a speed identifier mapped thereto; a wind force conversion unit is used to obtain the real-time monitored wind force of the drone, and perform wind force conversion within the approximation step time set with the real-time monitored wind force, real-time speed and speed identifier, and synchronously generate a time attitude fitting result corresponding to the approximation step time set; a first input unit is used to input the wind force conversion result and the time attitude fitting result into the attitude confrontation parameter matching network, and generate attitude confrontation parameters corresponding to the approximation step time set; a second compensation unit is used to generate attitude compensation parameters according to the time attitude fitting result and the attitude confrontation parameter.

[0091] The specific configuration of the wind power conversion unit will be described in detail below. As described above, the time attitude fitting result corresponding to the approximation step time set is synchronously generated, and the wind power conversion unit may further include: a stage division unit for performing the approximation attitude stage division based on the approximation step time set, establishing a large step stage, a stable step stage and a fine-tuning stage; a ratio adjustment unit for allocating the attitude adjustment ratio of the large step stage, the stable step stage and the fine-tuning stage through the real-time monitoring of the wind power, performing the attitude fitting of the time point within the stage according to the allocation result, and generating the time attitude fitting result.

[0092] The specific configuration of the second compensation unit will be described in detail below. As described above, the attitude compensation parameters are generated according to the time attitude fitting results and the attitude confrontation parameters, and the second compensation unit may further include: an adjustment fitting unit for performing attitude adjustment fitting of the UAV in a calibration environment with the digital twin model, and establishing an attitude adjustment parameter mapping in the calibration environment; a parameter matching unit for performing parameter matching through the time attitude fitting results and the attitude adjustment parameter mapping, and generating a parameter matching result; a third compensation unit for generating attitude compensation parameters based on the parameter matching results and the attitude confrontation parameters.

[0093] The specific configuration of the first control module 70 will be described in detail below. As described above, the first control module 70 may further include: a node establishment unit for establishing a verification node with the predicted approach time; a state detection unit for performing real-time state detection of the UAV at the verification node and performing control deviation verification with the verification node; a second control unit for performing control update based on the control deviation verification result and continuing the attitude control of the UAV according to the control update result.

[0094] The specific configuration of the second control unit will be described in detail below. As described above, the control update is performed based on the control deviation verification result, and the second control unit may further include: a first judgment unit for judging whether the control deviation verification result meets the preset deviation threshold; a second judgment unit for generating a maintenance check instruction when the control deviation verification result meets the preset deviation threshold; and a control update unit for performing a control self-check of the drone according to the maintenance check instruction and then completing the control update again.

[0095] The specific configuration of the first control module 70 will be described in detail below. As described above, the first control module 70 may further include: a correction feedback unit for generating correction feedback based on the attitude control of the UAV during the task execution after any key point of the task completes the task loop; a third control unit for adjusting the timing control parameters according to the correction feedback, and performing the attitude control of the UAV of the subsequent task according to the adjusted timing control parameters.

[0096] The UAV attitude control system for complex scene cruising provided by the embodiment of the present invention can execute the UAV attitude control method for complex scene cruising provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0097] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0098] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for controlling the attitude of a drone for cruising in complex scenes, the method being applied to a drone attitude control system, the system comprising a processing server, the processing server being communicatively connected to a position sensor, a gyroscope, and an acceleration sensor arranged on the drone, characterized in that: The method comprises: The processing server reads the flight mission of the drone, performs task decomposition of the flight mission, and establishes mission key points; Establishing scene space characteristics of the mission scene, and based on the flight mission and the scene space characteristics, performing path optimization, establishing a calibrated cruise track according to the path optimization result, and generating timing control parameters mapped with the calibrated cruise track; Execute the UAV operation control with the timing control parameters, and feedback the real-time position trajectory through the position sensor; Setting a track deviation limit for a conventional area, performing offset correction of a real-time position track and a calibrated cruise track by using the track deviation limit, and generating an updated position track; When the updated position trajectory and the mission key point meet the preset trigger conditions, the approximate ladder optimization of the trajectory is performed, the trajectory compensation parameters are established, and the predicted approach time is generated. Specifically, based on the distance, speed, and time parameters of the UAV from the key point, it is judged whether the updated position trajectory and the mission key point meet the preset trigger conditions. According to the task requirements and the performance of the UAV, the approximate ladder optimization of the trajectory is performed, and the trajectory of the UAV is approximated. The flight parameters of the UAV are continuously adjusted to find an optimal or suboptimal trajectory so that the UAV can reach the mission key point more efficiently; according to the ladder optimization results, the deviation of the UAV in the process of approaching the mission key point is analyzed, and the trajectory compensation parameters are calculated based on the analysis results. The trajectory compensation parameters include compensation data for adjusting the flight speed of the UAV, changing the flight direction, and adding climbing or descending height. The established trajectory compensation parameters are used to simulate the flight process of the UAV and calculate the positions at different time points to predict the flight trajectory of the UAV. According to the predicted trajectory, the predicted time for the UAV to reach the mission key point is calculated and recorded as the predicted approach time; Acquire feedback information from the gyroscope and accelerometer at a timing node when a preset trigger condition is triggered, establish the real-time attitude of the drone, and generate attitude compensation parameters according to the real-time attitude, predicted approach time, and attitude requirements of mission key points; Performing attitude control of the UAV by using the trajectory compensation parameters and the attitude compensation parameters; Generating the posture compensation parameters according to the real-time posture, the predicted approach time and the posture requirements of the mission key points includes: Establishing a digital twin model of the UAV, and performing an attitude wind force confrontation test using the digital twin model, and establishing an attitude confrontation parameter matching network according to the test results; Performing time segmentation on the predicted approaching time to establish an approaching step time set, wherein the approaching step time set has a speed identifier mapped thereto; Acquire the real-time monitored wind force of the UAV, use the real-time monitored wind force, real-time speed and speed identifier to perform wind force conversion within the approximate step time set, and synchronously generate a time attitude fitting result corresponding to the approximate step time set; The wind force conversion result and the time attitude fitting result are input into the attitude confrontation parameter matching network to generate attitude confrontation parameters corresponding to the approximate step time set; Generate posture compensation parameters according to the time posture fitting results and posture adversarial parameters; The method further comprises: Establishing a verification node with the predicted approximate time; Performing real-time status detection of the UAV at the verification node and performing control deviation verification with the verification node; The control is updated based on the control deviation verification result, and the attitude control of the UAV is continued according to the control update result.

2. The method according to claim 1, characterized in that Synchronously generate the time attitude fitting results corresponding to the approximation step time set, including: Based on the approximation step time set, the approximation posture stage is divided to establish a large step stage, a stable step stage and a fine-tuning stage; By real-time monitoring of the attitude adjustment ratios in the large-step phase, the stable-step phase and the fine-tuning phase of wind power distribution, attitude fitting of time points within the phase is performed according to the distribution results to generate time attitude fitting results.

3. The method according to claim 1, characterized in that The generating of the posture compensation parameters according to the time posture fitting result and the posture confrontation parameter includes: Using the digital twin model to perform attitude adjustment fitting of the UAV in a calibration environment, and establishing attitude adjustment parameter mapping in the calibration environment; Perform parameter matching through the time posture fitting result and posture adjustment parameter mapping to generate a parameter matching result; A posture compensation parameter is generated based on the parameter matching result and the posture confrontation parameter.

4. The method according to claim 1, characterized in that The control updating based on the control deviation verification result includes: Determining whether the control deviation verification result meets a preset deviation threshold; When the control deviation verification result meets the preset deviation threshold, a maintenance verification instruction is generated; After performing a control self-check of the drone according to the maintenance verification instruction, the control update is completed again.

5. The method according to claim 1, characterized in that The method comprises: When any mission key point completes the mission loop, correction feedback is generated based on the UAV attitude control during mission execution; The timing control parameters are adjusted according to the correction feedback, and the attitude control of the UAV for subsequent tasks is performed according to the adjusted timing control parameters.

6. A drone attitude control system for cruising in complex scenes, the system comprising a processing server, the processing server being communicatively connected to a position sensor, a gyroscope, and an acceleration sensor arranged on the drone, characterized in that: The system is used to implement the UAV attitude control method for complex scene cruising according to any one of claims 1 to 5, and the system includes: A task decomposition module, the task decomposition module is used to read the flight mission of the UAV through the processing server, and perform task decomposition of the flight mission to establish mission key points; A first optimization module, the first optimization module is used to establish a scene space feature of a mission scene, and based on the flight mission and the scene space feature, perform path optimization, establish a calibrated cruise track according to the path optimization result, and generate a timing control parameter mapped with the calibrated cruise track; An operation control module, the operation control module is used to perform the operation control of the UAV with the timing control parameters and to feed back the real-time position trajectory through the position sensor; An offset correction module, the offset correction module is used to set a track deviation limit in a conventional area, perform offset correction on a real-time position track and a calibrated cruise track through the track deviation limit, and generate an updated position track; The second optimization module is used to perform approximate step optimization of the trajectory when the updated position trajectory and the mission key point meet the preset trigger conditions, establish trajectory compensation parameters, and generate a predicted approach time. Specifically, based on the distance, speed, and time parameters of the UAV from the key point, determine whether the updated position trajectory and the mission key point meet the preset trigger conditions, perform approximate step optimization of the trajectory according to the mission requirements and the performance of the UAV, perform approximate calculations on the trajectory of the UAV, continuously adjust the flight parameters of the UAV, and find an optimal or suboptimal trajectory so that the UAV can reach the mission key point more efficiently; analyze the deviation of the UAV in the process of approaching the mission key point according to the step optimization results, calculate the trajectory compensation parameters based on the analysis results, and the trajectory compensation parameters include compensation data for adjusting the flight speed of the UAV, changing the flight direction, and adding climbing or descending height. Using the established trajectory compensation parameters, by simulating the flight process of the UAV, calculate the position at different time points to predict the flight trajectory of the UAV, and calculate the predicted time for the UAV to reach the mission key point according to the predicted trajectory, and record it as the predicted approach time; A first compensation module, the first compensation module is used to obtain feedback information from the gyroscope and the acceleration sensor at a timing node when a preset trigger condition is triggered, establish a real-time attitude of the drone, and generate attitude compensation parameters according to the real-time attitude, the predicted approach time, and the attitude requirements of the mission key points; A first control module, the first control module is used to perform attitude control of the UAV through the trajectory compensation parameter and the attitude compensation parameter; The first compensation module further includes: a first testing unit for establishing a digital twin model of the UAV, and performing an attitude wind confrontation test with the digital twin model, and establishing an attitude confrontation parameter matching network according to the test results; a time segmentation unit for time segmenting the predicted approximation time, and establishing an approximation step time set, wherein the approximation step time set has a speed identifier mapped thereto; a wind force conversion unit for obtaining the real-time monitored wind force of the UAV, and performing wind force conversion within the approximation step time set with the real-time monitored wind force, real-time speed and speed identifier, and synchronously generating a time attitude fitting result corresponding to the approximation step time set; a first input unit for inputting the wind force conversion result and the time attitude fitting result into the attitude confrontation parameter matching network, and generating attitude confrontation parameters corresponding to the approximation step time set; a second compensation unit for generating attitude compensation parameters according to the time attitude fitting result and the attitude confrontation parameters; The first control module further includes: a node establishment unit for establishing a verification node with the predicted approximation time; a state detection unit for performing real-time state detection of the UAV at the verification node and performing control deviation verification with the verification node; a second control unit for performing control update based on the control deviation verification result and continuing the UAV attitude control according to the control update result.