This document describes a lane keeping assist system. It includes three main parts: a sensing layer that uses sensors to acquire vehicle and lane information; a decision layer that processes the data and determines when warnings or interventions are needed; and an execution layer that provides warnings or controls the steering system. The decision layer uses state decision and path error control algorithms to determine when the system should activate, provide warnings, or intervene in vehicle control. The system is designed to keep the vehicle centered in its lane in a way that reduces false warnings and avoids conflicts with the driver. It is simulated and tested in CarSim software.