Aircraft piloting assistance method, and associated electronic piloting assistance device and assistance system
Patent Information
- Application Number
- EP2022835436
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-17
- Filing Date
- 2022-12-15
- Publication Date
- 2024-10-23
AI Technical Summary
Current aircraft piloting systems using neural networks and reinforcement learning algorithms are not certifiable for safety, as they can generate inconsistent commands that jeopardize aircraft integrity and passenger safety, making them unsuitable for certification.
A method and system for aiding aircraft piloting that involves acquiring a piloting model and a reward function with constraints, applying a reinforcement learning algorithm, and generating certifiable piloting rules by modifying the model based on received state variables and evaluating the reward function, which determines steering commands and forms data groups to assign states and actions, ultimately transmitting these rules to a display device for the pilot.
The system generates certifiable piloting rules that respect formalisms allowing certification, ensuring that each state is associated with a corresponding action, thereby ensuring the safety and integrity of the aircraft and its passengers, while also reducing the risk of inconsistent commands.
Smart Images

Figure 1.1
Abstract
Description
[0001] DESCRIPTION
[0002] TITLE: Method for assisting in piloting an aircraft, associated electronic piloting assistance device and assistance system
[0003] The present invention relates to a method for assisting in piloting an aircraft.
[0004] The present invention also relates to an electronic device for assisting with piloting the aircraft and an aircraft piloting assistance system comprising such an electronic piloting assistance device.
[0005] The invention relates to the field of assistance to a pilot of an aircraft.
[0006] For the control of a motor vehicle, it is known to use automatic pilots configured to determine control commands from state variables measured by vehicle sensors. The commands are then implemented in the vehicle for its control.
[0007] For this purpose, it is known to use a steering model comprising a neural network, to which a reinforcement learning algorithm is applied. Such a reinforcement learning algorithm allows the model to learn by itself to determine the steering commands from the state variables and a reward function quantifying the effect of the determined commands on the steering of the vehicle.
[0008] However, in the aeronautical context, it is generally recommended, or even necessary, to obtain certification for the piloting system. Certification then ensures that the piloting system will not determine inconsistent piloting commands that could jeopardize the integrity of the aircraft and its potential passengers. However, piloting systems comprising a model of the aforementioned type are not certifiable as they stand.
[0009] The invention therefore aims to propose a method for assisting in piloting an aircraft, an electronic piloting assistance device and an associated piloting assistance system, capable of providing certifiable piloting rules.
[0010] To this end, the invention relates to a method for assisting in piloting an aircraft, the method being implemented by an electronic piloting assistance device and comprising the following steps: - acquisition of a piloting model of the aircraft and a reward function comprising a piloting constraint,
[0011] - application, to the pilot model, of a reinforcement learning algorithm from the reward function, the application step comprising the following sub-steps:
[0012] + reception of aircraft state variable(s) at reception times,
[0013] + for each reception time, a modification of the model from an evaluation of the reward function from the state variable(s) received at said reception time, and
[0014] + for each reception time, a determination of pilot commands from the modified pilot model and the state variables received at said time,
[0015] - formation of data group(s) from the received state variables and the determined commands, each data group comprising the state variables and the commands corresponding to a plurality of successive reception times,
[0016] - for the or each group of data, assignment of at least one state of the aircraft to the state variables and at least one piloting action to the controls, to generate a piloting rule comprising the at least one state and the at least one piloting action,
[0017] - transmission of at least one piloting rule to a display device for display to a pilot of the aircraft.
[0018] Each piloting rule generated by the process is certifiable since it complies with a formalism allowing certification, namely to associate with at least one state of the aircraft, a piloting action to be implemented.
[0019] According to other advantageous aspects of the invention, the pilot assistance method comprises one or more of the following characteristics, taken individually or in all technically possible combinations:
[0020] - during the application step, for each reception time, a value of the control constraint is calculated during the evaluation of the reward function, during the group formation step(s), each data group further comprises the values of the control constraint associated with the state variables and the commands, during the assignment step, for the or each group, at least one effect on the constraint is assigned to the values of the control constraint of the group, each rule further comprising the at least one effect on the constraint;
[0021] - during the assignment step a plurality of rules is formed, the method further comprising between the assignment step and the provision step, a step of identifying main rule(s) from among the plurality of control rules generated by applying a variable frequency analysis algorithm, during the transmission step, only the main rule(s) being transmitted;
[0022] - the identification step further comprises comparing the effect(s) on the constraint of each main rule to a predetermined threshold to obtain at least one filtered rule, each filtered rule being a respective main rule comprising at least one effect on the constraint greater than or equal to the threshold, during the transmission step, only the filtered rule(s) being preferably provided for display to the pilot of the aircraft;
[0023] - the assignment step includes for each data group:
[0024] - a calculation of a first difference between the value of the control constraint at the last instant of reception among the instants of reception of the state variables of the data group, and the value of the control constraint at the first instant of reception among the instants of reception of the state variables of the data group,
[0025] - a calculation of a second difference between the value of the control constraint at a reception time subsequent to the last reception time among the reception times of the state variables of the data group, and the control constraint value at the first reception time among the reception times of the state variables of the data group,
[0026] - an assignment, to the values of the steering constraint, of a short-term effect on the steering constraint, from the first difference and a steering constraint correspondence table, and
[0027] - an assignment, to the values of the steering constraint, of a long-term effect on the steering constraint, from the second difference and the steering constraint correspondence table;
[0028] - the training stage includes:
[0029] - classification of the pilot commands determined among a plurality of predefined classes and via a command correspondence table,
[0030] - for each class, grouping of the pilot commands belonging to said class and determined for the reception times forming a sequence of consecutive reception times as long as possible, to form at least one set of grouped commands, and
[0031] - for each set of grouped commands, formation of a respective group comprising the commands of said set and the state variables received at the reception times for which said commands were determined;
[0032] - during the acquisition step, a preliminary reward function is acquired, the method further comprising, between the acquisition step and the application step, a step of training the model by applying a preliminary reinforcement learning algorithm to the steering model from the preliminary reward function, the training step comprising a modification of the model from an evaluation of the preliminary reward function;
[0033] - the state variables are selected from the group consisting of: an aircraft roll angle, an aircraft pitch angle, an aircraft yaw angle, an aircraft speed, an aircraft acceleration, a wind speed at contact with the aircraft, a wind orientation relative to the aircraft, and an aircraft position.
[0034] The invention also relates to a computer program product comprising software instructions which, when implemented by a computer, implement a method according to any one of the preceding claims.
[0035] The invention also relates to an electronic device for assisting in piloting an aircraft, comprising:
[0036] - an acquisition module configured to acquire a piloting model of the aircraft and a reward function comprising a piloting constraint,
[0037] - an application module configured to apply to the driving model, a reinforcement learning algorithm from the reward function, the application module comprising:
[0038] + a receiving unit configured to receive at least one state variable of the aircraft at reception times,
[0039] + a modification unit configured to modify, for each reception instant, the model from an evaluation of the reward function from the state variable(s), and
[0040] + a determination unit configured to determine, for each reception time, control commands from the modified control model and the state variables received at said reception time,
[0041] - a training module configured to form at least one group of data from the received state variables and the determined commands, each group of data comprising the state variables and the determined commands corresponding to a plurality of successive reception times,
[0042] - an assignment module configured to assign, for the or each group of data, at least one state of the aircraft to the received state variables and at least one piloting action to the determined commands, and to generate a piloting rule comprising the at least one state and the at least one piloting action, and - a transmission module configured to transmit, to a display device, at least one piloting rule for display to a pilot of the aircraft.
[0043] Furthermore, the invention relates to a system for assisting the piloting of an aircraft comprising such an electronic piloting assistance device and a display device configured to receive at least one piloting rule from the piloting assistance device and to display said rule for the pilot of the aircraft.
[0044] These characteristics and advantages of the invention will appear more clearly on reading the description which follows, given solely by way of non-limiting example and made with reference to the appended drawings, in which:
[0045] [Fig. 1] Figure 1 is a schematic view of a pilot assistance system for an aircraft according to the invention, comprising an electronic pilot assistance device according to the invention;
[0046] [Fig. 2] Figure 2 is a representation of a classification of pilot commands determined by the electronic pilot assistance device of Figure 1;
[0047] [Fig. 3] Figure 3 is a view of a trajectory of the aircraft calculated by the pilot assistance system of Figure 1; and
[0048] [Fig. 4] Figure 4 is a flowchart of a pilot assistance method according to the invention, implemented by the pilot assistance device of the pilot assistance system of Figure 1.
[0049] With reference to FIG. 1, a system 10 for assisting the piloting of an aircraft is described. The assistance system 10 is configured to provide, to a pilot 15 of the aircraft, piloting rules. The assistance system 10 is connected to a device 20 for generating state variables VEi of the aircraft which will be described below.
[0050] In the remainder of this description, the term “aircraft” means a flying machine capable of being piloted by the pilot 15, such as an airplane, a helicopter, or a drone. In particular, the pilot 15 of the aircraft is either on board the aircraft, in particular in the case of an airplane or a helicopter, or removed from said aircraft, in particular in the case of a drone.
[0051] The assistance system 10 comprises an electronic pilot assistance device 25 and a display device 30.
[0052] The state variable generation device 20 is, for example, an aircraft simulation environment. The generation device 20 is configured to simulate the behavior of the aircraft along a trajectory comprising waypoints. More specifically, the generation device 20 is configured to simulate the behavior of the aircraft between an initial position and a final position. The final position preferably corresponds to the last waypoint of the trajectory. If the aircraft has reached the final position or following the expiration of a predefined maximum time, the generation device 20 restarts the simulation by repositioning the aircraft to the initial position.
[0053] The generation device 20 is then configured to receive, from the electronic piloting assistance device 25, piloting commands Ci of the aircraft. The generation device 20 is then configured to simulate, for a predefined duration, the behavior of the aircraft following the implementation of the piloting commands Ci received. The generation device 20 is configured to provide the piloting assistance device 25 with the state variables VEi of the aircraft following the simulation of the behavior of the aircraft for the predefined duration. The predefined duration is for example equal to 200 ms.
[0054] Pilot commands Ci are instructions, or commands, intended to be received by actuators of the aircraft and allowing the piloting of the aircraft.
[0055] In the embodiment in which the aircraft is an airplane, the pilot controls Ci are for example chosen from the group consisting of:
[0056] - a position of the aircraft's yaw control surface,
[0057] - a position of the aircraft's pitch control surface,
[0058] - a position of the aircraft flaps,
[0059] - a position of the aircraft's ailerons, and
[0060] - a flow of fuel into the aircraft's reactors.
[0061] In the embodiment in which the aircraft is a drone, the piloting commands Ci are for example the rotation speeds of each rotor of the drone.
[0062] The aircraft state variables VEi are the variables used to define the state of the aircraft in its environment. The VEi state variables are, for example, chosen from the group consisting of:
[0063] - a roll angle of the aircraft,
[0064] - a pitch angle of the aircraft,
[0065] - a yaw angle of the aircraft,
[0066] - an acceleration of the aircraft,
[0067] - aircraft speed,
[0068] - a position of the aircraft, such as a relative position of the aircraft to the next waypoint or two waypoints, and optionally
[0069] - a wind speed in contact with the aircraft, and
[0070] - an orientation of the wind relative to the aircraft. It is then understood that the implementation of piloting commands Ci, by the generation device 20, and the simulation of the behavior of the aircraft during the predefined duration lead to a variation of the state variables VEi.
[0071] According to an alternative embodiment, the generation device 20 is included in the aircraft and comprises a set of sensors and actuators of the aircraft. Thus, the generation device 20 comprises the actuators capable of implementing the received piloting commands Ci and the sensors capable of measuring the state variables VEi of the aircraft after the predefined duration.
[0072] The electronic piloting assistance device 25 is connected to the generation device 20 and to the display device 30. The assistance device 25 is configured to generate, from the generation device 20, piloting rules and to provide them to the display device 30, as will be detailed below.
[0073] The assistance device 25 comprises an acquisition module 45, an application module 50, a training module 55, an assignment module 60, a transmission module 65 and optionally a training module 70 and an identification module 75.
[0074] In the embodiment of FIG. 1, the acquisition module 45, the application module 50, the training module 55, the assignment module 60, the supply module 65, and optionally the training module 70 and the identification module 75, are each produced in the form of software, or a software brick, executable by a processor 77. A memory 76 of the assistance device 25 is then capable of storing acquisition software, application software, training software, supply software, and optionally training software, and identification software.
[0075] In a variant not shown, the acquisition module 45, the application module 50, the training module 55, the assignment module 60, the supply module 65, and optionally the training module 70 and the identification module 75, are each produced in the form of a programmable logic component, such as an FPGA (Field Programmable Gate Array), or an integrated circuit, such as an ASIC (Application Specific Integrated Circuit).
[0076] When the aid device 25 is produced in the form of one or more software programs, i.e. in the form of a computer program, it is also capable of being recorded on a computer-readable medium, not shown. The computer-readable medium is, for example, a medium capable of storing electronic instructions and of being coupled to a bus of a computer system. For example, the readable medium is an optical disk, a magneto-optical disk, a ROM memory, a RAM memory, any type of non-volatile memory (for example EPROM, EEPROM, FLASH, NVRAM), a magnetic card or an optical card. A computer program comprising software instructions is then stored on the readable medium.
[0077] The acquisition module 45 is configured to acquire a piloting model of the aircraft, a reward function FR comprising a piloting constraint, and optionally a command correspondence table, a state correspondence table, and a preliminary reward function FRP not comprising the piloting constraint and a correspondence table of effects on the piloting constraint.
[0078] The piloting model is capable of receiving as input the state variables VEi of the aircraft and of providing as output the commands Ci for piloting the aircraft. The piloting model is for example an artificial neural network comprising an input layer comprising a number of neurons equal to the number of state variables VEi. The model further comprises one or more hidden layers comprising respectively a plurality of neurons, and an output layer comprising a number of neurons equal to the number of piloting commands Ci. The model further comprises connections between the neurons of the different successive layers, each connection having an adjustable weight, also called synaptic weight.
[0079] The reward function is a function taking the state variables VEi as input, and providing a numerical value as output. The reward function includes the steering constraint representing a steering intention imposing compliance with constraint(s).
[0080] In a first example, the piloting intention is environmentally responsible flight. In this example, the piloting constraint is an environmental constraint.
[0081] According to a second example, the piloting intention is a flight as short as possible, the associated constraint then being a flight time constraint.
[0082] The reward function FR increments, at each of a plurality of iterations, by the following magnitude:
[0083] [Math 1]
[0084] RT + RO A + CP where RT is a trajectory reward, for example equal to 0 if the aircraft position is not on a waypoint, 10 if the aircraft position is on a waypoint, and -2 if the aircraft missed the waypoint, i.e. if the aircraft position is in an environment of a waypoint without being on the waypoint, and ROA is the acceleration orientation reward, for example equal to 1 - ABS(accelerationX + l) -3 ), where ABS() denotes the absolute value function and accelerationX denotes the magnitude of the aircraft's acceleration taking into account gravity, and
[0085] CP is the steering constraint.
[0086] For example, the quantity accelerationX denotes the acceleration standard along the axis connecting the tips of two wings of the aircraft. ROA is therefore a constraint to prevent aircraft passengers from being thrown to the side of the aircraft during a turn. ROA therefore allows the aircraft to behave more or less realistically.
[0087] According to the first example, the steering constraint is for example equal to:
[0088] [Math 2]
[0089] CP = projection . 10 -14 where projection is the scalar product between the aircraft speed and the wind speed.
[0090] This piloting constraint therefore makes it possible to increase the value of the reward function when the aircraft is carried by the wind and its fuel consumption is reduced.
[0091] According to the second example, the steering constraint is for example equal to:
[0092] [Math 3]
[0093] CP = y where y is a positive constant.
[0094] According to the second example, at each iteration, the reward function FR is incremented by the value y. Thus, the path that minimizes the reward function is the one that minimizes the number of iterations, i.e. the one that leads to the shortest flight.
[0095] The command correspondence table includes value ranges for the Ci control commands, and associates a control action with each range.
[0096] Similarly, the state correspondence table includes value intervals for the state variables VEi and associates a state of the aircraft with each of said intervals.
[0097] Similarly, the table of correspondence of effects on the piloting constraint includes intervals of values, for the values of the piloting constraint CPi and associates with each of said intervals, a short-term effect on the piloting constraint and a long-term effect on the piloting constraint.
[0098] The preliminary reward function FRP is a function that takes the state variables VEi as input and outputs a numerical value. For example, the preliminary reward function FRP increments at each iteration by the following quantity: [Math 4]
[0099] RT + ROA + RA where RT is the trajectory reward defined above,
[0100] ROA is the acceleration orientation reward defined above, and
[0101] RA is an alignment reward, for example equal to 1 + (alignment + 2)“ 3, where alignment is the dot product between the aircraft speed and the direction between the aircraft and the next waypoint.
[0102] The application module 50 is configured to apply to the piloting model a reinforcement learning algorithm from the reward function. In particular, the application module 50 is configured to receive the state variables VEi of the aircraft and determine the piloting commands Ci at a plurality of successive reception times T.
[0103] For this purpose, the application module 50 comprises a first reception unit 81, a first modification unit 82, and a first determination unit 83.
[0104] The first reception unit 81 is configured to receive, from the generation device 20, the state variables VEi of the aircraft at successive reception times T.
[0105] The first modification unit 82 is configured to modify, for each reception time T, the model from an evaluation of the reward function from the state variables VEi. To evaluate the reward function, the first modification unit 82 is configured to calculate the steering constraint value from the state variables VEi, for example according to one of the equations (2) or (3).
[0106] The first modification unit 82 is further configured to modify the weights of the connections of the model based on the evaluation of the reward function. Such modification is known to those skilled in the art as being a conventional technique for applying the reinforcement learning algorithm.
[0107] The first determination unit 83 is configured to determine, for each reception time T i;the control commands Ci from the modified control model and the state variables VEi received at said reception time. For this, the first determination unit 83 is configured to apply the modified model to the received state variables VEi and at each reception time T. i; and to determine the pilot commands Ci of said reception time T as being equal to the output values of the modified model.
[0108] Optionally, the application module 50 is configured to perform a predetermined number of iterations, each iteration comprising the reception of the state variables VEi of the aircraft by the first reception unit 81, the modification of the model by the first modification unit 82, and the determination of the piloting commands Ci by the first determination unit 83.
[0109] Advantageously, the application module 50 is configured not to apply reinforcement learning of the piloting model for a predefined number of iterations. Thus, at the end of the predefined number of iterations, the convergence weights have generally not reached convergence. The application module 50 is preferentially configured to carry out an exploration of the possible trajectories of the aircraft by taking into account modifications of the model from the reward function, and in particular the piloting constraint included in the reward function.
[0110] The application module 50 is further configured to store, in a database and for each reception instant Ti, the received state variables VEi, the determined piloting commands Ci, and preferably the values of the piloting constraint CPi calculated during the evaluation of the reward function.
[0111] The training module 55 is configured to form at least one group of data from the received state variables VEi, the determined commands Ci and optionally the calculated values of the control constraint CPi. Each group of data comprises the state variables VEi, the control commands Ci, and optionally the values of the control constraint CPi corresponding to successive reception times Ti.
[0112] The training module 55 is for example configured to form a plurality of data groups. For example, the application module is configured to apply to the control commands determined Ci by the application module 50, a classification algorithm, in order to classify, in predefined classes CL, said control commands determined Ci for each reception instant Ti. The predefined classes CL are for example included in the command correspondence table.
[0113] For this purpose, the training module 55 is for example configured to compare, for each reception time T, the control commands Ci with the value intervals of the command correspondence table, in order to determine to which class CL the control commands Ci correspond at said time T.
[0114] The training module 55 is for example configured to group the pilot commands Ci belonging to the same respective class CL and whose reception times Ti form a sequence of consecutive reception times T as long as possible.
[0115] With reference to Figure 2, several pilot commands Ci, C2, C3, C4, C5, C22, C23, C24, C45, C46, C47 belong to a first class CL1. These commands Ci, C2, C3, C4, C5, C22, C23, C24, C45, C46, C47 correspond respectively to the following reception times T: Ti, T2, T3, T4, T5, T22, T23, T 24 , T 45 , T 46 , T 47The training module 55 is then configured to group together, firstly the following pilot commands: Ci, C2, C3, C4, C5, secondly the following pilot commands: C22, C23, C24, and thirdly the following pilot commands: C4s, C46, C 47 .
[0116] The training module 55 is further configured to train each data group as comprising a plurality of respective grouped commands Ci, the corresponding state variables VEi and optionally the values of the corresponding control constraint CPi. The term "corresponding state variables VEi" means the state variables VEi received at the reception times T corresponding to the grouped commands G. Similarly, the term "corresponding control constraint values CPi" means the values of the control constraint CPi calculated for the reception times T corresponding to the grouped commands Ci.
[0117] Thus, in the previous example of figure 2, a first group of data includes the following commands: Ci, C2, C3, C4, C5, the corresponding state variables VEi: VEi, VE2, VE3, VE4, VE5, and optionally the corresponding control constraint values: CPi, CP2, CP3, CP4, CP5.
[0118] Similarly, a second data group includes the following commands: C22, C23, C24, the corresponding VEi state variables: VE22, VE23, VE24, and optionally the corresponding control constraint values: CP22, CP23, CP24. A third group includes the following commands: C4s, C46, C 47 , the corresponding VEi state variables: VE 45 , VE 46 , VE 47 , and optionally the corresponding steering constraint values: CP4s, CP46, CP 47 .
[0119] The assignment module 60 is configured to assign, for the or each group of data: at least one state of the aircraft to the state variables VEi, at least one piloting action to the piloting commands Ci and optionally at least one effect on the piloting constraint to the values of the piloting constraint CPi.
[0120] The assignment module 60 is for example configured to assign to the commands Ci of each group, at least one action from the command correspondence table. The command correspondence table comprises for example for each predefined class CL at least one action. The assignment module 60 is preferably configured to assign to the commands Ci of each group, the action(s) corresponding to the class CL of these commands Ci in the command correspondence table. Each action is for example a textual label describing the control action performed by respective control commands Ci. By way of example, the actions are chosen from the group consisting of:
[0121] - a turn to the right of the aircraft,
[0122] - a turn to the left of the aircraft,
[0123] - a straight trajectory of the aircraft,
[0124] - an ascent of the aircraft,
[0125] - a descent of the aircraft,
[0126] - an acceleration of the aircraft,
[0127] - a deceleration of the aircraft, and
[0128] - maintaining the aircraft speed.
[0129] It is clear that the assignment module 60 is for example configured to assign several actions to the commands Ci of a data group.
[0130] In Figure 3 is shown a route of the aircraft along a trajectory comprising a first PPi, a second PP2, a third PP3, and a fourth PP4 waypoints. In the example of Figure 3, a dotted line portion 85 of the route corresponds to a group of data.
[0131] In the example of figure 3, the assignment module 60 is for example configured to assign to the commands Ci of the group corresponding to the portion 85, the following actions: a turn to the left of the aircraft, a descent of the aircraft, and a deceleration of the aircraft.
[0132] The assignment module 60 is for example configured to assign to the state variables VEi, at least one state from the state correspondence table. Each state is for example a textual label describing the state of the aircraft as a function of the state variables VEi of said aircraft. By way of example, the states are chosen from the group consisting of:
[0133] - the aircraft is very close to the next waypoint,
[0134] - the aircraft is close to the next waypoint,
[0135] - the aircraft is far from the next waypoint,
[0136] - the aircraft is very far from the next waypoint,
[0137] - the aircraft is far to the left of the next waypoint,
[0138] - the aircraft is slightly to the left of the next waypoint,
[0139] - the aircraft is slightly to the right of the next waypoint,
[0140] - the aircraft is very far to the right of the next waypoint,
[0141] - the aircraft is very high above the next waypoint,
[0142] - the aircraft is slightly above the next waypoint,
[0143] - the aircraft is slightly below the next waypoint, - the aircraft is very below the next waypoint,
[0144] - the aircraft is very close to the next waypoint,
[0145] - the aircraft is close to the next waypoint,
[0146] - the aircraft is far from the waypoint following the next waypoint,
[0147] - the aircraft is very far from the waypoint following the next waypoint,
[0148] - the aircraft is far to the left of the waypoint following the next waypoint,
[0149] - the aircraft is slightly to the left of the waypoint following the next waypoint,
[0150] - the aircraft is slightly to the right of the waypoint following the next waypoint,
[0151] - the aircraft is very far to the right of the waypoint following the next waypoint,
[0152] - the aircraft is very high above the next waypoint,
[0153] - the aircraft is slightly above the waypoint following the next waypoint,
[0154] - the aircraft is slightly below the waypoint following the next waypoint,
[0155] - the aircraft is well below the waypoint following the next waypoint,
[0156] - the aircraft is very close to the previous waypoint,
[0157] - the aircraft is close to the previous waypoint,
[0158] - the aircraft is far from the previous waypoint,
[0159] - the aircraft is very far from the previous waypoint,
[0160] - the aircraft is far to the left of the previous waypoint,
[0161] - the aircraft is slightly to the left of the previous waypoint,
[0162] - the aircraft is slightly to the right of the previous waypoint,
[0163] - the aircraft is very far to the right of the previous waypoint,
[0164] - the aircraft is well above the previous waypoint,
[0165] - the aircraft is slightly above the previous waypoint,
[0166] - the aircraft is slightly below the previous waypoint,
[0167] - the aircraft is well below the previous waypoint,
[0168] - the roll angle is strongly negative,
[0169] - the roll angle is slightly negative,
[0170] - the roll angle is slightly positive,
[0171] - the roll angle is strongly positive, - the pitch angle is strongly negative,
[0172] - the pitch angle is slightly negative,
[0173] - the pitch angle is slightly positive,
[0174] - the pitch angle is strongly positive,
[0175] - the wind in contact with the aircraft is very strong,
[0176] - the wind in contact with the aircraft is strong,
[0177] - the wind in contact with the aircraft is weak,
[0178] - the wind in contact with the aircraft is very weak,
[0179] - the aircraft has the wind in its face,
[0180] - the aircraft has the wind behind it,
[0181] - the aircraft has the wind from the right, and
[0182] - the aircraft has the wind from the left.
[0183] The assignment module 60 is for example further configured to calculate, for each group, a time average of the value of each state variable VEi of the group. By "time average" is meant the average calculated between all the reception times Ti of the state variables VEi of the group.
[0184] The assignment module 60 is configured to then assign to the state variables VEi of each group, at least one state by comparing the average values of the state variables VEi to the intervals corresponding to each state in the state correspondence table.
[0185] It is clear that the assignment module 60 is for example configured to assign several states to the state variables VEi of a data group.
[0186] In the example of Figure 3, the assignment module 60 is for example configured to assign to the state variables VEi of the group corresponding to the portion 85, the following states: the aircraft is close to the next waypoint, the aircraft is slightly above the next waypoint, the aircraft is slightly to the right of the next waypoint, the aircraft is far from the previous waypoint, the aircraft is very above the previous waypoint, the aircraft is very to the right of the previous waypoint, the sine of the roll angle is strongly negative, the wind in contact with the aircraft is weak, and the aircraft has a headwind.
[0187] The assignment module 60 is further configured to generate, for each group, a control rule comprising at least one state and at least one control action, assigned to the group.
[0188] In the example of Figure 3, the piloting rule generated for portion 85 is, for example: - when the aircraft is close to the next waypoint, the aircraft is slightly above the next waypoint, the aircraft is slightly to the right of the next waypoint, the aircraft is far from the previous waypoint, the aircraft is very above the previous waypoint, the aircraft is very to the right of the previous waypoint, the sine of the roll angle is strongly negative, the wind in contact with the aircraft is weak, and the aircraft has the wind in its face,
[0189] - perform: a turn to the left of the aircraft, a descent of the aircraft, and a deceleration of the aircraft.
[0190] As an optional addition, the assignment module 60 is further configured to calculate, for each group, a first difference between the value of the control constraint CPd at the last reception time T d among the reception times T of the state variables VEi of the data group and the value of the control constraint CP p at the first instant of reception T p among the reception times T of the state variables VEi of the data group.
[0191] The first instant of reception T p is the first, i.e. the oldest of the reception instants T of the state variables VEi of the group. Similarly, the last reception instant T d is the last, i.e. the most recent of the reception times T i of the state variables VEi of the group.
[0192] The assignment module 60 is then configured to assign to the values of the piloting constraint CPi, a short-term effect on the piloting constraint, from the first difference and the piloting constraint correspondence table. Each short-term effect is for example a textual label describing whether the action(s) implemented, when the aircraft is in the state(s), is positive or not on the piloting constraint in a short time. For example, the short-term effects are chosen from a group consisting of:
[0193] - a very negative short-term effect on the piloting constraint,
[0194] - a negative short-term effect on the piloting constraint,
[0195] - a positive short-term effect on piloting constraints, and
[0196] - a very positive short-term effect on piloting constraints.
[0197] According to this same optional addition, the assignment module 60 is further configured to calculate, for each group, a second difference between the value of the CPM control constraint at a reception time T fi nai posterior to the last instant of reception T d among the reception times T of the state variables VEi of the data group and the value of the control constraint CP p at the first instant of reception T p among the reception times T of the state variables VEi of the data group. The later reception time T fi nai audit last instant of reception T d is for example the last reception time T of the trajectory simulation. In other words, said time T finai is the last reception instant Ti before the aircraft is repositioned to the initial point by the generation module 20. In Figure 3, this instant Ti is the one at which the aircraft reached the fourth waypoint PP4, or final position of the trajectory.
[0198] The assignment module 60 is then configured to assign, to the values of the piloting constraint CPi, a long-term effect on the piloting constraint, from the second difference and the piloting constraint correspondence table. In a manner similar to the short-term effects, each long-term effect is for example a textual label describing whether the action(s) implemented, when the aircraft is in the state(s), is positive or not on the piloting constraint, in a long time. For example, the long-term effects are chosen from the group consisting of:
[0199] - a very negative long-term effect on piloting constraints,
[0200] - a negative long-term effect on piloting constraints,
[0201] - a positive long-term effect on piloting constraints, and
[0202] - a very positive long-term effect on piloting constraints.
[0203] According to this optional addition, the assignment module 60 is configured to generate, when generating the steering rule, the rule further comprising the short-term effect on the steering constraint and the long-term effect on the steering constraint. Thus, in the example of Figure 3, the rule generated for the portion 85 is for example:
[0204] - when the aircraft is close to the next waypoint, the aircraft is slightly above the next waypoint, the aircraft is slightly to the right of the next waypoint, the aircraft is far from the previous waypoint, the aircraft is very above the previous waypoint, the aircraft is very to the right of the previous waypoint, the sine of the roll angle is strongly negative, the wind in contact with the aircraft is weak, and the aircraft has a headwind,
[0205] - perform: a turn to the left of the aircraft, a descent of the aircraft, and a deceleration of the aircraft,
[0206] - has an effect on the piloting constraint: very positive in the short term, and negative in the long term.
[0207] The transmission module 65 is configured to transmit, to the display device 30, the piloting rules for display to the pilot 15 of the aircraft.
[0208] The training module 70 is configured to train the steering model to track the trajectory by applying a preliminary reinforcement learning algorithm to the model, based on the preliminary reward function. The training module 70 comprises a second receiving unit 91, a second modifying unit 92, and a second determining unit 93. The second receiving unit 91 is analogous to the first receiving unit 81. The state variables received by the second receiving unit 91 are referred to as preliminary state variables in the present description. The second receiving unit 91 is then configured to receive the preliminary state variables at preliminary reception times.
[0209] The second modification unit 92 is substantially analogous to the first modification unit 82 except that the second modification unit 92 is configured to modify the model from an evaluation of the preliminary reward function instead of the reward function.
[0210] The second determination unit 93 is analogous to the first determination unit 83. The pilot commands determined by the second determination unit 93 are configured to determine and are called preliminary commands in the present description. The second determination unit 93 is then configured to determine said preliminary commands.
[0211] Unlike the application module 50, the training module 70 is configured to receive the preliminary state variables, modify the model and determine the preliminary commands at several successive preliminary times until the preliminary reinforcement learning algorithm converges, i.e. until the weights of the model are no longer significantly modified by the second modification unit 92. The model is then said to be trained.
[0212] The training module 70 is further configured to transmit the trained model to the application module 50. The application module 50 is then configured to apply the reinforcement learning algorithm to the trained model rather than to the model acquired by the acquisition module 45.
[0213] The identification module 75 is optionally configured to, if the rules include at least one effect on the constraint, identify at least one main rule from among the plurality of generated rules. For this purpose, the identification module 75 is advantageously configured to apply a variable frequency analysis algorithm, known per se, from a predefined support threshold and a predefined confidence threshold.
[0214] The support quantifies the frequency of occurrence of a triplet "state(s), action(s), effect(s) on the constraint" among all the rules. The support is between 0 and 1. For example, if the support threshold is equal to 0.5, then each triplet "state(s), action(s), effect(s) on the constraint" of the main rule(s) appears in at least 50% of the steering rules. The confidence quantifies the frequency of occurrence of a triplet "state(s), action(s), effect(s) on the constraint" among the rules including the said state(s) and the said action(s). The confidence is between 0 and 1. For example, if the confidence threshold is equal to 0.9, then for each main rule "state(s), action(s), effect(s) on the constraint", the effect(s) on the constraint appear in at least 90% of the steering rules including the said state(s) and the said action(s).
[0215] Thus, the identification module 75 is configured to identify, among the control rules, the main rule(s) whose support and confidence are greater than the respective thresholds.
[0216] Optionally, the identification module 75 is further configured to, if the rules include the at least one effect on the constraint, compare the effects on the constraint of each main rule to a respective predetermined threshold, to obtain at least one filtered rule. The predetermined threshold is for example equal to: very positive effect, positive effect or negative effect. More specifically, the identification module 75 is optionally configured to select only the main rules of which at least one of the effects on the steering constraint is greater than or equal to the predetermined threshold. It is considered in the present description that “very positive is greater than or equal to: very positive, positive, negative, and very negative”, “positive is greater than or equal to: positive, negative, and very negative” and “negative is greater than or equal to: negative, and very negative”.
[0217] If the assistance device 25 comprises the identification module 75, the transmission module 65 is configured to transmit, to the display device 30, only each main rule or each filtered rule.
[0218] The display device 30 is for example on board the aircraft if the aircraft is an airplane, or remote from the aircraft if the aircraft is a drone.
[0219] The display device 30 comprises for example a display screen 95 and optionally a processing unit 97 connected to the display screen 95.
[0220] The display screen 95 is for example capable of displaying content transmitted by the processing unit 97.
[0221] The processing unit 97 is configured to receive, from the assistance device 25, at least one piloting rule. The processing unit 97 is for example configured to implement a chatbot capable of interacting with the pilot 15. The processing unit 97 is configured to display, on the display screen 95, the piloting rule(s) received, for example following an interaction with the pilot 15.
[0222] The operation of the assistance system 10, and more particularly of the assistance device 25, will now be described with reference to FIG. 4 representing a flowchart of a piloting assistance method according to the invention. During an acquisition step 110, the acquisition module 45 acquires the piloting model of the aircraft, the reward function; as well as optionally the command correspondence table, the state correspondence table, the preliminary reward function and the correspondence table of effects on the piloting constraint.
[0223] Optionally, during a step 120 of training the model, the training module 70 applies the preliminary reinforcement learning algorithm to the model, in order to train it to follow the trajectory.
[0224] For this, during a first reception sub-step 122, the second reception unit 91 receives, from the generation device 20 and at the preliminary reception times, the preliminary state variables of the aircraft.
[0225] For each preliminary reception time, during a first modification sub-step 124, the second modification unit 92 evaluates the preliminary reward function from the received preliminary state variables, for example using the previous equation (4). The second modification unit 92 then modifies the weights of the model, depending on the value of the preliminary reward function, according to a technique known per se.
[0226] For each preliminary reception time, during a first determination sub-step 126, the second determination unit 93 determines the preliminary commands, for example by applying the modified model to the preliminary state variables received.
[0227] For each preliminary reception time, the training module 70 transmits to the generation device 20 the determined preliminary commands. The training module 70 then waits to receive, from the generation device 20, the preliminary state variables of the aircraft at the following preliminary reception time. Then, the training module 70 repeats the first sub-steps of reception 122, modification 124 and determination 126.
[0228] During the training step 120, the reception 122, modification 124 and determination 126 sub-steps are repeated until the model converges.
[0229] At the end of training step 120, the model is trained for trajectory tracking.
[0230] Then, during an application step 130, the application module 50 applies the reinforcement learning algorithm to the trained model.
[0231] For this, during a second reception sub-step 132, the first reception unit 81 receives, from the generation device 20 and at successive reception times T, the state variables VEi of the aircraft. Then, for each reception time Ti, during a second modification sub-step 134, the first modification unit 82 evaluates the reward function from the state variables VEi received, for example according to equation (1). For this purpose, the first modification unit 82 calculates the value of the piloting constraint CPi, for example according to one of equations (2) or (3). Then, in a manner analogous to the first modification sub-step 124, the first modification unit 82 modifies the weights of the trained model according to a technique known per se.
[0232] For each reception time Ti, during a second determination sub-step 136, the first determination unit 83 determines the pilot commands Ci by applying the modified model to the state variables VE i; for example in a manner analogous to that carried out during the first determination sub-step 126.
[0233] During the application step 130, for each reception time Ti, the application module 50 transmits to the generation device 20 the determined piloting commands Ci. The application module 50 then waits to receive, from the generation device 20, the state variables VEi of the aircraft at the following reception time T. Then, the application module 50 repeats the second sub-steps of reception 132, modification 134 and determination 136.
[0234] For each reception time T, the state variables VEi received, the pilot commands Ci determined, and advantageously the value of the pilot constraint CPi calculated, are stored in the database.
[0235] During the application step 130, the second sub-steps of reception 132, modification 134 and determination 136 are repeated until the predefined number of iterations is reached.
[0236] Alternatively, if the method does not include the optional training step 120, the application module 50 applies, during the application step 130, the reinforcement learning algorithm to the model acquired during the acquisition step 110.
[0237] During a training step 140, the training module 55 forms at least one group comprising, for consecutive reception times T, the state variables VEi received, the determined control commands Ci; and optionally the calculated values of the control constraint CPi.
[0238] For this purpose, the training module 55 compares, for example, the pilot commands Ci determined for each reception time T i; to the value intervals of the command correspondence table, in order to determine to which class CL the control commands Ci determined at said instant Ti correspond. Then, the training module 55 groups together the control commands Ci belonging to the same respective class CL and determined for the reception instants Ti forming the longest possible sequence of consecutive reception instants Ti.
[0239] Then, the training module 55 forms each group by including the grouped pilot commands Ci, the corresponding state variables VEi; and optionally the corresponding pilot constraint values CPi.
[0240] During an assignment step 150, the assignment module 60 assigns, for each group, at least one action to the control commands Ci of the group, for example by comparing the control commands Ci to the value intervals of the action correspondence table.
[0241] The assignment module 60 also assigns, for each group, at least one state to the state variables VEi of the group. For this, the assignment module calculates, for example, the time average of the value of each state variable VEi of the group and compares each time average to the value intervals of the state correspondence table.
[0242] If each group further comprises the values of the driving constraint CPi, the assignment module 60 calculates, for each group, the first and second difference as described previously. The assignment module 60 then assigns to the values of the driving constraint CPi, the short-term effect on the constraint and the long-term effect on the constraint, by comparing the first and second differences with the value intervals of the constraint effect correspondence table.
[0243] The assignment module 60 then generates, for each group, a rule including the state(s) of the group, the action(s) of the group; and optionally the short-term effect on the constraint and the long-term effect on the constraint of the group.
[0244] As an optional addition, if the rules include at least one respective effect on the control constraint, the identification module 75 identifies, during an identification step 160, the at least one main rule among the generated rules. For example, the identification module 75 applies to the generated rules the variable frequency analysis algorithm, defined above.
[0245] During the identification step 160, the identification module 75 optionally compares the effects on the control constraint included in each main rule with the predetermined threshold, to obtain at least one filtered rule. Thus, only the main rules having a very positive, at least positive or at least negative effect on the constraint are, for example, part of the filtered rules. During a transmission step 170, the transmission module 65 transmits to the display device 30 the generated rules; or where appropriate the at least one main rule or the at least one filtered rule.
[0246] Then, the display device 30 displays, to the pilot 15, the rules which were transmitted to him by the transmission module 65.
[0247] For example, during the flight of the aircraft, the pilot 15 interacts with the dialog implemented by the processing unit 97, to know the effect(s) on the piloting constraint of the implementation of one or more respective piloting actions in the state(s) in which the aircraft is located. The processing unit 97 then controls the display on the display screen 95, of all or part of the piloting rule comprising said action(s) and said state(s).
[0248] With the assistance method according to the invention, the generated steering rules are then certifiable.
[0249] Furthermore, thanks to the reinforcement learning algorithm, the method is capable of generating a large number of piloting rules without the need for human intervention. Thus, the risk of the pilot 15 being confronted with a state of the aircraft absent from the piloting rules Ci is limited.
[0250] Furthermore, the determination of the pilot commands Ci according to the reinforcement learning algorithm makes it possible to determine pilot commands that would not have been taken into consideration by a human operator, leading to the generation of additional rules that a human operator would not have considered.
[0251] The training step 140 makes it possible to form groups of data that are sufficiently small, i.e. reduced, so that each group can correspond to one or more actions performed simultaneously. Furthermore, the training step 140 makes it possible to form groups of data that are sufficiently large, i.e. important, so that the action(s) assigned to the commands Ci of said group have a quantifiable effect on the piloting constraint.
[0252] Furthermore, the optional training step 120 makes it possible to provide as input to the application step 130, the piloting model trained to follow the trajectory. However, following the trajectory is the main mission of the aircraft. Thus, during the application step 130, the model will continue to substantially follow the trajectory, while introducing slight variations in direction having a significantly positive effect on the piloting constraint.
[0253] The optional identification step 160 makes it possible to extract from the generated rules only the most representative actions and states, that is to say, those which have been encountered most often, i.e. the most frequent, and in which the pilot 15 can have confidence. In addition, this step 160 makes it possible to limit the number of rules to be transmitted to the display device 30, while retaining the main elements of the generated rules.
Claims
25 DEMANDS 1. A method for assisting the piloting of an aircraft, the method being implemented by an electronic piloting assistance device and comprising the following steps: - acquisition (1 10) of an aircraft piloting model and a reward function (RF) including a piloting constraint (PC), - application (130), to the control model, of a reinforcement learning algorithm based on the reward function (RF), the application step (130) comprising the following sub-steps: + a reception (122) of state variable(s) (VEi) of the aircraft at reception times (Ti), + for each reception instant (Ti), a modification (124) of the model based on an evaluation of the reward function (RF) from the state variable(s) (VEi) received at said reception instant (Ti), and + for each reception instant (Ti), a determination (126) of pilot commands (Ci) from the modified pilot model and the state variables (VEi) received at said instant (T), - formation (140) of data group(s) from received state variables (VEi) and determined commands (Ci), each data group comprising the state variables (VEi) and commands (Ci) corresponding to a plurality of successive reception times (Ti), - for each data group, assignment (150) of at least one aircraft state to the state variables (VEi) and at least one piloting action to the controls (Ci), to generate a piloting rule comprising at least one state and at least one piloting action, - transmission (170) of at least one piloting rule to a display device for display to a pilot (15) of the aircraft.
2. Method according to claim 1, wherein, during the application step (130), for each reception instant (T), a value of the control constraint (CPi) is calculated during the evaluation of the reward function, during the group formation step, each data group further includes the values of the control constraint (CPi) associated with the state variables (VEi) and the commands (Ci), During the assignment step, for the group or each group, at least one constraint effect is assigned to the group's control constraint (CPi) values, each rule further including at least one constraint effect.
3. A method according to the preceding claim, wherein during the assignment step (150) a plurality of rules is formed, the method further comprising, between the assignment step (150) and the supply step, an identification step (160) of the main rule(s) among the plurality of control rules generated by application of a variable frequency analysis algorithm, during the transmission step (170), only the main rule(s) being transmitted.
4. A method according to claims 2 and 3, wherein the identification step (160) further comprises comparing the effect(s) on the stress of each main rule to a predetermined threshold to obtain at least one filtered rule, each filtered rule being a respective main rule comprising at least one effect on the stress greater than or equal to the threshold, in the transmission step (170), only the filtered rule(s) being preferably provided for display to the pilot (15) of the aircraft.
5. A method according to any one of claims 2 to 4, wherein the assignment step (150) comprises for each data group: - a calculation of a first difference between the value of the pilot constraint (CPd) at the last instant of reception (T d ) among the reception times (Ti) of the state variables (VEi) of the data group, and the driving constraint value (CP p) at the first instant of reception (T p ) among the reception times (Ti) of the state variables (VEi) of the data group, - a calculation of a second difference between the value of the pilot constraint (CPfinai) at a reception instant (Tf in ai) subsequent to the last instant of reception (T d ) among the reception times (T) of the state variables (VEi) of the data group, and the driving constraint value (CP p ) at the first instant of reception (T p ) among the reception times (Ti) of the state variables (VEi) of the data group, - an assignment, to the values of the control constraint (CPi), of a short-term effect on the control constraint, based on the first difference and a table of correspondence between control constraints, and - an assignment, to the values of the steering constraint (CPi), of a long-term effect on the steering constraint, from the second difference and the steering constraint correspondence table.
6. A method according to any one of the preceding claims, wherein the formation step (140) comprises: - classification of the determined pilot commands (Ci) among a plurality of predefined classes (CL) and via a command correspondence table, - for each class (CL), grouping of the pilot commands (Ci) belonging to said class (CL) and determined for the reception times (Ti) forming the longest possible sequence of consecutive reception times (Ti), to form at least one set of grouped commands (Ci), and - for each set of grouped commands (Ci), formation of a respective group comprising the commands (Ci) of said set and the state variables (VEi) received at the times of reception (Ti) for which said commands (Ci) were determined.
7. A method according to any one of the preceding claims, wherein during the acquisition step (110), a preliminary reward function (PRF) is acquired, the method further comprising, between the acquisition step (110) and the application step (130), a training step (120) of the model by applying a preliminary reinforcement learning algorithm to the piloting model from the preliminary reward function (PRF), the training step (130) comprising a modification (134) of the model from an evaluation of the preliminary reward function (PRF).
8. A method according to any one of the preceding claims, wherein the state variables (VEi) are chosen from the group consisting of: an aircraft roll angle, an aircraft pitch angle, an aircraft yaw angle, an aircraft speed, an aircraft acceleration, a wind speed at the contact with the aircraft, a wind direction relative to the aircraft, and an aircraft position.
9. Product computer program comprising software instructions which, when implemented by a computer, implement a method according to any one of the preceding claims. 28 10. Electronic device (25) for piloting an aircraft, comprising: - an acquisition module (45) configured to acquire an aircraft piloting model and a reward function including a piloting constraint, - an application module (50) configured to apply to the control model a reinforcement learning algorithm based on the reward function, the application module comprising: + a receiving unit (81) configured to receive at least one aircraft state variable (VEi) at reception times (Ti), + a modification unit (82) configured to modify, for each reception instant (Ti), the model based on an evaluation of the reward function from the state variable(s) (VEi), and + a determination unit (83) configured to determine, for each reception instant (T), control commands (Ci) from the modified control model and the state variables (VEi) received at said reception instant (T), - a training module (55) configured to train at least one data group from the received state variables (VEi) and the determined commands (Ci), each data group comprising the state variables (V) and the determined commands (Ci) corresponding to a plurality of successive reception times (T), - an assignment module (60) configured to assign, for the data group(s), at least one aircraft state to the received state variables (VEi) and at least one piloting action to the determined controls (Ci), and to generate a piloting rule comprising at least one state and at least one piloting action, and - a transmission module (65) configured to transmit, to a display device (30), at least one piloting rule for display to a pilot (15) of the aircraft.
11. Aircraft piloting assistance system (10) comprising an electronic piloting aid device (25) according to the preceding claim and a display device (30) configured to receive at least one piloting rule from the piloting aid device (25) and to display said rule to the pilot (15) of the aircraft.
Citation Information
Patent Citations
Systems and methods for practical autonomy decision controller
US11107001B1
Aircraft vibration detecting device, aircraft vibration detecting method, and non-transitory computer-readable storage medium storing thereon program for aircraft vibration detection
US20210269171A1
