Aircraft control method, device, aircraft and readable storage medium

By determining the stopping conditions using the throttle signal and generating a braking mode signal, and combining this with PID control to adjust the rotor current, the problem of long stopping time in multi-rotor aircraft is solved, enabling rapid and safe rotor deceleration and improving the stability and safety of the aircraft.

CN123156907APending Publication Date: 2026-11-24CHONGQING SAIHANG ZHIXING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611448203.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Multirotor aircraft have a long natural deceleration time when they stop due to inertia and air resistance, which poses a safety threat. Moreover, current technology makes it difficult to quickly control the rotor motors to stop.

Method used

By determining the stop protection condition through the throttle control signal, braking mode signals of different intensities are generated. Combined with the PID control algorithm, the rotor current is adjusted to achieve fast and reliable rotor deceleration.

Benefits of technology

It improves the stability and safety of aircraft, meets different shutdown requirements, reduces the risk of accidental triggering, extends endurance, and optimizes energy utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123156907A_ABST
    Figure CN123156907A_ABST
Patent Text Reader

Abstract

This application relates to an aircraft control method, apparatus, aircraft, and readable storage medium. The method includes: determining whether a preset stall protection condition has been met based on a received throttle control signal; if the stall protection condition is met, generating a braking signal according to a predetermined target braking mode; wherein the target braking mode is either a first braking mode or a second braking mode, and the braking intensity corresponding to the braking signal in the first braking mode is different from that in the second braking mode; and controlling the rotor motor to brake based on the braking signal to control rotor deceleration. This improves the flexibility of aircraft control and ensures the safety of the aircraft during landing or emergency stall scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of aircraft technology, and in particular to an aircraft control method, apparatus, aircraft, and readable storage medium. Background Technology

[0002] Multirotor aircraft need to stop their rotor motors during landing, hovering, and after a mission. Currently, this is usually achieved by the rotor motors themselves slowing down naturally due to inertia and air resistance. However, this natural deceleration takes a long time, typically 2 to 5 seconds. During this period, the high-speed rotating blades pose a safety threat to personnel and equipment on the ground. Therefore, it is necessary to quickly stop the rotor motors. Summary of the Invention

[0003] Based on this, this application addresses the aforementioned technical problems by providing an aircraft control method, apparatus, aircraft, and readable storage medium.

[0004] In a first aspect, this application provides an aircraft control method, the method comprising: determining whether a preset stall protection condition has been met based on a received throttle control signal; if the stall protection condition has been met, generating a braking signal according to a predetermined target braking mode; wherein the target braking mode is a first braking mode or a second braking mode, and the braking intensity corresponding to the braking signal in the first braking mode is different from the braking intensity corresponding to the braking signal in the second braking mode; and performing braking control on the rotor motor according to the braking signal to control the rotor deceleration.

[0005] In this embodiment, determining whether the stall protection condition has been met via the throttle control signal reduces the risk of accidental braking, thereby improving aircraft stability. Furthermore, by setting braking modes with different braking intensities to control rotor deceleration, different stall requirements can be met, thus improving the flexibility of aircraft control and ensuring aircraft safety during landing or emergency stall scenarios.

[0006] In an optional embodiment of the first aspect, determining whether a preset stall protection condition has been met based on the received throttle control signal includes: obtaining a throttle value based on the received throttle control signal; and determining that the stall protection condition has been met if the throttle value is less than a preset throttle threshold and the duration reaches a target duration; wherein the target duration is greater than a first duration and less than a second duration, the first duration is used to represent the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration is used to represent the time interval between two adjacent throttle adjustment commands.

[0007] In this embodiment, by determining that the stop condition has been met only when the throttle value is less than the throttle threshold for a target duration, and by setting the target duration between the first duration and the second duration, normal throttle fine-tuning operations in the hovering state can be filtered out, reducing the number of stop protections erroneously triggered due to a brief period of low throttle value, thus ensuring the stability of the aircraft flight. Furthermore, it can quickly identify and activate braking protection before the next throttle adjustment command arrives, effectively shortening the response delay.

[0008] In an optional embodiment of the first aspect, determining whether a preset stall protection condition has been met based on the received throttle control signal includes: obtaining a throttle value based on the received throttle control signal; and determining that the stall protection condition has been met when the throttle value is less than a preset throttle threshold and the duration reaches a target duration, and when the battery is not in a depleted state and / or the flight control signal is valid; wherein the target duration is greater than a first duration and less than a second duration, the first duration is used to represent the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration is used to represent the time interval between two adjacent throttle adjustment commands.

[0009] In this embodiment, by adding the determination of battery status and flight control signal on the basis of throttle value and duration, the risk caused by braking control when the battery is depleted or when the communication connection is abnormal can be reduced, thereby improving the reliability of braking decision and ensuring the safety of braking control.

[0010] In an optional embodiment of the first aspect, generating a braking signal according to a predetermined target braking mode includes: determining a corresponding target current according to the target braking mode; wherein the target currents corresponding to the first braking mode and the second braking mode are different, and the braking intensity is related to the magnitude of the target current; acquiring the real-time current of the rotor motor; determining adjustment parameters according to the current difference between the target current and the real-time current, a preset proportional coefficient, a preset integral coefficient, and a preset derivative coefficient, and generating a braking signal according to the adjustment parameters.

[0011] In this embodiment, by configuring a target current for the target braking mode and generating a braking signal by combining real-time current feedback and PID control algorithm, the braking control has both fast dynamic response capability and good anti-interference performance, thereby ensuring the smoothness and controllability of the rotor deceleration process.

[0012] In an optional embodiment of the first aspect, the braking intensity corresponding to the braking signal in the first braking mode is less than the braking intensity corresponding to the braking signal in the second braking mode; the step of braking control of the rotor motor according to the braking signal to control rotor deceleration includes: when the target braking mode is the first braking mode, controlling the rotor motor to be in a short-circuit state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls rotor deceleration through the braking torque.

[0013] In this embodiment, by controlling the rotor motor to be in a short-circuit state in the first braking mode, a braking torque is generated to brake the rotor motor, thereby reducing the complexity of braking control while providing sufficient and smooth braking torque to decelerate the rotor.

[0014] In an optional embodiment of the first aspect, the step of controlling the rotor motor to brake according to the braking signal to control the rotor deceleration further includes: when the target braking mode is the second braking mode, controlling the rotor motor to alternately be in a short-circuit state and a discharge state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor deceleration through the braking torque, and causing the rotor motor to form a circuit with the battery and charge the battery in the discharge state.

