Presentation is loading. Please wait.

Presentation is loading. Please wait.

Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.

Similar presentations


Presentation on theme: "Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE."— Presentation transcript:

1 Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE FEL Wavelength Monitor Matlab pros and cons

2 Allows simultaneous control of a set of magnets, with strength changes in predefined ratios.

3 Varies undulator gap over a specified range, in specified steps. At each step, records predefined measurements from an oscilloscope (communication via http). Displays data on GUI, and records raw data in a text file. TCP/IP Undulator gap control via EPICS IR FEL Analogue signals

4

5 Continuously reads data from spectrometer via NI DAQ box (32 channels, 2 kHz). Records raw data from every machine pulse. Performs analysis of data at (approx) 1 Hz to determine peak wavelength, width and intensity. – Displays data on GUI and updates control system (EPICS PVs). Provides control of spectrometer via C interface routines.

6 SNOM PC SNOM Spectrometer ALICE ACR Console ( f/b …) Spectrometer PC (  monitor) NI DAQ IR EPICS (TCP/IP) USB Analogue Clock USB Trigger Counter PC (LabView) NI myDAQ USB10 Hz Trigger Analogue signal (1 Hz)

7 Control of various mirrors and optics via a variety of interface channels. Acquisition and analysis of camera images.

8 Provides a comprehensive scientific programming and data analysis environment. Programming language is easy to learn, and supports some “advanced” features (object oriented programming…) “User friendly” GUIs can be developed reasonably quickly and easily. Can be readily interfaced to a range of different types of hardware devices (cameras, motor controllers, DAQ boxes…) Readily interfaced to external code (e.g. in C or C++) to improve computational speed, or for communication with hardware devices. Pretty good documentation, with plenty of examples on the web. Wide range of graphics options; good quality visualisation.

9 Easy to develop “sloppy” programming habits. Proprietary: license can be expensive. Toolboxes are extra. Not always intuitive (especially when interfacing to external devices).

10 Thanks to Ben Shepherd (for general assistance with Matlab, especially when talking with EPICS) and Paul Bassan (who did most of the code development for the FEL Wavelength Monitor).


Download ppt "Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE."

Similar presentations


Ads by Google