Hi Peter, Lars
The one thing you cannot get around is the very first detection
So imagine you are climbing out of your home airfield, you are then just high enough to get interrogated from a RADAR.
At this point, this is the first detection of your own (Mode-C) transponder, this first detection does 2 things
1. Generates a warning
2. Sets the filter (when in Mode-SC filter mode)
Subsequent interrogations will then be filtered, but not the initial interrogation
I have thought about an algorithm that checks an increasing level (at a specific height) - which indicates an approaching aircraft, versus a ramped signal from 0 to N, where N is some large strength, such as the scenario above.
This however is also fraught with the issue that a (danger) traffic target may also have been interrogated for the first time, which absolutely should generate a warning.
Mode-C is a real pain, but we have to deal with what is out there right now
thx
Lee