I have a self balancing robot control loop that uses the PID controller. I feed the robot's angle (rad) to sum block that generates the error between the set point and the angle.
The error then goes to the PID and goes to DC motor block that needs the input to be in volts and generate an output in N.m. Then the signal goes to the self balancing robot block that need the input to be in N.m and outputs a rad angle. As you see I don't know how to make the PID output a voltage (V). How i can do that?