搜索
bottom↓
回复: 22

ST 公开了基于STM8S的three-phase BLDC/AC induction motor 控制软件库用户手册下载

[复制链接]

出0入8汤圆

发表于 2009-7-3 16:01:33 | 显示全部楼层 |阅读模式
今天看到ST的网址STM8S的资料页面提供了基于STM8S控制 三相马达的软件库用户手册下载,看了看,有点替换ST7MC的味道。


STM8S three-phase BLDC motor control software library V1.0

点击此处下载 ourdev_458102.pdf(文件大小:1.67M) (原文件名:STM8S three-phase BLDC motor control software library V1.0.pdf)

This user manual describes the brushless direct current motor (BLDC) scalar software library, a scalar control firmware library for 3-phase permanent-magnet (PM) motors developed for the STM8Sxxx microcontrollers.
ST STM8Sxxx 8-bit microcontrollers come with a set of peripherals that makes them suitable for performing both PM and AC induction motor scalar control.
The present document describes the STM8Sxxx software library developed to control trapezoidal driven PM motors in both open loop and speed control mode. These motors may be equipped with three Hall sensors or may be sensorless. The control of an AC induction motor equipped with tachogenerator is described in the UM0712 user manual.
The BLDC motor software library is made of several C modules, and is fitted out with STVD workspace. It is used to quickly evaluate both the MCU and the available tools. In addition,when used together with the STM8/128-MCKIT motor control starter kit and a PM motor, a
motor can be made to run in a very short time. The BLDC library also eliminates the need for time-consuming development of low level drive and speed regulation algorithms by providing ready-to-use functions that let the user concentrate on the application layer.Moreover, it is possible to get rid of any speed sensor thanks to the sensorless algorithm for rotor position reconstruction based on BEMF detection.
A prerequisite for using this library is basic knowledge of C programming, PM motor drives and power inverter hardware. In-depth know-how of STM8Sxxx functions is only required for customizing existing modules and for adding new ones for a complete application development.


BLDC software library V1.0 features (CPU running at 16 MHz)
The BLDC software library source code is available free of charge if it is used in an endapplication based on ST products.
The main library features are the following:
● Supported BLDC modes (trapezoidal 6 step method):
– Sensorless mode: back EMF voltage on the non-energized phase is monitored and used to trigger the commutation events
– Sensor mode: Hall sensors trigger the commutation events.
– Voltage mode: PWM duty cycle is set directly via 16-bit PWM generator.
– Current mode: internal current loop and external voltage reference are used jointly to maximize the current in motor windings. The PWM duty cycle is automatically managed by the current feedback loop output.
– Open loop operation
– Closed loop operation: Proportional integral (PI) regulator, 1 to 255 ms sampling time.
– DC bus voltage measurement
– DC bus brake resistor management
– Heatsink temperature measurement
– Fault handling including overcurrent (shunt resistor network required), DC bus overvoltage/undervoltage, heatsink overtemperature.
– User interface with LCD and joystick
– Two-channel virtual DAC functionality for real-time tracing of software variables
– Firmware compatibility with STM8S motor control builder GUI (see Section A.3)




STM8S three-phase AC induction motor control software library V1.0

点击此处下载 ourdev_458101.pdf(文件大小:1.53M) (原文件名:STM8S three-phase AC induction motor control software library V1.0.pdf)



ACIM voltage mode scalar controls
● Speed open loop
– Adjustable target rotor speed, V/f ratio, and slip speed via the user interface (UI)
● Speed open loop and load compensation
– Adjustable target rotor speed via the UI
– Varied V/f ratio and slip speed according to the characteristic torque curve of the load.
● Speed open loop and load compensation, tachogenerator sensing:
– Adjustable target rotor speed via the UI
– Slip speed varying according to the characteristic torque curve of the load
– Rotor speed checked to validate startup and max/min run speed
● Speed closed loop, V/f and slip control:
– Adjustable target rotor speed via the UI
– Rotor speed measured and provided as feedback of the speed loop control
– Optimized dynamics drive
– Parameters tuning mode (proportional-integral-derivative regulator (PID) gains, V/f ratio, startup V/f ratio, startup slip).
● Speed closed loop, maximum torque per ampere (MTPA) control:
– Adjustable target rotor speed via the UI
– Rotor speed measured and provided as feedback of the speed loop control
– Optimized efficiency drive
– Parameter tuning mode (PID gains, V/f ratio, optimum slip, startup V/f ratio, startup slip).

