0
\$\begingroup\$

I am working on a project in which I am using two DC motors with encoder but after certain speed ( my DC motor operating voltage is 24 V but when I give it more than 15V )my MCU CC1350 start missing encoder pulses. I don’t want replace my MCU for now is their any alternative to read the pulses A , B with accuracy I am using interrupt (Rising) MCU Cc1350 Encoder datasheet Motor datasheet

\$\endgroup\$
16
  • 5
    \$\begingroup\$ Without any indication of the actual RPM, the resolution of the encoder and the clock frequency of your controller, it is very hard to give an useful advice. \$\endgroup\$
    – Arsenal
    Commented May 17, 2021 at 11:25
  • 2
    \$\begingroup\$ @SystemTheory I am using interrupt (Rising) \$\endgroup\$
    – user274774
    Commented May 17, 2021 at 11:37
  • 2
    \$\begingroup\$ @Jasen Yes, I know that I need to replace but I want to do it in next version \$\endgroup\$
    – user274774
    Commented May 17, 2021 at 11:57
  • 2
    \$\begingroup\$ You need a faster reader or a lower resolution encoder. It's as simple as that. \$\endgroup\$
    – user16324
    Commented May 17, 2021 at 11:57
  • 2
    \$\begingroup\$ @user274774 Just dropped in, now. Looking at the datasheets (sie sehen nett aus) and 24 V (I can't tell which encoder you are using, yet), it looks as though the motor can hit 75 rps, though a little less in normal operation. Without the encoder chosen, there's an order of magnitude variation in pulse rates. (20k to 150k?) That's quite a difference. But I've handled 100k without any difficulties while also performing all other necessary work. A Cortex-M3 should be able to handle things fine, if you are experienced in software design (assuming the analog circuit can track it, which isn't hard.) \$\endgroup\$
    – jonk
    Commented May 18, 2021 at 0:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.