+ All Categories
Home > Documents > A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the...

A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the...

Date post: 18-Apr-2018
Category:
Upload: donhu
View: 216 times
Download: 2 times
Share this document with a friend
39
© 2008 University of Warwick A Flexible and Reconfigurable A Flexible and Reconfigurable Hardware Hardware - - in in - - the the - - loop Simulator for a loop Simulator for a Vehicle Vehicle Programme Programme at Jaguar & at Jaguar & LandRover LandRover Dr Suguna Thanagasundram Dr Suguna Thanagasundram International Automotive Research International Automotive Research Centre Centre University of Warwick University of Warwick
Transcript
Page 1: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

© 2008 University of

Warwick

A Flexible and Reconfigurable A Flexible and Reconfigurable HardwareHardware--inin--thethe--loop Simulator for a loop Simulator for a Vehicle Vehicle ProgrammeProgramme at Jaguar & at Jaguar & LandRoverLandRover

Dr Suguna ThanagasundramDr Suguna ThanagasundramInternational Automotive Research International Automotive Research CentreCentreUniversity of WarwickUniversity of Warwick

Page 2: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

2A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

IntroductionIntroduction

Research Fellow in the Electrical & Simulations group in the IARC

Peter Jones & Ross McMurran

Evolutionary Validation of Complex Systems (EVoCS)

VITAL (Virtual Integration and Test Automation Laboratory) at JLR (Whitley)

Alexandros Mouzakitis & team

Page 3: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

3A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Seminar OutlineSeminar Outline

Electronics in a vehicle

ECU

Hardware-in-Loop (HIL) platform

Limitations of this platform

Reconfigurable & Flexible HIL platform based on patented add2 Genix technology

Page 4: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

4A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Just about everything!

Electronics in a CarElectronics in a Car

Page 5: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

5A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

FunctionGrowth

The vast majority of new technology looks like this:

Embedded control system usageEmbedded control system usageAdaptive Cruise Control

Electronic Towbar

2000 2010

PTC HeaterTelematics

Satellite Radio

ACC

Adaptive Headlamps

Blind Spot Detection

IVDC

Active steering

EM Valves

ISG

Remote Diagnostics

Keyless Vehicle

E-Connectivity

Brake-by-Wire

El. Water Pump

In Car PC

Fuel Cell

Rear Multi-media

Auto lights

SurroundSound

Voice Activation

Optical Buses

Auto wipers

Steer-by-Wire

Lane-keeping

CY1980

ABSInstruments

Body Elec.

Engine Control Transmission Control

1990

Airbag

SecurityAdv.

RestraintsESP EPAS

Adaptive suspension

Navigation

DSC

Traction Control

Page 6: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

6A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Typical automotive electrical architectureTypical automotive electrical architecture

DASHBOARD (GATEWAY)

DOOR CONTROL

ECUS

BODY CONTROL MODULE

ELECTRIC SEAT

CONTROL ECUS

CLIMATE

SYSTEM

DOOR MODULES

SEAT MODULES

KEYLESS VEHICLE

SYSTEM

PARKING AID

SYSTEM

TIRE PRESSURE MONITORING SYSTEM

HOOD CONTROL SYSTEM

BATTERY BACKED

SOUNDERADAPTIVE

CRUISE CONTROL

ELECTRONIC PARKING

BARKE

TRANSMISSION CONTROL SYSTEM

ENGINE MANAGEMENT

SYSTEM

DYNAMIC STABILITY CONTROL

GEAR SHIFT

SYSTEMRESTRAINTS

CONTROL SYSTEM

INFORMATION CONTROL MODULE

HUMAN MACHINE INTERFACE

PHONEBLUETOOTH RADAR RADIO

TELEMATICS

LOW SPEED CAN

LIN

ELECTRONIC BODY SYSTEMS

HIGH SPEED CAN

MOST

INFOTAINMENT

POWERTRAIN

- CAN TERMINATION

