Abstract
Gimballed sensor system is a precision electromechanical assembly designed primarily to isolate the optical system from disturbances induced by the operating environment. This paper gives an insight to the design and development of gimballed sensor system for Line of Sight (LOS) stabilization of an electro-optical tracking and pointing system. Initially kinematic equations are formulated to establish a relationship between LOS angle and applied torque. This relationship is used to obtain nested loop transfer function model. First, the parameters of the proposed assembly are determined through experimentation & rigorous analysis process, and then conventional control design methodology is adopted for controller configuration design for current and rate loop. The frequency response analysis of the designed LOS stabilization model with conventional controller is done in simulation and the obtained results are verified experimentally against angular disturbances in real time scenario. Further, Based on prior qualitative information about system dynamics and linguistic performance criteria, a fuzzy logic controller of mamdani type with simplified rule set is developed with an objective to improve the disturbance attenuation and command response performance of designed system irrespective of angular disturbances due to platform vibrations, model uncertainties and mass imbalance in gimbal assembly. Both the Fuzzy logic simulation model and conventional model are tested based on critical performance characteristics such as stability of the loop, responsiveness of the loop and insensitivity to disturbances. Finally, the comparative analysis suggests that, although both the control configuration satisfies the required accuracy, Fuzzy logic control certainly improvised the performance of the gimballed sensor system and hence can be very effective for more precise pointing, tracking and stabilization application.
Keywords
Introduction
Optical equipments such as CCD or IR camera, high resolutions televisions, laser range finders, radars have found numerous applications in the field of surveillance, target tracking system, navigation system, communication system and modern guided weaponry system. The main functional requirement of every such system is most accurate pointing of optical sensor’s line of sight to a fixed or moving target in-spite of various internal, external disturbances and plant modeling related critical issues and assumptions [1]. Inertially Stabilization platforms (ISP) are the best way available so far to stabilize and point the sensor in desired direction, when either the host vehicle or the enemy target or both are stationary or dynamic [2]. ISP electro-mechanical configurations design depends on the concerned application. They are usually made up of an assembly of structure, gimbal with associated motor and bearings and servo sensors. Electro-optical (EO) systems mounted on mobile platform always requires some form of control configuration to stabilize the sensor pointing vector along the target Line of Sight (LOS) [3]. Acquisition, tracking and pointing (ATP) are the basic functions inherent in all systems that control the line-of sight or beam to the target [4].
Over the last few years, gimbal assembly structure has been widely used in various dynamic platforms especially unmanned aerial vehicle and automatic weaponry systems. But it is always a challenging task to obtain precise response characteristics against dynamic platform structure, irregularities in mathematical modeling and angular disturbance in LOS due to internal and external disturbances. A combination of two or more gimbals can be used for fine degree of precision and independency from host vehicle, depending upon application [5]. The ultimate objective of every ISP assembly is to point, hold and control the LOS of optical sensor onto specified target location. The performance of such systems depends on its ability to isolate the gimbaled sensor system from platform vibrations and other operating environment disturbances.
Masten and Hilkert [2, 3] have described the following fundamental requirements of stabilization systems; Pointing the optical sensor Stabilizing the sensor to achieve low “jitter” Measuring the orientation of the sensor’s line-of-sight.
In [6], A. K. Rue derived mathematical techniques for describing the interrelationships of pointing vectors (direction) and angular rates in a variety of technical elements (reflective mirrors and refractive lenses), which are main parameters of interest for modelling stabilization system. Achieving high accuracy and performance in stabilization and tracking loops depends heavily on obtaining sufficient stability and bandwidth [3]. S. B. Kim et al. [7] discussed the feedback method to reduce the effect of electrical as well as mechanical resonances. These resonances limit the maximum achievable bandwidth in practical control system and therefore hamper the ability to achieve precise stabilization [8]. Vishay Netzer [9] discusses techniques for improving image stabilization in which subsystems located within the overall system are used rather than relying entirely upon a stabilized gimbal platform. In this approach, the gimballed platform is used to point the sensor at the target and to achieve relatively coarse stabilization. Similar gimballed platform based systems are modelled and simulated with precise control technique for tracking and pointing applications in [10, 11]. The application of techniques to stabilization systems are described in [12]. Further in recent years, many work has also been published in the field of mirror stabilized system or indirect LOS stabilization approach [13–15].
All such systems are conventionally designed using classical control technique. However they are not effective to design control laws for complex and nonlinear multivariable systems. A retrospect of ATP system shows fuzzy logic [16, 17], Neural network [18], hybrid control algorithm [19], Adaptive control mechanism [5, 20], evolutionary computation [21], disturbance observer based control [22], and other related control algorithms in [23–25] which remarkably improve pointing accuracy and disturbance rejection ability using gimballed sensor system. Their ability to deal with highly nonlinear, MIMO, and complex dynamical system help in surpassing every conventional approach. These methods do not rely too much on accurate modelling of the plant. However, knowledge base of designer is an important factor to FLC design. FLC provide a flexible alternative by converting human expertise into appropriate fuzzy rules and membership functions.
In this work, dynamic equations of motion of a dual axis gimbaled platform assembly are formulated. These gimbals are precision electromechanical assemblies designed primarily to isolate the optical system from the disturbances induced by platform vibrations. Gimbal assembly is interfaced with a control system operating through electronics. Nested loop topology is adopted to design basic control loop configuration. In this approach, a very first step is to design a fast current loop, which is being closed by a servo power amplifier itself, followed by the design of fast stabilization loop or rate loop with bore-sight gyros as a rate feedback sensor. The stabilization loop is then nested with in a track or outermost loop which generally employed a video tracker for fine tracking. The main objective of stabilization loop is to attenuate jitter and stabilize the LOS against angular disturbances due to platform vibrations, model uncertainties and mass imbalance in gimbal assembly. The conventional control design methodology based on frequency domain analysis is adopted for controller configuration design and the obtained simulated results are verified based on real time experimentation. Next, a Fuzzy logic control configuration is developed for the designed application with an objective to reduce the residual jitter to the minimum level and to obtain precision in command following. Finally, a comprehensive comparative analysis of the two proposed methodologies is presented.
Dynamic modeling of a dual axis gimballed sensor system
Modeling of Plant dynamics is an important milestone in the control loop design of stabilized gimbal platform assembly [2]. In the following section, a simple formulation based on the first principle of modeling the azimuth torsional mode is presented. Figure 1 shows the two axis gimbal flexible model. Appropriate transfer functions representing these modes are derived based on the some simplifying assumptions. The degrees of freedom are restricted to three in orders to keep the formulation tractable and insightful. The model consists of two lumped inertias connected by two linear springs.

