What Killed this $99 Servo? A Postmortem

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 710

  • @stumcconnel
    @stumcconnel Рік тому +325

    Do you have a lot of electronics background? As an EE of many years, I think you did a great job of explaining that whole process and identifying the operation of the various circuitry. Awesome job!
    And I think you made the right move buying the same motor again, at that price point it would be silly to re-engineer it.

    • @howardrobinson2680
      @howardrobinson2680 Рік тому +13

      I agree with Stu completely and in both respects.

    • @Patrik6920
      @Patrik6920 Рік тому +8

      ...and another point is spare part if somethin else fails in it...
      unless its the same chip ofc.

    • @dieSpinnt
      @dieSpinnt Рік тому +4

      "buy cheap, buy twice" ... in this case let's wait for part three ...
      Jokes beside, nobody can tell if the expensive branded option would also have failed. Because of the circumstances that lead to this failure ... like over-voltage, shocks or the usual "produced on a Monday-product" ( hehe ). But all this is speculation and only one kind of person can exactly know what is the right thing to do: UA-cam commentators ... :P
      But what you CAN say is that the brand-manufacturer provides guarantees. F.E. exchange in-between 2 or 5 years, or lifetime; Customer support and possibly help with the design of your contraption if some hurdles occur. You just have to RTFM!:) I don't see any reason to hold court about Clough42's decision to go for the cheaper exchange part. One way may be as good as the other. But one thing he said in the video made me think: that it is practical now, that he can just exchange the motor and has nothing new to adjust. Branded and certified products (this is why we in the industry use them ... and also to not land behind bars ... **g** ) guarantee a time-span when they are produced and can be supplied[1]. This is also guaranteed for spare parts and software for such systems, which are often modular and extensible. My opinion to the question if that was a good choice: It depends ... and you do you!:)
      [1] Edit and Example: For example and out of the field, the not so cheap motor and motor driver parts including all connection systems and cabinet parts from Siemens come with extensive personal advice and guarantees on availability and service. Some parts will be in stock for 20 years, some are even guaranteed to be in stock and with maintenance support for 50 years. You will certainly look in vain for this at the "Alibaba" dealer.

    • @VoteForBukele
      @VoteForBukele Рік тому +3

      Mtbf is 2 years. I can tell you from experience that the clear path would have lasted significantly longer as long as it was sized and installed correctly. Just my opinion, but decisions like that add up, and you can find yourself “going broke saving money” quickly. I watch people do it every stinking day.

    • @Patrik6920
      @Patrik6920 Рік тому +5

      @@VoteForBukele normally i would agree...but its obvious he does know a bit in electronics and is likely to solve many possible cenarios... guys like this are very valuble for any company...

  • @dom1310df
    @dom1310df Рік тому +343

    If the new servo has the same PCB inside you might be able to exploit the ST-Link firmware-dump bug to extract the firmware from the new servo and flash it to a fresh microcontroller for the old servo. That's assuming the microcontroller's read protection is actually enabled; if not it's even easier to dump the firmware.

    •  Рік тому +38

      Had the same idea... I definitely would try it.

    • @sumduma55
      @sumduma55 Рік тому +19

      I was curious if something like this was even possible considering he had a "copy" in the new version.
      Thanks

    • @pitot1988
      @pitot1988 Рік тому +12

      How can one typically extract firmware from an existing STM32? What kind of interface or dongle is needed to connect the the chip's pins to the computer?

    • @ChristopherGoggans
      @ChristopherGoggans Рік тому

      ​@@pitot1988 I haven't specifically looked into this board but one thing I'd suggest researching is search for UART. It seems to be a serial connection and programming standard interface. The other you could try was searching for JTAG.

    • @Teklectic
      @Teklectic Рік тому +17

      ​@@pitot1988 you could likely do it right through the programming header on the board, if there's no protection enabled, dumping the ROM is pretty straightforward, I'm sure someone has a video about the process here somewhere.

  • @javaduke1
    @javaduke1 Рік тому +115

    I think you did the right thing, hopefully this servo will work just fine. I'm saying it because I recently finished building your ELS for my lathe and I used the same servo. Hope you are reading this comment, I cannot thank you enough for your brilliant design and fantastic videos that guided me through the entire build process.

  • @YouveBeenCabadged
    @YouveBeenCabadged Рік тому +189

    There are usually some internal regulators inside the microcontroller, outputting internal core voltages onto lowish value ceramic bypass caps near the micro. Those multilayer ceramics are some of the most common things to fail - they can crack when the board flexes or vibrates. If one of those caps is shorted, I'd expect the regulator in the micro to get hot. You might be able to identify the culprit with a multimeter, or by just pulling the bypass caps off one by one.

    • @lwilton
      @lwilton Рік тому +19

      That sounds like a reasonable possibility. A servo is certainly something that can have some vibration, especially mounted on a large vibrating machine. I don't know how much the boards would flex, they looked reasonably well mounted. But it is certainly a possibility. The interesting question is whether the microcontroller would have survived after the internal heating.

    • @jeremylastname873
      @jeremylastname873 Рік тому +4

      An ohmmeter with Kelvin connections might get you into the ballpark.

    • @Teklectic
      @Teklectic Рік тому +8

      The hard part with those ceramics is that if they're broken, it's basically impossible to know the value without the schematic.

    • @kurtbilinski1723
      @kurtbilinski1723 Рік тому +8

      @@Teklectic Could remove two, the bad one and a good one, then measure the good one with a capacitance meter.

    • @philgarbarini9645
      @philgarbarini9645 Рік тому +2

      Thanks for taking the time to share this. Are you considering a Clough42 redesign of the board that failed?

  • @gregrice1354
    @gregrice1354 Рік тому +1

    You just popped up in my UA-cam feed.
    Great work.
    Great subject mastery.
    Great video documentation.
    Great honest, human communication! (Thanks for the Dentistry Lenses tip for "old man glasses!) Masterful - novices or skilled pros can't help but learn from this video, sir!
    Great common problem of "buy replacement" or go through work of warranty, repair, research new source/parts - across all walks of life and lines of work. Of course your time and expertise are so obviously valuable, that the time saved in re-buying is wisest choice. Wow.!
    Thanks again!

  • @HangarQueen
    @HangarQueen Рік тому +11

    I watched this with keen interest (and was "rooting for you" through the diagnosis, hoping you'd find a simple fix) because I have the exact same servo driving your ELS on my MX-210V. Mine has been working perfectly well for about a year now; hoping for many more. Still, for $99, it's a terrific bargain -- unless these failures become a pattern. Thanks for the excellent walk through of the circuitry; very informative and entertaining.

  • @smkole2
    @smkole2 Рік тому +2

    James. Thank you for this walk-through. Your explanations may be the only ones I can watch start to finish and truly understand the information. Have a great week sir.

  • @BobGarrett66
    @BobGarrett66 Рік тому +40

    James I’d say it was a good idea to go with an even exchange. Now with that said, if this one craps out in a year or two, it might be worth stepping up (pun intended! 😂) to a more reliable long term solution. Thanks for the video. They are always a pleasure to watch.

    • @glennedward2201
      @glennedward2201 Рік тому

      These servos are typically great but i would’ve thought a 300w model would’ve been more appropriate for his application.

  • @AmateurRedneckWorkshop
    @AmateurRedneckWorkshop Рік тому +7

    A gremlin let the magic smoke out of that servo. I can honestly say that I have done the same, bought the same thing that betrayed me and sometimes it betrayed me again. Thanks for the video keep on keeping on.

  • @MrSneakyGunz
    @MrSneakyGunz Рік тому

    Damn Son! You really do have all the toys.
    I think you're an underrated channel here on the UA-cams, James.
    Keep up the fine work Mr.

  • @STRIKEcorperation
    @STRIKEcorperation Рік тому +2

    It's rated voltage is 36 V. You can see at 2:36 that you're operating the device outside of it's rated operating range. This is most probably why the device failed. An avalanche breakdown of the buck regulator would lead to avalanche breakdown on the linear regulator which would expose the STM32 to the full supply voltage, causing internal breakdown and latchup. This would explain why the microcontroller is drawing high currents at roughly two diode drops.
    You should get a different power supply if you want to avoid this $99 mistake from repeating.

  • @bushmasterflash
    @bushmasterflash Рік тому +2

    FYI, some Leadshine resellers or volume users can obtain new spare parts for the motors including the PCBs. I have replaced some of their encoder/hall sensors before now on their regular servos.

    • @KallePihlajasaari
      @KallePihlajasaari Рік тому +1

      This was the comment I was looking for. Contact Leadshine and send a link to your video. Tell them you will do a video of the repair when they sell you the spare PCB or Microcontroller.

  • @larry527az3
    @larry527az3 Рік тому +1

    Spend hours reconfiguing a new servo or $99.00 for the same one that fits. I'd do the same thing too, your time is money too. Now if it fails again then all bets are off as to if I'd take the time to reconfigure... I'd say you chose wisely. Oh, you forgot one tool in your list of tools used, like you my eyesight isn't what it used to be and I'd like to try the magnifier you used. Thanks for another great video James!

  • @CTRLyurself
    @CTRLyurself Рік тому +1

    If you go to the settings in the FLIR software, you can adjust and remove the paralax issue.

  • @greener121
    @greener121 Рік тому

    James, I love the diagnostics that I will never understand but understand enough to say that replacement of the component was perfect. no parts cannon here.

  • @gravydog51
    @gravydog51 Рік тому

    I consider myself pretty good at a lot of things but I bow to you without any hesitation.

  • @72MQuinn
    @72MQuinn Рік тому +70

    I decided on mine to go with a 36 volt power supply because the technical book that came with the servo says to leave room for back feed EMF during deceleration. I wonder if your pushing it past what its little buck convertor can handle over time. Just thinking out loud.

    • @kermitfrog1897
      @kermitfrog1897 Рік тому +13

      You might be onto something...wonder what voltage the buck converter is supplying to VCC at the micro when you add reverse EMF to the 42 volts on his input? There is a 3 terminal regulator before the micro, but the manual does specifically mention leaving headroom for back EMF

    • @cheyannei5983
      @cheyannei5983 Рік тому +5

      I was thinking that! I didn't see a whole lot of input protection on the buck converter, they step down the voltage but they don't isolate anything

    • @PNWPrototyping
      @PNWPrototyping Рік тому +3

      I had that same thought. The motor may be rated for 48V but that drive circuitry is rated for much less. It looks like they depended on the body diode on the FETs to prevent back EMF instead of a robust design that uses an external diode.

    • @Robo12555
      @Robo12555 Рік тому +4

      ​@@PNWPrototyping Buck converter (LM5007MM) is rated up to 75v. Back-efm from the deceleration will simply charge the cap on the 42V rail to higher voltage, no matter what diode will be used. Body diode is enough in bldc motor drivers, you can reuse mosfets shown on the pcb as a ideal diodes.

    • @Robo12555
      @Robo12555 Рік тому

      ​@@kermitfrog1897 Voltage after buck converter don't change. Should be approx 8v

  • @buildmotion1426
    @buildmotion1426 Рік тому +3

    Genius! Thank you for posting this video. I’m configuring these servos with a masso. Got the db9-usb cable from A..zon and finally have a connection. I’ll try 500 steps too as a starting point. I greatly appreciate your channel and hopefully your getting rewarded for your hard work!

  • @mattmurphy7030
    @mattmurphy7030 Рік тому

    Great job putting all your tools in the description. That's hard work and dedication to a good video 👌

  • @davekellogg6819
    @davekellogg6819 Рік тому +76

    Hi James - I’m very interested in knowing more about the dental glasses. Source? Cost? Would you recommend them? Pros? Cons? Optical clarity?
    FWIW, please do a video on the glasses. There are a bunch of us old guys out here, and not much info in YT machinist land for vision aids. OptoVisors work only up to a point.

    • @SianaGearz
      @SianaGearz Рік тому +8

      I'm not old, i'm only 40, but i need all the vision help i can get as well!

    • @mattw7949
      @mattw7949 Рік тому +4

      +1. Looked for this comment to see if there was anyone else who is also old and blind. I tried one cheap rando dental loupe from Amazon and it was useless rubbish. I know some must be better than others, but I aborted my search.

    • @SRG216
      @SRG216 Рік тому +4

      I'd like to see a link for the dental loop glasses too.

    • @voodoochild1954
      @voodoochild1954 Рік тому +4

      I’m also interested in these. Can you provide a link for them?

    • @DavidV328
      @DavidV328 Рік тому +3

      +1. I d like to know about them , too. Real dental magnifiers are screamingly expesive though. I m hoping this has a more reasonable price tag.

  • @grahameida7163
    @grahameida7163 Рік тому +4

    You were correct to replace with the same, stm32 blowing seems a random failure, unless there is back emf appearing, very unlikely with what looks like optical isolators before the power electronics… would have been interesting just to break the power supply to the microcontroller and see if the psu and regulator recovered to 3.3v more out of interest then anything else.

    • @jaro6985
      @jaro6985 Рік тому

      The opto is between the STM32 and the outside world. But the stm32 is not isolated from the drive circuitry or the motor.

  • @Ghlargh
    @Ghlargh Рік тому +1

    I have used about a dozen of this exact servo, we did have one break but in our case it popped one pair of mosfets on the 3 phase motor output. I simply replaced those FETs (and the fuses which blew as the rail was shorted) and the servo has worked fine since.

  • @teropiispala2576
    @teropiispala2576 Рік тому +1

    I also had a problem with one of my Chinese stepper motors. For me it was a mechanical and I was able to fix it. Not before I purchased new one, but it's always good idea to have a spare if they are used in important place.
    It's funny how they appeared to be relatively good quality but there is still some details which fail.
    Mine stopped spinning but coils were powered and there was some sound when I drove it, though controller went immediately into error state. I suspected short circuit, but all coil resistances were OK. When I opened it up, I didn't find anything wrong but when I put it back together I realized what the problem was. Face and backplate were machined in a way they didn't lock into place. Alignment was maintained only by friction and it was big nema34 motor. It had been slipped and prevented motor from spinning.
    I redesigned my mount so the motor body is supported by rubber, and it has worked well since that.

  • @svrs
    @svrs Рік тому +1

    thumbs up for knowing what you want, why you want it, and chasing after what you want., even in a failure, you're making it a win teaching us doubt it. thanks

  • @DavidLuthy-ej9fe
    @DavidLuthy-ej9fe Рік тому +7

    I built the ELS about 1 year ago and love it , no more gear changing , I was wondering if you had any plans to add any features to the firmware, such as automatic stop and start and return to the tap cycle Just a thought Thanks for the great projects looking forward to the future

  • @paularbon1093
    @paularbon1093 Рік тому

    I think you did the right thing. It could have been a one-off failure with the device. Time will tell. Thanks for your explanation during the fault finding.

  • @orangetruckman
    @orangetruckman Рік тому +1

    I enjoyed your explanations of everything. The component identification was great. I’ve tried watching other videos on electronic components, but they don’t have the entertainment flare you’ve got. And I wouldn’t say it’s dumb to buy the exact component that failed the first time around. If it craps out in a similar fashion as the first- “Huston, we’ve got a problem.”

  • @bobuk5722
    @bobuk5722 Рік тому +3

    Hi James, useful walk through to show how to diagnose the problem. Thank you for spending your hard earned money to let us know if it is a generic fault! I've still got your wonderful ELS on a breadboard ...... one day, one day.

  • @daveeymundson6800
    @daveeymundson6800 Рік тому +6

    Hi James, I thought it was a good idea to replace the servo with the same type as you will have an opportunity to extract the firmware from STM32 on the new servo. Could be the making of another great video for the future. Never a bad idea to replace a part with a known good one. I know lots of mechanics that do that very thing each and every day. Thanks again for all your efforts in producing great videos.

  • @LIKEABOSSTOKE
    @LIKEABOSSTOKE Рік тому +17

    You could read the flash to extract the binary file from the new motor's STM32and then replace the uC on the old motor, to then program the new uC.Will cost you a second servo anyway, but you'll have a replacement, at least.

    • @azinfidel6461
      @azinfidel6461 Рік тому +1

      Yes, I was looking at that debug connector on the main board.

    • @antontaylor4530
      @antontaylor4530 Рік тому +1

      Never hurts to have a backup.

    • @Bashere
      @Bashere Рік тому +6

      Possibly... most likely scenario is that the flash read back lock bit is set. There are ways around this but takes time and energy.

    • @ferrumignis
      @ferrumignis Рік тому +1

      Highly unlikely that the micro is unlocked for reads, but worth a try as the STlink is such an inexpensive programmer/debugger.

    • @station240
      @station240 Рік тому +2

      STM32C031C6T6 actually possible to buy one of these, ST Micro's parts have been out of stock for ages due to supply chain and stupid management issues.

  • @millardalexander8270
    @millardalexander8270 Рік тому +1

    When dealing with electronically populated PCBs by using a pencil around the circuit (CCt) you can place carbon particles on the PCB which can cause short CCts in the most extreme case

  • @barryomahony4983
    @barryomahony4983 Рік тому

    So glad I stumbled upon this channel. Great stuff!

  • @DrFiero
    @DrFiero Рік тому +24

    Getting the same servo isn't lazy... it's strategy! :D

  • @dirtybarry7002
    @dirtybarry7002 Рік тому +1

    We recently had an X-axis servo motor fail on a Juki Pick and Place machine in our factory. I very quickly came to the conclusion that they were not intended to ever be taken apart so instead of digging further I put it back in the machine with the power disconnected and ordered a replacement motor. After the replacement arrived I forcefully disassembled the motor and found the cause of death was a split magnet on the rotor from years of rusting and expanding until there was nowhere left for it to expand. The moisture must have gotten into there during manufacturing as the motors are entirely sealed from the outside world.

  • @einsotto9976
    @einsotto9976 Рік тому +2

    I have 3 of "those" servos but made by jmc (IHSV57) The PCb looks nearly identical. only thing is that the LDO is on the bottom and the Buck is on Top. The Failure stayed the same. There seems to be some sort of problem with this kind of Servos.

    • @kermitfrog1897
      @kermitfrog1897 Рік тому +1

      Can you elaborate more on what you know about these failures? Sounds like you've had the same experience

  • @arthurdent8091
    @arthurdent8091 Рік тому +1

    Hi, great vid. Would you please be so kind as to publish the urll for those magnifying specs. Thanks

  • @electro9480
    @electro9480 Рік тому

    Always pros and cons, you made the correct choice. Great video.

  • @mosfet500
    @mosfet500 Рік тому

    Thanks James.
    One thing, you always discharge capacitors before connecting an LCR meter.

  • @MrEmbedded
    @MrEmbedded Рік тому +8

    Put a 3.6 zener on 3.3v rail and it might save this servo. Often over voltage on VCC kills processor. For example turning motor by hand making generator might do it.

    • @protonx80
      @protonx80 Рік тому

      i think it is designed for that purpose ... ergo it will have its own protection

  • @ZomB1986
    @ZomB1986 Рік тому

    I noticed the servo claims the input voltage range is 24-36V. Putting more into it can stress the buck converter. You'd think that's the only thing a too high input voltage can do, but buck converters can be weird. When it glitches or crashes, it can cause the input voltage to be put directly on the output. If this happens quickly enough, the high frequency voltage rise may be more than the LM1117 can handle, and *it* can briefly output the glitched voltage before it has time to adjust itself back.

    • @Clough42
      @Clough42  Рік тому

      Yeah, their specifications are a little inconsistent. Some manufacturers of this servo say 36V. StepperOnline, where I got this one, says "Input voltage 20-50VDC, output peak current 0-6A" in one place, and "Input Voltage: +20~50VDC (Typical 36VDC)" in another. The table in the manual says 20V minimum, 36V typical, 50V maximum.

    • @kermitfrog1897
      @kermitfrog1897 Рік тому

      @@Clough42 The manual has a clause about allowing for reverse EMF , spikes etc above the 36 volts. So I interpret that to mean that 36 volt is max for power supply and 50v is max for total sum of power supply + reverse EMF + spikes etc. This is on page 2 of the printed manual that comes in the box.

  • @joewhitney4097
    @joewhitney4097 Рік тому

    I think you made the right decision. Now, if it fails again in a short amount a time outside the warranty, time to change.

  • @1337GameDev
    @1337GameDev Рік тому

    9:56 - Isn't a buck converter meant to step UP voltage?
    A step down converter would use PCM and filter caps to lower voltage using a variable duty cycle (and current sense to maintain voltage).
    The INDUCTOR looks to be a buck converter, but must step up the voltage to a higher level (as when you switch an inductor, as the magnetic field collapses you get a spike of higher voltage, and then you use smoothing caps to give a consistent voltage level).

  • @UncleKennysPlace
    @UncleKennysPlace Рік тому

    I tested mine by powering it up and then going on a trip for a few days. Not intentionally. Still works.
    Quickly approaching 100K, James ...

    • @Clough42
      @Clough42  Рік тому +1

      Yeah, we're getting close. Couldn't do it without all of you!

  • @lennywintfeld924
    @lennywintfeld924 Рік тому +4

    If the new servo's microcontroller doesn't have an internal security fuse (or if it does and the fuse hasn't been burned) you could extract the firmware and possibly repair your dud. You just have to decide whether it's worth going down that rabbit hole for a $100 item. At those prices a one for one swap seems like a wise move. If you find yourself faced with having decide whether to buy a third one at some point, then go for a higher quality one. My $0.02.

  • @cnng3506
    @cnng3506 Рік тому

    This is just awesome Sir. I've learn so much just by viewing this video. Thank you for sharing

  • @mcc5651
    @mcc5651 Рік тому

    Nice troubleshooting, satisfying to see a pro at work

  • @hanksmith3628
    @hanksmith3628 Рік тому +2

    Hi, would please list the 'old-man-glasses' source? They sound like what I need! Thanks.

  • @criggie
    @criggie Рік тому +6

    Remember, you now have a bunch of spare parts for the new stepper. Work that into your cost/benefit ratio.

  • @stephensaines7100
    @stephensaines7100 Рік тому

    It was sound logic to replace with same. If this one fails, then logic indicates change of model. At $99, it's a no-brainer really. You get an astounding amount of engineering for that price, and you also have some spare parts to service the replacement, unless the same problem happens again, in which case pretty much proves a week point in the design, or your operating parameters are too demanding. Your operating voltage is a tad high as per specs, it could have been a spike that punched through. Slap your scope on the power feed to see if there's any undue amount of noise on the line. If so, try a line filter.
    Good vlog! I'm subscribed.

  • @_Everyone__
    @_Everyone__ Рік тому +1

    Well done, very sound knowledge of electronics as well, kudos!

  • @merendell
    @merendell Рік тому

    Interesting seeing you attempt to diagnose and fix that servo. I work in a motor repair shop and my specialty is servos but I would never get one of this type across my desk. Considering tech labor runs in the ballpark of 100-150 an hour it would never be cost effective to repair one that inexpensive and available. Generally if its under a grand and the shop manager lets it through the doors at all its give it a quick inspection to see if its something quick to fix and if not quote a replacement

  • @thisnicklldo
    @thisnicklldo Рік тому

    The part of this that really surprises me is that you were able to obtain the exact equivalent, 2 years down the road. I doubt you will be able to do that in another 2 years time. It's possible that the 'upgraded' model available then will be close enough in format and specs that you could fit it, if you are lucky. I think in your shoes I might buy another one now, whilst they are still available. I understand you would probably want a different model if this one fails again, but that's a lengthy project and will leave you without a lathe for a couple of weeks at least. With a spare, you could be up and running in 5 minutes, giving you time to implement a different servo/stepper installation. Not much more than the cost of a set of Starrett screwdrivers.

  • @shawn4983
    @shawn4983 Рік тому +2

    Have you got a link for those dental glasses if they work well?

  • @peterbontinck1947
    @peterbontinck1947 Рік тому +1

    On deceleration back emf of the motor can cause an overvoltage, that's why they advise 36v so the power supply output capacitors have some headroom to stop it. When using tighter margins, a good practice is to add some extra capacitance or use a crowbar circuit to shut on overvoltage.

    • @peterbontinck1947
      @peterbontinck1947 Рік тому

      A crowbar can be as simple as a power Darlington NPN with a 1k resistor between base and ground and a 47v zener between base and +43v.

  • @clive4500
    @clive4500 Рік тому

    I have bought one of these electronically screws from you and it is absolutely fantastic. I built it into my mini lathe. I printed a plastic 3-D enclosure for the main circuit board and put that in the enclosure where the changed gears used to be and the belts are still located. I have also bought one of these built-in stepper motor and driver seems to be okay at the moment. Initially I had some problem with interference. But the development board was not earthed to the main chassis of the lathe. Switched mode power supply and I suspect coupling capacitors caused the potential of this board to fluctuate. As there are Opto couplers everywhere. As soon as I earthed the board to the lathe all problems went away..

  • @william5694
    @william5694 Рік тому +1

    With a little legwork you could probably source a replacement board; giving you a spare servo for the shelf.

  • @martintanjung5540
    @martintanjung5540 Рік тому

    Whhen dealing with power circuits from a random chinese manufacturer, I usually swapped the power related capacitors with Japan made capacitors, that usually helps prolong the device and made it run cooler...

  • @neonone9164
    @neonone9164 Рік тому

    Love ur diagnosis method, very methodical, logical and we'll thought out

  • @GeoffTV2
    @GeoffTV2 Рік тому +1

    I've no idea if you've made a good decision. What I do know is you did what I would have done. Hope it works out. Thanks for all the great content.

  • @mal6232
    @mal6232 Рік тому

    @ 9:00 - 9:15 Looks to me like liquid damage and corrosion around the encoder connector and the power in connector on the main board.

    • @Clough42
      @Clough42  Рік тому

      I think that's just flux from hand-soldering.

  • @leslierhorer1412
    @leslierhorer1412 Рік тому

    Mine also failed after only 5 months. The difference is, mine did have the green LED lit, but the shaft was not locked and would not rotate. Fortunately, when I disassembled the motor mount, IO found a loose connection. It allowed enough current to pass to light the LED, but not enough to drive the spindle. Tightening the red power lead fixed the issue. Phew!

  • @billh308
    @billh308 Рік тому +2

    Since when do ST's go bad? I'd say it was a safe bet to buy the same. I'm glad you took out the thermal camera, you watch Northridge Fix too?

  • @StevenCookFX
    @StevenCookFX Рік тому

    I have the clearpath servos. They are working excellent. you do not need a converter cable and the diagnostic software has built in ability to not only monitor but tweak performance. It is so good that one of their techs who remotely was helping me discovered that I had the wrong coupler. The coupler I had on my Z axis was a spring type you typically use for a 3d printer. I changed it out for the correct one per their recommendation and it cured the issue I was having. $99 servo is ok for some things however I would gladly pay 300 for something that has great support and is local so if it breaks down I can get it replaced easily and quickly.

    • @DarronBlack
      @DarronBlack Рік тому

      Clearpath is great for single motor applications... or mechanically isolated axes. I was disappointed twice over when we tried to use Clearpaths for my son's 3D printer build. First, no support for gantry configurations with two motors on one axis. You have to disconnect one mechanically and tune with one side only, save that tune to the other motor as well, and hope the mechanical system isn't too different when both are connected together (and it definitely is quite different). Crappy. Second, our original design was a H-belt configuration where two motors sat on the edge of the machine and drove X&Y without any heavy motors on anything moving. That was a disaster as even a 3 hour support call with Clearpath trying to tune it we could never get that to work. The motors, being mechanically coupled in that configuration, just fought constantly. So, my "let's use servos" was a huge mistake. Eventually, we got the gantry config more or less working... but it still has wavy effects in the print with occasional mild oscillations due to not being able to do a proper tune.

  • @3dartstudio007
    @3dartstudio007 Рік тому +4

    I'm just amazed. In the 70's and 80's the board to drive such a motor would have been very large and weigh a lot with some big semiconductors and heat risers. It's incredible how far we've come in the last 30 years. Thanks for the tour!

    • @justaguycalledjosh
      @justaguycalledjosh Рік тому

      *40-50, it's still crazy to think we're almost done with a full quarter of the 21st century.

  • @ericblenner-hassett3945
    @ericblenner-hassett3945 Рік тому

    To answer the final question of the video, yes, depending on the viewer's perspective of this video and either case may not be a bad thing. To raise more questions, if you have worked with STM32 micro controllers that work with Arduino programming software, there is a trick to copy ( some, not all ) ICs that may not work. It will require removing a ' known working ' one and placing it into a microcontroller board to do the copy, put it back and ensure it still functions. Not recommended by any view as it does not work if there is read protection on the particular microcontroller and can cause the working one to fail.

  • @mtbmike
    @mtbmike Рік тому +2

    great content man, love how diverse your machining videos are.
    I think you took the correct path, I personally do something similar with my projects.
    Keep up the good work.

  • @stephencase5160
    @stephencase5160 Рік тому

    That was an interesting postmortem, and well explained. I liked the idea of using the thermal camera.

  • @stephenjohnson6841
    @stephenjohnson6841 Рік тому

    Great content as always! Thanks again James!

  • @alexwbakker
    @alexwbakker Рік тому

    I noticed in the background that if you swap your water heater for a tankless one, you can probably fit another tool in the garage. That's the only meaningful contribution I can make to this detailed EE focused video.

  • @phildegruy9295
    @phildegruy9295 Рік тому

    Good job on the explanation of the circuitry. I have run into this in the past with servos/steppers and various other electronic equipment in industrial automation situations. The stepper is printed with a very clear 24-36Vdc min-max power input range. You mention the instructions say something about 48v input an are feeding it with 43 volts from a 48 volt supply. That would be incorrect. You should always stay within the range printed on the servo for power input. The new servo will work awhile and quit again as the 43 volts you are feeding it with is more than +10% of the 36 volt max.A lot of stuff, especially cheap stuff can't really tolerate any voltage more than a volt above the max printed. Put it on a 24 volt supply and turn the supply up to 26 if you want and the stepper should be much happier.

    • @kermitfrog1897
      @kermitfrog1897 Рік тому

      @Phil Degruy You are correct. I have one of these motors and the manual states: "24-36 volt recommended. Please leave reasonable reservation for voltage fluctuation and back-EMF deceleration." I'm guessing the 48v is the max when you add power fluctuation and back-EMF to the supply voltage. The question is, Would the compromise in performance using a 24v vs 36v supply be enough to prevent the motor in the ELS application from keeping up? My lathe is similar to James, and my design uses pulleys and the lathe gearbox to gear the leadscrew down while maximizing motor speed for more torque. I wonder if this setup would keep up at 24 (or 26)volts ?

    • @phildegruy9295
      @phildegruy9295 Рік тому

      @@kermitfrog1897 I'm not well versed in the engineering design for steppers, I usually just fix the broken systems and turn the voltage back down to within ratings or recommend installing a larger stepper/servo if it is proven to be under powered in production. Can't really tell you for sure in yur case, but I'm thinking if your torque requirements are somewhere in the middle of the steppers torque range it would be fine. Torque is generated proportionally to the winding current. Stepper motor driver supply voltage does have an impact on how much torque the motor can output. As a stepper motors rpm increases, the available torque output decreases. The stepper motor datasheet will sometimes have a rpm vs torque curve graph. Usually it will have a torque curve for a motor supply voltage between 24 and 48 volts. The higher voltage will have a better torque curve. However the nameplate rating of the stepper motor with the all in one integrated drive electronics should not be exceeded by more than 10 percent and ideally kept within the range on the nameplate. You can turn up most 24 volt supplies to about 28 volts and still be under. I just know from experience that 26 is usually the sweet spot on a lot of things I worked on. In James's case I think the buck converter needs some time to saturate the coil and begin working properly which in turn feeds an excess voltage to the 3.3v regulator that has a max of 12 volt input if just for a fraction of a second.

  • @TomDetka
    @TomDetka Рік тому +4

    The only issue I see here is you didn't say you bought 2. Put one in and keep one as a backup. For low cost mission critical parts like this I always try to keep at least 1 extra on hand so I can get back up and running ASAP then order the next spare with a little bit less pressure to have it right now.

  • @zaidhussain5206
    @zaidhussain5206 Рік тому

    Thank you for sharing this video, you did the right choice to save time & effort, wish you good luck.

  • @darrellsharrock3859
    @darrellsharrock3859 Рік тому

    The design of the power circuit for the processer was fine and the caps were good so I think you just had a unfortunate processor failure. If it happens twice of course, time to upgrade, as logic dictates. You don't need captain obvious then 😊. I'm new to your Chanel and I must say, what a elegant solution you created. Having rotation speed feedback, nicely done. I am an admirer.

  • @Shocker99
    @Shocker99 Рік тому

    Leadshine is Chinesium. But named brands are about $1000 per axis, for both the servo and servo drive. I've been lucky enough to have used them all. I've enquired with Leadshine during the shortage, but they lack features of name brands versions. Most important to me is STO, which i think is important to have for something like a powerful servo.
    In the hobbyist space, unless the project was critical then i would also purchase Leadshine. But i would put all of the safety features on the project to mitigate the not as safe as it should be (as i require) servo.

  • @Sapper21b10
    @Sapper21b10 Рік тому +7

    If it's not broken, don't fix it. If this one drops you can upgrade. With the way tech goes it'll probably be smaller and have more power by the time that one farts and let's the smoke out.

  • @dripfreefpv9695
    @dripfreefpv9695 Рік тому

    Im still using my itty bitty dual flexi extruder on my makerfarm I3v. Im a big fan of your work.

  • @wizrom3046
    @wizrom3046 Рік тому

    I'm not sure if you are aware, but these Nema style motors heatsink into the aluminium mounting bracket.
    Using a plastic mounting bracket has almost certainly caused the motor to run hot.
    Excess heat is also a common cause of microcontroller failure.
    I'm not saying that is definitely the cause this time, but a proper aluminium mounting bracket will greatly reduce vibration, heat, and is just a great deal more professional way to do this.
    I would probably have run the same type of cheap motor again, but would never have used a plastic mounting bracket on a Nema style motor...

  • @campbellmorrison8540
    @campbellmorrison8540 Рік тому +1

    So how do you find those glasses, I have been looking at the same thing that is popping up on my FB all the time. Im in New Zealand so by the time I get it here its not as cheap as I suspect it would be in the US so Im a little hesitant having been bitten by some previous adjustable glass's I purchased that were useless. I do like the look of these and I assume I can fit them onto my prescription glass's and they dont fall off etc. Any suggestions/recomendations

  • @donepearce
    @donepearce Рік тому

    Good choice, but maybe you should have bought two so you have a ready spare. And in refitting, I would definitely have turned that printed bracket over so it can pull back straight again. As for fault finding with a thermal imager, that was a game-changer when it became available. If you have time, save the thermal image of a good working unit for comparison when there is a failure.

  • @injoelsgarage3934
    @injoelsgarage3934 Рік тому

    James you did the right thing nicely done!

  • @un2mensch
    @un2mensch Рік тому

    That seems like the typical failure mode of an STM32 MCU when subject to transients 5V, indicating a probable weakness in the circuit design. It would be interesting to get a trace of each of the pins (on a working servo) during normal operation to find the culprit.

  • @OnHoldAt50
    @OnHoldAt50 Рік тому

    A man after my own heart. Skip the schematic - this stuff is all the same, just dive in and a bit of logic, problem solved. You and me are the people everyone needs the day the SHTF. Great presentation sir. I was thoroughly entertained.

  • @kurtbilinski1723
    @kurtbilinski1723 Рік тому

    I LOL'd at you shaking your finger at the lathe door :). Based upon your Clearpath review and my own research, I bit the bullet and bought them for my future CNC router. What decided it for me wasn't so much the hardware, but the apps. The thought of buying something needing sw configuration from China just seemed ripe for disappointment.

  • @byronwatkins2565
    @byronwatkins2565 Рік тому

    Occasionally, a chip capacitor to bypass internally generated (

  • @cyloncenturion4528
    @cyloncenturion4528 8 місяців тому

    This servo requires a damper. You can do a test - connect an oscilloscope to the power bus of the servo driver and watch the voltage spikes when changing direction or high accelerations.
    I connected a clone of this servo - ihsv57-30 through a 3:1 gearbox to the longitudinal feed of the lathe. I got a problem - the Fujitsu power supply went into error. The reason is the EMF that occurs when stopping at 3000 rpm is more than 10V. It was added to the supply voltage. As a result, either the servo drive went into error or the power supply. I put together a dumper circuit from the GeckoDrive website - it was a good solution.

  • @LordOfTamarac
    @LordOfTamarac Рік тому

    It would have been cool to start with the clear path option, but I understand it’s easy to advocate on the Internet for buying the highest quality thing. Then you go back to your Amazon cart and hit the check out button on the $35, 10 insert, three boring bar combo kit.

  • @gabrielenitti3243
    @gabrielenitti3243 Рік тому

    great in depth look! It really hurts having to bin an entire servo just because of a 3$ IC. Even reselling for parts wouldnt be economically viable. We should require for stuff to be easily repairable. Manufacturers should provide firmware blobs at least, so one can just replace and flash a new IC without the whole thing go to waste.

  • @jasonestes8954
    @jasonestes8954 Рік тому +2

    I too have this same servo and all the components to build an ELS, I simply have not had the time to put it all together yet. I hope this new motor lasts longer than a couple years as well. Have you considered adding stops to the ELS to make threading to a shoulder easier?

  • @MD_Builds
    @MD_Builds Рік тому

    Id dump the firmware from the working servo, and replace the micro on the dead one. Then reflash it with a stlink. I should also mentions stepperonline are really good. It might even be possible to get the firmware bin from them if you ask really nicely.

  • @molak34
    @molak34 Рік тому

    In most cases when you overload/overheat an AMS1117 they fail closed.... Meaning that the let the full voltage go trough and fry everything.

  • @maharbatc
    @maharbatc Рік тому

    I also bought that for mi x, y axis on a cnc and works smoothly, yep 100 dollars for replacement is great, cheaper than a day or days of work, I bought a 400w version for my z axis

  • @snappers_antique_firearms
    @snappers_antique_firearms Рік тому +1

    Is it possible to cut rifling using the electronic lead screw? I collect and shoot antique firearms. Every now and then i have to put a barrel liner in a gun. Colts originally had Progressive rifling. so it would start off straight and then progressively add more and more twist. I would love to be able to replicate this rifling. How difficult do you think this would be using electronic lead screw?

  • @donaldelrod9172
    @donaldelrod9172 Рік тому

    good job and great explanation of what's going on.

  • @PhunkBustA
    @PhunkBustA Рік тому

    15:15 cant u extract the firmware off the new one and flash it onto the old one then youll have a spare one if u can get a hold of whatever that chip is

  • @michaellinahan7740
    @michaellinahan7740 Рік тому

    James not wishing to question your choice of motor ... but other ELS builders have quoted using the 3Nm version of the Nema23. Have you ever experienced issues with insufficient power when turning/thread cuttting tougher materials?

  • @AllenCavedo
    @AllenCavedo Рік тому

    Nice video and problem solve. I’d like to know why you put that lead screw servo on the lathe? The lathe already had a lead screw gear system. What does the servo provide? More ratios?

  • @jimix321
    @jimix321 Рік тому +4

    Now you should backup the stm32 memory so you can repair the old one for cheap and use it as a remplacement or for any other tool.

    • @Clough42
      @Clough42  Рік тому +2

      That might be worth playing around with. I suspect the firmware is locked, though.

    • @retromodernart4426
      @retromodernart4426 Рік тому

      @@Clough42 You never know, it's worth checking to see if you can get the firmware and flash it onto a new MCU.

    • @ricande
      @ricande Рік тому +1

      @@retromodernart4426
      The stm32 has tamper-detection erase, if enabled.

    • @jimix321
      @jimix321 Рік тому +1

      @@Clough42 That would be a shame.
      Maybe It isn't as seems to be sold under different brands.
      I hate throwing away perfectly good hardware for small defects like that.

    • @tenlittleindians
      @tenlittleindians Рік тому

      @@ricande Where did you read that? The stm 32 and the boards they live on are currently growing hotter than the Arduino boards.
      The blue pill and black pill boards all use similar chips and can be bought for a couple of bucks. There's many copy chips too but most people are not reporting any major difference with the copies.
      I like the pill boards because I can program them with the Arduino programmer.
      I even tried ChatGPT to write code for the stm 32 chip and it spit out code faster than I could type!

  • @rdyer8764
    @rdyer8764 Рік тому

    Genius!! One very small nitpik... The 9-pin "D" connector is a DE-9. "DB" is a 25-pin connector. Each of the 5 standard D-sub connectors used the letter after the D to indicate the number of pins. :))

    • @Clough42
      @Clough42  Рік тому

      That's interesting. I guess I'm not old enough to have ever seen that. Every supplier I've used markets them as DB9 today.

    • @rdyer8764
      @rdyer8764 Рік тому

      @@Clough42 Man did you hit that nail directly on the head! Yup, I'm old. Our POs were filled in with IBM Selectrics on 4-part carbon paper forms. We came just after the rock and chisel forms. :))

    • @kermitfrog1897
      @kermitfrog1897 Рік тому

      Since when? From what I've seen it was designated DB9 as far back as 30 years ago!

    • @rdyer8764
      @rdyer8764 Рік тому

      @@kermitfrog1897 I mis-spoke. The letter isn't the number of pins, it's the shell size. A full description should list both the shell size AND the number of pins. (And of course the gender, male or female pins.) e.g. a DE-9 is what we commonly see for a serial interface connector with 2 rows of pins. But the E shell size was also commonly used as a video connector where it was a DE-15 with 3 rows of pins.

  • @Otakutaru
    @Otakutaru Рік тому

    It should be fine for a while for sure. The power delivery looks solid to me. A buck into a linear should be reliable, so the problem was internal to the uP as shown in the video. uPs sometimes come up bad depending on the source

    • @kvechannel
      @kvechannel Рік тому +1

      Maybe the uc faulty is caused by the bad psu circuitry? On the stm32 disco boards the contoller emits no heat at all

    • @Otakutaru
      @Otakutaru Рік тому

      @@kvechannel Well, the fact that theres current through the uC, and thus heat, means that power supply is at least not dead. It could be outputting more voltage and that could kill the stm, so yeah, maybe psu

  • @tenlittleindians
    @tenlittleindians Рік тому +4

    Leadshine was the company that ripped off the stepper drive design from Gecko years ago. They sold them so cheap that Gecko developed an improved design that used programmable chips to slow down the Pirates.
    I wouldn't be surprised if your servo drive was also stolen. That's the world we live in and the Chinese have different ethics than we're used to.
    You may try and contact them to see if you can buy the replacement board without the motor to save a few pennies on a backup motor.

    • @danharold3087
      @danharold3087 Рік тому +1

      Dead on with the Chinese ethic on IP. Looks like a logical reason to stay with a replaceable controller but at $100 a copy it may not be worth it.