No BSD License  

Highlights from
Gantry robot simulation

5.0 | 2 ratings Rate this file 33 Downloads (last 30 days) File Size: 851 KB File ID: #16835
image thumbnail

Gantry robot simulation


John Kluza (view profile)


11 Oct 2007 (Updated )

Supervisory and low level robot tracking control of a 5-bar or articulated gantry using desired posi

| Watch this File

File Information

Supervisory and low level robot tracking control of a 5-bar or articulated gantry using desired position based on video input processed in real time.

This model simulates a robot in an environment that includes a video camera source that is used for obtaining the desired postion of the robot end effector and a user interface that allows the user to command the robot to pick up the tracked object and bring it back to a home location.

This model demonstrates (from left to right in model):
1. Inputting a video file to Simulink
2. Running an object detection algorithm on the video to find a target point
3. Passing that location to a supervisory controller that filters the input from the video tracking code using a kalman filter
4. The supervisory controller chooses the mode of the robot, the state of the electromagnetic pickup end effector and passes that data to the low level controller
5. The low level controller runs a PD controller that is tuned for the plant chosen (5-bar linkage and articulated robot arm are available in the configurable subsystem block called "gantry plants")
6. The control inputs are fed to a mechanical model of the plant
7. The mechanical model outputs the updated positions of the plant and an estimator is used (analytical and SimMechanics estimators are used for the 5-bar, raw data is used for the robot arm)
8. Those positions are fed back into the supervisory control loop.
9. The whole operation is controlled and visualized by a GUI that displays the video that is being processed, the desired and actual position of the robot end effector, and allows the user to interact with the model to make the robot track the moving target and "pick up" the target using an unmodeled electromagnetic end effector.

Originally created in R14SP2, tested it successfully running in 2007b.

Required Products Control System Toolbox
Image Processing Toolbox
DSP System Toolbox
Signal Processing Toolbox
Computer Vision System Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Other requirements N/A
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
06 Dec 2013 mohammed

I got 4 errors
1- Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds.
Use 'mex -setup' to select a supported compiler.

2-Library failed to build. Cannot continue build process.

3-Error using ==> construct_error at 109
Library failed to build. Cannot continue build process.

4-Parsing successful for machine: "gantry_plant_library"(#541)
any suggestions?

Comment only
03 Sep 2010 Mr Smart  
15 May 2008 YH Zhang

Great article!

Contact us