Design of Welding Parameter Collection System Based on STM32 and W5500
Design of Welding Parameter Collection System Based on STM32 and W5500
Abstract:
This paper presents a welding parameter acquisition system based on STM32 microcontroller and W5500 Ethernet chip to solve the problems of high randomness, tracing welding parameters and difficulty in quality tracking. This paper designs the software and hardware of the welding parameter acquisition system, and realizes the acquisition and filtering of voltage signals and data transmission through TCP/IP protocol. Debugging shows that the system can perform the expected tasks such as voltage signal acquisition, processing and TCP/IP communication well in the laboratory environment. The data transmission process is stable and reliable, and meets the expected design requirements.
HW design:
STM32F103ZET6 connect with W5500
Linear optocoupler isolation circuit based on HCNR201
SW design:
Welding voltage data collection and software filtering by STM32 ADC & DMA
W5500 Setting
Welding voltage data collection and filtering program flow chart
Voltage data sending program flow chart
Testing:
After the TCP communication debugging is successful, transplant the voltage acquisition and filtering program into the above program, and rewrite the sending and receiving program into cyclic sending.Set the TCP debugging assistant according to the above content, and the receiving area displays the processed voltage value at a rate of 1 time/s. . The display format of the voltage value at this time is a 3-digit integer, representing the units, tenths and percentiles of the voltage value from left to right respectively. As shown in the picture, the voltage is sent successfully.
Conclusion:
Aiming at the problems of large randomness in the welding process and difficulties in welding parameter traceability and quality tracking in traditional welding production processes, this paper proposes a welding parameter acquisition system based on STM32 and W5500. This system takes the STM32 microcontroller as the core, designs the software and hardware of the welding parameter acquisition system, and realizes the acquisition, filtering and processing of voltage signals and data transmission through the TCP/IP protocol. Debugging shows that the system can well complete expected tasks such as voltage signal collection, processing and TCP/IP communication in a laboratory environment. The data transmission process is stable and reliable, meeting the expected design requirements.