Additional features
● Three-phase center-aligned PWM sine waves and third harmonics synthesis, adjustable switching frequency, dead time, output refresh rate.
● DC bus voltage measurement and ripple compensation
● Automatic drive adaptation to AC mains voltage
● Dead time effect compensation
● DC bus brake resistor management
● Heatsink temperature measurement
● Fault handling for overcurrent (shunt resistor network required), DC bus overvoltage/undervoltage, heatsink overtemperature.
● The UI is provided through LCD and joystick
● Two-channel, virtual DAC functionality, for real-time tracing of software variables
● Firmware is compatible with STM8s motor control builder GUI




ST的网址上有个文档下载地址可能搞错了,本应是pdf后缀,结果成了htm后缀,唉。我传到这里吧。

阿莫论坛20周年了!感谢大家的支持与爱护!!

一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。

出0入0汤圆

发表于 2009-7-4 19:34:40 | 显示全部楼层
收下,谢谢!

出0入0汤圆

发表于 2009-7-9 23:07:20 | 显示全部楼层
还不错,谢谢!

出0入0汤圆

发表于 2009-7-10 08:14:17 | 显示全部楼层
库呢?好像STM32也只提供个PDF文档,有什么用?

出0入8汤圆

 楼主| 发表于 2009-7-10 12:16:40 | 显示全部楼层
你有项目可以找ST或ST代理商。

出0入25汤圆

发表于 2009-7-10 21:11:41 | 显示全部楼层
Grant 能否告知这个lib什么时候才能下载还有原理图什么时候能提供??

我一直对befm驱动的无刷电机感兴趣!

出0入0汤圆

发表于 2010-5-18 16:30:42 | 显示全部楼层
哪位有库,能否上传下

出0入0汤圆

发表于 2011-8-11 14:21:14 | 显示全部楼层
同上

出0入0汤圆

发表于 2011-9-27 11:01:51 | 显示全部楼层
stm7smc  mark

出50入0汤圆

发表于 2012-7-19 09:14:14 | 显示全部楼层
要是有库就好了……

出0入0汤圆

发表于 2012-9-25 07:02:17 | 显示全部楼层
l楼主你好:“ST 基于STM8S的three-phase BLDC/AC induction motor 控制软件库用户手册”有没有中文版的,有的话能不能发份给我,我的邮箱是[email]345376387@qq.com

出0入8汤圆

 楼主| 发表于 2012-9-25 16:11:08 | 显示全部楼层
中文的?没有现成的。

出0入0汤圆

发表于 2013-3-30 19:29:32 | 显示全部楼层
有没有这个BLDC控制的软件流程图,库之间的调用关系?

出0入4汤圆

发表于 2013-5-19 08:38:47 | 显示全部楼层
有没有人移植成功过?

出0入0汤圆

发表于 2013-6-21 13:20:45 | 显示全部楼层
谢谢楼主!收下了

出0入0汤圆

发表于 2013-10-11 11:16:39 | 显示全部楼层
thanks

出0入0汤圆

发表于 2013-10-11 11:24:27 | 显示全部楼层
这个厉害,看英文介绍好像还提供源代码,可以好好研究一下算法

出0入0汤圆

发表于 2013-12-25 19:50:03 | 显示全部楼层
最近刚好在学习STM8S 控制直流电机 学习下 谢谢

出0入17汤圆

发表于 2014-1-3 22:47:28 | 显示全部楼层

收下,谢谢!

出10入0汤圆

发表于 2015-8-24 08:27:31 | 显示全部楼层
请问楼主,这个库函数对应的官方原理图对外公布了吗?找了半天没找到

出0入0汤圆

发表于 2015-8-24 14:29:34 | 显示全部楼层
资料不够啊,公布库了么?

出0入0汤圆

发表于 2015-11-9 13:54:31 | 显示全部楼层
Jerry_Lee 发表于 2015-8-24 14:29
资料不够啊,公布库了么?

源码公开的,可以直接去官网下载即可!目前也为这个项目伤脑袋着!!!!

出0入8汤圆

 楼主| 发表于 2015-11-13 22:38:23 | 显示全部楼层
需要原理图去官网找
UM0709 - STM8-128-MCKIT Motor Control Starter Kit User Manual
UM0379 - 3-phase motor control power stage
UM0482 - STM8-128-EVAL Evaluation board User Manual
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-16 04:19

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表