I'm designing a current mode switching power supply with a load that will have a very strong load current harmonic at 50Hz (repeating sine wave from
100mA -> 1A -> 100mA in 20mS). I need the current control loop to have enough bandwidth to regulate this so it has less than 5% effect on the output voltage. There is not sufficient bulk capacitance on the output to supply the 50Hz current due to packaging so the control loop will see a large portion of it (assume all of it).How do i determime the bandwidth and loop gain required to achieve this level of performance?