Autonomous gliding ornithopter and control method

By introducing foldable tail wing and gliding locking mechanisms into the flapping wing aircraft, the autonomous search for upward airflow and adjusting the wing angle and tail area are achieved, which solves the problem that existing flapping wing aircraft cannot independently find upward airflow and adapt to complex airflow, and improves the problem of Gliding height and battery life.

CN118877201APending Publication Date: 2024-11-01DONGGUAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410980188.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Existing flapping wing vehicles cannot independently find upward airflow when gliding in the air, cannot obtain higher initial gliding heights by climbing up the upward airflow, and have limited ability to adapt to complex airflow conditions under different air pressure gradients.

Method used

An autonomous gliding flapping wing aircraft is designed, using a foldable tail wing and gliding locking mechanism, free switching between flapping wing and gliding mode is achieved through Hall angle encoder and micro servo, and is detected by air pressure sensor and airspeed tube. Airflow conditions, adjust the wing angle and tail area to adapt to different airflow conditions.

Benefits of technology

It realizes autonomous search for upward airflow in the air, improves the initial gliding height and battery life, and enhances stability and maneuverability under complex airflow conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118877201A_ABST
    Figure CN118877201A_ABST
Patent Text Reader

Abstract

The invention discloses an autonomous gliding ornithopter and a control method, the autonomous gliding ornithopter comprises a fuselage, the left and right sides of the fuselage are both provided with wings, the head of the fuselage is provided with a driving mechanism and a gliding locking mechanism, the tail of the fuselage is provided with a foldable empennage, and a flight control module is arranged between the two wings. The flight control module is installed at the top of the fuselage, the fuselage is composed of two carbon fiber plates, and the two carbon fiber plates are welded through studs. Compared with most flapping wing aircrafts, the flapping wing aircraft can be freely switched between a flapping wing mode and a gliding mode through the gliding locking mechanism, and is simple in structure and easy to implement. Compared with a small part of existing gliding ornithopters, the gliding ornithopters can spiral by utilizing ascending airflow, and meanwhile, the foldable empennages are arranged to change the wing area so as to change the resistance and the control moment of the empennages, so that the gliding ornithopters adapt to complex airflow conditions under different air pressure gradients, the stability and the maneuverability of a model machine are improved, and the endurance time of executing tasks in the air is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flapping-wing aircraft, and in particular to an autonomous gliding flapping-wing aircraft and a control method thereof. Background Art

[0002] Birds in nature use rising air currents to hover and soar for a long time during flight. Bird-like flapping-wing aircraft imitate the way birds fly. If a bird-like flapping-wing aircraft can detect rising air currents in the mission area during the mission in the air, adjust its attitude to climb with the rising air currents, and glide after reaching a certain height, the combination of flapping-wing and gliding modes can reduce energy loss and increase flight time.

[0003] At present, most flapping-wing aircraft only imitate the flapping of bird wings to provide lift and thrust, and their flight mode is single. Although a small number of flapping-wing aircraft with gliding mechanisms can glide in the air, they do not have the function of autonomously finding updrafts, and cannot climb with the help of updrafts to obtain a higher initial gliding altitude. Moreover, due to the fixed tail area, their ability to adapt to complex airflow conditions under different pressure gradients needs to be improved. Summary of the invention

[0004] In order to solve the above technical problems, an autonomous gliding flapping-wing aircraft and a control method are provided. The technical solution solves the problem mentioned in the above background technology that most flapping-wing aircraft currently only imitate the flapping of bird wings to provide lift and thrust, and the flying mode is single. A small number of flapping-wing aircraft with gliding mechanisms can glide in the air, but they do not have the function of autonomously finding rising air currents, and cannot climb with the help of rising air currents to obtain a higher initial gliding height.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] An autonomous gliding flapping-wing aircraft comprises a fuselage, wings are installed on both sides of the fuselage, a driving mechanism and a gliding locking mechanism are arranged at the head of the fuselage, a foldable tail is installed at the tail of the fuselage, the gliding locking mechanism is used for the aircraft to freely switch between flapping-wing mode and gliding mode, the foldable tail is used to change the tail resistance and control torque, and a flight control module is arranged between two groups of the wings, the flight control module is installed on the top of the fuselage, the fuselage is composed of two carbon fiber plates, the two carbon fiber plates are connected by a stud sleeve, a sensor bracket is also fixedly connected to the carbon fiber plate, the sensor bracket is provided with a pitot tube, and the flight control module comprises a processor, a six-axis sensor, an air pressure sensor, a GPS module and an electronic compass.

