CN108170030B - Power system control distribution method and related device - Google Patents

Power system control distribution method and related device Download PDF

Info

Publication number
CN108170030B
CN108170030B CN201711420446.XA CN201711420446A CN108170030B CN 108170030 B CN108170030 B CN 108170030B CN 201711420446 A CN201711420446 A CN 201711420446A CN 108170030 B CN108170030 B CN 108170030B
Authority
CN
China
Prior art keywords
control
power system
maximum
amplitude limiting
virtual control
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711420446.XA
Other languages
Chinese (zh)
Other versions
CN108170030A (en
Inventor
任斌
王进
王陈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jouav Automation Technology Co ltd
Original Assignee
Chengdu Jouav Automation Technology Co ltd
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 Chengdu Jouav Automation Technology Co ltd filed Critical Chengdu Jouav Automation Technology Co ltd
Priority to CN201711420446.XA priority Critical patent/CN108170030B/en
Publication of CN108170030A publication Critical patent/CN108170030A/en
Application granted granted Critical
Publication of CN108170030B publication Critical patent/CN108170030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The embodiment of the invention relates to the technical field of aircraft control, and provides a power system control allocation method and a related device, which are applied to a multi-rotor aircraft comprising a plurality of power systems, and a plurality of amplitude limiting control quantities are obtained by carrying out amplitude limiting on a plurality of obtained virtual control quantities one by one, so that the actual capacity of the multi-rotor aircraft can not be exceeded by each amplitude limiting control quantity; secondly, a plurality of amplitude limiting control quantities are converted into virtual control commands of each power system and amplitude limiting is carried out, and possible too fast changes of the virtual control commands are directly limited. Through twice amplitude limiting, the matching of the change amplitude of the virtual control quantity and the virtual control command within a certain time step and the actual dynamic response capability of the power system is realized, the sharp reduction of the phase margin caused by too fast response can be avoided, and the robustness of the multi-rotor aircraft is improved.

Description

Power system control distribution method and related device
Technical Field
The invention relates to the technical field of aircraft control, in particular to a power system control distribution method and a related device.
Background
The multi-rotor aircraft and the aircraft with the multi-rotor components are multivariable, nonlinear and strongly coupled dynamic systems, the strong coupling characteristics of the multi-rotor aircraft are concentrated in a control distribution link, and the coordination response of an even number of centrosymmetric rotors to control distribution outputs in four directions of a rolling Euler angle, a pitching Euler angle, a yawing Euler angle and a height is a problem which is always optimized by a person skilled in the art. The multi-rotor aircraft adopting the large-power system has the advantages that the pneumatic resistance moment generated by the large diameter and the large pitch of the propeller is large, the rotational inertia of the motor and the propeller is large, the two factors cause the power system to change the state for a longer time, and the non-linearity degree of the non-power output in the maximum power range is more obvious.
Disclosure of Invention
An object of the present invention is to provide a power system control distribution method and related apparatus, so as to improve the above problems.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a power system control distribution method applied to a multi-rotor aircraft including multiple power systems, where the method includes: acquiring a plurality of virtual control quantities; carrying out one-to-one amplitude limiting on the plurality of virtual control quantities by utilizing a plurality of preset maximum virtual control quantities which are in one-to-one correspondence with the plurality of virtual control quantities to obtain a plurality of amplitude limiting control quantities; determining a control distribution matrix according to the mechanical model and the installation position of each power system; converting the plurality of amplitude limiting control quantities into virtual control commands of each power system by using the control distribution matrix; and carrying out amplitude limiting on the virtual control instruction of each power system to obtain an amplitude limiting control instruction of each power system.
In a second aspect, an embodiment of the present invention provides a power system control distribution device, which is applied to a multi-rotor aircraft including multiple power systems, where the device includes a virtual control quantity obtaining module, a first amplitude limiting module, a control distribution matrix determining module, a converting module, and a second amplitude limiting module. The virtual control quantity acquisition module is used for acquiring a plurality of virtual control quantities; the first amplitude limiting module is used for carrying out one-to-one amplitude limiting on the plurality of virtual control quantities by utilizing a plurality of preset maximum virtual control quantities which are in one-to-one correspondence with the plurality of virtual control quantities to obtain a plurality of amplitude limiting control quantities; the control distribution matrix determining module is used for determining a control distribution matrix according to the mechanical model and the installation position of each power system; the conversion module is used for converting the plurality of amplitude limiting control quantities into virtual control instructions of each power system by using the control distribution matrix; the second amplitude limiting module is used for carrying out amplitude limiting on the virtual control instruction of each power system to obtain the amplitude limiting control instruction of each power system.
In a third aspect, embodiments of the present invention provide a multi-rotor aircraft comprising a plurality of power systems, the multi-rotor aircraft further comprising: one or more processors; memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the powertrain control distribution method as described above.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the powertrain control distribution method as described above.
Compared with the prior art, the power system control allocation method and the related device provided by the embodiment of the invention have the advantages that a plurality of virtual control quantities are obtained, and a plurality of preset maximum virtual control quantities corresponding to the virtual control quantities one by one are utilized to carry out one-to-one amplitude limiting on the virtual control quantities to obtain a plurality of amplitude limiting control quantities, so that each amplitude limiting control quantity can not exceed the actual capacity of a multi-rotor aircraft; and then, determining a control distribution matrix according to the mechanical model and the installation position of each power system, converting a plurality of amplitude limiting control quantities into a virtual control instruction of each power system by using the control distribution matrix, and then carrying out amplitude limiting on the virtual control instruction of each power system, so that the possible over-fast change of the virtual control instruction is directly limited, and the amplitude limiting control instruction of each power system is obtained. According to the embodiment of the invention, through twice amplitude limiting, the matching of the change amplitude of the virtual control quantity and the virtual control command within a certain time step and the actual dynamic response capability of the power system is realized, the sharp reduction of the phase margin caused by too fast response can be avoided, and the robustness of the multi-rotor aircraft is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a block schematic diagram of a multi-rotor aircraft provided by an embodiment of the present invention.
FIG. 2 is a flow chart illustrating a powertrain control distribution method provided in a first embodiment of the present invention.
Fig. 3 is a flowchart illustrating sub-steps of step S103 shown in fig. 2.
Fig. 4 is a flowchart illustrating sub-steps of step S105 shown in fig. 2.
Fig. 5 is a block diagram schematically illustrating a power system control distribution apparatus according to a second embodiment of the present invention.
Icon: 100-multi-rotor aircraft; 110-a memory; 120-a memory controller; 130-a processor; 200-a powertrain control distribution device; 210-a virtual control quantity obtaining module; 220-a first clipping module; 230-control allocation matrix determination module; 240-a conversion module; 250-second clipping module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 shows a block schematic diagram of a multi-rotor aircraft 100 according to an embodiment of the present invention. Multi-rotor aircraft 100 may be, but is not limited to, a four-rotor aircraft, a six-rotor aircraft, an eight-rotor aircraft, and the like. The multi-rotor aircraft 100 includes a power system control distribution device 200, a memory 110, a storage controller 120, and a processor 130.
The memory 110, the memory controller 120 and the processor 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The powertrain control distribution unit 200 includes at least one software function module that may be stored in the memory 110 in the form of software or firmware (firmware) or may be embedded in the Operating System (OS) of the rotorcraft 100. The processor 130 is configured to execute executable modules stored in the memory 110, such as software functional modules or computer programs included in the powertrain control distribution apparatus 200.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor 130 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a voice Processor, a video Processor, and the like; but may also be a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor 130 may be any conventional processor or the like.
In an embodiment of the present invention, the multi-rotor aircraft 100 further includes a plurality of power systems, each of which is electrically connected to the processor 130, and the number of the power systems corresponds to the number of the rotors of the multi-rotor aircraft 100, for example, a four-rotor aircraft includes four power systems, a six-rotor aircraft includes six power systems, and the like.
First embodiment
Referring to fig. 2, fig. 2 is a flowchart illustrating a control distribution method for a powertrain system according to a first embodiment of the present invention. The control distribution method of the power system comprises the following steps:
in step S101, a plurality of virtual control amounts are acquired.
In an embodiment of the present invention, the virtual control variables are calculated by virtual controllers on multi-rotor aircraft 100, which may be controllers that generate generalized force outputs, such as model-reference adaptive controllers, backstepping controllers, and dynamic inversion controllers. The virtual control commands include a roll torque command, a pitch torque command, a yaw torque command and a tension command.
Step S102, carrying out one-to-one amplitude limiting on the plurality of virtual control quantities by utilizing a plurality of preset maximum virtual control quantities which are in one-to-one correspondence with the plurality of virtual control quantities to obtain a plurality of amplitude limiting control quantities.
In the embodiment of the present invention, the preset maximum virtual control quantities are obtained by obtaining a plurality of maximum moments generated by actual outputs of all power systems in a time step and multiplying the maximum moments by preset safety factors, where the plurality of maximum moments include a maximum roll moment, a maximum pitch moment, a maximum yaw moment, and a maximum pulling force, and the preset safety factors may be, but are not limited to, values in (0, 1).
That is, firstly, the roll moment, the pitch moment, the yaw moment and the pulling force generated by the actual output of each power system in a time step are obtained; then, selecting the maximum rolling moment, the maximum pitching moment, the maximum yawing moment and the maximum pulling force from the rolling moment, the pitching moment, the yawing moment and the pulling force which are generated by the actual output of all power systems in time step length; and finally, multiplying the selected maximum rolling moment, maximum pitching moment, maximum yawing moment and maximum pulling force by a preset safety factor respectively to obtain a plurality of preset maximum virtual control quantities, wherein the plurality of preset maximum virtual control quantities comprise a rolling item, a pitching item, a yawing item and a pulling force item.
As an embodiment, the roll term, the pitch term, and the yaw term in the plurality of preset maximum virtual control amounts are all bidirectional parameters, and the pull term is a single parameter, that is, the roll term, the pitch term, and the yaw term are in the range of [ -1,1], and the pull term is in the range of [0,1] by using the normalization process.
In this embodiment of the present invention, the method for performing one-to-one clipping on the plurality of virtual control quantities may be: and determining a smaller one of the virtual control quantity and the corresponding preset maximum virtual control quantity as the amplitude limiting control quantity corresponding to the virtual control quantity. In other words, the roll moment instruction, the pitch moment instruction, the yaw moment instruction and the tension instruction are compared with the preset maximum virtual control quantities of the roll item, the pitch item, the yaw item and the tension item one by one to obtain a plurality of amplitude limiting control quantities, wherein the plurality of amplitude limiting control quantities comprise the roll item, the pitch item, the yaw item and the tension item.
That is to say, the roll moment instruction and the roll item preset maximum virtual control quantity, the pitch moment instruction and the pitch item preset maximum virtual control quantity, the yaw moment instruction and the yaw item preset maximum virtual control quantity, and the tension instruction and the tension item preset maximum virtual control quantity are respectively compared, the smaller one of the roll moment instruction and the roll item preset maximum virtual control quantity is selected as the roll item amplitude limiting control quantity, and the rest is done in sequence to respectively obtain the pitch item amplitude limiting control quantity, the yaw item amplitude limiting control quantity and the tension item amplitude limiting control quantity.
In the embodiment of the invention, the generalized force is used as the virtual control quantity, and the actually reachable change range of the virtual control quantity under the time step is estimated through the dynamic characteristic of the power system, so that each generalized force is subjected to preliminary amplitude limiting before control distribution, and each virtual control quantity can not exceed the actual capacity of the multi-rotor aircraft 100.
And S103, determining a control distribution matrix according to the mechanical model and the installation position of each power system.
In an embodiment of the invention, the mechanical model of each powertrain system may be a parameter reflecting a characteristic of the powertrain system, the mechanical model of the powertrain system including a powertrain force data table and a first order inertia time constant.
The power system force data table can represent the capability of the power system to generate tension and rotation resistance torque, the direction of the rotation resistance torque is opposite to the rotation direction of a propeller of the power system, and the power system force data table comprises propeller rotation speed (omega), tension (T), voltage (V) and current (A) corresponding to different power system control commands (delta).
The first order inertia time constant can represent the dynamic response capability of the power system, and the first order inertia time constant can be represented by KTimeAnd (4) showing. The first order inertia time constant, which is typically the time required for the test powertrain control command to reach 63% of the steady state speed when changing, may be obtained by measuring 63% of the time required for the powertrain speed to stabilize when the powertrain control command is output from a 0 step to a 1. Additionally, the powertrain control command (δ) may be, but is not limited to, a PWM pulse width.
In an embodiment of the invention, the mounting location of each power system comprises the wheelbase (L) of the power systemmotor) And mounting angle (χ)motor) Wherein wheelbase represents the linear distance of the power system to the center of gravity of multi-rotor aircraft 100; the setting angle represents the connection line between the projection point of the axis of the power system on the XY plane of the body coordinate system of the multi-rotor aircraft 100 and the center of gravity of the multi-rotor aircraft 100, and the sum angle in the positive direction of the X axis of the body coordinate system of the multi-rotor aircraft 100.
In the embodiment of the invention, after the mechanical model and the installation position of each power system are obtained, the system parameters and the position parameters corresponding to each power system are input into the preset power system estimation model to obtain the control distribution matrix, and the specific estimation process is shown in substeps S1031 to S1034.
Referring to fig. 3, step S103 specifically includes the following sub-steps:
and a substep S1031 of obtaining a mechanical model and an installation position of each power system, wherein the mechanical model comprises a first-order inertia time constant.
And a substep S1032 of optimizing the hovering state of the multi-rotor aircraft by using preset optimization targets and constraint conditions to obtain hovering control instructions corresponding to each power system.
In an embodiment of the invention, the predetermined powertrain system estimation model includes predetermined optimization objectives and constraints.
The preset optimization objectives include a first optimization objective and a second optimization objective, and particularly, the first optimization objective can be expressed as
Figure BDA0001522855670000081
Wherein m isUAVThe weight of multi-rotor aircraft 100 is indicated, i indicates the serial number of each power system,hoverindicating a hover condition, L, M, N represent the powered system generated roll, pitch, and yaw moments, respectively. The first optimization objective may be expressed as
Figure BDA0001522855670000082
The preset optimization condition comprises a first constraint condition and a second constraint condition, and the first constraint condition can be formulated by formula
Figure BDA0001522855670000083
Is represented by, whereinminAnd DRmaxRespectively a preset dynamic response lower limit value and a dynamic response upper limit value, KDR_TAnd KDR_TimeRespectively are preset tension weight factors and time constant weight factors. KDR_TAnd KDR_TimeThe method has two functions: first, the tension of each power systemNormalizing the relative size of the first-order inertia time constant; and secondly, the proportion of the time constant of the power system in the dynamic response of the power system is adjusted, if the specification difference of the power system is not large, the weight factor of the time constant of the power system can be set to be smaller, and if the specification difference of the power system is large, the weight factor of the time constant of the power system can be set to be larger.
The second constraint may be represented by the formula deltahover_mini_hoverhover_maxIs represented by, whereinhover_minAnd deltahover_maxThe control instruction lower limit value and the control instruction upper limit value of the power system are preset respectively. Deltahover_minAnd deltahover_maxThe control instruction of each power system in the hovering state is prevented from being too small or too large, so that the controllability of part or all of the power systems is lost due to saturation in the state adjustment process.
In the embodiment of the invention, a multi-objective multi-constraint global optimization algorithm can be adopted, preset optimization objectives and constraint conditions are utilized to optimize the hovering state of the multi-rotor aircraft 100, and after the optimization is completed, a reasonable hovering control instruction of each power system can be obtained.
And a substep S1033, estimating the control torque generated by each power system according to the hovering control instruction corresponding to the power system.
In an embodiment of the present invention, first, the X-axis moment arm and the Y-axis moment arm of each power system in the body coordinate system of multi-rotor aircraft 100 can be obtained according to the installation position of each power system. This process can be formulated using moment arm calculations
Figure BDA0001522855670000091
Performing a calculation wherein Li_motorFor each wheelbase, cos χ, of the powertraini_motorFor each power system mounting angle.
And then, after force data of each power system is calculated, setting the positive direction represented by the hovering control instruction corresponding to any one power system to be increased by 5% -30% according to the calculated hovering control instruction of each power system, keeping the hovering control instructions of other power systems unchanged, and estimating control torque generated by the power system according to the force data and the position parameters of the power system, wherein the control torque comprises pulling force, rolling force, pitching force and yawing torque.
As an embodiment, the control torque may be estimated using the following equation:
ΔTi=Ti_hover_+(5%~30%)-Ti_hover
ΔLi=ΔTi·Li_motor_Y
ΔMi=ΔTi·Li_motor_X
Di=Vi.Aii
ΔDi=Di_hover_+(5%~30%)-Di_hover
ΔNi=ΔDi
wherein, i _ hover _ + (5% -30%) represents that the positive direction represented by the hovering control instruction corresponding to any power system is increased by 5% -30%, delta represents the increment generated by increasing the positive direction represented by the hovering control instruction by 5% -30%, and T isi,Li,Mi,NiRespectively showing that the positive direction represented by the hovering control instruction corresponding to any one power system is increased by 5-30% to generate pulling force, rolling moment, pitching moment and yawing moment.
And a substep S1034, determining the control distribution matrix according to the control moment and the first-order inertia time constant of each power system.
In the embodiment of the invention, firstly, a static distribution matrix is obtained according to the control torque generated by each power system
Figure BDA0001522855670000101
Wherein L isi_B_s、Mi_B_s、Ni_B_s、Ti_B_sRoll moment, pitch moment, yaw moment and pulling force generated by each power system respectively; then, the time constant of each power system is determined according to the static distribution matrixCounting to obtain a dynamic distribution matrix BSD=BStaticBDynamicWherein, in the step (A),
Figure BDA0001522855670000102
Ki_Timea first-order inertia element time constant of each power system; finally, normalizing the dynamic distribution matrix, calculating the control distribution matrix, and normalizing the dynamic distribution matrix B in the four directions of rolling, pitching, yawing and pulling forceSDEach column of (1) takes infinite norm | · | | non-woven phosphorAnd dividing each column element by the corresponding infinite norm value to obtain the normalized control distribution matrix B.
And step S104, converting the plurality of amplitude limiting control quantities into virtual control commands of each power system by using the control distribution matrix.
In the embodiment of the present invention, the virtual control command may be, but is not limited to, a PWM pulse width.
And step S105, carrying out amplitude limiting on the virtual control instruction of each power system to obtain an amplitude limiting control instruction of each power system.
In the embodiment of the invention, after the virtual control command of each power system is obtained, the virtual control command of each power system needs to be limited, so that the maximum amplitude of the change of the rotating speed of the power system in a time step can be further limited, and the possible too fast change of the control command can be directly limited.
As an embodiment, taking a single power system as an example, the method for limiting the virtual control command of the power system may be: firstly, subtracting an actual control instruction of the power system from a virtual control instruction to obtain a control instruction change rate; then, comparing the control instruction change rate with the maximum control instruction change rate of the power system, and if the control instruction change rate is greater than the maximum control instruction change rate, the amplitude limiting control instruction of the power system is the product of the virtual control instruction superposition maximum control instruction change rate of the power system and the time step length; and if the control command change rate is smaller than the maximum control command change rate, the amplitude limiting control command of the power system is a virtual control command of the power system.
The method for obtaining the maximum control command change rate of a certain power system can be as follows: and taking the control command change rate corresponding to the maximum change rate generated by the actual output rotating speed of the power system in the time step as the maximum control command change rate.
It should be noted that, the above is a method for performing amplitude limiting on a virtual control command of a single power system, and the above method is used for performing virtual control command amplitude limiting on all power systems, so that an amplitude limiting control command of each power system can be obtained, and a specific process for performing amplitude limiting on a virtual control command of each power system is shown in substeps S1051 to substep S1054.
Referring to fig. 4, step S105 specifically includes the following sub-steps:
and substep S1051, obtaining a desired control torque for the multi-rotor aircraft.
In an embodiment of the invention, the desired control moments comprise a roll desired moment, a pitch desired moment, a yaw desired moment and a desired drag.
And a substep S1052, inputting the expected control torque into the control distribution matrix to obtain an actual control command of each power system.
In the embodiment of the invention, after the expected control torque and the control distribution matrix are obtained, the expected control torque is firstly distributed to each power system according to the control distribution matrix, and a static control instruction of each power system without considering the dynamic characteristic is obtained; then, adding a first-order inertia link to each static control command of the power system without considering the dynamic characteristics
Figure BDA0001522855670000121
And obtaining an actual control command of each power system.
And a substep S1053 of subtracting the actual control command and the virtual control command to obtain the control command change rate of each power system.
And a substep S1054 of performing amplitude limiting on the virtual control instruction of each power system by using the preset maximum control instruction change rate and the control instruction change rate of each power system to obtain the amplitude limiting control instruction of each power system.
In the embodiment of the invention, the control instruction change rate of each power system is compared with the maximum control instruction change rate; if the control instruction change rate of any power system is greater than the maximum control instruction change rate, the amplitude limiting control instruction of the power system is the product of the virtual control instruction superposition maximum control instruction change rate of the power system and the time step length; and if the control instruction change rate of any power system is smaller than the maximum control instruction change rate, the amplitude limiting control instruction of the power system is a virtual control instruction of the power system.
It should be noted that the maximum virtual control quantity and the maximum control command change rate in the embodiment of the present invention are both obtained in the vicinity of the hovering state of the multi-rotor aircraft 100, so that the influence of the nonlinear characteristics of the power system on the maximum virtual control quantity and the maximum control command change rate can be weakened.
Compared with the prior art, the power system control distribution method provided by the embodiment of the invention has the following beneficial effects:
1. the generalized force is used as the virtual control quantity, and the actually reachable change range of the virtual control quantity under the time step is estimated through the dynamic characteristic of the power system, so that each generalized force is subjected to preliminary amplitude limiting before control distribution, and each virtual control quantity can not exceed the actual capacity of the rotor craft 100.
2. By limiting the virtual control commands for each powertrain system, the maximum magnitude of change in powertrain system speed in time steps is further limited, thereby directly limiting the potential for excessive rapid changes in control commands.
3. Through twice amplitude limiting, the matching of the change amplitude of the virtual control quantity and the virtual control command within a certain time step and the actual dynamic response capability of the power system is realized, the sharp reduction of the phase margin caused by too fast response can be avoided, and the robustness of the multi-rotor aircraft 100 is improved.
Second embodiment
Referring to fig. 3, fig. 3 is a block diagram illustrating a power system control distribution device 200 according to a second embodiment of the present invention. The powertrain system control distribution apparatus 200 includes a virtual control quantity acquisition module 210, a first clipping module 220, a control distribution matrix determination module 230, a conversion module 240, and a second clipping module 250.
The virtual control amount obtaining module 210 is configured to obtain a plurality of virtual control amounts.
In the embodiment of the present invention, the virtual control amount obtaining module 210 may be configured to execute step S101.
The first amplitude limiting module 220 is configured to perform amplitude limiting on the multiple virtual control quantities one by using multiple preset maximum virtual control quantities one-to-one corresponding to the multiple virtual control quantities, so as to obtain multiple amplitude limiting control quantities.
In an embodiment of the present invention, the first clipping module 220 may be configured to perform step S102.
And the control distribution matrix determining module 230 is used for determining a control distribution matrix according to the mechanical model and the installation position of each power system.
In an embodiment of the present invention, the control allocation matrix determining module 230 may be configured to execute step S103.
In this embodiment of the present invention, the control allocation matrix determining module 230 may be specifically configured to execute sub-steps S1031 to S1034 of step S103.
And a conversion module 240, configured to convert the plurality of clipping control amounts into a virtual control command for each power system by using the control distribution matrix.
In this embodiment of the present invention, the converting module 240 may be configured to execute step S104.
And the second amplitude limiting module 250 is configured to amplitude limit the virtual control instruction of each power system to obtain an amplitude limit control instruction of each power system.
In an embodiment of the present invention, the second clipping module 250 may be configured to perform step S105.
In the embodiment of the present invention, the second slicing module 250 may be specifically configured to perform the sub-steps S1051 to S1054 of the step S105.
Also disclosed is a computer readable storage medium having a computer program stored thereon, which when executed by the processor 130, implements the powertrain control allocation method disclosed in the first embodiment of the present invention.
In summary, the embodiment of the present invention provides a control distribution method for a power system and a related apparatus, where the method includes: acquiring a plurality of virtual control quantities; carrying out one-to-one amplitude limiting on the plurality of virtual control quantities by utilizing a plurality of preset maximum virtual control quantities which are in one-to-one correspondence with the plurality of virtual control quantities to obtain a plurality of amplitude limiting control quantities; determining a control distribution matrix according to the mechanical model and the installation position of each power system; converting the plurality of amplitude limiting control quantities into virtual control commands of each power system by using the control distribution matrix; and carrying out amplitude limiting on the virtual control instruction of each power system to obtain an amplitude limiting control instruction of each power system. According to the embodiment of the invention, a plurality of virtual control quantities are obtained, and a plurality of preset maximum virtual control quantities corresponding to the virtual control quantities one by one are utilized to carry out one-to-one amplitude limiting on the virtual control quantities to obtain a plurality of amplitude limiting control quantities, so that each amplitude limiting control quantity can not exceed the actual capacity of the multi-rotor aircraft; and then, determining a control distribution matrix according to the mechanical model and the installation position of each power system, converting a plurality of amplitude limiting control quantities into a virtual control instruction of each power system by using the control distribution matrix, and then carrying out amplitude limiting on the virtual control instruction of each power system, so that the possible over-fast change of the virtual control instruction is directly limited, and the amplitude limiting control instruction of each power system is obtained. According to the embodiment of the invention, through twice amplitude limiting, the matching of the change amplitude of the virtual control quantity and the virtual control command within a certain time step and the actual dynamic response capability of the power system is realized, the sharp reduction of the phase margin caused by too fast response can be avoided, and the robustness of the multi-rotor aircraft is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (10)

