Integrated circuits are increasingly used in complex environments, and the environmental adaptability of their electrical parameters has become a key factor affecting reliability. Based on the LK8820 test platform, the article develops an environmental adaptability testing model for the electrical parameters of integrated circuits. Through the data acquisition module of LK8820 platform, the key electrical parameters of ICs in extreme environments are obtained. Utilizing the Transformer architecture, the mapping relationship between IC electrical parameters and environmental variables is established. The test circuit is designed to improve the convenience of electrical parameter detection, and the effect of electrical parameter detection is verified by combining with simulation experiments. The accuracy of the electrical parameter detection model based on the LK8820 platform is 92.55%~97.28% under the operation of integrated circuits in high temperature, low temperature, high humidity and dry environment. Under different environments, the detection errors of the model for the four electrical parameters of IC static capacitance, dynamic capacitance, dynamic inductance, and dynamic resistance are between 0.04% and 0.95%, with high accuracy. The voltage and current output values of the model on the coal miner traction inverter are consistent with the values calculated in the study, and the output waveforms are correct. The detection error of voltage RMS of the model is higher than that in normal environment under harsh environment, but the detection error is much lower than the design value of 2%.