Home
VLT-SPE-ESO-15736-3384-PRIMET SDD
Contents
1. Ko STANDBY STANDBY STANDBY ONLINE STANDBY SETCONF GETCONF SETTEMP SETLSP SETFLRP GETINS INIT GETFLP SETFLP SIMULAT GETFLP STOPSIM OFF TEST STOP Figure 5 PMLSS State Chart VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 17 of 61 2 2 2 Command Description Command SETLSP Parameters lt LSP gt REAL Reply OK ERROR Description The SETLSP command is used to modify laser stabilization parameter that qualifies the laser to be stabilized The mean value of the error signal measured by the lock in amplifier must be below this value Command SETTEMP Parameters lt Device Name gt STRING I2 EOM or OVEN lt Temperature gt REAL Reply OK ERROR Description The SETTEMP command is used to modify the destination temperature of the CN77000 temperature controller used for either the 12 EOM or OVEN Command GETTEMP Parameters lt Device Name gt STRING I2 EOM or OVEN Reply lt Temperature gt REAL Description The SETTEMP command is used to read the destination temperature of the CN77000 temperature controller used for either the 12 EOM or OVEN Command GETVOLT Parameters None Reply lt Voltage Piezeo gt REAL lt Voltage Temp gt REAL
2. Start demodulation fuction for configurable number of seconds default 0 1 sec to determine the shape of the beam Return FAILURE to the beam search command in case the beam is distorted Otherwise Stop ongoing SRCHBM store the current position of the beam as the new Beam Center Log a message to the CCS log system tat the beam was found Incase of PPO active Determine if the guiding should be stopped automatically in case of beam lost too large radial motion RMS or beam saturated Log a message to the CCS log system and stop PPO in these cases Incase of PPO still active Feed the X Y positions into a TAC DigitalTF controller block and use the outputs of that block as new controller offsets Convert the controller offsets from PMPSD X Y Z coordinates into the STS s U V W coordinate system Incase of STRTENG store the PSD attributes into the local memory of the LCU Hand over the values SQRT R and Q SUM to the TAC RTDScope block Calculate statistical values to be logged to the CCS logging system at a fixed logging period radial motion MEAN RMS X position MEAN RMS Y position MEAN RMS Q SUM MEAN RMS In case of PPO active Send the user offsets controller offsets packed into one message for both beams to the STS VCM LCUs of the corresponding telescopes 2 4 4 Database Description VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0
3. P instructs the temperature controller to put a parameter into its local RAM These settings are lost after a controller reset Basic Course PMLSS sends the following commands to the CN77000 01 P 01 lt Temperature Setpoint gt Note The data values for the temperature setpoint consists of three bytes that must comply with the following format Bit 23 is the sign bit 1 for negative values 0 for positive values Bits 22 20 must always be set to 010 which selects a precision of one digit after the decimal point Bits 19 0 contain the actual temperature setpoint 2 2 6 RS232 connection to the Stanford Research SR 844 Lock In Amplifier The interface uses the signals RxD TxD DTR CTS and GND and must be operated with the following parameters Baud Rate 9600 baud No Parity 8 Data Bits 1 Stop Bit Full Duplex All above communication parameters must be set through the front panel of the SR 844 lock in amplifier before trying to operate this unit together with PMLSS Please note that the SR 844 supports both a RS232 and a GBIP interface Via the front panel the RS232 interface must be selected Additional settings are required like the time constant the low pass filter the sensitivity setting the input signal impedance and the configuration of the two output channels It is not foreseen to set these values through PMLSS they shall be set manually by the user However as soon as t
4. useLW125Laser LOGICAL Indicates if the LightWave Model 125 laser shall be used If FALSE the InnoLight Model MIR 500 laser shall be selected vitDOUBLE Laser stabilization parameters vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE 1lw125PwrMin vItDOUBLE Min Max values for the SETLPWR command mW VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 28 of 61 Detailed Design Description lw125PwrMax ilPwrMin ilPwrMax wlNominal vItDOUBLE Wavelength measurements of the WaveMeter for nominal and wlMin stable i e during closed loop operation conditions wlMax wlMinStable wlMaxStable i2TempSetpoint vItDOUBLE Temperature setpoint for the NewPort CN77000 temperature controller of the iodine cell dcTempSetpoint vItDOUBLE Temperature setpoint for the NewPort CN77000 temperature controller of the OVEN eomTempSetpoint vItDOUBLE Temperature setpoint for the NewPort CN77000 temperature controller of the EOM aomIp2Alpha vItDOUBLE Parameters for the AOMs aomIp4 Alpha aomIp1 Alpha aomIp3 Alpha aomIp2 vItDOUBLE Initial settings of the transmission coefficients of the four AOMs aomlp4 in percent aomlp1 aomlp3 IspNominalL W vItDOUBLE Configuration of the initial nominal laser power setting IspNominalIL iDigitalDev vItB YTES8 Device names of the MEN modules used for ilAnalog1Dev Innolight digital signals Analog Dev Innolight analog signals 1 flipDIDev Inn
5. 08 12 2010 48 of 61 The structure of the PMACQ database is outlined in Figure 20 PMPSD OLDB Structure QxpmpsdB1 DOUBLE QxpmpsdA2 DOUBLE AxpmpsdB2 DOUBLE Gondel Ai DOUBLE QxConyMatA1 2 DOUBLE QxConvMatA21 DOUBLE QxConvMat4 amp 22 DOUBLE beamDetSeconds DOUBLE beamDetThreshold1 DOUBLE loopClosed Int32 centerPos pmpsdDB_CENTERS ppoCorrTooLarge DOUBLE psdBeamDetSRCHBM DOUBLE psdBeamSatPGAOther DOUBLE beamDetThreshold2 DOUBLE beamDetAmplitude DOUBLE beamDetFrequency DOUBLE beamDetFilterTau DOUBLE spiralStepSize DOUBLE spiralAmplitude DOUBLE QxPGAGain DOUBLE QxTRAGain DOUBLE Figure 20 PMPSD OLDB Structure PMPSD configuration data is stored relative to the database point lt alias gt pmpsd config Attribute Description Q1BeamCenterX vItDOUBLE Beam centers found during the most recent SRCHBM Q1BeamCenterY command These values are permanently backup ed into Q2BeamCenterX VLTDATA config by PMPSD Q2BeamCenter Y Q3BeamCenterX Q3BeamCenter Y Q4BeamCenterX Q4BeamCenter Y Q5BeamCenterX Q5BeamCenter Y Q6BeamCenterX Q6BeamCenter Y Q7BeamCenterX Q7BeamCenter Y Q8BeamCenterX Q8BeamCenter Y VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 49 of 61 vitDOUBLE vitDOUBLE vitDOUBLE vitDOUBLE ppoRmsThreshold vItDOUBLE Maximum RMS for the pupil motion If larg
6. Command STOPMPO Parameters None Reply OK ERROR Description STOPMPO is used to stop the pupil optimization loop between PMPSD and the star separators which is active during the observation Command GETMFLX Parameters None Reply lt X Y Q_SUM IP1 gt REAL lt X Y Q_SUM IP2 gt REAL lt X Y Q_SUM IP3 gt REAL lt X Y Q SUM IP4 gt REAL Description GETMELX returns the total flux of all 4 active quadcells as well as the X rms and Y rmx correction positions Command SELINS Parameters lt Instrument Name gt STRING Reply OK ERROR Description SELINS is used to verify if the expected instrument is really connected to the PRIMA MET switchyard This is a manual operation which however can be verified via proximity switches Command GETCONF Parameters None Reply lt Telescope 1 gt STRING lt Telescope 2 gt STRING Description GETCOMF is used to return the IDs of the two telescopes that are used for the PRIMA observation The parameters must be either two ATx or UTx Command SETCONF Parameters lt Telescope 1 gt STRING lt Telescope 2 gt STRING Reply OK ERROR VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 30 Detailed Design Description 08 12 2010 61 of 61 Description GETCOMF is used to set the IDs of the two telescopes that are used for the PRIMA observation The parameters must be eithe
7. In total 32 analog input signals must be processed by PMPSD which shall be read via two VMIVME 3123 analog input boards The processing of the signals is done via a TAC control loop The principle is outlined inFigure 18 PMPSD TAC Configuration For simplicity only the four active PSDs are shown Since this is a closed loop system one DigitalTF controller block is foreseen for each beam For each combination of PSD STS VCM LCU a different set of control parameters might be necessary The SW must be able to swap the parameters after receiving the configuration The star separators involved in the observation must previously be made known to PMPSD via PMCS The corrections to the VCM LCUs are then sent via a dedicated ethernet interface using the second Ethernet interface of the Motorola MVME 6100 CPU The sensitive area of each PSD is 10 mm x 10 mm which is compatible with a 1 mm beam diameter and a 4 5 mm lateral displacement The exact beam diameter of the laser footprint on the PSD is measured once with a dedicated stand alone device written to the OLDB and regarded stable afterwards VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 42 of 61 PDD AI To Prenton Sensor Detection Lcu lt LPRUPD ar Gee z Channel A Channel B 32 Al IP1 IP3 IP2 IP4 z pueod EZLE OIINA 2 x AU AW STS Telescope 2 VCM LCU In Light Duct VCM B VCM Piezo
8. psdGainTRA vItDOUBLE Transimpedance and PGA gain settings for the PSD psdGainPGA device see SETTGN SETPGN commands pmpsdSrchBeamRun LOGICAL Flag to indicate if SRCHBM is currently running injectNoise LOGICAL Indicates that white noise is sent to the STS VCMs following a STRTNOI command engineering GUI beamDetDeltaU vItDOUBLE Outputs of the demodulation algorithm to determine the shape beamDetDeltaW of the beam beamDetDemodX beamDetDemodY Table 11 PMPSD Data Database Point 2 4 5 Test and Simulation Support The following files provide TAT tests for pmpsd e pmpsdTestStdCmds tcl for testing the standard commands TCL TK script file e pmpsdTestCommands tcl for testing all PMPSD specific commands TCL TK script file Simulation support is enabled via the SIMULAT command In that case the simulated quadcell meter results are generated at the rate of the system clock 100 Hz 2 5 PMCS Metrology WS Software 2 5 1 Overview The PRIMA Metrology WS SW shall be contained in the separate CMM module pmcs The functionality of the PRIMA Metrology WS SW is limited to setting up the system and providing a single interface from PSS to the four PRIMET LCU s 1 Configure the telescopes that shall be used for the observation UTx and UTy or ATx and ATy Configure the instrument used for the observation FSU A AMBER or MIDI 3 Provide a state machine which enforces a certain order of commands to be sent until
9. STRING Reply OK ERROR Description SELINS selects the instrument to be used for the observation The value must be either FSUA AMBER or MIDI NOTE This information is ONLY used for the engineering files and not required 2 3 3 Task Description pmacqMonitor Description pmacqMonitor serves as a background monitor running at low frequency 1 Hz which is used to update the status of the OLDB with the data delivered from the Phase Meter and the results errors of evaluating this data 1 pmacqMonitor shall evaluate the status of the raw Phase Meter quantities VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 36 of 61 summed phase number of samples error compensation status II information and the DC level of the four photodiodes Additionally pmacqMonitor shall read the quantity AL calculated by pmacqISR pmacqMonitor shall store these values into the OLDB pmacqMonitor shall read the umber of blocks that failed either the integrity or sequentality check If one of these numbers has changed pmacqMonitor issues either the error pmacqERR_SEQUENTIALITY or pmacqERR_INTEGRITY to the CCS log system pmacqMonitor shall calculate statatistic data to be logged on the CCS logging system as FITS keywords pmacqMonitor shall read the status of the fringe sensor analysis board is running on the A B LCU and update the OLDB accordingly with the fo
10. Description The GETVOLT command is used to read the voltages applied to the FAST FREQUENCY BNC and SLOW FREQUENCY BNC inputs of the laser s power supply unit done by TAC during ONLINE Command CLSLOOP Parameters lt On Off Flag gt STRING Reply OK ERROR Description The CLSLOOP command is used to open or close the light source stabilization control loop Command SETCONF Parameters lt Temperature I2 gt REAL lt Temperature DC gt REAL lt Temperature OVEN gt REAL Reply OK ERROR Description The SETCONF command sets the temperature setpoints of the CN77000 temperature controllers user for I2 DC and OVEN Command GETCONF Parameters None Reply lt Temperature I2 gt REAL lt Temperature DC gt REAL lt Temperature OVEN gt REAL Description The GETCONF command reads the temperature setpoints of the CN77000 temperature controllers user for I2 DC and OVEN VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 18 of 61 Detailed Design Description Command POWER Parameters lt On Off Flag gt STRING Reply OK ERROR Description The POWER command is used to switch the laser diode ON or OFF Please note that the laser diode can only be turned on if the key on the front plate of the LightWave model 125 laser InnoLight model MIR500 has been turned manu
11. PRIMET is in it s final state ONLINE_RECORDING 4 Provide a interface to the PRIMET interlock system Siemens S7 safety PLC using the OPC UA protocol The PRIMA metrology control SW needs to know the instrument and telescope configuration to determine the parameters for the control loop between PMPSD and the VCM LCUs of the two Star Separator LCUs involved in the observation PMCS WS shall be implemented using WSF AD 18 and implement the interfaces outlined in AD 09 The interface between each LCU and PMCS WS is implemented by a set of commands and a local database The CCS scan system is used to automatically update the database attributes on the workstation when they change in the local database of one LCU The pmcsControl process shall be started on the PRIMA WS to act as the command handler PMCS WS interacts with the following processes running on the PRIMET LCUs e pmacqServer Command handler task for the two PRIMET Phase Meter LCUs e pmlssServer Command handler task for the PRIMET Laser Stabilization LCU e pmpsdServer Command handler task for the PRIMET Position Sensor Detection LCU VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 52 of 61 Detailed Design Description 2 5 2 Interface to the PRIMET interlock system The interface to the interlock system safety PLC is implemented using the OPC UA protocol via a commercial library from Siemens AD 28
12. State Chart As soon as PMLSS is commanded to ONLINE the TAC control loop is running however in open loop A dedicated command CLSLOOP is used to automatically close the loop of the laser stabilization The steps required to close the loop are 1 Check with the WA 1500 Wavemeter if 1319 1774 nm lt lambda nm lt 1319 1786 nm If OK move to step 4 otherwise calculate for Lightwave laser AOOffset 1319 1786 lambda nm 100 for Innolight laser AOOffset 1 0 1319 1786 lambda nm 100 2 Wait 15 sec 3 if X Lock In lt 0 move to step 4 otherwise send the autophase command to the SR 844 lock in amplifier 4 After 1 sec store the first averaged value from the Powermeter as TestT ACConst3 5 Set the parameter of the TestTacSwitch block to 2 6 Wait 1 sec 7 Set the parameter of the SwitchTemp block to 2 8 Wait 5 sec 9 Set the parameter of the SwitchPiezo block to 2 The frequency stabilization loop is considered as successfully closed if the following conditions are met AD 27 Laser OK see below Temperature range of the CN77000 temperature controllers NOT exceeded The wavemeter indicates a wavelength of 1319 1771 nm 0 0001 nm query using RS 232 The reference signal is detected by the Lock in query using RS 232 The mean error signal X output of the lock in computed over 1 sec is lt 0 05 V see corresponding to a laser frequency shift of 2MHz read an
13. This document employs several abbreviations and acronyms to refer concisely to an item after it has been introduced The following list is aimed to help the reader in recalling the extended meaning of each short expression Xo Working wavelength AO Adaptive Optics ARAL Artificial sources and Alignment Toolkit CCS Central Control Software DDL Differential Delay Line DL Delay Line DLCS Delay Line Control Software dOPDC Differential Optical Path Difference Controller ESO European Southern Observatory FSU Fringe Sensor Unit GD Group Delay GDT Group Delay Tracking GUI Graphical User Interface IEE Institute of Electrical Engineer IEEE Institute of Electrical and Electronic Engineers ISS Interferometer Supervisor Software LCC LCU Common Software LCU Local Control Unit LEO Leonardo VLTI artificial star NTP Network Time Protocol OLDB Online Database OPD Optical Path Difference OPDC Optical Path Difference Controller OPL Optical Path Length OSLX Objective SLX PDCS PRIMA Differential delay line Control Software PMCS PRIMA Metrology Control Software PRICS PRIMA Control Software PRIMA Phase Referenced Imaging and Microarcsecond Astrometry facility PRIMET PRIMA Metrology sub system PSS PRIMA Supervisor Software RMN Reflective Memory Network SLX Setup Files and operations Logs Handling TIM Time Interface Module UML Unified Modeling Language UT Unit Telescope UTC Universal Time Coordinates VLT Very Large Telescope
14. VLTI Very Large Telescope Interferometer VLTICS Very Large Telescope Interferometer Control Software VME VERSA Module Euro card WS Workstation VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 8 of 61 Detailed Design Description 1 6 Glossary This glossary defines those terms single words or phrases concerning Software Engineering Telescope Control and Interferometry mentioned in this document but firstly introduced and extensively described in other documents The meaning of each term is carefully explained focusing on its usage in the context of this specific document Words belonging to a term which are enclosed in brackets are implicit when no ambiguity can arise Those words contained in the definition of a term and included also in the glossary which are used with a specific technical meaning are printed in italics Entries are ordered alphabetically e Actor An actor is a role of an entity external to the system Actors can be humans machines or devices One physical object may play several roles and therefore be modeled by several actor A primary actor is one having a goal requiring the assistance of the system A secondary actor is one from which the system needs assistance to satisfy its goal e Beam combiner an optical system which combines the light beams coming from different telescopes used for interferometry e Channel a channel consists of two light beams of the
15. Y delivered by SR 844 lock in amplifier SR844DetFrequency vItDOUBLE Measurements delivered by the SR 844 lock in amplifier SR844SecondHarmonic vItDOUBLE SR844Sensitivity vItB YTES32 SR844TimeC onstant vItB YTES16 SR844FilterS lope vItB YTES16 emergencyStop vItLOGICAL Status of the digital signal ilEmergencyStop as read by the AVME 9481 ACROMAG board Status of the digital signal ilEmergencyStopOrigin as read by the AVME 9481 ACROMAG board emStopLatch vItLOGICAL Status of the digital signal ilEmergencyStopLatch as read by the AVME 9481 ACROMAG board lampStatus vItB YTES32 Status of the digital signal ilEntranceDoor as read by the AVME 9481 ACROMAG board This is not a single signal but the status of the 10 lamps mounted next to the entrance doors eomTemperature vItDOUBLE Temperature measurement of the NewPort CN77000 Temperature Controller used for the New Focus Model 3363 B EO Modulator i2Temperature vItDOUBLE Temperature measurement of the NewPort CN77000 Temperature Controller used for the I2 cell dcTemperature vItDOUBLE Temperature measurement of the NewPort CN77000 Temperature Controller used for the OVEN PMChannelA vItDOUBLE PowerMeter measurement for channel A PMChannelB vItDOUBLE PowerMeter measurement for channel B LW125LaserTemp vIt DOUBLE Status of the LightWave Model 125 laser if used see LW125DiodePower vItDOUBLE CONFIG section LW125InterlockStat LOGICAL LW125FaultStatus vItB YT
16. gt gt PRIMA MET Control Software PMCS se lt lt lt lt Package gt gt gt PRIMET Phase Meter Software PMACQ lt lt lt lt Package gt gt PRIMET Positon Sensor Detection Software PMPSD ER lt lt lt Package gt gt gt PRIMET Laser Stabilization Software PMLSS Figure 2 PRIMET SW Packages The installation of all metrology modules as well as the creation of the required CCS environments is done by a dedicated primaBUILD module Two user accounts shall be created on the PRIMA WS prima and primamgr The primamgr account shall be used to install the SW cmmCopy primaBUILD pkginBuild primaBUILD Please note that this procedure will also install the PRIMA FSU and the IRACE DCS SW As soon as the CCS environments have been created successfully the processes shown in Figure 3 PRIMET SW Processes are running in their corresponding environments For the PRIMET WS control SW the CCS environment wprima is utilized which is however not exclusively used by PRIMET but shared among all PRIMA sub systems For each of the PRIMET modules one engineering GUI is available which can be started in this environment e pmlssGui Maintenance panel for the PRIMET Laser Stabilization sub system e pmacqGui Maintenance panel for the PRIMET Phase Meter sub system e pmpsdGui Maintenance panel for the PRI
17. stabilization shall be implemented with TAC The structure of the TAC algorithm is shown in Figure 6 PMLSS TAC Control Loop The error signal X actually a 10 V analog voltage proportional to X delivered by the SR 844 lock in amplifier shall be read by the analog I O board VMIVME 3123 at a fixed sampling frequency 1 kHz The availability of a new error signal triggers the TAC algorithm which in turn uses two standard PID2 control blocks from the TAC library to calculate the corrections signals The output of the first PID2 controller drives the SLOW FREQUENCY BNC input of the LightWave model 125 126 power supply alternatively InnoLight model MIR 500 while the output of the second PID2 controller is used as a direct input to the FAST FREQUENCY BNC connector Since both inputs on the LightWave model 125 126 power supply alternatively InnoLight model MIR 500 require analog signals a MPV 955 TAC block is used to convert the digital outputs of the PID controller to 10 V analog voltages Finally one TAC monitor block is used to update the database with the input signal coming from the VMIVME 3123 block and the two output signals generated by the MPV 955 block Since the database values are only used for monitoring but not required by the control loop the monitor block runs at low frequency 1 Hz A scope block running at the RT algorithm s speed 1 kHz is however used for real time data display via RTDScope The fol
18. that specific UTC timestamp which follows the mode parameter VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 35 of 61 Command STRTMET Parameters None Reply OK ERROR Description The STRTMET command is used to start processing data coming from the Phase Meter and to deliver the quantity Delta L to the RMN network Command STOPMET Parameters None Reply OK ERROR Description The STRTMET command is used to stop processing data coming from the Phase Meter and to stop delivering the quantity Delta L to the RMN network Command STRTENG Parameters lt Number of Samples gt INTEGER Reply OK ERROR Description The STRTENG command is used to start recording data coming from the Phase Meter into engineering files Command STOPENG Parameters None Reply OK ERROR Description The STRTENG command is used to stop recording data coming from the Phase Meter into engineering files Command RESETPM Parameters None Reply OK ERROR Description The RESETPM command is used to perform a hardware reset of the phase meter Command MEASURE Parameters None Reply lt DeltaL gt STRING lt Timestamp gt STRING Description The MEASURE command returns the latest Phase Meter measurement together with a timestamp Command SELINS Parameters lt Instrument Name gt
19. the formula visibility sqrt 2 RMS DC Table 8 PMACQ Data Database Point VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 40 of 61 Detailed Design Description 2 3 5 Test and Simulation Support The following files provide TAT tests for pmacq e pmacgqTestStdCmds tcl for testing the standard commands TCL TK script file e pmacgqTestCommands tcl for testing all PMACQ specific commands TCL TK script file Simulation support is enabled via the SIMULAT command In that case the simulated phase meter results are generated at the rate of the system clock 100 Hz 2 4 Position Sensor Detection 2 4 1 Overview All functionality of the Position Sensor Detection package of PMCS is contained in the separate CMM module pmpsd PMPSD is normally controlled by PMCS although it can also be used as a stand alone application A maintenance panel is provided to send commands and display the status of PMPSD The following LCU architecture has been selected for the PMPSD application 1 Motorola MVME 6100 PPC CPU board 2 VMIVME 3123 analog input boards 1 ESO Time Interface Module TIM board 1 MEN carrier board equipped with 2xM58 modules A schematic of the HW layout of the PMPSD LCU and all cabling is given in Figure 17 PMPSD LCU The principle of one PSD cell is given in Figure 16 PMPSD HW Setup AD 11 Detector Head Q2 LPRMLS LCU Q1 Q2 Q3 Q4 vol
20. 4 PME SSC Uron ach 05 e e e e E E e E e e E ee E eae ss 14 Figure Si PMESS State Chart 3 s5 s0icce0ssc ssvsses ssessasecsesssoe sesssos Sesssuesssudbus tsvcoes fesse Parie Or Ene PEE E re Eer i 16 Figure 6 PMLSS TAC Control Loop 26 Figure CG PMESS OLDB Structtite 05 se i eee ees AE A eae ieee ede steele eee eure tees 27 Figure 8 Phas Meter Data Format AD 24 c iassenaneesiaenena aS 31 Figure 9 Status II Data Format AD 231 31 Figure 0 CalcwlatiOmOk EEN 32 Figure 11 sPMACO E ELE 32 Figure 12 PMACO LCU aciseicienteesiestinesinel ovestuatheusbacthoenbsethoenbectcuenbent bpenbetopenboet EEE ET EEEE Eaa EEEE E EEEE EE 32 Figure 13 PMACQ State Chat 33 Figure 14 PMACQ LCU 10 ms measurement riores rea a e a EEEE EEE EE OEEO 34 Figure 15 PMACQ OLDB S MUCIUTO soriire e n E a E E EEEE EES 37 Pioure 16 HME HW SeU Dirai E ooo eon ea an a a EE ee 40 Figure l7 PMPSD ECU seriei eenen eeen usando es buster us basthe EEEE ene EENE Eo EEEE Eee EEEE EAEN EEA EEEN EEE KEEK EEE SEEE EERE Eek 42 Figure 18 PMPSD TAC Configuration eeessssseeseseersssressssreesssrtesssrresssrtesssrteessrteesssteeessriesssrieesssteesssteesssrees 43 Pisure 19 PMPSD State lt 44 Fisure 20 PMPSD OLDB Stee itn SNE EENS 48 Figure 21 PMCS SELINS Commande 54 Figure 22 PMCS SETCONEF Command serere irere Eneee rE E e EE eE EEE EEEN Ee EE Eere SEE ett 54 Figure 23 PMCS STRTMET Commande 55 Pisure 24 PMCS State Dia stania EE E 56 Pigure 25 PMCS OL D
21. B CHE ee 57 Table 1 Applicable documents 6 Table 2 Reference documents orcs cess eege 6 Table 3 CN77000 Manual Interface Settings eee eeeesecceeessneeceesseeecessaeecessaeeccesnaeeecessaeeceesaeeeeeenaeeeees 21 Table 4 CN77000 Error Messages ecsccceesssccccessseeecessneeeeeessaceccesseeecsssaeeceessaeeceessaeeesessaeeesesaaeeeseeaeeeeee 21 Table PMLSS Control Database Poit oirir rrie tii ait teenie 28 Table 6 PMLSS Data Database HOENEN 30 Tabe TPMACO Contr l Database Poit nn cnnnancnancndncnan nan onan onan ana aan aats 38 Table 8 PMACQ Data Database Point 0 ccccccceeeseseseeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 39 Table 9 PMPSD Interface to the STS VCM LCUs nn 43 Table 10 PMPSD Control Database Pont 50 Tabl 11 PMPSD Data Database Point isirororii annn i n n E E E EEEE AECE 51 Table 12 PMCS Data Attributes E 58 Table 13 PMCS Config Attributes 20 0 eecccccessscecessneeeesesnaeeccessaeeecesssaeecesssaeeesesaeeeseesaaeeseesaeeseesnaeeeeees 59 VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 5 of 61 1 INTRODUCTION 1 1 Purpose This document describes the detailed design and architecture of the PRIMA Metrology Control Software PMCS running on the PRIMA Workstation and the Metrology Alignment and Measurement LCUs PMCS shall implement the architecture outlined in the PMCS
22. Controller Beam B VCM Piezo Controller Beam A 2 x AU AW STS Telescope 1 VCM LCU In Light Duct VCM Piezo Controller Beam B VCM Piezo Controller Beam A Figure 17 PMPSD LCU Error vectors sent to the Star Separators during observation During the observation the information read from the PSD s is used to send error vectors to the Star Separators mounted on the two telescopes used for that observation The frequency of the correction commands shall be 100 Hz PMPSD must first be configured to know the type and number of the two telescopes that are involved in the observation These can be either two AT s or two UT s The CDT command SETMCFG shall be used to set up PMPSD with this information Due to the required frequency of 100 Hz it is not possible to send the correction commands via a WS process Instead a direct UDP socket connection to the STS VCM LCUs shall be used via a dedicated ethernet network The following data shall be transmitted Field Name Data Type Description beam1ErrU vItDOUBLE Error offset of beam 1 along the U axis mm vItDOUBLE Error offset of beam 1 along the V axis mm vItDOUBLE Error offset of beam 1 along the W axis mm vItDOUBLE Error offset of beam 2 along the U axis mm Error offset of beam 2 along the W axis mm VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 30 Detailed Design Description 08 12 2010 43 of 61 Timesta
23. ES16 ilPowerEst vItDOUBLE Status of the InnoLight Model MIR 500 laser if used see ilD1 Power vItDOUBLE CONFIG section ilD2Power vItDOUBLE ilCrystalTECError vItDOUBLE i1D1TECError vItDOUBLE iID2TECError vItDOUBLE i1ID1TempGuard LOGICAL iID2TempGuard LOGICAL ilNoiseHeatMon LOGICAL ilInterlockMon LOGICAL psFSUAIp3 LOGICAL Status of the proximity switches psFSUAIp1 psAMBERIp3 psAMBERIp1 psMIDIp3 psMIDIIp1 psFSUAProbe psFSUARef psAMBERProbe psAMBERRef psMIDIProbe psMIDIRef VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 30 of 61 engFileReady LOGICAL Flag to indicate that the requested number of samples has been recorded engFileStatus INT32 Percentage of completion of the current engineering file AOMIp2Volt vItDOUBLE Status of the AOM transmission settings AOMIp4 Volt AOMIp1 Volt AOMIp3 Volt primetAFlipON vItLOGICAL Flags to indicate for each of the two FLIP mirror devices primetAFlipINBEAM Device is powered ON primetAFlipOUTBEAM Device is IN the beam primetBFlipON Device is OUT of the beam primetBFlipINBEAM primetBFlipOUTBEAM Table 6 PMLSS Data Database Point 2 2 10 Test and Simulation Support The following files provide TAT tests for pml ss e pmlssTestStdCmds tcl for testing the standard commands TCL TK script file e pmlssTestCommands tcl for testing all PMLSS specific commands TCL TK
24. EUROPEAN SOUTHERN OBSERVATORY Organisation Europ enne pour des Recherches Astronomiques dans l H misph re Austral Europ ische Organisation fiir astronomische Forschung in der s dlichen Hemisphiare VLT PROGRAMME VERY LARGE TELESCOPE VLTI PRIMA Metrology Control Software Detailed Design Description Doc No VLT SPE ESO 15736 3384 Issue 3 0 Date 08 12 2010 Name Date Signature Prepared R Frahm Name Date Signature Approved S Leveque F Delplancke Name Date Signature Released R Gilmozzi VLT PROGRAMME TELEPHONE 089 3 20 06 0 FAX 089 3 20 06 514 VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 2 of 61 CHANGE RECORD ISSUE DATE SECTION PAGE REASON INITIATION AFFECTED DOCUMENTS REMARKS 1 0 prep 1 2004 07 21 2004 08 09 p 6 list of AD s Changes due to comment list from FDR PRIMET for the PRIMA PAE 2010 12 08 Updated with all changes during PRIMA commissionings 1 to 13 1 VLTI PRIMA Fringe Metrology Control Software Detailed Design Description TABLE OF CONTENTS INTRODUCTION 1 1 PURPOSE 1 2 SCOPE 1 3 APPLICABLE DOCUMENTS 1 4 REFERENCE DOCUMENTS 1 5 ABBREVIATIONS AND ACRONYMS 1 6 GLOSSARY 1 7 STYLISTIC CONVENTIONS DETAILED DESIGN 2 1 OVERVIEW 2 2 PRIMET LASER STABLIZATION 2 2 1 Overview 2 2 2 Command Description 2 2 3 Task Description 2 2 4 RS232 connection to the power supply of t
25. INT32 Once the metrology has been started with the STRTMET command PRIMET verifies the sequentiality of the Phase Meter data with the equation SOB i SOB i 1 0x10 amp OxFF In case blocks are found to be missing the database attribute nrOfBlocksLost is incremented timeStampRel DOUBLE Relative timestamp which reflects the time STRTMET was recordingFlag LOGICAL Flag to indicate if the STRTENG command is active engFileReady LOGICAL Flag to indicate that the requested number of samples has been recorded engFileStatus vItINT32 Percentage of completion of the current engineering file dcProbe650kSat LOGICAL Saturation and low signal flags of the above photodetector signals dcProbe650kLow Kept for 1 second to appear on the PMACQ GUD then reset by the dcProbe450kSat PMACQ background monitor dcProbe450kLow dcRef650kSat dcRef650kLow dcRef450kSat dcRef450kLow refDet1OutDC vItDOUBLE Status of the fringe sensor analysis board i e current state of the refDet1OutRMS analog signals refDet2OutDC REF 450k OUT DC refDet2OutRMS REF 450k OUT RMS refDet1 Visibility REF 650k OUT DC refDet2 Visibility REF 650k OUT RMS probeDet1 OutDC PROBE 450k OUT DC probeDet1OutRMS PROBE 450k OUT RMS probeDet2OutDC PROBE 650k OUT DC probeDet2OutRMS PROBE 650k OUT RMS probeier Visibility A visibility attribute shall be derived for each pair of RMS DC probeDet2 Visibility values to be calculated with
26. MET Position Sensor Detection sub system e pmcsGui Maintenance panel for the PRIMET WS control SW e pmcsILGui Maintenance panel for the PRIMET interlock interface VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 12 of 61 wprima aaaaProcess gt gt j pmesControl W o Z Iprmls Iprma2 Iprmpd Iprmac pmlssServer pmacgServer pmpsdServer i pmacgServer itacRtcTask itacRtcTask 3 itacServer 3 itacServer 3 Figure 3 PRIMET SW Processes PRIMET in the PRIMA Context PRIMET is part of the PRIMA Control Software PRICS that includes the following software components e PRIMA Supervisor Software PSS responsible for coordinating the other PRICS components PSS is also the only interface between the Interferometer Supervisor Software ISS and PRICS PRIMA Metrology Control Software PMCS responsible for controlling the Metrology sub system PRIMA Fringe sensor unit Control Software PFCS responsible for controlling one Fringe Sensor Unit Two instances of this software are used to control FSU A and FSU B e PRIMA Differential delay line Control Software DDLCS responsible for controlling the Differential Delay Lines and the differential OPD Controller d OPDC DDLCS implements the same interface of DLCS e P
27. OGICAL localAckUT1 LOGICAL localAckUT2 LOGICAL localAckUT3 LOGICAL systemFailure LOGICAL laserEnabledON LOGICAL laserDisabledOFF LOGICAL laserinterlocked LOGICAL Figure 25 PMCS OLDB Structure PMCS runtime data is stored relative to the database point lt alias gt pmpsd data Attribute Data Type Description and Unit deltaL1 vItDOUBLE Result of the DIFFERENTIAL Phase Meter LCU erara LI Result of e SINGLE CHANNEL Phase Merer LCU pmDataValid1 LOGICAL Result of the DIFFERENTIAL Phase Meter LCU Do Result of the SINGLE CHANNEL Prase Meer LCU laserStable LOGICAL Attributes of the Laser Stabilization LCU laserOn laserOK laserCombined laserCombined laserOK amp amp laserStable Attributes added for PAOS see VLTSW20070382 indRef vItDOUBLE Index of refraction zeroVal vItDOUBLE Last measured zero position wLen vItDOUBLE Calibrated laser wavelength nm VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 58 of 61 defOPDA vltB YTES32 PRIMET definition of positive OPD for channel A defOPDB vItB YTES32 PRIMET definition of positive OPD for channel B defDelta vltB YTES32 Definition of positive DOPD should always be CHA FSUb mSourceSKY vItLOGICAL Status of the SETMSTR command mSourceMARCEL SKY Flip mirror devices set to IN MARCEL Flip mirror devices set to OUT laserEnStorRoom vItLOGICAL Periodically upd
28. Q shall implement the following two checks 1 SOB xor EOB 1 Integrity 2 SOB G SOBG 1 0x10 amp OxFF Sequentiality If both checks are successful PMACQ shall extract the following data from the transmitted block 1 Summed Phase 48 Bits oi 2 Number of Samples 19 Bits N 3 Error Compensation 24 Bits Or For monitoring purposes the Phase Meter status data will be evaluated In addition to the DC level of the four photodetectors status I the status II field of the data block provides the following information Bit Description Figure 9 Status II Data Format AD 24 The main task PMACQ LCU is to apply the formula shown in Figure 10 Calculation of AL to the raw data delivered by the Phase Meter in order to generate the quantity AL which is relevant for PRIMA operations AL must then be written to the PMC 5565 reflective memory board together with a timestamp coming from the TIM board and a validity flag in order to be delivered to the d OPD controller VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 32 of 61 Figure 10 Calculation of AL Within the above formula c v and Av are constants which represent the speed of light the frequency of the stabilized laser and the frequency shift between the two metrology channels They are configured through the PMACQ database and initially set to the following v
29. RIMA Fringe Metrology Control Software VLT SPE ESO 15736 3384 ee 3 0 Detailed Design Description 08 12 2010 19 of 61 Reply lt Flip OD Position gt STRING Description Returns the position of the FLIP MIRROR device PRIMETA or PRIMETB Command SETFLP Parameters lt Flip ID gt STRING lt In Out Flag gt STRING gt Reply OK ERROR Description Sets the position of the FLIP MIRROR device PRIMETA or PRIMETB to either IN or OUT 2 2 3 Task Description pmlssMonitor Description pmlssMonitor serves as a background monitor running at low frequency 1 Hz which is used to update the status of the OLDB with e The current temperature measurements of the CN77000 controllers for the iodine cell the EOM driver and the OVEN The laser temperature setting the status of the laser diode ON OFF the interlock status and the fault status of the LightWave model 125 laser if configured OR analog diagnostic information from the InnoLight model MIR 500 laser The measurements of the SR844 Lock In Amplifier i e the error signals X and Y the phase and the reference phase The status of the interlock circuitry i e the status of the emergency stop button the interlock origin the latch status of the manual reset button and the status of the 10 lamps mounted next to the entrance doors 2 2 4 RS232 connection to the power supply of the LightWave model 125 laser The LightWave
30. RIMA Star separator Control Software PSCS responsible for controlling one Star Separator If the STS is installed on UT PSCS is considered to be a subsystem of Coude Control Software If the STS is installed on AT PSCS is considered to be a subsystem of AT Control Software ATCS On the PRIMA workstation PMCS as well as all other PRIMA subsystems are running controlled by the PRIMA Supervisor Software PSS The interface between PMCS and PSS consists of a set of commands and a local database The required interface is specified in the PSS Interface Control Document AD 14 While generally the PRIMA subsystems do not know about each other since PSS is the only software controlling the interactions between these subsystems there is one exception to this rule The translation of the beams in lateral position pupil optimization is performed by one STS VCM LCU whereas PRIMET as a sensor computes the required corrections For performance reasons PRIMET directly sends these corrections to the STS VCM LCUs bypassing PSS This process and the corresponding interface is described in AD 23 VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 13 of 61 2 2 PRIMET Laser Stablization 2 2 1 Overview The PRIMET Laser Stabilization subsystem consists of a laser head together with its frequency stabilization hardware AD 25 A model SR844 lock in amplifier genera
31. System Design Description AD 07 in accordance with the VLT and VLTI software requirement specifications AD 01 AD 02 The present document identifies and describes the major packages and modules describes general design considerations and explains special design features 1 2 Scope The document is released for the VLT archive at specified project milestones with a release number and a release date to document the history of the project and for reference The UML diagrams in this document were generated with Rational Rose The Rose model is available within the module primadoc from the CMM archive 1 3 Applicable Documents The following documents of the issue shown if specified form part of this manual to the extent specified herein In the event of conflict between this document and those referenced the content of this document shall be considered as a superseding requirement unless explicitly stated otherwise herein Ret T Document Number oue De me AD 01 VLT SPE ESO 10000 1992 VLT Software Requirements Specification 0011 09 30 AD 02 VLT MAN ESO 17210 2001 Guidelines for the Development of VLT Application 0667 02 20 Software AD 03 VLT PRO ESO 10000 1 0 1993 VLT Software Programming Standards 0228 03 10 AD 04 Internal Document VLTIPRIMA Software Project Plan VLT MAN ESO 17200 2002 AD 05 0908 10 24 Tools for Automated Testing User Manual AD 06 VLT SPE ESO 15400 1996 VLTI Softwar
32. Unfortunately the license issue for that library is complicated After installing the library it is required to send a fax to Siemens with a key generated during the installation based on the MAC address of wprima For this key Siemens will send back a license file Only with that file the libary is usable Installation instructions 1 Please unzip all files from Softnet zip to a folder on a PC then ftp all rpm files in the sw folder to a temporary directory on wprima for example using winscp As user root please cd to that temporary directory and run the following commands rpm ihv cpitps redist 1 1 b018 1386 rpm rpm ihv LIS dummy 1 0 b001 1386 rpm rpm ihv pemx 4 0 b012_plaintcp i386 rpm rpm ihv s7h1 4 01 b016 1386 rpm 2 Reboot wprima 3 Check if the process tnsxd is running ps ax grep tnsxd If it is not running please start it manually opt lib emx CMXinit start 4 Obtain the ID for the license as user root by running the script usr bin get_address 5 Create the file usr share siemens license dat Note If this file already exists please open it and remove all lines Paste the license string from the Siemens FAX into this file then save 6 The file should now contain exactly one line of text with the string pasted above 7 Reboot wprima check if the process tnsxd is running ps ax grep tnsxd ONLY if this process is NOT running please start it manually opt lib emx CM
33. WSF state machine Most commands are only accepted in certain states Please cross check with Figure 24 PMCS State Diagram to verify the validity of a certain command within a certain state The PMCS state is independent of the LCU states which are handled by the PRIMA mode switching module MSW PMCS shall automatically go to ONLINE state after startup VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 56 of 61 Cold Start OFF SELINS EXIT SETMSRC OFF SETCONF LOADED ONLINE STABLE IDLE Not Initialized NOT_GUIDING INIT Initializing STABILIZING e STRIMPO STORMPO AIL INIT steps OK IDLE _ Initialized LaserNotStable GUIDING LaserNotStable REC_NOT_GUIDING amp STANDBY STRIMET STOPMET STANDBY ONLINE GETMFLX SET RECORDING NoPMData POWER STANDBY GETCONF GETMSRC Figure 24 PMCS State Diagram 2 5 5 PMCS OLDB Structure The structure of the PMCS OLDB is outlined in Figure 25 PMCS OLDB Structure VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 57 of 61 pleinterlockActive LOGICAL pleMonitorActivate LOGICAL plelnterlockTime Int32 pleinterlockAddress Bytes64 laserEnILCom LOGICAL nolnterlock LOGICAL localAckStoR LOGICAL localAckAnteCh LOGICAL localAckAnteCcD LOGICAL localAckG2 L
34. Xinit start 8 Run the following command opt bin tnsxcom u usr share siemens s7 example tns_inp dat Within the VLTSW the CMM module icOfbs7 provides generic functions to read from and write into data blocks of the PLC for all basic data types INTEGER DOUBLE LOGICAL The following information shall periodically be read from the S7 PLC Address Type Description DB4 W0 1 vItUINT16 remW1 laserEnStorRoom remW1 amp 0x0100 laserEnAnteCh remW1 amp 0x0200 laserEnUT 1 remW1 amp 0x0400 VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 53 of 61 laserEnUT2 remW1 amp 0x0800 laserEnUT3 remW1 amp 0x1000 laserEnUT4 remW1 amp 0x2000 laserEnG2 remW1 amp 0x4000 laserEnILCom remW1 amp 0x0004 laserEnILComAck remW1 amp 0x0008 noInterlock remW1 amp 0x0040 localAckStoR remW1 amp 0x0080 DB4 W2 1 vItUINT 16 remW2 localAckAnteCh remW2 amp 0x0100 localAckUT 1 remW2 amp 0x0200 localAckUT2 remW2 amp 0x0400 localAckUT3 remW2 amp 0x0800 localAckUT4 remW2 amp 0x1000 localAcknOK remW2 amp 0x2000 localAckAnteCD remW2 amp 0x4000 localAckG2 remW2 amp 0x8000 laserEnAnteCD remW2 amp 0x0001 The following data shall be written to the S7 PLC upon request by the user Address Type Description DBS5 xX0 0 1 vItLOGICAL Remote reset of PRIMET interloc
35. ally in advance Command RESILCK Parameters None Reply OK ERROR Description The RESILCK command is used to reset the interlock circuitry with a digital signal Command AUTPHAS Parameters None Reply OK ERROR Description The AUTPHAS command is used to perform a manual autophase function of the SR 844 Lock In amplifier Normally this is done automatically when going ONLINE with pmlss Command STRTENG Parameters lt Number of Samples gt INTEGER Reply OK ERROR Description The STRTENG command is used to start recording data coming from the stabilization loop into a engineering file Command STOPENG Parameters None Reply OK ERROR Description The STRTENG command is used to stop recording data coming from the stabilization loop into a engineering file Command SETLPWR Parameters lt Laser Power gt REAL Reply OK ERROR Description The SETLPWR command is used to set the laser power of the Innolight Lighwave laser in mW Command SETAOMT Parameters lt AOM ID gt STRING lt Transmission gt REAL Reply OK ERROR Description The SETAOMT command is used to set the transmission coefficient of one of the four AOMsSs in percent Command GETINS Parameters None Reply lt Instrument Name gt STRING Description Returns the name of the instrument configured via the metrology switchyard The return value is among the values FSUA AMBER MIDI or UNDEF Command GETFLP Parameters lt Flip ID gt STRING VLTI P
36. alog input The standard deviation of the error signal X output of the lock in computed over 1 sec is lt 0 05 V corresponding to a laser frequency shift of 2MHz read analog input The Laser Stable attribute in the OLDB visualizes if the above conditions are fulfilled During ONLINE PMLSS constantly monitors the status of the laser For each of the two laser models different conditions must be met for the laser head to be OK or NOT OK Conditions necessary to generate a laser OK for the Lightwave laser model 125 1319 200 AD 27 Laser Diode On Laser Power 200 mW 10 TBC Interlock status no interlock Fault status No Fault Conditions necessary to generate a laser OK for the Innolight laser model MIR SOONE FC AD 27 Diode laser 1 power monitor 1 2 V 10 150mW 10 TBC Diode laser 2 power monitor 1 2 V 10 150mW 10 TBC Diode laser 1 Temperature guard temperature control loop OK Diode laser 2 Temperature guard temperature control loop OK Noise eater monitor ON Interlock status no interlock VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 16 of 61 Additionally PMLSS monitors the status of the proximity switches of the phasemeter and the acusto optic modulator AOM Three instruments can be configured for PRIMA FSU A AMBER and MIDI The fibres of the instrument to be used for the observat
37. alues Constant Value c 1319 nm 2 27445 10 Hz 78 MHz Figure 11 PMACQ Constants The Phase Meter package shall run on the two dedicated Phase Meter LCUs Iprmac and Iprma2 It consists of a LSF application AD 18 that provides the database and command handling and implements a ESO standard state machine e Le Joue2 NIN LI Z iaeo NIN G9gg OWd I DeltaL 32 DI i Timestamp Phase Meter Data i Validity ai 4 IMT OPD dOPD Phase Meter External Controller 7 Trigger 1 DO 8 Al Phase Meter Reset Fringe Signal Analysis Figure 12 PMACQ LCU The state chart of PMACQ is outlined in Figure 13 PMACQ State Chart While in sub state IDLE it is possible to change and query the recording rate of the data with the SETRATE and GETRATE commands and to zero the metrology in one of three possible ways The actual data acquisition is started with the STRTMET VLTI PRIMA Fringe Metrology Control Software 30 Detailed Design Description 08 12 2010 33 of 61 VLT SPE ESO 15736 3384 command and stopped with STOPMET During the data acquisition is running the sub state is changed to ACTIVE During ACTIVE data is read from the Phase Meter the value AL is calculated and is delivered to the d OPDC via the RMN network Cold Start LOADED VI ONLINE IDLE Hot Initialized ACTIVE Gel o SETRATE A Initializing k GETRATE AIlINIT steps OK IDLE _ In
38. ameter ID is among the above ASCII values 2 PMLSS shall send the following bytes Byte 0 ESC Byte 1 ASCII 0 Note Laser Number always 0 Byte 2 ASCII 4 Note Command Read Parameter Byte 3 lt Parameter D gt Byte 4 LF Byte 5 CR The Laser Diode can be turned ON or OFF via the RS232 interface of the LightWave model 125 126 microprocessor based power supply As a precondition the laser must already be at VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 21 of 61 least in STANDBY mode which is achieved manually by turning a key on the front plate of the power supply Basic Course PMLSS shall send the following bytes Byte 0 ESC Byte 1 ASCII 0 Note Laser Number always 0 Byte 2 if diodeOn ccsTRUE ASCII 2 Note Command Turn Parameter ON if diodeOn ccsFALSE ASCII 3 Note Command Turn Parameter OFF Byte 3 ASCII 6 Note Parameter ID Diode ON OFF Byte 4 LF Byte 5 CR 2 2 5 RS485 connection to the NewPort CN77000 Temperature Controllers Three identical NewPort CN77000 temperature controllers are used to control the temperatures of the iodine cell the EOM driver and the OVEN This serial interface for these devices uses only the signals RxD TxD and GND and must be operated with the following parameters Baud Rate 9600 baud No Parity 8 Data Bits 1 St
39. ard state machine The control loop to stabilize the light source shall be implemented by TAC AD 12 which shall use only standard blocks from the TAC library For these TAC blocks no device drivers are required Since the ISER 12 and the AVME 9481 boards are simply used for initialization and monitoring they shall be controlled by the LSF application not by TAC For these two devices the corresponding device drivers must be loaded in the bootscript of the LCU Of the ISER 12 five serial connections shall be used which are created as separate LSF serial devices RS232 connection to the microprocessor based power supply of the LightWave model 125 laser RS485 connection to the NewPort CN77000 temperature controllers for the iodine cell the EOM driver and the OVEN RS232 connection to the Burleigh WA 1500 WaveMeter RS232 connection to the NewPort 2832 C PowerMeter RS232 connection to the NewPort SR 844 lock in amplifier A interlock and interface circuitry shall switch off the laser when activated Once a interlock occured a manual or software reset is necessary before the laser can be switched on again The status of this circuit shall be monitored by PMLSS only indirectly via the interlock status flag within the laser status VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 15 of 61 Detailed Design Description The state diagram of PMLSS is shown in Figure 5 PMLSS
40. ated status information from the S7 safety PLC laserEnUT 1 PRIMET interlock system read via OPC UA laserEnUT2 laserEnUT3 laserEnUT4 laserEnG2 laserEnILCom laserEnILComAck noInterlock localAckStoR localAckAnteCh localAckUT1 localAckUT2 localAckUT3 localAckUT4 localAcknOK localAckAnteCD localAckG2 laserEnAnteCD systemFailure laserEnabledON laserDisabledOFF laserInterlocked psdBeamsGuiding vItLOGICAL TRUE if the pupil guiding loop is active for all 4 quadcells Table 12 PMCS Data Attributes PMCS configuration data is stored relative to the database point lt alias gt pmpsd config Attribute Data Type Description and Unit Default Value dev650 vItB YTES8 on LCU lt lprmls gt Device on 650k channel FSUA AMBER MIDI dev450 vItB YTES8 on LCU lt lprmls gt Device on 450k channel FSUB fixed vItB YTES8 PRIMET IP3 input channel connected to 38 65 Mhz PRIMET IP1 input channel connected to 38 00 Mhz PRIMET IP4 input channel connected to 39 55 Mhz PRIMET IP2 input channel connected to 40 00 Mhz m sec vItDOUBLE onstant that represents the frequency of the c 1319 stabilized laser Hz fShift vItDOUBLE Constant that represents the frequency shift 78 000 000 VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 59 of 61 P between the two metrology channels MHz Timeout value in sec for reaching
41. board equipped with 1xM28 digital out and 1xM31 digital in to control two flip mirror devices A schematic of the HW layout of the PMLSS LCU and all cabling is given in Figure 4 PMLSS LCU Several external devices are required which are mainly connected to the LCU via serial cables Originally the LightWave model 125 1319 200 was foreseen to be used as the PRIMET light source Due to problems with the manufacturer it was replaced by a InnoLight model MIR 500NE FC later The SW is configurable to use either of them since the LightWave laser has already been procured and shall be used as a PRIMET spare part VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 Detailed Design Description 08 12 2010 14 of 61 Light Source Stabilization LCU lt LPRMLS gt WIL S UMS AYUWIXO1g OOLS AWAW TLE SINAIINA L JeuueS NIN Z ameo NAW Diagnostics 9 Al Burleigh Model VWA 1500 Laser On Off 1 DO 3 AO WaveMeter only ONE laser connected Temp Controllers Model 500NE FC NewPort LightWave SR 844 Lockin Error Signal Model 125 1319 200 Amplifier 2 Al Laser NewPort Model 2832 C 1 Al Diagnostics and Laser On Off PowerMeter RS232 Figure 4 PMLSS LCU The Light Source Control package is deployed on the dedicated PMLSS LCU It consists of a LSF application AD 18 that provides the database and command handling and implements a ESO stand
42. e Requirements Specification 0886 12 18 2998 09 16 Design Description 2953 09 11 Requirements Specification AD 09 onor fsor Newport OMEGA CN77000 Handbuch Aoo EE i0200 Model SRB44 RF Lock In Amplifier User s Manwal Rev EO Modulator Driver and Source Models 3363 A 3363 EH Fees SE B and 3363 C User s Guide AD 12 VLT MAN ESO 17210 20 2004 VLT Common Software Tools for Advanced Control 2970 03 21 User Manual VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software Detailed Design Description 9 08 12 2010 6 of 61 z 2963 i 01 12 Metrology System 3060 08 18 Document PRIMA Interface Control Document between the electro EE SC 5 mechanical Hardware and the Software of the Metrology 2999 System VLT TRE ESO 15736 1 0 2003 PRIMA Metrology Control Software Prototypes and 3034 f 04 07 Performance Analysis GEN SPE ESO 00000 1993 e 0266 05 10 ESO Graphical User Interface Common Conventions VLT MAN ESO 17210 3 0 2003 LCU Common Software LCU Server Framework User 2252 10 15 Manual ko S S 1 1997 LIGHTWAVE Electronics Diode Pumped Fiber 03 04 Coupled Non Planar Ring Laser User s Manual VLT SPE ESO 15410 2004 1957 05 24 VLTI Final Lay out of VLTI Control LANs VET ERE PS013730 1 0 ae Design Description of the PRIMA Metrology System 3000 11 21 VLT SPE ESO 15736 2008 toad 3243 04 29 PRIMA FSU Software Design Descripti
43. e NewPort 2832 C PowerMeter This serial interface uses only the signals RxD TxD and GND and must be operated with the following parameters VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 25 of 61 Baud Rate 9 600 baud No Parity 8 Data Bits 1 Stop Bit No Flow Control The initialization of the serial interface on the LCU is done by LSF however all above parameters must be provided in the DB configuration file of PMLSS The following functionalities of the NewPort 2832 C PowerMeter shall be used by PMLSS and implemented within the specified procedure name pmilssPMInit None SUCCESS FAILURE This procedure shall initialize the communication with the NewPort 2832 C device Basic Course PMLSS shall send the command CLS to clear the error buffer of the NewPort 2832 C device PMLSS shall send the command IDN to query the device ID of the NewPort 2832 C device pmissPMUpdate lt Channel ID gt Description This procedure shall read the current measurement of the selected channel CA or B of the NewPort 2832 C device Basic Course 1 PMLSS shall send the command R_A r n in case of channel A or R_B r n in case of channel B to the NewPort 2832 C device and return the delivered value 2 2 8 TAC Light Source Stabilization Control Loop The control loop to implement the actual light source
44. efined in The Unified Modeling Language User Guide RD 01 UML diagrams in this document are presented according to the guidelines described in The Elements of UML Style RD 02 Physically the PRIMA Metrology system consists of four LCUs for three different subsystems Two LCUs are identical The Phase Meter LCUs run the same SW on identical HW While the first measures the differential delta L FSUB FSUA the second unit measures one single channel FSU B Knowing these two measurements the remaining channel can easily be deducted The HW deployment of the PRIMA MET system is shown in Figure 1 PRIMET HW Deployment PRIMAWS Control PMCS lt wprima gt Laser Stabilization lt Iprmls gt Phase Meter DIFF lt lprmac gt Phase Meter SING lt lprma2 gt Position Sensor Detection lt Iprmpd gt Figure 1 PRIMET HW Deployment The functionality of the PRIMA metrology system is logically split into four modules which can be used independently of each other An overview of the SW packages is given in Figure 2 PRIMET SW Packages PRIMET Laser Stabilization SW PMLSS PRIMET Acquisition Unit Phase Meter SW PMACQ PRIMET Position Sensor Detection SW PMPSD PRIMET WS Control SW PMCS VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 11 of 61 ckage Data 2 PRIMET Packages S J s lt lt lt Package
45. er PPO is vitDOUBLE PSD Beam waist footprint of laser spot on one PSD measured once by external detector during commissioning Threshold V to determine if the beam on one PSD is Detected psdBeamWaist vItDOUBLE psdBeamDetected vItDOUBLE psdBeamSaturated vItDOUBLE Threshold V to determine if the beam on one PSD is Saturated REISER Number of PSD devices ipAddressSTSAT 1 ipAddressSTSAT2 ipAddressSTSAT3 ipAddressSTSAT4 ipAddressSTSUT 1 ipAddressSTSUT2 ipAddressSTSUT3 ipAddressSTSUT4 portSTSAT1 portSTSAT2 portSTSAT3 portSTSAT4 portSTSUT1 portSTSUT2 portSTSUT3 portSTSUT4 Q lt x gt pmpsdGain Q lt x gt pmpsdA1 Q lt x gt pmpsdB 1 Q lt x gt pmpsdA2 Q lt x gt pmpsdB2 Q lt x gt convMatA11 Q lt x gt convMatA12 Q lt x gt convMatA21 Q lt x gt convMatA22 noiseAfterQuad divideFactor loopClosed psdXConvFactor vltB YTES32 vItINT32 vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE vItDOUBLE vItINT32 vItINT32 vItINT32 vItDOUBLE psd YConvFactor vItDOUBLE telescopeID1 vItB YTES8 telescopeID2 vItB YTES8 IP addresses of the VCM LCUs of the STS installed in AT lt x gt and UT lt x gt Port number used for the UDP socket connection to the STS VCM LCUs of the corresponding AT lt x gt or UT lt x gt Gain Al A2 B1 B2 settings for the TAC DigitalTF blocks used for the control loop between PMPSD and the STS VCM LCUs Conversion mat
46. escription 08 12 2010 45 of 61 Reply OK ERROR Description SETPGN is used to set the TRANSIMPEDANCE gain of quadcell lt psdID gt to one of the values 1 2 22 5 6 or 10 Command STRTMPO Parameters lt PSD ID gt INTEGER Reply OK ERROR Description STRTMPO is used to start the pupil optimization loop between PMPSD and the star separators which is active during the observation Corrections are sent via socket communication to the process on the star separator LCUs in charge of controlling the variable curvature mirrors Command STOPMPO Parameters lt PSD ID gt INTEGER Reply OK ERROR Description STRTPPO is used to stop the pupil optimization loop between PMPSD and the star separators which is active during the observation Command SETMCFG Parameters lt Telescope 1 gt STRING lt Telescope 2 gt STRING Reply OK ERROR Description SETCONF is used to define the IDs of the two telescopes that are used for one PRIMA observation The parameters must be either ATx or UTx Command GETMCFG Parameters None Reply lt Telescope 1 gt STRING lt Telescope 2 gt STRING Description GETMCFG is used to retrieve the IDs of the two telescopes that are used for one PRIMA observation and the selected instrument Command STRTENG Parameters lt Number of Samples gt INTEGER Reply OK ERROR Description The STRTENG command is used to start recording data read from the quadcells into a engineering file Command STOPENG Param
47. eters None Reply OK ERROR Description The STRTENG command is used to stop recording data read from the quadcells into a engineering file Command SETFREQ Parameters lt Frequency gt REAL Reply OK ERROR Description SETFREQ is used to set the correction rate of the messages sent to the STS of the telescopes Command GETMFLX Parameters None VLTI PRIMA Fringe Metrology Control Software VLT SPE ESO 15736 3384 e f D 3 0 Detailed Design Description 08 12 2010 46 of 61 Reply lt X Y Q_ SUM IP1 gt REAL lt X Y Q_SUM IP2 gt REAL lt X Y Q_SUM IP3 gt REAL lt X Y Q SUM IP4 gt REAL Description GETMELX returns the flux sum of voltages read from the 4 active quadcells Ip1 Ip3 Ip2 Ip4 Command SELINS Parameters lt Instrument Name gt STRING Reply OK ERROR Description SELINS selects the instrument to be used for the observation The value must be either FSUA AMBER or MIDI Command SRCHBM Parameters lt Quadcell ID gt INTEGER Reply OK ERROR Description SRCHBM performs a spiral search using the VCM of the STS as the actuator to maximize the flux on the selected quadcell Command STOPBM Parameters lt Quadcell ID gt INTEGER Reply OK ERROR Description STOPBM stops any ongoing a spiral search Command GETBKG Parameters lt Quadcell ID gt INTEGER Reply OK ERROR Desc
48. g system pmacqsISR calculates the quantity AL using the received data from the Phase Meter and the constants c v and Av from the OLDB It shall then subtract from AL the value set via the last REFMET command pmacqsISR writes AL together with a time stamp and validity flag to the RMN using a dedicated function of the CMM module RMACRFM pmacqsISR increases a global variable blockCounter that reflects the number of correctly processed Phase Meter data blocks In case of failures pmacqsISR shall send a error message to the pmacq background monitor using pmacqsShmSendError VLTI PRIMA Fringe Metrology Control Software VLT SPE ESO 15736 3384 3 0 08 12 2010 37 of 61 Detailed Design Description 2 3 4 Database Description The structure of the PMACQ database is outlined in Figure 15 PMACQ OLDB Structure gainProbeDet20OutDC DOUBLE gainProbeDet20utRMS DOUBLE probeDet2Visibility DOUBLE Figure 15 PMACQ OLDB Structure All PMACQ configuration data is stored relative to the database point lt alias gt pmacq config Attribute Data Type Description and Unit Default Value pmacqIsRelative LOGICAL Indicates if this instance of pmacq measures the DIFFERENTIAL A B or the SINGLE Gd CHANNEL B signal m sec stabilized laser Hz between the two metrology channels MHz VLTI PRIMA Fri
49. he LightWave model 125 laser 2 2 5 RS485 connection to the NewPort CN77000 Temperature Controllers 2 2 6 RS232 connection to the Stanford Research SR 844 Lock In Amplifier 2 2 7 RS232 connection to the NewPort 2832 C PowerMeter 2 2 8 TAC Light Source Stabilization Control Loop 2 2 9 Database Description 2 2 10 Test and Simulation Support 2 3 PHASE METER 2 3 1 Overview 2 3 2 Command Description 2 3 3 Task Description 2 3 4 Database Description 2 3 5 Test and Simulation Support 2 4 POSITION SENSOR DETECTION 2 4 1 Overview 2 4 2 Command Description 2 4 3 Task Description 2 4 4 Database Description 2 4 5 Test and Simulation Support 2 5 PMCS METROLOGY WS SOFTWARE 2 5 1 Overview 2 5 2 Interface to the PRIMET interlock system 2 5 3 Sequence Diagrams for common PMCS Command Scenarios 2 5 4 PMCS State Diagram 2 5 5 PMCS OLDB Structure 2 5 6 Command Description 2 5 7 AUTREP Database 2 5 8 Test and Simulation Support VLT SPE ESO 15736 3384 3 0 08 12 2010 3 of 61 VD G A Ch nn A VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 4 of 61 Detailed Design Description LIST OF FIGURES AND TABLES Figure 1 PRIMET HW Denlovment eee ecceeessececeesneceeeessaeeccessaeeecesssaeecessaeeeeessaeeesesssaeeseesaeeseesaeeeeee 10 Figure 2 PRIMET SW Packa sessing ss rc yee A I OB i Be 11 Fis re 3 PRIMET SW Processes aiiassciatenitnieniisininsininsienienimien iis AE EEEE IEEE 12 Fis re
50. hey have been configured it is possible to store the current setup in the EEPROM of the SR 844 For this purpose the lock in amplifier provides two useful commands SSET and RSET to either save the actual settings of all parameters into one of ten available buffers of a local EEPROM or to restore these settings from one of these buffers The initialization of the serial interface is done by LSF however the above parameters must be provided in the DB configuration file of PMLSS Only the following functionalities of by the SR 844 lock in amplifier are used by PMLSS and implemented within the specified procedure name VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 24 of 61 pmissSR844 Init SUCCESS FAILURE Description This procedure sets various configuration parameters for the serial interface to those default values that PMLSS expects Basic Course PMLSS sends the following commands to the SR844 RCL S IDN Note 1 The first command clears the error buffer of the SR 844 device Note 2 The second command queries the identification of the SR844 used to test if the interface to the device is working The reply message consists of a string of the following format Standford Research Systems SR844 s n00111 ver1 0 pmissSR844AutoPhase SUCCESS FAILURE Description This procedure performs the auto phase function of the SR844 which adjust
51. inology Software package A major subdivision of a software project that collects a set of correlated functions that are designed developed and tested all together and independently from other packages Software packages can be recursively defined as containing other software packages Software process A program in execution It consists of the executable program the program s data and stack the support data stored in the database its program counter stack pointer and other registers and all the other information needed to run the program State The value assumed at a given instant by the variable used by the control software to represent the condition of a system subsystem or component Normally it is a finer specification within a given mode Status The set of values of all the parameters state numeric read outs flags that define the condition of a system subsystem or component Stereotype UML term for a new kind of model element defined within the model based on an existing kind of model element Stereotypes may extend the semantics but not the structure of pre existing metamodel classes Subsystem A secondary or subordinate system within a larger system It usually refers to a device equipped with the control electronics and low level software System A collection of components organized to accomplish a specific function or a set of functions When no further characterized it is generally used to refer to the whole
52. ion must be connected manually by an operator However the SW can detect via the proximity switches which instrument is currently connected For maintenance purposes two commands STRTENG STOPENG are available which allow the user to create engineering files The format of these files is defined in AD 27 Diagnostic information from the frequency stabilization HW shall be read at low frequency CN77000 temperature measurements of the D cell the oven and the EOM NewPort PowerMeter Channel B reading Wavelength as measured by the Burleigh WA 1500 WaveMeter Newport SR 844 Lock in Amplifier sensitivity time constant filter slope and detection frequency In case of the LightWave model 125 1319 200 laser fault status interlock status diode power laser temperature Incase of the InnoLight model MIR S5OONE FC laser D1 and D2 power D1 and D2 TEC error crystal TEC error At a fixed frequency of 1 30 Hz PMLSS logs statistical information to the CCS logging system Please refer to AD 27 for the keywords generated periodically by PMLSS Additionally most commands and their results as well as exceptional events Laser not OK temperature range exceeded are logged and can therefore be retrieved at the end of the night via the OPS log database Cold Start LOADED ONLINE IDLE Not Initialized ACTIVE INIT Initializing SETTEMP All INIT steps OK SETLSP y GETINS IDLE _ Initialized 5S k
53. itialized STANDBY STRTENG STOPENG REFMET STRTMET STOPMET STANDBY oun SS RESETPM STANDBY SELINS RESETPM SELINS Figure 13 PMACQ State Chart The acquisition algorithm shall run at 8 kHz WindView measurements have been taken to verify CPU calculation times see Figure 14 PMACQ LCU 10 ms measurement The measurement outlines that the available CPU time is equally divided between the data acquisition Delta L calculation 50 us and CPU idle time 75 us The CPU IDLE time not used is more than 50 percent RTDScope can be started for each of the PMACQ LCU s by pressing the RTDScope button in the PMACQ GUI Command INIT ONLINE in the RTDScope GUI to display the data delivered by the RT algorithm The following information can be displayed in realtime see Error Reference source not found e Calculated deltaL value e DC levels of the Photodiodes Probe 650k Probe450k Ref 650k Ref 450k VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software f Detailed Design Description Sey 08 12 2010 34 of 61 te98 X Win32 l lS Applications Actions SB QE Fri Sep 1 12 27 A WindView 2 0 1 wprima hq eso org 2X Eile Edit View Tools Window Help Jr Deg e Be x wei z Sp INT21 tExcTask tintTIM pmacqDpe tWdbTask tScsiTask tRiogind pmacqsServt tNetTask lecTime tNfsCheck pmacqDpe2 tLogTas
54. k lecServer rdbServer tShell tLqs tPortmapd lecEvent IccPeriodic IecDevice IccLogger idle EP Interval 1 08723 s 1 08779 s Duration 565 978 us COMPLETE N ES BTerminal emacs wprima t J tac wprima Bi pmacq wprima E Tomado Launcher WindView 2 0 1 amp A start Z Calculator CQ VT Documents S Microsoft Fee W7 3 Microsoft Offi CH Inbox for rfrahm ESO The Europ il 4 Adobe Reade ZS T Online email Ce X te98 x Win32 ef 14 27 Figure 14 PMACQ LCU 10 ms measurement 2 3 2 Command Description Command SETRATE Parameters lt Rate gt REAL Reply OK ERROR Description The SETRATE command is used to change the data rate of the Phase Meter Command GETRATE Parameters None Reply lt Rate gt REAL Description The GETRATE command is used to query the data rate of the Phase Meter Command REFMET Parameters lt Reference Mode gt STRING lt Timestamp gt STRING Reply OK ERROR Description The REFMET command is used to perform a software referencing of the PRIMA metrology in one of four different ways ZERO just sets the currection factor to 0 while AVG sets the correction factor to the arithmetic mean of the last lt n gt measurements and CURRENT sets it to the current measurement Moreover a timestamp can be supplied within lt TS gt In that case the correction factor is set to the measurement taken at
55. k system 2 5 3 Sequence Diagrams for common PMCS Command Scenarios PMCS SELINS Command CAUTION It is not possible to actually change the PRIMA instrument AMBER MIDI or FSU A via PMCS Proximity switches read on the Laser Stabilization LCU allow to read but not to modify the configured instrument The SELINS command therefore uses the scenario outlined in Figure 21 PMCS SELINS Command e PMCS shall send GETINS to the Laser Stabilization LCU which returns the instrument which is currently connected e PMCS compares the returned instrument with the parameter of the SELINS command and returns ERROR if the two values differ e Otherwise PMCS forwards the SELINS command to the two Phase Meter and the Pupil Detection LCUs which do not know at all the configured instrument e PMCS returns OK to the originator of the SELINS command VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 54 of 61 IN A Absolute Metrology Relative Metrology pmesControl pmissServer pmpsdServer pmacqServer Si pmacqServer Si 1 SELINS instruments 2 Ok _ lt Reallnstrume 4 ERROR SEUNS lt instrument gt BOK 7 SELINS sinstrument gt 8 _OK m 9 SENS lt instrument gt 10 OF Figure 21 PMCS SELINS Command PMCS SETCONF Command Most PMCS c
56. liver the quantity Delta L to the RMN network Command STOPMET Parameters None Reply OK ERROR Description The STOPMET command is used to stop processing data coming from the two Phase Meters and to deliver the quantity Delta L to the RMN network Command STRTMEFS Parameters None Reply OK ERROR Description The STRTMEFS command is used to close the light source stabilization control loop Command STOPMEFS Parameters None Reply OK ERROR Description The STRTMEFS command is used to open the light source stabilization control loop VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 30 Detailed Design Description 08 12 2010 60 of 61 Command SET Parameters lt Accuracy gt REAL Reply OK ERROR Description SET is used by the instrument to set the required laser precision for the light source stabilization loop Command POWER Parameters lt On Off Flag gt STRING Reply OK ERROR Description The POWER command is used to switch the laser diode ON or OFF Command STRTMPO Parameters None Reply OK ERROR Description STRTMPO is used to start the pupil optimization loop between PMPSD and the star separators which is active during the observation Corrections are sent to the process ID of the process on the star separator LCUs that is in charge of controlling the variable curvature mirrors
57. llowing information REF 450k OUT DC REF 450k OUT RMS REF 650k OUT DC REF 650k OUT RMS PROBE 450k OUT DC PROBE 450k OUT RMS PROBE 650k OUT DC PROBE 650k OUT RMS A visibility attribute shall be derived for each pair of RMS DC values to be calculated with the formula visibility sqrt 2 RMS DC pmacqsISR Description pmacaqsISR acts as the interrupt service routine called whenever new Phase Meter data has been transferred to the local memory of the CPU by the HPDI32 digital input board The purpose of pmacqsISR is to evaluate the new Phase Meter data check for lost blocks calculate the quantity AL and finally to deliver AL to the d OPDC via the reflective memory network Basic Course pmacqsISR resets the HPDI32 DMA status register to clear the interrupt request pmacqsISR reads the HPDI32 board status register In case the status register indicates that the RX FIFO is not empty the data transfer failed since all received data should have been transferred to the local memory of the CPU by DMA In that case pmacqsISR tries to recover by resetting the FIFO pmacqsISR converts the input buffer from little endian to big endian pmacqsISR checks the integrity and sequentiality of the data by evaluating SOB xor FOB 1 Integrity and SOBG SOBG 1 0x10 amp sbb Sequentiality In case one of the equations is not fulfilled the received data is ignored and an error logged to the CCS lo
58. lowing information can be displayed in realtime by connecting to the Scope block of the TAC RT algorithm VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 26 of 61 Detailed Design Description Error signal X delivered by the SR844 Lock in Amplifier Piezo command calculated by TAC Temperature command calculated by TAC PowerMeter analog out channel B Theta signal delivered by the SR844 Lock in Amplifier Tobe added to both Constant pmiss_Innolight tac and pmiss_Lightwave tac Constant DD 0 0 TestTacConst1 Constant SwitchPiezo p PID2Piezo TestTacSum TestTacProduct1 Sum Product ManualSwitch PID2 ConstantScaling ProductPz Constant Product 0 05 TestTacConst2 TestTacSwitch Constant ManualSwitch 1 0 E AOOffset Constant Analog In MIVME B A0 0 Analog Out MPV955 x Output Laser Pz The constant should be divided by the averaged data TestTacAvg TestTacDivisiot Monitor Average Divide j 10 This constant should take the Monitor Powermeter value of the fist averaged 04 pres Ga data coming from the ANB TED TestTacConst3 powermeter Constant 1 0 plotEnable Constant 1 0 ne f i Engineering file i Column 1 time relative to start datetime in sec H Column 2 Error signal X H Column 3 Phase signal Ce SS SESS Column 4 Temperature Co
59. mand server dummy e pmpsdServerDummy dat PMPSD command server dummy e pmlissServerDummy dat PMLSS command server dummy oOo
60. messages to the default values which PMLSS expects The commands to the CN77000 shall start with a followed by the device ID set manually through the front panel beforehand The command W instructs the temperature controller to write a parameter into its local EEPROM These settings are not lost after a controller reset Basic Course PMLSS sends the following commands to the CN77000 01 W IF 38 01 W 20 02 Note 1 The first command sets the parameter bus format to the following values Do not add a checksum byte to command and status messages Do not add a LF character after each status message send a single CR instead Do not send back a echo of the command in the status message Set the bus interface to RS485 Do not send continuous status messages but send status messages only upon command Separate data fields with a SPC character The second command sets the parameter data format to the following values Do not send the alarm status in the status message Send the measured value in the status message Send the maximum measurement value in the status message Send the minimum measurement value in the status message Do not include units in the status message Procedure Parameters Returns Description Basic Course pmlssCNReadTemp lt vItINT32 Temperature Controller ID gt lt vItDOUBLE Current Temperature Measurement gt Celsius This procedure shall read the current tem
61. mmand offset value only if open loop Column 5 Piezo Command 0 if open loop Column E Second Harmonic optical power TBC Lock In Theta Output Not TIM but A Figure 6 PMLSS TAC Control Loop 2 2 9 Database Description The structure of the PMLSS database is outlined in Figure 7 PMLSS OLDB Structure VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 27 of 61 psAMBERIp1 LOGICAL psMIDIlp3 LOGICAL psMIDIIp1 LOGICAL psFSUAProbe LOGICAL psFSUARet LOGICAL pSAMBERProbe LOGICAL PSAMBERRef LOGICAL psMIDIProbe LOGICAL psMiDIRef LOGICAL engFileReady LOGICAL engFileStatus Int32 LaserPower DOUBLE AOMIp2Volt DOUBLE AOMIp4 Volt DOUBLE AOMIp1 Volt DOUBLE AOMIp3 Volt DOUBLE primetAFlipON LOGICAL primetAFlipINBEAM LOGICAL primetAFlipOUTBEAM LOGICAL primetBFlipON LOGICAL primetBFlipINBEAM LOGICAL primetBFlipOUTBEAM LOGICAL Figure 7 PMLSS OLDB Structure PMLSS configuration data is stored relative to the database point lt alias gt pmlss config Attribute Type Description ignoreWavemeter LOGICAL In case one or more of the external serial devices required for ignorPowerMeter the laser stabilization are missing the user has to possibility to ignoreSR844 explicitly ignore them In this case it is not possible to close the ignoreCN77000 stabilization loop
62. model 125 126 microprocessor based power supply provides a RS232 interface to monitor and control the laser by software AD 19 However most of the parameters can only be read but not be changed through this interface This serial interface uses only the signals RxD TxD and GND and must be operated with the following parameters Baud Rate 9600 baud No Parity 8 Data Bits 1 Stop Bit Full Duplex The setting for the baud rate must be configured manually through a DIP switch on the back of the power supply That switch must be set to 9600 baud in advance to assure that the device will interface correctly with PMLSS Only the following functionalities of the LightWave model 125 126 microprocessor based power supply are used by PMLSS and implemented in the specified procedure name within pmlssSerialInterface c pmissLW125GetParam lt vItINT32 Parameter D gt lt vItB YTES16 Parameter Value gt VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 20 of 61 Description Reads the specific parameter given by lt Parameter ID gt from the LightWave model 125 126 microprocessor based power supply Supported lt Parameter ID gt s are ASCII 0 Model Number and SW Date ASCII 2 Chassis Serial Number ASCII 6 Diode ON OFF ASCII 7 LASER Power ASCII 8 Interlock Status ASCII 9 Fault Status ASCII A Diode Cu
63. mp vItDOUBLE Timestamp usec USEC Table 9 PMPSD Interface to the STS VCM LCUs The X and Y coordinates delivered by each PSD device shall be multiplied with constant factors in order to convert them to the unit mm The W coordinate is always zero since the PSD s are 2 dimensional A conversion matrix shall be used to convert the PRIMET X Y Z system into the STS s U V W system TAC Control Loop ErrVec PID2 TransF ScopelP1 Block Block Block Block ErrVec PID2 TransF ScopelP3 Block Block Block Block PID2 TransF ScopelP2 IPP 16 Inputs Block Block Block Block 5 y jeuueYyD g pBuueyo HPD Errvec PID2 TransF IP4 Block Block Block Compute Error Vectors Linear Transformation Block DX Q2 Q3 Q1 Q4 sum DX DY gt UMV ANV Lab DY Q1 Q2 Q3 Q4 sum gt U VAN Light Duct To each Scope Block a TAC Callback is attached The Callback sends a Reply Message to the pspzVcmLoop Processes on the STS LCU s Figure 18 PMPSD TAC Configuration The state chart of PMPSD is shown in Figure 19 PMPSD State Chart To every instrument AMBER MIDI FSU A and FSU B a fixed pair of PSD s devices is assigned This assignment is hardcoded within PMPSD The SELINS command must be sent to PMPSD before starting the pupil optimization loop in order to determine the PSD ID s that shall be used VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software De
64. nge Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 38 of 61 send the external trigger to the Phase Meter data from the Phase Meter acquisitionRate vItINT32 Data rate at which the Phase Meter data is 8 kHz evaluated and recorded Actually this is the configuration of the TIM timer which outputs the external trigger signal to the Phase Meter 1FCThreshold vItDOUBLE Threshold for additional warnings defined in 10 99 EOT DOOR deeht E gainRefDet1OutDC vItDOUBLE Initial gain values for M36 analog IN board used 3 3 gainRefDet1OutRMS to read the status of the fringe sensor analysis gainRefDet2OutDC board gainRefDet2OutRMS gainProbeDet1OutDC gainProbeDet1 OutRMS gainProbeDet2OutDC gainProbeDet2OutRMS Table 7 PMACQ Control Database Point All PMACQ runtime data is stored relative to the database point lt alias gt pmacq data Attribute Data Type Description and Unit phaseMeterError vItINT32 Error bits from the Status IT field as sent by the Phase Meter Only bits O to 9 are used Please note that all error bits are only monitored however in case of an error no consequent action is carried out Ref450kDetected LOGICAL Individual status attributes of the phase meter extracted from Ref650kDetected phaseMeterError Probe450kDetected Probe650kDetected Probe200kDetected PLLLocked FCOverflow PMOverflow ResetDetected TriggerDetec
65. of a complex equipment made up by heterogeneous parts Use case A specific way of using the system by performing some part of the functionality Each Use Case constitutes a complete course of action initiated by an actor and it specifies the interaction that takes place between an actor and the system The collected use cases specify all the existing ways of using the system RD 01 Working wavelength Ao is the effective wavelength of the FSU 1 7 Stylistic Conventions The following styles are used bold in the text for commands file names pre suffixes as they have to be typed italic in the text for parts that have to be substituted with the real content before typing teletype for examples lt name gt in the examples for parts that have to be substituted with the real content before typing bold and italic are also used to highlight words VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 10 of 61 2 Detailed Design 2 1 Overview The intention of this document is to detail the software design of the PRIMA metrology system PRIMET outlined in AD 07 A good knowledge of AD 07 is essential to understand the contents of this document since background information required to understand the system will not be provided PRIMET architecture and detailed design are described using the Unified Modeling Language UML graphical notation d
66. olight analog signals 2 flipDODev Flip mirror devices digital in signals Flip mirror devices digital out signals Table 5 PMLSS Control Database Point PMLSS runtime data is stored relative to the database point lt alias gt pmlss data Attribute Type Description laserOn LOGICAL Flag to indicate that the laser is switched on LOGICAL Flag to indicate that the laser status is OK laserStable LOGICAL Flag to indicate that the criteria to stabilize the laser is fulfilled WMWaveLength vItDOUBLE Wavelength measured by the WaveMeter LOGICAL Indicator if the stabilization loop is closed instrumentName vItB YTES8 Name of the instrument selected via the switchyard and detected via proximity switches TACCmdTemperature vItDOUBLE Slow correction signal as applied to the LightWave model 125 power supply input SLOW FREQUENCY BNC calculated by the TAC control loop tempSaturated LOGICAL Indicates if the upper limit of the MPV 955 range is reached i e the command is saturated at 10 V TACCmdPiezo vItDOUBLE Fast correction signal as applied to the LightWave model 125 power supply input FAST FREQUENCY BNC calculated by the TAC control loop LOGICAL Indicates if the upper limit of the MPV 955 range is reached VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 29 of 61 po if ie the command is saturated at 10 V O Error Signal
67. ommands consist of simple forwarding and sometimes renaming of one single command to a specific LCU and returning the LCU s reply to the sender of the message Figure 22 PMCS SETCONF Command displays the sequence diagram for these kind of actions In addition to SETCONF this approach applies to GETCONF GETMFLX STRTMPO STOPMPO STRTMES STOPMFS SETMSRC GETMSRC SET and POWER pmesControl l pmpsdServer 1 SETCONF parameters 2 SETMCFG T Figure 22 PMCS SETCONF Command VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 55 of 61 PMCS STRTMET Command Since PMCS always controls all four PRIMET LCU s commands to the Phase Meter SW PMACQ are distributed to the two identical LCUs Iprmac and Iprma2 If one of the LCUs is intended not to be used it must be ignored via the PRIMA MSW table The sequence diagram for the STRTMET command is outlined in Figure 23 PMCS STRTMET Command Identical sequence diagrams can be applied to STOPMET and REFMET ion Ohne Titel1 Dip PMCS STRTMET Command IN Absolute Metrology Relative Metrology pmesControl pmacqServer a pmacqServer 1 STRTMET 2 STRTMET Figure 23 PMCS STRTMET Command 2 5 4 PMCS State Diagram Since PMCS is implemented using the CCS standard module WSF AD 18 it inherits the state machine to a large extent from the default
68. on VLT SPE ESO 15736 12 2010 VLTI PRIMA Star Separator Control Software System 3186 i 04 12 Design Specification 1 VLT TRE IMT 15734 2003 Desen of the Phase Meter of the PRIMA Metrology 3002 08 28 System 1 VLT TRE IMT 15731 2003 Design of the Laser Assembly of the PRIMA Metrology 3154 10 08 System VLT SPE ESO 15732 2008 4087 04 02 Design of the Pupil Tracker for PRIMET VLT SPE ESO 15736 2008 Specifications for the PRIMA Metrology data files data 3899 04 14 logging and algorithms i VLT SPE ESO 15735 L0 2008 Design of the PRIMA Metrology Laser Interlock System 4544 04 01 Technical Manual Table 1 Applicable documents N N N N N N N 1 4 Reference Documents The reference documents contain background information required to fully understand the structure of the PRIMET documents the terminology used the software environment in which the PMCS shall be integrated and the interface characteristics to the external systems Ref Title Edition GE Veedel ie egoa O Bosch J Rumbas EE Addison Wesley RD 02 The Elements of UML Style S W Ambler 2003 RD 03 Design Patterns Elements of Reusable Object E Gamma R Helm R Johnson J March Oriented Software Vlissides 2002 Table 2 Reference documents VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 7 of 61 Detailed Design Description 1 5 Abbreviations and Acronyms
69. onitor running at low frequency 1 Hz which is used to update the status of the OLDB with the signals of the measurements for X Y and the signal strength delivered by the four active PSD devices Basic Course 1 For each active PSD x x 1 4 PMPSD shall update the OLDB with the following attributes X Position Y Position Q1 Q4 Q Sum Beam Detected Flag Beam Saturated Flag Radial Motion RMS Radial Motion MEAN User and Correction calculated by TAC Offsets pmpsdMonitor shall calculate statistical information to be logged to the CCS logging system as FITS keywords in slow intervals 30 sec pmpsdServerTACCallback Description The procedure pmpsdServerTACCallback shall be attached as a callback to each of the four probe blocks of the active PSDs It is called whenever the corresponding probe block is evaluated i e when new input data is available from the PSD devices Basic Course Incase USEBKG has been commanded for that PSD subtract the background noise from the measured analog voltages In case SRCHBM has been commanded retrieve the next user offset from the spiral input file and convert the offets to the STS U V W coordinate system Otherwise use the most recent Beam Center positions as the user offsets Calculate Q SUM and from this result the attributes Beam Detected Beam Saturated X Position Y Position Incase of Beam Detected
70. op Bit Full Duplex Note The parameters for the serial interface must be configured manually via the service menu accessible via the front panel of the CN77000 In detail the following parameters must be set by the user on the device beforehand in order to assure that the temperature controller correctly interfaces with PMLSS Parameter Value Description DATA Number of Data Bits STND Table 3 CN77000 Manual Interface Settings The initialization of the serial interface on the LCU is done by LSF For the procedures listed below PMLSS shall evaluate the reply message of the temperature controller which in case of an error consists of the following values Reply Message Description CN77000 received invalid command code 245 CN77000 could not write data into ist EEPROM 246 The number of bytes for a command is not correct 248 Checksum error not used 256 CN77000 received a invalid device ID with the command Table 4 CN77000 Error Messages VLTI PRIMA Fringe Metrology Control Software 3 0 Detailed Design Description 08 12 2010 22 of 61 VLT SPE ESO 15736 3384 Only the following functionalities of the CN77000 temperature controllers shall be used by PMLSS and implemented within the specified procedure name pmissCNConfigure lt vIitINT32 Temperature Controller ID gt SUCCESS FAILURE Description This procedure sets various configuration parameters for the serial interface and the format of the status
71. optical path difference the difference in the optical path length due to the interferometer layout from the telescope to the detector It is also called delay offset or delay constant e Operational state The state of a system subsystem or component that is installed in its intended environment Package See software package Process See software process Software device driver A collection of subroutines and data that constitutes the software interface to an I O device e Software life cycle The period of time that begins when a software product is conceived and ends when the software is no longer available for use The software life cycle typically includes a concept phase requirements phase design phase implementation phase test phase installation and check out phase operation and maintenance phase and sometimes retirement phase These phases may overlap or be performed iteratively VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 9 of 61 Detailed Design Description Software module A relatively large subdivision of the implementation items in a software package In most cases a software package correspond to one single software module but complex software packages can be split across more software modules A software module is handled as a single configuration control unit and follows a standardized directory structure Software modules correspond to components in UML term
72. perature measurement of the specified CN77000 unit in the format selected via the procedure pmlssCNConfigure Therefore the precision of the measurement is one digit after the decimal point Commands to the CN77000 shall start with a followed by the device ID that was set manually through the front panel beforehand The command V instructs the temperature controller to deliver all data values that were requested through the setup with command data format In the case of PMLSS this is only the current temperature measurement unitless 1 PMLSS sends the following commands to the CN77000 01 V lt Controller ID gt 2 PMLSS scans the reply message of the temperature controller and returns a vIDOUBLE with the current measurement VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 23 of 61 lt vItINT32 Temperature Controller ID gt lt vItDOUBLE Temperature gt Celsius Description This procedure sets the temperature setpoint for the given temperature controller It is assumed that the parameter for the temperature setpoint is given with a precision of one digit after the decimal point Parameters supplied to this procedure with a higher resolution are rounded to one digit after the decimal point Commands to the CN77000 shall start with a followed by the device ID that was set manually through the front panel beforehand The command
73. piralStep Amplitude command Table 10 PMPSD Control Database Point PMPSD runtime data is stored relative to the database point lt alias gt pmpsd data Attribute Type Description psdActive LOGICAL Flag to indicate if this PSD device is active or has been disabled by the user psdBeamQ1 vitDOUBLE Analog voltages read from the 4 quadrants of the PSD device psdBeamQ2 psdBeamQ3 psdBeamQ4 psdXPos vItDOUBLE X Y position of the laser beam on the PSD device derived favpes eebe psdBeamSaturated LOGICAL Flags to indicate if the beam on this PSD device has been psdBeamDetected detected or if the PSD measurements are saturated Flag to indicate if Pupil Optimization i e corrections to the STS VCM LCU is active for this PSD device psdBGNoiseQ1 vItDOUBLE Background noise of this PSD device as measured using the psdBGNoiseQ2 GETBKG command psdBGNoiseQ3 psdBGNoiseQ4 psdUseBGNoise LOGICAL Flag to indicate if the background noise shall be subtracted from the current PSD measurements see USEBKG command psdUserOffsetU vItDOUBLE User guiding offsets e g beam search offsets psdUserOffset V psdUserOffsetW psdControlOffsetU vItDOUBLE Controller guiding offsets after applied conversion matrix i e psdControlOffset V in STS U V W system psdControlOffsetW VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 51 of 61
74. r two ATx or UTx Command SETMSRC Parameters lt Source gt STRING Reply OK ERROR Description SETMSRC is used to select the source for the current operational mode MARCEL or SKY Depending on this command the flip mirror devices of pmlss are moved IN or OUT of the beam Command GETMSRC Parameters None Reply lt Source gt STRING Description GETMSRC is used to retrieve the source for the current operational mode MARCEL or SKY Depending on this command the flip mirror devices of pmlss are moved IN or OUT of the beam Command RESIL Parameters None Reply OK ERROR Description Remote RESET of the PRIMA interlock system 2 5 7 AUTREP Database The PRIMA WS performs data logging for a number of FITS keywords The PRIMA logs are available via the AUTREP database http autrep pl eso org Two dictionaries are used on the PRIMA WS dicTCS 1 56 dicISS 1 48 1 16 this branch adds a number of PRIMA specific keywords 2 5 8 Test and Simulation Support The following files provide TAT tests for pmcs e pmcsTestStdCommands tcl for testing the standard commands TCL TK script file e pmcsTestCommands tcl for testing all PMCS specific commands TCL TK script file Simulation support is enabled via the SIMULAT command In this case evhDummy servers must be started on the PRIMA WS The following evhDummy configuration files are available and automatically started within the PMCS TAT tests e pmacqServerDummy dat PMACQ com
75. ription GETBKG measures the background noise of one specific or all quadcells i e the voltage output with the laser switched off over a predefined period calculates the average and stores these measurements in the OLDB Command USEBKG Parameters lt Quadcell ID gt INTEGER Reply OK ERROR Description USEBKG subtracts the background noise measured with GETBKG from the actual measurements of one specific or all quadcells Command STRTNOI Parameters lt Quadcell ID gt INTEGER Reply OK ERROR Description Start injecting white noise as the user offsets to the STS VCM Command STOPNOI Parameters lt Quadcell ID gt INTEGER Reply OK ERROR Description Stop injecting white noise as the user offsets to the STS VCM Command CHKLAN Parameters None Reply OK ERROR Description CHKLAN verifies that the STS VCM LCUs connected via the private LAN are reachable via PING VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 47 of 61 2 4 3 Task Description The callbacks executed by the TAC probe blocks are also described in this chapter Four procedures are required pmpsdCBBeam1 pmpsdCBBeam2 pmpsdCBBeam3 and pmpsdCBBeam4 Each procedure shall process one pair of beams directed to either the FSU A FSU B MIDI or AMBER The procedures are called by TAC whenever new input data is received by the probe blocks pmpsdMonitor Description pmpsdMonitor serves as a background m
76. rix PMPSD X Y Z gt STS U V W OLDB attributes for test purposes Constant factor that is multiplied with the X position delivered by each PSD device in order to obtain the measurement in the unit mm Constant factor that is multiplied with the Y position delivered by each PSD device in order to obtain the measurement in the unit mm ID of the first telescope involved in the observation as set by the SETCONF command The format is either AT lt x gt or UT lt x gt where lt x gt is a number between 1 and 4 ID of the second telescope involved in the observation as VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 50 of 61 set by the SETCONF command The format is either AT lt x gt or UT lt x gt where lt x gt is a number between 1 and 4 instrumentID 1 vItB YTES8 Name of the instrument used for PRIMA AMBER MIDI or FSUA vItB YTES8 Name of the Fringe Sensor always FSUB Q lt x gt PGAGain vItDOUBLE PGA and TRA gain default values per quadcell to be set Q lt x gt TRAGain upon INIT beamDetAmplitude vItDOUBLE Parameters for the demodulation algorithm to determine beamDetFrequency the beam shape after the beam has been found via the beamDetFilterTau SPIRAL command beamDetSeconds beamDetThreshold1 beamDetThreshold2 spiralStepSize vItDOUBLE Parameters to generate the SPIRAL within the SRCHBM s
77. rrent Adjust ASCII C Diode Power Setting ASCII D Laser Temperature Setting As a result the value of the parameter is supplied in ASCII format The format of the reply message is dependent on the parameter ID the interpretation of the string is left to the calling function ASCII 0 Format 125 dd MMM yy ASCII 2 Format nnnnn ASCII 6 Format DIODE ON or DIODE OFF ASCII 7 Format Pwr nn mW ASCII 8 Format ILOCK OPEN or ILOCK CLOSED ASCII 9 ASCII String with the following meaning No Fault No Error Condition ILCKOPEN Interlock condition detected LASER ON Laser diode is switched ON CABLE Check cable to laser HD STDBY LASE interlock line set to low HD FAULT Laser head or diode laser too hot ASCII A Format ADJ nn ASCII C Format nn nnnn ASCII D Format nn nnnn For completeness this procedure supports the reading of all available parameters from the LightWave model 125 126 power supply A background monitor within PMLSS shall query periodically the parameters Laser Temperature Setting Diode Power Setting Interlock Status and Fault Status to reflect the current status of the input signals connected to the BNC inputs of the power supply and update the error status of the device Basic Course 1 PMLSS shall check if the desired par
78. s the reference phase such that the current measurement has a Y value of zero and a X value equal to the signal magnitude R Basic Course PMLSS shall send the following command to the SR844 APHS n The CR character indicates the end of the command pmlssSR844Update SUCCESS FAILURE Description This procedure shall query the current settings of the SR844 device for Second Harmonic Detection Frequency Sensitivity Time Constant Filter Constant The SNAP command of the Lock In Amplifier shall be used to query multiple values measured at at most two different timestamps This is due to the fact that X and Y are always recorded together as are R and the phase but internally both are recorded at different frequencies Therefore between the recording of the two pairs of values a delay of 84 us might be present Basic Course PMLSS shall sends the following command to the SR844 SNAP 4 5 n to query the Second Harmonic and Detection Frequency settings of the SR 844 device PMLSS shall sends the following command to the SR844 SENS n to query the Sensitivity setting of the SR 844 device PMLSS shall sends the following command to the SR844 OFLT n to query the Time Constant setting of the SR 844 device PMLSS shall sends the following command to the SR844 OFSL n to query the Filter Constant setting of the SR 844 device 2 2 7 RS232 connection to th
79. same object from two telescopes There are two Fringe Sensor Units each handling one channel channel B for the first object and channel A for the second object e Database attribute A location uniquely identified by a name within the WS or the LCU real time database where a value is stored Dual feed an optical system located at the telescope focus capable to select two narrow field of view beams Exposure time the time during which the photons are accumulated in an exposure Function A defined objective or characteristic action of a system or component e Functional requirement A requirement that specifies a function that a system or component must be able to perform e Functional specification A document that specifies the functions that a system or component must perform e Mode A condition of existence that a system subsystem or component may be in Normally it comprises a set of possible states e Module See software module Optical path difference is the sum of the external optical path difference and the internal optical path difference o External optical path difference the geometric difference in the optical path length from the observed object to the telescope It depends on the object position and on the baseline vector and varies in time as the Earth rotates sidereal motion It is computed by using the formula OPDex S B where S is the unit vector pointing to the object and B the baseline vector o Internal
80. script file Simulation support is enabled via the SIMULAT command In that case the laser stabilization control loop is synchronized by the TACLIB AuxClock block at a rate of 100 Hz 2 3 Phase Meter 2 3 1 Overview All functionality of the Phase Meter package of PMCS shall be contained in the separate CMM module pmacq PMACQ can be used as a stand alone application it does not depend on other PRIMA metrology modules A maintenance panel is provided to send commands and display the status of PMACQ The following LCU architecture has been selected for the PMACQ application 1 Motorola MVME 6100 PPC CPU board 1 ESO Time Interface Module TIM board 1 HPDI 32 digital input board PMC connector 1 PMC 5565 RMN board PMC connector 1 MEN carrier board equipped with 1xM58 digital out module A schematic of the HW layout of the PMACQ LCU and all cabling is given in Figure 12 PMACQ LCU The PRIMA metrology system consists of two heterodyne Michelson interferometers which are operated simultaneously and have common optical paths with both observed stars through the VLTI optical train The disturbance to be measured AL corresponds to the difference between the path variations recorded by the two Michelson interferometers The phase difference between the two channels of the PRIMA metrology system is measured by a stand alone device the Phase Meter AD 08 Technically in each metrology channel the beams are firs
81. t superimposed to form a reference signal which monitors the OPL variations from the laser to the Beam Launcher Combiner Then the beams are launched VLTI PRIMA Fringe Metrology Control Software VLT SPE ESO 15736 3384 3 0 08 12 2010 31 of 61 Detailed Design Description separately in the stallar paths After a round trip through the VLTI the beams are combined again to form a probe signal Both the reference and the probe signal are input to the Phase Meter where they are detected and processed to compute the differential optical phase variations A TIM board is used to trigger the measurements of the Phase Meter with a high frequency up to 8 kHz The main task of PMACQ is to read the data generated by the Phase Meter at the same frequency For that purpose a dedicated high speed digital input board HPDI 32 directly mounted to one of the two available PCI slots of the MVME 6100 CPU board is used The HPDI 32 shall generate an interrupt when new data is available The format of the data is shown in Figure 8 Phase Meter Data Format AD 24 C a 2a 24 23 20 19 16 is 12 il 8 J7 4 3 0 Phase sum MSB Phase Sum LSB Error Compensation Word 5 Status II Undef Undef Undef Undef Packet EOT 10 Bits Figure 8 Phase Meter Data Format AD 24 The Packet is a 4 bit number which is incremented for each packet of data To ensure the integrity and sequentiality no blocks lost of the data PMAC
82. tages Acquisition Module Q3 30 m cable 2R 1mm A Figure 16 PMPSD HW Setup Each PSD delivers four analog signals one voltage per quadrant Q1 Q2 Q3 Q4 in the range of 0 10V Using this setup the lateral displacement of each beam can be computed using the formulas VLTI PRIMA Fringe Metrology Control VLT SPE ESO 15736 3384 Software 3 0 08 12 2010 41 of 61 Detailed Design Description AX Q2 Q3 Q1 Q4 sum AY Q1 Q2 Q3 Q4 sum with sum Q14 Q2 Q3 Q4 A total of 8 photo detectors PSD s are required to monitor the lateral position of all PRIMA beams While two metrology beams are always directed to FSU B the other two metrology beams are configurable to serve as an input to one of the instruments FSU A AMBER or MIDI Setting up the cabling to use one specific instrument is a manual task For each of the two beams to these four devices one PSD is used The LCU shall compute the lateral beam displacement of each beam Four active detectors are simultaneously operated They correspond to the metrology arms monitoring the input channels Ip1 and Ip3 channel A and Ip2 and Ip4 Channel B The lateral displacements AX and AY of the sensors coordinate systems shall be transformed into the necessary corrections within the U V W coordinate system of the light duct of the two selected star separators For a description of the coordinate transformation please refer to AD 11
83. tailed Design Descripti SH etalled Design Description 08 12 2010 44 of 61 Cold Start ONLINE IDLE Not Initialized ACTIVE INIT Initializing AILINIT steps OK IDLE _ Initialized TAC Error STANDBY STANDBY ERROR STANDBY a SETTGN SETPGN CHKLAN CHKLAN Figure 19 PMPSD State Chart RTDScope can be started for the PMPSD LCU by pressing the RTDSCOPE button in the PMPSD GUI Command INIT ONLINE in the RTDScope GUI to display the data delivered by the RT algorithm The following information can be displayed in realtime by connecting to the Scope block of the TAC RT algorithm o For each active quadcell R sqrt x 2 y 2 R is the running value o For each active quadcell Q SUM Q SUM is the running value Thus in total 8 values can be displayed in realtime via RTDScope 2 4 2 Command Description Command SETPGN Parameters lt PSD ID gt INTEGER lt Gain gt REAL Reply OK ERROR Description SETPGN is used to set the PGA gain of quadcell lt psdID gt to one of the values 1 10 or 100 Command SETTGN Parameters lt PSD ID gt INTEGER lt Gain gt REAL VLTI PRIMA Fringe Metrology Control Software VLT SPE ESO 15736 3384 e f ae 3 0 Detailed Design D
84. ted warningNoData LOGICAL Flag to indicate that no new data is received from the phase meter Set by the PMACQ background monitor task and checked every second glitchRef650k vItINT32 Glitch counters for maintenance glitchRef450k glitchProbe650k glitchProbe450k resetCounter Number of phasemeter HW reset commands see RESETPM command sent by the operator summedPhase vItDOUBLE Phase sum 48 Bits as delivered by the Phase Meter Originally this value is delivered as a scaled integer with LSB 22 1024 rad but converted to vItDOUBLE for the OLDB vItDOUBLE Error compensation value delivered by the Phase Meter numberOfSamples vItINT32 Number of samples 19 Bits as delivered by the Phase Meter VLTI PRIMA Fringe Metrology Control Software Detailed Design Description VLT SPE ESO 15736 3384 3 0 08 12 2010 39 of 61 errorCompensation vIIDOUBLE Error compensation 24 Bits as delivered by the Phase Meter Originally this value is delivered as a scaled integer with LSB 0 66 um but converted to vItDOUBLE for the OLDB the raw data set delivered by the Phase Meter via the REFMET command pmDataValid LOGICAL Combined PMACQ status attributes for PMCS glitchSum Combined PMACQ status attributes for PMCS blockCounter vItINT32 Once the metrology has been started with the STRTMET command PRIMET increases the database attribute blockCounter with every data set received from the Phase Meter nrOfBlocksLost vIt
85. tes the analog error signal X which is read by a VMIVME 3123 analog input board On a dedicated LCU a TAC control loop running at 1 kHz calculates two correction signals which are transmitted to the analog frequency tuning inputs of the LightWave model 125 alternatively InnoLight MIRS5OONE FC microprocessor based power supply via a MPV 955 analog output board The first tuning signal SLOW FREQUENCY BNC controls the temperature of the laser resonator This signal allows for a large tuning range with a slow time constant normally 1 Hz The second tuning signal FAST FREQUENCY BNC applies a voltage to a piezo mounted on the crystal resonator which results in a strain that varies the frequency Tuning this signal can be done up to a rate of 100 kHz The functionality of the Laser Stabilization package of PMCS is contained in the separate CMM module pmiss PMLSS can be used as a stand alone application it does not depend on other PRIMA metrology modules A maintenance panel is provided to send commands to and display the status of PMLSS The following LCU architecture has been selected for the PMLSS application 1 Motorola MVME 6100 PPC CPU board 1 VMIVME 3123 analog input board 1 ESO Time Interface Module TIM board 1 MPV 955 analog output board 1 ISER 12 serial interface board 1 MEN carrier board equipped with 2xM36 analog in and 1xM58 digital out modules for diagnostic reset of the Innolight laser e 1 MEN carrier
86. the 300 laser stable condition laserStabTimeout IcuNamePMACQ1 IcuNamePMACQ2 IcuNamePMLSS IcuNamePMPSD plcInterlockActive plcMonitorActivate plcInterlockTime plcInterlockAddress vItINT32 vItB YTES8 CCS environment names of the PRIMET LCUs vItLOGICAL vItLOGICAL vItINT32 vltB YTES32 Activate monitoring of the S7 safety PLC Flag to indicate if monitoring is active Time sec for periodic status updates Address of S7 PLC for Siemens softnet library Table 13 PMCS Config Attributes h1_0 VFD1 SIMATIC1 2 5 6 Command Description Command REFMET Parameters lt PMACQ ID gt STRING lt Reference Mode gt STRING lt Timestamp gt STRING Reply OK ERROR Description The REFMET command is used to perform a software referencing of the PRIMA metrology in one of four different ways ZERO just sets the currection factor to 0 while AVG sets the correction factor to the arithmetic mean of the last lt n gt measurements and CURRENT sets it to the current measurement Moreover a timestamp can be supplied within lt TS gt In that case the correction factor is set to the measurement taken at that specific UTC timestamp which follows the mode parameter pmacqID shall be pmacqABS or pmacqREL Command STRTMET Parameters None Reply OK ERROR Description The STRTMET command is used to start processing data coming from the two Phase Meters and to de
Download Pdf Manuals
Related Search
Related Contents
SRC 174 User Manual - BL Innovative Lighting Herkules 2 産業用マイクロ波動作検知器 取り扱い説明書 Samsung S Series 1TB Story Station Eglo 90754A Installation Guide Rétroviseur caméra de bord Manual de instrucciones 知的財産法概論(下) HP Deskjet 6940 series User`s guide Smeg N31 Instructions for Use Instructions Copyright © All rights reserved.
Failed to retrieve file