eis_template€¦ · Web view16 BIT DATA WORD 15. MSB 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 . L. S....
Transcript of eis_template€¦ · Web view16 BIT DATA WORD 15. MSB 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 . L. S....
Solar B - EISMULLARD SPACE SCIENCE LABORATORYUNIVERSITY COLLEGE LONDON Author: K. Al-Janabi
EIS Telecommanding Structure
Document Number: MSSL/SLB-EIS/SP016.01 01/12/2000
Distribution:
NRL G DoschekC KorendykeS MyersC BrownK DereJ Mariska
NAOJ H HaraT Watanabe
RAL J Lang B Kent
BU C CastelliS MahmoudG Simnett
Mullard Space Science Laboratory J L CulhaneA SmithA James .L HarraA McCaldenC McFeeR ChauderyP ThomasP CokerR GowenK Al-JanabiM Whillock
SLB-EIS Project Office A Dibbens Orig
Author: Date:
Authorised By Date:
Distributed: Date:
1
CHANGE RECORD
ISSUE DATE PAGES CHANGED
COMMENTS
01 December 2000 All new Draft release
LIST OF CONTENTS:1.0 Introduction 42.0 Solar-B TC packets structure 43.0 EIS Commanding Structure 43.1 EIS Memory management (upload/dump) commands 43.2 EIS CMD-IDS 0x20 to 0x2F 63.3 EIS PSU Commands 73.4 EIS CAM Commands 83.5 MHC Commands 123.6 EIS Sequence table Commands 25
2
Glossary and Convention:
AE Camera Analogue ElectronicsAEC Automatic Exposure ControllerBC Block Command, Solar-B Command parameterCAL CalibrationCAM CameraCMD-ID Solar-B command IDDC Discrete Command (Solar-B command header)EIS Extreme-ultraviolet Imaging SpectrometerGRA Grating GSE Ground Support EquipmentICD Interface Control DocumentMHC Mechanism and Heater controllerMMH MHC Message HeaderN/A Not ApplicableOCB On Chip Binning (CAM function)P Parameter (equivalent to BC(s))PID Power, Current and Delta MHC heater controlReg. RegisterPSU Power Supply UnitROE Camera Read-out ElectronicsSLA Slit/slot subassembly and includes the shutterSS Slit/slot mechanismVOD CCD Voltage Output DrainVRD CCD Voltage Reset DrainQCM Quartz Crystal Microbalance (contamination monitor).
Applicable references:
These references appears in [ ] brackets in this document.1 – EIS Science requirements: MSSL/SLB-EIS/SP007.012 – MDP ICU interface document: NAO/SLB-EIS/SP/MDP001.023 – EIS Mode definition: MSSL/SLB-EIS/SP0013.014 – MHC S/W ICD (ICU-MHC), V65 – CAM Commanding and HK. Email from K. Rees on the 16th Nov. 20006 – PSU Commanding and HK. Email from A. McCalden on the 17th Nov. 2000
3
1.0 Introduction:
This document describes Solar-B EIS commanding structure to be flown on Solar-B satellite. Note that some sub-systems are currently being designed and some changes are expected.
2.0 Solar-B TC packets structure:
As specified by the MDP-EIS requirements [2], EIS block commands consists of a command identifier (CMD-ID also called DC) (8 bits) followed by up to 132 bytes (command parameters also called BC), as shown below:
CMD-ID (DC) Command Parameters (BC(s))Command ID Data Area
8 bits Max. 132 bytes
Note that Solar-B command ID identifies the number and type of parameters that follows.
Within this document, all CMD-IDs and command parameters are unsigned, unless otherwise stated.
3.0 EIS Commanding Structure:
The following Command Identifiers are allocated:
CMD - IDS FUNCTION01 - 03 Status requests 1, 2 and 3 (Allocated by system side)04 – 0F Memory Dumps (Allocated by system side)E0 - EF Memory Uplink (Allocated by system side)20 – 2F Mode/miscellaneous commands30 – 3F PSU commands40 – 4F Camera commands50 –7F MHC commands80 - DF Sequence Table commands F0 - FF Spares
3.1 EIS Memory management (upload/dump) commands:
The structures of these commands are controlled by ISAS [2]. EIS memory map is as follows:
4
MEMORY TABLE ID (UPLOAD/DUMP) *
SEGMENT START ADDRESS(HEX)
END ADDRESS(HEX)
E0/05 ICU Program RAM 00 0000 0B FFFF
N/A /06 ICU PROM 0C 0000 0C 7FFF
E1/07 ICU EEPROM 0C 8000 18 7FFF
E2/08 Data RAM 00 0000 06 FFFF
E3/09 EIS Tables 07 0000(TBC)
07 FFFF(TBC)
E4/0A CCD-BUF 40 0000 7F FFFF
E5/0B Mass storage 00 0000 1F FFFF
E6/0C EIS MHC 00 0000 TBD
* The Table IDs are to be allocated by the system side. They are currently TBD in [2].
The MHC memory map structure is as follows:
DATA TYPE START ADDRESS
END ADDRESS
DESCRIPTION
RAM DUMP or UPLINK
0x00000000 0x0000FFFF 8051 RAM SPACE (Includes RAM and FPGA registers
ROM DUMP 0x00010000 0x00017FFF 8051 ROM SPACEPARAMETER TABLE DUMP
0X00020000 TBD System Parameter Table
COMMAND TRACE DUMP
0x00030000 TBD Trace of Last n commands processed
FINE MIRROR TRACE DUMP
0x00040000 TBD TBD ms of fine mirror strain gauge output / voltage drive data
COARSE MIRROR RESOLVER TRACE DUMP
0x00050000 TBD TBD steps of Motor step count vs. resolver output
SLIT / SLOT RESOLVER TRACE DUMP
0x00060000 TBD TBD steps of Motor step count vs resolver output
SHUTTER TRACE DUMP
0x00070000 TBD Shutter motion time / power history
POWER TRACE DUMP
0x00080000 TBD TBD ms power supply voltage / current trace
Note that only the MHC RAM/ROM dump requires comparison by the GSE. Other data types contain data acquired at run-time and they may widely vary from one dump to the next.
5
3.2 EIS CMD-IDS 0x20 to 0x2F:
These commands are used to control EIS modes of operations and general type commands. Note that only 3 Commands are currently defined in this group.
COMMAND NAME
FUNCTION DC(HEX
)
BC(S)(HEX)
NUMBER OF
BC(S) IN BYTES
NOTES
MODE_EN Enable mode transitions
20 P1 (byte)P1 = 01
1 This command is used when starting up the ICU (power ON or watchdog reset). This will allow transitions from configure mode to other modes [1, 3].
MODE Change mode
21 P1 (byte)P1 = 1 (Standby)P1 = 2 (Manual)P1 = 3 (Auto)P1 = 4 (Bake-out)P1 = 5 (Emergency)P1 = 6 (Engineering)
1 MODE-EN must be sent prior to sending mode change commands.
CCD_BUF_NO
Select CCD buffer number
22 P1 (byte)P1 = 0 (buffer 0)P1 = 1 (buffer 1)
1 This command is used to select the CCDs buffers (2 buffers, each capable of holding CCD0 and CCD1 image section pixels). This command should be issued prior to performing memory dump from EIS CCD-BUF. See section 3.1.
6
3.3 EIS PSU Commands:
These commands are used to control the operations of EIS PSU.
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF
BC(S) IN BYTES
NOTES
P_MHC_PWR MHC 28V Electronics power control
30 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
P_MHC_HTR MHC 28V Operational Heaters control
31 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
P-MHC_MEC MHC 28V Mechanisms control
32 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
P_CAM_LPWR CAM Logic control
33 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1 Positive & negative supplies switched together
P_CAM_APWR CAM Analogue control
34 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1 Positive & negative supplies switched together
P_CAM_HTR_0 CAM CCD0 Heater Power control
35 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
P_CAM_HTR_1 CAM CCD1 Heater Power control
36 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
P_HTRP_SET_0 CAM CCD0 Set Temperature
37 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
P_HTRP_SET_1 CAM CCD1Set Temperature
38 P1 (byte)P1 = 01 (ON)P1 = 00 (OFF)
1
7
3.4 EIS CAM Commands:
These commands are used to control EIS camera operations.
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S) IN BYTES
NOTES
C_RES Reset 0x40 None 0 Performs a hard reset. Returns the ROE to default mode. All previously programmed parameters are lost
C_EXIT Exit default 0x41 None 0 Exit default mode, enter idle state. EIS default mode is used if the communication link between the ICU and the CAM is failed. In this mode, the CAM performs continious read-outs every N seconds (TBD)
C_FLUSH Flush 0x42 None 0 Perform one CCDs flush
C_RO Read out 0x43 None 0 Read-out CCDs C_LINK_RES Link restart 0x44 None 0 Restarts the science data
link
8
C_AE_SET Set-up Analogue electronics
0x45 Byte 1: Bias reg. 1
Bits 3 - 0: CCD0 VOD
Bits 7 - 4: CCD1 VOD
Byte 2: Bias reg. 2
Bits 3 - 0: CCD0 VRD
Bits 7 - 4: CCD1 VRD
Byte 3: Bias reg. 3
Bits 3 - 0: CCD0 VSS
Bits 7 - 4: CCD1 VSS
Byte 4: Cont. reg. 1
Bit 0,1: Stim pattern control values:
11 = Stim off
00 – 10 = Stim pattern number
Bit 2: CSG source
1 = Backplane
0 = Anlg PCB Internal
Bit 3 CCD0 VOG2
0 = Normal,
1 = Low gain
Bit 4 CCDB VOG2
"0" Normal, "1" Low gain
Bit 5: Link select
"0" Link1, "1" Link2
Bit 6 - 7: reserved
Byte 5 Control register 2
7 Program the analogue board (CCDs voltages, gains and stim operations)
9
Bit 0: "1" Analogue chain CCD0 L enable
Bit 1: "1" Analogue chain CCD0 R enable
Bit 2: "1" Analogue chain CCDB L enable
Bit 3: "1" Analogue chain CCDB R enable
Bit 4 - 7: Reserved
Bytes 6 - 7: Reserved for additional registers
C_CSG_SET Set up CSG 0x46 Program the CSG
Byte 1: CSG bank select, pos. values
Bits 0 - 3: used to select CSG register banks 0 to 15
Bits 4 - 7: Reserved
Bytes 2 – 65: These are 64 bytes of CSG register set-up data. Exact contents of individual registers TBD
65 This command is used to program the CCDs clocking sequences
C_HK_REQ HK request 0x47 Request a HK parameter.
Byte 1: HK parameter Id.
1 CAM HK (status) parameters are requested individually by the ICU. This command for internal use (ICU-CAM)
10
C_ROP_SET Set-up CCDs Readout parameters
0x48 Byte 1: Vertical OCB factor
0x00 normal, (1 times binning)
to
0xFF 256 times binning
Byte 2: Horizontal OCB factor
0x00 normal, (1 times binning)
to
0xFF 256 times binning
Bytes 3 and 4: Vertical (Y) window start
0x0000: start at bottom of CCD
0x07FF: maximum supported in hardware
Bytes 5 and 6: Horizontal (X) window start
0x0000: start with the first of the 50 'dead pixels' on a line
0x0FFF: maximum supported in hardware
Bytes 7 and 8: Vertical (Y) window height
0x0000: no pixels
0x07FF: maximum supported in hardware
Bytes 9 and 10: Horizontal (X) window width
11 CCDs set-up parameters can be programmed once until CAM reset or switch OFF.
Window parameters are window size and OCB factor and others
11
0x0000: no pixels
0x0FFF: maximum supported in hardware
Byte 11 ReservedRESERVED 0x49 -
0x4F
3.5 MHC Commands:
These commands are used to control EIS MHC operations. Note that the MHC commands uses a 16-bit Command Header, which contains Hamming error code detection.
The MHC command format is as follows:
16 BIT DATA WORD15MSB
14 13 12 11 10 9 8 7 6 5 4 3 2 1 0LSB
16 BIT MHC COMMAND HEADERMESSAGE LENGTH (BYTES) (EXCLUDES MESSAGE ID, MESSAGE LENGTH AND CHECKSUM BYTE). I.e. ONLY THE NUMBER OF PARAMTERSPARAMETER 1 - MS BYTE PARAMETER 1 - LS BYTEPARAMETER 2 – MS BYTE PARAMETER 2 - LS BYTEPARAMETER N – MS BYTE PARAMETER N - LS BYTE
8 BIT XOR CHECKSUM
Please note that memory management’s commands format is different from that of Solar-B. The ICU accepts Solar-B memory management’s commands and re-makes them for the MHC use. Also note that the ICU calculates on board the MHC XOR Checksum.
12
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
M_ABORT Aborts any command in progress
50 P1: (MHC Header)P1 = 0xE881
P2: MMHP2 = 0x0000
4
M_ACT_TC Actuator Test command
51 P1: (16 bit) (MHC header)P1 = 0xC003
P2: MMHP2 = 0x0000
4 Enables test command set (TBD)Must be issued immediately before a test command to enable that command
M_ACT_DIS Actuator disarm
52 P1: (MHC header)P1 = 0x4884
P2: MMHP2 = 0x0000
4 Disarms all actuators
M_SHUT_I Find shutter index
53 P1: (MHC header)P1 = 0x6009
P2: MMHP2 = 0x0000
4 Moves shutter to index position
M_MEC_E Mechanism enable
54 P1: (MHC header)P1 = 0xE88E
P2: MMHP2 = 0x0000
4 Enables mechanism functions after SAFE or RESET condition
M_RESET Reset MHC 55 P1: (MHC header)P1 = 0xE818
P2: MMHP2 = 0x0000
4 Executes a SAFE command sets all values to default and clears all counters
M_SAFE Enter MHC Safe mode
56 P1: (MHC header)P1 = 0x281B
P2: MMHP2 = 0x0000
4 Aborts any in process command, closes theShutter, removes power from all mechanisms and encoders / resolvers
M_SHUT_C Close Shutter 57 P1: (MHC header)P1 = 0xA09C
P2: MMHP2 = 0x0000
4 Closes shutter
13
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
M_SHUT_O Open Shutter 58 P1: (MHC header)P1 = 0x481D
P2: MMHP2 = 0x0000
4 Opens shutter
M_SHUT_R Shutter ready 59 P1: (MHC header)P1 = 0x881E
P2: MMHP2 = 0x0000
4 Moves shutter to pre-exposure ready position
M_ERROR_C Clear HK table error
5A P1: (MHC header)P1 = 0xE824
P2: MMHP2 = 0x0000
4 Clears system error code
5B5F
Spares
M_ARM_A ActuatorArm level 1
60 P1: (MHC header)P1 = 0x2882
P2: MMHP2 = 0x0002
P3: Actuator IDACTUATOR 1P3 = 0xC605 (prime)P3 = 0x06906 (backup)P3 = 0xEE87 (Prime & Backup) ACTUATOR 2P3 = 0x0609 (prime)P3 = 0xC60A (backup)P3 = 0x2E8B (Prime & Backup)ACTUATOR 3P3 = 0xEE11 (prime)P3 = 0x2E12 Backup P3 = 0xC693 (Prime & Backup)
6 This command is used to arm a specific Actuator.
14
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
M_ACT_F Actuator fire 61 P1: (MHC header)P1 = 0xA005
P2: MMHP2 = 0x0004
P3: Actuator IDP3: ACTUATOR 1P3 = 0x66A5 (prime)P3 = 0xA6A6 (Backup) P3 = 0x4e27(Prime & Backup)P3: ACTUATOR 2P3 = 0xA6A9(Prime) P3 = 0x66AA(Backup)P3 = 0x8e2B (Prime & Backup)P3: ACTUATOR 3P3 = 0x4eB1(Prime) P3 = 0x8eB2(Backup) P3 =0x6633(Prime & Backup) P4: Time-out
P4 = 1 – 65535(ms)
8
M_CAL_PWR Calibration source control
62 P1: (MHC header)P1 = 0x6006
P2: MMHP2 = 0x0002
P3: (16 bit) (Cal Source ID)P3 = 0x0001(CAL SOURCE 1 ON)P3 = 0x0002
6 Turns selected cal source(s) on or off
15
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
(CAL SOURCE 2 ON)P3 = 0x0003(BOTH ON) P3 = 0x0000 (BOTH OFF)
M_GRA_I Find grating index
63 P1: (MHC header)P1 = 0x8888
P2: MMHP2 = 0x0002
P3: Index positionP3 = 0x0010(lower index) P3 = 0x0020 (middle index)P3 = 0x0040(upper index)
6 Moves GRA motor to selected index
M_GRA_MAN GRA. Manual 64 P1: (MHC header)P1 = 0xA00A
P2: MMHP2 = 0x000E
P3: DIRECTION P3 = 0x0001 (FORWARD)P3 = 0xFFFF (REVERSE)
P4: STEP TIMEP4 = 1 – 65535 ms / step
P5: STEP DRIVE TIMEP5 = 1 – 65535 ms / step
P6: STEPS_1P6 = 0 – 65535 steps
P7: ENCODER
18 Move grating focus motor in (DIRECTION) at (STEP TIME) and with a (STEP DRIVE TIME) for (STEPS_1), if (STEPS_1 = 0) then move to (ENCODER_INDEX) then stop after (STEPS_2) then hold for (HOLD_TIME); last phase on. Stop if total steps >= (GRA_MAX_STEPS) or time > GRA_MAX_RUN_TIME or if ENCODER_INDEX = +/- limit. Prohibit movement beyond +/- limit.
16
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
INDEXP7 = 0x0010lower limitP7 = 0x0020 (midpoint)P7 = 0x0040upper limit P7 = 0xFFFF NULL
P8: STEPS_2P8 = 0 – 65535 steps
P9: HOLD_TIMEP9 = 0 –65535 ms
M_GRA_AUTO
Heater auto 65 P1: (MHC header)P1 = 0x488B
P2: MMHP2 = 0x0006
P3: Heater selectLS Bit 0 -- H0 Bit 1 -- H1MS Bit 15 -- H15
P4: Heater selectLS .. Bit 0 -- H16 Bit 1 -- H17 Bit 2 -- H18 Bit 3 -- H19 P5: Set Temperature -TBD - + TBD (0.10C)(** 16 BIT SIGNED)
10 Turns selected heater(s) on in auto temperature control mode HeatersNot selected remain in the last state.Set point applies to all selected heaters
M_HTR_OFF Heater OFF 66 P1: (MHC header)P1 = 0xC00C
P2: MMHP2 = 0x0004
8 Turns selected heater(s) OFF and disables auto heater control for the selected heater(s). Heaters not selected
17
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
P3: Heater selectLS Bit 0 -- H0 Bit 1 -- H1MS Bit 15 -- H15
P4: Heater selectLS Bit 0 -- H16 Bit 1 -- H17 Bit 2 -- H18 Bit 3 -- H19
remain in the last state
M_HTR_ON Heater ON 67 P1: (MHC header)P1 = 0x288D
P2: MMHP2 = 0x0006
P3: Heater selectLS Bit 0 -- H0 Bit 1 -- H1MS Bit 15 -- H15
P4: Heater selectLS Bit 0 -- H16 Bit 1 -- H17 Bit 2 -- H18 Bit 3 -- H19
P5: DUTY CYCLEP4 = 1 – 100 (%)
10 Turns selected heater(s) ON at the specified duty cycle and disables auto heater control for the selected heater(s). Heaters not selected remain in the last state
M_MEM_D Memory dump See
Sec.
3.0
N/A Dumps selected memory area
M_MEM_U Memory load See
Sec.
3.0
N/A Loads selected memory area, sequential bytes
M_MEM_M Memory mode 68 P1: (MHC header)P1 = 0x8811
P2: MMHP2 = 0x0002
P3: Memory Mode P3 = 1 (ROM)
6 Selects program source RAM vs PROM
18
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
P3 = 65535 (RAM)M_CMIR_M Move coarse
mirror maunal69 P1: (MHC header)
P1 = 0x4812
P2: MMHP2 = 0x000E
P3: DIRECTION P3 = 0x0001 (FORWARD)P3 = 0xFFFF (REVERSE)
P4: STEP TIMEP4 = 1 – 65535 ms / step
P5: STEP DRIVE TIMEP5 = 1 – 65535 ms / step
P6: STEPS_1P6 = 0 – 65535 steps
P7: ENCODERINDEXP7 = 0 – 65534 P7 = 65535 (NULL)
P8: STEPS_2P8 = 0 – 65535 steps
P9: HOLD_TIMEP9 = 0 –65535 ms
18 Move coarse mirror motor in
(DIRECTION) at (STEP TIME) and
with a (STEP DRIVE TIME) for
(STEPS_1), if (STEPS_1 = 0) then
move to (ENCODER_INDEX
) then stop after (STEPS_2) then hold for (HOLD_TIME); last phase on. Stop if
total steps >= (MIR_C_MAX_STE
PS) or time > MIR_C_MAX_RUN
_TIME or if ENCODER_INDEX
= MIR_C_MAX_LIMI
T OR ENCODER_INDEX
= MIR_C_MIN_LIMI
T. Prohibit movement beyond
+/- limit.
M_FMIR_A Move fine mirror (auto)
6A P1: (MHC header)P1 = 0xA093
P2: MMHP2 = 0x0002
P3: SET_POINT
6 Sets control loop active, to drive PZT to a strain gauge set point.
19
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
(+/-TBD nm)
M_FMIR_M Move fine mirror (manual)
6B P1: (MHC header)P1 = 0x2814
P2: MMHP2 = 0x0004
P3: PZT_DRIVE VOLTAGE MSW
P4: PZT DRIVE VOLTAGE LSW
(-20000 to +120000) mV (** 32 BIT SIGNED VALUE)
8 PZT drive voltage set to a specific value (auto tracking set to off)
M_PT_SET Set parametertable
6C P1: (MHC header)P1 = 0xC095
P2: MMHP2 = 0x0004
P3: Parameter ID
P4: Parameter data
8 Sets specified table parameter.
See Table below for the MHC parameters list.
M_QCM_CTR QCM control 6D P1: (MHC header)P1 = 0x0096
P2: MMHP2 = 0x0004
P3: QCM IDP3 = 0x0001 (QCM1 ON) P3 = 0x0002 QCM 2 ON P3 = 0x0000QCM 1&2 OFF
P4: QCM integration timeP4 = 0 – 65535
8 Controls selected QCM(s)
20
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
M_QCM_HTR QCM heater 6E P1: (MHC header)P1 = 0xE817
P2: MMHP2 = 0x0002
P3: QCM HEATER IDP3 = 0x0001QCM1 HTR ON P3 = 0x0002QCM 2 HTR ON P3 = 0x0000QCM HTRS OFF
6 Controls Selected QCM HEATER
M_RES_CTR Resolver ctl. 6F P1: (MHC header)P1 = 0x0099
P2: MMHP2 = 0x0002
P3: Resolver stateP3 = 0x0001Res. OFFP3 = 0x0002Res. ONP3 = 0x0003Res. AUTO.
6 Allows forcing of resolver state to on or off; default state is auto
M_SLA_MVE SLA manual move
70 P1: (MHC header)P1 =0x609F
P2: MMHP2 = 0x0006
P3: DIRECTION P3 = 1FORWARDP3 = 65535 REVERSE
P4: STEPSP4 = 0 – 65535 steps
P5: BRAKE DURATION
10 Move SLA shutter motor in (DIRECTION) for STEPS then brake
21
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
P4: 0 –65535 msM_SS_MVE SLA. SS.
Manual 71 P1: (MHC header)
P1 = 0xA0A0
P2: MMHP2 = 0x000E
P3: DIRECTION P3 = 0x0001 (FORWARD)P3 = 0xFFFF (REVERSE)
P4: STEP TIMEP4 = 1 – 65535 ms / step
P5: STEP DRIVE TIMEP5 = 1 – 65535 ms
P6: STEPS_1P6 = 0 – 65535 steps
P7: ENCODER INDEXP7 = 0x0010(lower limit)P7 = 0x0020 (midpoint)P7 = 0x0040 (upper limit)P7 = 0xFFFF(NULL) P8: STEPS_2P8 = 0 - 65535 steps
P9: HOLD_TIMEP9 = 0 - 65535 ms
18 Move slit / slot motor in (DIRECTION) at (STEP TIME) and with a (STEP DRIVE TIME) for (STEPS_1), if (STEPS_1 = 0) then move to (ENCODER_INDEX) then stop after (STEPS_2) then hold for (HOLD_TIME); last phase on. Stop if total steps >= (SS_MAX_STEPS) or time > SS_MAX_RUN_TIME or if ENCODER_INDEX = +/- limit. Prohibit movement beyond +/- limit.
N/A Request MHC HK
72 P1: (MHC header)P1 = 0x8822
N/A Send one to n TLM parameter.
22
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
parameter(s)P2: MMHP2 = 0x0004
P3 = TLM start parameter ID
P4 = Number of parameters to send
This is for the internal ICU-MHC Status data acquisition
M_SG_CTR SG. CTL. 73 P1: (MHC header)P1 = 0x6083
P2: MMHP2 = 0x0002
P3: Mode Select – (TBD)
6 Strain gauge control; enables Strain Gauge driver
M_TEST TEST COMMAND
74 TBD TBD Hardware test / troubleshooting commands –Must be preceded by ACT_TEST_CMD to be processed. New Commands TBD -- not normally used in flight
MHC PARAMETER TABLE:
Note: All parameters are 16 bits in length
PARM ID
PARAMETER DESCRIPTION DEFAULT VALUES
0xC065 COMMAND_TIMEOUT
Master command timeout duration – pending command aborted if this parameter is exceeded
TBD 1-655335 ms
0x0066 Primary Mirror Resolver Resolution
Sets resolver resolution from a minimum of 10 bits to a maximum of 16 bits
14 bits 0x0000 10 Bit0x0001 12 Bit]0x0002 14 BitALL others 16 Bit
23
PARM ID
PARAMETER DESCRIPTION DEFAULT VALUES
0xE8E7 SLIT/SLOT Resolver Resolution
Sets resolver resolution from a minimum of 10 bits to a maximum of 16 bits
12 bits 0x0000 10 Bit0x0001 12 Bit]0x0002 14 BitALL others 16 Bit
0xE8E8 GRA_MAX_RUN_TIME
Sets grating motor timeout
TBD 10 – 65535 milliseconds
0x0069 GRA_MAX_STEPS
Sets grating motor max step count
TBD 1 – 65535 steps
0xC06A GRA_STEP_INTERVAL
Sets motor total step time for auto modes
TBD 1 – 65535 milliseconds
0x28EB GRA_DUTY CYCLE
Sets motor drive step pulse width
TBD 1 – 65535 milliseconds
0xA06C SHUTTER_DIRECTION
Sets Shutter motor direction for auto moves
FORWARD 1 = FORWARD65535 = REVERSE
0x48ED SHUTTER_MAX_RUN_TIME
Sets maximum run time for shutter
TBD 1 – 65535 msec
0x88EE SHUTTER_MAX_STEPS
Sets Shutter motor max step count
TBD 1 – 65535 steps
0x606F MIR_C_MAX_RUN_TIME
Sets Primary Mirror coarse motor timeout
TBD 10 – 65535 milliseconds
0x00F0 MIR_C_MAX_STEPS
Sets Primary Mirror coarse motor max step count
TBD 1 – 65535 steps
0xE871 MHC_C_STEP_INTERVAL
Sets motor total step time for auto modes
TBD 1 – 65535 milliseconds
0x2872 MIR_C_DUTY CYCLE
Sets motor drive step on pulse width
TBD 1 – 65535 milliseconds
0xC0F3 MIR_C_MAX_ENCODER
Upper limit to Primary mirror encoder position
TBD 0-65535
0x4874 MIR_C_MIN_ENCODER
Lower limit to primary mirror encoder position
TBD 0-65535
0xA0F5 SLA_SS_MAX_RUN_TIME
Sets Primary Mirror coarse motor timeout
TBD 10 – 65535 milliseconds
0x60F6 SLA_SS_MAX_STEPS
Sets Primary Mirror coarse motor max step count
TBD 1 – 65535 steps
0x8877 SLA_SS_STEP_INTERVAL
Sets motor total step time for auto modes
TBD 1 – 65535 milliseconds
0x8878 SLA_SS_DUTY Sets motor drive TBD 1 – 65535
24
PARM ID
PARAMETER DESCRIPTION DEFAULT VALUES
CYCLE step pulse width milliseconds0x60F9 SLA_SS_MAX_
ENCODERUpper limit to slit/slot encoder position
TBD 0-65535
0xA0FA SLA_SS_MIN_ENCODER
Lower limit to slit/slot encoder position
TBD 0-65535
TBD Primary Mirror Fine Control sample gain
PID controller parameter
TBD TBD
TBD Primary Mirror Fine Control P constant
PID controller parameter
TBD TBD
TBD Primary Mirror Fine Control I constant
PID controller parameter
TBD TBD
TBD Primary Mirror Fine Control D constant
PID controller parameter
TBD TBD
TBD Primary Mirror Fine Control error gain
PID controller parameter
TBD TBD
TBD Heater 1 sample gain
PID controller parameter
TBD TBD
TBD Heater 1 P constant
PID controller parameter
TBD TBD
TBD Heater 1 I constant
PID controller parameter
TBD TBD
TBD Heater1 D constant
PID controller parameter
TBD TBD
TBD Heater 1 error gain
PID controller parameter
TBD TBD
TBD Heater 2 thru Heater 20 PID constants
PID controller parameter
TBD TBD
3.6 EIS Sequence table Commands:
These commands are used to control sequence table commands. Note that the sequence interpreter commands will be refined when EIS is integrated and finalised during the FM phase. Also it should be noted that, in theory all subsystems commands can be issued from a sequence (e.g. Camera commands).
25
Within a Sequence there are two identifiers; a Study ID and Raster ID, which are used to identify the science operation type and aid data archiving. Note that these IDs are different from that of the mission data parameters (counters) [2].
COMMAND NAME
FUNCTION DC(HEX)
BC(S)(HEX)
NUMBER OF BC(S)
IN BYTES
NOTES
SEQ_CONT_P Sequence Control Parameters
80 P1: (16 bit) (Sequence flags)
Bits 0-1: AEC control1 = AEC enabled2 = AEC disabled
Bits 2-3: XRT Flare flag1 = Allow response2 = Not allowed
Bits 4-5: EIS Flare flag1 = Enable2 = Disable
Bits 6-7: EIS Bright region detection flag1 = Enable2 = Disable
Bits 8-15: Spares
2 These flags are used to specify the science operations required.
The structure of these flags and their exact used are to be confirmed and refined during the FM phase.
The default exposure time (start-up time) maybe set from this from (TBC), if not specified prior to Solar-B launch. Start exposure time is set to 0 (TBC). See Command ID (8D)
TERM_SEQ Terminate sequence
81 P1: (1 Byte) (sequence number)
P1 = 0 to 47
1 Sequence end. Note that the need for P1 is TBC (no need really identified at this stage)
CALL_SEQ Call another sequence
82 P1: (1 Byte) (sequence number)
P1 = 0 to 47
1 Call a sequence (from a sequence). P1 is the sequence number to be called.
SEL_SEQ Select Sequence 83 P1: 1 byte (sequence number)
P1 = 0 to 47
1 This command is used to select a sequence (from Manual mode [3]) before AUTO mode
26
is invoked.PA_RE_SEQ Pause /
Resume / abort sequence
84 P1: 1 Byte
P1 = 1 (Pause)P1 = 2 (Resume)P1 = 3 (abort)
1 Pause command will pause the running sequence after the completion of the current command execution. This may be used prior to Radiation belts entry. Resume will allow the sequence to continue from were it was paused.
The need for sequence abort is TBC. May be needed to stop infinite running sequence (a sequence that calls itself).
SEL_LL Select line list 85 P1: (1 byte)(line list number)
P1 = 0 to 47
1 This command is used to select a line list from a sequence.
RUN_RASTER Run raster 86 P1: (16 bits) (Raster identifier)P1 = 0 to (2**16 – 1)
P2: (16 bits) (fine mirror initial position)P2 = 0 to (2**16 – 1)
P3: (16 bit) (load loop counter)P3 = 0 to 1000 (TBC)
P4: (16 bit) (data comp. parameters)P4 = As in [2].
P5: (16 Bit) Specify X and Y OCB (8 bits each)
10 (TBC)
This command contains parameters common for all rasters.
The raster identifier is a unique number to identify the science type. IT IS DIFFERENT FROM THE RASTER ID SPECIFIED IN THE MISSION DATA STRUCTURE [2].
Note it is un-known whether the mirror position will be used in arc seconds or encoder position (MHC issue).
Loop counter is a reference to the number of loops to
27
be performed within a raster.
Note that other parameters may be added for this command..
MVE_FM_R Increment fine mirror position(Relative)
87 P1 (16 bit) (number of steps)P1 = Steps size
2 Increment fine mirror position (within raster loop). This will add N number of steps to the fine mirror position. For example, if the mirror initial position = 100, and this parameter is set to 2, then the mirror positions for the raster are 100, 102, 104, etc depending on the number of loops.
MVE_FM_A Move fine mirror (absolute position).
88 P1 (16 bit) (mirror position as required by the MHC)
2 Move mirror to an absolute position. To be used for non-uniform rastering (uneven mirror steps)
LOOP_BACK Loop back 89 P1 (8 bits) (location in sequence)
P1 = 0 to 255
1 Loop back to a sequence location. Number of loops loaded as run raster is decremented by 1. The loop is terminated if number of loops = 0.
SEQ_WAIT Delay 8A P1: (16 bit) (delay period)
P1 = 1 to (2^16 – 1) (ms)
2 Delay in unit of ms.
SET_FLUSH_NO
Set number of flushes
8B P1: (1 Byte) (no. of flushes)
P1 = 1 to 255
1 Flush CCDs N number of times. This should be used prior to raster run in order to get rid of the CCDs access charges. Also it may
28
be useful to perform a single flush prior to shutter opening.
LOAD_MD_P Set mission data parameters.
8C P1: (32 bit) (Serial packet number)
P1 = 0 to (2 ^ 32 –1)
P2: (16 bit) (main -ID)
P2 = 0 to (2 ^ 16 –1)
6 Set serial packet number, raster main id. This may be needed only after a power OFF (TBC). Default to 0 if these parameters are not loaded. As specified in [2], these parameters are continuous counters for the duration of the mission and may be lost in the event of EIS switch OFF.
START_EXP Start exposure 8D P1: (16 bit) (exposureTime)
P1 = 1 to (2^16 – 1)In 50 ms units
2 Set exposure time for this exposure. The exposure time is in unit of 50 ms [1]. For example to set the exposure time to 1 second, then:
P1 = 20
i.e. 20*50 = 1000 ms.
When AEC is enabled, then this parameter should be set to 0 (TBC).
29