237-00156 SofTec Microsystems SRL, 237-00156 Datasheet

no-image

237-00156

Manufacturer Part Number
237-00156
Description
BOARD ISOLATION FOR ST7
Manufacturer
SofTec Microsystems SRL
Type
Optoisolation Boardr
Datasheet

Specifications of 237-00156

Contents
*
For Use With/related Products
STMicro ST7FMC Motor Control Device
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Related parts for 237-00156

237-00156 Summary of contents

Page 1

...

Page 2

AK-ST7FMC Starter Kit for STMicroelectronics ST7FMC Motor Control Device User’s Manual Revision 1.0 Copyright © 2004 SofTec Microsystems DC00718 ® ...

Page 3

We want your feedback! SofTec Microsystems is always on the look-out for new ways to improve its Products and Services. For this reason feedback, comments, suggestions or criticisms, however small, are always welcome. SofTec Microsystems E-mail (general information): info@softecmicro.com E-mail ...

Page 4

Contents 0 Before Starting 11 0.1 Safety Warnings 11 0.1.1 General 11 0.1.2 Intended Use 11 0.1.3 Operation 11 0.1.4 Important Notice to Users 12 0.2 Required Skills 12 0.3 Credits 12 1 Overview 15 1.1 What is the AK-ST7FMC ...

Page 5

Contents 4 Getting Started for AC Motors 33 4.1 Introduction 33 4.2 Step-by-Step Tutorial 33 4.2.1 Tools Required 33 4.2.2 Installing the Software 34 4.2.3 Installing the Hardware 34 4.2.4 Tutorial Steps 36 5 Connectors and Functions 39 5.1 Power ...

Page 6

Suggested BLDC Motor Learning Steps 67 6.1.2 Suggested AC Motor Learning Steps 68 6.2 Motor Type Choice 69 6.3 BLDC Motor Parameters 69 6.3.1 Main Motor Settings 71 6.3.2 Start-Up Settings 73 6.3.3 Real-Time Settings 76 6.3.4 Advanced Settings ...

Page 7

...

Page 8

Index of Figures Figure 2.1: AK-ST7FMC Hardware Components 22 Figure 2.2: Motor Control Board 23 Figure 3.1: Motor Type Choice Dialog Box 29 Figure 3.2: AK-ST7FMC Control Panel Main Window for BLDC Motors 30 Figure 4.1: AK-ST7FMC Control Panel Main ...

Page 9

...

Page 10

Index of Tables Table 5.1: BLDC Motor Closed Loop Standalone Firmware Defines 44 Table 5.2: Option Bytes Settings for ST7FMC Programming 45 Table 5.3: AC Motor Closed Loop Standalone Firmware Defines 48 Table 5.4: Open and Closed Loop Standalone Controls ...

Page 11

...

Page 12

Before Starting 0.1 Safety Warnings 0.1.1 General In operation, the AK-ST7FMC Starter Kit has uninsulated wires, moving or rotating parts (when connected to a motor), as well as hot surfaces. In case of improper use, wrong installation or maloperation, ...

Page 13

Before Starting 0 0.1.4 Important Notice to Users While every effort has been made to ensure the accuracy of all information in this document, SofTec Microsystems assumes no liability to any party for any loss or damage caused by errors ...

Page 14

Mr. Jawhar Turki (STMicroelectronics) Mr. Thomas Vicenzotto (SofTec Microsystems) This manual has been edited by Paolo Xausa (SofTec Microsystems). AK-ST7FMC User's Manual Page 13 0 ...

Page 15

...

Page 16

Overview 1.1 What is the AK-ST7FMC Starter Kit? The AK-ST7FMC Starter Kit is an integrated system designed to provide the user with a complete, ready-to-use motor control application. The Starter Kit is built around the STMicroelectronics ST7FMC microcontroller, which ...

Page 17

Overview 1.2 ST7FMC Family Overview The ST7FMC microcontroller family is designed for mid-range applications 1 with a Motor Control dedicated peripheral. All devices are based on a common industry-standard 8-bit core, featuring an enhanced instruction set and are available with ...

