Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Manual de CStation, Apuntes de Informática

Asignatura: Control Inteligente, Profesor: , Carrera: Ingeniería en Informática (2º ciclo), Universidad: UPSA-M

Tipo: Apuntes

2012/2013

Subido el 30/12/2013

lacapi
lacapi 🇪🇸

4.2

(51)

10 documentos

1 / 20

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Control Station User Guide by Douglas J. Cooper
Copyright 2004 by Control Station LLC
All Rights Reserved
Douglas J. Cooper
User Guide
Control Station 3.7 for Windows
ControlControlControl Station
StationStation
Software for Process Control Analysis, Tuning and Training
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Vista previa parcial del texto

¡Descarga Manual de CStation y más Apuntes en PDF de Informática solo en Docsity!

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

Douglas J. Cooper

User Guide

Control Station 3.7 for Windows

ControlControlControl Station

StationStation

Software for Process Control Analysis, Tuning and Training

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

1. Installing Control Station

Install on Individual Computer Running Windows:

  1. Quit all running applications
  2. Insert the Control Station CD-ROM
  3. If the install does not start automatically, click Window’s Start button (lower left of screen) and choose Run
  4. A Run box will open. Click Browse; choose your CD-ROM drive then select SETUP.EXE
  5. With SETUP.EXE showing as your Run selection, click OK
  6. Follow the directions of the Control Station setup utility

If You Have Install Problems

Send a detailed message including the specific error message to: [email protected]

Network Installation

The setup program is a standard MSI install application and is compatible with windows based networks. Manual installation may be required for other networks.

For manual installation, some of the Control Station files belong on the central network server while the rest belong in the C:\Windows\System subdirectory of each computer on the network. The latest information is available in Readme.txt on the CD-ROM

The files we provide that go into the C:\Windows\System or C:\Windows\System32 directory may already exist on your computer. Only overwrite your existing files if our versions are newer. These files are provided by Microsoft and are backward compatible with existing applications. We did not create or modify them in any way.

  • Files that can be installed in the main server application directory:

csdmc.dll, brwst.htm, cstation.url, cshelp3.hlp, csmimo.dll, csrecord.dll, csrigdis.dll, cstation.exe, cstools.dll, keycode.003, readme.txt

  • Files that go in the C:\Windows\System or C:\Windows\System32 directory of each computer on the network.

Asycfilt.dll Comcat.dll Comdlg32.ocx Ctl3d32.dll Dao2535.tlb Dao350.dll Mfc40.dll Mfc42.dll Mfcans32.dll Msflxgrd.ocx

Msimg32.dll Msjet35.dll Msjint35.dll Msjter35.dll Msrd2x35.dll Msrepl35.dll Msvbvm60.dll Msvcrt.dll Msvcrt20.dll Msvcrt40.dll

Msxbse35.dll Oc30.dll Oleaut32.dll Olepro32.dll Pego32a.ocx Pegrp32a.dll Pepco32a.ocx Pepso32a.ocx Pesgo32a.ocx Slider.ocx

Spin32.ocx Stdole2.tlb Tabctl32.ocx Threed20.ocx Threed32.ocx Vb5db.dll Vbajet32.dll Vbar332.dll

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

3. About Control Station Control Station is software used by academic and industrial practitioners world-wide for: - hands-on process control training - control system simulation - loop analysis and tuning - performance and capability studies

Control Station is a point-and-click environment compatible with Windows 98, Me, NT, 2000, XP and most computer networks. This powerful software package is visually appealing, easy-to use and popular with students and practitioners alike.

Control Station is divided into three modules: Case Studies , Custom Process and Design Tools.

The Case Studies module provides real-world experience in modern methods and practices of process control. The Case Studies available for study include level control of a tank, temperature control of a heat exchanger, concentration control of a reactor and purity control of a distillation column. The basic controllers available include P-Only, PI, PD and PID controllers. Advanced strategies include cascade, feed forward, multivariable decoupling, model predictive (Smith predictor), dynamic matrix control, and discrete sampled data control.

