Anybody wants a stepper motor analyzer?
-
Hey
Is it possible to indicate layer shifts with this analyser?
Richard -
@gruna-studio, that a good question. I guess it depends on the cause. E.g.
Intermittent wiring connection - It detects idling and electrical stepping error events so will probably detect.
Low current/torque due to an high speed - it will probably diagnose it in the current vs speed histogram page.
Mechanical binding - I am not sure about that. May need to research how that condition is reflected on the electrical signals. Also, the analyzer measures only current, monitoring also the stepper voltage may help here.
-
@zapta said in Anybody wants a stepper motor analyzer?:
@dogma2k ,
- Do you have the same problem on all four analyzer or just a few?
Yes all four analyzer have the same problem.
- If you power the analyzers from a power supply on your printer, I suggest, as an experiment, to power one of them from a regular USB 5V charger and see if the problem persists.
I'll try, but don't have much hope because I've already built a 24V / DC to 5V / DC power supply into the case
Or could it be because of the APPLICATION.uf2 file I used from the temp folder in github?
-
@zapta and everyone else who has an idea
Today I had some time to deal with the problem a little more intensively.The result is that it doesn't matter how I supply the analyzer with voltage
1 analyzer -> everything OK (if stepper on or off)
2 Analyzer -> everything OK (if stepper on or off)
3 Analyzer -> if the stepper is off then everything is OK, if the stepper is on it does not immediately become sluggish but after approx. 10 seconds all of them are no longer really operable
4 Analyzer -> if the stepper is off then everything is OK, when the stepper is on it is immediately sluggish and inoperableThe combination of which analyzers are used together does not matter, it always gets the above result
When I use two different voltage sources, the above result counts.Are there any influences that can arise if more than 2 are switched on at the same time. Diodes on each of the + 5V / DC wires of the Pico may
-
@dogma2k, that sounds bad. Everything should work.
- Did you make any hardware changes to the board?
- Are you the exact same components in the original schema?
- What TFT module are you using?
- What version of the firmware UF2 file do you use?
The original schema is here
https://github.com/zapta/simple_stepper_motor_analyzer/blob/main/kicad/stepper_analyzer.pdfThe original firmware is here
https://github.com/zapta/simple_stepper_motor_analyzer/releases/download/F1.0.4/APPLICATION.uf2If you want, you can send me one analyzer (to the US) and I will look at it and send you back.
-
@dogma2k is your PSU powerful enough to supply current to all 4 Picos and LCD screens? Colour TFT screens draw quite a lot of current.
-
@dc42
I hope so. Both PSU have 5V/DC 5A -
Anyone have an idea? Something like soldering a diode?
It would be a shame if I had to take it all apart again because it doesn't workPS it may be that an analyzer is defective (or the engine). Yes, I know I didn't zero it
-
@dogma2k said in Anybody wants a stepper motor analyzer?:
Anyone have an idea?
What cable or cables are you using to power them?
A lot of cheap USB cables are really for data only and have ludicrously thin cores for the power connections, causing serious voltage drops as soon as you try to run anything that takes significant current.
I've even had ones advertised as "high current" / "Heavy duty" that will not run USB devices that need 200 - 300mA.
Oddly enough, the early (typically cream coloured) ones I have work fine!
-
@dogma2k, can you swap the connections of two analyzers to see if the problem follows the stepper or the analyzer?
BTW, some of the artifacts, but not the noise you marked with arrows, are due to the screen being refreshed during the camera's exposure. You can pause the analyzer (using the || button at the bottom) if you want to avoid it.
-
@rjenkinsgb
At the moment, the power supply comes from a 5V / 5A power pack with 2x1mm² wires to the analyzer housing. In the housing, USB cables are used to distribute to the analyzers.The cables to and from the analyzer for the motors are LIYCY-OB 4x0.5mm² (i.e. shielded cable)
However, I think that the cross-section of the eagle of the USB cable is sufficient. Because the problem only occurs when more than 2 analyzers work at the same time with active engines (with 3 it gets worse over time)
However, I noticed that if I press a button longer with 4 active analyzers, the display then reacts. Just not with the analyzer at the top left, it even switches back and forth on its own
-
@zapta said in Anybody wants a stepper motor analyzer?:
@dogma2k, can you swap the connections of two analyzers to see if the problem follows the stepper or the analyzer?
I can at least swap the analyzers to see if the noise moves with it. But only tonight
BTW, some of the artifacts, but not the noise you marked with arrows, are due to the screen being refreshed during the camera's exposure. You can pause the analyzer (using the || button at the bottom) if you want to avoid it.
That with the II is a good tip.
Another question, I just have the APPLICATION.uf2 from https://github.com/zapta/simple_stepper_motor_analyzer/tree/main/temp
taken and copied. Is this still a beta version or is it already stable? -
@dogma2k , I am not sure what is in that temp dir.
This is the latest stable release of the firmware
https://github.com/zapta/simple_stepper_motor_analyzer/releases/tag/F1.0.4
-
@zapta
So the artifacts with the analyzer. So I can actually rule out everything else.
If I disconnect the stepper with the noise and only have the 3 other analyzers in operation, there are no problems (regardless of whether the steppers are on or off).
Did I possibly break a current sensor while soldering or simply get it defective?P.S. Thx for the link
-
@dogma2k, it's not clear from 'only have the 3 other analyzers in operation' if you tried to monitor the motor that had noise with another analyzer.
Please try this two cases:
-
Operate the analyzer that gave you noise with another motor in and see if you still see noise with the new motor.
-
Operate the motor that gave you noise with another analyzer and see if you still see noise with the new analyzer.
This tell us if the problem is related to the motor and its driver or to the analyzer.
-
-
@zapta
Sry I think the google translator didn't translate it the way I wanted it to.I swapped the analyzer with several analyzers and each time the error (the artifacts) moved with it.
So no matter which stepper or driver is connected to this one analyzer, it always shows artifacts.In addition, I shut down the analyzer with the artifacts and since then there have been no more delays in the other 3 analyzers during printing.
I hope google translates it now understandable
-
@dogma2k said in Anybody wants a stepper motor analyzer?:
I swapped the analyzer with several analyzers and each time the error (the artifacts) moved with it.
So no matter which stepper or driver is connected to this one analyzer, it always shows artifacts.That sounds like some kind of short circuit between the motor side connections and the internal electronics - a faulty current sensor IC or some kind of bridge or shorted pins on the circuit board.
Can you check with a multimeter (on resistance) between the motor connector pins and USB ground, to see if there is an obvious cross-connection, with all cables disconnected?
-
@dogma2k, the blue channel is made of this connector, U2 current sensor, capacitor c2 and the CHB input of the Pico. I suggest to inspect it carefully for anything strange.
Also, when you swap motors and analyzers, if the cables stayed with the same analyzer, I suggest to inspect the cable and connections as well.
-
The cables were always different when I exchanged the analyzer.
In the picture you can see from the red arrows how I rotated the analyzers (all) and each time the noise moved with it.!!This is an old image and is for illustrative purposes only!!
So start top left -> bottom left -> bottom right -> top right. Thus, the possibly defective analyzer was connected to all possible cables and motors.
As I said, the error has migrated and did not remain at the top left.I'll probably just get a new analyzer. Since I find it strange that if the possibly defective analyzer is not connected, all the other three analyzers work without problems
-
@rjenkinsgb
I thought about that today but didn't find the time.
I'll probably get another analyzer. Then I can calmly check the "possibly defective".