+ All Categories
Home > Documents > A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Date post: 23-Dec-2015
Category:
Upload: alicia-west
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
65
A2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo
Transcript
Page 1: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

A2D

Group #4Chris de Guzman

Jon GonzalezFrank Reed Jr.

Paolo Ronquillo

Page 2: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Agenda

• Project introduction and overview• Milestones• Design Approach• Overall Specifications• Sub-System presentation• Administrative• Plans for success• Design Changes• Current status vs. Milestone chart• Questions?

Page 3: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

What is it?

• Digital Instrument Cluster• Replacement to a traditional analog cluster• Draws information from various sensors

• Pseudo Heads Up Display• Supplements the main cluster

• Touch Screen Command Center• Menu Driven UI

Page 4: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Goals and Objectives

• The Displays should show typical vehicle data

• Analog Gauges will be replaced with digital representations

• Typical control knobs will be replaced with a touch screen GUI

Page 5: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Design Approach

• Simulation• Modular• Added cost

– Building materials– Sensors

• Real Vehicle• Vehicle Specific• Vehicle houses project

– Risk to Vehicle– Not always available

Page 6: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Design Approach

• 3 Sub-Systems– Tied together by a main controller housing the

simulation program– Allows independent development

• Each sub-system is developed individually• Minimizes dependencies between systems• Project can continue to progress despite delays in other

systems

– Poses challenge of combining Systems

Page 7: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Physical Simulation of the A2D

• The simulation of the dash board will be in a 4’ wide x 4’ tall x 2’ deep wooden box.

Locks and

windowsLocks and

windows

Gas pedal

DPR

Trans box

Rear camera

Touch screen

HUD

Page 8: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Specifications

• The system shall be powered by a 12v battery.• The instrument cluster, HUD and touch screen shall

have a 120 ° viewing angle.• The instrument cluster and touch screen shall be able

to be viewed at 30 inches• The Ambient Temp sensor shall operate at a ±2.0°C

accuracy.• The Compass field range shall be of at least ±2.0 gauss.• Occupant detection sensor Shall operate when no less

than 10lbs. of force is detected.

Page 9: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Overall BD

Car data controller

LCD

Sensor controller

Touch screen MCU

TS Display

Gas pedal

Rear camera

12v PS

regulator

TS controller

Page 10: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Sensors

Page 11: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.
Page 12: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

DESIGN & COMPONENT DECISION A) Tire Pressure Monitoring System (TPMS)

Kinds of TPMS Sensor

Direct Indirect

Employs physical pressure sensors + RF Technology

Software Realized – Wheel speed sensors

Sensors are fitted at the back-end of valve stems

Fitted in the ABS or Electronic Stability System

Battery-powered (need maintenance) Connected to vehicle’s power source

No calibration required Must calibrate every change

A2D chose Direct sensors

Page 13: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

DESIGN & COMPONENT DECISION Battery-powered Battery-less

Most common New technology

Battery Designed to last7-10 yrs.

Maintenance free

A2D chose battery-powered

Real Automotive TPMS Simulation

Expensive Relatively cheaper

Technical information is scarce Information available

A2D chose Simulation

Page 14: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

B) Outside Temperature Sensing System

Schematic

Page 15: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

DESIGN & COMPONENT DECISION

TMP100 DS1822

Digital12-bits user selectable

55°C to +125°C(-67°F to +257°F)±2.0°C accuracy

ADC/Logic Control included

I²C two-wire serial interface 1-wire interface

SOT23-6 surface mount packaging

TO-92 through-hole mount packaging

A2D chose either TMP100 or DS1822

Analog Digital

Cost ~ $1 Cost ~ $5 (free-TI)

Need external components External components integrated

A2D chose Digital

Page 16: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

C) Compass

hSchematic

HMC10022-Axis Magnetic Sensor

Page 17: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Comparison of Function

Gyrocompass Magnetic compass

Finds the “true North” Magnetic north

Far less susceptible to external magnetic fields

Some intelligent ICs have hard-iron & soft-iron code

A2D chose Magnetic Compass

1-Axis 2-Axis 3-Axis

M field sensing / latch / switch

Compass Compass w/ tilt(ie airplanes)

A2D chose 2-Axis

Page 18: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.
Page 19: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Honeywell HMC63522-Axis Magnetic Sensor Schematic

Page 20: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

D) Power Locking Mechanism

6 Types of Door Lock Actuators

• Single wire systems• 3 Wire Negative• 3 Wire Positive• 4 Wire Reversal• 5 Wire Alternating +12V DC• Vacuum Type door lock types.

The more wires there are, the more complicated a system can be. Power Lock mechanism systems depends on the manufacturer’s design and features. Every systems is made up of actuators and relay switches.

