3
Simulink
Simulink
Simulink
-
() Microsoft Word ( Times New Roman, 12 , 1,5 , ).
,
,
, (. ): , , .
Matlab. Courier New, .
. .
, ,
( ), , , , , /.
.
( ) , ,
.
, [1]
.
-
,
-
.
Matlab | |
1. Simulink Matlab simulink . | simulink |
2. Simulink Library Browser. | File New Model |
3. Transfer Fcn ( ) Simulink Library Browser ( Continuous) . | Numerator [K] Denominator [Ts 1 0] |
4. . | |
5. Transfer Fcn, , , . , . | |
6. lab3.mdl[2]. | File Save |
7. . | Ctrl+I Ctrl+R. |
8. , , . | , Format - Flip name |
9. . | , Format Background color |
10. Sum Math Operations . | |
11. , ( ). | , |+- List of signs |
12. Step Sources . . | |
13. 0 10 ( 10 ). | , 0 Step time 10 Final value |
14. . | , Ctrl , |
15. Scope () Sinks . . | |
16. , Scope ( , ), ( ). . | , , , . |
17. , , . . | Edit Copy model to clipboard |
18. 100 . | Simulation Simulation parameters 100 Stop time |
19. . | |
20. , . | |
21. , | |
22. , | |
23. , Scope Matlab , , ( ). | Data history Variable name: phi () delta () Format: Array |
24. . | |
25. Matlab . . | figure(1); |
26. 2 . subplot , , , [3]. | subplot(2, 1, 1); |
27. . plot , . , . | plot(phi(:,1),phi(:,2)); |
28. . | title(''); |
29. . LaTeX, , \phi , \delta . | xlabel(', '); ylabel('\phi, '); |
30. , delta, . | subplot(2, 1, 2); plot(delta(:,1),delta(:,2)); title(' '); xlabel(', '); ylabel('\delta, '); |
31. . | print -dmeta |
32. . | , Delete. |
33. Sum Math Operations . , .. | ++| List of signs |
34. , . - , , . | |
35. , , 2 . . . . | . 2 Final Value |
36. . | Edit Copy model to clipboard |
37. 500 . , 10 . | Simulation Simulation parameters - Stop time |
38. -. , . | |
39. . 10 , 2 . ? | |
40. Matlab . , . | phi0 = phi; delta0 = delta; |
41. , . , -. , . . | |
42. . , 10 . | |
43. -. , . | |
44. . . ? | |
45. 2 - -. plot , .. . legend , . | subplot(2, 1, 1); plot(phi0(:,1), phi0(:,2),... phi (:,1), phi(:,2)); title(''); xlabel(', '); ylabel('\phi, '); legend('-',... '-'); |
46. 2 - -, delta0 delta. | |
47. . . | |
48. -. | |
49. -. ? | [gm,phim] = margin(W) gm = 20*log10(gm) |
|
|
|
|
, | ,/ | , | , | |
16.0 | 0.06 | |||
16.2 | 0.07 | |||
16.4 | 0.08 | |||
16.6 | 0.07 | |||
16.8 | 0.06 | |||
17.0 | 0.07 | |||
17.2 | 0.08 | |||
17.4 | 0.07 | |||
17.6 | 0.06 | |||
17.8 | 0.07 | |||
18.0 | 0.08 | |||
18.2 | 0.09 | |||
18.4 | 0.10 | |||
18.6 | 0.09 | |||
18.8 | 0.08 | |||
19.0 | 0.07 | |||
19.2 | 0.08 | |||
19.4 | 0.09 | |||
19.6 | 0.10 | |||
18.2 | 0.0694 |
|
|