[0015] In this embodiment, by controlling the rotor motor to alternate between short-circuit and discharge states in the second braking mode, braking torque can be generated in the short-circuit state to meet the strong deceleration requirements in emergency or rapid braking scenarios. On the other hand, the rotor kinetic energy can be recovered and utilized by using the circuit formed by the rotor motor and battery in the discharge state, thereby improving energy utilization and extending the aircraft's range, thus achieving an effective balance between braking control and energy recovery.

[0016] In an optional embodiment of the first aspect, the method further includes: during the braking control of the rotor motor, when the received throttle control signal meets the braking exit condition, exiting the target braking mode, generating a drive signal according to the throttle control signal, and driving the rotor motor according to the drive signal to control rotor acceleration.

[0017] In this embodiment, by continuously detecting the throttle signal and employing a brake disengagement mechanism, the risk of delayed response due to the inability to disengage the brake in a timely manner can be reduced, thereby improving the flexibility of brake control and the aircraft's handling response performance.

[0018] Secondly, this application also provides an aircraft control device, the device comprising: a determining module, configured to determine whether a preset stall protection condition has been reached based on a received throttle control signal; a generating module, configured to generate a braking signal based on a predetermined target braking mode when the stall protection condition is reached; wherein the target braking mode is a first braking mode or a second braking mode, and the braking intensity corresponding to the braking signal in the first braking mode is different from the braking intensity corresponding to the braking signal in the second braking mode; and a control module, configured to perform braking control on the rotor motor based on the braking signal to control the rotor deceleration.

[0019] Thirdly, this application also provides an aircraft including a memory and an electronic speed controller, wherein the memory stores a computer program, and the electronic speed controller executes the computer program to implement the steps of the method described above.

[0020] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an electronic speed controller, implements the steps of the method described above.

[0021] Fifthly, this application also provides a computer program product, including a computer program that, when executed by an electronic speed controller, implements the steps of the method described in any of the above aspects.

[0022] Regarding the beneficial effects of any of the technical solutions in the second to fifth aspects mentioned above, refer to the beneficial effects of the corresponding technical solutions in the first aspect; repeated examples will not be listed here. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a schematic diagram of an optional application environment for the aircraft control method in one embodiment;

[0025] Figure 2 This is a schematic diagram of an optional flow of an aircraft control method in one embodiment;

[0026] Figure 3 This is a schematic diagram of an optional circuit connection between the electronic speed controller and the rotor motor in one embodiment;

[0027] Figure 4This is an optional schematic diagram of a rotor motor being in a short-circuit state in one embodiment;

[0028] Figure 5 This is an optional schematic diagram of a rotor motor in a discharging state in one embodiment;

[0029] Figure 6 This is a schematic diagram of an optional structure of the aircraft control device in one embodiment;

[0030] Figure 7 This is a schematic diagram of an optional internal structure of the aircraft in one embodiment. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0032] The terms "first," "second," etc., used in this application may be used to describe various elements, but these elements are not limited by these terms. These terms are used only to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0033] The aircraft control method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the remote control terminal 101 is communicatively connected to the aircraft 102. For example, the remote control terminal 101 and the aircraft 102 can communicate via the BLE (Bluetooth Low Energy) protocol. The remote control terminal 101 can be a smartphone, tablet, personal computer, vehicle, or portable wearable device, such as a smartwatch, smart bracelet, or head-mounted device. The aircraft 102 can be a multi-rotor aircraft, meaning it can include a flight controller, multiple rotors, and multiple ESCs (Electronic Speed ​​Controls). Each rotor has a rotor motor and blades, which are connected via a transmission structure. One electronic speed controller is connected to a rotor motor in one rotor, and the electronic speed controller controls the rotational speed of the rotor motor, which drives the blades to rotate via the transmission structure.

[0034] In one exemplary embodiment, such as Figure 2As shown, an aircraft control method is provided. Taking the application of this method to an electronic speed controller in an aircraft as an example, the method includes the following steps S201 to S203.

[0035] Step S201: Based on the received throttle control signal, determine whether the preset stop protection condition has been met.

[0036] The throttle control signal can be understood as the signal used to control the rotor motor. The stall protection condition can be used to determine whether the user's control intention is to stop the rotor, or to determine whether the aircraft needs to enter the braking protection process.

[0037] In some embodiments, the user can send a throttle control signal to the aircraft via a remote control terminal. The electronic speed controller in the aircraft then receives the throttle control signal and determines, based on the throttle control signal, whether the user's control intention is to stop the rotor or whether the aircraft needs to enter the braking protection process, in order to determine whether the stop protection condition has been met.

[0038] In some other embodiments, the user can send a braking command to the aircraft via a remote control terminal. The flight controller in the aircraft then receives the braking command, generates a throttle control signal based on the braking command, and sends it to the electronic speed controller. The electronic speed controller then receives the throttle control signal and determines, based on the throttle control signal, whether the user's control intention is to stop the rotor, or whether the aircraft needs to enter the braking protection process, in order to determine whether the stop protection condition has been met.

[0039] Step S202: When the stop protection condition is met, a braking signal is generated according to the predetermined target braking mode.

[0040] The target braking mode can be understood as the currently activated braking mode, and it can be either the first braking mode or the second braking mode. Furthermore, the braking intensity corresponding to the braking signal in the first braking mode differs from that in the second braking mode. The braking signal can be understood as a signal used to control the rotor motor to stop rotating.

[0041] In some embodiments, the user can configure the braking function via a remote control. For example, the user can send a braking configuration command to the aircraft via the remote control. The aircraft then receives the braking configuration command and parses it to obtain a configuration identifier. If the configuration identifier is a first identifier, such as 1, the aircraft sets the first braking mode corresponding to the first identifier to the enabled state, that is, the first braking mode is used as the target braking mode; if the configuration identifier is a second identifier, such as 2, the aircraft sets the second braking mode corresponding to the second identifier to the enabled state, that is, the second braking mode is used as the target braking mode; if the configuration identifier is a third identifier, such as 0, the aircraft disables the braking function, that is, both the first braking mode and the second braking mode are set to the disabled state.

[0042] In some embodiments, when the electronic speed controller determines that the stall protection condition has been met, it generates a braking signal based on the target braking mode. For example, if the target braking mode is a first braking mode, the electronic speed controller generates a first braking signal based on the first braking mode. If the target braking mode is a second braking mode, the electronic speed controller generates a second braking signal based on the second braking mode.