Two-Axis Gimbal Flexible Model.
Where, Azimuth motor torque Moment of inertia of azimuth base structure Moment of inertia of elevation Gimbal assembly + lumped inertia of azimuth arms and elevation motor about azimuth axis Mass of elevation Gimbal assembly + lumped mass of azimuth arms and motor Equivalent spring stiffnesses at the left and right azimuth arms respectively Corresponding bearing point deflections (assuming +ve in the positive Z1 direction) Deflection of centre of mass of elevation Gimbal assembly w.r.t O along Z1. Azimuth servo angle Incremental angular deflection of elevation Gimbal assembly w.r.t. azimuth base structure about azimuth (X1) axis Distance of left and right bearing points r spectively from the centre
In the modeling of the azimuth structural modes, the following assumptions are made: Fixed elevation angle. Cross moments of inertia are taken as zero. r
a
= r
b
= r i.e., the bearings are placed symmetrically with respect to O. δθ1 ⪡ θ1
The following geometric relationship can be derived from Fig. 2 as;
Hence, there are effectively three degrees of freedom in the model, viz θ1, δθ and δ
z
cm
. The rotational equation of motion of the azimuth base structure about the X1 axis is:
The rotational equation of motion of the elevation Gimbal assembly is:
The equation of translational motion for mass M2 (elevation Gimbal assembly) along the Z1 direction is:
If the elevation Gimbal assembly is allowed to swing along the Y1 axis then additional nonlinear terms for coriolis and tangential acceleration will appear in the equation.
From Equations (1) to (4), we eliminate δ
z
a
and δ
z
b
to get the following relations:
If K
a
= K
b
= K and if we drop the nonlinear term, then the above equations reduce to:
In the case when the translational Equation (13) is decoupled from the rotational Equation (11) & (12); Equation (13) will represent harmonic oscillations with frequency
Equations (11) & (12) correspond to the torsional azimuth modes. The transfer functions from input to output are obtained as:
Consider, I
azimuth
= I1 + I2; C
torosional
= 2Kr2 and
Then Equation (15) can be re-written as:
Further it must also be noted that there are the peaks of finite magnitude at tuned frequencies and phase is not changing abruptly. This effect can be taken care by implementing suitable notch filter.
Considering, B as the total friction in the assembly. T1(s) can be replaced by T1 (s) - B (s) in the Equation (8) and (10).
The part of the transfer function representing the rigid body mode in (16) becomes;
And after taking the effect of torsional structural mode in flexible model, the transfer function takes the form as;
The relationship of Equation 18 can be represented in block diagram form as follows:

