NXTway -GS Controller Model based on Rate Monotonic Scheduling

Size: px
Start display at page:

Download "NXTway -GS Controller Model based on Rate Monotonic Scheduling"

Transcription

1 NXTway -GS Controller Model based on Rate Monotonic Scheduling This model consists of four parts : Device Inputs, Device Outputs, Task Scheduler, and Application Task Subsystem. Disclaimer : LEGO (R) is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this demo. LEGO (R) and Mindstorms (R) are registered trademarks of The LEGO Group. 7 head_m 3 theta_m_l 4 theta_m_r 6 sonar 5 gyro 2 bluetooth _rx In A Revolution Sensor Interface 2 Port = A Priority = - In C Revolution Sensor Interface Port = C Priority = - BIn Revolution Sensor Interface Port = B Priority = - S2 Ultrasonic Sensor Interface Port = S2 Priority = - S4 Gyro Sensor Interface Port = S4 Priority = - BTRx Bluetooth Rx Interface Priority = - ### OSEK Tasks ### task_init: Init task_ts: [sec] task_ts3: 0. [ sec] task_ts4: [sec] ExpFcnCalls Scheduler Priority = 0 Added task _ts4 - main control task for controling logic of robot, with sample time ts4=0.0 defined in param _controller ## Requires only MATLAB products ## Generate code from task subsystem using RTW ## Requires additional 3rd party tools ## Generate code and build the generated code Download (NXT enhanced firmware ) Click the annotations to generate task_init task_ts task _ts3 task _ts4 task _init_fc task _ts_fc task _ts3_fc task _ts4_fc nxtway _app -EC Do All Download (SRAM) /build code and download it into NXT A Servo Motor Interface 2 Port = A Priority = C Servo Motor Interface Port = C Priority = B Servo Motor Interface Port = B Priority = BTTx Bluetooth Tx Interface Priority = Freq Dur Sound Tone Interface Priority = leave.wav Vol Sound WAV Interface 3 pwm _head pwm _l 2 pwm _r 4 pwm _r battery Battery Voltage Interface Priority = - Model rebuilded by Integra Lego Segway -Team Added extra interfaces for driving /reading third motor - motor A - head position K. Wesolowski => Added Extra "Do All" button, for conveniant reloading params, rebuildoing model and uploading rxe file to nxtway via USB System Clock Interface Priority = -