[0043] Step S203: Perform braking control on the rotor motor according to the braking signal to control the rotor deceleration.

[0044] In some embodiments, when the target braking mode is the first braking mode, the electronic speed controller can control the current flowing through the rotor motor according to the first braking signal, and use the current to form a first braking torque to brake the rotor motor, that is, use the first braking torque to control the deceleration of the rotor motor so that the rotor decelerates and the aircraft stops.

[0045] In some other embodiments, when the target braking mode is the second braking mode, the electronic speed controller can control the current flowing through the rotor motor according to the second braking signal, and use the current to form a second braking torque to brake the rotor motor, that is, use the second braking torque to control the deceleration of the rotor motor so that the rotor decelerates and the aircraft stops.

[0046] Understandably, the braking intensity corresponding to the first braking signal differs from that corresponding to the second braking signal; that is, the braking torque of the first and second braking modes differs. Therefore, users can select the appropriate braking mode based on the actual flight scenario. For example, assuming the braking intensity in the first braking mode is less than that in the second braking mode, the first braking mode can be applied to conventional landing scenarios such as smooth landing or stoppage. In this case, the first braking mode controls the rotor motor to decelerate smoothly to achieve stable braking, thus reducing the impact on the transmission structure during braking. The second braking mode can be applied to emergency landing scenarios or emergency stops when encountering sudden obstacles. In this case, the second braking mode controls the rotor motor to decelerate rapidly to achieve rapid braking, thus reducing the risk of aircraft crash.

[0047] In this embodiment, determining whether the stall protection condition has been met via the throttle control signal reduces the risk of accidental braking, thereby improving aircraft stability. Furthermore, by setting braking modes with different braking intensities to control rotor deceleration, different stall requirements can be met, thus improving the flexibility of aircraft control and ensuring aircraft safety during landing or emergency stall scenarios.

[0048] In an exemplary embodiment, step S201 may include the following steps: obtaining a throttle value based on the received throttle control signal; and determining that the stop protection condition has been met when the throttle value is less than a preset throttle threshold and the duration reaches the target duration.

[0049] The throttle value can be used to represent the desired rotational speed or desired power of the rotor motor, and the throttle value can be expressed as a percentage or a positive number. The preset throttle threshold can be understood as a pre-set critical throttle value at which the motor output power does not need to be controlled, and it can also be expressed as a percentage or a positive number. For example, the throttle threshold can be set to 2% of the throttle travel, where throttle travel refers to the range from the minimum to the maximum throttle value. Assuming the throttle travel is 0~1000, the throttle threshold can be expressed as 20. It should be understood that the throttle threshold can be set according to actual conditions, and this application embodiment is not limited to this.

[0050] The target duration can be understood as the minimum duration during which the throttle value is lower than the throttle threshold, as preset. That is, only when the actual duration of the throttle value being lower than the throttle threshold exceeds this minimum duration can the user's control intention be determined as stopping the rotor. Furthermore, the target duration is greater than a first duration and less than a second duration. The first duration represents the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration represents the time interval between two consecutive throttle adjustment commands. For example, based on testing and analysis of the aircraft's actual flight process, the first duration is typically less than 100ms, and the second duration is typically greater than 300ms. Therefore, the target duration can range from 150ms to 200ms; for example, the target duration could be set to 180ms. It should be understood that the target duration can be set according to actual conditions, and this application embodiment does not limit it.

[0051] In some embodiments, the electronic governor continuously receives throttle control signals and parses them to obtain an initial throttle value with a positive or negative sign. Since the positive or negative sign in the initial throttle value is used to indicate the rotation direction of the rotor motor, the absolute value of the initial throttle value can be taken as the throttle value, and conditional judgments can be made based on the magnitude of the value reflected by the throttle value.

[0052] In some embodiments, the electronic speed controller compares the throttle value with a throttle threshold. If the throttle value is greater than or equal to the throttle threshold, it indicates that the rotor motor needs to output power. If the throttle value is less than the throttle threshold, a timer is used to start timing. If the throttle value is greater than or equal to the throttle threshold during the timing period, the timer is reset until the throttle value is less than the throttle threshold again. This can be understood as follows: if the throttle value is greater than or equal to the throttle threshold, or if the duration of the throttle value being less than the throttle threshold does not reach the target duration, it is determined that the shutdown protection condition has not been met. If the throttle value is less than the throttle threshold and the duration exceeds the target duration, it is determined that the user's control intention is to control the rotor motor to stop outputting power to stop the rotor, and thus the shutdown protection condition is determined to have been met.

[0053] Understandably, setting a target duration greater than the first duration and less than the second duration can reduce the risk of accidental braking. The target duration needs to be greater than the first duration because when the aircraft is hovering, throttle adjustments are typically required to maintain altitude stability. These adjustments cause slight throttle fluctuations, meaning the throttle value will fluctuate slightly around the set value, and during these fluctuations, the throttle value may fall below the throttle threshold. Therefore, in this embodiment, the shutdown protection condition is not determined when the throttle value falls below the throttle threshold. Instead, based on the short throttle adjustment cycle, a target duration greater than the throttle adjustment cycle is set as the shutdown protection condition. This reduces the risk of frequent switching between drive and braking modes and effectively reduces rotor motor speed oscillations.

[0054] The reason why the target duration needs to be less than the second duration is that the user's control intention may change at any time. By setting the target duration to be less than the time interval between two adjacent throttle adjustment commands, it is possible to quickly start braking before obtaining the user's next control intention, and also reduce misjudgments caused by the user's rapid and continuous operation.

[0055] In this embodiment, by determining that the stop condition has been met only when the throttle value is less than the throttle threshold for a target duration, and by setting the target duration between the first duration and the second duration, normal throttle fine-tuning operations in the hovering state can be filtered out, reducing the number of stop protections erroneously triggered due to a brief period of low throttle value, thus ensuring the stability of the aircraft flight. Furthermore, it can quickly identify and activate braking protection before the next throttle adjustment command arrives, effectively shortening the response delay.

[0056] In an exemplary embodiment, step S201 may include the following steps: obtaining a throttle value based on the received throttle control signal; and determining that the stop protection condition has been met when the throttle value is less than a preset throttle threshold and the duration reaches the target duration, and when the battery is not in a depleted state and / or the flight control signal is valid.

