Bit rate detection
AssigneeELSA, Corp.
InventorRalf Koenzen
Life of this patent
Estimating the term…
Abstract
A serial data stream of control commands is sent to a shift register having a delay time corresponding to a shift frequency which is a multiple of the maximum expected bit rate, each control command beginning with a uniform binary character having a start sequence with a maximum duration. The bit rate is calculated from the duration of the start sequence which is measured by activating a counting circuit during the time in which the data stream is passing through the shift register. The bit rate is programmed into an integrated serial data transmission component, preferably a UART, and the delay time of the shift register is determined according to the maximum duration of the start sequence, plus the time required to program the bit rate into the UART.
Claims4
Process for detecting the bit rates of serial data streams of data terminals, said process comprising
- sending a serial data stream of control commands beginning with a uniform binary character to a shift register having a delay time corresponding to a shift frequency which is a multiple of the maximum expected bit rate, each control command beginning with a uniform binary character having a start sequence with a maximum duration;
- measuring the duration of the start sequence by activation of a counting circuit during the time in which the data stream is passing through the shift register;
- calculating the bit rate from said duration measured by said counting circuit;
- programming the bit rate into an integrated component for serial data transmission;
- said integrated component being a UART;
- determining the delay time of the shift register according to the maximum duration of the start sequence plus the length of time required to program the bit rate into the integrated component for serial data transmission;
- and
- providing a storage capacity of the shift register which is at least equal to the product of the shift frequency and the maximum duration of the start sequence plus the length of time required to program the bit rate into the integrated component.
Apparatus for detecting the bit rates, including in particular high bit rates, of serial data streams of data terminals, the control commands of the streams beginning with uniform binary characters, each uniform binary character having a start sequence, said apparatus comprising
- a digital shift register (5) which is times at a multiple of the maximum expected bit rate (shift frequency), to which the serial data stream is sent;
- an integrated component (6) for serial data transmission connected to the shift register (5) to receive data transmitted therefrom;
- a counting circuit comprising a gate controller (9) and a counter (10), which, during the time in which the data stream is passing through the shift register, measures the duration of the start sequence by activation of the counting circuit;
- a computer unit (7) connected to the counting circuit and to the integrated component (6) to receive data transmitted therefrom, the gate controller being connected to the computer unit (7) by an interrupt line (14) and to the computer unit (7) by a line (16) via the counter (10), said computer serving to calculate the bit rate from the duration measured by the counter (10), to program this bit rate into the integrated component over a program line (15), and to reset the gate controller (9) and the counter (10) over a reset line (12) when the computer unit (7) receives a new control command;
- and
- a timer (11) for the counting circuit and the shift register (5), this timer serving to provide the shift register (5) with the required shift frequency and the gate controller (9) with the count timing.
Dependencies are inferred from the claim text.