THORLABS BBD101 User Manual

THORLABS BBD101 User Manual

Brushless dc servo controller
Table of Contents

Advertisement

Quick Links

BBD101
Brushless DC Servo Controller
User Guide
Original Instructions

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BBD101 and is the answer not in the manual?

Questions and answers

Summary of Contents for THORLABS BBD101

  • Page 1 BBD101 Brushless DC Servo Controller User Guide Original Instructions...
  • Page 2: Table Of Contents

    Contents Chapter 1 Safety ..................... 4 1.1 Safety Information .................. 4 1.2 General Warnings .................. 4 Chapter 2 Overview and Setup ..............5 2.1 Introduction ..................... 5 2.2 APT PC Software Overview ..............7 2.2.1 Introduction......................7 2.2.2 APTUser Utility ....................8 2.2.3 APT Config Utility ....................
  • Page 3 Appendix C Specifications and Associated Parts ........66 Specifications ....................... 66 Appendix D Motor Control Method Summary ........... 67 Appendix E Regulatory ................71 Declarations Of Conformity ..................72 Waste Electrical and Electronic Equipment (WEEE) Directive ........73 Appendix F Thorlabs Worldwide Contacts ..........75...
  • Page 4: Chapter 1 Safety

    Chapter 1 Safety 1.1 Safety Information For the continuing safety of the operators of this equipment, and the protection of the equipment itself, the operator should take note of the Warnings, Cautions and Notes throughout this handbook and, where visible, on the product itself. The following safety symbols may be used throughout the handbook and on the equipment itself.
  • Page 5: Chapter 2 Overview And Setup

    Chapter 2 Overview and Setup 2.1 Introduction The BBD101 Brushless DC Motor Controllers are ideal for motion control applications demanding high speed (100s of mm/s) and high encoder resolution (<100 nm) operation. These single channel controllers offer high-precision motion control in a wide range of applications, and in particular when used along with our DDS220 fast translation stage where speeds of up to 300 mm/sec can be achieved.
  • Page 6 For simplicity of operation, the apt™ software incorporates pre-configured settings for each of the Thorlabs stages and actuators, while still exposing all parameters individually for use with other DC motor driven systems.
  • Page 7: Apt Pc Software Overview

    2.2 APT PC Software Overview 2.2.1 Introduction As a member of the APT range of controllers, the BBD101 DC motor controllers share many of the associated software benefits. This includes USB connectivity (allowing multiple units to be used together on a single PC), fully featured Graphical User Interface (GUI) panels, and extensive software function libraries for custom application development.
  • Page 8: Aptuser Utility

    Chapter 2 2.2.2 APTUser Utility The APTUser application allows the user to interact with a number of APT hardware control units connected to the host PC. This program displays multiple graphical instrument panels to allow multiple APT units to be controlled simultaneously. All basic operating parameters can be altered and, similarly, all operations (such as motor moves) can be initiated.
  • Page 9: Apt Config Utility

    With the APT system, ActiveX Controls are deployed to allow direct control over (and also reflect the status of) the range of electronic controller units, including the BBD101 DC motor controllers. Software applications that use ActiveX Controls are often...
  • Page 10 Visual Basic, Labview, Visual C++, C++ Builder, HPVEE, Matlab, VB.NET, C#.NET and, via VBA, Microsoft Office applications such as Excel and Word. Consider the ActiveX Control supplied for the BBD101 APT Brushless DC Servo Controller unit. This Control provides a complete user graphical instrument panel to allow the motor...
  • Page 11: Software Upgrades

    APT controllers. 2.2.5 Software Upgrades Thorlabs operate a policy of continuous product development and may issue software upgrades as necessary. Detailed instructions on installing upgrades are included on the APT Software...
  • Page 12: Chapter 3 Getting Started

    If you experience any problems when installing software, contact Thorlabs on +44 (0)1353 654440 and ask for Technical Support. DO NOT CONNECT THE CONTROLLER TO YOUR PC YET 1) Insert the CD into your PC.
  • Page 13: Mechanical Installation

    Single-Channel Brushless DC Servo Controller 3.2 Mechanical Installation 3.2.1 Siting The unit is designed to be mounted free standing on a shelf, benchtop or similar surface. Caution When siting the unit, it should be positioned so as not to impede the operation of the rear panel power supply switch.
  • Page 14: Electrical Installation

    The unit must be connected only to an earthed fused supply of 110 to 230V. Use only power supply cables supplied by Thorlabs, other cables may not be rated to the same current. The unit is shipped with appropriate power cables for use in the UK, Europe and the USA.
  • Page 15: Rear Panel Connections

    The USB cable length should be no more than 3 metres unless a powered USB hub is being used. HANDSET IN - Provides connection for the Thorlabs Joystick, MJC001. INTERCONNECT - Allows several controllers to be ‘Daisychained’. The INTERCONNECT terminal should be connected to the HANDSET IN connector on the next unit in the chain.
  • Page 16: Front Panel Controls And Indicators

    Chapter 3 3.4 Front Panel Controls and Indicators CHANNEL ENABLE Power Brushless Servo Controller Fig. 3.2 Front panel controls and indicators Power LED – Indicates that power is applied to the unit. Enable button – Used to enable/disable channel functionality. The associated LED is lit when the channel is enabled.
  • Page 17: Connecting The Hardware And Powering Up

    Single-Channel Brushless DC Servo Controller 3.5 Connecting The Hardware and Powering Up 1) Install the APT Software - see Section 3.1. 2) Connect the stage to the Controller unit. 3) Connect the Controller unit to your PC. Note The USB cable length should be no more than 3 metres unless a powered USB hub is being used.
  • Page 18: Verifying Software Operation

    Chapter 3 3.6 Verifying Software Operation 3.6.1 Initial Setup The APT Software should be installed (Section 3.1.) and the power up procedure performed (Section 3.5.) before software operation can be verified. 1) Run the APTUser utility and check that the Graphical User Interface (GUI) panel appears and is active.
  • Page 19: Chapter 4 Operation - Tutorial

    PC based APT software. It assumes that the unit is electrically connected as shown in Section 3.3.3. that the APT Software is already installed - see Section 3.1. and that the stage being driven is the Thorlabs DDS220 Direct Drive Translation stage.
  • Page 20: Using The Apt User Utility

    Hardware configurations and parameter settings can be saved to a file, which simplifies system set up whenever APT User is run up. Fig. 4.1 Typical APT User Screen 1) Run the APT User program - Start/All Programs/Thorlabs/APT User/APT User. HA0237T Rev E Aug 2014...
  • Page 21: Homing Motors

    Single-Channel Brushless DC Servo Controller 4.3 Homing Motors The need for homing comes from the fact that on power up the motor (stage) is at a random position, so the value of the position counter is meaningless. Homing involves moving the motor to a known reference marker and resetting the position counter to the associated absolute value.
  • Page 22: Moving To An Absolute Position

    Chapter 4 4.4 Moving to an Absolute Position Absolute moves are measured in real world units (e.g. millimetres), relative to the Home position. 1) Click the position display. Fig. 4.3 Absolute Position Popup Window 2) Enter 3.0 into the pop up window 3) Click ‘OK’.
  • Page 23: Changing Motor Parameters

    Single-Channel Brushless DC Servo Controller 4.5 Changing Motor Parameters Note Moves are performed using a Trapezoidal or S-Curve velocity profile (see Section 5.3.4.). The velocity settings relate to the maximum velocity at which a move is performed, and the acceleration at which the motor speeds up from zero to maximum velocity.
  • Page 24: Jogging

    Chapter 4 4.6 Jogging During PC operation, the motor actuators are jogged using the GUI panel arrow keys. There are two jogging modes available, ‘Single Step’ and ‘Continuous’. In ‘Single Step’ mode, the motor moves by the step size specified in the Step Distance parameter each time the key is pressed.
  • Page 25: Graphical Control Of Motor Positions (Point And Move)

    Note The channel functionality of the BBD101 controller is accessed via a single channel GUI panel. The left hand display shows a circle, which represents the current position of the motor associated with the specified controller (absolute position data is displayed in the 'Chan Pos' field).
  • Page 26 Chapter 4 Move Mode When ‘Move’ is selected, the motors move to an absolute position which corresponds to the position of the cursor within the screen. To specify a move: 1) Position the mouse within the window. For reference, the absolute motor position values associated with the mouse position is displayed in the 'Cursor Position field.
  • Page 27: Setting Move Sequences

    Single-Channel Brushless DC Servo Controller 4.8 Setting Move Sequences This section explains how to set move sequences, allowing several positions to be visited without user intervention. For details on moving to absolute positions initiated by a mouse click – see Section 4.11.
  • Page 28 Chapter 4 3) Select 'New' to display the 'Move Editor' panel. Fig. 4.9 Move Editor Window Move data is entered/displayed as follows: Dist/Pos: - the distance to move from the current position (if 'Relative' is selected) or the position to move to (if 'Absolute' is selected) (values entered in mm). Dwell Time: - after the move is performed, the system can be set to wait for a specified time before performing the next move in the sequence.
  • Page 29 Single-Channel Brushless DC Servo Controller 4) Enter the required move data into the Move Editor and click OK. The move data is displayed in the main window as shown below. Fig. 4.10 Main Window with Move Data 5) Repeat step 4 as necessary to build a sequence of moves. Move data can be copied, deleted, cut/pasted and edited by right clicking the data line(s) and selecting the appropriate option in the pop up menu (shown below).
  • Page 30: Using A Joystick Console

    Chapter 4 4.9 Using A Joystick Console The MJC001 joystick console has been designed for microscope users, to provide intuitive, tactile, manual positioning of the stage. The console features a two axis joystick for XY control. Up to 3 joysticks can be connected to each other, interfacing neatly into a multi-channel control application.
  • Page 31: External Triggering

    Any number of 'virtual' control units can be combined to emulate a collection of physical hardware units For example, an application program can be written, then tested and debugged remotely, before running with the hardware. To create a simulated configuration proceed as follows: 1) Run the APT Config utility - Start/All Programs/Thorlabs/APT/APT Config.
  • Page 32 Chapter 4 2) Click the 'Simulator Configuration' tab. Fig. 4.13 APT Configuration Utility - Simulator Configuration Tab 3) Enter a name (e.g. ‘LAB1’) in the Configuration Names field. 4) In the 'Simulator' field, check the ‘Enable Simulator Mode’ box. The name of the most recently used configuration file is displayed in the 'Current Configuration' window.
  • Page 33 During sub-item (5), the system recognises the BBD101 controller as a multi-channel unit (i.e. BBD103), fitted with only one driver card. The prefixed digits relating to the BBD103 stepper controller are: 73xxxxxx - 3 Channel Brushless DC Driver (BBD103) Note.
  • Page 34 Chapter 4 8) Repeat items (1) to (7) to build the required system. (A unit can be removed from the configuration by selecting it in the 'Loaded Configuration Details' window and clicking the 'Remove' button or by right clicking it and selecting the 'Remove' option from the pop up window).
  • Page 35: Chapter 5 Software Reference

    ‘73’ prefix being replaced with ‘94’ and the subsequent 6 digit number incremented by ‘1’ for each card in the system, e.g. a 1-channel BBD101 unit with a base serial number 73123456 will have card serial numbers 94123457.
  • Page 36 Calib File - the calibration file associated with the specified channel. Note Calibration files are not applicable for the Thorlabs Brushless DC motor stages such as the DDS220. Min/Max V - the minimum velocity at which a move is initiated, and the maximum velocity at which the move is performed.
  • Page 37: Settings Panel

    Single-Channel Brushless DC Servo Controller Ident - when this button is pressed, the LED (on the front panel of the unit) associated with the selected channel will flash for a short period. Active - lit when the unit is operating normally and no error condition exists. Error - lit when a fault condition occurs.
  • Page 38 Chapter 5 Note Under certain velocity parameter and move distance conditions, the maximum velocity may never be reached (i.e. the move comprises an acceleration and deceleration phase only). The limits for the max velocity or acceleration parameters are dependent on the stage being driven. They can be obtained by calling the GetVelParamLimits method.
  • Page 39 Single-Channel Brushless DC Servo Controller motor actuator will accelerate and move at the jog velocity while the button is held down.. Single Step mode velocity jog step size jog velocity distance button button button pressed pressed pressed Continuous mode velocity button released jog velocity jog acceleration...
  • Page 40 Note. Setting a negative value for backlash correction also results in zero correction. Persist Settings to Hardware - Many of the parameters that can be set for the BBD101 series drivers can be stored (persisted) within the unit itself, such that when the unit is next powered up these settings are applied automatically.
  • Page 41: Stage/Axis Tab

    They need to be set accordingly such that a particular stage is driven properly by the system. For Thorlabs stages, the APT server will automatically apply suitable defaults for the parameters on this tab during boot up of the software.
  • Page 42 Chapter 5 Note The Min Pos and Max Pos parameters can be used to restrict the working range of the stage to a particular area of interest. Pitch - the pitch of the motor lead screw (i.e. the distance (in mm or degrees) travelled per revolution of the leadscrew).
  • Page 43 Persist Settings to Hardware - Many of the parameters that can be set for the BBD101 series drivers can be stored (persisted) within the unit itself, such that when the unit is next powered up these settings are applied automatically.
  • Page 44: Advanced - Control Loop Settingstab

    Chapter 5 5.3.3 Advanced - Control Loop SettingsTab Fig. 5.5 Advanced Control Loop Settings Position Loop Control Settings The motion processors within the BBD series controllers use a position control loop to determine the motor command output. The purpose of the position loop is to match the actual motor position and the demanded position.
  • Page 45 Single-Channel Brushless DC Servo Controller position during motion. i.e. sticksion, vibration…etc .If the proportional term is too high this can lead to overshoot and general instability. If this is too low it can result in a sloppy response. It accepts values in the range 0 to 32767. Integral term - Increasing the integral (Int) term minimises following error and final position error.
  • Page 46 Chapter 5 Position PID Settings Summary Stage overshoots the intended position - reduce Int and increase Deriv and Prop terms. Stage doesn't attain final position - increase the Int and Prop terms. Motion is unstable - reduce Prop and Int, increase Deriv. Stage sounds noisy - reduce Deriv.
  • Page 47 PI filter. It accept values in the range 0 to 32767. Persist Settings to Hardware - Many of the parameters that can be set for the BBD101 series drivers can be stored (persisted) within the unit itself, such that when the unit is next powered up these settings are applied automatically.
  • Page 48: Advanced - Misc. Tab

    Chapter 5 5.3.4 Advanced - Misc. Tab Fig. 5.6 Advanced Miscellaneous Settings Motor Output Settings Caution The default values programmed into the APT software will give acceptable performance in most cases. The following parameters are set according to the stage or actuator type associated with the driver and have already been optimized.
  • Page 49 Single-Channel Brushless DC Servo Controller Motor Bias – When an axis is subject to a constant external force in one direction (such as a vertical axis pulled downwards by gravity) the servo filter can compensate by adding a constant DC bias to the output. This bias is set in the Motor Bias parameter, which accepts values in the range -32768 to 32767.
  • Page 50 Chapter 5 Position Profiling To prevent the motor from stalling, it must be ramped up gradually to its maximum velocity. Certain limits to velocity and acceleration result from the torque and speed limits of the motor, and the inertia and friction of the parts it drives. The system incorporates a trajectory generator, which performs calculations to determine the instantaneous position, velocity and acceleration of each axis at any given moment.
  • Page 51 Joystick If the optional Thorlabs joystick console is being used (MJC001) the following parameters are used to set the velocity and acceleration limits and the direction sense of any moves initiated from the joystick.- see Section 4.9. for more details on joystick use.
  • Page 52 Chapter 5 Persist Settings to Hardware - Many of the parameters that can be set for the BBD101 series drivers can be stored (persisted) within the unit itself, such that when the unit is next powered up these settings are applied automatically. This is particularly important when the driver is being used manually via a joystick, in the absence of a PC and USB link.
  • Page 53 Single-Channel Brushless DC Servo Controller Trigger In options are set as follows: Disabled – triggering operation is disabled Rel Move (Trig Rise) – a relative move (specified using the latest MoveRelative or MoveRelativeEx method settings) is initiated on the specified channel when a rising edge input signal is received on the TRIG IN connector.
  • Page 54: Troubleshooting And Restoring Default Parameters

    Chapter 5 Trigger Out options are set as follows: Disabled – triggering operation is disabled In Motion (Trig HI) – The output trigger goes high (5V) when the stage is in motion. In Motion (Trig Lo) – The output trigger goes low (0V) when the stage is in motion. Move Complete (Trig HI) Move Complete (Trig HI) - The output trigger goes high (5V) when the current move is completed.
  • Page 55 Single-Channel Brushless DC Servo Controller If adjustment of the parameter values previously described has resulted in unstable or unsatisfactory system response, this tab can be used to reset all parameter values to the factory default settings. To restore the default values: 1) Select the ‘Defaults’...
  • Page 56: Appendix A Rear Panel Connector Pinout Details

    Appendix A Rear Panel Connector Pinout Details A.1 Rear Panel MOTOR DRIVE Connectors The ‘MOTOR DRIVE’ connector is a female, round, 8-pin DIN type and provides drive connection to the motors. The pin functions are detailed in Fig. A.1.. Description Description Motor Phase V Stage ID...
  • Page 57: Rear Panel User Io Connector

    A.3 Rear Panel USER IO Connector The ‘USER I/O’ connector is a male, 15 pin D-Type that exposes a number of electrical signals useful for monitoring purposes or fault diagnosis. Description Return Description Return – (iii) (iii) Trigger In (ii) (iii) Trigger Out Ground...
  • Page 58 Appendix A A.3.1 Trigger Out (Digital Output) The digital output (AxisOut) can continuously sink over 100 mA and source 4 mA from the pull up resistor to 5V. The diode in series with the pull up resistor allows loads powered from up to 24VDC to be switched. The FET driver is internally protected from shorts up to 30 V.
  • Page 59 Single-Channel Brushless DC Servo Controller A.3.3 Differential Outputs All differential outputs (QA, QB and IX/Ref) are driven by an AM26C31 line driver, with a 100 Ohm resistor between the output of the line driver and the connector pin. When the stage is being controlled by a joystick, in the absence of a PC, these outputs could be connected to an oscilloscope or custome circuit to facilitate monitoring of the position output.
  • Page 60: Rear Panel Aux I/O Connector

    Appendix A A.4 Rear Panel AUX I/O Connector A.4.1 Pin Identification The AUX I/O connector is a female, 15 pin D-Type exposes a number of internal electrical signals. For convenience, a number of logic inputs and outputs are included, thereby negating the need for extra PC based IO hardware. Using the APT support software, these user programmable logic lines can be deployed in applications requiring control of external devices such a relays, light sources and other auxilliary equipment.
  • Page 61 Single-Channel Brushless DC Servo Controller A.4.2 Digital Outputs All digital outputs are of the open-collector type, with a 330 Ohm series resistor. When the output is set to a logic zero (which is also the default state), it behaves as open circuit.
  • Page 62 Appendix A A.4.3 Digital Inputs The digital inputs used in the controller are of the standard CMOS logic gate type with TTL compatible input levels and a built-in pull-up resistor (10 kOhm to +5V). They can be connected directly to mechanical switches, open-collector type outputs or most type of logic outputs.
  • Page 63: Rear Panel Handset Connector

    Not Connected Ground Not Connected Not Connected Not Connected Supply Voltage for Handset 5V Note Pin 9 is for use only with Thorlabs joystick MJC001. It should not be used to power any other device. Fig. A.11 HANDSET Connector Pin Identification...
  • Page 64: Rear Panel Interconnect Connector

    Appendix A A.6 Rear Panel INTERCONNECT Connector A.6.1 Pin Identification The INTERCONNECT terminal is a male, 9 pin D-Type that exposes electrical signals for use when ‘daisychaining’ several units together. The INTERCONNECT terminal should be connected to the HANDSET IN connector on the next unit in the chain.
  • Page 65: Appendix B Preventive Maintenance

    The equipment contains no user servicable parts. There is a risk of severe electrical shock if the equipment is operated with the covers removed. Only personnel authorized by Thorlabs Ltd and trained in the maintenance of this equipment should remove its covers or attempt any repairs or adjustments.
  • Page 66: Appendix C Specifications And Associated Parts

    Appendix C Specifications and Associated Parts C.1 Specifications Drive Connector: 8-Pin DIN, Round, Female (Motor Phase Outputs, Stage ID Input) FEEDBACK Connector: 15-Pin D-Type Brushless Continuous Output: 5A PWM Frequency: 40 kHz Operating Modes: Position, Velocity Control Algorithm: 16-bit Digital PID Servo Loop with Velocity and Acceleration Feedforward Velocity Profile: Trapezoidal/S-Curve Position Count: 32 Bit...
  • Page 67: Appendix D Motor Control Method Summary

    Appendix D Motor Control Method Summary The 'Motor' ActiveX Control provides the functionality required for a client application to control one or more of the APT series of motor controller units. To specify the particular controller being addressed, every unit is factory programmed with a unique 8-digit serial number.
  • Page 68 GetDCProfileModeParams Gets the settings for the profile mode GetDCJoystickParams Gets the settings for the joystick max velocity and acceleration GetDCSettledCurrentLoopParams Gets the Current servo loop PID parameter settings applied when the unit is ‘settled’. GetDCTriggerParams Gets the present Trigger Mode settings. GetDispMode Gets the GUI display mode.
  • Page 69 GetStageAxis Gets the stage type information associated with the motor under control. GetStageAxisInfo Gets the stage axis parameters. GetStageAxisInfo_MaxPos Gets the stage maximum position (returned by value). GetStageAxisInfo_MinPos Gets the stage minimum position (returned by value). GetStatusBits_Bits Gets the controller status bits encoded in 32 bit integer (returned by value).
  • Page 70 Appendix D SetDCPositionLoopParams Sets the Position servo loop PID parameter values SetDCMotorOutputParams Sets the limits that are applied to the motor drive signal SetDCTrackSettleParams Sets the parameters for the Track and Settle windows SetDCProfileModeParams Sets the parameters for the profile mode SetDCJoystickParams Sets the values for the joystick max velocity and acceleration...
  • Page 71: Appendix E Regulatory

    Appendix E Regulatory E.1 Declarations Of Conformity E.1.1 For Customers in Europe This equipment has been tested and found to comply with the EC Directives 89/336/EEC ‘EMC Directive’ and 73/23/EEC ‘Low Voltage Directive’ as amended by 93/68/EEC. Compliance was demonstrated by conformance to the following specifications which have been listed in the Official Journal of the European Communities: Safety EN61010: 2001 Installation Category II, Polution Degree II.
  • Page 72 • left over parts of units disassembled by the user (PCB's, housings etc.). If you wish to return a unit for waste recovery, please contact Thorlabs or your nearest dealer for further information. HA0237T Rev E Aug 2014...
  • Page 73: Waste Electrical And Electronic Equipment (Weee) Directive

    E.2.2 Waste treatment on your own responsibility If you do not return an "end of life" unit to the company, you must hand it to a company specialized in waste recovery. Do not dispose of the unit in a litter bin or at a public waste disposal site.
  • Page 74 Appendix E HA0237T Rev E Aug 2014...
  • Page 75: Appendix F Thorlabs Worldwide Contacts

    Appendix F Thorlabs Worldwide Contacts USA, Canada, and South America Scandinavia Thorlabs, Inc. Thorlabs Sweden AB 56 Sparta Avenue Box 141 94 Newton, NJ 07860 400 20 Göteborg Sweden Tel: 973-579-7227 Tel: +46-31-733-30-00 Fax: 973-300-3600 Fax: +46-31-703-40-45 www.thorlabs.com www.thorlabs.de www.thorlabs.us (West Coast) email: scandinavia@thorlabs.com...
  • Page 76 Thorlabs Inc. Thorlabs Ltd. 56 Sparta Avenue Saint Thomas Place, Ely Newton, NJ07860 Cambridgeshire CB7 4EX, Tel: +1 973 579 7227 Tel: +44 (0) 1353 654440 Fax: +1 973 300 3600 Fax: +44 (0) 1353 654444 www.thorlabs.com www.thorlabs.com...

Table of Contents