1. Home
  2.  ›
  3. Maintenance
  4.  ›
  5. Defect Detection Cars

Defect Detection Cars (Railroad): History, Purpose, Photos

Last revised: February 22, 2025

By: Adam Burns

Defect detection cars have been scanning the rails for undetectable defects and cracks dating all of the way back to the mid-1920s with the birth of Sperry Rail Service.

Today, the company's equipment is a common sight across America with their signature yellow heavy utility trucks (the classic Doodlebug rail cars have largely since been retired).

The original cars used a system known as induction testing to detect defects and newer methods use ultrasonic testing.

Still, both methods are used by Sperry today to keep these dangerous, sometimes microscopic cracks within rails from ultimately causing accidents and derailments. 

The classic, retrofitted doodlebugs which Sperry became so well known for over the years have predominantly been replaced by high-tech utility trucks and new rail cars mentioned above.

Union Pacific defect detector car DC-3 was photographed here at Lincoln, Nebraska in October, 1956. The car was built by J.G. Brill in 1928 as Detroit & Mackinac #201 and acquired by the Teledetector Company of Chicago in 1954 for detector service. It was sold to UP in April, 1954 and eventually scrapped in December, 1986. American-Rails.com collection.

The history of testing for internal track defects dates back to the early 1900s and sadly it all began with a serious accident that occurred on the Lehigh Valley Railroad.

The incident occurred in 1911 when a passenger train derailed and crashed near Manchester, New York due to what is now known as a transverse fissure, or a crack/defect within a rail that cannot be seen by the naked eye.

Four years later in 1915 the Bureau of Standards initiated research into finding a way to test and find this deadly problem, no longer was simply walking the rails to find potential issues effective. 

As individual components of railroad infrastructure go railroad track is the single most important part. While the ballast and railroad ties also play a very important role within the track structure, without the rails, of course, trains could not operate.

Throughout the decades and centuries railroad track technology has gradually improved with the most important advancement coming in the development of "T"-rail in the mid-19th century.

Today, virtually all main lines with speeds above 25 mph use welded or continuous welded rail (CWR) as it is much easier to maintain than the older "stick" or jointed rail that required being bolted together. 

It took over a decade for a testing method to be developed and implemented. In 1923 a Dr. Elmer Sperry, who also created the gyroscope among his more than 400 patents he would lay claim to, began development on an induction system that would test for these transverse fissures.

By 1928 he had perfected the invention and launched his company, Sperry Rail Service. While many of the large Class I railroads operate a few of their such cars, even today, for more than 80 years since its inception Sperry has often been the contractor of choice by railroads to search and scan for transverse fissures and other imperfections hiding within their rails.

Sperry Rail Service track geometry car #145 was photographed here in March, 1983. American-Rals.com collection.

The induction method uses electrical brushes and low voltage power to create a magnetic field around the rail and the different variations in the field can mean that a unseen defect or crack is apparent within the steel.

Later, in the 1950s Sperry developed a new method for finding cracks and imperfections within rails. Ultrasonic testing uses high-frequency sounds pulses directed into the rails to detect problems, typically from a number of different angles. 

Sperry's most famous defect detection cars (also known as simply Sperry cars) have always been the now-historic gas-electric cars, better known as Doodlebugs. At first Sperry built their own cars but later they purchased them from the J.G. Brill Company.

Sperry Rail Services car #124 is seen here working Kansas City Southern's Kansas City Southern Meridian Speedway at Girard, Louisiana on May 29, 2009. The unit's long history began as Lehigh Valley "Doodlebug" #20 in June, 1927 (a product of the St. Louis Car Company). It was acquired by Sperry in November, 1937. Doug Kroll photo.

Not only did these cars come fitted with testing equipment they were also full-service, rolling hotels (complete with sleeping quarters, bathrooms, and kitchens) for the crew as many times accommodations were not available along the railroad tracks. 

Later, the company began acquiring several Doodlebugs secondhand from railroads (from companies such as the Baltimore & Ohio Railroad, Lehigh Valley Railroad, and Chicago & North Western Railway), which had given up using the more efficient machines to move passengers on lightly populated branch and secondary rail lines.

In all Sperry would wind up with nearly 30 of the gas-electric cars and today still employs many of them in regular service, which interestingly haven't changed much since they were built during the first half of the 20th century!

Sperry Rail Services car #119 is on the Erie Lackawanna at Brighton Road near Tonawanda, New York on August 25, 1972. The unit was built as Baltimore & Ohio #6003 in 1926 by the St. Louis Car Company. It was sold to Sperry in October, 1933. Doug Kroll photo.

