细分原理
二相混合式步进电机电磁转矩方程
![966d38be07aaf9020f7cb75ae98fa972.png](https://img-blog.csdnimg.cn/img_convert/966d38be07aaf9020f7cb75ae98fa972.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
p-转子级数;Zr-转子齿数Zr=2*p;Ta-a相电磁转矩;Tb-b相电磁转矩;Td-定位矩(关于二相混合式步进电机的数学模型可参见我的另一篇博客https://blog.csdn.net/qq_39023633/article/details/106652195)
对Te方程简单的理解
假设在t=0时刻ia=1,ib=0并且不计Td,那么
![b8e2f823945453dc80acff445b6a5d3a.png](https://img-blog.csdnimg.cn/img_convert/b8e2f823945453dc80acff445b6a5d3a.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
这就是说在前面给定的电流条件下电机转子在不带负载的情况下应该转到theta=0的位置(即平衡位置),细分原理就是通过控制电流来控制转子的平衡位置。
细分控制的推导
令
![e9133f0006cfc967096ce0f7ac1e140b.png](https://img-blog.csdnimg.cn/img_convert/e9133f0006cfc967096ce0f7ac1e140b.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
,
![ea86227d009b4df49fec88fa5bb1cb65.png](https://img-blog.csdnimg.cn/img_convert/ea86227d009b4df49fec88fa5bb1cb65.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
可得
![4d371ec9fcfe177521da97523ba6fb09.png](https://img-blog.csdnimg.cn/img_convert/4d371ec9fcfe177521da97523ba6fb09.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
,这里的α是就是转子新的平衡位置了,不过注意α是电角度要除以Zr齿数就是转子的机械角度。
细分系统总体图
![22164735ac70e498fce4bfd45df4f962.png](https://img-blog.csdnimg.cn/img_convert/22164735ac70e498fce4bfd45df4f962.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
正弦电流的仿真simulink实现
Park变换:
![e416e9893977510d2b1ad76aeb69862a.png](https://img-blog.csdnimg.cn/img_convert/e416e9893977510d2b1ad76aeb69862a.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
Park反变换:
![58befc814691ea50608e64320cc0c991.png](https://img-blog.csdnimg.cn/img_convert/58befc814691ea50608e64320cc0c991.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
注意到要使
![e9133f0006cfc967096ce0f7ac1e140b.png](https://img-blog.csdnimg.cn/img_convert/e9133f0006cfc967096ce0f7ac1e140b.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
只需要在Park反变换时令iq=0即可。
![7db544ba9ffc0d9649c7786624e75d2b.png](https://img-blog.csdnimg.cn/img_convert/7db544ba9ffc0d9649c7786624e75d2b.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
关于PWM电流控制(或SVPWM控制)
使用滞环电流pwm控制,因此需要在电流反馈回路加入低通滤波
![f4bd43416729a2fb627e64083388d3cf.png](https://img-blog.csdnimg.cn/img_convert/f4bd43416729a2fb627e64083388d3cf.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
也可以使用SVPWM控制,在我的另一篇文章中有提(二相混合式步进电机闭环矢量控制simulink仿真(含仿真文件)https://blog.csdn.net/qq_39023633/article/details/106653559)
关于模型中如何控制细分数
双击PulseDistribution
![66eba928a73d9e4b8cd83abfbf052019.png](https://img-blog.csdnimg.cn/img_convert/66eba928a73d9e4b8cd83abfbf052019.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
step项意思是:多少个脉冲每秒
subdivision相的意思是:细分数
当3细分,每秒40*3个脉冲时:
![fe320c713c05fdf5ca9c039f66cbf33d.png](https://img-blog.csdnimg.cn/img_convert/fe320c713c05fdf5ca9c039f66cbf33d.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
![cbc8288c4ea84b05452698f7fe13455a.png](https://img-blog.csdnimg.cn/img_convert/cbc8288c4ea84b05452698f7fe13455a.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
相关文献
![1d7f7e2a3b8dd05ef607b4a59299320b.png](https://img-blog.csdnimg.cn/img_convert/1d7f7e2a3b8dd05ef607b4a59299320b.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
![062237ce38910ecefd53f357c198e249.png](https://img-blog.csdnimg.cn/img_convert/062237ce38910ecefd53f357c198e249.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
![931f32e02f370b0f59a427d5fe2a3d31.png](https://img-blog.csdnimg.cn/img_convert/931f32e02f370b0f59a427d5fe2a3d31.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
![20511a99dd5c2026852ade7e170b71ee.png](https://img-blog.csdnimg.cn/img_convert/20511a99dd5c2026852ade7e170b71ee.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://img-blog.csdnimg.cn/img_convert/23ea22a1b82e1d24b1a52c51e7d93832.png)
结尾
以上就是二项混合步进电机开环细分控制仿真全部内容
可以自己调一下参数获得较好的效果
下载地址:https://download.csdn.net/download/qq_39023633/12508203
文件名:stepping_motor_subdivision_driver.slx
版本:2019b
参考文献:步进电机细分驱动技术 simulink 仿真 许永衡 陈志锦 张天佑