Group 33 – Electronic LEGO Sorter

Slides:



Advertisements
Similar presentations
MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
Advertisements

Greg Beau SerajAnanya. Outline  Project overview  Project-specific success criteria  Block diagram  Component selection rationale  Packaging design.
Left to Right: Michael Kelton, Ethan Hall, Greg Wegman, Vashisht Lakhmani.
Autonomous Rugged Maze Navigating Robot Andy Darter Luke Kaufman BS Computer Engineering Candidates 4/27/2013 Senior Design II.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
SUN TRACKING SOLAR PANEL. Introduction The main objective of this project is to track the sun and rotate the solar panel accordingly, to receive sunlight.
PHY 235 Robotics Workshop Day 6 DC Motors, H-Bridge Board, Simple Lego/Boe Bot.
OutLine Overview about Project Wii Robot Escaper Robot Problems and Solutions Demo.
L.
Stepper Motors. Motors coils of conductive wire magnetic fields rotational motion –except for linear induction motor everywhere from the very large (LRT)
The Solar Tracker. Solar Tracking Project Team Members: –Cristian Ruvalcaba –Ken Seal –David Clark –Mark McKinley –Richard DeJarnatt.
Preliminary Design Review The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer Capstone – Spring 2007.
Coordinate Based Tracking System
© 2003 By Default! A Free sample background from Slide 1 Clinical Blood Analyzer Senior Design Project Sponsored by D3 Engineering.
SENIOR DESIGN 10/16.
DC Motors, Stepper Motors, H-bridges DC Motors Stepper Motors Motor Control Circuits – Relays – H-bridges.
DC Motor Drives Dr. Ahmad Harb.
Introduction.
R3R3 Ethan Hall Michael Kelton Greg Wegman Vashisht Lakhmani.
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Tejas D Kulkarni Abhisheyk Gaur Himanshu Raghav Ankur Mishra.
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.
B.R.A.V.O. Bring Reliability to Autonomous Vehicle Operation Group 11 Christopher Cox Mirazam Usmanov Douglas Akinola Henry McWhorter.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Annie Ly Lawrence Cagatin EE485 Spring 2012 Tuffy Medical Devices.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Xin Jin Zelun Tie Ranmin Chen Hang Xie. Outline  Project overview  Project-specific success criteria  Block diagram  Component selection rationale.
Instrumentation & Control Engg. Section Electrical Engineering Department Ahmedabad , Gujarat.
University of Tehran 1 Microprocessor System Design IO Applications Omid Fatemi
Electrical Actuation System Lecture 9 (Chapter 9).
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
Alex Wanamaker.  2 astable 555 timer circuits  Blinking rate: ~1.1 seconds  Q1 and Q2 used to provide additional current for the circuit beyond.
SUBMITTED BY LENIN C INTRODUCTION Railways - cheapest mode of transportation. Aims to avoid accidents. Using simple electronic components- automate.
SMV Electric Tutorials
Maze Twinbots Group 28 Uyen Nguyen – EE Ly Nguyen – EE Luke Ireland - EE.
Group 33 – Image Processing Based Lego Sorter Nike Adeyemi (CpE) David Carey (CpE) Katrina Little (EE) Nick Steinman (EE)
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
INTERNET OF EVERYTHING SDU 2016 Week 9. Physical Output  Make things move by controlling motors with Arduino  Servo-motors  Rotary actuator that allows.
DC motor principles Speed control Direction Stepper motor principles
TRANSMISSION LINE MULTIPLE FAULT DETECTION AND INDICATION TO EB
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
CNC FEED DRIVES Akhil Krishnan G M.Tech 1. CONTENTS 1.Introduction 2.Requirements of CNC feed drives 3.Servo motor 3.1 Servo drive control 3.2 Components.
CNC FEED DRIVES.
Fan Assembly Driven by Magnetic Fields
Introduction to Motors, servos and steppers
ARDUINO BASED UNDERGROUND CABLE FAULT DETECTION
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Group members MUHAMAAD DANISH 2015MC05 USMAN ALI JAT 2015MC14 MUREED SULTAN 2015MC18 AZAN ASHRAF 2015MC19 AYMEN.
DC Motors Types: Continuous Rotation Servo (Remote Control)
PC Mouse operated Electrical Load Control Using VB Application
Arduino Development for Beginners
Air Hockey Robot Students: Abdullah Ahmad & Moath Omar Supervisor:
ARDUINO LINE FOLLOWER ROBOT
‘SONAR’ using Arduino & ultrasonic distance sensor
ACDC A Helping hand Group a
Group Number 42: Monitoring System for Rotating Turbines
Robotic Arm Project Presentation
MC3479P Stepper Motor and Stepper Motor IC
Output Relay, Optoisolator, and Stepper motor interfacing with AVR
Assist. Prof. Rassim Suliyev - SDU 2018
UNIT 11: RC-SERVOMOTOR CONTROL
Presentation transcript:

Group 33 – Electronic LEGO Sorter Nike Adeyemi (CpE) David Carey (CpE) Katrina Little (EE) Nick Steinman (EE)

