System for Motor Control in a Solar Powered Electric Race Car Jay Oatts Duncan Thompson Pavel Rybakov Alex Jenkins Ed Kfir Monday December 13, 2010 Solar.

Slides:



Advertisements
Similar presentations
PLC Selection, Components, and Communication
Advertisements

PC Technology Chapter 6 Teacher: Manju JEOPARDY.
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
KEB COMBIVERT F5-M Exercises.
Troubleshooting Training Course.  Visual and General Test  Perform System Test (Mode  Perform System Test)  Identify The Error  If you need Technical.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Engineering Roles We will be forming groups of 3 students
COMPUTERS AND INPUT SENSORS. cbc MICROCOMPUTER OPERATION HAPPENS IN STAGES Memory.
Presentation by: Serena, Ann & Nicole
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
Artemis Lite Fault Finding FAQ’s
Tool removed during cycle Fault #2 Conditions for setting Tool cocked prox switch goes open during cycle AND force on load cell drops below limit in fault.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
EUT 1040 Lecture 10: Programmable Logic Controllers.
Presents The Silver Family An Integrated Approach to Processors, Data Communication and Head End Integration.
THIS PRESENTATION HAS BEEN UPLOADED TO THE WIKI. Motors, Controllers, and Regenerative Braking.
Chapter 22 All About SCSI.
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
Wireless Telemetry System for Solar Vehicle Scott Cowan Elliot Hernandez Tung Le March 14, 2011 Scott Cowan Elliot Hernandez Tung Le March 14, 2011 School.
Coordinate Based Tracking System
DC Motor Drives Dr. Ahmad Harb.
Introduction.
Wireless Telemetry System for Solar Vehicle
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
AccuMax Multi-Point Injection Mechanics
1  Module Type Overview  Construction  Characteristics  Installation principles  Details PD 600-Series.
System for Motor Control in a Solar Powered Electric Race Car Jay Oatts Duncan Thompson Pavel Rybakov Alex Jenkins Ed Kfir Monday November 1, 2010 Solar.
Andy Lian Gabriel Miranda Chris McManus Drew Pearson Andrew Perez.
COMPONENTS OF THE SYSTEM UNIT
SCADA and Telemetry Presented By:.
Baseboard Aavikkomursu 7.2. Aavikkomursu Micro- controller Extension port for programming microcontroller and sensor input Resistor RS485 interface chip.
Silicon Labs ToolStick Development Platform
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Lesson 3 — How a Computer Processes Data
PLC introduction1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
PLC: Programmable Logical Controller
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
A mother board is the main circuit board for the computer system (hence the name mother board ) The mother board holds all of the other components of a.
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
Wireless Telemetry for Solar Powered Car
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Solar Power Array Management for the Solar Racing Team Mark Calotes Ginah Colón Alemneh Haile Nidhi Joshi Michael Lu School of Electrical and Computer.
TECHNICAL TRAINING SMART COMMANDER System Requirements CPU : 800MHz and aboveCPU : 800MHz and above Memory : 256MB RAM or HigherMemory : 256MB.
Solar Power Array Management for the Solar Racing Team Mark Calotes Ginah Colón Alemneh Haile Nidhi Joshi Michael Lu School of Electrical and Computer.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
Hardware Introduction – Standard vs Q.i
Hybrid Power Controller (HPC) Mid-Semester Presentation Senior Design II.
Tool Removed During Cycle Fault #2 Conditions for Setting Tool cocked prox switch goes open during cycle AND force on load cell drops below 5 lbs. Active.
PROGRAMMABLE LOGIC CONTROLLER
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Wireless Bluetooth Controller For DC Motor. Introduction Wireless becoming more and more available and widely used Bluetooth is one of the major players.
COMPUTER COMPONENTS Ms Jennifer Computer Components.
Arduino based Automatic Temperature Controlled Fan Speed Regulator.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Fan Assembly Driven by Magnetic Fields
Introduction to Motors, servos and steppers
Components of Computer
Tool removed during cycle Fault #2
DC MOTOR SPEED CONTROL 1. Introduction
Programmable Logic Controllers (PLCs) An Overview.
PLC Hardware Components.
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Command and Data Handling
Automotive Technology Principles, Diagnosis, and Service
Presentation transcript:

