NOVELTY - A hydrogen generator comprises electrodes (I,II), a proton-conductive electrolyte disposed between the electrodes, a voltage source connected across the electrodes, an input for introducing hydrocarbon compound and/or syngas to electrode (I), and an output for discharging the generated hydrogen. The voltage source is configured to provide a non-zero driving voltage having a base voltage and a pulsed voltage superposed on the base voltage to generate hydrogen. The output is disposed on a side of the proton-conductive electrolyte oppositely input.    USE - Hydrogen generator is used for producing hydrogen (claimed) used in synthesis of methanol, ammonia, urea, hydrochloric acid, and other chemical products, as intermediate energy carrier for energy conversion from various resources to meet needs of both stationary and transportation markets, and as fuel in fuel cells used for power generation in mobile applications.    ADVANTAGE - The hydrogen generator enables efficient and economical production of purified and compressed hydrogen in a single step.    DETAILED DESCRIPTION - A hydrogen generator comprises electrodes (I,II), a proton-conductive electrolyte disposed between the electrodes, a voltage source connected across the electrodes, an input for introducing hydrocarbon compound and/or syngas to electrode (I), and an output for discharging the generated hydrogen. The voltage source is configured to provide a non-zero driving voltage having a base voltage and a pulsed voltage superposed on the base voltage to generate hydrogen. The output is disposed on a side of the proton-conductive electrolyte oppositely input. The proton-conductive electrolyte comprises NAFION (RTM: sulfonated tetrafluoroethylene copolymer), polybenzimidazole, phosphoric acid, or proton-conductive solid oxide. The syngas comprises hydrogen, carbon monoxide, and water. The hydrocarbon compound includes alcohol, organic acid, alkane, and/or alkene. The catalytic material includes platinum.    DESCRIPTION OF DRAWING(S) - The drawing shows a block diagram of the hydrogen generation method.    Steam reforming (30A)    Partial oxidation (30B)    Auto-thermal reforming (30C)    Low-temperature water-gas-shift (32B)    Pressure swing adsorption (34A)