A vehicle-ground communication device based on subway track circuit
By combining the MCU, demodulation decoding circuit and FSK self-test processing circuit in the track circuit signal receiving board, the problem of poor real-time processing effect and inaccurate demodulation information of the track circuit signal receiving board is solved, and accurate train position and status are achieved. Information transmission improves the safety of train operations and provides new communication solutions for the transportation field.
Patent Information
- Application Number
- CN202010197146.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-19
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-03-19
AI Technical Summary
The existing track circuit signal receiving board has poor real-time processing effect and inaccurate demodulation information, which affects the safe operation of subway trains.
A vehicle-to-ground communication device based on the subway track circuit is designed, which uses MCU and demodulation decoding circuit combined with FSK and self-test processing circuit to achieve accurate demodulation and real-time processing of FSK signals through frequency division and self-test processing circuit. , ensuring accurate transmission of train location and status information.
It improves the real-time processing effect and the accuracy of demodulation information of the track circuit signal receiving board, enhances the safety of train operation, and provides a new communication solution for the domestic transportation field.
Smart Images

Figure CN111314259B
Abstract
Description
Technical Field
[0001] The invention relates to the field of railway communication signals, and in particular to a vehicle-to-ground communication device based on a subway track circuit. Background Art
[0002] The subway track circuit is a circuit composed of a section of steel rail as a conductor. It is used to continuously detect whether a section of the subway line is occupied by a locomotive or a vehicle. It is also used to control signal devices or switch devices to ensure driving safety.
[0003] The track circuit signal receiving board is an important part of the subway track circuit vehicle-ground communication, and is also an important component of the ATP and ATO systems. As an on-board device, the track circuit signal receiving board is mainly placed in the cabinet to analyze the various train information given by the track circuit.
[0004] The working power of the track circuit signal receiving board is provided by the on-board cabinet through the F96 core connector. It receives the modulated FSK signal input by the antenna, demodulates and restores the original code stream, and transmits it to the host computer to locate the section where the train is located. At the same time, it provides a series of train status information, including speed, direction, distance, etc., to ensure the safe operation of the train. Existing track circuit signal receiving boards generally have problems such as poor real-time processing effect and inaccurate demodulation information. Summary of the invention
[0005] The purpose of the present invention is to provide a vehicle-to-ground communication device based on a subway track circuit in order to overcome the defects of the above-mentioned prior art.
[0006] The purpose of the present invention can be achieved by the following technical solutions:
[0007] A vehicle-to-ground communication device based on a subway track circuit, the device is connected to a host computer, the device comprises a track circuit signal receiving and demodulating board, the track circuit signal receiving and demodulating board comprises an MCU, at least one demodulation and decoding circuit, and an FSK and self-checking processing circuit, the MCU is respectively connected to each demodulation and decoding circuit and the FSK and self-checking processing circuit, the FSK and self-checking processing circuit is respectively connected to each demodulation and decoding circuit, and the MCU is connected to the host computer;
[0008] Each demodulation and decoding circuit receives the modulated FSK signal input by the antenna, divides the FSK carrier frequency of the corresponding interval, demodulates and restores the original code stream of the interval, and transmits the code stream data to the host computer through the MCU.
[0009] Preferably, the demodulation and decoding circuit is provided with three paths.
[0010] Preferably, each demodulation and decoding circuit includes a first waveform generator, a first signal switching circuit, an FSK signal input interface, an adder, a filter, an amplifier, a signal phase conversion circuit, a second waveform generator, a frequency division circuit, a second signal switching circuit, a low-pass filter, a bias adjustment filter circuit, a true effective value circuit, a comparator, a logic processing circuit, a driver and a signal board. The first waveform generator, the first signal switching circuit, the adder, the filter, the amplifier, and the signal phase conversion circuit are connected in sequence, the FSK signal input interface is connected to the adder, the second waveform generator, the frequency division circuit, the second signal switching circuit, the low-pass filter, the bias adjustment filter circuit, the true effective value circuit, the comparator, the logic processing circuit, the driver and the signal board are connected in sequence, and the second signal switching circuit is respectively connected to the amplifier and the signal phase conversion circuit.
[0011] Preferably, the MCU is connected to a signal board, and the generation of the FSK carrier frequency is achieved through an SPI instruction issued by the MCU. The carrier frequency signal is composed of 9.5kHz, 10.5kHz, 11.5kHz, 12.5kHz, 13.5kHz, 14.5kHz, 15.5kHz, and 16.5kHz, wherein 9.5kHz and 16.6kHz are special segment frequencies. In the carrier frequency, the center frequency plus 200Hz represents a high-level signal "1", and the center frequency minus 200Hz represents a low-level signal "0".
[0012] Preferably, the FSK and self-test processing circuit performs self-test through the MCU, the self-test signal is generated by the circuit of the board itself, the self-test signal frequency is 8kHz / 18kHz, the self-test signal amplitude is adjustable, the range is 300mV~5V, the MCU performs self-test on the specific amplitude of the two frequencies, and reports the self-test result;
[0013] After the self-test is completed, the external FSK signal to be tested is synthesized with the self-test signal, and the MCU recovers the code stream of the synthesized signal.
[0014] Preferably, each demodulation and decoding circuit is connected to the MCU via a UART port, and the track circuit signal receiving and demodulation board provides three-way demodulation and decoding circuits, which convert the analog signal output from the true effective value circuit into an actual data code stream, and upload it to the MCU via the UART port, while lighting up the data demodulation indicator light of the corresponding channel.
[0015] Preferably, the track circuit signal receiving and demodulating board is provided with an amplitude recovery circuit for the interval FSK signal, and the amplitude recovery circuit is connected to the MCU. The amplitude recovery circuit compares the amplitude of the interval FSK signal to facilitate the train to determine the position of the train at the intersection of the interval.
[0016] Preferably, the MCU is provided with five interfaces, namely:
[0017] 1) The interface between MCU and host computer adopts RS485 interface to upload cab signal, bondcrossing and parking point information to the host computer;
[0018] 2) The interface between the MCU and the data demodulation indicator light is used to light up the data demodulation indicator light of the corresponding channel;
[0019] 3) The interface between MCU and FSK and self-test processing circuit is used to control the FSK and self-test processing circuit to generate FSK self-test signal. After power-on or reset, it should be able to perform functional BIT detection on the hardware demodulation and decoding circuits of the three channels and upload the detection results to the host computer;
[0020] 4) The interface between MCU and signal control circuit module is used to automatically perform carrier frequency search on FSK input signal, set the control signals corresponding to three acquisition channels according to the search results, and upload the search results to the host computer;
[0021] 5) The interface between the MCU and the demodulation and decoding circuit is used to collect the code stream information output by the hardware demodulation circuit module in real time, and to verify and process the code stream information.
[0022] Preferably, the MCU is designed in a foreground and background interruption mode.
[0023] Preferably, the MCU initialization module initializes the various on-chip peripherals and some global variables used during the MCU power-on or reset process, including:
[0024] 1) General input / output port initialization;
[0025] 2) Interrupt initialization;
[0026] 3)SPI1 initialization;
[0027] 4) UART1 initialization;
[0028] 5) Timer1 and Timer2 are initialized;
[0029] 6) Input capture 1 to 3 initialization;
[0030] 7)LED initialization.
[0031] Compared with the prior art, the present invention has the following advantages:
[0032] 1) Based on the proposed system structure, independently design a receiving and demodulating board based on FSK signals and related software logic.
[0033] 2) The board realizes the vehicle-ground communication method based on the subway track circuit.
[0034] 3) High safety: the self-checking circuit and frequency division demodulation circuit are innovatively designed in this implementation.
[0035] 4) The whole demodulation circuit processes in real time, and the demodulation information is accurate.
[0036] 5) It provides a new solution for domestic transportation based on rail circuit communication and enriches the innovation in the professional field. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural block diagram of the present invention;
[0038] Figure 2 It is a structural block diagram of each channel demodulation and decoding circuit of the present invention;
[0039] Figure 3 It is a code stream recovery block diagram of the present invention;
[0040] Figure 4 It is a work flow chart of the present invention;
[0041] Figure 5 This is an initialization flow chart of the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0043] like Figure 1 As shown, a vehicle-to-ground communication device based on a subway track circuit is connected to a host computer, the device includes a track circuit signal receiving and demodulating board, the track circuit signal receiving and demodulating board includes an MCU, at least one demodulation and decoding circuit, and an FSK and self-checking processing circuit, the MCU is respectively connected to each demodulation and decoding circuit and the FSK and self-checking processing circuit, the FSK and self-checking processing circuit is respectively connected to each demodulation and decoding circuit, and the MCU is connected to the host computer;
[0044] Each demodulation and decoding circuit receives the modulated FSK signal input by the antenna, divides the FSK carrier frequency of the corresponding interval, demodulates and restores the original code stream of the interval, and transmits the code stream data to the host computer through the MCU.
[0045] In a more optimized solution, the demodulation and decoding circuit has three paths.
[0046] The present invention uses an MCU to undertake the control and demodulation work of the entire board. The other modules of the board are in a subordinate position and are controlled or operated by the MCU module. By demodulating three-way FSK signals, each original data code stream is given and then transmitted to the host computer. Figure 2 As shown, each demodulation and decoding circuit includes a first waveform generator, a first signal switching circuit, an FSK signal input interface, an adder, a filter, an amplifier, a signal phase conversion circuit, a second waveform generator, a frequency division circuit, a second signal switching circuit, a low-pass filter, a bias adjustment filter circuit, a true effective value circuit, a comparator, a logic processing circuit, a driver and a signal board. The first waveform generator, the first signal switching circuit, the adder, the filter, the amplifier, and the signal phase conversion circuit are connected in sequence, the FSK signal input interface is connected to the adder, the second waveform generator, the frequency division circuit, the second signal switching circuit, the low-pass filter, the bias adjustment filter circuit, the true effective value circuit, the comparator, the logic processing circuit, the driver and the signal board are connected in sequence, and the second signal switching circuit is respectively connected to the amplifier and the signal phase conversion circuit.
[0047] The specific working process of the demodulation and decoding circuit of each channel is as follows:
[0048] The carrier FSK signal generated by the board itself is mixed with the unknown FSK signal connected externally, and is input into the signal switching circuit after passing through the adder circuit, filter circuit, signal amplification circuit, and signal phase conversion circuit (optional). The signal selection is realized by the frequency division circuit generated by the board; after the signal switching selection, the FSK signal is output to the upper computer signal board after passing through the low-pass filter, bias adjustment filter circuit, true RMS output circuit, comparison circuit, logic processing circuit and drive circuit.
[0049] The MCU is connected to a signal board, and the generation of the FSK carrier frequency is achieved through an SPI instruction issued by the MCU. The carrier frequency signal is composed of 9.5kHz, 10.5kHz, 11.5kHz, 12.5kHz, 13.5kHz, 14.5kHz, 15.5kHz, and 16.5kHz, wherein 9.5kHz and 16.6kHz are special segment frequencies. In the carrier frequency, the center frequency plus 200Hz represents a high-level signal "1", and the center frequency minus 200Hz represents a low-level signal "0".
[0050] The FSK and self-test processing circuit performs self-test through the MCU. The self-test signal is generated by the circuit of the board itself. The frequency of the self-test signal is 8kHz / 18kHz. The amplitude of the self-test signal is adjustable in the range of 300mV to 5V. The MCU performs self-test on the specific amplitudes of the two frequencies (300mV, 2.5V, 5V) and reports the self-test results. After the self-test is completed, the external FSK signal to be tested is synthesized with the self-test signal, and the MCU recovers the code stream of the synthesized signal.
[0051] Under the control of the carrier frequency, the demodulation and decoding circuit demodulates the external unknown FSK signal by switching the switch. The demodulation and decoding circuit can realize data demodulation for all frequencies with different amplitudes.
[0052] Each demodulation and decoding circuit is connected to the MCU via the UART port. The track circuit signal receiving and demodulation board provides three demodulation and decoding circuits, which convert the analog signal output from the true effective value circuit into an actual data code stream, and upload it to the MCU via the UART port, while lighting up the data demodulation indicator of the corresponding channel. The specific process of code stream recovery is as follows Figure 3 The true RMS circuit of each channel will output two analog signals. After the two analog signals are output by the comparator circuit, for safety reasons, one of them will be reverse shaped and the other will be compared with hysteresis. Finally, the code stream will be restored through the AND gate and output to the host computer.
[0053] The track circuit signal receiving and demodulating board is provided with an amplitude recovery circuit for the interval FSK signal, which is connected to the MCU. The amplitude recovery circuit compares the amplitude of the interval FSK signal to facilitate the train to determine the position of the train at the intersection of the interval.
[0054] The MCU is provided with five interfaces, namely:
[0055] 1) The interface between MCU and host computer adopts RS485 interface, which is used to upload cab signal, bondcrossing and parking point information to the host computer. The communication rate is set to 38400bps;
[0056] 2) The interface between the MCU and the data demodulation indicator light is used to light up the data demodulation indicator light of the corresponding channel;
[0057] 3) The interface between MCU and FSK and self-test processing circuit is used to control the FSK and self-test processing circuit to generate FSK self-test signal. After power-on or reset, it should be able to perform functional BIT detection on the hardware demodulation and decoding circuits of the three channels (Ch1, Ch2 and Ch3), and upload the detection results to the host computer; the frequency of the synthesized FSK self-test signal is 8kHz / 18kHz, and the amplitudes are 300mV, 2.5V, and 5V respectively.
[0058] 4) The interface between MCU and signal control circuit module is used to automatically perform carrier frequency search on FSK input signal, set the control signals corresponding to three acquisition channels according to the search results, and upload the search results to the host computer.
[0059] After power-on or reset;
[0060] No valid FSK signal was collected within 2.8S.
[0061] 5) The interface between the MCU and the demodulation and decoding circuit is used to collect the code stream information output by the hardware demodulation circuit module in real time, and to verify and process the code stream information.
[0062] The MCU can control the hardware circuit to sample the amplitude of the FSK demodulated signal of the three channels, and determine the position of the train in the adjacent sections by comparing the amplitudes.
[0063] Table 1
[0064]
[0065] The MCU is designed in the mode of interrupt foreground and background. Table 1 is the software function list of MCU, where the foreground program flow is as follows Figure 4 As shown, the timer interrupt and the port input capture interrupt control the jump and switch between various branches of the program.
[0066] The MCU initialization module is used to initialize the various on-chip internal and external devices and some global variables during the MCU power-on or reset process, including:
[0067] 1) General input / output port initialization;
[0068] 2) Interrupt initialization;
[0069] 3)SPI1 initialization;
[0070] 4) UART1 initialization;
[0071] 5) Timer1 and Timer2 are initialized;
[0072] 6) Input capture 1 to 3 initialization;
[0073] 7)LED initialization.
[0074] The MCU software initialization module flow chart is as follows Figure 5 shown.
[0075] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A vehicle-to-ground communication device based on a subway track circuit, the device is connected to a host computer, and is characterized in that: The device comprises a track circuit signal receiving and demodulating board, which comprises an MCU, at least one demodulation and decoding circuit, and an FSK and self-checking processing circuit. The MCU is respectively connected to each demodulation and decoding circuit and the FSK and self-checking processing circuit, the FSK and self-checking processing circuit is respectively connected to each demodulation and decoding circuit, and the MCU is connected to a host computer; Each demodulation and decoding circuit receives the modulated FSK signal input from the antenna, divides the FSK carrier frequency of the corresponding interval, demodulates and restores the original code stream of the interval, and transmits the code stream data to the host computer through the MCU; The FSK and self-test processing circuit performs self-test through the MCU, and the self-test signal is generated by the circuit of the board itself. The frequency of the self-test signal is 8kHz / 18kHz, and the amplitude of the self-test signal is adjustable in the range of 300mV to 5V. The MCU performs self-test on the specific amplitudes of the two frequencies and reports the self-test results. The interface between the MCU and the FSK and self-test processing circuit is used to control the FSK and self-test processing circuit to generate the FSK self-test signal. After power-on or reset, it should be able to perform functional BIT detection on the hardware demodulation and decoding circuits of the three channels, and upload the detection results to the host computer.
2. The vehicle-to-ground communication device based on subway track circuit according to claim 1, characterized in that: The demodulation and decoding circuit is provided with three paths.
3. The vehicle-to-ground communication device based on subway track circuit according to claim 1, characterized in that: Each demodulation and decoding circuit includes a first waveform generator, a first signal switching circuit, an FSK signal input interface, an adder, a filter, an amplifier, a signal phase conversion circuit, a second waveform generator, a frequency division circuit, a second signal switching circuit, a low-pass filter, a bias adjustment filter circuit, a true effective value circuit, a comparator, a logic processing circuit, a driver and a signal board. The first waveform generator, the first signal switching circuit, the adder, the filter, the amplifier and the signal phase conversion circuit are connected in sequence, the FSK signal input interface is connected to the adder, the second waveform generator, the frequency division circuit, the second signal switching circuit, the low-pass filter, the bias adjustment filter circuit, the true effective value circuit, the comparator, the logic processing circuit, the driver and the signal board are connected in sequence, and the second signal switching circuit is respectively connected to the amplifier and the signal phase conversion circuit.
4. The vehicle-to-ground communication device based on subway track circuit according to claim 3, characterized in that: The MCU is connected to a signal board, and the generation of the FSK carrier frequency is realized by an SPI instruction issued by the MCU. The carrier frequency signal is composed of 9.5kHz, 10.5kHz, 11.5kHz, 12.5kHz, 13.5kHz, 14.5kHz, 15.5kHz, and 16.5kHz, wherein 9.5kHz and 16.6kHz are special segment frequencies. In the carrier frequency, the center frequency plus 200Hz represents a high-level signal "1", and the center frequency minus 200Hz represents a low-level signal "0".
5. The vehicle-to-ground communication device based on subway track circuit according to claim 1, characterized in that: Each demodulation and decoding circuit is connected to the MCU via the UART port. The track circuit signal receiving and demodulation board provides three demodulation and decoding circuits, which convert the analog signal output from the true effective value circuit into an actual data code stream, and upload it to the MCU via the UART port, while lighting up the data demodulation indicator light of the corresponding channel.
6. The vehicle-to-ground communication device based on subway track circuit according to claim 1, characterized in that: The track circuit signal receiving and demodulating board is provided with an amplitude recovery circuit for the interval FSK signal, which is connected to the MCU. The amplitude recovery circuit compares the amplitude of the interval FSK signal to facilitate the train to determine the position of the train at the intersection of the interval.
7. The vehicle-to-ground communication device based on subway track circuit according to claim 5, characterized in that: The MCU is provided with five interfaces, namely: 1) The interface between MCU and host computer adopts RS485 interface, which is used to upload cab signal, bond crossing and parking point information to the host computer; 2) The interface between the MCU and the data demodulation indicator light is used to light up the data demodulation indicator light of the corresponding channel; 3) The interface between MCU and FSK and self-test processing circuit is used to control the FSK and self-test processing circuit to generate FSK self-test signal. After power-on or reset, it should be able to perform functional BIT detection on the hardware demodulation and decoding circuits of the three channels and upload the detection results to the host computer; 4) The interface between MCU and FSK carrier frequency generation module is used to automatically perform carrier frequency search on FSK input signal, set the control signals corresponding to the three acquisition channels according to the search results, and upload the search results to the host computer; 5) The interface between the MCU and the demodulation and decoding circuit is used to collect the code stream information output by the hardware demodulation circuit module in real time, and to verify and process the code stream information.
8. The vehicle-to-ground communication device based on subway track circuit according to claim 1, characterized in that: The MCU is designed with an interrupt foreground and background mode.
9. The vehicle-to-ground communication device based on subway track circuit according to claim 1, characterized in that: The MCU initialization is to initialize the various on-chip internal and external devices and some global variables used during the MCU power-on or reset process, including: 1) General input / output port initialization; 2) Interrupt initialization; 3)SPI1 initialization; 4) UART1 initialization; 5) Timer1 and Timer2 are initialized; 6) Input capture 1~3 initialization; 7)LED initialization.
Citation Information
Patent Citations
Processing method for answering machine information receiving unit
CN101364813A
Track circuit demodulation method and device
CN102969979A
Direct current solid state power control system
CN103166314A
Detecting device for metro track circuit
CN103171590A
Method and system applicable to track circuit fault inspection
CN110356432A
