Patent ID: 6938511

Claim:
Drive device for a sunroof of a motor vehicle, comprising: an electric motor having a pole shaft; a shaft housing in which the pole shaft is located; a magnet mounted on the pole shaft so as to rotate with the pole shaft; an electronic circuit for triggering the electric motor; at least one Hall sensor which is located outside of the shaft housing for detecting the rotational position of the magnet and of the pole shaft, and an electronics housing in which said electronic circuit and said at least one Hall sensor are located; wherein, a wall of the shaft housing in an area of the at least one Hall sensor forms part of the electronics housing, said wall of the shaft housing in he area of the at least one Hall sensor having a smaller thickness than a remainder of the shaft housing and having a recess which forms a window with a small wall thickness for receiving the at least one Hall sensor; wherein a board bears the electric circuit for triggering the electric motor and the at least one Hall sensor; wherein the at least one Hall sensor is located on a side of the board which faces the pole shaft directly adjacent to the magnet; wherein a respective window recess is formed in the wall of the shaft housing in the area of each Hall sensor by a wall area of the shaft housing that has a smaller wall thickness than that of the remainder of the shaft housing.