Periodic permanent magnet systems for OGMS