News for hackers. Stuff that matters.
Re:The Rubik's Contraption by blackguardx on Saturday March 10, 2018 @09:09PM (#16561332)
Really cool! It looks like they have some overshoot on their servos. I think adding some damping to their control loop to get closer to critical damping would shave a few percent off their time.
Re:The Rubik's Contraption by amluto on Saturday March 10, 2018 @11:08PM (#16561654)
You’re assuming they’re using a linear controller, and they’re way ahead of you [1].

But I don’t think they’re overshooting per se. I think they’re landing the centers in the right place, but the outer pieces account for most of the moment of inertia, and they’re flexible, so the overall assembly is deforming. Deriving the optimal control law for that could be a bit messy. I would guess that it involves bringing the center piece nearly to a stop slightly short of 90 degrees and then gently bringing it the rest of the way.

[1] https://build-its-inprogress.blogspot.com/2017/12/controls-r...

Re:The Rubik's Contraption by ars on Sunday March 11, 2018 @03:20AM (#16562029)
I wonder if slightly overshooting on purpose, then running the motor in reverse for a moment would actually be faster.
Re:The Rubik's Contraption by Klathmon on Sunday March 11, 2018 @09:34AM (#16562908)
They talked about how "mistakes" in the tuning often resulted in exploding cubes. I have a feeling they probably tried that or something like it but it just puts too much stress on the cube.
Re:The Rubik's Contraption by phkahler on Sunday March 11, 2018 @07:09AM (#16562554)
>> It looks like they have some overshoot on their servos.

Even in simple linear systems with a PID, a bit of overshoot may improve the response time. It's not always desirable but in this case there is no problem with it. I also liked the other commenters idea that perhaps the parts of the cube are moving further than the centers and then falling back in place.

Re:The Rubik's Contraption by TheSpiceIsLife on Sunday March 11, 2018 @03:35AM (#16562060)
With the right cube, like the one they’ve used, one with fairly large-radius corners on the centre piece and inside corners of the other pieces, you can / should be able to start turning the next face before the current face as come to rest.

Though I suspect the thing might fly apart if timed wrong. That’d be worth watching.

Re:The Rubik's Contraption by oleh on Sunday March 11, 2018 @03:49AM (#16562105)
There is indeed a video on YouTube of the cube being turned into pieces. I think it was linked in the Ars Technica article.
Re:The Rubik's Contraption by TheSpiceIsLife on Sunday March 11, 2018 @05:21AM (#16562295)
Oh, indeed there is. I didn't scroll much past the first video.