Block Diagram Representation of Generalized Form of Gimbal Mechanical Assembly.
Gimbaled sensor system is driven by permanent magnet DC torque drive. Servo power amplifier is used to amplify controller output before given to DC torque. Further, DTG is used to measure inertial angular rate of gimbal. The numerical values of plants mechanical parameters are obtained from Finite Element Model method using ANSYS Software. Moment of Inertia (I azimuth ) and Viscous friction coefficient (B viscous ) are 390 kg-m2 and 1225 N-m-sec/rad respectively. The torsional structural modes are assumed to have natural frequencies of aro und 30 and 85 Hz. The first torsional mode at 30 Hz is assumed to have very small effect on the azimuth pointing so that mode is neglected here during the modeling in flexible mode. Structural damping of 7% is included. The ETEL TML0360-150 motor [26] is modeled as a simple DC machine, with torque constant = 28.9 N-m/Amp, L = 14.5 mH, R = 1.6 Ohm, back emf constant kb = 16.7 V-sec/rad. For a brushless motor model, the above constants get scaled by appropriate constant factors representing conversion from line-line quantities to line-phase quantities. This does not change the time constant of the motor, it only requires scaling of the gain in the power amplifier (drive electronics) by appropriate factor. This will not affect the performance of the control system.
Further, the peak torque and peak current of the motor are 2120 N-m and 115 Amp respectively. Assuming that 10 V DAC will be used for converting the digital control signal into analog signal which will be fed to Servo Power Amplifier, the scale factor for the current feedback can be selected as 10 V = 115 Amp. Desirable control system specifications are as follows: Closed loop bandwidth: >15 Hz Gain margin: >6 dB Phase margin: >30 deg Damping coefficient: 0.4–0.7 Line of sight (LOS) jitter accuracy:≤50μrad. Settling time:≤0.2 sec. Steady state error: Zero or Minimal Disturbance Spectrum: 2 mrad at 1 Hz and less at higher frequencies (20 dB/decade)
A complete nested loop topology based LOS stabilization and pointing architecture is shown in Fig. 3.

LOS Stabilization and Pointing Architecture.
Considering all the developed dynamics of DC motor [27], Dual axis gimbal assembly and DTG rate sensor [28], an uncompensated transfer function based simplified first step model can be directly designed as shown in Fig. 4.

