. , , ,

,,,

- —

ѻ

:

 

 

 

 

 

-074

230201

:

-02068108-230201-2010

. .

2010


1. . . . -.

2. S- -

3.


, , , .

, , , .

: , , , .

: , , , - pa6o , .

. , - . , - , . , . .

: , . , . , , . - - . , , .


1. . . . -.

() , .

, .

, .

.

() (. ), Y (PV=X) SP. .

(Y) , . , :

, .

, .

́ , , - , . , , (, , ). , .

. , . . , , . , , .. .

, . (, ) .

. , . () (), ; , ; : ; , , , . .

, . ( ).

, . , .

. , , , , , . . , .

, , , ( ), . , . , . , , .

, , , .

. , . , .

, - , . , , , . . , , .

, , , , , , , .

, , . , , , , .

. , , () - .

. , , , , . : , , , .

:

1) , , , ;

2) ;

3) , , ;

4) , ;

5) .

:

1) , , ;

2) .

, . . .

. .

( , )

, , , . , , . , , .

. , , 1 (, ), - (, : - , ). , ( ), . , , , , .

, . . . .

, . , , .

( , )

. . , , . .

, ( )

- (, ). .

- . . : , , , .. , . . . , , , .

-, :

- ( )

Ti d.

1 - -. T.

, , - - (- -), , , .

. 1


- .

:

Y Z , X0. b .

.

, . , .

. .

, - , . .

, , 27- J. G. Ziegler 33- N. B. Nichols, 1941 "Taylor Instruments" (. , -).

() , -, , , .

J. G. Ziegler N. B. Nichols .

, -, - -, .

-, - - () - .

1. ( . , . , - i , d 0.);

2. ;

3. , ;

4. T;

5. , , . . PBs (s, );

6. , . . 50, ;

7. , ;

8. .

, . . 2, -, - - - , . 51 .

.2

-

() (, , ) , , () , () ( -8).

, : -1,50; , - 1,5 . , (), , .

() , , .

- . , . , , , . , .

, .

́

́ . . . . , . 1879.

: , , , . , . , , , , - , , . .

, ³ ³, 150 /² (1500 /²) 500 C. , . , . . 3-6 15 20 ( , 2- ).

( , , ); ( , ); ( ); ( ); . . , . , .

. . . , ( ). (), (), , ().

, , , . . ., , . .

, . .. : . . . ; ; . . , , . , . , ; , ; . . . 0,008 0,04.

, . : , , ( , ), "". : , .

, . , . " " , , . ., .0,5*. .

. :

;

;

.

.

. , .

.

"" "" .

, , , . , (, ) .

( ). . . . .

, , . .

2. S-

 

Switch

:

.

:

Threshold .

:

, , Threshold, () . , , () .

, 1, , , Ground. 100.


Constant

:

.

:

1. Constant value - .

2. Interpret vector parameters as 1-D ( ). Simulink. .

, , .

Transfer Fcn

:

Transfer Fcn :

,

nn nd , num , den .

:

Numerator

Denominator -

Absolute tolerance .

. . , , ( ).

 

Fcn

:

C .

:

Expression , . , .

:

. u, . , . , u(1) u(3) .

.

(+ * /).

(= = != > < >= <=).

(&& | | !).

.

: abs, acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor, hypot, ln, log, log10, pow, power, rem, sgn, sin, sinh, sqrt, tan, tanh.

. , . , A(1,1) - A.

(FALSE) (TRUE).

, , ( ):

( )

+ ()

! /

+ ()

< <= >=

= !=

&&

| |

. .


 

Gain Matrix Gain

:

.

:

Gain .

Multiplication . ( ):

- Element-wise K*u .

- Matrix K*u . .

- Matrix u*K . .

Saturate on integer overflow () . .

Gain Matrix Gain , Multiplication. Gain , , 1. , , . Multiplication Element-wise K*u, . . double. , , (boolean). . , . Gain , , (boolean).

Gain :

, , .

, Simulink . , , . , , (uint8), Gain .

Derivative

:

