Introduction to the first laboratory exercise Continuous neural network sliding mode controller DSP2 realization Andreja Rojko

Slides:



Advertisements
Similar presentations
Particle Swarm Optimization (PSO)
Advertisements

NEURAL NETWORKS Backpropagation Algorithm
NEURAL NETWORKS Perceptron
Multilayer Perceptrons 1. Overview  Recap of neural network theory  The multi-layered perceptron  Back-propagation  Introduction to training  Uses.
An Overview of the Application of Neural Networks to the Monitoring of Civil Engineering Structures By Brian Walsh & Arturo González With thanks thanks.
Brought to you by: Demetri Preonas Greg Unverferth
Electrical ENgg. Department Simulation of elevator using Simulink
Nonlinear Applications for Automotive Engine Control By: Sajid Islam.
1 In this lecture, a model based observer and a controller will be designed to a single-link robot.
Quantifying Generalization from Trial-by-Trial Behavior in Reaching Movement Dan Liu Natural Computation Group Cognitive Science Department, UCSD March,
I welcome you all to this presentation On: Neural Network Applications Systems Engineering Dept. KFUPM Imran Nadeem & Naveed R. Butt &
Neural Networks Marco Loog.
Mechatronics 1 Week 9 & 10. Learning Outcomes By the end of week 9-10 session, students will understand the control system of industrial robots.
MLP Exercise (2006) Become familiar with the Neural Network Toolbox in Matlab Construct a single hidden layer, feed forward network with sigmoidal units.
Hub Queue Size Analyzer Implementing Neural Networks in practice.
N. Baćac*, V. Slukić*, M. Puškarić*, B. Štih*, E. Kamenar**, S. Zelenika** * University of Rijeka, Faculty of Engineering, Rijeka, Croatia ** University.
Nise/Control Systems Engineering, 3/e
Vector Control of Induction Machines
A Shaft Sensorless Control for PMSM Using Direct Neural Network Adaptive Observer Authors: Guo Qingding Luo Ruifu Wang Limei IEEE IECON 22 nd International.
A Mathematical Analysis of a Sun Tracking Circuit for Photovoltaic Systems Dr. S. Louvros and Prof. S. Kaplanis T.E.I. of Patra, Greece.
Ch. 6 Single Variable Control
1. 2 Outline 1.Introduction 2.Modeling 3.Simulation 4.Implementation 5.Demo 6.Conclusion.
Cascade Correlation Architecture and Learning Algorithm for Neural Networks.
1 Pattern Recognition: Statistical and Neural Lonnie C. Ludeman Lecture 23 Nov 2, 2005 Nanjing University of Science & Technology.
Matlab Matlab Sigmoid Sigmoid Perceptron Perceptron Linear Linear Training Training Small, Round Blue-Cell Tumor Classification Example Small, Round Blue-Cell.
1 Final Conference, 19th – 23rd January 2015 Geneva, Switzerland RP 15 Force estimation based on proprioceptive sensors for teleoperation in radioactive.
Using Neural Networks to Predict Claim Duration in the Presence of Right Censoring and Covariates David Speights Senior Research Statistician HNC Insurance.
Back-Propagation MLP Neural Network Optimizer ECE 539 Andrew Beckwith.
Neural Networks - Berrin Yanıkoğlu1 Applications and Examples From Mitchell Chp. 4.
For games. 1. Control  Controllers for robotic applications.  Robot’s sensory system provides inputs and output sends the responses to the robot’s motor.
Disturbance Rejection: Final Presentation Group 2: Nick Fronzo Phil Gaudet Sean Senical Justin Turnier.
Sliding Mode Control of PMSM Drives Subject to Torsional Oscillations in the Mechanical Load Jan Vittek University of Zilina Slovakia Stephen J Dodds School.
Artificial Neural Networks. The Brain How do brains work? How do human brains differ from that of other animals? Can we base models of artificial intelligence.
Prognosis of gear health using stochastic dynamical models with online parameter estimation 10th International PhD Workshop on Systems and Control a Young.
M.S. Thesis Defense Jason Anderson Electrical and Computer Engineering Dept. Clemson University.
1 Adaptive Control Neural Networks 13(2000): Neural net based MRAC for a class of nonlinear plants M.S. Ahmed.
20/10/2009 IVR Herrmann IVR:Control Theory OVERVIEW Control problems Kinematics Examples of control in a physical system A simple approach to kinematic.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 31: Feedforward N/W; sigmoid.
CHAPTER 5 S TOCHASTIC G RADIENT F ORM OF S TOCHASTIC A PROXIMATION Organization of chapter in ISSO –Stochastic gradient Core algorithm Basic principles.
Sensorless Control of the Permanent Magnet Synchronous Motor Using Neural Networks 1,2Department of Electrical and Electronic Engineering, Fırat University.
Introduction to Loops For Loops. Motivation for Using Loops So far, everything we’ve done in MATLAB, you could probably do by hand: Mathematical operations.
Project 2: Classification Using Genetic Programming Kim, MinHyeok Biointelligence laboratory Artificial.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VII Introduction to SIMULINK Rajeev Madazhy
Design and Implementation of a High-Performance PMLSM Drives Using DSP Chip Student : Le Thi Van Anh Advisor : Ying-Shieh Kung IEEE TRANSACTIONS ON INDUSTRIAL.
Neural Networks - Berrin Yanıkoğlu1 Applications and Examples From Mitchell Chp. 4.
Artificial Neural Networks Approach to Stock Prediction Presented by Justin Jaeck.
Eduard Petlenkov, TTÜ automaatikainstituudi dotsent
7/6/99 MITE1 Fully Parallel Learning Neural Network Chip for Real-time Control Students: (Dr. Jin Liu), Borte Terlemez Advisor: Dr. Martin Brooke.
Model of Reluctance Synchronous Motor
Hazırlayan NEURAL NETWORKS Backpropagation Network PROF. DR. YUSUF OYSAL.
Engineering Applications using MATLAB
Professor : Ming – Shyan Wang Department of Electrical Engineering Southern Taiwan University Thesis progress report Sensorless Operation of PMSM Using.
Disturbance rejection control method
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
Introduction to Programming Lecture 6. Functions – Call by value – Call by reference Today's Lecture Includes.
Nonlinear balanced model residualization via neural networks Juergen Hahn.
Get your software working before putting it on the robot!
Virtual Gravity Control for Swing-Up pendulum K.Furuta *, S.Suzuki ** and K.Azuma * * Department of Computers and Systems Engineering, TDU, Saitama Japan.
DOUBLE ARM JUGGLING SYSTEM Team 1 Proposal Presentation ECSE-4962 Control Systems Design Trinell Ball John Kua Linda Rivera.
A Direct Drive SCARA ROBOT With an Adaptive Control
Neural Networks - Berrin Yanıkoğlu1 MLP & Backpropagation Issues.
RADIAL BASIS FUNCTION NEURAL NETWORK DESIGN
Ranga Rodrigo February 8, 2014
CSE 473 Introduction to Artificial Intelligence Neural Networks
Announcements HW4 due today (11:59pm) HW5 out today (due 11/17 11:59pm)
Using local variable without initialization is an error.
Recent works of Attitude Control System for GAPS
Learning Control for Dynamically Stable Legged Robots
GSPT-AS-based Neural Network Design
Introduction to Motor Drives
Presentation transcript:

