Xilinx Spartan 6 FPGA User manual

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
1
Qdesys Sensorless Field Oriented
Control Quick Start Guide
Version 1.0
Xilinx®Spartan™-6 FPGA
Motor Control Development Kit

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
2
Revision History
DATE
VERSION
REVISION
10/31/2012
1.0
Initial Release

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
3
AVNET DESIGN KIT TECHNICAL
SUPPORT FILES AND DOWNLOADS
WEB ACCESS INSTRUCTIONS
Thank you for purchasing an Avnet design kit. The technical support documents associated with this kit, including the User Guide,
Bill of Materials, Schematics, Source Code and Application Notes, are available online. You, the Customer, can access these
documents at any time by visiting Avnet’s Design Resource Center (“DRC”) at: www.em.avnet.com/drc/support
On your first visit to the DRC, You will be required to site register before you can download the documents. To get started, select the
name of the manufacturer associated with your design kit from the drop down menu. A complete listing of available design kits will
appear. Select the kit you purchased. Scroll to the bottom of the design kit page to access the support files. Before you download a
file, you will be prompted to login. If you are an existing user, please login. If you are a new user, click on the “Need to sign-up?”
text. Please complete the short registration form. Upon completion, be sure to retain your login and password information for future
visits to Avnet’s DRC. Logging in once gives you unlimited access to all technical support files and downloads. You will also have
the chance to request e-mail notifications whenever there are updates to your design kit.
LICENSE AGREEMENT
THE AVNET DESIGN KIT (“DESIGN KIT” OR “PRODUCT”) AND ANY SUPPORTING DOCUMENTATION (“DOCUMENTATION”
OR “PRODUCT DOCUMENTATION”) IS SUBJECT TO THIS LICENSE AGREEMENT (“LICENSE”). USE OF THE PRODUCT OR
DOCUMENTATION SIGNIFIES ACCEPTANCE OF THE TERMS AND CONDITIONS OF THIS LICENSE. THE TERMS OF THIS
LICENSE AGREEMENT ARE IN ADDITION TO THE AVNET CUSTOMER TERMS AND CONDITIONS, WHICH CAN BE VIEWED
AT www.em.avnet.com. THE TERMS OF THIS LICENSE AGREEMENT WILL CONTROL IN THE EVENT OF A CONFLICT.
1. Limited License. Avnet grants You, the Customer, (“You” “Your” or “Customer”) a limited, non-exclusive, non-transferable,
license to: (a) use the Product for Your own internal testing, evaluation and design efforts at a single Customer site; (b) create
a single derivative work based on the Product using the same semiconductor supplier product or product family as used in the
Product; and (c) make, use and sell the Product in a single production unit. No other rights are granted and Avnet and any
other Product licensor reserves all rights not specifically granted in this License Agreement. Except as expressly permitted in
this License, neither the Design Kit, Documentation, nor any portion may be reverse engineered, disassembled, decompiled,
sold, donated, shared, leased, assigned, sublicensed or otherwise transferred by Customer. The term of this License is in
effect until terminated. Customer may terminate this license at any time by destroying the Product and all copies of the Product
Documentation.
2. Changes. Avnet may make changes to the Product or Product Documentation at any time without notice. Avnet makes no
commitment to update or upgrade the Product or Product Documentation and Avnet reserves the right to discontinue the
Product or Product Documentation at any time without notice.
3. Limited Warranty. ALL PRODUCTS AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY
KIND. AVNET MAKES NO WARRANTIES, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THE PRODUCTS AND
DOCUMENTATION PROVIDED HEREUNDER. AVNET SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY AGAINST INFRINGEMENT
OF ANY INTELLECTUAL PROPERTY RIGHT OF ANY THIRD PARTY WITH REGARD TO THE PRODUCTS AND
DOCUMENTATION.
4. LIMITATIONS OF LIABILITY. CUSTOMER SHALL NOT BE ENTITLED TO AND AVNET WILL NOT LIABLE FOR ANY
INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND OR NATURE, INCLUDING,
WITHOUT LIMITATION, BUSINESS INTERRUPTION COSTS, LOSS OF PROFIT OR REVENUE, LOSS OF DATA,
PROMOTIONAL OR MANUFACTURING EXPENSES, OVERHEAD, COSTS OR EXPENSES ASSOCIATED WITH
WARRANTY OR INTELLECTUAL PROPERTY INFRINGEMENT CLAIMS, INJURY TO REPUTATION OR LOSS OF
CUSTOMERS, EVEN IF AVNET HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE PRODUCTS AND
DOCUMENTATION ARE NOT DESIGNED, AUTHORIZED OR WARRANTED TO BE SUITABLE FOR USE IN MEDICAL,
MILITARY, AIR CRAFT, SPACE OR LIFE SUPPORT EQUIPMENT NOR IN APPLICATIONS WHERE FAILURE OR
MALFUNCTION OF THE PRODUCTS CAN REASONABLY BE EXPECTED TO RESULT IN A PERSONAL INJURY, DEATH
OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. INCLUSION OR USE OF PRODUCTS IN SUCH EQUIPMENT
OR APPLICATIONS, WITHOUT PRIOR AUTHORIZATION IN WRITING OF AVNET, IS NOT PERMITTED AND IS AT
CUSTOMER’S OWN RISK. CUSTOMER AGREES TO FULLY INDEMNIFY AVNET FOR ANY DAMAGES RESULTING
FROM SUCH INCLUSION OR USE.
5. LIMITATION OF DAMAGES. CUSTOMER’S RECOVERY FROM AVNET FOR ANY CLAIM SHALL NOT EXCEED
CUSTOMER’S PURCHASE PRICE FOR THE PRODUCT GIVING RISE TO SUCH CLAIM IRRESPECTIVE OF THE
NATURE OF THE CLAIM, WHETHER IN CONTRACT, TORT, WARRANTY, OR OTHERWISE.
6. INDEMNIFICATION. AVNET SHALL NOT BE LIABLE FOR AND CUSTOMER SHALL INDEMNIFY, DEFEND AND HOLD
AVNET HARMLESS FROM ANY CLAIMS BASED ON AVNET’S COMPLIANCE WITH CUSTOMER’S DESIGNS,
SPECIFICATIONS OR IN¬STRUCTIONS, OR MODIFICATION OF ANY PRODUCT BY PARTIES OTHER THAN AVNET,
OR USE IN COMBINATION WITH OTHER PRODUCTS.

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
4
7. U.S. Government Restricted Rights. The Product and Product Documentation are provided with “RESTRICTED RIGHTS.” If
the Product and Product Documentation and related technology or documentation are provided to or made available to the
United States Government, any use, duplication, or disclosure by the United States Government is subject to restrictions
applicable to proprietary commercial computer software as set forth in FAR 52.227-14 and DFAR 252.227-7013, et seq., its
successor and other applicable laws and regulations. Use of the Product by the United States Government constitutes
acknowledgment of the proprietary rights of Avnet and any third parties. No other governments are authorized to use the
Product without written agreement of Avnet and applicable third parties.
8. Ownership. Licensee acknowledges and agrees that Avnet or Avnet’s licensors are the sole and exclusive owner of all
Intellectual Property Rights in the Licensed Materials, and Licensee shall acquire no right, title, or interest in the Licensed
Materials, other than any rights expressly granted in this Agreement.
9. Intellectual Property. All trademarks, service marks, logos, slogans, domain names and trade names (collectively “Marks”) are
the properties of their respective owners. Avnet disclaims any proprietary interest in Marks other than its own. Avnet and AV
design logos are registered trademarks and service marks of Avnet, Inc. Avnet’s Marks may be used only with the prior written
permission of Avnet, Inc.
10. General. The terms and conditions set forth in the License Agreement or at www.em.avnet.com will apply notwithstanding any
conflicting, contrary or additional terms and conditions in any purchase order, sales acknowledgement confirmation or other
document. If there is any conflict, the terms of this License Agreement will control. This License may not be assigned by
Customer, by operation of law, merger or otherwise, without the prior written consent of Avnet and any attempted or purported
assignment shall be void. Licensee understands that portions of the Licensed Materials may have been licensed to Avnet from
third parties and that such third parties are intended beneficiaries of the provisions of this Agreement. In the event any of the
provisions of this Agreement are for any reason determined to be void or unenforceable, the remaining provisions will remain in
full effect. This constitutes the entire agreement between the parties with respect to the use of this Product, and supersedes all
prior or contemporaneous understandings or agreements, written or oral, regarding such subject matter. No waiver or
modification is effective unless agreed to in writing and signed by authorized representatives of both parties. The obligations,
rights, terms and conditions shall be binding on the parties and their respective successors and assigns. The License
Agreement is governed by and construed in accordance with the laws of the State of Arizona excluding any law or principle,
which would apply the law of any other jurisdiction. The United Nations Convention for the International Sale of Goods shall not
apply.
QDeSys Disclaimer
In disclosing the information contained in this document QDeSys assumes no obligation to correct any errors herein contained, or to
advise you of any corrections or updates. QDeSys expressly disclaims any liability in connection with technical support or
assistance that may be provided to you in connection with the information.
THE DOCUMENTATION IS DISCLOSED TO YOU "AS-IS" WITH NO WARRANTY OF ANY KIND. QDESYS MAKES NO OTHER
WARRANTIES, WHETHER EXPRESS, IMPLIED, OR STATUTORY, REGARDING THE DOCUMENTATION, INCLUDING ANY
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT OF THIRD-
PARTY RIGHTS. IN NO EVENT WILL QDESYS BE LIABLE FOR ANY CONSEQUENTIAL, INDIRECT, EXEMPLARY, SPECIAL,
OR INCIDENTAL DAMAGES, INCLUDING ANY LOSS OF DATA OR LOST PROFITS, ARISING FROM YOUR USE OF THE
DOCUMENTATION
© 2012 QDeSys, All rights reserved.
QDESYS, the QDeSys logo, are trademarks of QDeSys. All other trademarks are the property of their respective owners.

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
5
TABLE OF CONTENTS
ABOUT THIS GUIDE ............................................................................................................. 6
Additional Documentation ........................................................................................................................................................ 6
Additional Support Resources.................................................................................................................................................. 6
QDeSys SFOC DEMO SET UP AND INSTRUCTIONS.........................................................7
Introduction.......................................................................................................................................................................... 7
Field Oriented Control System Diagram .............................................................................................................................. 8
QDeSys MC Manager GUI Instructions................................................................................................................................ 9
Host PC Network Configuration ........................................................................................................................................... 10
Firewall Settings .................................................................................................................................................................. 11
Motor Demo Hardware Requirement.................................................................................................................................... 13
Xilinx Software Installation................................................................................................................................................... 14
Programming the flash using iMPACT ................................................................................................................................. 18
RUNNING THE DEMO...........................................................................................................19
Using the GUI...................................................................................................................................................................... 19
Setting the Motor Type......................................................................................................................................................... 20
Spinning the Motors............................................................................................................................................................. 22
Main panel Description ........................................................................................................................................................ 24
Waveform Display................................................................................................................................................................ 26
Waveform Description.......................................................................................................................................................... 27
ADVANCED DEMO................................................................................................................29

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
6
About this Guide
This guide provides detailed information for getting started with the Qdesys Sensorless Field Oriented Control (FOC) demonstration
on the Xilinx Spartan-6 FPGA Motor Control Development Kit. Follow the steps outlined in the following sections to install and
enable the required software for this kit and run the FOC demonstration.
Additional Documentation
The following documents are available for download at:
http://www.xilinx.com/products/silicon-devices/fpga/spartan-6/index.htm
http://www.xilinx.com/support/documentation/spartan-6.htm
Spartan-6 Family Overview: This overview outlines the features and product selection of the Spartan-6 family.
Spartan-6 FPGA Data Sheet: DC and Switching Characteristics: This data sheet contains the DC and switching
characteristic specifications for the Spartan-6 FPGAs.
Spartan-6 FPGA Packaging and Pinout Specifications: This specification includes the tables for device/package
combinations and maximum I/Os, pin definitions, pinout tables, pinout diagrams, mechanical drawings, and thermal
specifications.
Spartan-6 FPGA Configuration User Guide: This all-encompassing configuration guide includes chapters on configuration
interfaces (serial and parallel), multi-bitstream management, bitstream encryption, boundary-scan and JTAG configuration, and
reconfiguration techniques.
Spartan-6 FPGA SelectIO Resources User Guide: This guide describes the SelectIO™ resources available in all Spartan-6
devices.
Spartan-6 FPGA Clocking Resources User Guide: This guide describes the clocking resources available in all Spartan-6
devices, including the DCMs and PLLs.
Spartan-6 FPGA Block RAM Resources User Guide: This guide describes the Spartan-6 device block RAM capabilities.
Spartan-6 FPGA DSP48A1 Slice User Guide: This guide describes the architecture of the DSP48A1 slice in Spartan-6
FPGAs.
Spartan-6 FPGA PCB Designers Guide: This guide provides information on the PCB design for Spartan-6 devices, with a
focus on strategies for making design decisions at the PCB interface level.
System Generator Users Guide: This guide provides information using System Generator with Simulink®to create DSP
designs targeted to Xilinx FPGAs.
Additional Support Resources
To search the database of silicon and software questions and answers or to create a technical support case in WebCase, see the
Xilinx website at: http://www.xilinx.com/support.

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
7
Qdesys Sensorless Field Oriented Control
Demo Setup & Instructions
This guide provides detailed information for getting started with the Xilinx Spartan-6 FPGA Motor Control
Development Kit using Qdesys IP for Sensorless Field Oriented Control of DC motors.
Introduction
The Xilinx Spartan-6 FPGA Motor Control Development Kit was designed by Avnet in collaboration with
Xilinx. The kit is designed for ease-of-use, flexibility to support multiple DC motor types, and
demonstration of advanced algorithms exhibiting high performance and efficiency.
Traditional HDL-based reference designs are provided as an introduction to FPGA-based motor control.
ISE®Design Suite: System Edition is used to implement the top-level design, leveraging System
Generator for DSP to design, verify, and generate HDL for a PI speed control loop using MathWorks®
Simulink®. These designs may be downloaded from Avnet’s Design Resource Center (DRC). Here is
the link to the Avnet DRC: http://www.em.avnet.com/en-us/design/drc/pages/default.aspx
In addition to these HDL designs, a demonstration of a powerful set of modular building blocks for
Sensorless Field Oriented Control (SFOC) from third-party IP provider Qdesys is also available on the
Avnet DRC. This design suite includes FOC algorithms, advanced modulation schemes, and a
comprehensive graphical user interface for monitoring motor parameters and fine tuning performance.
This User’s Guide will walk you through the steps to setup the Spartan-6 LX75T development board and
the Motor FMC daughter card and to run the basic Qdesys Sensorless Field Oriented Control
demonstration. If you have not already installed the Xilinx ISE®software, you will be directed through the
steps to install the software, get updates and generate a license.
What’s Available Online?
License for ISE Design Suite: System Edition
ohttp://www.xilinx.com/getproduct
ohttp://www.xilinx.com/tools/faq.htm
Development Kit home page with Documentation and Reference Designs
ohttp://www.xilinx.com/applications/industrial/motor-control
ohttp://www.em.avnet.com/spartan6motor
Technical Support
ohttp://www.xilinx.com/support
Qdesys IP pricing & information
ohttp://www.qdesys.com
omailto: info@qdesys.com

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
8
Field Oriented Control System Diagram
The diagram below shows a high level depiction of the main blocks and architecture for this Field
Oriented Control (FOC) demonstration. Two motor phase currents are sampled and the missing third
phase current is calculated using Kirchoff’s Current Law. The 3 phase currents are converted into a 2-
axis, stationary coordinate system using the Clarke Transform. The 2-axis system is then translated into
a rotating frame of reference (the rotor’s frame of reference) via the Park Transform. The PID loops
calculate and correct the error. The inverse transforms are applied and then a final modulation stage
creates the proper PWM sequence for the h-bridge circuitry to deliver power to the motor.
This closed loop control system enables precise control of motor torque, which leads to better efficiency,
smoother operation, lower cost motors, and longer lasting equipment. Note that in this demonstration, the
motor position (theta) is obtained by using a sensorless algorithm known as a Sliding Mode Observer.
This eliminates the need for costly encoders and bulky wiring harnesses. However, the Qdesys design
also allows an encoder connection, which is desirable in some applications.
Before you set up the board, please install the host PC software, including the Qdesys MC
Manager GUI and other software and settings needed to demonstrate the QDESYS IP.

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
9
QDESYS MC Manager GUI Installation
1. Install Microsoft .NET Framework 4.0 redistributable package Full version
a. Filename: dotNetFx40_Full_x86_x64.exe
b. URL: http://www.microsoft.com/download/en/details.aspx?id=17718
2. Install Microsoft Visual C++ 2010 Redistributable Package (x86)
a. Filename: vcredist_x86.exe
b. URL: http://www.microsoft.com/download/en/details.aspx?id=5555
3. Install National Instruments LabVIEW Run-Time Engine 2010 SP1
a. Filename: LVRTE2010sp1std.exe
b. URL: http://joule.ni.com/nidu/cds/view/p/id/2292/lang/en
4. Install Qdesys MC Manager
a. Archive Name: qdesys_demo_files.zip
b. Filename: mc_manager_rel_1.0.0.38.zip
c. URL: http://em.avnet.com/spartan6motor (click Support Files & Downloads)
After you have unzipped the mc_manager archive and run the mcm_setup.msi file, you’ll find a new entry
in your Windows ‘programs’ menu named ‘qdesys’. Here is the default path:
There are many useful files in this directory:
1. Mc_manager.pdf has additional documentation on how to use the demo. It can also be
accessed from the help menu of the demonstration GUI. The document you are reading is less
detailed, but contains instructions to more quickly get the demo up and running.
2. Mc_manager.exe will open up the GUI to control the motors
3. The db_motors and db_boards folders contain the motor configuration files and the board
configuration files respectively.

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
10
Host PC Network Configuration
1. Start Control Panel Network Connections
2. Local Area Connection -> Properties
3. Double-click Internet Protocol (TCP/IP)
4. Set IP Address to: 192.168.1.1 (the baseboard has a fixed IP address of 192.168.1.100, so you
may choose other host IP addresses around it, for example 192.168.1.2 –192.168.1.99)
5. Click on Control Panel Network and Sharing LAN Configure and set Link Speed and
Duplex to Autonegotiation as shown below:

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
11
Firewall Settings:
The host computer must allow transactions on its Ethernet port from the FPGA firmware. The easiest
way to allow this on the host PC is to disable all Firewall programs. However this is often not possible or
not desired. Instead a single exception can be made for this application by following a few simple steps in
Windows 7. The process will be similar for other Windows versions.
1. Start Control Panel Windows Firewall
2. Select the quick link on the left side pane Allow a program or feature through Windows
Firewall
3. Click the Change Settings button
4. Click Allow another program

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
12
5. Select the mc_manager.exe file from the root installation path shown below
6. Once you’ve added the exception for mc_manager.exe, check the boxes as shown below.

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
13
Motor Demo Hardware Requirements
All hardware required to run the motor demonstration and tutorials is provided with the Spartan-6 FPGA
Motor Control Development Kit.
Motor Demo Setup Instructions
1. Connect the Portescap 16BHS Brushless DC (BLDC) motor to the Motor FMC module ports –
MOTOR_1_SENSOR and MOTOR_1 (Leave motor 5-pin (black) sensor connector disconnected, as
this is a “sensorless” demo)..
Figure 2
2. Move SW800 on the Motor FMC module to the FMC_12V power position as shown in Figure 2.
3. Connect 6-pin baseboard power adapter.
4. Connect the Cat-5 Ethernet cable to the S6LX75T baseboard and your laptop.
5. Attach the HS1 JTAG USB Programming cable to the baseboard at connector J1.
6. Attach the 12V wall power supply to baseboard 6-pin connector J2 using the provided adapter cable.
7. Power up the board by turning the baseboard slider power switch ON.
The Qdesys demonstration bitstream must be loaded into the S6LX75T baseboard flash in order
to configure the FPGA. That process is covered in the following sections.
SW800
Power Switch
5-pin Sensor Connection
JTAG

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
14
Xilinx Software Installation
Follow these instructions for installing the Xilinx Lab Tools software, unless you already have a
version of the Xilinx tools installed on your host computer.
1. Run the ISE Design Suite Installer:
a. Option 1: Insert the ISE Design Suite DVD included in this kit into the computer
oIf the Installer does not start automatically, run the “xsetup” executable from the DVD
b. Option 2: Run the Web Installer that can be downloaded from
http://www.xilinx.com/support/download/index.htm
A screen will appear with a welcome dialog, two license agreement dialogs and an opportunity to select the
location for the software installation.
Note: Lab Tools software does not require a license file so that step can be skipped.
Figure 11: ISE Install Welcome Screen

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
15
Figure 12: ISE End-User License Agreement
Figure 13: ISE Third-Party Usage License Agreement

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
16
Figure 14: Select Edition to Install
Figure 15: Select Installation Options

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
17
Figure 16: Select Destination Directory and Program Folder
Figure 17: Installation Summary

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
18
Programming the Flash using iMPACT
The Qdesys demonstration bitstream must be loaded into the S6LX75T baseboard flash in order to
configure the FPGA. That process is covered in the following sections.
Locate the following zip file in the downloaded archive. This can be found in the archive downloaded at
the beginning of this guide during the QDESYS MC Manager GUI Installation (step 4).
Archive Name: qdesys_demo_files.zip
File name: lx75t_mc_rel_c2_0.47.0.zip
URL: http://em.avnet.com/spartan6motor (click Support Files & Downloads)
Extract the lx75t_mc_rel_c2_0.47.0.zip file to your host PC. You will use the “.mcs” file for programming
the flash.
Download the FPGA bitsream to the on-board flash
1. Open the Xilinx iMPACT programming tool at Start All programs Xilinx ISE Design Suite
ISE Design Tools 64 Bit tools iMPACT (path may differ slightly for non-Windows 7
versions of Xilinx tools)
2. Double-click “Boundary Scan” in the IMPACT Flows window
3. Select File Initialize chain
4. Now Right click on the device and select add SPI/BPI Flash and then select the file
“s6lx75t_spi_prom.mcs”(found in the lx75t_mc_rel_c2_0.47.0.zip archive you extracted)
5. Click ok and select the flash: N25Q128 in the drop down menu.
6. Right click on the FLASH device on top of the green Xilinx device and select program. The flash
will be programmed with the .mcs file.
You are now ready to run the demo!

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
19
Running the Demo
The Qdesys Motor Control Manager Application (mc_manager) provides an extensive graphical user
interface for controling and monitoring the system. This is an extensive suite of applications that allow the
expert user to monitor every aspect of the control loop and finely tune the peformance for their particular
motors and system parameters. In addition, there high level controls that allow for quick demonstrations
without expert knowledge of motor control or this application. The following steps will introduce you to
some of the basic functionality.
Using the GUI:
1. From the Windows Start menu choose Start All Programs Qdesys mc_manager
mc_manager
2. When the mc_manager GUI opens, click RUN to initialize the Ethernet connection. Verify
that the link connection status illuminates green in the window. Note that it may turn orange for
several seconds while negotiating the link. You should get this on the GUI after the connection is
complete:

