Measuring Delay Time for Solenoids: A Solution for Accurate Time Measurement

  • Thread starter Thread starter opmal7
  • Start date Start date
  • Tags Tags
    Delay Measuring
Click For Summary

Discussion Overview

The discussion centers around measuring the delay time for a solenoid controlled by a PLC, specifically the time from when the PLC sends a signal to when the solenoid is fully engaged. Participants explore various methods and devices for accurately measuring this delay within a 5ms threshold, considering both technical and practical aspects.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant suggests using a microswitch under the moving part of the solenoid and an oscilloscope to measure the delay, noting that the timing will depend on the line cycle.
  • Another proposes creating a small circuit that switches a relay on and off, recommending seeking help from a repair shop or technical college for measurement.
  • A different approach involves using a PC's audio input to digitize electrical signals, with a caution about ensuring the correct amplitude for the input.
  • One participant mentions the possibility of using a CPLD to create a counter that starts when the CPLD's IO changes and stops when the solenoid opens.
  • Concerns are raised about the safety of using a computer sound card for measurements, particularly regarding potential damage from nearby relay coils.
  • Another participant suggests using a small coil as a flux detector around the solenoid to measure changes in magnetic fields during operation.
  • There is a mention of using digital cameras to capture the closing of contacts, with frame rates providing varying resolutions for timing measurement.
  • Questions arise regarding the specifics of the solenoid's operation, such as whether it is AC or DC driven, and whether it is a relay or contactor.

Areas of Agreement / Disagreement

Participants express a variety of methods for measuring the delay time, with no consensus on a single best approach. Some methods are contested or require further clarification, indicating that multiple competing views remain.

Contextual Notes

Participants note limitations regarding the safety and accuracy of using computer sound cards, as well as the need for careful consideration of the solenoid's operational characteristics. There are also unresolved questions about the specific nature of the solenoid and its driving mechanism.

Who May Find This Useful

This discussion may be useful for engineers, technicians, or hobbyists interested in precise timing measurements for solenoids, as well as those exploring alternative measurement techniques in experimental setups.

opmal7
Messages
26
Reaction score
0
I have a solenoid that is controlled by a PLC. I want to know what the delay time is from the time the PLC sends the signal to engage the solenoid to the time the solenoid is fully engaged. The time will be very short (milliseconds), but I need to know what the delay time is to within 5ms.

Is there a device that I could use to measure the delay? The solenoid draws 37A when is it moving, and the current drops to about 2A when fully engaged. I could monitor this with an oscilloscope, but those are pricey. The PLC isn't able to record time or counts either.
 
Engineering news on Phys.org
it'll depend somewhat on where in the line cycle you close.

but you'll have to measure it.
put a microswitch under the moving part and use an oscilloscope.

i've seen relays that'll close in ten milliseconds, but your device sounds like it's substantially bigger.
 
You could make up a small circuit that switches the relay on for a second and off for a second. Then take it to a repair shop, a technical college or a Radio Amateur and ask them to measure the delay time.

If you have made an effort to make the measurement easy, then you will probably get good cooperation.

The price of oscilloscopes is probably not as bad as you imagine.
There are some good ones coming from China that don't cost any more than a good multimeter.
Like this one for $72 delivered:
http://www.ebay.com.au/itm/Mini-SD-USB-Chargeable-Digital-ARM-Oscilloscope-DS0201-V1-5-Test-Circuit-/260922345159?pt=LH_DefaultDomain_0&hash=item3cc02f06c7
The bandwidth is only 1 MHz, but for relay testing or audio work it would be fine.
 
If you want a really cheap do-it-yourself solution, use your PC's audio input to digitize and record electrical signals. Just make sure the signals are the right amplitude to match the "line" or "aux" inputs (say +/- 0.5V maximum). Don't use the mic input!

That will give you a timing resolution of about 1/44100 sec. You can record two different signals as the left and right stereo channels.

Use free software like http://audacity.sourceforge.net/ to do the recording and look at the data.
 
If you have access to the CPLD HDL and can reprogram it you could create a counter in the CPLD itself. Have it start when the CPLD's IO changes and stop when the solenoid opens. Wire the solenoid output to another IO on the CPLD. You might need to wire the solenoid output with a resistor divider level shifter depending on the voltage levels.

You'll then know the time to fire the solenoid in units of CPLD clocks.
 
sorry - i missed your desire to avoid an o'scope.

alephzero has a good idea there. use your PC's audio input for an o'scope

there'll be a magnetic field around the airgap of your solenoid, if that's accessible.
a small coil there used as a "flux detector" might show enough change between open and closed to be of use.

experiment !
 
The line inputs of a computer sound card are capacity coupled, so you will get a small spike in the output rather than an actual change in DC levels.

Also, you will need to use both stereo channels. One for the driving circuit voltage and the other produced from the relay contacts connecting a resistor to ground and letting it conduct current.

Note that great care is needed with the line inputs of one of these cards as they are easily damaged. To be sure it is safe, you really need to examine it with an oscilloscope, especially when there is a relay coil with 2 amps flowing in it nearby.
 
""The line inputs of a computer sound card are capacity coupled, so you will get a small spike in the output rather than an actual change in DC levels.""

the solenoid is presumably AC driven (37 amps inrush?)

so a small coil nearby should pick up leakage flux
which will be large when solenoid has airgap, ie open
and small when solenoid is closed

if the computer sound card will record 60hz

one might try connecting a small coil to PC's mic input , for use as a flux detector. perhaps an earbud or tiny speaker would work?
wave it around the solenoid when it's energizeded, at 2 amps and find a spot where there's measurable 60hz signal. It should be larger while solenoid is closing.
there should be a "sweet spot" near the solenoid's armature airgap where one finds a large change in signal as solenoid closes. that waveshape will give you a clue as to time required for solenoid travel.
 
All digital cameras now do movie clips.

I wonder if you could take a close-up movie of the contacts closing?

60 frames per second gives a resolution of 16 mS. 30 gives 33 mS.
Might be close enough.
 
  • #10
Is this a relay or contactor, or only a solenoid?
Is this 60 hertz or DC operated?
If relay, are you interested in when the contacts close or when they quit bouncing.
If this is a relay and 60 hertz, it should be easy to make the measurement. If you are in the USA, there are probably viewers with home laboratories that would make the measurement if you are willing to pay the shipping there and back.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
11K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
928
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
17
Views
3K