System for Motor Control in a Solar Powered Electric Race Car Jay Oatts Duncan Thompson Pavel Rybakov Alex Jenkins Ed Kfir Monday December 13, 2010 Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Project Overview Design motor controlling system and driver vitals display for solar-powered race car to participate in 2011 World Solar Challenge in Australia Modular and mostly generic design for efficient portability of some or all of the project to the final solar racer and integrating with other electronics systems present Expected cost of replication for Solar Jackets is approximately $550 Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Technical Objectives (Proposed) Design test bench and implement safety mechanisms Test functionality of motor controller and motor (donated items) Operate motor controller via single-board computer program and discrete controls Output vital data from motor controller to driver via LCD screen Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Actual Design Test rig confirmed operation (or failure) of donated parts (motors and controllers) Safety mechanisms in place to reduce risk Operation of motor in discrete (human interface) and serial (computer interface) confirmed Program written to continuously monitor controller for status and vital information to be displayed onto LCD screen Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Lots of interconnections! Break things down As much as possible Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Power Source Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Power Source Motor Controller Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Power Source Motor Controller Motor Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Power Source Motor Controller Motor Discrete Controls Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Power Source Motor Controller Motor Discrete Controls SBC Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Modular Design Power Source Motor Controller Motor Discrete Controls SBC Driver Display Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Actual Design Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Power Source - Batteries 8 x 12V series connection 96V effective Wiring – AWG-4 Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Power Source - Fuse 250V / 150A rated fuse and holder Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Power Source – Main Power Cutoff 48V/96V blowout 1000A Keyed access Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Power Source – Power Relay Contactor – 900V / 500A (cont.) / 2000A (cutoff) Power Resistor – 100Ω/200W Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller - Connections Battery Terminals Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller - Connections Battery Terminals Motor 3-Phase Power Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller - Connections Battery Terminals Motor 3-Phase Power Motor Sense (15 pin) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller - Connections Battery Terminals Motor 3-Phase Power Motor Sense (15 pin) Discrete/Serial Controls (25 pin) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller - Connections Battery Terminals Motor 3-Phase Power Motor Sense (15 pin) Discrete/Serial Controls (25 pin) Fan Power Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller - Connections Battery Terminals Motor 3-Phase Power Motor Sense (15 pin) Discrete/Serial Controls (25 pin) Fan Power Fans (2 x 24V) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Brushless Electric Motor 3 phase cables connect to attract rotating permanent magnet in sequence Controller sends power to phases relative to desired speed/torque (commutator) Motor sense cable sends information back to controller (Hall effect sensors, temp sensor, connection sense) Mount for support/stability Solar Jackets – Motor Controller GroupECE 4007L01 – ws3 Above: NGM electric motor attached to plate mount with wiring harness for phase cables and motor sense cable.

Motor Controller - Communication Split from 25 pin controls cable Serial-USB for computer Hyperterminal program Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls - Switches Enable – Master controller enable (must be on to operate) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls - Switches Enable – Master controller enable (must be on to operate) Throttle Enable – Phase current enable (drops to zero when disabled, but regen still operational) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls - Switches Enable – Master controller enable (must be on to operate) Throttle Enable – Phase current enable (drops to zero when disabled, but regen still operational) Direction Switch – Forward or Reverse Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls – Output Signals Brake (Regen) Light – Activates anytime the controller is regenerating power back to batteries (Phase current negative) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls – Output Signals Brake (Regen) Light – Activates anytime the controller is regenerating power back to batteries (Phase current negative) Reverse Light – Activates when reverse switch set Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls – Output Signals Brake (Regen) Light – Activates anytime the controller is regenerating power back to batteries (Phase current negative) Reverse Light – Activates when reverse switch set Speed Pulse – State change every two consecutive commutations – Unused in our design, but could be useful to analyze on an oscilloscope Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls – Pedals Throttle – Analog input (potentiometer for now) to scale throttle from 0-5V Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discrete Controls – Pedals Throttle – Analog input (potentiometer for now) to scale throttle from 0-5V Regenerative Braking – Same as throttle, but scales amount of regeneration to batteries from motor Solar Jackets – Motor Controller GroupECE 4007L01 – ws3 Note: The potentiometer design used in our design can be scaled for use with pedals. The controls require a 3 lead (vdd, gnd,wiper) configuration that is common to electric potentiometer foot pedals.

Discrete Controls – Pedals Throttle – Analog input (potentiometer for now) to scale throttle from 0-5V Regenerative Braking – Same as throttle, but scales amount of regeneration to batteries from motor Air Gap – NGM thought they could do this, but apparently backed out after the control cable was designed Solar Jackets – Motor Controller GroupECE 4007L01 – ws3 Note: The potentiometer design used in our design can be scaled for use with pedals. The controls require a 3 lead (vdd, gnd,wiper) configuration that is common to electric potentiometer foot pedals.

Single Board Computer (SBC) - External Serial connection to laptop on COM1 for loading and viewing programs Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Single Board Computer (SBC) - External Serial connection to laptop on COM1 for loading and viewing programs 10/100 Ethernet port could also be used Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Single Board Computer (SBC) - External Serial connection to laptop on COM1 for loading and viewing programs 10/100 Ethernet port could also be used SBC external power source, 5V Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Single Board Computer (SBC) - External Serial connection to laptop on COM1 for loading and viewing programs 10/100 Ethernet port could also be used SBC external power source, 5V Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Single Board Computer (SBC) - Internal Serial connection to motor controller via discrete controls box on COM2 expansion Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Single Board Computer (SBC) - Internal Serial connection to motor controller via discrete controls box on COM2 expansion Connection to LCD screen and cruise control switches with Digital Input/Output (DIO) pins Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Communication and Programming USB to Serial – Connects to COM1 on SBC C code compiled in Cygwin – Unix environment for Windows – Additional compiler installed specifically for ARM processor on SBC Transferred to SBC with Hyperterminal – Run binary executable on SBC Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Console Program Displays information received from motor controller every second Can turn off this mode for smoother LCD functionality Roundabout debugging system using print statements in various sections of code for testing Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

