WO2021244545A1 - Unmanned aerial vehicle guidance method, unmanned aerial vehicle, and storage medium - Google Patents

Unmanned aerial vehicle guidance method, unmanned aerial vehicle, and storage medium Download PDF

Info

Publication number
WO2021244545A1
WO2021244545A1 PCT/CN2021/097755 CN2021097755W WO2021244545A1 WO 2021244545 A1 WO2021244545 A1 WO 2021244545A1 CN 2021097755 W CN2021097755 W CN 2021097755W WO 2021244545 A1 WO2021244545 A1 WO 2021244545A1
Authority
WO
WIPO (PCT)
Prior art keywords
guidance
drone
distance
trajectory route
uav
Prior art date
Application number
PCT/CN2021/097755
Other languages
French (fr)
Chinese (zh)
Inventor
张添保
Original Assignee
深圳市道通智能航空技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通智能航空技术股份有限公司 filed Critical 深圳市道通智能航空技术股份有限公司
Publication of WO2021244545A1 publication Critical patent/WO2021244545A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw
    • G05D1/0808Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft
    • G05D1/0816Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability
    • G05D1/0825Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability using mathematical models
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64CAEROPLANES; HELICOPTERS
    • B64C39/00Aircraft not otherwise provided for
    • B64C39/02Aircraft not otherwise provided for characterised by special use
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

