Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Thesis - Beaver simulation

.pdf
Скачиваний:
38
Добавлен:
19.02.2016
Размер:
5.22 Mб
Скачать

Chapter 4

67

S-functions can be connected to eachother in a separate block-diagram, and each (sub-) model can easily be updated without affecting the total simulation structure. The use of different S-functions is particulary recommended for large models, which contain many levels. In the previous section, it was shown that the model of the aircraft dynamics itself is indeed very complicated.

In this report, separate libraries with models of wind, atmospheric turbulence, ILS signals, and VOR signals will be created. All models will be described in detail in appendix F. Similarly to the aircraft model, the equations of the other models will be implemented as SIMULINKFunction blocks, which will be grouped together in 'basic' blocks or subsystems. Figure 4-8 shows how the models of the aircraft dynamics, disturbances, navigation signals, and control loops can be connected together in a modular way. In part I1 of this report, a similar structure, containing the control laws of the 'Beaver' autopilot, the model of the 'Beaver' dynamics, Flight Control System models, and external disturbances, will be treated in more detail.

Contrary to the nonlinear aircraft model of figure 4-2, control laws are often based upon deviations from nominal values of the control variables in stead of the actual values of these signals. Thus, control loops use the difference between the outputvector from the aircraft model and the initial (= trimmed) value of this outputvector, y - yo,in stead of y itself to compute the control signals Au. If the control signals are fed back to the aircraft model, it is necessary to add the initial values of the input signals uoto Au. This is not necessary if a linear small-perturbations model of the aircraft is used in stead of the complete nonlinear aircraft model. In that case, the whole structure presented in section 4.2 can be replaced by one linear state-space block only! The use of trimmed values of the states and inputs for linear and nonlinear aircraft models will be illustrated in chapter 6.

 

-I

position/

Naviga-

1

Wind and disturbances

 

tional

turbulence

 

AlRCRAFT l-t

aids

 

 

signals

I

 

 

 

states

Control loops wNavi ation si nals

Figure 4-8. Model structure for simulation of an aircraft, equipped with an automatic controller, and affected by external disturbances.

Because of the modular structure, it is very easy to include other types of external disturbances, (eg. wing icing, walking passengers, etc.), navigational signals (eg. GPS signals), or additional contributions to the forces and moments (eg. wing flexibility) into the simulation model. Moreover, the whole collection of MATLABtoolboxes can be accessed, so the model structure can also be used for other applications, such as parameter estimation, using the SYSTEM IDENTIFICATIONTOOLBOX.

4.4 Conclusions.

The model of the aircraft dynamics can be divided into a number of submodels. Using the block-diagram representation of SIMULINK,a very flexible model structure has been created. Some models of external disturbances and navigational signals have been added to the simulation structure because they are often used for the assessment of the flying qualities of aircraft and the performance of automatic controllers. Models of other external disturbances or navigational aids can be included in a straighforward way. The block-oriented environment makes it easy to evaluate different solutions to typical control problems in a short time, without many programming efforts. Moreover, the aircraft trim and linearization routines have further integrated nonlinear and linear control system design and analysis.

Chapter 5

71

Chapter 5. Assessment of the SIMULINKimplementation of the 'Beaver' model.

5.1 Introduction

In this chapter, some open-loop results, obtained with the SIMULINKmodels of the 'Beaver' will be analyzed. First, some basic properties of the aerodynamic and engine models will be shown. Section 5.3 gives some linear and nonlinear open-loop responses, which should match similar results from refs.[6] and [18]. In section 5.4, open-loop turbulence responses will be shown, and finally, some results of basic open-loop analysis of the linearized 'Beaver' model will be given. Chapter 6 shows how the results from this chapter were created.

5.2 Results from the aerodynamic and engine models.

Of course, the primary contributions to the aerodynamic forces and moments are functions of the angle of attack a and the sideslip angle p. In ref.[30], graphs in which the aerodynamic forces and moments have been plotted as a

dpt - 0 dpt = 0.5 dpt = 1.0

Figure 5-1. Force and moment coefficients of the nonlinear 'Beaver' model as functions of a and p. Compare with figures 4 and 5 of ref.[30].

