A source for the production of polarized negative hydrogen or deuterium ions following the Lambshift method is described. A duoplasmatron with expansion cup and extended ion optics is used. The polarization is generated by a diabetic zero field passage of the metastable atoms. For precision experiments the polarization can be switched 'on' and 'off' with a frequency of 1 kHz by a disturbance with a transverse magnetic field. The quantization axis can be rotated with a Wien filter. All source components are installed in a compact vacuum chamber, which allows high effective pumping speeds. The overal length of the source including the Wien filter is 1.7m. With a 10mm diameter cesium canal typical H/sup -/ currents of 0.6-0.75 ..mu..A (P=0.7 to 0.75) and maximum currents of 0.9..mu..A are obtained.