EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
Engineer Training Supply Unit TJ8300 / TJ8500 Supply Unit.
Engineer Training XL1200 Motion Control System. Engineer Training XL1200 Motion Control System Confidential 2 Motion System The XLjet motion system is.
Basic DC Motor Circuits
Data Acquisition Risanuri Hidayat.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
EET 2261 Unit 13 Controlling Stepper Motors and Servos  Read Almy, Chapter 21.  Lab #13 due next week.  Final Exam next week.
L.
EML 2023 – Motor Control Lecture 2 – Motor. EML 2023 Department of Mechanical and Aerospace Engineering Let’s answer 3 questions. 1.How is the motor held.
Digital Tachometer ENGR 4803 Electromechanical Systems & Mechatronics.
FOLLOWER SENSORS AND ACTUATORS EE 552 INTSTRUCTOR :Dr MOHAN KRISNAN BY MOHAMMED KASHIF IQBAL ANESH BODDAPATTI UNIVERSITY OF DETROIT MERCY.
CR1000s are only one part of a data acquisition system. To get good data, suitable sensors and a reliable data retrieval method are required. A failure.
ESE Lab Computer based Temperature Control Sid Deliwala, ESE Labs.
SENIOR DESIGN 10/16.
CR1000s are only one part of a data acquisition system. To get good data, suitable sensors and a reliable data retrieval method are required. A failure.
Digital I/O Connecting to the Outside World
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
Objective of the Lecture Describe a basic electric circuit, which may be drawn as a circuit schematic or constructed with actual components.
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
EML 2023 – Motor Control Lecture 3 – Feedback Sensor Optical Encoder.
Applied Control Systems Robotics & Robotic Control
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Servo Motor Control Demonstration.
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Servo Motor Control. EML 2023 Department of Mechanical and Aerospace Engineering Design Project You are to design a mechanical device that can tilt a.
1 L Fall 2003 – Introductory Digital Systems Laboratory Motors and Position Determination.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Servo Motor Control Demonstration. EML 2023 Department of Mechanical and Aerospace Engineering motor with gear reducer flex coupling incremental optical.
Servo Motor Control. EML 2023 Department of Mechanical and Aerospace Engineering Design Problem You are to design an automated goalie for an air hockey.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
ELECTRONICS PRIMER II.
Servo Motor Control. EML 2023 Department of Mechanical and Aerospace Engineering Design Problem You are to design an automated goalie for an air hockey.
Introduction to Mechatronics. Introduction Mechanical + Electronics.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
EML 2023 – Motor Control Lecture 1 – Closed Loop Motor Control.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
MOTORS. Definition Of Motor That powered by electricity or internal combustion, that supplies motive power for a vehicle or for some other device. A device.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Servo Motor Control.
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Optical Encoders Vallejo High Engineering Academy Jack Gillespie 2010.
Arduino Application: Speed control of small DC Motors
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Motors & Motor Controllers
Introduction to Motors, servos and steppers
Introduction to Mechatronics
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Intro to USB-6009 DAQ.
Motor Control Solutions
CLOSED-LOOP MOTOR SPEED SENSOR & CONTROLLER
ELG4135: Electronics III (Fall 2005)
Intro to the Arduino Created by
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Lesson 2: Introduction to Control programming using Labview
Rotary Encoders Cedric Pinder Major: Computer Engineering.
Output Relay, Optoisolator, and Stepper motor interfacing with AVR
Motor Control Solutions
QUANSER Flight Control Systems Design 2DOF Helicopter 3DOF Helicopter 3DOF Hover 3DOF Gyroscope Quanser Education Solutions Powered by.
Controlling YOUR ROBOT
NI Data Acquisition (DAQ) Wiring and Connections
EET 2261 Unit 12 Controlling Stepper Motors and Servos
Motors and Position Determination
UNIT 11: RC-SERVOMOTOR CONTROL
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Motor Control Solutions
Presentation transcript:

EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller

EML 2023 Department of Mechanical and Aerospace Engineering Closed Loop Control 2 Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position

EML 2023 Department of Mechanical and Aerospace Engineering Let’s answer 3 questions. 1.How is the motor held in place and how is it connected to the shaft that it is to rotate? 2.How does the encoder work and how is it physically connected to the motor? 3.How do the DAQ and motor driver work? 3 Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position

EML 2023 Department of Mechanical and Aerospace Engineering Computer Interface To command the motor: –The computer must be able to generate an analog voltage signal that is somehow interpreted by the motor. To ‘read’ the encoder: –The computer must be able to read the +5V and 0V pulses coming from the two light detectors on the optical encoder. USB 4

EML 2023 Department of Mechanical and Aerospace Engineering Interface to Computer We will use a National Instruments USB-6009 data acquisition (DAQ) device specs –USB interface to PC –8 channels of analog input, 0-5V –2 channels of analog output 0-5V 5 mA each –12 channels of digital input/outputs 0 or 5V, (8.5 mA for outputs) –1 counter 5

EML 2023 Department of Mechanical and Aerospace Engineering NI USB

EML 2023 Department of Mechanical and Aerospace Engineering Interface to Computer 7

EML 2023 Department of Mechanical and Aerospace Engineering cost:$41.67 Honeywell / Clarostat CN1 Allied Electronics part #

EML 2023 Department of Mechanical and Aerospace Engineering Computer Interface Let’s start with digital inputs to interface to the optical encoder. notice that there are four wires 9

10

+5V power ground channel A channel B channels A & B will be either 0V or 5V depending on whether that light detector detects light through a slit or not 11

+5V power ground channel A channel B 12

EML 2023 Department of Mechanical and Aerospace Engineering Computer Interface to Motor To control the motor: –we have to control the current going to the motor (via the voltage) –however, the typical analog voltage signal that a computer generates from the DAQ does not have sufficient current to power the motor –an amplifier is used * a power supply provides 24V (7.5 amp max for our case) to the amp the computer DAQ generates an analog voltage in the range of -0 to +5V; 0V means the motor is to stop ; +5V means the motor is to turn at a maximum speed a digital signal will give the desired direction (0 V, CCW, 5 V CW) * also called a ‘motor driver’ or ‘speed controller’ Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position 13

14 Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position

EML 2023 Department of Mechanical and Aerospace Engineering 15 from power supply to motor

16

EML 2023 Department of Mechanical and Aerospace Engineering Change motor direction To go CW, set this digital output pin to TRUE (+5V). To go CCW, set this digital output pin to FALSE (0V). 17

Homing Switch to input pin on USB DAQ +5V 0V 18

EML 2023 Department of Mechanical and Aerospace Engineering Interface to Computer 0V from USB V from USB

Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position USB 20

Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position USB 21

Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position USB digital direction signal analog speed signal ground 22

Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position USB 24 volt supply PWM signal to motor 23

Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position USB 5 volt, ground, channel A, channel B 24

EML 2023 Department of Mechanical and Aerospace Engineering Let’s answer 3 questions. 1.How is the motor held in place and how is it connected to the shaft that it is to rotate? 2.How does the encoder work and how is it physically connected to the motor? 3.How do the DAQ and motor driver work? 25 Motor Driver desired position current Computer and DAQ Motor analog speed signal digital direction signal Encoder sensed actual position

EML 2023 Department of Mechanical and Aerospace Engineering Design Project For each motor in your design: –include an optical encoder for motor position feedback –include a homing switch to initialize your position –include limit switches as needed –mount the motor driver For the project: –mount the DAQ

EML 2023 Department of Mechanical and Aerospace Engineering

EML 2023 Department of Mechanical and Aerospace Engineering

EML 2023 Department of Mechanical and Aerospace Engineering

EML 2023 Department of Mechanical and Aerospace Engineering