UAV control system and method

By assigning each steering gear to at least two servo controllers in the UAV control system and switching controllers when a fault occurs, the problem of the UAV losing control due to servo controller failure is solved and the risk of crash is reduced. and improved flight stability.

CN112783214BActive Publication Date: 2024-09-24XIAN JINGDONG TIANHONG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110057663.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-15
Publication Date
2024-09-24
Estimated Expiration
2041-01-15

AI Technical Summary

Technical Problem

During the flight of the drone, a servo controller failure caused the corresponding steering gear unit to lose control, causing the drone to be unable to complete the corresponding actions, increasing the risk of crashing.

Method used

Design a UAV control system in which the steering gear of each function is controlled by at least two servo controllers. When one servo controller fails, the flight control device selects a replacement controller from other servo controllers to ensure the same The functional steering gear continues to operate, ensuring the stable flight of the drone through preset control strategies and anti-interference strategies.

Benefits of technology

It effectively prevents the UAV from losing control ability due to servo controller failure, reduces the risk of crash, and ensures flight efficiency and safety through gain adjustment and interference suppression.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112783214B
    Figure CN112783214B
Patent Text Reader

Abstract

The present invention discloses a control system and method for a drone, and relates to the technical field of drones. A specific implementation of the system includes a flight control device, at least two servo controllers, and a plurality of servos with different functions; each servo with a function is controlled by at least two servo controllers; the flight control device is used to select a second servo controller other than the first servo controller from at least two servo controllers when it is determined that a first servo controller has failed; wherein, among the servos controlled by the second servo controller, at least one servo has the same function as the servo controlled by the first servo controller; the second servo controller is used to control the drone according to the servo controlled by itself. This implementation ensures that when the first servo controller fails and the servo controlled by it fails, the servo with the same function still operates effectively under the control of the second servo controller, thereby reducing the risk of the drone crashing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicles, and in particular to a control system and method for unmanned aerial vehicles. Background Art

[0002] The lifting, turning and rolling movements of the drone during flight are completed by the elevator servo controller, the directional servo controller and the aileron servo controller controlling the corresponding elevator servo group, the directional servo group and the aileron servo group. Each servo group contains all servos that realize the same function and are controlled by the same servo controller. For example, the directional servo group contains the left directional servo and the right directional servo that realize the turning function, which are controlled by the directional servo controller to realize the left and right rotation of the drone.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] During the flight of a drone, a servo controller may fail, and the corresponding steering gear group of the servo controller will be completely out of control, causing the drone to be unable to complete the corresponding action and lose the ability to control the drone. For example, when the direction servo controller fails, both the left and right steering gears are out of control, causing the drone to be unable to complete the turning action, thereby increasing the risk of the drone crashing. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a control system and method for a drone, in which servos with the same function are respectively controlled by at least two servo controllers. When it is determined that a first servo controller fails, the flight control device can select a second servo controller from other servo controllers except the failed first servo controller, and the second servo controller controls the drone according to the servos controlled by itself; wherein, among the servos controlled by the second servo controller, at least one servo has the same function as the servo controlled by the first servo controller, thereby ensuring that when the first servo controller fails and the servo it controls fails, the servo with the same function can still operate effectively under the control of the second servo controller, controlling the drone to continue to complete the corresponding action, avoiding the loss of control over the drone, and thereby reducing the risk of the drone crashing.

[0006] To achieve the above objective, according to one aspect of an embodiment of the present invention, a drone control system is provided.

[0007] An unmanned aerial vehicle control system according to an embodiment of the present invention comprises a flight control device, at least two servo controllers and a plurality of servos with different functions; wherein:

[0008] Each functional servo is controlled by at least two servo controllers;

[0009] A flight control device, configured to select a second servo controller other than the first servo controller from the at least two servo controllers when it is determined that a first servo controller among the at least two servo controllers has failed; wherein the function of at least one servo controller among the servos controlled by the second servo controller is the same as the function of the servo controller controlled by the first servo controller;

[0010] The second servo controller is used to control the UAV according to the steering gear controlled by the second servo controller.

[0011] Optionally,

[0012] The flight control device is used to select the second servo controller according to a preset control strategy and the first servo controller; the preset control strategy indicates the corresponding relationship between the first servo controlled by the first servo controller and the second servo controlled by the second servo controller.