The Custom Process module is a block oriented environment that lets you construct a process and controller architecture to your own specifications for a wide range of custom control analyses. You can investigate the benefits and drawbacks of different control architectures, tunings sensitivities, loop performance capabilities, and a host of other issues important to the practitioner.

The Design Tools module is used to fit linear dynamic models to process data and to compute PID controller tuning values. The models from Design Tools can also be used to construct advanced control strategies which use process models internal to the controller architecture. Because the data can be imported from real operating processes, Design Tools can solve your challenging problems for controller design, analysis and tuning.

The Control Station Modules

The Case Studies module has been developed specifically for training in the modern methods and practices of automatic process control. Case Studies accomplishes this by giving you hands-on experience through a collection of interesting and industrially relevant control simulations. Thus, you "learn by doing" as you tackle each real-world challenge. The process simulations, animated in color-graphic display, are easy to use and visually appealing. The list of simulations available for exploration and study include:

Gravity drained tanks Pumped tank Heat exchanger Jacketed stirred reactor Furnace Multi-tank process Distillation column

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

For each process, you can manipulate process variables in open loop to obtain step, pulse, sinusoidal, ramped or PRBS (pseudo-random binary sequence) test data. Process data can be recorded as printer plots or disk files for process modeling and controller tuning studies. The Design Tools module discussed later is well-suited for this modeling and tuning task.

The controllers available to the Case Studies and Custom Process modules enable the exploration and study of increasingly challenging concepts in an orderly fashion. Early concepts include studying basic dynamic behaviors such as process gain, time constant and dead time. Intermediate concepts include the tuning and performance capabilities of the complete range of PID controllers. Advanced concepts include a number of advanced conventional and model based algorithms including:

P-Only, PI, PD, PID, and PID with Filter PID Cascade Control Feed Forward Control with PID Feedback Trim Multivariable Decoupling Control Model Predictive Control (Smith Predictor, DMC) Discrete Sampled Data Control

The Custom Process module is a block oriented environment that enables you to implement a process and controller architecture to your own specification. The simulations enable a wide range of custom control investigations for single loop and multiloop processes. Transfer function models are entered to describe the controller output to measured process variable dynamics, the disturbance to measured process variable dynamics of a selected process disturbance, and for multiloop simulations, to describe the control loop interaction behavior. The transfer function models can be linear or nonlinear and overdamped or underdamped in form.

Such custom processes permit a host of process dynamics and control studies. For example, you can explore which model form best describes the behavior of your plant; investigate different controller architectures, tuning values and control modes in "what if" scenarios; study how plant-model mismatch impacts closed loop performance in model based architectures; isolate and explore the impact of noise in the measured variable on closed loop performance; and a host of other simulation and control analyses.

All you need to do is enter the appropriate process models for your application. The models are entered with user friendly dialog boxes. Design Tools is well-suited for fitting models to process data from your plant or lab to create a custom process simulation.

The Design Tools module offers tools for controller design and analysis. One tool automatically fits dynamic models to process data. Design Tools can import data from Control Station's Case Studies and Custom Process module, data from other software packages, and perhaps most important, data from real processes in the lab or plant. To fit models to data, Design Tools requires that the data be columns of text (ASCII) with entries of each column separated by tabs, commas or spaces. Every line in a column must have a number; there can be no blank entries. Then, with just a few clicks of the mouse, you mark which data column contains the manipulated variable data, which contains the measured process variable data, and which contains the time stamp data. The linear models available in the Design Tools model library include:

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

4. Quick Start – Case Studies & Design Tools The next two chapters provide a guided tour of Control Station and many of its features. If you work through these chapters, you will be skilled at the software basics. Don’t be afraid to click your mouse and see what happens. That is the only way you can become a true Control Station power user.

To begin, launch Control Station from Windows and the main screen shown below should appear. In this chapter we focus on the gravity drained tanks case study. Follow the instructions below to start the gravity drained tanks process.

To start the gravity drained tanks case study:

- Click on Modules on the menu list, then Case Studies, and then Gravity Drained Tanks

or.....

- Click the Case Studies icon, and then Gravity Drained Tanks

or.....

- Use right mouse button, then Case Studies, and then Gravity Drained Tanks

