Abstract
Monitoring the diversity of wild animals is a core part of the research and protection of wild animals. Due to the harsh outdoor environment, researchers cannot squat in the deep forest for a long time. Therefore, designing a sensor network system for wildlife monitoring is of great value to wildlife research, protection, and management. When deploying a wildlife monitoring network in the wild environment, it is necessary to solve the problem of the effective use of energy. To this end, this paper proposes an energy-saving optimization method for node scheduling and a wake-up scheme based on a cultural genetic algorithm. This method achieves the purpose of energy saving by making redundant nodes fall asleep and waking up sleep nodes to repair the coverage blind area caused by dead nodes. Simulation results show that this method can activate fewer sensor nodes to monitor the required sensing area, and its performance is better than other known solutions.
Keywords
Introduction
In a natural evolution, wild animals have formed a close symbiotic relationship similar to spider webs through the chain relationship of the food chain with the surrounding ecological environment. The extinction of a species will have a chain reaction, and the consequences may be the disappearance and collapse of an ecological system. Therefore, human beings need to rely on nature. We protect wild animals, eliminate poaching [1], protect biodiversity, and protect the ecological environment in which they live. We are protecting ourselves [2]. How to effectively detect the ecological environment of wild animals, obtain relevant activity trajectory data of wild animals, and then realize the scientific research, protection, and management of wild animals, has always been a research hotspot.
There are two traditional solutions for wildlife monitoring: follow the shots on-site or arrange many cameras. However, these two methods have certain drawbacks. Because the living environment of wild animals is a complex and harsh primitive ecosystem, there are specific difficulties and dangers for the staff to follow the shooting on the spot, and it is often the case that the wild animals cannot be effectively tracked, resulting in the omission of the collected image data. And the detection time for wild animals lasts from a few months to as long as several years. The task of shooting on-site is a massive challenge to the staff’s body and mind. However, arranging many cameras in the environment where wild animals live will increase the cost. Because the trajectory of wild animals is uncertain and the range of activities is extensive, cameras in specific locations may not collect any image data about wild animals at all. The camera utilization rate is low, and the image data, camera, and battery working conditions cannot be obtained in time. So, the information transmission is lagging, and the management and maintenance workload is enormous. There are many shortcomings in the traditional wildlife monitoring schemes of following scene shooting or arranging multiple cameras, making the research work challenging to carry out smoothly.
Therefore, based on the above analysis, how to adopt new solutions to effectively monitor the living environment of wild animals, collect relevant image data and activity trajectory data, and then conduct research and investigation on the diversity of wild animals to realize the protection of wild animals, is one of the urgent problems that need to be solved at present.
The wireless sensor network has many characteristics such as large scale, integration, low cost, and self-organizing network. It is very advantageous to realize the monitoring of wild animals [3, 4]. Therefore, designing an intelligent wildlife monitoring system based on wireless sensor networks for wildlife protection provides a modern means for the research, protection, and management of wildlife, while also saving human resources and reducing work complexity[5, 6]. In the actual field environment, the sensor nodes realize the monitoring of wild animals through cooperation to obtain the image data of the relevant wild animals. However, this still faces two problems: How to repair the coverage loopholes caused by dead nodes and maintain high coverage of the wildlife monitoring area, how to use the wireless sensor node scheduling algorithm to realize the effective use of the energy of the sensor node, and then extend the lifetime of the entire monitoring network.
In response to the above problems, this article focuses on the intelligent wildlife monitoring system’s target coverage monitoring and energy-saving algorithms based on wireless sensor networks.
At present, the research on energy consumption and optimal coverage of wireless sensor networks has made certain achievements. Roselin proposed an efficient connection coverage algorithm [7], aiming to find the maximum number of intersection coverage sets while ensuring coverage and connectivity while minimizing sensor redundancy around the target. Compared with disjoint covering sets, intersecting covering sets can prolong the lifetime of the network.
Abdulhalim proposed a multi-layer genetic algorithm [8]. The goal of the algorithm is to find the maximum number of intersecting covering sets. While ensuring complete coverage, it also ensures that the minimum number of sensors is allocated to each intersection covering set. The algorithm uses a post-heuristic operation, in which unassigned sensors can be used to enhance the coverage of each group of coverage sensors or simplify coverage settings. Senouci [9] proposed a sensor node deployment algorithm PSODA based on particle swarm optimization to solve the deterministic deployment of node coverage in wireless sensor networks. Yeasmin [10] researched the problem of k-degree coverage and proposed the k-coverage verification protocol and the k- coverage sleep scheduling protocol. Wen Tao [11] and Liu Caixia [12] proposed a redundant node sleep scheduling algorithm, the former adopts different scheduling strategies for boundary nodes and internal nodes, and the latter divides the functions of intermediate nodes, which makes the redundant nodes go to sleep directly after deployment, and effectively extends the network lifetime. Danratchadakorn et al. [13] proposed a distributed and localized sleep scheduling protocol based on the coverage maximization and sleep scheduling (CMSS) protocol. The protocol assumes that sensor nodes are randomly deployed in grid cells, and the primary purpose is to satisfy all the target points while reducing the number of active nodes as much as possible. Torkestani [14] proposed a heuristic algorithm based on an automatic learning machine to find the approximate optimal solution of the connected dominating set problem extended by the minimum weight constrained by the agent equivalence. Lin [15] proposed two advanced deployment algorithms named EDA-1 and EDA-2, which maximize the coverage of heterogeneous directional mobile networks. Xu Daoqiang [16] proposed the partial coverage algorithm of the probability model, using the probability model to screen the coverage nodes that meet the conditions. Xu Mengying [17] proposed an improved chaotic immune hybrid frog leaping algorithm, which immunized and mutated individuals with high adaptability and low adaptability, thereby improving the optimal local solution and the optimal global solution, which is effectively increased the number of targets successfully monitored. Kim et al. [18] proposed a sensor node activation method based on natural heuristic algorithm. Zameni [19] proposed a node deployment algorithm for target coverage in a wireless sensor network, using genetic algorithms to build a grid on a subset of locations, and then proposed integer linear programming to install sensors at each grid location, reducing the number of sensors. Xu Qinshuai [20] proposed a network coverage optimization method based on a hybrid strategy to improve the Antlion algorithm, which effectively improved the node coverage of wireless sensor networks. Yun Xu [21] proposed a new routing protocol — Improved Distributed Energy Effective Clustering (I-DEEC), which is based on the node scheduling of genetic algorithm and makes redundant nodes sleep through proper scheduling. When it is exhausted, it replaces the dead node, which effectively improves network’s life.
In terms of cost, Naureen [28] proposed a novel positioning and mobility modeling system to aggregate the collected data and upload it to the base station. Maroto [29] proposed to install some of the animals with a global spot system collar and some with a low-cost Bluetooth tag. A path planning method based on Markov decision [30, 31] is proposed to better distribute the sensors by obtaining the trajectory of the animal.
The above methods significantly improve the efficiency of finding the optimal solution, reduce the redundancy of data transmission when the sensor repeatedly covers the target, and improve the coverage rate of the monitoring target and the utilization rate of the sensor node. However, there are also problems of falling into local optimality, premature stagnation, and failure to consider network fault tolerance, resulting in multiple coverages or partial coverages of the target area. This paper proposes an energy-saving coverage control mechanism based on a cultural genetic algorithm, which converges faster than traditional EGDG, LEACH, and PEGASIS algorithms and solves the problem of node coverage control well. While realizing coverage control, redundant nodes can be quickly located and set to a dormant state to save network energy. At the same time, a wake-up scheme is proposed, which can quickly replace dead nodes and maintain coverage.
Optimization of cultural genetic algorithm based on energy-saving control
The cultural genetic algorithm is like the genetic algorithm. The difference is that the cultural genetic algorithm integrates a local search operator; its purpose is to use one or more heuristic searches to improve the crossover and mutation solutions of genetic algorithms for specific problems. Therefore, compared with a genetic algorithm, cultural genetic algorithm has faster convergence speed and better performance. This article optimizes based on cultural genetic algorithm and introduces a wake-up scheme to make node scheduling more efficient and reasonable.
Cultural genetic algorithm
The cultural genetic algorithm includes two parts: genetic algorithm and local search operator, as shown in Fig. 2-1. The initial population of the algorithm is usually generated randomly or in a certain way. After each iteration of the genetic algorithm, the cultural genetic algorithm will use the local search operator to find a better solution, and iteratively, until the algorithm meets certain conditions and terminates. It finds the minimum sensor nodes required to monitor the target point in the area so that the new population finally obtained is very close to the optimal global solution.

