Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to pid control with a DC motor

Hello, i am a student and now i'm making self balancing robot with myrio and Labview

 

but now i cant go on to next stage

 

ah, first i tell you i dont have good english skill sorry. please understand me

 

before make balancing robot i made a flow chart like this

mpu6050 -> convert to degree -> PID variable, set point is 0 -> output value to motor -> re

 

it is simple

i did until third way. and i cant to do next stage that output value to motor.

because, i cant know how to PID output to the motor.

 

i think PID input is mpu6050 degree. so output will be also degree value. so need to convert degree to pwm signal to do position control.

 

i will do speed control like this way,  if the robot is tilted , getting faster.

 

anyway, point question is how to DC motor  position control with PID degree valaue output.

 

if i doing wrong way, Can you point it out? 

thank you for read my question with bad english haha

0 Kudos
Message 1 of 1
(2,510 Views)