07-12-2005 12:08 PM
07-13-2005 01:46 AM
07-13-2005 08:55 AM
Some ideas for your noise:
Avoid Grounding loops ... (Has to be sad 🙂 ) Is it possible to use optocouplers ?
Try to put the maximum load resistant of your (digtal) sensor output (see spec) near your (DIO) card.
Think of every signal path (Signal + and -) as an induktor loop and magnetic fields are very hard to shield. You mentioned BNC connectors, what type of cable(s) are you using? Tightly twisted pairs? what type of shielding?
How do you power your amplifier?
07-13-2005 10:05 AM
Hi all. Buechsenschuetz and Henrik Volkers, thanks for your suggestions. I've solved the majority of the problem by coupling the digital inputs with the DAQ card with small (0.1uF) capacitors accross the inputs. This seems to kill the majority of the noise without distorting the signal too much. There is still the odd spike. This seems to be because the output of the shaft encoder only drops to about 0.7volts when low. Therefor it only takes a small spike to push it over the 0.8volt threshold and give a high reading. The cables are shielded with a single core and terminated with BNC connectors (Henrik). What is the definition of a ground loop. I have many digital signal sources each with their own ground which all feed into the breakout box for the DAQ card. Once inside the breakout box all the signals are grounded. Will this cause a ground loop?
Once again, thanks for all the suggestions. Tim
07-14-2005 01:38 AM
07-14-2005 06:38 AM
Hi, I think I have found the source of my problems... I have now been informed that the ouputs from the encoder are not proper TTL but "Darlington line driver" instead. This is a historical issue from when all the outputs were fed down long wires to a mainframe which had an ADC on it. My next question is: Does anybody know a quick and easy way of converting between the two? Are there any companies out there which make boxes which do this?
Once again, many thanks, Tim
07-15-2005 03:09 AM
Industrial level shifter : phoenix contact or weidmueller or schneider just to name some
However, the output of your encoder couldn't be that wrong. It worked with long cables in the past. Just look at the old ADC input circuitry and you might get an idea. If you post a schematic of the output or a link to the datasheet, maybe it's just an additional pullup resistor.
The connector box of your DAQ might provide enough power to drive a little converter (One of those little black bugs, which in the past need a foot stamp to be flat, but thanks to Darwin they are already flat nowadays
07-15-2005 03:36 AM
I don't think a pull up resistor will solve the problem with the rather high low state voltage, it will rather increase this level. Pull-up resistors may be a solution when you have outputs with rather high leakage currents or a too low high state level.
As mentioned, 0.7v low state voltage gives a pretty bad safety margin. It is not too difficult to brew your own level shifter, however you might find an off-the-shelf solution as indicated by the previous poster. Don't know whether Phoenix or Weidmueller components are easily available outside Europe but there might be equivalents from domestic suppliers.