Home
spire drcu simulator
Contents
1. 2 5 User Manual Hermes sys 2 5 1 Installation A The driver Hermes sys should be put c winNT system32 drivers B Folder TransmittPhase3 2002 12 09 contains source files and the Hermes reg i double click on it to registrer file C Create a directory C LogFiles D Reboot computer E Start Transmitter Start Receiver 2 5 2 Graphical User Interface DRCU simulator RUN CMD BlockLength TimeGap ms Hermes 5 1 Updated 2003 11 26 No LogFiles No DataBas Settings m Reqword CH CMD PAR 80000000 Simulator Operationall Mode O0 accquisition photometer friD 0 hd v DetectorDisplay Ks RB C 0 02 Xpos Y pos XOR M Channel 0 v Loop Signal A Exp C x 24y 2 0 0 detector centre point Rand p p f Mean Stdev fo me BS a zl suec FramelD 0x10 v B m M Channel 1 hs Ro relemeuy OFF 7 JEdi23 0 Trajectory gen is stopped X Channel 2 Iv Loop 130 OFF x Scan Stopped z e ResetReqCounter scu Normal v Clear 7 Show Log Cen so Open EVHSHEAT B Closed SPHSHEAT B o3 K Normal 17 K TransferChannelSettingsT oD river ama Display Window l goi CPHPTemp S set command Seantimer ms 0 E G get command Pio SMECPosition p R run command tow 5 Es transfer starts u EM m FiRatet0 jo p PORSA Tim
2. STOCKHOLM HERSCHEL nen ann H ssue 1 OBSERVATORY SPIRE LL LIMES pagent 136 DRCU Instrument Simulator Hardware Software User Manual ver 1 5 Stockholm Observatory H G Flor n G ran Olofsson floren astro su se olofsson astro su se ICU Polska sp z 0 0 Swietojanska 75 4 81 389 Gdynia Tel 48 58 621 7920 Fax 48 58 661 6726 e mail makr icupolska pl Source code and this document could be downloaded from http www astro su se floren download sim htm STOCKHOLM HERSCHEL DRCU Instrument OBSERVATORY SPIRE Simulator Date 2003 11 26 Issue 1 0 P Page 2 36 Table of contents 0 0 Introduction 0 1 Product Tree 0 2 How to Connect 1 Hardware 1 1 General PCI board description 1 2 1Parts amp References to drawings 1 2 3 Fast channels receivers HSIT 1 2 4 Slow channels transmitters 1 2 5 Internal registers address decoder 1 2 6 Interrupt mask 1 2 7 Clock 20 MHz dividers 1 2 8 500 us interrupt 1 2 9 FIFO control signal generation 1 2 10 FIFO busy signals generator 1 2 11 Fast channel selection signal H4 1 2 12 Transmission direction selection for RS485 drivers bus Hold description 1 2 13 Add on bus Hold description 1 2 14 Reset 1 2 15 PCI interface description 1 3 Connectors and pin functions 14 1 Computer Controlled Power Consumption Simulator 14 2 Example 2 Software 2 1 Interaction of Driver and Application software
3. Spectrometer 2 Calibrator Temperure 14 ind 11 pd Form1 gt SCal4Temp Spectrometer 4 Temperature 415 ind 12 pd 1234 Spectrometer Calibrator flange STructure temperature 16 ind 13 pd Form1 gt T_FTSS fixed 1 8K 17 ind 14 pd Form1 T FTSM fixed 1 8K 18 ind 15 pd Form1 5T BSMM fixed 1 8K 19 ind 16 pd CEVT ADU Cryo cooler evaporator temperature 20 ind 17 pd Form1 gt PhCalCur Bias current of spectrometer calibrator 2 21 ind 18 pd Form1 gt PhCalVolt Voltage across Photometer calibrator 22 ind 19 pd Form1 gt SCal2Cur Bias current of spectrometer calibrator 2 23 ind 20 pd Form1 gt SCal2Volt Voltage across spectrometer calibrator 2 24 ind 21 pd Form1 gt SCal4Cur Bias current of spectrometer calibrator 4 425 ind 22 pd Form1 gt SCal4Volt Voltage across spectrometer calibrator 4 STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 A Issue 1 0 OBSERVATORY SPIRE simulator paee 3236 26 ind 23 pd Form1 gt SPHeaterVolt Heater calculated int Par 7216 1800 27 ind 24 pd 0 SCU Staus word 4284 pd x quot Timer 1 For the moment ms since computer was turned on MSB LSB 294 pd x rem Timer 2 30 CHECKSUM 3 Current Implementation of the HK loop database update loop Corresponding Get commands are up
4. dated CID DEC in the SCU database void fastcall TForm1 UpdateCryoDBTimer TObject Sender i TLocateOptions Opts Form2 gt edit mode scu true close on post for update of driver db TTT int ADU CPHPT int StrToFloat Form1 gt Edit34 gt Text 0 002 Form1 gt TempON_OFF fint ADU_CEVT int StrToFloat Form1 gt Edit33 gt Text 0 002 Form1 gt SUBK_ON_OFF double T StrToFloat Form1 gt Edit33 gt Text int ADU CEVT int Form1 5SUBK ON OFF 1000 T 0 032015060 0 0039288996 T 1 1377826 Power T 2 3 3303894 Power T 3 1 213793 Power T 4 TMM Form2 gt Table5 gt Locate CID_DEC 2272 Opts Form2 gt Table5 gt EditQ Form2 5Table5 5 Field ByName C0 VALUE 5AsInteger ADU CPHPT TMM Form2 gt Table5 gt Locate CID_DEC 2273 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0_VALUE gt AsInteger ADU_CPHPT TMM Form2 gt Table5 gt Locate CID_DEC 2274 Opts 8E2 Cryo cooler evap heat switch Form2 5 Table5 5Edit 5Form2 5 Table5 5 Field ByName C0 VALUE 5AsInteger ADU CEVT Calibrators Voltage and Temperatures Form2 gt Table5 gt Locate CID_DEC 2275 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5AsInteger ADU CEVT TMM Form2 gt Table5 gt Locate CID_DEC 2276 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger Form1 5T SOB TMM Form2 gt Table5 gt Locate CID_DEC 2277 Opts F
5. 2 2 Driver software 2 3 Application software 2 4 Transmitter 2 5 User Manual 2 5 1 Installation 2 5 2 Graphical User Interface DRCU simulator 2 5 3 How to use and Store Settings 2 5 4 Receiver IF 2 5 5Test Examples Current implementation 2 6 1 Log Files 2 6 2 LogFileReader 2 7Commanding The Power consumption Load Simulator 2 8 Network connection 2 9 1 How to modify application software 2 9 2 How to define new simulation functions 2 9 3 Current Implementation How To Define New Actions Upon Incoming Request 2 10 Trouble Shooting 3 Testing 3 1 System tests 3 2 Logic Analyser Displays STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator 4 Simulations 4 1 SCU simulation loops S Examples How to 6 Appendix Al Building Blocks A2 PCI IF A3 XILINX overview A4 XILINX Transmit Main AS XILINX Transmitter FastChannel A6 Transmitter IRQ Mask A7 Transmitter Phase A8 Transmitter Slow Channel Input P A9 Transmitter Slow ChannelInput A10 Transmitter Slow Channel Output A11 Receiver Main A12 Receiver Fast Channel A13 Receiver IRQ Mask A14 Receiver Phase A15 Receiver Slow Channel Input A16 Receiver Slow Channel Output A17 In and Out drawings A18 Cables Pin Assignment A19 Cable I F A20 Terminators A21 RS 422 definition ADM 485 A29 Power Consumption Simulator circuit layout STOCKHOLM HERSCHEL DRCU Instrument OBSERVATORY SPIRE Simulator Date 20
6. gt Table5 gt Locate CID_DEC 2286 Opts Form2 gt Table5 gt Edit Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger Form1 5T FTSM TMM Form2 gt Table5 gt Locate CID_DEC 2287 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5AsInteger Form1 5T BSMM TMM Form2 gt Table5 gt Locate CID_DEC 2288 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger ADU CEVT TTT TT Form2 gt Table5 gt Locate CID_DEC 2248 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger Form1 gt PhCalCur WHITE T T T T LLS Form2 gt Table5 gt Locate CID_DEC 2249 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger Form1 5 PhCalVolt TTT Form2 gt Table5 gt Locate CID_DEC 2250 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0O_VALUE gt AsInteger Form1 gt SCal2Cur MTT Form2 gt Table5 gt Locate CID_DEC 2251 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5AsInteger Form1 5SCal2 Volt MTT Form2 gt Table5 gt Locate CID_DEC 2252 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0_VALUE gt AsInteger Form1 gt SCal4Cur MUHA Form2 gt Table5 gt Locate CID_DEC 2253 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0O_VALUE gt AsInteger Form1 gt SCal4Volt Form2 gt edit_mode_scu false Driv
7. 0 Form1 gt GET_ 2 ch CID StrToInt A 1025 Updateing of Ack commands switch Cmd case 3 Forml gt start_time_ms timeGetTime Form1 Edit3 Text Reset Timer break 1 ms resoultioin Set command number is selected graphical GUI channel 1 and the driver buffers are updated case 1024 Form6 gt C0_1024 gt Text IntToStr Par Form1 gt GET_ 0 0 1024 Par break case 1025 Form6 gt C0_1025 gt Text IntToStr Par Form1 gt GET_ 0 0 1025 Par break case 1026 Form6 gt C0_1026 gt Text IntToStr Par Form1 gt GET_ 0 0 1026 Par break case 1027 Form6 gt C0_1027 gt Text IntToStr Par Form1 gt GET_ 0 0 1027 Par break case 1028 Form6 gt C0_1028 gt Text IntToStr Par Form1 gt GET_ 0 0 1028 Par break case 1029 Form6 gt C0_1029 gt Text IntToStr Par Form1 gt GET_ 0 0 1029 Par SET VSSp 1 24 Par jbreak VSS1 Sometimes additional functions are called case 1030 Form6 gt C0_1030 gt Text IntToStr Par Form1 gt GET_ 0 0 1030 Par SET VSSp 25 24 Par break case 1031 Form6 gt C0_1031 gt Text IntToStr Par Form1 gt GET_ 0 0 1031 Par SET_VSSp 49 24 Par break case 1032 Form6 gt C0_1032 gt Text IntToStr Par Form1 gt GET_ 0 0 1032 Par SET_VSSp 73 24 Par break case 1033 Form6 gt C0_1033 gt Text IntToStr Par Form1 gt GET_ 0 0 1033 Par SET_VSSp 97 24 Par break case 1034 Form6 gt C0_1034 gt Text IntToStr Par
8. ACK field instead of the channel No field and then the requested information A command with MSB 0 in the CID field is a write called set command and as for get command the immediate response is an echo In addition a set command usually means some setting of the simulated instrument and the application software will react to it in a similar way as the real instrument In order to get an overview of the current state of the simulated instrument one form that contains all the CID entries for each of the three DCU SCU and MCU channels is coupled to the simulation program The forms windows are updated in accordance with new set commands The most demanding task for the simulation program is to deliver detector and mechanism data frames at the required speed and according to the requirements RD2 it produces a simulation of a celestial source modulated by the BSM in the photometer mode and an interferogram in phase with the SMEC Although the simulator normally will be controlled by commands from the DPU it is also possible to insert parameters directly by means of a GUI This tool also displays the current status and activity of the simulator By using the network connection the simulator can be used remotely with the same GUI STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator pbue LO All information transmitted by the DRCU simulator is saved to disk in datalog files The gr
9. Load input with positive voltage connected to pins 2 and 7 and ground connected to pins 4 and 8 There is fast 6 3A fuse installed in serial with Load input to protect the load against overcurrent in case of failure CCPSL acts as a regulated current load The current value is set by a controlling computer through RS232 serial interface The interface is optoisolated and requires small amount of power from the computer The supply voltage is taken from RTS line which must be active for the interface to operate correctly 12V It is therefore necessary to set flow control for the designated serial port to RTS CTS Transmission parameters are set to 2400 bauds 8 data bits no parity control and one stop bit 2400 8 N 1 All the internal CCPSL electronics is supplied from Load input Therefore there is always certain minimal current taken from the PS under test This current is equal to 30 mA To set a given current value the user has to send two bytes to CCPSL X current value 0x21 ASCII code of The maximum current value tha can be set is adjusted to 4 250 mA If we add 4 250 mA and a constant supplying current of 30 mA we will have the maximum current that can be set equal to 4 280 mA which gives a maximum power of 119 84 W for voltage of 28V A single bit weight is equal to 16 60 mA 0 465 W The minimum current of 30 mA gives a minimum load of 0 84 W 1 4 2 Example To set power to 45 W user has to send 45 W
10. Open the Function Unit Locate void Funclnit void FuncInit UCHAR i j Selected in ComboBox SimFunction GUD randomize for i 0 i lt CH i for j 0 jSMAX EN j Channel No Form1 gt Set pFaX4S i j NULL Form1 gt Set FnLS i j NULL Func No j Assign function Form gt Set pFnHS 0 0 DO Form1 gt Set pFnHS 0 1 D1 Form1 gt Set pFnHS 0 2 Time F2 Form1 gt Set pFnHS 1 0 TO Form1 gt Set pFnHS 1 1 Time F1 Form1 gt Set pFnHS 2 0 Specctro Array F Form1 gt Set pFnHS 2 1 Time F2 Form1 gt Set pFnHS 2 2 Crazy F 2 9 2 How to define new simulation functions 1 USHORT pd amp pb gt Data 0 USHORT n pb 5 Length MIN LEN Length Frame ID TmrTagl TmrTag2 CRC SYSTEMTIME tm GetSystemTime amp tm int index Form1 gt ComboBox3 gt ItemIndex pd Frameld index int 1 0 pd tm wSecond TmrTagl pd tm wMilliseconds TmrTag2 7 Variable from separate Timer Thread Event Changing the position t STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator pi 25 36 2 9 3 Current Implementation How To Define New Actions Upon Incoming Requests All set commands are branched in huge switch sentence defining all set commands individually First the three channels are separated switch Ch case
11. created in Xilinx structure using 32 bit data DQ bus and control signals ADCLK DXFR PTATN PTADR PTWR and IRQ The communication between S5920Q and Xilinx XCS30 does not use any wait states 2 3 Application software Development tool Borland C Builder 5 0 The Application software is referred to as transmitter and receiver The transmitter is the simulator DRCU and the receiver DPU making it possible to test setup In the application programme transmitter the simulation functions will be implemented STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator bl pages 16 36 2 4 Transmitter Forml Main Window BitFunc Unit containing some simple bit conversion function Driver Open the Driver Function Place To Define New Simulation Functions Data for fast channels will be generated here LogFiles Log File storage Request Incoming requests that the simulator should react on Settings of transfer specifics Transmit Main wrapper file for application execution Form2 amp Unit2 Database handeling UpdateF Transfer to Driver Buffer of Fast Channel response data DeviceloControl Drv CHANGE FAST pb len NULL 0 amp u NULL send it UpdateS Transfer to Driver of Slow Channel Response data DeviceloControl Form1 gt Drv gt hDrv WRITE SLOW amp LS Par sizeof LS Par NULL 0 amp i NULL send it Only Demo and test modes will not be used currently no
12. in L2 with a duty factor of 5096 and provides approx 1 5 Hz signal to control on board LED 1 2 8 500 us interrupt CLKIN 1MHz fast channel transmission clock coming from transmitter is divided by 500 in U3 with a duty factor of 1 500 It is then synchronised by I151 and fed to line 15 of DO 15 0 bus 500 us interrupt is cleared by Add On write to INT TICK address 1 2 9 FIFO control signals generation FIFOs read signals RENI REN2 RENG are generated by 188 I89 I90 when Add On read from H1 H2 or H3 address occurs 1 2 10 FIFO busy signals generation When a 16 bit value is read from FIFO there are ORI OR2 or OR3 signals presented on Add On bits 16 17 and 18 respectively They are used to confirm that the value read is valid 1 2 11 Fast channel selection signal H4 STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator P o It is used to select three fast channels in a cycle one after the other to assure conflict free received data writing to one of FIFOs Every of Q1 Q2 Q3 is active for 3 uS 1 2 12 Transmission direction selection for RS485 drivers Logical 1 is fed from I85 gate to pin P75 of Xilinx It is defining the level on RS485 drivers ADM485 direction pin M1 1 2 13 Add On bus Hold WAIT signals from fast channels are added by 175 and fed to Xilinx pin P4 which in turn is connected to WAIT input of S5920 Active WAIT sets S5920 in high impedance state The bus can be
13. 0 84 W 0 465 W 95 0x5F User can also read the real current and voltage values by sending 0x3F ASCII to CCPSL CCPSL will answer with two bytes representing voltage and current X Y To calculate voltage and current the following equations should be used U V X 0 129 0 45 I A Y 60 0 03 Example The answer OxDA 0x5C means 28 6 V and 1 56 A The LED mounted above RS232 connector signals current consumption ranges green I 0 orange CO I 3A red I gt 3A RS232 cable is one to one i e pin 1 connected to pin 1 and so on DEMA9P to DEMA9S However only four lines TxD RxD RTS and GND are used STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator pie 14 36 2 Software 2 1Interaction of Driver Software and Application program The programming logic is divided between the application programme and the driver The driver manage very fast response independent of the operating system drawback The application software provides a GUI for interactive operation The division of tasks between the two levels are as follows 32 bit response ET word Command word Application Driver Logic software l OS Windows NT 2000 Simulation G 32 bit GET ECHO inc ACK et bit inc Loops Buffers Status Buffer ACK LM Fast Channel Set Block transfer Buffers
14. 00 Moue HS DSIMx 500_ Monitor HS DSIMx 600 MonitorPowerCable HS DSIMx 700 DPUNFCables HS DSIMx 700 01 Cable I F to PCI card mounted HS DSIMx 700 02 Cable CH Mx 700 03 h 13 3 j CableCH HS DSIMx 700 04 amp jCablCH3 HS DSIMx 800 Power Consumption Simulator HS DSIMx 90 PCSCable o o y y O EK CC M HS DSIMx 700 cables are symmetric Red or green is arbitrary STOCKHOLM HERSCHEL DiscUInstrumeng Pu Maas OBSERVATORY SPIRE Simulator eisers 0 2 Interfacing DRCU Simulator and DPU How to connect DPU Box J07 CHI J08 H2 J09 CH3 PCS HS DSIMx 800 RS 232 Load HS DSIMx 700 02 HS DSIMx 700 03 CPU BOX HS DSIMx 100 HS DSIMx 700 04 Com lor2 HS DSIMx 700 01 CHI CH2 CH HERSCHEL DRCU Instrument Date 2003 11 26 Simulator STOCKHOLM OBSERVATORY SPIRE Issue 1 0 P Page 8 36 Hardware 1 1 General PCI board description Main parts XILINX SPARTAN XCS30 FPGA http www xilinx com 20 MHz Clock Memory SN74 ACT7882 20FN 204818 Clocked FIFO Texas y Instrument www ti com Sama Team pasan rag raang pasay nars ELK INSP R2 RI Ar 0 81
15. 03 11 26 Issue 1 0 P Page 4 36 0 Introduction The purpose of the DRCU simulator is to replace the DRCU FPU during tests when the DRCU FPU are not available In particular this is the case for the Herschel Oavionics tests where it is part of the SPIRE Avionics Model AVM but it is also intended for DPU I F tests and the OBS development The communication between the DPU and the DRCU as defined in RD1 does not conform to any standard and for this reason a communication I F board called Hermes have been developed to mate to the PCI bus The driver software runs under MS WinNT and MS Win2000 As the DRCU will react promptly to commands by returning an echo including 2 bits acknowledgement the DRCU simulator must do the same This type of real time performance requires a kernel separate form the operating system and for this reason the Hermes software driver includes this feature The simulation software called application software feeds continuously the driver memory area with HK data status information simulated signal data etc In this manner there is always a fresh response available in the driver memory area for a request from the DPU The 32 bit command word has a 12 bit wide CID command identifier field and MSB 1 the command is a read called get command asking for a specific HK value or status parameter The simulator responds by first sending an echo identical to the command except with a 2 bit
16. A Url a NI Request editor Parameter v o SET 1084 fo XOR DECT Last sent 043c0000 043C0004 85F20024 88E0002A4 88D3002A4 88800024 88BF0O024 88810024 88820024 80820024 88830024 80830024 49060024 49DBO002A Hex or Decimal Display STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator Pu x 2 6 1 Log Files Logfiles are stored in director Remenber to clear that directory if disk space become crucial In Hermes phase 3 software the driver and Transmit exe were modified All the data received or sent by transmitter are written to files If Transmitter program is started it creates in the c LogFiles four files with the following names sHHMMSSs log a common file for all slow channels sHHMMSSf0 log file for channel 0 sHHMMSSI I log file for channel 1 sHHMMSSf 2 log file for channel 2 where HH is the current hour MM minutes SS seconds 1 Slow channels The following changes were implemented in the driver and transmitter application to log the data added DeviceloControl function named READ LOG write to a file was added to receiving thread Request READ LOG function operates similarly to READ SLOW function that was already used in previous versions of software There is however a small difference between the two functions In READ SLOW a queue of single words was read In READ LO
17. BI 0 2 DataBlocks 2 Number Of Blocks 3 TimeGap SET 4 RunCID 32 bit SET ECHO inc ACK gt The application software generates simulation data The data in the driver is constantly refreshed If all settings are done defined by a series of set commands the driver has information about a trigger command to initiate transfer RunCID The driver and application share some information through a common memory containing information about block size number of blocks time gap between blocks and start transfer command allowing the driver to start sending The start command will then activate a driver response with the current settings without STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator Dl pages 15 36 having to enter the application software New blocks are shifted to the driver from the simulation loop as the transfer progresses 2 2 Driver software Development tools Visual c Microsoft http www microsoft com Driver Studio 2 0 and SoftICE DriverStudi Compuware Corporation http www microway com au catalog listcpp addons htm Driver start up The board driver hermes sys is loaded during Windows NT startup This driver is uploading the Xilinx definition file defining its internal structure using S5920Q mailbox MDO and MDI bits After the Xilinx definition file is uploaded S5920Q communicates with registers
18. E SetPhotBiasFreq p SetSpectroBiasAmplLW p Settings to file SetPhMWJfetVSS4 955 PLW JFET FF SetPhotoDemodSW 0 SetSpectroHeaterBias 0 a TC JFET I SetPhotoDemodMW 0 SetSpLWJfetVSS 0 SetPhLWJfetv551 255 SetPhotoDemodLW 0 SetSpSWJfetVSS1 0 SetPhLWJfetv552 255 SetPhotoDemodTC f0 Set5pSWJfetv552 E SetPhotoHeaterBias 4 SSW JFET1 SetSpSLWJfetPwr o SSW JFET2 v L uj SLW JFETI v SetPhSWJFfetPur 63 0 SetSpectroSamplFreq 0 1 234 SetSpectroBiasFreq 0 SetPhSWJFfetPw v v v IV SetSpectroDemodSW 0 SetSpectroD emodLW jo da Is You are free to make changes in the GUI After pressing TransferGUIchangesToDriver STOCKHOLM HERSCHEL DRCU Instrument i Issue 1 0 OBSERVATORY SPIRE Simulator i u Page 21 36 Date 2003 11 26 The settings become active in the simulation loop Note Settings files are generated separately for each channel The settings are not automatically stored you have to do that by pressing StoreCurrentSettings 5 2 5 4 Receiver I F DPU software used for testing the simulator side Commanding the simulatoi Se eens Command Number I Hermes 3 3 Receiver M Viewer REQUEST ANSWER WORD C T CID PAR WORD C CID PARL 10000000 O 1 000 0000 v Self Clear v Show Clear Now Make sure the same cheksum is selected on both sides Select channel 0 1 2 Enter command number Enter parameter value Press Send Now
19. Form1 gt GET_ 0 0 1034 Par SET_VSSp 121 24 Par break case 1035 Form6 gt C0_1035 gt Text IntToStr Par Form1 gt GET_ 0 0 1035 Par SET_VSSp 145 24 Par break case 1036 Form6 gt C0_1036 gt Text IntToStr Par Form1 gt GET_ 0 0 1036 Par SET_VSSp 169 24 Par break case 1037 Form6 gt C0_1037 gt Text IntToStr Par Form1 gt GET_ 0 0 1037 Par SET_VSSp 193 24 Par break case 1038 Form6 gt C0_1038 gt Text IntToStr Par Form1 gt GET_ 0 0 1038 Par SET_VSSp 217 24 Par break case 1039 Form6 gt C0_1039 gt Text IntToStr Par Form1 gt GET_ 0 0 1039 Par SET_VSSp 262 24 Par break case 1040 Form6 gt C0_1040 gt Text IntToStr Par Form1 gt GET_ 0 0 1040 Par SET_VSSp 241 21 Par break VSS12 case 1041 Form6 gt C0_1041 gt Text IntToStr Par Form1 gt GET_ 0 0 1041 Par break STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator Dare 16136 2 10 Trouble Shooting Check Windows Task Manager So that only one transmit exe is running Windows Task Manager E Bl x File Options View Help Applications Processes Performance ImageName Pip cru CPU Time Mem usage Csrss exe 188 oo 0 00 08 1744K services exe 236 00 0 00 01 5592K lsass exe 248 00 0 00 00 1148K Explorer EXE 304 00 0 00 12 3500K svchost exe 420 00 0 00 00 3280K spoolsv exe 448 00 0 00 00 3620K svchost exe 480
20. G a queue of CHANGE structures defined in common h is read Every structure consisits of the following fields ULONG In a request received from Receiver exe ULONG Out an answer sent to Receiver exe LONGLONG Stamp time stamp FILETIME structure All the structures read are written one after the other to HHMMSSs log file The size of file is equal to Size number of words received sizeof CHANGE number of words received 16 2 Fast channels Blocks of data to be sent are additionally stored in COPY F structure defined in UpdateF h in every thread preparing data for fast channels UpdateF The COPY F structure is complemented with time stamp The structure consists of LONGLONG Stamp time stamp FILETIME structure FAST O Data data block variable length CHANGE FAST function was modified Now the driver informs the application that a given block of data was used i e transmitted through a fast channel If it happens its copy is written to an appropriate HHMMSSf log file STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator Issue 1 0 P Page 23 36 For every transmission the length of a file is increased per Size number of blocks sent number of data in the block 11 2 Remarks You may use FileTimeToSystemTime Windows SDK function to use time stamp After LOG checkbox is pressed present og files are closed and n
21. LATCH EN STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator Pia and I interrupt I interrupt is cleared by write to appropriate slow channel CLR IRQ from 1144 The word received is presented on P 31 0 bus when the appropriate channel is selected EN 1 2 5 Internal registers address decoder Address from Add On bus is transmitted to BUSIN 31 0 and latched in L8 module by rising edge of PTADR It is then transmitted over A 3 0 to 156 address decoder 1 2 6 Interrupt mask Interrupts generated by the modules are connected to internal bus DQ 15 0 transmitting them to U1 Module U1 contains 16 registers L10 where a present interrupt mask is stored There are also 16 AND gates masking the interrupts for which a mask bit is equal to 0 The result is presented on O 15 0 The interrupt mask can be changed by writing a new value to IRQ MASK address After reset the mask has a value of 0x00 O 15 0 bus is buffered by L4 buffer L4 is opened when read of interrupt vector occured All the interrupt lines are also added by 126 I57 and I25 to create ADDINT 1 2 7 Clock 20 MHz dividers 20 MHz external clock generated by quartz oscillator installed on Hermes is divided by 64 with a duty factor of 5096 L7 to produce 312 5 kHz clock This signal is then buffered by BUFGS for fast propagation in Xilinx and creates receivers CLKOUT being the transmission clock for slow channels CLKOUT is divided by 200000
22. LOGIC ANALYZER le x data grid trigger setup clear redraw group enable print bus up down port CLK FREQ TIME BASE us div HOR SHIFT REF TIME TIME DIFF TIME TOP BUS 0 gt 7 205 ms RESET ZOOM SHIFT STEP TRESHOLD v PRE POST CLOCK BOTTOM BUS READY 1 1 2 5 KI so A pio INT The same settings as above 10 times faster sampling to show the details Not all the frames can be seen as not all the zeroes between the blocks are registered they are too short for the sampling frequency set STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator ave 30 36 4 Simulations 4 1 SCU simulation loops GUI Display CEVT Temp K CPHP TEMP K Status Info Heat Switches Main Simulation Loop Update Rate 1Hzto 80Hz Update HK loop Normal 1 Hz UpdateCry oDBTimer Se Housekeeping Block Y Fast Channel Send Rate 80 1 x Hz CH SCU DataBase Get x70 255 Commands The Main simulation loop refresh rate is set by the Housekeeping block refresh rate max 80Hz If the Housekeeping block transfer is set to less than one Hz the main simulation loop will always have a minimum value of one Hz to assure that the SCU database will get new values every second The refresh rate of the SCU database if above 1Hz should therefore not be higher than the block transfer rate on the
23. Wi PCI MATCHMAKER 59200 0106 A027 A TAIWAN m mmn Uf PHARA He IN WN WARS Ga mim SSS SS PCI MATCHMAKER CARD ADM 485 S59200 0106 A027 EIA RS 485 Standard Analog Devices AMCC www amcc com Appendix A17 A25 STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator pl paces 9 36 1 2 1 Building Blocks PCI XILINX IN OUT PCI Xilinx INOUT Xilinx sch INOUT SCH The detailed logical description of the blocks could be found in appendix A PCI A2 XILINX A3 A15 IN and OUT A17 Xilinx XCS30TQ144 contains all the digital parts of Hermes transmitter and receiver boards besides the PCI interface which is based on AMCC S5920Q Matchmaker IC Design of both transmitter and receiver is described below 1 2 2 Parts amp References to drawings 1 The receiver can be divided into the following functional blocks STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE Simulator De 10156 A detailed logic layout could be found in the Appendix 1 16 use the search function in the appendix section to locate the parts and if needed the zoom function if needed fast channels receivers HI H3 slow channels transmitters TI T3 slow channels receivers R1 R3 internal registers address decoder L8 156 interrupt mask register U1 I25 I26 I57 20 MHz clock dividers 500 us in
24. ating all the time However as mentioned above the new data block is required only after the previous one was transmitted The optimisation is active and the program only calculates new data before they are needed for a new transmission The maximum processor load we observed for all three channels sending constantly 500 or 1000 words without a break between the blocks break between the starts set to e g 1 ms was equal to 40 on 500 MHz Pentium ITI Performance test with the following assumptions The fastest block rate is 500 Hz for a very short block just 7 words At the same time but not synchronised larger blocks 69 words are sent at 160 Hz or so on another channel The load was around 6 to 8 The measurement results are shown on the following two pages STOCKHOLM HERSCHEL DRCU Instrument oid Ae ssue OBSERVATORY SPIRE Simulator a 28 5 3 2 Logic Analyser Displays LOGIC ANALYZER 8 x data grid trigger setup clear redraw group enable print bus up down port CLK FREQ TIME BASE ms div HOR SHIFT REF TIME TME DIFF TIME TOP BUS EI lt iefsssoms lt gt 47 400 ms__ Booms not valid EN STEP ot valid BUS ar K E a Kl TE m NT 2 Channel 0 330 words every 10 ms Channel 1 10 words every 2 ms Channel 2 50 words every 5 ms Load 7 STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator Issue 1 0 P Page 29 36
25. eGap FrameRatio ResetTimer Timer CMD 3 STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator Issue 1 0 P Page 20 36 Transmitter Graphical User Interface The different modes could be defined in the graphical I F If you select the predefined modes in the comboboxes the settings will change block size etc for that specific channel If you want to test a certain combination enter values manually and click TransferSettings to file you should always finish with this update 1f you do changes in the boxes It is also possible to change the modes by sending the appropriate command and parameter combination see receiver side instruction below The sim function selector references the definitions in the function unit how to redefine function see section xxxx The received command box will show if there is a set s command or get g comand If the command is the same as in the RUN CID box it is also considered a RUN R command the start command known to the driver that will start transfer 2 5 3 How to use and Store Settings The set parameters are send to the simulator there they are stored and displayed Three separate windows are defined for each channel CHO CH1 CH2 use SETTINGS CHO0 orCH1 or CH2 to store and modify values SETCMD 1 3 Switch Show settings defines gt In GUI j CH0 CH1 CH2 Runtime var Make GUI changes Active tran
26. eived are presented on P 15 0 bus Fast channel receiver can generate three interrupts IRQ1 IRQ2 IRQ3 IRQI is generated on FR transition from high to low IRQ2 on break between frames longer than 1 CLKH period IRQ3 on FIFO s AF almost full transistion from 1 to 0 The interrupts are cleared by CLR IRQ generated by 1132 from DXFR PTWR EN Add On write to a given fast channel 1 2 4 Slow channels transmitters After 32 bit word is written to a slow channel CLK EN is generated and the data are latched in L16 Simultaneously START is generated starting 32 CLKL periods long FR frame 1163 register synchronises CLKL to START and additionally generates RDY that together with FR defines the moment when data are written LOAD to shift registers module L17 L10 modul generates CLR after 32 CLKL periods are counted CLR clears FR The word written to L17 is transmitted through SER serial output starting from MSB When FR goes low I interrupt is generated This interrupt is cleared by the appropriate channel read operation CLR IRQ from 1160 Change from 0 to 1 on S serial input results in FR changing from 0 to 1 and starts L11 counter counting 32 CLKL cycles Simultaneously CLKL pulses write word bits to L10 shift register The word is then presented on DO 31 0 bus After 32 CLKL pulses 1147 register resets FR 0 Falling FR edge is detected in 1141 I142 registers and CLK EN is generated CLK EN enables word write to L12 Rising CLK EN produces
27. er update DB To Driver MTT Form2 gt Table5 gt Locate CID_DEC 2246 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger 12345 heater WII T V V V V T I
28. ew ones are created Data are written to files by unsynchronised threads and the data may be corrupted if you use the LOG checkbox during the active fast channel transmission 2 6 2 Log file Reader A preliminary file reader is available to view contents Developed in C builder o xi Reader 2003 02 06 Clear ListBox zer f CK No 1 Number Of Values aa Load either 292 DataPoints LOOP On Off 1 All blocks No of Blocks 1 Or a certain CID 43 BlockLength 294 ue pid 6730 BlocksLoaded MILLISECONDS 55535 blocks from BEOF LoadNumber0fBlocksF astChannels 1 No of Blocks To Load LoadAllSlowChannelBlocks o BlocksLoaded LoadSlowChannelBlocks s No of Blocks To Load NAKAT F 1 32631 888 FileSize bits Eof found 2 7Commanding The Power consumption Load Simulator We have constructed simple commanding I F based on C builder and Asynch professional www turbopower com plug in software is used for the serial communication It could be integrated with the application programme 2 8 Network connection STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator pass We have tested to operate the simulator remotely For that purpose we used Remote Admin see http www famatech com Other commercially available software should also work In standard networks 2 9 1How to modify application software Open C Builder project file
29. fast channel The main simulation loop consists of 3 timer events representing different phases of the simulation They are all defined in the main form A TimerCryo normalTimer B TimerCryo regenTimer C TimerCryo stop regenTimer Normal Operation Regeneration Stop Regenerating Assumed Cycling For the moment the simulator is assumed to start in normal operational mode Mode EVHS SPHS CEVT Temp CPHP Heater Time HEAT HEAT Temp Normal Open Closed 0 17 Of StartRegen Closed Open W17 40 On Time Stop Regen STOCKHOLM HERSCHEL DRCU Instrument nag orae i ssue I OBSERVATORY SPIRE Simulator p Page 31 36 Normal Open Closed 403 17 Off Time3 Time2 Time1 30 min Time3 Time2 1min The update HK loop is a timer event It could be turned on and off in the Settings DisplayBuffers window You could also could also change the refresh rate ms default 1000 ms If you want to edit or scroll the SCU database you need to turn off the updating of the HouseKeeping Loop otherwise it will jump back and forth in the database The normal automatic updating of Incoming command transfer to the driver is turned off while data is being transferred to the database should only be during that fraction of time It s only a minor delay of the housekeeping functions House Keeping Block Definition this code extract shows the current implementation All values not named fixed have a time dependence I have put similar te
30. mperatures to the same value void SCU normal BLOCK pb CPHP T cryo sorption pump int CPHP ADU int StrToFloat Form1 gt Edit34 gt Text 0 002 0 3 K Sub Temperture Level double T StrToFloat Form1 gt Edit33 gt Text int CEVT ADU int 1000 T 0 032015060 0 0039288996 T 1 1377826 Power T 2 3 3303894 Power T 3 1 213793 Power T 4 USHORT pd amp pb gt Data 0 USHORT n pb gt Length MIN LEN Length Frame ID TmrTag1 TmrTag2 CRC SYSTEMTIME tm GetSystemTime amp tm 2 pd 0x20 Frame Number 0x20 32 dec div t x div timeGetTime Form1 5start time ms 1 65536 3 ind 0 pd CPHP ADU Cryo cooler sortion Pump Heater temperature 4 ind 1 pd CPHP ADU Cryo cooler sortion Pump Heat Switch temperature S ind 2 pd CEVT ADU Sub 1K Cryo cooler Evaporator Heat Switch 1 7 6 ind 3 pd CEVT ADU Sub Cryo cooler thermal shunt temperature 7 ind 4 pd Forml gt T SOB fixed 1 7 SPIRE Optical Bench temperature 48 ind 5 pd CEVT ADU Sub lt 1k Spectrometer Level 0 det box temperature 49 ind 6 pd CEVT ADU Sub 1K Photometer Level 0 det box temperature 10 ind 7 pd CEVT ADU Sub 1k Optical SUb Bench temperature 11 ind 8 pd Form1 5T BAF fixed FPU input Baffle Temperature 12 ind 9 pd Form1 5T BSMS fixed BSM Sob i f temperature 13 ind 10 pd Form1 gt SCal2Temp
31. nels Range definitions define MIN LEN 5 define MAX FN max number of functions for one channel define MAX DAT 1023 max number of words in single block define MAX LS 2048 max number of SET GET parameters Definition Frame ID stored in Data 0 Time words and CRC stored in Data table various positions typedef struct FAST O application gt driver USHORT Channel which channel FAST OUT USHORT Loop loop mode active Definition USHORT BlkNum ber of block um number of blocks 4 Es USHORT RunCid command start block transfer block FAST O typedef struct FAST I application driver USHORT Channel which channel BLOCK Block block FAST I typedef struct LS PAR parameters for slow channels LS PAR ULONG Data CH MAX LS mixed ACKs PARAM words typedef struct LS ONE GET CMD for channels USHORT Channel which channel STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulate ran 18 36 USHORT Idx index of ACK PARAM word ULONG Param mixed ACK PARAM word to change LS ONE typedef struct CHANGE single transaction for slow channel ULONG In incomming word ULONG Out outgoing word LONGLONG Stamp time stamp CHANGE endif 1 Common STOCKHOLM HERSCHEL DRCU Instrument an ean ssue 1 OBSERVATORY SPIRE simulator 5 9736
32. oo 0 00 00 5 152K regsvc exe 516 oo 0 00 00 856 K r server exe 528 00 0 00 00 4040K MSTask exe 560 oo 0 00 00 3124K mdm exe 796 00 0 00 02 2392K taskmgr exe 812 00 0 00 00 2 208 K DirectCD exe 852 00 0 00 00 4228K CreateCD50 exe 872 oo 0 00 00 2 384K WZOKPICK EXE 896 00 0 00 00 1 096 K FINDFAST EXE 904 00 0 00 00 2976K OSA EXE 916 00 0 00 00 2328K Transmit exe i bcb exe 1068 00 0 00 11 24252K End Process Processes 23 CPU Usage 5 Mem Usage 88908K 25219686K 3 1 System Tests Performance The processor load on transmitter side depends on number of active channels lengths of blocks and breaks between the blocks For the most critical situation i e all the channels working no breaks between the blocks if the break between the blocks starts is set to time smaller than the transmission of the block time then there is a break of 2 stop bits i e 2us between the blocks and long blocks the processor load without the optimisation was equal to 100 If a block is long e g 1000 words than there is no need to calculate new data with a full speed approx 1 STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE Simulator bl page 27136 ms per block as the new block is necessary every 17 ms The calculating thread goes asleep for this period and calculates the data only once instead of 17 times The function we are using is pretty complicated and the processor is calcul
33. orm2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE AsInteger ADU CEVT WII Form2 gt Table5 gt Locate CID_DEC 2278 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE AsInteger ADU CEVT WII Form2 gt Table5 gt Locate CID_DEC 2279 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5AsInteger ADU CEVT TMM Form2 gt Table5 gt Locate CID_DEC 2280 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0O_VALUE gt AsInteger Form1 gt T_BAF TUM Form2 gt Table5 gt Locate CID_DEC 2281 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0O_VALUE gt AsInteger Form1 gt T_BSMS TMM Form2 gt Table5 gt Locate CID_DEC 2282 Opts Form2 gt Table5 gt EditQ STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 A Issue 1 0 OBSERVATORY SPIRE simulator ens Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger Form1 gt SCal2Temp TUM Form2 gt Table5 gt Locate CID_DEC 2283 Opts Form2 gt Table5 gt EditQ Form2 5 Table5 5 Field ByName C0 VALUE 5 AsInteger Form1 5SCal4Temp TUM Form2 gt Table5 gt Locate CID_DEC 2284 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0O_VALUE gt AsInteger 1234 TMM Form2 gt Table5 gt Locate CID_DEC 2285 Opts Form2 gt Table5 gt EditQ Form2 gt Table5 gt FieldByName C0_VALUE gt AsInteger Form1 gt T_FTSS TMM Form2
34. owth rate of these obviously depends on the mode of operation but the disk space will in normal running modes allow several days of continuous operation In order to simulate the power consumption of the DRCU FPU a separate power drain unit has been constructed This unit is controlled by the simulator PC via a RS232 connection and allows e g simulation of the power up sequence and failure modes In order to test and run the Hermes communication including cables that are part of the DRCU simulator package a DPU simulator has been developed that also consists of a PC with a Hermes board This Hermes board is configured in receiver mode for the fast channels and GUI of the application program allows sending of commands monitoring of signals etc DRCU DPU unit interface DRCU unit Standard PC Application Win 2000 NT GUI Y Driver low level logic A 3xSlow Channels Hermes Bidirect 332 KHz gt DPU unit PCI Card 3xFast Channels La one direct 1 Mbit s Electrical I F format complies with the DRCU DPU unit SPIRE SAP PRJ 001324 2 description STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 OBSERVATORY SPIRE Simulator e 0 1 DRCU Simulator Product Tree HS DSIM DRCUSimultor HS DSIMx 100 CPUBox HS DSIMx 200 CPUPowerCabl Z o HS DSIMx 300 Keyboard HS DSIMx 4
35. sfer to run time SET GET SetPhotoBiasMode Mes 151515 151515 151515 15 1515 15 115 151515 15 1515 1515 15 1515 15 1515 15 15 SetPhotoBiasAmpISW L oer E415 15 1515 15 15 15 1515 15 1515 15 15 1 15 1515 15 1515 15 15 15 15 15 15 1515 15 1515 Tames d _ BEE ee Pr re Peer err E NAE LU t 1080 15151515 1515 15 151515 1515 15 15 181515 15 15 15 15 15 1515 151515 151515 1515 SetAllLlapLlas To I5 1061 15151515 15 15 15 15 15 15 15 15 15 15 1 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 Get setti 1062 1515151515 15 15 15 15 15 15 15 15 15 1 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 et settings SetPhSWJfetVSS1 1063 1515151515 151515 15 15 15 15 15 15 1 15 15 15 15 15 15 15 15 15 1515 15 1515151515 lt Loadoldsetting 4 To GUI from SetPhSWJfetVSS2 1064 151515151515 15 15 15 15 15 15 15 15 1 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 SetPhSWJfetv553 LIAS 1068 151515151515 15 15 15 15 15 15 15 15 115 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 StoreCurrentSettings gt file SetPhSWJfetVSS4 1069 1515151515151515151515151515 1 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 SetPhSWJfetVSS5 1070 1515151515151515151515151515 1 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 SetPhSWJfelVSSG SetPhMWJfetVSS1 255 SetPhMLWJfetPwr 127 SetTCJfet SS1 0 SetSpectroBlasMode 0 Store SetPhMWJfetVSS2 255 SetPhotoBlasDiv 0 SetSpectroBias mplSW 0 8 SetPhMWJfelV5S3 755 PHWIFET D
36. t active UpDataDisplay A Thread to display detector data will not be used Form3 amp Unit3 Display of Detector readout The project also contains a file Common h that serve as a link between application and driver Common h Link between application and driver ifndef Common define Common __ include Typedef h define HermesVer Hermes 3 3 define LOAD XILINX 0x00222000 define RESET XILINX 8 0x00222004 define CREATE HOOK 0x00222008 define READ SLOW 0x0022200C define WRITE SLOW 0x00222010 Format Definition define CHANGE FAST 0x00222014 Note that the two define FLUSH FIFO 0x00222018 First bits GG are define READ LOG 0x0022201C used internally to DefineAck bits CC channel number SS acknowledge bits for SET command STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE simulator Dl pages 17 36 GG acknowledge bits for GET command PPPP PPPP PPPP PPPP parameter define GET MASK 0xC0000000 define SET MASK 0x30000000 define PAR MASK 0x0000FFFF define CHN ID p UCHAR P amp GET MASK gt gt 30 define ACK ID p UCHAR p amp SET MASK gt gt 28 define CMD ID p USHORT p amp OxOFFF0000 gt gt 16 define CMD NR p USHORT p amp 0x07FF0000 gt gt 16 define CMD SG p UCHAR p amp 0x08000000 0x01 0x00 define PAR ID p USHORT p amp PAR_MASK define CH 3 number of chan
37. terrupt generator U3 1150 I151 FIFO control signals generation 188 I89 I90 FIFO busy signals generation 1142 1143 I144 fast channel selection circuit H4 RS485 direction definition I83 Add On bus Hold 175 Reset An external 20 MHz creates a basic clock for all receiver parts Transmission CLKOUT 312 5 kHz LED 1 5 Hz are generated by dividing 20 MHz It is distributed by one of BUFGP lines to guarantee small delays PTADR DXFR and 1 MHz CLKIN from transmitter are also distributed using BUFGP lines PTWR CLKOUT RDI and CLKIN are distributed using secondary BUFGS buffers 1 2 3 Fast channels receivers HSII Serial channel input data are converted to a word in L14 module Consecutive word bits are registered on rising edge of 1 MHz clock while frame FR is active Parallel data are latched in L16 by a rising edge of 20MHz clock when LATCH EN is active LATCH EN is generated by 1162 1163 1550 and is active for half of CLKH period after FR goes low The word received is written to FIFO by signals generated in 1471 1487 I488 and 1490 Write begins when both LATCH FULL and channel selection Q are high WRITE signal is generated and fed to 1488 If Add On bus is free DXFR and PTATN are high WAIT is generated forcing third state on 5920 outputs On the next 20MHz cykle FIFO write enable WEN is generated The next 20 MHZ clock generates CLR that resets the circuit Simultaneously WAIT opens L15 buffer and the data rec
38. then used by Xilinx FIFO transfers 1 2 14 Reset A standard STARTUP module from Xilinx library is used S5920 SYSRES program reset pin is connected to STARTUP GSR input through P116 pin 1 2 15 PCI interface description PCI interface is based on AMCC S5920Q PCI Matchmaker IC Its detailed description is available from AMCC S5920Q is working in active mode It has a standard connection with the PCI bus Its operation is defined by configuration record written to 24C02 PC EEPROM This configuration record is uploaded by S5920Q automatically upon its power up This record contains information about resources I O region and IRQ number used by the board and the board descriptor 1 3 Connectors and pin functions Appendix p17 Pin Out Cables Appendix p18 Cables I F drawings Appendix p19 Terminators 1 4 1 Computer Controlled Power Consumption Simulator Users Guide Computer Controlled Power Supply Load CCPSL Appendix p29 is a variable PS load that can be used to simulate changes in power consumption for 28 V power supply It works in the range from 0 84 W up to 120 W Fuse F 6 3A LED D STOCKHOLM HERSCHEL DRCU Instrument Date 2003 11 26 Issue 1 0 OBSERVATORY SPIRE Simulator e i is 156 CCPSL front case The front of CCPSL case is shown above There are two DEMA9 connectors marked Load DEMA9P and RS232 DEMAOS fuse holder and LED on the it The power supply output should be connected to
Download Pdf Manuals
Related Search
Related Contents
Franke FHCR 1204 3G TC WH C Access Professional Edition Direct Steam Injection Humidifier CELSIUS M4xx / R5xx / R6xx PDF Agilent 34970A /34972A Data Acquisition / Switch Unit Copyright © All rights reserved.
Failed to retrieve file