A new style calibration mechanism is designed for the infrared camera working in space. This calibration mechanism adds a locking device, which will produce magnetic force to fix the moving parts on the stage of launch. It has not been taken into account in past calibration mechanism of space infrared camera. In order to simplify structure and control system, an alnico is adopted in locking device as the source of magnetic field, which interacts with magnetic material and produces locking force. In addition, there is also a special structural design, which makes magnetic circuit closeitself to control magnetic leakage interfering with other equipment. Besides, another important component of calibration mechanism is a permanent magnet torquer. It can provide driving force for the blackbody to complete two state conversions of calibration and Non-calibration. High magnetic induction intensity and coercivity alnico is used as the stator, which will lighten the weight of torquer. On-off control strategy is selected in order to simplify the control system. Because calibration is only a temporary state, temperature rise has little influence on torquer. This setup is favorable to increase its reliability. There are guard plates on the axial direction shielding electromagnetism, also reducing magnetic leakage. Experimental investigations have been carried out to verify the feasibility and reliability of design. Result indicates the calibration mechanism can primely complete the calibration task of the space infrared detector. It has an important application value on the field of infrared detection.