2 Application Task Subsystems Each function -call subsystems are drived by function -call signals of the task scheduler and generated as OSEK task functions in the generated code using Export functions feature of RTW -EC task_init_fc task_ts_fc task_ts3_fc task_ts4_fc function () function () function () function () task_init Initialization task_ts Balance & Drive Control task_ts3 Time Check & Battery Average Task K. Wesolowski => Added above task 4 and separated control logic from balance mechanism task_ts4 Main control Task Shared Data Data Store Memory is used as a shared data between tasks. Time Check & Battery Average flag_start DataType = boolean start time flag : gyro calibration is finished 0 : gyro calibration is not finished battery DataType = single average battery voltage gyro _offset gyro offset (zero point value ) DataType = single start_time program start time DataType = uint 32 head_initial_pos initial position - for positioning Servo DataType = int32 K. Wesolowski => Positioning head shared variables head_pos Sets target head angle DataType = int32 initial_theta_difference DataType = int32 turn _angle DataType = int32 Sets INITIAL wheels angle difference Sets body horizontal angle difference K. Wesolowski = > Controling robot turn - angle difference beetween wheels, remember that robot use absolute value, rather increment angle than make absolut (if you change 000 to 0 no matter f full circles robot will do them all forward _cmd Sets robot speed (use negative for going back ) K. Wesolowski => Shared command, -00 to 00 DataType = single

3 Initialization Task Set initial values and drive mode flag. f() start_time System Clock Read single battery Battery Voltage Read Round = Simplest S4 single gyro _offset Gyro Sensor Read Port = S4 Round = Simplest Out A head_initial_pos Revolution Sensor Read Port = A Out B initial_theta_difference Revolution Sensor Read 2 Port = B Out C Revolution Sensor Read Port = C

4 Task "ts" - Balance & Drive Control Control NXTway-GS to balance itself and drive autonomously or by remote control after gyro calibration. f() flag_start Balance & Drive Control NOT Gyro Calibration

5 "Balance & Drive Control " forward _cmd forward _cmd K. Wesolowski = > Shared control inputs - modified in task 4 here used turn _angle turn _angle pwm _l int8 Round = Simplest C Servo Motor Write Port = C Out C single theta _m _l Revolution Sensor Read Port = C Round = Simplest Out B Revolution Sensor Read Port = B S4 single Round = Simplest single theta _m _r gyro pwm _r int8 Round = Simplest B Servo Motor Write Port = B Gyro Sensor Read Port = S4 Round = Simplest Balance Controller K. Wesolowski = > Head positioning with simple P regulator Out A head _angle pwm _out A Revolution Sensor Read 2 Port = A Head Positioning Servo Motor Write 2 Port = A

6 NXTway -GS "Balance Controller " Calculate PWM duty to minimize the difference between reference and measured value. K. Wesolowski = > Anti windup Anti Windup forward _cmd thetadot _cmd x_ref Set Vector Control vol antiwindup value Cal Reference State - SP Process Vector LQ Regulator 5 gyro gyro 3 theta_m_l theta _m _l x battery battery pwm _l pwm _l 4 theta_m_r theta _m _r Cal x - current State - PV 2 turn _angle Target Theta diff New Angle Current Theta difference Sensor Read pwm _out pwm _turn pwm _r 2 pwm _r initial_theta_difference Initial angle Servo _Motor Controller K. Wesolowski = > P regulator for positioning left / right. It also keeps angle constant so it synchronizes whees when moving straightforward Calculate PWM

7 "Cal Reference State - SP" thetadot_cmd gp_max DataType = int8 Divide command values by maximum of game pad input. k_thetadot Low Path Filter Smooth velocity command using Low Path Filter to suppress rapid input change. in out in out theta_ref Discrete Integrator (forward euler ) 0 psi_ref DataType = single thetadot _ref x_ref 0 psidot_ref DataType = single K. Wesolowski = > removed extra theta output (doubling data from mux )

8 "Discrete Integrator (forward euler)" in ts z out

9 "Low Path Filter" -a_r in out a_r z Low Path Filter Function -a_r a_r*z^(-)

10 "Cal x - current State - PV" 2 theta_m_l pi/ 80 deg2rad theta_l 3 theta_m_r pi/ 80 deg2rad theta_r /2 theta gyro gyro gyro _offset Cal gyro_offset pi/ 80 Calculate gyro offset for removing gyro drift. deg2rad2 psidot in out psi Discrete Integrator (forward euler) Smooth measured velocity value using Low Path Filter to reduce the noise because it makes extra control input. in out Low Path Filter Discrete Derivative (backward difference) in out psi thetadot x psidot K. Wesolowski => removed extra theta output (doubling data from mux)

11 "Cal gyro_offset" gyro _offset a_gd gyro _offset gyro _offset Priority = - Priority = 0 Priority = gyro _offset gyro -a_gd Low Path Filter Function -a_gd a_gd*z^(-)

12 "Discrete Derivative (backward difference)" in / ts out z

13 "Discrete Integrator (forward euler)" in ts z out

14 "Low Path Filter" -a_d in out a_d z Low Path Filter Function -a_d a_d*z^(-)

15 "Calculate PWM" vol 2 battery batteryvol _max Cal vol_max Calculate maximum of DC motor voltatege from battery using an experimental expression pwm_turn Turn NXTway-GS by applying pwm offset to left and right motor in the counter direction. Friction Compensator gain = pwm _gain offset = pwm _offset Compensate coulombic and viscous friction of drive system max = 00 min = - 00 antiwindup value int8 Round = Simplest int8 PWM in left anti backslash PWM in PWM out PWM out right anti backslash 2 pwm_l max = 00 min = pwm_r max = 00 min = - 00 Round = Simplest K. Wesolowski => pwm_turn would be restricted, dependant on current robot stability (probably control output )

16 "Cal vol_max" battery vol _max DataType = single

17 "Left anti backslash" z PWM in 0 DataType = single direction change detection 0.05 DataType = single Switch in out Discrete Integrator (forward euler) DataType = int8 ts DataType = int8 Switch Sign PWM out

18 "Discrete Integrator (forward euler)" in z Unit Delay out

19 "Right anti backslash" z PWM in 0 DataType = single direction change detection 0.05 DataType = single Switch in out Discrete Integrator (forward euler) DataType = int8 ts DataType = int8 Switch Sign PWM out

20 "Discrete Integrator (forward euler)" in z Unit Delay out

21 "LQ Regulator" Anti Windup ts Feedback Gain 2 Set Vector in out k_i* u Discrete Integrator (forward euler ) Integral Gain Control 3 Process Vector k_f* u Feedback Gain K. Wesolowski => Separated LQ regulator from model, added anti windup feature to integral part Antiwindup reset integral when output is saturated on motors

22 "Discrete Integrator (forward euler)" in ts z Unit Delay out

23 "Servo_Motor Controller" New Angle single Round = Simplest Gain Saturation pwm_out 3 Initial angle 2 Sensor Read

24 "Head Positioning" head_pos New Angle Sensor Read pwm _out head_angle pwm_out Initial angle Servo_Motor Controller head_initial_pos

25 "Servo_Motor Controller" New Angle single 2 int8 Round = Simplest Round = Nearest pwm_out Gain Saturation 3 Initial angle 2 Sensor Read

26 "Gyro Calibration" Calculate gyro offset (zero point value). gyro _offset a_gc gyro _offset S4 Gyro Sensor Read Port = S4 single Round = Simplest -a_gc Low Path Filter Function -a_gc a_gc*z^(-)

27 Time Check & Battery Average Task ts3 Check start time (gyro calibration time) and autonomous start time. Smooth measured battery value using Low Path Filter to reduce the noise. f() System Clock Read time_start > = flag_start start_time DataType = uint32 ~= z Make Sound Make a sound when the gyro calibration is finished battery a_b battery single Round = Simplest Battery Voltage Read -a_b Low Path Filter Function -a_b a_b*z^(-)

28 "Make Sound" sound_freq DataType = uint32 sound_dur DataType = uint32 Freq Dur Sound Tone Write

29 Motion Task Controls motion and obstacle check of NXTWay f() W / R int 32 turn _angle System Clock Read start _time Turn Angle Round = Simplest Calculate wheels angle head _pos Head POS??? forward _cmd Forward Cmd S2 < = 0 Ultrasonic Sensor Read Compare To Constant Triggered Subsystem

30 "Triggered Subsystem" Trigger 00 Vol leave.wav Constant Sound WAV Write

Lego Mindstorms Segway Project

Lego Mindstorms Segway Project AGH - UNIVERSITY OF SCIENCE AND TECHNOLOGY Lego Mindstorms Segway Project Authors of project: Under the supervision of: Documentation drawn up by: WEBSITE: Łukasz Bondyra, Paweł Górka, Jakub Tutro, Krzysztof

More information

Embedded Robust Control of Self-balancing Two-wheeled Robot

Embedded Robust Control of Self-balancing Two-wheeled Robot Embedded Robust Control of Self-balancing Two-wheeled Robot L. Mollov, P. Petkov Key Words: Robust control; embedded systems; two-wheeled robots; -synthesis; MATLAB. Abstract. This paper presents the design

More information

UNIT 2: DC MOTOR POSITION CONTROL

UNIT 2: DC MOTOR POSITION CONTROL UNIT 2: DC MOTOR POSITION CONTROL 2.1 INTRODUCTION This experiment aims to show the mathematical model of a DC motor and how to determine the physical parameters of a DC motor model. Once the model is

More information

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following Goals for this Lab Assignment: 1. Learn about the sensors available on the robot for environment sensing. 2. Learn about classical wall-following

More information

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge L298 Full H-Bridge HEF4071B OR Gate Brushed DC Motor with Optical Encoder & Load Inertia Flyback Diodes Arduino Microcontroller

More information

Robotics using Lego Mindstorms EV3 (Intermediate)

Robotics using Lego Mindstorms EV3 (Intermediate) Robotics using Lego Mindstorms EV3 (Intermediate) Facebook.com/roboticsgateway @roboticsgateway Robotics using EV3 Are we ready to go Roboticists? Does each group have at least one laptop? Do you have

More information

acknowledgments...xv introduction...xvii 1 LEGO MINDSTORMS NXT 2.0: people, pieces, and potential getting started with the NXT 2.0 set...

acknowledgments...xv introduction...xvii 1 LEGO MINDSTORMS NXT 2.0: people, pieces, and potential getting started with the NXT 2.0 set... acknowledgments...xv introduction...xvii about this book...xvii part I: introduction to LEGO MINDSTORMS NXT 2.0...xviii part II: building...xviii part III: programming...xviii part IV: projects...xix companion

More information

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018 ME375 Lab Project Bradley Boane & Jeremy Bourque April 25, 2018 Introduction: The goal of this project was to build and program a two-wheel robot that travels forward in a straight line for a distance

More information

Mindstorms NXT. mindstorms.lego.com

Mindstorms NXT. mindstorms.lego.com Mindstorms NXT mindstorms.lego.com A3B99RO Robots: course organization At the beginning of the semester the students are divided into small teams (2 to 3 students). Each team uses the basic set of the

More information

Low-Cost hardware connectivity with Simulink MATLAB-Day RWTH Aachen Sebastian Groß October 24th, 2013

Low-Cost hardware connectivity with Simulink MATLAB-Day RWTH Aachen Sebastian Groß October 24th, 2013 Low-Cost hardware connectivity with Simulink MATLAB-Day RWTH Aachen Sebastian Groß October 24th, 2013 2013 The MathWorks, Inc. 1 LEGO Mindstorms NXT: a first demo EDUCON 2013, Berlin, Germany 2 A first

More information

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives Kevin Block, Timothy De Pasion, Benjamin Roos, Alexander Schmidt Gary Dempsey

More information

Closed-Loop Transportation Simulation. Outlines

Closed-Loop Transportation Simulation. Outlines Closed-Loop Transportation Simulation Deyang Zhao Mentor: Unnati Ojha PI: Dr. Mo-Yuen Chow Aug. 4, 2010 Outlines 1 Project Backgrounds 2 Objectives 3 Hardware & Software 4 5 Conclusions 1 Project Background

More information

Embedded Control Project -Iterative learning control for

Embedded Control Project -Iterative learning control for Embedded Control Project -Iterative learning control for Author : Axel Andersson Hariprasad Govindharajan Shahrzad Khodayari Project Guide : Alexander Medvedev Program : Embedded Systems and Engineering

More information

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda Control Design for Servomechanisms 12 14 July 2005, Glasgow Detailed Training Course Agenda DAY 1 INTRODUCTION TO SYSTEMS AND MODELLING 9.00 Introduction The Need For Control - What Is Control? - Feedback

More information

Where C= circumference, π = 3.14, and D = diameter EV3 Distance. Developed by Joanna M. Skluzacek Wisconsin 4-H 2016 Page 1

Where C= circumference, π = 3.14, and D = diameter EV3 Distance. Developed by Joanna M. Skluzacek Wisconsin 4-H 2016 Page 1 Instructor Guide Title: Distance the robot will travel based on wheel size Introduction Calculating the distance the robot will travel for each of the duration variables (rotations, degrees, seconds) can

More information

I.1 Smart Machines. Unit Overview:

I.1 Smart Machines. Unit Overview: I Smart Machines I.1 Smart Machines Unit Overview: This unit introduces students to Sensors and Programming with VEX IQ. VEX IQ Sensors allow for autonomous and hybrid control of VEX IQ robots and other

More information

Robot Programming Manual

Robot Programming Manual 2 T Program Robot Programming Manual Two sensor, line-following robot design using the LEGO NXT Mindstorm kit. The RoboRAVE International is an annual robotics competition held in Albuquerque, New Mexico,

More information

LEGO BASED CHALLENGE. 1. Material

LEGO BASED CHALLENGE. 1. Material LEGO BASED CHALLENGE 1. Material 1. The controller, motors and sensors used to assemble robots must be from LEGO MINDSTORMS sets (NXT or EV3). 2. Only LEGO branded elements may be used to construct the

More information

Lab Exercise 9: Stepper and Servo Motors

Lab Exercise 9: Stepper and Servo Motors ME 3200 Mechatronics Laboratory Lab Exercise 9: Stepper and Servo Motors Introduction In this laboratory exercise, you will explore some of the properties of stepper and servomotors. These actuators are

More information

Introduction to Robotics Rubrics

Introduction to Robotics Rubrics Introduction to Robotics Rubrics Students can evaluate their project work according to the learning goals. Each rubric includes four levels: Bronze, Silver, Gold, and Platinum. The intention is to help

More information

INTERACTIVE BUILDING BLOCK SYSTEMS

INTERACTIVE BUILDING BLOCK SYSTEMS INTERACTIVE BUILDING BLOCK SYSTEMS CONTENTS About UBTECH ROBOTICS CORP Toy s Revolution What is Jimu Robot What it Comes With 3 Step Learning Play Build Program Share Jimu Robot Available Kits Dream With

More information

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014 Advanced Mechatronics 1 st Mini Project Remote Control Car Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014 Remote Control Car Manual Control with the remote and direction buttons Automatic

More information

Mars Rover: System Block Diagram. November 19, By: Dan Dunn Colin Shea Eric Spiller. Advisors: Dr. Huggins Dr. Malinowski Mr.

Mars Rover: System Block Diagram. November 19, By: Dan Dunn Colin Shea Eric Spiller. Advisors: Dr. Huggins Dr. Malinowski Mr. Mars Rover: System Block Diagram November 19, 2002 By: Dan Dunn Colin Shea Eric Spiller Advisors: Dr. Huggins Dr. Malinowski Mr. Gutschlag System Block Diagram An overall system block diagram, shown in

More information

SELF-BALANCING MOBILE ROBOT TILTER

SELF-BALANCING MOBILE ROBOT TILTER Tomislav Tomašić Andrea Demetlika Prof. dr. sc. Mladen Crneković ISSN xxx-xxxx SELF-BALANCING MOBILE ROBOT TILTER Summary UDC 007.52, 62-523.8 In this project a remote controlled self-balancing mobile

More information

Certification Test CT.Sigma7.01.eLV.Tuning.CertificationTest

Certification Test CT.Sigma7.01.eLV.Tuning.CertificationTest Student Name: Company Name: Address: Phone: Email: Test Date: Answers: 1 26 51 76 2 27 52 77 3 28 53 78 4 29 54 79 5 30 55 80 6 31 56 81 7 32 57 82 8 33 58 83 9 34 59 84 10 35 60 85 11 36 61 86 12 37 62

More information

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0. Exercise 6 Motor Shaft Angular Position Control EXERCISE OBJECTIVE When you have completed this exercise, you will be able to associate the pulses generated by a position sensing incremental encoder with

More information

Tarocco Closed Loop Motor Controller

Tarocco Closed Loop Motor Controller Contents Safety Information... 3 Overview... 4 Features... 4 SoC for Closed Loop Control... 4 Gate Driver... 5 MOSFETs in H Bridge Configuration... 5 Device Characteristics... 6 Installation... 7 Motor

More information

BEYOND TOYS. Wireless sensor extension pack. Tom Frissen s

BEYOND TOYS. Wireless sensor extension pack. Tom Frissen s LEGO BEYOND TOYS Wireless sensor extension pack Tom Frissen s040915 t.e.l.n.frissen@student.tue.nl December 2008 Faculty of Industrial Design Eindhoven University of Technology 1 2 TABLE OF CONTENT CLASS

More information

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim MEM380 Applied Autonomous Robots I Winter 2011 Feedback Control USARSim Transforming Accelerations into Position Estimates In a perfect world It s not a perfect world. We have noise and bias in our acceleration

More information

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin 2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control October 5, 2009 Dr. Harrison H. Chin Formal Labs 1. Microcontrollers Introduction to microcontrollers Arduino microcontroller

More information

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects Name: Club or School: Robots Knowledge Survey (Pre) Multiple Choice: For each of the following questions, circle the letter of the answer that best answers the question. 1. A robot must be in order to

More information

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before

More information

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)

