Microchip
直播中

刘玉珍

8年用户 214经验值
私信 关注
[问答]

使用PIC32MZ进行正交编码器解码

我一直在PIC32 MZ数据表和FRM中主要读定时器/计数器,它似乎不能解码正交编码器信号,即使我在微电路外使用一些逻辑IC来将信号转换成上/下计数或计数/DIR。但是勘误表太可怕了。所以我试着避免它。有人能帮忙吗?

以上来自于百度翻译


      以下为原文

    I have been Reading in the PIC32mz datasheet and FRM mainly the timer/Counter and it doesnot seem to be able to decode quadrature encoder signals even if i use some logic ICs outside the micro to change the signal into UP/Down count or Count/Dir.

I know that there is PIC32mk which contain QEI module. but the Errata is horrible. So i am trying to avoid it.

Can anyone help ?

回帖(4)

张娜

2018-12-26 19:14:59
“但是勘误表太可怕了,”OP写道。

以上来自于百度翻译


      以下为原文

    "but the errata is horrible", wrote OP
举报

李方树

2018-12-26 19:28:41
如果你对发动机进行燃烧分析,以6500转/分的速度运行,分辨率为0,1度,你就可以达到400千赫。具有这种分辨率的编码器的直径约为6cm(2,5英寸)。所以,400 KHz的编码器信号仍然在燃烧研究领域内。

以上来自于百度翻译


      以下为原文

    If you take combustion analysis for engines, running at 6500rpm with a resolution of 0,1degree and you got your 400kHz. The encoder with this resolution has a diameter of about 6cm (2,5inch). So yes, 400kHz encoder signal is still within what one would expect in the field of combustion research.
举报

王焕树

2018-12-26 19:46:38
不过,您几乎不需要QEI编码器。没有多少内燃机可以反向运转。

以上来自于百度翻译


      以下为原文

    You'd hardly need a QEI encoder though. Not many internal combustion engines can run in reverse.
 
举报

李方树

2018-12-26 19:52:43
是的,不是。在运行期间,你是对的,但是在阀门定时和上死点的确定过程中,你需要在两个方向上旋转发动机,并且仍然跟踪实际的角度。这就是我为生活而做的事情;

以上来自于百度翻译


      以下为原文

    Yes and no. During running time you are right, but during setup of valve timing and determination of top dead center you will need to rotate the engine on both directions and still track the actual angle. That's what I do for living ;)
举报

更多回帖

发帖
×
20
完善资料,
赚取积分