Dell OptiPlex DCT Specifikace Strana 1

Procházejte online nebo si stáhněte Specifikace pro Barebones pro PC / pracovní stanice Dell OptiPlex DCT. Dell OptiPlex DCT Specifications Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 37
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Implementing a Hard Real-Time
Data Acquisition and Control
System on Linux RTAI-LXRT
F.M.Klomp - 0499684
DCT 2005.72
Traineeship report
Coach: M.G.E. Schneiders
Supervisor: M.J.G. v.d. Molengraft
Eindhoven, University of Technology
Department of Mechanical Engineering
Dynamics and Control Technology Group
Eindhoven, August, 2005
Zobrazit stránku 0
1 2 3 4 5 6 ... 36 37

Shrnutí obsahu

Strany 1 - System on Linux RTAI-LXRT

Implementing a Hard Real-TimeData Acquisition and ControlSystem on Linux RTAI-LXRTF.M.Klomp - 0499684DCT 2005.72Traineeship reportCoach: M.G.E. Schnei

Strany 2

4CHAPTER 2. IMPLEMENTATION OF SOFT- AND HARDWARE• Since the RTOS and the application are linked together in a "single" execution space, syst

Strany 3

2.2. SOFTWARE: EXPLANATION AND INSTALLATION52.2.2 S-function board driversThe source-code of the user space drivers and some kernel space routines for

Strany 4

6CHAPTER 2. IMPLEMENTATION OF SOFT- AND HARDWAREThe Acquisition Delay option in the AIn Simulink GUI has a big impact on the Ain driver functionAiGetA

Strany 5 - Contents

2.3. GETTING STARTED7∗ The option -w makes a connection to the external mode of the Simulink model.– When -w is specified return to Simulink.∗ Choose S

Strany 6 - CONTENTS

8CHAPTER 2. IMPLEMENTATION OF SOFT- AND HARDWARE(a) GUI for Analog In. (b) GUI for Analog Out.Figure 2.2: GUI to set options for the Simulink blocks.•

Strany 7 - Introduction

Chapter 3Performance of the DACSTo give an idea of what the DACS is capable of, in this chapter the performance is evaluated bymeans of experiments. B

Strany 8 - CHAPTER 1. INTRODUCTION

10CHAPTER 3. PERFORMANCE OF THE DACSAoutTo Workspace1AinTo WorkspaceSine Wave3Sine Wave2PowerDaq PD2 MF Analog Input0123456789101112131415PD2_MF_Seri

Strany 9 - Chapter 2

3.2. ACCURACY11With the Acquisition Delay set to 10000[ns], table 3.1 shows the maximal sample rates for threedifferent sets of channels. This is witho

Strany 10 - 2.1.3 RTAI-LXRT

12CHAPTER 3. PERFORMANCE OF THE DACS3.3 DiscussionOnce again it is stressed that the experiments described above are only mend to give a first im-press

Strany 11

Chapter 4Conclusions and RecommendationsConclusions Two Simulink S-function driver blocks for the PowerDAQ boards have been realized,which make Hard R

Strany 13 - 2.3. GETTING STARTED

14CHAPTER 4. CONCLUSIONS AND RECOMMENDATIONS

Strany 14

