Patent attributes
The invention relates to an electrical machine (10), in particular an electronically commutated EC motor, and to methods for producing an electrical machine (10) of this type having a pole pot (15), in which a stator (16) and a rotor (18) are received, and a plug housing (33) with an integrated connector plug (37) is arranged axially on the open side of the pole pot (15), wherein a rotor shaft (20) of the rotor (18) protrudes with a free end (80) axially out of the pole pot (15) into the plug housing (33), and a magnetic signal generator (75) for rotational position detection is arranged at the free end (80), which magnetic signal generator (75) interacts with a magnetic field sensor (77) which lies axially opposite it, wherein the magnetic field sensor (77) is configured as a wired single-part component and is fastened directly to the inner side (29) of the plug housing (33) without the use of a printed circuit board.