Flight Crew Multiengine; Flight Crew Instrument; Flight Crew Commercial; Flight Crew Flight Instructor
Flight Crew Last 90 Days 12; Flight Crew Total 1700; Flight Crew Type 300
Situational Awareness; Troubleshooting; Distraction
Aircraft Equipment Problem Less Severe; Deviation - Altitude Excursion From Assigned Altitude; Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance; Deviation / Discrepancy - Procedural Published Material / Policy; Inflight Event / Encounter Loss Of Aircraft Control
Flight Crew Returned To Clearance; Flight Crew Regained Aircraft Control; Flight Crew Overcame Equipment Problem; Flight Crew Became Reoriented
Aircraft; Human Factors; Weather
Error message indicating loss of Number 1 GPS connection. Auto select back-up GPS Number 2 (loss degrades approach capability). While trouble shooting the error inadvertently pulled the AHRS (Air Heading Reference System) breaker and lost Primary Flight Display (PFD) altitude; heading and attitude indicator.Distracted by the loss of information and still trying to trouble shoot the GPS failure and in solid IFR conditions there was a brief loss of control.  The aircraft lost over 1;000 feet and 90 degrees of heading before I recognized the problem and using back-up instruments began correcting. The entire episode lasted about 2 minutes.I contacted ATC as soon as I recognized the loss of control but the controller misunderstood and thought I was asking for a new routing? Eventually we reinstated our fight plan clearance.
SR22T pilot reported heading and altitude deviations associated with loss of control during troubleshooting of a GPS problem.