[0057] The throttle value can be used to represent the desired rotational speed or desired power of the rotor motor, and the throttle value can be expressed as a percentage or a positive number. The preset throttle threshold can be understood as a pre-set critical throttle value at which the motor output power does not need to be controlled, and it can also be expressed as a percentage or a positive number. For example, the throttle threshold can be set to 2% of the throttle travel, where throttle travel refers to the range from the minimum to the maximum throttle value. Assuming the throttle travel is 0~1000, the throttle threshold can be expressed as 20. It should be understood that the throttle threshold can be set according to actual conditions, and this application embodiment is not limited to this.

[0058] The target duration can be understood as the minimum duration during which the throttle value is lower than the throttle threshold, as preset. That is, only when the actual duration of the throttle value being lower than the throttle threshold exceeds this minimum duration can the user's control intention be determined as stopping the rotor. Furthermore, the target duration is greater than a first duration and less than a second duration. The first duration represents the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration represents the time interval between two consecutive throttle adjustment commands. For example, based on testing and analysis of the aircraft's actual flight process, the first duration is typically less than 100ms, and the second duration is typically greater than 300ms. Therefore, the target duration can range from 150ms to 200ms; for example, the target duration could be set to 180ms. It should be understood that the target duration can be set according to actual conditions, and this application embodiment does not limit it.

[0059] In some embodiments, the electronic governor continuously receives throttle control signals and parses them to obtain an initial throttle value with a positive or negative sign. Since the positive or negative sign in the initial throttle value is used to indicate the rotation direction of the rotor motor, the absolute value of the initial throttle value can be taken as the throttle value, and conditional judgments can be made based on the magnitude of the value reflected by the throttle value.

[0060] In some embodiments, the electronic speed controller compares the throttle value with a throttle threshold. If the throttle value is greater than or equal to the throttle threshold, it indicates that the rotor motor output power needs to be controlled. If the throttle value is less than the throttle threshold, a timer is used to start timing. If the throttle value is greater than or equal to the throttle threshold during the timing period, the timer is reset until the throttle value is less than the throttle threshold again. This can be understood as follows: if the throttle value is greater than or equal to the throttle threshold, or if the duration of the throttle value being less than the throttle threshold does not reach the target duration, it is determined that the shutdown protection condition has not been met. If the throttle value is less than the throttle threshold and the duration exceeds the target duration, it is determined that the user's control intention is to control the rotor motor to stop output power to stop the rotor. Then, based on the battery status and / or flight control signals, it is further determined whether the shutdown protection condition has been met.

[0061] In some embodiments, when the throttle value is less than a throttle threshold and the duration exceeds a target duration, the electronic speed controller can determine whether the shutdown protection condition has been met based solely on the battery status. For example, the electronic speed controller acquires the voltage of each battery and compares it with a preset voltage threshold, such as 3V. If the voltage of any battery is less than or equal to the voltage threshold, the battery status is determined to be low, and the shutdown protection condition has not been met. If the voltage of each battery is greater than the voltage threshold, the battery status is determined to be non-low, and the shutdown protection condition has been met.

[0062] It is understandable that when a battery is in a low-charge state, its internal resistance increases. If the rotor motor is braked while the battery is in a low-charge state, the braking current will cause a large voltage drop across the battery's internal resistance, resulting in a smaller voltage difference across the battery terminals. This could lead to a false alarm of a battery malfunction and trigger the low-voltage protection. Therefore, this embodiment of the application effectively reduces the false triggering of low-voltage protection by using a non-low-charge battery state as one of the stop protection conditions.

[0063] In some other embodiments, when the throttle value is less than the throttle threshold and the duration exceeds the target duration, the electronic speed controller can determine whether the stall protection condition has been met based solely on the flight control signal. For example, the electronic speed controller can determine whether the flight control signal is valid by checking the flight controller or directly, i.e., whether the communication link between the aircraft and the remote controller is normal. If the flight control signal is invalid, it indicates that the communication link between the aircraft and the remote controller is abnormal, and therefore the stall protection condition has not been met; if the flight control signal is valid, it indicates that the communication link between the aircraft and the remote controller is normal, and therefore the stall protection condition has been met.

[0064] It is understandable that when the flight control signal is invalid, it indicates that the communication link between the aircraft and the remote control is abnormal, that is, the remote control cannot communicate with the aircraft. In this case, the aircraft will execute a loss of control protection strategy, such as automatically returning to the starting point. In this situation, the electronic controller is not allowed to make a decision on whether to perform braking control, which can reduce the risk of aircraft failure.

[0065] In some other embodiments, when the throttle value is less than a throttle threshold and the duration exceeds a target duration, the electronic speed controller (ESC) can determine whether the stall protection condition has been met based on the battery status and flight control signals. For example, the ESC determines the battery status based on the voltage of each battery and a preset voltage threshold, and obtains the status of the flight control signals; if the battery status is low or the flight control signals are invalid, it is determined that the stall protection condition has not been met; if the battery status is not low and the flight control signals are valid, it is determined that the stall protection condition has been met.

[0066] In this embodiment, the system adds the determination of battery status and flight control signals to the determination of throttle value and duration. This can reduce the risk caused by braking control when the battery is depleted or when the communication connection is abnormal, thereby improving the reliability of braking decision and ensuring the safety of braking control.

[0067] In an exemplary embodiment, step S203 above may include the following steps: determining the corresponding target current according to the target braking mode; acquiring the real-time current of the rotor motor; determining adjustment parameters according to the current difference between the target current and the real-time current, a preset proportional coefficient, a preset integral coefficient and a preset differential coefficient, and generating a braking signal according to the adjustment parameters.

[0068] The target currents for the first braking mode and the second braking mode are different, and the braking intensity is related to the magnitude of the target current. For example, assuming the braking intensity in the first braking mode is less than that in the second braking mode, then the first current corresponding to the first braking mode is less than the second current corresponding to the second braking mode. For instance, the first current can be set to 3.0A, and the second current can be set to 6.0A. Furthermore, the value range of both the first and second currents can be 0.5A to 20A. It is understood that the specific magnitudes of the first and second currents can be set according to actual conditions, and this application does not limit this. Moreover, users can set the magnitudes of the first and second currents according to the specifications of the rotor motor and the inertia of the blades.

