The present disclosure relates to a field of flight technology, in particular to an aircraft, a control method for the aircraft and a computer-readable storage medium.
In recent years, aircrafts are more and more popular. Existing aircrafts are mainly divided into winged aircrafts and wingless aircrafts. Winged aircrafts include fixed-wing aircrafts such as airplanes and gliders and moving-wing aircrafts such as rotary wing aircrafts and flapping-wing aircrafts. It is crucial for the popularization of aircrafts that an aircraft, especially a winged aircraft, can fly stably. Therefore, how to consider characteristics of the aircraft itself to achieve a stable flight for the aircraft is one of the urgent problems to be solved in the art.
Based on the above, the present disclosure provides an aircraft capable of achieving a stable flight, a control method for the aircraft, a control device of the aircraft and a computer-readable storage medium.
In an aspect of the present disclosure, the present disclosure provides an aircraft, comprising: a gyroscope for measuring an angular velocity of a yaw angle for the aircraft; a processor for determining a yaw control signal for the aircraft without considering an acceleration of the aircraft based on the angular velocity of the yaw angle; and an execution mechanism for adjusting a flight of the aircraft based on the yaw control signal.
In another aspect of the present disclosure, the present disclosure provides a control method for an aircraft, comprising: acquiring an angular velocity of a yaw angle for the aircraft; determining a yaw control signal for the aircraft without considering an acceleration of the aircraft, based on the angular velocity of the yaw angle; and adjusting a flight of the aircraft, based on the yaw control signal.
In yet another aspect of the present disclosure, the present disclosure provides a control device of an aircraft, comprising a gyroscope, a processor and an execution mechanism, wherein the gyroscope is used for measuring an angular velocity of a yaw angle, the processor is used for implementing the control method for the aircraft according to embodiments of the present disclosure, and the execution mechanism is used for adjusting a flight of the aircraft based on control information generated by the processor.
In yet another aspect of the present disclosure, the present disclosure provides a control device of an aircraft, comprising: a processor; a memory; and computer program instructions stored in the memory, the computer program instructions, when being executed by the processor, performing steps of a control method for the aircraft according to embodiments of the present disclosure.
In yet another aspect of the present disclosure, the present disclosure provides a computer-readable storage medium storing a computer program thereon which, when being executed by a processor, implements a control method for an aircraft according to embodiments of the present disclosure.
In addition, the present disclosure further provides a computer program product for controlling a flight of an aircraft.
The above and other objects, features and advantages of the present disclosure will become more apparent by describing embodiments of the present disclosure in more detail in conjunction with accompanying drawings. The drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. The drawings together with the embodiments of the present disclosure are used to explain the present disclosure, but do not constitute a limitation on the present disclosure. In the drawings, unless otherwise explicitly indicated, the same reference numerals refer to the same components, steps or elements. In the accompanying drawings,
The technical solution of the present disclosure will be clearly and completely described below in conjunction with accompanying drawings. Obviously, the described embodiments are part of embodiments of the present disclosure, but not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary skilled in the art without making any creative efforts fall within the scope of protection of the present disclosure.
In the description of the present disclosure, it should be noted that orientations or positional relationships indicated by terms such as “center”, “upper”, “lower”, “left”, “right”, “vertical”, “horizontal”, “inside” and “outside” are based on orientations or positional relationships shown in the drawings, only for the convenience of describing the present disclosure and simplifying the description, instead of indicating or implying the indicated device or element must have a particular orientation. In addition, terms such as “first”, “second” and “third” are only for descriptive purposes, whereas cannot be understood as indicating or implying relative importance. Likewise, words like “a”, “an” or “the” do not represent a quantity limit, but represent an existence of at least one. Words like “include” or “comprise” mean that an element or an object in front of the said word encompasses those ones listed following the said word and their equivalents, without excluding other elements or objects. Words like “connect” or “link” are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
In the description of the present disclosure, it should be noted that, unless otherwise explicitly specified and limited, terms such as “mount”, “link” and “connect” should be understood in a broad sense. For example, such terms may refer to being fixedly connected, or detachably connected, or integrally connected; may refer to being mechanically connected, or electrically connected; may refer to being directly connected, or indirectly connected via an intermediate medium, or internally connected inside two elements. For ordinary skilled in the art, the specific meanings of the above terms in the present disclosure may be understood on a case-by-case basis.
In addition, technical features involved in different embodiments of the present disclosure described below may be combined with each other as long as no conflicts occurs therebetween.
In order for a better understanding of embodiments of the present disclosure, some terms used in the present disclosure will be explained in conjunction with
Expected yaw direction: a direction on the horizontal plane towards which the aircraft should face at time t in order to make an aircraft fly along a desired flight trajectory, e.g., direction BP in
Yaw angle (i.e., Ay as described below) and pitch angle (i.e., Az as described below): for the convenience of describing the yaw angle, assuming that the direction of a pitch axis (i.e., axis zb in
Desired yaw angle (i.e., θ as described below): an included angle formed by the roll axis (i.e. the direction of the fuselage) of the aircraft of time t−1 and a line by projecting the desired yaw direction of time t onto the plane determined by the roll axis and the yaw axis in the body coordinate system of time t−1, i.e., the included angle θ between OM and xb in
In the present disclosure, different desired flights may be implemented by setting different θ. For example, when θ=0, the aircraft flies in a straight line, as shown in
Deflection angle for the aircraft from the desired yaw direction (i.e., Cy as described below): for the predetermined period, a difference between the angle (i.e., yaw angle) that the aircraft actually rotates around the pitch axis of time t−1 and the desired yaw angle, that is, an included angle formed by the roll axis (i.e. the direction of the fuselage) of the aircraft of time t and a line by projecting the desired yaw direction of time t onto the plane determined by the roll axis and the yaw axis in the body coordinate system of time t, i.e., the included angle Cy between O′O and x′b in
It should be pointed out that the above concepts such as the desired yaw angle are described by projecting the geodetic coordinate system to the body coordinate system. Those skilled in the art can understand that the above related concepts may also be defined by projecting the body coordinate system to the geodetic coordinate system. In addition, although the above-mentioned yaw angle is described on the assumption that the direction of the pitch axis of the aircraft is constant for a predetermined period from time t−1 to time t, and the pitch angle is described on the assumption that the direction of the yaw axis of the aircraft is constant for a predetermined period from time t−1 to time t, it should be understood that it is only for convenience of description and not for limitation of the present disclosure.
In an embodiment, the aircraft 300 may further include a barometer 308, such as that shown in
In an embodiment, the aircraft 300 is a flapping-wing aircraft. The execution mechanism 303 may include at least one of a steering gear mechanism 304 and a motor mechanism 305 as shown in
In an embodiment, the aircraft 300 may further include, for example, a tail rudder 306 and a tail wing 307 as shown in
In an embodiment, the aircraft 300 may further include, for example, two pairs of wings 309 as shown in
A part of components of the aircraft 300 according to an embodiment of the present disclosure are exemplarily illustrated in conjunction with
In an embodiment, the gyroscope may be mounted on the symmetry plane of the aircraft, as shown by the dotted line A-A in
Likewise, in an embodiment, a barometer may be similarly mounted on the symmetry plane of the aircraft. In other embodiments of the present disclosure, the barometer may be mounted at other suitable positions on the aircraft, depending on factors such as the mounting positions of various components in the aircraft.
In the above, the present disclosure illustrates an example of an aircraft according to an embodiment of the present disclosure in conjunction with
The flight of the aircraft according to an embodiment of the disclosure can be more stable, with the operability of the aircraft improved, the manipulation difficulty for the operator reduced, and the experience of the user enhanced.
Furthermore, in the aircraft according to an embodiment of the present disclosure, the integrated accumulated error for the gyroscope may be eliminated or reduced, and the elimination or reduction of the integrated accumulated error does not require the complementary filtering based on acceleration data. Therefore, an aircraft for which the acceleration data of the aircraft is difficult to be used for complementary filtering can also fly stably, which is especially useful for a flapping-wing aircraft (especially a single-tail rudder/single-motor flapping-wing aircraft). Because a flapping-wing aircraft cannot hover, with its steering gear either on the left or on the right, and its both sides cannot be guaranteed as completely consistent when it isn't turning, due to the restricted wing technology, its motion mode is often in a circular motion state. Because the centripetal force other than the gravity continues to act, it is impossible to use acceleration data of the aircraft to calculate an attitude angle to compensate the integrated accumulated error for the gyroscope. This problem is more prominent in terms of a flapping-wing aircraft with a single steering gear/single motor. The aircraft according to an embodiment of the present disclosure can implement a stable flight without acceleration data of the aircraft, thus solving a difficult control problem caused by the inherent characteristics of the aircraft.
Hereinafter, the present disclosure will illustrate a control method for an aircraft according to the embodiments of the present disclosure in detail in conjunction with
At step S500, an angular velocity of a yaw angle of an aircraft is acquired, and the angular velocity of the yaw angle is measured by a gyroscope (e.g., gyroscope 301 in
In an embodiment, in order to make the measurement result of the gyroscope more accurate, an zero-bias calibration may be performed on the gyroscope to reduce the effect of the static bias of the gyroscope itself on the data. In an embodiment, the zero-bias calibration may be performed on the gyroscope by means of the following method. Assuming that the gyroscope is a three-axis gyroscope, when the three-axis data of the gyroscope is less than a predetermined value (e.g., 100 dps) for a predetermined period (e.g., 20 s) continuously, the gyroscope is considered to be in a stationary state, and then the gyroscope data at this time is recorded. At each subsequent measurement, the result of subtracting the numerical value of the gyroscope in the stationary state recorded as described above from the data measured by the gyroscope is taken as the actual angular velocity.
The method then proceeds to step S510. At step S510, a yaw control signal for the aircraft is determined without considering an acceleration of the aircraft, based on the angular velocity of the yaw angle, which will be described in detail later in conjunction with
The control method for the aircraft according to the embodiments of the present disclosure described in conjunction with
Thereafter, the method proceeds to step S514. At step S514, a yaw control signal is determined based on the deflection angle. For example, the yaw control signal may be determined based on the obtained deflection angle by means of a closed-loop control method, for example, a closed-loop control method with a negative feedback effect such as PID, PI or PD.
In an embodiment, force and direction of a steering gear for controlling the flight of the aircraft, i.e., the yaw control signal, may be output by performing PID control on the deflection angle. Exemplarily, that force of the steering gear may be obtained by equation (1),
Fs=Kp*Cy+Ki*∫Cy*dt+Kd*dCy/dt (1)
where Fs represents the force of the steering gear for controlling the flight of the aircraft, Cy represents the deflection angle for the aircraft from the desired yaw direction, ∫Cy*dt represents an integral operation performed on Cy, dCy/dt represents a differential operation performed on Cy, and Kp, Ki and Kd are constants. In an embodiment, Kp=1, Ki=0.001, and Kd=0.1. It should be noted that values of Kp, Ki and Kd in foregoing embodiments are merely examples, but not limitations. Those skilled in the art may make appropriate settings according to requirements on parameters and control accuracy of the aircraft.
In this case, the larger Cy is, the greater the deflection angle for the aircraft from the desired yaw direction is, that is, the greater the degree to which the aircraft deviates from the desired yaw direction is. When Cy is large, that is, the degree to which the aircraft deviates is large at a certain time point, the deviation of the aircraft can be corrected by means of the control method based on the above equation (1), especially the first item in equation (1), namely Kp*Cy. When the accumulated Cy increases, that is, the deviation degree that the aircraft accumulates for a certain period is large, the accumulated error can be reduced by means of the control method based on the above equation (1), especially the second term in equation (1), i.e. Ki*∫Cy*dt. When Cy changes rapidly in a short period, that is, the aircraft deviates sharply, the deviation of the aircraft can be rapidly corrected by means of the control method based on the above equation (1), especially the third item in equation (1), namely Kd*dCy/dt. As such, various deviation modes of the aircraft can be adjusted accordingly by controlling in the above-mentioned manner.
With respect to the direction of the steering gear, in an embodiment, the direction of the steering gear may be determined based on Cy, for example, if Cy>0, the steering gear is steered in the direction along which Cy is decreasing; if Cy<0, the steering gear is steered in the direction along which Cy is increasing. It should be understood that the aforementioned method of determining the direction of the steering gear is merely an example, but not a limitation to the present disclosure.
In addition to making the flight of the aircraft more stable, the control method for the aircraft described above in conjunction with
With respect to determining the deflection angle for the aircraft from the desired yaw direction (i.e., step S512 in
Cy=Ay−θ (2)
where Cy represents the deflection angle for the aircraft from the desired yaw direction, Ay represents the yaw angle, and θ represents the desired yaw angle.
In this embodiment, various flights of the aircraft may be implemented by setting an appropriate θ. For example, setting θ to 0 may implement a straight flight of the aircraft; setting θ to a non-zero constant value may implement a hovering flight of the aircraft, and the like.
Compared with the control method for the aircraft described in conjunction with
With respect to step S512 in
At step S512_2, the angular velocity of the yaw angle is integrated to obtain the yaw angle. Then, the method proceeds to step S512_4. At step S512_4, the yaw angle is filtered to obtain the filtered yaw angle. For example, the filtering may be performed by obtaining a difference between the yaw angle of the current time point and the filtered yaw angle of the previous time point and being based on the difference. In an embodiment, a low-pass filter, such as IIR low-pass filter, may be used to filter the yaw angle. In an example embodiment, an IIR low-pass filter with a cut-off frequency of 5 Hz-20 Hz may be used to filter the yaw angle to obtain the filtered yaw angle. It should be understood that filter types and cut-off frequencies in the foregoing embodiments are merely examples, but not limitations. One skilled in the art may choose a suitable filter and set a corresponding cut-off frequency according to the type of aircraft, the flapping of its wings and the like.
After the yaw angle and the filtered yaw angle are obtained, the method proceeds to step S512_6. At step S512_6, the deflection angle for the aircraft from the desired yaw direction is determined based on the yaw angle and the filtered yaw angle. In an embodiment, the deflection angle for the aircraft from the desired yaw direction may be determined according to equation (3),
Cy=Ay−By−θ (3)
where Cy represents the deflection angle for the aircraft from the desired yaw direction, Ay represents the yaw angle, By represents the filtered yaw angle, and θ represents the desired yaw angle.
In an embodiment of the present disclosure, the integrated accumulated error for the gyroscope can be eliminated or reduced by obtaining the difference between the yaw angle (i.e., the integration result of the angular velocity measured by the gyroscope) and the filtered yaw angle, making the flight of the aircraft more stable.
Moreover, in the embodiment of the present disclosure, the elimination or reduction of the above-mentioned integrated accumulated error is carried out by integrating the angular velocity measured by the gyroscope first, then performing the filtering based on the filtered data of the previous time point, and then obtaining the difference between the integration result and the filtered data, which is more suitable for an aircraft for which the frequency of the body movement is close to the noise frequency, such as a flapping-wing aircraft. This is because the conventional complementary filtering is usually suitable for an aircraft (e.g., a rotary wing aircraft) whose power source is fan blades driven by a high-frequency motor, for which the noise frequency is quite different from the frequency of the body movement, and the process noise may be eliminated or reduced by directly filtering the data measured by gyroscopes. Whereas for a flapping-wing aircraft, because the frequency of its wing flapping is close to that of the noise of the actual motion, the effective signal may be filtered out if filtering is performed directly on the angular velocity measured by the gyroscope. In the embodiment of the present disclosure, through the above-mentioned processing manner, the integrated accumulated error for the gyroscope may be effectively eliminated or reduced, making the flight of the aircraft more stable.
In the embodiments described above with reference to
Dy=(Ay−θ)/Ay (4)
Dy=(Ay−By−θ)/Ay (5)
where Dy represents the rate of the change in the deflection angle for the aircraft from the desired yaw direction, Ay represents the yaw angle, By represents the filtered yaw angle, and θ represents the desired yaw angle.
The determination of the yaw control signal based on the rate of change in the deflection angle is similar to the above-mentioned method of the determination of the yaw control signal based on the deflection angle, except that specific numerical values of the control parameters (e.g., Kp, Ki and Kd in the above equation (1)) involved in the closed-loop control may be different. Therefore, the detailed description thereof is omitted here for brevity.
Compared with the determination of the yaw control signal based on the deflection angle, the determination of the yaw control signal based on the rate of the change in the deflection angle may improve the consistency among individual gyroscopes, and reduce the differences in measurement results resulting from the differences among gyroscopes due to the manufacturing accuracy, so that the performance of different aircrafts using the control method for the aircrafts according to an embodiment of the present disclosure are more consistent.
In the above, the present disclosure describes a control method which can adjust a flight of an aircraft according to an embodiment of the present disclosure in conjunction with
In the control method according to the embodiments of the present disclosure, the flight of the aircraft may be more stable, the operability of the aircraft is improved, the manipulation difficulty for the operator is reduced, and the experience of the user is enhanced.
Furthermore, in the control method according to the embodiments of the present disclosure, the integrated accumulated error for the aircraft can be eliminated or reduced, and the elimination or the reduction of the integrated accumulated error does not require the complementary filtering based on acceleration data of the aircraft. Therefore, it provides an effective and stable flight control manner for an aircraft which has difficulties in utilizing acceleration data of the aircraft for complementary filtering, which is especially useful for a flapping-wing aircraft (especially a single-tail-rudder single-motor type of a flapping-wing aircraft).
In addition, in the control method according to the embodiments of the present disclosure, the yaw angle is obtained by integrating the angular velocity measured by the gyroscope. This can eliminate or reduce the process noise, making the flight of the aircraft more stable, which is especially useful for an aircraft with large noise during a cycle (e.g., a flapping-wing aircraft).
Further, in the control method according to the embodiments of the present disclosure, the filtering is performed after integration based on the filtered data of the previous time point, and the difference between the data before filtering and the data after filtering is used as a control quantity. This can eliminate or reduce the integrated accumulated error for the gyroscope, making the flight of the aircraft more stable. It is more suitable for an aircraft for which the body motion frequency is close to the noise frequency, such as a flapping-wing aircraft.
In addition, in the control method according to the embodiments of the present disclosure, a zero-bias calibration may be performed on the gyroscope. This can further reduce the effect of the static deviation of the gyroscope itself on data, making the flight of aircraft more stable.
In the above, a control method of adjusting a yaw flight of an aircraft according to the embodiments of the present disclosure is described in conjunction with
At step S800, an altitude parameter reflecting a flight altitude of an aircraft is acquired. In an embodiment, the altitude parameter may be air pressure, e.g., measured by a barometer. In another embodiment, the altitude parameter may be altitude, e.g, measured by an altimeter. It should be understood that the air pressure and the altitude may be converted to each other. In the present disclosure, the barometer and the altimeter have similar functions, that is, for obtaining parameters that directly or indirectly reflect the flight altitude of the aircraft. In addition, it should also be understood that the air pressure and the altitude in the foregoing embodiments are merely examples of the altitude parameters reflecting the flight altitude of the aircraft, but not limitations thereto.
After the altitude parameter reflecting the flight altitude of the aircraft is obtained, the method proceeds to step S810. At step S810, an altitude control signal for the aircraft is determined without considering acceleration of the aircraft, based on the altitude parameter. In terms of determining the altitude control signal for the aircraft in step S810, the description will be made in detail later. Thereafter, the method proceeds to step S820. At step S820, the flight of the aircraft is adjusted, based on the altitude control signal.
The control method for the aircraft according to the embodiment of the present disclosure described in conjunction with
In terms of determining the altitude control signal for the aircraft without considering the acceleration of the aircraft based on the altitude parameter in step S810, in an embodiment, the altitude control signal for the aircraft may be determined by steps of: calculating a difference between a altitude parameter corresponding to the target altitude and the acquired altitude parameter, and determining the altitude control signal for the aircraft based on the difference.
For example, the difference between the altitude parameter corresponding to the target altitude and the acquired altitude parameter may be calculated according to equation (6),
D=Pe−P (6)
where D is the difference between the altitude parameter corresponding to the target altitude and the acquired altitude parameter, Pe is the altitude parameter corresponding to the target altitude, and P is the acquired altitude parameter.
After the difference D is obtained, the altitude control signal for the aircraft may be determined based on the difference by means of a closed-loop control method, for example, a closed-loop control method with a negative feedback effect such as PID, PI or PD. In an embodiment, the rotational speed of the motor mechanism of the aircraft, i.e., the altitude control signal for the aircraft, may be determined according to equation (7).
M′=M+Kp*D+Ki*∫(D)*dt+Kd*dD/dt (7)
where M′ represents a control quantity output to the motor mechanism, i.e., the rotational speed that the motor mechanism should achieve, M represents the last control quantity, i.e., the current rotational speed of the motor mechanism, ∫(D)*dt represents an integral operation performed on D, dD/dt represents a differential operation performed on D, and Kp, Ki and Kd are constants. In an embodiment, Kp=100, Ki=0.001, and Kd=1. It should be noted that values of Kp, Ki and Kd in the foregoing embodiments are merely examples, but not limitations. Those skilled in the art may make appropriate settings according to requirements on parameters and control accuracy of the aircraft.
In addition, in order to make the altitude parameter more accurate, before the altitude parameter is used to determine the altitude control signal, the acquired altitude parameter may be corrected by a correction parameter. In an embodiment, the altitude parameter may be corrected by equation (8),
P′=P−W (8)
where P′ represents the corrected altitude parameter, P represents the acquired altitude parameter, and W represents the correction parameter, which is a constant related to the barometer or altimeter used by the aircraft, and whose specific numerical value may be appropriately set by those skilled in the art as required, without any limitations herein.
In another embodiment, the altitude parameter may be corrected by equation (9),
P′=P−M*γ (9)
where P′ represents the corrected altitude parameter, P represents the acquired altitude parameter, M is the current rotational speed of the motor mechanism of the aircraft, and γ is an experimental setting parameter, whose specific numerical value may be appropriately set by those skilled in the art as required, without any limitations herein.
Compared with the utilization of a fixed correction parameter to correct the altitude parameter as illustrated by equation (8), the correction method illustrated by equation (9) takes into account the effect of the rotation of the motor mechanism of the aircraft, making the corrected altitude parameters more accurate.
In terms of determining the altitude control signal for the aircraft without considering the acceleration of the aircraft based on the altitude parameter in step S810, in an embodiment, the altitude control signal for the aircraft may be determined by steps of: filtering the altitude parameter to obtain the filtered altitude parameter; calculating the difference between the altitude parameter corresponding to the target altitude and the filtered altitude parameter; and determining the altitude control signal for the aircraft based on the difference. The calculation in this case of the difference between the altitude parameter corresponding to the target altitude and the filtered altitude parameter is the same as the above-mentioned calculation of the difference between the altitude parameter corresponding to the target altitude and the acquired altitude parameter; and the determination in this case of the altitude control signal for the aircraft based on the difference is the same as the above-mentioned determination of the altitude control signal for the aircraft based on the difference. Therefore, the detailed description thereof is omitted here for brevity.
In terms of filtering the altitude parameters to obtain the filtered altitude parameters, in an embodiment, the acquired plurality of altitude parameters may be filtered by equation (10), that is, a moving average filtering with extremum removal is performed on the acquired plurality of altitude parameters,
Pa=(Σi=1NΣP[i]−MAX(P[N])−MIN(P[N]))/(N−2) (10)
where Pa represents the filtered altitude parameter, P[i], i=1 . . . N represents the acquired altitude parameter, N is an integer greater than or equal to 3, MAX(P[N]) represents the maximum value among the N acquired altitude parameters, and MIN(P[N]) represents the minimum value among the N acquired altitude parameters.
Compared with the above-mentioned determination of the altitude control signal based on a directly acquired altitude parameter, the determination of the altitude control signal based on the filtered altitude parameter may remove abnormal values from the acquired altitude parameter, and smooth the acquired altitude parameter, making the altitude parameter for determining the altitude control signal more accurate.
Those skilled in the art can understand that the above-mentioned moving average filtering with extremum removal is merely an example. Those skilled in the art may perform statistical averaging and filtering on the acquired plurality of altitude parameters in other various ways.
Compared with the control method for the aircraft described in conjunction with
In terms of the determination of the altitude control signal for the aircraft without considering the acceleration of the aircraft based on both the altitude parameter and the angular velocity of the pitch angle in step S920, in an embodiment, the altitude control signal for the aircraft may be determined based on the flow illustrated in
At step S922, the altitude parameter is filtered to obtain the filtered altitude parameter. Thereafter, the method proceeds to step S924. At step S924, a difference between the filtered altitude parameter and a desired altitude parameter is calculated. At step S926, the angular velocity of the pitch angle is integrated to obtain the pitch angle. After the difference and the pitch angle are obtained, the method proceeds to step S928. At step S928, the altitude control signal for the aircraft is determined based on the difference and the pitch angle.
In terms of the processing of determining the altitude control signal for the aircraft in step S928, in an embodiment, the altitude control signal for the aircraft may be determined using the flow illustrated in
At step S928_2, the pitch angle is filtered to obtain the filtered pitch angle, which is similar to step S512_4 in
In terms of the determination of the deflection angle between the aircraft and the horizontal plane in step S928_4, in an embodiment, the deflection angle may be determined according to equation (11),
Cz=Az−Bz (11)
where Cz represents the deflection angle between the aircraft and the horizontal plane, Az represents the pitch angle, and Bz represents the filtered pitch angle.
In terms of the data fusion performed on the difference and the deflection angle in step S928_6, in an embodiment, the data fusion may be performed on the difference and the deflection angle using equation (12),
D′=D*a1+Cz*β*a2 (12)
where D′ represents the fused difference; D represents the difference prior to the fusion (e.g., the difference calculated at step S924); a1 and a2 are constants and a1+a2=1; R is a constant reflecting the effect of the deflection angle between the aircraft and the horizontal plane on the altitude parameter, and its unit is (unit of altitude parameter)/(unit of deflection angle). In an embodiment, P=0.5, a1=0.9 and a2=0.1. It should be noted that the values of β, a1, and a2 in the foregoing embodiments are merely examples, but not limitations. Those skilled in the art may make appropriate settings according to requirements on the parameters and control accuracy of the aircraft.
In addition, in an embodiment of the present disclosure, in addition to that the data fusion may be performed on the difference and the deflection angle between the aircraft and the horizontal plane to obtain the fused difference, the data fusion may be performed on the difference and the deflection angle between the aircraft and the desired pitch direction to obtain the fused difference, meaning that, in the pitch axis direction, the control is affected only when the angle of the head of the aircraft changes to a certain degree.
In addition, similar to the above-mentioned determination of the yaw control signal, in addition to that the pitch control signal may be determined based on the deflection angle between the aircraft and the horizontal plane, in an embodiment of the present disclosure, the pitch control signal may be determined based on a rate of change in the deflection angle between the aircraft and the horizontal plane. The determination of the rate of change in the deflection angle between the aircraft and the horizontal plane is similar to the determination of the rate of change in the deflection angle between the aircraft and a desired yaw direction, and the detailed description thereof is omitted here for brevity.
In addition, it should be noted that the above-mentioned steps of determining the altitude control signal for the aircraft based on both the altitude parameter and the angular velocity of the pitch angle in
In the above, the present disclosure describes a control method which can adjust a yaw flight of an aircraft according to embodiments of the present disclosure in conjunction with
In the above, the present disclosure describes an aircraft according to embodiments of the present disclosure in conjunction with
As described above, in the present disclosure, the stable flight of the aircraft means that the deviation between the actual flight trajectory and the desired flight trajectory of the aircraft is within a certain range. Therefore, the stable straight flight of the aircraft as shown in
It should be understood that the above flight trajectories shown in
In the above, the present disclosure describes an aircraft according to embodiments of the present disclosure in conjunction with
It should be understood that connection modes for individual components of the control device of the aircraft according to the embodiments of the present disclosure shown in
In addition, the present disclosure further provides a computer-readable storage medium storing a computer program thereon which, when being executed by a processor, implements the control method for the aircraft according to any embodiment of the present disclosure.
So far, the present disclosure has described the aircraft, the control method for the aircraft, the control device of the aircraft and the computer-readable storage medium according to the embodiments of the present disclosure in conjunction with the accompanying drawings, which utilize gyroscopes or both gyroscopes and barometers (or altimeters) to identify the flight attitude of the flapping-wing aircraft by means of a unique filtering method, so as to achieve a self-stable flight of the aircraft. Therefore, the problem that the existing flapping-wing aircraft, especially the flapping-wing aircraft with single tail rudder and single motor, cannot achieve a self-stable flight based on acceleration data of the aircraft, is solved.
It should be noted that the above description is only some embodiments of the present disclosure and an illustration of the applied technical principles. It should be understood by those skilled in the art that the disclosure scope involved in the present disclosure is not limited to the technical solutions resulted from specific combinations of the above technical features, but also encompasses other technical solutions resulted from any combination of the above technical features or their equivalents without departing from the above disclosed concept, for example, the technical solutions formed by replacing between the above features and the technical features with similar functions disclosed in the present disclosure (but not limited thereto).
In addition, although the operations are depicted in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. In certain circumstances, multitasking and parallel processing may be beneficial. Likewise, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of separate embodiments can also be implemented in a single embodiment in combination. On the contrary, various features described in the context of a single embodiment can also be implemented in multiple embodiments alone or in any suitable sub-combination.
Although the subject matter has been described in a language specific to structural features and/or logical acts of methods, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
This application claims the priority of Chinese patent application No. 202010380801.0 filed on May 6, 2020, and the contents disclosed in the above Chinese patent application are cited in its entirety as a part of this application.
Number | Date | Country | Kind |
---|---|---|---|
202010380801.0 | May 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/074842 | 2/2/2021 | WO |