The alternator and dynamo