The principle and performance of a superconducting dynamo