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 06-21-2011, 05:00 AM
 
Join Date: Jan 2006
Location: New Zealand
Posts: 88
nick mulder is on a distinguished road
Single signals to Differential signals - best methods ?

Hello all,

I have near equal amount of automation gear here that use either single or differential output and input... I'm wondering what the best and/or usual workaround is in the following situations:

single logic output >> differential logic input
single PWM output >> differential PWM input
single analog +/-10v output >> differential analog +/-10v input

differential output >> single input

Word on the street is that the cool kids are putting their single ended signal to the +ve differential input while the ground of the output device is the other twisted pair and therefore connected to the -ve differential input. The ground of the recieving device is then connected to the shield of the cable. I could have this wrong of course.

I have seen differential line drivers also but they seem to work with digital signals only. I've found it hard to find one that could do +/- 10V analog motor commnd - let alone the probable annoyance of having to build a pos/neg supply for it.

differential output >> single input - I imagine you just connect the +ve output to the single input - easy as that ... (?)

Am I getting too involved in this issue ? What is the simplest way that works to do this ?

cheers all,
nick
Reply With Quote

  #2   Ban this user!
Old 06-21-2011, 07:09 AM
 
Join Date: Jan 2006
Location: New Zealand
Posts: 88
nick mulder is on a distinguished road

hmmm,

to add to my original post...

So I have a single +/-10v output here - tested its signal and can confirm it ranges correctly from -10 to +10v...

Theory goes for differential inputs that the two signals - the +ve 'original' signal and its negative mirror image signal - have their difference worked out at the differential input end... Imagine a 10v signal:

+10 - (-10) = 20v (I imagine this 20v is then halved to equate to the 10 again ??)

anyway - now do the same but with a single ended supply to +ve , ground going to -ve

+10 - (0) = 10v

Now you might think, well cool! 10v is the signal we're after so its all good - but - the differential input set up above shows us (or me, at least) that the signals are halved - which means the 10v obtained from a single-ened supply actually equates to 5v...

And it does - my oscope shows 10v signal into a differential input on a drive, but the drive is showing it as 5v input in its diagnostics. Is the solution simply that I set up the drive to multiply the signal by 2 ??
Reply With Quote

  #3  
Old 06-21-2011, 08:57 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

There are some confusing definitions used here,
There is simple ±10vdc single channel analogue where either the input is 0 to -10 or 0 to +10, ref is 0v.
Do you have the name/number of the piece of equipment that uses the type of input you are referring to?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 07-08-2011 at 03:30 PM.
Reply With Quote

  #4   Ban this user!
Old 06-21-2011, 09:08 AM
 
Join Date: Jan 2006
Location: New Zealand
Posts: 88
nick mulder is on a distinguished road

hmmm, well lets hope I'm confused! It'd be an easier fix

but to answer your question:

Allen Bradley Ultra3000
Chapter 2 page 3 Pins 25 and 26

Granite VSD XE
Page 13/34 Pins 15 and 16

among others
Reply With Quote

  #5  
Old 06-21-2011, 09:22 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Yes you are correct those do have differential inputs, I just happen to set the controllers I have with analogue output a bit differently.
But I am still not sure what you are aiming for?
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

Sponsored Links
  #6   Ban this user!
Old 06-21-2011, 01:52 PM
 
Join Date: May 2007
Location: UK
Posts: 701
wildwestpat is on a distinguished road

Firstly differential inputs are common in audio and video circuitry as well as digital control systems They are used where noise induced in the lines by stray electric or magnetic field could be a problem that shielded wire alone cannot eliminate or the earthing policy makes difficult.