More information

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds Robotics Workshop for Parents and Teachers September 27, 2014 Wichita State University College of Engineering Steve Smith Christa McAuliffe Academy ssmith3@usd259.net Karen Reynolds Wichita State University

More information

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives

More information

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl LEGO Bowling Workbook Robots are devices, sometimes they run basic instructions via electric circuitry or on most occasions they can be programmable.

More information

VT1419A Multifunctional Plus Measurement and Control Module

VT1419A Multifunctional Plus Measurement and Control Module VT1419A Multifunctional Plus Measurement and Control Module VXI Technology Comprehensive signal conditioning on board Wide choice of Input/Output signal types Powerful control capability On-board data

More information

2.4 Sensorized robots

2.4 Sensorized robots 66 Chap. 2 Robotics as learning object 2.4 Sensorized robots 2.4.1 Introduction The main objectives (competences or skills to be acquired) behind the problems presented in this section are: - The students

More information

TX CONTROLLER Model EM-IP Quick Start Guide

TX CONTROLLER Model EM-IP Quick Start Guide TX CONTROLLER Model EM-IP Quick Start Guide 860 boul. de la Chaudière, suite 200 Québec (Qc), Canada, G1X 4B7 Tel.: +1 (418) 877-4249 Fax: +1 (418) 877-4054 E-Mail: gdd@gdd.ca Web site: www.gdd.ca Visit