Once the simulation has begun, note that the screen is comprised of a process graphic, moving strip charts, a menu list and a tool bar. The upper strip chart tracks the measured process variable, which for the gravity drained tanks is the liquid level in the lower tank. The lower strip chart tracks the controller output, which in this case manipulates the inlet flow rate feeding the top tank.

Move the mouse arrow across the icons on the tool bar and read the different functions. There are icons for handling the simulation clock functions, re-sizing the strip charts, viewing and printing plots, saving and editing process data, stopping and starting the simulation, navigating to other Control Station modules, and obtaining access to the Control Guru^ Help program.

The process graphic also has features that can be activated with a mouse click. These include items that have a button appearance or include a white input box. The gravity drained tanks graphic on the next page shows white input boxes for the controller output and pumped flow disturbance, and a level controller button (the circle with the LC in it attached to the lower tank).

Most everything you need to do can be accessed two or three different ways:

  1. with a click on an icon or white area on the graphic, or
  2. from the menu list, or
  3. by using the right mouse button. Try all three and determine the method most comfortable for you.

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

To start and stop saving data to file:

- Click File on the menu list, and then Save Data to File

or.....

- Click the Save Data icon on the tool bar

Once data saving has begun:

-The Save Data icon on the tool bar is replaced by a Stop Saving Data icon

The first step in designing a controller is generating and collecting dynamic data. Shown above are two ways to begin saving process data to file. The same commands used to start saving data are also used to stop data collection after the experiment is completed. Go ahead and start saving data to a file called “demo.dat.” Use the default Storage Rate and Zero Clock options when prompted.

To change a variable such as controller output:

- Click on Tasks on the menu list, and then Change Controller Output

or.....

- Click or double click the white input box on the process graphic

or.....

- Use the right mouse button, and choose Change Controller Output

Once data collection has begun (note the file name in the lower right of the screen above), change the controller output to force process dynamics. Use any of the three methods mentioned above to change the controller output value from 70% up to 75%, then down to 65%, and finally back to 70%.

Click the Stop Saving Data icon when the experiment is complete.

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

Before fitting a model, the Time, Manipulated Variable and Process Variable data columns must be labeled

To do this click on one of the labels, drag it to the proper column and release the mouse key

The data in the file can also be viewed and edited from this screen using the Edit Data button

After opening a file, the data is presented for labeling as shown above. Three columns of data must be labeled for a proper fit. Click on a column label and drag and drop it at the top of the proper column. (Note: the manipulated variable is typically the controller output data, but may, for example, be the disturbance variable data if a feed forward element is being constructed).

Design Tools can also be run in a stand-alone mode from Control Station’s main screen. The stand- alone mode of Design Tools is useful when modeling data generated by a process in the lab or plant, or even by another computer program. The data columns can be processed in any order – they need not be presented in the order as shown below.

If you are creating a data file outside of Control Station, the file must be in text (ASCII) format and include at least three columns of data. Entries for each column should be separated by tabs, commas or spaces. Every line in a column must have a number; there can be no blank entries.

To obtain a meaningful fit, it is essential to recognize that:

  • the process must be at steady state before data collection begins,
  • the first data point in the file must equal this initial steady state value.

If these conditions are not met, the model fit will not describe the dynamics of the process and thus of little value for tuning, model based controller designs or simulation studies.

For simple PID controller designs from Control Station’s Case Studies and Custom Process data files, the columns are already properly labeled as shown above. Thus, simply click the OK button to proceed to the model fit options.

For advanced Case Studies designs, including cascade, feed forward or multivariable architectures, care must be taken to properly label the columns of data. If the data file being processed was created by Control Station, you can verify the proper data column labels by editing the data file using the Edit Data button and reading the information contained at the top of the file.

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

To choose a dynamic model from the library:

- Click Tasks on the menu list, and then Select Model, and choose a model from the model library

or.....

- Click the Select Model icon on the tool bar, and choose a model from the model library

With the data columns properly labeled, choose the FOPDT model from the library of linear dynamic models. For convenience, the Laplace and time domain forms of each model are displayed at the bottom of the screen.

