The invention discloses a rail-type bracket mechanism for installing an anti-collision
radar of a ship. The rail-type bracket mechanism comprises guide rails, idler wheels, rotating shafts, a supporting plate, a
radar pot, magnetic blocks, outer rods, first springs, inner rods, cleaning brushes, a left fixing plate, a rotating rod, a rotating
handle, a right fixing plate, a bearing, a gear, a curved rack, a pull rod, a second spring, a magnetic ring, a curved rubber plate, T-shaped rods, T-shaped grooves, pressing rods, adjusting blocks, third springs and magnetic plates. According to the rail-type bracket mechanism, under the elastic force of the first springs, the cleaning brushes fit the guide rails, the supporting plate moves to drive the cleaning brushes to move to clean the guide rails, the rotating
handle rotates to drive the rotating rod to rotate, the rotating rod rotates to drive the
radar pot to rotate, the curved rack fits the gear to fix the rotating rod, the curved rubberplate is installed by installing T-shaped blocks in the T-shaped grooves, and therefore the radar pot is protected.