More information

Erik Von Burg Mesa Public Schools Gifted and Talented Program Johnson Elementary School

Erik Von Burg Mesa Public Schools Gifted and Talented Program Johnson Elementary School Erik Von Burg Mesa Public Schools Gifted and Talented Program Johnson Elementary School elvonbur@mpsaz.org Water Sabers (2008)* High Heelers (2009)* Helmeteers (2009)* Cyber Sleuths (2009)* LEGO All Stars

More information

DC motor control using arduino

DC motor control using arduino DC motor control using arduino 1) Introduction: First we need to differentiate between DC motor and DC generator and where we can use it in this experiment. What is the main different between the DC-motor,

More information

WheelCommander Wizard User s Manual

WheelCommander Wizard User s Manual WC-132 WheelCommander WheelCommander Wizard User s Manual Differential Drive Motion Controller for Standard RC Servos and DC Gearhead Motors ---DRAFT--- Copyright 2009, Noetic Design, Inc. 1.01 3/10/2009

More information

Pre-Day Questionnaire

Pre-Day Questionnaire LEGO Mindstorms Pre-Day Questionnaire Your Age? Please select your age from the options below: a) 11 b) 12 c) 13 d) 14 e) 15 or Older 0 0 0 0 0 11 12 13 14 15&or&Older Good at Problem Solving? Do you think

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

