## 1 Introduction  
As the manufacturing machine tool industry demands high transmission performance, this pushes a planetary transmission system to offer greater precision, torque density, efficiency and load capacity than a gearbox with a fixed-shaft format, in particular in the cases when heavy loads occur, or high precision is required. The gearbox includes gears, shafts and bearings, which are susceptible to wear and impact damage [1; 2]. A failure of the gearbox can stop a process and result in major economic losses. Regular maintenance checks using an external sensor such as an accelerometer are commonly used in the industry for sanity checks and diagnosis of performance, but the limitations of machine installations and transmission distance requirements indicate that embedded and wireless sensors are required. Advances in MEMS (micro-electro-mechanical system) technology allow smaller and lighter inertial sensors pushing their natural frequencies to a higher spectrum so as to be decoupled from the measured system's natural frequencies. MEMS sensors feature low quality, low power consumption, small size and integration with control and sensing electronics so they are ideal for applications when space is a critical issue. A MEMS sensor also allows wireless communication. Several wireless sensor systems [3; 4; 5; 6; 7] have been proposed to estimate the wear of mechanical components using MEMS technology. Thesestudies use wireless sensors to measure wear, to design signal processing tools, to reduce energy losses and to increase signal accuracy. One study [3] collected signals from a ball screw to estimate the state of wear. The sensing components were attached to the surface of a gearbox and a machine tool. [PERSON] and [PERSON] [4] measured the structural variations in the dynamic mode where continuous signals have been used to determine the state of an induction motor. Other studies, Refs. [5; 6], developed wireless sensor systems to transfer data to a data server for analysis. A previous study [7] collected vibration signals from sensors that were mounted on wind turbines, and the experimental results verified the effectiveness of the gearbox fault diagnosis. Other studies [3; 4; 5; 6; 7] designed wireless sensors for industrial environments, using vibration results to determine the life of rotating parts and dynamic power management techniques to extend the life of a system. Signals such as preload, temperature and vibrations can certainly be transmitted wirelessly and used to detect the working status of mechanical parts, from which the service life of mechanical parts can be estimated. However, most sensors are externally mounted and are not integrated in the transmission mechanism, so sensor life is shortened, and they are inconvenient to use. This study embeds a sensor in a transmission mechanism to detect vibration and temperature signals and extend the life of a transmission mechanism. A virtual instrument (VI) is designed using the graphical programming language LabVIEW to acquire data, analyze the time and frequency domain and to ensure that data are persistent, archived and controlled. [PERSON] and [PERSON] [8] implemented LabVIEW using VI graphical language to monitor the condition of integrated bearings. Another study [9], to diagnose typical faults in a planetary gearbox, developed a VI system that simulated broken teeth on a sun gear using an envelope analysis. Another study [10] developed a system to remotely monitor the condition of a wind turbine gearbox and diagnose faults using MATLAB and LabVIEW to improve performance and speed. A previous study [11] used wavelet transformation and ensemble empirical mode decomposition to gather information about faults using a diagnosis technology that was developed using LabVIEW. Studies show that MEMS and LabVIEW are eminently suited to system monitoring and fault diagnosis. A frequency spectrum analysis is used to determine the vibrational behavior of a planetary gearbox that is healthy or faulty [1; 12].