Andover residents who use the MBTA’s commuter rail to get to and from Boston are bracing for the closing of a portion of the line beginning Sept. 9.

The line will be closed for construction between Ballardvale Station in Andover and North Station in Boston through Nov. 5. The work includes installing a federally-mandated signal system upgrade that monitors a train’s location, direction, and speed in real time and reduces speed when needed to help prevent collisions.

Shuttle buses will replace regular train service between Reading and Oak Grove, where passengers can make an Orange Line connection. A shuttle bus will also provide service between Reading and Anderson/Woburn for connection with Lowell Line and Haverhill Line trains.

Train service for passengers between Ballardvale and Haverhill will be re-routed along the Lowell Line after Ballardvale, making one additional stop at Anderson/Woburn station then running express to North Station.