Can any one help me to set an adaptive threshold using matlab code?

2 views (last 30 days)
Actually, I need to discriminate fault from power swing, voltage instability and load encroachment with the help of threshold setting. All the conventional threshold settings are considered based on the measured impedance, decaying dc component in the input signal etc. But, I need an adaptive threshold setting which means the system automatically set the threshold based on the type of event.

Answers (1)

Sean de Wolski
Sean de Wolski on 2 Aug 2018
Perhaps look at ischange or islocalmax/findpeaks.
  2 Comments
kasimala venkatanagaraju
kasimala venkatanagaraju on 2 Aug 2018
Thank you so much for your kind suggestion sir. In each and every event having different peaks like fault during power swing having 10 peaks, fault during voltage instability is 5 peaks. How can we set the threshold? if all the events having the same number of peaks then it is ok but here it was different
Sean de Wolski
Sean de Wolski on 2 Aug 2018
Edited: Sean de Wolski on 2 Aug 2018
findpeaks has a bunch of name-value pairs you can set that force a peak to be a certain prominence, width, etc...
See the input list in the documentation:
doc findpeaks

Sign in to comment.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!