The easy way is to use the appropriate integrated circuit driver to convert the single ended input signal to a pair of differential signals which swing in opposite directions in sympathy with the single ended input signal. When the balanced signal is used to feed the input of a balanced line input any noise that has been picked up affect equally both inputs so that the recieving circuit only sees the sent difference as the crud picked up is cancelled. The normal wiring would consist of a pair of loosely (lightly) twisted together insulated wires. (Normal twin twisted wire has a nominal impedance of 200 to 300 ohms which is good for data and audio transmission. To further enhance the performance in very electrically noisy environments a metal mesh screen is often added the mesh being grounded at the receive end.

If the drive signal in question is a true single ended one the proposal to connect it to a balanced input will result in an output but of half amplitude if the signal doing the driving is isolated from the zero volts of the line receiver. However the noise pick up imunity is lost and earth loop potentials may also cause problems.

The more elegant solution would be to use one of the many available balanced line driver integrated circuits. There are also available from electronic audio suppliers balanced line transformers that would work well if the telemetry is a frequency pulse train that is 5KHz. These are sold as microphone input transformers. The IC versions work with both low and high frequency as well as DC and are available opto isolated if the earth loops are a big problem.

Hope this helps. Regards - Pat
Reply With Quote

  #7   Ban this user!
Old 06-21-2011, 02:19 PM
 
Join Date: Sep 2010
Location: usa
Posts: 838
mike_Kilroy is on a distinguished road
Buy me a Beer?

AL, we used to convert Galil +/-10v analog output commands for our drives to differential in interface cards we used to make for the various DMC 700/1000/1500 etc controllers.

It was not mentioned very commonly, but there is analog differential outputs; basically it is simply an op am buffer output with a 50 ohm or so series resistor, and then part of the output tied back to the + input of the buffer op amp to act as a noise modulator thingy... I can get my old schematic out if you'd like and post here...

but it is not very important as you suggest AL. Single ended analog output is not so different from differential output but the big difference of course is on the INPUT it feeds: here it is a BIG difference. So whether one knows they have differential output or not simply can make use of the diff analog input anyway. Yes, Nick, do use the differential input with your single ended sigs if you can; rather than just tying the diff LO side to grouind or common, run a shielded pair from the source over to the diff input. Tie the common to the common on the source side: that way any common mode noise picked up by BOTH wires gets cancelled out in the differential input circuitry.

It does not have to be mirror image or one going plus one minus, just use the diff input by running the diff lo along with the diff HI wire so they both pick up noise and it gets cancelled.
Reply With Quote

  #8   Ban this user!
Old 06-21-2011, 02:25 PM
 
Join Date: Sep 2010
Location: usa
Posts: 838
mike_Kilroy is on a distinguished road
Buy me a Beer?

Originally Posted by nick mulder View Post
Hello all,

I have near equal amount of automation gear here that use either single or differential output and input... I'm wondering what the best and/or usual workaround is in the following situations:

1) single logic output >> differential logic input
2) single PWM output >> differential PWM input
3) single analog +/-10v output >> differential analog +/-10v input

4) differential output >> single input
nick
1) most diff receiver chips will need the other diff channel tied to 1/2 way between the real sig level; ie., if 5V TTL sig, then put 2pc 480ohm resistors in series and tie the center to the other diff input to bias it at 2.5v level: then as real sig goes hi (>3.5v) it turns on, as it goes low (<1v) it turns off. crude but gets u by in a pinch.
2) ditto 1)
3) see last post
4) just use one of the diff lines and ignore the other. rescale as necessary if u loose 1/2
Reply With Quote

  #9   Ban this user!
Old 06-21-2011, 02:47 PM
 
Join Date: Jan 2006
Location: New Zealand
Posts: 88
nick mulder is on a distinguished road

Originally Posted by Al_The_Man View Post
Yes you are correct those do have differential inputs, I just happen to set the controllers I have with analogue output a bit differently.
But I am still not sure what you are aiming for?
Al.
I'm wondering what the best and/or usual workaround is in the following situations:

single logic output >> differential logic input
single PWM output >> differential PWM input
single analog +/-10v output >> differential analog +/-10v input


.... and to understand how this halving of voltage works
Reply With Quote

  #10   Ban this user!
Old 06-21-2011, 02:55 PM
 
Join Date: Jan 2006
Location: New Zealand
Posts: 88
nick mulder is on a distinguished road

