Photoelectric detection technology has been widely used in industry, agriculture, medicine, and other fields. The signal collected by photoelectric signal detection equipment is weak and vulnerable to noise interference. Therefore, a preamplifier circuit with good performance is needed to amplify the original signal effectively. Firstly, considering that a single-mode fiber coupler is more sensitive to the length of the coupling region, a coupled optical fiber vibration sensor is designed. Secondly, the appropriate operational amplifier (Op-amp) is chosen based on the photodetector. By listing and selecting the OPA656 Op-amp produced by TI Company, the basic current and voltage conversion circuit of photoelectric detection equipment is analyzed. In addition, a basic trans-impedance circuit with a phase compensation function is proposed and the calculation method of optimal phase compensation capacitance is derived. Finally, in the process of monitoring the vibration data of equipment, cloud computing technology (fuzzy C-means clustering algorithm+MapReduce model) is used for distributed processing of mechanical vibration data. In the test, the coupled optical fiber vibration sensor designed with an amplifier circuit and moving coil vibration sensor are placed on the ship equipment at the same time, and the rubber hammer is employed to hit the surface of the ship machinery. The test results of the two sensors are the same, which proves that the optical fiber sensor designed in this study meets the requirements of vibration measurement.