As Sperry has improved its testing methods its equipment has become lighter and easier to handle. Because of this the company has begun to retire a few of its gas-electric cars and now employs more versatile heavy utility trucks to search and test for rail defects.

If you are interested in seeing defect detection cars in action, such as those operated by Sperry this can be a tricky prospect.

Testing is done on an as-needed basis and the cars (or trucks) are constantly on the move, even though they typically only roll along at around 10 mph.

If you are interested in also photographing them and do happen to stumble upon one be sure and snap plenty of pictures then, it's hard telling when you'll see one again!

Recent Articles

  1. Pittsburgh and West Virginia Railway: Map, Rosters, History

    Sep 24, 26 12:24 AM

    050483bwry18381055610kt719912.jpg
    Pittsburgh & West Virginia—the Hi-Line. Wabash-Pittsburgh Terminal 1904. Railway January 29, 1917. Connellsville February 11, 1931. N&W lease October 16, 1964. Wheeling & Lake Erie from May 17, 1990.

    Read More

  2. Indiana Dinner Train Rides (2026): A Complete Guide

    Sep 24, 26 12:13 AM

    spirt-of-jasper-dinner-indiana.jpg
    2026 Spirit of Jasper Ride & Dine is paused. No public trains. Depot at 201 Mill Street stays open as a rental. Confirm on spiritofjaspertrain.com.

    Read More

  3. New Jersey Dinner Train Rides (2026): A Complete Guide

    Sep 24, 26 12:01 AM

    rdg-fp7s-woodsstock.jpg
    2026 Woodstown Central Dining in Motion—private table of four from $190, about an hour, Salem County. Confirm on woodstowncentral.com.

    Read More

  4. Maryland Dinner Train Rides (2026): A Complete Guide

    Sep 23, 26 05:19 PM

    md-dome-wmsr.jpg
    2026 Western Maryland Scenic Allegheny Mountain Dinner Train—Cumberland, 3 hours, 21+, Saturday 7 p.m. Confirm on wmsr.com.

    Read More

  5. Pittsburgh and Lake Erie Railroad: Map, Rosters, Photos

    Sep 23, 26 03:28 PM

    2025028uwn1840907556u19931092iio.jpg
    Pittsburgh & Lake Erie—the Little Giant. Chartered 1875, Pittsburgh to Youngstown February 10, 1879. New York Central from 1883. Independent May 15, 1979. Last day September 11, 1992.

    Read More

  6. Kansas Dinner Train Rides (2026): A Complete Guide

    Sep 23, 26 01:11 PM

    kansas-dinner-asv.jpg
    2026 Abilene & Smoky Valley Smoky Valley Limited—two hours from the Rock Island Depot, about $72–$110, dates into December 31. Confirm on asvrr.org.

    Read More

  7. The Belpaire Firebox: Simplicity and Greater Power

    Sep 23, 26 01:03 PM

    77690000872233432ed34.jpg
    Belpaire firebox—Alfred Belpaire, 1864. Square crown, straight staybolts at right angles. Pennsylvania standard after the 1880s. Great Northern was the other big user.

    Read More

  8. Pennsylvania Railroad (PRR) Electric Roster: All Classes

    Sep 23, 26 12:57 PM

    DC4870GG1447783252123.jpg
    Pennsylvania Railroad electrics—DD1s into Penn Station, P5s, 139 GG1s, B1 switchers, and 66 E44s. Class roster, 1905–1963. No unit-by-unit GG1 list.

    Read More

  9. Penn Central Diesel Roster: All-Time

    Sep 23, 26 12:46 PM

    29862803572378264389709338.jpg
    Penn Central diesel roster—PRR classes on NYC, PRR, and New Haven power. New orders carry serials. GP38-2s are 7940-8162. Conrail April 1, 1976.

    Read More

  10. Penn Central Railroad: Map, History, Logo

    Sep 23, 26 12:32 PM

    0238523758236782689269828989778.jpg
    Penn Central—Pennsylvania and New York Central merged February 1, 1968. New Haven January 1, 1969. Section 77 bankruptcy June 21, 1970. Conrail April 1, 1976.

    Read More

  11. Iowa Dinner Train Rides (2026): A Complete Guide

    Sep 23, 26 11:42 AM

    iowa-bsv-dinners.jpg
    2026 Boone & Scenic Valley Wolf Dinner Train—Saturdays May–October, Union Pacific dining cars, Bass Point Creek High Bridge. Confirm on bsvrr.com.

    Read More

  12. Pennsylvania-Reading Seashore Lines: Map, Roster, History

    Sep 23, 26 12:32 AM

    901814307608074980.jpg
    Pennsylvania-Reading Seashore Lines—Atlantic City Railroad renamed July 15, 1933. Pennsylvania two-thirds, Reading one-third. Camden to Atlantic City, Cape May, and Millville. Conrail April 1, 1976.

    Read More

  13. Wisconsin Dinner Train Rides (2026): A Complete Guide

    Sep 23, 26 12:28 AM

    wiscgreat-wi-dinners.jpg
    2026 Wisconsin Great Northern dinner train in Trego—$105, Namekagon River, January 8–31 and May 5–December 17. Mid-Continent’s remaining 2026 calendar is snack and scenic. Confirm on the railroad.

    Read More

  14. New Hampshire Dinner Train Rides (2026): A Complete Guide

    Sep 23, 26 12:21 AM

    nh-dinner-cafelafayette.jpg
    2026 Cafe Lafayette Dinner Train in North Woodstock—five courses, 2 hours, from $125. Children under 6 not allowed. Confirm on nhdinnertrain.com.

    Read More

  15. PRR "GG-1" Locomotives: Roster, Photos, Specs

    Sep 23, 26 12:13 AM

    00912487235617824091hj5186209878.jpg
    PRR GG1 electric: 139 locomotives, 4800–4938, built 1934–1943. Specs, Loewy shell, Amtrak numbers, and the last revenue trip on October 28, 1983.

    Read More

  16. Montana Dinner Train Rides (2026): A Complete Guide

    Sep 23, 26 12:04 AM

    mt-dinner-crcc.jpg
    2026 Charlie Russell Chew Choo from Hanover, near Lewistown—4.5 hours, prime rib, adult $151. Remaining listed dates sold out. Confirm on montanadinnertrain.com.

    Read More

  17. Kentucky Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 11:52 PM

    myoldkentucky-bardstown.jpg
    2026 My Old Kentucky Dinner Train in Bardstown—four courses, 2.5 hours, adult $116. Confirm on kydinnertrain.com.

    Read More

  18. Tennessee Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 11:45 PM

    tvrm-southern-5000.jpg
    2026 TVRM Chattanooga Dinner Train—Grand Junction, select Fri/Sat March 6–October 24, 6 p.m., from $110. Confirm on tvrail.com.

    Read More

  19. The Trainphone: PRR's Wireless Radio System

    Sep 22, 26 11:17 PM

    620810882208701u08708.jpg
    Pennsylvania Trainphone—Union Switch & Signal inductive telephone. Bel-Del trial 1941, Frenchtown November 29, 1943. Carriers at 88 kHz and 144 kHz. Out of service April 30, 1967.

    Read More

  20. Pennsylvania (PRR) Steam Roster: Post 1906

    Sep 22, 26 11:13 PM

    prr-040-713.jpg
    ennsylvania steam after 1906—H8, H9, and H10 Consolidations, 574 L1s Mikados, 598 I1s Decapods, 425 K4s Pacifics, 301 M1 Mountains. Drury’s grid. Last steam November 30, 1957.

    Read More

  21. Pennsylvania Railroad (PRR) Diesel Roster: All-Time List

    Sep 22, 26 10:59 PM

    2853920935273760329039079038.jpg
    Pennsylvania diesel roster—SW 3908 in June 1937, then Alco, Baldwin, EMD, Fairbanks-Morse, GE, and Lima. Serials and Alco order numbers. Penn Central February 1, 1968.

    Read More

  22. Pennsylvania Railroad: Map, Logo, History, Rosters

    Sep 22, 26 10:02 PM

    293752735858723823895872325923689347098.jpg
    Pennsylvania Railroad—chartered April 13, 1846, Harrisburg–Pittsburgh, Horseshoe Curve 1854, Penn Station 1910. Standard Railroad of the World. Penn Central February 1, 1968.

    Read More

  23. Pennsylvania Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 04:48 PM

    strasburg-pa-dinner.jpg
    2026 Pennsylvania dinner trains—Colebrookdale Dining Class in Boyertown and Strasburg Dinner on the Rails. Confirm on each railroad.

    Read More

  24. New York, Ontario & Western Steam Locomotives: History & Roster

    Sep 22, 26 04:40 PM

    NYO&W steam—camelback 2-8-0s and 2-6-0s, Class X Bull Moose 2-10-2s, Class Y and Y-2 Mountains. All-time class roster. Steam finished in the summer of 1948. None saved.

    Read More

  25. New York, Ontario & Western Diesel Roster: All-Time

    Sep 22, 26 04:36 PM

    89535789gt8990682808380.jpg
    NYO&W diesel—five GE 44-tonners 101-105, eighteen FTs, seven F3s, twenty-one NW2s. Serials and the NW2 order E824. Railroad liquidated March 29 1957.

    Read More

  26. New York, Ontario & Western Railway: Map, Roster, History

    Sep 22, 26 04:26 PM

    802090jf3838910nhhr89801.jpg
    New York, Ontario & Western—New York & Oswego Midland chartered January 11 1866, O&W January 21 1880. Scranton coal, West Shore rights. Last train March 29 1957.

    Read More

  27. Massachusetts Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 04:16 PM

    mass-cape-hero.jpg
    2026 Cape Cod Dinner Train—Hyannis, Buzzards Bay, and North Falmouth. Four-course, 3–3½ hours, from $99.99. Confirm on capetrain.com.

    Read More

  28. Colorado Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 03:51 PM

    royal-gorge-route-ark-river.jpg
    2026 Royal Gorge Route First Class Dinner and Lunch from Cañon City. About 2 hours, 12+, from $199+. Confirm on royalgorgeroute.com.

    Read More

  29. New York and Long Branch Railroad: A PRR & CNJ Subsidiary

    Sep 22, 26 03:11 PM

    4b4769v1125343v4560vv2643367b8b69.jpg
    New York & Long Branch—chartered April 8 1868, Perth Amboy–Long Branch July 1 1875, Bay Head Junction 1881. Jersey Central and Pennsylvania trains. Conrail April 1 1976. NJ Transit North Jersey Co…

    Read More

  30. Monongahela Railway Steam Locomotives: History & Roster

    Sep 22, 26 01:34 PM

    mga-282-184.jpg
    Monongahela steam—H-5 Consolidations, USRA light Mikados 170–179, Baldwin L-2s, ex-P&LE L-3s. All-time roster. Last steam May 26, 1954.

    Read More

  31. Monongahela Railway Diesel Roster: All-Time

    Sep 22, 26 01:16 PM

    98129471264263462367235787.jpg
    Monongahela diesel—27 Baldwin S-12s, NYC RF-16 sharks, P&LE GP7s, GP38s 2000–2004, Super 7s 2300–2310. Serials and orders. Last steam May 26, 1954.

    Read More

  32. Monongahela Railway: Map, Rosters, History

    Sep 22, 26 01:14 PM

    MONONGAHELA2302EBRWNVLE.jpg
    Monongahela Railway—incorporated December 31 1900, Railway July 1 1915. Brownsville–Fairmont coal road. Last steam May 26 1954. Conrail May 1 1993.

    Read More

  33. Virginia Scenic Railway Dining (2026)

    Sep 22, 26 01:09 PM

    vsr-fall-excursion.jpg
    2026 Virginia Scenic Railway—Blue Ridge Flyer Dining Class from Staunton, about 3 hours, plated meal. Sunday Brunch from Louisa, about $132. Confirm on virginiascenicrailway.com.

    Read More

  34. Virginia Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 01:03 PM

    vsr-dinner-rides.jpg
    2026 Virginia Scenic Railway—Blue Ridge Flyer Dining Class from Staunton, Alleghany Special Dining Class, Sunday Brunch from Louisa. Confirm on virginiascenicrailway.com.

    Read More

  35. Oregon Dinner Train Rides (2026): A Complete Guide

    Sep 22, 26 12:51 PM

    mtrr-scenic.jpg
    2026 Oregon has no plated dinner train on the calendar. Mount Hood is scenic with snacks. Oregon Coast Scenic’s evening ride is the 21+ Moonlight with sandwiches.

    Read More

  36. Maine Central Steam Locomotives: History & Roster

    Sep 22, 26 12:33 PM

    mec-282s-606622.jpg
    Maine Central steam—Ten-Wheelers, W-class Consolidations, S-class Mikados, C-class Pacifics, Hudsons 701 and 702. Post-1900 roster after Drury. Last steam June 13, 1954.

    Read More

  37. Maine Central Diesel Roster: All-Time

    Sep 22, 26 12:04 PM

    2034027727651521y661gy292962097.jpg
    Maine Central diesel—railcar 901, HH660s, GP7s, E7s, F3s, GP38s, U18Bs, ex-Rock Island U25Bs. All-time roster with serials and orders. Last steam June 13, 1954.

    Read More

  38. Maine Central Railroad: Map, Logo, Rosters, History

    Sep 22, 26 11:36 AM

    02930492726277278289609378.jpg
    Maine Central—Androscoggin & Kennebec and Penobscot & Kennebec, October 28 1862. Pine Tree Route. Mountain Division, Portland–Bangor–Vanceboro. Last steam June 13 1954. Guilford June 1981.

    Read More

  39. Maryland and Pennsylvania Railroad: Map, Roster, Logo

    Sep 22, 26 12:14 AM

    6742009904230958esxbf898711110039wiwo.jpg
    Ma & Pa—Peach Bottom 1868, Maryland & Pennsylvania February 12 1901, Baltimore to York. Last steam November 29 1956. York Railway December 1 1999.

    Read More

  40. New York Dinner Train Rides (2026): A Complete Guide

    Sep 21, 26 11:59 PM

    nyc-8223-mb.jpg
    2026 New York dinner train—Adirondack Dinner Train from Utica, 6 p.m., about 3 hours, First Class from $139. Arcade & Attica mystery dinner is served at Curriers. Confirm on the railroad.

    Read More

  41. California Dinner Train Rides (2026): A Complete Guide

    Sep 21, 26 11:49 PM

    9147817835782782798619779325.jpg
    2026 California dinner trains—Napa Valley Wine Train plated meals, River Fox brunch and mystery dinner, Roaring Camp barbecue at camp. Confirm on each railroad.

    Read More

  42. Roaring Camp Starlight Dinner Party (2026)

    Sep 21, 26 11:33 PM

    roaring-dinners.jpg
    2026 Roaring Camp Starlight Dinner Party—Beach Train from the Santa Cruz Boardwalk, barbecue at Felton, ride back after dark. Confirm on roaringcamp.com.

    Read More

  43. Long Island Rail Road Steam Locomotives: History, Roster & Photos

    Sep 21, 26 11:29 PM

    lirr-460-39.jpg
    Long Island steam—G5s 20–50, H10s 101–119, last steam at Hicksville October 8, 1955. Post-1898 class roster.

    Read More

  44. Long Island Rail Road Diesel Roster: All-Time

    Sep 21, 26 11:24 PM

    780203957267u7628020037.jpg
    Long Island diesel—boxcab 401 in 1925, FM C-Liners, RS-3s, C-420s, GP38-2s, DE30AC and DM30AC. All-time roster with serials and orders.

    Read More

  45. Long Island Rail Road: Map, History, Pictures, Logo

    Sep 21, 26 08:27 PM

    235828735268034986309470938.jpg
    Long Island Rail Road—Brooklyn & Jamaica 1836, Greenport 1844, Pennsylvania control 1900, Penn Station 1910. MTA since 1968. Steam and diesel rosters.

    Read More

  46. Oregon Coast Scenic Railroad (2026): Sunset Dinner and Moonlight

    Sep 21, 26 02:40 PM

    ocsr-moonlight.jpg
    2026 Oregon Coast Scenic does not post the old four-course Sunset Dinner. The evening ride is the 21+ Moonlight Excursion from Garibaldi, with pre-ordered sandwiches. Confirm on oregoncoastscenic.org.

    Read More

  47. Adirondack Dinner Train (2026): Dates, Tickets & What to Expect

    Sep 21, 26 01:38 PM

    adix-thendara-mb.jpg
    2026 Adirondack Dinner Train—Utica Union Station, 6 p.m., about 3 hours to Remsen. First Class from $139. Chef Patrick O’Connor. Confirm on adirondackrr.com.

    Read More

  48. Lehigh Valley Steam Locomotives: History, Roster & Photos

    Sep 21, 26 01:31 PM

    2395283757237523234.jpg
    Lehigh Valley steam—Camelback Consolidations, 2-10-2s, K-class Pacifics, six Mountains, Wyoming 4-8-4s. Post-1900 roster after Drury. Last steam September 14, 1951.

    Read More

  49. Lehigh Valley Diesel Roster: All-Time

    Sep 21, 26 01:23 PM

    53728567894_503551bba4_k.jpg
    Lehigh Valley diesel—boxcabs 1926, FTs 1945, F3/F7, FA/PA, C628 Snowbirds, GP38-2s, U23Bs. All-time roster with serials and orders. Last steam September 14, 1951.

    Read More

  50. Lehigh Valley Railroad: Map, Roster, Logo, History

    Sep 21, 26 01:09 PM

    2903852735273587286927829738.jpg
    Lehigh Valley—DLS&S 1847, named January 7 1853, Mauch Chunk–Easton September 12 1855. Route of the Black Diamond. Jersey City–Buffalo. Conrail April 1 1976.

    Read More