Flow chart of cultural gene algorithm.
Compared with the problem of k-degree coverage in sensor networks (each target point in the sensing area is covered by at least k or more sensor nodes), this paper only considers 1-degree coverage. That means that at least one or more nodes cover each target point in the sensing area. Usually, the redundant nodes selected by the node scheduling algorithm must enter the sleep state to save node energy to achieve the maximum area coverage and maintain the minor energy loss. If a node runs out of energy and becomes a dead node, one or more sleep nodes near the dead node must be awakened immediately to replace the dead node and continue to monitor. This kind of node scheduling algorithm achieves 100 % coverage of the sensing area as much as possible.
It was given a two-dimensional plane target area R with an acreage of L
x
× L
y
, as shown in Fig. 2-2. There are N sensor nodes in area R, defined as {C = c1, c2, c3, … , c
N
}, where c
i
= { x
i
, y
i
, r
s
} i ∈ [1, N]. {x
i
, y
i
} is the position coordinates of the wireless sensor node. r
s
is the sensing radius of the coverage area, and there are a total of M target points to be observed in area R, defined as P ={ p1, p2, p3, … … , p
M
},where the coordinates of node p
j
are {x
j
, y
j
}. In addition, a binary variable

Observation area coverage model.
That is when
Where
Figure 2-3 shows the energy loss model in the wireless sensor network [23, 24]. Since the energy consumed by the wireless communication of sensor nodes accounts for a relatively large proportion of the energy utilization of the entire network, other energy consumption of the nodes may not be considered.

