| With the progress and combination of the wireless sensor network and the networked control system, wireless sensor and actor network (WSAN) is arising recently. As a specific type of the emerging cyber-physical systems, WSAN incorporates a number of advanced techniques such as ubiquitous sensing, self-organization, wireless communication, distributed computing, and automated control. It can be widely applied in industrial automation, manu-facturing, smart building, modern agriculture, and intelligent traffic, etc. It is able to improve people’s productivity and lives.The main research topic of WSAN is the coordination between nodes to monitor and control the environment. How to coordinate between sensor nodes and actor nodes directly affects the latency and energy consumption of WSAN. In order to improve real-time perfor-mance and reduce the energy consumption, this paper proposes an energy-aware and real-time coordination algorithm of WSAN on the basis of optimization theory and graph theory.The main content of algorithm as follows, first, we determine the ideal number of actor nodes, taking the number of sensor nodes and events area as given. Second, sensor nodes and actor nodes are deployed randomly. The network is clustered based on Voronoi diagram of actor nodes. Actor nodes are cluster head in each cluster. There is only one actor node in each cluster and sensor nodes that in one cluster only communication with the actor which is in the same cluster. Then redeploy the actor node in each cluster in order to improve the network real-time performance. Finally the optimal communication path between sensor nodes and actor node are designed based on Dijkstra algorithm. In this paper, SA coordination is con-structed and simulated by MATLAB software tools, on the application background of green-house. The analysis result of simulation indicates that the real-time performance and energy consumption of ERAS A algorithm are better than the compare algorithm. |