Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Minecart clock generator for upright spikes  (Read 661 times)

suokko

  • Escaped Lunatic
    • View Profile
Minecart clock generator for upright spikes
« on: September 30, 2014, 12:43:12 pm »

I didn't notice any clock generator optimized for upright spikes. I decided to experiment my self with minecart clock generators. Design target is to generate alternating open-close signal every 41 ticks.

My first attempt with roller was somewhat bad direction but it takes only 5x5 spaces plus power source. I hid it in case someone wants to check it.

Spoiler (click to show/hide)

I made some extra reach based on helpful links by Larix. I managed to get my first 164 tick repeater to generate 4 signals with only two pressure plates. I suppose with some minor tweaking spaces requirement and stop requirements could be improved. But I decided to document the improved prototype version here in case someone else likes to design something better than I can come up tomorrow.



That was built on top of my test version of http://www.bay12forums.com/smf/index.php?topic=130767.msg4579632#msg4579632 that I used to verify that I understood the impulse ramp control correctly.

Track stops are medium frictions. The cart leaves second time the pressure plate 23 ticks after  entering it. Whole round trip is 164 ticks.


164 tick two pressure plate design

I took the knowledge gained from the prototype design  to come up with a smaller design that generates the 82 tick cycle signal using 164 tick track with two pressure plates. This is reducing mechanism requirements for actual use to half what 4 plate designs require.



Top right and bottom left halves are mirrir images of each other. The motion for the cart is generated from z-1 level in corners. There is two ramps (one under the wall in corner). Pressure plates are in crossing that will be left second time 23 ticks after first the plate was tricked. After loop there is 4 floor tiles slowing down the cart a bit so half section runs at 82 ticks. I first carved the complete track and the smoothed those 8 tiles.

Possible control mechanism is hatchet cover with lever like the Larix's design tells.

This design is quite easy to tweak making. If someone wants it shouldn't be hard to shrink the required floor space a bit. Another possible optimization is to drop cycle to 160 ticks and depend on build order to make pikes run a bit faster. That would require loop run to drop from 23 ticks to 20 ticks which should be about 2 corners less before entering the loop.

This design is heavily influenced and helped by Larix's earlier published work. Following his links gives information why and how this design works and what are limitations if wanting to improve this..
« Last Edit: October 01, 2014, 11:20:59 am by suokko »
Logged

Larix

  • Bay Watcher
    • View Profile
Re: Minecart clock generator for upright spikes (4 signals in 174 ticks)
« Reply #1 on: September 30, 2014, 01:15:29 pm »

Well, there are these two (both in the same thread):
http://www.bay12forums.com/smf/index.php?topic=130767.msg4579123#msg4579123
and
http://www.bay12forums.com/smf/index.php?topic=130767.msg4579632#msg4579632
(the second has a ramp underneath solid ceiling next to each visible ramp; track on ramps is plain NS).

Both designs have the minimum repeat time of four signals in 164 steps and a full extend/retract cycle of the spikes in 82. They're both using ramp bugs to get perpetual motion without power. I've built and used mine in a fortress and it worked perfectly.

A powered design would have the benefit of being bugfix-proof ;)
Logged

suokko

  • Escaped Lunatic
    • View Profile
Re: Minecart clock generator for upright spikes (4 signals in 174 ticks)
« Reply #2 on: September 30, 2014, 02:45:16 pm »

Thanks. That was what I was looking for. But I guess I could then continue my design towards 164 tick cycle trying to get stable speed from the ramp bug and with only two plates. It should be possible to make track cross a plate twice to generate close signal 123 ticks after open signal.

With my initial attempts with ramps I had fairly unstable signal making it impossible to aim for 41 ticks signal difference.
Logged