Design and building of a digitally controlled thyristor current source