Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE...

25
Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1

Transcript of Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE...

Page 1: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Autonomous People Mover

ASEE Conference 2016

Joe Hudden, Cody Smith

1

Page 2: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Team

2

Page 3: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

BackgroundRochester Institute of Technology is re-entering the field of autonomous vehicle research.

Research and development of autonomous vehicles are becoming more and more popular in the automotive industry. It is believed that autonomous vehicles are the future for easy and efficient transportation that will make for safer, less congested roadways.

3

Page 4: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Problem Statement• Current State• There have been two phases of this project so far. The first phase focused on modifying a golf

cart into a remote controlled vehicles. The second phase tried to complete the of the first phase. Our phase did a ground-up re-design of all hardware software.

• Desired State• APM is capable of driving autonomously, including tasks such as localization, path planning,

path following, and object avoidance. APM provides a simple human-machine interface which displays diagnostic information. APM is able to be remote-controlled. Passengers have the ability to take manual control of the vehicle at any time.

• Project Goals• APM can drive autonomously on a closed course while avoiding static and moving obstacles,

staying on the designated path, and maintaining the safety of passengers and bystanders.

4

Page 5: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Control Subsystems

5

Page 6: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Brake• Linear actuator attached to cable on stock brake pedal

• Position control from 0-100% braking effort,PID implemented

• Engaged automatically by emergency stop

6

Page 7: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Throttle• Analog signal sent to stock motor controller

• Adjustable mapping via software

• Amplified from microcontroller to match stock voltage

7

Page 8: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

• Utilizes electric power steeringrack from Wicked

• Converts single DAC output todifferential output to match stocktorque sensors

• Position control viapotentiometer with built insoftware limits

• PID control

8

Steering

Page 9: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Full Controls Test Video

9

Page 10: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Main PCB• Custom PCB for control subsystem circuits

• Connectors for interface with stock cart wiring loom

• Low-pass filtering for sensitive signals

• Power conversion

• Sounder and LED’s for status and error

• Expandable

10

Page 11: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Sensors

11

Page 12: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

LiDAR• Velodyne Puck (VLP-16)• 16 channels

• ± 15° vertical FOV

• 360° horizontal FOV

• 100m range

• 300,000 points/second

12

Page 13: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Ultrasonics• MB7363 HRXL-MaxSonar®-WRLS™• 1mm resolution

• Operates on 3.3 V

• Measures distance to objects

• Maximum range of 10 meters (394 inches)

• Sensor output: analog voltage

• Matches standard ¾-inch PVC pipe fittings for mounting

13

Page 14: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

IMU• MPU-9250 9-Axis Motion Tracker• 3 axis gyro

• Row, pitch, yaw

• 3 axis accelerometer

• X, Y, Z acceleration – full scale range from ± 2g to ± 16g

• 3 axis magnetometer

• Compass

14

Page 15: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

GPS• RTK compatible

• ± 10 cm accuracy with RTK lock

• Active antenna with ground plane

• Custom PCB

15

Page 16: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Software

16

Page 17: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Vehicle Simulation• Uses state-space equations for 3 DoF “bicycle” model

• Solution approximated in MATLAB using ode45 command

• Inputs:• Waypoints

• Forward velocity set point

• Initial conditions

• Vehicle properties

17

Page 18: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Vehicle Simulation

Lo

ng

itu

din

al D

ista

nc

e f

rom

CG

[ft

]

Lateral Distance from CG (ft)

18

Page 19: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

MicrocontrollersArduino DUE 1

• Throttle control

• Steering control

• Brake control

• RC input

• Encoder odometry

Arduino DUE 2

• Ultrasonics input

• IMU

• Light

• Sounder

19

Page 20: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

ROSdue• Serial communication between ROS and Arduino

• ROS node and Arduino library

• 115200 baud (adjustable)

• Publisher and subscriber interface

• 3-way handshake for subscribers

• Robust• Message length checksum

• Character range and type verification

• Auto-restart on failure

• Open source (http://github.com/codysmithd/ROSdue)

20

Page 21: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Desktop PC (ROS)• Ubuntu 14.04

• ROS Indigo

• ROS Packages:• robot_navigation

• tf

• Hector SLAM

• Autonomous driving

• Touch-screen user interface

21

Page 22: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Desktop Software Overview

22

Page 23: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Remote Control Mode Video

23

Page 24: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Come see our demo at

24

Page 25: Autonomous People Mover - EDGEedge.rit.edu/edge/P16241/public/Final Documentation/ASEE Confere… · Autonomous People Mover ASEE Conference 2016 Joe Hudden, Cody Smith 1. Team 2.

Questions

25