Energy loss model.
Among them E T x is the total energy consumption of sending H bit data packets, and E R x is the total energy consumption of receiving H bit data packets. It is assumed that the initial energy of all sensor nodes is the same, and other power sources supply the sensor sink node, so the sink node is not considered in this energy model. Figure 2-3 E elec represents the energy loss per bit of the transmitting or receiving circuit, and E amp represents the energy loss per bit of the power amplifier circuit, and β represents the path loss index. Therefore, when the transmitting end sends an H bit packet to the receiving end, the total energy loss [25] is:
The energy loss of the receiving end to receive the H bit data packet is:
Genetic operations include selection, crossover, and mutation [26]. In the selection operator, this article adopts the tournament selection method. Each round randomly selects a certain number of chromosomes from the population and then selects the chromosomes suitable for crossover from the selected chromosomes. We know that the alleles on the chromosomes represent the on/off state of the node from above. The higher the fitness value of the chromosome, the more reasonable the on/off scheduling of the node. Each round randomly selects ten chromosomes, taking the highest and second fitness as parent chromosomes. Then the two parent chromosomes produce child chromosomes by crossing.
The crossover rate needs to be set [27] to maintain the diversity of the population. The crossover rate R c indicates the possibility of two-parent chromosomes to produce child chromosomes through the crossover. The crossover rate is usually set to a relatively large value, and more child chromosomes can be generated through the crossover operation to update the gene pool. In this paper, a single-node crossover is used to exchange the right parts of the two-parent chromosomes at random positions to obtain two new chromosomes.
In genetic operations, mutation operators generally occur after crossover operations and generate new chromosomes by changing the value of one or more alleles on the chromosome, thereby effectively maintaining the diversity of the population and speeding up the convergence of the solution speed. The mutation rate needs to be set to a small value; otherwise, the entire genetic algorithm will degenerate into a random search. Since different crossover rates and mutation rates have different effects on the solution, here, to simplify the study, crossover rates and mutation rates are set to specific values.
Gene coding
Table 2-1 shows the gene coding of the energy-saving coverage maximization mechanism. The table Λ represents the total number of chromosomes. The length of each chromosome is N, and different population sizes have different effects on the optimal solution of the algorithm. Here we simplify the research and set the population size to a fixed constant based on experience. Moreover, allele ℓi,j represents the state of the sensor node cj in the chromosome i; 1 represents the node is working, and 0 is in a sleep state. For example, Fig. 2-4 shows that chromosome k has ten sensors; the states are 1010110010, which c2, c4, c7, c8, c10 are set to sleep state and c1, c3, c5, c6, c9 are set to work usually.
Gene coding of energy-saving coverage optimization mechanism
Gene coding of energy-saving coverage optimization mechanism