Transfer function model of uncompensated Azimuth plant with actuator.
An effective control system design is required to be implemented around Electro mechanical gimbal assembly to accurately point the target, attenuate jitter on the LOS and meet all the required control system specification.
Initially conventional controller configuration has been developed for LOS stabilization as that would not only be the most precise way to tune the controller structure as per desired time and frequency domain characteristics but also provides easier interfacing with real time hardware structure and in depth analysis of performance of each block in simulation.
Complete azimuth gimbal assembly simulink model design consists of two stages: Current loop Control system Design Stabilization/Rate loop Control system Design
1) Current loop Control system Design –Consider the designed uncompensated simulink model in Fig. 4, draw the open loop bode plot with reference to actuator input voltage as input and equivalent voltage corresponding to the armature current as output.
The required current loop bandwidth is more than 1 KHz, so the gain cross over frequency of the compensated open loop system must be 1 KHz. It can be observed from Fig. 5 that open loop gain at 1 KHz is –60 dB. This indicates that more than 60 dB gain is required to achieve adequate current loop bandwidth. But closing the loop directly with this gain may introduce some steady state error; so a PI controller or a PI compensator is the best choice to reduce steady state error. However using a PI controller does not satisfy the phase margin specification because of the introduction of phase delay from integral part of PI controller, hence Proportional –Integral compensation is used as a current loop controller.

Uncompensated open loop Bode plots, (Gain at 1 KHz = –60 dB).
Assume a PI compensator of the form
Hence final PI compensator transfer function is
Figure 6 shows the compensated open loop and closed loop bode plot of the simulated azimuth current loop.

a) Compensated open loop Bode plots, (Gain Margin = 14.2 dB, Phase Margin = 79.8 deg., Gain cut-off frequency = 999 Hz) b) Azimuth closed current loop bode plot, (Bandwidth = 1.27 KHz).
It is observed from the Fig. 6 that both the gain margin and phase margin are positive and hence the designed PI controller stabilizes the current loop.
2) Stabilization/Rate loop Control system Design
For analysis and design of stabilization loop using bode plot, voltage to the actuator (V) taken as input, while the output is the angular rate. Figure 7 shows the frequency response plot of the uncompensated open loop azimuth plant along with actuator model and inner current loop.

Uncompensated open loop Bode plots, (Gain at 1 Hz = –3.3 dB & Gain at 15 Hz = –26 dB).
From Fig. 7, it can be observed that the open loop gain at 1 Hz and 15 Hz is –3.3 dB and –26 dB respectively. This indicates that more than 26 dB gain, which translates to around 20, will be required to achieve adequate stabilization loop bandwidth. More importantly, the gain to overcome the worst case disturbances should be roughly equal to the ratio of the disturbance to the allowable residual jitter on the line-of-sight. The disturbance specification is 2 mrad at 1 Hz, while the allowable jitter is 50 μrad. So, 2 mrad / 50 micro-rad = 40, which is equivalent to 32 dB. Since the open loop uncompensated gain is –3.3 dB at 1 Hz, the stabilization loop must provide atleast 32 + 3.3 = 35.3 dB of gain to achieve the stabilization accuracy.
As the required gain cutoff frequency is at 15 Hz, a zero of the PI compensator can be placed at 1/5th of the gain cutoff frequency i.e. at 3 Hz, then the value of ‘a’ becomes 2*pi*3 = 18.85. Now with this value of a,
Figure 8 shows the PI compensated open loop bode plot.

a) Compensated open loop Bode plots, (Gain Margin = 12.2 dB, Phase Margin = 71.2 deg., Gain at 1 Hz = 32.4 dB) b) Azimuth closed stabilization loop bode plot, (Bandwidth = 20.5 Hz).
Figure 8(b) shows the closed stabilization loop Bode plot. The stabilization loop bandwidth achieved in this case is around 20.5 Hz. Since the gyro bandwidth (100 Hz) is much higher than the target closed loop bandwidth, it does not significantly affect the response at frequencies of interest for disturbance attenuation and tracking. On the other hand, it does act as a low pass filter for high frequency noise (>100 Hz).
Figure 9 shows the complete block diagram of the stabilization loop along with inner current loop for the azimuth plant.

Complete Structural model of gimballed LOS Sensor System.
a) Step Response Analysis
Consider an input command value of 500 mV is given to the designed azimuth assembly complete simulink model, the output of the system is observed to be as follows;
As the gyro scale factor is taken to be 5.73 V/rad/s, which is equivalent to100 mV/deg/s, and hence 500 mV Voltage corresponds to 5 deg/ s angular speed in the output as observed in Fig. 10.

