Given the recent surge in interest in UAVs and their potential applications, a great deal of work has lately been done in the field of UAV control. However, UAVs belong to a class of nonlinear systems that are inherently difficult to control. In this study we devised a mathematical model for a PID (proportional integral derivative) control system, designed to control a quadrotor UAV so that it follows a predefined trajectory. After first describing quadrotor flight dynamics, we present the control model adopted in our system (developed in MATLAB Simulink). We then present simulated results for the use of the control system to move a quadrotor UAV to desired locations and along desired trajectories. Positive results of these simulation support the conclusion that a quadrotor UAV spatial orientation control system based on this model will successfully fulfil its task also in real conditions.