Definitions

  • the invention relates to the field of unmanned aerial vehicles, in particular to an unmanned aerial vehicle guidance method, an unmanned aerial vehicle and a storage medium.
  • Fixed-wing UAVs are widely used in many fields due to their long flying distance and fast flying speed. Among them, fixed-wing UAVs mainly provide lift through their biplanes when flying, and only when the UAV's speed reaches a certain level can it provide sufficient lift.
  • An objective of the embodiments of the present invention is to provide a UAV guidance method, UAV and storage medium, which can improve the accuracy of UAV trajectory tracking.
  • the present invention provides the following technical solutions:
  • an embodiment of the present invention provides a UAV guidance method, including: acquiring a target trajectory route;
  • the acquiring the flying direction of the drone according to the target trajectory route includes:
  • the flying direction of the drone according to the guidance distance, the target trajectory route, and the guidance starting point of the drone, wherein the guidance distance is the distance between the guidance starting point and the guidance end point, and the guidance The end point is located on the target trajectory route.
  • the obtaining the guidance law model of the drone according to the target trajectory route includes:
  • the guidance law model is a curvilinear guidance law model.
  • the acquiring the flying direction of the drone according to the guidance distance, the target trajectory route, and the guidance starting point of the drone includes:
  • the flying direction of the current trajectory route is the positive direction of the X axis, and establishing the coordinate system of the drone according to the right-hand rule;
  • the flying direction of the drone is determined according to the included angle ⁇ .
  • controlling the drone to fly according to the flight direction and the guidance law model includes:
  • the UAV is controlled to continuously implement guidance operations on the current trajectory route.
  • the guidance law model includes the linear guidance law model or the curvilinear guidance law model, wherein:
  • the revised linear guidance law model is:
  • the revised curve guidance law model is:
  • Guidance for the speed factor K V, K ⁇ is the roll angle guidance factor, K x and K y is the guidance error factor, the maximum velocity V cmax is set by the user, the maximum roll angle ⁇ cmax provided for the control system of the aircraft, V c is the speed of the pre-guide, ⁇ c for the front guide roll angle, ⁇ is linearly guided to the guide start point P 0 P N where the angle between the end of the X-axis positive direction.
  • the calculating the turn preparation distance of the drone includes:
  • S R is the turn preparation distance
  • is the roll angle pilot rate
  • T is the roll attitude angle control time constant
  • V is the flight speed.
  • the guiding distance is less than 2 times the radius of curvature of the current trajectory route.
  • an embodiment of the present invention provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable The aircraft executes the UAV guidance method described in any one of the above.
  • an embodiment of the present invention provides a drone, including
  • Wings mounted on the fuselage
  • a power device installed in the fuselage and used to provide power for the drone
  • the power plant includes:
  • At least one processor and,
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the unmanned aerial vehicle as described in any one of the above. Guide method.
  • the target trajectory route is obtained; if the curvature of the target trajectory route and the current trajectory route are not equal, then according to The current trajectory route and the target trajectory route determine the turning point; obtain the turning preparation distance of the drone, and the real-time distance between the drone's guidance starting point and the turning point; when the real-time distance is less than Or when it is equal to the turn preparation distance, obtain the flight direction and guidance law model of the drone according to the target trajectory, and control the drone to fly according to the flight direction and the guidance law model.
  • FIG. 1 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of trajectory routes with unequal curvatures provided by an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of an unmanned aerial vehicle guidance method provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a process for determining the flying direction of a drone according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of the flight angle of the UAV in different trajectory routes according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for revising the guidance of an unmanned aerial vehicle according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an unmanned aerial vehicle according to an embodiment of the present invention.
  • the unmanned aerial vehicle 100 includes a fuselage 11, wings 12 and a power unit 13.
  • the wing 12 is installed on the fuselage 11 and fixedly connected to the fuselage 11, wherein the wing 12 and the fuselage 11 are integrally formed.
  • An aileron rudder surface is provided on the trailing edge of the wing 12 for controlling the rolling motion of the UAV 100.
  • FIG. 1 only exemplarily shows several rudder surfaces of the UAV 100. In other embodiments, other rudder surfaces or a larger number of rudder surfaces may also be included.
  • the power unit 13 is installed in the fuselage 11.
  • the power unit 13 includes a motor and a propeller connected to the motor shaft.
  • the motor can drive the propeller to rotate to provide power for the UAV 100 to achieve flight; the motor can also change the speed of the propeller by changing the speed of the propeller.
  • the flight speed of the man-machine 100 When the power unit 13 is in communication with the flight control system, the flight control system can control the flight of the UAV 100 by controlling the motor.
  • the power unit 13 also includes a main controller.
  • the main controller controls the aileron rudder surface to tilt to a target tilt angle, and the drone 100 rolls according to the tilt angle.
  • a roll angle is generated, and the UAV 100 realizes a turn according to the centripetal force generated by the roll angle.
  • the drone controls the drone to fly on the desired flight trajectory according to the current flight state, so that the flight trajectory of the drone can be accurately tracked.
  • the curvature of the turning trajectory is not equal, it takes a certain response time for the UAV to control the aileron rudder surface tilt to produce a roll angle, so that the UAV performs a turning flight without being fully prepared for the turn. , Which makes the actual flight trajectory of the UAV deviate from the expected flight trajectory, which makes it impossible to accurately track the target trajectory of the UAV, which reduces the accuracy of the UAV's trajectory tracking.
  • FIG. 2 only exemplarily shows the curvature changes encountered by the drone when turning. In other embodiments, curvature changes in other situations may also be included.
  • the guidance method is a method of guiding and controlling the drone to fly to the target position according to a predetermined flight trajectory. It is understandable that the main controller of the drone continuously detects the drone and the target during the guidance process of the drone. The relative position relationship of the position, and the guidance information is generated to control the flight of the UAV.
  • the embodiment of the present invention provides a UAV guidance method, which is applied to the UAV, so that when the UAV is flying on a trajectory route with unequal curvatures, a suitable guidance law model can be selected according to the trajectory route.
  • the guidance law model controls the drone to fly according to the desired trajectory, thereby improving the trajectory tracking accuracy of the drone.
  • the drone in the present invention can be any suitable type of high-altitude drone or low-altitude drone, including fixed-wing drones, rotary-wing drones, para-wing drones, or flapping-wing drones.
  • the guidance method includes:
  • Curvature is the rate of rotation of the tangent direction angle of the pointer to a point on the curve to the arc length. It is used to indicate the degree of deviation of the curve from a straight line. The greater the curvature, the greater the degree of curvature of the curve.
  • Unequal curvature means that two curves have different radii of curvature and/or different directions at the contact point. Specifically, unequal curvature means that the two curves have different radii of curvature at the contact point and have the same direction of curvature; or, two The curvature radius of the curve at the contact point is the same, but the direction of curvature is different; or, the curvature radius and direction of the two curves at the contact point are different.
  • the turning point is the contact point between the current trajectory route and the target trajectory route, and the drone can turn at the turning point to the target trajectory route along the current trajectory route.
  • the guidance method is used to control the UAV to accurately cut into the target trajectory route from the current trajectory route at the turning point.
  • the trajectory route includes a straight trajectory route and a curved trajectory route, wherein the curved trajectory route refers to a regular circular arc curve.
  • at least one of the current trajectory route and the target trajectory route is a curved trajectory route.
  • the target trajectory route is a straight trajectory route; If the route is a curved trajectory, the target trajectory is a straight trajectory or a curved trajectory.
  • the curvature of the current trajectory route and the target trajectory route are not equal, including different radii of curvature and/or different curvature directions, wherein the curvature direction includes a clockwise curvature direction or a counterclockwise curvature direction.
  • the radius of curvature of the straight trajectory route is ⁇
  • the radius of curvature of the curved trajectory route is R.
  • the curvature radius and the curvature direction of the current trajectory route and the target trajectory route are different;
  • the current trajectory route and the target trajectory route are both curved trajectory routes, then when the current trajectory route and the target trajectory route have different curvature directions and/or different curvature radii.
  • Turn preparation distance refers to the safety distance required to control the roll angle of the UAV when turning in the current flight state. Within this safe distance, control the drone to produce a roll angle so that the drone can accurately cut into the target trajectory at the turning point. It is understandable that it takes a certain amount of time for the UAV to generate the roll angle corresponding to the target trajectory. If the UAV starts to generate the roll angle when it reaches the turning point, it will cause the UAV’s flight trajectory to deviate from all directions. The target trajectory route is described and the trajectory tracking error is generated. Therefore, in the embodiment of the present invention, according to the performance characteristics of the drone itself, the turn preparation distance of the drone in the current flight state is calculated to ensure that the drone can accurately reach the turning point. Cut into the target trajectory route at the turning point. Wherein, the flight status includes the current flight speed of the drone.
  • the turning preparation distance of the drone is calculated according to the following formula:
  • S R is the turn preparation distance
  • is the roll angle pilot rate
  • T is the roll attitude angle control time constant
  • V is the flight speed.
  • the roll angle pilot rate ⁇ and the roll attitude angle control time constant T are pre-stored in the UAV.
  • the roll attitude angle control time constant T is the UAV generating the roll
  • the value of the pre-stored roll attitude angle control time constant T is also different for each drone according to its own parameters; the roll angle pilot rate ⁇ takes a value between 0.3 and 0.5 between. It can be seen that the turn preparation distance S R is positively correlated with the current flight speed V of the drone. The faster the current flight speed V is, the greater the turn preparation distance S R of the drone is.
  • the turn preparation distance may be determined according to the comprehensive performance of the drone, and the turn preparation distance may be set to a constant value and stored in the drone.
  • the real-time distance refers to the distance between the current position of the drone and the turning point.
  • the real-time distance is the current of the drone.
  • the straight-line distance between the location point and the turning point; when the current trajectory route of the drone is a curved trajectory route, the real-time distance is the length of the curve between the current location point of the drone and the turning point .
  • the flight direction is used to indicate the deviation of the drone relative to the current flight direction
  • the deviation angle is used to identify its size and direction. If the deviation angle is greater than zero, the drone is controlled to move in a clockwise direction Flying; if the offset angle is equal to zero, the UAV is controlled to fly straight forward; if the offset angle is less than zero, the UAV is controlled to fly in a counterclockwise direction.
  • the guidance law model is used to define the law of the UAV flying according to the trajectory route and determine the trajectory route of the UAV flight.
  • the trajectory route includes a straight trajectory route or a curved trajectory route. It is understandable that each trajectory route corresponds to a guidance law model.
  • the guidance law model includes a linear guidance law model or a curvilinear guidance law model. Model. When the trajectory is a straight trajectory, the linear guidance model is selected to guide the UAV to fly; when the trajectory is a curved trajectory, the curved guidance model is selected to guide the UAV to fly.
  • the flight direction and guidance law model of the drone are determined according to the real-time distance and the turn preparation distance. First, determine whether the real-time distance is less than or equal to the turn preparation distance;
  • the UAV has not yet entered the turn preparation distance range.
  • the UAV obtains its flight direction and guidance law model according to the current trajectory, and controls it according to the flight direction and the guidance law model.
  • the drone flies. Specifically, when the current trajectory route is a straight line, it is determined that the guidance law model is a straight-line guidance law model; when the current trajectory route is a curve, it is determined that the guidance law model is a curvilinear guidance law model.
  • the UAV obtains its flight direction and guidance law model according to the target trajectory, and controls the UAV according to the flight direction and the guidance law model. Drone flying. Specifically, when the target trajectory route is a straight line, it is determined that the guidance law model is a linear guidance law model; when the target trajectory route is a curve, it is determined that the guidance law model is a curvilinear guidance law model.
  • the process of guiding the UAV to fly from the current trajectory path into the target trajectory path is called a complete guidance process. It is understandable that when the drone receives a turning flight instruction, the drone generates a current trajectory route and a target trajectory route according to the turning flight instruction, and executes the above-mentioned trajectory route on the current trajectory route and the target trajectory route. In the guidance method, after the drone cuts into the target trajectory route at the turning point, the drone will fly according to the guidance law model corresponding to the target trajectory route until the drone receives a turning flight instruction or other flight instructions.
  • the drone after the drone has flew for a long time according to the guidance law model, it returns to step S22 to follow the current situation of the drone.
  • the flight status calculates the turn preparation distance and the real-time distance, and then determines the flight direction of the drone and the guidance law model to guide the drone to fly.
  • the flight time of the aforementioned drone according to the guidance law model can be set to be longer or shorter than one step time, which is not limited here.
  • the target trajectory route is acquired; if the curvature of the target trajectory route and the current trajectory route are not equal, the turning point is determined according to the current trajectory route and the target trajectory route; and the turning point of the drone is calculated Preparation distance, and the real-time distance between the guidance starting point of the drone and the turning point; when the real-time distance is less than or equal to the turning preparation distance, the drone is acquired according to the target trajectory route Flight direction and guidance law model, and control the drone to fly according to the flight direction and the guidance law model.
  • the flight direction is used to indicate the deviation of the UAV relative to the current flight direction. It is understandable that when the UAV is flying on different trajectory routes, the flight direction of the UAV is obtained according to its flying trajectory. . Specifically, please refer to Figure 4. Obtaining the flying direction of the UAV according to the trajectory of the UAV includes:
  • the trajectory route of the drone includes a current trajectory route and/or a target trajectory route.
  • the drone follows the target trajectory route Determine the guidance distance, and obtain the flight direction of the drone according to the guidance distance, the target trajectory route and the guidance starting point of the drone; when the real-time distance is greater than the turn preparation distance, the The drone determines the guidance distance according to the current trajectory route, and obtains the flying direction of the drone according to the guidance distance, the current trajectory route, and the guidance starting point of the drone.
  • the guidance distance refers to the straight-line distance between the guidance start point and the guidance end point, where the guidance start point refers to the location point of the drone at the current time, and the guidance end point refers to the location point of the drone at the current time.
  • the guiding distance is the length, and the intersection point on the trajectory route or the trajectory route extension line.
  • the trajectory route refers to the trajectory route corresponding to the current guidance law model of the drone.
  • the UAV flies on the current trajectory route according to the guidance law model, that is, the trajectory route is the current trajectory route; when the real-time distance is less than or equal to the During the turn preparation distance, the drone flies on the target trajectory route according to the guidance law model, that is, the trajectory route is the current trajectory route.
  • the obtaining the flight direction of the drone according to the guidance distance, the target trajectory route and the guidance starting point of the drone includes:
  • the guidance distance is used to assist the drone in determining its offset direction relative to the current flight direction.
  • the guidance distance is less than twice the current trajectory route.
  • the radius of curvature, and, during the guiding process, the guiding distance is a fixed value.
  • the guidance distance is determined according to the trajectory, and the current position of the drone is taken as the origin of coordinates, and the flying direction of the drone at the current position is the positive direction of the X axis.
  • the rule establishes a coordinate system in which the flight direction of the drone is calculated, which improves the accuracy of calculating the flight direction of the drone.
  • an embodiment of the present invention provides a UAV flight control method , In order to correct the errors that occur during the flight of the UAV, the method includes:
  • the difference between the X-axis coordinate of the current desired position point in the coordinate system and the X-axis coordinate of the current position point is calculated respectively to obtain the first coordinate difference; and the current desired position is calculated separately
  • a point is a second coordinate difference between the Y-axis coordinate of the drone coordinate system and the Y-axis coordinate of the current position point to obtain the second coordinate difference.
  • the current desired position point is P 0c
  • its corresponding coordinate position in the above-mentioned coordinate system is
  • the current position point is P 0
  • its corresponding coordinate position in the above-mentioned coordinate system is Then, the coordinate difference between the current location point of the drone and the current desired location point is:
  • e x is the first coordinate difference
  • e y is the second coordinate difference
  • the guidance law model includes a linear guidance law model or a curvilinear guidance law model, and the error distance obtained by the above calculation is used to correct the linear guidance law model or the curvilinear guidance law model.
  • the linear guidance law model is:
  • the revised curve guidance law model is:
  • K V is the velocity guidance factor
  • K ⁇ is the roll angle guidance factor
  • K x and K y is the guidance error factor
  • V cmax for the user to set the maximum speed
  • V c is the speed of the front guide
  • ⁇ c for the front guide roll angle ⁇ as a guide start point P 0 and the angle between the straight guide and the end point X-axis positive direction P N is located.
  • leading guidance speed V c and the leading guidance roll angle ⁇ c are the guidance parameters generated by the drone according to the guidance law model, and the drone controls the drone according to the above guidance parameters.
  • the error distance between the current position point of the drone and the current expected position point is calculated, and the error distance is used to correct the linear guidance law model or the curvilinear guidance law model.
  • the UAV is made to fly according to the revised guidance law model, thereby reducing the flight error of the UAV and improving the tracking accuracy of the UAV on the trajectory.
  • the UAV uses the above guidance method to make it accurately cut into the target trajectory route from the current trajectory at the turning point
  • the curvature of the UAV when the above-mentioned UAV turns is not used in the following. Take an equal situation as an example, and describe in detail the guidance process of the UAV during flight:
  • Fig. 7 when the current trajectory route is a straight trajectory route and the target trajectory route is a curved trajectory route, obtain the turning preparation distance and the real-time distance of the UAV, and determine whether the real-time distance is less than the Turn preparation distance; if not, select the linear guidance law model; if yes, select the curvilinear guidance law model.
  • the current position point of the UAV at P 0 is taken as the origin of the coordinate system, and the flight direction of the current trajectory is the positive direction of the X axis, according to The right-hand rule establishes the coordinate system of the UAV;
  • PN is the intersection point of the current trajectory route with P 0 as the starting point of guidance and the length of the guidance distance L as the length of the current trajectory, which is the guidance end point;
  • P T is the turning point and ⁇ is the point flight said guide start point P 0 and the angle between the guide end point of line P N where the X-axis positive direction
  • the UAV includes the following three stages:
  • Stage I When the UAV is flying on the straight trajectory and does not enter the turn preparation distance range, that is, when the real-time distance is greater than the turn preparation distance, the guidance starting point P 0 and the guidance ending point P
  • the law model guides the UAV to fly straight forward.
  • Stage II When the UAV enters the turn preparation distance range, that is, when the real-time distance is less than or equal to the turn preparation distance, the UAV's guidance law model is switched from the linear guidance law model to curve guidance law model, wherein the end guide is located on the target track P N route guidance start point P 0 and the angle ⁇ of the straight line and the X axis guide P N where the end point of> 0, the no The man-machine guides the UAV to fly in a clockwise direction according to the curve guidance law model.
  • the flight of the UAV at this stage is a transitional stage from the current trajectory route to the target trajectory route. Therefore, the flight trajectory route at this stage is neither similar to a straight trajectory nor approximate It is a curvilinear trajectory route, but a trajectory route between a straight trajectory route and a curved trajectory route.
  • Stage III When the drone reaches or flies over the turning point P T , the drone accurately cuts into the target trajectory route from a straight trajectory route, that is, a curved trajectory route, and continues to follow the curve guidance law model and The flight direction controls the drone to fly. It should be noted that when the UAV flies over the turning point, it can be understood that the UAV has completed the flight of the UAV from the current trajectory route according to the above-mentioned guidance method of the UAV. Trajectory route tracking of the target trajectory route.
  • the current trajectory route is a curved trajectory route and the target trajectory route is a straight trajectory route
  • acquiring the turning preparation distance and the real-time distance of the drone and judging whether the real-time distance is less than the turning preparation distance; if No, select the curvilinear guidance law model; if yes, select the linear guidance law model.
  • the current position of the UAV at P 0 is the origin of the coordinate system
  • the flight direction of the current trajectory is the positive direction of the X axis, according to the right hand
  • the rule establishes the coordinate system of the UAV
  • PN is the intersection point of the current trajectory route with P 0 as the starting point of guidance and the length of the guidance distance L as the length of the current trajectory, that is, the guidance end point
  • P T is the turning point
  • is the a guide start point P 0 and the angle between the guide end point of line P N where the X-axis positive direction
  • the UAV flight includes the following three stages:
  • Phase I When the UAV is flying on the curved trajectory and has not entered the turn preparation distance range, that is, when the real-time distance is greater than the turn preparation distance, the guidance starting point P 0 and the guidance ending point P If the angle ⁇ between the straight line where N is and the positive direction of the X axis is ⁇ 0, the UAV selects the curvilinear guidance law model according to the current curvilinear trajectory route as the guidance law model of the current flight, and according to the curvilinear guidance law The model guides the drone to fly in a counterclockwise direction.
  • Phase II When the UAV enters the turn preparation distance range, that is, when the real-time distance is less than or equal to the turn preparation distance, the UAV's guidance law model is switched from the curve guidance law model to linear guidance law model, wherein the end guide is located on the target track P N route guidance start point P 0 and the angle ⁇ of the straight line and the X axis guide P N where the end point of ⁇ 0, the no The man-machine guides the UAV to fly in a counterclockwise direction according to the curve guidance law model. It should be noted that the flight of the UAV at this stage is a transitional stage from the current trajectory route to the target trajectory route. Therefore, the flight trajectory route at this stage is neither similar to a straight trajectory nor approximate It is a curvilinear trajectory route, but a trajectory route between a straight trajectory route and a curved trajectory route.
  • Stage III When the UAV arrives at or flies over the turning point P T , the UAV accurately cuts into the target trajectory route from a curved trajectory route, that is, a straight trajectory route, and continues to follow the linear guidance law model and The flight direction controls the drone to fly. It should be noted that when the UAV flies over the turning point, it can be understood that the UAV has completed the flight of the UAV from the current trajectory route according to the above-mentioned guidance method of the UAV. Trajectory route tracking of the target trajectory route.
  • the target trajectory route is a second curved trajectory route, wherein the curvatures of the first curved trajectory route and the second curved trajectory route are not equal.
  • FIGS. 9 and 10 together.
  • the radius of curvature of the first curved trajectory route and the second curved trajectory route are the same, and the directions are different; in FIG. 10, the first curved trajectory The radius of curvature and direction of the route and the second curved track route are different.
  • the guidance law models corresponding to the above-mentioned first curved trajectory route and the second trajectory route are both curved guidance law models, and the curved guidance law model has different outputs according to the curvature radius and direction angle of different curved trajectories.
  • the guidance parameters are both curved guidance law models, and the curved guidance law model has different outputs according to the curvature radius and direction angle of different curved trajectories.
  • the flying direction of the current trajectory route is the positive direction of the X axis
  • the coordinate system of the drone is established according to the right-hand rule
  • P N is expressed as P 0 is the starting point of guidance, and the intersection of the current trajectory route or the extension of the current trajectory route with the guidance distance L as the length is the guidance end point
  • P T is the turning point
  • is the guidance starting point P 0 and the guidance end point P
  • the angle between the line where N is and the positive direction of the X-axis, the flight of the UAV mainly includes the following three stages:
  • Stage I When the UAV is flying on the first curved trajectory and does not enter the turn preparation distance range, that is, when the real-time distance is greater than the turn preparation distance, the guidance starting point P 0 and the guidance P N where the end point of line with angle ⁇ of the X-axis positive direction is ⁇ 0, then the UAV guidance law model curve selected as the current flight guidance law model curve according to the first track path, and according to the curve The guidance law model guides the UAV to fly in a counterclockwise direction.
  • Stage II When the UAV enters the turn preparation distance range, that is, when the real-time distance is less than or equal to the turn preparation distance, the UAV's guidance law model is still a curved guidance law model, i stage is different and, at this stage, the end of the guide is located on the target track P N route, the guiding angle ⁇ of the straight line and the X axis of the guide start point P 0 where the end point P N> 0:
  • the UAV guides the UAV to fly in a clockwise direction according to the curve guidance law model. It should be noted that the flight of the UAV at this stage is a transitional stage from the first curved trajectory route to the second curved trajectory route. Therefore, the flight trajectory route at this stage is neither similar to the first curve.
  • the trajectory route is not similar to the second curved trajectory route, but a trajectory route between the first curved trajectory route and the second curved trajectory route.
  • Stage III When the UAV reaches or flies over the turning point P T , the UAV accurately cuts into the first curved trajectory route from the first curved trajectory line, and continues to follow the curved guidance law model and flight direction Control the drone to fly. It should be noted that when the UAV flies over the turning point, it can be understood that the UAV has completed the flight of the UAV from the current trajectory route according to the above-mentioned guidance method of the UAV. Trajectory route tracking of the target trajectory route.
  • the above-described device or device embodiments are merely illustrative.
  • the unit modules described as separate components may or may not be physically separated, and the components displayed as modular units may or may not be physical units. , Which can be located in one place, or can be distributed to multiple network module units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware.
  • the above technical solution essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk , CD-ROM, etc., including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiment.
  • the embodiment of the present invention provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, execute the above Describe the method steps of Figures 3, 4, and 6.
  • the embodiment of the present invention provides a computer program product, which includes one or more processors and a memory, and the processors and the memory may be connected through a bus or in other ways.
  • the memory can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules.
  • the processor executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory.
  • the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory may optionally include a memory remotely arranged with respect to the processor, and these remote memories may be connected to the processor through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the program instructions/modules are stored in the memory, and when executed by the one or more processors, the UAV guidance method in any of the foregoing method embodiments is executed, for example, the above-described FIG. 3 and FIG. 4 and Figure 6 method steps.

