dSPACE DS1104 Guide rapide

dS
DS1104 R&D Controller Board
Hardware Installation
and Configuration
For DS1104 and CP1104/CLP1104 Connector
Panels
Release 4.1 – March 2004

How to Contact dSPACE
How to Contact dSPACE Support
dSPACE recommends that you use dSPACE Support Wizard to contact dSPACE support.
It is available
• On your dSPACE CD at \Diag\Tools\dSPACESupportWizard.exe
• Via Start – Programs – dSPACE Tools (after installation of the dSPACE software)
• At http://www.dspace.de/goto?supportwizard
You can always find the latest version of dSPACE Support Wizard here.
Software Updates and Patches
dSPACE strongly recommends that you download and install the most recent patches for
your current dSPACE installation. Visit http://www.dspace.de/goto?support for software
updates and patches.
Mail: dSPACE GmbH
Technologiepark 25
33100 Paderborn
Germany
Te l . :
Fax:
+49 5251 1638-0
+49 5251 66529
E-mail:
Technical Support:
suppor[email protected]e
+49 5251 1638-941
Web:
Subscription to e-mail newsletter:
http://www.dspace.de
http://www.dspace.de/goto?SupportNewsletter
Important Notice
This document contains proprietary information that is protected by copyright. All rights
are reserved. Neither the documentation nor software may be copied, photocopied,
reproduced, translated, or reduced to any electronic medium or machine-readable form, in
whole or in part, without the prior written consent of dSPACE GmbH.
© Copyright 2004 by:
dSPACE GmbH
Technologiepark 25
33100 Paderborn
Germany
This publication and the contents hereof are subject to change without notice.
Brand names or product names are trademarks or registered trademarks of their respective
companies or organizations.

I■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
DS1104 Hardware Installation and Configuration March 2004 3
▲■■■■■■■■■■■■■■■
Contents
Documentation Overview 7
Documentation Types ........................................................................8
About This Document .....................................................................10
Related Documents .........................................................................11
Introduction to the DS1104 13
Hardware ........................................................................................14
Software .........................................................................................16
Safety Precautions 17
Safety Precautions for Installing and Connecting the Hardware ...18
Safety Precautions for Using Connector Panels............................19
Before You Start 21
Installation and Configuration Overview ..........................................22
Checking the System Requirements.................................................24
Installing the Hardware 25
How to Install the DS1104...............................................................26
Connecting a Connector Panel to the Board....................................28
How to Connect a Panel (CP, CLP) to a Board..............................29
How to Mount a Panel in a 19'' Rack..........................................30
Verifying the System 31
How to Run ControlDesk.................................................................32
How to View the Board Properties...................................................34
How to Verify the Installation ..........................................................37
Updating the Firmware....................................................................38
How to Update the Firmware......................................................40

Contents
▲
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■
DS1104 Hardware Installation and Configuration March 2004
I■■■■■■■■■■■■■
▼
4
■■■■■■■■■■■■■■■▼
Implementing and Handling Applications 41
Implementing Models ..................................................................... 43
Implementing Simulink Models Using Real-Time Interface........... 44
How to Implement C Models...................................................... 49
Handling Real-Time Applications..................................................... 50
Basics of Booting the DS1104..................................................... 51
How to Handle Applications for the Global Memory................... 53
How to Handle Applications for the Flash Memory ..................... 55
How to Use Scoutcmd to Load and Start Applications ................ 58
Experimenting with ControlDesk..................................................... 59
How to Generate the Required Files............................................ 60
How to Use ControlDesk ............................................................ 61
Connecting External Devices to the dSPACE
System 71
How to Connect External Devices to a Board................................... 72
How to Connect External Devices to a Connector Panel .................. 74
Uninstalling the System 75
How to Remove the Hardware ........................................................ 76
Connector Pinouts and LEDs 77
Board Overview .............................................................................. 78
DS1104 Connectors........................................................................ 80
I/O Connector (P1)...................................................................... 81
Master PPC Debug Connector (P2) ............................................. 85
Slave DSP Debug Connector (P3) ................................................ 86
Slave DSP Flash Jumper (J1) ........................................................ 87
CP1104/CLP1104 Connectors ......................................................... 88
BNC Connectors (CP1 … CP16).................................................. 91
Digital I/O Connector (CP17) ...................................................... 92
Slave I/O PWM Connector (CP18) ............................................... 94
Incremental Encoder Interface Connectors (CP19, CP20) ............ 96
UART RS232 Connector (CP21) .................................................. 98
UART RS422/RS485 Connector (CP22) ....................................... 99
CLP1104 LED Assignments............................................................ 100
Mapping of I/O Signals 101
Conflicting I/O Features................................................................. 109

