This paper proposes a boost inverter model capable of coping with changes in load as well as line parameters. In order to achieve an output AC voltage higher than the input DC voltage, we can use this model consisting of a pair of DC-DC converters with a load connected differentially across them. This paper aims at developing a boost inverter that is capable of achieving a very high gain, to obtain an AC voltage of 110 Vrms from a DC input of 36 V. This is exceptionally beneficial in renewable energy applications, where the input voltage garnered is quite small, and in need of stepping up for commercial use or transmission. However, aside from the voltage level itself, lowering the rise time, settling time, peak overshoot and steady state error of the system is of cardinal importance in order to maintain a reliable output voltage. Closed loop control of the differentially connected DC-DC converters is necessary to determine the optimal stable operating point. This paper addresses the above concerns through optimization of the proportional and integral constants using the novel Bacterial Foraging Algorithm, ensuring operation at the required optimal stable operating point. Moreover, load/line disturbances may occur due to which the stability of output voltage may be compromised and THD value may increase to undesirable extents. In these cases, utilization of the output voltage is no longer viable for several applications sensitive to such voltage fluctuations. We have demonstrated that our proposed model is capable of restoring/reverting to the satisfactory sinusoidal waveform fashion within a single voltage cycle. The waveform results that demonstrate the resilience of our model to such disturbances are represented appropriately.