Continuous carbon fiber reinforced thermoplastic composites have problems such as long temperature self setting time, high overshoot, and low control accuracy during laser in situ molding, resulting in poor component forming quality. This article designs a temperature closed-loop control system based on an intelligent fuzzy proportional-integral-differential (PID) controller. By introducing a fuzzy self-tuning PID algorithm, the goal of quickly adjusting to the working temperature when turned on is achieved. The temperature overshoot is significantly reduced, and the temperature control accuracy is improved. According to the requirements of laser in situ forming of carbon fiber reinforced polyether ether ketone composite materials, a laser in situ forming experimental device was built. Through simulation testing and comparison of forming temperature, the results showed that compared with traditional PID controllers, when using an intelligent fuzzy PID controller to control temperature, the temperature control accuracy was maintained at ± 10 ℃, the overshoot percentage was about 2.29%, and the adjustment time was about 9.7 seconds. All indicators met the actual engineering requirements, The temperature setting effect is good and the fitting degree is high. Therefore, the overall performance of the intelligent fuzzy PID controller is far superior to traditional PID controllers, meeting the temperature control requirements in the laser in situ molding process of thermoplastic composite materials.