Procedure

  1. Download the Analysis folder from the sbhs website. It will be available under downloads section. Download the file for SBHS Analysis Code (local & virtual). The name of the file is scilab_codes_analysis. The download will be in zip format. Extrat the downloaded zip file. You will get a folder scilab_codes_analysis.
  2. Open the scilab_codes_analysis folder and then locate and open the folder Step_Analysis.
  3. Open the Kp-tau-order1 folder.
  4. Copy the step test data file to the folder Kp-tau-order1.
  5. Change the Scilab working directory to Kp-tau-order1 folder under Step_Analysis folder.
  6. Open the file firstorder.sce in scilab editor and enter the name of the data file (with extention) in the filename field.
  7. Save and run this code and obtain the plot as shown in figure 2.4.
This code uses the routines label.sci and costf_1.sci

Figure 2.4: Output of the Scilab code firstorder.sce for data file step-data-local.txt
Image local-1-order


The results presented are obtained for the data file step-data-virtual.txt. This data file is present under the Step_Test directory for local experiments.The plot thus obtained is reasonably good. See the Scilab plot to get the values of $ \tau$ and $ K$. The figure 2.4 shows a screen shot of the same. We obtain $ \tau$ = 58.64, K = 0.23. The transfer function obtained here is at the operating point of 30 percentage of heat. If the experiment is repeated at a different operating point, the transfer function obtained will be different. The gain will correspondingly be more at a higher operating point. This means that the plant is faster at higher temperature. Thus the transfer function of the plant varies with the operating point. Let the transfer function we obtain in this experiment be denoted as $ G_s$. We obtain


$\displaystyle G_s(s) = \frac{0.23}{58.64s+1}$ (2.11)

rokade 2017-04-23