The MWD wireless measurement while drilling instrument is powered by a rotor. The rotor and the inner axis of the pulser are coupled. The bottom end of the shaft is connected to a generator to supply power for the probe. The upper end is connected to a hydraulic pump to provide energy for the mushroom head. The mud flows in the annular space formed by the restrictor ring and the mushroom head. When a signal is transmitted, the mushroom head rises, stops-down, and then returns to its original position, and a positive pressure pulse is generated. A mud pressure sensor is used on the ground to detect the mud pulse signal from the downhole instrument and transmit it to the ground equipment. The ground data processing system processes it to obtain measured well angle, azimuth and tool surface data.