Hegsteder

Hi all! I have a question… I have a 2007 can am outlander xt max 400. I have had to replace 2 ignition switches and two batteries since I bought it new in 2007. I am thinking regulator/rectifier is the problem. I was also having charging problems before the last battery. any thoughts? Also was wondering where to find a schematic so I am replacing the right part. any help will be appreciated. Thanks!