[0007] Preferably, the driving mechanism includes a flapping-wing motor and a transmission device, and the flapping-wing motor drives the two wings to flap through the transmission device.

[0008] Preferably, the gliding locking mechanism includes a Hall angle encoder base and a Hall angle encoder probe, a secondary transmission shaft is arranged between the two groups of carbon fiber plates, a magnetic ring and a Hall angle encoder base are fixedly connected to the outer surface of the secondary transmission shaft, and a Hall angle encoder probe is installed on the Hall angle encoder base, and the side of the magnetic ring is perpendicular to the Hall angle encoder probe.

[0009] Preferably, the gliding locking mechanism also includes a pawl, a rubber roller and a cam, one end of the pawl is installed on the tail of the carbon fiber plate, the other end of the pawl is rotatably connected to the rubber roller, a tail wing carbon rod fixing support is fixedly installed between the two carbon fiber plates, a tension spring is fixedly connected to the tail wing carbon rod fixing support, the other end of the tension spring is fixedly connected to the pawl, the cam is fixedly installed on the outer surface of the secondary transmission shaft, the rubber roller is always in contact with the cam surface, and the cam surface is provided with a notch, and the outer surface of the secondary transmission shaft is also fixedly connected to a secondary gear, and a thrust ring is provided on the outer side of the cam.

[0010] Preferably, the foldable tail comprises a tail mounting support, a micro-servo, a steering gear, a reduction gear, a primary wing, a secondary wing, a fixed wing, a connecting carbon bar, a first rotating link, a second rotating link, a third rotating link and a fourth rotating link, a hole is provided on the outer side of the tail carbon rod fixed support, a tail connecting carbon rod is passed through the hole, and a tail mounting support is installed at one end of the tail connecting carbon rod, the micro-servo is arranged on the tail mounting support, a steering gear is fixedly connected to the output end of the micro-servo, one end of the first rotating link and the fourth rotating link is rotatably connected to the tail mounting support, the other end of the first rotating link and the fourth rotating link is rotatably connected to the reduction gear through the first link and the second link, one group of the reduction gears is meshed with the steering gear, one end of the second rotating link and the third rotating link is also rotatably connected to the tail mounting support, and a sliding groove is provided on the outer surface of the second rotating link and the third rotating link, and a slider is slidably connected inside the sliding groove.

[0011] Preferably, the bottoms of the two groups of sliders are rotatably connected to the first connecting rod and the fourth connecting rod, and the other ends of the first connecting rod and the fourth connecting rod are rotatably connected to the first rotating link and the fourth rotating link, respectively, and the tops of the two groups of sliders are rotatably connected to the second connecting rod and the third connecting rod.

[0012] Preferably, a U-shaped fixed carbon plate is fixedly connected to the tail wing mounting bracket by bolts, the other ends of the second connecting rod and the third connecting rod are respectively rotatably connected to the two sides of the U-shaped fixed carbon plate, and the first-level wing, second-level wing and fixed wing are respectively fixed to the grooves at the end of the first rotating link, the second rotating link, the third rotating link, the fourth rotating link and the U-shaped fixed carbon plate by the connecting carbon strip.

[0013] A control method for an autonomous gliding flapping-wing aircraft comprises the following steps:

[0014] S1. Obtain the real-time altitude h through the air pressure sensor and set the gliding safety altitude h 1 , minimum gliding height h 2 , limit the hovering height h 3 ;

[0015] S2, the flapping-wing aircraft takes off and reaches h 1 Then continue to climb, the wing frequency drops to 1-3hz;

[0016] S3, when the flapping-wing aircraft approaches h 2 The rotation angle of the secondary gear is detected by the Hall angle encoder probe, so as to calculate the angular velocity of the wing. When the angular velocity of the wing is less than 0, the wing is in the downward stroke, and the cam angle is set to θ 1 and θ 2 The buffer area between the two, when the cam rotates to θ 1 When the motor brake is controlled, the notch on the cam just passes the rubber roller position, and the wings do not exceed θ 2 When the wings are driven by the upward aerodynamic force, the secondary transmission shaft is reversed, and the notch on the cam is passively locked on the rubber roller of the ratchet. At this time, the angle of the wings of the flapping-wing aircraft is fixed and the wingspan is the largest; if the wings exceed the minimum target angle θ during this process 2 When the motor is turned on again, repeat this step at a low speed;

