CNC Motion Control with LinuxCNC + Mesa FPGA Card

  Рет қаралды 225,119

Marco Reps

Marco Reps

Күн бұрын

Пікірлер: 286
@frosty129
@frosty129 5 жыл бұрын
I know very few people on this planet who can single-handedly build an industrial grade CNC machine from scratch, being the electrical engineer, the mechanical engineer, the software engineer, and the product designer all at the same time. This takes DIY and creativity to another dimension.
@andypughtube
@andypughtube 5 жыл бұрын
Odd, nearly everyone I know can do it :-)
@frosty129
@frosty129 5 жыл бұрын
@@andypughtube I guess I need new friends
@andypughtube
@andypughtube 5 жыл бұрын
@@frosty129 It's more that after 10 years working with LinuxCNC all the normal folk I know have abandoned me. :-)
@tamurhaq
@tamurhaq 5 жыл бұрын
@@andypughtube I think the point is that Marco clearly takes it to the next level. Most people just slap together controllers and software and watch it go. This level of calibration and tweaking is very rare. Especially calibrating and pid tuning fpga controllers for cnc? I dont think I've seen another video on that to be honest
@rockybass3129
@rockybass3129 4 жыл бұрын
@@andypughtube Yeah but still that first EMC or Mach, fully ballscrew converted Rong Fu retrofit cnc is still a milestone.
@nanolog522
@nanolog522 5 жыл бұрын
You are like This Old Tony with a german accent. Every single video that you do makes me laugh.
@danielfogli1760
@danielfogli1760 5 жыл бұрын
And metric 😉
@blzahz7633
@blzahz7633 4 жыл бұрын
Man of culture, I see.
@wayneshephard
@wayneshephard 3 жыл бұрын
Bloody hilarious, disabling bios settings like surprise restart :)
@maddenjulien1055
@maddenjulien1055 3 жыл бұрын
I dont mean to be so offtopic but does anyone know of a tool to log back into an instagram account..? I somehow forgot my login password. I would appreciate any tricks you can offer me.
@nickolasconnor3661
@nickolasconnor3661 3 жыл бұрын
@Madden Julien instablaster ;)
@izidor9199
@izidor9199 5 жыл бұрын
You are a master, i mainten and repair CNC machines in a factory, also build myself a cnc router. Watching your videos i can only think what a pleasure and honor it would be to work and learn from you. Hands down the best chanel on youtube for me.
@matiasgoinheix366
@matiasgoinheix366 2 жыл бұрын
What's your balls crew maintenance workflow?
@TheMobilityMechanic
@TheMobilityMechanic 5 жыл бұрын
Damn, I love this cnc series. Keep up the good work!
@TheRainHarvester
@TheRainHarvester 5 жыл бұрын
Checkout the mini LEGO CNC made with this controller: kzbin.info/www/bejne/q3LOe52AetGdodU
@matthyslaubscher8151
@matthyslaubscher8151 5 жыл бұрын
I've never simultaneously been so much intrigued and entertained. Still one of my favorite channels. Thank you
@SaNjA2659
@SaNjA2659 5 жыл бұрын
The I term in PID not only affects the reaction speed of the system, but also ensures error is being zeroed-out over time. Without it the error, however small it might become thanks to high P gain, will always remain there.
@heronguarezi6501
@heronguarezi6501 5 жыл бұрын
You are a genius. I retrofitted a couple of 5kW servomotors a while back and they always shoke a bit. Today I opened the motors and wrapped aluminium tape around everything. The results were impressive, not very pretty, but Impressive none of the less.
@kal9001
@kal9001 5 жыл бұрын
This project is looking even more hilariously expensive with every new video!! Awesome though!!
@nochan99
@nochan99 5 жыл бұрын
"surprise reboot" I am suprised that one isnt more common xD
@GlennHamblin
@GlennHamblin 5 жыл бұрын
I thought that was a standard feature of Microsoft operating systems.
@ChipGuy
@ChipGuy 5 жыл бұрын
5:17: There is an alien outside looking into the room.
@scaleop4
@scaleop4 5 жыл бұрын
man that was scary lmao
@matyk985
@matyk985 5 жыл бұрын
WOW, I think that the is one of the most ambitious project yet, really nice work and you are flying through the progress.Nice, good look in future !
@jennimorgan394
@jennimorgan394 5 жыл бұрын
Best unboxing ever. I thoroughly enjoy your sense of humor.
@lucasimark7992
@lucasimark7992 5 жыл бұрын
We are certainly not inching over here😂😂😂 Made my day
@alymuni
@alymuni 5 жыл бұрын
Indeed
@paco3447
@paco3447 5 жыл бұрын
I think that amazing CNC deserves a vacuum table as a good update to clamps.
@Rockroxxgert
@Rockroxxgert 5 жыл бұрын
Love the Dungeon Keeper sound effects splattered throughout your videos.
@Skwisgar2322
@Skwisgar2322 5 жыл бұрын
Hey, I recognize that enclosure, that is a Rittal, they make great stuff, we use them in our designs at work quite a bit.
@gustavgans254
@gustavgans254 5 жыл бұрын
It must be an even bigger enjoyment to watch these videos if you actually know what he ist talking about
@robn2497
@robn2497 4 жыл бұрын
any video with the phrase "hardware abstraction layer" is my kind of video 8:24
@heronguarezi6501
@heronguarezi6501 5 жыл бұрын
U are the best!!! I started to use the mesa 7i76e, and I am now inplemententing the feedback from the linear scales to linuxCNC for a HELLER BEA 2
@OriginalJetForMe
@OriginalJetForMe 5 жыл бұрын
My computer is a PC in a regular enclosure that's connected to a Mesa 7i76e card over Ethernet. The 7i76e has an RS-485/422 port on it, but it's currently only used to communicate with Mesa daughter cards. I want to reconfigure that to communicate with my VFD for spindle control, so I don't have to run a separate RS-485 cable from the PC to the controls cabinet.
@namAehT
@namAehT 5 жыл бұрын
You should check out Klipper for your printers. Basically, a Raspberry Pi does all the gcode translation and kinematics, and then sends scheduled movement commands to a microcontroller for real-time execution.
@LatheBuilder
@LatheBuilder 5 жыл бұрын
"We're certainly not inching over here" - gold!
@kevinfontanari
@kevinfontanari 5 жыл бұрын
"Surprise reboot" sounds like a really useful bios feature...
@bashaaksema94
@bashaaksema94 5 жыл бұрын
Congrats on the 100K subs btw dude!
@Lagggerengineering
@Lagggerengineering 5 жыл бұрын
I would appreciate a guide on how to set up and then use LinuxCNC. It can get a little complicated.
@SithaSek
@SithaSek Ай бұрын
5:14 I saw ghost or what? 😅
@n0madfernan257
@n0madfernan257 5 жыл бұрын
saw the hanging drive at @6:30. nonetheless, great job and congrats for the youtube package
@gabiold
@gabiold 5 жыл бұрын
Do not ignore the I term in PID! It compensates error over time, but that does not mean long term drift. It is timed in PID cycle time, which is (should be) very fast compared to "long" in human sense and fast enough to keep up with the movements. Without the I term there will be always error in the position. As you approach the destionation the error will gets smaller and smaller and while the P-term is just a multiplier so is the output. It asymptotically converges to zero, would require infinite time to reach it. In theory. In practice the friction stops it before. The I-term roughly works like "buffering" the error while you moving to the destination. Then it will "lengthen" the output where the P term starts to get ineffective. Vaguely... Obviously it is a continuous function, but it is hard to imagine that way...
@ZacksLab
@ZacksLab 5 жыл бұрын
Congrats on 100k! Your channel and content is inspiring!
@Seegalgalguntijak
@Seegalgalguntijak 5 жыл бұрын
Glückwunsch zu den hunderttausend! Der Kanal ist es definitiv wert, aber ich hätte nicht gedacht, dass das so schnell geht - vor allem, weil es ja doch eher "Nischenthemen" sind. Aber auch wenn man die Videos nur wegen des Humors anschaut, sind sie bereits äußerst sehenswert :-)
@heikofirestormtiger4969
@heikofirestormtiger4969 5 жыл бұрын
Glorreiche Glückwünsche für die 100tsd Marco!
@b5a5m5
@b5a5m5 5 жыл бұрын
Pneumatic tool changing on that spindle?! Awesome!
@noddingat
@noddingat 2 жыл бұрын
Yeah I want to know more about that!
@giovannibianchessi1578
@giovannibianchessi1578 5 жыл бұрын
Thanks for the video. Board 6i24 configured as 5i24, right? Feed forward helps a lot to reduce following error in axes tuning. Trying to keep following error =0 often makes axes nervous. The important thing is that error has to be the same for all the interpolating axes.
@imabeapirate
@imabeapirate 5 жыл бұрын
The PCIe custom riser cable tho...
@chemicalvamp
@chemicalvamp 5 жыл бұрын
Marco, Every new video is enlightening. Thank you for doing what you do.
@nicholasjacob3594
@nicholasjacob3594 5 жыл бұрын
Marco, how intensive is linux cnc, how striped down is your computer does it still have the full 8gb of ram or did you take out that to cause ram is overrated. Also is the computer maxing out doing these jobs or is it over kill.
@reps
@reps 5 жыл бұрын
this particular PC with i5 is an overkill for sure! 4gb ram is plenty.
@nicholasjacob3594
@nicholasjacob3594 5 жыл бұрын
Thanks a lot this is very helpful
@kwinzman
@kwinzman 5 жыл бұрын
2:45 Dungeon Keeper sound effect? :D
@AppliedMetaphysician
@AppliedMetaphysician 5 жыл бұрын
Proofs-of-Concept are seldom very pretty. :)
@ts2wv
@ts2wv 5 жыл бұрын
Like some other commenters have pointed out the I term is usually very important and it's the D term that's usually ignored...
@AdaptivePhenix
@AdaptivePhenix 4 жыл бұрын
That depends on how your servo drive is configured. If your motion command is a velocity reference then yes but if you are commanding current (torque), you will absolutely need the D term. In my case, the D term ends up at least an order of magnitude of the P.
@Joemama555
@Joemama555 5 жыл бұрын
nice turbo molecular pump spindle there... does it have a coat too, where is it? seems chilly in space without atoms...
@LatheBuilder
@LatheBuilder 5 жыл бұрын
+1 for Mesa FPGA addin cards and LinuxCNC combo. Converted our vmc with them, wouldn't ever want to go back
@tomaberisha5688
@tomaberisha5688 5 жыл бұрын
Nice work as usual. Danke. Drop by the Linuxcnc.org forum if you have some time to spare, it would be nice to have the log/pics/video uploaded there. I am tommylight there. MFG, Tom.
@badhills7300
@badhills7300 3 жыл бұрын
Ah, Vogel Zentralschmierung :-) I know Mr. Vogel personally. Nice to see their products at your nice machine :-)
@LanceThumping
@LanceThumping 5 жыл бұрын
On the 3D printer accuracy front, have you checked out Klipper? I would think it would solve a lot of issues since it does most of the brain work so that the controller can focus on properly commanding the steppers.
@arthurdent8091
@arthurdent8091 3 жыл бұрын
Hi from the USA. I have been following your posts for quite some time. I particularily like your dry sence of humor sprinkled in with the narative. You have answered a question for me. I have a 3018 Pro and I wanted to know if I could control it with a Pi4; this episode has told me NO, so thanks and please keep posting.
@小健-w1k
@小健-w1k 5 жыл бұрын
I just found your vids, and love them now. Thanks for making these vids!
@MXstar189
@MXstar189 5 жыл бұрын
did we look at mach3 at all i was under the impression that was the go too for the home/custom cnc stuff
@britzwickit
@britzwickit 5 жыл бұрын
great video, makes the entry into linuxcnc much less daunting
@amessman
@amessman 3 жыл бұрын
3:27 I'm not sure what CPU you're using in the computer but the heatsink should probably have a fan, and maybe some cutouts in the case for ventilation. IIRC those heatsinks use 60mm case fans and M3 screws [haven't watched the whole video, maybe you puts one on]
@DreitTheDarkDragon
@DreitTheDarkDragon 5 жыл бұрын
Now I need that card and somebody who will make mod for Euro Truck Simulator 2, so I could plug all possible inputs and outputs (steering wheel, pedals, dashboard, pneumatic chair,...)
@ElMirc
@ElMirc 4 жыл бұрын
Man, your "hobby" cnc milling machine looks very expensive and much more complicated than a hobbyist one. Next level
@mattivirta
@mattivirta Жыл бұрын
only mesa card have out off hobby user budgets, need be 100$ cheapen then million peoples more buy this mesa card, but today price have too lot owerprice than all other options and any hobby user not buy. price range have only pro manyfactory machine builders level, no thanks newer thats price.
@cryptearth
@cryptearth 5 жыл бұрын
S.M.A.R.T. ist ein standard zu überwachung von festplatten parametern (siehe wiki) und sollte wo vorhanden und unterstützt auch aktiv genutzt und überwacht werden
@justDIY
@justDIY 5 жыл бұрын
Congrats on the 100k. Looking forward to that red carpet reveal!
@GlennHamblin
@GlennHamblin 5 жыл бұрын
Where are you going to put the Retro Turbo Encabulator now that you have that big CNC in there?
@hypt0ny
@hypt0ny 5 жыл бұрын
that package opening is legendary
@dremeier
@dremeier 5 жыл бұрын
Hi Marco, at 8:30 you told us you would share your HAL-file and INI. I´m interested in that files because I´ve the same Mesa 6i64. Pls can you share?
@ih8tusernam3s
@ih8tusernam3s 5 жыл бұрын
Automatic tool changing on the spindle?! Respectable piece of equipment you got going on there.
@fullwaverecked
@fullwaverecked 5 жыл бұрын
Man, this is better than science fiction! Nais!
@alanb76
@alanb76 5 жыл бұрын
Nice overview and good work. I was surprised a few years ago when I found Mesa Controls was located near my house. Not often can you check the "will call" button when buying stuff on the web, and no Customs Inspectors to worry about. Great hardware too. :)
@franke5478
@franke5478 5 жыл бұрын
9:20 You use an FPGA card reading the ecnoder values while you drive the motor and you have to find the correct values until the error is nearly "0"? Sounds like the Mesa card doesn't work as a closed loop system - but it should be! A closed loop system detects the missing steps from the encoder while it drives and corects the missing steps in the end.
@dancarrier2378
@dancarrier2378 Жыл бұрын
Congrats, well deserved play button
@derbrett1503
@derbrett1503 5 жыл бұрын
Where can one learn the foraging skills and techniques of a Bavarian Squirrel? Skillshare?
@D.Axtmann
@D.Axtmann 5 жыл бұрын
14min Reps...love this day 😍 (Grüße aus Karlsruhe ;) )
@tokarka8258
@tokarka8258 3 жыл бұрын
Hi! I'm recently decided to move up from Mach3 to Linuxcnc my 2 cnc milling mashines, but there is the problem with one of them. It has kinematic system with moving X/Y by the table and spindle moves jus in Z axis. How did u described to linuxcnc cinematic of yours mashine? If i change direction of movement in INI file there is a gap between actual movements and linuxcnc program coordinate system. If i switching all preferences to cooperate program coordinate system with actual movement my keyboards hotkeys works in opposite side ("=>" key means "X-", "
@stheil
@stheil 4 жыл бұрын
Oh that remote is just gorgeous! I don't even have my own CNC machine but I want one of those XD
@emperorSbraz
@emperorSbraz 5 жыл бұрын
current monitoring is a good way to avoid pushing tools beyond what makes them crack easy.
@jackbacic868
@jackbacic868 5 жыл бұрын
I made the bits for H&H finishing the machine takes a lot of work but those ultras 5 axis machines fly.
@bmg1612
@bmg1612 5 жыл бұрын
Your pendant looks awesome (7:24)! Where did you get it?
@KarlMiller
@KarlMiller 4 жыл бұрын
Thank you so much for putting some context around the Mesa card on linuxcnc. Trying to get a handle on how these pci controllers work with linuxcnc is a little bit overwhelming if you just try to read the Linuxcnc forum pages. Question : if you were using steppers and stepper drivers like geckodrive's, but still needing the same amount of relays and controls over water cooling pumps, and the VFD and sensors, would you still choose ; 1. To use linuxcnc over something like Mach3 ? 2. To use pci type motion controllers instead of parallel port or USB external boards?
@InXLsisDeo
@InXLsisDeo 5 жыл бұрын
Cool little speakers, did you build them yourself ?
@chrisbartrum3201
@chrisbartrum3201 5 жыл бұрын
Kuddelmuddel gelöst. Glückwunsch Stefan.
@NikitaLab
@NikitaLab 5 жыл бұрын
Have you taken a look at UCCNC? I am really enjoying my UC300 with the UB1 breakout board
@ryanmalin
@ryanmalin 5 жыл бұрын
Rs485 is very useful. Most of the industrial refrigeration control systems I work on use this.
@koplandavid
@koplandavid 5 жыл бұрын
Hello Marco, can a single 5I24-16 run three linear encoders, mpg, 4 step/dir servos, 6 end switches, vfd ? can you use normal optoisolated breakoutboards?
@ih8tusernam3s
@ih8tusernam3s 5 жыл бұрын
Congratulations on 100K!
@raff96
@raff96 5 жыл бұрын
I hope you got those rittal enclosures used , they are pretty expensive ;) .
@MCsCreations
@MCsCreations 5 жыл бұрын
Dude, what a nightmare! 😱 I just relieved all the PID tuning videos I had to see for quadcopters! The horror! 😱
@electron-1979
@electron-1979 5 жыл бұрын
Relived?
@kaiwiedersum1645
@kaiwiedersum1645 4 жыл бұрын
That Spindle looks dope! Greetings from Hessen....
@m3chanist
@m3chanist 5 жыл бұрын
1:20 the expression. Excellent.
@volkhen0
@volkhen0 3 жыл бұрын
I wrote my thesis about my own DC PID servos which I build on Atmega32 and C Lang. Then I created a little CNC machine using LinuxCNC. It was fun but much less sophisticated then what we see here :) cudos
@FishyTakenaka
@FishyTakenaka 5 жыл бұрын
Love your videos, but how you managed to tune control loop to decent response, without using integral term, is a mystery to me.
@JelleStappers
@JelleStappers 5 жыл бұрын
Congratz on 100K subs! Keep up the good funny and informing videos😃👍!!!
@IVAN_ENT
@IVAN_ENT 4 жыл бұрын
So interesting I build and fly fpv drones and want to build a mill eventually, you have to tune pid's in betaflight software too
@Audio_Simon
@Audio_Simon 5 жыл бұрын
That PID running sounds complicated! I presume custom tuning is not needed for the steppers that have built in driver and feedback system?
@doctorpex6862
@doctorpex6862 5 жыл бұрын
When I see hanging ssd and fan I know your level is master.
@zebedie2
@zebedie2 3 жыл бұрын
did you ever post your machine config?
@rusticagenerica
@rusticagenerica Жыл бұрын
What the hell is that super powerful 3D printer ?? :)
@ReiniGrauer
@ReiniGrauer 5 жыл бұрын
I literally just ordered a Mesa 7I76e yesterday to try LinuxCNC for a router I'm building and Marco posts a video about this today. Weird.
@godfreypoon5148
@godfreypoon5148 5 жыл бұрын
I used a 7i43 back in the day. It was _high win_ .
@tritile
@tritile 4 жыл бұрын
"Hell file"... That was some accurate description.
@nikre
@nikre 5 жыл бұрын
funniest tech channel on youtube!
@physicsguybrian
@physicsguybrian 5 жыл бұрын
...and also the tech channel most worth watching! Brilliant content!
@TheLiasas
@TheLiasas 5 жыл бұрын
Given how this is looking more and more expensive every episode... Is it still cheaper than a readily available comercial product (cnc) with the same capabilities?
@a.e.e.s-unofficial
@a.e.e.s-unofficial 5 жыл бұрын
Is there any version of this linux cnc control software available for raspbian linux.
@deathbornium
@deathbornium 5 жыл бұрын
I have one of these HP machines (8300/8200 CMT) as a main PC running Linux (kubuntu) I think it's quite usable with the 1050ti
@pocket5s1
@pocket5s1 4 жыл бұрын
Third lunch break, lol. pause, like, comment, continuing to watch.
@greenspider3664
@greenspider3664 5 жыл бұрын
Can you please do an overview video of the cnc
@rusticagenerica
@rusticagenerica Жыл бұрын
Linux CNC seems to be the way to go for nerdy people !
@jcims
@jcims 4 жыл бұрын
Do you have any issues with cogging of the servo motors in this setup? Just given how rigid the whole thing is I'm curious if they get damped out or if you can get things ringing with a specific axis moving at certain speeds? (Or maybe the servos are nice enough to either compensate or just not have that much cogging torque).
@davidgadea4345
@davidgadea4345 5 жыл бұрын
Nice MPG. Hope to see a video on the set up. Where did you get it?
@guillaumedebregeas5090
@guillaumedebregeas5090 5 жыл бұрын
Do you have an estimation of the total cost ?
@bashaaksema94
@bashaaksema94 5 жыл бұрын
I wonder as well but I think to much for me lol
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
CNC Finale: Automatic Toolchanger Spindle Install & Testing
30:32
Why build an entire computer on breadboards?
28:43
Ben Eater
Рет қаралды 3,1 МЛН
Nanometers?? High Resolution Servos for the CNC Machine
9:49
Marco Reps
Рет қаралды 374 М.
Spinogy X30 5kW CNC Spindle + LinuxCNC EtherCAT Rigid Tapping!
46:43
The RS-232 protocol
26:10
Ben Eater
Рет қаралды 863 М.
Reinventing Rotary Switches for Nanovolt Accuracy Scanner
27:56
Marco Reps
Рет қаралды 116 М.
The longest unboxing we've ever done. - Tormach CNC Mill Commissioning
16:07
Linus Tech Tips
Рет қаралды 1,5 МЛН
GRINDING On All Cylinders
29:47
Inheritance Machining
Рет қаралды 757 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54