Step input Command Response.
b) Disturbance Attenuation Analysis
The simulink model is designed by considering the disturbance specification as 2 mrad up to a frequency of 1 Hz and less at higher frequencies (20 dB/decade roll-off is assumed). If θ d = 2mrad is the amplitude of disturbance and ′f′ = 1Hz is the frequency than the disturbance can be introduced in the model as a harmonic disturbance torque input of amplitude, I . θ d . (2πf) 2], where I is the moment of inertia. Alternatively, the disturbance may be introduced in the stabilization loop as an output rate disturbance of amplitude [θ d . (2πf)], without making much difference in the output characteristics, since the disturbance frequencies of the interest are much lower than the structural mode frequencies. Consider the designed azimuth assembly simulation system and apply rate disturbance, i.e. 0.01256 with no command input.
A harmonic disturbance of 2 mrad at 1 Hz is attenuated to within 50 microradians. The disturbance attenuation is better at lower frequencies due to high open loop gain. Attenuation gets worse as the frequency increases beyond 1 Hz because the open loop gain decreases at a faster rate than the disturbance.
Figure 13 shows the experimental platform to analyze and measure the frequency response characteristics and disturbance attenuation of the stabilized gimbal assembly in azimuth direction.

Applied Input Disturbance.

LOS jitter (μrad) for Applied Disturbance signal.

Experimental Setup for the frequency response analyses and disturbances attenuation measurement.
The designed PI controller for current loop of azimuth assembly has been implemented in Servo Power Amplifier (SPA) itself. SPA has its digital loops which takes input in form of K p & T i values of PI controller and internally convert into digital domain.
Further designed PI controller for the velocity loop of azimuth assembly is implemented in ADSP - 2181 Hardware by considering following steps: Conversion of S-domain parameter into Z-domain discrete controller using bi-linear transformation. Compute Z-domain coefficient. Develop the discrete time difference equation, which need to be directly implemented on DSP Hardware.
Designed PI controller for the azimuth assembly is,
After taking the inverse Z transform of H(z), the difference equation can be written as:
Finally the above equation is directly implemented on ADSP-2181 H/w using assembly language coding.
Figure 13 shows the experimental setup for the frequency response analyses and disturbances attenuation measurement.
In order to test the performance of the control system, Dynamic signal analyzer (DSA) with two input is used, where channel 1 is considered for the input parameter while channel 2 is used for the output parameter. Measurement of frequency response is performed by giving Sine wave an input from the DSA for energizing the system and output signal is taken from the gyro rate sensor, which is further connected to channel 2 for the measurement.
The response obtained from the DSA for Azimuth assembly is shown in Fig. 14.

a) Open loop Bode plot from DSA (Azimuth) b) Closed loop bode plot from DSA (Azimuth).
A vehicle mounted laser based electro-optical system is the experimental plant under consideration. Two axis gimbal configuration is used to steer the line of sight in desired direction and minimize the effect of various internal and external disturbances during firing, such that LOS can be held steady onto the target with minimal jitter and hence maximum damage effect.
As, GFRP (Glass fibre reinforced polymer) sheet mounted on a mobile platform is used as a target.
Initially the target was locked in track mode and a high power laser beam was transmitted onto the target. During Laser firing, lot of platform disturbances are induced, which in turn act as a source of angular disturbances on Los of the proposed gimbaled sensor system. The gimballed sensor system reduces these disturbances and maintains the LOS steady onto the target. The target tracking and pointing process in defined field of view includes the following stages as shown in Fig. 15.

Target tracking and Pointing Stages.
Further for the LOS jitter, target to boresight error (in pixels) has been computed through the processing of the captured CCD images. Finally LOS jitter has been computed via target to camera boresight error (in pixels) and corresponding field of view of camera and Zoom lens. The output pattern of the jitter measurement is shown in the Fig. 16.

