Preliminary study on pulse width adjustable pulse generator based on the magnetic switch and metal-oxide varistor