Patent ID: 9692562
Date: 2017-06-27
CPC Classifications: H04L,H04Q

Claim:
1. A communication apparatus comprising: an output portion that outputs an output signal which includes a synchronization signal, a data signal, and an end signal, wherein the synchronization Signal synchronizes clocks of a controller and the output portion, the data signal is outputted after the synchronization signal, and the end signal is outputted after the data signal and indicates a termination of a series of signals in this order; and a controller that includes (i) a measuring portion that measures a length of a received pulse that is received by the controller, (ii) a signal determiner that determines based on the length of the received pulse whether the received pulse corresponds to the synchronization signal, (iii) a signal acquisition portion that skips the received pulse in a case where the signal determiner determines that the received signal does not include the synchronization signal, and considers the received signal as the synchronization signal and reads a pulse following the received pulse to the end signal in a case where the signal determiner determines that the received signal includes the synchronization signal, and (iv) a corrector that corrects the data signal based on a pulse length of the synchronization signal, wherein: the corrector calculates the correction value based on the pulse length on the synchronization signal in accordance with a following expression: in which Ac represents the correction value, Lp_S represents the pulse length of the synchronization signal outputted from the output portion, N represents a total number of tick in the synchronization signal, and Tt represents a time corresponding to on tick; and the pulse length of the data signal is corrected by the correction value so as to calculate the actual data of the data signal in accordance with a following expression: in which D 1 represents the actual data, Lp_dl represents the pulse length of the data signal, and B represents a reference tick number.