can-bus logger characterization presentation apr. 19, 2009 elad barzilay idan cohen-gindi...
TRANSCRIPT
CAN-Bus LoggerCAN-Bus LoggerCharacterization presentationCharacterization presentation
Apr. 19, 2009Apr. 19, 2009
Elad BarzilayElad Barzilay
Idan Cohen-GindiIdan Cohen-Gindi
Supervisor: Boaz MizrahiSupervisor: Boaz Mizrahi
Project GoalProject Goal
A Real-time multi-purpose A Real-time multi-purpose integration system between a integration system between a vehicle’s CAN-Bus, a GPS device vehicle’s CAN-Bus, a GPS device and analog sensors, for data storage and analog sensors, for data storage and analysis.and analysis.
Project OverviewProject Overview
System capabilities & requirements System capabilities & requirements – Perform read/write operations from/to the CAN-Bus.Perform read/write operations from/to the CAN-Bus.– Variable operation modes. Variable operation modes. – Integration between variable sub-systems.Integration between variable sub-systems.– Real-time data transfer to PC.Real-time data transfer to PC.
Design principles.Design principles.– Rich and Integrated Platform.Rich and Integrated Platform.– Low-cost system.Low-cost system.– Existing Peripheral Devices . Existing Peripheral Devices . – Modular and generic design.Modular and generic design.– Portable.Portable.
SpecificationsSpecifications
Time-Stamping.Time-Stamping.Physical buffering between the system and all Physical buffering between the system and all
the peripheral devices, mostly the Car.the peripheral devices, mostly the Car.GPS configuration.GPS configuration.Power supply: Rechargeable battery.Power supply: Rechargeable battery.Basic On-board filteringBasic On-board filtering
CAN Protocol - OverviewCAN Protocol - Overview
CAN protocol , is a serial communication protocol widely used in the vehicle industry, due to it’s high reliability.
The CAN-Bus consists of several nodes connected to a single serial Bus.
Flexible : adding new components is simple.
Collision avoidance : only one node transmits, all other listen.
Message ID, not component ID.
Smart Error management.
System demonestrationSystem demonestration
GPS
PC
CAN-Bus Logger
CAN
High-level overviewHigh-level overview
PIC18F87J50
FPGASpartan
3
CONTROL BOARD
Stand-alone User interface
LCD Key Pad 120 pin connector 120 pin connector
Usb
U
sb p
orp
ortt
PC GPS
EUARTEUART
CAR CAR
CAN-BusCAN-Bus
UI connectorUI connector
PIC18F6680(can support)
EUSART portEUSART port
US
BU
SB
Can
Can connector
connectorCAN MODOULE
CAN
A/DA/D
Analog Device
EUART/EUART/
SPI/SPI/
I2CI2C
Flash MemoryFlash Memory
buttons
Node 0:PIC
18F6680(can support)
CAN transceiver
CAN-Bus connector
LEDs
LCD
Node 1:PIC
18F8680
EEPROM
CAN-Bus CAR CAR
CAN-CAN-BusBus
I/O bus to Prototype
RS-232connector
RS-232
Node 2:PIC
18F1320
•LIN connector
•prototype •LEDs•buttons
CAN transceiver
CAN MODOULE
Control PIC
GPS device
Inclinometer
SW UART
buttons
Node 0:PIC
18F6680(can support)
CAN transceiver
CAN-Bus connector
LEDs
LCD
Node 1:PIC
18F8680
EEPROM
CAN-Bus CAR CAR
CAN-CAN-BusBus
I/O bus to Prototype
RS-232connector
RS-232
Node 2:PIC
18F1320
•LIN connector
•prototype •LEDs•buttons
CAN transceiver
CAN MODOULE
Control PIC
Inclinometer
GPS device
I2C
buttons
Node 0:PIC
18F6680(can support)
CAN transceiver
CAN-Bus connector
LEDs
LCD
Node 1:PIC
18F8680
EEPROM
CAN-Bus CAR CAR
CAN-CAN-BusBus
I/O bus to Prototype
RS-232connector
RS-232
Node 2:PIC
18F1320
•LIN connector
•prototype •LEDs•buttons
CAN transceiver
CAN MODOULE
GPS device
Inclinometer
SW UART Control PIC
Future implementations Future implementations
Low-cost portable “scanner” wich provides endless Low-cost portable “scanner” wich provides endless variable data.variable data.
Performance analysis.Performance analysis.Cruise control and etc.Cruise control and etc.““wear and tear” tracking.wear and tear” tracking.Updated mechanical status.Updated mechanical status.Driver supervision.Driver supervision.……. .
ID Task Name Start Finish Duration 2009 2009 2009 2009 2009 2009 2009 2009 2009 2010 2010 2010 2010
5/4 12/4 19/4 26/4 3/5 10/5 17/5 24/5 31/5 7/6 14/6 21/6 28/6 5/7 12/7 19/7 26/7 2/8 9/8 16/8 23/8 30/8 6/9 13/9 20/9 27/9 4/10 11/10 18/10 25/10 1/11 8/11 15/11 22/11 29/11 6/12 13/12 20/12 27/12 3/1 10/1 17/1 24/1 31/1 7/2 14/2 21/2 28/2 7/3 14/3 21/3 28/3 4/4 11/4 18/4 25/4
1 4w 3d01/05/200901/04/2009Preliminary Design & Characterization
2 3w22/05/200904/05/2009Detailed Design
3 1w08/05/200904/05/2009Bill of Materials
4 2w22/05/200911/05/2009Method of Integration
5 12w 4d20/08/200925/05/2009Implementation
6 5w 3d01/07/200925/05/2009Control Module Implementation
7 7w 1d20/08/200902/07/2009CAN Module Implementation
8 17w 3d01/02/201001/10/2009Hardware Debugging
9 17w 3d01/02/201001/10/2009PC Implementation
10 8w 3d01/04/201002/02/2010Car Testing and Operation
Preliminary Design & Characterization
Detailed Design
Method of Integration
Pin-to-Pin Diagram
Implementation
Control Module Implementation Control Module Implementation
CAN Module Implementation CAN Module Implementation
Hardware Debugging Hardware Debugging
PC Implementation PC Implementation
Car Testing and OperationCar Testing and Operation
Mid semesterreport
End of Project A
Project B
Timetable – Gantt ChartTimetable – Gantt Chart
QuestionsQuestions
??(u don’t have to…..)(u don’t have to…..)