Abstract

A new improved CSMA/CA algorithm for wireless sensor networks (WSNs) is proposed in this paper to save energy and prolong the life cycle of WSNs. This algorithm is combined with the artificial neural network and Bayesian algorithm according to the practical applications of the drug control system of the Internet of Things. The algorithm is divided into two parts: first, the artificial neural network algorithm is used to estimate the data of WSNs, the results are the reference for the conversion of routing node frequency; second, by using the Bayesian formula, valuation method, and the CSMA/CA’s collision detection mechanism, the algorithm adjusts the frequency of the routing node and the relevant node frequency to establish the normal communication of packets sent by nodes and the aggregation node packets. In this way, it will reduce the collision detection and the back off time and avoid data packet duplication. The simulation tool-NS2 is used to configure an appropriate simulation scene for the experiment, which analyses and compares the received packet rate, the overall energy consumption of the network, and so on. The results demonstrate that the proposed algorithm ensures high energy efficiency and balanced energy consumption. Therefore the results show that the improved algorithm increases the efficiency, so that the network has the function of intelligent learning.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.