(1.1 MB PowerPoint)

advertisement
Project: PDA Smart Car Integration via Bluetooth
Team: Team Blue
Members: Sharad Desai, Mahmoud Toure, Lochan KC
Agenda
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Points to be covered
 Overview
 Objective
 Outline
 Implementation of Sub-Systems
 Division of Labor and Responsibilities
 Schedule
 Budget
 Risks and Contingency
 Conclusion
6/27/2016
University of Colorado -- Boulder
2
Overview
Agenda
Overview
6/27/2016
Objective
Outline
Implementation
Labor Division Schedule
University of Colorado -- Boulder
Budget
Risks
Conclusion
3
Objective
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Goals
 Use Bluetooth to control simple car functions
 Functions include
• Locking/unlocking car doors
• Opening/closing windows
• Remote ignition
• Any 12V accessory
Extensions
 Tap into the I2C bus and control systems like AC and a
proximity sensor
6/27/2016
University of Colorado -- Boulder
4
Outline
Agenda
Overview
6/27/2016
Objective
Outline
Implementation
Labor Division Schedule
University of Colorado -- Boulder
Budget
Risks
Conclusion
5
Implementation – Hardware Assembly
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Hardware elements
 Smartphone
 FPGA
 Bluetooth receiver
 Relay driver
6/27/2016
University of Colorado -- Boulder
6
Implementation – Smartphone
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Functionality
 Operating System: Microsoft Windows Mobile 5.0 for
Smartphone
 CPU: 32bit Texas Instruments OMAP 850 @ 195 MHz
 ROM: 64 Mb with 17.9 Mb accessible
 RAM: 64 Mb with 45.1 accessible
6/27/2016
University of Colorado -- Boulder
7
Implementation – Bluetooth Receiver
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Functionality
 Class 1 Bluetooth Radio Modem(Range 100m)
 Low power consumption : 82.5mW
 Encrypted connection
 Frequency: 2.4~2.524 GHz
 Operating Voltage: 3.3V-6V
 Serial communications: 2400-115200bps
 Built-in antenna
WRL-00582 - Bluetooth Modem
6/27/2016
University of Colorado -- Boulder
8
Implementation – FPGA
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Functionality
 Xilinx Spartan-3 FPGA w/ twelve 18-bit
multipliers, 216Kbits of block RAM,
and up to 500MHz internal clock speeds
 3x32 open 3.3V I/O ports
 Three high-current voltage regulators
(3.3V, 2.5V, and 1.2V)
 RS232 serial output
Benefits
 Higher Performance
 Lower Cost
 Provides the scalability to add functionality without having an impact
on the rest of the system
6/27/2016
University of Colorado -- Boulder
9
Implementation – Relay Driver
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Functionality
 Provides Either Positive Trigger(+12V) or Negative trigger(
500 mA).
 Base of the BJT is connected to one of the I/O of FPGA
 Contacts of the relay is connected to Car Relays.
Car Relay
I/O
6/27/2016
University of Colorado -- Boulder
10
Implementation – Relay Driver
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Installation Setup for Door Relays
Door Solenoid
Output From BECU Pin 1
Output From BECU Pin 2
6/27/2016
University of Colorado -- Boulder
11
Implementation – Software Assembly
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Software elements
 API for Smartphone
• Written in .NET
• Uses internal Bluetooth to communicate with MCU
 Finite State Machine (FSM) for FPGA
• Written in VHDL
6/27/2016
University of Colorado -- Boulder
12
Division of Labor and Responsibilities
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Tasks and people responsible
 Sharad Desai
• Setting up communication between the two Bluetooth modules
• Design PCB board/power supply
• Writing documentation
 Lochan KC
• Writing FSM on FPGA
• Writing driver
• Building relay driver
• Writing documentation
 Mahmoud Toure
• Writing API and UI
• Writing documentation
6/27/2016
University of Colorado -- Boulder
13
Schedule
Agenda
Overview
6/27/2016
Objective
Outline
Implementation
Labor Division Schedule
University of Colorado -- Boulder
Budget
Risks
Conclusion
14
Budget Breakdown
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Cost for Project
6/27/2016
Bluetooth Modem
$70
Spartan 3 FPGA board
$200
Car Door
$300
Miscellaneous
$300
Car Battery
$80
TOTAL
$950
University of Colorado -- Boulder
15
Risks and Contingency Plan -- Overview
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Risks (followed by contingency plan)
 Unfamiliar with I2C bus technology
• Scale project down to basic functionalities (i.e.: unlocking
and locking doors and windows)
 FPGA may be too complex
• Minimize state machines (yet still maintain correct
functionality)
 Bluetooth complexity
• Ask around and do more research
 Portability of API
• Limit to PDA compatible with Java or Windows CE
6/27/2016
University of Colorado -- Boulder
16
Risks and Contingency Plan – Safety
Agenda
Overview
Objective
Outline
Implementation
Labor Division Schedule
Budget
Risks
Conclusion
Safety issues
 Blowing various sections of any circuit
• We should wear high fashion protective goggles
 Tampering with the car to figure out how mechanisms work
• Get someone who knows what they’re doing
 Transmitting bogus messages to the Bluetooth receiver
• Not goof off
6/27/2016
University of Colorado -- Boulder
17
Conclusion
Agenda
Overview
6/27/2016
Objective
Outline
Implementation
Labor Division Schedule
University of Colorado -- Boulder
Budget
Risks
Conclusion
18
Questions and Comments
Agenda
Overview
6/27/2016
Objective
Outline
Implementation
Labor Division Schedule
University of Colorado -- Boulder
Budget
Risks
Conclusion
19
Download