ISUAL Instrument Software S. Geller. CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 2 Topics Presented Software Functions SOH Telemetry.

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
Process Description and Control
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
OS Spring’03 Introduction Operating Systems Spring 2003.
1 I/O Management in Representative Operating Systems.
Using Two Queues. Using Multiple Queues Suspended Processes Processor is faster than I/O so all processes could be waiting for I/O Processor is faster.
Dataloggers. Records voltage, current, or circuit closing Environmental variables must be converted to electronic signal.
A Brief Look At MPI’s Point To Point Communication Brian T. Smith Professor, Department of Computer Science Director, Albuquerque High Performance Computing.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Solar Probe Plus FIELDS ICU/FSW Peter R. Harvey Dorothy Gordon –ICU Will Rachelson – FSW Dec 1, 2012.
Offline Performance Monitoring for Linux Abhishek Shukla.
ISUAL Test Verification Matrix H. Heetderks. TRR December, 20002NCKU UCB Tohoku ISUAL Verification Matrix Heetderks Verification Matrix -- Imager Related.
ISUAL Long Functional Test H. Heetderks. TRR December, 20012NCKU UCB Tohoku ISUAL Long Functional Test Heetderks Basic DPU Function Verify Power on Reset.
ISUAL Sprite Imager Electronic Design Stewart Harris.
ISUAL Spectrophotometer Electronics C. Ingraham. 2NCKU UCB Tohoku CDR 9 July, 2001 Spectrophotometer Electronics C. Ingraham SP Electronics Functions.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
1 Lecture 4: Threads Operating System Fall Contents Overview: Processes & Threads Benefits of Threads Thread State and Operations User Thread.
CSC 322 Operating Systems Concepts Lecture - 25: by Ahmed Mumtaz Mustehsan Special Thanks To: Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
FINAL MPX DELIVERABLE Due when you schedule your interview and presentation.
1 Lunar Reconnaissance Orbiter (LRO) CRaTER Technical Interchange Meeting C&DH Flight Software April 14, 2005.
Concurrency: Mutual Exclusion and Synchronization Chapter 5.
The Functions of Operating Systems Interrupts. Learning Objectives Explain how interrupts are used to obtain processor time. Explain how processing of.
6 Memory Management and Processor Management Management of Resources Measure of Effectiveness – On most modern computers, the operating system serves.
Ethernet Driver Changes for NET+OS V5.1. Design Changes Resides in bsp\devices\ethernet directory. Source code broken into more C files. Native driver.
ONE Concept. ONE Work area & lab setup ONE Goals Provide single network interface regardless of physical link Provide reliable, isochronous message transport.
Device Drivers CPU I/O Interface Device Driver DEVICECONTROL OPERATIONSDATA TRANSFER OPERATIONS Disk Seek to Sector, Track, Cyl. Seek Home Position.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
Threads G.Anuradha (Reference : William Stallings)
Concurrency: Mutual Exclusion and Synchronization Chapter 5.
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
ISUAL Mass Memory Robert Abiad. NCKU UCB Tohoku Mass Memory R. Abiad CDR 9-10 Jul Outline Description Requirements Interfaces Block Diagram Usage.
ISUAL Mass Memory Robert Abiad. NCKU UCB Tohoku Mass Memory R. Abiad IFR 5-7 Mar Outline Description Requirements Interfaces Block Diagram Usage.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
C. Ingraham5-7 March 2001Data Processing Unit IFR1NCKU UCB Tohoku ISUAL Data Processing Unit (DPU) C. Ingraham.
RIU as related to SOIS EDS Glenn Rakow CCSDS SOIS Spring Meeting 2013.
ISUAL Data Formats & Science Data Processing S. Geller.
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes 12/25/20151 Flight Software Template for Instrument Critical Design Review Gary M. Heiligman.
SDR 7 Jun Associated Electronics Package (AEP) Curtis Ingraham.
NCKU UCB Tohoku GSE Software, T.T. Wang 1 Ground Support Equipment(GSE) Software Tzu-Te Wang.
Lecture 1: Review of Computer Organization
18 th GIST Meeting 14 th –16 th May 2003 Ground Segment (GGSPS) Report 1 GERB Ground Segment B.C.Stewart RAL.
AEP Mechanical and Power System H. Heetderks. CDR July, 2001NCKU UCB Tohoku AEP Mechanical and Power System H. Heetderks 2 AEP Mechanical Design System.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Test Suites (Backup) Stanford Linear Accelerator Center Gamma-ray Large Area Space Telescope.
Tracing the JWST Proposal from User Interface to Commanding of an Instrument Margaret Meixner & WIT Balzano, Robinson & CMD.
ROCSAT-2 Current Status of ISUAL Project Jyh-Long Chern of NCKU Yukihiro Takahashi of Tohoku University Henry Heetderks of UCB February 28, 2002.
I/O Organization Competency – C6. Important facts to remember when I/O devices are to be connected to CPU There is a vast variety of I/O devices. Some.
RBSP Radiation Belt Storm Probes RBSP Radiation Belt Storm Probes 3-4 Sept. 2008EFW INST+SOC PDR447 Command, Telemetry, and Ground Support Equipment (CTG)
GLAST LAT ProjectCDR/CD-3 Review May 12-16, 2003 Document: LAT-PR Section 5 IOC Subsystem 1 GLAST Large Area Telescope: IOC Subsystems WBS: 4.1.B.
Embedded Computer - Definition When a microcomputer is part of a larger product, it is said to be an embedded computer. The embedded computer retrieves.
UDP: User Datagram Protocol Chapter 12. Introduction Multiple application programs can execute simultaneously on a given computer and can send and receive.
HarveyFIELDS iCDR – Flight Software Solar Probe Plus FIELDS DCB Flight Software Design Peter Harvey University of California 1.
4/27/ T7C - DCM Software Interface ISUAL DPU-to-DCM Interface and Protocol 8644-T7C Rev Description Date A Initial release 20-Feb-2001 SG B MMCB.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR FSW Overview Sergio Maldonado FSW Test Team Lead Stanford Linear Accelerator Center.
ISUAL Imager of Sprites and Upper Atmospheric Lightning (ISUAL). S. B. Mende UC Berkeley.
ISUAL System Design H. Heetderks. PDR 31 August 2000NCKU UCB Tohoku ISUAL System Design H. Heetderks 2 ISUAL Operations Overview.
11/3/2000cmd_soh1 SOH and CMD Current Status. 11/3/2000cmd_soh2 ISUAL Flight Software 0.0 SOH Telemetry CMD Input Debug I/O.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
NCKU_UCB_TohokuISUAL-IFR : DCM (version 2.0) July 9, 2001Tong-Long Fu 1 Data Compression Module ( DCM ) Tong-Long Fu Laboratory of RF-MW Photonics, Department.
ISUAL System Design Summary H. Heetderks / S. Harris.
Tutorial 2: Homework 1 and Project 1
Simulink Interface Layer (SIL)
Exemplar CFS Architecture
ISUAL Associated Electronics Package
CS 3305 System Calls Lecture 7.
Real-time Software Design
CS 143A Quiz 1 Solution.
Components of a CPU AS Computing - F451.
Presentation transcript:

