a crimped lug attached to frame of panel, and/or the roof/ground ali mounting frame (often sandwiched) to a cable to a driven earth stake, i could be wrong, but the charge controller is earthed to same stake........... if am wrong about coupling the panel and controller earths.... best some tell me, at that is how i was told to do it