function of a and have been given. The engine forces and moments depend largely upon the dimensionless pressure increase across the propeller, dpt. In the plots of ref.[30], this influence has been shown too. Both results from the ~ o r t r a nimplementation of the aerodynamic and engine forces & moments models, which form a part of the DUT-flightsimulator software, and results from windtunnel experiments have been given in ref.[30].

Figure 5-1 shows the same graphs, calculated with the SIMULINKversion of these models. The symmetric force and moment coefficients Cxa + Cxt, CZa+ Czt, and Cm + Cmthave been plotted against a and the asymmetric force and moment coefficients Cya + Cyt, Cia + C1,and C, + C,, have been plotted against f3 for three different values of dpt. h e s e g-raphsdiffer from the results obtained with the DUT-flightsimulator models, because in ref.[30], the angle of attack and sideslip angle have been incorrectly converted from radians to degrees before the plots were made I). Figure 5-1 shows the correct graphs, which also better match the results from windtunnel measurements (ref.[30])!

5.3 Assessment of open-loopresponses computed with the new SIMULINKmodels.

In refs.[6] and [I€!], some open-loop responses of the 'Beaver', calculated with the DUT-flightsimulator software, were presented. Figures 5-2 to 5-4 show the same responses, created with the nonlinear SIMULINK'Beaver' model and a version of this model which was linearized from within SIMULINKThe. trim values of the input and state variables were computed with the aircraft trim routine ACTRIM. Table 5-1 lists the initial conditions for steady level flight, Vo = 45 m/s, Ho = 6000 ft. This trim routine, which can be applied to the SIMULINKimplementation of the 'Beaver' model will be described in appendix E and section F.2.7 of appendix F.

Figures 5-5 to 5-7 show open-loop responses to a flap deflection of 3 degrees within 3 seconds, a change in engine speed of 200 rotations per minute within 4 seconds, and a change in manifold pressure of 2 inch Hg within 2 seconds, respectively. Ref.[l8] gives the same responses, calculated with the flightsimulator software. Although the scaling of the plots differs from refs.[6] and [18], to show more details of the aircraft responses, the results are exactly the same. This means that the most important blocks in the 'Beaver' model, i.e., the aerodynamic model, atmosphere model, basic airdata equations, engine forces and moments model, and the state equations themselves have been implemented correctly. The new SIMULINKmodel gives the same results as the M-file implementation from ref.[25], but compared with that model, all openloop calculations are approximately 3 to 5 times as fast (depending upon the integration method and required stop-time of the simulations).

The linear open-loop responses from figures 5-2 to 5-7, have been created by applying the SIMULINKlinearization tool LINMOD to the nonlinear 'Beaver' model in SIMULINKThe. results match the nonlinear responses remarkably well, even though no efforts have been made to find out which linearization

Indeed, the software, which was used to create the figures in ref.[30] converted the results from radians to degrees by multiplying with 18012~~instead of 180/~c!This error was made when preparing the plots from ref.[30], so the flightsimulator models themselves are correct, giving the same results as figure 5-I!

Chapter 5

73

options (perturbation levels, linearization algorithm, etc.) give the best performance I). The largest differences can be found in the lateral-longitudinal cross-coupling effects from figures 5-3 and 5-4. The longitudinal-lateral crasscoupling is quite good, especially in figure 5-2. Although there is often some phase shift of the phugoid in linear responses to lateral inputs (compared with the nonlinear results), the lateral responses to lateral inputs match perfectly, as do longitudinal responses to longitudinal inputs.

Note that the time-trajectory of x, is not accurate. This is due to the smallperturbation character of the linear responses: integrating the deviation of the nominal airspeed yields a result which differs a lot from the integral of the actual airspeed! Since the time-trajectory of ye is also not very accurate, the linearized x, and ye-equations shouldn't be used for navigation purposes. For non-turning flights, x, can be approximated by: x, (t) = y (10) + V, *t,where y(10) is the time-trajectory of the tenth output from the state-space model, Ax, (use x, (t) = y (10) + (V, cos a, sin $, ) t if the equilibrium values of a and/or

differ a lot from zero).

The initial condition, which was computed with the trim routine ACTRIM, (see appendix E and section F.2.7 of appendix F) yielded the same results as ref.[30]. This gives us an additional validation of the SIMULINK'Beaver' model. And since the SIMULINKand Fortran versions of the same model have been developed fully independently, this check also raises the confidence in the Fortran programs. It is highly unlikely that the same mistakes are made twice!

