LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measuring dropouts on a waveform

I need to automate measuring the transfer time of a UPS.

 

The customer specification is less than one cycle drop out of the UUT output voltage.

 

What would be an effective way to measure the dropout time of an AC voltage given a transfer waveform captured using NI-Scope?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 9
(1,017 Views)

Could you please share the waveform snippet of a typical transfer event?

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 9
(1,009 Views)

I also think we might need more information.  But in the mean time I had to do something that sounds similar years ago.  I had a PWM waveform that I needed to look at and make sure it didn't have any issues with dropping out.  Eventually Crossrulz came up with a pretty decent solution using a two level threshold looking for the values to go above, and then below specific values.

 

https://forums.ni.com/t5/LabVIEW/Two-Threshold-Analog-to-Digital/td-p/2738762

0 Kudos
Message 3 of 9
(951 Views)

Honestly I don't have anything at the moment. I was hoping for more high level ideas on how to approach it I at this point.

 

I could capture a waveform with the scopes we use when we do it manually to look at but it wouldn't be a LabVIEW waveform data type though.

 

Let me see if I can come up with some sample data...

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 9
(942 Views)

Even a scope capture snippet would be a good starting point just to come up with a test method.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 9
(937 Views)

This is the best I can come up with at the moment...

 

XferCapture.PNG

 

The CSV waveform files are too big to upload to the board...

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 9
(909 Views)

Okay that is a bit more of a pain.  I guess as a first try I'd just have a range of values in the coerce in range.  Then have it track how long it has been in that range.  If the time it was in that range was greater than X ms then you fail, or maybe capture the waveform at that time.  If you have a consistent sample rate for the AI maybe just a shift register tracking how many samples were between say -10V and 10V.

Message 7 of 9
(895 Views)

@Hooovahh wrote:

Okay that is a bit more of a pain.  I guess as a first try I'd just have a range of values in the coerce in range.  Then have it track how long it has been in that range.  If the time it was in that range was greater than X ms then you fail, or maybe capture the waveform at that time.  If you have a consistent sample rate for the AI maybe just a shift register tracking how many samples were between say -10V and 10V.


This gives me something to think about... I think tracking the number of consecutive samples within a window might just be the ticket.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 8 of 9
(886 Views)

Here is my thought process,

  • Assuming you're able to trigger at 50% timespan, exactly at the recovery pulse rising edge
  • Consider only the first half of the total capture
  • Convert the values to only positive by taking the absolute value
  • Compute power (assuming you get both voltage and current waveforms)
    • Look for the end region which is below a threshold power, which may be below 0.1W?
Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 9 of 9
(881 Views)