[0013] Optionally,

[0014] The flight control device is used to use a first servo controlled by a first servo controller as a current servo, and cyclically execute the following steps until all first servos controlled by the first servo controller have queried a second servo with the same function:

[0015] From other servo controllers except the first servo controller, query a second servo with the same function as the current servo, and determine the servo controller controlling the second servo as the second servo controller;

[0016] The first servo controlled by the first servo controller and not queried is selected as the current servo.

[0017] Optionally,

[0018] The flight control device is used to determine a second servo with the same function as the first servo controlled by the first servo controller from among the second servos controlled by the second servo controller, and to increase the gain of the determined second servo by a preset multiple.

[0019] Optionally,

[0020] When the fault of the first servo controller is the failure of the first servo controller itself,

[0021] A flight control device, used to determine whether a control surface corresponding to a first servo controlled by a first servo controller before failure is in a neutral position; if not, determine a deviation angle of the control surface corresponding to the first servo relative to the neutral position; select a second servo corresponding to the first servo controller according to a preset anti-interference strategy, and send an interference suppression instruction to the second servo controller according to the deviation angle; the preset anti-interference strategy indicates a coupling interference relationship between the first servo controller and the second servo controller;

[0022] The second servo controller is used to adjust the control surface corresponding to the second servo controlled by itself according to the deviation angle indicated by the interference suppression instruction when receiving the interference suppression instruction sent by the flight control device.

[0023] Optionally,

[0024] The flight control device is used to determine the deviation angle of the control surface corresponding to the first servo relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

[0025] Optionally,

[0026] When the fault of the first servo controller is that the communication between the first servo controller and the flight control device is interrupted,

[0027] The first servo controller is used to determine whether the rudder surface corresponding to the first servo controlled by itself is in a neutral position; if not, the rudder surface corresponding to the first servo is adjusted according to the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position so that the rudder surface corresponding to the first servo is in a neutral position.

[0028] Optionally,

[0029] The first servo controller is used to determine the deviation angle of the control surface corresponding to the first servo relative to the neutral position based on the operation data of the drone collected by the sensor on the drone and its own status data.

[0030] Optionally,

[0031] The flight control device is used to determine whether any servo controller has a fault by detecting the difference between the time when each servo controller last sent a heartbeat signal and the current time, as well as the size of the difference and the preset duration.

[0032] To achieve the above objective, according to another aspect of an embodiment of the present invention, a method for controlling a drone is provided.

[0033] A method for controlling a drone according to an embodiment of the present invention includes:

[0034] When it is determined that a first servo controller that fails exists among the at least two servo controllers, the flight control device of the unmanned aerial vehicle control system selects a second servo controller other than the first servo controller from the at least two servo controllers; wherein the function of at least one servo controlled by the second servo controller is the same as that of the servo controlled by the first servo controller;

[0035] The second servo controller of the UAV control system controls the UAV according to the steering gear controlled by itself.

[0036] Optionally,

[0037] The flight control device determines a second servo with the same function as the first servo controlled by the first servo controller from among the second servos controlled by the second servo controller, and increases the gain of the determined second servo by a preset multiple.

[0038] Optionally,

[0039] When the fault of the first servo controller is the failure of the first servo controller itself,

[0040] The flight control device determines whether the control surface corresponding to the first servo controlled by the first servo controller before failure is in a neutral position; if not, determines the deviation angle of the control surface corresponding to the first servo relative to the neutral position; selects the second servo controller corresponding to the first servo controller according to the preset anti-interference strategy, and sends an interference suppression instruction to the second servo controller according to the deviation angle; the preset anti-interference strategy indicates the coupling interference relationship between the first servo controller and the second servo controller;

[0041] When receiving the interference suppression instruction sent by the flight control device, the second servo controller adjusts the control surface corresponding to the second steering gear controlled by itself according to the deviation angle indicated by the interference suppression instruction.

[0042] Optionally,

[0043] The flight control device determines the deviation angle of the control surface corresponding to the first servo relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

[0044] Optionally,

[0045] When the fault of the first servo controller is that the communication between the first servo controller and the flight control device is interrupted,

[0046] The first servo controller determines whether the rudder surface corresponding to the first servo controlled by itself is in a neutral position; if not, the rudder surface corresponding to the first servo is adjusted according to the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position so that the rudder surface corresponding to the first servo is in a neutral position.