600-700 I/O pins

Page 7: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

7A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Electronic Control Unit (ECU) OverviewElectronic Control Unit (ECU) Overview

ECU is the generic term for automotive electronic control units

Page 8: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

8A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

What is inside an ECUWhat is inside an ECU

Power Supply

ECU Data Network

Hardwired I/O (Sensors/ Actuators)

Connector

Hardware

Application Programming Interface

Application Software implementing controller algorithms and diagnostic

functions

ECU

Communication Interface

Base Software Functional Layer (Operating System, Communication…)

ECU

Page 9: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

9A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

The Hardware Interface of an ECUThe Hardware Interface of an ECU

INPUTS from Sensors OUTPUTS to Loads/Actuators

Page 10: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

10A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

ECU Development ProcessECU Development Process

OEM

ACTIVITIES

SUPPLIER

ACTIVITIES

ECU#1

HW SPEC

ECU#1

Software SPEC

Hardware

Design

Handcode

Software

ECU#1

ECU#2

HW SPEC

ECU#2

MODEL-BASED SPEC

Hardware

Design

Autocode

Generation

ECU#2

Page 11: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

11A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

HIL SystemsHIL Systems

MicroAutoBox

AutoboxMicrogen

LabCar (ETAS)PXI (National Instrument)RT-Lab (Opal-RT)

Page 12: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

12A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Various Interactions between ECU & HILVarious Interactions between ECU & HIL

Real ECU Plant Model

Model of ECU Plant Model

Real ECU Real Actuator like the Wiper

Model of ECU Real Actuator like the Wiper

Real ECU Real ECU

Page 13: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

13A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

A Typical HIL SystemA Typical HIL System

Page 14: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

14A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

The inside of a typical HIL systemThe inside of a typical HIL system

I/O Cards

HIL System

Hardwired I/O

Connector

Connector

Connector

Power Supply

BUS Communication

Main Processor System Running Real –time Code LIN

CAN

MOST

FLEXRAY

Fault Insertion

Signal Conditioning(not software configurable)

LAN

EC

UE

CU

Memory

Page 15: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

15A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Advantages of using a HIL platformAdvantages of using a HIL platform

Advantages of using a HIL platform for validation of ECU functionality

Reduced development costs and timescales

Availability of the system for 24 hours

Safer testing conditions because of the ability to simulate operating conditions like fault and damaged conditions

Functionality testing can begin earlier in the design process with models of the ECUs even before the actual ECU hardware become available

Page 16: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

16A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Weaknesses of existing HIL Platform Weaknesses of existing HIL Platform

Main weaknesses are:

Wiring harness HIL simulation platform needs to be redone each time the hardware interface of an ECU changes

Uncertainty in module specifications

Number of likely model variants

Requirement for reusing HIL system in different applications

Reusability of the HIL platforms from one vehicle programme to another is limited

Page 17: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

17A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Jaguar Reconfigurable HIL PlatformJaguar Reconfigurable HIL Platform

Programmable PSU’s

LIN Switching

CAN Switching

Genix SC Pods

ECU PSU Switching

dSPACE PX20

I/O Routers I/O Routers

Real-Time Target

Page 18: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

18A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Jaguar Reconfigurable HIL PlatformJaguar Reconfigurable HIL Platform

Page 19: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

19A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Connector Panel Arrangement for an add2 HIL simulator

Page 20: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

20A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

GenixGenix SubrackSubrack

Page 21: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

21A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

BackPlaneBackPlane of of GenixGenix SubRackSubRack

Page 22: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

22A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Outline illustration of add2 HIL Simulator

Page 23: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

23A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

The The GenixGenix PodPod

DG – Differential Genix

DGF – Differential Genix with Fault Insertion

DGLF – Differential Genix with Load & Fault Insertion

DGELF – Differential Genix with External Load and Fault Insertion

Page 24: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

24A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

GenixGenix PodsPods

