There's a couple of things I can think of.
?
First is to ensure that the voltage feeding the regulator doesn't drop below the dropout voltage. You'd have to check the data sheet, but say the dropout for your 5V regulator is 6V then ensure that it doesn't drop below that. You probably want to add safety margin for component tolerance, lower than normal mains voltage, etc.
?
Second thing is you can simulate the environment with a stepped load. This could be 3A for N seconds then change to 240mA after that.
?
Set up stepped load
?
- Right-click in the load box (outside of the resistor itself), select Change then select type of load as Constant current.
- Right-click on the constant current symbol click edit, then click the stepped load box
- Value 2 and After will light up, so you can key in value 1 of 3A, value 2 of 240mA and the delay between the two you would have to decide for yourself as you know best what the timings are
?
Regards,
Duncan
?