[0047] Optionally,

[0048] The first servo controller determines the deviation angle of the control surface corresponding to the first servo relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

[0049] Optionally,

[0050] The flight control device determines whether any servo controller has a fault by detecting the difference between the time when each servo controller last sent a heartbeat signal and the current time, as well as the difference and the preset duration.

[0051] To achieve the above objective, according to another aspect of an embodiment of the present invention, a drone control electronic device is provided.

[0052] An unmanned aerial vehicle control electronic device according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement an unmanned aerial vehicle control method according to an embodiment of the present invention.

[0053] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided.

[0054] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, a method for controlling a drone according to an embodiment of the present invention is implemented.

[0055] One embodiment of the above invention has the following advantages or beneficial effects: the servos with the same function are respectively controlled by at least two servo controllers. When it is determined that a first servo controller fails, the flight control device can select a second servo controller from other servo controllers except the first servo controller that fails, and the second servo controller controls the UAV according to the servos controlled by itself; wherein, among the servos controlled by the second servo controller, there is at least one servo with the same function as the servo controlled by the first servo controller, thereby ensuring that when the first servo controller fails and the servo it controls fails, the servo with the same function can still operate effectively under the control of the second servo controller, controlling the UAV to continue to complete the corresponding action, avoiding the loss of control over the UAV, and thereby reducing the risk of the UAV crashing.

[0056] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0058] Figure 1 It is a structural schematic diagram of a UAV control system in the prior art;

[0059] Figure 2 is a schematic diagram of main components of a drone control system according to an embodiment of the present invention;

[0060] Figure 3 is a schematic structural diagram of another unmanned aerial vehicle control system according to an embodiment of the present invention;

[0061] Figure 4 is a schematic diagram of a process of processing a faulty servo controller by a drone control system according to an embodiment of the present invention;

[0062] Figure 5 is a schematic diagram of main steps of a method for controlling a drone according to an embodiment of the present invention;

[0063] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0064] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0066] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.

[0067] like Figure 1 As shown, Figure 1The present invention is a structural diagram of a UAV control system in the prior art, and the system includes: a flight control computer, a servo controller, a steering gear, a transmission mechanism, a rudder, a command and control device, and a sensor. The lifting, turning, and rolling actions of the UAV during flight are respectively completed by the lifting servo controller, the directional servo controller, and the aileron servo controller to control the corresponding elevator servo group, the directional servo group, and the aileron servo group. Among them, each servo group contains all servos that realize the same function and are controlled by the same servo controller. For example, the directional servo group contains a left directional servo and a right directional servo that realize the turning function, and these two servos are controlled by the directional servo controller to realize the left and right rotation of the UAV. However, during the flight of the UAV, once a servo controller may fail, the servo group corresponding to the servo controller will be completely out of control, resulting in the UAV being unable to complete the corresponding action and losing the ability to control the UAV. For example, when the directional servo controller fails, the left directional servo and the right directional servo will be uncontrolled, resulting in the UAV being unable to complete the turning action, increasing the risk of the UAV crashing.

[0068] Based on this, this scheme proposes a UAV control system. Figure 2 Schematic diagram of main components of a drone control system according to an embodiment of the present invention.

[0069] like Figure 2 As shown, a drone control system 200 according to an embodiment of the present invention includes a flight control device 201, at least two servo controllers 202, and a plurality of servos 203 with different functions; wherein,

[0070] Each functional servo 203 is controlled by at least two servo controllers 202;

[0071] The flight control device 201 is used for selecting a second servo controller other than the first servo controller from the at least two servo controllers when it is determined that a first servo controller among the at least two servo controllers has failed; wherein the function of at least one servo controller among the servos controlled by the second servo controller is the same as the function of the servo controller controlled by the first servo controller;

[0072] The second servo controller 202 is used to control the UAV according to the steering gear controlled by itself.

[0073] In an embodiment of the present invention, the flight control device is a device for sending action instructions to the drone to control the flight of the drone. In a preferred embodiment of the present invention, the flight control device is a flight control computer.

