makerbase-mks / MKS-SERVO42B

MKS SERVO42B is 3d printer closed loop stepper motor NEMA17 MKS SERVO42 developed by Makerbase that prevents losing steps. CPU is STM32F103C8T6 ARM 32-bit Cortex™-M3 CPU Core,72 MHz. Magnetic encoder is Allegro's A1333LLETR-T Contactless 0° to 360° angle sensor IC ,12bit .This Project open source hardware and code,support platformio build and upload firmware...
https://www.aliexpress.com/item/33032696338.html?spm=a2g0o.store_home.productList_8356958.pic_1
GNU General Public License v3.0
166 stars 70 forks source link

Incorrect current setting in the menu #7

Open lonelymyp opened 4 years ago

lonelymyp commented 4 years ago

Confused the name of the operating current and the holding current.

If a current of 100 mA is selected in the menu, a holding current of 100 mA is written to the memory. And the operating current is 200 mA. current

Menu items are incorrectly renamed. image

In the PID procedure, which calculates the current to correct the position, both current values are used, holding current and working. image Therefore, even without load, the current exceeds the selected current in the setup menu. And under load, the current is even greater.

makerbase-mks commented 4 years ago

Ok, thanks for your feedback, we will check it and confirm ... But there is actually a problem, if there is no current, if the load is large, the motor will not be locked ...

lonelymyp commented 4 years ago

Why is there no current? If I set the hold current to 200 mA and the operating current to 500 mA, then the motor is always energized for at least 200 mA. If the shaft is rotated, feedback is turned on and high current returns the shaft to its place.

dzid26 commented 3 years ago

Yes, it was very confusing. I changed that settings menu.
https://github.com/dzid26/MKS-SERVO42B/commit/943960d989040feb27566cbd7193a4c57d3e349e SmartSelect_20201123-120057_Gallery SmartSelect_20201123-120146_Gallery Much more usable that way.