Merge pull request #347 from iEli2tyree011/master

Proof TVCINITIALIZE (#268)
This commit is contained in:
Chris Garry 2018-09-06 02:50:15 +09:00 committed by GitHub
commit 44951f0c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@
EBANK= BZERO EBANK= BZERO
TVCDAPON LXCH BANKRUPT # T5 RUPT ARRIVAL (CALL BY DOTVCON - P40) TVCDAPON LXCH BANKRUPT # T5 RUPT ARRIVAL (CALL BY DOTVCON - P40)
EXTEND # SAVE Q REQUIRED IN RESTART (MRCLEAN AND EXTEND # SAVE Q REQUIRED IN RESTARTS (MRCLEAN AND
QXCH QRUPT # TVCINIT4 ARE ENTRIES) QXCH QRUPT # TVCINIT4 ARE ENTRIES)
MRCLEAN CAF NZERO # NUMBER TO ZERO, LESS ONE (MUST BE ODD) MRCLEAN CAF NZERO # NUMBER TO ZERO, LESS ONE (MUST BE ODD)
# TVC RESTARTS ENTER HERE (NEW BANK) # TVC RESTARTS ENTER HERE (NEW BANK)
@ -125,7 +125,7 @@ TVCINIT1 LXCH BANKRUPT
CAE EKTLX/I # SCALED AT 1/(8 ASCREV) OF ACTUAL VALUE CAE EKTLX/I # SCALED AT 1/(8 ASCREV) OF ACTUAL VALUE
TS KTLX/I TS KTLX/I
TCR S40.15 # COMPUTE 1/CONACC, VARK TCR S40.15 # COMPUTE 1/CONACC , VARK
TVCINIT2 CS CNTR # PICK LM-OFF,-ON VALUE FOR FILTER PERIOD TVCINIT2 CS CNTR # PICK LM-OFF,-ON VALUE FOR FILTER PERIOD
INDEX A # DETERMINATION: INDEX A # DETERMINATION:
@ -145,7 +145,7 @@ TVCINIT2 CS CNTR # PICK LM-OFF,-ON VALUE FOR FILTER PERIOD
INDEX CNTR # PICK UP LEM-OFF,-ON KPRIME INDEX CNTR # PICK UP LEM-OFF,-ON KPRIME
CAE EKPRIME # SCALED (100 PI)/16 CAE EKPRIME # SCALED (100 PI)/16
EXTEND EXTEND
MP KPRIMEDT # (TVCDT/2, SC.AT B+14 CS) MP KPRIMEDT # (TVCDT/2, SC.AT B+14CS)
LXCH A # SC.AT PI/8 (DIMENSIONLESS) LXCH A # SC.AT PI/8 (DIMENSIONLESS)
DXCH KPRIMEDT DXCH KPRIMEDT
@ -219,9 +219,9 @@ TVCINIT4 CAF ZERO # SET TVCPHASE TO INDICATE TVCDAPON-THRU-
CAF BIT13 # IF ENGINE IS ALREADY OFF, ENGINOFF HAS CAF BIT13 # IF ENGINE IS ALREADY OFF, ENGINOFF HAS
EXTEND # ALREADY ESTABLISHED THE POST-BURN EXTEND # ALREADY ESTABLISHED THE POST-BURN
RAND DSALMOUT # CSMMASS (MASSBACK DOES IT). DON'T RAND DSALMOUT # CSMMASS (MASSBACK DOES IT). DONT
EXTEND # TOUCH CSMMASS. IF ENGINE IS ON, EXTEND # TOUCH CSMMASS. IF ENGINE IS ON,
BZF +3 # THEN IT'S OK TO DO THE COPYCYCLE BZF +3 # THEN ITS OK TO DO THE COPYCYCLE
# EVEN BURNS LESS THAN 0.4 SEC ARE AOK # EVEN BURNS LESS THAN 0.4 SEC ARE AOK
CAE MASSTMP # COPYCYCLE CAE MASSTMP # COPYCYCLE
@ -368,21 +368,21 @@ CSMN10 DEC .99999 # N10 CSM ONLY FILTER COEFFICIENTS
LBN10 DEC +.99999 # N10 LOW BANDWIDTH FILTER COEFFICIENTS LBN10 DEC +.99999 # N10 LOW BANDWIDTH FILTER COEFFICIENTS
DEC -.3285 # N11/2 DEC -.3285 # N11/2
DEC -.3301 #N12 DEC -.3301 # N12
DEC -.9101 #D11/2 DEC -.9101 # D11/2
DEC +.8460 #D12 DEC +.8460 # D12
DEC +.03125 #N20 DEC +.03125 # N20
DEC 0 #N21/2 DEC 0 # N21/2
DEC 0 #N22 DEC 0 # N22
DEC -.9101 #D21/2 DEC -.9101 # D21/2
DEC +.8460 #D22 DEC +.8460 # D22
DEC +.50000 #N30 DEC +.5000 # N30
DEC -.47115 #N31/2 DEC -.47115 # N31/2
DEC +.4749 #N32 DEC +.4749 # N32
DEC -.9558 #D31/2 DEC -.9558 # D31/2
DEC +.9372 #D32 DEC +.9372 # D32
CSMCFADR GENADR CSMN10 # CSM ONLY COEFFICIENTS ADDRESS CSMCFADR GENADR CSMN10 # CSM ONLY COEFFICIENTS ADDRESS
HBCFADR GENADR HBN10 # HIGH BANDWIDTH COEFFICIENTS ADDRESS HBCFADR GENADR HBN10 # HIGH BANDWIDTH COEFFICIENTS ADDRESS
@ -392,7 +392,7 @@ LBCFADR GENADR LBN10 # LOW BANDWIDTH COEFFICIENTS ADDRESS
NZERO DEC 51 # MUST BE ODD FOR MRCLEAN NZERO DEC 51 # MUST BE ODD FOR MRCLEAN
NZEROJR DEC 23 # MUST BE ODD FOR MCLEANJR NZEROJR DEC 23 # MUST BE ODD FOR MCLEANJR
ATTLIM DEC 0.00833 # INITIAL ATTITUDE EROR LIMIT (1.5 DEG) ATTLIM DEC 0.00833 # INITIAL ATTITUDE ERROR LIMIT (1.5 DEG)
1/ATTLIM DEC 0.007325 # .007325(ERROR) = 0 IF ERROR < 1.5 DEG 1/ATTLIM DEC 0.007325 # .007325(ERROR) = 0 IF ERROR < 1.5 DEG
TCORR OCT 00005 # CSM TCORR OCT 00005 # CSM