Calculate DC pulsed Current going into Inverter
The current transformer measures only the AC current, not the DC. You would need a DC current transducer, like those produced by LEM. You didn't mention the current range you wish to measure.

All measuring inputs need a low pass filter, perhaps this is the problem for voltage meaurment, also a good stable voltage reference to the ADC without noise is required