CN112486141B - Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton - Google Patents

Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton Download PDF

Info

Publication number
CN112486141B
CN112486141B CN202011351643.2A CN202011351643A CN112486141B CN 112486141 B CN112486141 B CN 112486141B CN 202011351643 A CN202011351643 A CN 202011351643A CN 112486141 B CN112486141 B CN 112486141B
Authority
CN
China
Prior art keywords
aerial vehicle
unmanned aerial
control program
time
flight control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011351643.2A
Other languages
Chinese (zh)
Other versions
CN112486141A (en
Inventor
刘佳
钱昌宇
卞方舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN202011351643.2A priority Critical patent/CN112486141B/en
Publication of CN112486141A publication Critical patent/CN112486141A/en
Application granted granted Critical
Publication of CN112486141B publication Critical patent/CN112486141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0243Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults model based detection method, e.g. first-principles knowledge model
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses an unmanned aerial vehicle flight control program modeling and verifying method based on a time automaton, which comprises the following steps: dividing a command interaction process of an unmanned aerial vehicle flight control program into a master control process, message transmission and a wireless channel, and defining the state and the transition characteristic in a time automaton model; establishing a time automaton model of the unmanned aerial vehicle flight control program, searching a state space by using a formal verification tool, and verifying that the time sequence of the unmanned aerial vehicle flight control program in the operation process is correct; aiming at the interference of the working environment of the unmanned aerial vehicle, defining interference factors in the state and the transition characteristic, regenerating a correlation matrix of a time automaton model, and verifying the boundedness of the model, namely confirming the timeliness performance executed by the flight control program of the unmanned aerial vehicle in limited time; and analyzing the communication time consumption based on probability statistics, and verifying that the unmanned aerial vehicle flight control program operation process can be completed within a preset time. The invention can improve the robustness of the unmanned aerial vehicle in a complex environment.

Description

一种基于时间自动机的无人机飞控程序建模与验证方法A Modeling and Verification Method of UAV Flight Control Program Based on Time Automata

技术领域technical field

本发明涉及一种基于时间自动机的无人机飞控程序建模与验证方法,属于无人机自动控制的技术领域。The invention relates to a method for modeling and verifying a UAV flight control program based on a time automaton, and belongs to the technical field of UAV automatic control.

背景技术Background technique

近年来,无人机在环境监测、气象探测、基础设施运维等应用场景下得到广泛应用。无人机随着应用环境的日趋复杂,以及任务的日益多样,对无人机的远程遥控,以及多无人机基于无线通信的编队协同,已经成为重要发展趋势。但是,气动参数不确定性、执行机构故障等因素会严重降低无人机的控制精度,由于无线通信的开放性,还存在电磁环境干扰等影响因素。In recent years, UAVs have been widely used in environmental monitoring, meteorological detection, infrastructure operation and maintenance and other application scenarios. With the increasingly complex application environment and increasingly diverse tasks of UAVs, the remote control of UAVs and the formation coordination of multiple UAVs based on wireless communication have become an important development trend. However, factors such as the uncertainty of aerodynamic parameters and the failure of the actuator will seriously reduce the control accuracy of the UAV. Due to the openness of wireless communication, there are also influencing factors such as electromagnetic environment interference.

为了提升无人机对未知干扰和执行机构故障的鲁棒性、状态误差限制以及跟踪误差收敛性能,需要优化无人机控制算法。例如,北京航空航天大学提出了一种无人机固定时间路径跟踪容错制导控制方法,利用反步法及固定时间收敛的视线制导算法确保无人机路径跟踪误差在固定时间内收敛,通过非线性固定时间观测器对不确定性进行估计补偿,消除执行机构故障及外部环境干扰等因素对跟踪性能的影响(北京航空航天大学学报,2020.7),等等。In order to improve the robustness of the UAV to unknown disturbances and actuator failures, the state error limit and the tracking error convergence performance, the UAV control algorithm needs to be optimized. For example, Beijing University of Aeronautics and Astronautics proposed a fault-tolerant guidance control method for UAV fixed-time path tracking, which uses backstepping method and fixed-time convergence line-of-sight guidance algorithm to ensure that UAV path tracking error converges within a fixed time. The fixed-time observer performs estimation compensation for the uncertainty, eliminating the influence of factors such as actuator failure and external environmental disturbance on the tracking performance (Journal of Beihang University, 2020.7), and so on.

但是,未知干扰值通过很难进行精确测量,特别是当通信延迟较大时,可能无法保证正常信息交互和控制算法的正确执行,因此研究存在通信时延条件下的无人机控制具有十分重要的现实意义。例如西北工业大学提出了具有时延和干扰约束的多无人机滑模一致性编队控制方法,在考虑时延的基础上设计合适的一致性算法,利用滑模控制(SMC)方法解决编队系统中的轨迹跟踪和控制问题,并保证系统对于外部扰动的鲁棒性(西北工业大学学报,2020.4)。However, it is difficult to accurately measure the unknown interference value, especially when the communication delay is large, the normal information exchange and the correct execution of the control algorithm may not be guaranteed. Therefore, it is very important to study the UAV control under the condition of communication delay. realistic meaning. For example, Northwestern Polytechnical University proposed a multi-UAV sliding mode consistent formation control method with time delay and interference constraints. Based on the consideration of time delay, an appropriate consensus algorithm was designed, and the sliding mode control (SMC) method was used to solve the formation system. Trajectory tracking and control problems in the system, and ensure the robustness of the system to external disturbances (Journal of Northwestern Polytechnical University, 2020.4).

总之,无人机飞控程序的设计与测试是个复杂的技术问题,因为既涉及自动控制算法,又涉及与通信有关的性能,要保证遥控命令的正确性,需要保证信息交互的时效性,在规定的时间内完成通信过程。对控制程序的测试目前一般基于典型的黑盒测试,存在测试用例不能完全覆盖的问题。业界采用形式化验证避免上述测试覆盖率问题。其基本思想是通过遍历系统模型的状态空间,来检验系统模型是否满足给定的性质。例如云南大学提出了一种机器人分数阶PID控制器稳定性的形式化验证方法,申请号为201610485045.1,针对机器人分数阶PID控制器,建立分数阶PID控制器和分数阶闭环控制系统的高阶逻辑形式化模型,利用该形式化模型和定理,验证分数阶PID控制系统的稳定性。但是,该专利未考虑控制过程中的无线通信,不能完全适用于无人机在无线信道上存在电磁干扰的场景,对于气动参数不确定性、执行机构间歇性故障等因素考虑不足。In a word, the design and testing of the UAV flight control program is a complex technical problem, because it involves both automatic control algorithms and performance related to communication. To ensure the correctness of remote control commands, it is necessary to ensure the timeliness of information interaction. The communication process is completed within the specified time. The test of the control program is generally based on the typical black box test, and there is a problem that the test case cannot completely cover it. The industry adopts formal verification to avoid the above-mentioned test coverage problems. The basic idea is to check whether the system model satisfies the given properties by traversing the state space of the system model. For example, Yunnan University proposed a formal verification method for the stability of a robot fractional-order PID controller. The formal model is used to verify the stability of the fractional-order PID control system by using the formal model and theorems. However, this patent does not consider the wireless communication in the control process, so it cannot be fully applied to the scenario where the drone has electromagnetic interference on the wireless channel, and the factors such as the uncertainty of aerodynamic parameters and the intermittent failure of the actuator are insufficiently considered.

发明内容SUMMARY OF THE INVENTION

针对无人机的非线性特性和所受的干扰,需要考虑随机干扰、通信延迟等问题,本发明提供一种基于时间自动机的无人机飞控程序建模与验证方法,基于时间自动机,建立无人机飞控程序的形式化模型,验证控制算法的正确性;同时,引入随机性因素,通过多次仿真,对时效性进行统计,在存在通信时延、外部干扰等情况下提高无人机飞控的鲁棒性。Aiming at the nonlinear characteristics and interference of unmanned aerial vehicles, problems such as random interference and communication delay need to be considered. , to establish a formal model of the UAV flight control program to verify the correctness of the control algorithm; at the same time, random factors are introduced, and through multiple simulations, the timeliness is counted, and improved in the presence of communication delays, external interference, etc. Robustness of drone flight control.

本发明具体采用以下技术方案解决上述技术问题:The present invention specifically adopts the following technical solutions to solve the above-mentioned technical problems:

一种基于时间自动机的无人机飞控程序建模与验证方法,包括以下步骤:A method for modeling and verifying a UAV flight control program based on a time automaton, comprising the following steps:

步骤1、将无人机飞控程序的命令交互过程分为主控进程、消息传输、无线信道,基于时间自动机形式化建模方法,定义时间自动机模型中的状态与变迁特性;Step 1. Divide the command interaction process of the UAV flight control program into the main control process, message transmission, and wireless channel, and define the state and transition characteristics in the time automaton model based on the time automata formal modeling method;

步骤2、基于定义的状态与变迁特性,建立无人机飞控程序的时间自动机模型,使用形式化验证工具进行状态空间搜索,验证无人机飞控程序运行过程的时序正确;Step 2. Based on the defined state and transition characteristics, establish a time automaton model of the UAV flight control program, and use a formal verification tool to perform a state space search to verify that the timing sequence of the UAV flight control program is correct;

步骤3、针对无人机工作环境的干扰,在所述状态与变迁特性中定义干扰因素,并重新生成时间自动机模型的关联矩阵,验证时间自动机模型的有界性,即无人机飞控程序执行的时效性能在有限时间内进行确认;Step 3. In view of the interference of the working environment of the UAV, define the interference factors in the state and transition characteristics, and regenerate the correlation matrix of the time automaton model to verify the boundedness of the time automaton model, that is, the flight of the UAV. The timeliness performance of the control program execution is confirmed within a limited time;

步骤4、基于概率统计对通信时间消耗进行分析,验证无人机飞控程序运行过程能在预定的时间内完成。Step 4. Analyze the communication time consumption based on probability statistics, and verify that the operation process of the UAV flight control program can be completed within a predetermined time.

进一步地,作为本发明的一种优选技术方案,所述步骤1定义状态与变迁特性,具体为:Further, as a preferred technical solution of the present invention, the step 1 defines the state and transition characteristics, specifically:

M=(L,Π,S,T,C,G,E)M=(L, Π, S, T, C, G, E)

其中,L表示无人机飞控程序的主控进程、消息传输、无线信道三个模型层级,Π是表示主控进程的时间约束与消息类型的集合;S表示时间自动机模型中的状态集合;T表示变迁集合,包括模型层级L间的变迁,以及消息传输和状态转换的变迁;C表示S和Π的对应关系;G表示包括状态转换的条件函数;E表示消息传输、超时处理引起状态转换的表达式函数。Among them, L represents the three model levels of the main control process, message transmission and wireless channel of the UAV flight control program, Π represents the set of time constraints and message types of the main control process; S represents the state set in the time automaton model ; T represents the transition set, including the transition between model levels L, as well as the transition of message transmission and state transition; C represents the correspondence between S and Π; G represents the condition function including state transition; E represents the state caused by message transmission and timeout processing Converted expression function.

进一步地,作为本发明的一种优选技术方案,所述步骤2建立无人机飞控程序的时间自动机模型,包括:Further, as a preferred technical solution of the present invention, the step 2 establishes a time automaton model of the UAV flight control program, including:

确定无人机的状态集合S、变迁集合T包含元素:Determine the state set S and transition set T of the UAV containing elements:

S={s0…sj|j∈0,1,2…}S = {s 0 ... s j | j∈0, 1, 2...}

T={t0…ti|i∈0,1,2…}T={t 0 ...t i |i∈0, 1, 2...}

其中,sj表示无人机的各种状态;ti表示无人机状态间的变迁;Among them, s j represents various states of the drone; t i represents the transition between the states of the drone;

将无人机飞控程序建模为时间自动机模型,用关联矩阵R表示:The UAV flight control program is modeled as a time automaton model, which is represented by an association matrix R:

Figure BDA0002801063130000031
Figure BDA0002801063130000031

其中,rij表示无人机的变迁ti和状态sj之间的关系。Among them, r ij represents the relationship between the transition t i of the UAV and the state s j .

进一步地,作为本发明的一种优选技术方案,所述步骤3在所述状态与变迁特性中定义干扰因素,包括:Further, as a preferred technical solution of the present invention, the step 3 defines interference factors in the state and transition characteristics, including:

在消息传输模型、无线信道模型中增加状态SOT,用来定义控制事件因外部干扰的超时;在表达式函数E中增加干扰因素的表示。The state SOT is added to the message transmission model and the wireless channel model to define the timeout of the control event due to external interference; the expression function E is added to represent the interference factor.

进一步地,作为本发明的一种优选技术方案,所述步骤4基于概率统计对通信时间消耗进行分析,包括:在变迁模型中引入随机因素,丢包率通过变迁的执行条件模拟,延时通过状态转换函数G的执行时间模拟。Further, as a preferred technical solution of the present invention, the step 4 analyzes the communication time consumption based on probability statistics, including: introducing random factors into the transition model, the packet loss rate is simulated by the execution conditions of the transition, and the delay is passed through. Execution time simulation of state transition function G.

本发明采用上述技术方案,能产生如下技术效果:The present invention adopts the above-mentioned technical scheme, and can produce the following technical effects:

本发明的方法,基于形式化方法,建立时间自动机模型,通过状态空间搜索验证无人机飞控程序的可操作性,并分析时间自动机模型的有界性,缓解状态空间爆炸问题;针对无线遥控中的外界干扰,引入外部电磁环境干扰、气动参数不确定性、执行机构故障等随机性因素,通过多次仿真,对无人机飞控程序的时效性进行统计分析,提高无人机在复杂环境下的鲁棒性。本发明适用范围广泛,可应用于多功能无人机飞控、无人机编队、基于无人机的气象探测、设备巡视等。The method of the invention establishes a time automaton model based on a formal method, verifies the operability of the UAV flight control program through state space search, and analyzes the boundedness of the time automaton model, so as to alleviate the state space explosion problem; External interference in wireless remote control introduces random factors such as external electromagnetic environment interference, aerodynamic parameter uncertainty, and actuator failure. Robustness in complex environments. The invention has a wide range of applications, and can be applied to multi-functional UAV flight control, UAV formation, UAV-based meteorological detection, equipment inspection, and the like.

附图说明Description of drawings

图1为本发明基于时间自动机的无人机飞控程序建模与验证方法的流程示意图。FIG. 1 is a schematic flowchart of a method for modeling and verifying a UAV flight control program based on a time automaton according to the present invention.

图2为本发明提供的无人机飞控程序的时间自动机模型示意图。FIG. 2 is a schematic diagram of a time automaton model of a UAV flight control program provided by the present invention.

具体实施方式Detailed ways

以下将结合具体实施例对本发明提供的技术方案进行详细说明,应理解下述具体实施方式仅用于说明本发明而不用于限制本发明的范围。The technical solutions provided by the present invention will be described in detail below with reference to specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and not to limit the scope of the present invention.

实施例1,以某一种现有的无人机飞控系统为例,该系统可适用于四旋翼无人机等广泛应用的无人机,在飞行时通过搭载的惯性导航系统、摄像头、激光雷达等,判断自身的飞行姿态,实现避障等功能,并能接受外部指令完成具体的任务。本发明提供一种基于时间自动机的无人机飞控程序建模与验证方法,对飞控程序的建模和验证过程如图1所示,具体包括如下步骤:Embodiment 1, taking a certain existing drone flight control system as an example, the system can be applied to widely used drones such as quadrotor drones. Lidar, etc., can judge its own flight attitude, realize functions such as obstacle avoidance, and can accept external instructions to complete specific tasks. The present invention provides a method for modeling and verifying a UAV flight control program based on a time automaton. The modeling and verification process for the flight control program is shown in Figure 1, and specifically includes the following steps:

步骤1、将无人机飞控程序的命令交互过程分为主控进程、消息传输、无线信道,本发明基于时间自动机形式化建模方法,定义时间自动机模型中相关的状态与变迁特性,具体为:Step 1. The command interaction process of the UAV flight control program is divided into the main control process, message transmission, and wireless channel. The present invention is based on the time automata formal modeling method to define the relevant states and transition characteristics in the time automata model. ,Specifically:

M=(L,Π,S,T,C,G,E)M=(L, Π, S, T, C, G, E)

其中,L表示无人机飞控程序的主控进程、消息传输、无线信道三个模型层级,Π是表示主控进程的时间约束与消息类型的集合;S表示时间自动机模型中的状态集合;T表示变迁集合,包括模型层级L间的变迁,以及消息传输和状态转换的变迁;C表示S和Π的对应关系;G表示包括状态转换的条件函数;E表示消息传输、超时处理引起状态转换的表达式函数。Among them, L represents the three model levels of the main control process, message transmission and wireless channel of the UAV flight control program, Π represents the set of time constraints and message types of the main control process; S represents the state set in the time automaton model ; T represents the transition set, including the transition between model levels L, as well as the transition of message transmission and state transition; C represents the correspondence between S and Π; G represents the condition function including state transition; E represents the state caused by message transmission and timeout processing Converted expression function.

步骤2、基于定义的状态与变迁特性,建立无人机飞控程序的时间自动机模型,使用形式化验证工具进行状态空间搜索,验证无人机飞控程序运行过程的时序是否正确;Step 2. Based on the defined state and transition characteristics, establish a time automaton model of the UAV flight control program, use a formal verification tool to search the state space, and verify whether the timing of the UAV flight control program is correct;

根据步骤1中的定义,将无人机飞控程序建模为时间自动机模型。部分与无线通信相关的模型如图2所示,将无人机当前状态、受控状态、失控、通信过程等状态,定义为状态集合S:According to the definition in step 1, the UAV flight control program is modeled as a time automaton model. Some models related to wireless communication are shown in Figure 2. The current state, controlled state, out-of-control, communication process and other states of the UAV are defined as the state set S:

S={s0…sj|j∈0,1,2…}S = {s 0 ... s j | j∈0, 1, 2...}

类似的,如图2中所示,将无人机的建立通信链路、任务循环执行、中断控制、发送数据等变迁,定义为变迁集合T:Similarly, as shown in Figure 2, the transitions of the UAV's establishment of communication links, task cycle execution, interruption control, and data transmission are defined as transition set T:

T={t0…ti|i∈0,1,2…}T={t 0 ...t i |i∈0, 1, 2...}

其中,s0...sj表示无人机的各种状态;t0...ti表示无人机状态间的变迁;Among them, s 0 ... s j represents various states of the UAV; t 0 ... t i represents the transition between the states of the UAV;

上述的状态s0...sj在图2中用UAVC、UAVP、ERR、COMM等标记;上述的变迁t0...ti在图2中用COMMConf、TaskProc、InterruptCon、SendData等标记。The above-mentioned states s 0 ... s j are marked with UAVC, UAVP, ERR, COMM, etc. in FIG. 2 ; the above-mentioned transitions t 0 ... t i are marked with COMMConf, TaskProc, InterruptCon, SendData, etc. in FIG. 2 .

将无人机飞控程序建模为包含j+1个状态和i+1个变迁的时间自动机模型,可以用关联矩阵R表示:The UAV flight control program is modeled as a time automaton model containing j+1 states and i+1 transitions, which can be represented by an association matrix R:

Figure BDA0002801063130000051
Figure BDA0002801063130000051

其中,rij表示变迁ti和状态sj之间的关系;Among them, r ij represents the relationship between transition t i and state s j ;

基于关联矩阵R,验证时间自动机模型的有界性,在此基础上使用形式化验证工具进行状态空间搜索,可采用通用的SPIN工具,以PROMELA语言描述上述模型,验证控制过程的时序是否正确。Based on the correlation matrix R, the boundedness of the time automaton model is verified. On this basis, a formal verification tool is used to search the state space. The general SPIN tool can be used to describe the above model in PROMELA language to verify whether the timing of the control process is correct. .

步骤3、针对无人机工作环境的干扰,在步骤1所述的状态与变迁特性中定义干扰因素,在消息传输模型、无线信道模型中增加状态SOT,用来定义控制事件因外部干扰的超时,在表达式函数E中增加电磁、气流等干扰因素的表示,干扰因素为设定的经验值。并重新生成时间自动机模型的关联矩阵,采用和步骤2中相同的方式验证时间自动机模型的有界性,即无人机飞控程序执行的时效性能在有限时间内进行确认。Step 3. In view of the interference of the working environment of the drone, define the interference factor in the state and transition characteristics described in step 1, and add the state SOT to the message transmission model and wireless channel model to define the timeout of the control event due to external interference. , in the expression function E, the representation of electromagnetic, airflow and other interference factors is added, and the interference factors are set empirical values. And regenerate the correlation matrix of the temporal automaton model, and verify the boundedness of the temporal automaton model in the same way as in step 2, that is, the timeliness performance of the UAV flight control program execution is confirmed within a limited time.

步骤4、基于概率统计对通信时间消耗进行分析,验证无人机飞控程序运行过程能在预定的时间内完成。Step 4. Analyze the communication time consumption based on probability statistics, and verify that the operation process of the UAV flight control program can be completed within a predetermined time.

基于概率统计对通信时间消耗进行分析,即在变迁模型中引入电磁干扰、气流等随机因素,如图2中的InterruptCon变迁,在执行条件中引入随机函数rand,模拟延时,使每次模拟的延时存在随机差异,即丢包率通过变迁的执行条件模拟,延时通过状态转换函数G的执行时间模拟,通过执行时间模拟延时。在此基础上,多次执行步骤3中的验证过程,即重复进行状态空间搜索,从而仿真无人机飞控程序的执行时间,验证控制过程和无线遥控操作可以按照时序,在预定的时间内完成执行。The communication time consumption is analyzed based on probability statistics, that is, random factors such as electromagnetic interference and airflow are introduced into the transition model, such as the InterruptCon transition in Figure 2, and the random function rand is introduced into the execution conditions to simulate the delay, so that each simulation There are random differences in the delay, that is, the packet loss rate is simulated by the execution condition of the transition, the delay is simulated by the execution time of the state transition function G, and the delay is simulated by the execution time. On this basis, the verification process in step 3 is performed multiple times, that is, the state space search is repeated, so as to simulate the execution time of the UAV flight control program. Complete execution.

综上,本发明方法,针对无线遥控中的外界干扰,引入外部电磁环境干扰、气动参数不确定性、执行机构故障等随机性因素,通过多次仿真,对无人机飞控程序的时效性进行统计分析,提高无人机在复杂环境下的鲁棒性。本发明适用范围广泛,可应用于多功能无人机飞控、无人机编队、基于无人机的气象探测、设备巡视等。To sum up, the method of the present invention introduces random factors such as external electromagnetic environment interference, aerodynamic parameter uncertainty, actuator failure and other random factors for the external interference in the wireless remote control, and through multiple simulations, the timeliness of the UAV flight control program is improved. Perform statistical analysis to improve the robustness of UAVs in complex environments. The invention has a wide range of applications, and can be applied to multi-functional UAV flight control, UAV formation, UAV-based meteorological detection, equipment inspection, and the like.

本发明方案所公开的技术手段不仅限于上述实施方式所公开的技术手段,还包括由以上技术特征任意组合所组成的技术方案。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The technical means disclosed in the solution of the present invention are not limited to the technical means disclosed in the above embodiments, but also include technical solutions composed of any combination of the above technical features. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also regarded as the protection scope of the present invention.

Claims (5)

1. An unmanned aerial vehicle flight control program modeling and verification method based on a time automaton is characterized by comprising the following steps:
step 1, dividing a command interaction process of an unmanned aerial vehicle flight control program into a master control process, message transmission and a wireless channel, and defining states and transition characteristics in a time automaton model based on a time automaton formal modeling method;
step 2, establishing a time automata model of the unmanned aerial vehicle flight control program based on the defined state and transition characteristics, searching a state space by using a formal verification tool, and verifying that the time sequence of the unmanned aerial vehicle flight control program operation process is correct;
step 3, aiming at the interference of the working environment of the unmanned aerial vehicle, defining interference factors in the state and the transition characteristic, regenerating a correlation matrix of a time automaton model, and verifying the boundedness of the time automaton model, namely confirming the timeliness performance executed by the flight control program of the unmanned aerial vehicle in limited time;
and 4, analyzing the communication time consumption based on probability statistics, and verifying that the operation process of the unmanned aerial vehicle flight control program can be completed within a preset time.
2. The unmanned aerial vehicle flight control program modeling and verification method based on the temporal automaton according to claim 1, wherein the step 1 defines state and transition characteristics, specifically:
M=(L,Π,S,T,C,G,E)
l represents three model levels of a main control process, message transmission and a wireless channel of an unmanned aerial vehicle flight control program, and pi is a set representing time constraint and message types of the main control process; s represents a state set in the time automaton model; t represents a transition set, including the transitions between model levels L and the transitions of message transmission and state transition; c represents the corresponding relation between S and pi; g represents a state transition function; e represents the expression function for message transmission, timeout handling causing state transitions.
3. The unmanned aerial vehicle flight control program modeling and verification method based on the time automaton as claimed in claim 1, wherein the step 2 of establishing a time automaton model of the unmanned aerial vehicle flight control program comprises:
determining that the state set S and the transition set T of the unmanned aerial vehicle contain elements:
S={s 0 …s s |j∈0,1,2…}
T={t 0 …t i |i∈0,1,2…}
wherein s is j Representing various states of the drone; t is t i Representing transitions between states of the drone;
modeling an unmanned plane flight control program into a time automaton model, and expressing by using an incidence matrix R:
Figure FDA0003737049540000011
wherein r is ij Representing transitions t of drones i And state s j The relationship between them.
4. The method for modeling and verifying the flight control program of the unmanned aerial vehicle based on the time automaton as claimed in claim 2, wherein the step 3 defines interference factors in the state and transition characteristics, including:
adding state SOT in a message transmission model and a wireless channel model for defining the overtime of a control event due to external interference;
the representation of the disturbance factor is added in the expression function E.
5. The method for modeling and verifying the flight control program of the unmanned aerial vehicle based on the time automaton as claimed in claim 2, wherein the step 4 is to analyze the communication time consumption based on probability statistics, and comprises:
random factors are introduced into the transition model, the packet loss rate is simulated through the execution conditions of the transition, and the delay is simulated through the execution time of the state conversion function G.
CN202011351643.2A 2020-11-26 2020-11-26 Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton Active CN112486141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011351643.2A CN112486141B (en) 2020-11-26 2020-11-26 Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011351643.2A CN112486141B (en) 2020-11-26 2020-11-26 Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton

Publications (2)

Publication Number Publication Date
CN112486141A CN112486141A (en) 2021-03-12
CN112486141B true CN112486141B (en) 2022-09-02

Family

ID=74935408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011351643.2A Active CN112486141B (en) 2020-11-26 2020-11-26 Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton

Country Status (1)

Country Link
CN (1) CN112486141B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115544673B (en) * 2022-11-28 2023-03-31 四川腾盾科技有限公司 Method for assisting in taking off and landing of large unmanned aerial vehicle

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017213576A1 (en) * 2016-06-07 2017-12-14 Scania Cv Ab A system and a method for testing functionalities of a vehicle
CN107479370B (en) * 2017-07-03 2019-11-08 浙江工业大学 A finite-time adaptive control method for quadrotor UAV based on non-singular terminal sliding mode
CN107368091B (en) * 2017-08-02 2019-08-20 华南理工大学 A stable flight control method for multi-rotor unmanned aerial vehicles based on finite-time neural dynamics
CN110825122B (en) * 2019-10-08 2020-09-15 南京航空航天大学 Active anti-jamming tracking control method for circular trajectory of quadrotor UAV
CN111736468B (en) * 2020-06-21 2022-06-21 西北工业大学 Aircraft anti-interference control method under information fusion
CN111880410B (en) * 2020-08-11 2021-12-28 北京航空航天大学 A fault-tolerant control method for quadrotor UAV for motor failure

Also Published As

Publication number Publication date
CN112486141A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
Xiang et al. Verification for machine learning, autonomy, and neural networks survey
CN112202736B (en) Communication network anomaly classification method based on statistical learning and deep learning
CN111930345B (en) A SysML-based UAV system modeling method, device and readable storage medium
CN111814308A (en) An accelerated test system for autonomous driving systems
Khatiri et al. Simulation-based test case generation for unmanned aerial vehicles in the neighborhood of real flights
Vachtsevanos et al. Resilient design and operation of cyber physical systems with emphasis on unmanned autonomous systems
KR20220117625A (en) Autonomous cps self-evolution framework based on federated reinforcement learning for performance self-evolution of autonomous cps and performance self-evolution method autonomous cps using the same
CN119203607B (en) Semantic association modeling and adaptive simulation method based on multi-layer correction
CN108170162A (en) Multiple dimensioned wind disturbs analysis unmanned plane group of planes coordinated control system performance estimating method
Vieira et al. Copadrive-a realistic simulation framework for cooperative autonomous driving applications
Cui et al. Resilient consensus control of heterogeneous multi-UAV systems with leader of unknown input against Byzantine attacks
Assad et al. Utilising web-based digital twin to promote assembly line sustainability
CN112486141B (en) Unmanned aerial vehicle flight control program modeling and verifying method based on time automaton
Li et al. Metamorphic testing on multi-module uav systems
Chen et al. Simulation might change your results: a comparison of context-aware system input validation in simulated and physical environments
CN118915820A (en) Unmanned aerial vehicle system based on improved intelligent potential field and consensus protocol and obstacle avoidance algorithm thereof
Mitchell et al. Ensuring safety for sampled data systems: An efficient algorithm for filtering potentially unsafe input signals
CN117873156A (en) A method for online trajectory optimization of aircraft based on deep learning
CN115328203B (en) Large-scale unmanned aerial vehicle cluster formation simulation acceleration method and system based on data driving
CN108052768B (en) A Reliability Evaluation Method of Concurrent Real-time System Based on Quantitative Verification Method
Xu et al. Fault‐tolerant control for wireless networked control systems with an integrated scheduler
Shriyam et al. Modeling and analysis of subsystem interactions in robotic assembly
Sharf et al. Verifying contracts for perturbed control systems using linear programming
Xia et al. Distributed dynamic event-triggered formation control for multiple unmanned surface vehicles
Kim Safety Critical Control for UAVs: Integrating Reconfigurable Control Barrier Functions with Sliding Mode Control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant