ASPERA-3 ASPERA-3 Main Unit Software User's Guide

Add to my manuals
68 Pages

advertisement

ASPERA-3 ASPERA-3 Main Unit Software User's Guide | Manualzz

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

ASPERA-3 Main Unit Software

User's Guide

Prepared by:

Name and function

Tuukka Säles

N.N.

N.N.

Verified by:

Approved by:

Issued by:

Date Signature

Mars Express

Energetic Neutral

Atoms Analyser

CHANGE RECORD

Version

Issue 1 Revision 0

Issue 1 Revision 1

Date

ASPERA-3

Changed paragraphs

All

All

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remarks

New document

Document moved to official template

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

TABLE OF CONTENTS

1. ......................................................................................................................................... 3

1. ACRONYMS AND DEFINITIONS ................................................................................. 4

1. GENERAL ...................................................................................................................... 5

1.0 Software in general .................................................................................................................................................5

1.0 Startup procedure...................................................................................................................................................5

1.0 Shutdown procedure .............................................................................................................................................5

1.0 On commands..........................................................................................................................................................5

1.0.0 General ..............................................................................................................................................................5

1.1.1 On acknowledgments ........................................................................................................................................6

1.1.1 On error conditions............................................................................................................................................6

2. USING IMA..................................................................................................................... 7

2.1 General.....................................................................................................................................................................7

2.2 IMA Server..............................................................................................................................................................7

3. TELECOMMANDS......................................................................................................... 8

3.1 General.....................................................................................................................................................................8

3.2 Field descriptions ....................................................................................................................................................8

3.3 Telecommand set Part I: commands defined in SGICD.....................................................................................8

3.3.1 TC(3,5): Enable HK Packet generation.............................................................................................................8

3.3.2 TC(3,6): Disable HK Packet generation............................................................................................................8

3.3.3 Load memory using absolute addresses ............................................................................................................9

3.3.4 TC(6,5): Dump memory using absolute addresses ...........................................................................................9

3.3.5 TC(9,1): Accept Time update..........................................................................................................................10

3.3.6 Request connection test response....................................................................................................................10

3.3.7 Enable Science Report Packet Generation on RTU Link................................................................................11

3.3.8 TC(20,2): Disable Science Report Packet Generation on RTU Link..............................................................11

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

3.4 Telecommand set Part II: commands of type 191 .............................................................................................12

3.4.1 TC(191,1): Switch ELS +30V on/off..............................................................................................................12

3.4.2 TC(191,2): Set ELS Screen Grid Voltage.......................................................................................................12

3.4.3 TC(191,3): Set ELS Deflection Voltage .........................................................................................................13

3.4.4 TC(191,4) Enable ELS High Voltages............................................................................................................13

3.4.5 TC(191,5): Set ELS MCP Bias Voltage..........................................................................................................14

3.4.6 TC(191,7): Switch IMA +30V on/off .............................................................................................................14

3.4.7.....................................................................................TC(191,9): Switch IMA on/off (±5V and ±12V on/off)

..................................................................................................................................................................................15

3.4.8 TC(191,10): Switch NPD Heaters on/off........................................................................................................15

3.4.9 TC(191,11): Switch NPD1 +30V on/off .........................................................................................................15

3.4.10 TC(191,12): Set NPD1 Bias Voltage ............................................................................................................16

3.4.11 TC(191,13): Set NPD1 Deflection Voltage ..................................................................................................16

3.4.12 TC(191,14): Set NPD1 Start MCP Bias Voltage ..........................................................................................17

3.4.13 TC(191,15): Set NPD1 Stop MCP Bias Voltage ..........................................................................................17

3.4.14 TC(191,16): Switch NPD2 +30V on/off .......................................................................................................17

3.4.15 TC(191,17): Set NPD2 Bias Voltage ............................................................................................................18

3.4.16 TC(191,18): Set NPD2 Deflection Voltage ..................................................................................................19

3.4.17 TC(191,19): Set NPD2 Start MCP Bias Voltage ..........................................................................................19

3.4.18 TC(191,21): Switch NPI +30V on/off..........................................................................................................20

3.4.19 TC(191,22): Set NPI Bias Voltage................................................................................................................20

3.4.20 TC(191,23): Set NPI Deflection Voltage......................................................................................................21

3.4.21 TC(191,24): Set NPI Deflection Switch........................................................................................................21

3.4.22 TC(191,25): Set Scanner Setup.....................................................................................................................22

3.4.23 TC(191,26): Set Scanner Voltages................................................................................................................22

3.4.24 TC(191,27): Scanner String Heaters .............................................................................................................23

3.4.25 TC(191,30): Enable ASPERA-3 Main Unit watch dog ................................................................................23

3.4.26 TC(191,32) NPD1 High Voltage Switch ......................................................................................................23

3.4.27 TC(191,33) NPD2 High Voltage Switch ......................................................................................................24

3.4.28 TC(191,34): Set NPD1 Counter Thresholds .................................................................................................24

3.4.29 TC(191,35) Set NPD2 Counter Thresholds ..................................................................................................24

3.4.30 TC(191,255): Confirm Hazardous Command...............................................................................................25

3.5 Telecommand set Part III: commands of type 192............................................................................................26

3.5.1 TC(192,1): Select ELS mode ..........................................................................................................................26

3.5.2 TC(192,6): Set NPI Mode ...............................................................................................................................27

3.5.3 TC(192,7): Set NPD Mode..............................................................................................................................27

3.5.4 TC(192,12): Set MU HK Packet Generation Frequency ................................................................................28

3.5.5 TC(192,13): Set Scanner mode .......................................................................................................................28

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

3.5.6 TC(192,14): Initialize Scanner........................................................................................................................29

3.5.7 TC(192,16): Set High Voltage Shutter Reduced Voltages..............................................................................29

3.5.8 TC(192,15): Set High Voltage Shutter Mode .................................................................................................30

3.5.9 TC(192,20) Run Macro ...................................................................................................................................31

3.5.10 TC(192,21) Terminate Current Macro ..........................................................................................................31

3.5.11 TC(192,22) Run Single Macro Command ....................................................................................................31

3.6 Telecommand set Part IV: commands of type 193 ............................................................................................33

3.6.1 TC(193,1): Pipe Telecommand .......................................................................................................................33

3.6.2 TC(193,2): Relax (do nothing)........................................................................................................................33

3.6.3 TC(193,3): Generate simulated data ...............................................................................................................33

3.6.4 TC(193,4): Write word to address...................................................................................................................34

3.6.5 TC(193,5): Read word from address...............................................................................................................34

3.6.6 TC(193,10): Patch EEPROM..........................................................................................................................34

3.6.7 TC(193,11): Load Module ..............................................................................................................................35

3.6.8 TC(193,12) Select Boot Mode ........................................................................................................................36

3.6.9 TC(193,16): Watchdog reset ...........................................................................................................................36

3.7 List of telecommands............................................................................................................................................37

4. TELEMETRY................................................................................................................ 38

4.1 General...................................................................................................................................................................38

4.2 Telemetry packages (Outdated) ..........................................................................................................................38

4.2.1 TM(1,1): Telecommand Acceptance report - Success ....................................................................................38

4.2.2 TM(1,2): Telecommand Acceptance report - Failure .....................................................................................38

4.2.3 TM(1,7): TM Execution acknowledgment report – Success ..........................................................................38

4.2.4 TM(1,8): TM Execution acknowledgment report – Failure............................................................................39

4.2.5 TM(3,20): Housekeeping report......................................................................................................................39

4.2.6 TM(6,6)Memory dump report packet .............................................................................................................40

4.2.7 TM(17,2): Connection test report....................................................................................................................40

4.2.8 TM(20,3): Science data report.........................................................................................................................40

4.2.9 TM(193,6): Read word report packet..............................................................................................................40

4.2.10 TM(193,128): Piped TC report packet..........................................................................................................41

4.3 Telemetry list.........................................................................................................................................................41

5. EVENT REPORTING................................................................................................... 42

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.1 General...................................................................................................................................................................42

5.2 Event List...............................................................................................................................................................42

6. HOUSEKEEPING ........................................................................................................ 45

6.1 General...................................................................................................................................................................45

6.2 HK packet source data field.................................................................................................................................45

6.2.1 Source data field for Main Unit.......................................................................................................................45

6.2.1.1 Generic structure......................................................................................................................................45

6.2.1.2 Full Housekeeping Packet: ......................................................................................................................45

6.2.2 Source data field for IMA ...............................................................................................................................49

7. SCIENCE DATA........................................................................................................... 54

7.1 General...................................................................................................................................................................54

7.2 Science data production modes ...........................................................................................................................54

7.3 Science data packet formats ................................................................................................................................54

7.3.1 General ............................................................................................................................................................54

7.3.2 Science data packet types................................................................................................................................54

7.3.3 IMA telemetry packets ....................................................................................................................................55

7.3.4 ELS telemetry packets.....................................................................................................................................55

7.3.4.1 ELS engineering information...................................................................................................................56

7.3.4.2 ELS data...................................................................................................................................................57

7.3.5 NPD telemetry packets....................................................................................................................................57

7.3.5.1 NPD Raw data packet ..............................................................................................................................58

7.3.5.2 NPD Bin matrix data packet ....................................................................................................................59

7.3.5.3 NPD TOF mode data packet ....................................................................................................................60

7.3.5.4 NPD PHD mode data packet....................................................................................................................61

7.3.6 NPI telemetry packets .....................................................................................................................................62

7.3.6.1 NPI normal mode data packet..................................................................................................................62

7.3.6.2 NPI Deflection stepping mode data packet..............................................................................................63

7.3.7 Engineering telemetry packets ........................................................................................................................63

7.3.7.1 Solar sensor information packet...............................................................................................................63

7.3.7.2 Scanner information packet .....................................................................................................................64

1.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

2.ACRONYMS AND DEFINITIONS

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

EEPROM Electrically Erasable Programmable Read-Only Memory

HK Housekeeping

IMA Ion Mass Analyser

TBC

TBD

TBW

TC

TM

MCP

MU

NPD

NPI

Microchannel plate

Main Unit

Neutral Particle Detector

Neutral Particle Imager

PROM

S/C

Programmable Read-Only Memory

Spacecraft

SGICD Mars Express Space / Ground Interface Control Document, Issue 2

SW, S/W Software

To Be Confirmed

To Be Defined

To Be Written

Telecommand

Telemetry

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

3.GENERAL

3.1Software in general

ASPERA-3 Main Unit software is responsible for operating Main Unit according to the telecommands. It will, depending on its mode and received telecommands, produce telemetry. It has also small server for communications with IMA. That server converts telecommands form spacecraft to form known by IMA.

It also converts telemetry sent by IMA to form known by spacecraft.

Software runs on MIL-STD-1750 type microprocessor and is written in C (using POSIX threads) and partly in assembler. Compilers used are m1750-gcc by XGC Software. Package includes also version gas

(gnu assembler) for MIL-STD-1750.

3.2Startup procedure

When the experiment boots it will perform a short self-check. If an anomaly is detected (like watchdog reset), the Main Unit will inform the s/c with an event report packet at the end of the boot process. After a short self check, the s/w will start basic services (TM, limited TC, HK). Then it will check if there's a valid PROM present (on addresses 0x2000-0x3fff in 16bit words) and tries to load the rest of the s/w from there. If the s/w can't be loaded from PROMs, it will try to load a replacement from EEPROM, starting from address (TBD).

If the module can't be loaded from EEPROM nor ROM, the experiment will enter safe mode (actually, stay in safe mode).

If the s/w was loaded successfully, an event report will be generated to show that the experiment has booted properly. Pending error messages from the boot process will be sent. After the boot process, the s/w is in Housekeeping mode generating only Housekeeping data, while it is in fully operational mode

(ie. All TCs are available).

3.3Shutdown procedure

There isn't any strict s/w requirements for shutdown. Only after Patch EEPROM command it's recommended to wait enough to receive an event reporting about success of eeprom programming process.

3.4On commands

3.4.1General

One fundamental aspect of the Aspera-3 Main Unit is the way it uses commands (both telecommands and internal commands). Telecommands can be classified in many ways, but most fundamental is division to direct/indirect telecommands. Direct commands are command with type 255 or under 193. These commands are executed immediately after found in telecommand input buffer. Indirect commands are forwarded (after verifying command structure) to specific process, command handler, to be executed later. Telecommands TC(192,1), TC(193,10) and TC(193,11) fall to both categories: If s/w is in safe mode (or some broken state) these commands are used as direct commands. However, in normal situation these are treated as indirect. (TO be implemented, not applicable with current s/w version)

Indirect commands are handled via special `telecommand` table. It's s/w internal structure specifying structures of command including it's type and subtype. It contains also information on functions to be called when indirect command is found. Thanks for this table it's relatively easy to change the way some command behaves without compiling and reprogramming all of the s/w. It is also important to note, that indirect commands (ie. Commands found only in telecommand table) are not available in safe mode.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Further division can be made to classification of commands to safe and hazardous. Hazardous commands must be followed immediately by TC(191,255) containing sequence count of hazardous command.

Hazardous commands can't be run from macros.

3.4.2On acknowledgments

The ASPERA-3 MU provides only telecommand acceptance acknowledgment for itself. For IMA, acknowledgments are provided by using execution acknowledgments: When an IMA related telecommand is found, the Main Unit will send an acceptance acknowledgment to the s/c (if requested) and then it forwards the command to IMA. If execution acknowledgment is required, IMA will send an acknowledgment to the Main Unit that is waiting for that. This will be forwarded to the s/c.

Although this process is more acceptance than execution type of acknowledgment this has to be used.

Due to the acceptance acknowledgment time-out criteria (20s) and the 32-second acquisition period of

IMA, it is not possible to have acceptance acknowledgments on IMA.

3.4.3On error conditions

Error conditions are reported as event packets. If the error is such that (automatic) recovery process in the

MU S/W cannot be executed, the software will enter safe mode or restart itself by using Watchdog reset.

Both actions will be reported by the Event packet.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

4.USING IMA

4.1General

IMA commands (type 194 and 195, and memory management sevicr 6 for PID 62) are first received in MU

. MU converts commands to valid IEEE1355 link packets, and then sends these to IMA. IMA commands doesn't wait for any other commands (besides other IMA commands) before transmission to IMA.

The command acknowledgments scheme is explained in chapter .

4.2IMA Server

TBW.

Software part called IMA server is responsible for all link handling.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.TELECOMMANDS

5.1General

General structure of telecommands is defined in SGICD.

5.2Field descriptions

Parameter

Field name

=X

Form

X => Y

(X )* n

Description

Parameter is constant with value X

Parameter can vary in range from X to

Y

X is repeated n times

Parameters are listed in the same order that they appear in the telecommand or telemetry packet so that first parameter to be sent is listed first.

5.3Telecommand set Part I: commands defined in SGICD

5.3.1TC(3,5): Enable HK Packet generation

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

None

Immediate response

Related effect

3

5

1

Generic description

aspmHKEnable

PID

Packet Category

61

12

General description

Enable HK generation in ASPERA-3 Main Unit

Only housekeeping packet generation of Main Unit can be switched on by this TC

Parameter description

Size (bytes)

2

Response

Value

=0

Note

Generation of MU HK report packet TM(3,20) starts

5.3.2TC(3,6): Disable HK Packet generation

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

None

Immediate response

Related effect

3

6

1

Generic description

aspmHKDisable

PID

Packet Category

61

12

General description

Disable HK generation in ASPERA-3 Main Unit

Only housekeeping packet generation of Main Unit can be switched off by this TC

Parameter description

Size (bytes)

2

Response

Value

=0

Note

Generation of MU HK report packet TM(3,20) stops

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.3.3 Load memory using absolute addresses

Acronym

Type

Subtype

16 bit parameters

Description

Note

Memory id

Name

Number of blocks (=nb)

Data block Address

(repeated nb times)

Length of block (=lb)

Data

Immediate response

Related effect

6

2 varies

Generic description

aspmMEMLoad

PID

Packet Category

61

12

(193,10) which is available only in safe mode.

Parameter description

Size (bytes)

1

Value

0x80 => 0x83

Note

1

4

General description

Load memory to an absolute address

Any patch to be loaded to EEPROM must be loaded to mass memory. It can be transferred to EEPROM by TC

1=>

0 => 0x7FFFF

0x80: ROM

0x82: N / A

0x83: MASSMEMORY

Number of blocks to load

Address of first word in block

2 1 => 0xffff

2*lb

Number of words in this block lb times data words

Response

( 1=> 0xffff) * lb

5.3.4TC(6,5): Dump memory using absolute addresses

Acronym

Type

Subtype

16 bit parameters

Description

Note

Memory id

Name

Number of blocks (=nb)

Data block Address

(repeated nb times)

Length of block (=lb)

6

5 varies

Generic description

aspmMEMDump

PID

Packet Category

General description

Dump memory from an absolute address

61

12

Parameter description

Size (bytes)

1

Value

0x80 => 0x83

1

4

2

1=>

0 => 0x7FFFF

1 => 0xffff

Note

0x80: ROM

0x81: RAM

0x82: EEPROM

0x83: MASSMEMORY

Number of blocks to dump

Address of first word in block

Number of words in this block

Response

Immediate response

Related effect

Memory dump report packet TM(6,6)

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.3.5TC(9,1): Accept Time update

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

None

Immediate response

Related effect

9

1

0

Size (bytes)

-

Generic description

aspmTime

PID

Packet Category

General description

Accept time update

Value

-

Response

The clock is updated

61

12

Note

5.3.6 Request connection test response

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

None

Immediate response

Related effect

17

1

0

Generic description

aspmConn

PID

Packet Category

61

12

General description

Test Connection

Parameter description

Size (bytes)

-

Response

Value

-

Note

-

Connection Test Report TM(17,2)

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.3.7 Enable Science Report Packet Generation on RTU Link

Acronym

Type

Subtype

16 bit parameters

Description

Note

None

Name

Immediate response

Related effect

20

1

0

Generic description

aspmSCIEnable

PID

Packet Category

61

12

General description

Enable Science report packet generation on Main Unit.

Setup instrument into scientific mode.

This command must be executed before scanner can be operated or science data can be produced. This is due to fact that timing of scanner is tightly coupled with handling of measurement modes.

Parameter description

Size (bytes)

-

Value

-

Note

-

Response

Generation of Science data will be enabled. All scanner operations can be performed after execution of this command.

5.3.8 TC(20,2): Disable Science Report Packet Generation on RTU Link

Acronym

Type

Subtype

16 bit parameters

Description

Note

None

Name

Immediate response

Related effect

20

2

0

Generic description

aspmSCIDisable

PID

Packet Category

61

12

General description

Disables Science report packet generation on Main Unit.

Science data production will be disabled. Data that has already been measured will be handled and sent.

Parameter description

Size (bytes)

-

Value

-

Note

-

Response

Generation of Science data will be disabled.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4

Telecommand set Part II: commands of type 191

5.4.1 TC(191,1): Switch ELS +30V on/off

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

On/off

Immediate response

Related effect

191

1

1

Generic description

aspmELS30

PID

Packet Category

Hazardous

General description

61

12

No

Switch ELS +30V on/off

The +30V for ELS controls the high voltages of the deflection plates and MCP.

Parameter description

Size (bytes)

2

Response

Value

0 => 1 0=off, 1=on

Note

Power indicator telemetry point changes in HK packet.

5.4.2 TC(191,2): Set ELS Screen Grid Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

Grid voltage

Immediate response

Related effect

191

2

1

Size (bytes)

1

1

Generic description

aspmELSGrid

PID

Packet Category

Hazardous

General description

61

12

No

Set ELS Screen grid voltage

Screen grid value determines minimum energy particle detected by ELS.

Parameter description

Value

= 0

Note

0 => 0xFF

Response

Sets screen grid reference voltage

Sets screen grid reference telemetry points in HK telemetry packet and in ELS Engineering Information packet.

The voltage generated by the MU is linear from 0V to -TBD volts. These values are represented by the parameter limits 0x0000 and 0x00FF, respectively.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.3 TC(191,3): Set ELS Deflection Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

ELS HV Supply Range

Deflection voltage

191

3

1

Generic description

aspmELSDef1

PID

Packet Category

Hazardous

61

12

No

General description

Set ELS deflection plate voltage and deflection power supply range.

Sets a constant value for deflection plate voltage.

Parameter description

Size (bytes) Value

3 bits

1 bit

12 bits

0 => 0x0FFF

Response

=0

0 => 1

Note

0 = Low, 1 = High

Immediate response

Related effect Sets ELS deflection reference to a constant value, reflected in ELS Engineering telemetry packet.

The Deflection HV supply range has two states, low range and high range. The control of each supply voltage is generated by the MU. The values linearly range from 0.00 to +5.00 volts and are represented by the parameter limits of 0x0000 and 0x0FFF, respectively.

5.4.4TC(191,4) Enable ELS High Voltages

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

On/off

Immediate response

Related effect

Generic description

aspmELSHV

191

4

1

PID

Packet Category

Hazardous

General description

61

12

Yes

2

Switch ELS High voltages off/on

Command must be verified with TC(191,255)

Parameter description

Size (bytes)

0=off, 1=on

Note

Response

Value

0 => 1

ELS high voltage enable telemetry state changes in HK packet.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.5 TC(191,5): Set ELS MCP Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

191

5

1

Generic description

aspmELSMcp

PID

Packet Category

Hazardous

General description

Set ELS MCP bias voltage

Name

PAD

Mcp bias voltage

Immediate response

Related effect

Parameter description

Size (bytes) Value

1

1

= 0

0 => 0xFF

Response

61

12

No

Note

ELS MCP bias reference telemetry points value reflected in HK packet and in ELS Engineering Information packet.

The MU generates a command voltage to control the ELS MCP voltage. The range varies linearly from

0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and 0x00FF, respectively.

5.4.6 TC(191,7): Switch IMA +30V on/off

Acronym

Type

Subtype

16 bit parameters

Description

Note

IMA +30V

Name

Immediate response

Related effect

191

7

1

Generic description

aspmIMA30

PID

Packet Category

Hazardous

General description

61

12

No

Switch IMA +30V on/off

The +30V for IMA controls the high voltages of the deflection and MCP.

Parameter description

Size (bytes)

2

Response

Value

0 => 1 0=off, 1=on

Note

IMA +30V power state indicator telemetry point changes in HK packet.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.7

TC(191,9): Switch IMA on/off (

±

5V and

±

12V on/off)

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

IMA ± 5V and ±12V

Immediate response

Related effect

191

9

1

Generic description

aspmIMApow

PID

Packet Category

Hazardous

General description

61

12

No

Switch IMA ±5V and ±12V on/off

Switch on low voltage power to IMA which controls its activation.

Parameter description

Size (bytes)

2

Response

Value

0 => 1 0=off, 1=on

Note

IMA ±12V and ±5V power state indicator telemetry points change in HK packet.

5.4.8TC(191,10): Switch NPD Heaters on/off

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

NPD Heaters on/off

Immediate response

Related effect

191

10

1

Generic description

aspmNPDheaters

PID

Packet Category

Hazardous

General description

61

12

No

Switch NPD heaters on/off

Activate NPD heaters to control the temperature of the

2

NPD instrument. Heaters control both NPD1 and NPD2 temperature.

Parameter description

Size (bytes)

0=off, 1=on

Note

Response

Value

0 => 1

NPD heater status telemetry point changes in HK packet.

5.4.9TC(191,11): Switch NPD1 +30V on/off

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

NPD +30V on/off

Immediate response

Related effect

191

11

1

Generic description

aspmNPD130

PID

Packet Category

Hazardous

General description

61

12

No

Set NPD1 +30V on/off

The +30V for NPD1 controls the high voltages of the deflection and MCP supplies.

Parameter description

Size (bytes)

2

Response

Value

0 => 1 0=off, 1=on

Note

Power indicator telemetry point changes in HK packet.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.10 TC(191,12): Set NPD1 Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPD1 bias voltage

Immediate response

Related effect

191

12

1

Generic description

aspmNPD1bias

PID

Packet Category

Hazardous

General description

61

12

No

Set NPD1 bias voltage

Set the value of the MCP bias supply for NPD1.

Parameter description

Size (bytes)

1

1

Response

Value

= 0

0 => 0xFF

Note

NPD1 bias reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD1 bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and 0x00FF, respectively.

5.4.11TC(191,13): Set NPD1 Deflection Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPD1 Deflection voltage

Immediate response

Related effect

191

13

1

Generic description

aspmNPD1defl

PID

Packet Category

Hazardous

General description

61

12

No

Set NPD1 deflection voltage

Set the value of the deflection voltage for NPD1.

Parameter description

Size (bytes)

1

1

Response

Value

= 0

0 => 0xFF

Note

NPD1 deflection supply reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD1 Deflection voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and 0x00FF, respectively.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.12TC(191,14): Set NPD1 Start MCP Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPD1 Start MCP bias voltage

Immediate response

Related effect

191

14

1

Generic description

aspmNPD1start

PID

Packet Category

Hazardous

General description

61

12

No

Set NPD1 start MCP bias voltage

Set the bias reference for the NPD1 start MCP.

Parameter description

Size (bytes)

1

Value

= 0

Note

1 0 => 0xFF

Response

NPD1 start MCP bias reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD1 Start MCP bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and

0x00FF, respectively.

5.4.13TC(191,15): Set NPD1 Stop MCP Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

191

15

1

Generic description

aspmNPD1stop

PID

Packet Category

Hazardous

General description

61

12

No

1

Set NPD1 stop MCP bias voltage

Set the bias reference for the NPD1 stop MCP.

Parameter description

Size (bytes) Value

= 0

Note

NPD1 Stop MCP bias voltage

1 0 => 0xFF

Immediate response

Related effect

Response

NPD1 stop MCP bias reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD1 Stop MCP bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and

0x00FF, respectively.

5.4.14TC(191,16): Switch NPD2 +30V on/off

Generic description

Mars Express

Energetic Neutral

Atoms Analyser

Acronym

Type

Subtype

16 bit parameters

Description

Note

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

191

16

1

Size (bytes)

2

Generic description

aspmNPD230

PID

Packet Category

Hazardous

General description

61

12

No

Set NPD2 +30V on/off

The +30V for NPD2 controls the high voltages of the deflection and MCP supplies.

Parameter description

Response

Value

0 => 1 0=off, 1=on

Note

Power indicator telemetry point changes in HK packet.

Name

NPD2 +30V on/off

Immediate response

Related effect

5.4.15TC(191,17): Set NPD2 Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

191

17

1

Generic description

AspmNPD2bias

PID

Packet Category

Hazardous

General description

61

12

No

Set NPD2 bias voltage

Set the value of the MCP bias supply for NPD2.

Parameter description

Size (bytes)

1

Value

= 0

Note

NPD2 Bias voltage 1 0 => 0xFF

Immediate response

Related effect

Response

NPD2 bias reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD2 bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and 0x00FF, respectively.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.16TC(191,18): Set NPD2 Deflection Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPD2 Deflection voltage

Immediate response

Related effect

Generic description

191

18

1

Size (bytes)

1

1 aspmNPD2defl

PID

Packet Category

Hazardous

Response

Value

= 0

0 => 0xFF

61

12

No

General description

Set NPD2 deflection voltage

Set the value of the deflection voltage for NPD2.

Parameter description

Note

NPD2 deflection supply reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD2 Deflection bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and

0x00FF, respectively.

5.4.17TC(191,19): Set NPD2 Start MCP Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPD2 Start mcp bias voltage

Immediate response

Related effect

191

19

1

Generic description

aspmNPD2start

PID

Packet Category

Hazardous

General description

61

12

No

1

Set NPD2 start MCP bias voltage

Sets the bias reference for the NPD2 start MCP.

Parameter description

Size (bytes) Value

= 0

Note

1 0 => 0xFF

Response

NPD2 start MCP bias reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD2 Start MCP bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and

0x00FF, respectively.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.18TC(191,21): Switch NPI +30V on/off

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

NPI +30V on/off

Immediate response

Related effect

191

21

1

Generic description

aspmNPI30

PID

Packet Category

Hazardous

General description

61

12

No

Set NPI +30V on/off

The +30V for NPI controls the high voltages of the deflection and MCP supplies.

Parameter description

Size (bytes)

2

Response

Value

0 => 1 0=off, 1=on

Note

Power indicator telemetry point changes in HK packet.

5.4.19TC(191,22): Set NPI Bias Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPI Bias voltage

Immediate response

Related effect

191

22

1

Generic description

aspmNPIBias

PID

Packet Category

Hazardous

General description

61

12

No

Set NPI bias voltage

Set the value of the MCP bias supply for NPI.

Parameter description

Size (bytes)

1

1

Response

Value

= 0

0 => 0xFF

Note

NPI bias reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPD2 Stop MCP bias voltage. The range varies linearly from 0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and

0x00FF, respectively.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.20TC(191,23): Set NPI Deflection Voltage

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPI Deflection voltage

Immediate response

Related effect

191

23

1

Generic description

aspmNPIdefl

PID

Packet Category

Hazardous

General description

61

12

No

Set NPI deflection voltage

Set the value of the deflection voltage for NPI.

Parameter description

Size (bytes)

1

Value

= 0

Note

1 0 => 0xFF

Response

NPI deflection supply reference and monitor telemetry points change in HK packet.

The MU generates a command voltage to control the NPI bias voltage. The range varies linearly from

0.00 to +5.00 volts and the values are represented by the parameter limits of 0x000 and 0x00FF, respectively.

5.4.21TC(191,24): Set NPI Deflection Switch

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

NPI Deflection switch on/off

Immediate response

Related effect

191

24

1

Generic description

aspmNPIswitch

PID

Packet Category

Hazardous

General description

Set NPI Deflection switch on/off

Turn on/off NPI deflection voltage.

Parameter description

Size (bytes)

2

Response

Value

0 => 1 0=off, 1=on

61

12

No

Note

NPI deflection switch indicator telemetry point changes in HK packet.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.22TC(191,25): Set Scanner Setup

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

Scanner error handler

Auto-switchoff mode

Scan IRQ

Scanner +30V on/off

Immediate response

Related effect

191

25

1

Parameter description

Size (bytes)

12 bits

1 bit

1 bit

1 bit

1 bit

Generic description

aspmSCANSetupaspmSCANSetup

PID

Packet Category

Hazardous

General description

61

12

No

Defines the operation of the scanner.

Scanner +30V on/off and select IRQ operation

Response

Value

=>0

0 => 1

0 => 1

0 => 1

0 => 1

0=enabled, 1=disabled

0=enabled, 1=disabled

0=disabled, 1=enabled

0=off, 1=on

Note

Scanner +30V power state indicator telemetry point changes in HK packet.

5.4.23TC(191,26): Set Scanner Voltages

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

VREFMC

Coast current

Ramp current

Threshold CW

Threshold CCW

Threshold Wheel

Immediate response

Related effect

191

26

3

Generic description

aspmSCANVolts aspmSCANVolts

PID

Packet Category

Hazardous

General description

Set scanner voltages and currents

61

12

No

1

1

1

1

1

1

Parameter description

Size (bytes) Value

0 => 0xFF

Response

0 => 0xFF

0 => 0xFF

0 => 0xFF

0 => 0xFF

0 => 0xFF

Note

Scanner voltage and current reference telemetry points change in HK packer.

The MU generates a command voltage to control the VREFMC. The range varies linearly from 0.00 to

+5.00 volts and the values are represented by the parameter limits of 0x000 and 0x00FF, respectively.

Other values are passed to scanner controller board as an digital values.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.4.24TC(191,27): Scanner String Heaters

Acronym

Type

Subtype

16 bit parameters

Description

191

27

1

Generic description

aspmSCANStrHeat aspmSCANStrHeat

PID

Packet Category

Hazardous

61

12

Yes

General description

Release scanner locking mechanism by using string heater 1 or 2 for 15sec.

Note

Name

Pad

Stringheater

Immediate response

Related effect

Hazardous command on database level.

Parameter description

Size (bytes)

14 bits

2 bits

Value

=0

0x1 => 0x2

Note

Number of string heater to be used.

0 = N / A

1 = String Heater 1

2 = String Heater 2

3 = N / A

Response

Scanner locking mechanisms should be released. Wether the scanner locking is released or not can be verified by trying to initialize scanner (ie. By moving scanner)

5.4.25TC(191,30): Enable ASPERA-3 Main Unit watch dog

Acronym

Type

Subtype

16 bit parameters

Description

Note: May contain disable option

Name

Security code

Immediate response

Related effect

191

30

1

Generic description

aspmWatchdog

PID

Packet Category

Hazardous

General description

Enable Watchdog timer

*Watchdog cannot be disabled.

61

12

No

Size (bytes)

2

* With current version of s/w wd is enabled as a default

Parameter description

Note

Response

Value

=0x2704

5.4.26TC(191,32) NPD1 High Voltage Switch

Acronym

Type

Subtype

191

32

Generic description

aspmNPD1switch

PID

Packet Category

61

12

Mars Express

Energetic Neutral

Atoms Analyser

16 bit parameters

Description

Note

NPD1 HV

Name

Immediate response

Related effect

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

1

Generic description

Hazardous

General description

