Monday, May 9, 2011

Small NXT CNC machine: A bit too ambitious, really

Since the NXT 2.0 set contains three motors, it should be possible to build a Lego CNC machine with a little help from some external parts. Its construction would be quite straightforward and use most concepts we are already well familiar with. Based on those assumptions, I've tried to build one ― or more precisely, its early prototype.

I'm sure it could be built very nicely on a large scale, but the intention was to make it smaller ― that is, small and brick-economical enough to fit entirely on a 48x48 baseplate, yet provide at least 10x10 studs (8x8 cm) of grinding area.


So here it is! Its components are quite self-explanatory. On one end of the platform we've got two motors; each moves a pair of beams along a rail via rack&pinion system, that move the cradle. The X-rail is stationary, while the Y-rail is mounted on the X-beams. Thus, the cradle easily moves in both axes. It is nothing more than a simple little "pool" where I have fitted a thick piece of bakelite, and which slides freely over the surface thanks to the tiles on its bottom.

A bridge is built above the cradle area, heavily reinforced with four rows of interconnected studded beams. It carries a large moveable cradle built specifically for this standard-issue electric drill. The cradle is attached to four strong arms, and there is significant counterweight on the other side, with four large old Technic wheels attached to long arms. The counterweight compensates for the drill weight (approx. 2.2 kg), so the bridge needs to withstand only vertical force, and not the sideways too, which would complicate construction.

The drill is raised and lowered by just a few millimeters at full extents, but it is more than enough for a sheet of bakelite. Its height is actually controlled by raising and lowering the counterweight arms with one linear actuator, connected to an NXT motor. Since the drill and the counterweight are in a fine balance, the actuator doesn't need to produce much force, but I've opted to use it for its precision. (To increase precision of X-Y movements, the motors are also directly connected to the driving pinions ― no gears that would introduce backlash.)

A simple clutch holds the electric drill at a desired power, and a very fine yet hard grinding drill bit with a 0.8 mm head diameter is mounted in it. The NXT module that controls all three motors is resting on the side, connected to a laptop that sends the machining data.

Obviously, this is a quite limited CNC contraption, as the drill can access the surface only from above, so it acts more like a carving machine. The input is really straightforward: a simple script analyses a greyscale bitmap (which is a depth map), calculates the area that needs to be grinded out for each layer, and then "carves" them out, layer by layer. The X-Y resolution is 80x80 pixels, so the pixel amounts to 1 mm ― less would anyway make little sense with the grinding bit of this size, and while the depth could theoretically reach 256 layers, that would be insane ― 10 is more than enough. Or to be very precise, we're not dealing with pixels here, but voxels. Anyway, such configuration amounted to approximately 5500 instructions (motor movements) for an averagely complicated desired result: a tiny physical model of Iceland with scaled altitudes I chose as a first test.

So I've built the prototype (yes, please excuse the horrible colours, but facing running out of beams I've had little choice), programmed the script and happily pushed 'Start'. And quickly learned that the above idealism works only in theory, while in practice, this CNC design has serious flaws, serious enough to classify it as a failure.

Namely, I have terribly, horribly, enormously underestimated the forces that act on the cradle during grinding. Not only does the whole X-Y beam structure bend significantly under lateral forces during the drilling, but the drill itself has the tendency to "dance" around as well, and miss its targets by 2-3 millimeters at least. Of course, the bakelite looks massacred rather than accurately carved.

Theoretically, this problem could be overcome by forcing the drill to always act vertically, and drilling each target pixel separately. Again, this is just a theory: not only would drilling a millimeter from the already drilled area push the drill there to the path of least resistance, but the operation would have to be done for each pixel that needs to be grinded. And that would also last forever, and breach one of the primary rules of engineering ― that the machine should not be as inefficient to actually get the job done slower than an averagely inexperienced person would manually. Finally, even if I was like the Master from the Exile of the Eons (Arthur C. Clarke, 1950) and waited several dozen billion years in suspended animation until it is done, this approach would make very rough, spiky surface on the material.

I guess these problems could be solved by using much more stable X-Y beams, both probably having large pinions on both ends and tighter rails, and attaching a different drill. Perhaps a faster, specialized one would do the job better, but I've intentionally tried to use one of type almost everybody has somewhere at home. These improvements will be the objectives for the second prototype, significantly larger and architecturally different.

P.S. I've tried carving other materials since, such as the brittle spongy plasticky material I've found and can be seen on the photos (a white block), but that didn't seem to solve the mentioned problems.

