Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Institut de Technology du Cambodge

Department of Electric and Energy Engineering

REPORT OF FEEDBACK CONTROLL SYSTEM


GROUP: I3-GEEA-1-AA14
TP-03: Temperature Control of Heating Element with STM32 MCU

Name of Students ID of Students


DIN SOPHEAK PANHA e20210711
CHRAY BUNHENG e20210410
CHROENG SREY ROTH e20211327
CHUM PROEUN SOVISAL e20210883
CHUN SOMNANG e20211295
DEAB MAKARA e20210868

Lecturer: Mr. IT CHIVORN(Course & TD)


Mr. IT CHIVORN (TP)
Institute of Technology of Cambodia Feedback Control and System(I3GEE)
Electrical and Energy Department TP03: Temperature Control of Heating

1. Task to be solved
1.1. Heating element data experiment
1.1.1. Connect the heating element to a fixed power supply and recode in the following table.
There will be a temperature module, power supply, multimeter, and PTC heating element.
Recommend to use the video recorder since when the input voltage is applying the
temperature is increased against time.
Table 1. data behavior of heating element

N# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Voltage (V) 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
Current (A) 1.81 2.33 2.62 2.80 2.89 2.88 2.79 2.62 2.43 2.26 2.13 2.01 1.90 1.81 1.69

Resistor (Ω) 5.524 4.291 3.816 3.571 3.460 3.472 3.584 3.816 4.115 4.424 4.694 4.975 5.263 5.524 5.917
Temp (℃) 35 45 55 65 75 85 95 105 115 125 135 145 155 165 180

Time (s) 0 41 67 87 104 120 135 149 163 177 192 207 228 253 317

Power(w) 18.1 23.3 26.2 28 28.9 28.8 27.9 26.2 24.3 22.6 21.3 20.1 19 18.1 16.9

1.1.2. Plot the data experiment from 3.1.1 using “subplot” with following grid.
In MATLAB:

1. clear
2. clc
3. close all
4. figure;
5. subplot(2,2,1)
6. t = [0 41 67 87 104 120 135 149 163 177 192 207
228 253 317];
7. T = [35 45 55 65 75 85 95 105 115 125 135
145 155 165 180];
8. plot(t,T,'r.-');
9. xlabel('Time');
10. ylabel('Temperature');
11. title('Time vs Temperature');
12. legend('T(t)');
13. grid on;
14. subplot(2,2,2);
15. t = [0 41 67 87 104 120 135 149 163 177 192 207
228 253 317];
16. R = [5.524 4.291 3.816 3.571 3.460 3.472 3.584 3.816 4.115 4.424 4.694
4.975 5.263 5.524 5.917];
17. plot(t,R,'b.-');
18. xlabel('Time');
19. ylabel('Resistor');
20. title('Time vs Resistor');
21. legend('R(t)');
22. grid on;
23. subplot(2,2,3);

2|Page
Institute of Technology of Cambodia Feedback Control and System(I3GEE)
Electrical and Energy Department TP03: Temperature Control of Heating

24. T = [35 45 55 65 75 85 95 105 115 125 135


145 155 165 180];
25. R = [5.524 4.291 3.816 3.571 3.460 3.472 3.584 3.816 4.115 4.424 4.694
4.975 5.263 5.524 5.917];
26. plot(T,R,'k.-');
27. grid on;
28. xlabel('Temperature');
29. ylabel('Resistor');
30. title('Temperature vs Resistor');
31. legend('R(T)')
32. subplot(2,2,4);
33. t = [0 41 67 87 104 120 135 149 163 177 192 207
228 253 317];
34. P = [18.1 23.3 26.2 28 28.9 28.8 27.9 26.2 24.3 22.6 21.3
20.1 19 18.1 16.9];
35. plot(t,P,'m.-');
36. xlabel('Time');
37. ylabel('Power');
38. title('Temperature vs Power');
39. legend('P(t)')
40. grid on;

Results:

Time vs Temperature Time vs Resistor


200 6
T(t) R(t)
5.5
150
Temperature

5
Resistor

100 4.5

4
50
3.5

0 3
0 50 100 150 200 250 300 350 0 50 100 150 200 250 300 350
Time Time

Temperature vs Resistor Temperature vs Power


6 30
R(T) P(t)
5.5

5 25
Resistor

Power

4.5

4 20

3.5

3 15
0 50 100 150 200 0 50 100 150 200 250 300 350
Temperature Time

Figure 1.1 plot grid data experiment

3|Page

You might also like