[0074] In the embodiment of the present invention, since the servos on the drone usually appear in pairs, that is, each function corresponds to at least two servos, a servo controller and the servos can be cross-connected, that is, the at least two servos are controlled by at least two servo controllers. In other words, servos with different functions are cross-mixed into one servo group, and then controlled by the same servo controller.

[0075] For example, if Figure 3 As shown, the left elevator servo and the right elevator servo have the same function, which are used to control the lifting and lowering motion of the UAV; the left aileron servo and the right aileron servo have the same function, which are used to control the rolling motion of the UAV; the left directional servo and the right directional servo have the same function, which are used to control the left and right turns of the UAV. The left aileron servo and the right elevator servo can be controlled by the servo controller 1, the left elevator servo and the right directional servo can be controlled by the servo controller 2, and the left directional servo and the right aileron servo can be controlled by the servo controller 3. Under such an arrangement, the UAV has the fault tolerance capability for any servo controller. For example, when the servo controller 1 fails and causes the left aileron servo and the right elevator servo to fail, the flight control computer can use the servo controller 2 and the servo controller 3 as the second servo controller, and then the right aileron servo can be controlled by the servo controller 3 to control the UAV to roll, and the left elevator servo can be controlled by the servo controller 2 to control the UAV to lift, so as not to cause the UAV to lose the ability to control rolling or lifting. Similarly, if any of the servo controllers 2 or 3 fails, the flight control computer will perform similar processing and will not cause the drone to lose corresponding control capabilities.

[0076] In the embodiment of the present invention, the flight control device 201 is further used to determine whether any servo controller has a fault by detecting the difference between the time when each servo controller last sent a heartbeat signal and the current time, and the difference and the preset duration.

[0077] In an embodiment of the present invention, each servo controller can send a heartbeat signal to the flight control device at a fixed period, and the flight control device detects in real time the difference between the time when each servo controller last sent a heartbeat signal and the current time, as well as the difference between the difference and the preset time. If the flight control device detects that the difference between the time when a servo controller last sent a heartbeat signal and the current time is greater than the preset time, it can be determined that the servo controller has a software or hardware problem or a communication interruption or other faults, and the servo controller is used as the first servo controller.

[0078] In the embodiment of the present invention, when the flight control device detects that the signal sent by a servo controller is not a heartbeat signal, it can also be determined that the servo controller has failed and the servo controller is used as the first servo controller.

[0079] In an embodiment of the present invention, the flight control device can determine the second servo controller according to a preset control strategy, or it can determine the second servo controller by traversing second servos controlled by other servo controllers according to the function of the first servo controlled by the first servo controller.

[0080] In an embodiment of the present invention, when the flight control device 201 determines the second servo controller according to a preset control strategy, the flight control device 201 is further used to: select the second servo controller according to the preset control strategy and the first servo controller; wherein the preset control strategy indicates the correspondence between the first servo controlled by the first servo controller and the second servo controlled by the second servo controller.

[0081] Still Figure 3 Taking the UAV control system in as an example, the preset control strategy can be: when servo controller 1 is the first servo controller, the second servo controller is servo controller 2 and servo controller 3; when servo controller 2 is the first servo controller, the second servo controller is servo controller 1 and servo controller 3; when servo controller 3 is the first servo controller, the second servo controller is servo controller 1 and servo controller 2. When servo controller 1 fails, the flight control computer can select servo controller 2 and servo controller 3 as the second servo controller according to the preset control strategy and the first servo controller.

[0082] In an embodiment of the present invention, when the flight control device 201 determines the second servo controller by traversing the second servo controllers controlled by other servo controllers according to the function of the first servo controller, the flight control device 201 is further used to: take a first servo controlled by the first servo controller as the current servo, and loop the following steps until all first servos controlled by the first servo controller have queried a second servo with the same function: query a second servo with the same function as the current servo from other servo controllers except the first servo controller, and determine the servo controller that controls the second servo as the second servo controller; select a first servo controlled by the first servo controller that has not been queried as the current servo.

[0083] When the first servo controller fails, the first servo motor controlled by it will fail. At this time, although the second servo motor with the same function controlled by the second servo controller continues to operate to ensure the control of the UAV, the control efficiency of the UAV as a whole will be reduced because some servos cannot be used. Therefore, in the embodiment of the present invention, the flight control device 201 is further used to: determine the second servo motor with the same function as the first servo motor controlled by the first servo controller from the second servo motors controlled by the second servo controller, and increase the gain of the determined second servo motor by a preset multiple to ensure the control efficiency of the UAV.