Enable NPD1 high voltage

Parameter description

Size (bytes)

2

Response

Value

0 => 1

No

0=off, 1=on

Note

5.4.27TC(191,33) NPD2 High Voltage Switch

Acronym

Type

Subtype

16 bit parameters

Description

Note

NPD2 HV

Name

Immediate response

Related effect

191

33

1

Generic description

aspmNPD2switch

PID

Packet Category

Hazardous

General description

Enable NPD2 high voltages

Parameter description

Size (bytes)

2

Response

Value

0 => 1

61

12

No

0=off, 1=on

Note

5.4.28TC(191,34): Set NPD1 Counter Thresholds

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Start

Stop0

Stop1

Stop2

Immediate response

Related effect

191

34

2

Generic description

aspmNPD1Tresholds

PID

Packet Category

Hazardous

General description

Set NPD1 counter thresholds

61

12

No

Size (bytes)

1

1

1

1

Parameter description

Response

Value

0 => 0xFF

0 => 0xFF

0 => 0xFF

0 => 0xFF

Note

NPD1 start count and stop count telemetry points change in the NPD1 Science packets.

5.4.29TC(191,35) Set NPD2 Counter Thresholds

Acronym

Type

191

Generic description

aspmNPD2Tresholds

PID

61

Mars Express

Energetic Neutral

Atoms Analyser

Subtype

16 bit parameters

Description

Note

Name

Start

Stop0

Stop1

Stop2

Immediate response

Related effect

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

35

2

Generic description

Packet Category

Hazardous

General description

Set NPD2 counter thresholds

12

No

Parameter description

Size (bytes) Value

1

1

1

1

0 => 0xFF

0 => 0xFF

0 => 0xFF

0 => 0xFF

Response

Note

NPD2 start count and stop count telemetry points change in the NPD2 Science packets.

5.4.30TC(191,255): Confirm Hazardous Command

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Packet Type

Packet Subtype

Immediate response

Related effect

191

255

1

Generic description

aspmLaunch

PID

Packet Category

Hazardous

General description

61

12

No

Confirms previous hazardous command.

This command must follow immediately after command

Size (bytes)

1

1 to be confirmed (ie. This must be next command).

Parameter description

Value

191 => 193

0 => 255

Note

Packet type of the confirmable command.

Packet subtype of the confirmable command.

Response

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.5Telecommand set Part III: commands of type 192

5.5.1TC(192,1): Select ELS mode

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Spare

Rice Compression Enabled

Log Compression Enabled

Energy Compression

Time Compression

Sweep Table Number

PAD

Deflection Voltage Sweep

Disabled

None

Sector Mask

Immediate response

Related effect

192

1

2

Generic description

aspmELSmode

PID

Packet Category

Hazardous

General description

Select ELS measurement mode.

Parameter description

Size (bytes) Value

1 bit

1 bit

1 bit

2 bits

0 => 1

0 => 1

0 => 2

3 bits 0 =>4

61

12

No

Note

0=disabled, 1=enabled

0=disabled, 1=enabled

0 = 1 step

1 = 2 steps

2 = 4 steps

0 = 1 sweep

1 = 2 sweeps

2 = 4 sweeps

3 = 8 sweeps

4 = 16 sweeps

5 bits

1 bit

1 bit

1 bit

2

0 => 1

0 => 1

0 => 0xFFFF

0

0 = inactive, 1 = active

Response

ELS information changes in the HK packet and the ELS

Science telemetry packet

Mars Express

Energetic Neutral

Atoms Analyser

5.5.2TC(192,6): Set NPI Mode

ASPERA-3

Acronym

Type

Subtype

16 bit parameters

Description

Name

Stepping Mode

Accumulation Time

PAD

Log Compression Enabled

Rice Compression Enabled

None

Sector Mask

Immediate response

Related effect

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

192

6

3

Generic description

aspmNPImode

PID

Packet Category

Hazardous

General description

Set NPI measurement mode

Parameter description

Size (bytes)

1

Value

0=>255

61

12

No

Note

0 = normal mode (no voltage stepping)

1-255 = number of samples in one step

4 bits 0 => 15

1 bit

1 bit

1 bit

1 bit

4

Accumulation Time (n) so that one period is 31.25ms *

(2 ^ n)

0=disabled, 1=enabled

0=disabled, 1=enabled

0 = inactive, 1 = active

Response

0

0 => 1

0 => 1

0 => 1

0 => 0xFFFFFFFF

NPI information changes in the HK packet and the NPI

Science telemetry packet

5.5.3TC(192,7): Set NPD Mode

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Integration Factor

Accumulation Time

PAD

Measurement Mode

Log Compression Enabled

Rice Compression Enabled

NPD2 active

NPD1 active

NPD1 Bin Matrix Reduction

192

7

3

Generic description

aspmNPDmode

PID

Packet Category

Hazardous

General description

Set NPD measurement mode

Parameter description

Size (bytes)

4 bits

4 bits

Value

1 bit

3 bits

1 bit

1 bit

1 bit

1 bit

2

0

0 => 3

0 => 1

0 => 1

0 => 1

0 => 1

0 => 0x0FFF

61

12

No

Note

Reserved for TOF mode

Accumulation Time (n) so that one period is 31.25ms *

(2 ^ n)

0 = Raw Array Mode

1 = Bin Matrix Mode

2 = TOF Mode

3 = PHD Mode

0=disabled, 1=enabled

0=disabled, 1=enabled

0=inactive, 1=active

0=inactive, 1=active

Bits 12-15 = PAD

Mars Express

Energetic Neutral

Atoms Analyser

Tables

NPD2 Bin Matrix Reduction

Tables

Immediate response

Related effect

ASPERA-3

2

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Generic description

0 => 0x0FFF

Bits 8 – 11 = Dir 2

Bits 4 – 7 = Dir 1

Bits 0 - 3 = Dir 0

Bits 12-15 = PAD

Bits 8 – 11 = Dir 2

Bits 4 - 7 = Dir 1

Bits 0 - 3 = Dir 0

Response

NPD information changes in the HK packet and the NPD

Science telemetry packet

5.5.4TC(192,12): Set MU HK Packet Generation Frequency

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

None

Immediate response

Related effect

192

12

1

Generic description

aspmHKDelay

PID

Packet Category

Hazardous

General description

Set HK Generation Frequency

Parameter description

Size (bytes)

2

Response

Value

0 => 0xffff

61

12

No

Note

Delay in seconds

5.5.5TC(192,13): Set Scanner mode

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

Scanner mode

Scanner speed

Scanner cycle duration

192

13

2

Generic description

aspmSCANmode

PID

Packet Category

Hazardous

General description

61

12

No

Set Scanner mode

In scanning mode (mode = 1), second parameter must be sent but doesn't affect anything.

Parameter description

Size (bytes)

5 bits

3 bits

Value

0

0 => 3

Note

1

1

0 => 3

0 => 0xFF

0 = Standing (scanner on)

1 = Scanning

2 = Stepping

3 = Not in use (scanner off)

0 = Shutdown

1 = 32 sec per scan

2 = 64 sec per scan

3 = 128 sec per scan

Length of measurement cycle (n) so that cycle lasts for 31.25ms *

(2 ^ n).

Mars Express

Energetic Neutral

Atoms Analyser

Scanner step angle or

Scanner position (based upon Mode Setting)

Immediate response

Related effect

ASPERA-3

1

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Generic description

0 => 0xFF Standing mode => Position

Stepping mode =>

Step Angle

Response

Scanner information changes in the HK packet and the

Scanner Information telemetry packet

5.5.6TC(192,14): Initialize Scanner

Acronym

Type

Subtype

16 bit parameters

Description

PAD

Scanner init

Name

192

14

1

Generic description

aspmSCANinit

PID

Packet Category

Hazardous

General description

Initialize Scanner

Parameter description

Size (bytes)

7 bits

1 bit

Value

0

0 => 1

Communication test value

Immediate response

Related effect

1

Response

0 => 0xFF

61

12

No

Note

0 = test communication and initialization

1 = test communication only test value

5.5.7TC(192,16): Set High Voltage Shutter Reduced Voltages

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

PAD

NPI Bias

NPD1 Stop Bias

NPD1 Start Bias

NPD2 Stop Bias

NPD2 Start Bias

Immediate response

Related effect

Generic description

aspmHVShutVolts

192

16

3

PID

Packet Category

Hazardous

General description

Set HV shutter reduced voltages

Set HV shutter reduced voltages

61

12

No

Parameter description

Size (bytes)

1

1

1

1

1

1

Value

0

Response

0 => 0xFF

0 => 0xFF

0 => 0xFF

0 => 0xFF

0 => 0xFF

Note

Bias reference telemetry point values change in the HK packet

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.5.8TC(192,15): Set High Voltage Shutter Mode

Acronym

Type

Subtype

16 bit parameters

Description

Name

Test mode

Mode

Others, varies with mode

Others, varies with mode

Test mode

Mode

Re-init period

PAD

Scanner speed

Solarsensor 1 CW limit

Solarsensor 1 CCW limit

Solarsensor 2 CW limit

Solarsensor 2 CCW limit

PAD

Test mode

Mode

Duration

Countrate criteria for NPD1

Countrate criteria for NPD2

PAD

Test mode

Mode

Duration for NPI shutter

CW position for NPI shutter

CCW pos for NPI shutter

PAD

Duration for NPD1 and

NPD2 shutter

192

15 varies

Hazardous

General description

Set HV shutter mode

Parameter description

Size (bytes)

1 bit

Generic description

aspmHVShut

PID

Packet Category

3 bits

Value

0: off

1:on

0: off

1: Solar sensor with init

2: Test scan only

3: NPD Countrate

4: External

12 bits

8

Command interpretation in solar sensor mode:

1 bit

3 bits

8

0: off

1:on

1: Solar sensor with init

Number of measurement cycles

2 bits

2 bits 0: default (32s)

1: 32s

2: 64s

3: 128s

1

1

1

1

4

Command interpretation in NPD countrate mode:

1 bit

3 bits

12bits

0: off

3: NPD Countrate

Duration (n) so that reduced voltages are used for

31.25*(n+1) ms

2

2

4

Command interpretation in Ext mode:

1 bit

3 bits

12 bits

0: off

4: Ext Countrate

Duration (n) so that reduced voltages are used for

31.25*(n+1) ms

1

1

4 bits

12 bits Duration (n) so that reduced voltages are used for

31.25*(n+1) ms

61

12

No

Note

In solar sensor mode only

Valid if test mode specified

Valid if test mode specified

Valid if test mode specified

Valid if test mode specified

Mars Express

Energetic Neutral

Atoms Analyser

CW position for NPD1 shutter

CCW position for NPD1 shutter

CW position for NPD2 shutter

CCW position for NPD2 shutter

Immediate response

Related effect

ASPERA-3

1

1

1

1

Generic description

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Response

Telemetry point values change in the HK packet

5.5.9TC(192,20) Run Macro

Acronym

Type

Subtype

16 bit parameters

Description

Name

PAD

Macro Number

Immediate response

Related effect

192

20

1

Generic description

aspmMacroRun

PID

Packet Category

Hazardous

General description

Run macro

Parameter description

Size (bytes)

1

1

