The invention discloses an
urban rail ATC hardware-in-loop
simulation debugging platform and method based on
Matlab, and relates to the technical field of
software engineering.The method comprises the steps that S1,
urban rail ATC
monitoring data are collected, and the collected data are preprocessed; s2, constructing a
simulation environment, evaluating an interference
coupling relationship between track signals, executing
signal interference superposition correction, and completing
simulation environment initialization; s3, hardware-in-the-loop simulation is executed in the initialized simulation environment,
frequency spectrum demodulation is carried out on the track
voltage and the track current, the
signal out-of-step risk degree is evaluated in real time, and whether interference injection operation and
signal correction are triggered or not is judged; and S4, extracting a signal result output by simulation, evaluating the fitting degree of a simulation signal and an actual monitoring signal, judging a current signal fitting state, and implementing a dynamic calibration strategy. The problems that in-loop simulation of ATC hardware is not superposed with traction
harmonic waves and
backflow ripples, so that field out-of-step is difficult to reproduce, and the test coverage rate is virtually high are solved.