Poly(dithieno[3,4-b:3',4'-d]thiophene) (pDTT1), poly(dithieno[3,4-b:3',2'-d]thiophene (pDTT2) and poly(dithieno[3,4-b:2',3'-d]thiophene) (pDTT3) are low band-gap polymers that undergo both p- (oxidation) and n- (reduction) type electrochemical reversible doping in organic electrolytes. In this work we report on the in-situ IR spectroscopic characterization of both doping types using attenuated total reflection (ATR) FTIR spectroelectrochemistry. Thin polymer films were prepared on Ge reflection elements by electrosynthesis. During electrochemical potential cycling experiments in a spectroelectrochemical cell, the evolution of infrared active vibrational (IRAV) modes, correlated with the generation of charge within the polymer chain, was studied. In addition to electrochemical doping, the polymers exhibit also charged excitations by photodoping. FTIR spectra recorded by illumination/dark cycles show photoinduced IRAV bands which are similar to those found for the electrochemically p-doped materials. The infrared spectroscopic results are compared with Raman spectra of the neutral polymers. The relationship between vibrational properties and structure of the polymers is discussed in terms of different contribution of the φ-electrons within the repeating units to the electronic structure of the conjugated backbone.