Response

Value

=0

0 =>0xFF

61

12

No

Note

0 – 191 range of values

5.5.10 TC(192,21) Terminate Current Macro

Acronym

Type

Subtype

16 bit parameters

Description

Note

None

Name

Immediate response

Related effect

192

21

0

Generic description

aspmMacroTerminate

PID

Packet Category

Hazardous

General description

Terminate current macro

61

12

No

This command cannot be used in a macro.

Parameter description

Size (bytes)

-

Value

-

Note

-

Response

5.5.11TC(192,22) Run Single Macro Command

Acronym

Type

Subtype

192

22

Generic description

aspmMacroRunCmd

PID

Packet Category

61

12

Mars Express

Energetic Neutral

Atoms Analyser

16 bit parameters

Description

Name

None

Confirm Word

Type

SubType

None

Number of Parameters

None

Parameters

Immediate response

Related effect

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page: varies

Generic description

Hazardous

General description

Run single macro command

2

2

Parameter description

Size (bytes) Value

= 0x2704

No

Note

type+subtype as in aspmLaunch

2

1

1

1

1 varies

0=>0xFF

0=>0xFF

= 0x0

0=>0xFF

= 0x0 as many as specified above

Response

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

5.6Telecommand set Part IV: commands of type 193

5.6.1TC(193,1): Pipe Telecommand

Acronym

Type

Subtype

16 bit parameters

Description

Note

Immediate response

Related effect

193

1 varies

Generic description

aspmPipe

PID

Packet Category

Hazardous

General description

Pipe TC to TM

Send parameters back to telemetry

Parameter description

Response

Piped TC report packet TM (193, 128)

61

12

No

5.6.2TC(193,2): Relax (do nothing)

Acronym

Type

Subtype

16 bit parameters

Description

Note

None

Name

Immediate response

Related effect

193

2

0

Generic description

aspmRelax aspmRelax

PID

Packet Category

Hazardous

General description

Relax ie. Do nothing

Parameter description

Size (bytes)

-

Response

Value

-

5.6.3TC(193,3): Generate simulated data

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Simulation enabled

193

3

1

Generic description

aspmSim aspmSim

PID

Packet Category

Hazardous

General description

Generate simulated data

Generate simulated data

Parameter description

Size (bytes)

2

Value

0 => 1

61

12

No

Note

-

61

12

No

Note

0: simulation disabled

1: simulation enabled

Response

Immediate response

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Generic description

Related effect

5.6.4TC(193,4): Write word to address

Acronym

Type

Subtype

16 bit parameters

Description

Note

Address

Data word

Name

Immediate response

Related effect

193

4

2

Generic description

aspmWrite

PID

Packet Category

Hazardous

General description

61

12

Yes

Write word to address

Command must be verified with TC(191, 255)

Size (bytes)

2

2

Parameter description

Response

Value

0 => 0xFFFF

0 => 0xFFFF

Note

5.6.5TC(193,5): Read word from address

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Address

Immediate response

Related effect

193

5

1

Generic description

aspmRead

PID

Packet Category

Hazardous

General description

Read word from address

Size (bytes)

2

Parameter description

Value

0 => 0xFFFF

Response

Read word report packet TM(193,6)

Read word report paclet TM(193,6)

5.6.6TC(193,10): Patch EEPROM

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Massmemory address

Eeprom address

Patch Mode

61

12

No

Note

193

10

6

Generic description

aspmPatch

PID

Packet Category

Hazardous

General description

61

12

No

Patch eeprom (starting from absolute address) using specified number of words found from Massmemory at specified absolute address.

Size (bytes)

4

4

1 bit

Parameter description

Value

0 => 0x0007 FFFF

0 => 0x0003 FFFF

0 => 1 0 = Patch without using paging mode

Note

Mars Express

Energetic Neutral

Atoms Analyser

Patch length

Patch CRC checksum

Immediate response

Related effect

5.6.7TC(193,11): Load Module

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

15 bits

2

Generic description

1 => 0x7FFF

0 => 0xFFFF

1 = Patch using paging mode

Length of patch in 16bit words

CRC checksum calculated over whole patch

Response

EVENT:

EEPROM PROGRAMMED or

EEPROM PROGRAMMING NOT SUCCESSFUL or

EEPROM PROGRAMMING CRC ERROR

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Address

PAD

Execution Flag

CRC Verify

Memory ID

Immediate response

Related effect

193

11

3

Generic description

aspmModule

PID

Packet Category

Hazardous

General description

Load Module

61

12

No

Size (bytes)

4

6 bits

1 bit

Parameter description

Value

0 => 0x0007 FFFF

0

0 => 1

1 bit

1

Note

0 => 1

= 0x82

Response

EVENT:

MODULE LOADED or

MODULE LOAD FAILED

0 = Load and run module

1 = Load but don't run module

0 = Verify crc

1 = Don't verify crc

(EEPROM)

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

5.6.8TC(193,12) Select Boot Mode

Acronym

Type

Subtype

16 bit parameters

Description

Note

Boot Mode

Name

Immediate response

Related effect

193

12

1

Generic description

aspmBootMode

PID

Packet Category

Hazardous

General description

Select boot mode

No use after boot process

Parameter description

Size (bytes)

1

Value

1 => 2

Response

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

61

12

No

Note

1 = Safe Mode

2 = Normal Mode

5.6.9TC(193,16): Watchdog reset

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Security code

Immediate response

193

16

1

Generic description

aspmWDReset aspmWDReset

PID

Packet Category

Hazardous

General description

Force watchdog reset

Parameter description

Size (bytes)

2

Value

=0x2704

Response

Events

I'M ALIVE and

WATCHDOG RESET

Related effect

61

12

No

Note

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

5.7List of telecommands

Telecommand

TC (191, 27)

TC (191, 30)

TC (191, 32)

TC (191, 33)

TC (191, 34)

TC (191, 35)

TC (191, 255)

TC (192, 1)

TC (192, 6)

TC (192, 7)

TC (192, 12)

TC (192, 13)

TC (192, 14)

TC (192, 15)

TC (192, 16)

TC (192, 20)

TC (192, 21)

TC (192, 22)

TC (193, 1)

TC (193, 2)

TC (193, 3)

TC (193, 4)

TC (193, 5)

TC (191, 11)

TC (191, 12)

TC (191, 13)

TC (191, 14)

TC (191, 15)

TC (191, 16)

TC (191, 17)

TC (191, 18)

TC (191, 19)

TC (191, 20)

TC (191, 21)

TC (191, 22)

TC (191, 23)

TC (191, 24)

TC (191, 25)

TC (191, 26)

TC (3, 5)

TC (3, 6)

TC (6, 2)

TC (6, 5)

TC (9, 1)

TC (17, 1)

TC (20, 1)

TC (20, 2)

TC (191, 1)

TC (191, 2)

TC (191, 3)

TC (191, 4)

TC (191, 5)

TC (191, 7)

TC (191, 9)

TC (191, 10)

Acronym

aspmHKEnable aspmHKDisable aspmMEMLoad aspmMEMDump aspmTime aspmConn aspmSCIRnable aspmSCIDisable aspmELS30 aspmELSGrid aspmELSDefl aspmELSHV aspmELSMcp aspmIMA30 aspmIMAPow aspmNPDheaters aspmNPD130 aspmNPD1bias aspmNPD1defl aspmNPD1start aspmNPD1stop aspmNPD230 aspmNPD2bias aspmNPD2defl aspmNPD2start aspmNPD2stop aspmNPI30 aspmNPIBias aspmNPIDefl aspmNPISwitch aspmSCANSetup aspmSCANVolts aspmSCANStrHeat aspmWatchdog aspmNPD1switch aspmNPD2switch aspmNPD1Tresholds aspmNPD2Tresholds aspmLaunch aspmELSmode aspmNPImode aspmNPDmode aspmHKDelay aspmSCANmode aspmSCANinit aspmHVShut aspmHVShutVolts aspmMacroRun aspmMacroTerminate aspmMacroRunCmd aspmPipe aspmRelax aspmSim aspmWrite aspmRead

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Description

Set NPI Deflection Voltage

Set NPI Switch

Set Scanner Setup

Set Scanner voltages

Set stringheaters on / off

Enable Watchdog

Set NPD1 high voltages

Set NPD2 high voltages

Set NPD1 counter tresholds

Set NPD2 counter tresholds

Confirm Hazardous Command

Set ELS mode

Set NPI mode

Set NPD mode

Set HK generation frequency

Set scanner mode

Initialize scanner

Set HV Shutter mode

Set HV shutter reduced voltages

Run macro

Terminate current macro

Run single macro command

Pipe TC to TM

Relax, ie. Do nothing

Generate simulated data

Write to address

Read from address

Number of

Parameters

Enable HK generation

Disable HK generation

Load memory

Dump memory

Accept Time Update

Connection Test

Enable Science on RTU link

Disable Science on RTU link

Switch ELS +30V On/Off

Set ELS Screening Grid Voltage

Set ELS Deflection voltage and switch 1

Switch ELS High Voltage On/Off

1

1

1

1

1

1

0

0

0

0

4

4

1

1

Set ELS mcp bias voltage

Switch IMA +30V on/off

Switch MA ± 5V and ± 12V on/off

Switch NPD heaters on/off

Set NPD1 +30V on/off

Set NPD1 bias

Set NPD1 deflection bias

Set NPD1 Start bias

Set NPD1 Stop bias

Set NPD2 +30V on/off

Set NPD2 bias

Set NPD2 deflection bias

Set NPD2 Start bias

Set NPD2 Stop bias

Set NPI +30V on / off

Set NPI Bias

3

1

2

3

2

1

Varies

3

2

1

1

2

1

1

3

1

2

1

0

1

1

0

Varies

Varies

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

Mars Express

Energetic Neutral

Atoms Analyser

Telecommand

TC (193, 10)

TC (193, 11)

TC (193, 12)

TC (193, 16)

ASPERA-3

Acronym

aspmPatch aspmModule aspmBootMode aspmWDReset

Description

Patch eeprom

Load module

Select boot mode

Watchdog reset

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

1

1

6

3

Number of

Parameters

6.TELEMETRY

6.1General

6.2Telemetry packages

6.2.1TM(1,1): Telecommand Acceptance report - Success

Acronym

Type

Subtype

16 bit parameters

Description

Note

Name

Telecomand packet ID

Telecommand packet sequency control

In SGICD

1

1

4

Generic description

ASPMTCAck

PID

Packet Category

General description

Telecommand acceptance report

2

2

Parameter description

Size (bytes) Value

0 => 0xFFFF

0 => 0xFFFF

Long description

61

1

Note

6.2.2TM(1,2): Telecommand Acceptance report - Failure

Acronym

Type

Subtype

16 bit parameters

Description

1

2-Packet Category

Varies-

Generic description

ASPMTCNack

PID

General description

Telecommand acceptance report - -failure

61

Note

Name

Parameter description

Size (bytes) Value Note

Long description

In SGICD - No changes or additions to that definition has been made

6.2.3TM(1,7): TM Execution acknowledgment report – Success

As specified in SGICD

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

6.2.4TM(1,8): TM Execution acknowledgment report – Failure

As specified in SGICD

