I built a magma sea to surface magma filling minecart system detailed at
http://dwarffortresswiki.org/index.php/Magma and
http://www.bay12forums.com/smf/index.php?topic=125679.msg4217863#msg4217863But I wanted a super dwarfy way to collect the minecarts from the system between lava hauling runs. So I built an automatic cart return system for 8 carts. This system took about a week to get right due to experimenting with every part of the lava delivery system. I also had to rebuild the cart return system almost completely once due to carts jumping between lanes.
Picture 1 Cart storage

After launching the first cart from on top of a hatch it goes down one z-lvl onto a wiggly lane and hits a pressure plate, sending the next cart down its lane, hitting another pressure plate, and so on. This ensures I have at least 100 ticks between cart launch. This setup probably gives me a little over 150. The minecarts are locked in their own little rooms with doors hooked up to a lever. This is to keep the carts from rolling off of their hatches during reloading.
Picture 2 Cart timing

Each of those pressure plates is also hooked up to a gear on top of a latch. A latch is a complicated bit of engineering that is basically a small bit of memory. Detailed at
http://dwarffortresswiki.org/index.php/File:Mini_Resetable_Trigger_Once_Plate.PNG. Activating the gear resets the latch so the hatches in picture 5 are closed and not open. It does this by removing water from above a pressure plate that is on the bottom of the latch in picture 3 (shown without water in it).
Picture 3 Latch pressure plates

After dropping the carts down a hole to the lava sea, they run through a simple system to fill the carts with lava and send them on their way back up a 104 z-level stack of loopy impulse ramps where a track stop dumps the lava into a resevor. They then drop down the up/down stairs to the lava sea and do it over again. A good cart filling system is described here
http://www.bay12forums.com/smf/index.php?topic=125679.msg4247715#msg4247715 but without the bridge on the ramp. The carts can be dropped from any height onto where the bridge is supposed to be in that post, but I put a 2 long iron roller in the trench on top of the 2 track engraved ramps. So the carts get dropped onto a roller in a 2 long trench of 7/7 lava with a pump constantly filling the trench. I would show a picture of my setup but I was experimenting and ended up with a much more complicated setup that I don't care for as much lol.
Picture 4 Cart return hatch

But if I want to collect the carts out of the system I pull a lever and the hatch in the above picture opens up, grabbing the carts out of the system. I am storing the lava above my fort so this is somewhere near the top of the system and the carts are caught before they are dumped in this case.
Picture 5 Cart return system

The carts are dropped one z-level onto a NS track ramp, go south then east and the first cart rolls over the first hatch and activates the first pressure plate. The pressure plate is attached to the hatches in the latch at the top of picture 1. They normally have 6/7 water on top of them. This will open the hatch dropping the water onto a pressure plate in picture 3 and this activates the hatch right behind the pressure plate that just got ran over in picture 5. This keeps the hatch open until the carts are launched again, allowing additional carts to drop down on the ramp under the hatch go up another ramp and end up in the next hallway, running over the next hatch and pressure plate activating those, until all of them are activated and all the carts are returned to their proper starting positions. Note some of the lanes have additional impulse ramps before the hatch. I had to put these specifically on ONLY those lanes or a cart would get stuck. Your mileage may vary and you may need to put more or less impulse ramps to make it work. Also the walls between the lanes were absolutely necessary! My first design didn't have them and most carts would jump lanes when they went over the hatches.
Also in picture 5 is the top of the drive train for the latches. Each latch uses 30 power if you include 2 pumps and 2 gears for each latch. I only need 7 latches for 8 carts because the last cart does not need one. I also left some room for expansion encase I want 10 carts. The right of the drive train is hooked up to 2 dwarven water reactors producing a total of 400 power. I don't use all of it but I would be cutting it close if I expanded to 10 carts and 9 latches.
In the spoiler is all the pictures arranged from top to bottom.