Page 18

In the DC commutator motor, the current polarity is altered by the commutator and brushes. On the contrary, in the brushless DC motor, the polarity reversal is performed by power transistors switching in synchronization ...

Page 19

Overview 1.5 Recommended Reading This documentation describes how to use the AK-ST7FMC Starter Kit and 1 how to set up basic debugging sessions with STMicrolectronics Visual Debug IDE together with the inDART-STX in-circuit debugger/programmer. Additional information can be found in ...

Page 20

Getting Technical Support Technical assistance is provided free to all customers. For technical assistance, documentation and information about products and services, please refer to your local SofTec Microsystems partner. SofTec Microsystems offers its customers a free technical support service ...

Page 21

...

Page 22

... The Motor Control board (1). § A BLDC motor ( AMETEK blower) (2). § An in-circuit debugger/programmer (inDART-STX) (3). § An Optoisolation board (code 237-00156) (4). § An “Alternate Z Sampling” daughter board, to use (optionally) with BLDC motors (code 237-00158) (5). § Cables: motor cable (6), Optoisolation board’s power supply cable (7), USB Cable (8), ISP Cables (also called ICP cables in STMicroelectronics terminology) (9) ...

Page 23

AK-ST7FMC Components 2.2 The Motor Control Board The following figure illustrates the main connectors and functions of the Motor Control board. Page Figure 2.1: AK-ST7FMC Hardware Components ...

Page 24

Figure 2.2: Motor Control Board 1. Motor and board input power stage, auxiliary power supply, and voltage rectification. 2. Prototype area. 3. RS-232 connector. 4. Push buttons and trimmers for standalone operation. 5. Hall sensors input. ...

Page 25

AK-ST7FMC Components inverter and level shifter. 2.3 The BLDC Motor The motor included in the AK-ST7FMC Starter Kit is an AMETEK 5” BLDC Low-Voltage (24 V DC) Blower. 2 For electrical specifications and mechanical dimensions please refer ...

Page 26

STMicroelectronics terminology) plugs into the Optoisolation board, while another ISP cable goes from the Optoisolation board to the Motor Control board’s ICC connector. The Optoisolation board helps to prevent damage to the PC in the event of a catastrophic failure ...

Page 27

...

Page 28

Getting Started for BLDC Motors 3.1 Introduction The Motor Control board is interfaced to a host PC via the inDART-STX in- circuit debugger/programmer. A control panel application is provided which allows you to change (in real time) all of ...

Page 29

Getting Started for BLDC Motors 3.2.2 Installing the Software Note: before to connect the inDART-STX board to the PC recommended that you install the AK-ST7FMC Control Panel application first (see below), so that the inDART-STX USB driver will ...

Page 30

Connect inDART-STX to the Optoisolation board with the other ISP cable provided (from inDART-STX’s “ISP” connector to the Optoisolation board’s “ICC IN” connector). 5. Connect inDART-STX to the host PC with the USB cable provided. The green “POWER” LED ...

Page 31

Getting Started for BLDC Motors 3. A dialog box will appear asking you to check for proper jumpers configuration. Click the “OK” button. 4. The AK-ST7FMC Control Panel main window will open. 3 Figure 3.2: AK-ST7FMC Control Panel Main Window ...

Page 32