6.2.5TM(3,20): Housekeeping report

Acronym

Type

APID

16 bit parameters

Description

3

Generic description

ASPMHKRep / ASPIHKRep

Subtype

61 => 62

Varies

General description

Housekeeping report

20

Note

Name

Parameter description

Size (bytes) Value Note

Long description

Description later in this document

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

6.2.6TM(6,6)Memory dump report packet

As specified in SGICD.

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

6.2.7TM(17,2): Connection test report

Acronym

Type

APID

16 bit parameters

Description

17

Generic description

ASPMConnRep

Subtype

General description

Connection test report

Note

Name

Parameter description

Size (bytes) Value

61

-2

Note

In SGICD

6.2.8TM(20,3): Science data report

20

Generic description

ASPMScienceRep

Subtype

Acronym

Type

APID

16 bit parameters

Description

Note

Name

Long description

General description

Science data report

Parameter description

Size (bytes) Value

61

Varies

3

Note

Long description

Definition later in this document

6.2.9TM(193,6): Read word report packet

Acronym

Type

APID

16 bit parameters

Description

Note

Name

Address

Data

193

Generic description

ASPMReadRep

Subtype

6

61

2

General description

Word read from address specified in packet TC(193,5)

Parameter description

Size (bytes)

2

2

Long description

Value

Any

Any

Note

Address of word

Word read from address

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Generic description

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

6.2.10TM(193,128): Piped TC report packet

Acronym

Type

APID

16 bit parameters

Description

Note

Name

193

Generic description

ASPMPipeRep

Subtype

General description

Piped Telecommad

Parameter description

Size (bytes) Value

61

Varies

128

Note

Long description

Parameters should be exact copy of source data field (without checksum) of received telecommand aspmPipe

6.3Telemetry list

Telecommand

TM (1, 1)

TM (1, 2)

TM (1, 7)

TM (1, 8)

TM (6,6)

TM (6, X)

TM (3, 25)

TM (17, 2)

TM (20, 3)

TM (193,6)

TM (193,128)

Acronym

aspmTCAck

AspmTCNack

AspiTCEAck aspiTCENAck aspmConnRep

AspmScienceRep / aspiScinceRep

ASPMReadRep aspmSCIDisable

Description

Telecommand acceptance report –

Success

Telecommand acceptance report –

Failure

Telecommand execution report –

Success

Telecommand execution report –

AspmMemDumpRep / aspiMemDumpRep

AspiMemCheckRep

Failure

Memory dump report packet for MU /

IMA

Memory check report for IMA

AspmHKRep / AspmHKRepHousekeeping packet fro MU / IMA

Connection Test response

Enable Science on RTU link for

MU/IMA

Disable Science on RTU link

Note

Only from IMA

Only from IMA

Only for iMA

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

7.EVENT REPORTING

7.1General

All events from the MU are formatted according to the same scheme: First word (after headers, ie. Word number 8) is the event number. The following two words are freely chosen extra information about the event, typically just zeros. Events generated by the MU are of type TM(5,1) to TM(5,2), as specified in the SGICD. Subtype 1 corresponds to normal progress and subtype 2 corresponds to a warning.

7.2Event List

The following table defines all events produced by the MU. If extra parameters are not specified, these are constant zeros.

40010

40011

40012

40013

40014

40015

40016

40020

40022

40026

40027

40028

40029

40074

40092

40097

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Event number

40001 I'm Alive

Event name

40003

40004

40005

40006

40007

Going to reboot

Watchdog reset

Going to safe mode

Going to normal mode

Telecommand buffer overflow

Parameter 1

wd_mask

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Parameter 2 Description

Generated after normal boot process as a first event wd_mask cleared

40021

Eeprom programmed

Eeprom programming nonsuccess

CRC error in Eeprom patch

Module loaded

Module load failed

Default boot module loaded

Default boot module loading failed

Command handler error

Invalid confirmation by

TC(191,255)

Invalid mode definition

Macro execution succesful

Macro terminated by TC

CRC check sum in patch

CRC check sum in patch

CRC checksum in programmed

Eeprom area

CRC checksum specified in TC

Error code defining exact type of error

Optional Extra information

Error code defining exact type of error

1: command not confirmed properly

16: other error

Optional Extra information

Seq count of command raising error

0xffff: command not found

For Command to be confirmed:

Bit 8-15: type bit 0-7: Subtype

From the confirmation parameters:

Bit 8-15: type bit 0-7: Subtype

Upmost address for the data storage of invalid mode

Macro number

Macro number

Calculated checksum

Command index in macro command buffer

Checksum in

EEPROM

Macro Checksum error in

EEPROM

Macro Can't start

IMA command buffer full

Scanner initialized

Scanner error 2: Communication test failed before initialization

3: Initialization failed.

4: Can't start scanner properly

5: Scanner not stopped properly

6: Scanner not initialized

7: Can't escape endposition on

Mars Express

Energetic Neutral

Atoms Analyser

Event number Event name

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Parameter 2 Description Parameter 1

initialization

8: Science not enabled

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

8.HOUSEKEEPING

8.1General

The ASPERA-3 Main Unit will have one type of housekeeping (HK) packet which contains all HK signals and parameters.

8.2HK packet source data field

8.2.1Source data field for Main Unit

8.2.1.1Generic structure

After headers, there will be the source data field. For the HK report packet, it will be as shown below:

Byte Bits Field

Source data field

Note

16

17

PAD

SID for TM(3, 20) always 0

18-119 Parameters Full HK packet