LCD & Cruise Control Potential display choice Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Potential display choice Advantages – Cheap! – Our example is already in easily modifiable code – Many colors and backlighting options – Low power (about 150uA) Disadvantages – Small (128x64px ) – Additional graphics will have to be hard coded Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Battery supply voltage Range 96V – 100% to 50V – 0% Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Battery supply voltage Range 96V – 100% to 50V – 0% – Throttle/Regen Current Range from 0A (middle) to +/- 25A Above = throttling, below = regenerating Values will need to be higher once load tested Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Direction (Forward or reverse) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Direction (Forward or reverse) – Cruise Control (On or Off) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Direction (Forward or reverse) – Cruise Control (On or Off) – Speed (Calculated from RPM and wheel size) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Direction (Forward or reverse) – Cruise Control (On or Off) – Speed (Calculated from RPM and wheel size) – Temperatures (Motor/ Motor Controller) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Driver LCD Display Display parameters – Direction (Forward or reverse) – Cruise Control (On or Off) – Speed (Calculated from RPM and wheel size) – Temperatures (Motor/ Motor Controller) – Fault Codes (Hexadecimal, match to motor controller manual) Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Cruise Control Cruise Enable Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Cruise Control Cruise Enable Modify speed – Hold up to throttle – Hold down to decelerate Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Acceptance Testing Confirmation of functional motor controller – Connect to 60V power supply at minimal current, measure input/output pin voltages (+5V for signal lines, +24V for fan) Full controls and motor connection – Communication with motor controller, motor rotation, discrete controls operational, fans connected, 866dHz measured rotation (866 RPM) Battery array connection (full power operation) – Torque vs. speed control testing, safety systems operational, 96.3V measured battery power, 200mA full speed (no-load) current draw Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Acceptance Testing Confirmation of programmable motor control with SBC – All motor controller vitals viewable and updated on per second basis Confirmation of functional LCD screen controlled by SBC – Vitals displayed to user-friendly screen that will replace external computer in car Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Existing Issues Cruise Control – Framework works correctly, but motor controller prevents change from serial to discrete or discrete to serial control while coasting – Mostly defeats the point of cruise control since a cruise speed cannot be set or cancelled while moving (however, motor controller can be disabled by brake for safety) – Should be possible since it has been done by other teams using the same controller Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Existing Issues Recurring Faults (Register 3, Fault 0x4) – “Motor has reached maximum throttle or regen current for the current speed” Most likely an incorrect EEPROM register setting that is limiting maximum current, but the culprit has not been found Causing max RPM/speed to top out at 866 RPM/46mph Could be an issue with the motor (internal short, etc.) Testing with rebuilt motor essential Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Existing Issues Recurring Faults (Register 4, Fault 0x80) – “When in discrete speed control, target regen current is greater than limit set by regen input” Very similar to previous fault Most likely due to the same or similar problem (register setting issue or internal motor problem) Fault occurs most often at low speed as motor jerks between throttle and regen, even though discrete regen is turned off Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Bottom Line Did we do everything we proposed? – Yes Is it exactly as proposed? – No, but very close Is it race ready? – Absolutely not Therefore… Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Future Work Resolve existing issues with faults and cruise control Communicate with telemetry and solar power tracking modules over RS-485 multi-drop network Add load testing functionality to test rig Design air gap controller Optimize program for efficient LCD use and serial communication to minimize excess current draw Move necessary components to solar racer Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Discussion / Demo Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller Interface Cable Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Detailed Full System Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Program Flow Chart Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Motor Controller Serial Syntax Commands (same as discrete + program/operate mode + hard reset) – XX! Queries – XX? (RAM) – XX> (EEPROM) Assignments – XX=# (RAM) – XX<# (EEPROM) (*Must be in programming mode) Note: XX implies register hexadecimal number for RAM/EEPROM or command number. # implies decimal value to be assigned to the register Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

LCD Specs 128x64 pixels (8x21 characters) SPI Interface Power Supply: V Current Draw: 150uA typical Operating Range: -20 C to 70 C Backlighting: 5-40mA Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

SBC Specs 200 MHz ARM9 CPU 32 MB SDRAM / 32 MB NAND Flash 10/100 Ethernet port 2x USB 2.0 ports 2x Serial COM ports 20 DIO lines Linux OS Solar Jackets – Motor Controller GroupECE 4007L01 – ws3

Cost Analysis PartApproximate Price Littelfuse Slo-Blo Fuse$35 Fuse Holder$55 Kilovac EV-200 Series Contactor$80 Power Resistor$12 Curtis/Albright Battery Disconnect Switch (with recommended extra contacts for 12V line) $90 ($120) 24V Brushless Fan (x2)$20 CPC Fan Connection Plug (and 2 connector pins)$5 TS-7250 SBC (with full duplex RS-485)$150 ($165) AWG-4 Cable (and terminal connectors)$50 TOTAL SUGGESTED COST$542 Solar Jackets – Motor Controller GroupECE 4007L01 – ws3