Formula SAE Ryan Langley

Slides:



Advertisements
Similar presentations
Handheld Wireless GPS Tracking Device Senior Design EEL 4914C : UWF, Fall 2006.
Advertisements

The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
By: Russ Butler ECE4220 Spring 2012 Dr. DeSouza May 2, 2012.
GESTURE CONTROLLED ROBOT An insignia on technology By MOHD HARIS SIDDIQUI Md. RASHID AZAM Md. AFTAB USMANI 2 nd Year.
Lecture 8: Serial Interfaces
Autonomous Helicopter: James Lyden Harris Okazaki EE 496 A project to create a system that would allow a remote- controlled helicopter to fly without user.
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
Firmware implementation of Integer Array Sorter Characterization presentation Dec, 2010 Elad Barzilay Uri Natanzon Supervisor: Moshe Porian.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
Wireless Data Acquisition for SAE Car Project by: J.P. Haberkorn & Jon Trainor Advised by: Mr. Steven Gutschlag.
Remote Surveillance Vehicle Design Review By: Bill Burgdorf Tom Fisher Eleni Binopolus-Rumayor.
Unit-5 CO-MPI autonomous
Critical Design Review February 23 rd, 2010 Hassan Alabudib Kamal Sabi Peng Chen Marisol Lozano Roman Yirui Huang.
Design Review: RoboSiM Robotic Surveillance in Motion
Team Members Jordan Bennett Kyle Schultz Min Jae Lee Kevin Yeh.
IDine A Camera based Multi-touch Dining table Tejas D Kulkarni Abhisheyk Gaur Himanshu Raghav Ankur Mishra.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Software TCSP. 2 project overview The Purdue Party Platform is a device that utilizes the well-established DMX protocol to control entertainment-oriented.
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
 Purpose of our project  Get real world experience in ASIC digital design  Use same tools as industry engineers  Get practical experience in microprocessor.
