Simulink Based Robot Arm Control Workstation. Figure 1-1 High Level Block Diagram

Similar documents
Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

Integrating Mechanical Design and Multidomain Simulation with Simscape

Modeling and Simulation of Electromechanical Systems

DESIGN, SIMULATION AND CONTROL OF ISOGLIDE T3R1 PARALLEL ROBOT

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual

Aerospace Plant: 3-DOF Helicopter. Position Control. 3-DOF Helicopter. Reference Manual

MathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape

Integrating Mechanical Design and Multidomain Simulation with Simscape

Master Class: Diseño de Sistemas Mecatrónicos

Example: Modeling a Cruise Control System in Simulink

Control Systems Laboratory Manual Hardware and Software Overview. 2 Hardware Equipment. 2.1 Analog Plant Simulator (EE357 Only)

Development of a MATLAB Data Acquisition and Control Toolbox for PIC Microcontrollers

Engine Control Workstation Using Simulink / DSP Platform (COOLECW) SENIOR PROJECT PROPOSAL

Introduction to Physical Modelling Rory Adams Senior Application Engineer

Physical Modelling with Simscape

There is no need to submit any report and you just need to finish the three tutorials as well as the example.

QUANSER Flight Control Systems Design. 2DOF Helicopter 3DOF Helicopter 3DOF Hover 3DOF Gyroscope. Quanser Education Solutions Powered by

Introduction to Control Systems Design

Virtuelle Inbetriebnahme und Optimierung von Robotersystemen mit Simscape The MathWorks, Inc. 1

MDP646: ROBOTICS ENGINEERING. Mechanical Design & Production Department Faculty of Engineering Cairo University Egypt. Prof. Said M.

Prototyping a Three-link Robot Manipulator

Workshop Matlab/Simulink in Drives and Power electronics Lecture 3

What Is SimMechanics?

Modeling, Design, and Control of Robotic Mechanisms (MathWorks/Kyungnam Univ.) -1-

Advanced Features. High Performance Stepper Drive Description. Self Test and Auto Setup

Automatic Pouring Robot. Akilah Harris-Williams Adam Olmstead Philip Pratt-Szeliga Will Roantree

Cecilia Laschi The BioRobotics Institute Scuola Superiore Sant Anna, Pisa

KOLLMORGEN. SERVOSTAR CD. SERCOS IDN Manual M-SS rev. F. Solutions by D A N A H E R M O T I O N

Control Technology. motion controller and power amplifier

ELEC 341 Project Selective Laser Sintering 3D Printer The University of British Columbia

MMTO Internal Technical Memorandum #04-3

Simulation-Based Design of Robotic Systems

Hand. Desk 4. Panda research 5. Franka Control Interface (FCI) Robot Model Library. ROS support. 1 technical data is subject to change

Lab Exercise 07 DC motor PI velocity control

IMPLEMENTATION OF BALL-AND-BEAM CONTROL SYSTEM AS AN INSTANCE OF SIMULINK TO 32-BIT MICROCONTROLLER INTERFACE

Running 2D Ball Balancer Experiment

MONITOR AND CONTROL OF AN EXCAVATOR ROBOT

DESIGN AND MODELLING OF A 4DOF PAINTING ROBOT

Open Loop Step Response

AC : DEVELOPMENT AND INITIAL ANALYSIS OF A MINI CNC RAPID DEVELOPMENT SYSTEM

Quanser NI-ELVIS Trainer (QNET) Series: QNET ROTPEN. Rotary Pendulum (ROTPEN) User Manual. User Manual

VIRTUAL PROTOTYPING FOR ROBOT CONTROLLERS

CNC Robot Accuracy. SmartManufacturingSeries.com

Group 13 Monitor and Control of an Excavator Robot

Balancing Control of Two Wheeled Mobile Robot Based on Decoupling Controller

RT02 Series Robust Industrial Joystick. RunnTech

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

What is Mechatronics

Developing a Robot Model using System-Level Design

Implementation Of Distributed Control System In Process Control Management Using MATLAB

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

Torque-Position Transformer for Task Control of Position Controlled Robots

Project Proposal Guide MATHWORKS TRACK Disclaimer:

Using Adams/View to Develop a Real-Time ROV Simulator

Implementation of an Automated Sorting System with a 2-Link Robotic Arm

Intelligent Stepper Drives.

Concurrent Engineering and Robot Prototyping. Mohamed Dekhil, Tarek M. Sobh, Thomas C. Henderson, and Robert Mecklenburg 1 UUSC

SMART DUSTBIN ABSTRACT

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 6, June 2012)

AX500. Dual Channel Digital Motor Controller. User s Manual. v1.9b, June 1, visit to download the latest revision of this manual

