This post is part of a series,
Nonsense and the Second Law of Thermodynamics. The previous post is entitled
The Definition of Entropy.
It is a consequence of conservation of energy and the second law of thermodynamics that it is impossible to build a perpetual motion machine. There are many types of proposed perpetual motion machines.
There is a post that goes into a lot of detail of the various sorts of perpetual motion machines by Kevin T. Kilty, entitled
Perpetual Motion. Rather than go into arcane detail about different types of perpetual motion machines, I think it suffices to refer the interested reader to Kilty's post.
No machine can generate more more energy than put in (
first law of thermodyanics, conservation of energy, Noether's theorem). The first law of thermodynamics states that work can be converted into heat, and heat can be converted into work, but that the sum, the so-called internal energy (E or U) is a conserved quantity.