The Sun has a roughly 11-year sunspot cycle, however, with the ending of each cycle, the polarity of the Sun's magnetic field reverses so that the North magnetic pole becomes the South and vice versa. Every 22 years we end up with the polarity returned to its 'previous' state. There have been many studies of what happens to Earth's weather when these flips occur, but to my knowledge, there has been no conclusive evidence that polarity reversal does much of anything.