Critical Design Review 27 February 2007 Black Box Car System (BBCS) ctrl + z: Benjamin Baker, Lisa Furnish, Chris Klepac, Benjamin Mauser, Zachary Miers.
328eForth for Arduino Uno C. H. Ting February 16, 2012 SVFIG.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Rapid Development on the Renesas RX63N RDK using.
4.0 rtos implementation part II
TEAM BRIGHTRIDERS Failure Modes, Effects, and Criticality Analysis “We put the SOUL in SOULAR racing”
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Solar Telematics System ECE 477 Design Review, Team 8, Spring 2012 Paste a photo of team members here, annotated with names of team members. Craig Lechlitner,
Dan Chambers, Josh Marchi, Jeff King, Paul Rosenberger.
iitb.ac.in, ee.iitb.ac.in 1/25 Indicon2013, Mumbai, December 2013, Paper ID 1084 Track 4.1 Signal Processing & VLSI (Biomedical.
Typical Microcontroller Purposes
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
Embedded System Design Laboratory October 4, 2002Stanford University - EE281 Lecture #3#1 Lecture #3 Outline Announcements AVR Processor Resources –UART.
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
ECE 477 Design Review Team 9  Fall 2009 Josh Piron, Jacob Pfister Kevin Templar, Mike Phillips,
Done By: Amnon Balanov & Yosef Solomon Supervisor: Boaz Mizrachi Project ID: d02310.
© 2004, D. J. Foreman 1 Computer Organization. © 2004, D. J. Foreman 2 Basic Architecture Review  Von Neumann ■ Distinct single-ALU & single-Control.
Team 6 DOODLE DRIVE Alexander Curtis Peachanok Lertkajornkitti | Jun Pan | Edward Kidarsa |
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA XI : Project Outlooks.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
ECE 477 Senior Design Group 12  Spring 2006 Daniel da Silva Atandra Burman Eric Aasen Harsha Vangapaty.
Josh Marchi, Jeff King, Paul Rosenberger, Dan Chambers – Software Design Considerations –
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Team 6 DOODLE DRIVE Presenter: Jun Pan. PROJECT OVERVIEW  Android application as controller  Robot vehicle with microcontroller  Path will be drawn.
CAN-Bus Logger Characterization presentation Apr. 19, 2009 Elad Barzilay Idan Cohen-Gindi Supervisor: Boaz Mizrahi.
Humble Hubble Team 18 Tim Brown. Abstract The proposed project is a self-aiming telescope. This telescope will obtain its global position and the local.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
Our Project Next generation communication system for vehicles ▫Simple, real-time visual communication Multi-touch input ▫Driver’s gestures produce an.
ECE477 Senior Design Android street car Team 12 Libo Dong 1.
SmartCup – Team 42 Harington Lee, Chirag Patil, Arjun Sharma 1.
SUBMITTED BY EDGEFX TEAM PORTABLE CODED WIRELESS MESSAGE COMMUNICATION BETWEEN TWO PARTIES SECRETLY WITH LCD DISPLAY.
Tiva C TM4C123GH6PM UART Embedded Systems ECE 4437 Fall 2015 Team 2:
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Voice Controlled Robot by Cell Phone with Android App
Chip Config & Drivers – Required Drivers:
SCADA for Remote Industrial Plant
SUBMITTED BY EDGEFX TEAM
RAILWAY TRACK SNAP NOTIFICATION
Atmega32 Serial Programming Basics
Subject Name: Microcontroller Subject Code: 10ES42
Carson Labrado and Jacob Travis
AVR – ATmega103(ATMEL) Architecture & Summary
Serial Communication 19th Han Seung Uk.
Introduction to Arduino
Serial Peripheral Interface Bus
Presentation transcript:

Formula SAE Ryan Langley 2104584 GPS & Sensor Telemetry HPV Sensor Suite Thomas Cross 2107294 Formula SAE Ryan Langley 2104584

HPV Super Series Human Powered Vehicle Multiple riders per vehicle Endurance races Manual lap timing

Project Aims Sensor suite onboard vehicle Location, speed and lap times Data logging Display data to pit crew

Vehicle Module GPS + Accelerometer Speed display Data logging Data communications Pit Module Graphical User Interface View real-time data Log/display lap times Data communications

Hardware Firmware GUI

Hardware Firmware GUI

Reverse Polarity & Overvoltage Protection Input Power Reverse Polarity & Overvoltage Protection Switched-Mode Power Supply (5V) Linear Regulator (3.3V) GPS Module Accelerometer UART I2C Microcontroller Microcontroller UART I2C SPI RF Module Liquid Crystal Display SD Card

Reverse Polarity & Overvoltage Protection Input Power Reverse Polarity & Overvoltage Protection Switched-Mode Power Supply (5V) Linear Regulator (3.3V) GPS Module Accelerometer UART I2C Microcontroller Microcontroller UART I2C SPI RF Module Liquid Crystal Display SD Card

Circuit Protection Reverse polarity protection Overvoltage protection Transient suppression

Reverse Polarity & Overvoltage Protection Input Power Reverse Polarity & Overvoltage Protection Switched-Mode Power Supply (5V) Linear Regulator (3.3V) GPS Module Accelerometer UART I2C Microcontroller Microcontroller UART I2C SPI RF Module Liquid Crystal Display SD Card

Power Supply 3.3V and 5V rails Linear regulator for each rail 5V SMPS powering 3.3V linear regulator SMPS for each rail 3.3V @ 0.1A 5V @ 0.9A   Ploss (W) Efficiency Cost($AU) 2 x Linear 7.17 40.3% $3.30 1 x SMPS 1 x Linear 1.42 77.3% $9.41 2 x SMPS 1.21 80% $15.52

Reverse Polarity & Overvoltage Protection Input Power Reverse Polarity & Overvoltage Protection Switched-Mode Power Supply (5V) Linear Regulator (3.3V) GPS Module Accelerometer UART I2C Microcontroller Microcontroller UART I2C SPI RF Module Liquid Crystal Display SD Card

Inputs GPS Module Accelerometer Updates at 10Hz UART - NMEA Data and checksum 2.5m location accuracy Accelerometer MMA8451Q 3-Axis I2C

Reverse Polarity & Overvoltage Protection Input Power Reverse Polarity & Overvoltage Protection Switched-Mode Power Supply (5V) Linear Regulator (3.3V) GPS Module Accelerometer UART I2C Microcontroller Microcontroller UART I2C SPI RF Module Liquid Crystal Display SD Card

Outputs LCD SD Card RF Module - RFD900 UART 40km LOS I2C Displays data to rider SD Card SPI microSD

Reverse Polarity & Overvoltage Protection Input Power Reverse Polarity & Overvoltage Protection Switched-Mode Power Supply (5V) Linear Regulator (3.3V) GPS Module Accelerometer UART I2C Microcontroller Microcontroller UART I2C SPI RF Module Liquid Crystal Display SD Card

Microcontroller 2 x UART - GPS & RF Module 1 x SPI - SD Card (SPI Mode) 1 x I2C - Accelerometer, LCD PIC18F46K22 2 x UART, 2 x SPI/I2C 64KB Program Memory 64MHz oscillator

Protection Circuitry 5V SMPS GPS Programming Header 3.3V Linear Regulator Accelerometer SD Card

Hardware Firmware GUI

Hardware Firmware GUI

Formula SAE Design & build race car Students of all disciplines Annual competition Flinders’ first year

GPS Telemetry Project Basis for sensor addition Build car and driver feedback Improve performance of team

Firmware Goals Configure sensors Read in, send and process data Log data Handle errors All in real time – or close to

GPS Configure UART peripheral Configure GPS module Receive NMEA data Process & Send data

Configure UART 1 start – 8 data – 1 stop – no parity 115,200 baud Interrupt based Ring buffer TAIL HEAD $ G P R M C

Configure UART

GPS Configure UART peripheral Configure GPS module Receive NMEA data Process & Send data

Configure GPS Module Send only GPRMC and GPGSA Lat & long Date & time Speed, heading Precision Configure baud to 115,200 Send data at 10 Hz

GPS Configure UART peripheral Configure GPS module Receive NMEA data Process & Send data

Receive NMEA Data $ \n GPS_msg_flag Receive ISR N N Y Y RXIF Framing error? Buffer overflow? ‘$’ or ‘\n’ Put in buffer Exit Flush buffer Receive ISR N N Y Y $ GPS_msg_flag \n

GPS Configure UART peripheral Configure GPS module Receive NMEA data Process & Send data

Process & Send Data Pull msg from RX buffer N Y Y N $ G P R M C … \n Pull char from buffer Is it ‘$’ Place in array Is it ‘\n’ Place 0 in array Check Checksum N Y Y N $ G P R M C … \n

Accelerometer Configure I2C peripheral Configure Accelerometer module Obtain data

Configure I2C 400 kHz speed Set as Master device Generic code

Accelerometer Configure I2C peripheral Configure Accelerometer module Obtain data

Configure Accelerometer Read latest data (not FIFO) 8G, 4G, or 2G mode 8-bit resolution

Accelerometer Configure I2C peripheral Configure Accelerometer module Obtain data

Obtain data Read the values at 10 Hz Use ‘get’ functions to access X, Y, and Z values.

The Main Loop

The Results

The Results ACC IN RFD OUT GPS IN

Data Logging Easy to use Windows compatible file system Different files for GPS and ACC data

Data Logging Main Loop SD_Card.h SD_Card.c FatFs Files diskio.h diskio.c SPI.h SPI.c

Main Loop SD_Card.h SD_Card.c FatFs Files diskio.h diskio.c SPI.h SPI.c

SD Card Provides high-level logging functions Create/open files Log ACC data Log GPS data Save files

Main Loop SD_Card.h SD_Card.c FatFs Files diskio.h diskio.c SPI.h SPI.c

FatFs Generic FAT File System Module Designed for embedded systems 3rd party open source Platform independent

Main Loop SD_Card.h SD_Card.c FatFs Files diskio.h diskio.c SPI.h SPI.c

Disk IO Provides low-level disk IO functions Initialize Read Write Disk Status

Main Loop SD_Card.h SD_Card.c FatFs Files diskio.h diskio.c SPI.h SPI.c

SPI Portable SPI peripheral code Various initialization options Byte transmit, receive and exchange

Logging Result

Hardware Firmware GUI

Hardware Firmware GUI

10 Hz New Message Received? No Update Lap/Race Timer Yes No Valid Message Header? Get Message Type Plot GPS Location Display Acceleration Yes Reset No Valid Message? Lap Detected? Yes Yes Extract Message Data Log Lap Time

Receiving Data Scan until new message is received Check for valid header e.g. “$GPRMC…” Check for correct length and checksum Extract message data Lat & long Date & time Speed, heading

Update GUI Update lap/race counter every 0.1s Plot most recent GPS location Display accelerometer data Display heading/speed

Lap Detection Check if travel line crosses finish line Log lap time and display on graph/table Reset lap timer

GUI

Summary Designed generic hardware Data processing and transmission Display real-time data on user interface Autonomously log lap times