Anybody wants a stepper motor analyzer?
-
@adamfilip I suggest you read the thread above
-
The second iteration of the Bluetooth version went out to JLCPCB. They install all the SMD parts except for the bluetooth module and the two current sensors. Still working on it but the core functionality already works. This version doesn't need external power, just connection to the stepper wires.
-
Hi.
I am planning to sell a small quantity of this analyzer in Japan for CNC users.
I found a cheap current sensor CC6920BSO-5A made in China at LCSC and tested it. LCSC Part No: #C2880430
This sensor also drive in 3.3V.
With this, the current sensor can also be mounted on the board in JLCPCB.I want to share you the test result.
There appears noises on the signal. But I think It is not a problem to get rough forms of waveform.
movies:
https://youtu.be/GVSU9TVF_7k
https://youtu.be/dTQMCF_6i5k -
@nyaru, that's very useful, especially the availability from JLCPCB. Thanks.
I have hard time downloading the datasheet from LCPCB. Do you happen to have it?
If the sensitivity of this chip is lower, e.g. 200mv/A instead of 400mv/A, it can be compensated in firmware.
Do CNC users typically need higher current range than 3D printers?
Edit: The firmware does basic signal filtering which reduces the impact of the noise. https://github.com/zapta/simple_stepper_motor_analyzer/blob/main/platformio/src/acquisition/analyzer.cpp#L323
-
I have hard time downloading the datasheet from LCPCB. Do you happen to have it?
You can see it from another current value sensor page.
https://www.lcsc.com/product-detail/Current-Sensors_Cross-chip-CC6920BSO-10A_C2880431.htmlI already changed sensitivity to 264mV/A in firmware. and it works well.
Do CNC users typically need higher current range than 3D printers?
Yes. Milling and Cutting something in CNC machine need more power than 3D printer. I used 3A stepper motor in my CNC machine.
The firmware does basic signal filtering which reduces the impact of the noise.
Thanks for telling it! This may be the reason why analyzers are less noises than oscilloscopes.
-
@nyaru, thanks for the datasheet link. It does work.
BTW, the design has some support for sensor selection using configuration resistors. May or may not be useful for you.
-
Here is a sample screenshot of a Windows/python client that talks with the experimental BLE stepper monitor and displays the data in real time. In this example the stepper runs on 12V which causes current reduction in higher speed (shown by the arrows). This is reflected in the current graph, the current vs speed histogram, and the oscilloscope view.
The Python client is here https://github.com/zapta/ble_stepper_monitor/tree/main/python . Hopefully somebody can write a similar one for mobile devices.
The probe is powered from the stepper signals and thus can be left embedded in the printer and be connected to any time. Each probe has a unique address which is shown at the upper left part of the picture.
-
@nyaru said in Anybody wants a stepper motor analyzer?:
There appears noises on the signal. But I think It is not a problem to get rough forms of waveform.
Here is a noise comparison between the Alegro ACS70331EOLCTR-2P5B3 (blue) and the TI TMCS1108A4BQDT (yellow). I don't have yet the JLCPCB CC6920BSO-5A sensor to compare, but may guess is that it's similar to the TI.
I tested it by disconnecting the stepper connectors, on the new BLE stepper probe which samples at 40khz instead of 100khz.
The Alegro datasheet says " It incorporates giant magneto-resistive (GMR) technology that is 25 times more sensitive than traditional Hall-effect sensors to sense the magnetic field generated by the current flowing through the low resistance, integrated primary conductor. " such that is needs less gain and thus has less noise.
-
@zapta
Thanks for letting me know.The Alegro datasheet says " It incorporates giant magneto-resistive (GMR) technology that is 25 times more sensitive than traditional Hall-effect sensors to sense the magnetic field generated by the current flowing through the low resistance, integrated primary conductor. " such that is needs less gain and thus has less noise.
It seems that a large part of the problem is the performance of the IC.
I have also built an analyzer with the TMCS1108A4B, but I think the CC6920BSO is noisier.
@nyaru said in Anybody wants a stepper motor analyzer?:
Hi.
I have made the analyzer using TMCS1101A4B.When using the CC6920BSO for an analyzer, it may be better to set LPF stronger.
-
definitely interested to know more. what are the practical uses, etc.? I'm keen to build my own if your production run is over.
-
Greetings, I know I'm late to the thread but I must ask if your still offering the stepper motor analyzer? If you are how do I get in line for one.
In addition do you know if Thingiverse has the STL file for the case. Again thank you for your efforts.
Doc' -
@doc-s, the model for the case is available here https://github.com/zapta/simple_stepper_motor_analyzer/tree/main/3d
I don't provide them but others may do. Let's see if anybody will respond here.
-
@doc-s I have a few of the touch screen version. If you are interested send me a direct message.
-
@th0mpy Hello, I am very interested in one, how, with payment, and shipment?
-
@doc-s I have a small amout of analyzer kits using the CC6920BSO-5A shown here.
@nyaru said in Anybody wants a stepper motor analyzer?:
Hi.
I am planning to sell a small quantity of this analyzer in Japan for CNC users.I sell it in Japan at the following page .
https://nyarurato.booth.pm/items/4025304If you need them with international shipping, you can order them from the web page using a proxy service or by sending direct message to me on this forum.
Payment would be made by PayPal or T/T transfer.If anyone else is interested, please send me a direct message.
-
@nyaru said in Anybody wants a stepper motor analyzer?:
I sell it in Japan at the following page .
https://nyarurato.booth.pm/items/4025304Is it ok to link it in the page below, saying that people can buy it from your site?
-
@zapta said in Anybody wants a stepper motor analyzer?:
Is it ok to link it in the page below, saying that people can buy it from your site?
https://github.com/zapta/simple_stepper_motor_analyzerOf course it is OK.
I hope other sellers will appear for users in other countries, because shipping from Japan is expensive to non-Asian countries.
-
@t-printer I sent you a chat message to discuss further.
-
@th0mpy ,
Greetings and thank you for your reply. I have an I.O. error on my end regarding a direct message. How is that done?
Doc' -
@zapta Greetings and thank you for your reply and thingiverse link.
Doc'