r/ControlTheory • • Aug 20 '26

Educational Advice/Question Live now: complete open-source Brick Ball-and-Beam (LEGO)

Please see https://redux.boondog.com/courseware/bnb/bnb.html - LEGO and LEGO-compatible parts are used to quickly and affordably construct a tabletop ball-and-beam (BNB), without tools or need to 3D print or machine any parts.

The page includes: full LEGO build plan; bill-of-materials; schematics (and KiCad files if a PCB is wanted); and Arduino source code. These are fully documented and supplement with videos.

Our university lab's Quanser platforms are over 15-years old and with our increased student enrollments (mechanical engineering), sought an alternative. I tested a 10-week beta course in Control Systems Lab. I wrote both the Student Lab Manual and Instructor Supplement Manual for: PID, Lead Compensator, Pole Placement, LQR and Fuzzy Control.

There's a short *anonymous* poll at the end to gage demand for the PCB, linear potentiometer, Bricks, and/or turn this into a kit.

PS: There is quite a lot of open-source content to peek at as well, from the above URL.

Thanks and hope this is useful!

PPS: Please please alternative sub-Reddit if this an inappropriate one. I'm an old-school newbie.

5 Upvotes

3 comments sorted by

•

u/seekingsanity Aug 21 '26

The most difficult part of a Ball and Beam project is the design. The position feedback is critical. The resolution needs to be very fine and noise free and the sample rate high. Since the B&B system is a double integrator, a derivative term will be required and the derivative term requires very good feedback so the positions can be differentiated.

Another problem I have seen it the linkage of the motor to the beam. It is best if the motor is directly connected to the beam but a pulley system will do. Levers will introduce non-linearities and possible mechanical slop.

If the B&B is designed right, all that is needed is a PD or a PID controller. I used pole placement for my calculations.

→ More replies