[0017] S4, vertical speed of a flapping-wing aircraft when wings stop flapping Determine whether it is in the rising thermal air flow area. If V h >0, the flapping-wing aircraft maintains a certain angle of attack and hovers in the air close to the center of the rising thermal airflow area, reaching h 3 Then it starts to dive and enter the gliding mode; if V h <0, the flapping-wing aircraft enters the gliding state in advance; the gliding height of the flapping-wing aircraft is lower than h 1 Then restart the motor and enter the flapping mode.

[0018] Preferably, in S3, when the secondary gear angle is the cam rotation angle, the wing flaps once when the secondary gear rotates one circle, and the wing angle can be calculated by the secondary gear rotation angle, thereby solving the wing angular velocity; when the wing cannot reach the target wingspan due to environmental influences, this step can be repeated when the motor is at a low speed; and in S4, when the flapping-wing aircraft is at V h >0, look for rising thermals to maintain altitude. h When <0, the potential energy is converted into kinetic energy to achieve gliding over a longer horizontal distance.

[0019] Preferably, the airspeed S is detected by the pitot tube and the ground speed G is detected by the flight control module, and the wind speed W=GS is calculated. The pwm value of the tail micro-servo is changed by different wind speeds. The micro-servo drives the first-stage wing and the second-stage wing to unfold. The micro-servo rotates at different angles to correspond to the changes in different areas of the tail, thereby changing the tail resistance and control torque.

[0020] Compared with the prior art, the present invention provides an autonomous gliding flapping-wing aircraft and a control method, which have the following beneficial effects:

[0021] Compared with most flapping-wing aircraft, the present invention can freely switch between flapping-wing and gliding modes through a gliding locking mechanism, has a simple structure and is easy to implement. Compared with a small number of existing gliding flapping-wing aircraft, it can hover using rising airflow, and at the same time, a foldable tail is provided to change the wing area, thereby changing the tail resistance and control torque, adapting to complex airflow conditions under different pressure gradients, improving the stability and maneuverability of the prototype, and effectively increasing the endurance time of performing tasks in the air. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the overall structure of the flapping-wing aircraft;

[0023] Figure 2 It is a schematic diagram of the structure of the driving device and the gliding locking mechanism;

[0024] Figure 3 It is a schematic diagram of the glide locking mechanism in flapping wing mode;

[0025] Figure 4 It is a schematic diagram of the glide locking mechanism in the glide mode;

[0026] Figure 5 is a schematic diagram of the foldable tail wing in a normal state;

[0027] Figure 6 is a schematic diagram of the maximum unfolded state of the foldable tail;

[0028] Figure 7 is a schematic diagram of the maximum folding state of the foldable tail wing;

[0029] Figure 8 is a schematic diagram of the control steps;

[0030] Fig. 9 Flow chart of the control steps.

[0031] The numbers in the figure are:

[0032] Ⅰ. Gliding lock mechanism; Ⅱ. Wings; Ⅲ. Fuselage; Ⅳ. Foldable tail; 1. Pitot tube; 2. Flapping motor; 3. Hall angle encoder base; 4. Hall angle encoder probe; 5. Magnetic ring; 6. Tail carbon rod fixing support; 7. Tail connecting carbon rod; 8. Flight control module; 9. Secondary transmission shaft; 10. Thrust ring; 11. Carbon fiber plate; 12. Stud sleeve; 13. Ratchet; 14. Tension spring; 15. Rubber roller; 16. Cam; 17. Secondary gear; 18. Tail mounting support Seat; 19. Micro servo; 20. Reduction gear; 21. First connecting rod; 22. U-shaped fixed carbon plate; 23. Second connecting rod; 24. Bolt; 25. Servo gear; 26. First rotating connecting rod; 27. Second rotating connecting rod; 28. First connecting rod; 29. ​​Second connecting rod; 30. Third rotating connecting rod; 31. Third connecting rod; 32. Fourth connecting rod; 33. Fourth rotating connecting rod; 34. Slider; 35. Connecting carbon strip; 36. Primary wing; 37. Secondary wing; 38. Fixed wing. DETAILED DESCRIPTION

