12-27-2010 08:38 AM
Hi everyone i'm new to labview, i want to control the relay using USB-6008. could someone help me in to find valuable solution, as this one is my final mechanical engg project. Also i need the circuit connection diagram and if it's digital control then mention the ports/lines details to which i have to connect.
In this i've attached the relay diagram, wherein i have to just magnetise that core to attract that soft iron. so i have to make it ON and OFF. please guide me, and advance thanks too.
Solved! Go to Solution.
12-27-2010 10:35 AM
What is the voltage and current requirements of your relay coil?
A USB-60008 can output only 5 V and a very low level of current. Probably not enough to directly drive your relay coil.
You will likely need a transistor circuit so that the 5V digital output can turn on and off a transistor which can drive a larger voltage and current circuit that will match the specifications of your relay coil. If you search the forums and/or the web, you should be able to find examples of such a circuit. That, or talk to your advisor for your mechanical engineering project.
12-27-2010 10:47 AM
relay parameters are 1.6V and 2 mA. i tried by choosing DAQ Assistant>Generate signals>Digital Signals>port or lines, but did'nt got any output. I'm really confused with the circuit connections, please suggest a suitable block diagram, front panel, and circuit diagram......
12-27-2010 10:55 AM
BYm,
As Ravens Fan has said the 6008 has fairly limited current handling capability. The DO ports should only be used to sink current and never as a source. So for example you would want to turn your relay on by bringing a DO line on the 6008 low. I suggest using a solid state relay, and as has been mentioned you need to specify the LOAD conditions before proceeding to select a relay. I have a 6008 and have used the KYOTTO KF02D DC SSR successfully with it. The relay can control up to 60V DC @ 2A. KYOTTO also makes an AC SSR. Both devices electrically isolate the load from the DAQ. The SSR's are available from Digikey and Jameco (and plenty of other places)
Alan
12-27-2010 10:56 AM
BYm,
Post your VI
Alan
12-30-2010 10:36 AM
hello sir, thanks for your advice. I tried your method, as shown in the block diagram. I can able to control the device by making solid state realy On and Off in "Measurement and Automation Explorer". and i generated one VI, wherein i chose
DAQ > OUTPUT > GENERATE SIGNALS > PORT0/LINE0 > 1 SIGNAL ON DEMAND
but later got strucked in between. I need a Boolean controller, could you please sort this out sir.
sir, also check my circuit connections in the attached file, if any corrections are there then let me know sir...
12-30-2010 11:30 AM
Post the VI you made.
Alan
12-30-2010 06:20 PM
The diagram looks good. And you have already said it works in M&A, Just post the VI you made, so we can see where the problem might be?
Alan
01-05-2011 08:40 AM
hello sir, this is the vi which i'm planning to do..... Is it the correct one?
01-05-2011 08:58 AM
Well, I don't get a few things there. Why would you want to control the Amplitude of a square wave, I thought you were using one of the Digital I/O ports? The signal is going to be +5 or 0 V. Why do you want to send a square wave any way? I thought you wanted to control the relay? A square wave will just turn the relay on and off continuously. I think you want to get rid of the simulate square wave and replace it with a Boolean switch. That way the user can turn on and off the relay. Also I would just wire the STOP button directly to the condition terminal. It makes more sense that way.
Alan