[0084] Still Figure 3 For example, when servo controller 1 fails, the flight control computer determines from the second servo controller, i.e., servo controller 2 and servo controller 3, that the left elevator servo of servo controller 2 has the same function as the right elevator servo of the first servo controlled by servo controller 1, and the right aileron servo of servo controller 3 has the same function as the left aileron servo of the first servo controlled by servo controller 1, and then increases the gain of the left elevator servo of servo controller 2 and the right aileron servo of servo controller 3 by a predetermined multiple to ensure the control efficiency of the drone, while the gain of the right rudder servo of servo controller 2 and the left rudder servo of servo controller 3 does not change. In this example, the preset multiple can be 2 times.

[0085] In an embodiment of the present invention, after the flight control device determines a second servo having the same function as the first servo controlled by the first servo controller, it can multiply the rudder deviation instruction related to the second servo by a preset multiple when sending a rudder deviation instruction to the second servo controller controlling the second servo, so as to increase the gain of the second servo by the preset multiple.

[0086] In addition, when the first servo controller fails, the control surface corresponding to the first servo controlled by it may be in a neutral position or not. For example, when the UAV is performing a lift, turn or roll action, a servo controller fails. At this time, the control surface performing the corresponding action is not in a neutral position, but has a deviation angle relative to the neutral position. If the deviation angle is not processed, not only will the first servo and its corresponding control surface be in a follow-up state with a damping torque, but when the control surface corresponding to the second servo with the same function as the first servo returns to the neutral position, the two corresponding control surfaces will have an asymmetric unidirectional deviation, and may also cause coupling torques of other control surfaces, threatening the safety of UAV flight. For example, the asymmetric deviation of the left and right elevator control surfaces will cause a rolling torque, disturbing the left and right ailerons; the asymmetric deviation of the left and right ailerons will also cause a pitching torque, disturbing the left and right elevator control surfaces.

[0087] Therefore, in the embodiment of the present invention, when the failure of the first servo controller 202 is self-failure, the flight control device 201 is required to eliminate the coupling interference caused to other rudder surfaces by the rudder surface corresponding to the first servo controlled by the first servo controller 202 not being in the neutral position after the failure of the first servo controller 202 according to the preset anti-interference strategy, so as to ensure the flight safety of the UAV. Specifically, the flight control device 201 is further used to: determine whether the rudder surface corresponding to the first servo controlled by the first servo controller before failure is in the neutral position; if not, determine the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position; select the second servo controller corresponding to the first servo controller according to the preset anti-interference strategy, and send an interference suppression instruction to the second servo controller according to the deviation angle; the preset anti-interference strategy indicates the coupling interference relationship between the first servo controller and the second servo controller; the second servo controller 202 is further used to: when receiving the interference suppression instruction sent by the flight control device, adjust the rudder surface corresponding to the second servo controlled by itself according to the deviation angle indicated by the interference suppression instruction.

[0088] In the embodiment of the present invention, the flight control device 201 is further used to determine the deviation angle of the control surface corresponding to the first servo relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

[0089] In an embodiment of the present invention, when the first servo controller 202 fails due to interruption of communication between itself and the flight control device 201, but the first servo controller 202 itself is still in a valid state, the first servo controller 202 is further used to: determine whether the rudder surface corresponding to the first servo controlled by itself is in a neutral position; if not, adjust the rudder surface corresponding to the first servo according to the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position, so that the rudder surface corresponding to the first servo is in a neutral position, so as to ensure the flight safety of the UAV.

[0090] In the embodiment of the present invention, the first servo controller 202 is further used to determine the deviation angle of the control surface corresponding to the first servo relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

[0091] In the embodiment of the present invention, if the control surface corresponding to the first steering gear controlled by the first servo controller is not in a neutral position, it will cause coupling torques on other steering surfaces. The control law of the first steering gear can be reconstructed specifically, that is, the suppression of the corresponding coupling torque is added to ensure the safety of the UAV flight. Figure 4 As shown, when servo controller 2 fails, the roll coupling torque suppression can be added to the left and right aileron servos; when servo controller 1 or 3 fails, the corresponding coupling torque suppression can be added to the left and right aileron servos and the left and right elevator servos.

