WO2024087271A1 - Multi-rotor aircraft, control method therefor, device, and computer-readable storage medium - Google Patents

Multi-rotor aircraft, control method therefor, device, and computer-readable storage medium Download PDF

Info

Publication number
WO2024087271A1
WO2024087271A1 PCT/CN2022/133003 CN2022133003W WO2024087271A1 WO 2024087271 A1 WO2024087271 A1 WO 2024087271A1 CN 2022133003 W CN2022133003 W CN 2022133003W WO 2024087271 A1 WO2024087271 A1 WO 2024087271A1
Authority
WO
WIPO (PCT)
Prior art keywords
rotor
control
matrix
vector
efficiency matrix
Prior art date
Application number
PCT/CN2022/133003
Other languages
French (fr)
Chinese (zh)
Inventor
沈阳
陶永康
张均
苏江城
段鹏
王磊
周英
Original Assignee
广东汇天航空航天科技有限公司
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 广东汇天航空航天科技有限公司 filed Critical 广东汇天航空航天科技有限公司
Publication of WO2024087271A1 publication Critical patent/WO2024087271A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

Definitions

  • the present application relates to the field of aircraft control, and in particular to a multi-rotor aircraft and a control method, device, and computer-readable storage medium thereof.
  • the main purpose of the present application is to provide a control method and device for a multi-rotor aircraft, and a computer-readable storage medium, aiming to solve the technical problem of poor power failure fault-tolerant control of multi-rotor drones.
  • the present application provides a control method for a multi-rotor aircraft, the control method for a multi-rotor aircraft comprising:
  • control efficiency matrix If the control efficiency matrix satisfies the preset speed distribution condition, obtaining a control distribution matrix corresponding to the control efficiency matrix;
  • the rotation speed corresponding to each of the rotors is adjusted based on the rotation speed vector, and the step of returning to execute, based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
  • the step of determining a rotation speed vector corresponding to the rotor system based on the control allocation matrix comprises:
  • the rotation speed vector is determined based on the virtual control vector to be allocated and the control allocation matrix.
  • the step of determining the rotation speed vector based on the virtual control vector to be allocated and the control allocation matrix comprises:
  • a rotation speed vector corresponding to the rotor system is determined.
  • the step of obtaining the maximum virtual control vector corresponding to the rotor system based on the virtual control vector to be allocated comprises:
  • the maximum virtual control vector corresponding to the rotor system is obtained.
  • the method further comprises:
  • the remaining allocatable maximum rotation speed is set as the preset maximum rotation speed, and the remaining allocatable minimum rotation speed is set as the preset minimum rotation speed.
  • the step of obtaining a control distribution matrix corresponding to the manipulation efficiency matrix comprises:
  • the product matrix is reversible, it is determined that the manipulation efficiency matrix satisfies a preset speed distribution condition, and a control distribution matrix corresponding to the manipulation efficiency matrix is obtained.
  • the step of obtaining a control allocation matrix corresponding to the manipulation efficiency matrix comprises:
  • the step of adjusting the rotational speed corresponding to each of the rotors based on the rotational speed vector comprises:
  • the rotation speed corresponding to each of the rotors is adjusted.
  • the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV comprises:
  • the steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  • the current operating state includes the current of the motor corresponding to each of the rotors or the rotational speed of each of the rotors.
  • the present application also provides a multi-rotor aircraft, the multi-rotor aircraft comprising:
  • a first determination module is used to determine a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV based on a current operating state of the multi-rotor UAV;
  • an acquisition module configured to acquire a control allocation matrix corresponding to the manipulation efficiency matrix if the manipulation efficiency matrix satisfies a preset speed allocation condition
  • a second determination module is used to determine a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes a rotation speed to be allocated corresponding to each of the rotors;
  • An adjustment module is used to adjust the speed corresponding to each of the rotors based on the speed vector, and return to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV
  • An embodiment of the present application also proposes a multi-rotor UAV device, which includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the computer-readable instructions, when executed by the processor, implement the steps of the control method of the multi-rotor aircraft as described above.
  • An embodiment of the present application further provides a computer-readable storage medium having computer-readable instructions stored thereon.
  • the computer-readable instructions are executed by a processor, the steps of the control method for the multi-rotor aircraft as described above are implemented.
  • the present application determines the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV. If the control efficiency matrix satisfies a preset speed distribution condition, a control allocation matrix corresponding to the control efficiency matrix is obtained. Then, based on the control allocation matrix, a speed vector corresponding to the rotor system is determined, wherein the speed vector includes a speed to be allocated corresponding to each rotor.
  • the speed corresponding to each rotor is adjusted, and the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV is returned to execute.
  • the manipulation efficiency matrix and the control allocation matrix are used to allocate excess rotation speed to the rotor, so as to better control the rotor rotation speed and stabilize the flight state of the multi-rotor UAV.
  • the rotor speed can be adjusted in real time to obtain sufficient power, which improves the effect of the fault-tolerant control of the multi-rotor UAV power failure and improves the stability of the multi-rotor UAV flight process.
  • FIG1 is a schematic diagram of the structure of a control device for a multi-rotor aircraft in a hardware operating environment involved in an embodiment of the present application;
  • FIG2 is a schematic diagram of a flow chart of a first embodiment of a multi-rotor aircraft control method of the present application
  • FIG3 is a schematic diagram of the control configuration of the multi-rotor aircraft of the present application.
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of a multi-rotor aircraft control device of the present application.
  • FIG. 1 is a schematic diagram of the structure of a multi-rotor aircraft control device in a hardware operating environment involved in an embodiment of the present application.
  • the multi-rotor aircraft control device of the embodiment of the present application may be a PC.
  • the multi-rotor aircraft control device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • the multi-rotor aircraft control device may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc.
  • sensors such as light sensors, motion sensors and other sensors are not described here.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the multi-rotor aircraft control device, and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer-readable instructions.
  • the network interface 1004 is mainly used to connect to the background server and communicate data with the background server;
  • the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client;
  • the processor 1001 can be used to call the computer-readable instructions stored in the memory 1005.
  • the multi-rotor aircraft control device includes: a memory 1005, a processor 1001, and computer-readable instructions stored in the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the computer-readable instructions stored in the memory 1005 and executes the steps of the multi-rotor aircraft control method in the following embodiments.
  • the present application also provides a method, referring to FIG. 2 , which is a flow chart of a first embodiment of a control method for a multi-rotor aircraft of the present application.
  • the control method of the multi-rotor aircraft is applied to a multi-rotor UAV, and comprises the following steps:
  • Step S101 based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
  • a multi-rotor UAV refers to an unmanned rotorcraft with more than 4 rotors.
  • the control efficiency matrix is a matrix that describes the relationship between the UAV control channel and the rotational speed of the multi-rotor UAV.
  • the number of column vectors in the control efficiency matrix is determined by the number of rotors of the multi-rotor UAV, and the number of row vectors is determined by the number of control channels of the UAV.
  • a multi-rotor UAV has 8 propellers and 4 control channels.
  • the 4 control channels control the thrust, rolling moment, pitching moment, and yaw moment respectively.
  • each column represents a propeller, and there are 8 columns in total.
  • the first row represents the contribution of each propeller to the thrust
  • the second row represents the contribution to the rolling moment
  • the third row represents the contribution to the pitching moment
  • the fourth row represents the contribution to the yaw moment.
  • the electronic control of the multi-rotor UAV monitors the operating status of the multi-rotor UAV in real time, including the current/speed in the motor/rotor, etc.
  • the operating status of the motor/rotor system can be evaluated in the form of a numerical ratio, for example, the current speed/expected speed, the current tension/theoretical tension at the current speed. If the current motor/rotor operates as expected, it is represented by 1. If the motor/rotor does not operate as expected, it is represented by a numerical ratio, and a complete failure is 0.
  • the range of the numerical ratio can be set to 0 to 1, and the current speed/expected speed or current tension/theoretical tension at the current speed of each rotor is used as a row vector, and the number of control channels is used as a column vector to determine the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
  • each propeller in the control efficiency matrix of a multi-rotor drone in normal flight is operating normally, providing stable force for each control channel of the multi-rotor drone. If the current/speed provided by the motor/rotor changes, such as insufficient energy, resulting in insufficient current, or damage to the rotor, resulting in its speed not being able to provide the required force, the control efficiency matrix will change.
  • the control efficiency matrix of the rotor drone must be re-determined.
  • the control efficiency matrix corresponding to each rotor in the rotor system is determined, which realizes the control of the specific power situation of the drone flight, and can better understand the power situation of the drone, so as to maintain the stability of the drone in the future.
  • Step S102 if the control efficiency matrix satisfies a preset speed distribution condition, a control distribution matrix corresponding to the control efficiency matrix is obtained.
  • the control allocation matrix is used to calculate the speed distribution matrix that each propeller needs to allocate.
  • the control efficiency matrix can be converted into a control allocation matrix by inverting the control efficiency matrix, that is, the control allocation matrix is the inverse matrix of the control efficiency matrix. If the control efficiency matrix cannot be inverted, the control efficiency matrix cannot be obtained. Therefore, whether the control efficiency matrix can be inverted is used as a preset speed distribution condition, and the control efficiency matrix is inverted in real time to obtain the control allocation matrix.
  • CW Lockwise
  • CCW Counter Clockwise
  • motors/rotors 1/4/6/7 are the right motors/rotors of the multi-rotor drone
  • motors/rotors 2/3/5/8 are the left motors/rotors of the multi-rotor drone
  • x and y are vector axes.
  • the control allocation matrix cannot be obtained through the control efficiency matrix, and then there is no adjustment of the speed of the remaining propellers.
  • the control efficiency matrix does not meet the preset speed allocation conditions, but assuming that motors 5/6/7/8 fail completely, that is, the upper four propellers stop rotating, then the lower four propellers can still maintain balance, and the flight of the multi-rotor drone can be stabilized by controlling the speed of the rotors.
  • the control allocation matrix can be calculated through the control efficiency matrix at this time, that is, the preset speed allocation conditions are met, and the control efficiency matrix can be inverted to obtain the control allocation matrix.
  • the corresponding control distribution matrix is obtained, which enables precise control of the multi-rotor UAV's control distribution speed.
  • the obtained control distribution matrix can greatly improve the accuracy of subsequent rotor speed distribution.
  • Step S103 determining a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes rotation speeds to be allocated corresponding to each of the rotors.
  • the speed vector includes the speed size and speed direction allocated to each rotor; the speed to be allocated refers to the speed amount that each rotor needs to increase or decrease at the current speed.
  • the motor/rotor changes, which in turn changes the control efficiency matrix and the control allocation matrix.
  • the current rotation speed of some rotors needs to be adjusted.
  • the changes of motors/rotors of multi-rotor drones during flight may be continuous, the control efficiency matrix may also be constantly changing, and the corresponding control allocation matrix is also changing.
  • the remaining motor throttle of the multi-rotor drone is allocated to the corresponding motor to increase the motor power, or based on the row and column values in the control allocation matrix, all speed vectors to be allocated are allocated to the rotors to be allocated, and the speed vectors corresponding to each rotor are determined.
  • control allocation matrix shows that the expected pulling force of the No. 1 propeller of the multi-rotor drone is 10N, but due to the insufficient speed of the No. 1 propeller, the pulling force provided is only 8N. At this time, based on the control allocation matrix, a part of the allocable speed of the multi-rotor drone is allocated to the No.
  • Step S104 adjusting the rotation speed corresponding to each of the rotors based on the rotation speed vector, and returning to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV.
  • the corresponding control allocation matrix is obtained by manipulating the efficiency matrix to obtain the speed vector corresponding to the rotor.
  • the rotor system of the multi-rotor UAV After the rotor system of the multi-rotor UAV obtains the speed vector, it adjusts the speed corresponding to the rotor according to the value of the vector. For example, the speed vector of propeller No. 1 changes from +1 to +5, then 4 unit speeds are added to the original rotation direction of propeller No. 1. After the speed of the corresponding rotor is adjusted, it can generate enough force to make the multi-rotor UAV reach the desired operating state. At the same time, as the flight state of the multi-rotor UAV changes, the above steps are repeated to adjust the speed of the rotor.
  • the speed corresponding to the rotor is adjusted so that the rotor can generate enough force, thereby realizing the detection and control of the power situation of the multi-rotor UAV, improving the fault-tolerant control capability of the rotor system to deal with various power situations, and improving the flight stability of the multi-rotor UAV.
  • the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV is determined. If the control efficiency matrix meets the preset speed distribution condition, the control distribution matrix corresponding to the control efficiency matrix is obtained. Then, based on the control distribution matrix, the speed vector corresponding to the rotor system is determined, wherein the speed vector includes the speed to be distributed corresponding to each rotor. Finally, the speed corresponding to each rotor is adjusted based on the speed vector, and the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current running state of the multi-rotor UAV is returned.
  • the control efficiency matrix and the control distribution matrix are used to distribute excess speed to the rotor, so as to better control the speed of the rotor and stabilize the flight state of the multi-rotor UAV.
  • the rotor speed can be adjusted in real time to obtain sufficient power, thereby improving the flight stability of the multi-rotor UAV and solving the problem of poor fault tolerance control of power failure of the multi-rotor UAV.
  • step S103 a second embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which includes in step S103:
  • Step S201 based on multiple control channels, obtaining a virtual control vector to be allocated corresponding to each of the rotors;
  • Step S202 determining the rotation speed vector based on the virtual control vector to be allocated and the control allocation matrix.
  • the control channel is the channel inside the flight control system that controls the operating status of the multi-rotor drone, such as the thrust control channel, roll control channel, pitch control channel, and yaw control channel.
  • the virtual control vector to be allocated is the control quantity that is expected to be allocated calculated by the flight control system through the control algorithm on the control channel.
  • a typical flight control algorithm generally consists of two parts: a controller and a distributor.
  • the controller mainly generates the expected virtual control vectors to be allocated for the four control channels (including altitude channel, roll channel, pitch channel, and yaw channel) based on instructions and sensor data. It is generally composed of a position loop/velocity loop/attitude loop/angular velocity loop, and is usually implemented using PID algorithm, ADRC algorithm, MPC algorithm, LQR algorithm, etc. These algorithms are roughly the same on aircraft of different configurations and can be shared.
  • step S202 includes:
  • Step a based on the virtual control vector to be allocated, obtaining the maximum virtual control vector corresponding to the rotor system;
  • Step b determining the rotation speed vector corresponding to the rotor system based on the maximum virtual control vector and the control allocation matrix.
  • the maximum virtual control vector refers to the maximum control vector that can be currently allocated to each rotor.
  • the flight control internal control algorithm will calculate the virtual control vectors to be allocated on the four control channels, and then calculate the maximum virtual control vector that each rotor can currently accept, and then calculate the speed vector allocated this time through the following formula:
  • u_i is the speed vector assigned to the i-th rotor
  • B+ is the control allocation matrix
  • vi_i is the maximum virtual control quantity vector of the i-th rotor.
  • the maximum virtual control quantity vector assigned at each step ensures that the speed does not exceed the remaining assignable speed, that is, each step of allocation will always saturate the speed of a certain motor/rotor, which is equivalent to seeking a value on the boundary at each step, which will neither exceed the boundary (the assigned speed is less than the preset maximum speed) nor be within the boundary (the assigned speed is greater than the preset minimum speed).
  • the specific expression is: umin_i ⁇ u_i ⁇ umax_i;
  • step a includes:
  • Step c determining a ratio range corresponding to each of the rotors based on the control allocation matrix, the virtual control vector to be allocated, a preset maximum rotational speed corresponding to each of the rotors, and a preset minimum rotational speed corresponding to each of the rotors, and obtaining a maximum ratio within the ratio range as a first ratio corresponding to each of the rotors;
  • Step d obtaining a maximum virtual control vector corresponding to the rotor system based on the largest first ratio among the first ratios corresponding to the rotors and the virtual control vector to be allocated.
  • the preset maximum speed and the preset minimum speed are the maximum speed and the minimum speed that each rotor can provide.
  • the ratio range is calculated based on the condition that the currently assigned speed is greater than or equal to the preset minimum speed and less than or equal to the preset maximum speed.
  • the first ratio is the largest ratio in the ratio range, which is mainly used as a parameter for calculating the maximum virtual control vector corresponding to the rotor system.
  • v_i k1*v_0;
  • v_i is the maximum virtual control quantity vector of the i-th rotor
  • v_0 is the virtual control vector to be allocated
  • k1 is the first ratio
  • the virtual control vectors to be allocated corresponding to each rotor are obtained, and based on the virtual control vectors to be allocated and the control allocation matrix, the speed vector is determined, thereby realizing the real-time speed control of the multi-rotor UAV, greatly improving the fault tolerance of the power of the multi-rotor UAV rotor during flight, and ensuring its stability during flight.
  • a third embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which, after step b, further includes:
  • Step S301 determining a remaining allocatable maximum speed and a remaining allocatable minimum speed based on a preset maximum speed, a preset minimum speed and a speed vector;
  • Step S302 setting the remaining allocatable maximum speed as a preset maximum speed, and setting the remaining allocatable minimum speed as a preset minimum speed.
  • the remaining allocable maximum speed is the maximum speed value that can be further allocated after the current speed allocation of each rotor
  • the remaining allocable minimum speed is the minimum speed value that can be further allocated after the current speed allocation of each rotor.
  • the multi-rotor drone calculates the speed assigned to each rotor through the control allocation matrix and the virtual control vector to be allocated, because the speed that can be allocated to the multi-rotor drone is limited, each time the speed is allocated to each rotor, the preset maximum speed and the preset minimum speed must be subtracted from the current allocated speed to ensure that the speed allocated in the next round will not exceed the remaining speed.
  • umax_(i+1) is the maximum speed of each rotor at time i+1
  • umin_(i+1) is the minimum speed of each rotor at time i+1
  • umin_(i) is the preset minimum speed of each rotor at time i
  • umax_(i) is the preset maximum speed of each rotor at time i
  • u_i is the speed allocated to each rotor at time i.
  • u_(i+1) is the rotation speed assigned to each rotor at time i+1.
  • the remaining allocatable maximum speed and the remaining allocatable minimum speed are determined, and then the remaining allocatable maximum speed is set as the preset maximum speed, and the remaining allocatable minimum speed is set as the preset minimum speed, so that the speed of each speed distribution will not exceed the remaining allocatable speed, thereby improving the accuracy of speed distribution.
  • step S102 includes:
  • Step S401 based on the manipulation efficiency matrix, obtaining a transposed matrix of the manipulation efficiency matrix, and based on the manipulation efficiency matrix and the transposed matrix, obtaining a product matrix;
  • Step S402 If the product matrix is reversible, determine whether the control efficiency matrix satisfies a preset speed distribution condition, and obtain a control distribution matrix corresponding to the control efficiency matrix.
  • step S402 includes:
  • Step e obtaining the inverse matrix of the product matrix
  • Step f obtaining a control allocation matrix corresponding to the manipulation efficiency matrix based on the inverse matrix and the transposed matrix.
  • BBT is the product matrix
  • (BBT)-1 is the inverse matrix
  • BT is the transposed matrix of the manipulation efficiency matrix
  • B+ is the control allocation matrix
  • the transposed matrix of the control efficiency matrix is obtained, and based on the control efficiency matrix and the transposed matrix, the product matrix is obtained; if the product matrix is reversible, it is determined that the control efficiency matrix satisfies the preset speed distribution condition, and the control distribution matrix corresponding to the control efficiency matrix is obtained, thereby realizing accurate judgment of the speed distribution of the multi-rotor UAV and better clarifying the speed that each rotor currently needs to be allocated.
  • step S104 a fifth embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which includes in step S104:
  • Step S501 obtaining a second ratio corresponding to each of the rotors based on the maximum virtual control vector and the virtual control vector to be allocated, and obtaining an actual allocated rotational speed based on the second ratio and the rotational speed vector;
  • Step S502 adjusting the rotation speed corresponding to each of the rotors based on the actual allocated rotation speed.
  • the second ratio represents that the maximum virtual control vector is a multiple of the virtual control amount to be allocated, and the actual allocated rotational speed is the rotational speed actually allocated to each rotor.
  • the speed vector obtained by each iterative calculation is the maximum virtual control vector that can be allocated under the current power state and its corresponding speed vector.
  • the maximum virtual control vector here refers to the vector with the longest length along the direction of the virtual control vector to be allocated.
  • the virtual control vector v_0 to be allocated is [0.60.1,0.1,0.1]
  • the maximum virtual control vector v_i after a motor fails completely is [0.6,0.1,0.1,0.1]*1.5.
  • the speed corresponding to the distribution of the v_0 virtual control quantity we want to achieve is u_i*v_0/v_i, that is, u_i/1.5 for the above example.
  • the above method can complete the control distribution under the condition of motor failure, and then adjust the speed corresponding to each rotor.
  • the second ratio corresponding to each of the rotors is obtained, and based on the second ratio and the speed vector, the actual allocated speed is obtained. Then, based on the actual allocated speed, the speed corresponding to each of the rotors is adjusted, thereby achieving effective allocation of the speeds corresponding to each of the rotors, enabling the rotors to obtain more accurate allocation, and ensuring the flight stability of the multi-rotor UAV.
  • step S101 a sixth embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which includes in step S101:
  • Step S601 determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone;
  • Step S602 determining the manipulation efficiency matrix based on the conventional manipulation efficiency matrix and the health coefficient.
  • the health coefficient represents the theoretical tension at the current tension/current speed, that is, it represents the tension loss.
  • the conventional control efficiency matrix is the control efficiency matrix of the multi-rotor UAV when all the motors/rotors are operating normally.
  • the operating status includes the current of the motor corresponding to each of the rotors or the speed of each of the rotors.
  • the electronic control of a multi-rotor drone monitors the operating status of the motor/rotor in real time, such as current/speed, etc. Through monitoring, the health coefficient of the motor/rotor system can be evaluated.
  • the health coefficient represents the theoretical tension at the current thrust/current speed, that is, the thrust loss.
  • the health coefficient is 1, and when the motor/rotor system fails completely, the health coefficient is 0.
  • the electronic control will feed back the evaluated health coefficient to the flight control.
  • the electronic control and the flight control lose contact (when two-way communication cannot be achieved for a period of time, the electronic control is considered to be lost, usually because the communication line is physically disconnected or the power supply battery fails), the flight control considers that the health coefficient of the motor/rotor system is 0.
  • the eight electronic controls of an eight-rotor all feed back the health coefficients of the motor/rotor systems they control to the flight control, and the flight control obtains a health coefficient vector of length 8.
  • the flight control determines the control efficiency matrix based on the above health coefficients. For example, for a four-axis eight-propeller aircraft, the normal control efficiency matrix of its normal state is:
  • B0 is the conventional control efficiency matrix.
  • the positive and negative signs are determined by the corresponding rotor position and rotation direction, representing the contribution of the force generated by each rotor to the overall force of the aircraft.
  • the influence of the two rotors on the rolling moment on the left and right sides is naturally one positive influence and one negative influence.
  • Each column represents a propeller, and each column represents a control channel.
  • the first row represents the contribution of each propeller to the thrust (virtual control quantity), the second row represents the contribution to the rolling moment, the third row represents the contribution to the pitch moment, and the fourth row represents the contribution to the yaw moment.
  • B0 is the control efficiency matrix under normal conditions
  • k is the column vector of the health coefficient
  • n is the number of motors/rotors
  • B is the control efficiency matrix.
  • the health coefficient corresponding to each rotor in the rotor system of the multi-rotor UAV is determined by the current operating state of the multi-rotor UAV, and then the control efficiency matrix is determined based on the conventional control efficiency matrix and the health coefficient, thereby realizing the expression of the operating state of the multi-rotor UAV in the form of numerical values.
  • the control efficiency matrix more clearly describes the contribution of the corresponding rotation speed of each rotor to the virtual control quantity of each control channel, making the monitoring and control of the rotation speed more accurate and maintaining the flight stability of the multi-rotor UAV.
  • the present application also provides a multi-rotor aircraft, referring to FIG. 4 , the multi-rotor aircraft comprises:
  • a first determination module 10 is used to determine a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV based on a current operating state of the multi-rotor UAV;
  • An acquisition module 20 configured to acquire a control allocation matrix corresponding to the manipulation efficiency matrix if the manipulation efficiency matrix satisfies a preset speed allocation condition
  • a second determination module 30 is used to determine a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes a rotation speed to be allocated corresponding to each of the rotors;
  • the adjustment module 40 is used to adjust the rotation speed corresponding to each of the rotors based on the rotation speed vector, and return to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone.
  • the first determining module 10 is further configured to:
  • the steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  • the acquisition module 20 is further used for:
  • the product matrix is reversible, it is determined that the manipulation efficiency matrix satisfies a preset speed distribution condition, and a control distribution matrix corresponding to the manipulation efficiency matrix is obtained.
  • multi-rotor aircraft is also used for:
  • the second determining module 30 is further configured to:
  • the rotation speed vector is determined based on the virtual control vector to be allocated and the control allocation matrix.
  • multi-rotor aircraft is also used for:
  • a rotation speed vector corresponding to the rotor system is determined.
  • multi-rotor aircraft is also used for:
  • the maximum virtual control vector corresponding to the rotor system is obtained.
  • multi-rotor aircraft is also used for:
  • the remaining allocatable maximum rotation speed is set as the preset maximum rotation speed, and the remaining allocatable minimum rotation speed is set as the preset minimum rotation speed.
  • the adjustment module 40 is also used for:
  • the rotation speed corresponding to each of the rotors is adjusted.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium of the present application stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the control method of the multi-rotor aircraft as described above are implemented.
  • the method implemented when the computer-readable instructions running on the processor are executed can refer to the various embodiments of the control method of the multi-rotor aircraft in the present application, and will not be repeated here.
  • an embodiment of the present application also proposes a computer program product, which includes computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the control method of the multi-rotor aircraft as described above are implemented.
  • the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, optical disk
  • a terminal device which can be a mobile phone, computer, server, air conditioner, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Feedback Control In General (AREA)