Chromosome k (10 sensor node of wireless coverage six target point), the solid line indicates the node is open, the dotted line indicates the node is closed, and the black dot indicates the target point.
In the genetic algorithm, the fitness function evaluates the alleles on each chromosome and calculates the fitness value of the chromosome. The genetic algorithm determines whether the chromosome is good enough according to the size of the fitness value so that it can stay in the original population to produce the next generation population. Therefore, the superiority of each sensor node scheduling takes the fitness function as an essential reference index.
According to the aforementioned perceptual coverage model, the coverage vector of a sensor node c
i
is defined as:
ϖ (i, j) indicates whether sensor nodes c i and c j cover each target point. Therefore, the composite coverage vector of chromosome k can be defined as:
In addition, define the calculation expression of chromosome k coverage [21]:
Among them, ∥ϖ (k) ∥ 2 indicates the number of target points that have been covered. The calculation expression that defines the node utilization rate of the chromosome k is:
Among them,
Substitute the expressions of ɛ
k
and
Assuming that the weighting coefficients α1 = α2 = 1 and the index λ1 = 2, λ2 = 0.5, the boundary conditions are: 0 ⩽ ɛ
k
⩽ 1,
A local search operator is used here to speed up the convergence of the optimal solution and improve the superiority of the population generated by the genetic algorithm. For each population generation, the operator successively changes each “1” allele to “0” on each chromosome. And compares the fitness values of the chromosomes before and after the change to determine whether the changed chromosome should be retained. Let Popk = { b1, b2, ⋯ , bp } k is the population k, which is a collection of a series of chromosomes. The pseudo-code is as follows:
If the best quality solution has not changed in each of the following populations, the algorithm will terminate, to get the best scheduling scheme of sensor nodes. Note that it is very vital to determine the appropriate chromosome value in each generation of the population. If many chromosomes are selected, the convergence speed of the algorithm will be reduced.
Wake-up scheme
A wake-up scheme is proposed to repair the coverage loopholes caused by the exhaustion of node energy. In the cluster sensor network, the sensor nodes randomly form clusters. In each cluster, only one sensor node can be used as the cluster head. The cluster sensor network uses time division multiple access to realize the communication between the sensor nodes and the cluster head node. In addition, the cluster head node can directly communicate with the sensor sink node and is responsible for forwarding the information received by the cluster head node to the sensor sink node. After the cluster head node is selected, time division multiple access scheduling will be set up. After the setup phase is over, the sensor nodes will be in the steady-state phase, and the collected data packets will be forwarded to the cluster head node, and the cluster head node will merge the received information and then forward it to the sensor sink node. In a clustered sensor network, each round can be re-clustered. In each round of elections, each cluster will select a new cluster head node, and each sensor node can directly communicate with the sensor sink node.
According to the sensor node scheduling scheme, some sensor nodes will be switched to a sleep state during initial deployment, and the remaining sensor nodes are responsible for sensing tasks. When a sensor node is about to run out of energy, the wake-up scheme will wake up some neighboring sensor nodes in the next round to repair the coverage hole caused by the death of the node. It is assumed that the sensor sink node has enough energy to implement the energy-saving coverage control mechanism and wake-up scheme. When the sensor sink node receives a signal from a node about to run out of energy, it will decide which sensor nodes to activate in the next round.
Based on the previously defined coverage vector, the sensor coverage can be evaluated using bit Boolean operations. If a sensor node n i run out of energy, the sensor sink node will re-evaluate the coverage of the cluster sensor network through the following calculations and find the uncovered target points.
Among them, ⊕ represents an exclusive OR Boolean operation.
Regarding the algorithm of the wake-up scheme, the following definitions are introduced:
The sensor sink node will search n i ’s adjacent nodes and wake them up to repair the coverage loopholes caused by dead nodes n i through the following algorithm. The pseudo-code is as follows:
As mentioned above, the sensor sink node will activate the nodes searched by the wake-up scheme at the beginning of the next round. If a sensor node in the network is about to run out of energy, the cluster-head node adjacent to this node will send relevant information to the sensor sink node. At this time, the wake-up plan will be activated, then the coverage area will be re-evaluated, and the other adjacent node near the dead node will be awakened to repair the coverage blind area. In this way, the coverage control of the target point can be effectively achieved.
Simulation parameters
The mechanism is simulated on the MATLAB platform, aiming at the performance of the energy-saving coverage control mechanism proposed in the paper in extending the network lifetime and maintaining the coverage rate of the monitoring area. Considering that the photos taken by the monitoring camera in the range of 1–20 m are explicit and the imaging results are relatively satisfactory, the sensing radius of the simulation parameter sensor node can be made 16.5 m.
Energy cost
Energy cost
Simulation parameters
The architecture of the wireless sensor node is shown in Fig. 3-1. It consists of a lithium battery, a power management circuit, three sets of pyro-infrared sensor modules, and a CC2530 controller that includes Zigbee transceiver functions.

