Experimental Model Based Control Design Using Multibody Codes

Raffaello D’Andrea2024

Abstract

In this paper we discuss an on-going project at Cornell University aimed at introducing a significant graphical simulation component in the dynamics and control curriculum, and to expose the students to the interplay between simulations and experiments. This is being achieved by incorporating control experiments from Quanser Consulting, MATLAB control software from the Mathworks, and the Working Model 2D and 3D multibody code software from Knowledge Revolution. The benefits of this approach are both economical and pedagogical; only a limited number of control experiments needs to be purchased and maintained, and it exposes to the students to computer simulation and the relationship between simulations and reality.

Introduction

In traditional engineering education, there is often a disconnect between the "clean" world of mathematical models and the "messy" reality of physical hardware. Building prototypes is expensive and slow, while simple simulations often fail to capture non-linearities like friction, stiction, and sensor noise. This project addresses the need for a pedagogical framework that teaches students the iterative nature of modern industrial design. The goal is to move the bulk of the "trial and error" phase into a high-fidelity simulated environment, saving costs on hardware while teaching students how to handle the inevitable discrepancies between a model and the real world.

Methodology

The core of the approach is a tightly coupled software-hardware loop involving Working Model 2D/3D for multibody dynamics and MATLAB for control law development. The systems are interfaced via Dynamic Data Exchange (DDE) or Object Linking and Embedding (OLE). At each time step, Working Model pauses, sends "sensor" data to MATLAB, receives "actuator" commands back, and then resumes the simulation.

Schematic diagram of the inverted pendulum on a cart system, illustrating the key physical variables and sensor locations.

The curriculum enforces a six-step design cycle: theoretical concepts, system identification, system simulation, control design, design simulation, and finally physical implementation on Quanser Consulting hardware. During identification, students use measured physical parameters such as a 914g cart mass and 2.6 Ω armature resistance to populate their models.

Results and Insights

The most striking result of this methodology is the "First-Try" success rate. By requiring students to iterate between the simulation and their design (averaging five iterations), every single student group (15 out of 15) was able to stabilize the physical inverted pendulum on their very first attempt. This is particularly impressive given that the inverted pendulum is a non-minimum phase system, where the presence of a right-half-plane zero makes the control task inherently non-trivial.

Simulation interface showing the inverted pendulum being stabilized with real-time data readouts for voltage and displacement.

Students learned firsthand the tradeoff between high-fidelity models and reduced-order models. While the simulation captured non-linearities like stiction—leading to predicted limit cycles—it failed to capture high-frequency motor chatter. This taught students that while simulation is a powerful "what-if" machine for exploring sensitivity and robustness, physical verification remains the ultimate truth. Quantitatively, students met strict design specs, such as maintaining stability for at least 10 seconds while keeping control gains below 85 dB to prevent motor damage.

Conclusion and Future Work

The use of simulation significantly reduced wear and tear on physical lab equipment and improved pedagogical efficiency. Future work includes addressing interface bottlenecks (moving from DDE to more robust standards) and introducing more complex multivariable challenges, such as doubly inverted pendulums and planar manipulators. These advanced scenarios will further test the limits of multibody codes in handling complex constraints and collisions.

Summary updated

BibTeX
@misc{dandrea2024experimental,
  author = {Raffaello D’Andrea},
  title = {{Experimental Model Based Control Design Using Multibody Codes}},
  year = {2024},
  doi = {10.18260/1-2--7662},
}
Figure