Patent ID: 8918668

Claim:
An inverter device comprising: an interface circuit configured to transmit and receive data to and from a serial encoder through bidirectional serial communication of clock synchronization type, the serial encoder being configured to detect a position of a motor whose rotational position or speed is to be controlled; and a computing circuit configured to perform computation on the basis of a detection signal received through the interface circuit, the detection signal indicating the detected position of the motor, the computation being performed to control the rotational position or speed of the motor, wherein the interface circuit includes a general-purpose CPU configured to transmit a clock to the serial encoder and transmit and receive data to and from the serial encoder, and an additional circuit configured to detect a start bit of reception data transmitted from the serial encoder, the additional circuit includes a flip-flop circuit which is set and triggered to output a detection signal upon receipt of the start bit by the flip-flop circuit from the serial encoder; the CPU starts counting the number of bits of the reception data in response to the detection signal from the additional circuit, the detection signal indicating the detection of the start bit; and the CPU stops transmitting the clock to the serial encoder upon completion of counting a predetermined number of bits of the reception data.