[0033] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0034] Example 1

[0035] Please refer to Figure 1-9 As shown, an autonomous gliding flapping-wing aircraft comprises a fuselage III, wings II are installed on both sides of the fuselage III, a driving mechanism and a gliding locking mechanism I are arranged at the head of the fuselage III, a foldable tail IV is installed at the tail of the fuselage III, the gliding locking mechanism I is used for the aircraft to freely switch between flapping-wing mode and gliding mode, the foldable tail IV is used to change the tail resistance and control torque, and a flight control module 8 is arranged between the two sets of wings II, the flight control module 8 is installed on the top of the fuselage III, the fuselage III is composed of two carbon fiber plates 11, the two carbon fiber plates 11 are connected by a stud sleeve 12, a sensor bracket is also fixedly connected to the carbon fiber plate 11, a pitot tube 1 is arranged on the sensor bracket, and the flight control module 8 comprises an stm32 processor, a six-axis sensor, an air pressure sensor, a GPS module and an electronic compass.

[0036] The driving mechanism includes a flapping motor 2 and a transmission device, and the flapping motor 2 drives the two wings II to flap through the transmission device.

[0037] The gliding locking mechanism I includes a Hall angle encoder base 3 and a Hall angle encoder probe 4. A secondary transmission shaft 9 is arranged between the two groups of carbon fiber plates 11. The outer surface of the secondary transmission shaft 9 is fixedly connected with a magnetic ring 5 and the Hall angle encoder base 3. The Hall angle encoder probe 4 is installed on the Hall angle encoder base 3, and the side surface of the magnetic ring 5 is perpendicular to the Hall angle encoder probe 4.

[0038] The gliding locking mechanism also includes a pawl 13, a rubber roller 15 and a cam 16. One end of the pawl 13 is installed at the tail of the carbon fiber plate 11, and the other end of the pawl 13 is rotatably connected to the rubber roller 15. A tail wing carbon rod fixing support 6 is fixedly installed between the two carbon fiber plates 11. A tension spring 14 is fixedly connected to the tail wing carbon rod fixing support 6, and the other end of the tension spring 14 is fixedly connected to the pawl 13. The cam 16 is fixedly installed on the outer surface of the secondary transmission shaft 9. The rubber roller 15 is always in contact with the surface of the cam 16, and a notch is provided on the surface of the cam 16. A secondary gear 17 is also fixedly connected to the outer surface of the secondary transmission shaft 9, and a thrust ring 10 is provided on the outer side of the cam 16.

[0039] In this scheme, if Figure 3 As shown, the gliding locking mechanism I is in the flapping mode, the gear rotates forward, the cam 16 is fixed on the secondary transmission shaft 9 through the D-shaped hole, and is axially fixed by the thrust ring 10. When the secondary gear 17 rotates forward, the pawl 13 does not affect the rotation of the cam, and the preload force is provided by the tension spring 14. The rubber roller 15 on the pawl 13 always fits with the cam surface, and the rubber roller 15 can play a role in buffering and absorbing vibration; Figure 4 As shown, at this time, the gliding locking mechanism I is in the gliding mode. When the motor stops, the wing II will be driven by the aerodynamic force to reverse the secondary transmission shaft 9, and the notch on the cam 16 will be passively locked on the rubber roller 15 to prevent the wing from flapping up, so that the wing angle locking of the wing II in the gliding mode and the free switching of the flapping-wing-gliding mode can be achieved.

[0040] like Figure 2 As shown, the magnetic ring 5 and the secondary transmission shaft 9 have an interference fit, and the side of the magnetic ring 5 should be parallel to the Hall angle encoder probe 4. The Hall angle encoder probe 4 detects the AB phase pulse as the secondary gear 17 rotates. The angle of the secondary gear 17 is the rotation angle of the cam 16. The secondary gear 17 rotates one circle and the wing flaps one cycle. The wing frequency f can be calculated. The gear rotation angle θ is calculated using the quadruple frequency method, and the wing angle θ' can be solved at the same time. The following is the calculation formula for the gear angle and wing frequency:

[0041] Detect rising and falling edges counter +1; PPR: resolution of Hall angle encoder

[0042] The following is the formula for calculating wing frequency:

[0043] The number of encoder pulses counted within this time; T0: the statistical time for each time.