Page 21: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

D) Power Locking Mechanism

6 Types of Door Lock Actuators

• Single wire systems• 3 Wire Negative• 3 Wire Positive• 4 Wire Reversal• 5 Wire Alternating +12V DC• Vacuum Type door lock types.

The more wires there are, the more complicated a system can be. Power Lock mechanism systems depends on the manufacturer’s design and features. Every systems is made up of actuators and relay switches.

For simplicity

Page 22: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

E) Vehicle Restraint System

DELPHI PODS SYSTEM

Page 23: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Parts of Vehicle Restraint System1) Seatbelt sensor

2)Occupant Detection sensor

Delphi Hamlin

Low cost and better performanceStable performance over wide range of temperature and

humidityShort development cycle

Uses reed, hall-effect and microswitch technology

Delphi TI Freescale

Fluid-filled bladders + IR sensors

Piezo-resistive strain gauges

Electric field imaging

Page 24: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Parts of Vehicle Restraint System1) Seatbelt sensor

• Reed Switch & Magnets

2) Occupant Detection sensor

• Flex Sensor

Page 25: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Project Successes

Sensor Systems

• Most sensors are on-hand or in order• Microprocessor and development board/emulator are on

hand• Started writing codes for sensors

Page 26: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Project difficulties

- Integrating all sensors in to one Microprocessor

- Lack of technical information about actual Automotive sensor systems

- Sensor systems from manufacturers are EOL/Out of stock/ not available for consumer use.

- Pressure sensor design on TPMS- mounting on tire valve

Page 27: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Optical Design

Page 28: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Heads up Display

• Easier said than done!• Dual HUD/PMD design• Swiveling mirror• Easy to read• Doesn’t distract driver

Page 29: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

LCD vs. Projector

4.06”

1.97”

0.59”

Page 30: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

LCD vs. Projector

9/19/10

• More COST EFFECTIVE• Better suited for our space

constraints• Easier to program for our

purposes

4.06”

1.97”

0.59”

Page 31: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Optical Design

LCD

Lenses

Reflective film

Plexiglas

Digital IC “PMD”

Mirror

IMAGE

Cluster mode

• Image viewed directly in mirror

• Very sharp image

48”

36”

Side View

Rotator

“HUD”

Page 32: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

LCD

Digital IC “PMD”

Reflective film

Plexiglas

Lenses

Mirror

IMAGE

Side View

“HUD” mode

• Image projected onto ‘windshield’

• Clear image, a bit larger due to distance

48”

36”

Optical Design

Rotator

“HUD”

Page 33: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Lenses

• Thin lens combination

9/19/10

fqp /1/1/1

Note: Not to scale

1

2121

]11

