Post Go back to editing

How to Interpret PQ Events Reading in Logging File?

Category: Hardware
Product Number: AD-PQMON-SL

Reading:

Questions: 

Please help me verify my understanding for the parameters below.

  1. countEvent
    • Number of PQ events occur between start time and end time 
  2. startTime and endTime
    • Is it Unix time? or could we set it to real time(exp: 27-Nov-2024 11:03AM)?
    • What's the unit for the time? seconds or milliseconds?
  3. durationInCycles
    • According to ADSW-PQ-CLS Power Quality Library Reference Manual Release 1.2.0 >> Modules >> Output types and definitions >> ADI_PQLIB_INTRP, the definition is <duration of interruption in cycles>.
    • I tried to draft a formula below to describe relationship, is it correct?
    •  

  • Hi  

    1. The number of PQ events indicates the number of events detected after last call to #adi_pqlib_GetOutput so it is more related to the application.

    2. The time is internal time, there is an rtc and you can use it in case you want to change this and also in the app you have the option to update the time. The real time is provided in the first column and refers to the time when the values are written in the log file (at the end of the event). The unit should be ms.

    3. The duration in cycles refers to the number of line cycles the PQevent was active. Your formula should be correct as long as you multiply the time difference with the frequency of the line. In your example there is a typo because you divide by the frequency in the first lines.

  • Thanks  . Last question: why there's so many empty data like in the red circle? 

    I tried to connect single phase voltage to AD-PQMON-SL, the data always show at left, other slots remain zero.

  •  As I mentioned at point 1 it is corelated to the GetOutput, the library can store up to 6 events between two calls of #adi_pqlib_GetOutput. In your case is just one, so just the first element in the array is populated.

    If you will have another event after you already acknowledged this one (the GetOutput was already called) than it will show in a new row in the log file on the first position in the array.