LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please help! Experiment to measure contact resistance in relay contacts

Solved!
Go to solution

Hi,

 

I am completely new to Labview and have been asked to try and use the software and hardware to develop a VI for measuring how the contact resistance of relay contacts degrades over thousands of cycles.  I have managed to interface a NI cDAQ-9172 containing  NI 9219 and NI9472 modules and can access them through the DAQ Assistant.

What I would like to know is, how I can turn the relay I'm testing on and off using a pulse and keeping a count of the operations and at the same time take a measurement (this may be every 100 or 1000 cycle) and log it as a ASCII data file?

 

All I have at present is the NI documentation and a book called Labview for Engineers and Scientists by John Essick, which I'm slowly working through.

 

Is this sort of VI difficult task?

 

Best regards,

 

Andy

0 Kudos
Message 1 of 10
(4,325 Views)
Solution
Accepted by andywileman

You can have a digital task as well as an analog input task running on the same chassis.  You have just toggle the digital output to cycle the relay and read with your analog inputs.

 

Most DIO do not have enough current to drive a relay, so you might want to get a digital buffer that can supply enough current for your relay.

 

Oh, and check out the free online training modules

3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 10
(4,316 Views)
Solution
Accepted by andywileman

To be honest, almost anything is going to be difficult if you are completely new to something.  Take your time, read the suggested links, give yourself at least some background on LabVIEW before jumping in.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 10
(4,307 Views)
Solution
Accepted by andywileman

we currently test "switch contact resistance" by MIL-PRF-22885G par 4.7.4.1 which uses the electrical supplied requirements: 6VDC at 0.1 amphere. using 4 wire measurement (kelvin contacts-source/sense) off the DUT using NI 6289 which has a 100mV range and a resolution of 0.80uV. also use ULNs 28xx to drive our relays, but can use a number of different ways(optocouplers, transistors...) that are TTL compatible.

Message 4 of 10
(4,303 Views)
Solution
Accepted by andywileman

A 4 wire Kelvin connection (source and measure) is definitiely called for here as apok referred to.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 5 of 10
(4,292 Views)

Thanks for your help.  I have a Keithley 2002 which I can try to connect via a GPIB bus, will this be ok?

0 Kudos
Message 6 of 10
(4,282 Views)
Solution
Accepted by andywileman

I use an INSTEK Programmable DC Milli-Ohmmeter with GPIB (GOM-802GP) for this kind of measurement.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 7 of 10
(4,275 Views)

I should add here that I'm interested in measuring how the contact resistance degrades over time as we are trying to develop prognostic capability for relays. 

0 Kudos
Message 8 of 10
(4,271 Views)
Solution
Accepted by andywileman

The 2002 may not have a substantial current source for the test to reflect reality.

Too little crrent passing through the contacts may not be enough to 'punch through' the oxide film layer and will giver higher than normal resistance readings.

 

You may want to think about the relay current ratings and test specs like apok mentioned.

With a proper and stable current source you could then then use the 2002 to measure the voltage drop across the contacts then calculate resistance R=E/I.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 9 of 10
(4,261 Views)
Solution
Accepted by andywileman

@andywileman wrote:

Thanks for your help.  I have a Keithley 2002 which I can try to connect via a GPIB bus, will this be ok?


Yes, the Keithley 2002 can do this type of measurement.  You'll need to have special (isolated) clips to do the measurement, though.  This one looks right - http://www.keithley.com/products/dcac/dmm/highper/?mn=5806

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 10 of 10
(4,248 Views)