Design and implementation of online tester for track circuit based on MSP430

Publisher:静默思考Latest update time:2012-01-06 Keywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

As train speeds continue to increase, the requirements for train tracks are also getting higher and higher. The original insulated track circuit can no longer meet the needs of the development of railway transportation, so advanced industrial countries around the world have begun to develop non-insulated track circuits [1].

Among them, the UM71 non-insulated track circuit successfully developed by the French CSEE company is the most widely used. This system was introduced into my country in the late 1980s. This non-insulated track circuit uses the resonance principle to transmit low-frequency modulated FSK signals (4 carrier frequencies, 18 low frequencies) through the rails. Since the parallel rails have equivalent inductive reactance characteristics, the signal transmission distance is seriously affected. In order to prevent the output signal from being distorted, a 33μF resonant capacitor is installed every 100 meters in each block section to form a series resonant circuit with the equivalent inductance of the rail to increase the signal transmission distance. To ensure that the system works properly, railway staff must frequently check the operating parameters of the track circuit along the rails. One of the important items is the measurement of the capacitance of the parallel compensation capacitor, but the current common bridge method capacitance measurement equipment cannot perform online measurement. For trains running on the track, offline measurement of compensation capacitors poses a huge safety hazard [2]. Although the dedicated UM71 non-insulated track circuit compensation capacitance online measurement device can perform online measurement, it uses a passive measurement method, which requires a high resolution of the clamp-type current sensor, increases the complexity of the device, greatly increases the cost of the device, and the device is large and not easy to carry. In view of this, this paper designs a portable online tester.

1 Working Principle

By applying an excitation signal with a frequency higher than the signal transmitted by the track circuit itself to both ends of the capacitor to be tested, the response signal at both ends of the capacitor is collected at the same time, and the signal is sent to the single-chip microcomputer MSP430 (containing an A/D converter and a sampling and holding module) for A/D conversion after filtering out noise through a bandpass filter. Since there is a certain corresponding relationship between the capacitance value of the compensation capacitor and the converted value, according to this relationship, the capacitance value can be obtained by comparing the value after A/D conversion with the pre-calibrated value. The rationality of this measurement method has been verified by experiments. At the same time, this tester also has the function of measuring carrier frequency and frequency modulation frequency. Since the signal to be tested is a mixed signal modulated by a higher frequency carrier signal and a low frequency modulation signal, this signal is compared by a zero comparator and sent to the timer in the single-chip microcomputer to count to obtain the carrier frequency. At the same time, the signal is filtered out by a low-pass filter to remove the higher carrier signal, and then sent to the single-chip microcomputer after passing through a zero comparator to obtain the modulation signal frequency.

2 System Hardware Design

The tester adopts an active measurement method and is mainly composed of a signal generation module, a drive circuit module, a signal acquisition module, a single chip microcomputer and a display module.

2.1 Signal generation and drive module design

The first problem is the selection of the excitation signal frequency. The excitation signal frequency selected by the instrument cannot be too low. If it is too low, according to the inductive reactance formula: XL=2πfL, the rail inductive reactance will be too small, which will form a parallel effect of the compensation capacitor and make the measurement meaningless. At the same time, the frequency cannot be selected too high. Since the internal resistance of the measurement system plays a voltage divider role in the measurement, a high frequency will make the output voltage too small, affecting the resolution of the measurement system. Combining the above two points and combining the experiment, the selected excitation signal frequency is 10kHz.

The design idea of ​​this module is to divide the output of the 2MHz crystal oscillator by 200 to obtain a stable 10kHz square wave signal, and pass the signal through a Darlington transistor to improve its driving ability.

2.2 Signal acquisition module design

The signal collected by the measuring probe is relatively weak, so it must be amplified by an amplifier. Due to the harsh working environment of the railway, the collected signal is inevitably mixed with interference signals. The interference signal is also amplified when passing through the amplifier, which will seriously affect the measurement results. In order to filter out the noise signal, this tester uses the 8th-order continuous-time active filter MAX274 developed by MAXIM for filtering [3].

2.3 Design of frequency discrimination module

The collected signal is sent to the MCU's TimerA for counting after passing through the zero comparator, thereby obtaining the frequency of the higher frequency carrier signal (1700Hz, 2000Hz, 2300Hz and 2600Hz). After the signal is further filtered through a low-pass filter to remove the high-frequency signal, the frequency of the low-frequency modulation signal is obtained.

2.4 Main control chip and display module design

[page]

