27
PCHUD John Boreham Delphi Automotive Systems

PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

Embed Size (px)

Citation preview

Page 1: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

John Boreham

Delphi Automotive Systems

Page 2: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Introduction

PC based development tool

ALDL serial communication

Configurable for different devices

Assists vehicle calibration and verification

Page 3: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Agenda

Overview

Main Features (What PCHUD Can Do)

Configuration (How To Setup PCHUD)

Communication Setup (Comm 抯 Modes)

Page 4: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Overview

HUDINSTL.EXE (Installation File)

PCHUD Cable (RS232 - ALDL)

Config Files Available For VT

Master Mode (Bench or Dyno Testing)

Slave Mode (Vehicle Comm 抯 Bus)

Page 5: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Main Features

Data Capture

Data Logging

Data Slewing

Page 6: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Data Capture

Mode 1 ALDL Data Tables Bar Graph and Binary Gauges Alarm Thresholds (High and Low) Optional Gauge Size and Colour Configurable Scaling and Decimal Places 100ms Sample Rate (Master Mode) 300ms Sample Rate (Slave Mode : VT)

Page 7: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Gauge Setup

1. Add Gauge Menu-->Gauge-->Add

Parameter Name (From *.PAR)

Location (Screen Position)

Type (Bar Graph, Binary, Warning)

Width & Height

Range (Defaults to *.PAR)

Alarm (High & Low Thresholds)

Page 8: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Gauge Setup

2. Gauge Colours Menu-->Setup-->Gauge Colours High Alarm, Low Alarm Colours

3. Remove Gauge Menu-->Gauge-->Remove

4. Modify Gauge Menu-->Gauge-->Modify (OR Double Click Gauge)

Page 9: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Gauge Setup

5. Save Screen Setup (*.HUD) Menu-->File-->Save e.g. VT_ENG.HUD

6. Retrieve Screen Setup (*.HUD) Menu-->File-->Open Last Used HUD File Opened On Startup

Page 10: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Sample Rate

Master Mode Sample Rate Menu-->Setup-->HUD Data Options-->Display Period Display Period = 100ms typ (Depends on Data Table) Make Sure : Timeout Period > Display Period

Slave Mode Sample Rate Sample Rate Depends on Vehicle Bus PCHUD Triggered by Tech1 Polling Message e.g. VT Commodore = 300ms polling rate

Page 11: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Data Logging

Two Types of Data Logging 1. Screen Capture (*.PLY) Records Visual Image on Screen Playback, FWD, REV, Pause, Step

2. Log to File (*.LOG) Logs Entire Mode 1 Message Data to File LOG.EXE to Display *.LOG File Displayed in Graph Format

Page 12: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

1. Screen Capture

1. Record, Playback, Clear Buffer Buttons at Top of Screen Step Rev, Rev, Pause, Fwd, Step Fwd, Playback, Record, Clr Buf

2. Save Screen Capture (*.PLY) Menu-->Playback-->Save Playback

3. Retrieve Screen Capture (*.PLY) Menu-->Playback-->Open Playback

Page 13: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

2. Log to File

1. Start Log to File Menu-->File-->Start Capture to File

2. Stop Log to File Menu-->File-->End Capture to File

3. Display Log Data (*.LOG) LOG.EXE

Page 14: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

LOG.EXE

1. Load LOG File (*.LOG) Menu-->File-->Open

2. Setup Graph Menu-->Graph-->New (Select from list of parameters)

3. Save Graph (*.LLG) Menu-->Graph-->Save

4. Open Graph

Menu-->Graph-->Open

Page 15: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

LOG.EXE

5. Remove Graph Menu-->Graph-->Select Graph Menu-->Graph-->Remove

6. Scale X Axis Menu-->Graph-->Modify X Select Manual Scale Adjust Min / Max Values

7. Scale Y Axis Menu-->Graph-->Modify Y Select Manual Scale Adjust Min / Max Values

8. Line Style Menu-->Graph-->Modify X Menu-->Graph-->Modify Y Line Scatter

Page 16: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

LOG.EXE