[0044] The foldable tail IV includes a tail mounting support 18, a micro-servo 19, a servo gear 25, a reduction gear 20, a first-stage wing 36, a second-stage wing 36, a fixed wing 38, a connecting carbon bar 35, a first rotating link 26, a second rotating link 27, a third rotating link 30 and a fourth rotating link 33. A hole is opened on the outside of the tail carbon rod fixed support 6, and a tail connecting carbon rod 7 is penetrated inside the hole, and one end of the tail connecting carbon rod 7 is installed with a tail mounting support 18, and the micro-servo 19 is arranged on the tail mounting support 18, and the micro-servo 19 outputs The end is fixedly connected with the steering gear 25, one end of the first rotating link 26 and the fourth rotating link 33 is rotatably connected with the tail mounting support 18, the other end of the first rotating link 26 and the fourth rotating link 33 is rotatably connected with the reduction gear 20 through the first link 21 and the second link 23, one group of reduction gears 20 is meshed with the steering gear 25, one end of the second rotating link 27 and the third rotating link 30 is also rotatably connected with the tail mounting support, and the outer surfaces of the second rotating link 27 and the third rotating link 30 are penetrated by a sliding groove, and a slider 34 is slidably connected inside the sliding groove.

[0045] The bottoms of the two groups of sliders 34 are rotatably connected with the first connecting rod 28 and the fourth connecting rod 32, and the other ends of the first connecting rod 28 and the fourth connecting rod 32 are rotatably connected with the first rotating link 26 and the fourth rotating link 33, respectively. The tops of the two groups of sliders 34 are rotatably connected with the second connecting rod 29 and the third connecting rod 31, respectively. The U-shaped fixed carbon plate 22 is fixedly connected to the tail wing mounting bracket 18 by bolts 24, and the other ends of the second connecting rod 29 and the third connecting rod 31 are rotatably connected to the two sides of the U-shaped fixed carbon plate 22, respectively. The first-level wing 36, the second-level wing 37, and the fixed wing 38 are respectively fixed on the grooves at the ends of the first rotating link 26, the second rotating link 27, the third rotating link 30, the fourth rotating link 33 and the U-shaped fixed carbon plate 22 through connecting carbon strips 35.

[0046] Example 2

[0047] A control method for an autonomous gliding flapping-wing aircraft comprises the following steps:

[0048] S1. Obtain the real-time altitude h through the air pressure sensor and set the gliding safety altitude h 1 , minimum gliding height h 2 , limit the hovering height h 3 ;

[0049] S2, the flapping-wing aircraft takes off and reaches h 1Then continue to climb, the wing frequency drops to 1-3hz;

[0050] S3, when the flapping-wing aircraft approaches h 2 , the rotation angle of the secondary gear 17 is detected by the Hall angle encoder probe 4, so as to calculate the angular velocity of wing II. When the angular velocity of wing II is less than 0, wing II is in the downward stroke. Considering the braking characteristics of the motor and the inertia of the wing, the angle of cam 16 is set to θ 1 and θ 2 The buffer area between the two, when the cam 16 rotates to θ 1 When the motor brake is controlled, the notch on the cam 16 just passes the position of the rubber roller 15, and the wing II does not exceed θ 2 When the secondary transmission shaft 9 is reversed due to the upward aerodynamic force of wing II, the notch on the cam 16 is passively locked on the rubber roller 15 of the pawl 13. At this time, the angle of wing II of the flapping-wing aircraft is fixed and the wingspan is the largest; if the wing II exceeds the minimum target angle θ during this process 2 When the motor is turned on again, repeat this step at a low speed;

[0051] S4, the vertical speed of the flapping-wing aircraft when Wing II stops flapping Determine whether it is in the rising thermal air flow area. If V h >0, the flapping-wing aircraft maintains a certain angle of attack and hovers in the air close to the center of the rising thermal airflow area, reaching h 3 Then it starts to dive and enter the gliding mode; if V h <0, the flapping-wing aircraft enters the gliding state in advance; the gliding height of the flapping-wing aircraft is lower than h 1 Then restart the motor and enter the flapping mode.