The SID field will contain an identifier telling which type of HK packet is being sent. ( For the Main Unit, the full

Housekeeping packet is identified by setting SID to 0.

For IMA, the SID numbers are TBD, starting with SID=10. They can also be recognized by examining the application id field.

8.2.1.2Full Housekeeping Packet:

The full HK packet will have the following format. Bit number 0 will be the LSB (ie. numbering is NOT the same as defined in the SGICD). If not otherwise stated, the fields will contain exactly the value read from hardware. This means,that the definition of every hw field is stated in XXX (document defining hw signals,TBD).

36

37

38

39

32

33

34

35

48

49

50-51

52-53

54-55

56-57

58-59

60-61

44

45

46

47

40

41

42

43

68

69

70

62-63

64-65

66

67

1

0

3

2

5

4

7

6

7

0-6

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

18

Byte

19

20

21

22

23

24-25

26

27

28

29

30-31

Bits

15

14

8-13

Field

els_temp npd1_temp npd2_temp npi_temp scanner_temp_sensor

PAD sw_version els_minus_5v_screen_grid_ref els_minus_5v_screen_grid_mon els_bias_mcp_ref els_bias_mcp_mon els_plus_30v_on_off els_enable_hv els_table_index els_range

PAD hk_i_plus_30v hk_i_plus_5v hk_v_plus_12v hk_v_plus_30v hk_v_plus_5v hk_v_minus_12v hk_v_minus_5v

NPD1_defl_switch

NPD2_defl_switch

Sun sensor 2

Sun sensor 1

PAD npd_heaters_on_off npd1_plus_30v_on_off npd2_plus_30v_on_off npd1_bias_mon npd1_bias_ref npd1_defl_mon npd1_defl_ref npd1_start_bias_mon npd1_start_bias_ref npd1_stop_bias_mon npd1_stop_bias_ref npd1_frontctrl npd1_mainctrl npd1_stat npd1_tdcrd npd1_calib11 npd1_calib12 npd1_calib21 npd1_calib22 npd1_sefccnt npd1_defccnt npd2_bias_mon npd2_bias_ref npd2_defl_mon npd2_defl_ref npd2_start_bias_mon

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Note

Software version sw monitored sw monitored sw monitored

There is number of tables stored in

EEPROM, but only one is currently loaded into RAM. Table number of is defined in

ELS mode command. Number of loaded is table showed here.

sw monitored sw_monitored sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

100

101

102

103

104

105

80-81

82-83

84-85

86-87

88-89

90-91

92

93

94

95

71

Byte

72

73

74

75

76-77

78-79

96

2

1

0

7

6

5

3-4

Bits

97

98 7

6

5

4

2-3

99

4

3

2

0-1

1

0

7

5-6

Field

npd2_start_bias_ref npd2_stop_bias_mon npd2_stop_bias_ref npd2_frontctrl npd2_mainctrl npd2_stat npd2_tdcrd npd2_calib11 npd2_calib12 npd2_calib21 npd2_calib22 npd2_sefccnt npd2_defccnt npi_bias_ref npi_bias_mon npi_defl_ref npi_defl_mon npi_plus_30v_on_off npi_defl_switch npi_defl_mode

SPARE4 ima_plus_minus_12v_on_off ima_plus_30v_on_off ima_plus_minus_5v_on_off scanner_vrefmc scanner_status_ccw_end_pos scanner_status_cw_end_pos scanner_status_pos_clock scanner_status_direction scanner_status_state

Lost step scanner_initialized scanner_plus_30v_on_off

PAD scanner_setup_mode scanner_setup_direction

PAD scanner_speed scanner_coast_current_ref scanner_ramp_current_ref scanner_treshold_cw_ref scanner_treshold_ccw_ref scanner_treshold_wheel_ref scanner_position

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Note

sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored sw monitored

0: 0 - 180 1: 180 - 0

0: Not busy 1: ramp up

2: Full speed move 3: Ramp down

0: normal 1: manual

0: 0 - 180 1: 180 - 0 for manual mode speed command only

0: STOP 1: 32s scan

2: 64s scan 2: 128s scan

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Byte

106

107

108-109

110-111

118

Bits

112-115

116-117

8-15

0-7

9-15

7-8

6

2-5

1

0

6-7

5

4

119

0-3

0-3

4-7

Field

sw_mode cpu_load

ELS Sector mask

ELS compression scheme (ie. defines mode) ima_link_status

NPI Sector mask

PAD

NPI Mode

PAD

NPI Accumulation time

NPI Log compression enabled

NPI RICE compression enabled

PAD

NPD RICE compression enabled

NPD Log compression enabled

NPD Accumulation time

NPD1 mode

NPD2 mode

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Note

sw monitored sw monitored sw monitored sw monitored

0-3 NPD1 mode

0: not in use

1: raw data

2: bin matrix (0 0 0)

3: bin matrix (0 0 1), (0 1 0) or (1 0 0)

4: bin matrix (0 0 2), (0 2 0) or (2 0 0)

5: bin matrix (0 1 1), (1 0 1) or (1 1 0)

6: bin matrix (0 1 2), (1 0 2), (0 2 1),

(1 2 0), (2 0 1) or (2 1 0)

7: bin matrix (0 2 2), (2 0 2) or (2 2 0)

8: bin matrix (1 1 1)

9: bin matrix (1 1 2), (1 2 1) or (2 1 1)

10: bin matrix (1 2 2), (2 1 2) or ( 2 2 1)

11: bin matrix (2 2 2)

12: phd mode

13: tof mode

NOTE: Although reduction tables for bin matrixc can be defined independendently all default modes in macros are defined so that bin matrix is of type (0 0 0), (1 1 1) or

(2 2 2) for both NPDs simultaneosly.

There are a few spare bits. They are used to align 8bit signals to 8bit fields. Spare bits can be allocated later for some other use.

Software signal fields:

*ref: All values named *ref are monitored by software. They represent values written to some hardware register, typically values commanded by TC.

sw_version: sw_version is one 16-bit number defining the software version. The versionnumbering scheme is TBD. This value can be used to track definition of (possibly) changed HK packet structure. Sw_version will always be the first 16-bit field in every HK packet.

cpu_load: Load of cpu. The number will tell how much of the cpu'sr resources are in use (it will correspond to 'spare' time of cpu running in dummy loop).

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

sw_mode: sw_mode defines software mode (ie. experiment mode)

6

7

4

5

2

3

Mode

1 els_mode:

Mode name

ASPSafe

ASPHK

ASPCal

ASPLow

ASPNorm

ASPHigh

ASPBurst

8

9

10

11

6

7

4

5

1

2

Mode

0

3

Mode name

ELSB0

ELSH0

ELSN0

ELSL0

ELSB1

ELSH2

ELSN3

ELSL4

ELSBx

ELSHx

ELSNx

ELSLx

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page: npi_mode: Npi mode is just a number used to define the Integration time. Integration time can be calculated in the following way:

Int.Time = 2^(npi_mode) * 31.25ms

The following values correspond to predefined modes:

Mode

3

4

5

Mode name

NPIH

NPIN

NPL npdx_mode:

6

7

8

4

5

2

3

Mode

0

1

Mode name

Disabled

NPDHR

NPDNR

NPDLR

NPDxR

NPDHB0

NPDNB0

NPDLB0

NPDxn

8.2.2Source data field for IMA

After headers, there will be the source data field. For the HK report packet, it will be as shown below:

Byte

16

18-41

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Bits Field

Source data field

8-15 PAD

0-7 SID

IMA Housekeeping packet data

(24 bytes)

PAD=0

SID=10

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Note

The content of the IMA Housekeeping packet data is defined by the IMA team and can be found in the

ICA-IMA TC/TM Data Formats and Related Software Aspects Document issued by Hans Borg at IRF dated 2002-04-07 . The content of the source data field is exactly the same as the data fields of 4 link packets sent by IMA to the MU.

IMA new hk definition.

======================

Word offs.

Bits.

Content.

----------------------------------------------------

0 15-10 Mode. See below.

9-8 Cmd status

0=Ok

1=Invalid

2=Out of range

3=Erroneous

7-0 HV switches

7 Deflection HV logical

6 Deflection LV logical

5 Entrance HV logical

4 Grid LV logical

3 Pacc. HV logical

1

2 +28V main

1 +28V opto

0 +28V mcp

15 Cmd. toggle

Numeric 0/1

14-12 Sid nr

0 Minimum

1 Normal

2 Burst

3 Calibration

4 Special

5 Test

11-8 +28V presence

(ref)

(ref)

(ref)

(ref)

(ref)

(Ok)

(Inv)

(Out)

(Err)

Table pos. Parameter.

0

9 mode hk_prm

10 ad_prm

(Min)

(Nrm)

(Bst)

(Cal)

(Spc)

(Tst)

12

1

11 hk_prm sid_nr ad_prm

10

11

2

3

4

5

6

7

8

9

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

11 HV enable/disable

10 Main

9 Opto

8 Mcp

7-0 Fifo filling (F8)

Numeric F8 code. See below.

15-0 Cmd return

Numeric (hex)

15-8 Opto HV monitor

7-0 Mcp HV monitor

15-8 Deflection HV monitor15

7-0 Deflection LV monitor

15-8 Pacc. HV monitor

7-0 Grid LV monitor

2 direct from tc_decoder

13

14 ad_prm

16

17

18 fifo_fill ad_prm ad_prm ad_prm ad_prm ad_prm

15-8 Sensor temperature.

7-0 Dpu temperatur.

15 Direct command switch

14-12 Pacc. low level

11-0 Deflection HV reference

15 Alt. Pacc. (Opera=Fix/Alt) 5

14-12 Pacc. high level ref.

11-0 Deflection LV reference

(Sns) 19

(Dpu) 20 ref.

3

4

21 ad_prm ad_prm switches dta_12bit[3] dig_dflhv switches

6 dta_12bit[4]

22 dig_dfllv

15 Pacc. level (High/Low)

14-12 Grid LV reference

11-0 Entrance HV reference

15 Deflection HV (Opera=Stp/Fix)

14-12 Opto default reference

11-9 Mcp default reference

8-0 Entrance upper HV monitor 27

15 Entrance HV (Opera=Stp/Fix)28

14-12 Opto current reference

11-9 Mcp current reference

8-0 Entrance lower HV monitor 31

23

24

25 ms.flag

dta_12bit[2] dig_entr

26

7 switches dta_12bit[0]

8 ad_prm dta_12bit[1]

29 switches

Optocur

30 ad_prm

Mcpcur

Modes.

===================================================

Burst

-------

24

25

26

27

28

29

30

31

Burst

-------

16

17

18

19

20

21

22

23

Special

-------

32

33

Normal

-------

8

9

10

11

12

13

14

15

Minimum

-------

0

1

2

3

6

7

4

5

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Mnemonic

---------------------------------------

Idle

Mmom

Mspo

Mmsp

(Moments only)

(Spectras only)

(Moments and Spectras)

Msis

Mexm

Void

Void

(Selected Ion Species)

(Energy Mass matrix)

Mnemonic

---------------------------------------

Nrm0

Nrm1

(Normal 0)

Nrm2

Nrm3

Nrm4

Nrm5

Nrm6

Nrm7

Mnemonic

---------------------------------------

Har0

Har1

(High angular resolution 0)

Har2

Har3

Har4

Har5

Har6

Har7

Mnemonic

---------------------------------------

Exm0

Exm1

(Energy Mass matrix 0)

Exm2

Exm3

Exm4

Exm5

Exm6

Exm7

Mnemonic

---------------------------------------

Test

Cal1 (Calibration 1)

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

34

35

36

37

38

39

Mars Express

Energetic Neutral

Atoms Analyser

Cal2

Fake

Void

Void

Void

Void

ASPERA-3

(Calibration 2)

(Faked science data)

/*------------------------------------------------------

Fifo filling must be unpacked by int unpack_f8(int acc)

------------------------------------------------------*/ int Astat5a::unpack_f8(int acc)

{ int exp; exp=(acc >>4) &0xF; if(exp>1) { acc=(acc & 0xF) | 0x10; acc=acc<< (exp-1);

} return acc;

}

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Mars Express

Energetic Neutral

Atoms Analyser

9.SCIENCE DATA

9.1General

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

9.2Science data production modes

9.3Science data packet formats

9.3.1General

Definitions are subject to change.

All packages will have the normal TM header and Data field header in front of the package.

The Lossy compression scheme will be used only if the RICE (lossless) compressed package is larger than the packet size.

If the measurement mode is changed before the data for one packet is completely measured, the packet will be cut on the starting place of invalidity. Hence, the data sent to the ground is valid (in this sense) but the set is not necessarily complete. This can be identified by the packet length (in the uncompressed case it's smaller than normal) or as a smaller amount of decompressed data (in compressed case). Of course, this kind of recovery is not always possible.

9.3.2Science data packet types

The Science packets produced in the Main Unit have data types and subtypes. The data Type (4bits) defines mainly an instrument the packet is related to and the subtype (4bits) specifies the packet type within an instrument packet. Packet types and subtypes are allocated as follows.

The Main Unit will also format telemetry packets coming from IMA. These will be formatted to the ESA packet TM format and sent to the s/c. Science data coming from IMA is not analyzed by any means in the

Main Unit.

Data Type Data subtype

0 0

1 0

1

Data type name Description

Dummy

ELS Complete sweep

Doesn't contain anything meaningful

ELS Data Packages

ELS Engineering information First ELS packet within one scan cycle. Contains engineering information needed for analysis of ELS data. No science data included

Data from one complete sweep included

2

3

ELS Sweep step 0-63

ELS Sweep step 64-127

Data from first 64 steps in one sweep

Data from latter 64 steps in one sweep

2 0

1

NPD raw data

NPD binning data

NPD1 data packages

NPD1 data produced in raw data mode

NPD1 data produced in bin matrix mode

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Data Type Data subtype

2

3

3

4

0

1

2

3

0

Data type name

NPD TOF mode

NPD PHD mode

NPD raw data

NPD binning data

NPD TOF mode

NPD PHD mode

NPI Normal mode data

NPD1 data in Time-of-Flight mode

NPD1 data in Pulse height distribution mode

NPD2 data packages

NPD2 data produced in raw data mode

NPD2 data produced in bin matrix mode

NPD2 data in Time-of-Flight mode

NPD2 data in Pulse height distribution mode

NPI data packages

NPI data in normal mode

NPI Stepping mode

Description

NPI data in deflection voltage stepping mode

1

5

0

Scanner information

Engineering data packages

Solar sensor information Status of Solar sensor 1&2 in each sample irq during one scan.

Scanner position on each sample irq in one scan.

1

9.3.3IMA telemetry packets

IMA telemetry packets will be sent almost as they are received in the Main Unit. The structure of the

IMA telemetry packets are as follows: The time tag of the TM packet will be the time of receiving the first link packet from IMA (TBD). Time will be the same for all packets built from the same IMA packet.

16

Byte Bits Field

Error status

17

18-last

IMA SID

IMA packet

Subfield

0: No errors identified by MU others: first invalid word in IMA data

Remark

Maximum 2046 words of IMA telemetry packet

9.3.4ELS telemetry packets

An ELS data packet can contain a maximum of 128 steps*16 sectors = 2048 words of (16-bit) raw data.

Based upon whether compression is enabled or not, the data may fit in a single packet or may have to be split into 2 packets, with each packet comprised of 64 steps.

The following table represents the ELS packet header that is common to all ELS packets.

Byte Bits

16-17

8-15

Field

Science data Header SW version spare

Subfield Remark

4-7

2-3

Data type

PAD

1 = ELS Packet

Mars Express

Energetic Neutral

Atoms Analyser

Byte Bits

0 - 1

Field

ASPERA-3

ELS packet subtype

Subfield

20-25

26-27

28 7

6

5

ELS compression scheme

SCET Time

ELS sector mask

Spare

Rice compression

Log compression (16 to 8 bit)

3-4

0-2

Energy compression

Time compression spare

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

0 = ELS engineering

information

1 = ELS data steps 0-127

2 = ELS data steps 0-63

3 = ELS data steps 64-127

(on start of first sweep (ie.

'engineering' sweep) in this scan)

Note: If RICE compression is used, values will be 16bits in width, but the range for the value is 0-255. This is to optimize both performance and compression.

0= 1 step, 1=2 steps,

2=4 steps , 3= undefined

0= 1 sweep, 1=2 sweeps,

2=4 sweeps, 3=8 sweeps,

4=16 sweeps

5-7=undefined

29

31

32

33

34

35

36

37

38-39

40-41

42-43

44-45

546-

9.3.4.1ELS engineering information

In the beginning of every scan cycle, some engineering information is sent in a separate ELS science packet. This information is needed for the analysis of the ELS science data that is returned during that scan cycle. This packet is built in the following way, starting from byte 30.

Field

30

Byte Bits

3-7

2

0-1

Subfield

spare

Scanner direction

Scanner speed

Remark

0 = 0 - 180

1 = 180 - 0

0 = staying

1 = 32s scan

2 = 64s scan

3 = 128s scan

On start of scan (or step) period

ELS Status

Scanner position

TBD and TBV

ELS temperature

ELS MCP reference

ELS MCP monitor

ELS Screen grid reference

ELS Screen grid monitor

ELS Deflection reference step1

ELS Deflection monitor step 1

ELS Deflection ref. step 2

ELS Deflection mon. step 2

Etc...

ELS Deflection ref. step 128

31

32

Mars Express

Energetic Neutral

Atoms Analyser

Byte Bits

547

548-

549

Field

ASPERA-3

Subfield

ELS Deflection mon. step 128

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

9.3.4.2ELS data

After the first packet of ELS engineering data is sent, the remaining ELS packets will contain ELS science data. There is three types of packets: (1) one containing data from one complete sweep (128 steps), (2) one containing the first 64 steps from one sweep, and (3) one containing the latter 64 steps from one sweep. All ELS packets will be sent in a row so it's possible to find the order of these packet from the Packet sequence count field.

In this case, the packet will be as follows:

30

Byte Bits

3-7

2

0-1

Data

Field Subfield

spare

Scanner direction

Scanner speed

Scanner position

Sector 0, step 1, sweep 1

Sector 1, step 1, sweep 1

....

Sector 0, step 2, sweep 1

Sector 1, step 2, sweep 1

Remark

0 = 0 - 180

1 = 180 - 0

0 = staying

1 = 32s scan

2 = 64s scan

3 = 128s scan

On start of scan (or step) period

Data from one sweep. If no log, energy nor sectormask type of comresssion is applieed to the data it will be divided to two parts. (ELS data packet subtypes

2 and 3) . In this case both packets will have same time tag on packet bytes 6-11. However, sequence count will differ between these two packets.

9.3.5NPD telemetry packets

Byte Bits

16-17

18

19 4-7

Field

Science data Header

0-3

Subfield

SW version spare

Data type

NPD packet subtype

Remark

2: (NPD1 packet)

3: (NPD2 packet)

0 = NPD raw data

1 = NPD binning data

2 = NPD TOF mode

3 = NPD PHD mode

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

9.3.5.1NPD Raw data packet

Because raw data events are 25bits in width and the compression scheme used is 16bit RICE, one has to do a trick in order to make the compression as effective as possible. These 25bit events are divided in the packet into two separate 'data streams', both containing 512 words. Stream_1 words will have following structure :

Byte Bits

0-1 5-15

3-4

0-2

Field

Stream_1 word TOF

Direction

Coincidence

Subfield Remark

Stream_2 words will have the following structure :

Byte Bits

0-1 8-15

0-7

Field

Stream_2 word PAD

Stop PH

Subfield Remark

The overall structure for the NPD raw data packet will be as follows:

37

38

39

40

41

42

31

32

33

34

35

36

Byte Bits

20-25

26-27

28

8-15

3-7

2

0-1

4-7

2-3

1

Field Subfield

Sample start time (SCET)

Scanner information block Scanner position

PAD

NPD bit information

Scanner direction

Scanner speed

Accumulation time

PAD

Log compression enabled

29-30

0

8-15

0-7

NPD registers

RICE Compression enabled

FRONTCTRL

MAINCTRL

STAT

TDCRD

CALIB11

CALIB12

CALIB21

CALIB22

STARTCNT

STOP0CNT

STOP1CNT

STOP2CNT

TOFCNT

RAWCNT

43 Data Stream 1:

512 * Stream_1 words

Stream 2:

512 * Stream_2 words

Remark

In the beginning of sample

Time = 2

N

* 31.25ms

Always 0 for raw data mode (0 = disabled)

If applied, RICE compression is used in 'one-shot' over both streams.

Mars Express

Energetic Neutral

Atoms Analyser

Byte Bits Field

ASPERA-3

Subfield

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

9.3.5.2NPD Bin matrix data packet

The NPD Bin matrix data packet will contain data from 768 bin counters. The data will be ordered so that bin number 0 is the first one found in the packet.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Byte Bits

20-25

26

Field Subfield

Sample start time (SCET)

Scanner block information Scanner position

27

28

3-7

2

0-1

4-7

2-3

1

NPD Bit information

PAD

Scanner direction

Scanner speed

Accumulation time

PAD

Log compression enabled

0

36

37

38

32

33

34

35

39

29

30-31 12-15

8-11

4-7

0-3

Treshold values

NPD Registers

40 Data

RICE Compression enabled

PAD

PAD

Treshold 3

Treshold 2

Treshold 1

CALIB11

CALIB12

CALIB21

CALIB22

STARTCNT

STOP0CNT

STOP1CNT

STOP2CNT

Bin number 0x000

Bin number 0x001

Etc ...

Bin number 0x2ff

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

In the beginning of this sample.

Time = 2

N

* 31.25ms

0 = disable

1 = enable

0: Matrix 0, 16x16

1-14: Matrix 1, 2x16

15: Matrix 2, 1x16

Might be RICE compressed

Number of bins returned is dependent upon the threshold mode, so the maximum number of bins returned would be 16x16x3 =

300 bins (0x000 to 0x2ff)

The 3 represnts the number of directions.

9.3.5.3NPD TOF mode data packet

When NPD is run in the special TOF mode, the data will be packeted into TOF mode packets which contain 3 different 'TOF' tables.

Byte Bits

20-25

26-27 8-15

3-7

28

2

0-1

4-7

2-3

Field

Scanner information block

Subfield

Sample start time (SCET)

Scanner position

PAD

NPD bit information

Scanner direction

Scanner speed

Accumulation time

PAD

Remark

In the beginning of sample

Time = 2

N

* 31.25ms

Mars Express

Energetic Neutral

Atoms Analyser

29

34

35

36

37

30

31

32

33

38-

Byte Bits

1

0

Field

NPD Registers

Data

ASPERA-3

Subfield

Log compression enabled

RICE Compression enabled

PAD

CALIB11

CALIB12

CALIB21

CALIB22

STARTCNT

STOP0CNT

STOP1CNT

STOP2CNT

First data word in TOF mode

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

0 = disable

1 = enable

Remark

768 data words (or bytes), Might be RICE compressed

9.3.5.4NPD PHD mode data packet

When NPD is run in the special PHD mode, the data will be packeted into PHD mode packets which contain the least significant bytes of the stoparray.

Mars Express

Energetic Neutral

Atoms Analyser

ASPERA-3

Byte Bits

20-25

26-27 8-15

3-7

28

2

0-1

4-7

2-3

1

Field

Scanner information block

Subfield

Sample start time (SCET)

Scanner position

PAD

NPD bit information

Scanner direction

Scanner speed

Accumulation time

PAD

Log compression enabled

29

30

35

36

37

31

32

33

34

38-85

0

NPD Registers

Data

RICE Compression enabled

PAD

CALIB11

CALIB12

CALIB21

CALIB22

STARTCNT

STOP0CNT

STOP1CNT

STOP2CNT

Least significant byte of

STOPARRAY channel 0

Least significant byte of

STOPARRAY channel 1

...

Least significant byte of

STOPARRAY channel 47

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

In the beginning of sample

Time = 2

N

* 31.25ms

Always 0 for PHD mode

(0 = disabled)

48 data bytes (or bytes), Might be

RICE compressed

9.3.6NPI telemetry packets

One NPI telemetry packet will consist of 32 samples. This leads to 32 samples*32sectors = 1024 words of raw 16bit data. This data can be compressed. Whether the packet is compressed or uncompressed can be determined using the NPI compression flags that are returned in the MU full housekeeping packet and in Byte 28 of the NPI science packet.

18

19

Byte Bits

16-17

4-7

0-3

Field

Science data Header

Subfield

SW version

PAD

Data type

NPI packet subtype

Remark

4 = NPI packet

0 = NPI data (normal mode)

1 = NPI data (defl stepping mode)

9.3.6.1NPI normal mode data packet

Byte Bits

20-25

26-27 8-15

3-7

28

2

0-1

4-7

2-3

1

Field

Scanner information block

Subfield

Sample start time (SCET)

Scanner position

PAD

NPI bit information

Scanner direction

Scanner speed

Accumulation time

PAD

Log compression enabled

Remark

In the beginning of sample

Time = 2

N

* 31.25ms

Converts 16bit counts to 8 bit bit values

Mars Express

Energetic Neutral

Atoms Analyser

Byte Bits

0

29

30-33

34Data

Field

ASPERA-3

Subfield

RICE Compression enabled

PAD

NPI Sector mask

Sample 0, sector 0

Sample 0, sector 1

...

Sample 31, Sector 31

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

Might be RICE compressed

9.3.6.2NPI Deflection stepping mode data packet

Byte Bits

20-25

26-27 8-15

3-7

28

2

0-1

4-7

2-3

1

0

29

30-33

34-37

38-

Field

Scanner information block

Subfield

Sample start time (SCET)

Scanner position

PAD

NPI bit information

Scanner direction

Scanner speed

Accumulation time

Data

PAD

Log compression enabled

RICE Compression enabled

PAD

NPI Sector mask

NPI deflection status mask

Sample 0, sector 0

Sample 0, sector 1

...

Sample 31, Sector 31

Remark

In the beginning of sample

Time = 2

N

* 31.25ms

Might be RICE compressed

9.3.7Engineering telemetry packets

There are two packets of so called 'engineering type' packets: the solar sensor information packet and the scanner information packet. Solar sensor information is a readout of the solar sensors in each sample interrupt during one scan cycle. The Scanner position packet reports on the scanner position on each sample irq during one scan cycle.

Byte Bits

16-17

18

19 4-7

0-3

Field

Science data Header

Subfield

SW version

PAD

Data type

Engineering packet subtype

Remark

5 = Engineering packet

0 = Solar sensor information

1 = Scanner information

9.3.7.1Solar sensor information packet

Byte Bits Field Subfield Remark

Byte Bits

20-25

26

27 7

6

4-5

1-3

28-

0

7

6

1

0

Last 7

6

1

0

Mars Express

Energetic Neutral

Atoms Analyser

Field

ASPERA-3

Subfield

Sample start time (SCET)

Scanner position

PAD

Scanner direction

Scanner speed

PAD

RICE compression enabled

Solar sensor 1 status pos 0

Solar sensor 2 status pos 0

Solar sensor 1 status pos 3

Solar sensor 2 status pos 3

Solar sensor 1 status pos last-3

Solar sensor 2 status pos last-3

Solar sensor 1 status pos last

Solar sensor 2 status pos last

Reference : ME-ASP-XX-000N

Issue : 1 Rev.: 1

Date : 2003-01-xx

Volume : - Page:

Remark

At start

9.3.7.2Scanner information packet

Byte Bits

20-25

26

27 7

6

4-5

1-3

0

28Data

Field Subfield

Sample start time (SCET)

Scanner position

PAD

Scanner direction

Scanner speed

PAD

RICE compression enabled

Scanner position 0

Scanner position 1

...

Scanner position last

At start

Remark

Up to 2048 positions (each is 1 byte), which corresponds to

64sec. Can be RICE compressed.

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement