Undamped Pendulum

Electrical block diagram

Control loop

As an assignment for the class Mechanical Engineering Lab, I led a team of four students to develop a setup to nullifying the damping of a pendulum by imparting lost energy through an electromagnet.

The setup consisted of a cylindrical iron bob attached to a steel rod. The rod was mounted on bearings through a shaft. An optical encoder was installed on the shaft for measuring the angle of the rod with time. Additionally, an Inertial Measurement Unit (IMU) containing an accelerometer and gyroscope was attached to the bob for measuring acceleration and angular velocity of the bob with time. A voltage controlled electromagnet was also installed just below the bob at the equilibrium position.

Using the behavior of the amplitude decay, we calculated the damping coefficients of the system. These coefficients were then used to find the required force/energy to overcome the damping. This force was then provided by the switching the electromagnet such that the magnet always attracts the bob in the direction of its motion. Further, a PID control loop was implemented on the voltage input of the electromagnet. At the end of the experimentation, we were successfully able to overcome the damping loses and maintain a constant amplitude and time period.

(Aug. 2016 - Nov. 2016)

Software used:

  • Solidworks
  • MATLAB
  • Arduino

Damping of amplitude with respect to time for 10 degree maximum amplitude.

Time period of pendulum with respect to no. of cycle for 10 degree maximum amplitude.

Variation of amplitude with respect to time (electromagnet is in play for some time and then it is completed shutoff).

Time period of pendulum with respect to no. of cycle (electromagnet is in play for some time and then it is completed shutoff).