Response behavior of a palladium nanoparticle array based hydrogen sensor in hydrogen–nitrogen mixture