Project Goals/Specifications Why a Lego sorter? Specific Objectives Minimal user dependency Speed vs. Accuracy Overall Objective Statement

Project Design Subsystems User Interface Lift system Dual conveyor system Image Processing system Rotating Arm system

Division of Labor Nike – User Interface David – Image Processing Chamber, Lift Arm Construction Nick – Rotating Arm ,conveyor systems, embedded PCB Katrina – Power Supply, Lift arm and conveyor systems construction

MCU choice: ATmega34U2 32KB integrated flash memory for code 2.5KB SRAM 16MHz clock rate SPI, I2C, UART 7 PWM pins 12 ADC channels 5V logic

LCD Touch Screen User Interface Purpose: To give the user options on how to sort the Legos Designed with simplicity in mind Uses touch screen control ATMega32u4 Will act as a touch screen controller Compatible Touch screen Library RA8875 TFT Resistive Touch Screen Display interface for the user and control the system

LCD Touchscreen - TFT 5 inch LCD Display Module w/Controller Board Serial I2C RA8875 Offers parallel or serial interfacing Resistive touch screen Display format – 480 x 272 Colors – 256/65K Supply – 3.3V or 5V Draws 180 mA with 5V supply. 40 mA for backlight Atmega32u4

Communication Interface Arduino Atmega32u4 communicate via 4-wire SPI Interface with RA8875 LCD Controller Arduino Atmega32u4 communicates with BBB Rev C via UART Transmit & Receive Pins

Flow

Start Screen

Choice Screen

Confirmation Screen

Status Screen

Conveyor Belts Two conveyor belts help distance LEGO pieces from one another. Lower belt moves quicker than upper belt. Need high torque, low speed motors

Conveyor Motors High torque geared motor Torque rated at 60 N x cm 12V DC 120 RPM at 12V Speed can be lowered and varied with PWM control

Conveyor motor circuit considerations The motors only need to rotate in one direction. 12V Motors will need to utilize PWM control for speed variance. 3.3V logic control signal from MCU. Motors will be turned on and off periodically.

Conveyor Motor Circuit And Operation Transistor Q1 acts as switch Current limiting Resistor R1 DC motor M1 Flyback diode D1 Resettable fuse S1 PWM module on ATmega32U4 will be used to send varying width pulses to control motor speed.

Conveyor Belt Mechanical Construction The conveyor belts were constructed out of Lego Technic parts. They have many lego “pins” supporting the structure. The motors were coupled to a lego part to attach to the belt rod. The belt material is constructed from photo paper.

Rotating Arm Considerations Arm should be light weight. Arm should rotate a full 360° to access all sorting bins. Rotation needs to be precise enough to deposit a LEGO in up to 10 bins surrounding the rotating arm. Need a feedback sensor for relative positioning.

Rotating Arm Motor 5V unipolar stepper motor. Draws ~250 mA stalled. 4 phases, 5 wires. 1/64 reduction ratio using full-step. 360° / 64 = 5.625° per step Half step switching sequence allows for 512 steps per shaft revolution at resolution of ~0.703° per step. Possible issue – Actual gear ratio measured around 63.68395 : 1.

Half-Step Motor Sequence 8 coil energizing sequences per half-step. 512 total half-steps per revolution Wire 1 2 3 4 5 6 7 8

Stepper Motor Driver Maximum ratings 500mA 50 V 30 V ULN2003A Darlington array. 7 Darlington array circuits in space-saving IC package. Will only need to use 4 of the 7 Clamp diodes for inductive load switching. Very low current draw from the MCU. Motor draws 250 mA max per coil winding. Maximum ratings Output current per channel 500mA Output Voltage 50 V Input Voltage 30 V

Rotating Arm Sensor Comparison TCS3200 Color sensor Advantages Provides constant feedback relative to sorting bins. No worry of stepper motor losing accuracy over time. Disadvantages More pins. Relatively complex coding. MCU resource intensive. Tangled wires. QRE1113 IR reflectance sensor Advantages One pin to MCU. Simple code. No worry about wires tangling. Disadvantages Feedback of position not constant. Program must keep track of stepper motor position. Will lose accuracy over time.

QRE1113 IR Reflectance Sensor 5V and 3.3V compatible. Infrared LED lights up nearby surface. Phototransistor reacts to reflected IR rays. Analog output will use one ADC pin on MCU. White ring around rotating arm with a black vertical stripe. The stripe absorbs IR rays and the sensor sends a lower value to MCU. The stripe acts as a homing position for the stepper motor. Program keeps track of step count. ISSUE – stepper motor has non-integer gear ratio. Code calculations will lose accuracy over extended periods. Proposed solution – bring stepper motor to home position periodically for recalibration.

Movement Optimization Goal: Take least amount of time positioning arm from bin to bin. Function “bin_to_bin” calculates the distance of clockwise and counter-clockwise paths from the current bin to the target bin. Nested if statements determine whether to move clockwise or counter- clockwise. Distance 1 = bigger bin – smaller bin; Distance 2 = (number of bins – bigger bin) + smaller bin;

