Using the detailed kinetic mechanism of chemical interaction, the effect of preliminary preparation of the stoichiometric hydrogen-air mixture (dissociation of a part of molecular hydrogen and oxygen on atomic gases) on the detonation wave characteristics is investigated numerically with the aim to control detonation combustion in plane channels with obstacles. It is found that the above-mentioned partial initial dissociation can be used to prevent quenching of detonation in channels with both a single obstacle and multiple barriers. It is revealed that the mixture, obtained as a result of preparation, differs from the initial hydrogen-air mixture by the qualitatively different type of detonation re-initiation after interaction with obstacles.