using analogue/digital converters of the type with comparison of different reference values with the value of voltage or current