Calibration of Linear Motion Systems Driven by a Stepping Motors

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • Patrick's Tip Jar:
    bitcoin:1Gtawd29Sgu5CdvfUnkRg1YBfowCawjFdH
    Ether:0xa962365100011B79097A7bb9DD51A53eE98266bb
    If you have found this video to be helpful, consider making a tip. Thanks.
    This is an instructional video describing the process and calculations needed to calibrate a linear drive system using a stepping motor for power. The mechanical means can vary widely including, but not limited to lead screw, roller chain and sprocket, rack and pinion, timing belt and pulley, etc. The video was intended to serve as a way to calibrate CNC machines; however, this method will work on many systems.
    Equipment that I use to make videos:
    Canon EOS Rebel: amzn.to/2rJSeh0
    Macro Lens: amzn.to/2qaSKmK
    Microphone: amzn.to/2qO2RB4
    3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): amzn.to/2ruFnSn
    The drafting pencil I use on these videos: amzn.to/2qioYg2
    The cheap oscilloscope that I use (because it's cheap and will work all of the projects in these tutorials): amzn.to/2rSHnBa
    A better oscilloscope and the one I would recommend: amzn.to/2qizK5M
    The brand of multimeter that I use and the one I recommend: amzn.to/2qicUez
    Want to have your own Patreon campaign? / wpllxz
    ~-~~-~~~-~~-~
    Please watch: "51. How to Add Interrupts for the ADC - ARM Microcontroller Part 2 - ARM STM32 Microcontroller"
    • 51. How to Add Interr...
    ~-~~-~~~-~~-~

ความคิดเห็น • 38

  • @moegasim
    @moegasim 7 ปีที่แล้ว +1

    perfect....clear and to the point......no fancy measuring gauges or artificial intelligence required.
    Thank you

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  13 ปีที่แล้ว +1

    @karandex I haven't really experimented with 400 step motors.

  • @Mythobeast
    @Mythobeast 10 ปีที่แล้ว +2

    Oh, yea, in order to calculate the actual number of steps per inch, you can pick up a calculator and do (assumed_steps_per_inch * desired_distance) / actual_distance. In your example, that's (1422.22 * 94) / 94.5 = 1414.695, no need to repeat the process until it's perfect. Not that your answer was off enough to matter, but it is a little faster this way.

  • @TheGeorge10437
    @TheGeorge10437 9 ปีที่แล้ว

    This is good. Only comment is on the end. As per previous comment (SCALE)=(desired distance)/(actual distance) is a scaling measurement. If math is right you can just do (adjusted steps per inch) = (current steps per inch) * (SCALE).
    Unless there is some weird rounding going on with the steps that I am not understanding. If this works it is easier to follow.

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  13 ปีที่แล้ว

    @satishchaphekar That's unfortunate. This will ultimately be determined by the mechanism that you have on each axis and the weight and force against the thing that you are moving with the motor in question. One rule of thumb is that full step is not the best for maximum torque. I have found that 1/4 or 1/2 stepping is the best for full torque in my experience, so put that configuration on the worst case scenario in your setup.

    • @tugaminhoto4969
      @tugaminhoto4969 8 ปีที่แล้ว

      Hi. Greate explanation, you save my life.
      I am using a "Long Motors" stepper drive (DM860A) with a nema34 1600oz motor who give me many pulse per revolution choices as 400, 800, 1600, 3200... what i have to use 400, 800 or 1600 and how its reflect in you formula?
      A) For sample if i choice 1600 its same as 1/8 since 1600/200=8 or if i choice 400 its same1/2 since 400/200=2? So i need to use 200x2 to determine the number of steps if i choice 400. I am confuse now.
      B) What the best choice to give good torque?
      Thanks and sorry my bad English.
      Edit.: I am using a ballscrew with 5mm/rev.
      My stepper motor driver.
      -------------
      www.google.pt/search?q=dm860a&client=firefox-b-ab&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiJrayCmNbPAhWKJMAKHbsdCgMQ_AUICCgB&biw=1280&bih=855#imgrc=QZ2DpqrZj3rmmM%3A

  • @Mythobeast
    @Mythobeast 10 ปีที่แล้ว

    On the chain drive with the nine-tooth sprocket, I found a way to calculate the revolutions per inch without knowing the pitch. I measured the links per inch on the chain (4) and then divided the number of teeth (9) by that number (9/4 = 2.25) to get the inches per revolution.

  • @beykana
    @beykana 2 ปีที่แล้ว +2

    Hello, My CNC machine has a Nema17 stepper motor, T8 trapezoidal shaft and nut (nut advances 8mm in 1 turn, Start: 4, Pitch: 2mm) and DRV8825 driver using 1/16 micro stepper. In this case, how many mm does my CNC machine move in 1 revolution in the z-axis?

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 ปีที่แล้ว

      If you are using Mach3, I would recommend using the "set steps per unit" button on the settings tab to do the calibration through a wizard. It's far easier.

  • @mada4emo
    @mada4emo 4 ปีที่แล้ว +1

    Thanks you are very good man

  • @morosuh
    @morosuh 4 ปีที่แล้ว

    thank you.
    It was very helpful.
    Is there any description of the metric version?

  • @umargul5644
    @umargul5644 4 ปีที่แล้ว

    Great job ever, I was waited for

  • @harycosta
    @harycosta 11 ปีที่แล้ว

    I LOVE YOU PATRICK!!!

  • @shelby50411
    @shelby50411 5 ปีที่แล้ว +1

    Cant you just take 94/94.5 and x 1422.22?

  • @satishchaphekar
    @satishchaphekar 13 ปีที่แล้ว

    i am having intersting problem, i got 5 drivers and 2 of them are not working, out of other 3,2 work in full step only and 1 in half/full both. which should i use for which axis. I am thinking half step for z and other full step for xy, is it right ?

  • @i-make-robots
    @i-make-robots 13 ปีที่แล้ว

    What do you recommend for measuring z axis? It's a little bit trickier being vertical.

  • @uzowuluisaac9060
    @uzowuluisaac9060 10 ปีที่แล้ว

    Thanks a lot. It's really helpful to me.

  • @heater165
    @heater165 12 ปีที่แล้ว

    Nice explanation

  • @abilashchakaravarthy1950
    @abilashchakaravarthy1950 8 ปีที่แล้ว

    does the above method for chain will it work for rack and pinion also

  • @TheBATeam
    @TheBATeam 7 ปีที่แล้ว

    Great Explanation!

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  13 ปีที่แล้ว

    @karandex If your lead screw is single start (meaning there is only one thread wrapped around the rod), then yes, the 15 threads per inch is equal to 15 turns per inch.

  • @mahmoudelfeshawey2277
    @mahmoudelfeshawey2277 9 ปีที่แล้ว

    Hello
    Thanks for the grait vedio
    I notice that you count the 0.5 inch as 711.11 steps , and in the real world it is nor
    I see the real steps can get by this equal
    real world steps per inch = (1422.22*94)/94.5
    this give me 1414.695
    I belive this number is more acurate
    sorry for bad English

  • @l0chis1
    @l0chis1 11 ปีที่แล้ว

    It is very funny and obvious how most of the commenters here have absolutely no engineering background.....get ur asses back to the books and stop spamming

  • @Ray-ej3jb
    @Ray-ej3jb 6 ปีที่แล้ว

    Please stop being so America centric - the normal convention in the engineering world uses the metric system., so therefore as you take so much pride in your videos you should include both systems

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  6 ปีที่แล้ว +1

      I do try to do this now. When I started this occupation, I was working only in the imperial system, but I have learned to include both when I can. Thanks.

  • @dannyperkins4220
    @dannyperkins4220 4 ปีที่แล้ว +1

    Hi Daniel. Great video. If I may ask could you go over a cnc that uses direct drive? The stepper motors drive the ball screw shaft directly.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  4 ปีที่แล้ว

      Hi Danny,
      If you know the linear travel for one revolution of the motor, then you can use the formula:
      step/inch= (natural steps * microsteps) / (linear travel for one revolution)
      For instance: if you have a lead screw that is 10 TPI and 5 starts, then the travel distance for one revolution is 5/10 = 1/2". If you don't know how many starts you have, look at the end of the screw and count the number of thread starts around the circumference of the end of the screw.
      Hope this helps. Of course, this is only the beginning of the calibration process to get close to the real number. you should continue to calculate the real world steps/inch by calculating it, or using the control program like Mach3 to perform this calculation.

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  13 ปีที่แล้ว

    @MrHobbyrommet Thanks for the feedback. I also use this method, but the intent of this video is to provide an intuition on the process of calibrating an axis and this method of explaining it (the long way) can bring this concept home in a more visual way.

  • @stevecooley
    @stevecooley 13 ปีที่แล้ว

    Oh, thank you. I've been running my machine for about a year off and on, and I have a major project I need to have my machine dead-on accurate for, and was starting to despair because I kept having problems. I'll run though this asap and hopefully that will help me get back to being on target.

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  13 ปีที่แล้ว

    @kurtnelle Nice!!

  • @servant74
    @servant74 13 ปีที่แล้ว

    @aggrav8d ... good point. Do basically the same thing, only use something like a vernier caliper, just because the distance is so much shorter. .. If you try it and you aren't off 'much', it could be OK to assume correctness, but that is your choice! ... I got a plastic vernier caliper that has a thin metal rod attached to the movable jaw (it runs the length of the caliper), and it extends as the jaw is opened. It is great for making this kind of measurement. I hope you can find a similar one

  • @servant74
    @servant74 13 ปีที่แล้ว

    @karandex yes... if you have a 'single start' threaded rod (like from the 'store' and not an industrial source)

  • @arunfemin
    @arunfemin 11 ปีที่แล้ว

    that is a very good video which cleared my doubt..thanks..

  • @andreasmrbill
    @andreasmrbill 12 ปีที่แล้ว

    so what the hell is cnbc?

  • @TheFixxxer11
    @TheFixxxer11 7 ปีที่แล้ว

    hey pactrick,, what about backlash..

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  7 ปีที่แล้ว

      I believe that is something that should be address mechanically rather than in software. I have found that software doesn't do a very good job with backlash compensation.