# Category : Word Processors

Archive : CSMP.ZIP

Filename : PAGE217

E1 = 0.0

Q1 = 0.0

B2 = 0.0

Q2 = 0.0

PARAM K=326.

DYNAMIC

INPUT = STEP( 0.1 )

ERROR = INPUT - OUT

OUT = INTGRL( 0.0, X2 )

X2 = INTGRL( 0.0, X2D )

X2D = X3 - 5.71*X2

X3 = INTGRL( 0.0, X3D )

X3D = X4 - 5.71*X3

X4 = K * X5

X5 = ZHOLD( A1, Q )

A1 = IMPULS( 0.0, .1 )

PROCEDURE Q = DUMMY( ERROR, E1, E2, Q1, Q2, A1 )

IF( A1.EQ.1. .AND. KEEP.EQ.1. ) THEN

Q = .19185*ERROR - .29368*E1 + .10469*E2 ...

+ 1.42358*Q1 - .42643*Q2

E2 = E1

E1 = ERROR

Q2 = Q1

Q1 = Q

ENDIF

ENDPRO

METHOD RKSFX

TIMER FINTIM=8., OUTDEL=.16, DELT=.01

PRINT INPUT,ERROR,OUT

PRTPLT OUT(INPUT),ERROR(OUT)

LABEL SECOND ORDER DIGITAL CONTROLLER SIMULATION

END

STOP

ENDJOB

Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/