[0092] It can be seen from a drone control system according to an embodiment of the present invention that servos with the same function are respectively controlled by at least two servo controllers. When it is determined that a first servo controller fails, the flight control device can select a second servo controller from other servo controllers except the first servo controller that fails, and the second servo controller controls the drone according to the servos controlled by itself; wherein, among the servos controlled by the second servo controller, at least one servo has the same function as that of the servo controlled by the first servo controller, thereby ensuring that when the first servo controller fails and the servo it controls fails, the servo with the same function can still operate effectively under the control of the second servo controller, controlling the drone to continue to complete the corresponding action, avoiding the loss of control over the drone, and thereby reducing the risk of the drone crashing.

[0093] Figure 5 Schematic diagram of main steps of a method for controlling a drone according to an embodiment of the present invention.

[0094] like Figure 5 As shown, a drone control method according to an embodiment of the present invention mainly includes the following steps:

[0095] Step S501: when it is determined that a first servo controller has failed from among at least two servo controllers, the flight control device of the unmanned aerial vehicle control system selects a second servo controller other than the first servo controller from among the at least two servo controllers; wherein at least one of the servos controlled by the second servo controller has the same function as that of the servo controlled by the first servo controller;

[0096] Step S502: The second servo controller of the UAV control system controls the UAV according to the steering gear controlled by itself.

[0097] In an embodiment of the present invention, the flight control device selects the second servo controller according to a preset control strategy and the first servo controller; the preset control strategy indicates the correspondence between the first servo controlled by the first servo controller and the second servo controlled by the second servo controller.

[0098] In an embodiment of the present invention, the flight control device takes a first servo controller controlled by a first servo controller as the current servo, and executes the following steps in a loop until all first servos controlled by the first servo controller have queried a second servo with the same function: query a second servo with the same function as the current servo from other servo controllers except the first servo controller, and determine the servo controller controlling the second servo as the second servo controller; select the first servo controlled by the first servo controller that has not been queried as the current servo.

[0099] In the embodiment of the present invention, the flight control device determines a second servo with the same function as the first servo controlled by the first servo controller from among the second servos controlled by the second servo controller, and increases the gain of the determined second servo by a preset multiple.

[0100] In an embodiment of the present invention, when the failure of the first servo controller is the failure of the first servo controller itself, the flight control device determines whether the rudder surface corresponding to the first servo controlled by the first servo controller before the failure is in a neutral position; if not, determine the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position; according to a preset anti-interference strategy, select a second servo controller corresponding to the first servo controller, and send an interference suppression instruction to the second servo controller according to the deviation angle; the preset anti-interference strategy indicates the coupling interference relationship between the first servo controller and the second servo controller; when receiving the interference suppression instruction sent by the flight control device, the second servo controller adjusts the rudder surface corresponding to the second servo controlled by itself according to the deviation angle indicated by the interference suppression instruction.

[0101] In an embodiment of the present invention, the flight control device determines the deviation angle of the control surface corresponding to the first servo relative to the neutral position based on the operation data of the drone collected by the sensor on the drone and its own status data.

[0102] In an embodiment of the present invention, when the failure of the first servo controller is the interruption of communication between the first servo controller and the flight control device, the first servo controller determines whether the rudder surface corresponding to the first servo controlled by itself is in a neutral position; if not, the rudder surface corresponding to the first servo is adjusted according to the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position, so that the rudder surface corresponding to the first servo is in a neutral position.

[0103] In an embodiment of the present invention, the first servo controller determines the deviation angle of the control surface corresponding to the first servo relative to the neutral position based on the operation data of the drone collected by the sensor on the drone and its own status data.

[0104] In the embodiment of the present invention, the flight control device determines whether any servo controller has a fault by detecting the difference between the time when each servo controller last sent a heartbeat signal and the current time, and the difference and the preset duration.

[0105] According to a method for controlling a drone according to an embodiment of the present invention, it can be seen that servos with the same function are respectively controlled by at least two servo controllers. When it is determined that a first servo controller fails, the flight control device can select a second servo controller from other servo controllers except the first servo controller that fails, and the second servo controller controls the drone according to the servos controlled by itself; wherein, among the servos controlled by the second servo controller, at least one servo has the same function as the servo controlled by the first servo controller, thereby ensuring that when the first servo controller fails and the servo it controls fails, the servo with the same function can still operate effectively under the control of the second servo controller, and control the drone to continue to complete the corresponding action, avoid losing the ability to control the drone, and thereby reduce the risk of the drone crashing.