Taking into account the operating environment and other factors, the high-performance, ultra-low-power 16-bit single-chip microcomputer MSP430F147[4] produced by TI was finally selected as the main control chip. The MSP430 series devices are all industrial-grade products, with an operating environment temperature of -40 to +85°C. They use a RISC structure, have a rich addressing mode and a high processing speed. The MSP430 series of single-chip microcomputers have many interrupt sources, and they can be nested arbitrarily, which is flexible and convenient to use. When the system is in a power-saving standby state, it only takes 6μs to wake it up with an interrupt request. The display part uses a low-power, beautiful LCD liquid crystal display module.

3 System Software Design

The system software design adopts efficient C language programming. According to the hardware composition of the system, the system software design mainly consists of four parts: system initialization, capacitance measurement, frequency discrimination and human-computer interaction.


4. Analysis of test results

As the capacitance of the capacitor to be measured increases, the peak-to-peak value of the response signal voltage gradually decreases. Based on this corresponding relationship, the capacitance of the capacitor can be obtained. Assuming that the first set of data is used as the calibration data, it can be seen from Figure 3 that the maximum error of the second set of data is 35.3-34.1=1.2μF. Since the accuracy of the 33μF compensation capacitor is generally ±10%. That is, the actual value is between 29.7μF and 36.3μF, it can be seen that the measurement result is relatively accurate. Railway staff can determine whether the capacitor needs to be replaced based on the measurement results. At the same time, in order to reduce the measurement error, multiple measurements can be performed and the average value can be taken as the calibration data.

UM71 compensation capacitor tester is developed to meet actual needs. It realizes the online measurement of frequency-shift track circuit parameters. It is portable and easy to use, reduces the labor intensity of employees, and eliminates the safety hazards caused by offline measurement of compensation capacitors. This instrument has the function of intuitively displaying the capacitance value and the carrier frequency and frequency modulation frequency of the transmission signal. At the same time, the tester has the advantages of strong anti-electromagnetic interference ability, small size, light weight, and good portability.

Keywords:MSP430 Reference address:Design and implementation of online tester for track circuit based on MSP430

Previous article:Design of underground sensor transmitter probe in horizontal directional drilling tracking and guidance instrument
Next article:Design and Research of No-load Dynamometer System Based on MSP430

Recommended ReadingLatest update time:2024-11-17 05:25

Design of industrial signal generation and measurement instrument based on MSP430F42x
  0 Preface   This paper introduces the generation and measurement principles of industrial signals, and mainly studies the design of industrial signal generation and measurement instruments based on TI's MSP430F42x.   Industrial signal generation and measurement instruments are very important detection instruments
[Microcontroller]
Design of industrial signal generation and measurement instrument based on MSP430F42x
MSP430 My Low Power System Programming Template
It is mainly implemented using the foreground and background program structure. The foreground program is various interruption and other emergencies, and the background program is the main loop, which handles various tasks caused by various events. #include "MSP430G2553.h" int gTaskFlag=0; //Task flag void sysIni
[Microcontroller]
Detailed explanation of MSP430 system clock
After power-on reset, DCO is about 800KHz   The basic clock of SP430 series microcontrollers is mainly composed of low-frequency crystal oscillators, high-frequency crystal oscillators, digitally controlled oscillators (DCO), frequency-locked loops (FLL) and FLL+ modules. The clock modules will also be different due
[Microcontroller]
MSP430 read and write flash program
//****************************************************************************** //****************************************************************************** #include  #define FLASH_ADDRESS 0x01000 //define FLASH information area address segment B unsigned char write_buff ={0x01,0x03,0x04,0x09}; //Used to s
[Microcontroller]
MSP430 MCU controls stepper motor with display program
MSP430 MCU controls stepper motor with display program #include "msp430x22x4.h"  #define uchar unsigned char  #define uint unsigned int  #define comm 0  #define dat 1 #define sclk_1 P4OUT|=0x01 //sclk=1; 001----p4.0  #define sclk_0 P4OUT&=0x06 //sclk=0; 110----p4.1  #define std_1 P4OUT|=0x02 // std =1; 010  #define s
[Microcontroller]
A wireless ECG monitor based on GPRS
  Heart disease is the biggest disease that threatens human life and health. It is characterized by suddenness, unpredictability, and high mortality. Therefore, it is particularly important to monitor the patient's ECG signals in real time. Most patients need an instrument that can provide ECG monitoring at any time w
[Microcontroller]
A wireless ECG monitor based on GPRS
MSP430 Clock Module Summary
[Microcontroller]
Application of MSP430 single chip microcomputer in power system operation power supply
1 Introduction With the improvement of the modern automation level of power systems and the increasing complexity of high-frequency switching power supply structures, people are prompted to adopt new control methods to quickly reflect module changes in order to significantly improve the stable operation level o
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号