User Tools

Site Tools


planar_correction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
planar_correction [2016/10/03 13:21]
planar_correction [2019/04/18 23:34] (current)
Line 1: Line 1:
 +====== PLANAR CORRECTION Firmware Module ======
  
 +This manual section applies to the **PLANAR CORRECTION** firmware module. ​ With this module included in the firmware, the controller will support functions to establish a tilted focal plane by selecting three sample points. ​ The controller can then be enabled to make a Z-axis correction such that commanded Z positions are specified with reference to the established plane. ​ Joystick moves also follow the adjusted plane.  ​
 +
 +
 +===== LCD Display =====
 +
 +The status line of the LCD display (DIP SW 2 UP) will show the status of the Planar Correction three-point acquisition and enable state. ​  A single character on the bottom line contains the state information. ​ Usually it will look something like this:
 +
 +{{ planar_corr_1.jpg?​direct&​400 |}}
 +
 +or this, for systems with SEQUENCER and ARRAY MODULE:
 +
 +{{ planar_corr_2.jpg?​direct&​400 |}}
 +     ​
 +
 +The meanings of the state indicators are described below.
 +
 +^1 |Awaiting selection of first point|
 +^2  |Awaiting selection of second point|
 +^3   ​ |Awaiting selection of third point|
 +^Z |Z correction enabled|
 +^G |Z correction not enabled (points selected)|
 +
 +When the state characters are displayed in lower case on the LCD display, the TTL IN0 interrupt is disabled pending completion of the current move operation.
 +
 +
 +===== Establishing the Correction Plane =====
 +
 +To establish the location of the correct focal plane, three linearly independent points need to be selected. ​ The simplest procedure is to use the joystick to move to the three points near the edges of the sample region of interest, focus the sample, and select the points with the joystick button. ​ The LCD display can aid in guiding the user through the process.  ​
 +
 +===== Using the Joystick Button to Select the Focal Plane =====
 +
 +
 +The button on the JOYSTICK, held down for three seconds, is used to select a correctly focused XYZ location. ​ The HOME button, held down for three seconds, will turn off the planar correction and initialize the firmware for subsequent point selection. ​ These are the steps:
 +
 +
 +  - Check LCD.  State should be ‘1’ indicating controller ready to accept points.
 +  - Move stage to first XY point; focus on specimen surface.
 +  - (Optional) Press ZERO button on controller. ​ This will enforce Z=0 is on focal plane.
 +  - Hold down Joystick button for three seconds. ​ Verify that the state indicator on the LCD changes to ‘2’.
 +  - Move stage to second XY point; focus on specimen surface.
 +  - Hold down Joystick button for three seconds. ​ Verify that the state indicator on the LCD changes to ‘3’.
 +  - Move stage to third XY point; focus on specimen surface.
 +  - Hold down Joystick button for three seconds. ​ Verify that the state indicator on the LCD changes to ‘Z’. ​ The focus plane has been defined and the correction is being used for all Joystick and Commanded moves.
 +
 +===== Using the HOME Button to Disable and Reset the Focal Plane Correction =====
 +
 +
 +The HOME button, held down for three seconds (or six seconds if RING BUFFER is included in the firmware as well) will turn off the focal plane correction if it is currently enabled, and will reset the place selection processes if the correction is already disabled. ​ When the planar correction is disabled, but the three points have previously been defined (‘G’ state), you can reenable the correction with a three second press of the Joystick button.
 +
 +===== Using Serial Commands to Select the Focal Plane =====
 +
 +
 +The CCB command can be used to automate the focal plane selection process. ​ In general, some method of autofocus would be required to find the Z focus locations for the three point correction. ​ Software autofocus or ASI’s hardware video autofocus could be used.  Please see the programming manual for details of the[[commands:​customb| CCB command]].
 +
 +===== Stage Control with Planar Correction =====
 +
 +
 +Once you have established planar correction, you can pretty much forget that you have anything special going on.  The stage will respond to Joystick moves, and manual focus moves with the controller’s focus knob as expected. ​ Commanded moves will be with respect to the corrected surface, again more or less as you would expect. ​ The main LCD display shows the corrected Z-position and the [[commands:​where|WHERE command]] responds with the corrected current position. ​ If you are curious to see how much correction is actually being made at any particular point, the two-column LCD display mode (DIP SW 1 UP) will show the true encoder target position on the right side of the Z-axis line.  For example:
 +
 +{{ planar_corr_3.jpg?​direct&​400 |}}
 +
 +You will notice that as you move around in XY, the corrected position will remain constant, but the actual stage encoder target will change as the correction demands.
 +
 +===== Known Issues =====
 +
 +
 +Whenever the coordinate system of the stage is changed, as is done with the [[commands:​zero|ZERO]] or [[commands:​here|HERE commands]], or with the ZERO button, the height of the correction plane will change. ​ For the ZERO command and ZERO button, the focus offset is also set to zero at this location. ​ Hence, if the slide is in focus, pressing the ZERO button will not change anything. ​ The HERE command for the X or Y axes will change the height of the focus offset, although the planar tilt will not be affected. ​ After a HERE command, you should expect to have to find focus again. ​
 +
 +===== Saving a Planar Correction to Flash =====
 + 
 +You can use the planar correction to “level” a sample holder once, and then save the correction to flash and it can be used again on start up.  The save settings command [[commands:​saveset|SS Z]] saves the current correction tilt variables along with the Enable status to flash memory. ​ When the controller is power cycled or reset, the saved variables are used when the controller initializes.  ​
 +
 +{{tag>​advanced_feature ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181