1. A powertrain control distribution method for a multi-rotor aircraft including a plurality of powertrains, the method comprising:
acquiring a plurality of virtual control quantities;
carrying out one-to-one amplitude limiting on the plurality of virtual control quantities by utilizing a plurality of preset maximum virtual control quantities which are in one-to-one correspondence with the plurality of virtual control quantities to obtain a plurality of amplitude limiting control quantities, wherein the plurality of preset maximum virtual control quantities are obtained by obtaining a plurality of maximum moments generated by actual outputs of all power systems in a time step and multiplying the maximum moments by preset safety factors respectively; the plurality of maximum moments comprise a maximum roll moment, a maximum pitch moment, a maximum yaw moment and a maximum pull force;
determining a control distribution matrix according to the mechanical model and the installation position of each power system;
converting the plurality of amplitude limiting control quantities into virtual control commands of each power system by using the control distribution matrix;
and carrying out amplitude limiting on the virtual control instruction of each power system to obtain an amplitude limiting control instruction of each power system.
2. The method of claim 1, wherein the preset maximum virtual control quantities are obtained by obtaining maximum moments generated by actual outputs of all power systems in a time step and multiplying the maximum moments by preset safety factors.
3. The method according to claim 2, wherein the step of performing one-to-one clipping on the plurality of virtual control quantities using a plurality of preset maximum virtual control quantities corresponding to the plurality of virtual control quantities one to obtain a plurality of clipping control quantities comprises:
and determining a smaller one of the virtual control quantity and the corresponding preset maximum virtual control quantity as the amplitude limiting control quantity corresponding to the virtual control quantity.
4. The method of claim 1, wherein the step of determining a control distribution matrix based on the mechanical model and the installation location of each powertrain system comprises:
acquiring a mechanical model and an installation position of each power system, wherein the mechanical model comprises a first-order inertia time constant;
optimizing the hovering state of the multi-rotor aircraft by using a preset optimization target and a preset constraint condition to obtain a hovering control instruction corresponding to each power system;
estimating control torque generated by each power system according to the hovering control instruction corresponding to the power system;
and determining the control distribution matrix according to the control moment and the first-order inertia time constant of each power system.
5. The method of claim 4, wherein the step of clipping the virtual control command for each powertrain system to obtain a clipped control command comprises:
obtaining a desired control moment of the multi-rotor aircraft;
inputting the expected control torque into the control distribution matrix to obtain an actual control command of each power system;
subtracting the actual control instruction from the virtual control instruction to obtain the control instruction change rate of each power system;
and carrying out amplitude limiting on the virtual control instruction of each power system by utilizing the preset maximum control instruction change rate and the control instruction change rate of each power system to obtain the amplitude limiting control instruction of each power system.
6. The method of claim 5, wherein the step of clipping the control command rate of change for each powertrain system using a predetermined maximum control command rate of change to obtain a clipped control command for each powertrain system comprises:
comparing the control instruction change rate of each power system with the maximum control instruction change rate;
if the control instruction change rate of any power system is greater than the maximum control instruction change rate, the amplitude limiting control instruction of the power system is the product of the virtual control instruction superposition maximum control instruction change rate of the power system and the time step length;
and if the control instruction change rate of any power system is smaller than the maximum control instruction change rate, the amplitude limiting control instruction of the power system is a virtual control instruction of the power system.
7. A powertrain control distribution apparatus for a multi-rotor aircraft including a plurality of powertrains, the apparatus comprising:
the virtual control quantity acquisition module is used for acquiring a plurality of virtual control quantities;
the first amplitude limiting module is used for carrying out one-to-one amplitude limiting on the plurality of virtual control quantities by utilizing a plurality of preset maximum virtual control quantities which are in one-to-one correspondence with the plurality of virtual control quantities to obtain a plurality of amplitude limiting control quantities, wherein the plurality of preset maximum virtual control quantities are obtained by obtaining a plurality of maximum moments generated by actual outputs of all power systems in a time step and multiplying the maximum moments by preset safety factors respectively; the plurality of maximum moments comprise a maximum roll moment, a maximum pitch moment, a maximum yaw moment and a maximum pull force;
the control distribution matrix determining module is used for determining a control distribution matrix according to the mechanical model and the installation position of each power system;
the conversion module is used for converting the plurality of amplitude limiting control quantities into virtual control instructions of each power system by using the control distribution matrix;
and the second amplitude limiting module is used for carrying out amplitude limiting on the virtual control instruction of each power system to obtain the amplitude limiting control instruction of each power system.
8. The apparatus of claim 7, wherein the preset maximum virtual control quantities are obtained by obtaining maximum moments generated by actual outputs of all power systems in a time step and multiplying the maximum moments by preset safety factors.
9. A multi-rotor aircraft, comprising a plurality of power systems, the multi-rotor aircraft further comprising:
one or more processors;
memory storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201711420446.XA 2017-12-25 2017-12-25 Power system control distribution method and related device Active CN108170030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711420446.XA CN108170030B (en) 2017-12-25 2017-12-25 Power system control distribution method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711420446.XA CN108170030B (en) 2017-12-25 2017-12-25 Power system control distribution method and related device