LabView Add-On Manual

CONTROL AND IMPLEMENTATION OF A SINGLE WHEEL HOLONOMIC VEHICLE RAFAEL PUERTA RAMÍREZ

Darko Hercog, Bojan Gergič, Vojko Matko, Karel Jezernik. Faculty of Electrical Engineering and Computer Science, Maribor, Slovenia

Quick Start Training Guide

AC : DEVELOPMENT OF A ROBOTIC PLATFORM FOR TEACH- ING MODEL-BASED DESIGN TECHNIQUES IN DYNAMICS AND CON- TROL PROGRAM

DOUBLE ARM JUGGLING SYSTEM Progress Report for ECSE-4962 Control Systems Design

Internet-Based Remote Control using a Microcontroller and an Embedded Ethernet Board 1

ELEC Sensors and Actuators

KHALID H QAMAR: INTERACTIVE NON-LINEAR EFFECTS IN 3DOF DYNAMIC SYSTEMS. Interactive Non-Linear Effects in 3 DoF Dynamic Systems

Pointing Accuracy Analysis for a Commander s Independent Weapon Station Demonstrator

Everything s possible. Modbus Communication. Reference Manual. DigiFlex Performance Servo Drives. MNCMMBRF-02

A NOUVELLE MOTION STATE-FEEDBACK CONTROL SCHEME FOR RIGID ROBOTIC MANIPULATORS

RT300 Series Crane & Hoist Joystick. RunnTech. Potentiometer: ±32, Hall sensor: ±20

SIMOREG 6RA70 DC MASTER Electronics

IVR: Open- and Closed-Loop Control. M. Herrmann

Modbus RTU protocol and arduino IO package: A real time implementation of a 3 finger adaptive robot gripper

+ + Kinematics. Trajectory Generation and Inverse Kinematics. .. x. V, G, F

A Co-simulation Approach Based on ADAMS-MATLAB for Development of an Industrial Manipulator

STAC5 Stepper Drives. A high performance, compact and cost-effective stepper drive with advanced features and control options

PRACTICAL SESSION 4: FORWARD DYNAMICS. Arturo Gil Aparicio.

Lab Exercise 08 DC motor PID position control

Working Model 2005 Release Guide

ROBOTICS 01PEEQW Laboratory Project #1. Basilio Bona DAUIN Politecnico di Torino

APPLICATION NOTE IDM.101

Proceedings of the 2013 SpaceVision Conference November 7-10 th, Tempe, AZ, USA ABSTRACT

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

xpc Target Tutorial Control System Design Feb. 15, 2004 For more detailed information, see the xpc target manual at:

ROBOTICS 01PEEQW Laboratory Project #1. Basilio Bona DAUIN Politecnico di Torino

Drive and Control Systems: Technical Update. John A. Looser Faustel, Incorporated

Dynamical Modeling and Controlof Quadrotor

A Hardware-In-the-Loop Simulation and Test for Unmanned Ground Vehicle on Indoor Environment

ANALYSIS of Control Force Grasping for a Multifunctional Five Fingered Robot to Pick-up Various of Components

MapleSim User's Guide

CONTROLO th Portuguese Conference on Automatic Control

SIMULATION ENVIRONMENT PROPOSAL, ANALYSIS AND CONTROL OF A STEWART PLATFORM MANIPULATOR

Single Linear Flexible Joint (SLFJ)

MODELING AND DYNAMIC ANALYSIS OF 6-DOF PARALLEL MANIPULATOR

BALL ON PLATE BALANCING SYSTEM Proposal for ECSE-4962 Control Systems Design

Department of Electrical Engineering. Indian Institute of Technology Dharwad EE 303: Control Systems Practical Assignment - 6

Modelling, Simulation, and Real-Time Testing for Model-Based Design GianCarlo Pacitti Application Engineer MathWorks

Transcription:

Introduction: This project consists of designing a software-based control workstation in the Simulink environment using the SimMechanics Toolbox. The Quanser robot arm system will be modeled using this software. Once modeled, closed-loop controllers can be evaluated in real time. Objectives: The two systems that will be examined will be the Quanser robot arm in an inverted and non-inverted configuration. The high-level control block diagram of the system is shown in Figure 1-1. The project will consist of: Creating linear model of systems using Simulink Creating nonlinear model of systems using SimMechanics Toolbox Implementation of power amplifier and/or PWM (Pulse Width Modulation) board Developing and testing analog controller Developing and testing digital controller Implementing force feedback joystick controllers Software Commands (Test Inputs) Joystick Control Simulink Based Robot Arm Control Workstation Position Velocity Torque Feedback Force Modes of Operation: Figure 1-1 High Level Block Diagram There are two modes of operation: external and internal. The internal mode will consist of a MATLAB GUI (Graphical User Interface) which will generate command signals that will be used to test the model of the system in the MATLAB environment. A 3D model of the robot arm system will be simulated using the SimMechanics toolbox. This allows viewing of the system in real time. The external mode allows the user to control the robot arm with a joystick. Force feedback will cause resistance in joystick that is proportional to a load present on the robot arm. 1