Boe-Bot robot manual

Boe-Bot robot manual Tallinn University of Technology Department of Computer Engineering Chair of Digital Systems Design Boe-Bot robot manual Priit Ruberg Erko Peterson Keijo Lass Tallinn 2016 Contents 1 Robot hardware description...3

More information

EQ-ROBO Programming : bomb Remover Robot

EQ-ROBO Programming : bomb Remover Robot EQ-ROBO Programming : bomb Remover Robot Program begin Input port setting Output port setting LOOP starting point (Repeat the command) Condition 1 Key of remote controller : LEFT UP Robot go forwards after

More information

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor 2.737 Mechatronics Dept. of Mechanical Engineering Massachusetts Institute of Technology Cambridge, MA0239 Topics Motor modeling

More information

Supported Servos Any servo motors with "1500 us neutral" specifications. The common brands available for this spec are: Hitec, Futaba.

Supported Servos Any servo motors with 1500 us neutral specifications. The common brands available for this spec are: Hitec, Futaba. NXT Sensors & Interfaces NXT Accessories RCX Sensors & Interfaces I2C Sensors & Interfaces VEX Sensors & Interfaces Other Robotics accessories Coming Soon for NXT Coming Soon for VEX Download Sample Programs

More information

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs Activity 1 - Play Music A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs Computer Science Unit One of the simplest things that we can do, to make something cool with our robot,

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 05.11.2015

More information

1. ASSEMBLING THE PCB 2. FLASH THE ZIP LEDs 3. BUILDING THE WHEELS