To start model fitting:

- Click Tasks on the menu list, and choose Start Fitting

or.....

- Click the Start Fitting icon on the tool bar

Begin fitting the chosen model by clicking the Start Fitting icon on the tool bar. A counter will display the sum of squared errors (SSE), which should decrease if the fit is proceeding properly. If it is not, you may stop the routine by clicking the Stop Fitting icon (which replaces the Start Fitting icon during the fitting operation).

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

To obtain controller tuning values:

- Click the tabs on the Controller Tuning chart to view P-Only, PI or PID controller tuning values

To exit Design Tools and return to the gravity drained tanks:

- Close the window

or.....

- Click File on the menu list, and choose Exit

As shown above, the Design Tools main screen now displays values for the model parameters in a chart to the left and controller tuning values in a chart to the right. Both standard and conservative tuning values are available for P-Only, PI, PID and PID w/ Filter controllers. From your chart, write

down the standard PI tuning values KC and τ I displayed to use when implementing your controller.

Note: The units for model time constants and dead time, and controller reset time and derivative time are in the units of the time stamp used when saving data to file. For Case Studies , this time unit is minutes. If you save data from the plant or lab, you must be aware of the time units you used as well as that required by your controller.

When you have recorded the PI tuning parameters, exit Design Tools be clicking on File on the menu list and then choosing Exit, or by closing the window.

To open the controller menu:

- Click Tasks on the menu list, and then Change Controller/Tuning

or.....

- Click the controller icon on the process graphic

or.....

- Use a right mouse click, and then Change Controller/Tuning

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

Choose one of the above methods to open the Controller Design Menu. You will notice a question mark button as shown below. Click on these buttons, located throughout Control Station, to access Control Guru Help and learn about theory and technology issues associated with a selection.

To access Control Guru and learn more about theory and technology issues for a selection:

- Click a question mark? anywhere it is displayed

To implement a controller, click Manual Mode at the top of the design menu and choose PID from the

list. Halfway down the menu, enter the PI controller tuning KC and τ I you just computed in Design

Tools (or enter the numbers shown in this example). Click Done at the bottom of the controller menu to put your controller in automatic.

To change set point:

- Click Tasks on the menu list, and then Change Set Point

or.....

- Click the white Set Point box on the process graphic

To view or print a fixed plot:

- Click File on the menu list, and choose View and Print Plot

or.....

- Click the Plot icon on the tool bar

Test your controller in tracking changes in set point. On the process graphic as shown above, click once on the white Set Point box, enter 5.0, and press enter. This should cause a response similar to that shown in the figure. Explore controller performance in rejecting disturbances by entering a new pumped flow rate in the white Disturbance box on the graphic and pressing enter.

Click View and Print plot to obtain a fixed plot of your graph. There you can modify the plot display and print a copy as described at the bottom of Page 11.

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

To construct a process model:

- Click Tasks on the menu list, and then Construct Process Model

or.....

- Click the Process icon on the process block diagram graphic

As shown above, to construct a custom simulation, click Tasks on the menu list and then click Construct Process Model, or click the Process icon on the process block diagram graphic. This opens the Construct Process and Disturbance Model menu shown below.

For both process and disturbance, the model forms available include:

  • Overdamped Linear Model
  • Overdamped Nonlinear Schedule Model
  • Underdamped Linear Model
  • Underdamped Nonlinear Schedule Model

Use the tabs to select the Process Model or Disturbance Model. For the Overdamped Linear Model, enter your parameters using the input boxes as shown.

Click the appropriate tab to select the Process Model or Disturbance Model input form

Enter the model parameters in the input boxes provided

Click the Preview New Process Model icon to view your model

Tabs permit you to see your model both in the time domain and Laplace domain. You may also change the accuracy of the numerical solution method. The more accurate methods are slower as they use

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

more computing resources. High accuracy is valuable when solving text book problems but of uncertain value when solving problems in the highly uncertain real world.

The input form for the nonlinear schedule model is shown below. The nonlinear schedule requires that you enter three linear models at each of three operating levels, or process variable basis values.

Click the model list to change model form

