• No results found

7.2 Comparison of the test rig test results with the Simulink

7.2.5 Controller settings

In the test rig the controllers transform a error signal to a position of the valve in a percentage of how far the valve is open. In the Simulink simulation model the controllers transform a error signal to a position of the valve in an amount of steps made. This difference leads to another order of the P-, I- and D- values.

Furthermore, almost each controller in the test rig has during a performance test approximately ten different P-, I- and D- settings. At almost every change of speed of the compressor or a different set- point pressure at the outlet of the compressor the P-, I- and D- settings are changed. In the simulation model there are just 5 changes of P-, I- and D- settings available. This difference leads also to a harder comparison between the P-, I- and D-action of the test rig and the Simulink simulation model controller settings.

However, it is possible to see some trends in PID settings during a pressure set-point change or a change in compressor speed, which corresponds to both the PID settings of the test rig controllers and the simulation model controllers. To show such a trend, the settings of the controller which controlls the STCV-1B (PID-101B) are outlined below. Experience has shown that this controller is the most difficult controller to control. Table 7.1 shows the settings of controller PID-101B during a compressor pressure output set- point change for both the test rig controller and the Simulink simulation model controller. From the table can be seen that the P- and I- values for both the test rig controller and the simulation model controller are the highest at a speed of6000 RPMand followed by the values for both the test rig controller and the simulation model controller at a speed of1800 RPM.

Set-point pressures - Speed compressor 14 bar−6000 RPM 19 bar−4000 RPM 17 bar−1800 RPM

PID-101B of the test rig P: 60 I: 240 D: off P: 19 I:32 D: 8 P: 20 I:140 D: off PID-101B of the simulation model P:1.8 I:0.15 D:1 P:1.2 I:0.08 D:0.5 P:1.5 I:0.12 D:0.3

CHAPTER

8

CONCLUSIONS AND RECOMMENDATIONS

There are two simulation models of the VCC made: a simulation model in xCos and a simulation model in Simulink. Conclusions and recommendations about the xCos model are already given in section 5.2. The most important conclusion about xCos was that it is rejected, because it is not reliable. The re- mainder conclusions and recommendations for the report are given in section 8.1 and 8.2, respectively.

8.1

Conclusions

• The Simulink simulation results show many similarities with the test rig test results (with the excep- tion of the start-up phase). Mainly the inlet conditions of the compressor (pressure, temperature and superheat) are quite the same for both models. The biggest difference between the two mod- els is the pressure of the condenser, because of the absence of heat transfer coefficients between the R134a loop and the water loop.

• The start-up phase of the Simulink model gives in most cases unreliable thermodynamic quanti- ties, because the compressor is not rotating yet. There are no mass flows present in the system, which means the used energy and mass balances in the model are not applicable.

• The Simulink simulation model is flexible in terms of changing input values and changing the sim- ulation time. In the function ’input.m’ (see Appendix G.3) all the input variables can be changed easily. Also the total simulation time can be changed through changing the value of the called vari- able ’factor’ in the function ’StepResponse end2’ (see Appendix G.2). Also changing PID-settings and adding position limits to valves (by changing the saturation values in the right controllers) is very easy.

• Simulink simulates approximately 15 times faster than the real test rig, which is a big advantage. Running one simulation of a model with this complexity in xCos will take much more time then doing the same simulation with Simulink.

8.2

Recommendations

• In the process scheme given in appendix B.1 can be seen that there is also an oil mass flow prevent in the cycle, branding together after the hot gas bypass valve. This mass flow is also available in the mixing vessel and will result into a higher inlet temperature of the compressorm˙oil

in mixing chamber. This results in a more superheated gas at the inlet of the compressor and thus into a less critical system.

• In the current simulation model the output pressure of the compressor is independent of the com- pressor characteristics. There is a compressor model with the software Mathcad. In this model the pressure ratio is calculated with among others the use of a chosen efficiency, calculated mass flow and a given rotational speed. A similar model can be made in Matlab and implemented in Simulink which will improve the accuracy of the model.

• It became clear that it is very important to include limits to the extreme valve positions to get a robust simulation model. For example, limiting the STCV-1B to maximum 5 % and limiting the SPCV-1B to minimum 2 % reduces the chance that liquid refrigerant goes into the compressor. This kind of limits are also set to the valves in the real test rig.

• Some assumptions made in the Simulink simulation model are not sufficiently validated. There are time delays calculated based on reference values and with many assumptions, given in section 4.2.3. These delays are constant for each different speed. However, the only variable that changes and needed to calculate the time delay is the volume flow, which depends on the mass flow and the associated density. These two variables are both known and can be used to calculate the time delay dynamically. Another assumption made is the length of the pipelines, which are assumed based on the existing pictures of the test rig and with the help of an employee of Aeronamic who

has seen the test rig in real life. Since the test rig is arrived at Aeronamic Almelo it is possible to measure the length of the pipelines to get more accurate values for the time delays used in the simulation model.

• There are some warnings (mainly algebraic loop warnings) given by Simulink Diagnostic Viewer during a simulation. These warnings may effect for example the simulation result or the simulation speed. It is important to remove all the warnings to make sure that the results are not influenced by them.

• The signal converter equations given in section 4.2.2 are based on the results of some experi- ments done with a valve under different operating conditions and air as a medium. It is better to do a certain amount of experiments for each valve in the test rig under the same conditions as in the test rig to find relations between the position of a valve, the pressure drop over a valve and the mass flow through a valve.