1. ASSEMBLING THE PCB 2. FLASH THE ZIP LEDs 3. BUILDING THE WHEELS V1.0 :MOVE The Kitronik :MOVE mini for the BBC micro:bit provides an introduction to robotics. The :MOVE mini is a 2 wheeled robot, suitable for both remote control and autonomous operation. A range of

More information

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff PWM System 1 Pulse Width Modulation (PWM) Pulses are continuously generated which have different widths but the same period between leading edges Duty cycle (% high) controls the average analog voltage

More information

PSF-520 Instruction Manual

PSF-520 Instruction Manual Communication software for HA-520/HA-680 Series PSF-520 Instruction Manual Thank you for implementing our AC servo driver HA-520, HA-680 series. The PSF-520 software sets various parameters and checks

More information

Modern Robotics Inc. Sensor Documentation

Modern Robotics Inc. Sensor Documentation Modern Robotics Inc. Sensor Documentation Version 1.4.3 December 11, 2017 Contents 1. Document Control... 3 2. Introduction... 4 3. Three-Wire Analog & Digital Sensors... 5 3.1. Program Control Button

More information

Ev3 Robotics Programming 101

Ev3 Robotics Programming 101 Ev3 Robotics Programming 101 1. EV3 main components and use 2. Programming environment overview 3. Connecting your Robot wirelessly via bluetooth 4. Starting and understanding the EV3 programming environment

More information

e d u c a t i o n Detect Dark Line Objectives Connect Teacher s Notes

e d u c a t i o n Detect Dark Line Objectives Connect Teacher s Notes e d u c a t i o n Objectives Learn how to make the robot interact with the environment: Detect a line drawn on the floor by means of its luminosity. Hint You will need a flashlight or other light source

More information

Agent-based/Robotics Programming Lab II

Agent-based/Robotics Programming Lab II cis3.5, spring 2009, lab IV.3 / prof sklar. Agent-based/Robotics Programming Lab II For this lab, you will need a LEGO robot kit, a USB communications tower and a LEGO light sensor. 1 start up RoboLab

More information

The Gold Duo Highly Compact Dual Axis Networking Servo Drive Up to 1.6 kw (3.2 kw Peak) of Qualitative Power Per Drive

The Gold Duo Highly Compact Dual Axis Networking Servo Drive Up to 1.6 kw (3.2 kw Peak) of Qualitative Power Per Drive Elmo's Line Our Best Ever Motion Solutions The Duo Highly Compact Dual Axis Networking Servo Drive Up to 1.6 kw (3.2 kw Peak) of Qualitative Power Per Drive Motion Control Solutions Made Small, Smart &

More information

How Do You Make a Program Wait?

How Do You Make a Program Wait? How Do You Make a Program Wait? How Do You Make a Program Wait? Pre-Quiz 1. What is an algorithm? 2. Can you think of a reason why it might be inconvenient to program your robot to always go a precise

More information

Lego Nxt in Physical Etoys

Lego Nxt in Physical Etoys Lego Nxt in Physical Etoys Physical Etoys is a software Project which let us control, in real time, Lego Mindstorms Nxt s Robots using a Bluetooth connection. SqueakNxt is a module of the Physical Etoys

More information

FIRST Robotics Control System

FIRST Robotics Control System 2018/2019 FIRST Robotics Control System Team 236 1 (click on a component to go to its slide) 2 The Robot Powered solely by 12V battery RoboRIO- is the computer on the robot Controlled by Java code on the

More information

HOLY ANGEL UNIVERSITY COLLEGE OF INFORMATION AND COMMUNICATIONS TECHNOLOGY ROBOT MODELING AND PROGRAMMING COURSE SYLLABUS

HOLY ANGEL UNIVERSITY COLLEGE OF INFORMATION AND COMMUNICATIONS TECHNOLOGY ROBOT MODELING AND PROGRAMMING COURSE SYLLABUS HOLY ANGEL UNIVERSITY COLLEGE OF INFORMATION AND COMMUNICATIONS TECHNOLOGY ROBOT MODELING AND PROGRAMMING COURSE SYLLABUS Code : 6ROBOTMOD Prerequisite : 6ARTINTEL Credit : 3 s (3 hours LAB) Year Level:

More information

Gold Our Best Ever Motion Solutions

Gold Our Best Ever Motion Solutions Elmo's Line Our Best Ever Motion Solutions The Trombone An Ultra-Compact 400 VDC & 800 VDC "Direct to Mains" Networking Servo Drive Up to 7 kw of Qualitative Power Motion Control Solutions Made Small,

More information

Application Note CTAN #287

Application Note CTAN #287 Application Note CTAN #287 This Application Note is pertinent to the Commander SK Water Pressure PID Loop Control This application note will describe a way to utilize the Commander SK (note that the Unidrive

More information

5008 Dual Synthesizer Configuration Manager User s Guide (admin Version) Version valontechnology.com

5008 Dual Synthesizer Configuration Manager User s Guide (admin Version) Version valontechnology.com 5008 Dual Synthesizer Configuration Manager User s Guide (admin Version) Version 1.6.1 valontechnology.com 5008 Dual Synthesizer Module Configuration Manager Program Version 1.6.1 Page 2 Table of Contents

