Industrial robots have become one of the effective support tools for human labor. Robots are a solution to replace humans in repetitive tasks and in environments where humans cannot work. Robots have become one of the factors responding to the Industrial Revolution 4.0. Automatic control devices require high-precision control quality. Therefore, in this paper, we focus on researching controlling the position of the actuator accurately based on the PID algorithm. First, we study the forward and inverse kinematics of a three-joint robot. Second, we design the robot model on inventor software and transfer the 3d model in inventor software to Matlab Simmechanics. Third, modeling robot model on Simulink to simulate and evaluate the results achieved