Advertisement

Quick Links

INTRODUCTION

The Reference Design Kit Graphical User Interface (RDK-GUI) provides an easy way to configure motor
control system parameters. These parameters are related to the user's motor type and model. The param-
eters which can be configured include the following:
type of the motor driven;
3PH PMDC/AC or BLDC/AC (trapezoidal driven), or
3PH AC induction motor, or
3PH PMAC or BLAC (sinusoidal driven)
number of the poles pairs of the motor; and
control method.
Other, more specific parameters include types of control (i.e., Ramp Up Acceleration Speed for the "3PH
BLDC/AC trapezoidal" or Variable Frequency Control for the "3PH AC Induction" motor).
These settings reside in the .h header file used with the design kit software library (see
dalone RDK Libraries, page
manually by the user. To generate the firmware for the ST7MC microcontroller, the .h file and the software
library must be compiled using the Cosmic or Metrowerks compiler in the ST Visual Develop v3.2.0 or Soft-
ec STDV7 v3.10 environments. The firmware is then downloaded into the microcontroller memory (see
GENERATING THE BINARY CODE FILE (.S19) USING STVD7, page
Some features of the GUI are disabled and cannot be used with the RDK at this time, but they are left to
illustrate the complete features of the microcontroller. If you want to use these features, please refer to the
ST7MC Starter Kit at http://www.mcu.st.com.
November 2005
Reference Design Graphical User Interface (GUI)
16). The .h file is automatically generated by the GUI and/or can be modified
UM0121
USER MANUAL
ControlBD-7FMC2
Compiling the Stan-
14).
Rev 1.0
1/21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ControlBD-7FMC2 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST ControlBD-7FMC2

  • Page 1: Introduction

    To generate the firmware for the ST7MC microcontroller, the .h file and the software library must be compiled using the Cosmic or Metrowerks compiler in the ST Visual Develop v3.2.0 or Soft- ec STDV7 v3.10 environments. The firmware is then downloaded into the microcontroller memory (see GENERATING THE BINARY CODE FILE (.S19) USING STVD7, page...
  • Page 2: Table Of Contents

    Figure 8. ControlBD-7FMC2 Hardware Hookup ........
  • Page 3: Rdk-Gui Installation

    UM0121 - USER MANUAL RDK-GUI INSTALLATION To install the PC software tool: 1. Put the companion CDROM into the PC. 2. Click on “Start”, then “Run”. 3. Browse the CDROM directory to locate the Setup executable (..\Setup\Setup.exe). 4. Double-click on the “Setup.exe” file. 5.
  • Page 4: 3Ph Pmdc/Ac Or Bldc/Ac (Trapezoidal Driven) Motor Initial Settings

    UM0121 - USER MANUAL 3PH PMDC/AC or BLDC/AC (Trapezoidal Driven) Motor Initial Settings Clicking “Ok” after selecting the 3PH PMDC/AC or BLDC/AC (Trapezoidal) option opens the “3PH PMDC/ AC or BLDC/AC (Trapezoidal) - Sensorless - Voltage Mode” dialog box (see Figure 2., page 5).
  • Page 5 UM0121 - USER MANUAL The “Advanced Settings...” button enables the user to set the Advanced Parameters (see 3PH PMDC/ AC or BLDC/AC (Trapezoidal Driven) Motor Advanced Settings, page k. The “Generate Source Files” button enables the user to generate the GUI configuration .h files. A “Save”...
  • Page 6: 3Ph Pmdc/Ac Or Bldc/Ac (Trapezoidal Driven) Motor Advanced Settings

    UM0121 - USER MANUAL 3PH PMDC/AC or BLDC/AC (Trapezoidal Driven) Motor Advanced Settings Clicking the “Advanced Settings...” button opens the “Advanced Settings” dialog box (see Figure 3., page 7). This is where the advanced PMDC/AC motor type parameters are set. There are 6 groups of settings that are specified by the user: a.
  • Page 7 UM0121 - USER MANUAL Figure 3. 3PH PMDC/AC or BLDC/AC (Trapezoidal Driven) Motor Advanced Settings Window 7/21...
  • Page 8: 3Ph Ac Induction Motor Initial Settings

    UM0121 - USER MANUAL 3PH AC Induction Motor Initial Settings Clicking “Ok” after selecting the 3PH AC Induction Motor option opens the “3PH AC Induction Motor” dia- log box (see Figure 4., page 9). This is where the basic parameters for the AC Induction Motor with Sinu- soidal waveforms are set.
  • Page 9 UM0121 - USER MANUAL Figure 4. 3PH AC Induction Motor Basic Parameter Window 9/21...
  • Page 10: 3Ph Ac Induction Motor Advanced Settings

    UM0121 - USER MANUAL 3PH AC Induction Motor Advanced Settings Clicking the “Advanced Settings...” button opens the “Advanced Settings” dialog box (see Figure 5.). This is where the advanced parameters for the AC Induction Motor with Sinusoidal waveforms are set. There are 3 parameters that are specified by the user: a.
  • Page 11: 3Ph Pmac Or Blac (Sinusoidal Driven) Motor Initial Settings

    UM0121 - USER MANUAL 3PH PMAC or BLAC (Sinusoidal Driven) Motor Initial Settings Clicking “Ok” after selecting the 3PH PMAC or BLAC (sinusoidal driven) Motor option opens the PMAC Motor window (see Figure 6., page 12). This is where the basic parameters for the 3PH PMAC Motor with Sinusoidal waveforms are set.
  • Page 12 UM0121 - USER MANUAL Figure 6. 3PH PMAC or BLAC (Sinusoidal Driven) Motor Basic Parameter Window 12/21...
  • Page 13: 3Ph Pmac Or Blac (Sinusoidal Driven) Motor Advanced Settings

    UM0121 - USER MANUAL 3PH PMAC or BLAC (Sinusoidal Driven) Motor Advanced Settings Clicking the “Advanced Settings...” button opens the “Advanced Settings” dialog box (see Figure 7.). This is where the advanced parameters for the 3 Phase PMAC Motor with Sinusoidal waveforms are set. There are 4 parameters that are specified by the user: a.
  • Page 14: Generating The Binary Code File (.S19) Using Stvd7

    Softec STDV7 v3.10 toolset. Download and install them as follows: 1. Download the ST Visual Develop v3.2.0 (available at www.st.com), or download the ST7 Toolset for InDART-STX (available at www.softecmicro.com). With the Softec IDE it is possible to use the inDART-STX board-to-in-circuit debugger or program the RDK.
  • Page 15 UM0121 - USER MANUAL Figure 8. ControlBD-7FMC2 Hardware Hookup inDART Board ® ControlBD-7FMC2 ® ® ® AI11101 15/21...
  • Page 16: Compiling The Standalone Rdk Libraries

    CONFIGURING THE STANDALONE RDK LI- BRARIES USING THE RDK-GUI, page 1. Run the ST Visual Develop v3.2.0 or Softec STDV7 v3.10 and choose “File > Open Workspace”. 2. Select the “RDK Libraries\AC\acmotor.stw,” “RDK Libraries\PMDC\pmdcmotor.stw,” or “RDK Libraries\PMAC\pmacmotor.stw” as workspace files, depending on the motor type.
  • Page 17: Programming The St7Mc Firmware Using Softec St7 Toolset For Indart-Stx

    UM0121 - USER MANUAL PROGRAMMING THE ST7MC FIRMWARE USING Softec ST7 TOOLSET FOR Indart-STX When the compiled software is ready to be loaded into the Flash memory of the ST7MC microcontroller, it is time to program it. 1. Use the “Debug” pull-down menu to display and click on the “Start Debugging” button. 2.
  • Page 18: Programming The Firmware Into The St7Fmc Using The Datablaze Utility

    UM0121 - USER MANUAL PROGRAMMING THE FIRMWARE INTO THE ST7FMC USING THE DATABLAZE UTILITY When the binary code (.S19) is ready to be used, follow the steps below to download this firmware into the ST7MC microcontrollers memory. 1. If it is not already installed in previous step, download and install the Softec STDV7 v3.10 environment.
  • Page 19 UM0121 - USER MANUAL Table 2. Binary Files (.S19) Folder Name Binary Filename Description Binary executable that drives the 3PH AC Induction motor ac_cosmic.S19 compiled with Cosmic RDK Libraries\AC\Release Binary executable that drives the 3PH AC induction motor ac_metroworks.S19 compiled with Metrowerks Binary executable that drives the 3PH BLDC/AC or PMDC/ pmdc_cosmic.S19 AC (trapezoidal driven) motor compiled with Cosmic...
  • Page 20: Revision History

    UM0121 - USER MANUAL REVISION HISTORY Table 3. Document Revision History Date Version Description 09-November-2005 First edition 20/21...
  • Page 21 This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners ©...

Table of Contents