More information

Design Project Introduction DE2-based SecurityBot

Design Project Introduction DE2-based SecurityBot Design Project Introduction DE2-based SecurityBot ECE2031 Fall 2017 1 Design Project Motivation ECE 2031 includes the sophomore-level team design experience You are developing a useful set of tools eventually

More information

Experiment P02: Understanding Motion II Velocity and Time (Motion Sensor)

Experiment P02: Understanding Motion II Velocity and Time (Motion Sensor) PASCO scientific Physics Lab Manual: P02-1 Experiment P02: Understanding Motion II Velocity and Time (Motion Sensor) Concept Time SW Interface Macintosh file Windows file linear motion 30 m 500 or 700

More information

2018 First Responders 4-H Robotics Challenge Page 1

2018 First Responders 4-H Robotics Challenge Page 1 2018 First Responders 4-H Robotics Challenge Page 1 Contents 2018 First Responders 4-H Robotics Challenge... 3 1 Teams... 3 2 The Game... 3 2.1 Competition kit... 3 2.2 Field Mat... 3 2.3 Playing Field...

More information

Speed Feedback and Current Control in PWM DC Motor Drives

Speed Feedback and Current Control in PWM DC Motor Drives Exercise 3 Speed Feedback and Current Control in PWM DC Motor Drives EXERCISE OBJECTIVE When you have completed this exercise, you will know how to improve the regulation of speed in PWM dc motor drives.

More information

AC : ENHANCING MECHATRONICS EDUCATION USING MODEL- BASED TECHNIQUES AND MATHWORKS TOOLS

AC : ENHANCING MECHATRONICS EDUCATION USING MODEL- BASED TECHNIQUES AND MATHWORKS TOOLS AC 211-931: ENHANCING MECHATRONICS EDUCATION USING MODEL- BASED TECHNIQUES AND MATHWORKS TOOLS Farzad Pourboghrat, Southern Illinois University Farzad Pourboghrat received his Ph.D. degree in Electrical

More information

EECS 270: Lab 7. Real-World Interfacing with an Ultrasonic Sensor and a Servo

EECS 270: Lab 7. Real-World Interfacing with an Ultrasonic Sensor and a Servo EECS 270: Lab 7 Real-World Interfacing with an Ultrasonic Sensor and a Servo 1. Overview The purpose of this lab is to learn how to design, develop, and implement a sequential digital circuit whose purpose

More information

Chapter 14. using data wires

Chapter 14. using data wires Chapter 14. using data wires In this fifth part of the book, you ll learn how to use data wires (this chapter), Data Operations blocks (Chapter 15), and variables (Chapter 16) to create more advanced programs

More information

GESTUR. Sensing & Feedback Glove for interfacing with Virtual Reality

GESTUR. Sensing & Feedback Glove for interfacing with Virtual Reality GESTUR Sensing & Feedback Glove for interfacing with Virtual Reality Initial Design Review ECE 189A, Fall 2016 University of California, Santa Barbara History & Introduction - Oculus and Vive are great

More information

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station The platform provides a high performance basis for electromechanical system control. Originally designed for autonomous aerial vehicle

More information

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School Arduino Control of Tetrix Prizm Robotics Motors and Servos Introduction to Robotics and Engineering Marist School Motor or Servo? Motor Faster revolution but less Power Tetrix 12 Volt DC motors have a

More information

Modeling a Hybrid Electric Vehicle and Controller to Optimize System Performance

Modeling a Hybrid Electric Vehicle and Controller to Optimize System Performance Root Locus Bode Plot Ref. Voltage + - + Ref. - Speed Controller Controller Real Axis Frequency Modeling a Hybrid Electric Vehicle and Controller to Optimize System Performance 2005 The MathWorks, Inc.

More information

FRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer.

FRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer. X036/13/01 NATIONAL QUALIFICATIONS 2012 FRIDAY, 18 MAY 1.00 PM 4.00 PM TECHNOLOGICAL STUDIES ADVANCED HIGHER 200 marks are allocated to this paper. Answer all questions in Section A (120 marks). Answer

More information

VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING

VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING P.NARENDRA ILAYA PALLAVAN 1, S.HARISH 2, C.DHACHINAMOORTHI 3 1Assistant Professor, EIE Department, Bannari Amman Institute of Technology,

More information

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY J. C. Álvarez, J. Lamas, A. J. López, A. Ramil Universidade da Coruña (SPAIN) carlos.alvarez@udc.es, jlamas@udc.es, ana.xesus.lopez@udc.es,

More information

EET 273 Experiment Introduction to Loop Control

EET 273 Experiment Introduction to Loop Control Now that we have calibrated and characterized all of the pieces of our system, we are ready to begin to attempt to accurately control the motor. Our system is designed to control the speed of the motor.

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 13.11.2014

More information

Motion Control of a Three Active Wheeled Mobile Robot and Collision-Free Human Following Navigation in Outdoor Environment

