In order to solve the problem of high frame error rate in electronic communication engineering, the application of artificial intelligence technology in electronic communication engineering is proposed. Taking LPWAN technology in artificial intelligence technology as an example, a new architecture is proposed to improve the security of wireless communication system of internet of things. The architecture is mainly composed of business layer, data processing layer, terminal access layer and communication technology layer. The experimental results show that the system configuration sends four kinds of information transmission instructions of “temperature, light, air pressure and humidity” every 30 s, and the receiving port collects the above command data continuously for 4 h, compared with the traditional architecture (15.6%), and the packet loss rate is 4%, which can effectively improve the throughput and processing efficiency of the system. The designed architecture runs stably, has low bit error rate, and can better support the wireless communication. It is proved that the new architecture with LPWAN technology as an example has large overall capacity and excellent performance of its electronic communication engineering interface. The frame number error rate is greatly reduced and the result of signal frame number is more accurate.