Forum: µC & Digital Electronics Need ideas for implementing torque pid control

von Marcel Meyer (Guest)

Rate this post
0 useful
not useful
I have a bldc motor and a torque sensor. I want to achieve a constant 
torque by controlling the motor current. The torque sensor communicates 
over rs485 and I would like to achieve a speed of 1000 measurements per 
second. The motor current can be set over can-bus.

At the moment everything is done by a python script running on a windows 
computer but the serial communication is too slow.

Do you have any idea which hardware I could use to solve this problem? 
Ideally the whole process of reading the sensor and adjusting the 
current would run on a separat controller.

I am thankful for your advice.

von pcrom (Guest)

Rate this post
0 useful
not useful
Take a look at the CY8CKIT-037 (PSOC-4 development board)

Pretty expensive but might give you some ideas


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.