Here is an example of a VFD noise filterAgain, the Web Link is meant as an example only and not for use with your VFD drive controller. The one shown on Amazon is a 3 phase unit. Your power no doubt is single phase.
https://www.amazon.com/Filter-Suppressor-Variable-Frequency-Drives/dp/B08BZ6BGN7
Only an example.....
Also looking at the features for the Franklin Electric SubDrive it says it has filtering.
Advanced Filtering to Remove Radio Frequency Interferencehttps://www.rcworst.com/franklin-electric-5870205313c-subdrive20-connect-submersible-motor-constant-...
Your noise problem may be the VFD controller was not properly installed and wired following best practices for a VFD. Proper grounding is a must.
Example:
https://www.eaton.com/ecm/groups/public/@pub/@electrical/documents/content/ap040076en.pdf
.