■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
▼
Contents
DS1104 Hardware Installation and Configuration March 2004 5
▲
■■■■■■■■■■I
▲■■■■■■■■■■■■■■■
Signal Connection to External Devices 119
Analog Inputs ...............................................................................120
Input Circuit and Electrical Characteristics .................................121
Notes and Tips on Signal Conditioning .....................................121
Analog Outputs.............................................................................122
Output Circuit and Electrical Characteristics ..............................123
Notes and Tips on Signal Conditioning .....................................124
Bit I/O ...........................................................................................125
I/O Circuit and Electrical Characteristics.....................................126
Notes and Tips on Signal Conditioning .....................................127
Incremental Encoder Interface .......................................................129
Input Circuit and Electrical Characteristics .................................130
Notes and Tips on Signal Conditioning .....................................132
Serial Interface ..............................................................................136
Connecting RS232 Devices .......................................................137
Connecting RS422/RS485 Devices.............................................138
Slave DSP Digital I/O ...................................................................... 142
I/O Circuit and Electrical Characteristics.....................................143
Notes and Tips on Signal Conditioning .....................................144
General Notes and Tips on Signal Conditioning .............................146
Grounding and Shielding ..........................................................147
Avoiding Crosstalk....................................................................151
Wiring Up External Devices .......................................................152
ADC Performance of dSPACE Boards ........................................153
Data Sheets 157
DS1104 Data Sheet ..................................................................158
CP1104 Data Sheet ..................................................................161
CLP1104 Data Sheet.................................................................161
Troubleshooting 163
Checking the DS1104...............................................................164
Problems with Multiple Plug & Play Boards................................165
Checking the Host PC...............................................................168
Problems Related to the Firmware.............................................168
Index 169

Contents
▲
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■
DS1104 Hardware Installation and Configuration March 2004
I■■■■■■■■■■■■■
▼
6
■■■■■■■■■■■■■■■▼

I■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
DS1104 Hardware Installation and Configuration March 2004 7
▲■■■■■■■■■■■■■■■
Documentation
Overview
dSPACE offers different types of documents: see Documentation Types
on page 8.
For a brief description of this document, see About This Document on
page 10.
For more information on the documents that are available when you
work with the DS1104 R&D Controller Board, see Related Documents
on page 11.

Documentation Overview
▲
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■
DS1104 Hardware Installation and Configuration March 2004
I■■■■■■■■■■■■■
▼
8
■■■■■■■■■■■■■■■▼
Documentation Types
After you install your dSPACE system, you can access the entire
documentation as online help or printable Adobe PDF files. You will
also receive a printed version of some important documents.
dSPACE HelpDesk
The dSPACE HelpDesk is your primary source of information on both
the hardware and the software of your dSPACE system.
To open dSPACE HelpDesk
➤Select dSPACE HelpDesk from the dSPACE Tools program group
of the Windows Start menu.
From each HelpDesk page, you can easily search and navigate to the
desired information. You also have direct access to printable
Adobe PDF files: see How to Work with dSPACE HelpDesk in the
dSPACE HelpDesk.

■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
▼
Documentation Overview
DS1104 Hardware Installation and Configuration March 2004 9
▲
■■■■■■■■■■I
▲■■■■■■■■■■■■■■■
NOnly the documents of the products installed on your system are
available. The entire product documentation is available if you open
the HelpDesk on the dSPACE CD.
HelpDesk structure The structure of the documents in the HelpDesk reflects the different
phases of your work:
■Installation and Configuration
■Implementation
■Experiment and Test
■Production Code Generation
■Calibration
The topics that are shown depend on your dSPACE system.
Context-sensitive help When you work with any dSPACE software, you can get
context-sensitive help via the F1 key and/or Help button.
PDF Files
All documents are also available as printable Adobe PDF files in the
%DSPACE_ROOT%\Doc\Print
folder: see How to Work with dSPACE
HelpDesk in the dSPACE HelpDesk.
Printed Documents
You will receive a printed version of the documents that are essential
for working away from your PC.

Documentation Overview
▲
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■
DS1104 Hardware Installation and Configuration March 2004
I■■■■■■■■■■■■■
▼
10
■■■■■■■■■■■■■■■▼
About This Document
This document will show you the installation of the DS1104 R&D
Controller Board and CP1104/CLP1104 Connector Panels.
It describes the hardware installation procedure, shows how to
configure the system, and explains how to get started with your
dSPACE system using an appropriate example. It also gives you
information about connecting external devices to the dSPACE system.
Knowledge in handling the host PC and the Microsoft Windows
operating system is presupposed.
Legend
The following symbols are used in this document.
CWarnings provide indispensable information to avoid severe damage
to your system and/or your work.
NNotes provide important information that should be kept in mind.
TTips show alternative and/or easier work methods.
EExamples illustrate work methods and basic concepts, or provide
ready-to-use templates.
Ce manuel convient aux modèles suivants
2
Table des matières
Autres manuels dSPACE Contrôleurs



















