By itself it is perpetual motion. Note that perpetual motion machines are usually described to generate excess energy, not just keep running forever. However the rules you quote only apply if there is no external influence. And your planet-sun pair isn’t running is isolation. It is embedded in space-time, and that spacetime has some additional rules. What will eventually run things down is that the motion is distorting space-time, and that distortion is radiating energy away as gravity waves. Eventually, long after the sun has gone cold and pretty much the rest of the universe along with it, the pair will have radiated all the energy away and it will stop.
Tides formed by the gravitational interactions pull rotational energy from the system and will eventually cause the motion to stop.
And the trick isn’t perpetual motion - an object moving in space essentially gets you that. The trick is perpetual motion while getting work out of the system. In the earth-sun system, that work is in the form of tidal energy (eventually radiated away as heat) which is in fact slowing the system down.
There are different types of perpetual motion. A perpetual motion machine of the third kind is one that keeps going because nothing stops it - no friction or resistance. This does not violate the laws of thermodynamics, so it is possible. A planet revolving around the star falls under this category.
But usually, the term “perpetual motion” refers to the perpetual motion machine of the first kind, which does work without any energy input. Which means you can extract energy from it without putting any into it. This does violate the laws of thermodynamics.
Normally we say “external force”, but that’s it. The earth is being acted upon by the gravitational pull of the sun, and is constantly accelerating. It’s not an example of inertia, where there would be no acceleration. Still, the orbit will eventually decay.
When I was a kid, I learned that a motor converts electrical energy to mechanical energy, and a generator converts mechanical energy to electrical energy. I had the brilliant idea to hook a motor to a generator, and presto, perpetual motion! I later learned what was wrong with this idea, and also that pretty much everyone who learns enough comes up with this thought at some point.
When we were designing a solar source to test the Space Station solar array in the early 1990s someone mentioned the output of the arrays could be fed back into the lights to cut down on the power requirements. They were kidding, but the calcs are easy.
If you’re just doing it for testing purposes, sure, that could indeed be useful. Maybe it’s not enough to be practical, but it’s still something.
It’s only when you try to install such a system on the ISS that the laws of thermodynamics bite you in the butt.
Yeah, if nothing else, gravitational radiation will eventually kill an orbit… but there will almost always be something else first. Gravitational radiation is slow, especially for a weak-field situation like a typical planet orbiting a star.
Yeah, the halogen projector lamps we were using put out:
And the solar cells were 8-9% efficient.
In case anyone is interested, here is the lamp bank I designed and the very first solar panel for the ISS in 1991. The panel was pretty much priceless at that point. It is being tested in NASA Lewis’ Tank 5. I’m the guy in the one photo along with my electrical engineer. The design specs called for an insolation of .33 suns with no more than 5% variation on any solar cell. I was able to get .50 at less variation then spec.