[0069] The preset proportional coefficient, preset integral coefficient, and preset derivative coefficient are three parameters in the PID (Proportional, Integral, Differential) algorithm. The proportional coefficient can be set to 0.5, the integral coefficient to 0.1, and the derivative coefficient to 0.05. It is understood that the specific values ​​of the proportional coefficient, integral coefficient, and derivative coefficient can be set according to actual conditions, and are not limited in this embodiment.

[0070] The adjustment parameters are used to represent the amount of adjustment to the braking signal. For example, when the braking signal is a PWM (Pulse Width Modulation) signal, the adjustment parameters can be used to represent the amount of adjustment to the duty cycle of the PWM signal.

[0071] In some embodiments, when the target braking mode is a first braking mode, the electronic speed controller acquires a first current as the target current and acquires the real-time current of the rotor motor. The electronic speed controller then calculates a first current difference between the real-time current and the first current, and determines a first adjustment parameter based on the first current difference, a preset proportional coefficient, a preset integral coefficient, and a preset derivative coefficient. Next, the electronic speed controller generates a first PWM signal based on the first adjustment parameter and uses the first PWM signal as a braking signal to adjust the rotor motor current. Through multiple adjustments, the rotor motor current continuously approaches the magnitude of the first current, until the rotor motor current eventually becomes the same as the first current, thereby generating a first braking torque through the first current to brake the rotor motor.

[0072] In some embodiments, when the target braking mode is the second braking mode, the electronic speed controller acquires a second current as the target current and acquires the real-time current of the rotor motor. The electronic speed controller then calculates the second current difference between the real-time current and the second current, and determines a second adjustment parameter based on the second current difference, a preset proportional coefficient, a preset integral coefficient, and a preset derivative coefficient. Next, the electronic speed controller generates a second PWM signal based on the second adjustment parameter and uses the second PWM signal as a braking signal to adjust the rotor motor current. Through multiple adjustments, the rotor motor current continuously approaches the magnitude of the second current, until the rotor motor current eventually becomes the same as the second current, thereby generating a second braking torque through the second current to brake the rotor motor.

[0073] Understandably, the proportional coefficient is used to amplify or reduce the current difference in real time to quickly respond to changes in deviation; the integral coefficient is used to integrate the historically accumulated current difference to eliminate steady-state errors and ensure that the actual current can accurately track the target current; and the differential coefficient is used to predict the rate of change of the current difference to suppress overshoot and oscillation and enhance the stability of the system.

[0074] It is understandable that the electronic speed controller adjusts the braking current flowing through the rotor motor to match the target current, and generates a corresponding braking torque based on the target current to control the rotor motor's braking force. Therefore, since the first current is less than the second current, the first braking torque in the first braking mode is less than the second braking torque in the second braking mode, resulting in a lower braking intensity in the first braking mode compared to the second braking mode.

[0075] In some embodiments, the electronic speed controller may include a main control chip, a sampling module, a drive module, and a switching assembly. The main control chip is connected to both the sampling module and the drive module, which in turn are connected to the switching assembly. The switching assembly is connected to both ends of the rotor motor. The process of the electronic speed controller adjusting the rotor motor current is as follows: First, the sampling module collects the rotor motor current, amplifies it, and transmits it to the main control chip. Then, the main control chip determines the target current based on the target braking mode, and determines the adjustment parameters based on the current difference between the real-time current and the target current, a preset proportional coefficient, a preset integral coefficient, and a preset derivative coefficient. Based on the adjustment parameters, the main control chip adjusts the duty cycle and generates a PWM signal, which is then transmitted to the drive module. Next, the drive module adjusts the on and off times of the corresponding switches in the switching assembly according to the duty cycle of the PWM signal to adjust the rotor motor current. It is understood that by precisely controlling the rotor motor current, the risk of excessive current causing rotor motor demagnetization or overheating and damage to the electronic controller's switching assembly can be reduced.

[0076] Understandably, the PID update cycle is synchronized with the cycle of the main control chip controlling the rotor motor, both having a cycle of 2ms. This ensures sufficient control bandwidth to track current fluctuations. The main control chip can amplify the proportional, integral, and derivative coefficients to integers according to a preset amplification factor N, such as 1000. Then, based on the current difference, the amplified proportional, integral, and derivative coefficients, integer calculations are performed to obtain the amplified adjustment parameters. This reduces floating-point calculation overhead, making the calculation time much shorter than the rotor motor's control cycle, thereby improving the real-time control performance of the rotor motor. Understandably, the amplified integral coefficient has a finite value, for example, a finite value range of -500 to +500. Setting a finite value can reduce the saturation of the integral calculation result. The amplified adjustment parameters also have a limit, for example, a limit range of 0 to 1000, which corresponds to a duty cycle range of 0 to 100%.

[0077] In this embodiment, by configuring a target current for the target braking mode and generating a braking signal by combining real-time current feedback and PID control algorithm, the braking control has both fast dynamic response capability and good anti-interference performance, thereby ensuring the smoothness and controllability of the rotor deceleration process.

[0078] In an exemplary embodiment, when the braking intensity corresponding to the braking signal in the first braking mode is less than the braking intensity corresponding to the braking signal in the second braking mode, step S203 may include the following steps: when the target braking mode is the first braking mode, control the rotor motor to be in a short-circuit state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor to decelerate through the braking torque.

[0079] In some embodiments, when the target braking mode is the first braking mode, the electronic speed controller controls the rotor motor to be in a short-circuit state based on the first braking signal. When the rotor motor is in the short-circuit state, two phases of the motor windings are short-circuited. As the rotor motor rotates under inertia, its windings cut magnetic field lines in the magnetic field, generating an induced electromotive force (EMF). This induced EMF forms a braking current in the short-circuit circuit, thereby generating an electromagnetic torque opposite to the rotor motor's rotation direction. This electromagnetic torque is the braking torque. Since the braking torque acts in the opposite direction to the rotor motor's rotation direction, deceleration control of the rotor is achieved.

[0080] For ease of understanding, this application provides a circuit connection diagram of an electronic speed controller and a rotor motor, taking as an example an electronic speed controller that includes a main control chip, a sampling module, a drive module, and a switching assembly, wherein the sampling module includes a current sampler and two sampling resistors, the drive module includes two drive chips, and the switching assembly includes two high-side switches and two low-side switches.

[0081] Please see Figure 3 This includes a battery, an electronic speed controller, and a rotor motor. The electronic speed controller includes a main control chip, a current sampler, a first sampling resistor, a second sampling resistor, a first driver chip, a second driver chip, a first high-side switch, a first low-side switch, a second high-side switch, and a second low-side switch. Furthermore, the first high-side switch, the first low-side switch, the second high-side switch, and the second low-side switch can all be NMOS transistors (N-channel Metal-Oxide-Semiconductor Field-Effect Transistors).