COMPONENT POWER CONSUMPTION Rated Voltage [V] Rated Current [A] Power Consumed [W] Supply 1 Lift Arm DC Motor 12 0.3 3.6 Conveyor Belt DC Motor #1 Conveyor Belt DC Motor #2 Atmega32u4 0.52 6.24 Total   1.42 17.04 Supply 2 Lift Arm Microswitch #1 5 0.17 0.85 Lift Arm Microswitch #2 Lift Arm Controller (L293D) 1.2 6 Rotating Arm Stepper Motor 0.32 1.6 Rotating Arm Controller (UNL3003) 0.5 2.5 Rotating Arm Photoelectric Sensor 0.02 0.1 Beaglebone Black 0.46 2.3 2.84 14.2 POWER RATING   Supply 1 Supply 2 Rated Voltage [V] 12 5 Rated Current [A] 1.42 2.84 Rated Current +20% [A] 1.7 3.41 Power Consumed [W] 20.4 17.05

T.I. Webench DC Power Architecture SMPS Design DC Voltage Source Manufactured by Honeywell Model: PS-45-12 Selected for the AC/DC conversion

Eagle Power Supply Schematic Files The 12V 3.7A DC Input from Mean Well was wired to a simple home SPST 120V 15 A Switch to cutoff power.

Eagle Power Supply PCB Board and Heat Sink Issues. Vin Polygon Supply from Mean Well PS-45-12 Vo1 = 12V 1.70 A Vo2 = 5V 3.41A

Embedded System Schematic

Embedded System PCB

Lift Arm Initial Construction Plan Parallax S148 Continuous Rotation Servo Motor Advantage Easy to control basic PWM 3 Lines: Ground, Supply, and Control Disadvantages: Price: $19.99 and Quantity of (2) motors for each side Ultimately Not Enough Torque

Lift Arm Final Construction Plan Design Requirements: Ability to move the platform up and down quickly without surpassing the physical bounds. A threaded rod was coupled to motor shaft. Another coupler was epoxied to the “moving platform” A pair of mechanical Micro switches were selected to control the upper / lower boundaries of the system

Lift Arm Motor Selection RS-455PA DC Motor No Load Stall Operating Voltage Speed Current [A] 12-42 [V] 5500 [rev/min] 0.055 [A] 0.1 A Linear Actuator Pros: All in one construction Easy to control Built in limit switches Linear Actuator Cons: Extremely Expensive $80+ Constricted to set Size RPM not quite high enough Rev/min Threaded Rod Specs [rev / in] Time to move the platform in 1 direction [s] Time to perform 1 iteration (up/down) [s] 5500 18 1.18 2.36 23 1.5 3 30 1.96 3.92 Stepper Motor Pros Precise position control Eliminates the need for limit sensors Least Expensive $5 Stepper Motor Cons Low RPM RPM is robust for our application moving the platform very fast. This can be adjusted by using a threaded rod with more revolutions DC Motor Pros High RPM Easy to control with H-Bridge Circuit DC Motor Cons: Must use sensors to control the boundaries

Sweeper Arm System 5V servo motor and gear rack Servo motor on axel drives gear rack forward to push Lego piece into rotating arm system Servo reverses to return sweeper to starting position Micro switches on the front and back of sweeper to limit its movement

Image Processing Chamber Camera and Mirror Top view and side view Lighting Logitech Webcam Creating Ideal conditions for software

Webcam Logitech C110 USB connectivity to Beaglebone VGA resolution makes processing images quicker.

Image Processing Software The images taken of the Legos will represent the top view and side view (using the mirror) which will then be used to gather details on the Legos The consistent feed from the camera will also be used in software to determine when to process an image. After the camera detects a Lego in its field of view, it analyzes the color for shape or size, based on user input, then sends the data to the MCU, which will change the position of the rotating arm accordingly, and then set the sweeper arm to push the Lego.

Image Processing Beaglebone Black Rev C 512 MB RAM 1 GHz 4GB built in memory USB connectivity for camera 3.3V I/O SPI interface Beaglebone faster and more memory than alternatives like MSP and Arduino MCUs.

Predicted Budget Part Quantity Price Total Beaglebone Black 1 59.99 $59.99 ATMega32U4 $5.99 6" Drawer Slides 12.65 L293D H- Bridge $1.39 RS-455 PA DC Motor $9.20 9.2 TFT RA8875 LCD $30.76 30.76 Microswitches 4 $1.50 $6 Embedded PCB Components $30 PCB 2 $120 Power PCB $150 Stepper Motor 28BYJ-48 + UNL2003 Driver $7.99 Mirrors $1 $2 Threaded Rod $1.70 Coupler for Threaded Rod $0.90 Wood $15 Photo Paper $5 / ft^2 $10 Buckets 10 $1/3 Pack $4 Legos N/A Donated $0 Conveyor Belt DC Motor $12 $24 Webcam Logitech C110 $19.50 QRE1113 Sensor $2.95 Power Supply Components 47   $68 DPDT Killswitch 4.75 LED $3 $569.80

Questions?