Abstract

An unmanned aerial vehicle (100) guidance method, an unmanned aerial vehicle (100), and a storage medium, relating to the field of unmanned aerial vehicles (100), the method comprising: acquiring a target trajectory (S20); if the curvature of the target trajectory and the current trajectory are not equal, then determining a turning point (PT) on the basis of the current trajectory and the target trajectory (S21); acquiring a turning preparation distance (SR) and a real-time distance of the unmanned aerial vehicle (100) (S22); and, when the real-time distance is less than or equal to the turning preparation distance (SR), acquiring the flight direction and guidance law model of the unmanned aerial vehicle on the basis of the target trajectory, and controlling the flight of the unmanned aerial vehicle (100) (S23). The turning preparation distance (SR) of the unmanned aerial vehicle (100) is calculated on the basis of the current flight state thereof, such that when the unmanned aerial vehicle (100) enters the turning preparation distance (SR), the flight direction and guidance law model are switched in time to control the flight of the unmanned aerial vehicle (100), thereby ensuring that the unmanned aerial vehicle (100) accurately enters the target trajectory at the turning point (PT), so that the unmanned aerial vehicle (100) flies on the target trajectory, thereby increasing the tracking precision of the unmanned aerial vehicle (100) to the target trajectory.

Description

一种无人机制导方法、无人机及存储介质UAV guidance method, UAV and storage medium
本申请要求于2020年6月5日提交中国专利局、申请号为2020105078169、申请名称为“一种无人机制导方法、无人机及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 5, 2020, the application number is 2020105078169, and the application title is "A UAV Guidance Method, UAV and Storage Medium", and its entire contents Incorporated in this application by reference.
技术领域Technical field
本发明涉及无人机领域,特别是涉及一种无人机制导方法、无人机及存储介质。The invention relates to the field of unmanned aerial vehicles, in particular to an unmanned aerial vehicle guidance method, an unmanned aerial vehicle and a storage medium.
背景技术Background technique
固定翼无人机由于其飞行距离远、飞行速度快等特点而在多个领域广泛的运用。其中,固定翼无人机在飞行时,主要通过其双翼来提供升力,且仅当无人机的速度达到一定程度时才能提供足够的升力。Fixed-wing UAVs are widely used in many fields due to their long flying distance and fast flying speed. Among them, fixed-wing UAVs mainly provide lift through their biplanes when flying, and only when the UAV's speed reaches a certain level can it provide sufficient lift.
由于固定翼无人机在飞行过程中无法悬停,从而固定翼无人机在飞行转弯时,对于曲率不相等的轨迹,就会出现轨迹跟踪效果不好,从而导致其跟踪误差较大。Since the fixed-wing UAV cannot hover during the flight, when the fixed-wing UAV turns in flight, it will have a poor trajectory tracking effect for trajectories with unequal curvatures, resulting in large tracking errors.
发明内容Summary of the invention
本发明实施例的一个目的旨在提供一种无人机制导方法、无人机及存储介质,其能够提高无人机轨迹跟踪的精度。An objective of the embodiments of the present invention is to provide a UAV guidance method, UAV and storage medium, which can improve the accuracy of UAV trajectory tracking.
为了解决上述技术问题,本发明提供以下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
第一方面,本发明实施例提供一种无人机制导方法,包括:获取目标轨迹路线;In a first aspect, an embodiment of the present invention provides a UAV guidance method, including: acquiring a target trajectory route;
若所述目标轨迹路线与当前轨迹路线的曲率不相等,则根据当前轨迹路线和所述目标轨迹路线确定转弯点;If the curvatures of the target trajectory route and the current trajectory route are not equal, determining the turning point according to the current trajectory route and the target trajectory route;
获取所述无人机的转弯准备距离,以及所述无人机的引导起点与所述转弯点之间的实时距离,其中,所述引导起点为所述无人机的当前位置点;Acquiring the turning preparation distance of the drone and the real-time distance between the guidance starting point of the drone and the turning point, wherein the guidance starting point is the current position point of the drone;
当所述实时距离小于或者等于所述转弯准备距离时,根据所述目标轨迹路线获取所述无人机的飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。When the real-time distance is less than or equal to the turn preparation distance, obtain the flight direction and guidance law model of the drone according to the target trajectory, and control the drone according to the flight direction and the guidance law model. Drone flying.
可选地,所述根据所述目标轨迹路线获取所述无人机的飞行方向,包括:Optionally, the acquiring the flying direction of the drone according to the target trajectory route includes:
根据所述目标轨迹路线确定引导距离;Determine the guidance distance according to the target trajectory route;
根据所述引导距离、所述目标轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向,其中,所述引导距离为所述引导起点与引导终点的距离,所述引导终点位于所述目标轨迹路线上。Obtain the flying direction of the drone according to the guidance distance, the target trajectory route, and the guidance starting point of the drone, wherein the guidance distance is the distance between the guidance starting point and the guidance end point, and the guidance The end point is located on the target trajectory route.
可选地,所述根据所述目标轨迹路线获取所述无人机的制导律模型,包括:Optionally, the obtaining the guidance law model of the drone according to the target trajectory route includes:
当所述目标轨迹路线为直线时,确定所述制导律模型为直线制导律模型;When the target trajectory route is a straight line, determining that the guidance law model is a straight-line guidance law model;
当所述目标轨迹路线为曲线时,确定所述制导律模型为曲线制导律模型。When the target trajectory is a curve, it is determined that the guidance law model is a curvilinear guidance law model.
可选地,所述根据所述引导距离、所述目标轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向,包括:Optionally, the acquiring the flying direction of the drone according to the guidance distance, the target trajectory route, and the guidance starting point of the drone includes:
以所述引导起点为坐标系的原点,所述当前轨迹路线的飞行方向为X轴正方向,根据右手定则建立所述无人机的坐标系;Taking the guidance starting point as the origin of the coordinate system, the flying direction of the current trajectory route is the positive direction of the X axis, and establishing the coordinate system of the drone according to the right-hand rule;
计算所述引导起点与所述引导终点所在的直线与所述X轴正方向的 夹角α;Calculating the angle α between the straight line between the guiding start point and the guiding end point and the positive direction of the X-axis;
根据所述夹角α确定所述无人机的飞行方向。The flying direction of the drone is determined according to the included angle α.
可选地,根据所述飞行方向和所述制导律模型控制所述无人机飞行,包括:Optionally, controlling the drone to fly according to the flight direction and the guidance law model includes:
计算所述当前位置点与当前期望位置点之间的误差距离;Calculating the error distance between the current position point and the current expected position point;
根据所述误差距离,修正所述制导律模型;Correcting the guidance law model according to the error distance;
根据修正的制导律模型及所述飞行方向,控制所述无人机持续在当前轨迹路线上实施制导操作。According to the revised guidance law model and the flight direction, the UAV is controlled to continuously implement guidance operations on the current trajectory route.
可选地,所述制导律模型包括所述直线制导律模型或所述曲线制导律模型,其中:Optionally, the guidance law model includes the linear guidance law model or the curvilinear guidance law model, wherein:
修正后的直线制导律模型为:The revised linear guidance law model is:
Figure PCTCN2021097755-appb-000001
Figure PCTCN2021097755-appb-000001
修正后的曲线制导律模型为:The revised curve guidance law model is:
Figure PCTCN2021097755-appb-000002
Figure PCTCN2021097755-appb-000002
K V为速度制导因子,K φ为横滚角制导因子,K x和K y为误差制导因子,V cmax为用户设定的最大速度,φ cmax为飞机的控制系统设置的最大横滚角,V c为前置导引速度,φ c为前置导引横滚角,α为引导起点P 0与引导终点P N所在的直线与所述X轴正方向的夹角。 Guidance for the speed factor K V, K φ is the roll angle guidance factor, K x and K y is the guidance error factor, the maximum velocity V cmax is set by the user, the maximum roll angle φ cmax provided for the control system of the aircraft, V c is the speed of the pre-guide, φ c for the front guide roll angle, α is linearly guided to the guide start point P 0 P N where the angle between the end of the X-axis positive direction.
可选地,所述计算所述无人机的转弯准备距离,包括:Optionally, the calculating the turn preparation distance of the drone includes:
根据以下公式,计算所述无人机的转弯准备距离:Calculate the turn preparation distance of the UAV according to the following formula:
S R=3ηTV S R =3ηTV
S R为转弯准备距离,η为横滚角先导率,T为横滚姿态角控制时间 常数,V为飞行速度。 S R is the turn preparation distance, η is the roll angle pilot rate, T is the roll attitude angle control time constant, and V is the flight speed.
可选地,所述引导距离小于2倍的所述当前轨迹路线的曲率半径。Optionally, the guiding distance is less than 2 times the radius of curvature of the current trajectory route.
第二方面,本发明实施例提供一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使无人机执行如上述任一项所述的无人机制导方法。In a second aspect, an embodiment of the present invention provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable The aircraft executes the UAV guidance method described in any one of the above.
第三方面,本发明实施例提供一种无人机,包括In a third aspect, an embodiment of the present invention provides a drone, including
机身;body;
机翼,安装于所述机身;Wings, mounted on the fuselage;
动力装置,安装于所述机身内,用于为所述无人机提供动力;A power device installed in the fuselage and used to provide power for the drone;
其中,所述动力装置包括:Wherein, the power plant includes:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上述任一项所述的无人机制导方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the unmanned aerial vehicle as described in any one of the above. Guide method.
相对于传统技术,在本发明各个实施例提供的一种无人机制导方法、无人机及存储介质,获取目标轨迹路线;若所述目标轨迹路线与当前轨迹路线的曲率不相等,则根据当前轨迹路线和所述目标轨迹路线确定转弯点;获取所述无人机的转弯准备距离,以及所述无人机的引导起点与所述转弯点之间的实时距离;当所述实时距离小于或者等于所述转弯准备距离时,根据所述目标轨迹路线获取所述无人机的飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。根据无人机当前的飞行状态计算其转弯准备距离,以使无人机在进入转弯准备距离时,及时的切换飞行方向及制导律模型以控制无人机飞行,以确保无人机在转弯点时准确的切入目标轨迹路线,进而使无人机飞行在 目标轨迹路线,从而提高了无人机对目标轨迹路线的跟踪精度。Compared with the traditional technology, in the UAV guidance method, UAV and storage medium provided by the various embodiments of the present invention, the target trajectory route is obtained; if the curvature of the target trajectory route and the current trajectory route are not equal, then according to The current trajectory route and the target trajectory route determine the turning point; obtain the turning preparation distance of the drone, and the real-time distance between the drone's guidance starting point and the turning point; when the real-time distance is less than Or when it is equal to the turn preparation distance, obtain the flight direction and guidance law model of the drone according to the target trajectory, and control the drone to fly according to the flight direction and the guidance law model. Calculate the turning preparation distance according to the current flight status of the drone, so that when the drone enters the turning preparation distance, it can switch the flight direction and guidance law model in time to control the flight of the drone to ensure that the drone is at the turning point Time and accurately cut into the target trajectory route, and then make the UAV fly on the target trajectory route, thereby improving the UAV's tracking accuracy of the target trajectory route.
附图说明Description of the drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplified descriptions do not constitute a limitation on the embodiments. The elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the attached drawings do not constitute a scale limitation.
图1为本发明实施例提供的一种无人机的结构示意图;FIG. 1 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the present invention;
图2为本发明实施例提供的曲率不相等的轨迹路线示意图;2 is a schematic diagram of trajectory routes with unequal curvatures provided by an embodiment of the present invention;
图3为本发明实施例提供的一种无人机制导方法的流程示意图;FIG. 3 is a schematic flow chart of an unmanned aerial vehicle guidance method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种确定无人机飞行方向的流程示意图;FIG. 4 is a schematic diagram of a process for determining the flying direction of a drone according to an embodiment of the present invention;
图5为本发明实施例提供的无人机不同轨迹路线时的飞行夹角的示意图;FIG. 5 is a schematic diagram of the flight angle of the UAV in different trajectory routes according to an embodiment of the present invention;
图6为本发明实施例提供的一种修正无人机制导方法的流程示意图;FIG. 6 is a schematic flowchart of a method for revising the guidance of an unmanned aerial vehicle according to an embodiment of the present invention;
图7为本发明实施例提供的无人机飞行转弯轨迹路线的示意图;FIG. 7 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention;
图8为本发明实施例提供的无人机飞行转弯轨迹路线的示意图;FIG. 8 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention;
图9为本发明实施例提供的无人机飞行转弯轨迹路线的示意图;FIG. 9 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention;
图10为本发明实施例提供的无人机飞行转弯轨迹路线的示意图。FIG. 10 is a schematic diagram of a flying turn trajectory route of a drone provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有 做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of the embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,当元件被表述“固定于”另一个元件,它可以直接在另一个元件上、或者其间可以存在一个或多个居中的元件。当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。本说明书所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when an element is expressed as being "fixed to" another element, it can be directly on the other element, or there can be one or more elements in between. When an element is said to be "connected" to another element, it can be directly connected to the other element, or there may be one or more intervening elements in between. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.
此外,下面所描述的本发明各个实施例中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
请参阅图1,图1为本发明实施例提供的一种无人机的结构示意图,如图1所示,无人机100包括:机身11、机翼12及动力装置13。机翼12安装于机身11,与机身11固定连接,其中,机翼12与机身11一体成型。在机翼12的后缘设置有副翼舵面,用于控制无人机100的横滚运动。需要说明的是,图1中仅示例性的示出了无人机100的几个舵面,在其他实施例中,也可以包括其他舵面或数量更多的舵面。Please refer to FIG. 1, which is a schematic structural diagram of an unmanned aerial vehicle according to an embodiment of the present invention. As shown in FIG. 1, the unmanned aerial vehicle 100 includes a fuselage 11, wings 12 and a power unit 13. The wing 12 is installed on the fuselage 11 and fixedly connected to the fuselage 11, wherein the wing 12 and the fuselage 11 are integrally formed. An aileron rudder surface is provided on the trailing edge of the wing 12 for controlling the rolling motion of the UAV 100. It should be noted that FIG. 1 only exemplarily shows several rudder surfaces of the UAV 100. In other embodiments, other rudder surfaces or a larger number of rudder surfaces may also be included.
动力装置13安装于机身11内,动力装置13包括电机以及与电机轴连接的螺旋桨,电机能够带动螺旋桨旋转以为无人机100提供动力,实现飞行;电机还能够通过改变螺旋桨的转速来改变无人机100的飞行速度。当动力装置13与飞控系统通信连接时,飞控系统能够通过控制电机来控制无人机100的飞行。The power unit 13 is installed in the fuselage 11. The power unit 13 includes a motor and a propeller connected to the motor shaft. The motor can drive the propeller to rotate to provide power for the UAV 100 to achieve flight; the motor can also change the speed of the propeller by changing the speed of the propeller. The flight speed of the man-machine 100. When the power unit 13 is in communication with the flight control system, the flight control system can control the flight of the UAV 100 by controlling the motor.
动力装置13还包括主控制器,无人机100执行飞行转弯时,主控制器控制副翼舵面倾转至目标倾转角度,所述无人机100根据该倾转角度发生横滚运动,从而产生横滚角,所述无人机100根据该横滚角产生的向心力实现转弯。The power unit 13 also includes a main controller. When the drone 100 performs a flight turn, the main controller controls the aileron rudder surface to tilt to a target tilt angle, and the drone 100 rolls according to the tilt angle. Thus, a roll angle is generated, and the UAV 100 realizes a turn according to the centripetal force generated by the roll angle.
可以理解的,当转弯轨迹的曲率相等时,所述无人机根据当前的飞行状态控制无人机在期望的飞行轨迹上飞行,从而能对无人机的飞行轨迹进行精确的跟踪。然而,当转弯轨迹的曲率不相等时,由于无人机控制副翼舵面倾转而产生横滚角需要一定的响应时间,以致于无人机在未完全准备好转弯的情况下执行转弯飞行,使得无人机实际的飞行轨迹与期望的飞行轨迹出现了偏差,从而无法精准的跟踪无人机的目标轨迹路线,降低了无人机的轨迹跟踪精度。It is understandable that when the curvature of the turning trajectory is equal, the drone controls the drone to fly on the desired flight trajectory according to the current flight state, so that the flight trajectory of the drone can be accurately tracked. However, when the curvature of the turning trajectory is not equal, it takes a certain response time for the UAV to control the aileron rudder surface tilt to produce a roll angle, so that the UAV performs a turning flight without being fully prepared for the turn. , Which makes the actual flight trajectory of the UAV deviate from the expected flight trajectory, which makes it impossible to accurately track the target trajectory of the UAV, which reduces the accuracy of the UAV's trajectory tracking.
具体的,请参阅图2,以下例举出几种无人机转弯时出现的曲率不相等的情况:Specifically, please refer to Figure 2. The following are examples of situations where the curvatures of drones are not equal when turning:
情况1:如图2-1所示的转弯曲率半径由∞变成半径R;Case 1: The curvature radius as shown in Figure 2-1 changes from ∞ to radius R;
情况2:如图2-2所示的转弯曲率半径由半径R变成∞;Case 2: The turning curvature radius shown in Figure 2-2 changes from radius R to ∞;
情况3:如图2-3所示的转弯曲率的方向不相同;Case 3: The direction of the bending rate as shown in Figure 2-3 is not the same;
情况4:如图2-4所示的转弯曲率的半径大小和方向均发生变化。Case 4: As shown in Figure 2-4, the radius and direction of the curvature change.
需要说明的是,图2中仅示例性的示出了无人机在转弯时遇到的曲率变化情况,在其他实施例中,也可以包括其他情况的曲率变化。It should be noted that FIG. 2 only exemplarily shows the curvature changes encountered by the drone when turning. In other embodiments, curvature changes in other situations may also be included.
制导方法是指导引和控制无人机按照预定的飞行轨迹飞向目标位置的方法,可以理解的,在无人机的制导过程中,无人机的主控制器不断的检测无人机与目标位置的相对位置关系,并产生制导信息以控制无人机的飞行。The guidance method is a method of guiding and controlling the drone to fly to the target position according to a predetermined flight trajectory. It is understandable that the main controller of the drone continuously detects the drone and the target during the guidance process of the drone. The relative position relationship of the position, and the guidance information is generated to control the flight of the UAV.
本发明实施例提供的一种无人机制导方法,该方法应用于无人机,使得无人机能够在曲率不相等的轨迹路线飞行时,根据轨迹路线选择相适应的制导律模型,从而根据该制导律模型控制无人机能够根据期望的轨迹路线飞行,从而提高无人机的轨迹跟踪精度。The embodiment of the present invention provides a UAV guidance method, which is applied to the UAV, so that when the UAV is flying on a trajectory route with unequal curvatures, a suitable guidance law model can be selected according to the trajectory route. The guidance law model controls the drone to fly according to the desired trajectory, thereby improving the trajectory tracking accuracy of the drone.
本发明中的无人机可以是任何合适类型的高空无人机或者低空无人机,包括固定翼无人机、旋翼无人机、伞翼无人机或者扑翼无人机等。The drone in the present invention can be any suitable type of high-altitude drone or low-altitude drone, including fixed-wing drones, rotary-wing drones, para-wing drones, or flapping-wing drones.
具体的,请参阅图3,所述制导方法包括:Specifically, please refer to Figure 3. The guidance method includes:
S20:获取目标轨迹路线;S20: Obtain the target trajectory route;
S21:若所述目标轨迹路线与当前轨迹路线的曲率不相等,则根据当前轨迹路线和所述目标轨迹路线确定转弯点;S21: If the curvature of the target trajectory route is not equal to the curvature of the current trajectory route, determine the turning point according to the current trajectory route and the target trajectory route;
曲率是指针对曲线上某个点的切线方向角对弧长的转动率,用于表示曲线偏离直线的程度,曲率越大,曲线的弯曲程度越大。曲率不相等是指两条曲线在接触点的曲率半径不同和/或方向不同,具体的,所述曲率不相等是指两条曲线在接触点的曲率半径不同,曲率方向相同;或者,两条曲线在接触点的曲率半径相同,曲率方向不同;或者,两条曲线在接触点的曲率半径和方向均不相同。Curvature is the rate of rotation of the tangent direction angle of the pointer to a point on the curve to the arc length. It is used to indicate the degree of deviation of the curve from a straight line. The greater the curvature, the greater the degree of curvature of the curve. Unequal curvature means that two curves have different radii of curvature and/or different directions at the contact point. Specifically, unequal curvature means that the two curves have different radii of curvature at the contact point and have the same direction of curvature; or, two The curvature radius of the curve at the contact point is the same, but the direction of curvature is different; or, the curvature radius and direction of the two curves at the contact point are different.
在本发明实施例中,所述转弯点即为为当前轨迹路线与目标轨迹路线的接触点,所述无人机可沿着所述当前轨迹路线在所述转弯点转弯至目标轨迹路线。所述制导方法则用于控制无人机由当前轨迹路线在转弯点时准确的切入目标轨迹路线。In the embodiment of the present invention, the turning point is the contact point between the current trajectory route and the target trajectory route, and the drone can turn at the turning point to the target trajectory route along the current trajectory route. The guidance method is used to control the UAV to accurately cut into the target trajectory route from the current trajectory route at the turning point.
可以理解的,轨迹路线包括直线轨迹路线和曲线轨迹路线,其中,所述曲线轨迹路线是指规则的圆弧曲线。在本发明实施例中,所述当前轨迹路线与所述目标轨迹路线中至少有一个轨迹路线为曲线轨迹路线,例如,当前轨迹路线为直线轨迹路线,则目标轨迹路线为曲线轨迹路线;当前轨迹路线为曲线轨迹路线,则目标轨迹路线为直线轨迹路线或曲线轨迹路线。It is understandable that the trajectory route includes a straight trajectory route and a curved trajectory route, wherein the curved trajectory route refers to a regular circular arc curve. In the embodiment of the present invention, at least one of the current trajectory route and the target trajectory route is a curved trajectory route. For example, if the current trajectory route is a straight trajectory route, the target trajectory route is a curved trajectory route; If the route is a curved trajectory, the target trajectory is a straight trajectory or a curved trajectory.
具体的,所述当前轨迹路线与所述目标轨迹路线的曲率不相等,包括曲率半径不同和/或曲率方向不同,其中,曲率方向包括顺时针曲率方向或逆时针曲率方向。可以理解的,直线轨迹路线的曲率半径为∞,曲线轨迹路线的曲率半径为R。当所述当前轨迹路线与所述目标轨迹路线中任意一条为直线轨迹路线,另一条为曲线轨迹路线时,则所述当前 轨迹路线与所述目标轨迹路线的曲率半径及曲率方向均不相同;当所述当前轨迹路线与所述目标轨迹路线均为曲线轨迹路线时,则当所述当前轨迹路线与所述目标轨迹路线的曲率方向不同和/或曲率半径不同。Specifically, the curvature of the current trajectory route and the target trajectory route are not equal, including different radii of curvature and/or different curvature directions, wherein the curvature direction includes a clockwise curvature direction or a counterclockwise curvature direction. It can be understood that the radius of curvature of the straight trajectory route is ∞, and the radius of curvature of the curved trajectory route is R. When any one of the current trajectory route and the target trajectory route is a straight trajectory route, and the other is a curved trajectory route, the curvature radius and the curvature direction of the current trajectory route and the target trajectory route are different; When the current trajectory route and the target trajectory route are both curved trajectory routes, then when the current trajectory route and the target trajectory route have different curvature directions and/or different curvature radii.
S22:获取所述无人机的转弯准备距离,以及所述无人机的引导起点与所述转弯点之间的实时距离,其中,所述引导起点为所述无人机的当前位置点;S22: Obtain the turning preparation distance of the drone and the real-time distance between the guidance starting point of the drone and the turning point, where the guidance starting point is the current position point of the drone;
转弯准备距离是指在当前飞行状态下,控制无人机产生转弯时的横滚角所需的安全距离。在该安全距离内,控制无人机产生横滚角,以使无人机能准确的在转弯点切入目标轨迹路线。可以理解的,由于无人机产生目标轨迹路线相应的横滚角需要一定的时间,若无人机在到达转弯点时才开始产生横滚角,则会导致无人机的飞行轨迹路线偏离所述目标轨迹路线而产生轨迹跟踪误差。因此,在本发明实施例中,根据所述无人机自身的性能特点,计算出无人机在当前飞行状态下的转弯准备距离,以确保无人机在到达所述转弯点时能准确的在转弯点切入所述目标轨迹路线。其中,所述飞行状态包括所述无人机当前的飞行速度。Turn preparation distance refers to the safety distance required to control the roll angle of the UAV when turning in the current flight state. Within this safe distance, control the drone to produce a roll angle so that the drone can accurately cut into the target trajectory at the turning point. It is understandable that it takes a certain amount of time for the UAV to generate the roll angle corresponding to the target trajectory. If the UAV starts to generate the roll angle when it reaches the turning point, it will cause the UAV’s flight trajectory to deviate from all directions. The target trajectory route is described and the trajectory tracking error is generated. Therefore, in the embodiment of the present invention, according to the performance characteristics of the drone itself, the turn preparation distance of the drone in the current flight state is calculated to ensure that the drone can accurately reach the turning point. Cut into the target trajectory route at the turning point. Wherein, the flight status includes the current flight speed of the drone.
具体的,根据以下公式,计算所述无人机的转弯准备距离:Specifically, the turning preparation distance of the drone is calculated according to the following formula:
S R=3ηTV S R =3ηTV
S R为转弯准备距离,η为横滚角先导率,T为横滚姿态角控制时间常数,V为飞行速度。 S R is the turn preparation distance, η is the roll angle pilot rate, T is the roll attitude angle control time constant, and V is the flight speed.
其中,横滚角先导率η及横滚姿态角控制时间常数T预存在所述无人机中,在本发明实施例中,横滚姿态角控制时间常数T为无人机产生所述横滚角所需的时间,可以理解的,各无人机根据其自身参数的不同,预存的横滚姿态角控制时间常数T的值亦不相同;横滚角先导率η取值于0.3~0.5之间。可见,转弯准备距离S R与无人机当前的飞行速度V正相关,当前的飞行速度V越快,所述无人机的转弯准备距离S R也越大。 Wherein, the roll angle pilot rate η and the roll attitude angle control time constant T are pre-stored in the UAV. In the embodiment of the present invention, the roll attitude angle control time constant T is the UAV generating the roll It can be understood that the value of the pre-stored roll attitude angle control time constant T is also different for each drone according to its own parameters; the roll angle pilot rate η takes a value between 0.3 and 0.5 between. It can be seen that the turn preparation distance S R is positively correlated with the current flight speed V of the drone. The faster the current flight speed V is, the greater the turn preparation distance S R of the drone is.
在一些实施例中,还可以根据所述无人机的综合性能确定所述所述转弯准备距离,将所述转弯准备距离设定为一个恒定值预存于所述无人机。In some embodiments, the turn preparation distance may be determined according to the comprehensive performance of the drone, and the turn preparation distance may be set to a constant value and stored in the drone.
实时距离是指所述无人机的当前位置点与转弯点之间的距离,当所述无人机的当前轨迹路线为直线轨迹路线时,所述实时距离即为所述无人机的当前位置点与转弯点之间的直线距离;当所述无人机的当前轨迹路线为曲线轨迹路线时,所述实时距离即为所述无人机的当前位置点与转弯点之间的曲线长度。The real-time distance refers to the distance between the current position of the drone and the turning point. When the current trajectory of the drone is a straight trajectory, the real-time distance is the current of the drone. The straight-line distance between the location point and the turning point; when the current trajectory route of the drone is a curved trajectory route, the real-time distance is the length of the curve between the current location point of the drone and the turning point .
S23:当所述实时距离小于或者等于所述转弯准备距离时,根据所述目标轨迹路线获取所述无人机的飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。S23: When the real-time distance is less than or equal to the turn preparation distance, obtain the flight direction and guidance law model of the drone according to the target trajectory, and control according to the flight direction and the guidance law model The drone flies.
其中,飞行方向用于指示无人机相对于当前飞行方向的偏移,用偏移角度来标识其大小及方向,若所述偏移角度大于零,则控制所述无人机向顺时针方向飞行;若所述偏移角度等于零,则控制所述无人机直线向前飞行;若所述偏移角度小于零,则控制所述无人机向逆时针方向飞行。Wherein, the flight direction is used to indicate the deviation of the drone relative to the current flight direction, and the deviation angle is used to identify its size and direction. If the deviation angle is greater than zero, the drone is controlled to move in a clockwise direction Flying; if the offset angle is equal to zero, the UAV is controlled to fly straight forward; if the offset angle is less than zero, the UAV is controlled to fly in a counterclockwise direction.
制导律模型用于定义无人机根据轨迹路线飞行的规律,决定无人机飞行的轨迹路线。其中,轨迹路线包括直线轨迹路线或曲线轨迹路线,可以理解的,每一种轨迹路线对应一种制导律模型,在本发明实施例中,所述制导律模型包括直线制导律模型或曲线制导律模型。当轨迹路线为直线轨迹路线时,选择直线制导率模型制导所述无人机飞行;当轨迹路线为曲线轨迹路线时,选择曲线制导率模型制导所述无人机飞行。The guidance law model is used to define the law of the UAV flying according to the trajectory route and determine the trajectory route of the UAV flight. Wherein, the trajectory route includes a straight trajectory route or a curved trajectory route. It is understandable that each trajectory route corresponds to a guidance law model. In the embodiment of the present invention, the guidance law model includes a linear guidance law model or a curvilinear guidance law model. Model. When the trajectory is a straight trajectory, the linear guidance model is selected to guide the UAV to fly; when the trajectory is a curved trajectory, the curved guidance model is selected to guide the UAV to fly.
在本发明实施例中,根据所述所述实时距离与所述转弯准备距离以确定所述无人机的飞行方向及制导律模型。首先,判断所述实时距离是否小于或者等于所述转弯准备距离;In the embodiment of the present invention, the flight direction and guidance law model of the drone are determined according to the real-time distance and the turn preparation distance. First, determine whether the real-time distance is less than or equal to the turn preparation distance;
若否,则所述无人机还未进入转弯准备距离范围,所述无人机根据所述当前轨迹路线获取其飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。具体的,当所述当前轨迹路线为直线时,确定所述制导律模型为直线制导律模型;当所述当前轨迹路线为曲线时,确定所述制导律模型为曲线制导律模型。If not, the UAV has not yet entered the turn preparation distance range. The UAV obtains its flight direction and guidance law model according to the current trajectory, and controls it according to the flight direction and the guidance law model. The drone flies. Specifically, when the current trajectory route is a straight line, it is determined that the guidance law model is a straight-line guidance law model; when the current trajectory route is a curve, it is determined that the guidance law model is a curvilinear guidance law model.
若是,则所述无人机已进入转弯准备距离范围,所述无人机根据所述目标轨迹路线获取其飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。具体的,当所述目标轨迹路线为直线时,确定所述制导律模型为直线制导律模型;当所述目标轨迹路线为曲线时,确定所述制导律模型为曲线制导律模型。If yes, the UAV has entered the turn preparation distance range, the UAV obtains its flight direction and guidance law model according to the target trajectory, and controls the UAV according to the flight direction and the guidance law model. Drone flying. Specifically, when the target trajectory route is a straight line, it is determined that the guidance law model is a linear guidance law model; when the target trajectory route is a curve, it is determined that the guidance law model is a curvilinear guidance law model.
需要说明的是,在本发明实施例中,将制导所述无人机从当前轨迹路线飞入目标轨迹路线的过程称之为一个完整的制导过程。可以理解的,当所述无人机接收到转弯飞行指令时,所述无人机根据所述转弯飞行指令产生当前轨迹路线及目标轨迹路线,并在当前轨迹路线及目标轨迹路线上执行上述的制导方法,直至所述无人机在转弯点时切入目标轨迹路线后,所述无人机将根据目标轨迹路线对应的制导律模型飞行,直到无人机接收到转弯飞行指令或其他飞行指令。It should be noted that, in the embodiment of the present invention, the process of guiding the UAV to fly from the current trajectory path into the target trajectory path is called a complete guidance process. It is understandable that when the drone receives a turning flight instruction, the drone generates a current trajectory route and a target trajectory route according to the turning flight instruction, and executes the above-mentioned trajectory route on the current trajectory route and the target trajectory route. In the guidance method, after the drone cuts into the target trajectory route at the turning point, the drone will fly according to the guidance law model corresponding to the target trajectory route until the drone receives a turning flight instruction or other flight instructions.
还需要说明的是,在所述无人机的一个完整制导过程中,所述无人机根据所述制导律模型飞行一个步长时间后,返回步骤S22,以根据所述无人机当前的飞行状况计算转弯准备距离及实时距离,进而确定无人机的飞行方向和制导律模型,以制导所述无人机飞行。当然,上述所述无人机根据所述制导律模型飞行的时间可以设定为比一个步长时间更长或者更短的时间,在此不做限定。It should also be noted that, during a complete guidance process of the drone, after the drone has flew for a long time according to the guidance law model, it returns to step S22 to follow the current situation of the drone. The flight status calculates the turn preparation distance and the real-time distance, and then determines the flight direction of the drone and the guidance law model to guide the drone to fly. Of course, the flight time of the aforementioned drone according to the guidance law model can be set to be longer or shorter than one step time, which is not limited here.
在本发明实施例中,获取目标轨迹路线;若所述目标轨迹路线与当前轨迹路线的曲率不相等,则根据当前轨迹路线和所述目标轨迹路线确 定转弯点;计算所述无人机的转弯准备距离,以及所述无人机的引导起点与所述转弯点之间的实时距离;当所述实时距离小于或者等于所述转弯准备距离时,根据所述目标轨迹路线获取所述无人机的飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。根据无人机当前的飞行状态计算其转弯准备距离,以使无人机在进入转弯准备距离时,及时的切换飞行方向及制导律模型以控制无人机飞行,以确保无人机在转弯点时准确的切入目标轨迹路线,进而使无人机飞行在目标轨迹路线,从而提高了无人机对目标轨迹路线的跟踪精度。In the embodiment of the present invention, the target trajectory route is acquired; if the curvature of the target trajectory route and the current trajectory route are not equal, the turning point is determined according to the current trajectory route and the target trajectory route; and the turning point of the drone is calculated Preparation distance, and the real-time distance between the guidance starting point of the drone and the turning point; when the real-time distance is less than or equal to the turning preparation distance, the drone is acquired according to the target trajectory route Flight direction and guidance law model, and control the drone to fly according to the flight direction and the guidance law model. Calculate the turning preparation distance according to the current flight status of the drone, so that when the drone enters the turning preparation distance, it can switch the flight direction and guidance law model in time to control the flight of the drone to ensure that the drone is at the turning point Time and accurately cut into the target trajectory route, and then make the UAV fly on the target trajectory route, thereby improving the UAV's tracking accuracy of the target trajectory route.
飞行方向用于指示无人机相对于当前飞行方向的偏移,可以理解的,当所述无人机在不同轨迹路线飞行时,根据其飞行的轨迹路线,获取所述无人机的飞行方向。具体的,请参阅图4,根据无人机的轨迹路线获取所述无人机的飞行方向,包括:The flight direction is used to indicate the deviation of the UAV relative to the current flight direction. It is understandable that when the UAV is flying on different trajectory routes, the flight direction of the UAV is obtained according to its flying trajectory. . Specifically, please refer to Figure 4. Obtaining the flying direction of the UAV according to the trajectory of the UAV includes:
S31:根据所述轨迹路线确定引导距离;S31: Determine the guidance distance according to the trajectory route;
S32:根据所述引导距离、所述轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向。S32: Obtain the flying direction of the drone according to the guidance distance, the trajectory route, and the guidance starting point of the drone.
其中,所述无人机的轨迹路线包括当前轨迹路线和/或目标轨迹路线,具体的,当所述实时距离小于或者等于所述转弯准备距离时,所述无人机根据所述目标轨迹路线确定引导距离,并根据所述引导距离、所述目标轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向;当所述实时距离大于所述转弯准备距离时,所述无人机根据所述当前轨迹路线确定引导距离,并根据所述引导距离、所述当前轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向。Wherein, the trajectory route of the drone includes a current trajectory route and/or a target trajectory route. Specifically, when the real-time distance is less than or equal to the turn preparation distance, the drone follows the target trajectory route Determine the guidance distance, and obtain the flight direction of the drone according to the guidance distance, the target trajectory route and the guidance starting point of the drone; when the real-time distance is greater than the turn preparation distance, the The drone determines the guidance distance according to the current trajectory route, and obtains the flying direction of the drone according to the guidance distance, the current trajectory route, and the guidance starting point of the drone.
在本发明实施例中,所述引导距离是指引导起点与引导终点的直线距离,其中,引导起点是指无人机当前时刻的位置点,引导终点则是以 无人机当前时刻的位置点为起点,以引导距离为长度,在轨迹路线或轨迹路线延长线上的交点。其中,所述轨迹路线是指无人机当前制导律模型对应的轨迹路线。当所述实时距离大于所述转弯准备距离时,所述无人机根据制导律模型飞行在当前轨迹路线,亦即,所述轨迹路线为当前轨迹路线;当所述实时距离小于或等于所述转弯准备距离时,所述无人机根据制导律模型飞行在目标轨迹路线,亦即,所述轨迹路线为当前轨迹路线。In the embodiment of the present invention, the guidance distance refers to the straight-line distance between the guidance start point and the guidance end point, where the guidance start point refers to the location point of the drone at the current time, and the guidance end point refers to the location point of the drone at the current time. As the starting point, the guiding distance is the length, and the intersection point on the trajectory route or the trajectory route extension line. Wherein, the trajectory route refers to the trajectory route corresponding to the current guidance law model of the drone. When the real-time distance is greater than the turn preparation distance, the UAV flies on the current trajectory route according to the guidance law model, that is, the trajectory route is the current trajectory route; when the real-time distance is less than or equal to the During the turn preparation distance, the drone flies on the target trajectory route according to the guidance law model, that is, the trajectory route is the current trajectory route.
为了更直观准确的确定所述飞行方向,所述根据所述引导距离、所述目标轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向,包括:In order to determine the flight direction more intuitively and accurately, the obtaining the flight direction of the drone according to the guidance distance, the target trajectory route and the guidance starting point of the drone includes:
S321:以所述引导起点为坐标系的原点,以所述无人机在所述引导起点的飞行方向为X轴正方向,根据右手定则建立所述无人机的坐标系;S321: Taking the guidance starting point as the origin of the coordinate system, and taking the flying direction of the drone at the guidance starting point as the positive X-axis direction, and establishing the coordinate system of the drone according to the right-hand rule;
S322:计算所述引导起点与所述引导终点所在的直线与所述X轴正方向的夹角α;S322: Calculate the angle α between the straight line where the guiding start point and the guiding end point are and the positive direction of the X-axis;
S323:根据所述夹角α确定所述无人机的飞行方向。S323: Determine the flying direction of the drone according to the included angle α.
具体的,请参阅图5,当所述轨迹路线为如图5-1所示的曲线轨迹时,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角α>0,则所述无人机的飞行方向为顺时针方向飞行;当所述轨迹路线为如图5-2所示的直线轨迹时,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角α=0,则所述无人机的飞行方向为向前直线飞行;当所述轨迹路线为如图5-3所示的曲线轨迹时,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角α<0,则所述无人机的飞行方向为逆时针方向飞行。 Specifically, see Figure 5, when the track is a curved trajectory path as shown in Figure 5-1, the guide with the guide start point P 0 P N where the end point of line with the X-axis positive direction If the angle α>0, the flying direction of the drone is clockwise; when the trajectory is a straight trajectory as shown in Figure 5-2, the guidance starting point P 0 and the guidance end point The angle α between the line where PN is and the positive direction of the X axis is α=0, then the flying direction of the UAV is straight forward; when the trajectory is a curved trajectory as shown in Fig. 5-3 when the guide guide start point P 0 and the end point of line P N where the X-axis positive direction is an angle α <0, the direction of flight of the UAV flight counterclockwise.
可见,所述引导距离用于辅助所述无人机确定其相对于当前飞行方向的偏移方向,在本发明实施例中,所述引导距离的取值小于2倍的所 述当前轨迹路线的曲率半径,并且,在引导过程中,所述引导距离为固定值。It can be seen that the guidance distance is used to assist the drone in determining its offset direction relative to the current flight direction. In the embodiment of the present invention, the guidance distance is less than twice the current trajectory route. The radius of curvature, and, during the guiding process, the guiding distance is a fixed value.
在本发明实施例中,根据轨迹路线确定引导距离,并以所述无人机的当前位置点为坐标原点,以所述无人机在当前位置点的飞行方向为X轴正方向,根据右手定则建立坐标系,在该坐标系中计算所述无人机的飞行方向,提高了计算所述无人机飞行方向的准确性。In the embodiment of the present invention, the guidance distance is determined according to the trajectory, and the current position of the drone is taken as the origin of coordinates, and the flying direction of the drone at the current position is the positive direction of the X axis. The rule establishes a coordinate system in which the flight direction of the drone is calculated, which improves the accuracy of calculating the flight direction of the drone.
可以理解的是,在无人机的飞行控制中,难免会出现飞行误差,为了提高飞行控制的精度,减小飞行误差,请参阅图6,本发明实施例提供一种无人机飞行控制方法,以修正无人机在飞行时出现的误差,所述方法包括:It is understandable that flight errors will inevitably occur in the flight control of the UAV. In order to improve the accuracy of the flight control and reduce the flight error, please refer to FIG. 6, an embodiment of the present invention provides a UAV flight control method , In order to correct the errors that occur during the flight of the UAV, the method includes:
S41:计算所述当前位置点与当前期望位置点之间的误差距离;S41: Calculate the error distance between the current position point and the current expected position point;
具体的,分别计算所述当前期望位置点在所述坐标系的X轴坐标与所述当前位置点的X轴坐标的差值,得到所述第一坐标差值;分别计算所述当前期望位置点在所述无人机坐标系的Y轴坐标与所述当前位置点的Y轴坐标的第二坐标差值,得到所述第二坐标差值。假设当前期望位置点为P 0c,其在上述坐标系中对应的坐标位置为
Figure PCTCN2021097755-appb-000003
当前位置点为P 0,其在上述坐标系中对应的坐标位置为
Figure PCTCN2021097755-appb-000004
那么,所述无人机当前位置点与当前期望位置点之间的坐标差为:
Specifically, the difference between the X-axis coordinate of the current desired position point in the coordinate system and the X-axis coordinate of the current position point is calculated respectively to obtain the first coordinate difference; and the current desired position is calculated separately A point is a second coordinate difference between the Y-axis coordinate of the drone coordinate system and the Y-axis coordinate of the current position point to obtain the second coordinate difference. Suppose the current desired position point is P 0c , and its corresponding coordinate position in the above-mentioned coordinate system is
Figure PCTCN2021097755-appb-000003
The current position point is P 0 , and its corresponding coordinate position in the above-mentioned coordinate system is
Figure PCTCN2021097755-appb-000004
Then, the coordinate difference between the current location point of the drone and the current desired location point is:
Figure PCTCN2021097755-appb-000005
Figure PCTCN2021097755-appb-000005
其中,e x为所述第一坐标差值,e y为所述第二坐标差值。 Wherein, e x is the first coordinate difference, and e y is the second coordinate difference.
S42:根据所述误差距离,修正所述制导律模型;S42: Correct the guidance law model according to the error distance;
在本发明实施例中,所述制导律模型包括直线制导律模型或曲线制导律模型,将上述计算得到的所述误差距离用以修正所述直线制导律模 型或曲线制导律模型,修正后的直线制导律模型为:In the embodiment of the present invention, the guidance law model includes a linear guidance law model or a curvilinear guidance law model, and the error distance obtained by the above calculation is used to correct the linear guidance law model or the curvilinear guidance law model. The linear guidance law model is:
Figure PCTCN2021097755-appb-000006
Figure PCTCN2021097755-appb-000006
修正后的曲线制导律模型为:The revised curve guidance law model is:
Figure PCTCN2021097755-appb-000007
Figure PCTCN2021097755-appb-000007
其中,K V为速度制导因子,K φ为横滚角制导因子,K x和K y为误差制导因子,V cmax为用户设定的最大速度,φ cmax为飞机的控制系统设置的最大横滚角,V c为前置导引速度,φ c为前置导引横滚角,α为引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角。 Wherein, K V is the velocity guidance factor, K φ is the roll angle guidance factor, K x and K y is the guidance error factor, V cmax for the user to set the maximum speed, φ cmax system arranged to control roll of the aircraft maximum angle, V c is the speed of the front guide, φ c for the front guide roll angle, α as a guide start point P 0 and the angle between the straight guide and the end point X-axis positive direction P N is located.
可以理解的,前置导引速度V c和前置导引横滚角φ c即为所述无人机根据制导律模型生成的制导参数,所述无人机根据上述制导参数控制所述无人机飞行。 It is understandable that the leading guidance speed V c and the leading guidance roll angle φ c are the guidance parameters generated by the drone according to the guidance law model, and the drone controls the drone according to the above guidance parameters. Man-machine flight.
S43:根据修正的制导律模型及所述飞行方向,控制所述无人机持续在当前轨迹路线上实施制导操作。S43: According to the revised guidance law model and the flight direction, control the UAV to continuously implement a guidance operation on the current trajectory route.
在本发明实施例中,通过计算所述无人机当前位置点与当前期望位置点之间的误差距离,并将所述误差距离用以修正所述直线制导律模型或曲线制导律模型,以使所述无人机根据修正后的所述制导律模型飞行,减小了无人机的飞行误差,提高了无人机对轨迹路线的跟踪精度。In the embodiment of the present invention, the error distance between the current position point of the drone and the current expected position point is calculated, and the error distance is used to correct the linear guidance law model or the curvilinear guidance law model. The UAV is made to fly according to the revised guidance law model, thereby reducing the flight error of the UAV and improving the tracking accuracy of the UAV on the trajectory.
为了更详细了说明所述无人机通过上述制导方法,使其在转弯点时由所述当前轨迹路线准确切入所述目标轨迹路线,以下以上述所述的无人机转弯时出现的曲率不相等的情况为例,详细说明所述无人机在飞行时制导过程:In order to explain in more detail that the UAV uses the above guidance method to make it accurately cut into the target trajectory route from the current trajectory at the turning point, the curvature of the UAV when the above-mentioned UAV turns is not used in the following. Take an equal situation as an example, and describe in detail the guidance process of the UAV during flight:
请参阅图7,当所述当前轨迹路线为直线轨迹路线,所述目标轨迹路线为曲线轨迹路线时,获取所述无人机的转弯准备距离及实时距离,判断所述实时距离是否小于所述转弯准备距离;若否,选择直线制导律模型;若是,选择曲线制导律模型。Please refer to Fig. 7, when the current trajectory route is a straight trajectory route and the target trajectory route is a curved trajectory route, obtain the turning preparation distance and the real-time distance of the UAV, and determine whether the real-time distance is less than the Turn preparation distance; if not, select the linear guidance law model; if yes, select the curvilinear guidance law model.
具体的,如图7所示,P 0所述无人机的当前位置点,以所述当前位置点P 0为坐标系的原点,所述当前轨迹路线的飞行方向为X轴正方向,根据右手定则建立所述无人机的坐标系;P N为以P 0为引导起点,以引导距离L为长度在当前轨迹路线产生的交点,即引导终点;P T为转弯点,α为所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角,所述无人机的飞行主要包括以下三个阶段: Specifically, as shown in Fig. 7, the current position point of the UAV at P 0 , the current position point P 0 is taken as the origin of the coordinate system, and the flight direction of the current trajectory is the positive direction of the X axis, according to The right-hand rule establishes the coordinate system of the UAV; PN is the intersection point of the current trajectory route with P 0 as the starting point of guidance and the length of the guidance distance L as the length of the current trajectory, which is the guidance end point; P T is the turning point and α is the point flight said guide start point P 0 and the angle between the guide end point of line P N where the X-axis positive direction, the UAV includes the following three stages:
阶段Ⅰ:当无人机在所述直线轨迹路线上飞行,且未进入转弯准备距离范围时,即所述实时距离大于所述转弯准备距离时,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴重合,所述夹角α=0,则所述无人机根据当前的直线轨迹路线选择直线制导律模型作为当前飞行的制导律模型,并根据所述直线制导律模型制导所述无人机直线向前飞行。 Stage I: When the UAV is flying on the straight trajectory and does not enter the turn preparation distance range, that is, when the real-time distance is greater than the turn preparation distance, the guidance starting point P 0 and the guidance ending point P The straight line where N is located coincides with the X axis, and the included angle α=0, the UAV selects the straight-line guidance law model according to the current straight-line trajectory as the guidance law model of the current flight, and according to the straight-line guidance The law model guides the UAV to fly straight forward.
阶段Ⅱ:当所述无人机进入所述转弯准备距离范围内时,即所述实时距离小于或等于所述转弯准备距离时,所述无人机的制导律模型由直线制导律模型切换成曲线制导律模型,其中,所述引导终点P N位于目标轨迹路线上,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴的夹角α>0,所述无人机根据曲线制导律模型制导所述无人机向顺时针方向飞行。需要说明的是,所述无人机在该阶段时的飞行为由当前轨迹路线转向目标轨迹路线飞行的过渡阶段,因此,在该阶段的飞行轨迹路线既不近似于直线轨迹路线,也不近似于曲线轨迹路线,而是介于直线轨迹路线与曲线轨迹路线之间的轨迹路线。 Stage II: When the UAV enters the turn preparation distance range, that is, when the real-time distance is less than or equal to the turn preparation distance, the UAV's guidance law model is switched from the linear guidance law model to curve guidance law model, wherein the end guide is located on the target track P N route guidance start point P 0 and the angle α of the straight line and the X axis guide P N where the end point of> 0, the no The man-machine guides the UAV to fly in a clockwise direction according to the curve guidance law model. It should be noted that the flight of the UAV at this stage is a transitional stage from the current trajectory route to the target trajectory route. Therefore, the flight trajectory route at this stage is neither similar to a straight trajectory nor approximate It is a curvilinear trajectory route, but a trajectory route between a straight trajectory route and a curved trajectory route.
阶段Ⅲ:当所述无人机到达或飞过转弯点P T时,所述无人机由直线轨迹路线准确的切入所述目标轨迹路线,即曲线轨迹路线,并继续根据曲线制导律模型及飞行方向控制所述无人机飞行。应该说明的是,当所述无人机飞过所述转弯点时,可以理解为,所述无人机根据上述无人机的制导方法,完成了所述无人机由当前轨迹路线飞入目标轨迹路线的轨迹路线跟踪。 Stage III: When the drone reaches or flies over the turning point P T , the drone accurately cuts into the target trajectory route from a straight trajectory route, that is, a curved trajectory route, and continues to follow the curve guidance law model and The flight direction controls the drone to fly. It should be noted that when the UAV flies over the turning point, it can be understood that the UAV has completed the flight of the UAV from the current trajectory route according to the above-mentioned guidance method of the UAV. Trajectory route tracking of the target trajectory route.
当所述当前轨迹路线为曲线轨迹路线,所述目标轨迹路线为直线轨迹路线时,获取所述无人机的转弯准备距离及实时距离,判断所述实时距离是否小于所述转弯准备距离;若否,选择曲线制导律模型;若是,选择直线制导律模型。When the current trajectory route is a curved trajectory route and the target trajectory route is a straight trajectory route, acquiring the turning preparation distance and the real-time distance of the drone, and judging whether the real-time distance is less than the turning preparation distance; if No, select the curvilinear guidance law model; if yes, select the linear guidance law model.
具体的,请参阅图8,P 0所述无人机的当前位置点,以所述当前位置点P 0为坐标系的原点,所述当前轨迹路线的飞行方向为X轴正方向,根据右手定则建立所述无人机的坐标系;P N为以P 0为引导起点,以引导距离L为长度在当前轨迹路线产生的交点,即引导终点;P T为转弯点,α为所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角,所述无人机的飞行主要包括以下三个阶段: Specifically, please refer to Fig. 8, the current position of the UAV at P 0 , the current position P 0 is the origin of the coordinate system, the flight direction of the current trajectory is the positive direction of the X axis, according to the right hand The rule establishes the coordinate system of the UAV; PN is the intersection point of the current trajectory route with P 0 as the starting point of guidance and the length of the guidance distance L as the length of the current trajectory, that is, the guidance end point; P T is the turning point, and α is the a guide start point P 0 and the angle between the guide end point of line P N where the X-axis positive direction, the UAV flight includes the following three stages:
阶段Ⅰ:当无人机在所述曲线轨迹路线上飞行,且未进入转弯准备距离范围时,即所述实时距离大于所述转弯准备距离时,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角α<0,则所述无人机根据当前的曲线轨迹路线选择曲线制导律模型作为当前飞行的制导律模型,并根据所述曲线制导律模型制导所述无人机向逆时针方向飞行。 Phase I: When the UAV is flying on the curved trajectory and has not entered the turn preparation distance range, that is, when the real-time distance is greater than the turn preparation distance, the guidance starting point P 0 and the guidance ending point P If the angle α between the straight line where N is and the positive direction of the X axis is <0, the UAV selects the curvilinear guidance law model according to the current curvilinear trajectory route as the guidance law model of the current flight, and according to the curvilinear guidance law The model guides the drone to fly in a counterclockwise direction.
阶段Ⅱ:当所述无人机进入所述转弯准备距离范围内时,即所述实时距离小于或等于所述转弯准备距离时,所述无人机的制导律模型由曲 线制导律模型切换成直线制导律模型,其中,所述引导终点P N位于目标轨迹路线上,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴的夹角α<0,所述无人机根据曲线制导律模型制导所述无人机向逆时针方向飞行。需要说明的是,所述无人机在该阶段时的飞行为由当前轨迹路线转向目标轨迹路线飞行的过渡阶段,因此,在该阶段的飞行轨迹路线既不近似于直线轨迹路线,也不近似于曲线轨迹路线,而是介于直线轨迹路线与曲线轨迹路线之间的轨迹路线。 Phase II: When the UAV enters the turn preparation distance range, that is, when the real-time distance is less than or equal to the turn preparation distance, the UAV's guidance law model is switched from the curve guidance law model to linear guidance law model, wherein the end guide is located on the target track P N route guidance start point P 0 and the angle α of the straight line and the X axis guide P N where the end point of <0, the no The man-machine guides the UAV to fly in a counterclockwise direction according to the curve guidance law model. It should be noted that the flight of the UAV at this stage is a transitional stage from the current trajectory route to the target trajectory route. Therefore, the flight trajectory route at this stage is neither similar to a straight trajectory nor approximate It is a curvilinear trajectory route, but a trajectory route between a straight trajectory route and a curved trajectory route.
阶段Ⅲ:当所述无人机到达或飞过转弯点P T时,所述无人机由曲线轨迹路线准确的切入所述目标轨迹路线,即直线轨迹路线,并继续根据直线制导律模型及飞行方向控制所述无人机飞行。应该说明的是,当所述无人机飞过所述转弯点时,可以理解为,所述无人机根据上述无人机的制导方法,完成了所述无人机由当前轨迹路线飞入目标轨迹路线的轨迹路线跟踪。 Stage III: When the UAV arrives at or flies over the turning point P T , the UAV accurately cuts into the target trajectory route from a curved trajectory route, that is, a straight trajectory route, and continues to follow the linear guidance law model and The flight direction controls the drone to fly. It should be noted that when the UAV flies over the turning point, it can be understood that the UAV has completed the flight of the UAV from the current trajectory route according to the above-mentioned guidance method of the UAV. Trajectory route tracking of the target trajectory route.
当所述当前轨迹路线为第一曲线轨迹路线,所述目标轨迹路线为第二曲线轨迹路线,其中,所述第一曲线轨迹路线与第二曲线轨迹路线的曲率不相等。When the current trajectory route is a first curved trajectory route, the target trajectory route is a second curved trajectory route, wherein the curvatures of the first curved trajectory route and the second curved trajectory route are not equal.
具体的,请一并参阅图9和图10,在图9中,所述第一曲线轨迹路线与第二曲线轨迹路线的曲率半径相同,方向不同;在图10中,所述第一曲线轨迹路线与第二曲线轨迹路线的曲率半径与方向均不相同。Specifically, please refer to FIGS. 9 and 10 together. In FIG. 9, the radius of curvature of the first curved trajectory route and the second curved trajectory route are the same, and the directions are different; in FIG. 10, the first curved trajectory The radius of curvature and direction of the route and the second curved track route are different.
可以理解的,上述第一曲线轨迹路线与第二轨迹路线所对应的制导律模型均为曲线制导律模型,所述曲线制导律模型根据不同曲线轨迹时的曲率半径及方向夹角不同而输出不同的制导参数。It is understandable that the guidance law models corresponding to the above-mentioned first curved trajectory route and the second trajectory route are both curved guidance law models, and the curved guidance law model has different outputs according to the curvature radius and direction angle of different curved trajectories. The guidance parameters.
具体的,以所述当前位置点P 0为坐标系的原点,所述当前轨迹路线的飞行方向为X轴正方向,根据右手定则建立所述无人机的坐标系;P N 为以P 0为引导起点,以引导距离L为长度在当前轨迹路线或当前轨迹路线的延长线产生的交点,即引导终点;P T为转弯点,α为所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角,所述无人机的飞行主要包括以下三个阶段: Specifically, taking the current position point P 0 as the origin of the coordinate system, the flying direction of the current trajectory route is the positive direction of the X axis, and the coordinate system of the drone is established according to the right-hand rule; P N is expressed as P 0 is the starting point of guidance, and the intersection of the current trajectory route or the extension of the current trajectory route with the guidance distance L as the length is the guidance end point; P T is the turning point, and α is the guidance starting point P 0 and the guidance end point P The angle between the line where N is and the positive direction of the X-axis, the flight of the UAV mainly includes the following three stages:
阶段Ⅰ:当无人机在所述第一曲线轨迹路线上飞行,且未进入转弯准备距离范围时,即所述实时距离大于所述转弯准备距离时,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴正方向的夹角α<0,则所述无人机根据第一曲线轨迹路线选择曲线制导律模型作为当前飞行的制导律模型,并根据所述曲线制导律模型制导所述无人机向逆时针方向飞行。 Stage I: When the UAV is flying on the first curved trajectory and does not enter the turn preparation distance range, that is, when the real-time distance is greater than the turn preparation distance, the guidance starting point P 0 and the guidance P N where the end point of line with angle α of the X-axis positive direction is <0, then the UAV guidance law model curve selected as the current flight guidance law model curve according to the first track path, and according to the curve The guidance law model guides the UAV to fly in a counterclockwise direction.
阶段Ⅱ:当所述无人机进入所述转弯准备距离范围内时,即所述实时距离小于或等于所述转弯准备距离时,所述无人机的制导律模型仍然为曲线制导律模型,与阶段Ⅰ不同的是,在该阶段时,所述引导终点P N位于目标轨迹路线上,所述引导起点P 0与所述引导终点P N所在的直线与所述X轴的夹角α>0,所述无人机根据曲线制导律模型制导所述无人机向顺时针方向飞行。需要说明的是,所述无人机在该阶段时的飞行为由第一曲线轨迹路线转向第二曲线轨迹路线飞行的过渡阶段,因此,在该阶段的飞行轨迹路线既不近似于第一曲线轨迹路线,也不近似于第二曲线轨迹路线,而是介于第一曲线轨迹路线与第二曲线轨迹路线之间的轨迹路线。 Stage II: When the UAV enters the turn preparation distance range, that is, when the real-time distance is less than or equal to the turn preparation distance, the UAV's guidance law model is still a curved guidance law model, ⅰ stage is different and, at this stage, the end of the guide is located on the target track P N route, the guiding angle α of the straight line and the X axis of the guide start point P 0 where the end point P N> 0: The UAV guides the UAV to fly in a clockwise direction according to the curve guidance law model. It should be noted that the flight of the UAV at this stage is a transitional stage from the first curved trajectory route to the second curved trajectory route. Therefore, the flight trajectory route at this stage is neither similar to the first curve. The trajectory route is not similar to the second curved trajectory route, but a trajectory route between the first curved trajectory route and the second curved trajectory route.
阶段Ⅲ:当所述无人机到达或飞过转弯点P T时,所述无人机由第一曲线轨迹路线线准确的切入第一曲线轨迹路线,并继续根据曲线制导律模型及飞行方向控制所述无人机飞行。应该说明的是,当所述无人机飞过所述转弯点时,可以理解为,所述无人机根据上述无人机的制导方法,完成了所述无人机由当前轨迹路线飞入目标轨迹路线的轨迹路线跟踪。 Stage III: When the UAV reaches or flies over the turning point P T , the UAV accurately cuts into the first curved trajectory route from the first curved trajectory line, and continues to follow the curved guidance law model and flight direction Control the drone to fly. It should be noted that when the UAV flies over the turning point, it can be understood that the UAV has completed the flight of the UAV from the current trajectory route according to the above-mentioned guidance method of the UAV. Trajectory route tracking of the target trajectory route.
以上所描述的装置或设备实施例仅仅是示意性的,其中所述作为分离部件说明的单元模块可以是或者也可以不是物理上分开的,作为模块单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络模块单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The above-described device or device embodiments are merely illustrative. The unit modules described as separate components may or may not be physically separated, and the components displayed as modular units may or may not be physical units. , Which can be located in one place, or can be distributed to multiple network module units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件实现。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk , CD-ROM, etc., including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiment.
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图3、图4和图6的方法步骤。The embodiment of the present invention provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, execute the above Describe the method steps of Figures 3, 4, and 6.
本发明实施例提供了一种计算机程序产品,包括一个或多个处理器以及存储器,处理器和存储器可以通过总线或者其他方式连接。The embodiment of the present invention provides a computer program product, which includes one or more processors and a memory, and the processors and the memory may be connected through a bus or in other ways.
存储器作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。处理器通过运行存储在存储器中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理。As a non-volatile computer-readable storage medium, the memory can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory.
存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。 在一些实施例中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged with respect to the processor, and these remote memories may be connected to the processor through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
所述程序指令/模块存储在所述存储器中,当被所述一个或者多个处理器执行时,执行上述任意方法实施例中的无人机制导方法,例如,执行以上描述的图3、图4和图6的方法步骤。The program instructions/modules are stored in the memory, and when executed by the one or more processors, the UAV guidance method in any of the foregoing method embodiments is executed, for example, the above-described FIG. 3 and FIG. 4 and Figure 6 method steps.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; under the idea of the present invention, the technical features of the above embodiments or different embodiments can also be combined. The steps can be implemented in any order, and there are many other variations in the different aspects of the present invention as described above. For the sake of brevity, they are not provided in details; although the present invention has been described in detail with reference to the foregoing embodiments, the ordinary person in the art The skilled person should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or replacements do not divorce the essence of the corresponding technical solutions from the implementations of the present invention. Examples of the scope of technical solutions.

