In order to ensure the performance and safety of photovoltaic grid connected inverter, based on hardware in the loop simulation technology, the design and implementation of photovoltaic grid connected inverter simulation and test platform are discussed. The system structure, principle and main functions of the platform are introduced. The simulation and test platform is composed of simulation and monitoring computer, simulation and measurement interface device, programmable power supply and test instruments. In the platform, the programmable DC power supply, the programmable AC power supply and RLC load is used to simulate the characteristics of solar panels, power grid and load respectively. The test process is controlled by LabWindows/CVI software interface, and the test data collection is completed through power quality analyser, power analyser, oscilloscope and simulation and measurement interface device. The simulation test software completes the data analysis and realizes the full-automatic detection of the grid connected inverter. The established hardware in the loop simulation test platform of photovoltaic grid connected inverter has the ability to conduct comprehensive test and detection of photovoltaic grid connected system, which can be used to verify and evaluate the photovoltaic inverter before it is connected to the power grid.