How to get an alert every time every time my ads-b OSPA readings goes beyond threshold?

조회 수: 2 (최근 30일)
I am refering Simulate and Track En-Route Aircraft in Earth-Centered Scenarios and want to know how can I get an alert when my ADS-B OSPA readings go above certain threshold.
I want to build an alert table that gives me information on the duration. (For how long ADS-B readings were at the highest, exactly when the ADS-B readings was high and at what point in time it's readings dropped) Please let me know how to extract such information.
Thank you.

답변 (1개)

Kartik
Kartik 2023년 5월 15일
Hi,
To get alerts when the ADS-B OSPA readings go above a threshold, you can use condition monitoring techniques. Here are the steps you could follow to implement this:
  1. Define the threshold: You first need to define what threshold you consider as "high." Define the maximum value of ADS-B readings you deem acceptable.
  2. Extract the ADS-B readings: You can extract and analyze the ADS-B readings. You can use "readMessage" and "parseMessage" functions to extract the data from the received ADS-B messages.
  3. Determine the time period for which readings remain high: Identify the time duration for which the ADS-B readings remain above the threshold. You can use the "diff" function to calculate the difference between consecutive samples in the ADS-B readings.
  4. Send alerts when readings are high: Once your code identifies that the ADS-B readings exceed the threshold, you can generate an alert to notify the user. MATLAB has built-in functions to send email, text, or push notification alerts to a user. You can use these functions to send alerts to yourself to inform you when ADS-B readings exceed the threshold.
  5. Store the data on alerts: You can store that the ADS-B readings went beyond threshold in a binary table with 1 indicating that the threshold was exceeded at that time stamp. You could use MATLAB's "duration" function to capture precisely when events occur and how long they last.
To summarize, read the ADS-B message, compare it to the threshold value, store alerts with timestamps, durations, then send an alert/notification when a threshold is breached.
Here is the link to the MathWorks documentation that supports the use of "readMessage" and "parseMessage" functions for extracting ADS-B data in MATLAB: https://www.mathworks.com/help/aeroblks/read-ads-b-messages-from-data-source.html
Additionally, the documentation on duration function in MATLAB can be found here: https://www.mathworks.com/help/matlab/ref/duration.html.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by