Congratulations! You have successfully completed this tutorial! You can now continue to experiment with the AK-ST7FMC Control Panel on your own. Additionally, you can develop and debug your own application by installing the “inDART-STX for ST7” software (which includes a ...

Page 33

...

Page 34

Getting Started for AC Motors 4.1 Introduction The Motor Control board is interfaced to a host PC via the inDART-STX in- circuit debugger/programmer. A control panel application is provided which allows you to change (in real time) all of ...

Page 35

... Getting Started for AC Motors § The Motor Control board; § The three-phase, SELNI AC motor (available as an accessory—SofTec Microsystems order code 237-00157); § The inDART-STX in-circuit debugger/programmer; § The Optoisolation board. 4.2.2 Installing the Software Note: before to connect the inDART-STX board to the PC ...

Page 36

BLDC motor cable from the “MOTOR” connector (J12) and from the “HALL SENSOR” connector (J19). 3. Connect the AC motor phases to the Motor Control board’s “MOTOR” connector (J12) with the motor cable provided with the ...

Page 37

Getting Started for AC Motors Note: both Windows 2000 and Windows XP may issue a warning the first time inDART-STX is connected to the PC. This warning is related to the fact that the USB driver used by inDART-STX is ...

Page 38

Figure 4.1: AK-ST7FMC Control Panel Main Window for AC Motors 5. Click the “START” button. A firmware will be automatically created based on all of the AK-ST7FMC Control Panel’s parameter and downloaded to the ST7FMC microcontroller in the Motor Control ...

Page 39

Getting Started for AC Motors Additionally, you can develop and debug your own application by installing the “inDART-STX for ST7” software (which includes a complete development toolchain) present on the SofTec Microsystems “System Software” CD-ROM. 4 Page 38 ...

Page 40

Connectors and Functions 5.1 Power Supply 5.1.1 Introduction The Motor Control board can be supplied in two ways: § Single power supply (for motors requiring a voltage greater than 18 V). Power is supplied to the J3 connector. Power ...

Page 41

Connectors and Functions 5.1.2 Optoisolation Board Supply The Optoisolation board requires power supply. This power is conveniently provided by the Motor Control board’s J2 connector. Note: J1 and J2 connectors are internally connected to the same ...

Page 42

S1 jumper. In single power supply mode, selects the motor voltage. In dual power supply mode, it must be removed. 5.2 Push-Buttons and Potentiometer (Standalone Mode) 5.2.1 Introduction Four potentiometer and two push-buttons are available on the Motor Control ...

Page 43

Connectors and Functions Note: in order to compile a project linked to the STMicroelectronics Motor Control library, you must have a full version of either the Metrowerks or Cosmic C compiler. Due to the size of the STMicroelectronics Motor Control ...

Page 44

BEMF delay, falling BEMF delay, Ki and Kp). These parameters must be fine tuned for the minimum and maximum motor speed (the same speeds specified in the Advanced Settings window) plus two other ...

Page 45

Connectors and Functions _Sensor_Metrowerks.wsp” workspace file that is located under your working directory. Click “Open”. 11. Only in the case of Closed Loop control, some defines in the “mtc.h” file must be edited according to the collected parameters. The defines ...

Page 46

Using the DataBlaze programming utility, you can now program the ST7FMC microcontroller with the generated executable. To launch DataBlaze, select Start > Programs > SofTec Microsystems > inDART-STX > ST7 > DataBlaze Programmer. 14. From the DataBlaze’s main menu, ...

Page 47

Connectors and Functions board’s push-buttons and potentiometers, please refer to the “Push- Buttons”, “Potentiometers” and “Standalone Mode: Driving a BLDC Motor” sections later in this chapter. 5.2.4 Preparing for Standalone Mode: AC Motors 1. Set up the Motor Control board ...

Page 48