Introduction to the first laboratory exercise Continuous neural network sliding mode controller DSP2 realization Andreja Rojko TARET PROJECT

Andreja Rojko1Beljak, February 2007 OUTLINE Overview Dynamic model of the experimental mechanism Simulation model of the experimental mechanism Sin2 velocity profile – reference trajectory PI position control Controller algorithm – NN Controller algorithm - C code Controller algorithm - test Complete simulation scheme Experiment – C code, test on DSP2 Experiment

Andreja Rojko2Beljak, February 2007 Dynamic model of the experimental mechanism General dynamic model of mechanism: Inertia: Spring torque:

Andreja Rojko3Beljak, February 2007 Dynamic model of the experimental mechanism Dynamic model of the experimental mechanism: Gear ratio:

Andreja Rojko4Beljak, February 2007 Simulation model of the experimental mechanism

Andreja Rojko5Beljak, February 2007 Sin2 velocity profile – reference trajectory For position and velocity control of mechanisms we need reference trajectory: desired position, desired velocity and desired acceleration. The reference trajectory is defined with the following data: –initial position( theta_initial), end position (theta_final) –maximum velocity (vmax) –maximum acceleration,(amax)

Andreja Rojko6Beljak, February 2007 Sin2 velocity profile – reference trajectory

Andreja Rojko7Beljak, February 2007 PI position control PI position controller, PI current controller. Set the parameters of PI position controller. 'trial and error' procedure.

Andreja Rojko8Beljak, February 2007 Controller algorithm - NN Neural netwok with two layers will be constructed for the use in CSMNN control algorithm. Nonlinear threshold function will be used for the hidden layer, so that its output will have values between -1 and 1. Linear threshold function will be used for the output layer. Sketch the NN structure! Mark the lines with the names of variables. For learning algorithm, the equations form E-book will be used. Case study from e-book ‘direct drive robot’ -> rewrite into equations for our one axis experimental mechanism. We will use different names because we cannot use Greek letters in C code...table of the preferable variables names and their sizes is in the instructions.instructions

Andreja Rojko9Beljak, February 2007 Controller algorithm - C code For programming the controller algorithm in C, we will use S- Function Builder block. NN’s weights should be declared as global variables and initialized to small numbers between -1 and 1 (Example1). Writing the C code: –Don’t try to write the whole algorithm at once! –First write and test the code for calculation of the output from NN. –Then add the learning algorithm for the output layer and then, when this is working, also for the hidden layer. –It is advisable to check some parts of the program (specially loops) in Matlab m-file!

Andreja Rojko10Beljak, February 2007 Controller algorithm - test

Andreja Rojko11Beljak, February 2007 Controller algorithm - test

Andreja Rojko12Beljak, February 2007 Complete simulation scheme

Andreja Rojko13Beljak, February 2007 Experiment – C code Declaration and initialization of the global variables should be altered for C compiler on DSP2 board! Reason: Matlab uses different C code compiler then it is used on DSP2 board. First test, if algorithm’s C code is working on DSP2 (without mechanism).

Andreja Rojko14Beljak, February 2007 Experiment – test

Andreja Rojko15Beljak, February 2007 Experiment

Andreja Rojko16Beljak, February 2007 Conclusion Read the instructions for each step carefully before you begin to work. Between work write the report: explain each step, give the results, explain the results! Required part: Experiment with PI position control, Simulation of the CSMNN control algorithm with the neural network, teleoperation by using PI position control. Desired: Experiment with CSMNN (even if it is not working perfectly). NOTE! In the experimental part don’t let the motor oscillating for too long, because it can be damaged!