1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我们正在决定在我们的控制系统中使用ST7MC 带单相逆变器的线性驱动器。因为我不熟悉ST7MC 我无法估计ST7MC是否足够快速完成我们的任务 以下: - 控制由电源侧的H桥控制的线性驱动器。 - 我们需要控制这个电机一个定位控制回路和一个 电流控制回路。 - 用于位置识别的传感器由光学增量传感器组成 光电屏障有2个轨道和一个额外的类似光学传感器 对于索引轨道。 两个轨道的总读入增量的数量一起对应于 11位和增量边沿的频率约为55kHz。 为了实现滑块或电枢的移动方向 直线电机我们需要16位定时器的上/下反转功能 与ST7MC的正交解码器功能连接。 索引信号具有大约48Hz的频率。 - 电流传感器是一个分流电阻,用于测量直流母线电流 进入逆变器。当前采样频率为4 kHz(固定时间片) 分辨率为10位。用于切换H桥的电流的PWM频率 应该高达16 kHz,以避免噪音问题(至少12kHz)。 我们将使用内置的运算放大器来放大来自的电流信号 分流电阻器。 - 通过中断服务程序至少同时运行3个进程 1.增加读入/移动识别/向上/向下计数是并行工作 到ST7MC。通过索引信号校正每个cyclus一次的计数器值。 结果产生当前控件的设置值。 2.在修复时间片中:通过AD转换读入当前值。 计算控制值(比例积分结构) 3.当前值在被调用的修复时间片中设置自动重载PWM-Timer。 - 另外我们仍然与PC主机进行异步通信(最低 主循环中的优先级) 我仍然希望ST7MC足以完成所描述的任务。 或者在紧急情况下,循环中的时间值要考虑减少以便保持当前概念。 提前谢谢了。 hakl 以上来自于谷歌翻译 以下为原文 hello to everybody, we are standing for the decision to use the ST7MC in our control system for a linear drive with a one phase inverter. Because I am not familiar with the ST7MC I can not estimate whether the ST7MC is quick enough for our task like the following: - Controlling a linear drive which is controlled by a H-bridge on the power side. - We need for the controlling of this motor a positioning control-loop and a current control-loop. - The sensor for the position recognition consists of a optical incremental photoelectric barrier with 2 tracks and an additional similar optical sensor for a index track. The numbers of the total read-in increments of both tracks together correspond to 11 bits and the frequency of the edges of the increments is approximately 55kHz. In order to realise the direction of moving of the slide or armature of the linear motor we need the up/down reversing function of the 16-bit-timer in connection with the quadrature decoder function of the ST7MC. The index signal has a frequency of approximately 48Hz. - The sensor for the current is a shunt resistor which measure the DC-link current into the inverter. The current sampling frequency is 4 kHz ( fix time slice ) with the resolution of 10 bit. The PWM-frequency of the current for switching the H-bridge should be up to 16 kHz in order to avoid noise problems ( at least 12kHz ). We will use the built-in operation amplifer for amplify the current signal from the shunt resistor. - At least 3 processes are running at the same time via interrupt service routines 1. Increments read-in/moving recognition/up/down-counting is working parallel to the ST7MC. Correction of the counter value one time per cyclus via index-signal. Results yield the setting values for the current control. 2. In a fix time slice: Current value read-in via AD-converting . Calculating the control value(Proportional Integral structure) 3. Current value set the auto reload PWM-Timer in the called fix time slice. - Additional we have still a asynchronous communication with a PC-host (lowest priority in main loop) I still hope that the ST7MC is adequate for the described task. Or in the case of emergency which time values in the loops have I to consider to reduce in order to keep the present concept. Many thanks in advance. hakl |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2723 浏览 1 评论
3237 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3646 浏览 6 评论
6034 浏览 21 评论
1334浏览 4评论
209浏览 3评论
196浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 19:26 , Processed in 0.842450 second(s), Total 73, Slave 57 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号