Top Banner
dSPACE Solutions for Control Uwe Mettin Department of Applied Physics and Electronics Umeå University, Sweden 2007, September 26
34

dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

May 26, 2018

Download

Documents

doankhanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

dSPACE Solutions for Control

Uwe Mettin

Department of Applied Physics and ElectronicsUmeå University, Sweden

2007, September 26

Page 2: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 3: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

dSPACE Solutions for Control

The presentation is based on the Catalog 2006,dSPACE, Technologiepark 25, 33100 Paderborn, Germany,

www.dspace.com.

Page 4: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

V-Cycle: Development process for an ECU

Key Feature: Model-based design concepts throughout the whole process

with easy-to-use interface components by dSPACE (user interface, libraries).

Page 5: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Product Overview – Software

Page 6: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Product Overview – Software

Page 7: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Product Overview – Hardware

Page 8: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Product Overview – Hardware

Page 9: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 10: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Real-Time Interface (RTI)

Page 11: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

PowerPC C Compiler

Page 12: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 13: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

ControlDesk

Page 14: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

ControlDesk (Snapshot from Crane Control)

Page 15: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

ControlDesk

Handling Files (CDExpGuide.pdf, p.39ff.):

Page 16: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

CLIB

Page 17: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

MLIB/MTRACE

Page 18: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Python-Based Test Automation

Powerful script language Python for advanced applications

ControlDesk Interface: almost all classes and functions forautomating ControlDesk are provided bycdautomationlib

Page 19: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 20: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

TargetLink

Page 21: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 22: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

MicroAutoBox (MABX 1401/1501, DS1401)

Page 23: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

MicroAutoBox (MABX 1401/1501, DS1401)

Important specification details

Processor IBM PPC 750FX, 800 MHzAnalog input 16 channels, 0...5 VDCAnalog output 8 channels, 0...4.5 VDCDigital I/O 16 discrete inputs,

10 discrete outputs, ...Incremental encoder interface 3 channelsSerial, CAN, ECU interfaceZIF connector for I/O signals and power supplyHigh-speed host interface, Support of PCMCIA and PCICast aluminum box (approx. 200 x 225 x 50 mm)

Page 24: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

MicroAutoBox (MABX 1401/1501, DS1401)

Connecting MABX to host PC

1. Power supply 6-40 VDC, 30 W consumptionOBS! polaritychosen: 24 VDC, recommended fuse: 8 A

2. Connect patch cable from PC/Laptop to MABX3. Switch ON system

Software information

Used dSPACE release R5.1Used Matlab release R2006aUsed Simulink release 6.4Realtime Interface Platform rti1401

Page 25: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 26: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

RapidPro Hardware Overview

Page 27: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

RapidPro Hardware Overview

Page 28: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

RapidPro Hardware Overview

Page 29: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

RapidPro Hardware Overview

Page 30: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

RapidPro Hardware Overview

Routing ID 37854

Routing ID 44205

Routing ID 16384 MPC565Routing ID 17019 MPC5554

Routing ID 35429 MPC565Routing ID 49580 MPC5554

Routing ID 11550 MPC565Routing ID 28762 MPC5554

Page 31: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

ConfigurationDesk

Windows application for hardware configuration:

Page 32: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

ConfigurationDesk

Features:

Page 33: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

IntroductionImplementation Software

Test and Experiment SoftwareProduction Code Generation Software

Prototyping HardwareRapidPro Hardware

Conclusion

Outline

1 Introduction

2 Implementation Software

3 Test and Experiment Software

4 Production Code Generation Software

5 Prototyping Hardware

6 RapidPro Hardware

7 Conclusion

U. Mettin dSPACE Solutions for Control

Page 34: dSPACE Solutions for Control - umu.se€¦ · dSPACE Solutions for Control The presentation is based on the Catalog 2006, dSPACE, Technologiepark 25, 33100 Paderborn, Germany, .

Conclusion

dSPACE offers suitable products for Real-time applications

Confidence in using prototyping hardware

Explore more features of experimentation software

RapidPro is helpful in order to be most flexible togetherwith MABX