I'm using Roboclaw 2X7A motor controller to drive a dc motor.I'm involved in a project to balance the inverted pendulum.I have setup the labview vi and it seems to be communicating well with the setup.
Now,I would like to get your suggestions on the motor command ( mode of operation) that is to be used for my application.
So basically , I'm trying to control the inverted pendulum .In my labview code, what comes out as input to the system is in the form of Force (N).
So ideally I want the motor to accelerate with an accelerarion proportional to the force that comes out of the code.
So far I have been using the labview driver called motor duty cycle to convert the force into duty cycle by just factoring 32767.I feel this approach is wrong and also to back it up, I observed that when I give 0 input what I want is essentially 0 acceleration, but it seems to give 0 velocity and the motor comes to a halt.
Could you please help me out on this? Also let me know if you need any other details.