Temperature compensated sensor system for high temperature applications in rugged environment