Figures 5-2 to 5-7 clearly show the characteristic motions of the 'Beaver'. In figure 5-2, the short-period mode is visible in the a, q, and e plots and also in the f3, p, r, and cp plots, due to longitudinal-lateral cross-coupling. For the 'Beaver', the lateral responses to the longitudinal block-shaped elevator deflection A6, are quite large. One should realize this when using simplified 'Beaver' models, which assume that the longitudinal and lateral dynamics are independent of eachother. The phugoid, a n oscillation with a period of about 23 seconds, is clearly visible in the responses to the elevator deflection, shown in figure 5-2. It is also clearly present in the responses to aileron and rudder deflections, shown in figures 5-3 and 5-4, which again proves the significance of cross-coupling effects for the 'Beaver'.

The Dutch-roll and spiral modes can be distinguished easily in figures 5-3 and 5-4. The 'Beaver' behaves quite well in this respect, since the Dutch-roll mode is strongly damped and the spiral mode is (just) stable. The roll subsidence mode is hardly visible in these plots; only t h e p and cp-responses in figure 5-3 show some influence of this characteristic motion. The influence of the roll subsidence mode would probably have been more clearly in these plots if a step-shaped input to the ailerons would have been applied in stead of a blockshaped deflection of the ailerons.

In figure 5-5, the response of the 'Beaver' to a flap deflection of 3 degrees within 3 seconds is shown. Again, the phugoid is visible in both longitudinal and lateral motion variables. The airspeed varies significantly after application of the flap deflection. The mean value of the airspeed drops slightly, and the

In this report, the linearization blocks and plots with responses of the linear aircraft model have been included to illustrate the principle of linearization in SIMULINK,not to find out which linearization method or options give the best results. However, the differencesbetween linear and nonlinear responses are already quite small!

final value of the angle of attack is larger than without flap deflection. This figure again clearly proves the significance of the longitudinal-lateral crosscoupling for the 'Beaver': due to the flap deflection, the aircraft starts to roll with a roll angle of approximately 10 degrees, and the sideslip angle becomes more negative. The change in cp is due to the negative value of Cl,,t (both a and dpt increase after the flap deflection).

Figures 5-6 and 5-7 show the responses of the 'Beaver' to a n increase in engine speed and manifold pressure, respectively. These two inputs yield almost identical responses, as can be expected, because in both cases the resulting increase in engine power P, and hence, the increase in manifold pressure Apt, causes the changes of the forces and moments. The mean airspeed grows somewhat, the angle of attack becomes smaller. The value of dpt increases due to the larger engine power, even though the airspeed increases too. Again, this yields a larger sideslip angle (more negative), and the aircraft starts to roll.

Variable:

6,

I

Value a t t = 0 sec:

45

m/s

0.1444

rad

-0.0147

rad

0

rad/s

0

rad/s

0

rad/s

0

rad

0.1444

rad

0

rad

0

m

0

m

6000 ft = 1828.8 m

-0.0425

rad

0.009 1

rad

I

rad

rad

"Hg

RPM

Table 5-1. Initial conditions for V = 45 m/s, H = 6000 ft, obtained with the trim routine ACTRIM (compare with ref.[30]).

Chapter 5

75

The responses illustrate the most important characteristia of the motions of the 'Beaver'. In particular, the strong longitudinal-lateral cross-coupling, and the strong influence of the engine and slipstream effects, are clearly visible. As stated in ref.[l8], the responses obtained with the nonlinear 'Beaver' model do resemble the actual motions of the aircraft quite well.

5.4 Open-loopresponses to atmospheric turbulence.

Figures 5-8 to 5-11 show open-loop responses of the 'Beaver' to atmospheric turbulence. The turbulence has been modelled as white noise, passing through Dryden filters, with Lg = 300 m, and a, = 1m/s. The coefficients of these filters are a function of the airspeed V, but for these plots, the values of the filter coefficients for V = 45 m/s were used. The initial altitude H, was equalled to 2000 ft in stead of the 6000 ft used in section 5.3, but this doesn't really matter for the evaluation of the responses.