Motion Control of a Three Active Wheeled Mobile Robot and Collision-Free Human Following Navigation in Outdoor Environment Proceedings of the International MultiConference of Engineers and Computer Scientists 2016 Vol I,, March 16-18, 2016, Hong Kong Motion Control of a Three Active Wheeled Mobile Robot and Collision-Free

More information

MTY (81)

MTY (81) This manual describes the option "d" of the SMT-BD1 amplifier: Master/slave electronic gearing. The general information about the digital amplifier commissioning are described in the standard SMT-BD1 manual.

More information

GE 320: Introduction to Control Systems

GE 320: Introduction to Control Systems GE 320: Introduction to Control Systems Laboratory Section Manual 1 Welcome to GE 320.. 1 www.softbankrobotics.com 1 1 Introduction This section summarizes the course content and outlines the general procedure

More information

PID CONTROL FOR TWO-WHEELED INVERTED PENDULUM (WIP) SYSTEM

PID CONTROL FOR TWO-WHEELED INVERTED PENDULUM (WIP) SYSTEM PID CONTROL FOR TWO-WHEELED INVERTED PENDULUM (WIP) SYSTEM Bogdan Grămescu, Constantin Niţu, Nguyen Su Phuong Phuc, Claudia Irina Borzea University POLITEHNICA of Bucharest 313, Splaiul Independentei,

More information

PROCESS DYNAMICS AND CONTROL

PROCESS DYNAMICS AND CONTROL Objectives of the Class PROCESS DYNAMICS AND CONTROL CHBE320, Spring 2018 Professor Dae Ryook Yang Dept. of Chemical & Biological Engineering What is process control? Basics of process control Basic hardware

More information

Positive Promotion: Use the FIRST and FTC logos in a manner that is positive and promotes FIRST.

Positive Promotion: Use the FIRST and FTC logos in a manner that is positive and promotes FIRST. You have incredibly creative opportunities in terms of designing your own identity. There are many examples of how teams brand their efforts with websites, incredible team logos on robots, T shirts, hats,

More information

ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview

ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair Overview For this assignment, you will be controlling the light emitted from and received by an LED/phototransistor pair. There are many

More information

Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS

Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS Laboratory 7: CONTROL SYSTEMS FUNDAMENTALS OBJECTIVES - Familiarize the students in the area of automatization and control. - Familiarize the student with programming of toy robots. EQUIPMENT AND REQUERIED

More information

Hands On Activity: Robotics in the Classroom. Using Lego Mindstorms (Prepared by Connie Gomez and Virgilio Gonzalez)

Hands On Activity: Robotics in the Classroom. Using Lego Mindstorms (Prepared by Connie Gomez and Virgilio Gonzalez) Hands On Activity: Robotics in the Classroom Using Lego Mindstorms (Prepared by Connie Gomez and Virgilio Gonzalez) Group Discussion Your concepts of robotics? Your experiences with robots? Your experiences

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

Free Programmable Signal Processing inside a High Performance Servo Amplifier

Free Programmable Signal Processing inside a High Performance Servo Amplifier 1 Free Programmable Signal Processing inside a High Performance Servo Amplifier J. O. Krah S. Geiger G. Jaskowski Seidel Servo Drives / Kollmorgen 40489 Düsseldorf Abstract The availability of digital

More information

LAB 5: Mobile robots -- Modeling, control and tracking

LAB 5: Mobile robots -- Modeling, control and tracking LAB 5: Mobile robots -- Modeling, control and tracking Overview In this laboratory experiment, a wheeled mobile robot will be used to illustrate Modeling Independent speed control and steering Longitudinal

More information

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012 Lab 1: Steady State Error and Step Response MAE 433, Spring 2012 Instructors: Prof. Rowley, Prof. Littman AIs: Brandt Belson, Jonathan Tu Technical staff: Jonathan Prévost Princeton University Feb. 14-17,

More information

An Introduction to Programming using the NXT Robot:

An Introduction to Programming using the NXT Robot: An Introduction to Programming using the NXT Robot: exploring the LEGO MINDSTORMS Common palette. Student Workbook for independent learners and small groups The following tasks have been completed by:

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

PSoC Academy: How to Create a PSoC BLE Android App Lesson 9: BLE Robot Schematic 1

PSoC Academy: How to Create a PSoC BLE Android App Lesson 9: BLE Robot Schematic 1 1 All right, now we re ready to walk through the schematic. I ll show you the quadrature encoders that drive the H-Bridge, the PWMs, et cetera all the parts on the schematic. Then I ll show you the configuration

More information

Automatic Headlights

Automatic Headlights Automatic Headlights Design car features that will improve nighttime driving safety. Learning Objectives Students will: Explore the concept of Inputs and the way to control them Explore the concept of

More information

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor The bipolar amplifier is well suited for controlling motors for vehicle propulsion. Figure 12-45 shows a good-sized 24VDC motor that runs nicely on 13.8V from a lead acid battery based power supply. You

More information