[0082] The main control chip's input terminal is connected to the current sampler's output terminal; its first output terminal is connected to the first driver chip's input terminal; and its second output terminal is connected to the second driver chip's input terminal. One end of the first sampling resistor is connected to the second terminal of the first low-side switch, and the other end is grounded. One end of the second sampling resistor is connected to the battery, and the other end is grounded. The current sampler's first input terminal is connected to the connection node between the first sampling resistor and the first low-side switch; its second input terminal is connected to the connection node between the first and second sampling resistors; and its third input terminal is connected to the connection node between the second sampling resistor and the battery.

[0083] The first output terminal of the first driver chip is connected to the control terminal of the first high-side switch, and the second output terminal of the first driver chip is connected to the control terminal of the first low-side switch. The first terminal of the first high-side switch is connected to the battery, the second terminal of the first high-side switch is connected to the first terminal of the first low-side switch, and the second terminal of the first low-side switch is connected to one end of the first sampling resistor. The first output terminal of the second driver chip is connected to the control terminal of the second high-side switch, and the second output terminal of the second driver chip is connected to the control terminal of the second low-side switch. The first terminal of the second high-side switch is connected to the battery, the second terminal of the second high-side switch is connected to the first terminal of the second low-side switch, and the second terminal of the second low-side switch is grounded. One end of the rotor motor is connected to the connection node of the first high-side switch and the first low-side switch, and the other end of the rotor motor is connected to the connection node of the second high-side switch and the second low-side switch. It can be understood that the first high-side switch, the first low-side switch, the second high-side switch, the second low-side switch, and the electrical mechanism form an H-bridge.

[0084] Furthermore, when the target braking mode is the first braking mode, the electronic speed controller's braking control process for the rotor motor is as follows: First, the current sampler collects the current of the first sampling resistor as the rotor motor current, and transmits the amplified first real-time current to the main control chip. Then, the main control chip calculates the first current difference based on the first real-time current and the first current corresponding to the first braking mode, and determines the first adjustment parameter based on the first current difference, a preset proportional coefficient, a preset integral coefficient, and a preset derivative coefficient. Based on the first adjustment parameter, the duty cycle is adjusted and a first PWM signal is generated, which is then transmitted to the first driver chip and the second driver chip. Next, the first driver chip controls the first high-side switch to be in the off state according to the first PWM signal, and controls the second low-side switch to alternately be in the off and on states to adjust the rotor motor current. Simultaneously, the second driver chip controls the second high-side switch to be in the off state according to the first PWM signal, and controls the second low-side switch to alternately be in the on and off states to adjust the rotor motor current. Furthermore, the states of the first low-side switch and the second low-side switch are the same; the ratio of the duration of the first low-side switch in the on state to the duration of the first low-side switch in the off state is related to the duty cycle of the first PWM signal.

[0085] For ease of understanding, this application also provides a schematic diagram showing a rotor motor in a short-circuit state. Please refer to... Figure 4When both the first low-side switch and the second low-side switch are in the ON state, and the two ends of the rotor motor are short-circuited, the first sampling resistor, the first low-side switch, the second low-side switch, and the rotor motor form a short-circuit circuit, meaning the rotor motor is in a short-circuit state. At this time, the braking torque is generated by the braking current in the short-circuit circuit, and the direction of the braking torque is opposite to the rotation direction of the rotor motor, causing the rotor motor to decelerate and thus converting the mechanical energy of the rotor motor's rotation into heat energy. It can be understood that in the first braking mode, all the mechanical energy of the rotor motor's rotation is converted into heat energy.

[0086] In this embodiment, by controlling the rotor motor to be in a short-circuit state in the first braking mode, a braking torque is generated to brake the rotor motor, thereby reducing the complexity of braking control while providing sufficient and smooth braking torque to decelerate the rotor.

[0087] In an exemplary embodiment, step S203 may further include the following steps: when the target braking mode is the second braking mode, control the rotor motor to alternately be in a short-circuit state and a discharge state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor to decelerate through the braking torque, and the rotor motor forms a circuit with the battery and charges the battery in the discharge state.

[0088] In some embodiments, when the target braking mode is the second braking mode, the electronic speed controller controls the rotor motor to alternately be in a short-circuit state and a discharge state based on the second braking signal. When the rotor motor is in the short-circuit state, two phases of the motor windings are short-circuited. As the rotor motor rotates under inertia, its windings cut magnetic field lines in the magnetic field, generating an induced electromotive force (EMF). This induced EMF forms a braking current in the short-circuit circuit, thereby generating an electromagnetic torque opposite to the rotor motor's rotation direction. This electromagnetic torque is the braking torque. Since the braking torque acts in the opposite direction to the rotor motor's rotation direction, it achieves deceleration control of the rotor. When the rotor motor is in the discharge state, the rotor motor forms a circuit with the battery. As the rotor rotates under inertia, its windings cut magnetic field lines in the magnetic field, generating an induced EMF. This induced EMF is returned to the battery through the circuit formed by the rotor motor and the battery, thus charging the battery.

[0089] To make it easier to understand, let's continue with... Figure 3Taking the second braking mode as an example, the process of the electronic speed controller controlling the rotor motor's braking is described as follows: First, the current sampler collects the current of the second sampling resistor as the rotor motor's current, and transmits the amplified second real-time current to the main control chip. Then, the main control chip calculates the second current difference based on the second real-time current and the second current corresponding to the second braking mode. Based on the second current difference, a preset proportional coefficient, a preset integral coefficient, and a preset derivative coefficient, it determines the second adjustment parameter, adjusts the duty cycle based on the second adjustment parameter, and generates a second PWM signal. The preset PWM signal is transmitted to the first drive chip, and the second PWM signal is transmitted to the second drive chip. Next, the first drive chip controls the first high-side switch to be in the off state and the second low-side switch to be in the on state according to the preset PWM signal. Simultaneously, the second drive chip controls the second high-side switch to alternately be on and off states according to the second PWM signal, and controls the second low-side switch to alternately be on and off states to adjust the rotor motor's current. Furthermore, the state of the second high-side switch is opposite to that of the second low-side switch; the ratio of the duration of the second high-side switch being in the conducting state to the duration of the second low-side switch being in the conducting state is related to the duty cycle of the second PWM signal.

