ArticleslgStudy

computer science

Event detection for WSN

Event detection for WSN is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Event detection for WSN rather than just read about it. In short: Event detection in wireless sensor networks can be used to limit the amount of data sent between nodes to only when an event of interest is triggered at a sensor. Wireless sensor networks (WSN) are a spatially distributed network of autonomous sensors used for monitoring an environment.

Event detection for WSN — main illustration
Event detection for WSN — illustration

Key takeaways

  • Event detection for WSN belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Event detection for WSN to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Event detection for WSN from memory before moving on to harder problems.

Reference excerpt

Event detection in wireless sensor networks can be used to limit the amount of data sent between nodes to only when an event of interest is triggered at a sensor. Wireless sensor networks (WSN) are a spatially distributed network of autonomous sensors used for monitoring an environment. Energy cost is a major limitation for WSN requiring the need for energy efficient networks and processing. One of major energy costs in WSN is the energy spent on communication between nodes and it is sometimes desirable to only send data to a gateway node when an event of interest is triggered at a sensor. Sensors will then only open communication during a probable event, saving on communication costs. Fields interested in this type of network include surveillance, home automation, disaster relief, traffic control, health care and more. Energy savings come from the fact that nodes only communicate back to the gateway when there is an event to report. This may be difficult in dynamic environments where much of the data collected may not be of interest. To overcome this issue constraints on what defines an event are relaxed and usually modeled as a set of thresholds or probabilities. Event detection falls under three main categories: threshold based, supervised and unsupervised.

Threshold based detection Threshold based detection is a simple way events may be detected through the use of various parameters that can hint as to whether an event has occurred or not. Data collected at a sensor node, also called the data-event, is analyzed to see if it has reached a certain threshold point to be considered an event. For example, a light detector may only report back to a gateway if it detects light above a certain intensity. The data-event can also be the result of a combination of outputs from different types of sensors that either collaborate at the gateway or through small hop peer-to-peer communication. Two important parameters that affect the effectiveness of the detection is sampling rate and event area. The sampling rate will depend on whether events occur over long periods of time like tides in the ocean or over short periods of time such as cars passing a building. The event area will determine how many sensors need to report values above a threshold value for the likelihood of an event to be high enough to be considered. If sensors collect multiple data points at a given time then another method of using threshold based detection is to measure the variance of the data and only send data to a gateway node if the variance reaches a certain threshold. Events may occur in only a small portion of the data set. In this case it is important to break the data into smaller segments and take into account the variance of each individual segment. Consider an N-dimensional data set that can be divided into four equal quadrants. The sum of absolute difference can be calculated for all the samples in that section and can be used as an approximation of the variance of that quadrant. Below is what the equation would look like for one quadrant. V1=∑𝐬|I(𝐬)−Iref(𝐬)| , where 0≤si≤m2 , where 𝐬 is the N-dimensional sampled area in the region of support ranging from 0 to m in each dimension, I(s) is the set of sampled points at point 𝐬, and Iref(s) is the reference set of data points. The sum of absolute difference above is one quadrant of the total space sampled and can represent the pseudo-variance of a subset of the data. By collecting all the variances for the different quadrants it is more likely to detect the occurrence of an event even if the event only affects a portion of the total region of support.

Supervised detection Supervised detection is when events are known ahead of time and can be described by patterns that can be compared to live data. It requires some information to be known about the events in question and the environment a priori. This is usually done by taking sample measurements, or training vectors, across the network during an event and creating a signature of what the data looks like. Classifying an event can be generally described as the probability that an observed measurement x was a result of event ω. Given a set of N-dimensional vectors {𝐱} and a predetermined set of events {𝝎}, the goal is to achieve the minimum error of misclassification, or Bayes error. The sensor needs to decide if 𝐱 belongs to ωi, by ensuring that p(ωi|𝐱)>p(ωj|𝐱) for j≠i. Once the most probable event has been determined and the probability of 𝐱 belonging to an event is calculated it can be checked against a threshold. If the probability of an event is large enough then the data is forwarded to the gateway node. Below are a few examples of algorithms that solve the optimal Bayes classifier. They all require a set of training vectors to simulate or re-enact events of interest.

k-Nearest neighbor (k-NN) classifier The k-NN algorithm is a well known pattern recognition algorithm where a set of predetermined prototypes {pk} are used during the sample, or testing phase, of a supposed event. The prototypes model the events that are of interest in the application. The distance between each test vector and each prototype is calculated and the k test vectors closest to the prototype vectors are taken as the most likely classification or group of classifications. From there the probability that x belongs to the prototype event can be calculated. This approach, however, requires much memory and processing power as the number of prototypes increases and thus it is not a very practical choice for WSNs. It does however act as a good baseline to gauge performance of other classifiers since it is well known and that probability of misclassification when k=1 approaches twice the optimal Bayes error.

Maximum Likelihood Classifier The Maximum Likelihood Classifier models the distribution of training vectors from the same class as a mixture of Gaussian density functions. The probability of a given training vector x, given a class ωi is p(𝐱|wi)=G(𝐱|θi)=∑kαik|𝜦ik|−N/2exp(−1/2(𝐱−𝐦ik)T𝜦ik−1(𝐱−𝐦ik) where θi=[𝜶i1,...𝜶iP,𝐦i1,...𝐦iP,𝜦i1,...𝜦iP] are the mixture, mean, and co-variance matrix parameters of the P mixture densities corresponding to class ωi. Identifying the matrix parameters can be done through other algorithms for finding the mixture densities of the training vectors, such as the k-means algorithm or the expectation-maximization algorithm.

… excerpt ends here. Continue reading the full article.

Illustrations

Event detection for WSN: Only the sensors that detect an event will send data back to the gateway, saving energy on communication between sensors and the gateway.
Only the sensors that detect an event will send data back to the gateway, saving energy on communication between sensors and the gateway.

Worked examples

Example 1 — a first encounter with Event detection for WSN

Start with the simplest possible case. Write down what Event detection for WSN claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Event detection for WSN before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Event detection for WSN ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Event detection for WSN

In research
Event detection for WSN appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Event detection for WSN in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Event detection for WSN is common in secondary-school and first-year university syllabi. It links to neighbouring topics Sensor technology, Signal processing, Wireless sensor network, so understanding it makes those chapters shorter.
In everyday life
Look for Event detection for WSN outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Event detection for WSN” →

How to study Event detection for WSN in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Event detection for WSN means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Event detection for WSN out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Event detection for WSN in simple terms?

Event detection in wireless sensor networks can be used to limit the amount of data sent between nodes to only when an event of interest is triggered at a sensor. Wireless sensor networks (WSN) are a spatially distributed network of autonomous sensors used for monitoring an environment.

Why does Event detection for WSN matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Event detection for WSN?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Event detection for WSN.

Tags

  • Sensor technology
  • Signal processing
  • Wireless sensor network

Keep exploring