4 motor controlled by pwm.

More information please. A circuit diagram and the code you are using would help. Some details of the motors, MOSFETs and battery would also be good.

When I've controlled several motors from one battery I have had no problem controlling them separately. Perhaps the battery is too weak to run all those motors together.

Steve