End of travel shut off
End of travel shut-off for the window motors is determined by monitoring the current draw of the motors. Each time it switches on a window motor, the door module measures the window motor current for a preset time. The maximum value measured within that time is stored as the switch-on current. When the window motor current next exceeds the switch-on current, the door module assumes the window has reached the end of its travel and switches off the power supply to the window motor even if a window switch is still being activated.