03033511
J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011 259
Teixeira A.J.
where:
Actuators: represents the actuators units used to change The payload mathematical model, according to Cornelisse,
the payload angular velocity. Schöyer and Wakker (1979), is represented here by a linear
time invariant system of a rigid body, symmetric around
One method to develop a control system for on/off body X axis. For microgravity experiments, the payload is
actuators can be found in minimum-time problem, in controlled only during its ballistic trajectory phase above
optimal control theory. This method permits to calculate the atmosphere when its influence can be neglected;
the optimal time to turn on and off the actuators and, therefore, no external perturbation is considered. Based
consequently, to get the optimal payload trajectory in the on these simplifications, the payload model can be
state space. Based on this, it will be developed a modified represented by Eq. 2:
method that uses the initial conditions for an optimal
trajectory to create or adjust a switching function. ¬ lx ¼
[ p ' ] = [0 ] p + I ½ 2Fa
Minimum-time problem has a good performance when ® xx ¾ (2)
the parameters of a dynamic system are well known, but
this performance is affected when there are parameter where:
uncertainties. Therefore, the switching function must be
created or adjusted to these uncertainties in real time. p: roll angular velocity (“roll-rate”), in [rad/s];
lx: arm of the actuator force, in [m];
In this paper, it will be shown the performance and how Ixx: inertial momentum around body X axis, in [Kg m2];
to adjust the RCS control algorithm for the following Fa: force of each actuator, in [N], perpendicular to the
parameter uncertainties: payload mass, payload inertial body X axis. The actuator force is multiplied by two
momentum, actuator torque level, and/or actuator response because there are two actuators for roll control, one
delay. This control algorithm also has the advantage that it at each opposite side of payload skin, to avoid body
does not require great effort in processing. translation.
260 J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011
Rate control system algorithm developed in state space for models with parameter uncertainties
To design the RCS it was considered that the payload can be incorporated into the model. Considering model
mathematical model parameters have the values given by uncertainties structured, the LTI model can be represented
Eq. 3: by Eq. 5:
The actuator mathematical model is represented here by an ∆A, ∆B and ∆C denotes plant parameter uncertainties,
on/off second order system, with the following parameters: ∆u is the input parameter uncertainty,
steady state force of 2 N, rise time (tr) of 50 ms, at 10% of sa is the sensor additive noise measurement.
steady state error, and damping ratio of 1.0; and an on/off
input control ua. The hysteresis and the electromechanical
delay that may affect the actuator response are not considered. RCS DESIGN
Based on these simplifications, the actuator model can be
To explore the performance of the CGS, it is necessary to
represented by the LTI of Eq. 4 (Ogata, 1982):
control the actuator during its steady state and its transient
response. The problem is how to calculate the moment
¬x 'a 1 ¼ ¬ 0 1 ¼ ¬x a1 ¼ ¬ 0 ¼
½= and pulse width to be applied to the actuator for these
½ ½+ ½ ua completely different behaviors.
®x 'a 2 ½¾ ®-6006.25 -155 ¾ ® x a 2 ½¾ ®6006.25 ¾
¬ x a1 ¼ There are many methods to design a control law for
Fa = ¬® 1 0 ¼¾ ½ (4)
an on/off actuator. Bryson and Ho (1997) presented
® x a 2 ½¾
a design, using the minimum-time problem method
in state space to get the optimal trajectory. As there
where: are parameter uncertainties in the mathematical
xa: actuator state vector; models, it was used this concept to develop a control
ua: input control: value 1 (Actuator ON) and value 0 algorithm that the control law could self adjust to these
(Actuator OFF); and parameters in real time. Some generic cases of phase
Fa: actuator force, in [N]. plane approach can be found in Ogata (1982) and of
state space approach can be found in Takahashi, Rabins
The actuator response to unitary pulse width command of and Auslander (1972).
0.3 s is shown in Fig. 2. The input signal is represented by
a black dash line and the actuator force response by the
blue solid line. Switching function design
1
Choosing the state variable p and p’ for the state space,
0.5 the optimal trajectory is that one, which takes the payload
state from an initial state to a final one, considered here
0 the origin of state space, in minimum time. As can be seen
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 in Fig. 2, after turning off the actuator there is a residual
Time [s]
thrust that affects the payload state. Therefore, for the
Figure 2. Actuator response to the unitary pulse. system control purpose this residual thrust need to be
considered when getting optimal trajectory. Considering
Model parameter uncertainties that the actuator is turned off during its positive or negative
steady state, it can be obtained two optimal trajectories
If uncertainties about the model or unmeasured inputs to from these respectives payload mathematical model states
the process are structured (Frisk, 1996), that is, it is known towards the state space origin. These optimal trajectories
how they enter at the system dynamics; this information are shown in Fig. 3.
J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011 261
Teixeira A.J.
0.08
as those used for the payload and actuator mathematical
models. Therefore, the switching function presented in
0.06
Fig. 5 will not keep the performance designed for the
0.04
RCS. Thus, this algorithm must be adjusted to these
0.02
p’ [rad/s/s]
unknown values.
0
-0.02 The dynamic behavior of the real payload will be only
-0.04 obtained during the moment that it receives any input
-0.06 command, therefore, the switching function must be
-0.08 created or adjusted in real time. The easiest way to create
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2 it will be through linear segments connecting each point
p [rad/s] x 10-3
obtained for the switching function. Therefore, to begin this
Figure 3. Optimal trajectory that moves the payload mathematical process the switching function is initially represented by
model state vector to the state space origin. two linear segments, one between the points in state space
(‑pMax, p´Max) and (0, 0) and another between points (0, 0)
These optimal trajectories could be used as a decision for and (pMax, ‑ p´Max). These segments are the initial conditions
the control algorithm only if the actuator was turned off for the optimal trajectory from Fig. 5. Additional points
from its steady state, but as it is desired to explore the CGS shall be added or adjusted after each measure of the state
performance, the RCS control algorithm needs to operate vector error, which will be explained later.
also during the actuator transient response, therefore, it is
necessary to build the optimal trajectories for various pulse 0.08
width command during the actuator transient response.
0.06
0.04
Figure 4 shows the angular acceleration of the payload
mathematical model, in time, when the actuator is turned 0.02
p’ [rad/s2]
-0.02
0.08 -0.04
0.07
-0.06
0.06
-0.08
0.05 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2
x 10-3
p’ [N]
0.04 p [rad/s]
0.03
0.02 Figure 5. Switching function to control the payload when
0.01 its actuator is commanded during its transient
response.
0
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Time [s] After several simulations, it was observed that the
Figure 4. Angular acceleration of the payload mathematical final conditions of the switching function for the RCS
model for three different pulse width commands algorithm needed to be changed a little bit and had to to
during the actuator transient response. be added some inequality constraints (Bryson et al., 1997)
to compensate the simulation step and to reduce the limit
Through several simulations, with various pulse width cycle amplitude, when angular velocity of the payload
for the actuator operating in its transient response, and mathematical model is close to zero. These inequality
rebuilding the respective optimal trajectories, it is possible constraints and the switching function compound a
to get the initial condition, where the actuator should be decision function that will generate the conditions to turn
turned off. By interpolating all initial conditions, it is on or off the actuator.
possible to obtain one curve that will split the state space
where the actuator must be turned on or off. This curve will Using the state space approach, the control system
be called switching function and it is shown in Fig. 5. algorithm only needs to test the payload state vector
against the decision function instead of spending a lot
of processing in integrating and calculating the width
Control law design and the instant that each pulse should be applied to the
actuators. To describe the decision function it is shown,
To design the control law, it must be considered that the in Fig. 6 only the considerations of control for negative
payload and actuator dynamic parameters are not the same angular velocity.
262 J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011
Rate control system algorithm developed in state space for models with parameter uncertainties
p’
p’Max
Transition A
OFF
ON Transition B
p’Min
ON/ OFF
OFF p
-p’Min
-pMax -2pMin -pMin pMin
The decision function for negative angular velocity that The control law must use the following tests, according
controls the positive actuator is compounded by four areas to each area:
and two transitions described below:
1. Red Area: Actuator ON
• Red Area: the payload angular velocity must be
reduced. The positive actuator must be turned on.
p < S (p') U
p < -p
f Max
(6)
• Blue Area: close to the specified state space area for
low gravity level (green area). The control algorithm 2. Blue Area: Actuator ON/OFF (Pulse Commands)
for this area will generate command pulses to the
actuator to drive the payload state vectors to the state (7)
space origin.
• Green Area: corresponds to the state space area 3. Green Area: Actuator OFF
around the state space origin to get the desired low
gravity level. At this area, the algorithm control must (8)
keep the actuator turned off.
4. White Area: Actuator OFF
• White area: corresponds to the payload state vector
where the actuator must be turned off.
remain (p, p’) states while p’ > p’Min (9)
• Transition A: payload state vector when the control
where:
algorithm generates the command to turn off the
actuator. The correspondent angular velocity of the
Sf(p’) is the switching function in function of p’.
switching function will be able to be adjusted.
J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011 263
Teixeira A.J.
To adjust or create a switching function segment, It was also considered the noise at sensors measures in the
according to the payload dynamic, the RCS algorithm simulations. This noise was modeled as a color noise with
needs to process the following steps: Gaussian distribution, given by Eq. 11, which was added
to the true sensor measure:
• detect the Transition A;
2
- x-ȝ
1
• store the payload state vector (pA, p’A);
f x | ȝ ,ı = e 2ı
2
(11)
ı 2ʌ
• detect the Transition B; where:
• obtain the state vector error that is the payload state μ=0 is the noise mean;
vector at transition B; σav=2e‑5 rad/s is the noise standard deviation for angular
velocity;
• if the state vector error is outside the blue and green σaa=2e‑5 rad/s2 is the noise standard deviation for angular
areas do the correction of the switching function: acceleration.
If there is not a segment for (pA, p’A), then create it; The simulations were performed using: Simulink version
6.3, MatLab, version R14 SP3, Dormand-Prince solver
else correct the stored value of the angular velocity of
and 1 ms integration step. The RCS performance is shown
the switching function through the Eq. 10:
in the following cases.
Sf (p’A) = pA – pb (10)
Case I
Regarding to the decision function for the control of the
positive angular velocity, appropriate considerations shall In case I, the payload and actuators mathematical
be made in order to develop the whole algorithm control. models have the nominal parameters specified for the
RCS design given by Eq. 3 and 4. Figure 7 shows a state
space with the payload trajectory toward the state space
RCS ALGORITHM PERFORMANCE origin, where: black solid line represents the payload
state vector trajectory; red dashed line represents the
The RCS algorithm performance was verified through
maximum angular velocity for the switching function;
simulation to evaluate its behavior and the limit cycle
solid red lines represent the switching function; blue
amplitude of the payload angular velocity. To do so, it was solid lines represent the limit area for the on/off control;
used an angular velocity range from (‑1.0 to +1.0) e‑4rad/s and green dashed lines represent the range specified for
as the final payload angular velocity. These values the angular velocity and acceleration near the vector
represent a range from (‑5 to +5) e-9 m/s2 that is lower than state space origin. The abscissa axis is used for angular
the needed one to get the microgravity condition for the velocity in [rad/s] and the ordinate axis is used for
parameters values of payload mathematical model given angular acceleration [rad/s2].
by Eq. 3. This velocity angular range was used to test the
limit cycle amplitude that would be generated by the RCS
algorithm. The initial values used for simulation were: 0.08
0.06
• Initial payload roll angular velocity: p0=0.005 rad/s
0.04
(initial value used only for graphical purposes).
0.02
p’ [rad/s2]
264 J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011
Rate control system algorithm developed in state space for models with parameter uncertainties
It can be seen in Fig. 7 that the RCS algorithm turn the get the desired low gravity level, the RCS control algorithm
negative actuator on and after some time turn it off in the created one segment for the switching function, according
optimal time to drove the payload state vector close to the to the error measured during the transition B and generated
state space origin in minimum time. another command to the negative actuator to drive the
payload state vector to the origin of the state space.
Figure 8 shows the actuator control signal and the
respective payload angular velocity in time representation. Comparing Fig. 9 to Fig. 7, it can be seen that the changes
First graphic represents the control signal to the actuator, at the switching function were due to the changes of the
where positive values correspond to the commands payload and actuator dynamic parameters.
for positive actuator and negative values correspond
to the commands for the negative one. Second graphic Figure 10 shows the time response of the actuator control
corresponds to the payload angular velocity and the third signal and the respective payload angular velocity. First
graphic is the magnified payload angular velocity in the graphic shows the control signal to the negative actuator.
specified desired range for the design (-pMin < p, pMin). Second graphic shows the behavior of the payload
angular velocity and the third one is a magnified view
of the angular velocity graphic to show that the payload
1
angular velocity was reduced to the desired angular
Control
x10-3
4
p [rad/s]
0.08
2
0 0.06
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0.04
x10-4
2 0.02
p’ [rad/s2]
p [rad/s]
1
0 0
-1
-2
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 -0.02
-0.06
0
-1
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Case II
x10-3
Case II shows the RCS algorithm performance considering 4
p [rad/s]
be noted that the negative actuator was initially turned Time [s]
off before the optimal time, related to the new payload
and actuator dynamic characteristics. As the payload state Figure 10. Actuator control signal and plant angular velocity
vector did not reach the area specified in the state space to for case II parameters.
J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011 265
Teixeira A.J.
Case III
1
Case III shows RCS algorithm performance considering
Control
0
the following parameters changes to the mathematical
-1
models: the payload mass is 20% lighter, which 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
reduces the inertial momentum (Ixx = 24 kgm2); the
actuator is slower, its rise time was increased for 30% 4
x10-3
p [rad/s]
(tr = 65 ms); and the actuator force was increased for 2
0
25% (Fa = 2.5 N). -2
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
p [rad/s]
0
initially after its optimal time, related to the new payload -1
and actuator dynamic characteristics. As the payload -2
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
state vector did not reach the low gravity level specified Time [s]
in the state space, the RCS control algorithm changed
the maximum positive angular velocity of the switching
function from (1.7 to 3.1) e‑3rad/s, according to the error Figure 12. Actuator control signal and plant angular velocity
for case III parameters.
measured during the transition B. After that, the RCS
control algorithm generated commands and created
segments to the switching function.
CONCLUSION
It was shown that a RCS algorithm developed presents
good performance, although there are uncertainties
0.08 at the payload and actuators dynamic parameters.
0.06
Using the state space approach, as the time is implicit;
0.04
0.02
the system control needs only to test the state vector
in state space instead to solve partial differential
p’ [rad/s2]
0
equations. Based on minimum-time problem method
-0.02
for an on/off control system, adding some additional
-0.04
inequality constraints and the capability for the control
-0.06
algorithm to adjust the switching function, it is possible
-0.08
to converge the payload state vector to a feasible
-0.1
-2 -1 0 1 2 3 4 5 desired range, although the payload and actuators have
p [rad/s] x10-3 dynamic parameter uncertainties.
266 J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011
Rate control system algorithm developed in state space for models with parameter uncertainties
Cornelisse, J. W., Schöyer, H. F. R., Wakker, K. F., 1979, O’Brien Jr., R.T., 2006, “Bang-Bang Control for
“Rocket Propulsion and Spaceflight Dynamics”, Pitman Type-2 Systems”, Proceedings of the 38th Southeastern
Publishing Limited, London, England. Symposium on System Theory, Tennessee Technological
University, Cookeville, TN, USA.
Ettl, J., Pfänder, J., 2009, “Rate Control System for
Sounding Rockets”, 19th ESA Symposium on European Ogata, K., 1982, “Modern Control Engineering”, Editora
Rocket and Balloon Programmesand and Related Prentice/Hall do Brasil Ltda, Rio de Janeiro, RJ, Brazil.
Research, Bad Reichenhall, Germany, (ESA SP-671).
Takahashi, Y., Rabins, M. J., Auslander, D. M., 1972,
Frisk, E., 1996, “Model-Based Fault Diagnosis Applied “Control and Dynamic Systems”, Addison-Wesley
To A Si-Engine”, Linköping University, Linköping, Publishing Company, Massachusetts, USA.
Sweden.
Teixeira, A. J., 2009, “Rate Control System For Plant Parameter
Lucas, S. K., Kaya, C. Y., 2001, “Switching-Time Uncertainties”, Proceedings of the 19th ESA Symposium
Computation for Bang-Bang Control Laws”, Proceedings on European Rocket and Balloon Programmes and Related
of the American Control Conference, Arlington, VA, Research, SP-671 pg. 255-260, Bad Reichenhall, Germany.
USA.
Udrişte, C., 2008, “Multitime Controllability, Observability
Nitulescu, M., 2005, “Controlling a Mobile Robot Along and Bang-Bang Principle”, Journal of Optimal Theory
Planned Trajectories”, Control Engineering and Applied Applications, Vol. 139, p. 141-157. DOI 10.1007/s10957-
Informatics, Vol. 7, N. 2, p. 18-24. 008-9430-2.
J. Aerosp.Technol. Manag., São José dos Campos, Vol.3, No.3, pp. 259-268, Sep. - Dec., 2011 267