Microcomputer inverse time-overcurrent algorithm