Despite the fact, that mechanical vibrations in a servo device can be very complex and often involve the motion of many components of the system, there are three fundamental mechanisms that are often observed.
These there basic dynamic phenomena can be indicated by:
-**Actuator flexibility**: the mechanical system does not behave as one rigid body, due to flexibility between the location at which the servo force is applied and the actual point that needs to be positioned
-**Guiding system flexibility**: the device usually rely on the guiding system to suppress motion in an undesired direction
-**Limited mass and stiffness of the stationary machine part**: the reaction force that comes with the driving force will introduce a motion of the "stationary" part of the mechanical system
Whereas the first two phenomena mainly affect the stability of the control loop, the last phenomena manifests itself more often as a dynamic positional error in the set-point response.
A tool that can be very useful in understanding the nature of more complex resonance phenomena and the underlying motion of the mechanical system, is **Modal Analysis**.
Translating the mathematics of one single decoupled "modal" equation into a graphical representation, which includes all relevant data such as (effective) modal mass and stiffness plus the motion of each physical DoF, facilitates a better understanding of the modal concept.
It enables a very intuitive link between the modal and the physical domain, and thus leads to a more creative use of "modal analysis" without the complications of the mathematical formalism.
Dynamic phenomena of the mechanics in a servo positioning device can lead to stability problems of the control loop.
Therefore it is important to investigate the frequency response (\\(x/F\\)), which characterizes the dynamics of the mechanical system, and especially the influence of mechanical resonances on it.
Once the behavior of one individual mode is fully understood it is not so difficult to construct this frequency response and the interaction between the rigid-body motion of the device, and the dynamics of one additional mode.
- -2 slope / pole / -2 slope (non-minimum phase and rarely occurring)
It is not possible to judge the potential destabilizing effect of each of the typical characteristics without considering the frequency of the resonance in relation to the envisaged bandwidth of the control loop.
The phase plot of a typical open loop frequency response of a PID controlled positioning device without mechanical resonances can be divided into three frequency ranges (supposing the plant model is just a mass line):
- at low frequencies, the phase lies below -180 deg due to integrator action of the controller
- at medium frequency (centered by the bandwidth frequency), the phase lies above -180 deg due to the differential action of the controller, which is necessary in order to achieve a stable position control-loop
- at high frequencies, the phase eventually drops again below -180 deg due to additional low-pass filtering
- A -2 slope / zero / pole / -2 slope characteristics leads to a phase lead and is therefore potentially destabilizing in the low-frequency and high frequency regions.
In the medium frequency region it adds an extra phase leads to the already existing margin, which does not harm the stability.
- A -2 slope / pole / zero / -2 slope combination has the reverse effect.
It is potentially destabilizing in the medium-frequency range and is harmless in the low and high frequency ranges.
- The -2 slope / poles / -4 slope behavior always has a devastating effect on the stability of the loop if located in the low or medium frequency range.
The subject of machine dynamics and its interaction with the control system plays a dominant role in fast and accurate positioning devices, so it is vital to consider these issues during the entire design process.
Starting with very elementary simulation models to support the selection of the proper concept, these models should become more refined, just like the product or machine under development.
In the **concept analysis** the viability of various concepts is evaluated on the basis of very simple models consisting of a limited number of lumped masses connected by springs.
Once a concept has been chosen and the first rough 3D sketches become available, a **system analysis** can be done, based on a limited number of 3D rigid components connected by springs.
In this phase a lot of important spatial information is added to the model (such as the location of the center of gravity and connecting stiffnesses, plus the location of the driving force and of the sensors).
Finally, in the **component analysis** phase, critical components are no longer considered rigid, and their internal dynamics are evaluated via Finite Element (FE) modeling.
In cases in which a separate analysis of a critical component is considered insufficient to judge its influence on the overall dynamics, a detailed FE-based description can be used to replace the former rigid description in the system model.
In case many parts of the system need to be modeled in great detail, it is not very practical (error-prone, huge model size, time consuming) to build on, single, huge FE model of the entire system.
In this approach the system is divided into substructures or components, which are analyzed separately.
Then, after application of a reduction technique which preserves the most dominant dynamic properties, the (reduced) models of the components are assemble to form the overall system.
By doing so, the size of the final system model is reduced significantly.
In the development of servo-controlled positioning devices, it is essential to consider the effect of the dynamics of the mechanical system on the performance of the overall, because the following effects can be observed:
To obtain a well-balanced design with respect to the effort in the mechanical design and the control design, one has to adapt a **mechatronics approach** in which the **structural design and the control design are integrated**.
Integrated modelling and simulation of structural and control aspects should be part of the product-creation process of any mechatronic positioning device from the very beginning.
Such an approach is the only way the enhance the score of success and achieve "first-time-right".
In general, the modelling of certain phenomena that take place in a machine can be divided into two major steps:
1. From reality/design to a physical model
2. From the physical model to a mathematical model
In the first step, the real structure of design drawing of a structure needs to be translated into a physical model, which is a simplification of the reality that contains all relations considered to be important to describe the phenomenon.
Once this physical model has been derived, the second step consists of translating this physical model into a mathematical model which is usually straightforward using adapted software.
The following questions are only seldom addressed:
Machine dynamics is an issue addressed by the mechanical engineer, whereas the control system is designed by the electrical engineer.
<divclass="important">
The lack of integral knowledge of machine dynamics, control and the interaction between these two topics is a serious threshold in finding the optimal solution to a mechatronic design problem.
This thesis aims at bridging the gap between existing theoretical knowledge in the field of machine dynamics and control, and the practical application of this knowledge during the design of a product or machine.
The idea is to show that a basic understanding of machine dynamics suffices to interpret complex mechanical vibrations.
Moreover, in combination with basic control theory it is possible to derive the typical patterns that can be observed in an open-loop frequency response of a mechanical servo-system including resonances, and to draw conclusions with respect to the effect of these resonances on the stability of the control loop.
Based on the idea that the controlled system must satisfy certain disturbance rejection and bandwidth criteria, design guidelines can be given for the mechanical system such that the chance of realizing the required bandwidth without introduction stability problems is maximized.
By using a step-wise modelling approach it is possible to investigate and **predict these phenomena during the design phase**, and to make design decisions which take the dynamics and control aspects into account.
Therefore, a sensor measures the position which is then compared to the desired value, and the resulting error is used to generate correcting forces.
In most systems, the "actual output" (e.g. position of end-effector) cannot be measured directly, and the feedback will therefore be based on a "measured output" (e.g. encoder signal at the motor).
It is important to realize that these two outputs can differ, first due to resilience in the mechanical system, and second because of geometrical imperfections in the mechanical transmission between motor and end-effector.
{{<figuresrc="/ox-hugo/rankers98_basic_el_mech_servo.png"caption="<span class=\"figure-number\">Figure 1: </span>Basic elements of mechanical servo system">}}
The basic ingredient of most feedback control-systems is a PID controller, which is a combination of a proportional gain \\(P\\), and integral control \\(I\\) to enhance steady state behavior, and a derivative action \\(D\\) to improve damping and stability.
It is illustrative to see that basically the proportional and derivative part of such a position control loop is very similar to a mechanical spring and damper that connect two points (Figure [2](#figure--fig:rankers98-basic-elastic-struct)).
If \\(c\\) and \\(d\\) represent the constant mechanical stiffness and damping between points \\(A\\) and \\(B\\), and a reference position profile \\(h(t)\\) is applied at \\(A\\), then an opposing force \\(F\\) is generated as soon as the position \\(x\\) and speed \\(\dot{x}\\) of point \\(B\\) does not correspond to \\(h(t)\\) and \\(\dot{h}(t)\\).
Thus, in this example a PD position-control loop can be treated in the same way as a mechanical system with a spring \\(c = k\_p\\) and damper \\(d = k\_d\\).
The most important difference is the fact that a mechanical spring/damper is a _passive_ element, whereas firstly a control loop is an _active_ element, and secondly the servo forces that are applied between points \\(A\\) and \\(B\\) can be based on a measurement at a different location.
These properties are very essential since they introduce the issue of **servo stability**, which can be seriously endangered by mechanical resonances.
An important aspect of a feedback controller is the fact that control forces can only result from an error signal.
Thus any desired set-point profile first leads to a position error before the corresponding driving forces are generated.
Most modern servo-systems have not only a feedback section, but also a **feedforward** section, as indicated in Figure [3](#figure--fig:rankers98-feedforward-example).
{{<figuresrc="/ox-hugo/rankers98_feedforward_example.png"caption="<span class=\"figure-number\">Figure 3: </span>Mechanical servo system with feedback and feedforward control">}}
In the feedforward section, control signals are derived from the desired output (position, speed and acceleration) using a model of the mechanical servo-system.
In practice, a feedforward section gives a significant performance improvement in case of point-to-point and tacking applications, but a feedback section will always be necessary.
First, because the model used in the calculation of the feedforward signal is not a perfect representation of the actual system and second because of the presence of unknown disturbances.
One of the major benefits of this approach is the close link to experimental information that can be obtained by exciting the system with sinusoidal inputs and varying frequency and measuring the amplitude and phase of the output.
Such frequency response can either be plotted using a Bode diagram of a Nyquist diagram.
An engineering approach to stability evaluation is the so-called "Left Hand Rule", which reads:
> If a system contains only stable elements in the open loop, then the closed loop system is stable if the point \\((-1,0)\\) in the Nyquist diagram lies on the left hand side of the open loop response when it is run through in the direction of increasing frequency.
In order to quantify the level of stability, two criteria have been introduced: gain and phase margin which measure how close the open loop response approaches the point \\((-1,0)\\) in the Nyquist diagram.
Specification of a feedback controller is very closely linked to **disturbance rejection**, especially in modern controllers that incorporate a feedforward section.
The required performance of the feedback section, which is generally expressed in terms of **bandwidth**, depends very much on the disturbances that act on the system.
The basic characteristics of what is called "actuator flexibility" is the fact that in the frequency range of interest (usually \\(0-10\times \text{bandwidth}\\)) the driven system no longer behaves as one rigid body (Figure [4](#figure--fig:rankers98-actuator-flexibility)) due to **compliance between the motor and the load**.
The second category of dynamic phenomena results from the **limited stiffness of the guiding system** in combination with the fact the the device is driven in such a way that it has to rely on the guiding system to suppress motion in an undesired direction (in case of a linear direct drive system this occurs if the driving force is not applied at the center of gravity).
In general, a rigid actuator possesses six degrees of freedom, five of which need to be suppressed by the guiding system in order to leave one mobile degree of freedom.
In the present discussion, a planar actuator with three degrees of freedom will be considered (Figure [5](#figure--fig:rankers98-guiding-flexibility-planar)).
{{<figuresrc="/ox-hugo/rankers98_guiding_flexibility_planar.png"caption="<span class=\"figure-number\">Figure 5: </span>Planar actuator with guiding system flexibility">}}
The carriage is free to move in the guiding direction \\(x\\), whereas the perpendicular displacement \\(y\\) and the rotation \\(\phi\\) is prevented via two fixtures with limited stiffness \\(c\\).
The limited support stiffness and the inertia properties of the actuator will result in two resonances, which can be characterized as perpendicular mode and rocking mode.
Every actuator as some sort of guiding system in order to suppress certain DoF, and thus possesses guiding modes.
However, whether this leads to dynamic problems depends very much on the location of the driving force and the sensor.
By choosing the **proper location of the driving force one can avoid excitation of these modes**, whereas **the location of the sensor influences the effect of such a mode on the servo stability** where excitation of the mode could not be avoided.
In general, it should be attempted to design the actuator (mass distribution and location of driving force) such that it will perform the desired motion even in the absence of the guiding system.
In contrast to many textbooks on mechanics and machine dynamics, it is good practice always to look at the combination of driving force on the moving part, and **reaction force** on the stationary part, of a positioning device.
When doing so, one has to consider what the effect of the reaction force on the systems performance will be.
In the discussion of the previous two dynamic phenomena, the stationary part of the machine was assumed to be infinitely stiff and heavy, and therefore the effect of the reaction force was negligible.
However, in general the stationary part is neither infinitely heavy, nor is it connected to its environment with infinite stiffness, so the stationary part will exhibit a resonance that is excited by the reaction forces (Figure [6](#figure--fig:rankers98-limited-m-k-stationary-machine-part)).
{{<figuresrc="/ox-hugo/rankers98_limited_m_k_stationary_machine_part.png"caption="<span class=\"figure-number\">Figure 6: </span>Limited Mass and Stiffness of Stationary Machine Part">}}
Practice has taught that in a well-designed servo system the effect of such a resonance on the stability of the servo system is generally small; even then it can have a significant impact on the set-point response.
The effect of frame vibrations is even worse where the quality of positioning of the servo system is not determined by the position of the actuator relative to the frame, but by the position of the actuator relative to the world (for example a robot that has to pick a component from a pallet that is placed on the floor).
Although in the case of simple systems, such as illustrated in Figure [7](#figure--fig:rankers98-1dof-system) these equations may be very understandable, in the case of complex systems, the set of differential equations itself gives only limited insight, and mainly serves as a basis for numerical simulations.
A very powerful tool, both numerically and experimentally, in understanding the dynamic properties of a mechanical system, is the concept of "**modal analysis**".
The general equation of motion of a linear mechanical system with a finite number of DoF, and without damping is:
\begin{equation}
M \ddot{x}(t) + K x(t) = f(t)
\end{equation}
in which \\(M\\) and \\(K\\) stand for the symmetric semi-positive definite mass and stiffness matrix, \\(x(t)\\) and \\(\ddot{x}(t)\\) represent the displacement and acceleration vectors, and \\(f(t)\\) denotes the vector of forces.
Generally this system of equations is coupled but it can always be decoupled by using a transformation based on the non-trivial solutions (the eigenvectors) of the following eigenvalue problem:
\begin{equation}
(K + \omega\_i^2 M) \phi\_i = 0
\end{equation}
Solving the eigenvalue problem gives the eigenvalues \\(\omega\_1^2, \omega\_2^2, \dots, \omega\_n^2\\) and the corresponding eigenvectors or mode-shape vectors \\(\phi\_1, \phi\_2, \dots, \phi\_n\\).
These eigenvectors have the following orthogonality properties, or can always be chosen such that:
For \\(i=j\\) the result of the multiplication according to equation <eq:eigenvector_orthogonality_mass> yields a non-zero result, which is normally indicated as **modal mass** \\(\mathit{m}\_i\\):
- \\(|\phi\_i| = 1\\). Each eigenvector \\(\phi\_i\\) is scaled such that its length is equal to \\(1\\). The modal mass are then calculated from equation <eq:modal_mass>.
- \\(\max(\phi\_i) = 1\\). Each eigenvector \\(\phi\_i\\) is scaled such that its largest element is equation to \\(1\\). The modal mass is then calculated from equation <eq:modal_mass>.
- \\(m\_i = 1\\). The modal mass \\(\mathit{m}\_i\\) is set to \\(1\\). The scaling of the mode vector \\(\phi\_i\\) follows from equation <eq:modal_mass>.
Because the \\(n\\) eigenvectors \\(\phi\_i\\) form a **base** in the n-dimensional space, any displacement vector \\(x(t)\\) can be written as a **linear combination of the eigenvectors**.
The physical interpretation of the above two equations is that any motion of the system can be regarded as a combination of the contribution of the various modes.
Using basic formulae that are derived for a simple mass spring system, one is now able to analyze the time and frequency response of all individual modes.
Characterisation of the dynamics of a mechanical system in terms of frequency response behavior plays a major role in the stability analysis of the control loop of a mechatronic device.
In such an analysis one is typically interested in the transfer function between a measured displacement \\(x\_l\\) and a force \\(f\_k\\), which acts at the physical DoF \\(x\_k\\).
Applying the principle of modal decomposition, any transfer function can be derived by first calculating the behavior of the individual modes, and then **summing all modal contributions**.
The contribution of one single mode \\(i\\) to the transfer function \\(x\_l/f\_k\\) can be derived by first considering the response of the modal DoF \\(q\_i\\) to a force vector \\(f\\) with only one non-zero component \\(f\_k\\).
Once the modal response \\(q\_i\\) is known, the response of the physical DoF \\(x\_l\\) is found by a simple premultiplication with \\(\phi\_{il}\\), which finally leads to the following expression for the contribution of mode \\(i\\) to the transfer function:
Due to the equivalence with the differential equations of a single mass spring system, equation <eq:eoq_modal_i> is often represented by a single mass spring system on which a force \\(f^\prime = \phi\_i^T f\\) acts.
Consider the system in Figure [8](#figure--fig:rankers98-mode-trad-representation) for which the three mode shapes are depicted in the traditional graphical representation.
{{<figuresrc="/ox-hugo/rankers98_mode_trad_representation.png"caption="<span class=\"figure-number\">Figure 8: </span>System and traditional graphical representation of modes">}}
Alternatively, considering that for each mode the mode shape vector defined a constant relation between the various physical DoF, one could also **represent a mode shape by a lever** (Figure [9](#figure--fig:rankers98-mode-new-representation)).
For each individual mode \\(i\\), each physical DoF \\(x\_k\\) is indicated on the lever at a position with respect to the point of rotation that corresponds to the amplitude and sign of that DoF in the mode shape vector (\\(\phi\_{ik}\\)).
System with no, very little, or proportional damping exhibit real mode shape vectors, and thus the various DoF each their maximum values at the same moment of the cycle.
Consequently, the respective DoF can only be in phase or in opposite phase.
All DoF on the same side of the rotation point have identical phases, whereas DoF on opposite sides have opposite phases.
The modal DoF \\(q\_i\\) can be interpreted as the displacement at a distance "1" from the pivot point (Figure [9](#figure--fig:rankers98-mode-new-representation)).
{{<figuresrc="/ox-hugo/rankers98_mode_new_representation.png"caption="<span class=\"figure-number\">Figure 9: </span>System and new graphical representation of mode-shape">}}
In the case of a lumped mass model, as in the previous example, it is possible to indicate at each physical DoF on the modal lever the corresponding physical mass, as shown in Figure [10](#figure--fig:rankers98-mode-2-lumped-masses) (a).
This result is identical to the modal mass \\(m\_i\\) found with Equation <eq:modal_mass>, because the mass matrix \\(M\\) is a diagonal matrix of physical masses \\(m\_k\\), and consequently the expression for the modal mass \\(m\_i\\) yields:
As a result of this, the **modal mass** \\(m\_i\\) could be interpreted as the resulting mass moment of inertia of the modal lever, or alternatively as a **mass located at a distance "1" from the pivot point**.
The transition from physical masses to modal masses is illustrated in Figure [10](#figure--fig:rankers98-mode-2-lumped-masses) for the mode 2 of the example system.
{{<figuresrc="/ox-hugo/rankers98_mode_2_lumped_masses.png"caption="<span class=\"figure-number\">Figure 10: </span>Graphical representation of mode 2 with (a.) lumped masses and (b.) modal mass and stiffness">}}
Let's now consider the effect of excitation forces that act on the physical DoF.
The scalar product \\(\phi\_{ik}f\_k\\) of each force component with the corresponding element of the mode shape vector can be seen as the moment that acts on the modal level, or as an equivalent force that acts at the location of \\(q\_i\\) on the lever.
Based on the graphical representation in Figure [11](#figure--fig:rankers98-lever-representation-with-force), it is not difficult to understand the contribution of mode i to the transfer function \\(x\_l/f\_k\\):
Hence, the force \\(f\_k\\) must be multiplied by the distance \\(\phi\_{ik}\\) in order to find the equivalent excitation force at the location of \\(q\_i\\) on the lever, whereas the resulting modal displacement \\(q\_i\\) must be multiplied by the distance \\(\phi\_{il}\\) in order to obtain the displacement of the physical DoF \\(x\_l\\).
{{<figuresrc="/ox-hugo/rankers98_lever_representation_with_force.png"caption="<span class=\"figure-number\">Figure 11: </span>Graphical representation of mode \\(i\\), including the proper location of a force component \\(f\_k\\) that acts on physical DoF \\(x\_k\\)">}}
Often, one is not directly interested in the response of one single physical DoF, but rather in some linear combination of DoF (for instance the relative position of two DoF).
This linear combination of physical DoF, which will be called "User DoF" can be written as:
User DoF can be indicated on the modal lever, as illustrated in Figure [12](#figure--fig:rankers98-representation-user-dof) for a user DoF \\(x\_u = x\_3 - x\_2\\).
{{<figuresrc="/ox-hugo/rankers98_representation_user_dof.png"caption="<span class=\"figure-number\">Figure 12: </span>Graphical representation of mode including user DoF \\(x\_u = x\_3 - x\_2\\)">}}
The task of the device is to position the payload with respect to a tool that is mounted to the machine frame.
The actual accuracy of the machine is determined by the relative motion of these two components (actual output).
However, direct measurement of the distance between the tool and the payload is not possible and therefore the control action is based on the measured distance between a sensor and the slide on which the payload is mounted (measured output).
The slide is driven by a linear motor which transforms the output of the controller into a force on the slide and a reaction force on the stator (input).
{{<figuresrc="/ox-hugo/rankers98_servo_system.png"caption="<span class=\"figure-number\">Figure 13: </span>Schematic representation of a servo system">}}
Unfortunately, the mathematical approach of the scaling procedure of mode-shapes and modal parameters sometimes obscures the physical meaning of modal mass and modal stiffness.
The link to the real world can be found via the **effective modal mass** and the **effective modal stiffness** of a mode as it is "felt" in a certain DoF.
These effective modal parameters can be used very effectively in understanding topics such as sensitivity analysis or constructing the frequency response of a complex system from knowledge of modal contributions.
The eigenvalue analysis of the two mass spring system in Figure [14](#figure--fig:rankers98-example-2dof) leads to the modal results summarized in Table [1](#table--tab:2dof-example-modal-params) and which are graphically represented in Figure [15](#figure--fig:rankers98-example-2dof-modal).
{{<figuresrc="/ox-hugo/rankers98_example_2dof_modal.png"caption="<span class=\"figure-number\">Figure 15: </span>Graphical representation of modes and modal parameters of the two mass spring system">}}
From these results, the effective modal parameters for each mode, and for each individual DoF can be defined using equations <eq:m_modal_eff> and <eq:k_modal_eff>.
The effective modal parameters can then be used in the graphical representation of Figure [16](#figure--fig:rankers98-example-2dof-effective-modal).
Based on this representation, it is now very easy to construct the individual modal contributions to the frequency response function \\(x\_1/F\_1\\) of the example system (Figure [17](#figure--fig:rankers98-2dof-example-frf)).
{{<figuresrc="/ox-hugo/rankers98_example_2dof_effective_modal.png"caption="<span class=\"figure-number\">Figure 16: </span>Alternative graphical representation of modes of two mass spring system based on the effective modal mass and stiffnesses in DoF \\(x\_1\\)">}}
One can observe that the low frequency part of each modal contribution corresponds to the inverse of the calculated effective modal mass stiffness at DoF \\(x\_1\\) whereas the high frequency contribution is defined by the effective modal mass.
In the final Bode diagram (Figure [17](#figure--fig:rankers98-2dof-example-frf), below) one can observe an interference of the two modal contributions in the frequency range of the second natural frequency, which in this example leads to a combination of an anti-resonance an a resonance.
Assuming that one is asked to increase the natural frequency of the mode corresponding to Figure [18](#figure--fig:rankers98-example-3dof-sensitivity) by attaching a linear spring \\(k\\) between two of the three represented DoF.
As the relative motion between \\(x\_A\\) and \\(x\_B\\) is the largest of all possible combinations, this is the choice that will maximize the natural frequency of the mode.
{{<figuresrc="/ox-hugo/rankers98_example_3dof_sensitivity.png"caption="<span class=\"figure-number\">Figure 18: </span>Graphical representation of a mod with 3 DoF">}}
If one has to increase the frequency of a mode, one should focus on stiffening those components or connectors with the highest contribution to the modal **potential energy**.
On the other hand, components that contribute significantly to the modal **kinetic energy** are serious candidates for mass reduction.
A first-order approximation of the new natural frequency of mode i can easily be derived by considering the effective modal mass and stiffness of that mode in the relevant DoF.
In the case of an extra mass \\(\Delta m\\) in DoF \\(x\_k\\), the effective modal mass \\(m\_{\text{eff},i}\\) in that DoF is required, whereas in the case of an additional spring \\(\Delta k\\) between two DoF \\(x\_k\\) and \\(x\_l\\) one has to compare the contribution of \\(\Delta k\\) to the effective modal stiffness \\(k\_{\text{eff},i}\\) in the user DoF (\\(x\_k-x\_l\\)).
The new natural frequency of mode i will be approximately:
In order to analyze the effect of an extra mass at \\(x\_2\\), the effective modal mass at that DoF needs to be known for both modes (see Table [2](#table--tab:2dof-example-modal-params-eff)).
To estimate the influence of extra stiffness between the two DoF, one needs to calculate the effective modal stiffness that corresponds to the relative motion between \\(x\_2\\) and \\(x\_1\\).
{{<figuresrc="/ox-hugo/rankers98_example_sensitivity_2dof.png"caption="<span class=\"figure-number\">Figure 19: </span>Graphical representation of modes and modal parameters of two mass spring system">}}
In the mechanism shown in Figure [20](#figure--fig:rankers98-addition-of-motion), the motion of the output \\(y\\) is equals to the sum of the motion of the two inputs \\(x\_1\\) and \\(x\_2\\).
This approach can be applied to the concept of modal superposition, which expressed the motion of any physical DoF \\(x\_k(t)\\) as the summation of modal contribution:
Combining the concept of summation of modal contribution with the lever representation of mode shapes leads to Figure [21](#figure--fig:rankers98-conversion-modal-to-physical), which is a visualization of the transformation between the modal and the physical domains.
{{<figuresrc="/ox-hugo/rankers98_conversion_modal_to_physical.png"caption="<span class=\"figure-number\">Figure 21: </span>Conversion between modal DoF to physical DoF">}}
To illustrate the important of the internal deformation, a very simplified physical model of a precision machine is considered (Figure [22](#figure--fig:rankers98-suspension-mode-machine)).
{{<figuresrc="/ox-hugo/rankers98_suspension_mode_machine.png"caption="<span class=\"figure-number\">Figure 22: </span>Simplified physical model of a precision machine">}}
The machine basically consists of a very heavy granite machine frame to which an optical unit is rigidly connected.
The optical unit takes images of a specimen that is mounted on a manipulator that has certain flexibility with respect to the granite machine frame.
For a proper operation of the machine, the internal deformation \\(\epsilon = x\_2 - x\_1\\) needs to be minimal.
Typically, such a machine is designed for high internal stiffness, and it is furthermore very softly supported in order to prevent external (floor) vibrations from entering the machine.
Assuming that the natural frequency \\(\omega\_1\\) of the suspension mode \\(\phi\_1\\) is significantly lower than that of the internal mode, one can approximate the frequency of the suspension mode by considering the motion of the entire machine as one rigid body on the stiffness of the suspension system.
However, one should keep in mind that **there is always a small amount of internal deformation** in case of a non-zero suspension stiffness \\(k\_{20}\\).
with \\(\omega\_{\text{int}} = \sqrt{\frac{k\_{12}}{m\_1}}\\) representing the natural frequency of the manipulator where the base frame is clamped or infinitely heavy.
This equation shows that the internal deformation associated with the suspension mode depends on the ratio of the natural frequencies of the internal mode compared to the suspension mode.
As an example of a situation in which the internal deformation associated with the suspension mode is of significant importance, one could consider a high precision machine that is excited due to floor vibrations such that it vibrates on its suspension with an amplitude of \\(100 \mu m\\) and a frequency of 3 Hz.
The interaction between the desired (rigid body) motion and the dynamics of one additional mode and its effect on the frequency response function \\(x\_{\text{servo}}/F\_{\text{servo}}\\) is the basis of this chapter.
{{<figuresrc="/ox-hugo/rankers98_ideal_bode_nyquist.png"caption="<span class=\"figure-number\">Figure 24: </span>FRF of an ideal system with no resonances">}}
Equation <eq:effect_one_mode_simplified> will be the basis for the discussion of the various patterns that can be observe in the frequency response functions and the effect of resonances on servo stability.
The interaction between the rigid body motion and the additional mode will not only depend on \\(|\alpha|\\) but also on the **sign** of \\(\alpha\\), which determined the **phase relation between the two contributions**.
{{<figuresrc="/ox-hugo/rankers98_frf_effect_alpha.png"caption="<span class=\"figure-number\">Figure 25: </span>Contribution of rigid-body motion and modal dynamics to the amplitude and phase of FRF for various values of \\(\alpha\\)">}}
Interesting points are the interaction of the two parts at the frequency that corresponds to an intersection in the amplitude plot.
At this frequency the magnitudes are equal, so it depends on the phase of the two contributions whether they cancel each other, thus leading to a zero, or just add up.
{{<figuresrc="/ox-hugo/rankers98_final_frf_alpha.png"caption="<span class=\"figure-number\">Figure 26: </span>Bode diagram of final FRF (\\(x\_{\text{servo}}/F\_{\text{servo}}\\)) for six values of \\(\alpha\\)">}}
{{<figuresrc="/ox-hugo/rankers98_interaction_shapes.png"caption="<span class=\"figure-number\">Figure 27: </span>Bode plot of the different types of FRF">}}
{{<figuresrc="/ox-hugo/rankers98_pid_amplitude.png"caption="<span class=\"figure-number\">Figure 28: </span>Typical crossover frequencies of a PID controller with 2nd order low pass filtering">}}
With these settings, the open loop response of the position loop (controller + mechanics) looks like Figure [29](#figure--fig:rankers98-ideal-frf-pid).
{{<figuresrc="/ox-hugo/rankers98_ideal_frf_pid.png"caption="<span class=\"figure-number\">Figure 29: </span>Ideal open loop FRF of a position servo without mechanical resonances (\\(f\_b = 30\text{ Hz}\\))">}}
- A "-2 slope / zero / pole / -2 slope" characteristic leads to a phase lead, and is therefore potentially destabilizing in the low frequency (Figure [30](#figure--fig:rankers98-zero-pole-low-freq)) and high frequency (Figure [32](#figure--fig:rankers98-zero-pole-high-freq)) regions.
In the medium frequency region (Figure [31](#figure--fig:rankers98-zero-pole-medium-freq)), it adds an extra phase lead to the already existing margin, which does not harm the stability.
It is potentially destabilizing in the medium frequency range (Figure [34](#figure--fig:rankers98-pole-zero-medium-freq)) and is harmless in the low (Figure [33](#figure--fig:rankers98-pole-zero-low-freq)) and high frequency (Figure [35](#figure--fig:rankers98-pole-zero-high-freq)) ranges.
- The "-2 slope / pole / -4 slope" behavior always has a devastating effect on the stability of the loop if located in the low of medium frequency ranges.
These conclusions may differ for different mass ratio \\(\alpha\\).
{{<figuresrc="/ox-hugo/rankers98_zero_pole_low_freq.png"caption="<span class=\"figure-number\">Figure 30: </span>Open Loop FRF of type \"-2 slope / zero / pole / -2 slope\" with low frequency resonance">}}
{{<figuresrc="/ox-hugo/rankers98_zero_pole_medium_freq.png"caption="<span class=\"figure-number\">Figure 31: </span>Open Loop FRF of type \"-2 slope / zero / pole / -2 slope\" with medium frequency resonance">}}
{{<figuresrc="/ox-hugo/rankers98_zero_pole_high_freq.png"caption="<span class=\"figure-number\">Figure 32: </span>Open Loop FRF of type \"-2 slope / zero / pole / -2 slope\" with high frequency resonance">}}
{{<figuresrc="/ox-hugo/rankers98_pole_zero_low_freq.png"caption="<span class=\"figure-number\">Figure 33: </span>Open Loop FRF of type \"-2 slope / pole / zero / -2 slope\" with low frequency resonance">}}
{{<figuresrc="/ox-hugo/rankers98_pole_zero_medium_freq.png"caption="<span class=\"figure-number\">Figure 34: </span>Open Loop FRF of type \"-2 slope / pole / zero / -2 slope\" with medium frequency resonance">}}
{{<figuresrc="/ox-hugo/rankers98_pole_zero_high_freq.png"caption="<span class=\"figure-number\">Figure 35: </span>Open Loop FRF of type \"-2 slope / pole / zero / -2 slope\" with high frequency resonance">}}
Figure [36](#figure--fig:rankers98-2dof-actuator-flexibility) shows the schematic representation of a system with a certain compliance between the motor and the load.
{{<figuresrc="/ox-hugo/rankers98_2dof_modes_act_flex.png"caption="<span class=\"figure-number\">Figure 37: </span>Servo System with Actuator Flexibility - Modes">}}
{{<figuresrc="/ox-hugo/rankers98_2dof_act_flex_frf.png"caption="<span class=\"figure-number\">Figure 38: </span>Mechanical FRF of a system with actuator flexibility and position measurement at motor">}}
which corresponds to the engineering feeling that at very low frequencies the two masses move as one single mass, whereas at very high frequencies the mass \\(m\_2\\) of the load is completely decoupled such that the servo system only "feels and sees" the motion of the motor mass \\(m\_1\\).
<divclass="important">
Guideline in presence of actuator flexibility with measurement at the motor position:
- The motor inertia should be one to three times to inertial of the load
The mass ratio \\(\alpha\\) equal -1, and thus the FRF will be of type "-2 slope / pole / -4 slope" (Figure [39](#figure--fig:rankers98-2dof-act-flex-meas-load-frf)).
{{<figuresrc="/ox-hugo/rankers98_2dof_act_flex_meas_load_frf.png"caption="<span class=\"figure-number\">Figure 39: </span>FRF \\(k\_p \cdot (x\_{\text{servo}}/F\_{\text{servo}})\\) of a system with actuator flexibility and position measurement at the load">}}
Here, the influence of a limited guiding stiffness (Figure [40](#figure--fig:rankers98-2dof-guiding-flex)) on the FRF of such an actuator system will be analyzed.
The servo force \\(F\_{\text{servo}}\\) acts at a certain distance \\(a\_F\\) with respect to the center of gravity, and the servo position is measured at a distance \\(a\_s\\) with respect to the center of gravity.
Due to the symmetry of the system, the Y motion is decoupled from the X and \\(\phi\\) motions and can therefore be omitted in this analysis.
{{<figuresrc="/ox-hugo/rankers98_2dof_guiding_flex.png"caption="<span class=\"figure-number\">Figure 40: </span>2DoF rigid body model of actuator with flexibility of the guiding system">}}
Considering the two relevant modes (Figures [41](#figure--fig:rankers98-2dof-guiding-flex-x-mode) and [42](#figure--fig:rankers98-2dof-guiding-flex-rock-mode)), the resulting transfer function \\(x\_{\text{servo}}/F\_{\text{servo}}\\) can be constructed from the contributions of the individual modes:
The two distances \\(a\_F\\) and \\(a\_s\\) have a significant influence on the contribution of the rocking mode on the open loop characteristics.
Note that it is the product of these two distance and not the individual value that are important, so exchanging the position of the sensor and the force does not affect the response.
By introducing the "gyration radius" \\(\rho\\) such that \\(J = m \cdot \rho^2\\), the following mass ratio is obtained:
\begin{equation}
\alpha = \frac{a\_s a\_F}{\rho^2}
\end{equation}
As the location of the sensor and the actuator can be chosen anywhere above or below the center of gravity, \\(a\_s\\) and \\(a\_F\\), and consequently \\(\alpha\\), can become any position or negative value, and the resulting FRF can have any of the discussed characteristics.
As long as the actuating force and sensor are located on the same side of the center of gravity, \\(\alpha\\) will be positive and the overall FRF will display a "-2 slope / zero / pole / -2 slope" behaviour.
When the force and sensor are located at opposite sides of the center of gravity, one of the other three characteristics shapes will be found, depending on the exact values of \\(a\_s\\) and \\(a\_F\\).
The best way to avoid any dynamic problems is to drive the system at its center of mass.
By doing so the rocking mode is not excited, which is not only favorable from a stability point of view, but also results in good set-point behaviour.
When it is impossible to apply the forces at the correct location, one can eliminate the destabilizing effect of the rocking mode by locating the sensor at the height of the center of mass.
As this point, the resonance will not be present in the FRF.
Figure [43](#figure--fig:rankers98-frame-dynamics-2dof) shows a simple model of a translational direct drive motion on a frame with limited mass and stiffness, and in which the control system operates on the measured position \\(x\_{\text{servo}} = x\_2 - x\_1\\).
{{<figuresrc="/ox-hugo/rankers98_frame_dynamics_2dof.png"caption="<span class=\"figure-number\">Figure 43: </span>Model of a servo system including frame dynamics">}}
The amount of contribution of a certain mode (Figure [44](#figure--fig:rankers98-mode-representation-guideline)) to the open loop response and its interaction with the desired motion is determined by the modal mass and stiffness, but also by the location of the driving force and the location of the response DoF.
This observation leads to the idea that an undesired contribution of a mode to the response can be eliminated by one of the following two approaches:
1.**Mode should not be excited**, which implies that the total moment acting on the modal lever should be equal to zero:
- Locate driving force at a node of the mode
- Modify mode shape such that the location of the driving force becomes a node of the mode
- Apply additional excitation forces such that the overall moment acting on the modal lever is equal to zero
2.**Output of response DoF should be zero**:
- Shift response DoF (sensor) towards node of mode
- Modify structural system such that the sensor location becomes a node of the mode
- Add additional sensors and combine the outputs such that the contribution of the mode to the new response signal is equal to zero.
It can be shown that these two approaches are closely related to the terms "(un)controllability" and "(un)observability" that are frequently used in modern control theory.
From control theory, it is known that only those modes can be influenced of modified by the feedback loop which are observable and controllable.
If such a modification is not required and the modes are not excited by some other mechanism, it can be very effective to use uncontrollability and unobservability in a positive way in order to eliminate unwanted resonances that could endanger stability.
1. The first step consists of a translation of the real structure or initial design drawing of a structure in a **physical model**.
Such a physical model is a simplification of the reality, but contains all relations that are considered to be important to describe the investigated phenomenon.
This step requires experience and engineering judgment in order to determine which simplifications are valid.
This step is fairly straightforward, because it is based and existing approaches and rules (Example in Figure [46](#figure--fig:rankers98-illustration-first-two-steps)).
3. The third step consists of actuator **simulation run**, the outcome of which is the value of some quantity (for instance stress of some part, resonance frequency, FRF, etc.).
4. The final step is the **interpretation** of results.
Here, the calculated results and previously defined specifications are compared.
On the basis of this comparison, design decisions are taken.
It is important to realize that the design decisions taken in this step are the actual outcome of the modelling process.
{{<figuresrc="/ox-hugo/rankers98_illustration_first_two_steps.png"caption="<span class=\"figure-number\">Figure 46: </span>Illustration of the first two steps in the modelling process">}}
Modelling and simulation can only have an impact on the design process when the last step is properly done.
Often, a lot of time and energy is wasted because extended modelling and simulations is done with great enthusiasm only to find out at the end that nobody is capable of interpreting the results and to take design decisions on the basis of the obtained results.
**It is therefore recommended to start any modelling process by specifying the criteria that will be used in the interpretation and evaluation phase.**
Modelling and simulations can have three main applications:
-**Decision support**
-**Design optimization**
-**Trouble shooting** (help to better understand unexpected problems and help to find solutions)
Two aspects are crucial for the success of modelling and simulation as a tool in the product creation process, mainly the usefulness of results and the speed.
The analysis program must be capable of providing **useful results**, that is to say the answers to the proper questions.
Simply stating that the first resonance frequency of a machine lies at 150 Hz does not satisfy the needs of the control engineer who wants to know whether the machine dynamics could endanger the stability of the servo system.
The results of the simulations could be presented as Bode or Nyquist diagrams.
The second critical success factor is the **speed** with which is simulation results are obtained.
The decision making process can only be affected if the analysis results are available on time.
<divclass="important">
A **three step modelling approach** is proposed:
1.**Concept evaluation**: one checks whether a concept would work in uni-axial on the basis of a limited number of lumped masses connected by springs.
2.**System evaluation**: one checks whether it still works in 3D, again assuming rigid components connected by springs.
3.**Component evaluation**: one checks the deformation of the individual components, and how this affects the overall behaviour.
</div>
<divclass="note">
Opponents of computer simulation often doubt the predictive value of these simulations, especially is the models are very elementary, and therefore do not carry out these simulations.
One must agree that successful simulations based on a 2DoF lumped mass model of a compact disc player are no guarantee that the final product will work according to specifications.
However, if these simulations, based on an elementary model of the product, show that the specifications are not met, then chances are extremely small that the final product will perform according to specifications.
Therefore, computer simulations should be regarded as a means to guide the design process by supporting the design choices and to detect unfit design concepts at a very early state in the design process.
This three step modelling approach is now illustrated by the example of a fast and accurate pattern generator in which an optical unit has to move in X and Y directions with respect to a work piece (Figure [47](#figure--fig:rankers98-pattern-generator)).
{{<figuresrc="/ox-hugo/rankers98_pattern_generator.png"caption="<span class=\"figure-number\">Figure 47: </span>The basic elements of the pattern generator">}}
The basic elements of this machine are the work-piece and the optical unit.
The relative motion of these two elements in X and Y direction enables the generation of any pattern on the work-piece.
Based on the required throughput of the machine, an acceleration level of \\(1m/s^2\\) is required, whereas the positioning accuracy is \\(1\mu m\\) or better.
</div>
#### Specifications {#specifications}
<divclass="important">
One of the most crucial step in the modelling process is the **definition of proper criteria on the basis of which the simulation results can be judged**.
In most cases, this implies that functional system-specifications in combination with **assumed imperfections and disturbances** need to be translated into **dynamics and control specifications** (Figure [48](#figure--fig:rankers98-system-performance-spec)).
{{<figuresrc="/ox-hugo/rankers98_system_performance_spec.png"caption="<span class=\"figure-number\">Figure 48: </span>System performance specifications need to be translated into criteria on the basis of which simulation results can be judged">}}
In a first step one needs to make some initial **estimation about the required bandwidth** of the controlled system, because this is a prerequisite for evaluating the influence of the dynamics of the mechanical system on servo stability.
<divclass="exampl">
Based on some analysis, disturbance (mainly friction) forces are foreseen to be in the order of 10N.
With the wanted accuracy is \\(1 \mu m\\), the initial estimate of the required servo stiffness \\(k\_p\\) is:
\begin{equation}
k\_p = \frac{10 N}{10^{-6} m} = 10^7 N/m
\end{equation}
Neglecting the effect of the derivative action of the controller, one can obtain a first estimate of the required bandwidth \\(f\_b\\):
Having derived this estimate of the required bandwidth on the basis of the necessary disturbance rejection, one has to consider whether this bandwidth can be achieved without introducing stability problems and what the consequences are for the mechanical design.
Dynamic properties of the various designs can be now be evaluated.
#### Concept evaluation {#concept-evaluation}
In the initial stage of the development a number of different concepts will be considered.
The designer will generally use his experience and engineering judgment to select one of these concepts.
In this stage, the designer only has a rough idea about the outlines of the machine, and the feasibility of this idea can be judged on the basis of very elementary calculations.
One of the potential concepts for this machine consists of a stationary work piece with an optical unit that moves in both the X and Y directions (Figure [49](#figure--fig:rankers98-pattern-generator-concept)).
In the X direction, two driving forces are applied to the slides, whereas the position is measured by two linear encoders mounted between the slide and the granite frame.
{{<figuresrc="/ox-hugo/rankers98_pattern_generator_concept.png"caption="<span class=\"figure-number\">Figure 49: </span>One of the possible concepts of the pattern generator">}}
In this stage of the design, a simple model of the dynamic effects in the X direction could consist of the base, the slides, the guiding rail, the optical housing and intermediate flexibility (Figure [50](#figure--fig:rankers98-concept-1dof-evaluation)).
{{<figuresrc="/ox-hugo/rankers98_concept_1dof_evaluation.png"caption="<span class=\"figure-number\">Figure 50: </span>Simple 1D model for the analysis of the dynamic behaviour in the X direction">}}
By using this fast and simple method of analysis, potential risks associated with the different concepts can be evaluated.
</div>
#### System Evaluation {#system-evaluation}
Once the concept of the machine has been chosen, first rough three dimensional sketches become available and one can add extra spatial information to the simulations such as:
- mass and mass moment of inertia of the different components
- location of the center of mass
- location of connecting stiffness
- location of driving forces
- location of sensors
Typically, such a model contains 5-10 rigid bodies connected by suitable connectors that incorporate flexibility, whereas damping is in most cases added in the form of modal damping (1% relative damping is in most cases a good first estimate).
{{<figuresrc="/ox-hugo/rankers98_pattern_generator_rigid_body.png"caption="<span class=\"figure-number\">Figure 51: </span>Rigid body model of a concept based on a movement of the work-piece in X direction, and a movement of the optical unit in Y direction">}}
On the basis of previous analyses, experimental evaluation of previous designs, or engineering judgment, it is generally possible to identify **critical components** in the design.
These components will then need to be analyzed in more detail using FEM.
Sometimes it is possible to judge the influence of the internal dynamics of such a component on the performance of the total system, based on a separate analysis of the component.
However, this approach requires serious consideration of the boundary conditions and is not always feasible.
When a separate analysis of a component is not feasible, the detailed FEM description of the component can be used to replace for former rigid body description that has been used in the "system evaluation".
Such a step normally required the use of so-called "**sub-structuring**" techniques.
<divclass="exampl">
In the patter generator it is very important that the connection between the linear motor module and the work piece is sufficiently stiff.
The reason lies in the fact that due to accuracy specifications the position is measured at the work piece and not at the motor.
Consequently, one has to ensure that the internal stiffness of the actuator is high enough to avoid stability problems.
FE model of this part can be used for such purpose.
</div>
#### Final remarks {#final-remarks}
For the industrial application of "predictive modelling" it is essential that the amount of detail in a simulation model corresponds to the current phase in the design process.
A design team profits from the application of simulation tools only if a proper balance is found between detail and accuracy on one hand, and the total throughput time of the analysis on the other hand.
In the "component evaluation" stage, detailed FE models of critical components need to be created and analyzed.
Sometimes, components can be evaluated individually against component specifications, which are often defined in terms of lower internal natural frequencies.
In other cases, such a separate analysis of a component is not sufficient to judge the impact of its dynamics on the overall system, and one is forced to combine these detailed component-models into a detailed model of the entire system.
Due to the complexity of the structures it is normally not very practical to build one, single, huge, FE model of the entire device:
- Building one huge model of a machine tends to be very error-prone
- It is not feasible to work on one huge model with a group of people
- The resulting mass and stiffness matrices can easily have many thousands degrees of freedom, which puts high demands on the required computing capacity.
A technique which overcomes these disadvantages is the co-called **sub-structuring technique**.
In this approach, illustrated in Figure [52](#figure--fig:rankers98-substructuring-technique), the system is divided into substructures or components, which are analyzed separately.
{{<figuresrc="/ox-hugo/rankers98_substructuring_technique.png"caption="<span class=\"figure-number\">Figure 52: </span>Steps in the creation of an overall system model based on detailed FE models of the components">}}
- In the first step, the entire system is sub-divided into components
- In the second step, a detailed FE model of each component is generated, resulting in a component mass and stiffness matrix
- In the step three, a reduced model of the component is generated by applying a "component reduction" technique to the original model.
The intention of this step is to reduce the size of the matrices that describe the behaviour of the component, yet retain its main dynamic characteristics.
- Finally, the reduced models are assembled into one overall system
Machine dynamics, and the interaction with the control system, plays a dominant role in the performance of fast and accurate servo-controlled positioning devices such as compact disc, wafer-steppers, and component-mounters.
The mathematics of a single decoupled "modal" equation of motion can be translated into a graphical representation including all relevant data, which simplifies the understanding and creative use of the modal concept.
From a servo stability point of view it is essential to investigate the mechanical FRF (\\(x/F\\)) which characterizes the dynamic properties of the mechanical system.
Once the dynamics of the one individual mode is fully understood it is straightforward to construct this FRF and the interaction between the desired rigid body motion and the contribution of one additional mode.
A closer investigation of this interaction reveals that only four interaction patterns exists.
The destabilizing effect of a mechanical resonance depends not only on the resulting typical interaction pattern in the FRF, but also on its frequency in relation to the intended bandwidth frequency of the control loop.
On the basis of these stability considerations, **design guidelines** for the mechanics of a servo positioning devices are derived, so as to minimize the effect of mechanical vibrations on the stability of the controlled system.
In view of its importance to the overall performance, the effect of machine dynamics should be monitored during the entire design process through the use of **modelling and simulation** techniques.
However, it is vital for the success of modelling and simulation as a tool to support design decisions, that analysis data are translated into useful information, and that this information is available on time.
This requires a proper balance between accuracy and speed that can best be achieved by a top-down analysis process, which is closely linked to the phases in the design process, and in which the simulation models are step-wise refined.
When many parts of the mechanical system need to be modelled in great detail it is not advisable to build one, single, huge FE model but rather to apply a so-called "**sub-structuring**" techniques.
The Craig-Bampton approach, which is a component mode technique based on a combination of all boundary constraint modes plus a limited number of fixed interface normal modes, was found to be favorable.
It has static solution capacity, and the frequency of the highest fixed-interface normal mode gives a good indication of the frequency range up to which the overall system results are valid.
<divclass="csl-entry"><aid="citeproc_bib_item_1"></a>Rankers, Adrian Mathias. 1998. “Machine Dynamics in Mechatronic Systems: An Engineering Approach.” University of Twente.</div>