Dell OptiPlex DCT Especificações Página 1

Consulte online ou descarregue Especificações para Barebones PC/estação de trabalho Dell OptiPlex DCT. Dell OptiPlex DCT Specifications Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 37
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 0
1 2 3 4 5 6 ... 36 37

Resumo do Conteúdo

Página 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

Página 2

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

Página 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

Página 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

Página 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

Página 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.•

Página 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

Página 8 - CHAPTER 1. INTRODUCTION

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

Página 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

Página 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

Página 11

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

Página 13 - 2.3. GETTING STARTED

14CHAPTER 4. CONCLUSIONS AND RECOMMENDATIONS

Página 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

Página 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

Página 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

Página 17 - 3.2 Accuracy

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

Página 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:

Página 19 - Chapter 4

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

Página 20

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

Página 21 - S-function C-code

22APPENDIX A. S-FUNCTION C-CODE11

Página 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

Página 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

Página 24

24APPENDIX B. LISTINGS OF HARDWARE AND SOFTWARE

Página 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

Página 26

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

Página 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

Página 28

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

Página 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

Página 30

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

Página 31 - Appendix C

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

Página 33 - Matlab 6.1

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

Página 34 - D.3 Configuration

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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários