Method and Algorithm of the Automatic Warning System of Train Approaches to Railways | IEEE Conference Publication | IEEE Xplore