Advertisement

Quick Links

MR-E-2 Development Kit Operation Manual
PRELIMINARY
Rev: 1.0
Copyright © 2019 Optotune
MR-E-2 Development Kit
Operation Manual
Page 1 of 31
No representation or warranty, either expressed or implied, is made
Optotune AG
|
Bernstrasse 388
|
CH-8953 Dietikon
|
Switzerland
as to the reliability, completeness or accuracy of this paper.
Phone +41 58 856 3000
|
www.optotune.com
|
info@optotune.com

Advertisement

Table of Contents
loading

Summary of Contents for Optotune MR-E-2

  • Page 1 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune MR-E-2 Development Kit Operation Manual Page 1 of 31 No representation or warranty, either expressed or implied, is made Optotune AG Bernstrasse 388 CH-8953 Dietikon Switzerland as to the reliability, completeness or accuracy of this paper.
  • Page 2 Copyright ©2019 Optotune Switzerland AG. All Rights Reserved. The MR-E-2 development kit hardware and corresponding software Optotune Cockpit shall only be used in connection with the evaluation of the MR-15-30 and MR-10-30 mirror product families. Any other use is not permitted without the prior written authorization of Optotune Switzerland AG.
  • Page 3: Table Of Contents

    MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Table of Contents Overview ................................. 5 Software and System requirements ........................ 6 Mechanical Details ............................7 Base Unit ..............................7 Head Unit ............................... 7 Heatsink ..............................7 Hardware Operation ............................9 Package Contents and Description ......................
  • Page 4 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune 10.5.1 Setting open loop to both axis and reading back X Y ..............29 10.5.2 Setting closed loop triangular to X axis and open loop sinusoidal to Y axis ....... 30 10.5.3...
  • Page 5: Overview

    Copyright © 2019 Optotune 1 Overview The MR-E-2 is a fully integrated driving solution for the Optotune MR-series beam steering mirrors. It provides access to the full functionality of the mirrors, including open and closed loop control. The user can control the mirror and perform operations in various modes such as waveform operation or static pointing.
  • Page 6: Software And System Requirements

    MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune 2 Software and System requirements • Windows 10 or later • USB Driver: USB 2.0 port • Optotune Cockpit Control Software (link) • Optional: Serial communication terminal software such as Windows Hyper-Terminal (only required for...
  • Page 7: Mechanical Details

    In this case, either mount the mirror head flat on a large enough heatsink or attach the heat sink supplied by Optotune.
  • Page 8 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Warning: During operation the mirror head can become hot (up to 85°C). Avoid touching the mirror head during operation and ensure not to place heat-sensitive equipment in the immediate vicinity of the mirror head.
  • Page 9: Hardware Operation

    Package Contents and Description The figure above shows all parts contained in the MR-E-2 Dev Kit package. The driver consists of a base unit with control electronics and connectors in a protective enclosure. A cable connects the base unit to the mirror head containing the analog driving electronics.
  • Page 10: Hardware Connections

    Copyright © 2019 Optotune Hardware Connections The back panel of the MR-E-2 base unit has three connectors. In addition to the power connector, it features a USB type B connector allowing control through Optotune Cockpit software and for simple serial mode operation.
  • Page 11 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Pin# in I/O Connector Signal Description AI_X Analog Input X axis AI_Y Analog Input for Y axis Circuit ground Circuit ground SPI_MOSI SPI Master Output Slave Input SPI_CLK...
  • Page 12: Mirror Coordinate System

    MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune 5 Mirror Coordinate System Definition of the XY Coordinate System We define a coordinate system to calibrate the internal optical feedback mechanism and relate it with physical mirror position. This coordinate system is a cartesian coordinate system with axes X and Y. The X-axis is perpendicular to the cable protruding from the mirror head and the Y-axis is parallel to this cable.
  • Page 13: Transformation To And From Spherical Coordinates

    It is also possible to express the mirror position by using spherical coordinates instead of the XY coordinates introduced above. Spherical coordinates are not available in the MR-E-2 firmware and software. In this coordinate system, two angles define the mirror position: A polar angle between the mirror normal vector in the deflected position and the mirror normal in the XY position [0,0] (i.e.
  • Page 14 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune �� �� �� �� ] = [ �� �� ⁄ �� ⁄ 90° 90° ′ ′ Using the vector [ ��, ��, �� ] , we obtain the projected point coordinates via ��...
  • Page 15: Optotune Cockpit

    MR-E-2 Connection Make sure that the MR-E-2 is connected via USB to the computer and powered. Open Optotune Cockpit and click on Connect Device. A window will appear, allowing you to select the device. You can also change the displayed name of the device for this session.
  • Page 16: Mirror Control

    Rev: 1.0 Copyright © 2019 Optotune After clicking connect, the device will appear on the left side of the Optotune Cockpit window. You can add additional devices at any time by clicking + and repeating the steps above. Mirror Control The two main panels for controlling the mirror are Input Signal and Control Mode.
  • Page 17 MR-E-2 can be set to four different operational modes: • Static value: Optotune Cockpit sends a single position or current value to the driver. • Signal generator: The internal signal generator within the driver sends a time-dependent stream of position or current values until it is interrupted.
  • Page 18: Factory Reset

    Snapshot 1 contains the factory settings and cannot be overridden. Examples In this section we show two examples on how to control the mirror with Optotune Cockpit. The first example includes setting both axes to closed loop control and moving the mirror to a specific point. The second example demonstrates how to operate in mixed mode waveform operation.
  • Page 19: Mixed Mode Waveform Operation

    MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Now click Set to device and observe the mirror moving to the [0.2, -0.2] position. 6.5.2 Mixed Mode Waveform Operation We will set the X-axis to closed loop triangular waveform mode with an amplitude of 0.25 and a frequency of 2 Hz.
  • Page 20 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Now click Set to device and observe the mirror movement. Page 20 of 31 No representation or warranty, either expressed or implied, is made Optotune AG Bernstrasse 388...
  • Page 21: Simple Serial Communication Mode

    Important: Each serial command must be delayed by 1 ms. Step-by-Step procedure Make sure that the driver is connected to the computer and powered. Do not connect Optotune Cockpit to the driver. First, find the port corresponding to the driver: 1.
  • Page 22 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune 2. Follow the steps below to configure the terminal panel. All steps are indicated by the red marking in the figure. Port: Make sure that the COM port is the one specified in the Device Manager (COM7 in this example) b.
  • Page 23: List Of Commands Available

    MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune In order to reset the mirror to its zero position, type the following text into the terminal: >> xy=0;0 The received section of the terminal should display the following text: <<...
  • Page 24 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Output current limit is reached Output current average limit is reached XY input is trimmed Proxy was disconnected Proxy temperature threshold was reached Mirror temperature threshold was reached...
  • Page 25: Analog Mode

    8 Analog Mode The analog mode must be explicitly activated through Optotune Cockpit or SPI. When analog mode is active, the analog input pins should be connected and not be left floating. Choose analog mode in the Signal input panel...
  • Page 26: Python Framework

    MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune 9 Python framework There is a python SDK available from Optotune. Page 26 of 31 No representation or warranty, either expressed or implied, is made Optotune AG Bernstrasse 388...
  • Page 27: Spi Interface

    MR-E-2 MR-E-2 uses SPI Mode 1 (CPOL = 0, CPHA = 1). The Interface accepts data on the positive edge of the clock and samples the data at the negative edge. Additionally, MR-E-2 provides a SPI data not ready signal for accurate time synchronization with the master.
  • Page 28: Framing

    SPI_DATA_NRDY is driven low. Master should not send a new SPI frame while the SPI_DATA_NRDY is high. MR-E-2 driver updates its registers at a frequency of 10 kHz. Frames received at a higher frequency cannot be processed.
  • Page 29: Master In, Slave Out (Miso)

    Read back data according to SPI read pointer register 0, by read back fail: 0x7cf0bdc2 Read back data according to SPI read pointer register 1, by read back fail: 0x7cf0bdc2 For full description of the MR-E-2 controlling and configuring capabilities using SPI, please refer to MR-E-2 programmer’s manual.
  • Page 30 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune 10.5.2 Setting closed loop triangular to X axis and open loop sinusoidal to Y axis For this example, the signal flow of the driver needs to be configured accordingly. The following frames have to be sent.
  • Page 31 MR-E-2 Development Kit Operation Manual PRELIMINARY Rev: 1.0 Copyright © 2019 Optotune Word 0 Word 1 Word 2 Words 3-4 Words 5-6 0x0001 0x6004 0x6104 0x3f19999a 0x3d4ccccd Explanation: Word 1: 0x6004 is the register address for the amplitude of the signal generator for X axis.

Table of Contents