Pchud

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 27

PCHUD

John Boreham
Delphi Automotive Systems
PCHUD
Introduction

 PC based development tool

 ALDL serial communication

 Configurable for different devices

 Assists vehicle calibration and verification


PCHUD
Agenda

 Overview

 Main Features (What PCHUD Can Do)

 Configuration (How To Setup PCHUD)

 Communication Setup (Comm抯 Modes)


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)


PCHUD
Main Features

 Data Capture

 Data Logging

 Data Slewing
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)
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)
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)
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
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
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
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
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
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
PCHUD
LOG.EXE
 5. Remove Graph  7. Scale Y Axis
 Menu-->Graph-->Modify Y
 Menu-->Graph-->Select Graph
 Select Manual Scale
 Menu-->Graph-->Remove
 Adjust Min / Max Values
 6. Scale X Axis
 8. Line Style
 Menu-->Graph-->Modify X
 Menu-->Graph-->Modify X
 Select Manual Scale
 Menu-->Graph-->Modify Y
 Adjust Min / Max Values
 Line
 Scatter
PCHUD
LOG.EXE
 9. Cursor  11. Zoom
 Menu-->Zoom
 Course Left : UP Arrow
 Start at Cursor
 Course Right : DOWN Arrow
 End at Cursor
 Fine Left : LEFT Arrow
 In 2x
 Fine Right : RIGHT Arrow
 Out 2x
 10. View  Center
 Menu-->View  Out Max (Full Size)
 Single  12. Text Output (*.CSV)
 Overplot
 Menu-->File-->Export As Text
 Separate (Arrange All)
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
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
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
PCHUD
Define Slew Parameters

 4. Save Slew File (*.SLW)


 Menu-->Slew-->Save

 5. Open Slew File (*.SLW)


 Menu-->Slew-->Open
 e.g. VT.SLW
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
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 ?
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
PCHUD
Communication Setup
 Comm Parameters
 Menu-->Setup-->Comm Setup
 Comm Port
 Baud Rate : 8192
 Slew Device ID : VT = $F5
 DTR High at Startup : Yes
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
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)
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

You might also like