[0052] In S3, when the angle of the secondary gear 17 is the rotation angle of the cam 16, the secondary gear 17 rotates one circle and the wing flaps one cycle. The wing angle can be calculated by the rotation angle of the secondary gear 17, thereby solving the angular velocity of the wing II. When the wing II cannot reach the target wingspan due to environmental influences, this step can be repeated at a low motor speed. And in S4, when the flapping-wing aircraft is at V h >0, it mainly relies on finding rising thermals to maintain altitude. h When <0, the potential energy is mainly converted into kinetic energy to achieve gliding over a longer horizontal distance.

[0053] The airspeed S is detected by the pitot tube 1 and the ground speed G is detected by the flight control module, and the wind speed W=GS is calculated. The pwm value of the tail micro-servo 19 is changed by different wind speeds. The micro-servo 19 drives the first-stage wing 36 and the second-stage wing 37 to expand and close. The micro-servo 19 rotates at different angles to correspond to the changes in different areas of the tail, thereby changing the tail resistance and control torque. The flapping-wing aircraft can increase the speed or prevent stalling under different wind speeds, and maintain a stable posture in a complex environment.

[0054] In summary, compared with most flapping-wing aircraft, the present invention can freely switch between flapping-wing and gliding modes through a gliding locking mechanism, has a simple structure and is easy to implement. Compared with a small number of existing gliding flapping-wing aircraft, it can use rising airflow to hover, and at the same time, a foldable tail is set to change the wing area, thereby changing the tail resistance and control torque, adapting to complex airflow conditions under different pressure gradients, improving the stability and maneuverability of the prototype, and effectively improving the endurance time of performing tasks in the air.

[0055] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. An autonomous gliding flapping-wing aircraft, characterized in that: The invention comprises a fuselage, wings are installed on both sides of the left and right sides of the fuselage, a driving mechanism and a gliding locking mechanism are arranged at the head of the fuselage, a foldable tail wing is installed at the tail of the fuselage, the gliding locking mechanism is used for the aircraft to freely switch between flapping wing mode and gliding mode, the foldable tail wing is used to change the tail wing resistance and control torque, and a flight control module is arranged between the two groups of wings, the flight control module is installed on the top of the fuselage, the fuselage is composed of two carbon fiber plates, the two carbon fiber plates are connected by a stud sleeve, a sensor bracket is also fixedly connected to the carbon fiber plate, the sensor bracket is provided with an airspeed tube, and the flight control module comprises a processor, a six-axis sensor, an air pressure sensor, a GPS module and an electronic compass.

2. The autonomous gliding flapping-wing aircraft according to claim 1, characterized in that: The driving mechanism comprises a flapping-wing motor and a transmission device, and the flapping-wing motor drives two wings to flap through the transmission device.

3. The autonomous gliding flapping-wing aircraft according to claim 1, characterized in that: The gliding locking mechanism includes a Hall angle encoder base and a Hall angle encoder probe. A secondary transmission shaft is arranged between the two groups of carbon fiber plates. A magnetic ring and a Hall angle encoder base are fixedly connected to the outer surface of the secondary transmission shaft. A Hall angle encoder probe is installed on the Hall angle encoder base, and the side of the magnetic ring is perpendicular to the Hall angle encoder probe.

4. The autonomous gliding flapping-wing aircraft according to claim 3, characterized in that: The gliding locking mechanism also includes a pawl, a rubber roller and a cam, one end of the pawl is installed on the tail of the carbon fiber plate, the other end of the pawl is rotatably connected to the rubber roller, a tail wing carbon rod fixing support is fixedly installed between the two carbon fiber plates, a tension spring is fixedly connected to the tail wing carbon rod fixing support, the other end of the tension spring is fixedly connected to the pawl, the cam is fixedly installed on the outer surface of the secondary transmission shaft, the rubber roller is always in contact with the cam surface, and the cam surface is provided with a notch, and the outer surface of the secondary transmission shaft is also fixedly connected to a secondary gear, and a thrust ring is provided on the outer side of the cam.

5. The autonomous gliding flapping-wing aircraft according to claim 1, characterized in that: The foldable tail comprises a tail mounting support, a micro-servo, a servo gear, a reduction gear, a primary wing, a secondary wing, a fixed wing, a connecting carbon bar, a first rotating link, a second rotating link, a third rotating link and a fourth rotating link. A hole is provided on the outer side of the tail carbon rod fixed support, and a tail connecting carbon rod is penetrated inside the hole, and a tail mounting support is installed at one end of the tail connecting carbon rod. The micro-servo is arranged on the tail mounting support, and a servo gear is fixedly connected to the output end of the micro-servo. One end of the first rotating link and the fourth rotating link is rotatably connected to the tail mounting support, and the other end of the first rotating link and the fourth rotating link is rotatably connected to the reduction gear through the first link and the second link, wherein one group of the reduction gears is meshed with the servo gear, one end of the second rotating link and the third rotating link is also rotatably connected to the tail mounting support, and a sliding groove is provided on the outer surface of the second rotating link and the third rotating link, and a slider is slidably connected inside the sliding groove.

