Smoothing Out the X Axis Motion | Surface Grinder Automation 7 | Clearpath RAS

  Рет қаралды 40,276

Clough42

Clough42

Күн бұрын

Пікірлер: 248
@grantsaviers6557
@grantsaviers6557 7 ай бұрын
A few thoughts about further exploration and tuning of the loop. The cable elasticity is likely the major issue, but the cog belt and table suspension are also in the loop (and variable part mass as others pointed out). One idea is to mount an MEMS 3 axis G sensor (or 6 DOF) to the table and see exactly what is going on there with the tuning. The dynamics may include vertical table motion, as it's unlikely the cable force will be at the center of mass. Then try adding a part to be ground. That is ultimately what matters for grinding to a tolerance & finish. Another perspective on RAS is it controls the frequency spectrum of applied force. Reducing jerk and further derivatives reduces the higher frequency inputs. If you don't put them in, they don't need to be controlled out. Mechanical structures usually have a huge number of resonance modes, and stable control of them is the classic control loop challenge.
@JustinDavidow
@JustinDavidow 7 ай бұрын
I expect that RAS setting is going to need to increase once jigs / work is added to the chuck. These will increase the moving mass and thus the "slip" on the spindle + stretch in the cable drive.
@alexwbakker
@alexwbakker 7 ай бұрын
As someone using RAS on a CNC router and a Bed Mill, both required decreasing acceleration and increasing RAS a bit once you mount vises, tools etc.
@patchvonbraun
@patchvonbraun 7 ай бұрын
We're using ClearPath motors (SC-HP series) on our project (restoring a 12.8m satellite dish for radio astronomy). The API we use (sFoundation) has an API function that lets you query the encoder resolution so you don't have to wire it in to your code. We're taking our project very slowly--the dish weighs in at a svelte 5.6 tonne. We had a crash a few weeks ago--not due to the motors, but due to a failure in our mechanical system design. Kinda scary, but the only thing really damaged was our egos, and the 50+ year-old crash buffer at the bottom of the travel. We're using fairly modest motors (a roughly 3/4HP on azimuth, and 1.3HP on elevation), but with extra gearboxes to boost torque. It's working well, although it will never win any slewing-speed contests :)
@AnnaVannieuwenhuyse
@AnnaVannieuwenhuyse 7 ай бұрын
Fascinating, thanks for sharing!
@nathaniellangston5130
@nathaniellangston5130 7 ай бұрын
I'm a machinist for a telescope called the GBT, not sure how familiar anyone is with it. But its a pretty big telescope. The large drive motors couldn't be replaced by Clearpath servos but as it has active surface actuators and uses worm driven "servos" from the 1990s to position the subreflector I have always wanted to retrofit. Its pretty awesome that you are actually retrofitting telescopes. We've got three small 85ft scopes that i'd love to swap out the motors for Clearpaths just for a proof of concept.
@patchvonbraun
@patchvonbraun 7 ай бұрын
Hah! I've been to visit the GBT 20(?) years ago. This dish started out life as a NATO ground terminal, and hasn't moved under computer control since 1997, with MUCH larger motors. Are you related to Glen Langston?
@nathaniellangston5130
@nathaniellangston5130 7 ай бұрын
@@patchvonbraun I am related to Glen Langston! He is my father! Small world! I'm really glad to hear there is work going on to give the old telescopes new life!
@patchvonbraun
@patchvonbraun 7 ай бұрын
@@nathaniellangston5130 I sent you a friend request on FB.
@MaximilianoKorp
@MaximilianoKorp 7 ай бұрын
I don't know if it was intentional but "Something about fitting a fourth order polynomial spline, that sounds great" sounded so saucy and had me rolling
@LordSaliss
@LordSaliss 7 ай бұрын
You could always design in a 3rd shaft for the X axis pulley drivetrain with the new shaft down below. Make the servo go from its small pulley down to a big one, that big one is on a shaft with a small pulley on the other end, and have that new small one go to the existing X axis large pulley that goes into the machine. This would double your gear ratio which gives you more torque and will let you easier control the motion inertia with a smoother accel/decel curve. You aren't using all the motor RPM right now, so you can afford to cut the max RPM in half to double the ratio. When I did this project I had to use a higher ratio than I thought due to these similar inertia problems of the weight of the table and the springiness of the wire. By doubling the ratio the motor can take more time ramping speed down which does help with the inertia. Eventually you might want to do what I did and replace the wire underneath with a leadscrew and lead nut. The lifetime of the drive wire became too low with a servo due to the higher speeds we tend to run over what you do by hand. The leadscrew fixed this lifetime issue. I first started with a 3/8 screw, because its weight limit was higher than the table. However, the inertia was so high, it overloaded the lead nut too much and caused the nut to fail and strip out after a year of use. I replaced the screw and nut with a 3/4" one and so far (4 years now) I haven't had to replace a single thing again. The lead screw is mounted on each end to the end of the surface grinder table, so it doesn't turn. I have two bronze lead nuts mounted in a timing pulley, with the ends of the nuts sticking out of the pulley. The motor has a pulley on its output shaft that connect to the pulley holding the lead nuts with a timing belt. I have two mounting plates mounted to the table with ball hearings mounted in them, and the ends of the lead nuts are held by the ball bearings. This keeps the lead nuts and pulley centered properly on the lead screw and keeps the pulley from being able to travel left or right, since we want it to stay in place and drive the lead screw through it. I used a 3/4" .250" lead screw, which with my motor (3000RPM max) gives me a 12.5" movement per second on my surface grinder X axis. This was enough for me, but if I was going to do it again I think I would use a 3/4" .333" lead instead to have a but more room to play with things.
@TerryGaskett
@TerryGaskett 4 ай бұрын
Thx James, I did my Uni in Logistics not Engineering, you are filling in mind holes , making the new life easier 😅👏👏👏
@uncledansworkshop4776
@uncledansworkshop4776 7 ай бұрын
James - Great video. Your research took me back to when I was 17 and learning basic calculus. "This is hard, where am I actually going to use this?" Then one day we learned the relationship between displacement, velocity and acceleration as derivatives and integrals of each other. Seventeen year old nerd mind blown! Fast forward 41 years and most of an engineering career and at age 61 you point out that there are at least two more useful derivatives to be had when it comes to springy systems. Old nerd mind blown once again! Before you started showing ClearPath's solution to this problem, my mind was running towards a solution in the control software. Since your stops won't be moving during a run, my thought was to run one slow pass at the start of the run to learn the positions of the stops, then use those known positions as part of your control loop and predictively change velocity and acceleration as the movement approaches the stop. Move 95% of the distance at full rates, then reduce acceleration for the last 5%, then same going the other way, something like that. Just check the end stops on each loop to make sure that we didn't miss a count somewhere and as a safety, but since those are servos, the only error might be mechanical slippage. One last thought - the table and vise are fairly massive, but do you think different tuning might be needed with a heavy object added to the system? I'm thinking a large angle plate or sine bar setup plus some heavier part to grind might add enough mass to the far end of the sprung system to mess with the control parameters.
@colinrhodes643
@colinrhodes643 7 ай бұрын
James, you absolutely work and think on another level but provide a wonderfully clear and detailed description even for the complex math and physics behind it. Keep doing what you do
@b2gills
@b2gills 7 ай бұрын
I would attach a stop for each of your stops. Basically make it so that you don't have to rely on seeing the marks you added, as you would be able to just move your switch stops to a stop that doesn't ever move.
@jonnafry
@jonnafry 7 ай бұрын
Always enjoy content that leaves me knowing more about a subject than when I started watching. This video was most enjoyable !
@rexmyers991
@rexmyers991 7 ай бұрын
Hooo - Boy! James, you are really showing me how uneducated I am. I am a retired airline pilot. I was really good at carrying folks safely in really bad weather. That skill now looks like kindergarten level. Thanks for explaining.
@dynamiteralph
@dynamiteralph 7 ай бұрын
In college, in a cam design course, we looked at jerk, and its derivative ( we called it jounce) in order to smooth the entry ramp on the cam curve. The goal was to smooth the entry into the cam, reducing the float of the cam follower.
@Phiz787
@Phiz787 7 ай бұрын
Wow! Just today I auto-tuned some Nema 34 clearpath servos for my CNC milling machine and noticed the RAS 16ms default. Now I know what that's doing! Thanks for the education!
@garnergc
@garnergc 7 ай бұрын
I’m quite spoiled using Kinetix motion servos as a System Integrator. Do a Motion Axis Move to a position in x amount of time, set it to S-curve and let it rip. A the hiperface absolute encoder makes indexing bulletproof. Throwing excessive acceleration at a wet noodle axis doesn’t always work, but it’ll be interesting to see how the dynamics of the system changes when a workpiece is added and the wheel is engaged because the resonance frequency shifts. Also the forward and back directions will see different forces because of the grinding wheel engagement. Will be great to see the final results
@johnmerrill6999
@johnmerrill6999 7 ай бұрын
If you're writing in C++, you might also mark the external state variables as volatile. Otherwise, the optimizer might make assumptions, which could lead to odd (and potentially dangerous) bugs.
@PeregrineBF
@PeregrineBF 7 ай бұрын
Like infinite loops being undefined behavior if the don't have side effects. Writes to non-volatile variables are not side effects.
@JCWren
@JCWren 7 ай бұрын
You can see that torque in the belt when it reverses. Very impressive. Also, they need to remove the comma after "proprietary" on page 199.
@joell439
@joell439 7 ай бұрын
😂
@SimonB6706
@SimonB6706 7 ай бұрын
Easter morning and I've learned something!!! Snap, crackle, pop! Fabulous.
@thetooth
@thetooth 7 ай бұрын
Motion control is an incredibly cool subject to look into. For a project I have going at the moment I'm using AC servo drives which have absolutely terrifying trapezoid performance due to the winding voltage, instead of doing jerk limiting within the motor PID I'm doing it as part of the trajectory generation, this allows for optimizing within the context of the planned path. So you can have a highly damped control system where you can have the motor track a target of arbitrary error and acceleration and all of the motions between those errors are smooth and jerk free. You can also modify those constraints on the fly, so in the case of your surface grinder you would switch to a dynamics profile optimal for the turnaround point when the limit switch is triggered and then after the velocity is reversed switch to a purely trapezoid profile so that the target velocity is hit much faster, would allow grinding a part at the full width of the table working area without creating hot spots at the edges.
@danw8404
@danw8404 7 ай бұрын
James thank you.....I learn so much from you.
@MartLeib
@MartLeib 7 ай бұрын
Couple more notes regarding the ClearPath: * If not, then run auto-tune again with the new motor, and see, if it finishes. There have been instances when the auto-tune has "gotten stuck" at certain percentages, in such cases I have just applied some force to the mechanics to allow it to overcome it * Try fine tuning. You can find it under Setup -> Tuning -> Fine Tune. There you have a slider which you may try moving to either side to see how it affects your use case. * Use higher input resolution. You have set it to 800 in the MSP software, but the motor's native resolution is 6400 which would result in (a little) better movement since the RAS algorithm has a higher input frequency. CleraCore can handle such high output frequency very well thanks to the clever internal "clock"
@seabreezecoffeeroasters7994
@seabreezecoffeeroasters7994 7 ай бұрын
I am having flashbacks to Mech Eng and Mechanics of Machines and Engineering Calculus from nearly 40 years ago. Lucky I am old and have forgotten most of the horror 🤣
@merlinmagnus873
@merlinmagnus873 7 ай бұрын
Definitely worth the extra money. I guess another option would be mechanically damping the torque spikes with a hydraulic torque limiter. One out of the cooling fan on an engine could be retrofitted to work. The damping effect is mechanically variable and controlled by a bimetallic thermostat which could be replace with a lockable thumbscrew adjustment. For extra credit, you could use a centrifugal actuator to mechanically emulate those rounded corners on your torque graph making it a purely electromechanical system with no controller.
@jhbonarius
@jhbonarius 7 ай бұрын
Adding mechanical solutions will probably not work with these closed loop servos. You would have to do the calibration fully manually. I mean the software solution is the whole reason to use these expensive clearpaths.
@gwharton68
@gwharton68 7 ай бұрын
Always a good day when you learn something.
@CalMariner
@CalMariner 4 ай бұрын
You could wrap those cams around the sides of the t-track with little a gled pointers, print/glue a tape measure on the top of the t-track
@francisrampen9099
@francisrampen9099 6 ай бұрын
I have been thinking of doing the same thing with my Landis 618. Thank you so much James - you probably saved me weeks of faffing about when I finally get around to it. I will only likely do the x axis. Awesome channel.
@pbkobold
@pbkobold 7 ай бұрын
Clearpath, if you're reading this, not having a 90 day return/swap exemption when a support engineer says "you need this other thing" is a little lame. I'm happy to pay a premium for a nice product with nice support, but I'm also the kind of person who will order motors months before I can start on a project (and discover I bought the wrong ones).
@mattholden5
@mattholden5 7 ай бұрын
So much insight into the black art of motion control tuning. Teknic's videos makes it look unbelievably easy, your explanation makes their results understandable. Now I know specifically what I'm trying to affect with RAS/jerk/jerk derivative. Thanks James.
@PlovsLV
@PlovsLV 7 ай бұрын
Make 2 stop sensors on each end, one for slowing down table and second one for dead stop. With this setup, table/motors/belts etc. at the moment, is going under a very heavy load because there is a high speed and a rapid change of direction. Just make it that table slows down gradually before changing directions.
@Hossimo
@Hossimo 7 ай бұрын
Im honestly supprised you didn't add a jerk paramiter to your code so you could tune it on your own. On one of my 3D printers I compiled my own marlin firmware and apent some time messing with the jerk setrings and it was easier then i thought it would have been
@carlholmberg1576
@carlholmberg1576 7 ай бұрын
Weirdly enough, the definition of the jerk parameter in marlin is not the same as jerk in physics. In marlin, jerk is defined as the "maximum instantaneous change in velocity" instead of the rate of change of acceleration. Seems to be from an early misapropritation of the term which has then stuck around.
@Hossimo
@Hossimo 7 ай бұрын
@@carlholmberg1576 great to know thanks for that.
@vandyFixer
@vandyFixer 7 ай бұрын
Interesting viseo as always but I did have look at the wikipedia page to understand what, Snap, Crackle and pop were all about. 😊
@davidblumer6509
@davidblumer6509 7 ай бұрын
Thanks for the educational video today. It occurs to me that the surface grinder presents a special case where the motion is repetitive for each job, so after the initial (or a few) traverses are made, you could take advantage of that by allowing the motor to learn when it needs to slow down prior to the reversals to prevent the torque excursions by using an algorithm in your code. Here is what I'm thinking: Sum the number of motor steps for each motion for the first, say 5 cycles to take advantage of statistics, and calculate the average for each direction. Then, following the 80/20 rule, start ramping the velocity down at the 80% of the full average number of steps (for that direction) to some chosen velocity that the motor can accurately accommodate with minimal excursions. I think that would allow both a faster velocity and acceleration while maintaining good torque profiles and reducing the stress on the motor. Just a thought.
@SomeNameGoesHere
@SomeNameGoesHere 7 ай бұрын
Disney talks about the visual impacts of this if you ever see the behind-the-scenes tours or videos. They refer to it as Audio-Animatronic Compliance in regards to addressing jerky limb movement when trying to make their attractions move faster.
@davekellogg6819
@davekellogg6819 7 ай бұрын
It would be very revealing to compare the motor’s encoder position to the table’s position as determined by a linear encoder scale on the table. However, to do so would rapidly degenerate into a research project. As it stands, James has enlightened most of us with the novel RAS solution. From a design standpoint, it is a great solution because it avoids the expense of a linear encoder and it’s mounting. If this was a ground-up design (vs James’ retrofit) the better approach would be to replace the cable drive with a ball screw. But even then, this is a surface grinder’s X axis: It doesn’t need precise positioning, only smooth velocity.
@ftownroe
@ftownroe 7 ай бұрын
I don’t own a surface grinder but if I ever decide (and have the Benjamin’s) I would consider this model because you have already worked out all the bugs to automate its function. Another fantastic video.
@akr1865
@akr1865 7 ай бұрын
Another great video James. Something to be aware of at that fast of a speed on the X-axis is the speed of the grinding wheel vs longitudinal movement. If it's too fast you will not leave enough time for the wheel to do its work. Think of climb cutting on a mill at a rapid feed rate. Every "automatic" grinder I've ever used had a much slower x- axis feed rate. Also, as you may already know, things can go wrong in a hurry when surface grinding, so an external control outside of the e-stop would be helpful to vary the speed.
@LyallPearce
@LyallPearce 7 ай бұрын
I was only half way through watching and my first thought was you need to provide a delay between direction changes to allow the system to settle. It will be interesting to see what you did...
@davidawaters
@davidawaters 7 ай бұрын
Nice! I wish I had this info a couple of years ago when I built a couple of machines for a local manufacturer. It had a springy x axis (6’ of 0.25” wide timing belt). It had very little mass/speed/force but I had a lot of problems with resonance. A combination of a much stiffer belt and auto tuning finally took care of it, but I would have much rather just swapped to a RAS-able motor if I knew about it.
@arimadx
@arimadx 7 ай бұрын
As someone who knows almost nothing about physics, you did a really great job of explaining everything. I think im actually on the same page as you on all this haha.
@marclevitt8191
@marclevitt8191 7 ай бұрын
I was going to reply to a nasty comment about your code, some nonsense about not needing a state machine. I think his post got deleted. I am glad it did. It wasn't particularly productive.
@Skyliner_369
@Skyliner_369 7 ай бұрын
hilariously, I would have coded the RAS myself in the controller. not too hard to implement. especially if the accel can be directly coltrolled by code and not just constants
@marclevitt8191
@marclevitt8191 7 ай бұрын
He let Teknik program it in-a better solution and cheaper.
@mr.b6034
@mr.b6034 7 ай бұрын
Would be interesting to see if there will be any difference in thr torque oscillations when you put some weight on the bed...
@Clough42
@Clough42 7 ай бұрын
Very little, in my testing. The table and chuck are already very heavy.
@nf4x
@nf4x 7 ай бұрын
But your torque ripple and ringing will reduce when you grind. The drag will dampen the system. With the better profiling (planned jerk and snap) you might try reducing the integrator gain and / or increasing the proportional gain slightly. If they have a Bode plot feature in their software, run it and show us next time. Then you can tune it as well as PI will ever get you. :)
@steveh8724
@steveh8724 7 ай бұрын
@@nf4x damp
@mrburns366
@mrburns366 Ай бұрын
Grinder? Damn near killed 'er!
@jhbonarius
@jhbonarius 7 ай бұрын
Very nice! I understand that some professional cnc machines use the linear scale to determine the position of the axis, instead of closed loop servos. That might also help in this situation?
@mfx1
@mfx1 7 ай бұрын
Estops should always control things physically by cutting power (or a controlled stop through a safety rated system) with software being a secondary thing.
@kashifkhan3040
@kashifkhan3040 7 ай бұрын
perfect job for a viscous coupling :)
@BigJonYT
@BigJonYT 7 ай бұрын
I know it's a personal preference, but I would have made the limit switches virtual. Leave one physical switch at the far end of travel to home, then set start and length parameters in the SW. You could also build a cool interface like the lead screw controller with speed, start and stop displayed. That way you can dynamically control it during the job without have to stop and physically adjust the end stops. Then as the controller knows where the two points are, it can accelerate and decelerate in SW to the exact positions. You don't need the more expensive servo, and you can stop on a dime without any overshoot. You could even leave the two physical end stops at the two extreme positions as estops too late now. You bought the expensive servo. But you have to live with the overshoot... Nice project, though. :-) I'm still jealous ... :-)
@nf4x
@nf4x 7 ай бұрын
Your software could start each run by identifying where the limit switches are located, then just run back and forth within them, to get highly precise travel without worry of overrunning the stops. If you start hitting the limit switches, you know your cable is stretching, has slipped, or has loosened. Better performance and extra safety - win-win.
@seancollins9745
@seancollins9745 7 ай бұрын
Big Brushed DC servo would be ideal for the X axis, nice big heavy rotor, hard switching, loads of grunt particularly near shaft stall.
@johnblazeindetroit
@johnblazeindetroit 7 ай бұрын
Hey James, not sure if you considered this...Maybe an initialization routine that first determines the locations of the left and right stop, then you could ramp up and 'brake' between the two locations. My intuition is telling me that you would have to ramp up before making contact with the part and brake after leaving the part to maximize surface quality uniformity.
@โนรีคอกเบิร์น
@โนรีคอกเบิร์น 7 ай бұрын
This is a great tutorial, great understanding, great tenacity & great outcome. What would be the icing on the cake is a test piece, that has an area (strip) of grind at same depth etc but with different motors and RAS settings to see if the quality of traverse actually shows or is measurable in the real world or if the mass of the table hides it. Thanks James, this is perhaps the best (most revealing) project you have done.
@JohannSwart_JWS
@JohannSwart_JWS 7 ай бұрын
Those motors are amazing. Could not help wondering about the peak currents at accel/decel points. Must be quite a bit, for a short while.
@RossReedstrom
@RossReedstrom 7 ай бұрын
How much will this tuning be affected by the mass of your vise and part? It is the table significantly more massive than anything you'd clamp onto it?
@DanBowkley
@DanBowkley 7 ай бұрын
How hard would it be to get a DRO scale feeding back into the servo control? Move the feedback out to the end of the line and you can easily tune a PID for the springiness.
@marclevitt8191
@marclevitt8191 7 ай бұрын
I don't know, sometimes more data is not better. Perhaps only using glass scales and bypassing the motor's internal ones? Is that what you meant? I believe that Leadshine’s latest hotness EtherCAT servo can take both inputs.
@DanBowkley
@DanBowkley 7 ай бұрын
@@marclevitt8191 Pretty much yeah. Even the optical encoder strip from a printer (if it were long enough) would be plenty. Just enough to tell the brains where the table is. I just suggested a DRO because there's probably one readily available inside a machine shop and it's probably meant for that role. Interfacing it shouldn't be too hard.
@macaroniandtuna
@macaroniandtuna 7 ай бұрын
I looked into this question several years ago, and the consensus seemed to be that it's technically possible, but not a good idea for some reason i couldn't figure out (maybe related to position hunting), which is why basically no motion controllers below and up to light industrial usage support it.
@shaun9054
@shaun9054 7 ай бұрын
It will be interesting to see how much the scope curves change as you place different mass on the chuck to grind
@LetsRogerThat
@LetsRogerThat 7 ай бұрын
That's an impressive improvement James. My Rockwell Delta bed sits on ball bearings and there's nothing preventing the bed from lifting as it changes direction. I wonder if your grinder is subject to any mechanical lift during the directional change. If there is, it would affect you surface finish. You might want to check that out. Gilles
@algotn
@algotn 7 ай бұрын
Is there any reason to not do the jerk limiting in software? It would require more programming yes, but it also seems like you would have better control over it.
@marclevitt8191
@marclevitt8191 7 ай бұрын
To save approximately $500? Doing the jerk limiting in software is precisely what James’s doing; it's just Teknic’s software. Right? It seems like a bargain for who knows how many engineering hours it took to develop this feature. But I agree that if one wanted to control more parameters or had a good reason to do it higher up the control chain, now that we think we know the problem and how to fix it, one could provide rounded velocity curves. But then what does Techik’s servos now think of our input? Just thinking out loud here, but now maybe we would want a dumber motor so we don't get rounding on top rounding.
@philareilly
@philareilly 7 ай бұрын
@patchvonbraun now that’s a series of videos I would love to watch
@AmateurRedneckWorkshop
@AmateurRedneckWorkshop 7 ай бұрын
Success always feels good. Thanks for the video keep on keeping on.
@qwertyboguss
@qwertyboguss 7 ай бұрын
Not sure of its possible but I'd look into defining the limit switch state changes as interrupts. If you complicate the code more, or the controller is busy otherwise you may miss the trigger. Unlikely with this setup but I'd feel safer with hardware interrupts.
@jlkainz
@jlkainz 7 ай бұрын
Very nice video James! If you are programming the motor movement in C++, it seems you could have programmed in the control system for the motor to control the jerk/snap/... instead of purchasing the enhanced version. Just a thought from another controls guy.
@jackpledger8118
@jackpledger8118 7 ай бұрын
This went way over my head.
@โนรีคอกเบิร์น
@โนรีคอกเบิร์น 7 ай бұрын
So, Buy thicker sole shoes. It wont help because the knowledge will go straight through your head like a Quark. Dont worry, you wont feel a thing.
@chrisj4570g
@chrisj4570g 7 ай бұрын
Fiddling with the G stop should help, the trouble is finding the G stop.
@jamesreed6121
@jamesreed6121 7 ай бұрын
Once upon a time ('75 to '90) i worked at IBM development on what was called 1/2" Tape . We had similar problems trying to move tape back and forth smoothly. Your description of the problem with the X motion brought back memories. Don't mean to be critical, but at 12 minutes into the video you say that the derivative of velocity is acceleration . I would suggest you get out your Differential Calculus Book. If I remember correctly, the derivative of acceleration is velocity. I love it when I see others make mistakes that I often do. KOKO!
@kailuagarage
@kailuagarage 7 ай бұрын
He is correct. The integration of acceleration is velocity.
@jamesreed6121
@jamesreed6121 7 ай бұрын
Sorry about that, you are correct. I confused the formula D = 1/2 a(t * t) for acceleration.. Velocity is the derivative of this formula. Gotta think about these things more before commenting.
@AlexMusayev
@AlexMusayev 7 ай бұрын
Quoting Wikipedia, "The terms snap, crackle, and pop‍-‌for the fourth, fifth, and sixth derivatives of position‍-‌were inspired by the advertising mascots Snap, Crackle, and Pop." You live, you learn.
@rogertrett406
@rogertrett406 7 ай бұрын
I learnt a lot from this video. Many thanks.
@michaelmoffit1423
@michaelmoffit1423 7 ай бұрын
Just a thought. You could have accomplished almost the same thing in two different ways. 1. Count steps between the limit switches and then apply a two step decel. 2. Added two more switches that act as a warning and start your decel on the first switch. Your decel and direction change should take place after the wheel has cleared the part. That way you will not see the direction change or decels/accels in the surface finish of the part. Spent too many years doing this by hand.
@jeffholden4600
@jeffholden4600 7 ай бұрын
Will resistance, introduced by griding wheel and object friction, affect the smoothness of the x axis?
@ita-1245
@ita-1245 7 ай бұрын
Great mod, is there a failsafe if the limit switch fails or cams break and the bed progresses infinitely?
@hasanzakeri8708
@hasanzakeri8708 7 ай бұрын
Nice! Have you thought about using dro-style linear scales for feedback and having a real closed loop position system?
@HangarQueen
@HangarQueen 7 ай бұрын
Great video. I came into it frankly thinking that it would likely be boring. I mean, how entertaining could 26 minutes of smoothing X-axis motion be? But it was! And very educational too! (Now I know about "jounce", as just one takeaway.) I'm wondering why you decided on the mechanical lever switches rather than the proximity switches. From your earlier video comparing the two, I really thought the proximity switches would be the winner. Heck, if you switched to using the proximity switches, you could add the mechanical switches as WAY-overkill to trigger eStop if the table went beyond limits.
@JeffBlack1968
@JeffBlack1968 4 ай бұрын
The tension on your belt isn't tight enough, you can see when it changes direction the belt is slacking on one side and that can cause a bouncing affect. If increasing the tension doesn't help enough you may need to add a little more rap around the small pulley to get more teeth contact. You can add bearings on the outside of the belt, so it makes the belt come straight off the small pulley.
@jbrownson
@jbrownson 7 ай бұрын
Very interesting
@charleskeller4288
@charleskeller4288 7 ай бұрын
How about a dial indicator on the surface of the table to quantify any bounce better than eyeball?
@zaprodk
@zaprodk 7 ай бұрын
Fascinating to see how the RAS fixed up the oscillation. I wonder what the difference in the actual servos are - I suspect it is just a software difference - The hardware is identical.
@marclevitt8191
@marclevitt8191 7 ай бұрын
The new one has a higher resolution. Perhaps a different encoder?
@KPNH
@KPNH 7 ай бұрын
Excellent work, sir! 👍👍
@jimsvideos7201
@jimsvideos7201 7 ай бұрын
What if you put a bellcrank at each end of travel to lift a weight up against gravity? That might soften the stop and help with the acceleration.
@Mike40M
@Mike40M 7 ай бұрын
Never heard about jerk before. Simply because I'm speaking a different language. For me it's much easier to think about applying a force (F=m*a). A sudden apply of force gives a sudden acceleration.
@paullewis6612
@paullewis6612 19 күн бұрын
James, Have you considered the torque load on the teeth of the drive belt ? Is there a High Torque option available? Yes, there are many teeth engaged, there are also ‘many torques’ ! Regards, love the show, Paul
@the_rad_Panda
@the_rad_Panda 7 ай бұрын
Great Video! Have you tried a belt tensioner? Looks like some of the inertia springiness might come from the belt tensioning. Maybe even the wrap angle on the driven wheel? Just food for thought - really enjoying this series and your way of going about things 😊
@edwardaloftis6705
@edwardaloftis6705 7 ай бұрын
Cool project.
@josephmacey8512
@josephmacey8512 7 ай бұрын
nice work James, is there a line of code to make it stop at the end ( Left or Right) and not on the job your grinding
@larrybud
@larrybud 7 ай бұрын
Great call!
@Icaros03677
@Icaros03677 7 ай бұрын
Thank you very much for this video!
@urbanawoodproject3123
@urbanawoodproject3123 7 ай бұрын
I was hoping to see you add some weight to the table and then observe the changes.
@johnirvine3346
@johnirvine3346 7 ай бұрын
Great video! You may have covered this but do you have a plan to stop the motor if (when) a limit switch fails?
@the1maxb
@the1maxb 7 ай бұрын
Could the progressive acceleration (anti-jerk) required not have been implemented in controller software? Along with anticipation of travel limits, based on tracking of the most recent limit switch triggers?
@rickswanberg4995
@rickswanberg4995 7 ай бұрын
The RAS enabled motor has clearly worked. Would you be able to program different acceleration and deceleration values to smooth out the start of motion if RAS did not work?
@KG4JYS
@KG4JYS 7 ай бұрын
Seems more likely it's the rubber belt more than the steel cable that's stretching too much. A longer shaft with multiple pullies and belts could help significantly.
@ligius3
@ligius3 7 ай бұрын
I would want to add some soft limit swiches to the software. As an anecdote, my sliding gate sometimes goes crazy and keeps going past the limit switch, chewing the rack and pinion in the process. It then thinks it has travelled far to the other side and doesn't want to fully return, so there is some soft limit, just probably badly implemented.
@georgescott6967
@georgescott6967 7 ай бұрын
I'm surprised that you don't have "stopped" as a third state in your finite state machine. I'm also wondering about "accelerate left", "decelerate left", "accel right", "decel right" but haven't thought long enough about it yet!
@alejandrohuerta988
@alejandrohuerta988 7 ай бұрын
Snap Crackle Pop! Gotta love nerds naming terms 😄
@MachinedComponents
@MachinedComponents 7 ай бұрын
Awesome video and great project. Can the Clear Core controler be programed in a language other than C++? I haven't used C++ and it's appears daunting to learn.
@joopterwijn
@joopterwijn 7 ай бұрын
I don’t know if a different cable type (table movement cable) could reduce the “stretching”.
@criggie
@criggie 7 ай бұрын
Possibly a newbie question - how much does the table/object speed matter when surface-grinding? The wheel's surface speed is far higher so does it matter if the part is moving slow or fast ?
@hoggif
@hoggif 7 ай бұрын
I've never thought of that limiting jerk limits change of force, because F=ma and dF/dt = m da/dt = mass * jerk.
@DavidSchmitt
@DavidSchmitt 7 ай бұрын
It's nice what values you put into the code, but what acceleration is the table actually experiencing?
@motorcoach123
@motorcoach123 7 ай бұрын
2 tens of a second stop on the clear path code when at the reverse cycle cuts the jerk acceleration
@CalMariner
@CalMariner 4 ай бұрын
Any safeties/backups for end of travel? If one of the control switches fails...
@gravydog51
@gravydog51 7 ай бұрын
All this math is over my head, but in the manual (at 11:25) is the term "forth-order" actually correct as opposed to "fourth-order"? Googling the first spelling does get a lot of hits, so I just don't know.
@davefilicicchia6341
@davefilicicchia6341 7 ай бұрын
James, I'm curious if you think the tuning issue was more about the 'squishiness ' of the cable drive on the table or an inertial mismatch?
@ianmoone2359
@ianmoone2359 7 ай бұрын
Perhaps if you replace the wire cable with spectra dyneema which has less than 1% stretch and more strength than steel, you might also help smooth out the change of direction even more.
@marclevitt8191
@marclevitt8191 7 ай бұрын
My thoughts as well. Or a drive chain?
@ianmoone2359
@ianmoone2359 7 ай бұрын
@@marclevitt8191 now that’s also a good idea, chain might work. I’m guessing it might have more mass hence more inertia to overcome each change of direction than dyneema spectra tho.
@carlhitchon1009
@carlhitchon1009 7 ай бұрын
Dyneema is slippery stuff, might be a problem.
@ianmoone2359
@ianmoone2359 7 ай бұрын
@@carlhitchon1009 Indeed it is very slippery, no denying that. 👍
A Control Panel for the CNC Surface Grinder - Part 8
34:50
Clough42
Рет қаралды 47 М.
Iterative Design in Fusion 360: Flexible Dust Caps
27:38
Clough42
Рет қаралды 41 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 4,1 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2 МЛН
What Killed this $99 Servo?  A Postmortem
20:54
Clough42
Рет қаралды 249 М.
Two Years of Effort:  Toolpost Riser Castings NOW AVAILABLE
33:01
How I Source Material
16:12
Smith Coding & Design
Рет қаралды 2 М.
Sovol SV-08 All Issues EXPOSED
23:08
Nathan Builds Robots
Рет қаралды 35 М.
Practical approach to milling sheet metal
25:19
Stefan Gotteswinter
Рет қаралды 66 М.
Making a Spindle Lock for the Grizzly G0602 Lathe
27:35
Clough42
Рет қаралды 69 М.
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 418 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 4,1 МЛН