Publications (2)

Publication Number Publication Date
CN108170030A CN108170030A (en) 2018-06-15
CN108170030B true CN108170030B (en) 2021-04-16

Family

ID=62520201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711420446.XA Active CN108170030B (en) 2017-12-25 2017-12-25 Power system control distribution method and related device

Country Status (1)

Country Link
CN (1) CN108170030B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11347242B2 (en) 2019-08-05 2022-05-31 The Boeing Company Methods and apparatus for flight control prioritization
CN112817338B (en) * 2021-04-16 2021-07-09 北京三快在线科技有限公司 Unmanned aerial vehicle control method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997020734A2 (en) * 1995-12-06 1997-06-12 Mc Donnell Douglas Corporation Flight control system for jet powered tri-mode aircraft
CN104691742A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Control method for application resistance rudder of unmanned aerial vehicle with flying wing configuration
CN106773701A (en) * 2016-12-30 2017-05-31 中国人民解放军国防科学技术大学 A kind of control passage rudder instructs the real-time optimization method of amplitude limit
CN106970633A (en) * 2017-05-08 2017-07-21 中国工程物理研究院总体工程研究所 Suppress the flight control method of control input saturation
CN106990790A (en) * 2017-06-06 2017-07-28 成都纵横自动化技术有限公司 A kind of anti-saturation multi-rotor aerocraft control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997020734A2 (en) * 1995-12-06 1997-06-12 Mc Donnell Douglas Corporation Flight control system for jet powered tri-mode aircraft
CN104691742A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Control method for application resistance rudder of unmanned aerial vehicle with flying wing configuration
CN106773701A (en) * 2016-12-30 2017-05-31 中国人民解放军国防科学技术大学 A kind of control passage rudder instructs the real-time optimization method of amplitude limit
CN106970633A (en) * 2017-05-08 2017-07-21 中国工程物理研究院总体工程研究所 Suppress the flight control method of control input saturation
CN106990790A (en) * 2017-06-06 2017-07-28 成都纵横自动化技术有限公司 A kind of anti-saturation multi-rotor aerocraft control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
含控制分配的六基于RMPC的高超声速飞行器输入饱和控制;胡超芳,等;《航天控制》;20160415;全文 *