[ ff

d

fff ncombinatio

obj

imag

h

hM

(1)

(2)

(3)

IMAGE

Page 34: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Lenses

• Thor labs• Bi-convex spherical lenses

– Focal length : TBD– Uncoated– Cost: ~30/lens

9/19/10

Page 35: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Optical Successes and Difficulties

• Success– Resolved conflicting ideas on HUD, finalized design

• Difficulties– Prototyping without having to buy parts– Reflective film– Focal Length

Page 36: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Touch Screen

Page 37: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Touch ScreenComponent decisions

• 4-wire vs Capacitive• Don’t include displays• Touch display module• 4-Wire was chosen for cost and availability

• LCD vs OLED• OLED was chosen• Built in touch screen + TS controller• MCU for graphics processing

• FPGA vs MCU• MCU chosen• Experience + Arduino IDE

Page 38: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Arduino DuemilanoveFor prototyping with the ATMEGA328

distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino Web site

Page 39: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Pin Mapping ATMEGA328

distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino Web site

Page 40: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Capturing Touch

• distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino Web site

Page 41: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Images to The Screen

Page 42: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Touch Screen GUI

Page 43: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Temperature Sub-Menu

Page 44: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Touch Screen Block Diagram

ATMega328

OLED

ATMega25604-Wire TS

SensorInputs

FansWindows

User Input

5VStep Down

Voltage

Page 45: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Touch display Schematicspower

Page 46: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Touch display Schematics

Page 47: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

System Success to date

• Development has begun on the ATMega328• Familiarity with Arduino IDE• All Parts have been ordered• Menu systems have been designed

Page 48: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

What’s left?

• Prototyping• Interfacing with Sensors• Testing• Final PCB design

Page 49: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Instrument Cluster Design

Page 50: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Design Flow of the Instrument Cluster

PIC18F4500

Graphic TFT LCD

Sensor MCU Gas Pedal

Page 51: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Schematic of the Instrument Cluster4.7kΩ

+5v Vccreset

0.1uf

10Ω10Ω10Ω

+3.2v Vcc

+1.8v Vcc

+3.2v Vcc

+5v Vcc

0.1uf

+5v Vcc0.1uf

Sensor Controller

Gas Pedal

Page 52: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Program Flow DiagramInit PIC

Init LCD

Display background

image on LCD

Data from sensor MCU

Update image on LCD

Gas pedal

Page 53: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Why choose PIC18F4550?

• Quick table to compare researched MCU’s.PIC ATMEL ARM

Architecture 8 bit 8 bit 32 bitInternal and

external oscillatoryes yes yes

Analog to digital yes Yes YesDigital to analog yes Yes Yes

I/O pins 35 32 35+Low power modes Yes Yes Yes

pins 40 40 64Flash memory 32K bytes 8K bytes 32K bytes+

eeprom 256 bytes 256 bytes 256 bytes +sram 2048 bytes No 2048 bytes +

MSSP I2C, SPI I2C I2C, SPICompiler C, MPLab Own sofware JTag

Price of chip $4.47(sample free) $3.53 >5Price of

development board$47 $94 $105

Page 54: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

How do u program the PIC and LCD?• Using the MPLAB IDE with the C18 compiler.

Page 55: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Graphic Instrument Cluster Design

• Background of the Instrument Cluster is a Static image

• The Dynamic part will be:– Color bars– Speed– Ambient temp.– Seatbelt icon– D P R

EGNTemp

H

C

Oil

Gas

F

E

RPMx1000

1 2 3 4 5 6 7

0 8 6 7 4 5 . 8

AMBTEMP

MPH

45 45

D P R

Page 56: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Problems Occurring

• No previous work on the PIC with our LCD• Had to find a PIC18F4550 example and a

CFAF176220M example and figure out how they worked.

• Will have to display it horizontally reversed.• Testing the Cluster is work in progress at the

moment.

Page 57: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Project Success

• Working examples on developing tools.• Full schematic is drawn.• Instrument Cluster design is completed.

Page 58: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Budget - ComponentsQty Item Cost

1 3.5” OLED display + 3.5” 4-wire resistive Touch Screen + ATMEGA 2560

graphics processor

170.00

1 TI ADS7846 Controller FREE

1 PN CFAF176220M-TController/LCD combo

$28.10

1 ATMEL ATA5276IC XMITTER TPM

$4.95

1 ATMEL ATA5745IC RX UHF

$3.48

1 ATMEL ATA6612MCU W/ LIN

FREE

1 TI TMP100 Temp Sensor FREE

1 Honeywell HMC10222-Axis Magnetic Sensor

FREE

1 PIC18F4550 FREE

1 ATMega 328 MCU Samples FREE

1 20M Hz crystal $0.28

Page 59: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Budget – Testing/Development

Qty Item Cost

1 Pickit2 + Dev Board $60.00

1 1995 850 Volvo Instrument Cluster $10.50

1 arduino duemilanove (Dev board for ATMega328 MCu)

$28.45

Page 60: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Qty Item Cost

1 Plastic Cluster $15.50

2 Spray Paint Can $2.07

1 Simulation Box $88.00

1 LEDs $7

2 Blank PCBs $3

1 A/C fans $4

switch/buttons $2

1 Black and white Board Cameraw/ standard lens 92 deg

$15.18

1 gas pedal $5

1 door actuator $10

1 Misc- A/D Conv/ MCU/wires/resistors/capacitors/inductors/soldering materials

FREE

2 Lenses ~ $60

9/19/10

Budget - Other

Page 61: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Budget

• Budgeted: $460.00• Total to date: $517.51

• Discrepancy due to failure to account for development tools (dev boards)

• Initial design lacked lenses.

9/19/10

Page 62: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Progress MadeSUBSYSTEM PERCENT DONE %

RESEARCHPARTS

ACQUIRED DESIGN PROTOTYPE TESTINGHUD/Display 85 90 30 40 10Touch screen 86 75 65 44 20Simulation 95 80 60 45 20

Sensor 87 50 60 40 10AVERAGE (%) 88.25 73.75 53.75 42.25 15

Page 63: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

PROJECT MILESTONE

Proposed Project MilestoneMay 2010

As of September 2010

Page 64: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Path Forward – Plans for Success

• Get data from sensor MCU onto LCD screen• Dynamic components of cluster working• Consult optical advisor and obtain correct lenses

prototype• Test each sensor system individually, make sure they

work integrate into system• Create PCB designs

Page 65: A2DA2DA2DA2D Group #4 Chris de Guzman Jon Gonzalez Frank Reed Jr. Paolo Ronquillo.

Questions?


Recommended