ST套件使用说明
- 格式:doc
- 大小:730.00 KB
- 文档页数:4
Data BriefFor further information contact your local STMicroelectronics sales office.March 2007 Rev 11/3STR9-COMSTICKComplete low-cost kit for evaluation and development ofSTR91xF networked embedded applicationsFeatures■STR9-comStick with STR912F featuring ARM966E ® RISC core up to 96 MHz, 512 + 32Kbytes Flash and 96Kbytes RAM ■10/100 Ethernet, USB 2.0 full speed connectors for demo/user application ■Evaluation features for CAN, UART, ADC, ...■In-circuit debugging/programming via dedicated USB connector■Complete Hitex toolchain: HiTOP5 forprogramming and debugging, GNU C/C++ compiler for ARM (no code size limit)■C source code for all evaluation applications and libraries including:–Embedded web server with uIP TCP/IP –USB mouse–Vectored interrupt controller and timer –ADC and I/Os–CAN monitor and generator–STR9 library from STMicroelectronics ■Full documentation including Quick start guide and Hitex’s “STR9 insiders guides”■Web links for updates, FAQs and informationDescriptionThe STR9-comStick is a complete, low-cost evaluation and development package that provides a fast and easy introduction to the networking features of ST’s ARM966E ® core-based STR9 family of microcontrollers. It is specifically designed to help applicationdesigners learn about STR9 features supporting 10/100 Ethernet, USB 2.0 full speed and CAN connectivity.The STR9-comStick includes several sample applications implementing device peripherals (Ethernet, USB, CAN, ADC, ...) plus a web serverapplication so that users can explore networking of embedded applications with the STR9. The C source code for all sample applications isprovided so that users can modify them, and then rebuild and debug the application.The software package includes an unlimited Hitex toolchain tailored to the STR9-comStick. Software tools include an unlimited GNU C/C++ compiler for ARM to build/rebuild the sample applications and Hitex HiTOP5 development environment for code editing, device programming and application debugging.For programming the STR912F and debugging applications, the STR9-comStick connects to a host PC via a dedicated USB port.Application power is also provided via the USBconnection with the host PC.Ordering information STR9-COMSTICK Ordering informationST order code: STR9-COMSTICKThe STR9-comStick is available from STMicroelectronics’ sales offices and distributors, orfrom Hitex and their distributors.The STR9-comStick tool package includes:●STR9-comStick with STR912F microcontroller●HiTOP5 development environment for programming and debugging●GNU C/C++ compiler for ARM●TCP/IP stack port for ST9-comStick● C source code for all evaluation applications and libraries including:–Embedded web server–USB mouse–Vectored interrupt controller and timer–ADC and I/Os–CAN monitor and generator–STR9 library from STMicroelectronics●Full documentation including Quick start guide and Hitex’s “STR9 insiders guides”Software and sample applications are available for download from Hitex(/str9-comstick/).The latest versions of STR9 documentation and the STR9 libraries are available for freedownload at /mcu.Revision historyDate Revision Changes28-Mar-20071Initial release.2/3STR9-COMSTICKPlease Read Carefully: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.Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.ST and the ST logo are trademarks or registered trademarks of ST in various countries.Information in this document supersedes and replaces all information previously supplied.The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.© 2007 STMicroelectronics - All rights reservedSTMicroelectronics group of companiesAustralia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America3/3。
(Chinese)DM-ST0002-05经销商手册ST-9001ST-9000ST-6800ST-5800ST-4700ST-4703目录重要提示 (3)为了安全起见 (4)安装 (6)将使用到的工具列表 (6)安装至车把 (6)安装刹车线 (8)安装变速线缆 (9)调整 (14)手柄行程调节 (14)保养 (15)支架和手柄的分解 (15)B接片体及手柄主体的组装 (16)支架外套的更换 (17)更换铭牌 (17)更换主手柄支撑 (18)更换SL导线器 (20)更换线盖 (22)如何拉出断开的内线端(变速线) (23)•经销商手册主要适合专业自行车技工使用。
对于未接受自行车安装专业培训的使用者,请勿试图利用经销商手册自行安装零部件。
如果您对手册信息的任意部分不太清楚,请勿进行安装。
请咨询购买地或当地自行车经销商地点寻求帮助。
•务必阅读产品附带的全部使用说明书。
•除经销商手册中所述信息之外,请勿对产品进行拆卸或改装。
•经销商手册和使用说明书可从我们的网站()上在线查阅。
•经销商须遵守其所在国家、州或地区相应的规章制度。
•安装零部件时,务必遵照使用说明书中的指示。
建议使用原装Shimano部件。
如果螺钉和螺母等部件松动或破损,自行车可能突然摔倒从而导致负重伤。
此外,当调整不正确时,可能发生故障导致自行车突然跌倒,因而受重伤。
•执行维护任务(比如更换部件)时,请务必佩戴保护眼镜或护目镜来保护您的眼睛。
•请在通读经销商手册后妥善保管。
另外,务必让使用者知悉以下事项:•各自行车的操作方法可能视不同产品而异。
因此,充分了解并熟悉您自行车的刹车系统(包括刹车手柄压力和自行车控制特性)的操作方法非常重要。
不当使用您自行车的刹车系统可能导致失控或骑行者摔落,从而引起严重受伤。
关于正确的操作方法,请咨询专业的自行车经销商或阅读用户手册。
在骑自行车时练习刹车操作与其他基本功能非常重要。
•如前刹车施力过猛,则可能将车轮锁紧,自行车将可能朝前倾倒,从而导致重伤。
1/30文档ID 022910第1版2012年3月 STM32F0DISCOVERY STM32F0探索套件UM1525前言STM32F0DISCOVERY 是意法半导体STM32F0系列微控制器的探索套件,用于帮助你探索STM32F0 Cortex-M0微控制器的功能,轻松开发应用设计。
STM32F0探索套件基于1颗STM32F051R8T6微控制器,组件包括ST-LINK/V2嵌入式调试工具、LED 指示灯、按键和1个原型板。
图1: STM32F0探索套件用户手册2/30UM1525文档ID 022910第1版目录目录1. 约定 (5)2. 快速入门 (6)2.1 开始使用 (6)2.2 系统要求 (6)2.3 支持STM32F0探索套件的开发工具链 (6)2.4 订货代码 (6)3. 特性 (7)4. 硬件与原理图 (8)4.1 STM32F051R8T6 微控制器 (11)4.2 嵌入式ST-LINK/V2编程器/调试器 (13)4.2.1 使用ST-LINK/V2向板载STM32F0烧录和调试代码 (14)4.2.2 使用ST-LINK/V2向外部STM32应用板烧录和调试代码 (15)4.3电源和电源选择 (16)4.4 LED指示灯 (16)4.5 按键 (16)4.6 JP2(Idd)﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍164.7 OSC 时钟-----------------------------------------------------------------------------174.7.1 OSC时钟电源 (17)4.7.2 OSC 32kHz时钟电源174.8 焊桥 (18)4.9 扩展连接器 (19)5. 尺寸图 (26)6. 原理图 (27)7. 修改历史记录 (30)3/30文档ID 022910第1版图表目录UM1525表格目录表1:通断约定 (5)表2:跳线状态 (13)表3:调试接口CN2(SWD) (15)表4:焊桥 (18)表5:微控制器引脚与电路板功能 (19)表6:文档修订历史记录 (30)4/30文档ID 022910第1版图形目录UM1525图形目录图1:STM32F0探索套件 (1)图2:硬件框图 (8)图3:电路板正面示意图 (9)图4:电路板背面示意图 ..................................................................................................10图5:STM32F051R8T6封装﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍ 11图6:STM32F051R8T6框图﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍ 12图7:典型配置 (13)图8:STM32F0探索套件接口图 (14)图9:ST-Link 接口图 (15)图10:STM32F0探索套件尺寸图 ..................................................................................26图11:STM32F0探索套件原理图﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍ 27图12:ST-LINK/V2(仅SWD)﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍ 28图13:微控制器 (29)5/30文档ID 022910第1版约定UM15251. 约定下表列出了本文档中某些约定的定义表1 通断约定约定定义跳线JP1接通插入跳线帽跳线JP1关断拆除跳线帽焊桥SBx 接通通过焊接使焊桥使SBx 闭路焊桥SBx 关断焊桥SBx 开路6/30文档ID 022910第1版快速入门UM15252 快速入门STM32F0探索套件是一套高性价比且简单易用的开发工具,能够让开发人员快速评估STM32F0高性能微控制器,并利用这款微控制器的先进功能开发应用设计。
ST官⽅电机控制套件⽤户⼿册UM0709User ManualSTM8/128-MCKIT motor control starter kit 1 IntroductionThe 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.●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.The STM8/128-MCKIT starter kit can be run in various ways:●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.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. Y ou 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:●The STM8/128-MCKIT starter kit components, and how to set up the hardware to runthe provided BLDC motor or an AC induction motor.●How to run the STM8/128-MCKIT starter kit in standalone mode.●The BLDC daughterboard (MB843).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. Y ou will find these manuals, and all related documentation on the STM8/128-MCKIT CD-ROM.June 2009Doc ID 15774 Rev 21/22/doc/219f7fae551810a6f52486d0.htmlContents UM0709Contents1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Safety warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.1General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.2Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.3Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.4Important notice to users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43STM8/128-MCKIT hardware setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.1Package checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.1.1Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.1.2Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.1.3Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.1.4Components not provided . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.2Brushless DC motor (default) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.3AC induction motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73.4Hardware configuration for a BLDC motor (default) . . . . . . . . . . . . . . . . . . 83.5Hardware configuration for an AC induction motor . . . . . . . . . . . . . . . . . . 113.6Power supply connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134BLDC daughterboard MB843 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.1Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.2Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.3Jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.4Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175Running the starter kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185.1Running the BLDC motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185.2Running the AC induction motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6Creating your custom application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Appendix A Additional information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2/22 Doc ID 15774 Rev 2UM0709ContentsA.1Modification of MB631 for BLDC drive . . . . . . . . . . . . . . . . . . . . . . . . . . . 20A.2Recommended reading. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20A.3Software upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20A.4Getting technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Doc ID 15774 Rev 23/22Safety warnings UM07094/22 Doc ID 15774 Rev 22 Safety warnings2.1 GeneralIn operation, the STM8/128-MCKIT starter kit has non-insulated wires, moving or rotatingparts (when connected to a motor), as well as hot surfaces. In case of improper use, incorrect installation or misuse, there is danger of serious personal injury and damage to property. All operations, installation and maintenance are to be carried out by skilled technical personnel (applicable accident prevention rules must be observed).When the power board is supplied with voltages greater than 30 V AC/DC, all of the board and components must be considered “hot”, and any contact with the board must be avoided. The operator should stay away from the board as well (risk of projection of material in case of components destruction, especially when powering the board with high voltages).The rotating parts of motors are also a source of danger.The STM8/128-MCKIT starter kit contains electrostatic sensitive components which may be damaged through improper use.Note:The board's power supply must be electrically insulated before connecting any cables that link the PC to the board, such as the STX-RLINK or a serial cable. Otherwise an earth/ground loop would occur, as there is no insulation board.2.2 Intended useThe STM8/128-MCKIT starter kit is made of components designed for demonstrationpurposes 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 OperationAfter 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.2.4 Important notice to usersWhile every effort has been made to ensure the accuracy of all information in this document, STMicroelectronics assumes no liability to any party for any loss or damage caused by errors or omissions or by statements of any kind in this document, its updates, supplements, or special editions, whether such errors are omissions or statements resulting from negligence, accident, or any other cause.Doc ID 15774 Rev 25/223 STM8/128-MCKIT hardware setupThis section provides a detailed description of the components included in the STM8/128-MCKIT starter kit. It also describes the default settings for a brushless DC motor (BLDC), and explains how to change them to use an AC induction motor.3.1 Package checklistFigure 1 shows the layout and connections of the major components of the STM8/128-MCKIT starter kit.Figure 1.STM8/128-MCKIT layout3.1.1 HardwareThe STM8/128-MCKIT starter kit includes the following items:●The MB459B power board (1): This board is described in the MB459B power boarduser manual (UM0379) provided on the STM8/128-MCKIT CD-ROM.●The MB631 STM8 evaluation board (2): This board is described in the STM8/128-EVAL user manual (UM0482) provided on the STM8/128-MCKIT CD-ROM.●An MB843 BLDC daughterboard (3): This board is described in the chapter BLDC daughterboard MB843. The purpose of the BLDC daughterboard is to implement the BEMF detecting network and the current regulation/limitation network.●An STX-RLink USB–SWIM debugger (4): The RAISONANCE STX-RLink USB-JTAG debugger allows you to reprogram the 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. For electrical specifications and mechanical dimensions, refer to the SHINANO datasheets on the STM8/128-MCKIT CD-ROM.●An auxiliary power supply block TR30R (6)●The following cables:–Motor cables (7)– A motor connector HE10 34-pin cable (8)– A USB cable (9)–One SWIM cable and the related adapter (10)–An auxiliary connector for BLDC sensorless HE10 20-pin cable (11)● A bag with three 0.1ohm resistors is included to configure the MB459B board toincrease the maximum motor nominal current level up to 5 amps.●The STM3210B-MCKIT CD-ROM.3.1.2 SoftwareThe STM8/128-MCKIT CD-ROM includes the BLDC and AC induction motor softwarelibraries.When you receive the STM8/128-MCKIT, the STM8 microcontroller is programmed bydefault with the BLDC sensorless firmware.3.1.3 DocumentationThe STM8/128-MCKIT CD-ROM also includes the following product documentation in PDFformat:●STM8Sxxx access line and performance line datasheets●STM8Sxxx reference manual●STM8/128-MCKIT motor control kit user manual (UM0709, the present manual)●STM8S three-phase BLDC software library v1.0 user manual (UM0708)●STM8S three-phase AC induction motor software library v1.0 user manual (UM0712)●STM8/128-EVAL user manual (UM0482)●MB459B power board user manual (UM0379)●SHINANO motor datasheet.In the box with the STM8/128-MCKIT, there is also:●The MCD product finder●Product flyers and brochures●The MCD miniROM● A guarantee record cardprovidednot3.1.4 ComponentsThe STM8/128-MCKIT starter kit does not include:● A power supply: To use the STM8/128-MCKIT starter kit with the provided BLDC motor, you need a 24V-3A minimum power supply.●An AC induction motor: The STM8/128-MCKIT can operate with an AC induction motor. 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 a 42V DC or32Veff AC power supply (polarity not important, earth connection recommended).6/22 Doc ID 15774 Rev 23.2 Brushless DC motor (default)The brushless DC motor (BLDC) is a rotating electric machine where the stator is a classic 3-phase stator like that of an induction motor and the rotor has surface-mounted permanent magnets. In this respect, the BLDC motor is equivalent to an induction motor where the air gap magnetic field is produced by a permanent magnet. The use of a permanent magnet to generate a substantial air gap magnetic flux makes it possible to design highly efficient motors.A BLDC motor is driven by trapezoidal currents coupled with the given rotor position. The generated stator flux together with the rotor flux, which is generated by a rotor magnet, defines the torque, and thus speed, of the motor. The trapezoidal currents have to be applied to the 3-phase winding system in a way that angle between the stator flux and the rotor flux is kept close to 90° to get the maximum generated torque. T o meet this criterion, the motor requires electronic control for proper operation.For a common 3-phase BLDC motor, a standard 3-phase power stage is used.The same power stage is used for AC induction and BLDC motors. The power stage utilizes six power transistors with independent switching. The power transistors are switched in the also called six step operation.3.3 AC induction motorThe AC induction motor is a rotating electric machine designed to operate from a 3-phase source of alternating voltage.The stator is a classic 3-phase stator with the winding displaced by 120°.The most common type of induction motor has a squirrel cage rotor in which aluminum conductors or bars are shorted together at both ends of the rotor by cast aluminum end rings. When three currents flow through the three symmetrically placed windings, a sinusoidally distributed air gap flux generating the rotor current is produced. The interaction of the sinusoidally distributed air gap flux and induced rotor currents produces a torque on the rotor. The mechanical angular velocity of the rotor is lower then the angular velocity of the flux wave by so called slip velocity.In adjustable speed applications, AC induction motors are powered by inverters. The inverter converts DC power to AC power at the required frequency and amplitude.The inverter consists of three half-bridge units where the upper and lower switches are controlled complementarily. As the power device's turn-off time is longer than its turn-on time, some dead-time must be inserted between the turn-off of one transistor of the half bridge and turn-on of its complementary device.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.Doc ID 15774 Rev 27/223.4 Hardware configuration for a BLDC motor (default)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.Verify that all the jumpers on the power board (MB459B) are in their default position. Refer to Table1: MB459B power board jumper settings for a BLDC motor (default) for information on jumper settings, and if necessary, to the MB459B power board User Manual for the location of the jumpers on the board.2. Verify that all of the STM8 evaluation board (MB631) jumpers are in their default position. Refer to T able2: STM8 evaluation board jumper settings for a BLDC motor (default) for information on jumper settings, and if necessary, to the STM8/128-EVAL board User Manual for the location of jumpers on the board.3. Verify that all of the BLDC daughterboard (MB843) jumpers are in their default position. Refer to Table3: BLDC daughterboard MB843 jumper settings for a BLDC motor (default) for information on jumper settings.4. Verify that the BLDC daughterboard (MB843) is fitted on top of STM8/128-EVAL board through the CN1 and CN5 connectors (see Figure2).5. Verify that the adapter board (MB844) is fitted on top of power board (MB459B) through the J4 connector (see Figure2).6. Verify that the BLDC daughterboard (MB843) and the adapter board (MB844) are connected with the provided 20-pin auxiliary connector cable for BLDC sensorless (see Figure2).7. Verify that the BLDC motor cables are correctly plugged into the power board's MOTOR connectors (J5 and J8). The power board (MB459B), the STM8 evaluation board(MB631), and the provided BLDC motor are already assembled together over a metal support when you receive the kit.8. Power up the STM8 evaluation board with the auxiliary power supply block TR30R.9. Power up the power board by connecting the output terminals of your DC power supply to the MAINS connector (J3). The provided voltage must be 24V DC and your power supply must be able to provide a current of 3A.The STM8/128-MCKIT is now ready to run with the BLDC motor.8/22 Doc ID 15774 Rev 2Doc ID 15774 Rev 29/22Figure 2.STM8/128-MCKIT assembly Caution:Before supplying the board, double check proper connections, make sure that there are no metal parts on, below or around the PCB and that there are no undesired earth/ground loops due to measuring equipment such as an oscilloscope.Caution:Be sure that the STM8/128-EVAL used is marked with (MB631/2) or with (MB631); in the second case you must also check the required modifications reported in the Appendix Section A.1: Modification of MB631 for BLDC drive .Note: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 Table 1: MB459B power board jumper settings for a BLDC motor (default) and Table 2: STM8 evaluation board jumper settings for a BLDC motor (default).Table 1.MB459B power board jumper settings for a BLDC motor (default)Jumper Setting for the SHINANO 24VBLDC motor providedSetting for a high-voltageBLDC motorW1“<35V only”“<35V only” or “HIGH VOLTAGE”W4Not presentW5PresentW6PresentW7Not presentW8Not presentW9Not presentW10Present and soldered on reverse position of silk-screen printingW11PresentW12Not presentW13Not presentW14PresentW15Not presentW16Present and set on reverse position of silk-screen printingW17Not presentW18Not presentW19Not presentTable 2.STM8 evaluation board jumper settings for a BLDC motor (default) Jumper SettingJP1Present between 1-2JP2PresentJP3Set to PSU position to supply the STM8 evaluation board through the jack (CN6) And set to DTB position to supply the BLDC daughterboard (MB843)JP4PresentJP5Not presentJP6Present between 1-2 JP7Not presentJP8PresentJP9Not presentJP10PresentJP11Present between 2-3 JP12Present between 1-2JP13Present between 1-2 to configure the HW for the DAC functionality Or present between 2-3 to configure the HW for the dissipative brakeJP14Not present10/22 Doc ID 15774 Rev 2Table 3.BLDC daughterboard MB843 jumper settings for a BLDC motor (default)Jumper SettingJ1Present and set on default position of silk-screen printingJ2Present and set on default position of silk-screen printingJ3Present and set on default position of silk-screen printingJ4Present and set on default position of silk-screen printingJ5Present and set on default position of silk-screen printing (SENSORLESS)J13Present and set on default position of silk-screen printing (VARIABLE)3.5 Hardware configuration for an AC induction motorThis section describes the procedure for operating the STM8/128-MCKIT with an ACinduction motor. Y ou must change the default settings that are present on the STM8evaluation board and on the power board when you receive the STM8/128-MCKIT starter kitbecause they are intended for a PMSM motor. When you are running the AC inductionmotor, follow these steps:1.Remove the BLDC daughterboard (MB843) from the STM8/128-EVAL evaluation board(MB631).2. Remove the adapter board (MB844) from the power board (MB459B).3. Change the jumpers on the power board (MB459B) to the settings required for runningwith an AC induction motor. Refer to Table4: MB459B power board jumper settings foran AC induction motor for information on jumper settings, and if necessary, to theMB459B power board user manual for the location of the jumpers on the board.4. If the peak value of the motor phase current should be greater than 3 ampere, replacethe R4 shunt resistor on the power board (MB459B) by the 0.1ohm resistor included inthe bag delivered with the kit.5. Verify that the jumpers on the STM8/128-EVAL evaluation board (MB631) are in theirdefault position. Refer to T able5: STM8 eval board jumper settings for an AC inductionmotor for information on jumper settings, and if necessary, to the STM8/128-EVALboard user manual for the location of jumpers on the board.6. Disconnect the PMSM motor from the power board's MOTOR connectors (J5 and J8).The power board (MB459B), the STM8/128-EVAL evaluation board (MB631), and theprovided PMSM motor are already assembled together over a metal support when youreceive the kit.7. Connect your AC induction motor to the power board by connecting the three phases tothe J5 connector, and the tachometer cables to the J6 connector.8. Power up STM8/128-EVAL evaluation board with auxiliary power supply block TR30R.9. Power up the power board by connecting the output terminals of your DC power supplyto the MAINS connector (J3). The provided voltage must not be higher than 42V DC or32Veff AC (GND recommended).After re-programming the STM8S microcontroller with the ACIM motor control firmware, theSTM8/128-EVAL is now ready to run with your AC induction motor.Caution:Before supplying the board, double check proper connections, make sure that there are no metal parts on, below or around the PCB and that there are no undesired earth/groundloops due to measuring equipment such as an oscilloscope.Doc ID 15774 Rev 211/22Table 4.MB459B power board jumper settings for an AC induction motorJumper Settings for AC induction motor with tachometer feedbackW1“<35V only” or “HIGH VOLTAGE”W4Not presentW5PresentW6PresentW7Not presentW8Not presentW9Not presentW10Present and soldered on reverse position of silk-screen printingW11PresentW12PresentW13Not presentW14Not PresentW15Not presentW16Present and set on reverse position of silk-screen printingW17Not presentW18Not presentW19Not present12/22 Doc ID 15774 Rev 2Doc ID 15774 Rev 213/22Note:The jumper settings that are different from the silk-screen printing are highlighted in the Table 4: MB459B power board jumper settings for an AC induction motor and Table 5: STM8 eval board jumper settings for an AC induction motor .3.6 Power supply connectionsJ1 connector of power board (MB459B) provides a completely independent control of the DC bus voltage (power) and the +15V supply for the gate drivers. This is interesting for development purposes, when one needs to smoothly increase the motor's operating voltage from zero, while the gate drivers are operating with their nominal supply.When supplying the power stage with an external +15V power supply using the J1 connector, special care must be taken that:1. No jumpers are connected on jumper W1.2. The short circuit that replaces the D3 diode footprint must be open. This is to avoid having reverse current in the L7815 voltage regulator.Table 5.STM8 eval board jumper settings for an AC induction motorJumper Setting JP1Present between 1-2JP2PresentJP3Set to PSU position to supply the STM8 evaluation board through the jack (CN6)JP4Present JP5Not present JP6Present between 1-2JP7Not present JP8PresentJP9Present, if required to filter the noise from the tachogenerator signalJP10Present JP11Present between 2-3JP12Present between 1-2JP13Present between 1-2 to configure the HW for the DAC functionality Or present between 2-3 to configure the HW for the dissipative brakeJP14Not presentBLDC daughterboard MB843UM0709 4 BLDC daughterboard MB8434.1 FeaturesThe BLDC daughterboard MB843 is an extension of the STM8/128-EVAL evaluation boardMB631 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 thepower board MB459B (“<35V only” or “HIGH VOLTAGE”).The BEMF detection network allows the following strategies of BEMF sampling:●BEMF sampling during off time (ST patented method),●BEMF sampling during on time,●Dynamic method based on the duty cycle applied.For more details see the STM8S three-phase BLDC software library v1.0 (UM0708). Note:For applications that require a limited range of motor speed, for example if the ratio between maximum and minimum speed is below 4, it is possible to replace the BEMF detectingnetwork with a simple resistive voltage divider.The current regulation/regulation network is used to adapt the signal to perform the currentcontrol in the BLDC drive. Control is made possible by a special characteristic of the STM8microcontroller. See for more details the STM8S three-phase BLDC software library v1.0(UM0708).The neutral voltage reconstruction network is used to reconstruct the neutral voltage (alsocalled star point) of the motor in order to perform the BEMF sampling during the on time.Two strategies of the neutral point reconstruction are implemented by the board:●Bus voltage partitioning,●Star point reconstruction starting from the motor phases.Note:It is possible to configure either method (see Section4.3: Jumper configuration) but only the first is implemented by the firmware.Note:Even if bus partitioning is also performed in the power board MB459B, the partitioning performed by the MB843 makes use of a voltage partitioning that allows a better resolutionin the neutral voltage reconstruction.The board is easily configurable to run the BLDC drive in sensorless mode, or to use theHall sensors as position/speed feedback.14/22 Doc ID 15774 Rev 2UM0709BLDC daughterboard MB843Doc ID 15774 Rev 215/224.2 LayoutFigure 3.BLDC daughterboard MB843 layout1.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 MB843. 2.Auxiliary phase voltage connector CN2 (optional input). It can be used alternatively to the J8-J12 connecting directly the motor phase voltage signals using custom wire connections. Using that connector you can tighten the cables with a screwdriverconnecting motor phase A in the pin 1, motor phase B in the pin 2, motor phase C in pin 3, the DC bus voltage in pin 4 and the ground in pin 5.3. Jumper J5 sets sensorless or sensored configuration.4. Jumper J13 sets the current reference or limitation.5.Potentiometer P1 sets the fixed current limitation.6. Jumper J47. Jumper J38. Jumper J29. Jumper J1BLDC daughterboard MB843UM070916/22 Doc ID 15774 Rev 24.3 Jumper configurationTable 6 describes the jumpers.Table 6.BLDC daughterboard MB843 jumper settingsJumperSettingDescriptionJ1Selects the motor neutral voltage reconstruction networkSet to default position of silk-screen printingBus voltage partitioningSet to reverse position of silk-screen printingStar point reconstruction starting from the motor phasesJ2,J3,J4Configures the BEMF attenuation networkSet to default position of silk-screen printingThree GPIOs perform the dynamic attenuation of the BEMFsignal this allows the sampling during off time, during ontime and the dynamic selection of the two methods.Set to reverse position ofsilk-screen printing Fixes the BEMF signals attenuation and frees the three GPIOsNot present。
Made & Designed ByST-3500ST-3500ST3500 OPERATION MANUAL ST3500操作手冊Please read the OPERATION MANUAL before use 使用前請詳閱操作手冊ST3500ST3500 OPERATION MANUALT3500操作手冊Heating Sleeve 導熱套筒T oolholder Extension Base刀桿延長桿基座↓Round Tray刀桿隔環↓Index索 引▓Introduction產品介紹▓Standard Mode Operation標準模式操作說明Insert the tool燒結刀具Take out the tool取出刀具操作▓Custom Mode Operation自選模式操作說明▓Heating Sleeve Instruction導熱套筒使用說明▓Shrink Fit Program for Dual End Set雙頭龍燒結操作說明T wo M odes I ntroduction模式介紹Standard Mode 標準模式Heating time have been set up according to the size of shank. This setting is based on YAMAKEN's actual test results. If you would like to adjust heating seconds, please choose Custom Mode Operation.燒結時間已根據刀桿內孔徑不同設定完成。
燒結時間設定是依據山謙Move the induction coil to the properposition. (The distance from the top ofinduction coil to the top of chuck is about25 ~ 30mm)手持握把將加熱線圈移動至適合的位置(加熱頭端部至燒結刀桿鼻端距離約25~30mm)。
用户手册STM8S体验系统板STM8S105S4-PKT软件例程使用说明1 前言STM8S105S4-PKT是ST MCU体验套件中是基于STM8S105S4T6微控制器的,用于评估和体验STM8S功能的电路板。
STM8S105S4T6是精简型的STM8S系列芯片之一,它基于ST公司的先进STM8内核,具有16K字节片上闪存以及一系列丰富的外设接口。
通过ST-LINK、STX-RLINK 等调试工具,可以调试、烧写板载的STM8S105S4T6芯片。
STM8S105S4-PKT电路板提供的接口和外设有USART、ADC、LED灯、蜂鸣器以及触摸感应按键等功能。
该体验套件利用这些接口与外设为用户提供了6个例程,供用户参考:z Music:音乐播放例程;z CSS:时钟切换及时钟安全系统的使用例程z Sinwave:正弦波发生例程z LED:LED控制例程z UART:串口与PC通讯例程z Touch Sensing:RC电容触摸式按键例程注:1)本例程仅适用于STM8S体验系统板STM8S105S4-PKT。
2)所有的例程均使用Cosmic C语言编译器,用户请预先安装Cosmic C编译器。
3)所有项目均基于STVD 4.1.2集成开发环境,用户请预先安装相应软件。
4)所有例程使用ST-Link或STX-RLink作为在线调试工具,请在进行在线调试前确认PC与调试工具的硬件连接。
硬件功能描述STM8S105S4-PKT软件例程使用说明2 硬件功能描述2.1 主要特性● 通过套件中的ST-LINK或另外购买的STX-RLINK等调试工具支持免费的STVD开发环境,支持Cosmic STM8的16K免费编译器● 基于STM8S微控制芯片系列芯片之一的STM8S105S4T6高级STM8内核,具有3级流水线的哈佛结构内置16K字节Flash和2K字节RAM内置1024字节EEPROM44个引脚:最多34个通用I/O端口,其中15个大电流端口2个普通16位定时器,1个可产生3路互补PWM输出的高级16位定时器1个带有8位预分频器的8位基本定时器10位ADC,最多有9个ADC输入通道1个带有同步时钟输出的UART ,支持智能卡、红外IrDA和LIN接口1个高达8M位/s的SPI1个支持400K位/s的I2C具有单线接口模块(SWIM)和调试模块(DM)● 可以作为软硬件架构的参考设计● 通过板上的触摸按键,可以体验STM8S的触摸按键方案和性能● 通过板上的蜂鸣器,体验STM8S内置的蜂鸣器驱动单元● 通过板上的扩展区,可以方便地扩展用户自己的外设和体验与STM8S接口操作2.2 板上的资源● 基于STM8内核的STM8S105S4T6芯片● 可选择的8MHz主时钟外部晶振● 三个GPIO驱动的LED灯● 可以输入模拟信号的单通道电位器● 一个复位按键● 一个可由用户定义的按键● 一个RS232(DB9)连接头● 一个SWIM单线调试接口连接头● 三个电容触摸感应式按键● 一个蜂鸣器● 采用PWM+RC滤波的模拟信号输出3 参考代码说明3.1 Music 例程说明3.1.1 项目描述本例程通过采用PWM信号驱动蜂鸣器播放音乐并调节音量与音调,来说明如何使用Timer,ADC,GPIO,TLI:9使用HSI为系统时钟源,并配置恰当的分频比;9 Timer2 CC1通道配置为PWM模式用以驱动蜂鸣器;9 Timer4 溢出中断用作LD4,LD3,LD2闪烁的时基;9 TLI(PD7)中断(用户按键)用来切换音乐的音调;9 ADC 采样电位器电压来调节占空比以控制音量。
ST套件使用说明
1,电源
本编程器编程时不需要外部供电,所以若你只编程可不接电源,将配套串行线连接至电脑及套件即可。
本套件实验部分须提供DC9V-15V电流大于200MA的电源(本站产品配套提供),本电源可由套件上的电源开关打开与关闭。
2,编程器所支持的MCU列表
12F629,16F630,16F84,16F84A,16C505等等。
3,插座
本套件的两个锁紧插座,其中串行口旁边一个为编程(烧写)插座,中间一个为实验插座,芯片在烧写插座上烧好程序后就可以移到实验插座上运行,从而实验程序正确否。
4,跳线
本套件实验不同的项目由跳线选择I/O口,清根据原理图及相应实验做选择。
5,IC插放方式
实验座与编程座插放方式相同,下面与几个常用型号为例说明插放方式:
PIC16F84、PIC16C84、16F630、16C505、12F629第1脚对准锁紧座的第1脚放入(锁紧座第1脚为插座手柄旁第1脚)6,烧写软件
本编程器可支持IC-PROG和PonyProg2000。
建议使用IC-PROG,无论支持的器件,烧写速度及稳定性都优于PonyProg2000 7,IC-PROG怎样才能在WIN2K/WINXP下使用
首先,将目录下icprog-driver解压缩,再将下层文件icprog.sys复制到icprog.exe同一个路径下,然后执行icprog.exe,进入settings,option,选择MISC,将Enable NT/2000/XP Driver 打钩,点OK退出,以后你的IC-PROG就可以在WIN2K/WINXP 下执行了.
IC-PROG使用说明:
若你的IC-PROG是第一次使用,你必须做如下设置:
第一步:(适用于WINDOWS NT/2000/XP )(WINDOWS98不需此步骤,请直接跳过此步)
首先,将目录下icprog-driver解压缩,再将下层文件icprog.sys复制到icprog.exe同一个路径下.
第二步:OPTION设置
首先双击icprog.exe进入icprog编程界面,点击菜单settings,弹出下拉菜单,选中菜单中的
options,如下图一:
1.打开options,并点击MISC,设置MISC一栏 Process priority之Realtime有效其它两项无效,若你的系统为WINDOWS NT/2000/XP还需设置Enable NT/2000/XP Drivere有效(98的系统则不用设置Enable NT/2000/XP Drivere)如下左图所示。
2.点击Programming一栏,设置Verify after programminge有效(注意此项有效时,烧写芯片前右边配置位中的CP就不能划钩,也就是说芯片不能加密,但是如果Verify after programminge无效将有可能不能正确的效验芯片),verift during programming有效,如下右图所示。
3.点击Confirmation,设置Programming a device有效,Overwriting a file有效,Erasing adevice有效,如下左图。
确认设置好后,点击OK退出OPTIONS设置。
第三步:Hardware设置
点击菜单settings,弹出下拉菜单,选中菜单中的Hardware F3,如下图所示:
进入Hardware界面,设置Programmer为JDM Programmer, Ports为编程器连接口Com1/Com2, I/O Delay为10(因电脑参数的差异,有时须略作调整),Interface为 Direct I/O,Communication全部无效,确认设置好后点击OK退出,如下图。
上面部分设置是第一次使用IC-PROG必须的设置,以后使用中若没有更改什么就不需要再做上述设置。
以下为每次烧写芯片需要的设置和烧写的方法:
1.连接好编程器与电脑,编程座上放置好要烧写的芯片.
2.执行ic-prog.exe,选择要烧写的芯片的型号,如下图:
3.打开要烧写的HEX文件,如下左图:
4.根据需要,设置好各配置位,如下右图:(注意WDT,CP,MCLR等划钩时为有效,这点现PonyProg2000相反)(请注意若Verify after programminge被设为有效也就是被点上钩,则配置位中的CP将不能被设为有效,否则程序将出现校验通不过的现象) (本站ST套件所有配套程序实例设置为XT振荡,WDT无效,PWRT建议设为无效,CP建议设为无效)
5.选择工具栏Program all开始烧写,如下图:
6.芯片在烧写座上烧好后,取下移到实验座上,打开实验板上的电源开关,程序开始运行.
PonyProg2000使用说明:
ST套件编程硬件与PonyProg2000硬件兼容,因此,可以用PonyProg2000作为本编程器的驱动软件,这个软件与IC-PROG
各有所长,最好两个软件都安装。
PonyProg2000的安装:
将配套光盘PonyProg2000目录下的PonyProg.exe拷贝到一临时目录并双击它解压。
解压完毕应得到PonyProg2000.exe 和setup.exe两个文件,双击setup.exe按提示安装,完毕后将PonyProg2000.exe拷贝到程序所安装的目录覆盖原目录下的PonyProg2000.exe文件(此步的作用是把原英文界面替换成中文界面。
第一次使用PonyProg2000必须设置以下几项:
1.在“开始”“程序”内找到PonyProg2000并单击运行,单击“确认”后在出现的画面中单击“设置”菜单下的校准按钮,按提示完成校准。
单击“设置”-“接口设置”,选择“串口”选择框并选择相应的串口(按实际进行选择),器件选择为JDM API,如下左图。
2.设置命令下编程选项,推荐设置如下右图:
以下为每次烧写芯片需要的设置,和烧写的方法:
1.连接好编程器与电脑,编程座上放置好要烧写的芯片.
2.打开PonyProg2000,选择相应的器件,如烧写PIC16F84A则选择PIC16 MICRO PIC16F84A
3.打开要烧写的HEX文件,设置配置位,选择命令下Securite and configuration bits(内部所有选项划钩时为0,不
划钩时为1),其中CP为加密位,划钩为加密有效,PWRIE为功耗上升计时器,划钩为有效,WDTE为看门狗有效标志位,划钩为无效,不划钩有效;根据程序实际选择,FOSC1、FOSC0为振荡器配置位,用外部HS晶振时FOSC1不划钩,FOSC0 划钩。
配置位设置好后,选择命令下编程开始烧写(本站ST套件配套实例设置为PWRIE划钩,WDTE划钩,FOSC1划钩,其它项不划钩)。
由于是中文界面,其它的使用相信读者试试便知。
Email:cxqmcu@
。