9. Cursor Course Left : UP Arrow Course Right : DOWN Arrow Fine Left : LEFT Arrow Fine Right : RIGHT Arrow

10. View Menu-->View Single Overplot Separate (Arrange All)

11. Zoom Menu-->Zoom Start at Cursor End at Cursor In 2x Out 2x Center Out Max (Full Size)

12. Text Output (*.CSV) Menu-->File-->Export As Text

Page 17: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Data Slewing

ALDL Mode 4 Data Table Slew Outputs (Byte Variables) Slew Discretes (Bit Variables) Absolute Slew (Var = Slew) Delta Slew (Var = Var + Slew) Configurable Variable Names

Page 18: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Define Slew Parameters

1. Start New Slew Setup Menu-->Slew-->New

2. Edit Outputs (Byte Variables) Menu-->Slew-->Edit Outputs-->Edit Name : Displayed Parameter Name ID : Must match location in Mode 4 Data Table Units : Displayed Units Scale, Offset : Scaling Info From XDE or Software Min, Max : Range of Slew Data for this Parameter Places : Number of Decimal Places to Display

Page 19: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Define Slew Parameters

3. Edit Discretes (Bit Variables) Menu-->Slew-->Edit Discretes-->Edit Bit Number : Same order as Mode 4 Data 00 Bit Description : Displayed 揈 nable?Text 01 Bit Description : Displayed 揙 ff?Text 02 Bit Description : Displayed 揙 n?Text ID : Don 抰 Care

Page 20: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Define Slew Parameters

4. Save Slew File (*.SLW) Menu-->Slew-->Save

5. Open Slew File (*.SLW) Menu-->Slew-->Open e.g. VT.SLW

Page 21: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Slewing Variables

Slew Outputs (Byte Variable) Menu-->Slew-->Slew Outputs Up To 3 Parameters Enable Slew Message : Enables Mode 4 Communication Edit Button : Select Parameter Activate : Activates Slew Parameter Delta : Var = Var + Slew Absolute : Var = Slew

Page 22: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Slewing Variables

Slew Discretes Menu-->Slew-->Discrete Mode Control Up To 24 Discretes Enable Slew Message : Enables Mode 4 Communication Enable : Enables Slew Parameter 揙 n? : Sets Discrete State to ? 揙 ff? : Sets Discrete State to ?

Page 23: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Configuration

1. CSV File Contains all parameter information Edit Using Excel e.g. VT_ENG.CSV

2. PAR File Generated From CSV File Use CSV.BAT e.g. CSV VT_ENG (Don 抰 Include File Extension) Output is VT_ENG.PAR Errors in VT_ENG.TXT

Page 24: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Communication Setup

Comm Parameters Menu-->Setup-->Comm Setup Comm Port Baud Rate : 8192 Slew Device ID : VT = $F5 DTR High at Startup : Yes

Page 25: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Communication Setup

Master Mode Menu-->Setup-->Comm Protocol-->ALDL Master PCHUD Controls Comm Bus

Slave Mode Menu-->Setup-->Comm Protocol-->ALDL Slave PCHUD Triggered By TECH1 Poll Message

Sample Rate & Comm Timeout Menu-->Setup-->HUD Data Options Display Period (ms) : Only For Master Mode Timeout Period (ms) : Make Sure > Sample Period

Page 26: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Summary

Data Capture Mode 1 Data Configuration (*.CSV, *.PAR) Screen Setup (*.HUD)

Data Logging Screen Capture (*.PLY) Log To File (*.LOG) LOG.EXE To Display Graph (*.LOG, *.LLG)

Data Slew Slew Outputs, Slew Discretes Mode 4 Data Configuration (*.SLW)

Page 27: PCHUD John Boreham Delphi Automotive Systems. Introduction l PC based development tool l ALDL serial communication l Configurable for different devices

PCHUD

Where to get more information

PCM Source Code & XDE Mode 1 Data Tables Mode 4 Data Tables Variable Scaling and Offset Variable Size (Number of Bytes)

Existing PCHUD Files VT_ENG.CSV VT_ENG.HUD VT.SLW