[0090] It is understandable that the basic principle and technical effect of the rotor motor being in a short-circuit state in the second braking mode are the same as those of the rotor motor being in a short-circuit state in the first braking mode described above. For the sake of brevity, they will not be repeated here.

[0091] For ease of understanding, this application also provides a schematic diagram of a rotor motor in a discharging state. Please refer to... Figure 5 With both the first low-side switch and the second high-side switch in the ON state, the rotor motor, the first high-side switch, the battery, the second sampling resistor, the first sampling resistor, and the first low-side switch form a discharge circuit, meaning the rotor motor is in a discharge state. At this time, the rotor motor operates as a generator, and the induced electromotive force it generates flows to the battery through the discharge circuit, converting the mechanical energy of the rotor motor's rotation into electrical energy to recharge the battery. It can be understood that in the second braking mode, part of the mechanical energy of the rotor motor's rotation is converted into heat energy and consumed, while the other part is converted into electrical energy and recovered to the battery.

[0092] In this embodiment, by controlling the rotor motor to alternate between short-circuit and discharge states in the second braking mode, braking torque can be generated in the short-circuit state to meet the strong deceleration requirements in emergency or rapid braking scenarios. On the other hand, the rotor kinetic energy can be recovered and utilized by using the circuit formed by the rotor motor and battery in the discharge state, thereby improving energy utilization and extending the aircraft's range, thus achieving an effective balance between braking control and energy recovery.

[0093] In an exemplary embodiment, the step 203 may further include the following steps: during the braking control of the rotor motor, when the received throttle control signal meets the braking exit condition, exiting the target braking mode, generating a drive signal according to the throttle control signal, and driving the rotor motor according to the drive signal to control rotor acceleration.

[0094] The braking exit condition can be that the throttle value is greater than or equal to the throttle threshold. The drive signal can be understood as the signal used to control the rotation of the rotor motor.

[0095] In some embodiments, during the braking control of the rotor motor, the electronic speed governor continuously monitors the throttle control signal, analyzes the throttle control signal to obtain the throttle value, and compares the throttle value with a throttle threshold. If the throttle value is greater than or equal to the throttle threshold, it indicates that the rotor motor output power needs to be controlled, and the braking exit condition is determined to have been met. Subsequently, the electronic speed governor exits the target braking mode and switches to the drive mode. That is, the electronic speed governor generates a corresponding drive signal based on the throttle value and forms a drive torque based on the drive signal to drive and control the rotor motor. In other words, the drive torque is used to control the acceleration of the rotor motor, so that the rotor switches from a deceleration state to an acceleration state.

[0096] This can be understood as follows: during the braking control of the rotor motors, as soon as the throttle value exceeds the throttle threshold, the aircraft will immediately exit the braking mode and switch to drive mode. Furthermore, there is no delay in exiting the braking mode, ensuring that the rotor motors can respond promptly in emergency scenarios such as attitude recovery and obstacle avoidance maneuvers. Moreover, after exiting the braking mode, the integral calculation results in the PID control algorithm are retained; that is, the integral result is not reset to zero. This allows for a smooth transition when entering the braking mode again, reducing the risk of sudden speed changes caused by PWM signal jumps each time the braking mode is re-entered.

[0097] In this embodiment, by continuously detecting the throttle signal and employing a brake disengagement mechanism, the risk of delayed response due to the inability to disengage the brake in a timely manner can be reduced, thereby improving the flexibility of brake control and the aircraft's handling response performance.

[0098] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0099] Based on the same inventive concept, this application also provides an aircraft control device for implementing the aircraft control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, specific limitations in an embodiment of the aircraft control device provided below can be found in the limitations of the aircraft control method described above, and will not be repeated here.

[0100] In one exemplary embodiment, such as Figure 6 As shown, an aircraft control device is provided, including: a determining module 310, a generating module 320, and a control module 330, wherein:

[0101] The determination module 310 is used to determine whether the preset stop protection condition has been met based on the received throttle control signal.

[0102] The generation module 320 is used to generate a braking signal according to a predetermined target braking mode when the stop protection condition is met; wherein the target braking mode is a first braking mode or a second braking mode, and the braking intensity corresponding to the braking signal in the first braking mode is different from the braking intensity corresponding to the braking signal in the second braking mode.

[0103] The control module 330 is used to brake the rotor motor according to the braking signal in order to control the rotor deceleration.

[0104] Optionally, the determining module 310 is specifically used to: obtain the throttle value based on the received throttle control signal; and determine that the stop protection condition has been met when the throttle value is less than a preset throttle threshold and the duration reaches the target duration; wherein the target duration is greater than a first duration and less than a second duration, the first duration is used to represent the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration is used to represent the time interval between two adjacent throttle adjustment commands.

[0105] Optionally, the determining module 310 is specifically used to: obtain the throttle value based on the received throttle control signal; and determine that the stall protection condition has been reached when the throttle value is less than the preset throttle threshold and the duration reaches the target duration, and when the battery is not in a depleted state and / or the flight control signal is valid; wherein the target duration is greater than the first duration and less than the second duration, the first duration is used to represent the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration is used to represent the time interval between two adjacent throttle adjustment commands.

[0106] Optionally, the generation module 320 is specifically used to: determine the corresponding target current according to the target braking mode; wherein the target currents corresponding to the first braking mode and the second braking mode are different, and the braking intensity is related to the magnitude of the target current; acquire the real-time current of the rotor motor; determine the adjustment parameters according to the current difference between the target current and the real-time current, the preset proportional coefficient, the preset integral coefficient and the preset differential coefficient, and generate a braking signal according to the adjustment parameters.

[0107] Optionally, the control module 330 is specifically used to: control the rotor motor to be in a short-circuit state based on the braking signal when the target braking mode is the first braking mode, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor to decelerate through the braking torque.

[0108] Optionally, the control module 330 is specifically used to: when the target braking mode is the second braking mode, control the rotor motor to alternately be in a short-circuit state and a discharge state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor to decelerate through the braking torque, and to make the rotor motor form a circuit with the battery and charge the battery in the discharge state.

[0109] Optionally, the generation module 320 is further configured to: during the braking control of the rotor motor, when the received throttle control signal meets the braking exit condition, exit the target braking mode and generate a drive signal according to the throttle control signal; the control module 330 is further configured to: perform drive control on the rotor motor according to the drive signal to control rotor acceleration.