The nonlinear model schedule requires entry of three linear models, each for a different operating level or process variable basis value

The nonlinear simulation method exploits the fact that:

  • a linear model can accurately describe the behavior of a nonlinear process for a narrow range of operation, and
  • nonlinear behavior can be simulated by averaging the dynamics of multiple linear models.

During simulation, Control Station identifies the two linear models whose basis values bracket the current value of the measured process variable. The dynamic behavior of these two linear models are then interpolated to simulate the nonlinear behavior of the process.

As would be expected, the closer the measured process variable is to a particular basis value, the more weight that linear model is given in the interpolation. If the current measured process variable is outside the bounds of the basis values, the dynamics of the two closest models are extrapolated.

After entering your model parameters, click Done to start the simulation. The measured process variable, controller output and disturbance variable will all start up at 50 and will be limited in range to between 0 and 100 throughout the simulation. These are the default zero and span values.

If you are interested in zeros and spans for a specific process, then these default values are inappropriate. The Zeros and Spans tab permits custom values to be entered.

The form on the next page shows the maximum, minimum and start up values for a process where the initial or startup value of the measured process variable is 16.4, the initial or startup value of the controller output signal is 70, the startup value of the disturbance variable is 47, and all variables can assume a minimum value of 0 and a maximum value of 100.

After entering appropriate values, click Done at the bottom of the form to start the simulation.

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

Multi-Loop Process If you choose Multi-Loop Process, Custom Process launches as shown below. The left half of the screen lists the six models that define a multi-loop simulation. Next to the model list are deviation bar displays for the two control loops. The right side of the screen shows a block diagram graphic of the multivariable custom process and the pathways that information travels among the models.

A complete multi-loop simulation is comprised of six models

  • models for process 1 (CO1 to PV1) and process 2 (CO2 to PV2)
  • two interaction models (CO1 to PV2) and (CO2 to PV1)
  • two disturbance models (D1 to PV1) and (D2 to PV2)

While it is only necessary to define the disturbance models if they are being used in the study, the process and interaction models must be entered to create a meaningful multivariable investigation.

To import a model previously saved to disk:

- Click File on the menu list, and choose Import Model Parameters from File or..... - Click the Import button below the deviation bars

To toggle between the two multi- loop display screens:

- Click Task on the menu list, choose Toggle or..... - Click the Toggle icon on the tool bar

Like the single loop custom process, you may import a previously saved multi-loop process simulation by clicking File on the menu list and choosing Import Model Parameters from File, or clicking the Import button located beneath the deviation bar displays. Saving a simulation you have created is achieved with the analogous Export selection.

The multi-loop custom process actually has two displays. The edge of the second screen can just be seen in the figure above. To toggle to the other screen, click Task on the menu list and then click Toggle, click the Toggle icon on the tool bar, or click the edge of the screen currently in back.

The back display is shown on the next page. The left half of the screen shows a menu list, a tool bar and four moving strip charts. The upper two strip chart track CO1 and PV1 and the lower strip charts track CO2 and PV2. The right side of the screen shows the same block diagram graphic of the multivariable custom process.

Control Station^ User Guide by Douglas J. Cooper Copyright  2004 by Control Station LLC

To construct a model:

- Click Tasks on the menu list, choose the model block of interest, and then Construct Model

or.....

- Click the appropriate model block icon on the block diagram graphic

Construction of a multi-loop simulation follows the procedure detailed for the single loop custom process. To input a model for a particular block, click Tasks on the menu list, choose the model block of interest and choose Construct Model, or click the appropriate model block icon on the block diagram graphic as shown above. This opens the Construct Process and Disturbance Model menu shown below.

Click the appropriate tab to call up a model input form

Click the Model List below the Process tab to select the desired model form

Enter the model parameters in the input boxes provided

Use the Zeros and Spans tab to enter those values.

Click Done to start the simulation

Choose the desired model form and enter the model values into the input boxes. Specify the zeros and spans using that tab. Click Done to start the simulation.

Once the simulation has begun, all features previously discussed, including Design Tools , the controller library, and the graphing and printing utilities, are available as needed.