NOVELTY - Preparation of metal-doped polyaniline and polypyrrole compound carbonizing catalyst involves mixing pyrrole monomer solution (A) and iron(III) chloride hexahydrate solution, reacting, adding aniline monomer and ammonium sulfate, reacting, completely evaporating obtained paste, vacuum-drying, putting obtained catalyst precursor into tube furnace, filling with nitrogen, maintaining temperature, reacting, increasing temperature, naturally cooling, immersing obtained carbonizing product in sulfuric acid solution, maintaining in water bath, washing, vacuum-drying and heating.    USE - Preparation of metal-doped polyaniline and polypyrrole compound carbonizing catalyst used for oxygen reduction reaction (all claimed) for fuel battery.    ADVANTAGE - The catalyst exhibits high catalytic activity for oxygen reduction reaction, initial potential in acid or alkali electrolyte solutions and current density is economically prepared by simple method.    DETAILED DESCRIPTION - Preparation of metal-doped polyaniline and polypyrrole compound carbonizing catalyst involves taking 360 mu L pyrrole monomer into 30 mL water to form pyrrole monomer solution (A), adding 2.76 g iron(III) chloride hexahydrate solid and/or cobalt(II) nitrate hexahydrate solid into 10 mL secondary water, then adding 1.14 g ammonium sulfate, stirring uniformly to form solution (B), quickly mixing the solutions (A) and (B), fully stirring, reacting at 6 degrees C for 24 hours, then adding 360 mu L aniline monomer and 1.14 g ammonium sulfate, reacting at 20 degrees C for 24 hours to form paste, completely evaporating the paste using rotary evaporator, then vacuum-drying for 24 hours to obtain catalyst precursor, putting dried catalyst precursor into tube furnace, filling the tube furnace with nitrogen for half an hour, maintaining temperature from room temperature to 350 degrees C, reacting at constant temperature for 2 hours, then continuously raising temperature to 700 degrees C, reacting at constant temperature for 2 hours, increasing temperature with speed of 2 degrees C per minute, stopping heating, naturally cooling to room temperature to obtain metal-doped polyaniline and polypyrrole compound carbonizing product, immersing obtained metal-doped polyaniline and polypyrrole compound carbonizing product in 0.5 mol/L sulfuric acid solution, maintaining in water bath at 80 degrees C for 8 hours, washing to neutral, vacuum-drying for 24 hours, and heating with heating rate of 4 degrees C.minute-1 from room temperature to 900 degrees C. An INDEPENDENT CLAIM is included for method for detecting catalytic activity of metal-doped polyaniline and polypyrrole compound carbonizing catalyst, which involves mixing metal-doped polyaniline and polypyrrole compound carbonizing catalyst with absolute ethyl alcohol, adding 5% Nafion (RTM: sulfonated tetrafluoroethylene based fluoropolymer-copolymer) solution, ultrasonic processing obtained mixture to form paste, coating the paste on surface of glassy carbon electrode, drying as working electrode, using three-electrode system in oxygen-saturated sulfuric acid or sodium hydroxide solution, and measuring catalytic activity of the catalyst.