Abstract

A multi-rotor aircraft, a control method therefor, a device, and a computer-readable storage medium. The method comprises: based on a present operating state of a multi-rotor unmanned aerial vehicle, determining an operation efficiency matrix corresponding to each rotor; acquiring control allocation matrices corresponding to the operation efficiency matrices; based on the control allocation matrices, determining rotational speed vectors corresponding to the rotor system; and based on the rotational speed vectors, adjusting the rotational speed corresponding to each rotor, and returning to the step for determining an operation efficiency matrix corresponding to each rotor on the basis of the present operating state of the multi-rotor unmanned aerial vehicle.

Description

多旋翼飞行器及其控制方法、设备、计算机可读存储介质Multirotor aircraft and control method, device and computer readable storage medium thereof
本申请要求于2022年10月26日提交中国专利局、申请号为202211314841.0、发明名称为“多旋翼飞行器及其控制方法、设备、计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims priority to a Chinese patent application filed with the China Patent Office on October 26, 2022, with application number 202211314841.0 and invention name “Multi-rotor aircraft and its control method, device, and computer-readable storage medium”, the entire contents of which are incorporated by reference in the application.
技术领域Technical Field
本申请涉及飞行器控制领域,尤其涉及一种多旋翼飞行器及其控制方法、设备、计算机可读存储介质。The present application relates to the field of aircraft control, and in particular to a multi-rotor aircraft and a control method, device, and computer-readable storage medium thereof.
背景技术Background technique
随着无人机的应用场景也越来越广泛,在无人机的飞行过程中,对其电机旋翼的转速控制越来越重要,现有技术中,针对超过4个旋翼的多旋翼无人机,主要是通过控制算法自身的鲁棒性进行动力失效容错控制,该技术容易导致失效瞬间多旋翼无人机机体姿态抖动过大甚至不可控而坠机,导致多旋翼无人机的动力失效容错控制的效果差,难以满足多旋翼无人机飞行的稳定性需求。As the application scenarios of drones become more and more extensive, the speed control of the motor rotors of drones is becoming more and more important during the flight of drones. In the existing technology, for multi-rotor drones with more than 4 rotors, power failure fault-tolerant control is mainly performed through the robustness of the control algorithm itself. This technology can easily cause the multi-rotor drone body to vibrate too much or even become uncontrollable at the moment of failure, resulting in a crash. This results in poor power failure fault-tolerant control of multi-rotor drones, making it difficult to meet the stability requirements of multi-rotor drone flight.
技术问题technical problem
本申请的主要目的在于提供一种多旋翼飞行器的控制方法设备、计算机可读存储介质,旨在解决多旋翼无人机的动力失效容错控制的效果差的技术问题。The main purpose of the present application is to provide a control method and device for a multi-rotor aircraft, and a computer-readable storage medium, aiming to solve the technical problem of poor power failure fault-tolerant control of multi-rotor drones.
技术解决方案Technical Solutions
为实现上述目的,本申请提供一种多旋翼飞行器的控制方法,所述多旋翼飞行器的控制方法包括:To achieve the above object, the present application provides a control method for a multi-rotor aircraft, the control method for a multi-rotor aircraft comprising:
基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;Determine, based on the current operating state of the multi-rotor UAV, a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV;
若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;If the control efficiency matrix satisfies the preset speed distribution condition, obtaining a control distribution matrix corresponding to the control efficiency matrix;
基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;Determine a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes rotation speeds to be allocated corresponding to each of the rotors;
基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。The rotation speed corresponding to each of the rotors is adjusted based on the rotation speed vector, and the step of returning to execute, based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
优选地,所述基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量的步骤包括:Preferably, the step of determining a rotation speed vector corresponding to the rotor system based on the control allocation matrix comprises:
基于多个控制通道,获取各个所述旋翼对应的待分配虚拟控制向量;Based on the multiple control channels, obtaining a virtual control vector to be allocated corresponding to each of the rotors;
基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量。The rotation speed vector is determined based on the virtual control vector to be allocated and the control allocation matrix.
优选地,所述基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量的步骤包括:Preferably, the step of determining the rotation speed vector based on the virtual control vector to be allocated and the control allocation matrix comprises:
基于待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量;Based on the virtual control vector to be allocated, obtaining a maximum virtual control vector corresponding to the rotor system;
基于所述最大虚拟控制向量和控制分配矩阵,确定所述旋翼系统对应的转速向量。Based on the maximum virtual control vector and the control allocation matrix, a rotation speed vector corresponding to the rotor system is determined.
优选地,所述基于待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量的步骤包括:Preferably, the step of obtaining the maximum virtual control vector corresponding to the rotor system based on the virtual control vector to be allocated comprises:
基于所述控制分配矩阵、待分配虚拟控制向量、各个所述旋翼对应的预设最大转速以及各个所述旋翼对应的预设最小转速,确定各个所述旋翼对应的比值范围,并获取所述比值范围内的最大比值作为各个所述旋翼对应的第一比值;Determine a ratio range corresponding to each of the rotors based on the control allocation matrix, the virtual control vector to be allocated, a preset maximum rotational speed corresponding to each of the rotors, and a preset minimum rotational speed corresponding to each of the rotors, and obtain a maximum ratio within the ratio range as a first ratio corresponding to each of the rotors;
基于所述各个所述旋翼对应的第一比值中最大的第一比值和待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量。Based on the largest first ratio among the first ratios corresponding to the rotors and the virtual control vector to be allocated, the maximum virtual control vector corresponding to the rotor system is obtained.
优选地,所述基于所述最大虚拟控制向量和控制分配矩阵,确定所述旋翼系统对应的转速向量的步骤之后,还包括:Preferably, after the step of determining the rotation speed vector corresponding to the rotor system based on the maximum virtual control vector and the control allocation matrix, the method further comprises:
基于预设最大转速、预设最小转速和转速向量,确定剩余可分配最大转速和剩余可分配最小转速;Determining a remaining allocatable maximum speed and a remaining allocatable minimum speed based on a preset maximum speed, a preset minimum speed, and a speed vector;
将所述剩余可分配最大转速设定为预设最大转速,将剩余可分配最小转速设定为预设最小转速。The remaining allocatable maximum rotation speed is set as the preset maximum rotation speed, and the remaining allocatable minimum rotation speed is set as the preset minimum rotation speed.
优选地,所述若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵的步骤包括:Preferably, if the manipulation efficiency matrix satisfies a preset speed distribution condition, the step of obtaining a control distribution matrix corresponding to the manipulation efficiency matrix comprises:
基于所述操纵效率矩阵,获取所述操纵效率矩阵的转置矩阵,并基于所述操纵效率矩阵和转置矩阵,获取乘积矩阵;Based on the manipulation efficiency matrix, obtaining a transposed matrix of the manipulation efficiency matrix, and based on the manipulation efficiency matrix and the transposed matrix, obtaining a product matrix;
若所述乘积矩阵可逆,则确定所述操纵效率矩阵满足预设转速分配条件,并获取所述操纵效率矩阵对应的控制分配矩阵。If the product matrix is reversible, it is determined that the manipulation efficiency matrix satisfies a preset speed distribution condition, and a control distribution matrix corresponding to the manipulation efficiency matrix is obtained.
优选地,所述获取所述操纵效率矩阵对应的控制分配矩阵的步骤包括:Preferably, the step of obtaining a control allocation matrix corresponding to the manipulation efficiency matrix comprises:
获取所述乘积矩阵的逆矩阵;Obtaining an inverse matrix of the product matrix;
基于所述逆矩阵和转置矩阵,获取所述操纵效率矩阵对应的控制分配矩阵。Based on the inverse matrix and the transposed matrix, a control allocation matrix corresponding to the manipulation efficiency matrix is obtained.
优选地,所述基于所述转速向量调节各个所述旋翼对应的转速的步骤包括:Preferably, the step of adjusting the rotational speed corresponding to each of the rotors based on the rotational speed vector comprises:
基于最大虚拟控制向量和待分配虚拟控制向量,获取各个所述旋翼对应的第二比值,并基于所述第二比值和转速向量,获取实际分配转速;Based on the maximum virtual control vector and the virtual control vector to be allocated, obtaining a second ratio corresponding to each of the rotors, and based on the second ratio and the rotation speed vector, obtaining an actual allocation rotation speed;
基于实际分配转速,调节各个所述旋翼对应的转速。Based on the actual allocated rotation speed, the rotation speed corresponding to each of the rotors is adjusted.
优选地,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:Preferably, the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV comprises:
基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;Determine the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone;
基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
优选地,所述当前运行状态包括所述各个所述旋翼对应电机的电流或各个所述旋翼的转速。Preferably, the current operating state includes the current of the motor corresponding to each of the rotors or the rotational speed of each of the rotors.
本申请实施例还提出一种多旋翼飞行器,所述多旋翼飞行器包括:The present application also provides a multi-rotor aircraft, the multi-rotor aircraft comprising:
第一确定模块,用于基于多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;A first determination module is used to determine a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV based on a current operating state of the multi-rotor UAV;
获取模块,用于若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;an acquisition module, configured to acquire a control allocation matrix corresponding to the manipulation efficiency matrix if the manipulation efficiency matrix satisfies a preset speed allocation condition;
第二确定模块,用于基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;A second determination module is used to determine a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes a rotation speed to be allocated corresponding to each of the rotors;
调整模块,用于基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤An adjustment module is used to adjust the speed corresponding to each of the rotors based on the speed vector, and return to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV
本申请实施例还提出一种多旋翼无人机设备,所述多旋翼无人机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述计算机可读指令被所述处理器执行时实现如上所述的多旋翼飞行器的控制方法方法的步骤。An embodiment of the present application also proposes a multi-rotor UAV device, which includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the computer-readable instructions, when executed by the processor, implement the steps of the control method of the multi-rotor aircraft as described above.
本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上所述的多旋翼飞行器的控制方法方法的步骤。An embodiment of the present application further provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor, the steps of the control method for the multi-rotor aircraft as described above are implemented.
有益效果Beneficial Effects
本申请通过基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵,若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵,接着基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速,最后基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤,The present application determines the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV. If the control efficiency matrix satisfies a preset speed distribution condition, a control allocation matrix corresponding to the control efficiency matrix is obtained. Then, based on the control allocation matrix, a speed vector corresponding to the rotor system is determined, wherein the speed vector includes a speed to be allocated corresponding to each rotor. Finally, based on the speed vector, the speed corresponding to each rotor is adjusted, and the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV is returned to execute.
通过监控多旋翼无人机当前的运行状态,当多旋翼无人机出现动力失效导致飞行不稳定的情况时,利用操纵效率矩阵和控制分配矩阵来为旋翼分配多余的转速,达到更好地控制旋翼的转速,稳定多旋翼无人机的飞行状态的目的,实现了多旋翼无人机飞行中遇到动力问题时,能实时调整旋翼转速来获得足够的动力,提升了多旋翼无人机动力失效容错控制的效果,提高了多旋翼无人机飞行过程的稳定性。By monitoring the current operating status of the multi-rotor UAV, when the multi-rotor UAV fails to fly stably due to power failure, the manipulation efficiency matrix and the control allocation matrix are used to allocate excess rotation speed to the rotor, so as to better control the rotor rotation speed and stabilize the flight state of the multi-rotor UAV. When the multi-rotor UAV encounters power problems during flight, the rotor speed can be adjusted in real time to obtain sufficient power, which improves the effect of the fault-tolerant control of the multi-rotor UAV power failure and improves the stability of the multi-rotor UAV flight process.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例方案涉及的硬件运行环境中多旋翼飞行器的控制设备的结构示意图;FIG1 is a schematic diagram of the structure of a control device for a multi-rotor aircraft in a hardware operating environment involved in an embodiment of the present application;
图2为本申请多旋翼飞行器控制方法第一实施例的流程示意图;FIG2 is a schematic diagram of a flow chart of a first embodiment of a multi-rotor aircraft control method of the present application;
图3为本申请多旋翼飞行器控制构型示意图;FIG3 is a schematic diagram of the control configuration of the multi-rotor aircraft of the present application;
图4为本申请多旋翼飞行器控制装置一实施例的功能模块示意图。FIG. 4 is a schematic diagram of functional modules of an embodiment of a multi-rotor aircraft control device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
本申请的实施方式Embodiments of the present application
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境中多旋翼飞行器控制设备的结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of the structure of a multi-rotor aircraft control device in a hardware operating environment involved in an embodiment of the present application.
本申请实施例多旋翼飞行器控制设备可以是PC。如图1所示,该多旋翼飞行器控制设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。The multi-rotor aircraft control device of the embodiment of the present application may be a PC. As shown in FIG1 , the multi-rotor aircraft control device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
可选地,多旋翼飞行器控制设备还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器,在此不再赘述。Optionally, the multi-rotor aircraft control device may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. Among them, sensors such as light sensors, motion sensors and other sensors are not described here.
本领域技术人员可以理解,图1中示出的终端结构并不构成对多旋翼飞行器控制设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the terminal structure shown in FIG. 1 does not constitute a limitation on the multi-rotor aircraft control device, and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及计算机可读指令。As shown in FIG. 1 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer-readable instructions.
在图1所示的多旋翼飞行器控制设备中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的计算机可读指令。In the multi-rotor aircraft control device shown in Figure 1, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the computer-readable instructions stored in the memory 1005.
在多旋翼飞行器控制设备包括:存储器1005、处理器1001及存储在所述存储器1005上并可在所述处理器1001上运行的计算机可读指令,其中,处理器1001调用存储器1005中存储的计算机可读指令时,并执行以下各个实施例中多旋翼飞行器的控制方法方法的步骤。The multi-rotor aircraft control device includes: a memory 1005, a processor 1001, and computer-readable instructions stored in the memory 1005 and executable on the processor 1001, wherein the processor 1001 calls the computer-readable instructions stored in the memory 1005 and executes the steps of the multi-rotor aircraft control method in the following embodiments.
本申请还提供一种方法,参照图2,图2为本申请多旋翼飞行器的控制方法第一实施例的流程示意图。The present application also provides a method, referring to FIG. 2 , which is a flow chart of a first embodiment of a control method for a multi-rotor aircraft of the present application.
该多旋翼飞行器的控制方法,应用于多旋翼无人机,包括以下步骤:The control method of the multi-rotor aircraft is applied to a multi-rotor UAV, and comprises the following steps:
步骤S101,基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵。Step S101, based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
多旋翼无人机是指超过4个旋翼的无人驾驶旋翼飞行器,操纵效率矩阵为描述无人机控制通道和多旋翼无人机转速之间关系的矩阵,操纵效率矩阵中的列向量数量由多旋翼无人机的旋翼数决定,行向量数量由无人机控制通道数决定,例如多旋翼无人机有8个浆和4个控制通道,4个控制通道分别控制着拉力、滚转力矩、俯仰力矩、偏航力矩,则在该操纵效率矩阵中,每一列代表一个桨,一共有8列,第一行代表每个桨对拉力的贡献,第二行代表对滚转力矩的贡献,第三行代表对俯仰力矩的贡献,第四行代表对偏航力矩的贡献。A multi-rotor UAV refers to an unmanned rotorcraft with more than 4 rotors. The control efficiency matrix is a matrix that describes the relationship between the UAV control channel and the rotational speed of the multi-rotor UAV. The number of column vectors in the control efficiency matrix is determined by the number of rotors of the multi-rotor UAV, and the number of row vectors is determined by the number of control channels of the UAV. For example, a multi-rotor UAV has 8 propellers and 4 control channels. The 4 control channels control the thrust, rolling moment, pitching moment, and yaw moment respectively. In the control efficiency matrix, each column represents a propeller, and there are 8 columns in total. The first row represents the contribution of each propeller to the thrust, the second row represents the contribution to the rolling moment, the third row represents the contribution to the pitching moment, and the fourth row represents the contribution to the yaw moment.
具体地,多旋翼无人机在飞行状态时,多旋翼无人机的电控实时监测多旋翼无人机的运行状态,包括电机/旋翼中的电流/转速等,可以用数值比的形式来评估电机/旋翼系统的运行状态,例如用当前转速/期望转速、当前拉力/当前转速下的理论拉力,若当前电机/旋翼都按照预期运行,则用1表示,若电机/旋翼未按照预期运行,则用数值比表示,完全失效则为0,数值比的范围可以设为0至1,用各个旋翼当前转速/期望转速或当前拉力/当前转速下的理论拉力作为行向量,用控制通道的数量作为列向量,确定多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵。一般情况下,多旋翼无人机在正常飞行状态下的操纵效率矩阵每一个浆都在正常地运转,为多旋翼无人机的各个控制通道提供了稳定的力,若电机/旋翼提供的电流/转速发生变化,比如能源不足,导致无法产生足够的电流,或者是旋翼受损,导致其转速不能提供需要的力,这时操纵效率矩阵就会发生改变,例如1号电机完全失效,那么操纵效率矩阵的第一列就会变成0。这时基于多旋翼无人机的状态变化,要重新确定旋翼无人机的操纵效率矩阵。通过实时监测多旋翼无人机的运行状态,来确定旋翼系统中各个旋翼对应的操纵效率矩阵,实现了对无人机飞行具体动力情况的掌控,能更好的了解无人机的动力情况,以便后续维护无人机的稳定性。Specifically, when the multi-rotor UAV is in flight, the electronic control of the multi-rotor UAV monitors the operating status of the multi-rotor UAV in real time, including the current/speed in the motor/rotor, etc. The operating status of the motor/rotor system can be evaluated in the form of a numerical ratio, for example, the current speed/expected speed, the current tension/theoretical tension at the current speed. If the current motor/rotor operates as expected, it is represented by 1. If the motor/rotor does not operate as expected, it is represented by a numerical ratio, and a complete failure is 0. The range of the numerical ratio can be set to 0 to 1, and the current speed/expected speed or current tension/theoretical tension at the current speed of each rotor is used as a row vector, and the number of control channels is used as a column vector to determine the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV. In general, each propeller in the control efficiency matrix of a multi-rotor drone in normal flight is operating normally, providing stable force for each control channel of the multi-rotor drone. If the current/speed provided by the motor/rotor changes, such as insufficient energy, resulting in insufficient current, or damage to the rotor, resulting in its speed not being able to provide the required force, the control efficiency matrix will change. For example, if motor No. 1 fails completely, the first column of the control efficiency matrix will become 0. At this time, based on the state change of the multi-rotor drone, the control efficiency matrix of the rotor drone must be re-determined. By real-time monitoring of the operating status of the multi-rotor drone, the control efficiency matrix corresponding to each rotor in the rotor system is determined, which realizes the control of the specific power situation of the drone flight, and can better understand the power situation of the drone, so as to maintain the stability of the drone in the future.
步骤S102,若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵。Step S102: if the control efficiency matrix satisfies a preset speed distribution condition, a control distribution matrix corresponding to the control efficiency matrix is obtained.
控制分配矩阵是用来计算每一个浆需要分配的转速的分配矩阵。在多旋翼无人机飞行的过程中,若电机/旋翼的运行状态发生了改变,进而使操纵效率矩阵发生变化,利用操纵效率矩阵变为控制分配矩阵的办法,是对操纵效率矩阵求逆就能得到的,即控制分配矩阵就是操纵效率矩阵的逆矩阵,而无法求逆的操纵效率矩阵是无法获得控制效率矩阵的,所以,将操纵效率矩阵能否求逆作为预设转速分配条件,实时对操纵效率矩阵求逆得到控制分配矩阵。但是对于超过4个旋翼的多旋翼,如4轴八桨,其B矩阵不是方阵,无法直接求逆,所以取其广义逆矩阵获取控制分配矩阵,可以先取操纵效率矩阵的转置矩阵,然后再根据操纵效率矩阵和它的转置矩阵求得广义逆矩阵,即控制效率矩阵。操纵效率矩阵变化的体现,主要表现在电机/旋翼上,例如图3所示,CW(Clockwise)表示同步电机顺时针旋转,CCW(Counter Clockwise)表示同步电机逆时针旋转,1/4/6/7号电机/旋翼为多旋翼无人机右边电机/旋翼,2/3/5/8号电机/旋翼为多旋翼无人机左边电机/旋翼,x和y为向量轴,当2/5/3/8号电机/旋翼完全失效,无法进行控制分配,直观上来讲就是飞机左边的四个桨全部不转,那么飞机肯定保持不了平衡,这时是无法通过操纵效率矩阵获得控制分配矩阵,进而不存在调整剩余浆的转速,这时属于操纵效率矩阵不满足预设转速分配条件,但是假设是5/6/7/8号电机完全失效,也就是说上面的4个桨停止转动了,那么下面4个桨还能保持平衡,可以通过控制旋翼的转速来稳定多旋翼无人机的飞行,并且从数学上来讲,这时是可以通过操纵效率矩阵计算出控制分配矩阵的,即满足预设转速分配条件,可对操纵效率矩阵求逆得到控制分配矩阵。通过判断当前多旋翼无人机的操纵效率矩阵来是否满足预设转速分配条件,来获取对应控制分配矩阵,实现了对多旋翼无人机控制分配转速的精确把控,获得的控制分配矩阵能大大提高后续对旋翼进行转速分配的准确性。The control allocation matrix is used to calculate the speed distribution matrix that each propeller needs to allocate. During the flight of a multi-rotor drone, if the operating state of the motor/rotor changes, the control efficiency matrix will change. The control efficiency matrix can be converted into a control allocation matrix by inverting the control efficiency matrix, that is, the control allocation matrix is the inverse matrix of the control efficiency matrix. If the control efficiency matrix cannot be inverted, the control efficiency matrix cannot be obtained. Therefore, whether the control efficiency matrix can be inverted is used as a preset speed distribution condition, and the control efficiency matrix is inverted in real time to obtain the control allocation matrix. However, for multi-rotors with more than 4 rotors, such as 4-axis eight-propeller, its B matrix is not a square matrix and cannot be directly inverted. Therefore, its generalized inverse matrix is taken to obtain the control allocation matrix. The transposed matrix of the control efficiency matrix can be taken first, and then the generalized inverse matrix, that is, the control efficiency matrix, can be obtained based on the control efficiency matrix and its transposed matrix. The change of the control efficiency matrix is mainly reflected in the motor/rotor. For example, as shown in Figure 3, CW (Clockwise) means that the synchronous motor rotates clockwise, CCW (Counter Clockwise) indicates that the synchronous motor rotates counterclockwise, motors/rotors 1/4/6/7 are the right motors/rotors of the multi-rotor drone, motors/rotors 2/3/5/8 are the left motors/rotors of the multi-rotor drone, and x and y are vector axes. When motors/rotors 2/5/3/8 fail completely, control allocation cannot be performed. Intuitively, the four propellers on the left side of the aircraft do not rotate, so the aircraft cannot maintain balance. At this time, the control allocation matrix cannot be obtained through the control efficiency matrix, and then there is no adjustment of the speed of the remaining propellers. At this time, the control efficiency matrix does not meet the preset speed allocation conditions, but assuming that motors 5/6/7/8 fail completely, that is, the upper four propellers stop rotating, then the lower four propellers can still maintain balance, and the flight of the multi-rotor drone can be stabilized by controlling the speed of the rotors. Mathematically speaking, the control allocation matrix can be calculated through the control efficiency matrix at this time, that is, the preset speed allocation conditions are met, and the control efficiency matrix can be inverted to obtain the control allocation matrix. By judging whether the current multi-rotor UAV's control efficiency matrix meets the preset speed distribution conditions, the corresponding control distribution matrix is obtained, which enables precise control of the multi-rotor UAV's control distribution speed. The obtained control distribution matrix can greatly improve the accuracy of subsequent rotor speed distribution.
步骤S103,基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速。Step S103: determining a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes rotation speeds to be allocated corresponding to each of the rotors.
转速向量是包括各个旋翼分配的转速大小、转速方向;待分配转速是指各个旋翼在当前转速需要增加或者减少的转速量。The speed vector includes the speed size and speed direction allocated to each rotor; the speed to be allocated refers to the speed amount that each rotor needs to increase or decrease at the current speed.
多旋翼无人机在飞行的过程中,电机/旋翼发生了变化,进而使操纵效率矩阵和控制分配矩阵发生了改变,这时某些旋翼当前的转速需要调整。多旋翼无人机在飞行中电机/旋翼的变化可能是持续的,操纵效率矩阵也可能在不断的变化,对应的控制分配矩阵也在变化,这时基于控制分配矩阵中的行列值,将多旋翼无人机剩余的电机油门分配给对应的电机,提高电机功率,或者基于控制分配矩阵中的行列值,将所有待分配的转速向量分配给需要分配的旋翼,确定各个旋翼对应的转速向量,例如控制分配矩阵显示多旋翼无人机的1号浆期望的拉力是10N,但是由于1号浆的转速不足,提供的拉力只有8N,这时就基于控制分配矩阵,将多旋翼无人机可分配的转速分配一部分给1号浆,达到让多旋翼无人机在空中稳定飞行的目的,以达到让多旋翼无人机在空中稳定飞行的目的,通过控制分配矩阵内列与行向量的变化,来调整对应旋翼的转速向量,实现了对多旋翼无人机实时动力情况的容错控制,大大提高了对多旋翼无人机旋翼转速的控制程度,保证了其飞行时的稳定性。During the flight of a multi-rotor drone, the motor/rotor changes, which in turn changes the control efficiency matrix and the control allocation matrix. At this time, the current rotation speed of some rotors needs to be adjusted. The changes of motors/rotors of multi-rotor drones during flight may be continuous, the control efficiency matrix may also be constantly changing, and the corresponding control allocation matrix is also changing. At this time, based on the row and column values in the control allocation matrix, the remaining motor throttle of the multi-rotor drone is allocated to the corresponding motor to increase the motor power, or based on the row and column values in the control allocation matrix, all speed vectors to be allocated are allocated to the rotors to be allocated, and the speed vectors corresponding to each rotor are determined. For example, the control allocation matrix shows that the expected pulling force of the No. 1 propeller of the multi-rotor drone is 10N, but due to the insufficient speed of the No. 1 propeller, the pulling force provided is only 8N. At this time, based on the control allocation matrix, a part of the allocable speed of the multi-rotor drone is allocated to the No. 1 propeller, so as to achieve the purpose of making the multi-rotor drone fly stably in the air, so as to achieve the purpose of making the multi-rotor drone fly stably in the air, and adjust the speed vector of the corresponding rotor by controlling the changes of the column and row vectors in the allocation matrix, so as to realize the fault-tolerant control of the real-time power situation of the multi-rotor drone, greatly improve the control degree of the rotor speed of the multi-rotor drone, and ensure its stability during flight.
步骤S104,基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。Step S104, adjusting the rotation speed corresponding to each of the rotors based on the rotation speed vector, and returning to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV.
多旋翼无人机在空中飞行时,通过操纵效率矩阵获得对应的控制分配矩阵,获得旋翼对应的转速向量,多旋翼无人机的旋翼系统获得转速向量后,根据向量的值,进而对旋翼对应的转速做出调整,例如,1号浆的转速向量由+1变成了+5,则在1号浆原本旋转方向的基础上加上4个单位转速,对应旋翼的转速经过调整后,又能产生足够的力来使多旋翼无人机达到期望的运行状态,同时,随着多旋翼无人机飞行状态的改变,继续重复上述步骤对旋翼的转速进行调整,通过不断地计算多旋翼无人机的转速向量,从而调整旋翼对应的转速,使旋翼能产生足够的力,实现了多旋翼无人机的动力情况的检测和控制,提高了旋翼系统对付各种动力情况的容错控制能力,也提高了多旋翼无人机的飞行稳定性。When a multi-rotor UAV is flying in the air, the corresponding control allocation matrix is obtained by manipulating the efficiency matrix to obtain the speed vector corresponding to the rotor. After the rotor system of the multi-rotor UAV obtains the speed vector, it adjusts the speed corresponding to the rotor according to the value of the vector. For example, the speed vector of propeller No. 1 changes from +1 to +5, then 4 unit speeds are added to the original rotation direction of propeller No. 1. After the speed of the corresponding rotor is adjusted, it can generate enough force to make the multi-rotor UAV reach the desired operating state. At the same time, as the flight state of the multi-rotor UAV changes, the above steps are repeated to adjust the speed of the rotor. By continuously calculating the speed vector of the multi-rotor UAV, the speed corresponding to the rotor is adjusted so that the rotor can generate enough force, thereby realizing the detection and control of the power situation of the multi-rotor UAV, improving the fault-tolerant control capability of the rotor system to deal with various power situations, and improving the flight stability of the multi-rotor UAV.
通过基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵,若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵,接着基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速,最后基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。通过监控多旋翼无人机当前的运行状态,当多旋翼无人机出现动力失效导致飞行不稳定的情况时,利用操纵效率矩阵和控制分配矩阵来为旋翼分配多余的转速,达到更好地控制旋翼的转速,稳定多旋翼无人机的飞行状态的目的,实现了多旋翼无人机飞行中遇到动力问题时,能实时调整旋翼转速来获得足够的动力,提高了多旋翼无人机飞行的稳定性,解决了多旋翼无人机动力失效容错控制差的问题。Based on the current running state of the multi-rotor UAV, the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV is determined. If the control efficiency matrix meets the preset speed distribution condition, the control distribution matrix corresponding to the control efficiency matrix is obtained. Then, based on the control distribution matrix, the speed vector corresponding to the rotor system is determined, wherein the speed vector includes the speed to be distributed corresponding to each rotor. Finally, the speed corresponding to each rotor is adjusted based on the speed vector, and the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current running state of the multi-rotor UAV is returned. By monitoring the current running state of the multi-rotor UAV, when the multi-rotor UAV fails to fly stably due to power failure, the control efficiency matrix and the control distribution matrix are used to distribute excess speed to the rotor, so as to better control the speed of the rotor and stabilize the flight state of the multi-rotor UAV. When the multi-rotor UAV encounters power problems during flight, the rotor speed can be adjusted in real time to obtain sufficient power, thereby improving the flight stability of the multi-rotor UAV and solving the problem of poor fault tolerance control of power failure of the multi-rotor UAV.
基于第一实施例,提出本申请多旋翼飞行器的控制方法的第二实施例,在步骤S103包括:Based on the first embodiment, a second embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which includes in step S103:
步骤S201,基于多个控制通道,获取各个所述旋翼对应的待分配虚拟控制向量;Step S201, based on multiple control channels, obtaining a virtual control vector to be allocated corresponding to each of the rotors;
步骤S202,基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量。Step S202: determining the rotation speed vector based on the virtual control vector to be allocated and the control allocation matrix.
控制通道是飞控内部控制多旋翼无人机运行状态的通道,比如推力控制通道、滚转控制通道,俯仰控制通道,偏航控制通道。待分配虚拟控制向量是飞控通过控制算法在控制通道上计算出来的期望分配的控制量。The control channel is the channel inside the flight control system that controls the operating status of the multi-rotor drone, such as the thrust control channel, roll control channel, pitch control channel, and yaw control channel. The virtual control vector to be allocated is the control quantity that is expected to be allocated calculated by the flight control system through the control algorithm on the control channel.
典型的飞控算法一般包括控制器和分配器两部分,控制器主要根据指令和传感器数据生成4个控制通道(包括高度通道、滚转通道、俯仰通道、偏航通道)的期望待分配虚拟控制向量,一般由位置环/速度环/姿态环/角速度环组成,通常采用PID算法、ADRC算法、MPC算法、LQR算法等实现,这些算法在不同构型飞行器上大致相同,都可以共用。A typical flight control algorithm generally consists of two parts: a controller and a distributor. The controller mainly generates the expected virtual control vectors to be allocated for the four control channels (including altitude channel, roll channel, pitch channel, and yaw channel) based on instructions and sensor data. It is generally composed of a position loop/velocity loop/attitude loop/angular velocity loop, and is usually implemented using PID algorithm, ADRC algorithm, MPC algorithm, LQR algorithm, etc. These algorithms are roughly the same on aircraft of different configurations and can be shared.
多旋翼无人机在飞行的过程中,多旋翼无人机的飞控内部通过PID控制算法会计算出4个控制通道上的待分配虚拟控制向量,分别为推力待分配虚拟控制向量,滚转待分配虚拟控制向量,俯仰待分配虚拟控制向量,偏航待分配虚拟控制向量,4个待分配虚拟控制向量组成了一个长度为4的待分配虚拟控制向量,接着多旋翼无人机的分配器主要根据控制器输出的4个待分配虚拟控制向量,结合控制分配矩阵和多旋翼构型,分配为每个电机/旋翼的期望转速向量,进而从转速向量中获取具体转速,并将转速输出给电机/旋翼,注意这里的转速既可以以物理转速体现也可以以油门体现,本质上还是让电机/旋翼产生期望的转速进而产生期望的力,从而实现动力容错控制,具体地,一实施例中,该步骤S202包括:During the flight of the multi-rotor drone, the flight control of the multi-rotor drone will calculate the virtual control vectors to be allocated on the four control channels through the PID control algorithm, namely the thrust virtual control vector to be allocated, the roll virtual control vector to be allocated, the pitch virtual control vector to be allocated, and the yaw virtual control vector to be allocated. The four virtual control vectors to be allocated constitute a virtual control vector to be allocated with a length of 4. Then the distributor of the multi-rotor drone mainly allocates the desired speed vector of each motor/rotor based on the four virtual control vectors to be allocated output by the controller, combined with the control allocation matrix and the multi-rotor configuration, and then obtains the specific speed from the speed vector and outputs the speed to the motor/rotor. Note that the speed here can be reflected in both physical speed and throttle. In essence, it is to make the motor/rotor generate the desired speed and then generate the desired force, thereby realizing power fault-tolerant control. Specifically, in one embodiment, step S202 includes:
步骤a,基于待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量;Step a, based on the virtual control vector to be allocated, obtaining the maximum virtual control vector corresponding to the rotor system;
步骤b,基于所述最大虚拟控制向量和控制分配矩阵,确定所述旋翼系统对应的转速向量。Step b: determining the rotation speed vector corresponding to the rotor system based on the maximum virtual control vector and the control allocation matrix.
最大虚拟控制向量是指的是各个旋翼目前能分配的最大控制向量,多旋翼无人机在飞行中,飞控内部控制算法会计算出4个控制通道上的待分配虚拟控制向量,接着算出了各个旋翼能当前接受的最大虚拟控制向量,接着通过以下公式计算出此次分配的转速向量:The maximum virtual control vector refers to the maximum control vector that can be currently allocated to each rotor. When a multi-rotor drone is in flight, the flight control internal control algorithm will calculate the virtual control vectors to be allocated on the four control channels, and then calculate the maximum virtual control vector that each rotor can currently accept, and then calculate the speed vector allocated this time through the following formula:
u_i=B+*v_i;u_i=B+*v_i;
其中,u_i为第i个旋翼分配的转速向量,B+为控制分配矩阵,v_i为第i个旋翼的最大虚拟控制量向量,每一步分配的最大虚拟控制量向量都保证了转速不超过剩余可分配转速,即每一步分配总会使得某一个电机/旋翼转速饱和,相当于每一步都在求边界上的值,既不会超过边界(分配出来的转速小于预设最大转速)也不会在边界以内(分配的转速都大于预设最小转速),具体表现形式为:umin_i≤u_i≤umax_i;Among them, u_i is the speed vector assigned to the i-th rotor, B+ is the control allocation matrix, and vi_i is the maximum virtual control quantity vector of the i-th rotor. The maximum virtual control quantity vector assigned at each step ensures that the speed does not exceed the remaining assignable speed, that is, each step of allocation will always saturate the speed of a certain motor/rotor, which is equivalent to seeking a value on the boundary at each step, which will neither exceed the boundary (the assigned speed is less than the preset maximum speed) nor be within the boundary (the assigned speed is greater than the preset minimum speed). The specific expression is: umin_i≤u_i≤umax_i;
其中,umin_i为预设最小转速,umax_i为预设最大转速,u_i为第i个旋翼分配的转速。具体地,一实施例中,该步骤a包括:Wherein, umin_i is the preset minimum speed, umax_i is the preset maximum speed, and u_i is the speed assigned to the i-th rotor. Specifically, in one embodiment, step a includes:
步骤c,基于所述控制分配矩阵、待分配虚拟控制向量、各个所述旋翼对应的预设最大转速以及各个所述旋翼对应的预设最小转速,确定各个所述旋翼对应的比值范围,并获取所述比值范围内的最大比值作为各个所述旋翼对应的第一比值;Step c, determining a ratio range corresponding to each of the rotors based on the control allocation matrix, the virtual control vector to be allocated, a preset maximum rotational speed corresponding to each of the rotors, and a preset minimum rotational speed corresponding to each of the rotors, and obtaining a maximum ratio within the ratio range as a first ratio corresponding to each of the rotors;
步骤d,基于所述各个所述旋翼对应的第一比值中最大的第一比值和待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量。Step d: obtaining a maximum virtual control vector corresponding to the rotor system based on the largest first ratio among the first ratios corresponding to the rotors and the virtual control vector to be allocated.
预设最大转速和预设最小转速为各个旋翼能提供的最大转速和最小转速,比值范围是由当前分配的转速大于等于预设最小转速,并且小于等于预设最大转速的条件计算得出,第一比值是在比值范围中最大的比值,主要是作为计算旋翼系统对应的最大虚拟控制向量的参数。多旋翼无人机在飞行时,基于控制分配矩阵、待分配虚拟控制向量、各个旋翼对应的预设最大转速以及各个旋翼对应的预设最小转速,取得各个旋翼对应的比值范围,例如多旋翼无人机有8个浆,则有8个比值范围,接着,各个旋翼分别取对应比值范围中最大的比值作为第一比值,最后选取所有第一比值中最大的第一比值和待分配虚拟控制向量,获取最大虚拟控制向量,公式为:v_i=k1*v_0;The preset maximum speed and the preset minimum speed are the maximum speed and the minimum speed that each rotor can provide. The ratio range is calculated based on the condition that the currently assigned speed is greater than or equal to the preset minimum speed and less than or equal to the preset maximum speed. The first ratio is the largest ratio in the ratio range, which is mainly used as a parameter for calculating the maximum virtual control vector corresponding to the rotor system. When a multi-rotor drone is flying, based on the control allocation matrix, the virtual control vector to be allocated, the preset maximum speed corresponding to each rotor, and the preset minimum speed corresponding to each rotor, the ratio range corresponding to each rotor is obtained. For example, if a multi-rotor drone has 8 propellers, there are 8 ratio ranges. Then, each rotor takes the largest ratio in the corresponding ratio range as the first ratio. Finally, the largest first ratio among all the first ratios and the virtual control vector to be allocated are selected to obtain the maximum virtual control vector. The formula is: v_i=k1*v_0;
其中,v_i为第i个旋翼的最大虚拟控制量向量,v_0为待分配虚拟控制向量,k1为第一比值。Among them, v_i is the maximum virtual control quantity vector of the i-th rotor, v_0 is the virtual control vector to be allocated, and k1 is the first ratio.
通过多个控制通道,获取各个旋翼对应的待分配虚拟控制向量,并基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量,实现了对多旋翼无人机实时转速的控制,大大提高了对多旋翼无人机旋翼飞行时动力的容错程度,保证了其飞行时的稳定性。Through multiple control channels, the virtual control vectors to be allocated corresponding to each rotor are obtained, and based on the virtual control vectors to be allocated and the control allocation matrix, the speed vector is determined, thereby realizing the real-time speed control of the multi-rotor UAV, greatly improving the fault tolerance of the power of the multi-rotor UAV rotor during flight, and ensuring its stability during flight.
基于第二实施例,提出本申请多旋翼飞行器的控制方法的第三实施例,在步骤b之后,还包括:Based on the second embodiment, a third embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which, after step b, further includes:
步骤S301,基于预设最大转速、预设最小转速和转速向量,确定剩余可分配最大转速和剩余可分配最小转速;Step S301, determining a remaining allocatable maximum speed and a remaining allocatable minimum speed based on a preset maximum speed, a preset minimum speed and a speed vector;
步骤S302,将所述剩余可分配最大转速设定为预设最大转速,将剩余可分配最小转速设定为预设最小转速。Step S302: setting the remaining allocatable maximum speed as a preset maximum speed, and setting the remaining allocatable minimum speed as a preset minimum speed.
剩余可分配最大转速是各个旋翼当前分配转速后,还可以继续分配的最大转速值,剩余可分配最小转速是各个旋翼当前分配转速后,还可以继续分配的最小转速值。The remaining allocable maximum speed is the maximum speed value that can be further allocated after the current speed allocation of each rotor, and the remaining allocable minimum speed is the minimum speed value that can be further allocated after the current speed allocation of each rotor.
多旋翼无人机通过控制分配矩阵和待分配虚拟控制向量,计算出各个旋翼对应分配的转速后,因为多旋翼无人机可分配的转速是有限的,所以每一次为各个旋翼分配转速后,都要用预设最大转速和预设最小转速减去当前分配的转速,保证下一轮分配的转速,不会超过剩余的转速,具体公式为: umax_(i+1)=umax_(i)-u_i,umin_(i+1)=umin_(i)-u_i;After the multi-rotor drone calculates the speed assigned to each rotor through the control allocation matrix and the virtual control vector to be allocated, because the speed that can be allocated to the multi-rotor drone is limited, each time the speed is allocated to each rotor, the preset maximum speed and the preset minimum speed must be subtracted from the current allocated speed to ensure that the speed allocated in the next round will not exceed the remaining speed. The specific formula is: umax_(i+1)=umax_(i)-u_i, umin_(i+1)=umin_(i)-u_i;
其中,umax_(i+1)为i+1时刻各个旋翼的最大转速,umin_(i+1)为i+1时刻各个旋翼的最小转速,umin_(i)为i时刻各个旋翼的预设最小转速,umax_(i)为i时刻各个旋翼的预设最大转速,u_i为i时刻各个旋翼分配的转速。在更新剩余可分配转速后,就将剩余可分配最大转速设定为下一次分配的预设最大转速,将剩余可分配最小转速设定为下一次分配的预设最小转速,保证每一次分配的转速都不会超过预设值,具体为:Among them, umax_(i+1) is the maximum speed of each rotor at time i+1, umin_(i+1) is the minimum speed of each rotor at time i+1, umin_(i) is the preset minimum speed of each rotor at time i, umax_(i) is the preset maximum speed of each rotor at time i, and u_i is the speed allocated to each rotor at time i. After updating the remaining allocatable speed, the remaining allocatable maximum speed is set to the preset maximum speed for the next allocation, and the remaining allocatable minimum speed is set to the preset minimum speed for the next allocation, to ensure that the speed of each allocation will not exceed the preset value, specifically:
umin_(i+1)≤u_(i+1)≤umax_(i+1);umin_(i+1)≤u_(i+1)≤umax_(i+1);
其中,u_(i+1)为i+1时刻各个旋翼分配的转速。Among them, u_(i+1) is the rotation speed assigned to each rotor at time i+1.
通过预设最大转速、预设最小转速和转速向量,确定剩余可分配最大转速和剩余可分配最小转速,接着将所述剩余可分配最大转速设定为预设最大转速,将剩余可分配最小转速设定为预设最小转速,使转速每一次分配的转速都不会超过剩余可分配的转速,提高了转速分配的准确率。By presetting the maximum speed, the minimum speed and the speed vector, the remaining allocatable maximum speed and the remaining allocatable minimum speed are determined, and then the remaining allocatable maximum speed is set as the preset maximum speed, and the remaining allocatable minimum speed is set as the preset minimum speed, so that the speed of each speed distribution will not exceed the remaining allocatable speed, thereby improving the accuracy of speed distribution.
基于第一实施例,提出本申请多旋翼飞行器的控制方法的第四实施例,在步骤S102包括:Based on the first embodiment, a fourth embodiment of the control method of the multi-rotor aircraft of the present application is proposed, and step S102 includes:
步骤S401,基于所述操纵效率矩阵,获取所述操纵效率矩阵的转置矩阵,并基于所述操纵效率矩阵和转置矩阵,获取乘积矩阵;Step S401, based on the manipulation efficiency matrix, obtaining a transposed matrix of the manipulation efficiency matrix, and based on the manipulation efficiency matrix and the transposed matrix, obtaining a product matrix;
步骤S402,若所述乘积矩阵可逆,则确定所述操纵效率矩阵满足预设转速分配条件,并获取所述操纵效率矩阵对应的控制分配矩阵。Step S402: If the product matrix is reversible, determine whether the control efficiency matrix satisfies a preset speed distribution condition, and obtain a control distribution matrix corresponding to the control efficiency matrix.
多旋翼无人机在基于当前运行状态,获得操纵效率矩阵后,则判断当前多旋翼无人机的状态是不是适合继续分配转速,具体地判断方法就是判断是否能基于操纵效率矩阵获得控制分配矩阵,但是对于超过4个旋翼的多旋翼,如4轴八桨,其操纵效率矩阵不是方阵,无法直接求逆,通常的做法是取其广义逆矩阵B+=BT(BBT)-1,其中B是操纵效率矩阵,BT是操纵效率矩阵的转置矩阵,B+是控制分配矩阵,所以判断的方法就是通过判断BBT矩阵是否可逆得到,乘积矩阵可逆,则确定操纵效率矩阵满足预设转速分配条件,并获取操纵效率矩阵对应的控制分配矩阵,具体地,一实施例中,该步骤S402包括:After the multi-rotor UAV obtains the control efficiency matrix based on the current operating state, it determines whether the current state of the multi-rotor UAV is suitable for continuing to distribute the speed. The specific judgment method is to determine whether the control allocation matrix can be obtained based on the control efficiency matrix. However, for a multi-rotor with more than 4 rotors, such as a 4-axis 8-propeller, its control efficiency matrix is not a square matrix and cannot be directly inverted. The usual practice is to take its generalized inverse matrix B+=BT(BBT)-1, where B is the control efficiency matrix, BT is the transposed matrix of the control efficiency matrix, and B+ is the control allocation matrix. Therefore, the judgment method is to determine whether the BBT matrix is reversible. If the product matrix is reversible, it is determined that the control efficiency matrix meets the preset speed distribution condition, and the control allocation matrix corresponding to the control efficiency matrix is obtained. Specifically, in one embodiment, step S402 includes:
步骤e,获取所述乘积矩阵的逆矩阵;Step e, obtaining the inverse matrix of the product matrix;
步骤f,基于所述逆矩阵和转置矩阵,获取所述操纵效率矩阵对应的控制分配矩阵。Step f: obtaining a control allocation matrix corresponding to the manipulation efficiency matrix based on the inverse matrix and the transposed matrix.
若多旋翼无人机的当前操纵效率矩阵满足预设转速分配条件,即操纵效率矩阵和它的转置矩阵的乘积矩阵可逆,则计算获得他们乘积矩阵的逆矩阵,接着利用逆矩阵和转置矩阵,基于其广义逆矩阵的形式获取控制分配矩阵,具体为:B+=BT(BBT)-1;If the current control efficiency matrix of the multi-rotor UAV meets the preset speed distribution condition, that is, the product matrix of the control efficiency matrix and its transposed matrix is invertible, then the inverse matrix of their product matrix is calculated, and then the control distribution matrix is obtained based on the generalized inverse matrix using the inverse matrix and the transposed matrix, specifically: B+=BT(BBT)-1;
其中,BBT是乘积矩阵,(BBT)-1是逆矩阵,BT是操纵效率矩阵的转置矩阵,B+是控制分配矩阵。Among them, BBT is the product matrix, (BBT)-1 is the inverse matrix, BT is the transposed matrix of the manipulation efficiency matrix, and B+ is the control allocation matrix.
通过所述操纵效率矩阵,获取所述操纵效率矩阵的转置矩阵,并基于所述操纵效率矩阵和转置矩阵,获取乘积矩阵;若所述乘积矩阵可逆,则确定所述操纵效率矩阵满足预设转速分配条件,并获取所述操纵效率矩阵对应的控制分配矩阵,实现了对多旋翼无人机转速分配的准确判断,也更好地明确了各个旋翼当前需要分配的转速。Through the control efficiency matrix, the transposed matrix of the control efficiency matrix is obtained, and based on the control efficiency matrix and the transposed matrix, the product matrix is obtained; if the product matrix is reversible, it is determined that the control efficiency matrix satisfies the preset speed distribution condition, and the control distribution matrix corresponding to the control efficiency matrix is obtained, thereby realizing accurate judgment of the speed distribution of the multi-rotor UAV and better clarifying the speed that each rotor currently needs to be allocated.
基于第一实施例,提出本申请多旋翼飞行器的控制方法的第五实施例,在步骤S104包括:Based on the first embodiment, a fifth embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which includes in step S104:
步骤S501,基于最大虚拟控制向量和待分配虚拟控制向量,获取各个所述旋翼对应的第二比值,并基于所述第二比值和转速向量,获取实际分配转速;Step S501, obtaining a second ratio corresponding to each of the rotors based on the maximum virtual control vector and the virtual control vector to be allocated, and obtaining an actual allocated rotational speed based on the second ratio and the rotational speed vector;
步骤S502,基于实际分配转速,调节各个所述旋翼对应的转速。Step S502: adjusting the rotation speed corresponding to each of the rotors based on the actual allocated rotation speed.
第二比值代表最大虚拟控制向量是待分配虚拟控制量的一个倍数,实际分配转速是各个旋翼实际分配的转速。The second ratio represents that the maximum virtual control vector is a multiple of the virtual control amount to be allocated, and the actual allocated rotational speed is the rotational speed actually allocated to each rotor.
每一步迭代计算得到的转速向量,为当前动力状态下,所能分配的最大虚拟控制向量和其对应的转速向量,这里的最大虚拟控制向量是指沿着待分配虚拟控制向量方向上的长度最大的向量,例如待分配虚拟控制向量v_0为[0.60.1,0.1,0.1],且算得1个电机完全失效后的最大虚拟控制向量v_i为[0.6,0.1,0.1,0.1]*1.5,则最终我们要实现的v_0虚拟控制量的分配,其对应的转速就是u_i*v_0/v_i,即对于上述例子则为u_i/1.5。通过上述方法可以完成电机失效条件下的控制分配,进而调节各个旋翼对应的转速。The speed vector obtained by each iterative calculation is the maximum virtual control vector that can be allocated under the current power state and its corresponding speed vector. The maximum virtual control vector here refers to the vector with the longest length along the direction of the virtual control vector to be allocated. For example, the virtual control vector v_0 to be allocated is [0.60.1,0.1,0.1], and the maximum virtual control vector v_i after a motor fails completely is [0.6,0.1,0.1,0.1]*1.5. Then, the speed corresponding to the distribution of the v_0 virtual control quantity we want to achieve is u_i*v_0/v_i, that is, u_i/1.5 for the above example. The above method can complete the control distribution under the condition of motor failure, and then adjust the speed corresponding to each rotor.
通过最大虚拟控制向量和待分配虚拟控制向量,获取各个所述旋翼对应的第二比值,并基于所述第二比值和转速向量,获取实际分配转速,然后基于实际分配转速,调节各个所述旋翼对应的转速,实现了对各个所述旋翼对应转速的有效分配,使旋翼能获得更准确的分配,保证了多旋翼无人机飞行的稳定性。Through the maximum virtual control vector and the virtual control vector to be allocated, the second ratio corresponding to each of the rotors is obtained, and based on the second ratio and the speed vector, the actual allocated speed is obtained. Then, based on the actual allocated speed, the speed corresponding to each of the rotors is adjusted, thereby achieving effective allocation of the speeds corresponding to each of the rotors, enabling the rotors to obtain more accurate allocation, and ensuring the flight stability of the multi-rotor UAV.
基于上述各个实施例,提出本申请多旋翼飞行器的控制方法的第六实施例,在步骤S101包括:Based on the above embodiments, a sixth embodiment of the control method of the multi-rotor aircraft of the present application is proposed, which includes in step S101:
步骤S601,基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;Step S601, determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone;
步骤S602,基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。Step S602: determining the manipulation efficiency matrix based on the conventional manipulation efficiency matrix and the health coefficient.
健康系数表征了当前拉力/当前转速下的理论拉力,即表征了拉力损失,常规操纵效率矩阵是电机/旋翼全部正常运行时,多旋翼无人机的操纵效率矩阵,具体地,一实施例中,运行状态包括述各个所述旋翼对应电机的电流或各个所述旋翼的转速。The health coefficient represents the theoretical tension at the current tension/current speed, that is, it represents the tension loss. The conventional control efficiency matrix is the control efficiency matrix of the multi-rotor UAV when all the motors/rotors are operating normally. Specifically, in one embodiment, the operating status includes the current of the motor corresponding to each of the rotors or the speed of each of the rotors.
多旋翼无人机的电控实时监测电机/旋翼的运行状态,例如电流/转速等,通过监测可以评估出电机/旋翼系统的健康系数,健康系数表征了当前拉力/当前转速下的理论拉力,即表征了拉力损失,当电机/旋翼系统正常工作时,健康系数为1,电机/旋翼系统完全失效时,健康系数为0。电控将评估得到的健康系数反馈给飞控,当电控与飞控失联(持续一段时间无法双向通信时则认为电控失联,通常为通信线物理断开或供能电池失效),飞控认为该电机/旋翼系统的健康系数为0。对于多旋翼系统,有几个电机/旋翼则有几个通道的健康系数,例如八旋翼8个电控均向飞控反馈各自所控制的电机/旋翼系统的健康系数,飞控得到1个长度为8的健康系数向量。飞控根据上述健康系数,确定操纵效率矩阵,例如对于四轴八桨飞行器,其正常状态的常规操纵效率矩阵为:The electronic control of a multi-rotor drone monitors the operating status of the motor/rotor in real time, such as current/speed, etc. Through monitoring, the health coefficient of the motor/rotor system can be evaluated. The health coefficient represents the theoretical tension at the current thrust/current speed, that is, the thrust loss. When the motor/rotor system works normally, the health coefficient is 1, and when the motor/rotor system fails completely, the health coefficient is 0. The electronic control will feed back the evaluated health coefficient to the flight control. When the electronic control and the flight control lose contact (when two-way communication cannot be achieved for a period of time, the electronic control is considered to be lost, usually because the communication line is physically disconnected or the power supply battery fails), the flight control considers that the health coefficient of the motor/rotor system is 0. For a multi-rotor system, there are several channels of health coefficients for several motors/rotors. For example, the eight electronic controls of an eight-rotor all feed back the health coefficients of the motor/rotor systems they control to the flight control, and the flight control obtains a health coefficient vector of length 8. The flight control determines the control efficiency matrix based on the above health coefficients. For example, for a four-axis eight-propeller aircraft, the normal control efficiency matrix of its normal state is:
其中,B0是常规操纵效率矩阵,正负号是由对应旋翼位置和旋向决定,代表着每个旋翼产生的力对飞行器整体受力的贡献,如图3所示,左右侧两个旋翼对滚转力矩的影响自然一个是正影响一个是负影响。每一列代表一个桨,每一列代表一个控制通道,第一行代表每个桨对拉力(虚拟控制量)的贡献,第二行代表对滚转力矩的贡献,第三行代表对俯仰力矩的贡献,第四行代表对偏航力矩的贡献。自然地,当旋翼布置方案发生变化时,常规操纵效率矩阵也会进行相应的调整。一般情况下的操纵效率矩阵为:B=B0*[k1,k2……kn];Among them, B0 is the conventional control efficiency matrix. The positive and negative signs are determined by the corresponding rotor position and rotation direction, representing the contribution of the force generated by each rotor to the overall force of the aircraft. As shown in Figure 3, the influence of the two rotors on the rolling moment on the left and right sides is naturally one positive influence and one negative influence. Each column represents a propeller, and each column represents a control channel. The first row represents the contribution of each propeller to the thrust (virtual control quantity), the second row represents the contribution to the rolling moment, the third row represents the contribution to the pitch moment, and the fourth row represents the contribution to the yaw moment. Naturally, when the rotor layout scheme changes, the conventional control efficiency matrix will also be adjusted accordingly. The general control efficiency matrix is: B=B0*[k1,k2……kn];
其中,B0为正常状态下的操纵效率矩阵,k为健康系数列向量,n为电机/旋翼数量,B为操纵效率矩阵,随后,基于常规操纵效率矩阵和健康系数,确定操纵效率矩阵,例如当1号电机完全失效(即k1=0时)时操纵效率矩阵为:Among them, B0 is the control efficiency matrix under normal conditions, k is the column vector of the health coefficient, n is the number of motors/rotors, and B is the control efficiency matrix. Subsequently, based on the conventional control efficiency matrix and the health coefficient, the control efficiency matrix is determined. For example, when motor No. 1 fails completely (i.e., k1=0), the control efficiency matrix is:
通过多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数,然后基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵,实现了将多旋翼无人机运行状态表现以数值的形式出来,而操纵效率矩阵则更清楚地描述了各个旋翼对应转速对各个控制通道虚拟控制量的贡献,使转速的监控和控制更准确,维护了多旋翼无人机飞行的稳定性。The health coefficient corresponding to each rotor in the rotor system of the multi-rotor UAV is determined by the current operating state of the multi-rotor UAV, and then the control efficiency matrix is determined based on the conventional control efficiency matrix and the health coefficient, thereby realizing the expression of the operating state of the multi-rotor UAV in the form of numerical values. The control efficiency matrix more clearly describes the contribution of the corresponding rotation speed of each rotor to the virtual control quantity of each control channel, making the monitoring and control of the rotation speed more accurate and maintaining the flight stability of the multi-rotor UAV.
本申请还提供一种多旋翼飞行器,参照图4,所述多旋翼飞行器包括:The present application also provides a multi-rotor aircraft, referring to FIG. 4 , the multi-rotor aircraft comprises:
第一确定模块10,用于基于多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;A first determination module 10 is used to determine a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV based on a current operating state of the multi-rotor UAV;
获取模块20,用于若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;An acquisition module 20, configured to acquire a control allocation matrix corresponding to the manipulation efficiency matrix if the manipulation efficiency matrix satisfies a preset speed allocation condition;
第二确定模块30,用于基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;A second determination module 30 is used to determine a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes a rotation speed to be allocated corresponding to each of the rotors;
调整模块40,用于基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。The adjustment module 40 is used to adjust the rotation speed corresponding to each of the rotors based on the rotation speed vector, and return to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone.
进一步地,第一确定模块10,还用于:Furthermore, the first determining module 10 is further configured to:
基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;Determine the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone;
基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
进一步地,获取模块20,还用于:Furthermore, the acquisition module 20 is further used for:
基于所述操纵效率矩阵,获取所述操纵效率矩阵的转置矩阵,并基于所述操纵效率矩阵和转置矩阵,获取乘积矩阵;Based on the manipulation efficiency matrix, obtaining a transposed matrix of the manipulation efficiency matrix, and based on the manipulation efficiency matrix and the transposed matrix, obtaining a product matrix;
若所述乘积矩阵可逆,则确定所述操纵效率矩阵满足预设转速分配条件,并获取所述操纵效率矩阵对应的控制分配矩阵。If the product matrix is reversible, it is determined that the manipulation efficiency matrix satisfies a preset speed distribution condition, and a control distribution matrix corresponding to the manipulation efficiency matrix is obtained.
进一步地,所述多旋翼飞行器,还用于:Furthermore, the multi-rotor aircraft is also used for:
获取所述乘积矩阵的逆矩阵;Obtaining an inverse matrix of the product matrix;
基于所述逆矩阵和转置矩阵,获取所述操纵效率矩阵对应的控制分配矩阵。Based on the inverse matrix and the transposed matrix, a control allocation matrix corresponding to the manipulation efficiency matrix is obtained.
进一步地,第二确定模块30,还用于:Furthermore, the second determining module 30 is further configured to:
基于多个控制通道,获取各个所述旋翼对应的待分配虚拟控制向量;Based on the multiple control channels, obtaining a virtual control vector to be allocated corresponding to each of the rotors;
基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量。The rotation speed vector is determined based on the virtual control vector to be allocated and the control allocation matrix.
进一步地,所述多旋翼飞行器,还用于:Furthermore, the multi-rotor aircraft is also used for:
基于待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量;Based on the virtual control vector to be allocated, obtaining a maximum virtual control vector corresponding to the rotor system;
基于所述最大虚拟控制向量和控制分配矩阵,确定所述旋翼系统对应的转速向量。Based on the maximum virtual control vector and the control allocation matrix, a rotation speed vector corresponding to the rotor system is determined.
进一步地,所述多旋翼飞行器,还用于:Furthermore, the multi-rotor aircraft is also used for:
基于所述控制分配矩阵、待分配虚拟控制向量、各个所述旋翼对应的预设最大转速以及各个所述旋翼对应的预设最小转速,确定各个所述旋翼对应的比值范围,并获取所述比值范围内的最大比值作为各个所述旋翼对应的第一比值;Determine a ratio range corresponding to each of the rotors based on the control allocation matrix, the virtual control vector to be allocated, a preset maximum rotational speed corresponding to each of the rotors, and a preset minimum rotational speed corresponding to each of the rotors, and obtain a maximum ratio within the ratio range as a first ratio corresponding to each of the rotors;
基于所述各个所述旋翼对应的第一比值中最大的第一比值和待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量。Based on the largest first ratio among the first ratios corresponding to the rotors and the virtual control vector to be allocated, the maximum virtual control vector corresponding to the rotor system is obtained.
进一步地,所述多旋翼飞行器,还用于:Furthermore, the multi-rotor aircraft is also used for:
基于预设最大转速、预设最小转速和转速向量,确定剩余可分配最大转速和剩余可分配最小转速;Determining a remaining allocatable maximum speed and a remaining allocatable minimum speed based on a preset maximum speed, a preset minimum speed, and a speed vector;
将所述剩余可分配最大转速设定为预设最大转速,将剩余可分配最小转速设定为预设最小转速。The remaining allocatable maximum rotation speed is set as the preset maximum rotation speed, and the remaining allocatable minimum rotation speed is set as the preset minimum rotation speed.
进一步地,调整模块40,还用于:Furthermore, the adjustment module 40 is also used for:
基于最大虚拟控制向量和待分配虚拟控制向量,获取各个所述旋翼对应的第二比值,并基于所述第二比值和转速向量,获取实际分配转速;Based on the maximum virtual control vector and the virtual control vector to be allocated, obtaining a second ratio corresponding to each of the rotors, and based on the second ratio and the rotation speed vector, obtaining an actual allocation rotation speed;
基于实际分配转速,调节各个所述旋翼对应的转速。Based on the actual allocated rotation speed, the rotation speed corresponding to each of the rotors is adjusted.
上述各程序单元所执行的方法可参照本申请多旋翼飞行器的控制方法各个实施例,此处不再赘述。The methods executed by the above-mentioned program units can refer to the various embodiments of the control method of the multi-rotor aircraft in the present application, and will not be repeated here.
本申请还提供一种计算机可读存储介质。The present application also provides a computer-readable storage medium.
本申请计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上所述的多旋翼飞行器的控制方法的步骤。The computer-readable storage medium of the present application stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the control method of the multi-rotor aircraft as described above are implemented.
其中,在所述处理器上运行的计算机可读指令被执行时所实现的方法可参照本申请多旋翼飞行器的控制方法各个实施例,此处不再赘述。Among them, the method implemented when the computer-readable instructions running on the processor are executed can refer to the various embodiments of the control method of the multi-rotor aircraft in the present application, and will not be repeated here.
此外,本申请实施例还提出一种计算机程序产品,该计算机程序产品上包括计算机可读指令,所述计算机可读指令被处理器执行时实现如上所述的多旋翼飞行器的控制方法的步骤。In addition, an embodiment of the present application also proposes a computer program product, which includes computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the control method of the multi-rotor aircraft as described above are implemented.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims (20)

  1. 一种多旋翼飞行器的控制方法,应用于多旋翼无人机,其中,所述多旋翼飞行器的控制方法包括以下步骤:A control method for a multi-rotor aircraft is applied to a multi-rotor unmanned aerial vehicle, wherein the control method for the multi-rotor aircraft comprises the following steps:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;Determine, based on the current operating state of the multi-rotor UAV, a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV;
    若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;If the control efficiency matrix satisfies the preset speed distribution condition, obtaining a control distribution matrix corresponding to the control efficiency matrix;
    基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;以及,Based on the control allocation matrix, determining a rotation speed vector corresponding to the rotor system, wherein the rotation speed vector includes rotation speeds to be allocated corresponding to each of the rotors; and
    基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。The rotation speed corresponding to each of the rotors is adjusted based on the rotation speed vector, and the step of returning to execute, based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
  2. 如权利要求1所述的多旋翼飞行器的控制方法,其中,所述基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量的步骤包括:The control method of a multi-rotor aircraft according to claim 1, wherein the step of determining the rotation speed vector corresponding to the rotor system based on the control allocation matrix comprises:
    基于多个控制通道,获取各个所述旋翼对应的待分配虚拟控制向量;以及,Based on multiple control channels, obtaining a virtual control vector to be allocated corresponding to each of the rotors; and
    基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量。The rotation speed vector is determined based on the virtual control vector to be allocated and the control allocation matrix.
  3. 如权利要求2所述的多旋翼飞行器的控制方法,其中,所述基于所述待分配虚拟控制向量以及所述控制分配矩阵,确定所述转速向量的步骤包括:The control method of a multirotor aircraft according to claim 2, wherein the step of determining the speed vector based on the virtual control vector to be allocated and the control allocation matrix comprises:
    基于待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量;以及,Based on the virtual control vector to be allocated, obtaining a maximum virtual control vector corresponding to the rotor system; and
    基于所述最大虚拟控制向量和控制分配矩阵,确定所述旋翼系统对应的转速向量。Based on the maximum virtual control vector and the control allocation matrix, a rotation speed vector corresponding to the rotor system is determined.
  4. 如权利要求3所述的多旋翼飞行器的控制方法,其中,所述基于待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量的步骤包括:The control method of a multi-rotor aircraft according to claim 3, wherein the step of obtaining the maximum virtual control vector corresponding to the rotor system based on the virtual control vector to be allocated comprises:
    基于所述控制分配矩阵、待分配虚拟控制向量、各个所述旋翼对应的预设最大转速以及各个所述旋翼对应的预设最小转速,确定各个所述旋翼对应的比值范围,并获取所述比值范围内的最大比值作为各个所述旋翼对应的第一比值;以及,Determine a ratio range corresponding to each of the rotors based on the control allocation matrix, the virtual control vector to be allocated, a preset maximum rotational speed corresponding to each of the rotors, and a preset minimum rotational speed corresponding to each of the rotors, and obtain a maximum ratio within the ratio range as a first ratio corresponding to each of the rotors; and
    基于所述各个所述旋翼对应的第一比值中最大的第一比值和待分配虚拟控制向量,获取所述旋翼系统对应的最大虚拟控制向量。Based on the largest first ratio among the first ratios corresponding to the rotors and the virtual control vector to be allocated, the maximum virtual control vector corresponding to the rotor system is obtained.
  5. 如权利要求4所述的多旋翼飞行器的控制方法,其中,所述基于所述最大虚拟控制向量和控制分配矩阵,确定所述旋翼系统对应的转速向量的步骤之后,还包括:The control method of a multi-rotor aircraft according to claim 4, wherein after the step of determining the rotation speed vector corresponding to the rotor system based on the maximum virtual control vector and the control allocation matrix, the method further comprises:
    基于预设最大转速、预设最小转速和转速向量,确定剩余可分配最大转速和剩余可分配最小转速;以及,Based on the preset maximum speed, the preset minimum speed and the speed vector, determining the remaining allocatable maximum speed and the remaining allocatable minimum speed; and,
    将所述剩余可分配最大转速设定为预设最大转速,将剩余可分配最小转速设定为预设最小转速。The remaining allocatable maximum rotation speed is set as the preset maximum rotation speed, and the remaining allocatable minimum rotation speed is set as the preset minimum rotation speed.
  6. 如权利要求1所述的多旋翼飞行器的控制方法,其中,所述若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 1, wherein if the control efficiency matrix satisfies a preset speed distribution condition, the step of obtaining a control distribution matrix corresponding to the control efficiency matrix comprises:
    基于所述操纵效率矩阵,获取所述操纵效率矩阵的转置矩阵,并基于所述操纵效率矩阵和转置矩阵,获取乘积矩阵;以及,Based on the manipulation efficiency matrix, obtaining a transposed matrix of the manipulation efficiency matrix, and based on the manipulation efficiency matrix and the transposed matrix, obtaining a product matrix; and,
    若所述乘积矩阵可逆,则确定所述操纵效率矩阵满足预设转速分配条件,并获取所述操纵效率矩阵对应的控制分配矩阵。If the product matrix is reversible, it is determined that the manipulation efficiency matrix satisfies a preset speed distribution condition, and a control distribution matrix corresponding to the manipulation efficiency matrix is obtained.
  7. 如权利要求6所述的多旋翼飞行器的控制方法,其中,所述获取所述操纵效率矩阵对应的控制分配矩阵的步骤包括:The control method of a multirotor aircraft according to claim 6, wherein the step of obtaining a control allocation matrix corresponding to the control efficiency matrix comprises:
    获取所述乘积矩阵的逆矩阵;以及,Obtaining the inverse matrix of the product matrix; and,
    基于所述逆矩阵和转置矩阵,获取所述操纵效率矩阵对应的控制分配矩阵。Based on the inverse matrix and the transposed matrix, a control allocation matrix corresponding to the manipulation efficiency matrix is obtained.
  8. 如权利要求1所述的多旋翼飞行器的控制方法,其中,所述基于所述转速向量调节各个所述旋翼对应的转速的步骤包括:The control method of a multi-rotor aircraft according to claim 1, wherein the step of adjusting the rotation speed corresponding to each of the rotors based on the rotation speed vector comprises:
    基于最大虚拟控制向量和待分配虚拟控制向量,获取各个所述旋翼对应的第二比值,并基于所述第二比值和转速向量,获取实际分配转速;以及,Based on the maximum virtual control vector and the virtual control vector to be allocated, obtaining a second ratio corresponding to each of the rotors, and based on the second ratio and the rotation speed vector, obtaining an actual allocation rotation speed; and,
    基于实际分配转速,调节各个所述旋翼对应的转速。Based on the actual allocated rotation speed, the rotation speed corresponding to each of the rotors is adjusted.
  9. 如权利要求1所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 1, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  10. 如权利要求9所述的多旋翼飞行器的控制方法,其中,所述当前运行状态包括所述各个所述旋翼对应电机的电流或各个所述旋翼的转速。The control method of a multi-rotor aircraft as described in claim 9, wherein the current operating state includes the current of the motor corresponding to each of the rotors or the rotational speed of each of the rotors.
  11. 如权利要求2所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 2, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  12. 如权利要求3所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 3, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  13. 如权利要求4所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 4, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  14. 如权利要求5所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 5, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  15. 如权利要求6所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 6, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  16. 如权利要求7所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 7, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  17. 如权利要求8所述的多旋翼飞行器的控制方法,其中,所述基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤包括:The control method of a multi-rotor aircraft according to claim 8, wherein the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone comprises:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的健康系数;以及,Determining the health coefficient corresponding to each rotor in the rotor system of the multi-rotor UAV based on the current operating state of the multi-rotor UAV; and
    基于常规操纵效率矩阵和所述健康系数,确定所述操纵效率矩阵。The steering efficiency matrix is determined based on a conventional steering efficiency matrix and the health factor.
  18. 一种多旋翼飞行器,其中,所述多旋翼飞行器包括:A multi-rotor aircraft, wherein the multi-rotor aircraft comprises:
    第一确定模块,用于基于多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;A first determination module is used to determine a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV based on a current operating state of the multi-rotor UAV;
    获取模块,用于若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;an acquisition module, configured to acquire a control allocation matrix corresponding to the manipulation efficiency matrix if the manipulation efficiency matrix satisfies a preset speed allocation condition;
    第二确定模块,用于基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;A second determination module is used to determine a rotation speed vector corresponding to the rotor system based on the control allocation matrix, wherein the rotation speed vector includes a rotation speed to be allocated corresponding to each of the rotors;
    调整模块,用于基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。The adjustment module is used to adjust the rotation speed corresponding to each of the rotors based on the rotation speed vector, and return to execute the step of determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor drone based on the current operating state of the multi-rotor drone.
  19. 一种多旋翼飞行器的控制设备,其中,所述多旋翼飞行器的控制设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如下步骤:A control device for a multi-rotor aircraft, wherein the control device for the multi-rotor aircraft comprises a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein when the computer-readable instructions are executed by the processor, the following steps are implemented:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;Determine, based on the current operating state of the multi-rotor UAV, a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV;
    若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;If the control efficiency matrix satisfies the preset speed distribution condition, obtaining a control distribution matrix corresponding to the control efficiency matrix;
    基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;以及,Based on the control allocation matrix, determining a rotation speed vector corresponding to the rotor system, wherein the rotation speed vector includes rotation speeds to be allocated corresponding to each of the rotors; and
    基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。The rotation speed corresponding to each of the rotors is adjusted based on the rotation speed vector, and the step of returning to execute, based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时,实现如下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the following steps are implemented:
    基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵;Determine, based on the current operating state of the multi-rotor UAV, a control efficiency matrix corresponding to each rotor in a rotor system of the multi-rotor UAV;
    若所述操纵效率矩阵满足预设转速分配条件,则获取所述操纵效率矩阵对应的控制分配矩阵;If the control efficiency matrix satisfies the preset speed distribution condition, obtaining a control distribution matrix corresponding to the control efficiency matrix;
    基于所述控制分配矩阵,确定所述旋翼系统对应的转速向量,其中,所述转速向量包括各个所述旋翼对应的待分配转速;以及,Based on the control allocation matrix, determining a rotation speed vector corresponding to the rotor system, wherein the rotation speed vector includes rotation speeds to be allocated corresponding to each of the rotors; and
    基于所述转速向量调节各个所述旋翼对应的转速,并返回执行基于所述多旋翼无人机的当前运行状态,确定所述多旋翼无人机的旋翼系统中各个旋翼对应的操纵效率矩阵的步骤。The rotation speed corresponding to each of the rotors is adjusted based on the rotation speed vector, and the step of returning to execute, based on the current operating state of the multi-rotor UAV, determining the control efficiency matrix corresponding to each rotor in the rotor system of the multi-rotor UAV.
