| Railway is not only an important transportation infrastructure in China, but is the lifeline of the development of the national economy. With the continuous development of the national economy and the perpetual rise in the speed of the trains, an increasing high demand is called upon the quality of the railway. The switch is an essential part of the railway, whether its state is good or not influences directly whether or not the trains can operate in specified speed, safely, stably and uninterruptedly. Therefore, it's quite important to achieve the automation of the measurement of the switch.Frog is an important part of the switch. A deep research on the current state of the measurement of the frog both at home and abroad is made in the paper. Referring widely on the similar products at home and abroad, learning from intelligent measurement technologies used in the fields of railway, adopting the embedded intelligent instrument techniques which include the micro-controller as its core, a design program of a new type of measuring instrument of the frog is proposed. The 16bit micro-controller unit MSP430F1611 is the hardware core of the measurement system and the software architecture based onμC/OS-Ⅱembedded operating system is adopted, which meet the intelligent and automatic requirements of the measurement of railway in China. The research of the paper is listed below:Firstly, beginning with the background of the research, the current state of the measurement of the frog is introduced, the problems in the measuring instrument of the frog are pointed out and the significance and objective of the research is stated. In the meanwhile, a research about the intelligent instrument techniques and embedded technology is made. The research area and content are determined.Secondly, through the analysis of the overall design objective of the measuring instrument of the frog, the overall functions and structure of the instrument is confirmed and the overall project design is finished. A further study about the requirement of the system is made and the overall structure and measuring principle are made clear. The design project is discussed in both cases of the hardware and the software and the sensor, the CPU and the operating system are chosen.Thirdly, through thoroughly consideration of the feasibility, the reliability, the economy and the requirements of the system, the hardware and software of the measuring instrument of the frog are designed in details. The modular design is adopted in the design of the hardware system, which involves the choice of the electron components, the design of all the function circuits and includes the CPU function circuit, signal processing circuit, memory circuit, communication circuit, man-machine interface circuit, power circuit and other auxiliary circuits. The layered design method is used in the software system. From the overall architecture to each software layer, program designs of the starting layer, the driver layer, the operating system and the application layer are conducted separately.Finally, the sample machine is made. The functions of the system are tested and field tests are conducted. The results of the tests of the functions of the system show that all functions meet the design objective. The results of the field tests indicate that the measuring instrument of the frog is characteristic of high accuracy, reliability of data, good repeatability of data and easy operation. |