[0110] Each module in the aforementioned aircraft control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the electronic speed controller (ESC) of the aircraft in hardware form or independent of it, or they can be stored in the aircraft's memory in software form, so that the ESC can invoke and execute the corresponding operations of each module.

[0111] In one exemplary embodiment, an aircraft is provided, the internal structure of which can be as follows: Figure 7 As shown, the aircraft includes a flight controller, memory, multiple rotors, multiple electronic speed controllers, input / output (I / O) interfaces, and a communication interface. The flight controller, memory, each electronic speed controller, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. Each rotor contains a rotor motor and blades, which are connected via a transmission structure. One electronic speed controller is connected to one rotor motor in one rotor.

[0112] The flight controller of this aircraft provides computing and control capabilities. The aircraft's memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides the environment for the operation of the operating system and computer programs in the non-volatile storage media. The electronic speed controller in the aircraft controls the rotational speed of the rotor motors, which drive the propeller blades to rotate through a transmission structure. The aircraft's input / output interface is used to exchange information with external devices. The aircraft's communication interface is used to communicate with external terminals via a network connection. When the computer program is executed by the electronic speed controller, it implements an aircraft control method.

[0113] Those skilled in the art will understand that Figure 7 The structure shown is a block diagram of a partial structure related to the present application and does not constitute a limitation on the aircraft to which the present application is applied. A specific aircraft may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0114] In one exemplary embodiment, an aircraft is provided, including a memory and an electronic speed controller, the memory storing a computer program that the electronic speed controller executes to implement the steps in the above-described method embodiments.

[0115] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by an electronic speed controller, implements the steps in the above-described method embodiments.

[0116] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by an electronic speed controller, implements the steps in the above-described method embodiments.

[0117] In summary, the aircraft control method, device, aircraft, and readable storage medium provided in this application have the following technical effects: (1) This application adopts a dual braking mode, covering different braking requirements such as gentle braking in normal landing scenarios and rapid braking in emergency braking scenarios, thereby improving the flexibility of controlling aircraft braking. (2) This application adopts PID closed-loop control, which can achieve precise control of braking current and reduce the risk of excessive braking current causing rotor motor demagnetization or overheating damage to the electronic speed controller. (3) By setting braking protection conditions, this application can reduce rotor speed oscillation in hovering state and improve the stability of hovering. (4) This application ensures the immediate response of rotor motor to flight control commands through the mechanism of immediate exit from braking mode, ensuring the safety of attitude recovery and obstacle avoidance maneuvers. (5) The braking control of this application consumes less time, which can reduce the occupancy rate of computing resources and ensure the real-time control of rotor motor.

[0118] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program mentioned can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchain. The flight controllers and electronic speed controllers involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0119] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0120] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An aircraft control method, characterized in that, The method includes: Based on the received throttle control signal, determine whether the preset stop protection condition has been met; When the stop protection condition is met, a braking signal is generated according to a predetermined target braking mode; wherein the target braking mode is a first braking mode or a second braking mode, and the braking intensity corresponding to the braking signal in the first braking mode is different from the braking intensity corresponding to the braking signal in the second braking mode. The rotor motor is braked according to the braking signal to control the rotor deceleration.

2. The method according to claim 1, characterized in that, The step of determining whether a preset stop protection condition has been met based on the received throttle control signal includes: The throttle value is obtained based on the received throttle control signal; If the throttle value is less than the preset throttle threshold and the duration reaches the target duration, the stop protection condition is determined to be met. Wherein, the target duration is greater than the first duration and less than the second duration, the first duration is used to represent the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration is used to represent the time interval between two adjacent throttle adjustment commands.

3. The method according to claim 1, characterized in that, The step of determining whether a preset stop protection condition has been met based on the received throttle control signal includes: The throttle value is obtained based on the received throttle control signal; If the throttle value is less than the preset throttle threshold and the duration reaches the target duration, and the battery is not in a depleted state and / or the flight control signal is valid, the stop protection condition is determined to be met. Wherein, the target duration is greater than the first duration and less than the second duration, the first duration is used to represent the throttle adjustment cycle when the aircraft is in a hovering state, and the second duration is used to represent the time interval between two adjacent throttle adjustment commands.

4. The method according to claim 1, characterized in that, The step of generating a braking signal according to a predetermined target braking mode includes: The target current is determined according to the target braking mode; wherein the target currents corresponding to the first braking mode and the second braking mode are different, and the braking intensity is related to the magnitude of the target current. Obtain the real-time current of the rotor motor; The adjustment parameters are determined based on the current difference between the target current and the real-time current, a preset proportional coefficient, a preset integral coefficient, and a preset differential coefficient, and a braking signal is generated based on the adjustment parameters.

5. The method according to claim 1, characterized in that, The braking intensity corresponding to the braking signal in the first braking mode is less than the braking intensity corresponding to the braking signal in the second braking mode; the step of controlling the rotor motor to brake according to the braking signal to control the rotor deceleration includes: When the target braking mode is the first braking mode, the rotor motor is controlled to be in a short-circuit state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor to decelerate through the braking torque.

6. The method according to claim 5, characterized in that, The step of controlling the rotor motor to brake according to the braking signal to control the rotor deceleration further includes: When the target braking mode is the second braking mode, the rotor motor is controlled to alternately be in a short-circuit state and a discharge state based on the braking signal, so that the rotor motor generates braking torque in the short-circuit state and controls the rotor to decelerate through the braking torque, and the rotor motor forms a circuit with the battery and charges the battery in the discharge state.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: During the braking control of the rotor motor, when the received throttle control signal meets the braking exit condition, the target braking mode is exited, and a drive signal is generated according to the throttle control signal. The rotor motor is then driven according to the drive signal to control rotor acceleration.

8. An aircraft control device, characterized in that, The device includes: The determination module is used to determine whether the preset stop protection condition has been met based on the received throttle control signal; The generation module is used to generate a braking signal according to a predetermined target braking mode when the stop protection condition is met; wherein the target braking mode is a first braking mode or a second braking mode, and the braking intensity corresponding to the braking signal in the first braking mode is different from the braking intensity corresponding to the braking signal in the second braking mode. The control module is used to brake the rotor motor according to the braking signal in order to control the rotor deceleration.

9. An aircraft comprising a memory and an electronic speed controller, said memory storing a computer program, characterized in that, When the electronic speed controller executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the electronic speed controller, it implements the steps of the method according to any one of claims 1 to 7.