Ignore:
Timestamp:
Nov 18, 2026, 12:25:58 PM (4 hours ago)
Author:
stuerze
Message:

SSR QC and clock combination improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.h

    r11195 r11212  
    264264  QSet<QString>                              _biasInconsistent; // AC+system excluded from the clock datum
    265265  QMap<QString, int>                         _biasConsistentChecks; // flagged AC+system: passing checks in a row
     266  QMap<QString, int>                         _biasExclusions; // AC+system: number of exclusions (hysteresis)
    266267  QMap<char, bncTime>                        _lastFilterEpoch;      // per system: last epoch of the filter prediction
    267268  void checkBiasConsistency(bncTime epoTime, char sys, QTextStream& out);
    … …  
    278279  QMap<char, QMap<QString, t_outlierStat> > _outlierStat;      // per system, key "AC PRN"
    279280  QMap<char, bncTime>                       _outlierStatStart; // start of the statistics interval
     281  // Robust clock datum: membership of the AC satellite offsets in the
     282  // zero-sum conditions, decided by the deviation from the median of the ACs
     283  struct t_datumObs {
     284    QString ac;
     285    QString prn;       // full PRN (with navigation type flag)
     286    double  value;     // AC clock referred to the reference signals, corrected [m]
     287    int     iAC;       // index of the AC offset parameter (0: none)
     288    int     iSat;      // index of the combined clock parameter (0: none)
     289    bool    referred;  // AC clock referred to the reference signals
     290    bool    rejected;  // rejected as outlier in this epoch
     291  };
     292  struct t_datumState {
     293    t_datumState() : out(false), referred(true), dev(0.0) {}
     294    bool    out;      // excluded from the zero-sum conditions
     295    bool    referred; // latest correction referred to the reference signals
     296    bncTime since;    // start of the condition for a change (out <-> in)
     297    bncTime outSince; // excluded since
     298    bncTime lastSeen; // last epoch with a correction of the AC for the satellite
     299    double  dev;      // latest deviation from the median of the ACs [m]
     300  };
     301  QMap<char, QMap<QString, t_datumState> >  _datumState; // per system, key "AC PRN" (full PRN)
    280302  void resetSatOffsets(char sys);
     303  void updateDatum(bncTime epoTime, char sys, QTextStream& out,
     304                   const QVector<t_datumObs>& datumObs, const ColumnVector& xx);
    281305  bool allACsDelivered(const bncTime& epoTime) const;
    282306  bncTime                                    _resTime;
Note: See TracChangeset for help on using the changeset viewer.