04-14-2022 04:48 PM - edited 04-14-2022 04:49 PM
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?
04-14-2022 05:10 PM
Could you please share the waveform snippet of a typical transfer event?
04-18-2022 12:58 PM
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
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-18-2022 02:25 PM - edited 04-18-2022 02:25 PM
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...
04-18-2022 02:41 PM
Even a scope capture snippet would be a good starting point just to come up with a test method.
04-21-2022 11:43 AM
This is the best I can come up with at the moment...
The CSV waveform files are too big to upload to the board...
04-21-2022 02:53 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-21-2022 03:45 PM
@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.
04-21-2022 04:20 PM
Here is my thought process,