细分原理
二相混合式步进电机电磁转矩方程
![966d38be07aaf9020f7cb75ae98fa972.png](https://i-blog.csdnimg.cn/blog_migrate/491204312b7edbde98f392b8c500210a.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.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://i-blog.csdnimg.cn/blog_migrate/5a999c6b18bc4a19b70f26cb5c8970f6.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
这就是说在前面给定的电流条件下电机转子在不带负载的情况下应该转到theta=0的位置(即平衡位置),细分原理就是通过控制电流来控制转子的平衡位置。
细分控制的推导
令
![e9133f0006cfc967096ce0f7ac1e140b.png](https://i-blog.csdnimg.cn/blog_migrate/5cd00f0691a1834ccd0dde4865c53419.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
,
![ea86227d009b4df49fec88fa5bb1cb65.png](https://i-blog.csdnimg.cn/blog_migrate/a53b7ec9479251984179fbb0b5912629.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
可得
![4d371ec9fcfe177521da97523ba6fb09.png](https://i-blog.csdnimg.cn/blog_migrate/670be44f5d9a77d254ec29e4ae2cee71.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
,这里的α是就是转子新的平衡位置了,不过注意α是电角度要除以Zr齿数就是转子的机械角度。
细分系统总体图
![22164735ac70e498fce4bfd45df4f962.png](https://i-blog.csdnimg.cn/blog_migrate/d84e7a1fefb03d63ca5e37df8204948f.jpeg)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
正弦电流的仿真simulink实现
Park变换:
![e416e9893977510d2b1ad76aeb69862a.png](https://i-blog.csdnimg.cn/blog_migrate/2d6d762c06dacb51a0d8f3b76971cc7b.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
Park反变换:
![58befc814691ea50608e64320cc0c991.png](https://i-blog.csdnimg.cn/blog_migrate/2e3d178b61830d50862c651efc6b3825.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
注意到要使
![e9133f0006cfc967096ce0f7ac1e140b.png](https://i-blog.csdnimg.cn/blog_migrate/5cd00f0691a1834ccd0dde4865c53419.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
只需要在Park反变换时令iq=0即可。
![7db544ba9ffc0d9649c7786624e75d2b.png](https://i-blog.csdnimg.cn/blog_migrate/cc55febfc1da831002ebf926f0079955.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
关于PWM电流控制(或SVPWM控制)
使用滞环电流pwm控制,因此需要在电流反馈回路加入低通滤波
![f4bd43416729a2fb627e64083388d3cf.png](https://i-blog.csdnimg.cn/blog_migrate/6b46c99de31db83b213dede352d27997.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
也可以使用SVPWM控制,在我的另一篇文章中有提(二相混合式步进电机闭环矢量控制simulink仿真(含仿真文件)https://blog.csdn.net/qq_39023633/article/details/106653559)
关于模型中如何控制细分数
双击PulseDistribution
![66eba928a73d9e4b8cd83abfbf052019.png](https://i-blog.csdnimg.cn/blog_migrate/273b71d3449539fcb6e9c0882e519ea4.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
step项意思是:多少个脉冲每秒
subdivision相的意思是:细分数
当3细分,每秒40*3个脉冲时:
![fe320c713c05fdf5ca9c039f66cbf33d.png](https://i-blog.csdnimg.cn/blog_migrate/e4cfd7ebe7588fc790fa47c24e18b1c8.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
![cbc8288c4ea84b05452698f7fe13455a.png](https://i-blog.csdnimg.cn/blog_migrate/e098896d2d3d489fa9dd5b82d5d54c2f.jpeg)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
相关文献
![1d7f7e2a3b8dd05ef607b4a59299320b.png](https://i-blog.csdnimg.cn/blog_migrate/fe6e72b2af50f9518463cb29353ba6d9.png)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
![062237ce38910ecefd53f357c198e249.png](https://i-blog.csdnimg.cn/blog_migrate/9f541ff22386b0994476cac373e5a95b.jpeg)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
![931f32e02f370b0f59a427d5fe2a3d31.png](https://i-blog.csdnimg.cn/blog_migrate/b16b9a57a711ed6e13e676d47929ddf0.jpeg)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
![20511a99dd5c2026852ade7e170b71ee.png](https://i-blog.csdnimg.cn/blog_migrate/fab8d9de6279cdaf6607321f1191a4d5.jpeg)
![23ea22a1b82e1d24b1a52c51e7d93832.png](https://i-blog.csdnimg.cn/blog_migrate/655f6d46e5aea1a83d8b03f7aeef3a4a.png)
结尾
以上就是二项混合步进电机开环细分控制仿真全部内容
可以自己调一下参数获得较好的效果
下载地址:https://download.csdn.net/download/qq_39023633/12508203
文件名:stepping_motor_subdivision_driver.slx
版本:2019b
参考文献:步进电机细分驱动技术 simulink 仿真 许永衡 陈志锦 张天佑