Architecture diagram of wireless sensor node.
Two 3000mAh rechargeable lithium batteries provide the power of the node in parallel. The battery capacity guarantees that the node can work continuously for more than 60 days under normal working conditions. The power management circuit realizes the optimal energy-saving state through the controller to achieve the energy scheduling of the entire node. The sensor detection part of the node is composed of three groups of pyroelectric sensors and the corresponding Fresnel lens. Since the selected Fresnel lens has a detection angle of 120°∼140°, the use of three sets of pyroelectric sensors can cover a complete 360° area.
Due to the difference in wildlife distribution and topographic characteristics in the three specific monitoring sample areas in the West Dongting Lake National Nature Reserve in Hunan, the corresponding wildlife sensors are arranged in the nature reserve’s three specific monitoring sample areas, as shown in Fig. 3-2. The sensor detection network in the intelligent wildlife monitoring system is a cluster sensor network in which all sensor nodes have the same initial energy and can communicate with the sensor sink node and other sensor nodes in the detection area. The sensor sink node uses this mechanism to control the on/off status of sensor nodes.

Three specific monitoring sample areas.
(1)

Wireless sensor network for monitoring sample area a.
Figure 3-3 shows that when the wildlife monitoring network is uniformly deployed, through this energy-saving coverage control mechanism, the sensor sink node can quickly locate the corresponding redundant sensor nodes and shut it down to save energy. Figure 3-3(left) shows the initial uniform deployment of sensor nodes and target points in the monitoring sample area. Figure 3-3(right) shows the situation where the target point is covered after applying the node scheduling based on the cultural gene algorithm. Among them, the red dot is the target point, and the blue circle is the monitoring area of the sensor node. It shows that only 5.5% of the sensor nodes activated successfully covered all the target points in the monitoring area, achieving full coverage.
(2)

Wireless sensor network for monitoring sample area b.
(3)

Wireless sensor network monitoring sample area c.
It can be seen from the above results that the algorithm can effectively activate the sensor nodes according to the topographic features and achieve the effect of complete coverage of the area. By making redundant nodes sleep, unnecessary energy consumption is avoided, costs are saved, and the life cycle of the network is prolonged.
The following simulation results verify the feasibility of deploying an intelligent cluster sensor detection network in nature reserves. If the sensor sink node has enough energy to set the best scheduling plan for each sensor node, when the sensor node’s energy is exhausted, the sensor sink node will wake up adjacent sensor nodes to repair the coverage blind zone. Therefore, the sensor sink node can simultaneously affect the number of activated sensor nodes and the coverage rate in the detection area. In the case of 400 sensor nodes and 64 target points evenly distributed in a 100m×100 m monitoring area, this paper compares the performance of the energy-saving coverage control mechanism and the three algorithms of EGDG, LEACH, and PEGASIS. Figure 3-6 shows the coverage rate of a specific monitoring area under a given number of rounds in the wildlife monitoring network. It indicates the energy-saving coverage control mechanism maintained 100% coverage of the monitoring area before the 1500 rounds. However, after 3,500 rounds, the superiority of the energy-saving coverage control mechanism is reflected, and the network life cycle is about 1,000 rounds longer than that of EGDG and other algorithms. The performance of the EGDG, LEACH, and PEGASIS algorithms in maintaining the perceived coverage rate is far lower than the energy-saving coverage control mechanism.

Perceived coverage under specific number of turns.
Figure 3-7 represents a death sensor node percentage at a particular number of rounds of the wildlife monitoring network. The number of death sensor nodes of the EGDG, LEACH, and PEGASIS algorithms reached 50% in 1950, 1120, and 300 rounds, respectively. The PEGASIS and LEACH algorithm nodes died so quickly is because these two algorithms did not apply the sensor node scheduling scheme. The energy-saving coverage control mechanism and the EGDG algorithm can apply the node scheduling plan to shut down the corresponding redundant nodes and save energy to extend the network life cycle of the wild-only detection system. It indicates that the energy-saving coverage control mechanism has better performance than the other three algorithms in extending the sensor network’s life cycle.

Percentage of dead nodes under specific number of turns.
The above simulation results show that when deploying an intelligent wildlife sensor network in the wild environment, the application of energy-saving coverage mechanism can extend the life cycle of the system network while still maintaining a high perception coverage of the monitoring area. Through continuous monitoring, many clear images of wild animals can be obtained, which significantly improves the system’s service quality.
Aiming to deploy front-end sensor nodes of the intelligent wildlife monitoring system, an energy-saving coverage control mechanism is proposed, including sensor node scheduling and a wake-up scheme based on a cultural gene algorithm. This mechanism can quickly locate redundant nodes in a specific monitoring area, set them to sleep state, and repair coverage loopholes caused by dead nodes, to maintain a high coverage rate of specific monitoring areas. Simulation results show that the performance of the proposed mechanism is better than the EGDG, LEACH, and PEGASIS algorithms in terms of coverage rate and a lifetime of the sensor network, which effectively improves the service quality of the intelligent wildlife monitoring system.
