There are multiple departure locations at Sunjia Station on the Harbin-Jiamusi Rapid Railway,and the station type is complex.During on-site testing,it is found that there are cases of mistakenly receiving HU codes during train operation when handling some arrival routes.Based on the transmission principle of cab signaling,this paper analyzes and studies the causes of train code errors,proposes solutions for each reason,and focuses on optimizing the design of coding circuits from the perspective of using different basic carrier frequencies for train arrival and departure routes,adding code switching relays,and other optimization design schemes.After the optimization scheme is adopted on site,the impact of code errors on actual operation is avoided;Based on the optimized design scheme,design suggestions have been proposed for similar projects to avoid erroneous code reception,providing design ideas for future projects.