Also Published As

Publication number Publication date
CN108170030A (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN108803645B (en) Forced landing method and device for unmanned aerial vehicle, automatic pilot and unmanned aerial vehicle
CN106843245B (en) Unmanned aerial vehicle attitude control method and device and unmanned aerial vehicle
CN110989640B (en) Flight control method, aircraft and flight system
CN107943089B (en) Multi-specification power system control distribution method and related device
CN106842905B (en) PID control method and device
CN105222742A (en) Slurry is apart from fault detection system and method
CN109441721B (en) Auxiliary control method and device for reducing fan load under gust wind condition and fan controller
CN104699108A (en) Multi-rotor craft control allocation method
CN108170030B (en) Power system control distribution method and related device
US20230315124A1 (en) Multi-rotor unmanned aerial vehicle and control method thereof, control apparatus and computer-readable storage medium
EP3384361A1 (en) Multirotor aircraft control systems
CN112327902A (en) Method and apparatus for flight control prioritization
CN111522356A (en) Strong-robustness full-envelope integrated control method for tilt rotor unmanned aerial vehicle
CN105182990A (en) Robust control method of three-DOF model helicopter with output limits
CN108196557B (en) Unmanned aerial vehicle control method and device
CN114610055A (en) Aircraft control method and aircraft
CN113325861A (en) Attitude tracking control method for non-singular preset time quad-rotor unmanned aerial vehicle
CN107804192B (en) It is anti-to slip by slope control method, device and electric vehicle
CN108303878B (en) Bandwidth constraint calculation method and device for large envelope flight control
Liu et al. Constraint management for quadcopter drones: Reference governor-based approaches
CN117806357A (en) Method and device for determining flying object attitude, electronic equipment and storage medium
CN113110578B (en) Unmanned aerial vehicle control method, system and device
Zhou et al. Observer based fault-tolerant attitude control of a quadrotor UAV and an application
CN116700305A (en) Wind resistance control method and device for tunnel unmanned aerial vehicle
JP7351012B2 (en) Vehicle weight estimation method, device, electronic device, storage medium and computer program

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 801-805, 8 / F, zone a, building 3, No. 200, Tianfu 5th Street, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone

Applicant after: CHENGDU JOUAV AUTOMATION TECHNOLOGY Co.,Ltd.

Address before: 610000 Sichuan hi tech Zone Tianfu five street, No. 200 Jing Rong international square 6A7 building

Applicant before: CHENGDU JOUAV AUTOMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 7 / F, area a, building 6, No. 200, Tianfu 5th Street, high tech Zone, Chengdu, Sichuan 610000

Patentee after: CHENGDU JOUAV AUTOMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: Room 801-805, 8 / F, area a, building 3, 200 Tianfu 5th Street, Chengdu hi tech Zone, 610000 China (Sichuan) pilot Free Trade Zone

Patentee before: CHENGDU JOUAV AUTOMATION TECHNOLOGY Co.,Ltd.

Country or region before: China