The Control of an Inverted Pendulum

Total Page:16

File Type:pdf, Size:1020Kb

The Control of an Inverted Pendulum The Control of an Inverted Pendulum AAE 364L This experiment is devoted to the inverted pendulum. Clearly, the inverted pendulum will fall without any control. We will design a controller to balance the pendulum upright. Figure 1: The inverted pendulum. This experiment consists of a cart with mass Mc on a one dimensional track with a pendulum attached to the cart. The pendulum starts in the upward position. The cart is driven by a force from a servo motor. The position of the cart is denoted by xc(t), and the Voltage to the servo motor is denoted by v(t). The angle between the pendulum and its vertical or upright position is denoted by α; see Figure 1. The nonlinear equations of motion 1 are given by 2 2 2 2 2 (Mc + Mp)Ip + McMplp + Mp lp sin(α) x¨c + Ip + Mplp Beqx˙ c 2 3 2 2 2 2 = −MplpBp cos(α)˙α − Mp lp + IpMplp sin(α)˙α + Ip + Mplp Fc + Mp lpg cos(α)sin(α); 2 2 2 2 (Mc + Mp)Ip + McMplp + Mp lp sin(α) α¨ +(Mc + Mp) Bpα˙ 2 2 2 = (Mc + Mp) Mpglp sin(α) − Mplp cos(α)Beqx˙ c − Mp lp sin(α)cos(α)˙α + Mplp cos(α)Fc; ηgKgηmKt (vrmp − KgKmx˙ c) Fc = 2 . (0.1) Rmrmp Here Fc is the force on the cart. The notation and values are given in the table in the Appendix. These values are given also given in the MATLAB file “setup lab ip01 2 sip.m” posted on the Web page for the course. So you do not have to calculate any of these values for the Lab. The linearized equations of motion about α = 0 are determined by 2 2 2 2 Mp lpgα − (Ip + Mplp)Beqx˙ c − MplpBpα˙ +(Ip + Mplp)Fc x¨c = 2 (Mc + Mp)Ip + McMplp (Mc + Mp)Mpglpα − (Mc + Mp)Bpα˙ − MplpBeqx˙ c + MplpFc α¨ = 2 (Mc + Mp)Ip + McMplp ηgKgηmKt (vrmp − KgKmx˙ c) Fc = 2 . (0.2) Rmrmp Now let us convert the linear equations to a state space model of the form x˙ = Ax + Bv. Here A is a 4 × 4 matrix, B is a column vector of length 4 and the input v is the voltage to the motor. To convert the system in (0.2) to state space we will use the following state variables: x1 xc x α x = 2 = . (0.3) x3 x˙ c x4 α˙ By consulting the values in the table in the Appendix, we computed A and B, that is, 00 1 0 0 00 0 1 0 A = and B = . (0.4) 0 1.5216 −11.6513 −0.0049 1.5304 0 26.1093 −26.8458 −0.0841 3.5261 It is emphasized that this A and B in (0.4) is computed for the IP02 cart with the 0.37 kg weight attached and the long pendulum. The matrices A and B will change if we take off the weight or switch to the medium pendulum. The matrices A and B in (0.4) are contained 2 in the MATLAB setup file “setup lab ip01 2 sip.m” posted on the course Web page. So you do not have to retype A and B in MATLAB. Because the inverted pendulum is unstable and the state equationx ˙ = Ax + Bv is the linear approximation for the inverted pendulum, the matrix A is unstable. In fact, the eigenvalues for A are given by eig(A)= {0, 4.8231, −12.0133, −4.5452}. (0.5) As expected, A is unstable. Let us compute the transfer function from the voltage v to the output xc. Since x1 = xc, the corresponding output matrix C is given by C = 1000 . (0.6) By using ss2tf in MATLAB, we see that the transfer function from the voltage v to the position xc of the cart is given by X (s) 1.53s2 +0.1114s − 34.59 c = C(sI − A)−1B = . (0.7) V (s) s4 + 11.74s3 − 25.26s2 − 263.4s Notice that this is a fourth order system. Because the denominator contains terms with Xc(s) negative coefficients, it follows that the transfer function V (s) is unstable. In fact, the Xc(s) Xc(s) poles of V (s) are the eigenvalues of A. In other words, the poles of V (s) are given by Xc(s) eig(A)= {0, 4.8231, −12.0133, −4.5452}. Therefore V (s) is unstable. Now let us compute the transfer function from the voltage v to the angle α. Since x2 = α, the corresponding output matrix C is given by C = 0100 . (0.8) By using ss2tf in MATLAB, we see that the transfer function from the voltage v to the angle α is determined by α(s) 3.526s = C(sI − A)−1B = . (0.9) V (s) s3 + 11.74s2 − 25.26s − 263.4 Finally, it is noted that this is an unstable third order system. The displacement of the end of the pendulum along the track is given by xe = xc + Lp sin(α) where Lp is the length of the pendulum; see Figure 1. (Notice that lp is the distance to the center of mass of the pendulum and Lp is the distance to the end of the pendulum.) For small angles xe ≈ xc + Lpα. Since x1 = xc, x2 = α and Lp =0.6413 m, the output matrix C corresponding to xe is given by C = 1 0.6413 0 0 . (0.10) By using ss2tf in MATLAB we see that the transfer function from the voltage v to the end of the pendulum xe is determined by X (s) 3.792s2 +0.1114s − 34.59 e = C(sI − A)−1B = . (0.11) V (s) s4 + 11.74s3 − 25.26s2 − 263.4s Finally, it is noted that this is an unstable fourth order system. 3 1 The linear quadratic regulator You can use pole placement to design a feedback controller for the inverted pendulum. One disadvantage of the pole placement procedure is that placing the poles at a desired location can lead to large gains. In this section, we will present the linear quadratic regulator (LQR) problem, and show how one can use the LQR for control design. It turns out that in many instances, the LQR method is superior to the pole placement method. Finally, you can choose either pole placement or LQR for your control design of the inverted pendulum. In fact, you can use any control method that you want as long as it works. However, we believe you will discover that the LQR method will work very nicely for the inverted pendulum. Now let us present the linear quadratic regulator (LQR) method. The proof behind the LQR is given in A&AE 564. Here we will just use MATLAB to design a LQR controller. To set up the LQR problem, consider a controllable state space system of the form x˙ = Ax + Bv. (1.1) Here A is a n × n matrix and B is a column vector of length n and the state x1 x2 x = . . x n is a vector of length n. Let R> 0 and Q be a diagonal matrix of the form q1 0 ··· 0 0 q2 ··· 0 Q = . , (1.2) . .. 0 0 ··· q n where qj ≥ 0 for all j. Now consider the optimization problem ∞ ∞ n ∗ 2 2 2 min x Qx + Rv dt = min qjxj + Rv dt Z0 Z0 j=1 ! X subjecttox ˙ = Ax + Bv. (1.3) (The conjugate transpose of a vector z is denoted by z∗.) The control engineer chooses the n weights {qj}1 and R> 0. It is emphasized that the weight R must be strictly positive. The optimal control v or solution to this optimization problem is unique and given by v = −Kx where K is a state gain matrix, that is, K is a row matrix of length n. The MATLAB command to compute K is given by K = lqr(A, B, Q, R). (1.4) In this case, the closed loop system corresponding to the optimal control v = −Kx is given by x˙ =(A − BK)x. 4 Finally, it is noted that A − BK is stable. n The state weights {qj}1 are chosen to emphasize the response of certain states, while the control weight R is chosen to select how much control effort v is used to solve the optimization problem in (1.3). For example, if q1 and q3 are large, then the weights q1 and q3 are placing a large penalty on the states x1 and x3, that is, if x1 or x3 is large, then the large weights q1 and q3 will amplify the effect of x1 or x3 in the optimization problem. Since the optimization ∞ n 2 2 problem is trying to minimize 0 j=0 qjxj + Rv dt, the optimal control v must force the states x and x to be small. So if q and q are large, then the control designer is trying 1 3 R P 1 3 to make the states x1 and x3 small and places less emphasis on how the other states respond. n If the control weight R is large relative to {qj}1 , then the weight R is placing a large penalty on the control effort v, that is, if the control v is large, then the large weight n R relative to {qj}1 will amplify the effect of the control v in the optimization problem. ∞ n 2 2 Since the optimization problem is trying to minimize 0 j=0 qjxj + Rv dt, the optimal control v must be small in order to solve the optimization problem in (1.3).
Recommended publications
  • Inverted Pendulum System Introduction This Lab Experiment Consists of Two Experimental Procedures, Each with Sub Parts
    Inverted Pendulum System Introduction This lab experiment consists of two experimental procedures, each with sub parts. Experiment 1 is used to determine the system parameters needed to implement a controller. Part A finds the hardware gains in each direction of motion. Part B requires calculation of system parameters such as the inertia, and experimental verification of the calculations. Experiment 2 then implements a controller. Part A tests the system without the controller activated. Part B then activates the controller and compares the stability to Part A. Part C then has a series of increasing step responses to determine the controller’s ability to track the desired output. Finally Part D has an increasing frequency input into the system to determine the system’s frequency response. Hardware Figure 1 shows the Inverted Pendulum Experiment. It consists of a pendulum rod which supports the sliding balance rod. The balance rod is driven by a belt and pulley which in turn is driven by a drive shaft connected to a DC servo motor below the pendulum rod. There are two series of weights included that affect the physical plant: brass counter weights connected underneath the pivot plate with adjustable height and weight and brass “donut” weights attached to both ends of the balance rod. Figure 1: Model 505 ECP Inverted Pendulum Apparatus 1 Safety - Be careful on the step where students are asked to physically turning the equipment upside-down. Make sure the device is not on the edge of the table after it is inverted. - Make sure the pendulum, when released, will not hit anyone or anything.
    [Show full text]
  • Problem Set 26: Feedback Example: the Inverted Pendulum
    26 Feedback Example: The Inverted Pendulum Recommended Problems P26.1 Consider an inverted pendulum mounted on a movable cart as depicted in Figure P26.1. We have modeled the pendulum as consisting of a massless rod of length L, with a mass m attached at the end. The variable 0(t) denotes the pendulum's angular deflection from the vertical, g is gravitational acceleration, s(t) is the position of the cart with respect to some reference point, a(t) is the acceleration of the cart, and x(t) represents the angular acceleration resulting from any disturbances, such as gusts of wind. NIM L L I x(t) 0(t) N9 a(t) s(t) Figure P26.1 Our goal in this problem is to analyze the dynamics of the inverted pendulum and more specifically to investigate the problem of balancing the pendulum by judi­ cious choice of the cart acceleration a(t). The differential equation relating 0(t), a(t), and x(t) is d20(t) L dt = g sin [(t)] - a(t) cos [(t)] + Lx(t) (P26.1-1) This relation merely equates the actual acceleration of the mass along a direction perpendicular to the rod and the applied accelerations (gravity, the disturbance acceleration due to x(t), and the cart acceleration) along this direction. Note that eq. (P26.1-1) is a nonlinear differential equation relating 0(t), a(t), and x(t). The detailed, exact analysis of the behavior of the pendulum therefore requires that we examine this nonlinear equation; however, we can obtain a great deal of insight into the dynamics of the inverted pendulum by performing a linear analysis.
    [Show full text]
  • The Stability of an Inverted Pendulum
    The Stability of an Inverted Pendulum Mentor: John Gemmer Sean Ashley Avery Hope D’Amelio Jiaying Liu Cameron Warren Abstract: The inverted pendulum is a simple system in which both stable and unstable state are easily observed. The upward inverted state is unstable, though it has long been known that a simple rigid pendulum can be stabilized in its inverted state by oscillating its base at an angle. We made the model to simulate the stabilization of the simple inverted pendulum. Also, the numerical analysis was used to find the stability angle. Introduction The model of the simple pendulum problem is one the most well studied dynamical systems. Imagine a weight attached to the end of weightless rod that is freely swinging back and forth about some pivot without friction. The governing equation for this idealized mathematical model is given as d 2θ 2 + glsinθ = 0, where g is gravitational acceleration, � is the length of the pendulum, and � is the dt angular displacement about downward vertical. If the pendulum starts at any given angle, we can expect € € to see one of the following happen: the pendulum will oscillate about the downward angle,θ = 0; it will continue to rotate around the pivot; or it will stay still, atθ = 0,π , but atθ = π any slight disturbance will € cause the pendulum to swing downward. € € Separatrix Rotations Oscillations The phase portrait above shows that the stability points for the simple pendulum are atθ = πn, for n = 0,±1,±2,.... For even n‘s,θ is a stable point and if given some angular velocity,ω , the pendulum € will always oscillate around it, but for odd n’s,θ is an unstable point, so even the smallest angular € € € € velocity will knock the pendulum off it and it will swing down toward its stable point.
    [Show full text]
  • Model-Based Proprioceptive State Estimation for Spring-Mass Running
    Model-Based Proprioceptive State Estimation for Spring-Mass Running Ozlem¨ Gur¨ and Uluc¸Saranlı Abstract—Autonomous applications of legged platforms will [18] limit their utility for use with fully autonomous mobile inevitably require accurate state estimation both for feedback platforms. Visual state estimation methods by themselves often control as well as mapping and planning. Even though kinematic do not offer sufficient measurement bandwith and accuracy models and low-bandwidth visual localization may be sufficient for fully-actuated, statically stable legged robots, they are in- and when they do, they entail high computational loads that are adequate for dynamically dexterous, underactuated platforms not feasible for autonomous operation [17]. As a consequence, where second order dynamics are dominant, noise levels are a combination of both proprioceptive and exteroceptive sensors high and sensory limitations are more severe. In this paper, we are often used within filter based sensor fusion frameworks to introduce a model based state estimation method for dynamic combine the advantages of both approaches. running behaviors with a simple spring-mass runner. By using an approximate analytic solution to the dynamics of the model within In this paper, we show how the use of an accurate analytic an Extended Kalman filter framework, the estimation accuracy of motion model and additional cues from intermittent kinematic our model remains accurate even at low sampling frequencies. events can be utilized to achieve accurate state estimation for We also propose two new event-based sensory modalities that dynamic running even with a very limited sensory suite. To further improve estimation performance in cases where even this end, we work with the well-established Spring-Loaded the internal kinematics of a robot cannot be fully observed, such as when flexible materials are used for limb designs.
    [Show full text]
  • The Strengths and Weaknesses of Inverted Pendulum
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by University of Salford Institutional Repository THE STRENGTHS AND WEAKNESSES OF INVERTED PENDULUM MODELS OF HUMAN WALKING Michael McGrath1, David Howard2, Richard Baker1 1School of Health Sciences, University of Salford, M6 6PU, UK; 2School of Computing, Science and Engineering, University of Salford, M5 4WT, UK. Email: [email protected] Keywords: Inverted pendulum, gait, walking, modelling Word count: 3024 Abstract – An investigation into the kinematic and kinetic predictions of two “inverted pendulum” (IP) models of gait was undertaken. The first model consisted of a single leg, with anthropometrically correct mass and moment of inertia, and a point mass at the hip representing the rest of the body. A second model incorporating the physiological extension of a head‐arms‐trunk (HAT) segment, held upright by an actuated hip moment, was developed for comparison. Simulations were performed, using both models, and quantitatively compared with empirical gait data. There was little difference between the two models’ predictions of kinematics and ground reaction force (GRF). The models agreed well with empirical data through mid‐stance (20‐40% of the gait cycle) suggesting that IP models adequately simulate this phase (mean error less than one standard deviation). IP models are not cyclic, however, and cannot adequately simulate double support and step‐ to‐step transition. This is because the forces under both legs augment each other during double support to increase the vertical GRF. The incorporation of an actuated hip joint was the most novel change and added a new dimension to the classic IP model.
    [Show full text]
  • (PH003) Classical Mechanics the Inverted Pendulum
    CALIFORNIA INSTITUTE OF TECHNOLOGY PHYSICS MATHEMATICS AND ASTRONOMY DIVISION Freshman Physics Laboratory (PH003) Classical Mechanics The Inverted Pendulum Kenneth G Libbrecht, Virginio de Oliveira Sannibale, 2010 (Revision October 2012) Chapter 3 The Inverted Pendulum 3.1 Introduction The purpose of this lab is to explore the dynamics of the harmonic me- chanical oscillator. To make things a bit more interesting, we will model and study the motion of an inverted pendulum (IP), which is a special type of tunable mechanical oscillator. As we will see below, the IP contains two restoring forces, one positive and one negative. By adjusting the relative strengths of these two forces, we can change the oscillation frequency of the pendulum over a wide range. As usual (see section3.2), we will first make a mathematical model of the IP, and then you will characterize the system by measuring various parameters in the model. Finally, you will observe the motion of the pen- dulum and see if it agrees with the model to within experimental uncer- tainties. The IP is a fairly simple mechanical device, so you should be able to analyze and characterize the system almost completely. At the same time, the inverted pendulum exhibits some interesting dynamics, and it demon- strates several important principles in physics. Waves and oscillators are everywhere in physics and engineering, and one of the best ways to un- derstand oscillatory phenomenon is to carefully analyze a relatively sim- ple system like the inverted pendulum. 27 DRAFT 28 CHAPTER 3. THE INVERTED PENDULUM 3.2 Modeling the Inverted Pendulum (IP) 3.2.1 The Simple Harmonic Oscillator We begin our discussion with the most basic harmonic oscillator – a mass connected to an ideal spring.
    [Show full text]
  • The Inverted Pendulum
    Lab 1 The Inverted Pendulum Lab Objective: We will set up the LQR optimal control problem for the inverted pendulum and compute the solution numerically. Think back to your childhood days when, for entertainment purposes, you'd balance objects: a book on your head, a spoon on your nose, or even a broom on your hand. Learning how to walk was likely your initial introduction to the inverted pendulum problem. A pendulum has two rest points: a stable rest point directly underneath the pivot point of the pendulum, and an unstable rest point directly above. The generic pendulum problem is to simply describe the dynamics of the object on the pendu- lum (called the `bob'). The inverted pendulum problem seeks to guide the bob toward the unstable fixed point at the top of the pendulum. Since the fixed point is unstable, the bob must be balanced relentlessly to keep it upright. The inverted pendulum is an important classical problem in dynamics and con- trol theory, and is often used to test different control strategies. One application of the inverted pendulum is the guidance of rockets and missiles. Aerodynamic insta- bility occurs because the center of mass of the rocket is not the same as the center of drag. Small gusts of wind or variations in thrust require constant attention to the orientation of the rocket. The Simple Pendulum We begin by studying the simple pendulum setting. Suppose we have a pendulum consisting of a bob with mass m rotating about a pivot point at the end of a (massless) rod of length l.
    [Show full text]
  • Computational and Robotic Models of Human Postural Control
    COMPUTATIONAL AND ROBOTIC MODELS OF HUMAN POSTURAL CONTROL by Arash Mahboobin B.S., Azad University, 1998 M.S., University of Illinois at Urbana–Champaign, 2002 Submitted to the Graduate Faculty of the School of Engineering in partial fulfillment of the requirements for the degree of Doctor of Philosophy University of Pittsburgh 2007 UNIVERSITY OF PITTSBURGH SCHOOL OF ENGINEERING This dissertation was presented by Arash Mahboobin It was defended on November 20, 2007 and approved by P. J. Loughlin, Ph.D., Department of Electrical and Computer Engineering M. S. Redfern, Ph.D., Department of Bioengineering C. G. Atkeson, Ph.D., The Robotics Institute, Carnegie Mellon University J. R. Boston, Ph.D., Department of Electrical and Computer Engineering A. A. El–Jaroudi, Ph.D., Department of Electrical and Computer Engineering Z–H. Mao, Ph.D., Department of Electrical and Computer Engineering P. J. Sparto, Ph.D., Department of Physical Therapy Dissertation Director: P. J. Loughlin, Ph.D., Department of Electrical and Computer Engineering ii Copyright c by Arash Mahboobin 2007 iii ABSTRACT COMPUTATIONAL AND ROBOTIC MODELS OF HUMAN POSTURAL CONTROL Arash Mahboobin, PhD University of Pittsburgh, 2007 Currently, no bipedal robot exhibits fully human-like characteristics in terms of its postural control and movement. Current biped robots move more slowly than humans and are much less stable. Humans utilize a variety of sensory systems to maintain balance, primary among them being the visual, vestibular and proprioceptive systems. A key finding of human pos- tural control experiments has been that the integration of sensory information appears to be dynamically regulated to adapt to changing environmental conditions and the available sensory information, a process referred to as “sensory re-weighting.” In contrast, in robotics, the emphasis has been on controlling the location of the center of pressure based on proprio- ception, with little use of vestibular signals (inertial sensing) and no use of vision.
    [Show full text]
  • Inverted Pendulum Introduction
    Inverted Pendulum Objectives The objective of this lab is to experiment with the stabilization of an unstable system. The inverted pendulum problem is taken as an example and the animation program gives a feel for the chal- lenges of manual control. A stabilizing linear controller is designed using root-locus techniques, and the controller is refined to enable stabilization of the inverted pendulum at any position on the track. Introduction The inverted pendulum system is a favorite experiment in control system labs. The highly unstable nature of the plant enables an impressive demonstration of the capabilities of feedback systems. The inverted pendulum is also considered a simplified representation of rockets flying into space. Fig. 8.32 shows a diagram of the experiment. A cart rolls along a track, with its position x being controlled by a motor. A beam is attached to the cart so that it rotates freely at the point of contact with the cart. The angle of the beam with the vertical is denoted θ,and an objective is to keep the angle close to zero. Since the pendulum may be stabilized at any position on the track, a second objective is to specify the track position. However, recovery from non-zero beam angles may require significant movements of the cart along the track, and stabilization may be impossible if an insufficient range of motion remains. A model of the inverted pendulum may be derived using standard techniques. A careful derivation (H. Khalil, Nonlinear Systems, 2nd edition, Prentice Hall, Upper Saddle River, NJ, 1996) shows that d2θ d2x (I + mL2) + mL cos(θ) = mgL sin(θ) (8.39) dt2 dt2 where m is the mass of the beam, 2L is the length of the beam, I = mL2/3 is the moment of inertia of the beam around its center of gravity, and g is the acceleration of gravity.
    [Show full text]
  • Cordingleyz2020m.Pdf (1.899Mb)
    Lakehead University Knowledge Commons,http://knowledgecommons.lakeheadu.ca Electronic Theses and Dissertations Electronic Theses and Dissertations from 2009 2020 The immediate effects of Tai Chi on the postural stability, muscle activity and measures of inferred ankle proprioception of healthy young adults Cordingley, Zachary http://knowledgecommons.lakeheadu.ca/handle/2453/4683 Downloaded from Lakehead University, KnowledgeCommons Running head: EFFECTS OF TAI CHI ON POSTURAL STABILITY AND ANKLE PROPRIOCEPTION The Immediate Effects of Tai Chi on the Postural Stability, Muscle Activity and Measures of Inferred Ankle Proprioception of Healthy Young Adults Zachary Cordingley Supervisor: Dr. Paolo Sanzo Committee: Dr. Carlos Zerpa and Dr. Kathryn Sinden Lakehead University EFFECTS OF TAI CHI ON POSTURAL STABILITY AND ANKLE 2 PROPRIOCEPTION Table of Contents Table of Contents ...................................................................................................................... 2 List of Figures ........................................................................................................................... 6 List of Tables .......................................................................................................................... 10 List of Abbreviations .............................................................................................................. 11 Abstract ..................................................................................................................................
    [Show full text]
  • Double Inverted Pendulum Model of Reactive Human Stance Control
    MULTIBODY DYNAMICS 2011, ECCOMAS Thematic Conference J.C. Samin, P. Fisette (eds.) Brussels, Belgium, 4-7 July 2011 DOUBLE INVERTED PENDULUM MODEL OF REACTIVE HUMAN STANCE CONTROL Georg Hettich, Luminous Fennell and Thomas Mergner Neurology, University of Freiburg, Breisacher Str. 64, 79106 Freiburg, Germany e-mail: [email protected], [email protected], [email protected] Keywords: Human Stance, Balancing, External Disturbances, Foot Support Tilt, Sensory Feedback Control Model, Double Inverted Pendulum Biomechanics. Abstract: When maintaining equilibrium in upright stance, humans use sensory feedback control to cope with unforeseen external disturbances such as support surface motion, this de- spite biological ‘complications’ such as noisy and inaccurate sensor signals and considerable neural, motor, and processing time delays. The control method they use apparently differs from established methods one normally finds in technical fields. System identification recent- ly led us design a control model that we currently test in our laboratory. The tests include hardware-in-the-loop simulations after the model’s embodiment into a robot. The model is called disturbance estimation and compensation (DEC) model. Disturbance estimation is per- formed by on-line multisensory interactions using joint angle, joint torque, and vestibular cues. For disturbance compensation, the method of direct disturbance rejection is used (“Störgrös- senaufschaltung”). So far, biomechanics of a single inverted pendulum (SIP) were applied. Here we extend the DEC concept to the control of a double inverted pendulum (DIP; moving links: trunk on hip joint and legs on ankle joints). The aim is that the model copes in addition with inter-link torques and still describes human experimental data.
    [Show full text]
  • Stabalizing an Inverted Pendulum
    Stabalizing an Inverted Pendulum Student: Kyle Gallagher Advisor: Robert Fersch December 14, 2013 1 Introduction: A pendulum is a simple system, consisting of a mass held aloft by either a string or a rod that is free to pivot about a certain point. This system will naturally over time approach an equilibrium where the center of mass is directly below the pivot point, and thus the energy of the system is at a minimum. However, if we invert the system, we are now presented with an inherently unstable system, the inverted pendulum, henceforth referred to as IP. Figure 1: On the left is a diagram of a simple pendulum. On the right is a diagram of an inverted pendulum. The yellow lines indicate the normal/ reference. While, mathematically speaking it is possible to balance a mass above a pivot point wherein the system will be at equilibrium and thus stable, this proves to be rather arduous and impractical for use beyond academic demonstrations (Figure 2). When viewed from a physics and engineering perspective, the instability of the system requires dynamic external forces for it to remain upright. Some methods for stabilizing the IP system include: applying atorqueatthepivotpoint,displacingthepivotpointalongeithertheverticalorhorizon- tal axis, or oscillating the mass along the pendulum. These methods work by allowing a controller to continually adjust outputs (applied forces) in reaction to changing inputs (an- gle of pendulum), ultimately manipulating the system towards the upright equilibrium point. 1 Figure 2: Two forks balencing on a toothpick. Their center of mass is directly above the point of contact between the toothpick and glass.
    [Show full text]