Qdesys Sensorless Field Oriented Control Quick Start Guide
© Copyright 2012 Xilinx
20
NOTE –If the link status remains red, try one of the following actions:
Disable the firewall & antivirus software on your laptop
Check the IP address settings (see section “Host PC Network Configuration”)
Ensure that you programmed the FPGA configuration flash as described in previous
steps.
Setting the motor type:
3. Click Motor 0 to open the Main Panel for the motor connected to the MOTOR_1 position on the
FMC module.
4. In the window that opens click on File Open. You will see a selection of all motors.
5. Select the following motor which is provided with the S6MC1 kit: 16BHS-3C-P01.xml. This XML
file descriptor sets the appropriate parameters in the GUI for control of that particular motor,
selecting a different motor profile may lead to damages.
Note that adding new motors to the system requires only the addition of an XML file containing the
specific parameters of that motor (i.e. Torque Constant, BEMF Constant, etc.) and the user’s system.
Modifying and existing XML file is the best way to get started. This allows for rapid adoption with
custom motors not provided in the kit.
Other manuals for Spartan 6 FPGA
1
Table of contents
Other Xilinx Microcontroller manuals

Xilinx
Xilinx MIcroBlaze Development Spartan-3E 1600E Kit User manual

Xilinx
Xilinx MicroBlaze User manual

Xilinx
Xilinx Virtex-5 LXT User manual

Xilinx
Xilinx Virtex-7 FPGA VC7222 IBERT User manual

Xilinx
Xilinx MIcroBlaze Development Spartan-3E 1600E Kit User manual

Xilinx
Xilinx LogiCORE MicroBlaze User manual

Xilinx
Xilinx Virtex-II Pro PPC405 User manual

Xilinx
Xilinx ML410 User manual

Xilinx
Xilinx Virtex-4 FX12 User manual

Xilinx
Xilinx Virtex-4 ML455 User manual