Sunteți pe pagina 1din 12

dSPACE HILTools

CrankCam-Editor

Version 1.0 July 2005

How to Contact dSPACE


Mail

Phone
Fax
E-mail
Web
Subscription to e-mail newsletter
Technical support

dSPACE GmbH
Technologiepark 25
D-33100 Paderborn
Germany
++49-5251-1638-0
++49-5251-66529
info@dspace.de
http://www.dspace.de
http://www.dspace.de/en/Support/enews.htm
support@dspace.de

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/en/Support/Support.htm for software updates and patches.

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 2001-2004 by:
dSPACE GmbH
Technologiepark 25
D-33100 Paderborn
Germany
This publication and the contents hereof are subject to change without notice. dSPACE GmbH makes no
warranty of any kind with regard to this publication, including but not limited to the implied warranties of
merchantability or fitness for a particular purpose.
dSPACE GmbH shall not be liable for errors contained herein or direct, indirect, special, incidental, or
consequential damages in connection with the furnishing, performance, or use of this publication.
Brand names or product names are trademarks or registered trademarks of their respective companies or
organizations.



Documentation Overview



Contents

Documentation Overview

About this Reference...............................................................................................6


Related Documents.................................................................................................7

CrankCam-Editor

Startup...............................................................................................................9
General Settings..............................................................................................10
Crank Settings .................................................................................................11
Cam Settings ...................................................................................................12

CrankCam Tool

July 2005





Contents



Documentation Overview

For brief information about the CrankCam-Editor, see About This Reference on page
7.
You will also find information on the documents that are available for HILTools: see
Related Documents on page 8.



Cank Cam Tool July 2005



Documentation Overview





Documentation Overview



About this Reference


This reference gives you detailed information on the CrankCam-Editor and the
elements it contain.
It is assumed that you know how to run Matlab with a dSPACE Solution for
controls installation and the dSPACE HILTools collection of Matlab/Simulink
tools.
Legend
The following symbols are used in this document.
Warnings provide indispensable information to avoid severe damage to your
system and/or your work.
Notes provide important information that should be kept in mind.
Tips show alternative and/or easier work methods.
Examples illustrate work methods and basic concepts, or provide ready-to-use
templates.



Cank Cam Tool July 2005



Documentation Overview



Related Documents
Below is a list of documents that you are recommended to read when working with
dSPACE HILTools.

RTI Implementation reference introduces you to dSPACE realtime interface


toolbox for Matlab Simulink.

dSPACE Sources Installer introduces you to the Installer for all dSPACE
Sources including the HILTools.

CrankCam Tool

July 2005





CrankCam-Editor



CrankCam-Editor

The CrankCam-Editor provides elements to generate different Crank- and Cam


signals according to the defined values in the provided GUI.

The HILTools and so the CrankCam-Editor are in a continuum of development and


will be adapted to following Matlab and dSPACE releases.
.
This and all other toolboxes of the dSPACE HILTools are solutions to help to
handle large Simulink models and HIL systems. The HILTools will not be
supported by the dSPACE general support. For questions or further informations
please contact the application engineer of your system.
.
.



Cank Cam Tool July 2005



CrankCam-Editor



Startup

Matlab Command

Purpose
Description

ds_crankcam

To start the CrankCam-Editor.


The Graphical User Interface for the generation of Crank- and Cam signals is
started.

CrankCam Tool

July 2005





10

CrankCam-Editor



General Settings

Purpose

To define the general settings for the signals to be generated.


The settings can also be saved and loaded under the menu point Settings. This
includes the settings for Crank- and Cam signals.
All settings in Crank- and Cam pages will be lost if the number of CrankSignals or
CamSignals is changed. There is a warning window before changes are applied.

Settings

This CrankCam-Editor page provides the following settings:

Name

Default
Value

Description

Board

DS2210

Choice of target hardware of generated signals.

Number of cylinders

Number of cylinders. [ 1 .. 18 ]

Ignition sequence

[1 2 3 4]

Ignition sequence of cylinders.

Offset angle to first TDC

Offset angle to first TDC.

Number of CrankSignals

Number of Crank signals. Change applied by


the SET button.

Number of CamSignals

Number of Cam signals. Change applied by the


SET button.

10



Cank Cam Tool July 2005



CrankCam-Editor



Crank Settings

Purpose

Purpose

To define the settings for the selected Crank signal.

Settings

This CrankCam-Editor page provides the following settings:

Name

Default
Value

Description

Sensor Type

HALL

Sensor type of the Crank shaft. [ HALL /


INDUCTIVE ]

active high

Active state of the Crank signal. [active high

(normal)

(normal) / active low (inverted) ]

High Level

Always set to 1. For information only.

Low Level

-1

Low level for HALL signals. [ -1 / 0 ]. No effect

Signal level

on INDUCTIVE sensor type.


Number of teeth

60

Number of teeth on 360 crank shaft.

Position of missing teeth

[5 6]

Position of missing teeth on crank shaft.


e.g. [1 10:14 18 19] or [1]

0 deg APU

rising

Initial orientation of crank signal.[ rising /


falling ]

Delay [deg]

CrankCam Tool

July 2005

Delay of crank signal.

11





12

CrankCam-Editor



Cam Settings

Purpose

To define the settings for the selected Cam signal.

Settings

This CrankCam-Editor page provides the following settings:

Name

Default
Value

Description

Sensor Type

HALL

Sensor type of the Cam shaft. [ HALL /


INDUCTIVE ]

active high

Active state of the Cam signal. [active high

(normal)

(normal) / active low (inverted) ]

High Level

Always set to 1. For information only.

Low Level

-1

Low level for HALL signals. [ -1 / 0 ]. No effect

Signal Level

on INDUCTIVE sensor type.


Edges in Cam signal [deg] [10 30]

Start and end edge of cam tooth. 2 values for


each tooth. e.g. [10 30 50 51]

12



Cank Cam Tool July 2005

S-ar putea să vă placă și