CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-23-2007, 02:28 PM
 
Join Date: Aug 2006
Location: us
Posts: 10
aegfurn is on a distinguished road
solid state relay question

I read somewhere on this site that you should wire in a diode when using a relay. I want to use a Grayhill 70s2 solid state relay to avtivate a 24v pneumatic valve from one of my parallel port pins. The info for the relay says that the input is optically isolated from the output, to protect from "transients". Do I still need the diode?
Reply With Quote

  #2   Ban this user!
Old 02-23-2007, 02:55 PM
 
Join Date: Feb 2007
Location: USA
Posts: 4
Bill Berkley is on a distinguished road
solenoid voltage spikes

I'm new to milling but I have designed and installed a lot of computer control systems.
So here are some basics. Whenever a control voltage to a coil, such as the solenoid on your valve, is turned off the collapsing magnetic field will generate a high voltage spike of oposite polarity. This spike will usually exceed the safe operating voltage of your control relay. So it is always a good idea to protect from it. If your solid state relay switches a DC voltage a properly sized diode will do the trick. The diode should be placed as close to the solenoid as is practical. Just to give it an extra instant to do its job. It also needs to be connected so that it doesn't conduct when the control voltage is applied to the coil but only the spike which will be oposite polarity of the control voltage.
Hope this helps.
Reply With Quote

  #3   Ban this user!
Old 02-23-2007, 03:37 PM
 
Join Date: Aug 2006
Location: us
Posts: 10
aegfurn is on a distinguished road

Thanks Bill,
Just to make sure I understand you correctly, I should wire it like the picture?
Attached Thumbnails
Click image for larger version

Name:	diode.jpg‎
Views:	116
Size:	116.1 KB
ID:	32341  
Reply With Quote

  #4  
Old 02-23-2007, 04:15 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Just a couple of points till Bill gets back to you, are you sure the printer port will be able to drive the SSR? check the specs, as they usually require about 8~20ma, also is the 70S2 a DC output type? The ones I have come across are AC output.
Also the diode needs to be corrected, leave the end connected to the Solenoid and connect the other end to common, then connect directly from SSR out to Solenoid. ( diode + and SSR out connected to Solenoid ).
The diode will then be in parallel to the Solenoid.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 02-23-2007, 04:29 PM
 
Join Date: Feb 2007
Location: USA
Posts: 4
Bill Berkley is on a distinguished road
Unhappy diode voltage spike snubber

The diode actually has to go between the coil terminals on the solenoid. What it does is switch the spike back through the coil before it can get to your relay. I'll figure out how to make a drawing and attach it to my next post, in a little bit.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-23-2007, 05:22 PM
 
Join Date: Feb 2007
Location: USA
Posts: 4
Bill Berkley is on a distinguished road
diode drawing

aegfurn
I have attached a drawing that I think will help.

Bill
Attached Files
File Type: doc SOLENOID.doc‎ (21.0 KB, 95 views)
Reply With Quote

  #7   Ban this user!
Old 02-23-2007, 06:24 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Magnecraft's 70S2 series include DC and AC load SSRs. In a DC circuit, Diode protection is necessary when driving inductive loads . Make sure you check the data-sheet for the exact model number you have.

If you are going to drive the SSR from the parallel port the safest way is to connect the anode of the internal LED to +5Volts, and the Cathode to the parallel port output pin, then you will drive it "Active low", the output pin can sink more current (output Low) than the current it is able to provide when in "high" status. Make sure your SSR model does not need more than 20 mA, otherwise you will need a buffer.

Last edited by kreutz; 02-23-2007 at 09:29 PM.
Reply With Quote

  #8   Ban this user!
Old 02-23-2007, 08:44 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070223-2112 EST USA

kreutz:

When you present a question like this you need to provide more information.

First, is your solenoid supplied from AC or DC. I believe all the responses assumed it was excited from DC. Which may be correct, but I have no a priori way of knowing.

Second, with many (close to most) solid state relays you need to know whether your are switching a DC or AC load to select the correct kind of SSR.

In the past SSRs for AC loads were usually SCR or Triac types. These require the load current to drop below some holding value before the SCR or Triac will turn off even though the input excitation to the SSR was removed. This is accomplished automatically in an AC circuit, but not a DC circuit.

In the past for DC loads the output switch was typically a bipolar transistor. This are not suited for switching AC loads.

Third, we will assume that you are switching a DC circuit.

The above comments are correct that you need to limit the peak reverse voltage generated on turning off an inductive load.

I would describe the diode method as placing a shunt diode across the relay coil at the relay coil. Consider this combination as your relay coil. The important point here is that when you apply excitation to the coil that the + side of excitation goes to the cathode of the diode, and the - source to the anode of the diode. This applies a reverse bias to the diode and the only load on the source is the coil resistance. Virtually no current flows in the reverse direction thru the diode. If wired opposite to this the diode would be a short on the power source.

After a current is flowing in the coil there is energy stored in the magnetic field. When you break the excitation circuit to the coil, then the coil wants to keep the current flowing in the same direction, and thus instantaneously the coil voltage reverses and the coil is the source of energy rather than the load. This causes current to flow in the forward direction thru the diode, but the diode limits the voltage to the diode forward voltage drop. This prevents excessive voltage being applied to your switch.

In a DC bipolar transistor type SSR you have to observe the correct direction of current flow because it is a one-way device.

.
Reply With Quote

  #9   Ban this user!
Old 02-23-2007, 09:01 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

kreutz:

When you present a question like this you need to provide more information.

First, is your solenoid supplied from AC or DC. I believe all the responses assumed it was excited from DC.
I did not ask the question, but I also assumed it was DC because of the diagram he posted.

If I am mistaken, and the original question refers to driving an AC solenoid, then using a snubber diode is not the solution, you will need to use an RC snubber across the solenoid terminals.
Reply With Quote

  #10   Ban this user!
Old 02-23-2007, 09:09 PM
holbieone's Avatar  
Join Date: Feb 2007
Location: usa
Posts: 523
holbieone is on a distinguished road

Originally Posted by aegfurn View Post
The info for the relay says that the input is optically isolated from the output, to protect from "transients".
i think you answered your own question
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Router 0/1 with solid state relay bigz1 General Electronics Discussion 6 04-24-2008 08:37 PM
CNC4pc Solid State Relay Board. Smackre General Electronics Discussion 20 05-21-2006 03:19 PM
Solid state relay N4NV General Electronics Discussion 13 05-07-2006 12:19 AM
Solid State Relays vertcnc General Electronics Discussion 11 11-30-2004 06:45 PM
Solid state limit switches Swede General Electronics Discussion 0 01-03-2004 06:22 PM




All times are GMT -5. The time now is 08:45 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361