Also I'd like to run this MOV, film cap + choke idea by
@Hedges and
@RCinFLA to check if I am missing something and making it dangerous.
I hadn't thought of MOV to protect cap. Cap for AC line ought to withstand kV transients typically seen on lines.
LC filter as you describe matches what I was thinking of.
For PV, some inverters spec max capacitance to ground for panels because they do a leakage check and superimpose AC. I think the leakage check is brief grounding of PV- and of PV+, so capacitance would be a momentary current flow. The inverters I have, looks to me like feeding 208V of 3-phase drives 60 Hz 60Vrms common mode, 240V single phase drives 120V, 120/240V split-phase doesn't drive AC.
The square wave you mention, is that MPPT or is it due to non-isolated from AC?
RSD keep-alive or communications would be differential mode current. If using external keep-alive transmitter, just put these filter components between that transmitter and the inverter. If internal, don't want to kill the signal with capacitance between the two lines. What bandwidth? filter could have band pass, in this case "band not stop" since it is a shunt.
You may be able to put capacitance from a single wire PV- to ground but not PV+ to ground, so keep-alive isn't absorbed. Of course, that asymmetry would convert common-mode noise to differential. Basic problem is passing desired signal and blocking the rest. Chokes before and after the shunt capacitance, band pass filter to jumper around it?
Ah, now that I think about it, the MPPT is going to be differential mode, so common mode chokes aren’t going to help a lot.
Just a bulk capacitor which passes (shunts or shorts) MPPT frequency ought to work. Needs to not affect keep-alive frequency. An inductor in series with cap could tune to be high frequency for that. Does low impedance to 15kHz MPPT, high impedance to 150kHz keep-alive sound right? one decade, about 20 dB. Not huge, but something.