[0106] Figure 6 An exemplary system architecture 600 is shown to which an unmanned aerial vehicle control method or an unmanned aerial vehicle control system according to an embodiment of the present invention can be applied.

[0107] like Figure 6 As shown, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and an electronic device 605. The network 604 is used to provide a medium for communication links between the terminal devices 601, 602, 603 and the electronic device 605. The network 604 may include various connection functions, such as wired, wireless communication links or optical fiber cables, etc.

[0108] The user can use the terminal devices 601, 602, 603 to interact with the electronic device 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0109] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0110] The electronic device 605 may be a server that provides various services, such as a background management server that provides support for shopping websites browsed by users using the terminal devices 601, 602, and 603. The background management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information and product information) to the terminal device.

[0111] It should be noted that the drone control method provided in the embodiment of the present invention is generally executed by the electronic device 605 , and accordingly, a drone control system is generally provided in the electronic device 605 .

[0112] It should be understood that Figure 6 The number of terminal devices, networks and electronic devices in the embodiment is only for illustration. Any number of terminal devices, networks and electronic devices may be provided according to implementation requirements.

[0113] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0114] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0115] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0116] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0117] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0118] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0119] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: when it is determined that there is a first servo controller that fails from at least two servo controllers, the flight control device of the unmanned aerial vehicle control system selects a second servo controller other than the first servo controller from the at least two servo controllers; wherein, among the servos controlled by the second servo controller, at least one servo has the same function as the servo controlled by the first servo; and the second servo controller of the unmanned aerial vehicle control system controls the unmanned aerial vehicle according to the servo controlled by itself.

[0120] According to the technical solution of the embodiment of the present invention, servos with the same function are respectively controlled by at least two servo controllers. When it is determined that a first servo controller fails, the flight control device can select a second servo controller from other servo controllers except the first servo controller that fails, and the second servo controller controls the UAV according to the servos controlled by itself; wherein, among the servos controlled by the second servo controller, there is at least one servo with the same function as the servo controlled by the first servo controller, thereby ensuring that when the first servo controller fails and the servo it controls fails, the servo with the same function can still operate effectively under the control of the second servo controller, and control the UAV to continue to complete the corresponding action, thereby avoiding the loss of control over the UAV and reducing the risk of the UAV crashing.

[0121] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A drone control system, characterized in that: It includes a flight control device, at least two servo controllers and a plurality of servos with different functions; wherein, Each functional steering engine is controlled by at least two of the servo controllers; The flight control device is used for selecting a second servo controller other than the first servo controller from the at least two servo controllers when it is determined that a first servo controller among the at least two servo controllers has failed; wherein the function of at least one servo controller among the servos controlled by the second servo controller is the same as the function of the servo controller controlled by the first servo controller; The second servo controller is used to control the UAV according to the steering gear controlled by the second servo controller; When the failure of the first servo controller is the failure of the first servo controller itself, the flight control device is used to determine whether the rudder surface corresponding to the first steering gear controlled by the first servo controller before the failure is in a neutral position; if not, determine the deviation angle of the rudder surface corresponding to the first steering gear relative to the neutral position; according to a preset anti-interference strategy, select a second servo controller corresponding to the first servo controller, and send an interference suppression instruction to the second servo controller according to the deviation angle; the preset anti-interference strategy indicates the coupling interference relationship between the first servo controller and the second servo controller; the second servo controller is used to adjust the rudder surface corresponding to the second steering gear controlled by itself according to the deviation angle indicated by the interference suppression instruction when receiving the interference suppression instruction sent by the flight control device; When the failure of the first servo controller is that the communication between the first servo controller and the flight control device is interrupted, the first servo controller is used to determine whether the rudder surface corresponding to the first steering gear controlled by itself is in a neutral position; if not, adjust the rudder surface corresponding to the first steering gear according to the deviation angle of the rudder surface corresponding to the first steering gear relative to the neutral position, so that the rudder surface corresponding to the first steering gear is in a neutral position; Wherein, when the control surface corresponding to the first steering gear is not in the neutral position, the method further includes: reconstructing the control law of the first steering gear.