It is not possible to compare the results from figures 5-8 to 5-10 rightaway with similar responses presented in ref.[24], because there are some significant differences in the definitions of the variables. Firstly, ref.[24] uses linear aircraft models, which express the motions of the aircraft in terms of small perturbations from an equilibrium condition. Furthermore, in ref.[24] the contributions of the turbulence velocity components to the angle of attack, sideslip angle, and true airspeed are treated as separate state variables (called a,, p, , and u,). Here these contributions are simply included in a, p, and V.

If we now compare figures 5-8 to 5-11 with responses given in ref.[24], we find some differences:

The frequency of the r-response to vertical or longitudinal turbulence (figures 5-8 and 5-10) is larger than the frequency of the p-response, contrary to ref.[24], where the frequency of the p-response was always larger than the frequency of the r-response. However, the responses to lateral turbulence (figure 5-9) are consistent with the results from ref.[24].

The influence of vertical turbulence to the cp-response (figure 5-10) and the amplitude of the high-frequency fluctuations in cp (figure 5-9) are both larger than in ref.[24].

The v, cp, and r-responses to longitudinal, vertical, and lateral turbulence, clearly show the influence of the spiral mode, whereas this influence is not so obvious in the results from ref.[24].

The frequency of the q-response to longitudinal and vertical turbulence is quite large, compared with ref.[24].

Most results, however, are consistent with ref.[24]. The longitudinal variables H and 0 clearly show the influence of the phugoid, which is initiated by longitudinal, vertical, and lateral turbulence. In figures 5-8 to 5-11, as well as in ref.[24], the amplitude of the phugoid tends to grow in time. As can be expected, the phugoid is most strongly excited by vertical turbulence, the longitudinal motion variables vary most strongly for vertical or longitudinal turbulence, and the lateral motion variables vary most strongly for lateral turbulence.

Furthermore, the longitudinal responses to longitudinal or vertical turbulence, and the lateral responses to lateral turbulence are of the same order of magnitude as the corresponding results from ref.[24]. The remaining differences are largely caused by the cross-coupling of longitudinal and lateral motions

of the aircraft, which has been neglected in ref.[24].

The responses of the 'Beaver' to atmospheric turbulence, calculated with the nonlinear aircraft model from appendix A and the Dryden turbulence model from appendix B, seem to be quite reasonable. For this reason, the current models can be used to analyze the behaviour of an AACS under external atmospheric disturbances. But remember that a large number of approximations have been made in the derivation of the mathematical models, so it might be necessary to use actual measurements of turbulence or more accurate models for some purposes.

5.5 Open-loopanalysis of the linearized 'Beaver' model.

It is very easy to create a linear state-space aircraft model, based upon the nonlinear SIMULINKimplementation of the aircraft model, by first trimming the system with the routine ACTRIM ('Aircraft trim', see chapter 6, appendix E, and section F.2.7) and then using the routine ACLIN ('Aircraft linearization', see chapter 6 and section F.2.7), which is based upon the standard SIMULINK linearization command. The resulting linear aircraft model can be used for control system design, but here, we will limit ourselves to the determination of some basic open-loop properties.

The flight-condition from table 5-1 will be used here to further analyze the 'Beaver' dynamics. This flight-condition has been defined before applying the linearization tool ACLIN to obtain linear models for the longitudinal and lateral aircraft dynamics. The resulting state-space matrices are given in table 5-2; table 5-3shows some basic properties of this system. Apart from the crosscoupling, which was neglected to produce these results, it can be concluded that the results are in accordance with the time-responses of the system. The phugoid and the spiral mode are both marginally stable. Also notice the relatively large damping constant of the Dutch-roll!

 

 

-3.8930.10~

5.4535.10°

-4.0758.10-' -9.8000.10°

 

-6.0796.10-'

-1.6817*10 O

 

 

-8.3760 .lo4

-1.2854 -10 O

9.7640

-lo-' -1.0893 .lo4

; B,

-9.2937

*lo"

-3.6313 .lo-'

A,,

=

1.3905.10"

-6.7369.10 O

-3.0292

-10 O

0

=

.I0 ' 2.2471 -10 O

 

 

 

-1.0601

 

 

0

0

1.0000-10O

0

 

0

 

0

( k r e : ,,x

= [ V a q e l T ; uaF = [a , a,]'; yam = ),x,,

Table 5-2. State-space matrices of linear 'Beaver' model, derived from the nonlinear SIMULINKmodel with ACLIN.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]