Appendix AS-function C-codeA.1 Analog In file/*Analog input S-function for:United Electronic IndustriesPowerDAQ board type: PD2-MF-16-500/16HInput Fifo

Strany 15 - Performance of the DACS

16APPENDIX A. S-FUNCTION C-CODE#define SLOW (1<<8)#define CHLIST_ENT(c,g,s) (CHAN(c) | GAIN(g) | ((s) ? SLOW : 0))unsigned long AiGetAIValue(int

Strany 16 - 3.1 Performance

A.1. ANALOG IN FILE17unsigned int ChLst[scanSize];for (i = 0; i < scanSize; i++) {ChLst[i]= CHLIST_ENT((int)mxGetPr(ChannelList)[i],(int)mxGetPr(Ga

Strany 17 - 3.2 Accuracy

18APPENDIX A. S-FUNCTION C-CODE#ifdef MATLAB_MEX_FILE #include "simulink.c" #else #include "cg_sfun.h" #endif

Strany 18 - 3.3 Discussion

A.2. ANALOG OUT FILE19A.2 Analog Out file/*Analog output S-function for:United Electronic IndustriesPowerDAQ board type: PD2-AO-16/16Output Fifo size:

Strany 19 - Chapter 4

20APPENDIX A. S-FUNCTION C-CODEssSetNumInputPorts(S,mxGetN(ChannelList));for (i = 0; i < mxGetN(ChannelList); i++) {ssSetInputPortWidth(S,i,1);}ssS

Strany 20

A.2. ANALOG OUT FILE21PdAcquireSubsystem(Handle, BoardLevel, 0);if (retVal < 0) {printf("AO: PdReleaseSubsystem error %d\n", retVal);}#en

Strany 21 - S-function C-code

22APPENDIX A. S-FUNCTION C-CODE11

Strany 22 - APPENDIX A. S-FUNCTION C-CODE

Appendix BListings of hardware and softwareListing of hardware used:PC Dell OptiPlex GX270CPU IntelR° PentiumR° 4, 2.6 GHzRAM 512 MBHD IDE, 19.5 GBBoa

Strany 23 - A.1. ANALOG IN FILE

SummaryIn the Dynamics and Control Technology group of the department of Mechanical Engineering,dSPACE is a common choice for rapid control prototypin

Strany 24

24APPENDIX B. LISTINGS OF HARDWARE AND SOFTWARE

Strany 25 - A.2 Analog Out file

Appendix CInstallation of the Linux OS and extrasoftwareC.1 Linux OSThe Knoppix 3.3 distribution is used, which can be installed from CD. Put the CD i

Strany 26

26APPENDIX C. INSTALLATION OF THE LINUX OS AND EXTRA SOFTWAREDoing this, the listed are packages being updated and being installed. When asked, choose

Strany 27 - A.2. ANALOG OUT FILE

Appendix DMatlab 6.1D.1 PreparationBefore we can start installing Matlab 6.1, some settings in Debian need to be changed. First of allit has to be pos

Strany 28

28APPENDIX D. MATLAB 6.1• Simulink• Matlab Compiler• Real-time Workshop• FLEXmCheck “Create symbolic links to Matlab and mex scripts” and choose /usr/

Strany 29 - Appendix B

Appendix ERTAIIn this appendix it is assumed you are logged in as root. You will need it at least for installing thekernel and RTAI.E.1 Requirements f

Strany 30

30APPENDIX E. RTAI– Set version information on all module symbols, choose N• Processor type and features– Processor family, choose Pentium-Pro/Celeron

Strany 31 - Appendix C

Bibliography[1] Linux COntrol and MEasurement Device Interface, "Comedi homepage", www.comedi.org.[2] dSPACE GmbH, "dSPACE homepage&quo

Strany 33 - Matlab 6.1

ContentsSummary iii1 Introduction 12 Implementation of soft- and hardware 32.1 Real-Time OS . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 34 - D.3 Configuration

viCONTENTSE.4 RTAI Target Real Time Workshop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Bibliography 31

Strany 35 - Appendix E

Chapter 1IntroductionA cost-efficient alternative for the widely used but expensive dSPACE systems has to be created.The Data Acquisition and Control Sy

Strany 36 - E.3 Installing RTAI

2CHAPTER 1. INTRODUCTIONThe third and last option is described in this report. Using I/O boards with onboard processors noextra interface and hardware

Strany 37 - Bibliography

Chapter 2Implementation of soft- and hardware2.1 Real-Time OS2.1.1 Soft and Hard Real-TimeWith an ordinary Linux kernel it is not possible to handle i

Komentáře k této Příručce

Žádné komentáře