PCT/CN2022/133003 2022-10-26 2022-11-18 Multi-rotor aircraft, control method therefor, device, and computer-readable storage medium WO2024087271A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211314841.0A CN115407802B (en) 2022-10-26 2022-10-26 Multi-rotor aircraft, control method and device thereof, and computer-readable storage medium
CN202211314841.0 2022-10-26

Publications (1)

Publication Number Publication Date
WO2024087271A1 true WO2024087271A1 (en) 2024-05-02

Family

ID=84168721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133003 WO2024087271A1 (en) 2022-10-26 2022-11-18 Multi-rotor aircraft, control method therefor, device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN115407802B (en)
WO (1) WO2024087271A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115407802B (en) * 2022-10-26 2023-03-24 广东汇天航空航天科技有限公司 Multi-rotor aircraft, control method and device thereof, and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699108A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Multi-rotor craft control allocation method
US20170152033A1 (en) * 2015-11-30 2017-06-01 Cloud Cap Technology, Inc. Mutirotor aircraft control systems
CN110888451A (en) * 2019-12-20 2020-03-17 国网山西省电力公司电力科学研究院 Fault-tolerant control method and system for multi-rotor unmanned aerial vehicle
CN113467244A (en) * 2021-07-15 2021-10-01 之江实验室 Multi-rotor unmanned aerial vehicle fault-tolerant control method and device based on control matrix redistribution
CN113625763A (en) * 2021-08-30 2021-11-09 北京三快在线科技有限公司 Unmanned aerial vehicle control method and device, medium, electronic device and unmanned aerial vehicle
CN113741549A (en) * 2021-11-04 2021-12-03 普宙科技(深圳)有限公司 Multi-rotor unmanned aerial vehicle control quantity distribution method
CN114879739A (en) * 2022-05-31 2022-08-09 哈尔滨工业大学 Control distribution method and system for tiltable quad-rotor unmanned aerial vehicle based on null space
CN114911250A (en) * 2022-06-21 2022-08-16 北京航空航天大学 Position posture independent control's many rotor unmanned aerial vehicle
WO2022193075A1 (en) * 2021-03-15 2022-09-22 深圳市大疆创新科技有限公司 Unmanned aerial vehicle control method, unmanned aerial vehicle, and storage medium
CN115407802A (en) * 2022-10-26 2022-11-29 广东汇天航空航天科技有限公司 Multi-rotor aircraft, control method and device thereof, and computer-readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759613B (en) * 2016-03-22 2017-08-15 沈阳上博智拓科技有限公司 The control method and control device of tiltrotor
CN107992080B (en) * 2017-12-25 2020-12-15 成都纵横自动化技术股份有限公司 Control distribution method and device and multi-rotor aircraft
CN107943089B (en) * 2017-12-25 2020-12-15 成都纵横自动化技术股份有限公司 Multi-specification power system control distribution method and related device
CN113778115A (en) * 2021-08-30 2021-12-10 北京三快在线科技有限公司 Multi-rotor unmanned aerial vehicle control method, device, medium, equipment and unmanned aerial vehicle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699108A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Multi-rotor craft control allocation method
US20170152033A1 (en) * 2015-11-30 2017-06-01 Cloud Cap Technology, Inc. Mutirotor aircraft control systems
CN110888451A (en) * 2019-12-20 2020-03-17 国网山西省电力公司电力科学研究院 Fault-tolerant control method and system for multi-rotor unmanned aerial vehicle
WO2022193075A1 (en) * 2021-03-15 2022-09-22 深圳市大疆创新科技有限公司 Unmanned aerial vehicle control method, unmanned aerial vehicle, and storage medium
CN113467244A (en) * 2021-07-15 2021-10-01 之江实验室 Multi-rotor unmanned aerial vehicle fault-tolerant control method and device based on control matrix redistribution
CN113625763A (en) * 2021-08-30 2021-11-09 北京三快在线科技有限公司 Unmanned aerial vehicle control method and device, medium, electronic device and unmanned aerial vehicle
CN113741549A (en) * 2021-11-04 2021-12-03 普宙科技(深圳)有限公司 Multi-rotor unmanned aerial vehicle control quantity distribution method
CN114879739A (en) * 2022-05-31 2022-08-09 哈尔滨工业大学 Control distribution method and system for tiltable quad-rotor unmanned aerial vehicle based on null space
CN114911250A (en) * 2022-06-21 2022-08-16 北京航空航天大学 Position posture independent control's many rotor unmanned aerial vehicle
CN115407802A (en) * 2022-10-26 2022-11-29 广东汇天航空航天科技有限公司 Multi-rotor aircraft, control method and device thereof, and computer-readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XU, XUESONG ET AL.: "A Multi-model Fault-tolerant Control Method of Six-rotor UAV", FIRE CONTROL & COMMAND CONTROL, 31 March 2020 (2020-03-31) *