Claims (10)

  1. 一种无人机制导方法,其特征在于,包括:An unmanned aerial vehicle guidance method, characterized in that it comprises:
    获取目标轨迹路线;Obtain the target trajectory route;
    若所述目标轨迹路线与当前轨迹路线的曲率不相等,则根据当前轨迹路线和所述目标轨迹路线确定转弯点;If the curvatures of the target trajectory route and the current trajectory route are not equal, the turning point is determined according to the current trajectory route and the target trajectory route;
    获取所述无人机的转弯准备距离,以及所述无人机的引导起点与所述转弯点之间的实时距离,其中,所述引导起点为所述无人机的当前位置点;Acquiring the turning preparation distance of the drone and the real-time distance between the guidance starting point of the drone and the turning point, wherein the guidance starting point is the current position point of the drone;
    当所述实时距离小于或者等于所述转弯准备距离时,根据所述目标轨迹路线获取所述无人机的飞行方向和制导律模型,并根据所述飞行方向和所述制导律模型控制所述无人机飞行。When the real-time distance is less than or equal to the turn preparation distance, obtain the flight direction and guidance law model of the drone according to the target trajectory, and control the drone according to the flight direction and the guidance law model. Drone flying.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述目标轨迹路线获取所述无人机的飞行方向,包括:The method according to claim 1, wherein the obtaining the flying direction of the drone according to the target trajectory route comprises:
    根据所述目标轨迹路线确定引导距离;Determine the guidance distance according to the target trajectory route;
    根据所述引导距离、所述目标轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向,其中,所述引导距离为所述引导起点与引导终点的距离,所述引导终点位于所述目标轨迹路线上。Obtain the flying direction of the drone according to the guidance distance, the target trajectory route, and the guidance starting point of the drone, wherein the guidance distance is the distance between the guidance starting point and the guidance end point, and the guidance The end point is located on the target trajectory route.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述引导距离、所述目标轨迹路线和所述无人机的引导起点获取所述无人机的飞行方向,包括:The method according to claim 2, wherein the acquiring the flying direction of the drone according to the guidance distance, the target trajectory route, and the guidance starting point of the drone comprises:
    以所述引导起点为坐标系的原点,所述当前轨迹路线的飞行方向为X轴正方向,根据右手定则建立所述无人机的坐标系;Taking the guidance starting point as the origin of the coordinate system, the flying direction of the current trajectory route is the positive direction of the X axis, and establishing the coordinate system of the drone according to the right-hand rule;
    计算所述引导起点与所述引导终点所在的直线与所述X轴正方向的夹角α;Calculating the angle α between the straight line where the guiding start point and the guiding end point are and the positive direction of the X-axis;
    根据所述夹角α确定所述无人机的飞行方向。The flying direction of the drone is determined according to the included angle α.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,根据所述目标轨迹路线获取所述无人机的制导律模型,包括:The method according to any one of claims 1 to 3, wherein obtaining a guidance law model of the UAV according to the target trajectory route comprises:
    当所述目标轨迹路线为直线时,确定所述制导律模型为直线制导律模型;When the target trajectory route is a straight line, determining that the guidance law model is a straight-line guidance law model;
    当所述目标轨迹路线为曲线时,确定所述制导律模型为曲线制导律模型。When the target trajectory is a curve, it is determined that the guidance law model is a curvilinear guidance law model.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述飞行方向和所述制导律模型控制所述无人机飞行,包括:The method according to claim 4, wherein the controlling the flight of the drone according to the flight direction and the guidance law model comprises:
    计算所述当前位置点与当前期望位置点之间的误差距离;Calculating the error distance between the current position point and the current expected position point;
    根据所述误差距离,修正所述制导律模型;Correcting the guidance law model according to the error distance;
    根据修正后的制导律模型及所述飞行方向,控制所述无人机飞行。According to the revised guidance law model and the flight direction, the drone is controlled to fly.
  6. 根据权利要求5所述的方法,其特征在于,修正后的直线制导律模型为:The method according to claim 5, wherein the revised linear guidance law model is:
    Figure PCTCN2021097755-appb-100001
    Figure PCTCN2021097755-appb-100001
    修正后的曲线制导律模型为:The revised curve guidance law model is:
    Figure PCTCN2021097755-appb-100002
    Figure PCTCN2021097755-appb-100002
    其中,K V为速度制导因子,K φ为横滚角制导因子,K x和K y为误差 制导因子,V cmax为用户设定的最大速度,φ cmax为飞机的控制系统设置的最大横滚角,V c为前置导引速度,φ c为前置导引横滚角,α为引导起点P 0与引导终点P N所在的直线与所述X轴正方向的夹角。 Wherein, K V is the velocity guidance factor, K φ is the roll angle guidance factor, K x and K y is the guidance error factor, V cmax for the user to set the maximum speed, φ cmax system arranged to control roll of the aircraft maximum angle, V c is the speed of the front guide, φ c for the front guide roll angle, α is linearly guided to the guide start point P 0 P N where the angle between the end of the X-axis positive direction.
  7. 根据权利要求1所述的方法,其特征在于,所述获取所述无人机的转弯准备距离,包括:The method according to claim 1, wherein the obtaining the turn preparation distance of the UAV comprises:
    根据以下公式,计算所述无人机的转弯准备距离:Calculate the turn preparation distance of the UAV according to the following formula:
    S R=3ηTV S R =3ηTV
    其中,S R为转弯准备距离,η为横滚角先导率,T为横滚姿态角控制时间常数,V为飞行速度。 Among them, S R is the turn preparation distance, η is the roll angle pilot rate, T is the roll attitude angle control time constant, and V is the flight speed.
  8. 根据权利要求4所述的方法,其特征在于,所述引导距离小于2倍的所述当前轨迹路线的曲率半径。The method according to claim 4, wherein the guiding distance is less than 2 times the radius of curvature of the current trajectory route.
  9. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使无人机执行如权利要求1至8任一项所述的无人机制导方法。A non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to make the drone execute The UAV guidance method described in any one of 1 to 8.
  10. 一种无人机,其特征在于,包括An unmanned aerial vehicle, characterized in that it comprises
    机身;body;
    机翼,安装于所述机身;Wings, mounted on the fuselage;
    动力装置,安装于所述机身内,用于为所述无人机提供动力;A power device installed in the fuselage and used to provide power for the drone;
    其中,所述动力装置包括:Wherein, the power plant includes:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至8任一项所述的无人机制导方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any one of claims 1 to 8. UAV guidance method.
