STM8/128-MCKIT STMicroelectronics, STM8/128-MCKIT Datasheet

EVAL KIT MOTOR CONTROL STM8S

STM8/128-MCKIT

Manufacturer Part Number
STM8/128-MCKIT
Description
EVAL KIT MOTOR CONTROL STM8S
Manufacturer
STMicroelectronics
Series
STM8Sr

Specifications of STM8/128-MCKIT

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
STM8S2xx
Primary Attributes
Brushless DC (BLDC) & AC Induction (ACIM) Motors
Secondary Attributes
Joystick & LCD User Interface
Processor To Be Evaluated
STM8S
Data Bus Width
8 bit
Operating Supply Voltage
2.95 V to 5.5 V
Silicon Manufacturer
ST Micro
Silicon Core Number
STM8
Features
Motor Control Applications, The Inverter Is Driven Using The Space Vector PWM Modulation Technique
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
497-10032
1
June 2009
Introduction
The STM8/128-MCKIT starter kit is an integrated system designed to provide a complete,
ready-to-use motor control application developed around the STMicroelectronics STM8
microcontroller.
This starter kit is particularly suited to drive 3-phase brushless motors (either AC induction
or permanent magnet types) and demonstrates how effectively the STM8 microcontrollers
can be used in real-world motor control applications.
The STM8/128-MCKIT starter kit can be run in various ways:
However, the main advantage of the STM8/128-MCKIT is that you can use it to create your
own applications and re-program the STM8 microcontroller. You can develop your own
applications using the dedicated software libraries provided in the starter kit in conjunction
with a third-party IDE and C compiler.
This manual describes:
For information about the STM8 microcontroller features, refer to the datasheet. The STM8
evaluation board features, peripherals, and connectors are described in the STM8/128-
EVAL user manual (UM0482).
For information on the BLDC and AC induction motor software libraries and how to use them
in motor control application development projects, refer to the STM8S three-phase BLDC
software library (UM0708) and the STM8S three-phase AC induction motor software library
user manual (UM0712) respectively. You will find these manuals, and all related
documentation on the STM8/128-MCKIT CD-ROM.
Drive is based on scalar control (BLDC or ACIM) for three-phase motors.
Position and/or speed measurement is implemented using Hall sensors or a
tachometer.
Sensorless control is also implemented.
The inverter is driven using the PWM modulation technique.
As a plug-and play demo, out of the box, with the provided BLDC motor, in sensorless
speed control mode.
With an AC induction motor, after reprogramming the microcontroller, in open loop or in
speed control mode.
The STM8/128-MCKIT starter kit components, and how to set up the hardware to run
the provided BLDC motor or an AC induction motor.
How to run the STM8/128-MCKIT starter kit in standalone mode.
The BLDC daughterboard (MB843).
STM8/128-MCKIT motor control starter kit
Doc ID 15774 Rev 2
User Manual
UM0709
www.st.com
1/22

Related parts for STM8/128-MCKIT

STM8/128-MCKIT Summary of contents

Page 1

... With an AC induction motor, after reprogramming the microcontroller, in open loop or in speed control mode. However, the main advantage of the STM8/128-MCKIT is that you can use it to create your own applications and re-program the STM8 microcontroller. You can develop your own applications using the dedicated software libraries provided in the starter kit in conjunction with a third-party IDE and C compiler ...

Page 2

... Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Safety warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.3 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.4 Important notice to users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 STM8/128-MCKIT hardware setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.1 Package checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.1.1 3.1.2 3.1.3 3.1.4 3.2 Brushless DC motor (default 3.3 AC induction motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.4 Hardware configuration for a BLDC motor (default 3.5 Hardware configuration for an AC induction motor ...

Page 3

UM0709 A.1 Modification of MB631 for BLDC drive . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 A.2 Recommended reading . ...

Page 4

... Intended use The STM8/128-MCKIT starter kit is made of components designed for demonstration purposes and must not be included in electrical installations or machinery. Instructions about the setup and use of the STM8/128-MCKIT starter kit must be strictly observed. 2.3 Operation After disconnecting the board from the voltage supply, several parts and power terminals must not be touched immediately because of possible energized capacitors or hot surfaces ...

Page 5

... Flash memory of the STM8 microcontroller and to debug the software before using the application in standalone mode. A 24V DC SHINANO BLDC motor (5): The motor included in the STM8/128-MCKIT starter kit is a SHINANO inner rotor type 4-pole brushless DC motor with Hall sensor and encoder ...

Page 6

... The provided firmware is designed to operate with the SELNI induction motor. It can be ordered as an accessory with the following order code: ST7MC-MOT/IND. To use the STM8/128-MCKIT starter kit with the Selni AC induction motor, you need Veff AC power supply (polarity not important, earth connection recommended). ...

Page 7

... The output voltage is mostly created by a pulse width modulation (PWM) technique. The 3- phase voltage waves are shifted 120° to each other and thus a 3-phase motor can be supplied. STM8/128-MCKIT hardware setup Doc ID 15774 Rev 2 7/22 ...

Page 8

... This section describes the procedure for operating the STM8/128-MCKIT with a BLDC motor. The default settings that are present on the STM8 evaluation board and on the power board when you receive the STM8/128-MCKIT starter kit are intended for a BLDC motor. When you are using the BLDC motor, follow these steps: 1. ...

Page 9

... Not all the default positions of the jumper are coincident with the silk-screen printing. The jumper settings that are different from the silk-screen printing are highlighted in the MB459B power board jumper settings for a BLDC motor (default) evaluation board jumper settings for a BLDC motor STM8/128-MCKIT hardware setup drive. (default). Doc ID 15774 Rev 2 ...

Page 10

... STM8/128-MCKIT hardware setup Table 1. MB459B power board jumper settings for a BLDC motor (default) Jumper W10 W11 W12 W13 W14 W15 W16 W17 W18 W19 Table 2. STM8 evaluation board jumper settings for a BLDC motor (default) Jumper JP1 JP2 Set to PSU position to supply the STM8 evaluation board through the jack (CN6) ...

Page 11

... This section describes the procedure for operating the STM8/128-MCKIT with an AC induction motor. You must change the default settings that are present on the STM8 evaluation board and on the power board when you receive the STM8/128-MCKIT starter kit because they are intended for a PMSM motor. When you are running the AC induction motor, follow these steps: 1 ...

Page 12

... STM8/128-MCKIT hardware setup Table 4. MB459B power board jumper settings for an AC induction motor Jumper W10 W11 W12 W13 W14 W15 W16 W17 W18 W19 12/22 Settings for AC induction motor with tachometer feedback “<35V only” or “HIGH VOLTAGE” Not present ...

Page 13

... Present, if required to filter the noise from the tachogenerator signal Present Present between 2-3 Present between 1-2 Present between 1-2 to configure the HW for the DAC functionality Or present between 2-3 to configure the HW for the dissipative brake Not present motor. Doc ID 15774 Rev 2 STM8/128-MCKIT hardware setup and Table 5: STM8 13/22 ...

Page 14

... BLDC daughterboard MB843 4 BLDC daughterboard MB843 4.1 Features The BLDC daughterboard MB843 is an extension of the STM8/128-EVAL evaluation board MB631 required to implement the BLDC drive. It includes: A BEMF detection network, A current regulation/regulation network, A neutral voltage reconstruction network. The board has been designed to be compatible with the voltage level applicable to the power board MB459B (“ ...

Page 15

UM0709 4.2 Layout Figure 3. BLDC daughterboard MB843 layout 1. J8-J12 connector for the 20-pin auxiliary connector cable for BLDC sensorless. This is used to provide the three motor phase voltage signals and the bus voltage signal to the daughterboard ...

Page 16

BLDC daughterboard MB843 4.3 Jumper configuration Table 6 describes the jumpers. Table 6. BLDC daughterboard MB843 jumper settings Jumper Set to default position of silk- J1 screen printing Set to reverse position of silk-screen printing Set to default position of ...

Page 17

UM0709 4.4 Schematic Figure 4. BLDC daughterboard MB843 schematic + 3 2 GPIOC GPIOB GPIOA 1 Doc ID 15774 Rev 2 BLDC daughterboard MB843 5 2 17/22 ...

Page 18

Running the starter kit 5 Running the starter kit 5.1 Running the BLDC motor See STM8S three-phase BLDC software library v1.0 (UM0708) Chapter 2: Running the demo program. 5.2 Running the AC induction motor See STM8S three-phase AC induction motor ...

Page 19

... Creating your custom application The main benefit of the STM8/128-MCKIT starter kit is that you can use it to create your own applications and reprogram the STM8 microcontroller. In the toolkit, you have the source files for BLDC and AC induction motors, and the STM8 standard library. They are intended to provide a sound basis for your own application developments ...

Page 20

... Appendix A Additional information A.1 Modification of MB631 for BLDC drive It is possible to assemble the system of STM8/128-MCKIT by acquiring separately the various parts described in with compatible hardware. The control board released with the STM8/128-MCKIT (marked with MB631/2) has been modified to work with the BLDC firmware. ...

Page 21

UM0709 Revision history Table 7. Document revision history Date 12-Jun-2009 22-Jun-2009 Revision 1 Initial release. 2 Added note to Section Doc ID 15774 Rev 2 Revision history Changes 2.1. 21/22 ...

Page 22

... Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. ...

Related keywords