High Speed Closed Loop Stepper Motor + HBS57 Stepper Driver

This Section is for users to discuss hardware

High Speed Closed Loop Stepper Motor + HBS57 Stepper Driver

Postby zymurgy42 » Wed Apr 25, 2018 3:16 pm

I purchased per subject from Banggood: https://www.banggood.com/High-Speed-Clo ... rehouse=AU

Never thought I would get myself into such a knot ;)

Issue is that with UCCNC, UC300ETH into UB1 board, one drive connected as a test (on bench), I can't get it to move?

I'm pretty sure they should work with UCCNC as the feedback for position is handled by the controller, all UCCNC supplies is STEP / Direction.

Setup as Y axis with Step (Pin 4) and Dir (Pin 5) on port 2. Using differential connection as recommended in the UB1 manual.

Maybe it's my poor understanding of the config. UCCNC manual under Steps per unit has me a little baffled:

"Steps per Units: Which is a numeric value and means the output pulses per one Unit of mechanical
travel on the machine axis. The correct value depends on the resolution of the motor and motor
drive in case a stepper motor and drive is used or on the encoder resolution if a servo motor and
drive is used to drive the axis."

Do I treat the drive just like a regular stepper (first part above), then it would be 200 steps per (1.8 degrees), Ballscrew will be 5mm pitch. Have selected 2000 Steps/Rev per label on Drive. Therefore 2000 / 5 = 400 steps / unit. If the latter, stepper has a 1000 unit encoder.

One thing that can get some 'erratic' movement from drive is to select a lower Kernel frequency and restart UCCNC. 25 / 50 and 100 get some activity and it certainly is NOT correct. But at 400kHz - ziltch.

I'm using version 1.2047 of UCCNC.
zymurgy42
 
Posts: 33
Joined: Wed Jan 04, 2017 2:42 am
Location: Melbourne, the most liveable city!

Re: High Speed Closed Loop Stepper Motor + HBS57 Stepper Dri

Postby dezsoe » Wed Apr 25, 2018 5:21 pm

The 400 steps/unit is OK for 2000 steps/rev and 5mm pitch. The HBS57 manual sais that the max. pulse frequency is 200kHz (page 2, Pulse Input Frequency), so it will not work with 400kHz. 200kHz is on the edge, so use 100kHz. Check the polarity of the differential cables.
dezsoe
 
Posts: 492
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: High Speed Closed Loop Stepper Motor + HBS57 Stepper Dri

Postby ger21 » Wed Apr 25, 2018 5:56 pm

Is the motor wired to the drive correctly?

The HBS57 manual says that the max. pulse frequency is 200kHz (page 2, Pulse Input Frequency), so it will not work with 400kHz. 200kHz is on the edge, so use 100kHz.


I have a Leadshine AM882 with a 200Khz max pulse frequency, and it actually runs better with UCCNC set to 400Khz, but ymmv.
Gerry
UCCNC 2017 Screenset - http://www.thecncwoodworker.com/2017.html
ger21
 
Posts: 1032
Joined: Sat Sep 03, 2016 2:17 am

Re: High Speed Closed Loop Stepper Motor + HBS57 Stepper Dri

Postby beefy » Wed Apr 25, 2018 10:06 pm

ger21 wrote:Is the motor wired to the drive correctly?

The HBS57 manual says that the max. pulse frequency is 200kHz (page 2, Pulse Input Frequency), so it will not work with 400kHz. 200kHz is on the edge, so use 100kHz.


I have a Leadshine AM882 with a 200Khz max pulse frequency, and it actually runs better with UCCNC set to 400Khz, but ymmv.


My guess for that would be that you are getting better resolution, and therefore pulse timing at 400Khz. Even when set at 400Khz, the controller would only give out more than 200K pulses/sec if it was told to do so.

Hope I got that right :)
beefy
 
Posts: 186
Joined: Mon Sep 05, 2016 10:34 am

Re: High Speed Closed Loop Stepper Motor + HBS57 Stepper Dri

Postby cncdrive » Wed Apr 25, 2018 11:00 pm

The problem with 400kHz vs. 200kHz is that with 400kHz the time base of the pulse is 1/400 000 = 2.5 microsec and that is the total pulse length and a pulse have to have high and low stages, so with a 50% duty cycle the high and low stages will be only 1.25 microsec long which is pretty short and only high speed optocouplers can throughput this short pulses.
If the kernel freq. is 200kHz then the pulse length is double than that 5usec and with 50% duty cycle it is 2.5usec per signal state.

Eventhough if the stepping speed is slower than the kernel frequency then still the time base will be the 1/kernel freq., so the pulses will be not longer just because the actual stepping frequency is lower, because the frequency could run up to the kernel frequency any time and then a longer pulse would not fit in.

So, you should consider the max. step/dir frequency of the drive when selecting the kernel frequency in the CNC control software.
You should not select a higher kernel frequency than what your drive can handle.
cncdrive
Site Admin
 
Posts: 2104
Joined: Tue Aug 12, 2014 11:17 pm

Re: High Speed Closed Loop Stepper Motor + HBS57 Stepper Dri

Postby zymurgy42 » Thu Apr 26, 2018 3:32 am

I'm certain the drive POWER is correct, will see if I can verify 100% that the ENCODER is correct. Main issue is that the HBS57 I have is the CHINESE version. Finding documents is difficult.

Motor has this part number on it: OK57STH82EC-1000. This page (https://world.taobao.com/item/549696994731.htm) has some specifications, and I have wired the ENCODER per it's specs.

BUT, I think I have discovered an error. Comparing the SYMBOLS of the power colours to the encoder symbols, we see that Yellow refers to the EA- wire and that GREEN refers to EA+.

wiring-OK57STH82EC-1000.JPG
OK57STH82EC-1000 Label on Drive


encoder.JPG
Encoder Diagram from Website.


driver.JPG
Wiring of the driver.


I ASS U ME that if I ask drive to go somewhere and the encoder is telling it a lie, it may behave erratically :shock:

Gordon.
zymurgy42
 
Posts: 33
Joined: Wed Jan 04, 2017 2:42 am
Location: Melbourne, the most liveable city!

Re: High Speed Closed Loop Stepper Motor + HBS57 Stepper Dri

Postby zymurgy42 » Thu Apr 26, 2018 5:58 am

My assumption was correct.

They hum along nicely now......

Thanks to all for your input.

Gordon.
zymurgy42
 
Posts: 33
Joined: Wed Jan 04, 2017 2:42 am
Location: Melbourne, the most liveable city!


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

cron