• The 2D look-up tables have an insufficient amount of data points, resulting sometimes in an inter- polation between a value on the liquid side and a value on the vapor side of the Mollier diagram. A recommendation is adding higher resolution input Matlab Data arrays into the 2D look-up tables. • The controller settings of the test rig and the Simulink simulation model are not directly compa-

rable, mainly through different output quantities of the controller. The controller in the Simulink simulation model must also transform the input error signal to a position of the valve in a percent- age of how far the valve is open. This will lead to the same order of P-, I- and D- values and the controller settings of both cases will be easier to compare.

• In the Simulink simulation model the mass flow is regulated by PID controllers to reduce the large fluctuations in the massflow values of through the compressor (see section 7.2.3). The mass flow through the compressor is equal to: m˙ =Vchamber1∗ρ1∗N(see equation 2.2). Making 2D look-up

tables with higher resolution input Matlab Data arrays will reduce the large fluctuations and make it possible to use the density at the inlet of the compressor to calculate the mass flow through the compressor. A function for the increase and decrease of the speed of the compressor comparable with the speed of the compressor from the test results must be written. All these changes will lead to a more reliable result of the Simulink simulation model.

REFERENCES

[1] National Institute of Standards and Technology,http://www.nist.gov/, 2015

[2] U.S. Secretary of Commerce on behalf of the United States of America, NIST Standard Reference Data,http://webbook.nist.gov/chemistry/f luid/, 2011

[3] Baulinks, Neues Planungshandbuch von Viessmann fr Wrmepumpen, http :

//www.baulinks.de/webplugin/2012/0001.php4, January 2012

[4] Akpobi and Ajayi , ”Design and Construction of a Scroll Compressor of an Automobile Air Condi- tioning,” J. Appl. Sci. Environ. Manage. June, 2007, Vol. 11 (2) 33 - 41

[5] Chen Rong and Wang wen, ”Discussion on leaking characters in meso- scroll compressor,”Else- vier, October 2007

[6] Parker Hannifin Corporation, Sporlan Division, Electric Hot Gas Bypass Valves, http :

//www.parker.com/, March 2010

[7] Parker Hannifin Ltd, Refrigeration and Air Conditioning Europe, Sporlan Electric Expansion Valves Valves,https://www.rsdtotalcontrol.com/f x/assets/item/218.pdf , September 2008 [8] LNS, commercial components, Stepper Motor Discharge Bypass Valves SDR 3, 3X,

SDR4 / Pressure Regulating Valves, http : //www.lns.com.pl/en/products/commercial −

components/parker−sporlan−19/pressure−regulating−valves −1/2stepper −motor−

discharge−bypass−valves−sdr−3−3x−sdr4, 2012.

[9] Rsdtotalcontrol, Sporlan Electric Expansion Valves, https :

//www.rsdtotalcontrol.com/f x/assets/item/218.pdf, 2008.

[10] Bray Controls Commercial Division (17 May 2011), DMS24-27 (-A) Series Proportional Electric Spring Return Actuators, p.10-11

[11] CU Aerospace, Products, http : //www.cuaerospace.com/P roducts/T HERM OSY S −

M AT LABT oolbox.aspx, 2010

[12] National Institute of Standards and Technology, NIST Reference Fluid Thermo- dynamic and Transport Properties Database (REFPROP): Version 9.1, http :

//www.boulder.nist.gov/div838/theory/ref prop/F requently asked questions.htm, Sept. 22,

2014.

[13] GCSE Bitesize, Science, Specific heat capacity, http :

//www.bbc.co.uk/schools/gcsebitesize/science/aqa/heatingandcooling/buildingsrev3.shtml

APPENDIX

A

MOLLIER DIAGRAM

A.1

Ph-diagram 4000 RPM

Figure A.1: Ph- diagram

A.2

Ts- diagram 4000 RPM

APPENDIX

B

B.1

Process scheme VCC

2

3

4

5

6

7

1

B.2

Process scheme VCC (2)

APPENDIX

C

TEST MEASUREMENT

C.1

Test measurement

There are done some test measurements with a globe valve (see figure C.1) with different mass flows. The main target of this measurement was to find a global relation between the position of the piston in a pipeline and the associated pressure drop. One of the test results is explained below.

Figure C.1: Principle of a globe valve

The used pressure sensor was able to measure pressures up to 8 bar, so the maximum available mea- sured pressure drop was approximated 7 bar. The maximum stroke of the plug is approximately18 mm. As can be seen in figure C.2 the test was intermitted at a position of the valve equal to approximately

15 mm. At this position of the pressure drop was equal to 6 bar, which comes near the limit of the sensor range. The mass flow is set constant on80 g/sduring the test. The measured pressure drop in the working range is approximated by a third order curve, which is the blue line in the figure below. There could be chosen to approximate the pressure drop by a curve which is inversely proportional, because of the present asymptote in it. However, in the working range of the used control valves the area in the neighbor of the asymptote is not the most interesting area.

APPENDIX

D

TECHNICAL DATA OF A VALVE

D.1

Technical data of the valve: Sporlan SER-A-3/8x1/2-ODF-10-S

APPENDIX

E

SIMULATION MODEL

E.1

Simulation model xCos

Related documents