70 comments:

  1. Sub-millimeter precision is possible. Chains and rubber Technic bricks...!

    ReplyDelete
  2. Had to stop having fun and fix a washer that stopped working. Running out of clothes.

    ReplyDelete
  3. Great post : "Small NXT CNC machine: A bit too ambitious, really". I found it very useful and informative.
    AFAB Enterprises offers precision CNC machining, custom fasteners, repairs, and more. Call one of the most trusted machine shops Florida has to offer!
    Also visit refractometer.com for Refractometers of all kinds. Also more details click custom fasteners
    Thanks -

    ReplyDelete

  4. AFAB Enterprises is founded on the understanding that many manufacturing and processing facilities need accurate,
    reliable and repeatable results from refractometer equipment - but they don't necessarily have to spend tens of thousands
    to get those results. Through a series of common sense approaches to the design and engineering of our products,
    AFAB offers its customers the best of both worlds; dependability and affordability. Yes, anyone can probably spend more
    on refractometer equipment, but for most of the companies that use this equipment it is costly overkill.
    Refractometer

    Also more details click here


    ReplyDelete
  5. I found this article very impressive as well as informative about small nxt cnc machine. I am sure people will take the benefit of this post.

    custom CNC machining

    ReplyDelete
  6. Your blog is very useful and provides tremendous facts about cnc machine. Keep up the good work.

    glass cnc machining

    ReplyDelete
  7. I must thank you for posting this blog because the topic is very much in demand today and everyone wants to read about it.

    glass lapping and polishing

    ReplyDelete
  8. Your blog is very useful and provide tremendous facts. It is going to change the way one thing by a sharp angle. I wonder if you write about gadgets also. Keep up the good work ahead.

    EvenHeat Kiln

    ReplyDelete
  9. I must thank you for posting this blog because the topic is in very demand today and everyone wants to read about it. You have given us an appropriate option.

    quartz machining

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. I am thankful to you because your article is very helpful for me to carry on with my research in the same area.


    Silicon Carbide substrates

    ReplyDelete
  12. Thanks for helping us understand this topic. You have written it in a way that makes it very simple to understand. Thank you so much.

    soda lime glass wafers

    ReplyDelete
  13. I found this article very impressive as well as informative too. I am sure people will take the benefit of this post. Gathered information and facts show deep effort of yours.
    Polishing irregular surfaces

    ReplyDelete
  14. You did not divert from the topic even once which I have not seen in many other writers. Also the subject knowledge is appreciable.
    ceramic machining services

    ReplyDelete
  15. Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. https://www.hekl-metall.de/drehteile-und-cnc-frasteile/

    ReplyDelete
  16. Your blog is very useful and provide tremendous facts. It is going to change the way one think by a sharp angle. I wonder if you write on gadgets also. Keep up the good work ahead.
    Lapping and Polishing Services

    ReplyDelete
  17. Your blog is very useful and provide tremendous facts. It is going to change the way one think by a sharp angle. I wonder if you write on gadgets also. Keep up the good work ahead.
    alumina ceramic machining

    ReplyDelete
  18. I should thank you for writing on this topic, very useful information you have given through this blog regarding education sector. I will visit again to get more information.
    cnc machining service hard materials

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. Thank you so much for the sharing. All contents were expressed in a clear n simplified manner n it was meaningful too. You are a marvelous writer. Good work!
    Fused silica cnc machining

    ReplyDelete
  21. I agree with you. I wish I had your passion for writing! aluminum cnc service

    ReplyDelete
  22. excellent submit, very informative. I wonder why the other experts of this sector do not realize this. You must continue your writing. I am confident, you have a great readers’ base already! double acting actuators

    ReplyDelete
  23. Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. ltd.

    ReplyDelete
  24. it's really cool blog. Linking is very useful thing.you have really helped aluminium cnc machining

    ReplyDelete
  25. It is a wonderful reply to the question that has been asked since a longer time.Given answers were so immaculate that will open many eyes. I appreciate your work and want you to write more.
    wind tunnel polishing services

    ReplyDelete
  26. Wow what a Great Information about World Day its exceptionally pleasant educational post. a debt of gratitude is in order for the post. foam cnc router

    ReplyDelete
  27. I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! round screen printing machine

    ReplyDelete
  28. Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. temperature chamber

    ReplyDelete
  29. Should you have just started college or University and are starting a essay assignment, maybe you are feeling a bit overwhelmed. belltestchamber.com

    ReplyDelete
  30. Great goods from you, man. Ive understand your stuff previous to and you are just extremely wonderful. I really like what youve acquired here, certainly like what you are saying and the way in which you say it. You make it entertaining and you still care for to keep it smart. I cant wait to read much more from you. This is really a tremendous site. sheet metal cutting machine

    ReplyDelete
  31. I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. STEBRO MOLD

    ReplyDelete
  32. A fine quality educational blog! I like the way blogger presented information regarding the concerned subject. Thanks for posting such a nice blog.
    precision lapping

    ReplyDelete
  33. I adore your websites way of raising the awareness on your readers. laser cleaning machine

    ReplyDelete
  34. This comment has been removed by the author.

    ReplyDelete
  35. Thank you so much for the sharing. All contents were expressed in a clear n simplified manner n it was meaningful too. You are a marvelous writer. Good work!
    precision hole drilling

    ReplyDelete
  36. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.

    Wind Tunnel Polishing Services

    ReplyDelete
  37. I should thank you for writing on this topic, very useful information you have given through this blog. Edge polishing, angle polishing and facet optical polishing.

    ReplyDelete
  38. I was unaware of much of what you wrote about in your article. Your information was very helpful and I hope others feel the same. Wonderful work. Custom Optical Coatings and Thin Film Coatings.

    ReplyDelete
  39. Your take on the subject is wonderful. I agree with your opinion. Hope to read more on this topic to increase my knowledge in this field. Full Service CNC and Manual Ceramic Machining.

    ReplyDelete
  40. This is something I was searching for many days. My thirst has been quenched now after reading your article.I am highly thankful to you for writing this article. Glass CNC Machining Service Hard Materials, Glass Cutting Service.

    ReplyDelete
  41. I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. CNC machining custom brass

    ReplyDelete
  42. I should thank you for writing on this topic, very useful information you have given through this blog. Edge Rounding Deburring Machines.

    ReplyDelete
  43. This is something I was searching for many days. My thirst has been quenched now after reading your article.I am highly thankful to you for writing this article. Angle-Facet Optical Polishing for Optoelectronics.

    ReplyDelete
  44. This is my first time visit to your blog and I am very interested in the articles that you serve. Provide enough knowledge for me. Thank you for sharing useful and don't forget, keep sharing useful info: stamping die components

    ReplyDelete
  45. Since restricted risk associations require a great deal of desk work, individuals normally will in general frame general organizations in organizations.find this

    ReplyDelete
  46. I wanted to thank you for this great read!! I definitely enjoying every part of it I have bookmarked you to check out new postings of you. merchandise vending machine

    ReplyDelete
  47. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. Innosilicon A11 Pro

    ReplyDelete
  48. It is estimated that China's deals will twofold in the following 2-3 years from 1.5 billion RMB in 2004, for example the yield will arrive at 3 billion yuan. Hispeed Laser

    ReplyDelete
  49. URLhttps://forbeshints.com/ DA 64
    Keywordforbeshints
      is very interesting site you can see daily updates articles about all categories one more thing you can publish your article with do-follow links by yourself. for more info contact-us 

    ReplyDelete

  50. URL
    http://www.thetophints.com/ DA 59
    Keyword
    Thetophints

    Description
    thetophints is very interesting site you can see daily updates articles about all categories one more thing you can publish your article with do-follow links by yourself. for more info contact-us

    ReplyDelete
  51. Hello! I simply would want to supply a large thumbs up with the excellent info you’ve here on this post. We are coming back to your blog site for much more soon. predictive maintenance

    ReplyDelete
  52. In the event that the CNC program is created with the guide of a CAM framework, then, at that point, it has as of now been as a text document. In the event that this framework is composed physically, it could be composed into any PC utilizing a typical word processor (however most organizations utilize an extraordinary CNC content tool on account of this reason). Regardless, this framework is as a text record that can be moved squarely into the CNC machine. wood CNC machine

    ReplyDelete
  53. It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. Sheet metal Fabrication service

    ReplyDelete
  54. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. Block Molding Machine

    ReplyDelete
  55. Excellent website you have here, so much cool information!.. European business review

    ReplyDelete
  56. I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing. 維修熱水爐

    ReplyDelete
  57. I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing
    Business icon

    ReplyDelete
  58. I¡¦m not certain the place you are getting your information, but great topic. I needs to spend some time learning more or understanding more. Thanks for magnificent information I used to be in search of this information for my mission. Maijin metal

    ReplyDelete
  59. Some genuinely superb blog posts on this website , regards for contribution. cnc machining

    ReplyDelete
  60. I see something really interesting about your web site so I saved to bookmarks . cnc machining

    ReplyDelete
  61. Awesome read , I’m going to spend more time researching this subject cnc turning

    ReplyDelete
  62. great post, thanks for sharing with us

    ReplyDelete
  63. China BoYang Hardware is a high-tech enterprise focusing on the design,R&D,manufacturing,sales and service of household hardware.The main products are: CNC machining parts,Stamping,Injection,die-casting,PRECISION CNC MACHINING PARTS, CNC ALUMINUM PARTS.Welcome to call or email to discuss business cooperation China CNC Machining Copper

    ReplyDelete
  64. I’ve been reading numerous articles on this topic but found this one uniquely written. Thanks. Colored Optical Glass Filters.

    ReplyDelete
  65. Good afternoon readers,Your blog is a great one, thank you for sharing it with us. I am so excited to inform travelers that the Burma visa is now available online. You can generate the tourist & business visa request at your leisure and get evisa on your email.

    ReplyDelete
  66. Hey! I just want to give you a huge thumbs up for your magnificent information you have here within this article. Travelers have a question: do US citizens need visa to go to India? The answer is yes. Indian visas for American citizens are very easy to track and obtain. The process is now very convenient for Indian citizens.

    ReplyDelete
  67. Site URLhttps://varistynews.com/

    Commentvaristy News: Latest and Breaking News on varisty.Check out for the latest news on varisty along with varisty live news at varistynews  is a very interesting site you can see daily updates articles about all categories one more thing you can publish your article with do-follow links by yourself. for more info contact-us 

    ReplyDelete
  68. I was very impressed by your article. I hope others feel the same and you continue to share your knowledge with us. Glass Lapping and Polishing Services for All Materials.

    ReplyDelete