Embodiments of this application provide a
linear motion electromagnetic mechanism (100), a
relay (1000), a power distribution box (2000), and a
communication device. In a
linear motion electromagnetic mechanism (100), a first bipolar charging permanent
magnet (120) and a second bipolar charging permanent
magnet (130) are respectively disposed on two opposite inner walls of a frame-shaped portion (110a) of a magnetic yoke (110), and a first parallel
magnetic field (129) and a second parallel
magnetic field (139) that are in opposite directions are formed between the first bipolar charging permanent
magnet (120) and the second bipolar charging permanent magnet (130). Two semi-ring portions of a powered-on coil (142) are subject to co-directional
ampere forces, and the coil (142) drives a movable rack (141) to perform translation motion. The coil (142) is bi-directionally powered on, so that the movable rack (141) moves bi-directionally, to implement switching work of the
relay (1000). A first moving iron core (143) and a second moving iron core (144) are configured to form a holding force on the movable rack (141) when the movable rack (141) is at a switch-on position or a switch-off position, to limit a position of the movable rack (141). In the
linear motion electromagnetic mechanism (100), one
magnetic field cavity provides bipolar magnetic fields, and the powered-on coil (142) is subject to the
ampere forces in the bipolar magnetic fields to drive the movable rack (141) to translate, so that a small quantity of parts are used, and an overall structural thickness is smaller.