Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)
-
Upload
brenda-peggs -
Category
Documents
-
view
218 -
download
3
Transcript of Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)
![Page 1: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/1.jpg)
Driving Management System (DMS)Group 26Aaron Kost (CpE)Sarah Bokunic (CpE)Victor Medina (EE)
![Page 2: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/2.jpg)
Design Motivation and Goals• Motivation:
▫ Provide a sophisticated feedback system for fuel efficiency.▫ Alternative to traditional manufacturer options and
aftermarket upgrades.• Goals:
▫ Low cost▫ Easy to use android application.▫ Robust
Operate in harsh weather and driving conditions.
![Page 3: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/3.jpg)
Objectives and Specifications• Objectives:
▫ Monitor other vehicles and objects near drivers vehicle.▫ Monitor fuel efficiency and driving behaviors.▫ Avoid altering the vehicle in any way.▫ Do not distract the driver!
• Specifications:▫ Vehicle detection of up to 15 meters.▫ Wireless connection time less then 10 seconds.▫ Long battery life (2+ hrs) in a driving session.▫ Less than 200$.
![Page 4: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/4.jpg)
Project Overview
![Page 5: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/5.jpg)
Vehicle Interface• OBD-II reader provided by Ford.• Access to specific information
▫ Brake pedal position▫ Accelerator pedal position▫ Gear lever position (Automatic
Transmission)• Sends real time vehicle
information to a PC or Android device.
• Bluetooth enabled for wireless communication.
• 12V output to power nearby accessories.
![Page 6: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/6.jpg)
Ford OpenXC• A combination of open source hardware and software.• Allows for custom vehicle applications.• Can only be used with Android devices and Ford vehicles.
![Page 7: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/7.jpg)
Microcontroller• Texas Instruments MSP430G2553• Ultra low power consumption
▫ Multiple low power modes▫ Wake up from standby mode in less than
1µs.• Low price for development board.• UART pins for wireless communication.• Integrated ADC peripheral
![Page 8: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/8.jpg)
Wireless Communication• Limited by Android device and
Vehicle Interface.• Zigbee
▫ Requires available USB connection to interact directly with an Android device.
• Wi-Fi▫ Requires the addition of a router in
the vehicle.• Bluetooth
▫ Can only have 1 SPP UUID connected to the Android phone at a time. (Serial Port)
![Page 9: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/9.jpg)
Wireless Communication• Decided to use Bluetooth for the
blind spot sensors and collision sensor.
• Can use low cost modules for simple data transmission.
• Create a “custom” piconet by cascading communication. This allows the Android device to communicate with each hardware component.
![Page 10: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/10.jpg)
Wireless Communication Master Device:• RN-42
▫ Responsible for communication between hardware peripherals.
Slave Device:• HC-06
▫ Responsible for communication between hardware peripherals and Android device.
▫ Also responsible for receiving instructions from master device.
![Page 11: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/11.jpg)
Wireless Communication• Bluetooth is not the best
method for video streaming to an Android device.
• A Raspberry Pi will be used with an attached wireless USB adapter to connect the camera and Android wirelessly.
• May integrate sensors using the wireless communication provided by the Raspberry Pi.
![Page 12: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/12.jpg)
Power Management• Car battery
▫ Requires wires to be ran across the vehicle.▫ Consistent 12V source.
• Lithium-ion Batteries▫ Can be recharged by the driver.▫ Does not require wires to be ran across the vehicle.▫ Additional costs
![Page 13: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/13.jpg)
Power Management• 18650 8.4V 2200mAh Lithium-ion battery pack.• MCP7384 charge controller for the Lithium-ion battery.• LDO regulators to step down voltage from battery.
▫ 5V LDO regulator to power sensors and Op-amps.▫ 3.3V LDO regulator to power MCU and Bluetooth Modules.
• Raspberry Pi will be powered from 12V provided by the vehicle.
• Android device being used can be charged using the micro-usb connection on the Vehicle Interface.
![Page 14: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/14.jpg)
Blind Spot Detection• Monitor area behind the vehicle while changing lanes.• Alerts driver when a vehicle is approaching from the rear.• Unfortunately Ford has not added a turn signal identifier
within the OpenXC library.
![Page 15: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/15.jpg)
Blind Spot Detection
![Page 16: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/16.jpg)
Blind Spot DetectionSensor:• HB100 microwave sensor
▫ 5v Supply Voltage▫ 30mA supply current▫ Max detection range of 15m
• Microwaves can penetrate certain materials.▫ Glass, plastic, and paper
• Measures changes in frequency.• Analog output signal is in the range of
microvolts (µV).▫ Requires a large amplifying stage.
![Page 17: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/17.jpg)
Blind Spot DetectionAmplifying Stage:• Large gain of approximately 12000.• Comparator attached to provide an easy to read signal for
MCU.• Consists of non-inverting and inverting band pass filters.
![Page 18: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/18.jpg)
Blind Spot Detection
![Page 19: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/19.jpg)
Collision Detection• Monitor distance between drivers vehicle and vehicle
directly towards the front.• Alert driver of potential collision based on vehicle speed
and measured distance.• Activated while vehicle is being operated over 40mph to
conserve battery life.
![Page 20: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/20.jpg)
Collision Detection
![Page 21: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/21.jpg)
Collision DetectionSensor:• Maxbotix LV-EZ1 Ultrasonic Sensor
▫ 2.5V to 5.5V supply voltage▫ Low 2ma supply current▫ PWM and Analog outputs▫ Max distance of 6.5m
• Can be used to determine distance between the vehicle and an object towards the front.
![Page 22: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/22.jpg)
Collision Detection
![Page 23: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/23.jpg)
Rear View Camera• Connect a camera via USB to Raspberry Pi.• Use a wireless USB adapter to connect between the
Raspberry Pi and Android device.• Activate camera automatically when the vehicle is put in
reverse.• Stream video continuously until the vehicle is no longer in
reverse.
![Page 24: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/24.jpg)
Rear View Camera• Logitech HD Webcam
C270▫ $30▫ USB▫ Automatic light correction▫ 1280x720 ▫ 8.2” x 6” x 3.1”
• PlayStation Eye▫ $18▫ USB▫ 640x480 at 60 Hz▫ 320x240 at 120 Hz▫ 3.25” x 2.12” x 2.5”
![Page 25: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/25.jpg)
Fuel Efficiency• Use OpenXC data to calculate fuel efficiency in real time• Display data to the user in real time in an easy to
understand format• Store gathered data for the user to view later• Give advice for improving fuel efficiency• Allow the user to see improvements over time
![Page 26: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/26.jpg)
Fuel Efficiency Calculations• The user’s score is calculated on a 0 to 100% scale• The following are taken into account:
▫ Accelerator pedal position▫ Brake pedal status▫ Vehicle speed▫ Time
![Page 27: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/27.jpg)
Fuel Efficiency Calculations• Acceleration
▫ Weight = 40%▫ The score lowers with the degree that the accelerator is
pressed• Braking
▫ Weight = 20%▫ The score lowers the longer that the brake pedal is pressed
• Speed▫ Weight = 30%▫ The score lowers gradually after the user has exceeded 81
km/h (50 mph) with further penalty after 105 km/h (65 mph)• Idling
▫ Weight = 10%▫ The score lowers after the idle time (speed = 0) exceeds 1
minute
![Page 28: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/28.jpg)
Fuel Efficiency Calculations• Suggestions on how to improve fuel efficiency will be
presented to the driver.• These suggestions will only occur while the vehicle is not
moving.• The suggestions will be based on the drivers current fuel
efficiency score and driving behaviors.
![Page 29: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/29.jpg)
Application
User presses this button before driving.It displays a solid color depending on the user’s real time driving habits.
![Page 30: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/30.jpg)
Application
User presses this button to view the chart
of their most recent driving session
![Page 31: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/31.jpg)
Application
![Page 32: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/32.jpg)
Application
• Displays a graph showing one data point per driving session, allowing the user to see how they have improved over time.
• Stores data for all driving sessions, not just the most recent ones.
![Page 33: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/33.jpg)
Application
Most recent driving session
Oldest stored driving session
![Page 34: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/34.jpg)
Application
User presses this button to view an overview
of their fuel economy and suggestions for improving their fuel economy.
![Page 35: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/35.jpg)
Application
![Page 36: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/36.jpg)
Application
![Page 37: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/37.jpg)
Project to Date
![Page 38: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/38.jpg)
Work DistributionWireless Comm.
Power Hardware Camera
Android App
Aaron Kost X X X X
Sarah Bokunic
X X X
Victor Medina
X X X X
![Page 39: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/39.jpg)
BudgetWhat? Where? Qty. Price
Op-Amps/IC’s/Regulators
(Samples) Vary. $0.00
HB100 Microwave Sensor
ST Electronics 2 $20.00
Maxbotix Ultrasonic Sensor
Parallax 1 $25.95
RN-42 Bluetooth Module
Roving Networks
2 $15.95
HC-06 Bluetooth Module
EXP-tech 4 $17.98
USB Webcam PlayStation 1 $19.99
Lithium Ion Battery 3 $30.00
Plastic Encasing Polycase 3 $9.00
PCB OSH Park 3 $70.00 (estimated)
(Estimated) Total $210.00
![Page 40: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/40.jpg)
Problems/Issues• Multiple wireless connections to an Android device.• Noisy analog output from microwave sensor.• No turn signal available in OpenXC library.• Android device battery life with multiple Bluetooth
connections.
![Page 41: Driving Management System (DMS) Group 26 Aaron Kost (CpE) Sarah Bokunic (CpE) Victor Medina (EE)](https://reader036.fdocuments.us/reader036/viewer/2022062421/56649cb85503460f9497e855/html5/thumbnails/41.jpg)
Questions?