PCT/CN2021/097755 2020-06-05 2021-06-01 Unmanned aerial vehicle guidance method, unmanned aerial vehicle, and storage medium WO2021244545A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010507816.9A CN111522353B (en) 2020-06-05 2020-06-05 Unmanned aerial vehicle guidance method, unmanned aerial vehicle and storage medium
CN202010507816.9 2020-06-05

Publications (1)

Publication Number Publication Date
WO2021244545A1 true WO2021244545A1 (en) 2021-12-09

Family

ID=71909752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097755 WO2021244545A1 (en) 2020-06-05 2021-06-01 Unmanned aerial vehicle guidance method, unmanned aerial vehicle, and storage medium

Country Status (2)

Country Link
CN (1) CN111522353B (en)
WO (1) WO2021244545A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114126045A (en) * 2022-01-19 2022-03-01 深圳市华芯云创科技有限公司 UWB indoor and outdoor integrated intelligent navigation positioning method and system
CN115016528A (en) * 2022-05-23 2022-09-06 贵州丰立空间科技有限公司 Photovoltaic board inspection system based on unmanned aerial vehicle
CN115343949A (en) * 2022-07-09 2022-11-15 西北工业大学 Design method and verification platform for fixed-wing unmanned aerial vehicle tracking guidance law
CN115343949B (en) * 2022-07-09 2024-04-26 西北工业大学 Fixed wing unmanned plane tracking guidance law design method and verification platform

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522353B (en) * 2020-06-05 2023-01-31 深圳市道通智能航空技术股份有限公司 Unmanned aerial vehicle guidance method, unmanned aerial vehicle and storage medium
CN111976981A (en) * 2020-08-14 2020-11-24 深圳市道通智能航空技术有限公司 Unmanned aerial vehicle control method and device and storage medium
CN114115316A (en) * 2021-11-29 2022-03-01 中国南方电网有限责任公司超高压输电公司大理局 Unmanned aerial vehicle stability control method and device, unmanned aerial vehicle equipment and storage medium
CN114664120B (en) * 2022-03-15 2023-03-24 南京航空航天大学 ADS-B-based aircraft autonomous interval control method
CN114995418B (en) * 2022-05-31 2023-10-20 郑州北斗七星通讯科技有限公司 Route planning method for water robot
CN115079723A (en) * 2022-07-20 2022-09-20 中国人民解放军国防科技大学 Fixed-wing unmanned aerial vehicle guidance method achieving at any time

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515617A (en) * 2017-08-15 2017-12-26 西安爱生技术集团公司 A kind of fixed-wing unmanned plane course line takes over seamlessly control method
CN107980108A (en) * 2017-01-04 2018-05-01 深圳配天智能技术研究院有限公司 Robot motion's method for planning track and relevant apparatus
CN108469832A (en) * 2018-02-07 2018-08-31 北京航天时代激光导航技术有限责任公司 A kind of Servo Control method and system under automatic Pilot
CN109582035A (en) * 2018-11-29 2019-04-05 沈阳无距科技有限公司 A kind of aircraft's flight track air navigation aid, device and electronic equipment
US20190354116A1 (en) * 2018-05-18 2019-11-21 Qualcomm Incorporated Trajectory determination in a drone race
CN111158392A (en) * 2020-01-09 2020-05-15 辽宁壮龙无人机科技有限公司 Planning control method and device for unmanned aerial vehicle turning, electronic equipment and storage medium
CN111522353A (en) * 2020-06-05 2020-08-11 深圳市道通智能航空技术有限公司 Unmanned aerial vehicle guidance method, unmanned aerial vehicle and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9494941B2 (en) * 2009-06-26 2016-11-15 Luminati Aerospace Llc Method of guidance of unmanned aerial vehicles
CN101750090B (en) * 2009-12-30 2011-08-10 东软集团股份有限公司 Navigation unit by utilizing track points to navigate
CN105259913B (en) * 2015-08-11 2018-12-11 中国航空工业集团公司西安飞机设计研究所 Determine the method and device of Aircraft Auto-landing key instruction
CN109343528A (en) * 2018-10-30 2019-02-15 杭州电子科技大学 A kind of energy-efficient unmanned plane path planning barrier-avoiding method
CN110617818A (en) * 2019-10-15 2019-12-27 中国人民解放军军事科学院国防科技创新研究院 Unmanned aerial vehicle track generation method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107980108A (en) * 2017-01-04 2018-05-01 深圳配天智能技术研究院有限公司 Robot motion's method for planning track and relevant apparatus
CN107515617A (en) * 2017-08-15 2017-12-26 西安爱生技术集团公司 A kind of fixed-wing unmanned plane course line takes over seamlessly control method
CN108469832A (en) * 2018-02-07 2018-08-31 北京航天时代激光导航技术有限责任公司 A kind of Servo Control method and system under automatic Pilot
US20190354116A1 (en) * 2018-05-18 2019-11-21 Qualcomm Incorporated Trajectory determination in a drone race
CN109582035A (en) * 2018-11-29 2019-04-05 沈阳无距科技有限公司 A kind of aircraft's flight track air navigation aid, device and electronic equipment
CN111158392A (en) * 2020-01-09 2020-05-15 辽宁壮龙无人机科技有限公司 Planning control method and device for unmanned aerial vehicle turning, electronic equipment and storage medium
CN111522353A (en) * 2020-06-05 2020-08-11 深圳市道通智能航空技术有限公司 Unmanned aerial vehicle guidance method, unmanned aerial vehicle and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114126045A (en) * 2022-01-19 2022-03-01 深圳市华芯云创科技有限公司 UWB indoor and outdoor integrated intelligent navigation positioning method and system
CN115016528A (en) * 2022-05-23 2022-09-06 贵州丰立空间科技有限公司 Photovoltaic board inspection system based on unmanned aerial vehicle
CN115016528B (en) * 2022-05-23 2023-03-10 贵州丰立空间科技有限公司 Photovoltaic board inspection system based on unmanned aerial vehicle
CN115343949A (en) * 2022-07-09 2022-11-15 西北工业大学 Design method and verification platform for fixed-wing unmanned aerial vehicle tracking guidance law
CN115343949B (en) * 2022-07-09 2024-04-26 西北工业大学 Fixed wing unmanned plane tracking guidance law design method and verification platform

