New automatic system for measuring hardness IRHD