ISUAL Instrument Software S. Geller

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 2 Topics Presented Software Functions SOH Telemetry Command Processing Science Telemetry Operational Modes Software Tasks

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 3 Terminology AEP - Associated Electronics Package DCM - Data Compression Module PVCF - Pseudo Virtual Channel Frame –transmission unit for sending science packets to the ground SOH - Status of Health –Housekeeping data

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 4 Instrument Software Functions Receive and execute Commands Generate Status telemetry (SOH) Instrument Control and Readout Management of Readout Data –Pass data to DCM for compression –Generate science telemetry packets –Make packets into PVCFs; store in spacecraft buffer. –Transfer PVCF data to Satellite

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 5 DPU processor 8085 processor Programmed in assembly Language Some code is heritage from IMAGE/FUV Instrument control software developed by UCB

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 6 SOH Telemetry Command Echoes and other real-time status is sent out the Command Status channel Some of the short status packets may be directed to: –SOH channel –Science telemetry channel –Both –Neither

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 7 Analog Monitors Packet

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 8 Digital Housekeeping Packet

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 9 Command Processing Commands are received from the satellite as CCSDS command packets. Commands may be received at any time. Some commands are executed immediately Most commands have a Time Tag for later execution

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 10 Command Packet Definition Document 8564-X7 defines command packets

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 11 Example of Command Definition

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 12 Time-Tagged Commands Stored in Time-Tagged List in DPU memory Instrument software “background loop” continuously checks command times against current UT After execution, time-tagged are erased from memory.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 13 Command Groups Commands may be assigned a group number, and stored in the Time-Tagged List A single command will cause all commands in a group to be executed Group commands use the time-tag for order.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 14 Group Command Procedures Group commands are not erased after execution; the group may be used again and again to execute common procedures. Groups may be erased or replaced by specific commands.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 15 Example Command Procedure ; Clear Statistics and Faults /I_CLEAR_STATS /I_CLEAR_FAULTS ; Patch in readout buffer sizes /I_PATCH4 BANK=0 ADDR=CAM_RO_NBYTES DATA=X' ' /I_PATCH4 BANK=0 ADDR=SPH_RO_NBYTES DATA=X' ' /I_PATCH4 BANK=0 ADDR=APH_RO_NBYTES DATA=X' ' ; Patch in relative number of MMCBs per event /I_PATCH2 BANK=0 ADDR=N_CAM_MMCBS DATA=X'0070' /I_PATCH2 BANK=0 ADDR=N_SPH_MMCBS DATA=X'0070' /I_PATCH2 BANK=0 ADDR=N_APH_MMCBS DATA=X'0070'

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 16 Example Command Procedure ;Set Filter /I_FILTER_SET ID=1 ;Setup Camera /I_SPRITE_SETUP ID=NFRAMES VAL=123 /I_SPRITE_SETUP ID=EXPOSURE VAL=123 /I_SPRITE_SETUP ID=INTERVAL VAL=123 /I_SPRITE_SETUP ID=NPOST VAL=123 ;Setup SPH and APH too...

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 17 Example Command Procedure ;Turn on Mass Memory power /I_MM_ON ; Turn on Mass Memory /I_DELAY SECONDS=1 ; wait an extra second ;Allocate Mass Memory Control Blocks /I_MMCB_FORMAT ; format the MMCBs and readouts /I_DELAY SECONDS=1 ;Allocate TM area ;for building packets, PVCFs and 64 Megabit "files". /I_TM_FORMAT ; format the PCVF buffers; start TM

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 18 Example Command Procedure ;Turn on DCM /I_DCM_ON ;DCM shows "busy" until it completes its internal checks /I_DELAY SECONDS=5 ; It's not convenient to check ground telemetry ; when running a time-tagged procedure, ; so we test the telemetry within the DPU's SOH array /I_VERIFY_SOH_BYTE OFFSET=DCM_Status MIN=2 MAX=2 ; This "SCIENCE" Proc is executed as part of a command group. ; If test fails, remainder of command group is ignored ; and a Spacecraft Alert packet is generated.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 19 Example Command Procedure ;Copy DSP program from EEPROM to MM /I_DCM_PLB PLB=1 ; Copy PLB from EEPROM to MM ;Issue CDI commands /I_DCM_XMT OP= DATA= ;tell DCM where in MM it can get its initial MMCB and DSP program /I_DCM_START /I_DELAY SECONDS=2 /I_VERIFY_SOH_BYTE OFFSET=DCM_Status MIN=1 MAX=1

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 20 Example Command Procedure ;Turn on HV and other Science Power services /I_PWR_ON SERVICE=1 /I_PWR_ON SERVICE=2 /I_PWR_ON SERVICE=3 /I_PWR_ON SERVICE=4 ;Set mode; Start science data taking /I_SPRITE_CONT ; continuous mode ; Verify that Continuous Mode got started /I_DELAY=5 /I_VERIFY_SOH_BYTE OFFSET=10 MIN=2 MAX=2

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 21 Data Compression All compression is done by the DCM DPU allocates Mass Memory and supplies work for the DCM

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 22 Telemetry Generation Telemetry products are generated as CCSDS source packets Packets are broken up into PVCFs and accumulated in memory until a 64 megabit Block is filled Block is transferred to spacecraft as a series of PVCF transmissions

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 23 Sprite Event Raw readout Compressed Data Science Products ---Instruments-----Mass memory Telemetry-- Science Data Flow Camera frames Spectrometer sample arrays

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 24 Operational Modes Standby Data-Taking –Sprite Continuous/Burst –Aurora Dayside Data Processing

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 25 Standby Mode No Science Data taken All science power services off Command processing active Status (SOH) telemetry generated Mass Memory and DCM may or may not be turned on.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 26 Power-On Status At ISUAL Power-on, status is Standby Mode, plus... Mass Memory is off, DCM is off Time-tagged command list is empty PVCF storage is empty

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 27 Data-Taking Mode : Aurora Camera takes fixed-exposure at regular intervals; various filters set Photometer Data sampled at regular intervals and averaged

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 28 Data-Taking Mode : Sprite Data taking synchronized with a Sprite Event. DPU gets an interrupt and notes the time. When a camera readout is complete, DPU stamps the time and passes the data on for compression and science telemetry. Same for Photometers.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 29 Dayside Data Processing No Data Taking Data Compression from accumulated nightside raw data Telemetry Generation. Command Processing Note: at any time, a SAFE command will shut off all HV and switch to Standby Mode.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 30 Software Tasks A task is an independent code thread with its own stack. A task which is waiting for something will execute ‘call task'; this transfers control to the next task in a list of tasks.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 31 Non-Preemptive multi-tasking ISUAL Flight Software uses a non-preemptive multi- tasking system. A task switch happens only when a task executes a 'call task'. Interrupt service routines do not change the current task, but an interrupt service routine may change the state of something which will cause the current task to do a 'call task'.

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 32 Tasks in ISUAL Background loop SOH task - Generates housekeeping Supply task - recycles readout memory DCM task - manages compression TM task - telemetry Packet Generator SC task - send PVCFs to Spacecraft

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 33 Background Loop Task Command Processing –Receive Commands –Execute commands from time-tagged list

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 34

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 35 SOH Task Generate Event Log packets Generate Echo packets Read Analog Monitors Generate Analog Monitor and Digital Housekeeping packets

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 36

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 37 Supply Task If an instrument readout is complete: –Mark the MMCB “ready for compression” –Put MMCB on DCM queue –Get another MMCB for that instrument –Command a new readout address

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 38 Supply Task

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 39 DCM Task Get up to 16 MMCBs from DCM queue Store in Mass Memory Signal DCM to do compression After compression, move MMCBs to TLM queue

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 40

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 41 TM Task Wait for MMCB on TM queue Generate Header Packet Generate multiple data packets Release MMCB to supply queue appropriate to instrument

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 42 TM Task

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 43 SC Task Wait for SC buffer to fill Send MBR message to spacecraft Wait for reply command Send PVCFs

CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 44