Showing posts with label pendulum. Show all posts
Showing posts with label pendulum. Show all posts

Wednesday, June 15, 2011

Hybrid Control of Inverted Pendulum with Wiimote swingup - Video


Hybrid Control of Inverted Pendulum with Wiimote swingup
Tutorial Description
Our new rapid controls prototyping software QuaRC, has many new features - one of them being drag n drop Simulink block support for the Nintendo Wiimote. Here we replaced the energy swing-up portion of the hybrid controller for a classic rotary inverted pendulum with manual control via the Wiimote.
Hybrid Control of Inverted Pendulum with Wiimote swingup - Video

Saturday, June 11, 2011

Pendulum simulation using Simulink and a .svg hack - Video


Pendulum simulation using Simulink and a .svg hack
Tutorial Description
This small clip was done to exemplify a method of obtaining a nice animation from Matlab. A similar trick could also be done with POVray instead of .svg.
Pendulum simulation using Simulink and a .svg hack - Video

Thursday, February 10, 2011

pendulo invertido avance.... - Video


pendulo invertido avance....
Tutorial Description
Mi tesis del péndulo invertido, costo ufff para llegar a esta parte, es un primer avance , se observa que ya logra mantener el equilibrio, se debe buscar afinar algunos detalles más. Se desarrolló usando espacio de estados y el diseño de un observador de Luemberger. Programada en C++ y la simulación se hizo con Matlab. ... Péndulo Pendulum Matlab C++ programming programación control automatización robótica péndulo invertido tesis
pendulo invertido avance.... - Video

Inverted pendulum simulation using matlab/simulink - Video


Inverted pendulum simulation using matlab/simulink
Tutorial Description
This was for a homework problem in automatic controls. I didnt wright the code to animate it or the Simulink diagram to do the calculations, I just designed the PD controller. The pendulum gets hit two times (once from each side) and the cart has to keep it upright. Notice the cart will go right forever, a state space controller could fix that problem.
Inverted pendulum simulation using matlab/simulink - Video

Inverted pendulum simulation using matlab/simulink - Video


Inverted pendulum simulation using matlab/simulink
Tutorial Description
This was for a homework problem in automatic controls. I didnt wright the code to animate it or the Simulink diagram to do the calculations, I just designed the PD controller. The pendulum gets hit two times (once from each side) and the cart has to keep it upright. Notice the cart will go right forever, a state space controller could fix that problem.
Inverted pendulum simulation using matlab/simulink - Video

Wednesday, February 9, 2011

Furuta Pendulum MATLAB Simulink Ansim Simulation - Video


Furuta Pendulum MATLAB Simulink Ansim Simulation
Tutorial Description
Completed for Timothy Chang ECE 431 by George Cakiades and Christopher Hildebrand. Project description may be found at http://web.njit.edu/~gc28/furuta.html
Furuta Pendulum MATLAB Simulink Ansim Simulation - Video

Sunday, January 9, 2011

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video


Double Pendulum: Comparison between MapleSim,  SimMechanics, & MATLAB ODE (with error plot)
Tutorial Description
Compare the solution with (root mean square) error plot of a double pendulum simulation obtained from: 1. MapleSim; 2. SimMechanics; 3. MATLAB Hand Code; Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7. Solutions ...
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video

Thursday, January 6, 2011

Dynamic Simulation of a Pendulum using MATLAB. - Video


Dynamic Simulation of a Pendulum using MATLAB.
Tutorial Description
Dynamic Simulation of a Pendulum using MATLAB. In this simulation, there is no friction or torsional spring attached to the joint (will add these in subsequent simulations and see the effects). Simulation time is 10 sec and solve using MATLAB ode45. Some of the properties used in this simulation: m=5; - Mass of the pendulum. g=9.81; - Gravitational Acceleration. a=2; - Length from joint to C.M. L=2*a; - Total length of the pendulum. I=(1/3)*(m*(L)^2); - Moment of Inertia. Initial position: 30 degree (pendulum pointing downward is 0 degree, and counter clockwise direction is position angle). Initial velocity: 0 deg/sec. Note: Please rate my video and send me an email if you have any questions. Thanks! =)
Dynamic Simulation of a Pendulum using MATLAB. - Video

Tuesday, December 28, 2010

NXT Ballbot : Simulation with MATLAB/Simulink - Video


NXT Ballbot : Simulation with MATLAB/Simulink
Tutorial Description
NXT Ballbot simulation with MATLAB/Simulink. NXT Ballbot : www.youtube.com
NXT Ballbot : Simulation with MATLAB/Simulink - Video

NXT Ballbot : Simulation with MATLAB/Simulink - Video


NXT Ballbot : Simulation with MATLAB/Simulink
Tutorial Description
NXT Ballbot simulation with MATLAB/Simulink. NXT Ballbot : www.youtube.com
NXT Ballbot : Simulation with MATLAB/Simulink - Video

Friday, December 24, 2010

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with theta plot) - Video


Double Pendulum: Comparison between MapleSim,  SimMechanics, & MATLAB ODE (with theta plot)
Tutorial Description
Compare the solution with angular position plot (Theta 1 and Theta 2) of a double pendulum simulation obtained from: 1. MapleSim; 2. SimMechanics; 3. MATLAB Hand Code; Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7 ...
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with theta plot) - Video

Wednesday, December 22, 2010

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video


Double Pendulum: Comparison between MapleSim,  SimMechanics, & MATLAB ODE (with error plot)
Tutorial Description
Compare the solution with (root mean square) error plot of a double pendulum simulation obtained from: 1. MapleSim; 2. SimMechanics; 3. MATLAB Hand Code; Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7. Solutions ...
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video


Double Pendulum: Comparison between MapleSim,  SimMechanics, & MATLAB ODE (with error plot)
Tutorial Description
Compare the solution with (root mean square) error plot of a double pendulum simulation obtained from: 1. MapleSim; 2. SimMechanics; 3. MATLAB Hand Code; Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7. Solutions ...
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video


Double Pendulum: Comparison between MapleSim,  SimMechanics, & MATLAB ODE (with error plot)
Tutorial Description
Compare the solution with (root mean square) error plot of a double pendulum simulation obtained from: 1. MapleSim; 2. SimMechanics; 3. MATLAB Hand Code; Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7. Solutions ...
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video

Tuesday, December 21, 2010

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video


Double Pendulum: Comparison between MapleSim,  SimMechanics, & MATLAB ODE (with error plot)
Tutorial Description
Compare the solution with (root mean square) error plot of a double pendulum simulation obtained from: 1. MapleSim; 2. SimMechanics; 3. MATLAB Hand Code; Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7. Solutions ...
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with error plot) - Video

Sunday, July 19, 2009

Dynamic Simulation of a Pendulum using MATLAB. - Video


Dynamic Simulation of a Pendulum using MATLAB.
Tutorial Description
Dynamic Simulation of a Pendulum using MATLAB. In this simulation, there is no friction or torsional spring attached to the joint (will add these in subsequent simulations and see the effects). Simulation time is 10 sec and solve using MATLAB ode45. Some of the properties used in this simulation: m=5; - Mass of the pendulum. g=9.81; - Gravitational Acceleration. a=2; - Length from joint to C.M. L=2*a; - Total length of the pendulum. I=(1/3)*(m*(L)^2); - Moment of Inertia. Initial position: 30 degree (pendulum pointing downward is 0 degree, and counter clockwise direction is position angle). Initial velocity: 0 deg/sec. Note: Please rate my video and send me an email if you have any questions. Thanks! =)
Dynamic Simulation of a Pendulum using MATLAB. - Video