CCRS used in cylinder position sensing