How do they know when a train is on the way?
šGet Nebula using my link for 40% off an annual subscription: https://go.nebula.tv/Practical-Engineering
šWatch Jet Lag: https://nebula.tv/jetlag?ref=practical-engineering
Despite the hazard they pose, trains have to coexist with our other forms of transportation. Next time you pull up to a crossbuck, take a moment to appreciate the sometimes simple, sometimes high-tech, but always quite reliable ways that grade crossings keep us safe.
Watch this video ad-free on Nebula: https://nebula.tv/videos/practical-engineering-how-railroad-crossings-work
Signed copies of my book (plus other cool stuff) are available here: https://store.practical.engineering/
Practical Engineering is a YouTube channel about infrastructure and the human-made world around us. It is hosted, written, and produced by Grady Hillhouse. We have new videos posted regularly, so please subscribe for updates. If you enjoyed the video, hit that ālikeā button, give us a comment, or watch another of our videos!
CONNECT WITH ME
____________________________________
Website: http://practical.engineering
Twitter: https://twitter.com/HillhouseGrady
Instagram: https://www.instagram.com/practicalengineering
Reddit: https://www.reddit.com/r/PracticalEngineering
Facebook: https://www.facebook.com/PracticalEngineerGradyā
Patreon: http://patreon.com/PracticalEngineering
SPONSORSHIP INQUIRIES
____________________________________
Please email my agent at practicalengineering@standard.tv
DISCLAIMER
____________________________________
This is not engineering advice. Everything here is for informational and entertainment purposes only. Contact an engineer licensed to practice in your area if you need professional advice or services. All non-licensed clips used for fair use commentary, criticism, and educational purposes.
SPECIAL THANKS
____________________________________
This video is sponsored by Nebula.
Stock video and imagery provided by Getty Images, Shutterstock, Pond5, and Videoblocks.
Music by Epidemic Sound: http://epidemicsound.com/creator
Tonic and Energy by Elexive is licensed under a Creative Commons Attribution License
Source: https://www.youtube.com/watch?v=U6fBPdu8w9U
Video by Grady Hillhouse
Edited by Wesley Crump
Produced by Ralph Crewe
Graphics by Nebula Studios
If youāve ever ridden a bike, driven a car, or operated pretty much any other vehicle on earth, thereās a fact youāve probably taken for granted: you can see farther than it takes to stop. Within the span between seeing a stationary hazard and colliding with it, you have enough time to recognize it, apply the brakes, and come to a stop to avoid a collision. Your sight distance is greater than your stopping distance; it sounds almost silly, but this is a critical requirement for nearly all human-operated machines. But itās not true for trains. Engineers can see just as far as the rest of us, but the stopping distance of a fully laden freight train can be upwards of a mile. That means if an engineer can see something on the tracks ahead, itās often already too late. So, trains need a lot of safety infrastructure to make up for that deficiency. For one: trains almost always have the right-of-way when they cross a road or highway at the same level, or at grade. The cars have to wait; And, we use a litany of warning devices at grade crossings to enforce that right-of-way and try to prevent collisions. In most cases, these devices have to detect the impending arrival of a train and give motorists enough time to clear the tracks or come to a stop. It sounds simple, but the engineering that makes that possible is, I think, really interesting, and of course, I built some demonstrations to help explain. This video is part of my series on railroads, so check out the rest after this if you want to learn more! Iām Grady, and this is Practical Engineering. Today, weāre exploring how grade crossings work. Itās inevitable that roads cross railroad tracks, and itās just not feasible to build a bridge in every case. In the US alone, there are over 200,000 grade crossings where cars and trains must share the same space. A car to a freight train is an aluminum can to a car: in other words, thereās a pretty big disparity in weight. So weāve put a lot of thought into how to keep motorists, cyclists, and pedestrians safe from the trains that canāt swerve or stop for a hazard. Youāve probably stopped for a train at a crossing, but you may not have consciously added all the safety features up. Of course, the locomotives at the front of trains themselves have warning devices, including bells, bright headlights, smaller flashing ditch lights, and most noticeably, the blaring horn. The standard pattern at a crossing is two long blasts, one short blast, and one final long blast. But the crossing has warnings too. Passive warning devices donāt change with an approaching train. They include a stop or yield signs, the crossbuck, which is the international symbol for a railroad crossing, and sometimes a plate saying how many tracks there are so you know whether to look for one train or many. Another crossbuck is usually included as a pavement marking to make sure you know whatās coming up. Many low-traffic crossings have only passive safety features, leaving it up to the driver to look out for trains and proceed when itās safe. But, many crossings demand a little less margin for error. Thatās when the active warning devices are installed. A typical grade crossing features both visual and audible warning signals that a train is coming: red lights flash, a mechanical or electronic bell sounds, and usually a gate drops across oncoming lanes. That seems pretty simple, but thereās quite a bit of complexity in the task and the consequences if anything goes wrong are deadly. And the first part is just knowing if a train is coming. Detecting a train is important for grade signals (it’s also important for signaling trains about OTHER trains, but that’s a topic for another video). It can be handled in a bunch of ways, but the simplest take advantage of the electrical conductivity of the steel rails and wheels themselves. A basic track circuit runs current up one rail, through a device called a relay Iāll explain in a minute, and back down the other rail. When a train comes along with its heavy steel wheels and axles, it creates a short circuit, a preferential path for the current in the track circuit. That deenergizes the relay, triggering all the connected warning devices or signals. But why use an ordinary old diagram when you have a model tank car, and an old railroad relay you got off eBay? Let me show you how this works in a real demonstration. On the left, Iāve hooked up a power supply to the tracks, putting a voltage between the two rails. On the right side, Iāve attached a relay. Letās take a look inside it to see what it does. I love playing with stuff like this. At its simplest, a relay is just an electromechanical switch: a way to turn something on or off with an electrical signal. When I energize the coil (at the bottom), it acts as an electromagnet, pulling a lever towards it. On the other side of the lever, you can see the movement interacting with several electrical contacts. Itās a little tough to see here, but these contacts are like switches that can control secondary circuits. Some will be switched on when the relay is energized, and others are switched off. When the relay is energized or de-energized, it basically flips the switch on these circuits, allowing various devices, like lights, bells, and gate arms, to be activated or deactivated. In my case, I have a simple battery and LED to indicate whether or not a train is being detected on the rails. When thereās no train, current passes through the relay from one rail to the other, energizing the coil and holding the switch open so the LED stays dark. When I put a railcar on the tracks, the circuit changes. The wheels and axles create a short circuit (or shunt), a low-resistance path for current to flow, essentially bypassing the relay. The coils in the relay de-energize, closing the switch and lighting the LED to warn any nearby tiny drivers that a train is present on the tracks. It all depends on the train giving a preferential current path, which can be a problem if there are leaves or rust on the rails. You can see how shiny and clean tracks look when theyāre in frequent use. Tracks that havenāt seen a train in a day or more often impose a speed restriction on the first train just in case there is rust that could affect the track circuits along the way. If all this circuitry seems a little convoluted to simply detect the presence of a train, itās because of how this simple track circuit handles when things go wrong. Letās say the track circuit loses power; what happens? The relay deenergizes and falls back to the safest condition: assuming a train is occupying the tracks. Same thing if a rail cracks or breaks: the relay deenergizes and the light comes on. This is called failsafe operation, or as the engineers prefer to call it: fail to a known condition. If anything goes wrong, we want the default assumption to be that thereās a train coming because it might be true. Fail safe operation isnāt just in the track circuit but the warning devices too. Gates are actively held up with a powered brake. If power is lost, they fall just by gravity alone. And the bells and lights are usually powered by banks of batteries that can last for hours or days. Most modern train detection systems have moved to more sophisticated equipment, but relays are still used around the world because of their reliability. In fact, this is called a āvitalā relay because of all the features that make it extremely unlikely to fail. You can see it acts slowly so that the inevitably noisy signal of a train shunting the tracks canāt cycle it on and off over and over; The armature assumes the de-energized position even if the spring breaks; The contacts use special materials to keep from welding together; And theyāre just really robust and beefy to make sure they last for decades. But even though assuming a train is coming is the safest way to manage problems, itās not without its own challenges. Warning devices depend on trust, and thatās an extremely tenuous confidence to ask of a motorist. We are naturally dubious of automated equipment. Every time a grade crossing activates and no train comes, that trust is eroded, making motorists more likely to drive around the gates. So failing safe isnāt enough; we also need to make sure that failure is rare. Current leaking between the tracks through water, plant growth, or debris can falsely trigger warning devices. So railroads put a lot of time into keeping tracks clean and the coarse gravel below the tracks (called ballast) freely draining to prevent water from pooling up. In addition, even though maintenance workers can manually trigger devices by shunting current across the tracks, this is done rarely to avoid impacts to road traffic. But maybe youāve spotted a flaw in this simple track circuit. If not, let me point it out. Itās all to do with where you put the boundaries. If the circuit is close to the crossing on either side, thereās no warning time. By the time the train is detected, the motorists wouldnāt be able to clear the intersection or come to a stop. But if the circuit extends far enough beyond the crossing to give adequate warning time, motorists will have to sit and wait well after the train is past before it comes off the track circuit and the warning devices turn off. So, instead of a single track circuit, most crossings use three: two approaches and an island. Let me show you how this works with another demo. Now I have three track circuits set up with power going to each one. The rails are separated by a small gap to avoid an inadvertent connection across the circuits. On actual railroads, you can often identify insulated joints used to isolate the track circuits. They can be hard to distinguish if the insulating material matches the profile of the rail itself, but theyāre often painted to be easy to spot. A three-circuit configuration requires a little bit of logic to decide when to turn on the warning devices and when to turn them off. So, despite the fact that I have the coding skills of a civil engineer, I put this demo together using an arduino microcontroller. The model railroad folks are surely shaking their heads at this. You can see my LEDs as I roll the train along the tracks indicating which of the circuits is detecting the presence of a train; from approach to island to other approach. And hereās how the logic works. When a train is detected on either approach circuit, it immediately activates the warning devices. The lights flash, bell sounds, and gates drop. As the train keeps moving toward the crossing, itās detected on the island circuit too. The circuit effectively takes over control of the warning devices. Theyāll stay on for as long as a train is occupying the island circuit. But as soon as the island is unoccupied, the warning devices turn off (even though one of the approach circuits is still detecting a train). You can see how just a little bit of logic makes it possible to give some warning time for motorists before the train arrives at the intersection without keeping them stuck behind gates after the train has passed. But, how much warning time is enough? In the US, the minimum requirement is 20 seconds between activation of the warning devices and the arrival of a train, but itās typical to see 30 or 45 seconds. You might think that the more warning time the better, but itās a balance. Too much warning time, and motorists might become impatient and drive around the gates, so more time can actually make crossings less safe. For the three-circuit example in the demonstration, the only control you have over warning time is where to start the approach circuit. The farther away from the crossing it begins, the more warning time you get. But the exact time depends on the speed of a train. Since the approach is fixed in place, a slow train will provide lots of warning time, and a fast train will provide less. And a train stopped on an approach circuit before it even reaches the crossing will hold the gates down indefinitely. So the next step in grade crossing complexity takes speed into account. I put a little acoustic distance sensor on my arduino so I can try to estimate the speed of an oncoming train. The large cardstock cutout just helps my sensor to āseeā the train a little better. The arduino measures the distance over time, converts that to an approximate speed, and guesses how long it will take the train to arrive at the crossing. If the expected arrival time is longer than the warning time I programmed in, nothing happens. But if an arrival is expected within the warning time, the devices are activated. You can see if I approach the intersection slowly, the gates donāt drop until Iām relatively close to the crossing. And if I speed things up, the gates drop when Iām farther away, anticipating the faster arrival of the train. In theory, this type of sophistication means that the warning time at a crossing will always be the same, no matter the speed of the train. But it doesnāt just solve that problem. If you have ever sat at a railroad crossing while a train is stopped on the approach circuit, you know the frustration it causes. A grade crossing predictor avoids the issue. You can see as I move my train toward the crossing, the devices activate assuming the train will cross. But when I stop short, the predicted arrival time goes effectively to infinity, and the controller opens the gates back up. Of course, actual crossings donāt use sonar to predict the speed of a train. In most cases, they use track circuits with an alternating current. A train interacts with the frequencies of the circuit as it travels along the rails, giving the sensors enough information to detect the presence and speed. Sometimes you can even hear these frequencies since theyāre often in the audible range. AC track circuits are also used for electric train systems because they are less susceptible to interference from the traction currents in the rails used to drive the trains. Another challenge with grade crossings happens in urban areas where signalized intersections are present near the railway. Red lights form a line of vehicles that can back up across the tracks. You should never drive over a railway until you know itās clear on the other side. But, if youāre not paying attention, it can be easy to misjudge the available space and find yourself inadvertently stopped right on top of the tracks. Traffic signals near grade crossings are usually coordinated with automatic warning devices. When a train is approaching, the signal goes green to clear the queue blocking the tracks. Equipment for the most basic track circuits to the most sophisticated, including relays, microcontrollers, backup batteries, and more are usually housed in a nearby bungalow or cabin that is easy to spot. In the US, every grade crossing has its own unique identifier, and they all have a phone number to call if something isnāt working correctly. Railroads take reports seriously, so give them a call if you ever see something that doesnāt look right. If you want to see a lot of these grade crossing systems in action, check out my friend Dannyās channel, Distant Signal, for some of the best railfan videos out there. We depend on trains for a lot of things, and in the opinion of many, we could use a few more of them in our lives. Despite the hazard they pose, trains have to coexist with our other forms of transportation. Next time you pull up to a crossbuck, take a moment to appreciate the sometimes simple, sometimes high tech, but always quite reliable ways that grade crossings keep us safe. Iāve talked about what itās like as a motorist at a grade crossing, but I didnāt mention how satisfying it is to be a train passenger, watching those lines of cars wait as you pass by. Where I live, I donāt get to take many train rides (to the dismay of my obsessed three-year-old), but I do have a show that scratches the itch: Jet Lag is a travel-based game show, created by my friend Sam of Wendover Productions. Each season is this crazy adventure to complete challenges using different modes of transportation. Itās just such a creative idea, and what I really love is seeing how all types of public transport function around the world. Season 8 is in full swing right now. You can watch a few episodes on YouTube, but if you want to catch each one as itās released, you have to do it on Nebula. Youāve heard me talk about Nebula before: itās a streaming platform for independent creators like me. I love YouTube, and itās a perfect home for most of the videos I like to make, but the platform does drive the types of content that succeed: series donāt work very well, every video has to be optimized for clickability, and everything is ad-supported which constrains not only the content of the videos, but also how much room there is for experimentation. Just like everything on TV eventually turns into a reality show, it seems like everything on my part of YouTube eventually becomes a 15-minute explainer with flashy graphics and a clickbait thumbnail. Donāt get me wrong, I love a good explainer with flashy graphics, but I like other stuff too. Shows like Jet Lag, and my Practical Construction series where I embedded with a contractor for a year while they built a sewage lift station, donāt fit that YouTube mold, but theyāre also too weird for a big studio to greenlight. Nebula meets us in the middle. The platform has grown so much since I started releasing videos there with tons of exclusive content and early access to your favorite creatorās videos, all with zero ads. I know there are a bunch of streaming services right now, and adding another one to your list is a big ask. But, at only $30 for an entire year of access (if you use my link), this one is not going to break the bank. At that price, itās easy to give a shot and see if you like it as much as I do. That link is in the description. Thank you for watching, and let me know what you think.
50 Comments
Happy New Year! What other burning questions do you have about railroads?
I witnessed a guy in a pickup truck get hit by a train at a rural crossing. It had crossbucks and a stop sign. He didn't stop. It smashed into the trailer he was towing. He wasn't injured, but said he didn't see it coming. There's no trees at the crossing with a clear view in both directions. Not sure how he didn't see it.
A welder told me he work at a place where some guys thought it was funny to straighten a length of mig wire and throw it across the tracts at the back of the property. Their boss was not impressed.
That little sign that tells you how many tracks are at an un-gated crossing can save your life.
Car occupants have been killed crossing the tracks after "THE" train goes past just to be slammed by another train from the opposite direction. Never cross until the lights stop flashing.
People also need to help. If you see a car broken at the railroad crossing, call 911 and the railroad if you know the number. By my workplace there is a 2 track railroad crossing, and a few years ago a car broke its front axle on the second track. My coworker and I called the railroad and 911 while we redirected traffic around the car and helped to remove the man, who had surgery earlier that week, with his wheelchair and important supplies. We then handed him off the the police, said our goodbyes, and went home.
I also remembered that train crossings actually have swinging stop signs called griswolds, and flagging signals called wig wags, and most crossings have different type of bell sounds, which are mechanical and electronic. There are also different types of right lights, light bulb and led lights, and different sound of gate mechanisms, with different lights too. Iāve always go by any train crossings all the time.
Does this mean that certain part of the track is electrical?
I am here from 'Distant Signal'. He recommended your channel. š
So are they called Railroads or just Rail lines? I was under the impression that Rail-road was to refer to the crossing between rail and road (hence rail-road crossing), but I often hear people just calling the tracks "railroads" and now I'm not sure.
I always thought this was done by someone controlling the crossings from some distance, when they see a train on a camera or something.
Turns out it's much simpler than that. Thanks Practical Engineering.
My brain: Itās time to sleep!
Me, who randomly found this video: I donāt need sleep, I need answers!
In other words, a train sounds the Morse letter "Q" on its whistle when approaching a level crossing.
The biggest problem with train crossing roads isn't so much the people that ignore or run the signal, it's the enginerds that don't think critically enough to figure out the grading for semi trucks to safely traverse over the crossings. Especially the lowboy trailers with little ground clearance…
I can't wait to see your FSK bridge collapse vid! Terrible situation, but I love learning!
A road crew I worked on we were doing some ditch maintenance and there was a RR crossing. Every time our excavator went across the tracks it set off the lights and brought the cross bars down.
Is anyone else watching this in a train station?
Wow, you have really nailed this well. I'm a signalling engineer (we design/verify/validate grade crossings as they're considered part of the signalling system) and I don't think I could have explained it better than you have. One item though, track circuits detect the 'absence' of a train (because of exactly what you stated that there could be a train or there could be a failure so when it's energised that means no train) and axle counters (train detection devices that count axles and are widely used everywhere except USA it seems) detect the 'presence' of a train.
All railway crossings at city where I live were transformed in underpasses, overpasses or simply removed. This was partially due to some subway lines parallel to trains tracks so making crossings was impossible and to avoid accidents. On a few places I still see them. Outside my big city (11.5 million people) they are still there.
You show me a model train set and I am instantly an 8 year old boy again, what is it about them?
"Fail-safe operation"
Or as I call it … GHOST-TRAINS
I used to drive a light rail train for RTD in Denver. most of the lines we operate follow this logic of crossings, and operate quite well. however the newest line, the R line, built through the suburb of aurora, was simply ridiculous! There are quite a few crossings along the R line where the train has to pull up to the edge of the crossing and wait several minutes for the arms and bells to activate. The R line was so poorly built and was such a pain to operate. I was frequently sent to operate it since I was the new guy and all the senior guys didn't want to operate it
Railroad crossings in Germany are more complex. The big difference is, there is always a signal for the train in braking distance or more for the train, either a normal train signal or a railroad crossing signal, which will stop the train if the railroad crossing is not safe.
There are two types of it, first is switched on by the train dispatcher, second by the train itself. For the first type, the train dispatcher has to switch on the railroad crossing and check if is activated and nobody is on the tracks via camera or radar sensors before he can set the signal for the block section to green. The railroad crossing s is switched off / opened after the train left the block section. This type sometimes has long waiting times for cars.
The second type is switched on by train itself, but far away from the railroad crossing. Often there are axle counters used, because they are also used for detecting if a block section is free (number of axels in = out). In braking distance there is a signal for the train driver, which shows a white light if the crossing is activated (and the radar sensor detected no car on the tracks, if installed). If the signal light is off, the train has to stop in front of the railroad crossing (which will enforced by the train safety system). After the crossing there is another axle counter, to detect if all axles left the area to turn of the railroad crossing.
This is only a short version, it's a way more complex in reality. There a timeouts for certain things, most railroad crossings have a key switch where the train driver can activate it if the automatic activation does not work, …
Nice work. Explained the topic very well.
What happens when for example. The train is coming from a siding. And then the train accelerates after the sensors?
Sheldon cooper will love these episodes ā¤š
8:20 E. McKeesport
Fun fact the "Long, long, short, long" code comes from Great Britain. It stands for "Q" in morse code and was used to signal to other ships when there was a ship with the Queen (at the time) on board to clear the way for them. It made it's way into the US somehow and it just became an icon for railroading in general.
Until watching this video, I really underestimated how advanced and complex railway crossings are. Awesome and very informative video!
In Pakistan we have man operated gatesš„ø
Great video. It's very interesting to know the intricacies to how things work. It's like that game (I forget the name) that you have to make something easy happen. Using complicated means. Thanks for making the video.
As a trucker, I had my trailer get caught on a railroad crossing once. Iām glad I knew about that signal identifier, and the number, because the train was due to cross in 15 minutes
Take the Amtrak Eagle to Fort Worth or Austin.
3:15 – Here it is helpful that most freight cars have reflective parts.
In the UK, the crossing warning actually have a yellow light analogous to those on traffic signals, to provide a few seconds' heads-up before the crossing starts to flash. These same signal lights are also used for movable bridges there, lighting up when the bridge has to open for boats. Also, for some reason, the tunnel under London Bridge Station has a set of these signals too.
Dear Practical Engineering, awesome video, especially love the fact you included the actual railroad relay to visualize the workings of train detection for the purpose of initializing the mechanical and electronic/electrical components of a railroad crossing system.
On the insulated tracks in true scale; just wondering about the mechanical components of the rails which provide the insulated section. Regarding the fact how you showed the rail gap, the fish plates and how they bond the two pieces of rail over the insulated gap should mean that these fish plates and their mounting bolts and nuts are also insulated from the rail. Would be interesting to see that in more detailed fashion. Cheerio
I thought they used a gps solution these days! Very interesting! Thank you!ššš
I'm glad you mentioned Danny's channel, Distant Signal. Even though I was a passive train fan my whole life, his videos introduced me to railfanning as a hobby and things drastically changed from there. Thanks to you both!
Hey Grady! I was only 2 when I became obsessed with trains! I was diagnosed Autistic at 56. If he is obsessed with trains, you might want to get him checked out. If he is Autistic, find out what his gifts are, and roll with it!!!
And I always thought it was pressure plates and track sensors.
Very informative
15:09 Not quite "always reliable". We had one fail just recently in my city, and a truck driver was killed because the gates didn't drop & the lights didn't flash. That's why busses have to always stop at railway crossings.
14:57 I love how you say a vehicle, path of which is clearly set and has 0 variability is considered dangerous. We already use the most dangerous form of transport ever made and used by masses, personal automobile.
I live near 3 crossings, either one of which I MUST cross, in order to get pretty much anywhere (there's ONE other option, but it goes the opposite direction and basically towards…nowhere)
Like me, thousands of cars also cross – and frequently wait – there during any given 24 hour day.
While most people seem to prefer life over becoming the contents of a Ziploc bag, I frequently observe the fancy car "gate bypassers", red-faced and screaming SUV/minivan Karen and the basic pedestrian/cyclist room temperature IQ individuals.
Oh, and the trifecta of stupidity: semi truck drivers who somehow believe their rig ends 2 feet behind their head rest.
I've seen it all, over the decades. While it seems like the level of impatience has grown at the same rate as attention span has decreased, two things have remained steady: the volume and severity of the cursing, as well as the later headlines declaring "surprise" by witnesses and the occasional survivor.
Funny how many commuters, who most likely KNOW the train schedules, prefer the daily aggregation and risk of becoming road-paste, over adjusting THEIR travel schedule by a few minutes.
And besides, watching a train go past, listening to the horn, seems almost romantic.
Where in the world did you get the video at 1:07?
It's not complex. You send electricity through the rails and when the wheels of the train come over the section, it short circuits it and the barriers fall. It's a fail safe system. Just like you said. There are many other ways
In England UK where I live, grade crossings are activated MINUTES before an oncoming train, even at stations where the train is stoping or terminating and only approaching at 15 mp/h, the crossing gates will come down a good 3 MINUTES OR MORE before the train arrives at the crossing, backing up and delaying traffic. It's absolutely F'' ++ ing rediculous!! No wonder the UK no longer actaully owns most of its maufacturing and most other production, as it's all foreign (US, German, French or China owned), not a single mass automobile producer is Britsih owned, because of the waste and inefficiency of how things are done here for decades.
Could anyone link me the distant signal video?
Hey I know that relay! Worked with them š great explanation
As a track engineer, I really appreciate this series bringing light to what we do on a daily basis. Keep up the great work, Grady!
Going to work one early morning my dad looked and saw a train coming but the lights and gate arm never activated! Good thing he looked anyway, he always taught me that, never assume