The market demand for 2μm high-power laser medical devices is increasing, and such devices in front of the human-computer interaction module lack control of system safety and light extraction accuracy. At the same time, with the implementation of the YY0505-2012 medical electrical electromagnetic compatibility standard in 2014, the design of medical equipment in line with the YY0505-2012 standard is imminent. Therefore, this paper uses a modular design to design a 2μm fiber laser medical instrument control system based on STM32, integrating the parameter monitoring of the water cooling unit, the anti-interference design of the power module, and the calibration of the output power. The test results show that the system is reliable and stable, and the operation is convenient. System hardware structure The system hardware is based on STM32F107VCT6, and the hardware block diagram is shown in Figure 2. The parameter monitoring of the precision water cooling unit includes monitoring of high and low water level, water flow, water pressure and water temperature; the human-computer interaction module based on touch screen integrates external light indicator, key switch, emergency stop, start, pedal, gate and other external Hardware control; power distribution module integrates relay drive circuit and electromagnetic compatibility design. Among them, the water cooling unit, the fiber laser, the touch screen and the sound synthesis module communicate with the main controller through RS232 respectively. Figure 2 system hardware block diagram Power distribution module circuit design In order to achieve high reliability, the power distribution module circuit adopts redundant design, and each relay drive circuit controls two solid state relays. Taking the relay driving circuit of the laser shown in Figure 3 as an example, U5 and U6 represent two relays, and the output terminals are respectively connected in series to the neutral line and the live line of the power supply, so as to achieve the same opening and closing, to avoid the impact of a certain relay on the entire system. jobs. In addition to the I/O control of each signal, the emergency stop signal is also controllable to the relay, achieving the purpose of simultaneous software and hardware shutdown. The selected emergency stop button is normally closed and active at high level. When the emergency stop is triggered, Q3 is not turned on, causing the 9-pin level to be pulled low, and then the I/O signal passes through the AND gate, and the output is also low. Flat, the Q4 is not conducting, the relay is in an open state, and the power is off. In addition, the circuit is connected to the 5V transient suppression tube at the STOP and I/O signal interface to prevent static buildup from damaging the device. On the other hand, when Q4 is turned on, D3 illuminates as the circuit working status indication. When the system is abnormal. It is convenient for troubleshooting. In this paper, a medical instrument based on 2μm high-power fiber laser is designed. With STM32 as the control core, the humanized human touch interface function design, laser drive control, parameter monitoring of precision water cooling unit, and power distribution module are completed. Anti-interference design and calibration of output power. Output power 0W or 4W~80W, step length 1W continuously adjustable, can switch between vaporization and coagulation two power parameters by foot pedal; temperature acquisition accuracy ±0.5 °C, water flow 3.6L/min, in line with IPG-TLR- 80-WC-Y12 model fiber laser normal working requirements. After the power calibration algorithm, the maximum deviation between user set power and terminal acquisition power is reduced from the previous 63.6% to 2.5%, and the control accuracy is ±1W. The test results show that the system has high reliability, strong anti-interference ability and stable output power. Accurate, easy to operate and so on. tsvape , https://www.tsvaping.com