| Usually,the station interlocking test needs to build the corresponding simulation software of station plan,which is used to display and control the state of railway signal,turnout and track circuit.At present,the simulation software of the station plan needs to manually input configuration information to generate the display interface of the station map and the station-type topology structure,and manually control the state of the track circuit to realize the function of driving simulation,which is of low efficiency.Therefore,this thesis studies the identification method of railway outdoor signal equipment and the generation method of station map,which has certain significance for realizing the automatic generation of the display interface of the station map,the station-type topology structure and the data of driving simulation.(1)Identification of railway outdoor signal equipment: measure the diameter of the light of the signal and the distance between adjacent track circuits in the station drawing,and provide reference data for the parameters that need to be set for identification of the signal equipment.Based on the Hove variation,the track circuit and turnout in the station drawing are detected.The position and width of the horizontal line where the track circuit is located are determined by classifying and screening the track circuit detection data.By classifying and screening the turnout detection data,the intersection point of the oblique line where the turnout is located and its matching track circuit is solved,and the location of the turnout is determined.According to the statistics and classification of the accumulated pixel values near the end points of the turnout in the station drawing,the type of the end points of the turnout is determined.According to the characteristics of the color and shape of the signal,the region and direction of the signal and the region of the starting indicator are determined by using the run-smoothing algorithm,contour extraction algorithm,hole-acquisition algorithm and hole-filling algorithm.According to the range,length and width of the signal,determine the type,the type of the column and throat of the signal.The maximum number of black and white pixel changes is obtained by longitudinal scanning of the starter indicator area,and the number of starter indicator is determined.The maximum number of alternating changes of black and white pixels was obtained by longitudinal scanning of the starter region,and the number of starter regions was determined according to this data.Based on the name region localization algorithm of connected domain,the name of the signal equipment is recognized and matched.(2)Generation of station map: Based on the identification results of signal equipment and the construction idea of computer network topology,the traditional station-type data structure is improved,and the corresponding generation model of station map is built.Based on the improved station-type data structure,the signal devices are classified and sorted,and each type of signal device is traverse in turn,and the logical relationship among each signal equipment is established to realize the automatic generation of station-type topology structure.Based on the automatically generated station type topology structure,the height non-round-trip search algorithm is used to search the approach road,and the name and state of the turnout in the approach road are determined,and the comparison with the state of the turnout provided by the outside is made to realize the automatic selection of the basic approach road and the flexible approach road,which provides basic data for the automatic simulation of driving.The data irrelevant to the construction of track section in the approach search results were removed,and the signal,the insulation joint and the end of the turnout were used as the mark for the beginning and end of a track circuit segment,and the processed search data were classified to complete the establishment of the track section.By dynamically controlling the state of the track section,the automatic generation of the data of driving simulation was realized.Finally,based on the identification method of signal equipment and generation of station map designed in this thesis,the simulation software of station plan is built.The test shows that the identification method of signal equipment designed in this thesis takes less than 20 seconds to extract the name,type and position,etc of signal equipment in the station drawing,and the identification efficiency is high.The generation method of station map designed in this thesis takes the identification results of signal equipment as input data,which can automatically generate the display interface of station map,station-type topology structure and the data of driving simulation,and the generation efficiency is high. |