From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

myRio Servo High Freq PWM - with second encoder for setpoint.rar

Home built rig showing position control of a large 350W dc Motor. uses a quad detector for position of the shaft and a second quad detector for the setpoint. The H bridge used is a DBH-01B Smart Car 50A Dual Channel one available from Ali-Express and the motor can be almost any motor as long as its current isn't over the rating of the H bridge. I use a bicycle dc motor. Has a PID controller built from scratch (not a NI vi one). Uses the FPGA and the host controller.

Youtube video showing it working and a little explanation

https://www.youtube.com/watch?v=2d3GSAYzogI&feature=youtu.be

Contributors