6. The autonomous gliding flapping-wing aircraft according to claim 5, characterized in that: The bottoms of the two groups of sliders are rotatably connected with the first connecting rod, the fourth connecting rod, the second rotating connecting rod and the third rotating connecting rod, and the other ends of the first connecting rod and the fourth connecting rod are rotatably connected with the first rotating connecting rod and the fourth rotating connecting rod, respectively. The tops of the two groups of sliders are rotatably connected with the second connecting rod and the third connecting rod, respectively.

7. The autonomous gliding flapping-wing aircraft according to claim 6, characterized in that: A U-shaped fixed carbon plate is fixedly connected to the tail wing mounting bracket by bolts, and the other ends of the second connecting rod and the third connecting rod are respectively rotatably connected to the two sides of the U-shaped fixed carbon plate, and the first-level wing, the second-level wing, and the fixed wing are respectively fixed to the grooves at the ends of the first rotating link, the second rotating link, the third rotating link, the fourth rotating link and the U-shaped fixed carbon plate by the connecting carbon strips.

8. A control method for an autonomous gliding flapping-wing aircraft, characterized in that: The steps include: S1, obtain the real-time altitude h through the air pressure sensor, set the gliding safety altitude h1, the minimum gliding altitude h2, and the limited hovering altitude h3; S2, the flapping-wing aircraft takes off, and continues to climb after reaching h1, with the wing frequency dropping to 1-3 Hz; S3, when the flapping-wing aircraft approaches h2, the rotation angle of the secondary gear is detected by the Hall angle encoder probe, so as to calculate the angular velocity of the wing. When the angular velocity of the wing is less than 0, the wing is in the downward stroke, and the cam angle is set to the buffer area between θ1 and θ2. When the cam rotates to θ1, the motor brake is controlled, and the notch on the cam just passes the rubber roller position. When the wing does not exceed θ2, the secondary transmission shaft is reversed due to the upward aerodynamic force of the wing, and the notch on the cam is passively locked on the rubber roller of the ratchet. At this time, the angle of the wing of the flapping-wing aircraft is fixed and the wingspan is the largest; if the wing exceeds the minimum target angle θ2 during this process, the motor is restarted and this step is repeated at a low speed; S4, vertical speed of a flapping-wing aircraft when wings stop flapping Determine whether it is in the rising thermal air flow area. If V h >0, the flapping-wing aircraft maintains a certain angle of attack and hovers in the air close to the center of the rising thermal airflow area. After reaching h3, it starts to dive and enter the gliding mode; if V h <0, the flapping-wing aircraft enters the gliding state in advance; when the gliding altitude of the flapping-wing aircraft is lower than h1, the motor is restarted and the aircraft enters the flapping-wing mode.

9. The control method of an autonomous gliding flapping-wing aircraft according to claim 8, characterized in that: In S3, when the secondary gear angle is the cam rotation angle, the wing flaps once when the secondary gear rotates one circle. The wing angle can be calculated by the secondary gear rotation angle, and thus the angular velocity of the wing can be solved. If the wings cannot reach the target wingspan due to environmental influences, this step can be repeated at low motor speed; and in S4, when the flapping-wing aircraft is at V h >0, look for rising thermals to maintain altitude. h <0, the potential energy is converted into kinetic energy to achieve gliding over a longer horizontal distance.

10. The control method of an autonomous gliding flapping-wing aircraft according to claim 8, characterized in that: The airspeed S is detected by the pitot tube and the ground speed G is detected by the flight control module, and the wind speed W=GS is calculated. The PWM value of the tail wing micro-servo is changed by different wind speeds. The micro-servo drives the first-stage wing and the second-stage wing to expand and close. The micro-servo rotates to different angles to correspond to the changes in different areas of the tail wing, thereby changing the tail wing resistance and control torque.