A method of detecting impairment of a driver of a vehicle. The method includes sensing, using a sensor, a position of the driver's head at a plurality of time points; determining, using a microprocessor, changes in the position of the driver's head between the plurality of time points; evaluating, using a microprocessor, whether the changes in the position of the driver's head between the plurality of time points exhibit at least one of a periodic and a quasi-periodic pattern; determining whether the driver is impaired based on the pattern of the changes in the position of the driver's head; and if the driver is impaired, alerting the driver using an alarm.