Also Published As

Publication number Publication date
CN111522353A (en) 2020-08-11
CN111522353B (en) 2023-01-31

Similar Documents

Publication Publication Date Title
WO2021244545A1 (en) Unmanned aerial vehicle guidance method, unmanned aerial vehicle, and storage medium
CN109947123B (en) Unmanned aerial vehicle path tracking and autonomous obstacle avoidance method based on sight guidance law
US20060015247A1 (en) Bezier curve flightpath guidance using moving waypoints
CN107515617B (en) Method for controlling smooth switching of air route of fixed-wing unmanned aerial vehicle
CN111290440B (en) Double-virtual-structure-based multi-unmanned-aerial-vehicle formation standby off tracking control and tracking method
CN106444822B (en) A kind of stratospheric airship path tracking control method based on space vector field guidance
CN112198886B (en) Unmanned aerial vehicle control method for tracking maneuvering target
WO2020237528A1 (en) Flight control method and device for vertical take-off and landing unmanned aerial vehicle, and vertical take-off and landing unmanned aerial vehicle
WO2020258066A1 (en) Method and device for controlling unmanned aerial vehicle, unmanned aerial vehicle and storage medium
CN104503457B (en) Turning anti-collision control method for UAV formation flight
CN105045284A (en) Anti-interference drone path tracking control method
CN108639332A (en) The compound multi-modal flight control method of three rotor wing unmanned aerial vehicles
CN113110588B (en) Unmanned aerial vehicle formation and flying method thereof
Mills et al. Vision based control for fixed wing UAVs inspecting locally linear infrastructure using skid-to-turn maneuvers
CN107992071B (en) Tailstock formula unmanned plane longitudinal attitude bi-fuzzy control system and method
CN111081072B (en) Accurate FAF circular approach method based on equiangular route
WO2020187092A1 (en) Unmanned aerial vehicle control device and unmanned aerial vehicle
CN113515138A (en) Fixed-wing unmanned aerial vehicle airline re-planning method
CN105094144A (en) Self-adaptive windproof path tracking control method for unmanned airship
CN113885565A (en) Control method for arc turning of multi-rotor unmanned aerial vehicle
Hoy et al. Collision-free navigation of an autonomous unmanned helicopter in unknown urban environments: sliding mode and MPC approaches
CN108107902B (en) Lateral heading attitude control method and related device
CN112874760B (en) Aircraft and aircraft control method
CN106292714B (en) A kind of quiet unstable unmanned plane rises to and Motorized dive control method
CN110618702B (en) Unmanned aerial vehicle cluster three-dimensional curve path tracking method and device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21817629

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21817629

Country of ref document: EP

Kind code of ref document: A1