Phase-locked loop (PLL) is one of the main components ofmodern electronic design and has been around for a considerable numberof years. It is a technique that has greatly contributed to the technological advancement of communications and control systems. This paperpresents a phase-locked loop tutorial based on a control system, it givesa concise review of basic concepts, the different types of PLLs, linearanalysis approaches of analog systems PLL is discussed, furthermore thetheoretical analysis of the steady-state error in detail is presented, and itssimulations of different phase offset values in C program are presented,and show how the response of the loop changes.