A Geometric Approach to Fault Detection of Periodic Systems