Controller of thyristor rectifiers