Input Subsystem: Figure 2-1 Input Subsystem Block Diagram The input R to the system consists of a software command or a joystick command as shown in Figures 2-1 and 2-2. The software commands will be generated in Simulink and will be used to test the controller response in simulation. There will be two joystick modes. A conventional joystick mode will provide position and velocity control of the robot arm. In the second mode, a force feedback joystick will provide resistance in the joystick proportional to the torque as seen by the motor. This will provide feedback to the user to what kind of load is present on the robot arm. Controller Subsystem: Figure 2-2 Controller Subsystem Block Diagram The robot arm system will have two controllers, shown as F and Gc in Figure 4. Block F is a feed-forward controller while Gc is a PID (Proportional Integral Derivative) type controller. These controllers will be implemented digitally in Simulink and will interface with the robot arm through A/D and D/A converters. The position sensor is a potentiometer connected to the gear train that provides position feedback. It is shown as block H. 2

Plant Subsystem: The robot arm system or plant, consisting of DC motor, robot arm, and gear train is represented by Gp. This system can be further broken down to the block diagram shown in Figure 3-1. Figure 3-1 Plant Subsystem Block Diagram The input is the voltage applied to the DC motor, Va. The armature inductance, La, and resistance, Ra, form the electrical impedance of the motor. The DC Motor s back EMF and torque constants are represented by Kv and Kt. The parameter Ia is the armature current of the DC motor. This current is proportional to the torque. The equivalent mechanical inertia and resistance are represented by J and B, respectively. The output of the system is velocity that is reduced by a factor of 70 due to external gear ratios. Preliminary Results: A linear model of the DC Motor and gear train has been created in Simulink. A proportional controller is used to control position. The model has been tested against the experimental results of the actual Quanser motor with gain, Kp. Results are shown in Table 1 for a -10 to 10 step input. Kp Experimental Overshoot Simulation Overshoot 0.1 none 0.51% 0.2 10.45% 25.14% 0.3 33.3% 54.04% 0.4 saturation 81.7% Table 1 Overshoot vs. Gain 3

The linear model used in simulation differed by approximately a factor of two when compared to the experimental results. The gain was limited by the A/D and D/A voltage range of +5 to -5 [v]. For high gain, the output must be smaller than 5[v] otherwise saturation will occur. The proportional controller is severely limited as a gain of 0.4 results in saturation. The differences in percent overshoot are due to modeling non-linear effects as linear approximations. The static friction of the motor and gear-slop were modeled using a simple time delay term. The time delay term was found experimentally. The measurement used was a worst case scenario that contributes to the larger simulation overshoot. These discrepancies between simulation and experimental results should be reduced as non-linear elements are modeled using SimMechanics. SimMechanics Model: A model of the robot arm system will be constructed in the SimMechanics toolbox included with Simulink. This model consists of the physical characteristics associated with the robot arm system including inertia tensors, mass, and dimensions of each body in the system. The system can be broken down into simple body shapes for ease of calculating each inertia tensor and center of gravity associated with that body. The SimMechanics toolbox allows the implementation of each body in a block diagram. An example robot arm model is shown in figure 4-1. The bodies are connected by joints which define the characteristics between bodies. The gravitational parameters are then set in the mechanical environment block. Graphical Analysis: Figure 4-1 Robot arm example block diagram in SimMechanics The Matlab Graphics window allows a 3D view of the model and how it behaves in the mechanical environment. An example of the Matlab Graphics window with the robot arm model is shown in figure 5-1. To overcome the limitations of the Matlab Graphics window a VRML representation will be used. The Virtual Reality toolbox can be used to design a full 3D model of each body. The bodies created in virtual reality are then associated with the bodies in SimMechanics. 4

Figure 5-1 Robot arm example in Matlab Graphics window Projected Schedule: Week Kain Osterholt Adam Vaccari 1-2 3-4 Joystick Force Feedback Test with DC Motor Model SimMechanics Model Inverted Robot Arm 5-6 7-8 9 Model Gripper Attachment Model using VR Toolbox Model Sensors Design Analog Controllers Design Digital Controllers Model H-Bridge, PWM 10 11 12 MATLAB GUI (Graphical User Interface) Preparation for EXPO Final Report 5