Ki, Kp Figure 5.3: AC Motor Closed Loop Parameters Collecting: Ki, Kp Slip Frequency Figure 5.4: AC Motor Closed Loop Parameters Collecting: Slip Frequency 7. To run an AC motor in standalone mode (Open Loop not necessary to ...

Page 49

Connectors and Functions 10. From the main menu, choose File > Open Workspace. Select the “AC_Metrowerks.wsp” workspace file that is located under your working directory. Click “Open”. 11. Only in the case of Closed Loop control, some defines in the ...

Page 50

AC_Metrowerks.s19 file located under the “object\Metrowerks” subdirectory in your working directory. Click the “OK” button. 16. From the DataBlaze’s main menu, select Edit > Option Bytes. The Option Bytes must be edited as detailed in Table 5.2: Option Bytes ...

Page 51

Connectors and Functions 1. “ON/OFF”: starts or stops the motor. 2. “RESET”: resets the ST7FMC microcontroller. 5.2.6 Potentiometers The following figure shows the location of the four potentiometers available in the Motor Control board “POT1”: current reference setting ...

Page 52

AK-ST7FMC Control Panel before generating the .h files. § If the W12 jumper select the “FIXED” position, the current reference comes from the “POT1” potentiometer. The “FIXED” position can be selected only ...

Page 53

Connectors and Functions Table 5.5: Open and Closed Loop Standalone Controls for an AC Motor Potentiometer Open Loop RV1 Sets the stator frequency (from 256 Hz) RV2 Sets the stator voltage (from the limit ...

Page 54

Figure 5.7: Motor Outputs and Feedback 1. J8: filtering capacitors jumper selection. 2. W14, W15, W16: Sensor/Sensorless mode jumper selection. 3. W13: tachometer jumper selection (AC motors only). 4. J19: Hall sensors input connector. 5. J12: motor phases output ...

Page 55

Connectors and Functions 5.3.3 Sensorless Mode (Standard Method) To drive a BLDC motor in Sensorless mode using classic method (dividers and filters on each of the three phases and reconstruction of the motor virtual neutral), the “Alternate Z Sampling” daughter ...

Page 56

MCIC input. This signals needs to be filtered by the C56 capacitor. The filtering is done by placing a jumper between pins 7 and 8 in the J8 connector. 5.5 ICC Connector The ST7FMC microcontroller can be in-circuit programmed ...

Page 57

Connectors and Functions The W3 and W4 jumpers should be removed when using an external power inverter. The W5 jumper should be present if no thermal monitoring is available on the external power inverter, otherwise the thermal sensor must be ...

Page 58

Summary of Jumper and Connector Settings 5.8.1 Jumpers Summary Table 5.6: Jumpers Summary Name Selection S1 “HIGH VOLTAGE” “<35V ONLY” Not present W3 Present Not present W4 Present Not present W5 Present Not present W6 Not present Upper position ...

Page 59

Connectors and Functions Name Selection “5V” (right position W8 “5V” (left position) Right position W9 “INT” (lower position) “EXT” (upper position) W10 Upper position Lower position W11 Upper position 5 Lower position W12 “VARIABLE” “FIXED” W13 Not present W14 Upper ...

Page 60

Name Selection Description W13 Present AC motor with tachometer sensor (the tachometer signal is connected to the MCIC input of the ST7FMC). W14 Lower position W15 Lower position W16 No Jumper J8 All jumpers present AC motor: tachometer signal is ...

Page 61

Connectors and Functions 5.8.2 Connectors Summary/Pinout The following table details the pinout of each of the Motor Control board’s connector. Name Page 60 Table 5.7: Connectors Summary/Pinout Reference Description/Pinout 2 1 Optional 15 ...

Page 62

Name Reference AK-ST7FMC User's Manual Description/Pinout LIN output connector. 1. BAT – LIN Transceiver External Supply Voltage 2. LIN – Bidirectional I/O 3. VSS Board BLDC motor power connector (when overriding internal ...

Page 63

Connectors and Functions Name J7 J11 5 J12 J13 10 2 Page 62 Reference Description/Pinout 4 LIN control connector WUP – LIN Wake-Up Input 2. INH – LIN Inhibit Output 3. EN – LIN Enable Input 4. 2.2 ...

Page 64

Name Reference J16 J17 J18 2 1 J19 AK-ST7FMC User's Manual Description/Pinout Tachometer input connector for AC motor speed loop control. 1. Tachometer Bias (0 Tachometer Input ...

Page 65

Connectors and Functions 5.8.3 Jumper Settings for a BLDC Motor (Default) Table 5.8: Jumper Settings Example for a BLDC Motor Jumper Settings for the Default AMETEK 24 V BLDC Motor W10 W11 ...

Page 66

Jumper Settings for an AC Motor Table 5.9: Jumper Settings Example for an AC Motor Jumper Settings for a Generic AC Motor, Onboard Inverter Power Stage, S1 “<35V ONLY” or “HIGH VOLTAGE” ...

Page 67

...

Page 68

AK-ST7FMC Control Panel Features 6.1 Introduction Note: the AK-ST7FMC Control Panel doesn’t reflect the full capabilities of the ST7FMC microcontroller and uses only partially its built-in resources. To take full advantage of the ST7FMC capabilities, it may be necessary ...

Page 69

AK-ST7FMC Control Panel Features button and, in case the motor fails to start, adjust start-up settings and/or advanced settings. When the motor starts, adjust the delay coefficients for a given duty cycle (speed) to get the best motor efficiency. 4. ...

Page 70

Motor Type Choice When starting the AK-ST7FMC Control Panel, you must choose which motor type you are working with. Table 6.1: AK-ST7FMC Control Panel: Motor Type Choice Parameter Name Motor Type 3 Phase Choice Brushless Permanent Magnet AC or ...

Page 71

AK-ST7FMC Control Panel Features 6 Figure 6.1: AK-ST7FMC Control Panel Main Window for BLDC Motors Note: In the following tables, the name of the ST7FMC registers corresponding to the AK-ST7FMC Control Panel settings is reported in bold when applicable. This ...

Page 72

Main Motor Settings Table 6.2: AK-ST7FMC Control Panel: BLDC Motor Main Settings Parameter Name Motor Type AMETEK Motor Other BLDC Motor Poles Pair Number of pair poles of the motor connected to the Starter Kit. BLDC motors with up ...

Page 73

AK-ST7FMC Control Panel Features Parameter Name Driving Mode 6 Current Limitation Speed Regulation Page 72 Parameter Values/Description Sensor 60° To run the motor in Sensor mode you need to properly set jumpers W14, W15, W16. For the AMETEK motor the ...

Page 74

Parameter Name Closed Loop 6.3.2 Start-Up Settings A successful motor start- start-up that occurs 100% of the times and in a very short time. To achieve a successful start-up, two phases are required: the alignment phase and the ...

Page 75

AK-ST7FMC Control Panel Features Table 6.3: AK-ST7FMC Control Panel: BLDC Motor Start-Up Settings Parameter Name Final Current Final Duty Cycle Alignment Duration Mechanical Acceleration Rate 6 Duty Cycle Current Number of Z Events Before Autoswitched Mode Step Number without Z ...

Page 76

Parameter Name Electrical Theoretical projected mechanical speed based on the 64th step Frequency duration and acceleration rate. Based on the number of pairs of poles and acceleration rate, the AK-ST7FMC Control Panel will compute the length of all of the ...

Page 77

AK-ST7FMC Control Panel Features 6.3.3 Real-Time Settings Table 6.4: AK-ST7FMC Control Panel: BLDC Motor Real-Time Settings Parameter Name Target Electrical Frequency Duty Cycle 6 Current Reference Delay Coefficient Page 76 Parameter Description Closed Loop target speed. When running in Closed ...

Page 78

Parameter Name BEMF Rising Sets the coefficient used to compute the delay when the BEMF is Edge rising. MWGHT register. BEMF Falling Sets the coefficient used to compute the delay when the BEMF is Edge falling. MWGHT register. Integral Closed ...

Page 79

AK-ST7FMC Control Panel Features 6 Figure 6.2: BLDC Motor Advanced Settings Dialog Box Page 78 ...

Page 80

Table 6.5: AK-ST7FMC Control Panel: BLDC Motor Advanced Settings Parameter Name PWM Settings Switches PWM Inverter switches (IGBT/MOSFET) PWM output frequency. Frequency In the firmware, the frequency is set as follows: in Voltage mode, the 12-bit timer frequency is set ...

Page 81

AK-ST7FMC Control Panel Features Parameter Name PWM Distribution Speed Range Minimum Mechanical Speed Maximum Mechanical 6 Speed Current Loop Current Blanking Window Current Event Counter Filter Page 80 Parameter Values/Description Sets PWM signal distribution between the switches’ high side and ...

Page 82

Parameter Name Maximum In Current mode, to avoid damaging the motor, the user can set a Allowed Current maximum current acceptable for the motor. This value cannot be exceeded by the PI control (in Closed Loop) and by the current ...

Page 83

AK-ST7FMC Control Panel Features Parameter Name Delay for Sampling Zero Crossing After D Blanking Window Z Event Counter Filter 6 Delay Computation Z Event Protection Page 82 Parameter Values/Description At fSCF Pulse Amplitude Modulation method. The Motor frequency Control board ...

Page 84

Parameter Name Threshold When using the STMicroelectronics’ patented sensorless BLDC Voltage method, this parameter sets the voltage of the second comparator input (the voltage to be compared to BEMF, first comparator input being the BEMF). A list of pre-set values ...

Page 85

AK-ST7FMC Control Panel Features Parameter Name 6 Page 84 Parameter Values/Description Alternate It is possible to get more reliable End-of- Hardware/ Demagnetization event detection by using Software hardware detection together with software detection. This consists in extending by software (after ...

Page 86

Parameter Name All Software Demagnetization Available when the “All Software” option above is selected. This time Time should be longer than the physical demagnetization time of the motor, but short enough not to delay the BEMF detection. For each target ...

Page 87

AK-ST7FMC Control Panel Features Parameter Name Brake Time The following figures illustrates the options available for the “Z Event Sampling Method” parameter. Sampling at end of the PWM OFF state Sampling at PWM ON, with delay, once 6 Sampling at ...

Page 88

AC Motor Parameters This set of parameters allows you to control the SELNI three-phase induction motor (to be ordered separately) or any other three-phase induction motors/compressors in sinewave mode. Please ensure that the correct jumper settings has been set ...

Page 89

AK-ST7FMC Control Panel Features 6.4.1 Main Motor Settings Table 6.6: AK-ST7FMC Control Panel: AC Motor Main Settings Parameter Name Motor Type Poles Pair Speed 6 Regulation Speed Sensor Feedback Page 88 Parameter Values/Description SELNI Induction The SELNI motor is an ...

Page 90

Parameter Name Tachometer Available when the “Speed Sensor Feedback” option above is Periods per enabled, and specifies the number of poles pair of the tachometer Revolution generator (if the tachometer has 8 pairs of poles, then 8 pulses per revolution ...

Page 91

AK-ST7FMC Control Panel Features 6.4.4 Real-Time Settings Table 6.9: AK-ST7FMC Control Panel: AC Motor Real-Time Settings Parameter Name Stator Frequency Set Voltage According to V/F Curve Voltage Target Rotor Frequency Target Slip 6 Frequency Integral Coefficient (Ki) Proportional Coefficient (Kp) ...

Page 92

Parameter Name Slip Frequency The slip speed (frequency) is the stator speed (frequency) minus the rotor speed (frequency). This value can be read RPM (click the “Hz” or “RPM” button next to the value to switch between ...

Page 93

AK-ST7FMC Control Panel Features Table 6.10: AK-ST7FMC Control Panel: AC Motor Advanced Settings Parameter Name Switches PWM Frequency Minimum Stator Frequency Maximum Stator Frequency Dead Times Value 6 Stop Condition Brake Level Brake Time Page 92 Parameter Values/Description Inverter switches ...

Page 94

Electrical Specifications Table 7.1: Motor Control Board Electrical Specifications Parameter Motor Types Main Input Voltage (J3) Auxiliary Input Voltage (J1) Auxiliary Output Voltage (J2) Maximum Output Current on Motor Phases (J12) Analog Input Voltage (J17) Digital Input/Output Voltage (J18) ...

Page 95

...

Page 96

...

Page 97

...

Page 98

...

Related keywords