2015年3月1日星期日

Final Year Project (Week 15)

Week 15

Implementation of PDF controller 

Last week, I have deduced the expression of h(x(t)), which could be used for the calculation of both Kp and Ki. So the task of this week is to implement it into Simulink and combine with previous heating system model, in order to complete the control system. The completed block can be referred as below:
The schedule is based on the equations that obtained last week. The output h(x(t)) will then connect to the PDF controller block, aimed to produce the value of both Kp and Ki for each time step (60 seconds).
However, the simulation results becomes worse when compared with the model without control system. The results is too strange to be explained. One possible reason is the value of controlled parameters change too fast, then the system can`t be stable. Another possible reason is that the integral will not stop when the heat pump limitation is met. So I tried to add an additional judgment block, which will set the integral controlled parameter to zero. The schedule is shown below even though the results indicated its useless.


2015年2月22日星期日

Final Year Project (Week 14)

Week 14

Design the PDF controller based on ASHP & Radiator & IDEAS heating system 

The task for this week is to apply the PDF control theory for my heating system. Due to the complication of the 4th order system, there needs a simplification for system equations. There are 9 equations and could be combined with three differential equations for heat pump output, temperature of water and temperature of radiator respective.

However, this is not the simplest form, because the controller parameters' value can`t be obtained from these equations directly. After a series of complicated transform, substitution and calculations, a final equation is obtained as shown below:
 Where:
Then we can find out the expression of h(x(t)), which could be used to calculated the value of two control parameters:
Then the CB can be approximate as the way that shown below, meanwhile, the value of Kp and Ki can be deduced as a dynamic form. The next step is to implement this into Simulink model, analysis the simulation results. 



2015年2月15日星期日

Final Year Project (Week 13)

Week 13

Design of PDF 

Due to the difference between PI control and PDF control, the design will not similar as what I learned before. In specific, the calculation of Kp and Ki could be explained as the notes shown below:
However, for the house model, the system time constant is very large and the closed loop transfer equation could be approximated to a more specific form. At the same time, the damping ratio could be presented, which is required to equal 1 for critical damping situation.

The theory that present above is based on a linear system. As for the 4th order heating system, the design method of PDF will be different, which is also a more general method. Hence, the value of "g" will be chosen as (1/3*tau), which means the controller time constant and is tightly relate to the SAP Responsivity. The next task is to find out the "CB", followed by designing a dynamic PDF controller for the heating system. It will be a great challenge. 

2015年2月8日星期日

Final Year Project (Week 12)

Week 12

Pseudo Derivative Feedback control 

This week I have tried to integrate the ASHP & Radiator system model into IDEAS model, but the simulation results indicates a bad heating performance.

The reason is that original controller is designed for gas boiler not heat pump. So the task for me is to design a new control system for ASHP & Radiator system. However, the ASHP & Radiator is a 4th order system, which means convention PID controller is not the most suitable one. Compared with that, the Pseudo Derivative Feedback (PDF) control method is preferred for a nonlinear controller.
The comparison between PI control and PDF control is shown as below:
It can be seen that the PDF control could make the temperature tracking more accurate without damping and overshoot. However, the response time will be slowly, which is corresponding to the controller time constant and responsive. However, the design for the PDF is not easy like the basic theory, because the ASHP & Radiator heating system is a 4th order system. So the design of the PDF will be complicated, which will based on the state space equations of the whole heating system. Meanwhile,  an approximating method may be used for the design. 

2014年12月19日星期五

Final Year Project (Week 11)

Week 11

Interim report

After a semester of work, the Final Year Project of mine has been completed as planned at the begin. A heat pump based heating system model has been completed with a good performance. The task for rest time this semester is to complete the interim report. For the next semester, the ASHP and radiator system will be integrated into IDEAS model for domestic heating task, a control system will be designed aimed a better temperature tracking and stability.



2014年12月7日星期日

Final Year Project (Week 10)

Week 10

Simulation and analysis for the heating system model

After completing the heating system model, another necessary procedure is to test its performance via varies of tests. Based on the ASHP & Rad block, 5 sets of data has been tested for designed heating system,
the data vales are shown in Table below. The expression and analysis for results are mainly focus on ASHP,max, COP, HP, HW, Rad, Tin, Tw and Treturn. For all tests, the simulated time is 3600 seconds and integration starts from the 290 second. Meanwhile, the unit for temperature is Kelvin (K) and
for heat is Watts (W).
                                                        Test data for RIDE & Rad model
There are 4 tests in total have been simulated:
Test 1: the influence for initial value of external temperature
Test 2: the influence for initial value of room temperature
Test 3: relationship of internal heat transfer
Test 4: performance of heating system when integrated into IDEAS

The results shows that the value of COP, Max heat pump output and heat pump output are all vary with the change of outside temperature and room temperature. However, the value will be stable if other factors are stable or the target temperature is achieved. These results indicates the successful of the design of both heat pump and radiator system.
The heat transfer could be found from the temperature changes, which is shown in the table below:
However, according to the temperature tracking plots that has been shown below, the temperature is around the target value but not accurate enough. In other words, the temperature tracking is not stable, meanwhile, this phenomenon will becomes more obvious when integrating the heating system into IDEAS building model. A new controller system is needed for the heating system as well as series of debugging. That's the challenge for the next semester.

2014年11月30日星期日

Final Year Project (Week 9)

Week 9 

Implementation of the heating system model

Based on the results of last week, the main task for this week is to complete the heating system model by using Simulink. This is also the target of the first half of Final Year Project. The completed model could be found as below.

It can be seen from the figure above, there are 7 blocks in total, which could be divided into ASHP and Radiator two basic parts. For the ASHP:
The block diagram of COP & ASHP,max
The block diagram of heat pump output
For the radiator system, the blocks is implemented directed from relative equations and hence will not be shown but only mention its name:
1. The block diagram of water
2. The block diagram of Tin
3. The block diagram of Rad
4. The block diagram of Urad
5.The block diagram of Treturn