Sunroof Motor
WARNING: This page does not describe the selected car, but rather 6 other vehicles, including the 2004 Oldsmobile Bravada, 2004 GMC Envoy XUV, 2004 GMC Envoy XL, 2004 GMC Envoy, and 2004 Chevrolet TrailBlazer. However, it is still accessible from the selected car via links, so may be relevant.
The sunroof motor/module assembly has a bi-directional motor. The sunroof motor understands when it has driven the sunroof glass to the vent, close and full open positions based on the internal hall effect sensors within the sunroof motor/module assembly. The sunroof motor/module assembly interprets the hall effect sensor combinations and controls the sunroof motor to soft stop the sunroof glass at the positions.