Apparatus and method for processing ATC intermittent information in railway
09821825 ยท 2017-11-21
Assignee
Inventors
Cpc classification
International classification
Abstract
The present invention relates to an apparatus and method for processing an intermittent information in railway, the method comprising determining that data of a prescribed first length is received in first and second buffers; reading and storing the data of the first length in the first and second buffers; determining that data of a prescribed second length is received in the first and second buffers; reading and storing the data of the second length in the first and second buffers; and generating a final data by combining the data of the first length and the data of the second length.
Claims
1. A method for processing intermittent information in railway, the method comprising: receiving, at a first buffer, first data from a first loop arranged in the railway; receiving, at a second buffer, second data from a second loop arranged in the railway; waiting, for a predetermined time, when length of any of the first data or the second data is longer than a first length; continuing the receiving at the first buffer and the second buffer during the waiting for the predetermined time; reading and storing at the first buffer and the second buffer, respectively, the first data and the second data, when both the first data and the second data are longer than the first length; determining that third data and fourth data, each having a length longer than a second length, are respectively received at the first buffer and the second buffer; reading and storing at the first buffer and the second buffer, respectively, the third data and the fourth data, when both the third data and the fourth data are longer than the second length; and generating, by a processor, final data by combining the first data, the second data, the third data and the fourth data.
2. The method of claim 1, further comprising: clearing the first buffer when the first data is longer than the first length and the second data is not longer than the first length; and clearing the second buffer when the second data is longer than the first length and the first data is not longer than the first length.
3. The method of claim 1, wherein the first length corresponds to a length of a start-notifying data.
4. The method of claim 3, wherein the second length corresponds to a length of a data including information.
5. The method of claim 4, wherein the generating the final data includes aligning the start-notifying data at a forefront and aligning the data including the information after the start-notifying data.
6. The method of claim 1, further comprising: transmitting the final data to on-board equipment in a train.
7. An apparatus for processing intermittent information in railway, the apparatus comprising: a first antenna configured to receive intermittent information from a first loop arranged on the railway; a second antenna configured to receive intermittent information from a second loop arranged on the railway; a receiver configured to convert a message of an analog type signal received from the first antenna or the second antenna to a message of digital data, and a ATC (Automatic Train Control) on-board equipment configured to analyze the message of digital data, wherein the ATC on-board equipment includes: a first buffer configured to store intermittent first data from the first loop; a second buffer configured to store intermittent second data from the second loop; and a processor configured to generate a final data by combining the first data and the second data received from the first and second buffers, and wherein the processor is further configured to: determine that the first data and the second data, each having a length longer than a first length, are respectively received at the first buffer and the second buffer; read and store at the first buffer and the second buffer, respectively, the first data and the second data, when both the first data and the second data are longer than the first length; determine that third data and fourth data, each having a length longer than a second length, are respectively received at the first buffer and the second buffer; read and store at the first buffer and the second buffer, respectively, the third data and the fourth data, when both the third data and the fourth data are longer than the second length; and generate the final data by combining the first data, the second data, the third data and the fourth data.
8. The apparatus of claim 7, wherein the first and second buffers include a ring buffer.
9. The apparatus of claim 7, wherein the processor is further configured to wait, for a predetermined time, when length of any of the first data or the second data is longer than a first length.
10. The apparatus of claim 9, wherein the processor is further configured to clear the first buffer when the first data is longer than the first length and the second data is not longer than the first length; and clear the second buffer when the second data is longer than the first length and the first data is not longer than the first length.
11. The apparatus of claim 7, wherein the first length corresponds to a length of a start-notifying data.
12. The apparatus of claim 11, wherein the second length corresponds to a length of a data including information.
13. The apparatus of claim 12, wherein the processor is configured to align the start-notifying data at a forefront and align the data including the information after the start-notifying data.
14. The apparatus of claim 7, wherein the first antenna is configured to receive the first data transmitted from the first loop; and wherein the second antenna is configured to receive the second data transmitted from the second loop.
15. The apparatus of claim 14, further comprising: a transmitter configured to convert the first data received from the first antenna and the second data received from the second antenna to a second digital signal, and transmit the second digital data to the first and second buffers.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE INVENTION
(6) Various exemplary embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some exemplary embodiments are shown. The present inventive concept may, however, be embodied in many different forms and should not be construed as limited to the example embodiments set forth herein. Rather, the described aspect is intended to embrace all such alterations, modifications, and variations that fall within the scope and novel idea of the present disclosure.
(7) Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
(8)
(9) Referring to
(10) The left and right antennas 10, 20 are arranged inside a rail of a train, and may respectively receive intermittent information from left/right loops 120, 130 installed on tracks 100, 110 as illustrated in
(11) Communication between the receiver 30 and the ATC on-board signal equipment 40 may be realized using RS232 communication method, but the present invention is not limited thereto and various other communication methods may be used.
(12) The ATC on-board signal equipment 40 may analyze the digital data by combining the messages transmitted from the receiver 30.
(13)
(14) Referring to
(15) In general, the ATC on-board equipment 40 analyzes messages by combining the messages received as illustrated in
(16) A time for transmitting a data from the receiver 30 to the ATC on-board equipment 40 may be calculated in the following way. That is, when a data transmission speed of the receiver 30 is 4800 bps, for example, a data length of one frame is 88-bit, such that transmission of one frame would be 18.304 msec. When a train speed is 400 km/h, it would take 63 msec to pass a 7-m loop, such that a train running at a speed of 400 km/h can receive approximately 3.4 frames. Furthermore, when a train speed is 200 km/h, it would take approximately 126 msec to pass a 7-m loop, such that a train running at a speed of 200 km/h can receive approximately 6.8 frames.
(17) Inasmuch as intermittent information is continuously received according to prior art, and the intermittent information is such that data of ground loops 120, 130 is received through the antennas 10, 20, an intensity of signal may vary according to surrounding environments and circumstances, and a slight time delay may occur because it takes time for the receiver 30 to convert an analogue signal to a digital signal.
(18) Thus, the ATC on-board equipment 40 according to an exemplary embodiment of the present invention may store, in left/right buffers 41, 42, the data received for compensation of time delay of data received through the left/right antennas 10, 20.
(19) Although the left/right buffers 41, 42 may be ring buffers, for example, in the ATC on-board equipment 40 according to an exemplary embodiment of the present invention, the present invention is not limited thereto, and various other types of buffers may be employed.
(20) The data received from the receiver by the ATC on-board equipment 40 may include a data (0Xff) notifying a start of one byte, and data (0x01 to 0x FF) showing actual information of 5 bytes. However, lengths of these data are exemplary and are not limited to the present invention, and may be variably configured as necessary.
(21) The signal processor 43 according to the present invention is configured such that the ATC intermittent information may be received time-delayed through the left/right antennas 10, 20 or received with noise, and in this case, the data processing is performed in consideration of time delay, whereby message analysis can be efficiently performed and messages can be stably analyzed even at a high speed.
(22) The messages analyzed by the signal processor 43 may be transmitted to a unit (not shown) installed for control of on-board equipment, about which no further detailed explanation will be omitted as it has nothing to do with the present invention.
(23) Now, a method for processing ATC intermittent information in railway will be described in detail with reference to the accompanying drawing.
(24)
(25) Referring to
(26) The signal processor 43 may receive data of one frame and checks if data of more than one byte has been received by the left/right buffers 41, 42 after waiting for a predetermined time (S3).
(27) As a result of determination (check) at S3, if data of more than one byte is not received by the left/right buffers 41, 42, the buffers 41, 42 having received data of more than one byte are cleared (S4) and flow returns to S1. As a result of determination (check) at S3, if data of more than one byte is received by the left/right buffers 41, 42, data of one byte received by the left/right buffers 41, 42 may be read and stored (S5).
(28) Successively, the signal processor 43 checks if data of more than five bytes is received by the right buffer 42 (S6), and as a result of determination (check) at S6, if data of more than five bytes is received by the right buffer 42, the data of five bytes received by the right buffer 42 may be read and stored (S7). The signal processor 43 checks if data of more than five bytes is received by the left buffer 41 (S8), and as a result of determination (check) at S8, if data of more than five bytes is received by the left buffer 41, the data of five bytes received by the left buffer 41 may be read and stored (S9).
(29) Although the present invention has described and explained that the right buffer 42 is checked and the left buffer 42 is checked, the present invention is not limited thereto. That is, the above explanation is simply for convenience sake, and the left buffer 41 may be checked first and the right buffer 42 may be checked later, or both the left/right buffers 41, 42 may be simultaneously checked.
(30) Furthermore, although the present invention has explained that the length of a start-notifying data is defined by one byte and the length of data of actual transmission is defined as 5 bytes, the present invention is not limited thereto, and it should be apparent to the skilled in the art that the length may be variably defined as necessary.
(31) Then, data stored in the left/right buffers 41, 42 is combined (S10). That is, the one-byte data stored in S5 and 5-byte data stored in S7 and S9 may be combined. However, it should be apparent that the lengths of data corresponding to one byte and five bytes may be changed as necessary, as explained above.
(32) The data currently stored in the left/right buffers 41, 42 corresponds to 6 bytes regardless of start byte, the 6-byte data are aligned and combined in accurate order from the above explained start byte. However, this explanation is exemplary and other methods of sequentially combining the bytes may be variable considered by receiving data of one frame. Thereafter, the combined messages may be transmitted to the on-board equipment (S11).
(33) The apparatus and method for processing ATC intermittent information in railway according to the exemplary embodiment of the present invention has an advantageous industrial applicability in that frame loss can be minimized and processed accordingly, even if left/right messages of ATC intermittent information are received time-delayed or damaged by noise.
(34) Meantime, although the apparatus and method for processing ATC intermittent information in railway have been described with reference to a number of limited illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.
(35) More particularly, various variations and modifications are possible in the component parts and/or arrangements of subject combination arrangement within the scope of the invention, the drawings and the appended claims. In addition to variations and modifications in the component parts and/or arrangements, alternative uses will also be apparent to those skilled in the art.