Wirelessly powered medical microrobots are often driven or localized by magnetic resonance imaging coils, whose signal-to-noise ratio is easily affected by the power transmitter coils that supply the microrobot. A controlled single-sided wireless power transmitter can enhance the imaging quality and suppress the radiation leakage. This paper presents a new form of electromagnet which automatically cancels the magnetic field to the back lobes by replacing the traditional circular coils with a three-dimensional (3D) coil scheme inspired by a generalized form of Halbach arrays. It is shown that, along with the miniaturization of the transmitter system, it allows for improved magnetic field intensity in the target side. Measurement of the produced magnetic patterns verifies that the power transfer to the back lobe is 15-fold smaller compared to the corresponding distance on the main lobe side, whilst maintaining a powering efficiency similar to that of conventional planar coils. To show the application of the proposed array, a wireless charging pad with an effective powering area of 144 cm(2) is fabricated on 3D-assembled printed circuit boards. This 3D structure obviates the need for traditional magnetic shield materials that place limitations on the working frequency and suffer from non-linearity and hysteresis effects.