Jitter Characteristics with 2mrad platform disturbances.
A frequency domain characteristics comparison of simulated and experimental modeled gimbaled sensor system is drawn in Table 1.
Frequency domain characteristics comparison of simulated and experimental model
The basic fuzzy inference system shown in Fig. 17 consists of four principal components: fuzzification inference, knowledge base, rule base and defuzzification inference. The input variables are error (e) and its derivative

Basic Structure of fuzzy controller.
Fuzzy sets are completely characterized by its membership function. Membership function can be represented as a mathematical formula.
In this work, Gaussian Membership functions are used, and are given as;
The selection of parameters such as mean (c) and standard deviation (σ) for each fuzzy sets of a membership function is the most challenging task, as they directly affect the system performance. The exact determination of these values heavily depends on the efficacy, experience and knowledge base of the designer [30]. Initially the membership function parameter and overlapping of fuzzy sets are selected based on knowledge base of designer and then fine tuned to obtain the desired result. Table 2 indicates the exact numeric values of membership functions parameters such as mean (c) and centroid (σ) for both the input variables (
Fuzzy Membership function parameter values
Fuzzy Membership function parameter values
The final Gaussian membership functions for both inputs i.e. error and derivative of error and output variable (u) are obtained based on above inference mechanism, as shown in Fig. 18.

Membership Functions Diagram: (a) Error (e) (b) Rate of change of error
The Mamdani model makes use of set of linguistic rules which describes a mapping from controller inputs to output.
Generalize form of rule R i is:
If x is A then y is B, where linguistic variables A and B are called as antecedent and conclusion respectively. In this work, seven membership functions are defined for each input and hence fourteen possible combinations are formed. The rule base used is show in Table 3, where NH is negative high, NM is negative medium, NL is negative low, Z is zero, PL is positive low, PM is positive medium and PH is positive high. Finally, centroid defuzzification technique is used to convert fuzzy set output into crisp output. Figure 19 shows the surface view of the fuzzy inference system.

Surface View representation.
Fuzzy Rule Base
The fuzzy logic controller structure shown in Fig. 20 consists of two input i.e. error (e), derivative of error

Proposed Fuzzy logic Controller configuration.
The overall transfer function model of the system can be obtained by replacing controller configuration block of stabilization loop in Fig. 9 with proposed fuzzy logic controller configuration. The dynamic response and disturbance rejection capabilities of the controller are tested and analyzed in the simulation. The system dynamic response plots corresponding to system states ‘

Step input Command Response.

LOS jitter (μrad) for Applied Disturbance signal.
The time response characteristics comparison of LOS stabilization system model with both the proposed controllers is given in Table 4.
Performance Comparison of Conventional and Fuzzy Logic Controller
It is clearly evident from the tabular comparison of performance characteristics of gimbaled sensor system for a maximum disturbance spectrum value of 2mrad at 1 Hz and less at higher frequency, that although both the controller configuration were able to stabilize the gimbaled system with required accuracy, the performance of fuzzy logic controller is slightly better than the conventional approach in terms of settling time and disturbance attenuation.
This paper starts with the dynamic modeling of the gimbaled stabilization and pointing platform. A nested loop topology is adopted for implementation and design of fast current and stabilization/rate loop. Control configuration in these loop are initially implemented with conventionally tuned PI compensators. The overall dynamics and control configuration design has been implemented in MATLAB/Simulink. The first level validation of the control system design along with plant dynamics is done with several runs in the simulation. Then, this control configuration has been implemented on high end DSP hardware and interfaced with gimbaled assembly. The control parameters were tuned experimentally and finally the efficacy of the overall system was validated during field testing. It is observed that both the conventionally designed simulink model and experimental system are perfectly satisfying the desired criteria in terms of input command response, LOS jitter, bandwidth offered and other stringent time and frequency response characteristics. Furthermore, Fuzzy logic control (FLC) configuration is designed in simulink for the proposed stabilization model and tested based on critical parameters with number of simulation runs. The comparative analysis clearly indicates that FLC based stabilization system provides the improved response both in terms of jitter accuracy and faster response, which proves its utility in more precise pointing and stabilization applications.
