Electricity and Low Voltage, lesson 10 of 12
Grounding and noise
Some faults follow no pattern. A reader misreads only when the air conditioning starts. A camera picture rolls on humid days. These are usually not broken parts. They are stray currents and unwanted signals, and this lesson shows where they come from and how good wiring keeps them out.
Follow the noise along a reader cable
Pick a way of wiring the cable, then play or step through.
The everyday picture
Two people are talking across a table in a quiet room. Every word arrives. Move the same table beside a busy road and words start to go missing. Nobody's voice is broken. The message is simply mixed with sound that does not belong to it. That unwanted sound is noise, and electrical noise does the same to the small signals in a security cable.
Now picture two surveyors measuring the height of a hill. One measures from sea level, the other from the valley floor. Both are careful, and their answers disagree. A height only means something against an agreed zero. Voltage is the same. Every voltage is measured against a reference, and when two devices do not share one, they misunderstand each other. That shared zero is what the trade calls ground.
Three things called ground
The word is used for three different things, and mixing them up causes most of the confusion.
| Name | What it is | What it is for |
|---|---|---|
| Earth ground | A connection to the soil itself, through the building's electrical service | Safety, and a path for lightning and surges |
| Equipment ground | The green or bare wire that joins metal cabinets and conduit back to the electrical panel | If a live wire touches the metal, the current returns this way and trips the breaker instead of waiting for a person |
| Signal common | The negative side of a DC supply, often marked 0 V, COM, GND or with a minus sign | The agreed zero that signals are measured against |
The first two are about safety and belong to the electrician's work. A metal equipment cabinet that takes mains power must be connected to the equipment ground exactly as its instructions and the electrical code require. The third is the one you handle every day, and it is not automatically joined to the other two. Whether a board's 0 V is tied to its metal case is a design choice the maker has made. Read the manual before joining them yourself.
A shared reference
A reader sends card data to a controller as small voltages on its data wires. The controller judges each one against its own 0 V. If the reader is powered from a separate supply, its idea of zero is unconnected to the controller's. The data wires then carry voltages measured against nothing the controller knows, and the cards misread or do not read.
The fix is one wire. Join the negative of the reader's supply to the controller's 0 V terminal, so both ends share a reference. This is the rule to remember: whenever two devices exchange a signal and are powered from different supplies, their commons must be joined, unless the signal is deliberately isolated, as a relay's dry contact is. Lesson 5 explained dry contacts, and this is why they are so useful. A contact passes no reference at all, so it joins two systems without tying their grounds together.
Where noise comes from
| Source | How it gets in | What you see |
|---|---|---|
| Power cables running alongside | Their changing magnetic field induces a small voltage in any wire nearby | Hum on audio, errors on long data runs |
| Motors, elevators and variable-speed drives | Sharp electrical bursts each time they switch | Faults that come and go with machinery |
| Lighting ballasts and dimmers | Bursts radiated into cables laid across the fixture | Faults that follow the light switch |
| Lock coils and relays | The kick at switch-off, from lesson 7 | A controller that resets when a door releases |
| Radio transmitters | A long wire acts as an antenna | Buzzing on an intercom when a two-way radio keys up |
| Lightning and power surges | Huge voltages on any cable that runs outdoors or between buildings | Dead ports after a storm |
Three defenses
- Distance. Noise fades quickly as cables move apart. Keep signal cables away from power cables, motors and light fixtures, by a foot or more where you can. Where they must cross, cross at a right angle. A parallel run of a hundred feet picks up far more than a crossing.
- Twisting. In a twisted pair, the two wires swap places every inch or so. Whatever noise lands on one wire lands almost equally on the other. A receiver that looks only at the difference between the two wires sees the noise cancel. This is why data cable is twisted, and why you should keep the twists right up to the terminal.
- Shielding. A shield is a wrap of foil or braid around the wires. Noise lands on the shield instead of the wires inside. It only works if the noise has somewhere to go, so the shield is connected to ground through a bare wire that runs with the foil, called the drain wire.
Use the cable the equipment maker specifies. If the manual says shielded twisted pair, plain alarm wire will work on the bench and fail in the building.
Ground loops
Here is the trap. If a shield is good, grounding it at both ends sounds better still. It is usually worse. Two ground points in a building are rarely at exactly the same voltage. A difference of a volt or two between one end of a building and the other is common. Join both points with a shield and a current flows along it, all day, pulsing with the building's power. That circulating current is a ground loop, and it puts noise onto the very cable the shield was meant to protect.
The usual practice for security cabling is to ground the shield at one end only, normally at the controller, and to cut the drain wire back and insulate it at the device end. Some systems call for something different, so follow the maker's instructions where they say so. Step through the diagram at the top to compare the two.
Cables that run between buildings need more. The two buildings have separate grounds, and lightning can lift one of them by thousands of volts for an instant. Fiber, which carries no electricity at all, is the cleanest answer. Where copper must be used, fit surge protectors made for that kind of circuit at each end and ground them as their instructions say.
Check yourself
A shielded reader cable has its drain wire connected to ground in the controller cabinet. What should happen to the drain wire at the reader?
Match a symptom to a cause
Noise faults feel random until you ask one question: what else in the building changes when the fault appears?
What is the system doing?
Three examples
Simple: the reader on its own power supply
A reader 400 feet from its controller is given a local 12 volt supply to avoid voltage drop. It lights, beeps at a card and nothing reaches the controller. Only the two data wires were run back. The technician finds a spare wire in the cable and joins the local supply's negative to the controller's 0 V terminal. With a shared reference, cards read at once.
Medium: the hum that came with the new monitor
A door intercom develops a steady hum after a desk station is moved to a new outlet across the lobby. The intercom cable's shield was grounded at both ends, and the two outlets are on different circuits with slightly different grounds. A meter on AC volts between the lifted drain wire and the desk station's ground terminal shows 1.4 volts. That is the loop. The drain wire is cut back and taped at the desk end, and the hum stops.
Advanced: errors every forty minutes
A warehouse controller reports communication errors on one reader line in bursts, day and night, roughly every forty minutes. Nothing in the security system runs on that schedule. The technician asks the building engineer what does. A rooftop compressor cycles at about that interval, fed by a power cable in the same cable tray where the reader line lies for 120 feet. The reader cable is unshielded.
The fix has three parts. The run is replaced with the shielded twisted pair the maker specifies. It is moved out of the tray and supported on its own hooks a couple of feet away. Its shield is grounded at the controller only. The errors stop. The clue was never in the security system. It was in the building's own rhythm.
From the field
- Ask what else was happening. Time of day, weather, machinery and lights are the best clues to a noise fault.
- Sleeve the unused drain wire. A bare drain wire folded back in a device box will find a terminal or the metal box sooner or later and make a second ground.
- Carry the shield through splices. At a junction, join drain wire to drain wire and insulate it, so the shield is continuous from end to end.
- Do not lay cable on light fixtures. It is the shortest route across a ceiling and the noisiest.
- Leave the equipment ground alone. Never remove a green wire or a grounding pin to cure a hum. Fix the loop on the signal side.
Common mistakes
- Grounding a shield at both ends, or at neither.
- Powering a device locally and forgetting the common wire back to the controller.
- Untwisting several inches of pair to make a neat termination.
- Tying signal cable to a power cable or conduit because it is a convenient support.
- Replacing a board three times for a fault that follows the elevator.
Summary
- Ground can mean earth, the safety wire or the signal's zero reference. Know which one you are talking about.
- Devices that exchange signals need a shared common, unless a dry contact isolates them.
- Noise comes from power cables, motors, lights, coils, radios and lightning.
- Distance, twisting and shielding keep it out. Use the cable the maker specifies.
- Ground a shield at one end, usually the controller. Two grounds make a loop.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. Why does a twisted pair pick up less noise than two straight wires side by side?
Show answer
Exercise 2. A signal cable has to cross a bundle of power cables above a ceiling. How should it cross?
Show answer
Exercise 3. A fire alarm relay gives the access controller a dry contact. Do the two systems need their commons joined for it to work?
Show answer
Exercise 4 (think, don't memorize). A site has a camera on a metal pole 200 feet from the building, connected by copper network cable. After every thunderstorm, the camera or the switch port fails. Lightning has never struck the pole. What is happening, and what would you propose?