.

:

.

:

,

u t,

t .

. . . .

. Derivative .

lntegrator

:

.

:

External reset . , . :

none ( ),

rising - ( ),

falling - ( ),

either ,

level ( );

, - ( none), , . .

Initial condition source . :

internal

external . , x0, .

Initial condition . . , .

Limit output () .

Upper saturation limit . , inf, + .

Lower saturation limit . , inf, - .

Show saturation port , , . :

, .

+1, .

-1, .

Show state port () / . , . , . .

Absolute tolerance .

Sum

:

.

:

Icon shape . .

- round ,

rectangular .

List of sign . :

+ (), - () | ( ).

Saturate on integer overflow () . .

( ) List of sign, . List of sign . .

3, Sum .

, . . , , .

, , . .

1 ( ), .


. Simulation/Parameters. .

.

4 :

Solver () .

Workspace I/O (/ ) MATLAB.

Diagnostics () .

Advanced () .

, Solver. : Simulation time ( , , ), Solver options ( ), Output options ( ).

Simulation time ( )

(Start time) (Stop time) . , , . .

Solver options ( )

(Type) . Type - c (Fixed-step) (Variable-step) . , Variable-step , a Fixed-step - .

. (discrete) . . (Variable-step) (Fixed-step) , , , . MATLAB.

Type , . Fixed-step Fixed-step size ( ) (. . 7.2). (auto). auto , ( ).

. Solver

Fixed-step (Mode). Mode :

MultiTasking () , , . , .

SingleTasking () - , .

Auto ( ) - Simulink MultiTasking , SingleTasking , , .

Variable-step :

step size - . (auto) (SfopTime StartTime)/50. , ( ) . .

in step size - .

Initial step size - .

: (Relative tolerance) (Absolute tolerance). 10-3 auto.

Output options ( )

Solver (Output options). :

Refine output ( ) , MATLAB Workspace. Refine factor, . Refine factor 1, , D t = 1 ( :). Refine factor 2, , , 3 - . . Refine factor

Produce additional output ( ) ; ( Output times) , . (D t) 1. Output times .

Produce specified output only ( ) , Output times ( ).

, MATLAB , Workspace I/O (.).

. Workspace I/O


3 :

Load from workspace ( ). Input ( ) , , MATLAB. Initial State ( ) , . , Input Initial State, In ( Sources).

Save to workspace ( ) MATLAB .

Save options ( ) . Limit rows to last , ( ). , . Decimation () ( Refine factor Solver). Format ( ) . Array (), Structure (), Structure With Time ( ).

Diagnostics (. 7.4) , Simulink MATLAB, .

, Simulink MATLAB. Diagnostics. , Action ( , ):

None ,

Warning - ,

Error .

.

. Diagnostics

Simulation/Start. . , Simulation/Stop . (Simulation/Pause) (Simulation/Continue).

Scope

:

. .

, . ( , , ). , , .

(.)

. Scope

11 :

Print .

Parameters .

Zoom .

Zoom X-axis .

Zoom Y-axis .

Autoscale .

Save current axes settings .

Restore saved axes settings .

Floating scope .

Lock/Unlock axes selection / . , Floating scope.

Signal selection . , Floating scope.

3.

-,

Proportionality coefficient ()

Integrator coefficient + Integrator - ()

Derivative coefficient + Derivative - ( ) ()

(101 100) . , ,

,

, 100 500, 500, 500, .. . 2 , , 100,


, ..

.


-, - - . , , ,


-


, ,




500 800.



 

-.

, .

- . :

- (), ;

- , .

-, -, - -, , .

, , .

- .

, , , , . .. . , .

-, .

- :


1. .. . . .: , 2009. 163 .

2. .. GPSS: . : , 2007. 112 .

3. Alex Demyanenko, Control theory. PID Controller, - Copyright 2007 - 2009

4. .., .., .. : . : , 2007. 212 .

5. .., .. . : . : , 2006. 264 .

6. . MATLAB. : , 2005.

ѻ :

 

 

 

! , , , .
. , :