Page 25: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

25A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Typical Front Panel WiringTypical Front Panel Wiring

Page 26: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

26A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Type DGType DG

Page 27: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

27A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Type DGFType DGF

Page 28: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

28A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Type DGELFType DGELF

Page 29: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

29A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

The HIL Power Supply SystemThe HIL Power Supply System

Each Genix Pod can be connected to three different external voltage sources (Vext1, Vext2 or Vext3) as the high power rail

one of two different 0V references (0V1 or 0V2) as the two low power rail

A typical Genix Pod will reference to Vext1 which is supplied by PSU1, normally used as the VBatt supply, and 0V1 which is tied to ground.

When a programmable power supply is used as a source, the voltage can be continuously varied within the operating range of 5 to 22V

Page 30: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

30A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Signal conditioning which is reconfigurable by Signal conditioning which is reconfigurable by softwaresoftware

The unique and novel innovation in this HIL platform is the use of Genix configurable signal conditioning.

Each of the channel can be configured individually under software control

The front end can be designed and customized for different kind of sensors and has the capability to support all feasible combinations of the I/O interface of the ECUs.

Page 31: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

31A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Signal Conditioning which is software Signal Conditioning which is software reconfigurablereconfigurable

The Genix based Pods have the capability to configure each channel according to its

signal type

Direction

Bandwidth

Gain

Loading requirements

internal loads can be pulled up to a supply rail or pulled down to ground

Page 32: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

32A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Signal Conditioning which is software Signal Conditioning which is software reconfigurablereconfigurable

has the ability to support either internal or external loads

digital input circuit has a configurable threshold detection capability

gain of the analogue inputs and outputs can be varied

Analogue inputs can be conditioned using one of 3 preset filters

Page 33: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

33A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

HIL Configuration Utility (HCU)HIL Configuration Utility (HCU)

Page 34: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

34A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Genix Module Input/Output Capability

Page 35: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

35A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Genix Module Configuration Capability

Page 36: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

36A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

The CAN Switching StrategyThe CAN Switching Strategy

CANAHCANBHCANCH

CANDH

CANCL

CANDL

CANBLCANAL

TO CHANS 1..4

COMMON FAULT RELAYS

ECU

CANH

CANL

CANFAULTL

CANFAULTH

VEXT

ECU 0V

Rterm

Page 37: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

37A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

Other Key Features of the Software Other Key Features of the Software Reconfigurable HIL platformReconfigurable HIL platform

CAN, Power Supply and LIN Switching either the HCU software or using the CAN based configuration bus

High Current Capabilities

Fault Insertion Capabilities

Digital Current Output Modules

7mA

14mA

High Current Output

Low Current Output

Page 38: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

38A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

ExampleExample

Pull up to Vext

Configurable Resistive

Load

Gain Filter

ECUAnalog Input

to HIL Simulator

Vext

GND

Connection to

External Load

Fault ControlConfiguration

Bus

Signal Conditioning

Vin+V

Pull down to ground

To dSPACE

ADC card

Simulator

Fault Insertion

Page 39: A Flexible and Reconfigurable Hardware-in-the-loop ...†Safer testing conditions because of the ability to simulate ... Power Supply and LIN Switching either the HCU software or using

39A Flexible and Reconfigurable Hardware-in-the-loop Simulator for a Vehicle Programme at Jaguar

© 2008 University of

Warwick

ConclusionConclusion

Software reconfigurable HIL platform described was fully implemented for a vehicle programme at JLR

Reconfigurable platform has guaranteed high flexibility and portability in interfacing all kinds of ECUs, sensors and actuators

Easier to suit the wiring harness of the test rig to adapt the ECU under test

Robustness inbuilt in its design through its ability to support high current loads

The unique feature of the Genix signal conditioning module is that it has external load capabilities, fault insertion capabilities and high current capabilities all on one Pod card.

Genix modules have signal conditioning that is configurable by software.


Recommended