Also Published As

Publication number Publication date
CN115407802B (en) 2023-03-24
CN115407802A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
WO2024087271A1 (en) Multi-rotor aircraft, control method therefor, device, and computer-readable storage medium
CN106843245A (en) A kind of UAV Attitude control method, device and unmanned plane
CN108196563B (en) Active-disturbance-rejection compensation control method and system for multi-rotor unmanned aerial vehicle
CN110888451A (en) Fault-tolerant control method and system for multi-rotor unmanned aerial vehicle
US11347242B2 (en) Methods and apparatus for flight control prioritization
WO2021223173A1 (en) Multi-rotor unmanned aerial vehicle and control method therefor, control device, and computer-readable storage medium
WO2020237528A1 (en) Flight control method and device for vertical take-off and landing unmanned aerial vehicle, and vertical take-off and landing unmanned aerial vehicle
EP3384361A1 (en) Multirotor aircraft control systems
CN113342037A (en) Multi-rotor unmanned aerial vehicle time-varying formation control method and system with input saturation function
CN107943089B (en) Multi-specification power system control distribution method and related device
WO2017147769A1 (en) Method, device and system for controlling motor
CN115066370A (en) Using optimized thrust distribution in distributed flight control systems
CN111198570A (en) Anti-delay high-precision active disturbance rejection attitude control method based on fixed time differentiator prediction
TWI709011B (en) Method for calculating and controlling UAV heading
CN109308064A (en) A kind of the failure tolerant control method and system of quadrotor drone
CN113625763A (en) Unmanned aerial vehicle control method and device, medium, electronic device and unmanned aerial vehicle
WO2022193075A1 (en) Unmanned aerial vehicle control method, unmanned aerial vehicle, and storage medium
CN114253137B (en) Unmanned aerial vehicle system fault diagnosis and fault tolerance control method based on control distribution
CN116414148B (en) Distributed rotor unmanned aerial vehicle cooperative control method, device and system
CN108459907A (en) A kind of balancing energy instruction distributing method of more execution units
CN114840012A (en) Method and control unit for controlling an overdetermined system, system and aircraft
CN113296533A (en) Generalized actuator control allocation and reconfiguration method, device and related components thereof
CN112136092A (en) Flight control method and device and aircraft
CN110297511B (en) Torque control method and device, electronic equipment and storage medium
CN111367316A (en) Unmanned aerial vehicle formation self-adaptive control method with actuator fault compensation