| The work conditions of a mechanical and electrical system are harsh, and the temperature difference is high. Its work accuracy is largely determined by internal temperature environment. When the system works, the inside heat sources are generating heat continuously. There are many types of heat transfer between the various components inside the system, as well as the components and the external environment. Studying the thermal characteristics of the system and obtaining a more comprehensive distribution of temperature field in the work process can help provide data and theoretical basis for the design and improvement of system optimization.This paper focused on the thermal characteristic analysis of the simplified model of a mechanical and electrical system. A simplified mechanical and electrical system was established and the temperature test was carried out. The finite element model for the transient analysis of the temperature field was built by fluid heat transfer simulation software FloEFD.The paper conducted numerical simulation and verified the validity of the numerical simulation model by calibrating the simulation results with the experimental results.Based on the experimental results and the numerical simulation results, the temperature control strategy of a heat source only controls the nearest point were proposed according to the characteristics of the multi heat source-multi temperature measurement points in the system. With the work characteristics of the mechanical and electrical system,this paper put forward a PID temperature control scheme which was divided into three phrases: rapid heating, control and steady state.The paper wrote the temperature control algorithm and developed GUI for temperature control test by VB6.0. In order to realize the co-simulation of temperature control algorithm and numerical simulation model, a co-simulation interface program, which can change the related thermal model parameters and control simulation calculating in real time, for FloEFD was developed. This paper developed the data acquisition interface program for Aglient34972 A and realized the semi-physical simulation of the system with a high temperature control accuracy. The co-simulation and semi-physical simulation verified the validity of the temperature control algorithm.Summarized the thermal characteristics of the simplified mechanical and electricalsystem, this paper optimized the temperature field in the number and position of internal heat source and obtained a preliminary optimization scheme of the temperature field distribution. |