2. The system according to claim 1, characterized in that The flight control device is used to select the second servo controller according to a preset control strategy and the first servo controller; the preset control strategy indicates the corresponding relationship between the first servo controlled by the first servo controller and the second servo controlled by the second servo controller.

3. The system according to claim 1, characterized in that The flight control device is used to use a first servo controller controlled by the first servo controller as a current servo, and cyclically perform the following steps until all first servos controlled by the first servo controller have queried a second servo with the same function: Searching for a second steering gear having the same function as the current steering gear from other servo controllers except the first servo controller, and determining the servo controller controlling the second steering gear as the second servo controller; The first servo engine that is controlled by the first servo controller and has not been queried is selected as the current servo engine.

4. The system according to claim 2 or 3, characterized in that: The flight control device is used to determine a second servo with the same function as the first servo controlled by the first servo controller from the second servo controlled by the second servo controller, and increase the gain of the determined second servo by a preset multiple.

5. The system according to claim 1, characterized in that The flight control device is used to determine the deviation angle of the control surface corresponding to the first steering gear relative to the neutral position based on the operation data of the drone collected by the sensor on the drone and its own status data.

6. The system according to claim 1, characterized in that The first servo controller is used to determine the deviation angle of the rudder surface corresponding to the first servo relative to the neutral position based on the operation data of the drone collected by the sensor on the drone and its own status data.

7. The system according to claim 1, characterized in that The flight control device is used to determine whether a servo controller fails by detecting the difference between the time when each servo controller last sent a heartbeat signal and the current time, and the size of the difference and a preset time length.

8. A method for controlling a drone, characterized in that: Applied to UAV control systems, including: When it is determined that a first servo controller that fails exists among the at least two servo controllers, the flight control device of the unmanned aerial vehicle control system selects a second servo controller other than the first servo controller from the at least two servo controllers; wherein the function of at least one servo controlled by the second servo controller is the same as that of the servo controlled by the first servo controller; The second servo controller of the UAV control system controls the UAV according to the steering gear controlled by the second servo controller; When the failure of the first servo controller is the failure of the first servo controller itself, the flight control device is used to determine whether the rudder surface corresponding to the first steering gear controlled by the first servo controller before the failure is in a neutral position; if not, determine the deviation angle of the rudder surface corresponding to the first steering gear relative to the neutral position; according to a preset anti-interference strategy, select a second servo controller corresponding to the first servo controller, and send an interference suppression instruction to the second servo controller according to the deviation angle; the preset anti-interference strategy indicates the coupling interference relationship between the first servo controller and the second servo controller; the second servo controller is used to adjust the rudder surface corresponding to the second steering gear controlled by itself according to the deviation angle indicated by the interference suppression instruction when receiving the interference suppression instruction sent by the flight control device; When the failure of the first servo controller is that the communication between the first servo controller and the flight control device is interrupted, the first servo controller is used to determine whether the rudder surface corresponding to the first steering gear controlled by itself is in a neutral position; if not, adjust the rudder surface corresponding to the first steering gear according to the deviation angle of the rudder surface corresponding to the first steering gear relative to the neutral position, so that the rudder surface corresponding to the first steering gear is in a neutral position; Wherein, when the control surface corresponding to the first steering gear is not in the neutral position, the method further includes: reconstructing the control law of the first steering gear.

9. The method according to claim 8, characterized in that The flight control device determines a second servo with the same function as the first servo controlled by the first servo controller from among the second servos controlled by the second servo controller, and increases the gain of the determined second servo by a preset multiple.

10. The method according to claim 8, characterized in that The flight control device determines the deviation angle of the control surface corresponding to the first steering gear relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

11. The method according to claim 8, characterized in that The first servo controller determines the deviation angle of the control surface corresponding to the first servo relative to the neutral position according to the operation data of the drone collected by the sensor on the drone and its own status data.

12. The method according to claim 8, characterized in that The flight control device determines whether a servo controller fails by detecting the difference between the time when each servo controller last sent a heartbeat signal and the current time, and the difference between the difference and a preset time length.

13. An unmanned aerial vehicle control electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 8 to 12.

14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 8 to 12 is implemented.