The present invention relates generally to data transmission circuits, and more specifically, circuit arrangements for detecting missing pulses in complementary coded irregular data streams.
Missing pulse detectors utilizing retriggerable monostable flip-flops offer the ability to detect a missing pulse in data streams of regular and constant frequency. Detecting these missing pulses is made more difficult in high frequency FSK (frequency shift keying) systems comprising data streams of irregular signals, such as used when transmitting digital telegrams.
Digital telegrams are used, for example, in frequency-variable automatic train stop systems (ATS) that communicate between ground stations and a moving train, wherein an onboard device performs train control based on a frequency variable signal from a ground unit.
Under certain circumstances, data may be corrupted during transmission. Although some systems may incorporate apparatus to recover data from the corrupted data stream, the present embodiments include apparatus and methods for decoding irregular data streams in high speed data applications. Once detected, retransmission of the data may be requested.
One aspect of an apparatus and method of decoding data in an irregular data stream, comprises receiving a first irregular digital data stream and a second irregular digital data stream and outputting a digital data stream corresponding to one of the first and second digital data streams only if the first and second digital data streams are bit-for-bit complements of each other.
Another aspect includes a missing pulse detector circuit further embodied by a multiplexer configured to receive first and second irregular data streams wherein the data streams are complementary, i.e., logically inverted, and a flip-flop is interconnected with the multiplexer, wherein the arrangement of the multiplexer and the flip-flop detects a missing bit in one of the two complementary and irregular data streams.
A further aspect includes a data transmission method that includes a transmitter that generates a second digital data stream that is a logical complement of a first digital data stream. The first and second digital data streams are then transmitted through a transmission medium, that non-limiting, includes one or more of wireless and cable media, wherein the cable may be electrical or optically conducting. An interface device operates to convert a digital data stream to whatever stream of modulated energy required by the transmission medium. On the receiving side, an interface device receives the transmitted data streams and outputs the received data streams to a missing pulse detector that generates an output data stream based upon the received data streams, if the received data streams are bit-for-bit complements of each other.
The present apparatus and methods are illustrated by way of example, and not by limitation, in the figures of the accompanying drawings, wherein elements having the same reference numeral designations represent like elements throughout and wherein:
The receiver portion of communication system 100 includes receive interface 110 that receives non-inverting and inverting data streams 112, 114, respectively, and outputs data streams 122 and 124. In the absence of transmission or hardware errors, digital data streams 122 and 124 are complementary signals, wherein at any given instant, data stream 122 is at a logical one level when data stream 124 is at a logical zero level.
Unlike other transmission systems that restores missing data as long as either data present in data streams 122 or 124 is correct, missing pulse detector 104 only outputs a valid output 126 as long as signals 122 and 124 are bit-for-bit complements of each other. Output data stream 126 is fed into receiver 106. Receiver 106 is paired with transmitter 102, such that the transmitted protocol is decoded by receiver 106, and the payload of data stream 128 corresponds to input data stream 108.
Communication system 100 illustrates a one-way communication path. Non-limiting, full duplex communications may be implemented by implementing the components of system 100 in the backward direction.
Missing pulse detector 104 includes circuit arrangements for detecting irregularity in any one of complementary signals 112 and 114, or a failure in the detecting logic itself.
As illustrated in
A logical one level on the select pin of multiplexer 202 allows signal 124 to propagate through multiplexer 202, presenting a logic zero on the CLK pin of D flip-flop 204. When the logical states of signals 122 and 124 invert, that is, signal 122 goes low and signal 124 goes high, output 1Y of multiplexer 202 transitions to a high, logical one state. The rising edge 308 of signal 210 clocks the logical zero level 314 of signal 212 through to the output of D flip-flop 204.
Missing pulse detector 104 operates to detect irregularities between complementary signals 122 and 124. For example, at time T3, a failure in transmission medium bit 116 cause bit 312 to be dropped (indicated by shading) from signal 122. As a result, although signal 124 is still valid, there is no rising edge on signal 210 to clock D flip-flop 204, and therefore output signal 126 generates an invalid output signal. At time T4, signal 122 returns, and output 126 resumes the correct signal.
Similarly, between T5 and T6, signal 124 locks low resulting in missing bit 320. Because both signals 122 and 124 are necessary to generate a valid output signal 126, output signal 126 is held in a logical one state until signal 124 resumes at T6.
Another possible error condition is illustrated occurring between T7 and T8. In this scenario, the select pin of multiplexer 202 fails, causing output 210 of multiplexer 202 to follow signal 124, regardless of signal 126. Even though signals 122 and 124 are complementary, because of the hardware fault, the data on signal 122 is not output to data stream 126.
Based upon the embodiments disclosed above, the use of complementary signals and missing pulse detector 104 provides a level of confidence that a received data stream is not corrupted. Accordingly, as long as signals 122 and 124 are not identically corrupted, missing pulse detector can detect a missing pulse in high speed irregular data streams such as used in digital telegrams.
The flowchart of
At 404, the first and second digital data streams 118, 120 are transmitted through transmission medium 116. Non-limiting, transmission medium 116 is wireless or cable, wherein the cable may be electrical or optically conducting. Interface device 108 operates to convert a digital data stream to whatever stream of modulated energy required by transmission medium 116.
At 406, interface 110 receives the transmitted data streams 112, 114.
At 408, missing pulse detector 104 generates an output data stream based upon the received data streams 112, 114 if the received data streams are bit-for-bit complements of each other.
The various illustrative logics, logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but, in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
Further, the steps and/or actions of a method or algorithm described in connection with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium may be coupled to the processor, such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. Further, in some aspects, the processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal. Additionally, in some aspects, the steps and/or actions of a method or algorithm may reside as one or any combination or set of instructions on a machine readable medium and/or computer readable medium.
While the foregoing disclosure shows illustrative aspects and/or aspects, it should be noted that various changes and modifications could be made herein without departing from the scope of the described aspects and/or aspects as defined by the appended claims. Furthermore, although elements of the described aspects s described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated. Additionally, all or a portion of any aspect and/or aspects may be utilized with all or a portion of any other aspect and/or aspect, unless stated otherwise.