160 likes | 391 Views
Ground Support Equipment(GSE) Software. Tzu-Te Wang. User I/F (USER to S/W). SOH Decoder. CMD Encoder. Upper Level. Queue. Software I/F (S/W to S/W). Queue Writer/Reader. Lower Level. Interface to ISUAL. Software I/F (S/W to H/W). Software Architecture. Java. MS C.
E N D
Ground Support Equipment(GSE)Software Tzu-Te Wang
User I/F (USER to S/W) SOH Decoder CMD Encoder Upper Level Queue Software I/F (S/W to S/W) Queue Writer/Reader Lower Level Interface to ISUAL Software I/F (S/W to H/W) Software Architecture Java MS C Electrical test GSE NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
Compiler.class Interpreter Translator Software Flow diagram(1/3) Command packets STOL Procedures Script Files test1.PRC DEBUG Window Involved CMD Encoder GSE008.jar JAVA STOL Translator GSE004.jar NSPO Procedure Script File test1.NSPO STOL Window (Display/Edit UCB Script) NSPO Window (Display NSPO Script Format) NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
Queue SOH Raw Data File SOH.db SOH.class ApID=0x71D ApID=0x71C Software Flow diagram(2/3) House Keeping Data RS 422 Board SOH Display JAVA SOH Decoder GSE006.jar UCB Serial I/O Bridge SOH.EXE Query meaning of value for specified data field Pickup value from data file NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User NSPO Command Script File ‘nspo002.txt’ Queue CMD Raw Data File CMD.db Java Classes I_HV_MAYI.class : Software Flow diagram(3/3) Commands Packets RS 422 Board Invoke method to handle parameterizes in each command packet UCB Serial I/O Bridge CMD.EXE JAVA CMD Encoder GSE008.jar Fill values in raw data file NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface(1/4) • Definition: • SOH decoder use U/I to display information. • CMD encoder use U/I to grab commands. • STOL translator use U/I to edit and interpret procedures. • Requirement: • The U/I must show all information clearly. • The U/I must has abilities to handle file-system. • The U/I must be easy to use. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface(2/4) • SOH display U/I • Classify whole digital House-Keeping data into 5 groups. • Use table to show numerical data. • Use icons to present modes. • Use buttons to present 2-state status. • Use labels to display time based information. • Use labels to display version of flight software. • Use text box to display whole SOH data in order. • Display screen can be frozen/unfrozen. • Display screen will update every 5 seconds. • Display screen shows the time of last SOH and local time. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface(3/4) • CMD grabbing U/I • Use text box for directly input script name. • Use File-Open to choose script from file-list/folder. • For example • Use button ‘28V’ to enable 28 volts power output. • Use button ‘PPS’ to start pulse-per-second signal. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface(4/4) • STOL translator U/I • Use menu ‘Open’ to open a procedure and edit. • Use menu ‘Save’ to save procedure with specified name. • Use menu ‘Translate’ to translate current procedure in editor. • Upper split window will output debug messages. • Middle split window will output interpreted NSPO script. • Lower split window is editor for STOL procedures. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
User Interface NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
Software Interface(1/2) NSPO Script GPS Script SOH Display ISUAL Serial I/O CMD.java TPA.java SOH.java CMD Queue SOH Queue Software Interface RS422 H/W driver CMD.EXE SOH.EXE NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
Software Interface(2/2) • Both Java and MS C have to access queue in the same approach. Java is coded base on C program. • To prevent overwriting, command queue must big enough. • Only one queue opened for each propose(SOH and CMD queue). • For upper level program(ex:Java), it allow several programs to access the same queue at the same time. (ex: SOH decoder, freeze current one and open another new one for comparing.) • For lower level program(ex:SOH.EXE), it only accept one program to access queue. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
Current Status • CMD encoder can accept NSPO script and generate output (CCSDS packets, define in 8564-x7) to command queue. And CMD.EXE can read the queue and output commands to ISUAL’s DPU. • SOH.EXE can read from ISUAL’s DPU and generate output (CCSDS packets, define in 8565-x7) to SOH queue. And SOH decoder can read the queue to display the house-keeping data on screen. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang
Future Work • Implement STOL, and bind with CMD encoder. Directly generate the output to queue. • Re-organize SOH display to fit request. • Integrate with telemetry packets display program. NCKU UCB Tohoku CDR 9 July, 2001 Instrument Ground Support Equipment S/W T-T. Wang