Originally Posted by wildwestpat View Post
Firstly differential inputs are common in audio and video circuitry as well as digital control systems They are used where noise induced in the lines by stray electric or magnetic field could be a problem that shielded wire alone cannot eliminate or the earthing policy makes difficult.

The easy way is to use the appropriate integrated circuit driver to convert the single ended input signal to a pair of differential signals which swing in opposite directions in sympathy with the single ended input signal. When the balanced signal is used to feed the input of a balanced line input any noise that has been picked up affect equally both inputs so that the recieving circuit only sees the sent difference as the crud picked up is cancelled. The normal wiring would consist of a pair of loosely (lightly) twisted together insulated wires. (Normal twin twisted wire has a nominal impedance of 200 to 300 ohms which is good for data and audio transmission. To further enhance the performance in very electrically noisy environments a metal mesh screen is often added the mesh being grounded at the receive end.

If the drive signal in question is a true single ended one the proposal to connect it to a balanced input will result in an output but of half amplitude if the signal doing the driving is isolated from the zero volts of the line receiver. However the noise pick up imunity is lost and earth loop potentials may also cause problems.

The more elegant solution would be to use one of the many available balanced line driver integrated circuits. There are also available from electronic audio suppliers balanced line transformers that would work well if the telemetry is a frequency pulse train that is 5KHz. These are sold as microphone input transformers. The IC versions work with both low and high frequency as well as DC and are available opto isolated if the earth loops are a big problem.

Hope this helps. Regards - Pat
Hi Pat - its does help...

You're the first person mention the halving of voltage which makes me think either we're both going mad, or there are a few people not even aware of or how setting their signalling up that way has given them that result

Digital Line drivers for logic I have found as for analog I found one IC that is built for RGB video signals - It wasn't available locally ...

How to search for IC's that can range from +/-10v ?

and PWM rates like the Mesa cards output ?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-21-2011, 03:06 PM
 
Join Date: Jan 2006
Location: New Zealand
Posts: 88
nick mulder is on a distinguished road

Originally Posted by mike_Kilroy View Post
1) most diff receiver chips will need the other diff channel tied to 1/2 way between the real sig level; ie., if 5V TTL sig, then put 2pc 480ohm resistors in series and tie the center to the other diff input to bias it at 2.5v level: then as real sig goes hi (>3.5v) it turns on, as it goes low (<1v) it turns off. crude but gets u by in a pinch.
2) ditto 1)
3) see last post
4) just use one of the diff lines and ignore the other. rescale as necessary if u loose 1/2
From what I understand (which I admit is probably faulty) there might be situations where these solutions make sense - when the voltage is halved the receiving device may no longer understand the logic correctly, hence the need to fiddle it into the appropriate ranges again.

Especially relevant to analog control as every 'bit' (once its been through a ADC) is meaningful...

At the moment I think its time to get testing/playing again before I type anymore - outstanding issue:

- Finding an appropriate line driver for +/-10v analog supply
Reply With Quote

  #12  
Old 06-21-2011, 03:48 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by nick mulder View Post
Hello all,

I have near equal amount of automation gear here that use either single or differential output and input... I'm wondering what the best and/or usual workaround is in the following situations:

single logic output >> differential logic input
single PWM output >> differential PWM input
single analog +/-10v output >> differential analog +/-10v input

differential output >> single input

nick
Nick, So far we have been dealing with generalities, It would be far easier to have details on specific equipment in order to give a productive response?
In post #4 what is the driving element?
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

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
Powermax 380 signals jcizek Hypertherm Plasma 1 02-10-2011 09:10 AM
Need Help!- Mach3 not sending out signals mind_nl Mach Software (ArtSoft software) 6 01-12-2010 10:27 AM
Newbie- Step and direction signals harshasunder LinuxCNC (formerly EMC2) 12 12-03-2009 11:08 PM
Differential Encoder Signals eloid DIY-CNC Router Table Machines 8 01-29-2008 08:05 PM
To convert Quadrature Encoder signals to Tachogenerator signals Babar General Electronics Discussion 4 02-21-2006 12:05 AM




All times are GMT -5. The time now is 10:36 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