1 / 13

LBT AO software components

LBT AO software components. Alfio Puglisi Luca Fini. Osservatorio Astrofisico di Arcetri, Florence, Italy. Summary. Hardware controllers Tested configurations Shared memory buffers IDL server Python scripting. Mx. Basic method for position control using RTDB variables. Motor

Download Presentation

LBT AO software components

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LBT AO software components Alfio Puglisi Luca Fini Osservatorio Astrofisico di Arcetri, Florence, Italy

  2. Summary • Hardware controllers • Tested configurations • Shared memory buffers • IDL server • Python scripting

  3. Mx Basic method for position control using RTDB variables Motor Controller RTDB Var Set MVxxSTATUS MvxxERRMSG MVxxCURPOS MvxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE .......... User prompt/ GUI / Automatic script Notify RS232 over Ethernet Two types of variable: global and private. Commands are implemented as writes to global variables. Answers as writes to private variables

  4. Mx Mx Mx RTDB Var Set Motor #1 Controller MV01STATUS MV01ERRMSG MV01CURPOS MV01LOEND MV01HIEND MV01SPEED Mv01HISPEED MV01TGTPOS Mv01ENABLE MV02STATUS MV02ERRMSG MV02CURPOS MV02LOEND MV02HIEND MV02SPEED Mv02HISPEED MV02TGTPOS Mv02ENABLE MV03STATUS MV03ERRMSG MV03CURPOS MV03LOEND MV03HIEND MV03SPEED Mv03HISPEED MV03TGTPOS Mv03ENABLE ...... RS232 over Ethernet Motor #2 Controller User prompt/ GUI / Automatic script RS232 over Ethernet Motor #3 Controller RS232 over Ethernet

  5. Mx Mx Changing a component transparently New stepper controller Application Program RTDB Var Set MVxxSTATUS MVxxERRMSG MvxxCURPOS MVxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE .......... RS232 over Ethernet Old stepper controller Notify RS232 over Ethernet

  6. Text prompt Mx Testing components using variables RTDB Var Set Stepper controller MVxxSTATUS MVxxERRMSG MvxxCURPOS MvxxLOEND MvxxHIEND MVxxSPEED MvxxHISPEED MVxxTGTPOS MvxxENABLE .......... Test program Notify AND/OR RS232 over Ethernet

  7. GUI RTR ctrl COMMIB MSGLIB MSGLIB MSGLIB ChUI MsgD RTDB WFS MSGLIB MSGLIB MSGLIB MSGLIB MSGLIB IDL process WFS ctrl MSGLIB COMMLIB Tested configuration: Arcetri WFS lab • Many different interfaces in parallel • No arbitration, since it is a test environment RTR Shared memory N E T W O R K Ethernet/RS232 converter

  8. 1 2 3 4 5 4 5 1 2 3 Shared memory buffers Ansynchronous buffers Synchronous (FIFO mode) Producer Producer 1 2 3 4 5 Shared memory Shared memory 1 3 3 4 5 Consumer Consumer #1 Consumer #2 Consumer #3

  9. WFS MSGLIB GUI Stages ctrl Stages ctrl Stages ctrl MSGLIB MSGLIB MSGLIB COMMLIB COMMLIB COMMLIB MSGLIB MSGLIB MSGLIB MSGLIB Tested configuration: Linear stages test in Potsdam MsgD RTDB N E T W O R K Ethernet/RS232 converter X linear stage Y linear stage LAPTOP COMPUTER (!) Z linear stage

  10. IDL process IDL process Command path MSGLIB MSGLIB Fast data path MSGLIB MsgD RTDB MSGLIB MSGLIB P45 prototype MSGLIB MSGLIB Mirror ctrl COMMLIB Tested configuration: Arcetri P45 lab Ethernet line Shared memory Shared memory N E T W O R K

  11. Command path Answer path MSGLIB IDL server text prompt MSGLIB MSGLIB MSGLIB MSGLIB MSGLIB Mirror ctrl COMMIB MSGLIB GUI interface MSGLIB P45 / LBT672 control with IDL server Stdin/out IDL N E T W O R K MsgD RTDB N E T W O R K N E T W O R K

  12. TCS interface Python classes MSGLIB MsgD RTDB MSGLIB C Wrapper MSGLIB MSGLIB Graphic interface MSGLIB Text command prompt TCS Python scripting interface To controller programs Python scripts

  13. What about CPU usage? • Loop closed • Realtime display active • Mirror commands monitor • Command line interface • Various graphic interfaces • Only the graphic interfaces use a significant amount of processing power

More Related