Duet3D 1HCL - Closed Loop Controller Beta test
-
@lirwin17 today I descided to do some more maneuvers... IE home the axis, move the axis around on it's travel and I found something strange... the axis homes fine, completes the V31 maneuver and stops around the safe distance traveled. Then when I tell it to move in a positive direction the drive makes the stepper move in the opposite direction intended.... lol... one step forward... two steps back...lol.. and the next question what should a homeall.g look like
-
@lirwin17 Good afternoon Louis, today I decided to put it back in open loop and try a test print, after all the changes the first thing I wanted to do is a height map and a bed leveling... I put my microsteps back to 32... now that I got that part right.. "facepalm and long sigh" I put the B+ wires on the A+ terminal and the A+ terminals on the B+ terminal and did a homing maneuver on both axis with good results.. the axis is moving back to the home position and moving in the correct direction. Finally getting this going.
50_2021-10-04_10.11.00 X axis manuever.csv
51_2021-10-04_10.13.33 Y axis manuever.csv I'm going to mess with the home all to try and get everything working correctly... fingers crossed
So here is my Home all config currently:G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-605 Y-605 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-605 Y-605 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X50 Y50 F3000 ; Move to a known-safe position
M400 ; Wait for the move to complete
G4 P500 ; Wait for the motor to settle
M569 P50.0 D4 ; Turn closed loop back on X axis
M569 P51.0 D4 ; Turn closed loop back on Y axis
M569.6 P50.0 V31 ; Perform the tuning manoeuvres for a quadrature encoder X axis
M569.6 D51.0 V31 ; Perform the tuning manoeuvres for a quadrature encoder Y axis
G1 X0 Y0 ; Move back to X0
G1 X10 Y10 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
This does not work.... it just sits there. any advice here woud be great... making great headway -
@dc42 I'm well into my first print in closed loop and all is well, I played with that tuning procedure a bit and after I had tried a few times to enter the PDand I variables according to the examples, the X axis it wouldn't perform the homing maneuver so I just put it back the way it was and I am happy with the amount of noise, accuracy, and temp of the motors during operations... so all in all a success. Looking forward to the next update, advice on homeall.g and any streamlining/improvements that have been made. let me know if there is any procedures you would like me to try.
-
@supertb1 we hope to release firmware 3.4beta5 shortly, which includes some improvements to the closed loop tuning mechanism. For details, see https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x-Beta-&-RC#reprapfirmware-340beta5.
-
@dc42 Just an update, I have beta 5 installed and am in to my 3rd three day print and there is no sign of any missed steps or shifting of any kind, my prints are holding a tight tolerance and I am very happy with the results... how long before I can buy another set of boards?
-
@supertb1 thanks for the feedback! We will have information about the production run once the shcedule is confirmed.
-
I would like to give a quick thank you to everyone involved with the development of the 1HCL-Boards and the closed loop plugin.
Running my printer in closed loop is a real quantum leap for me. I can now comfortably print at speeds and accelerations that were really pushing the limits in open loop. In addition, the new level of reliability enables me to run larger print jobs for longer unsupervised periods. My printer was already very tough and reliable, but adding closed loop control fixed the last weak link in the chain.
I am eagerly awaiting further developments and improvements. For example, having linear encoders that measure the head's position on the axis independent of belts and pulleys would be the ultimate closed loop solution. But I am digressing.
Good job everyone!
Cheers Max
-
@dc42
Hey
While you're printing with this pieces of gold, I ask myself where I can buy this board or how I can also test it?I'm producing custom extra large toolchanger, so it would be that helpful!!
Cheers
Richard -
@maxgyver what kinematics does your machine use? We've experienced some issues converting one of our CoreXY machines to use the 1HCL board and motors+encoders; and we don't know whether it is as issues with this particular machine+motors+encoders or a more general problem with closed loop control of coupled motors.
-
@dc42
I have cartesian printers.
4 y motors
2 y motors
1x motorX and Y working with a closed loop system would be nice.
Cheers
Richard -
@T3P3Tony is there any news on these boards? Still keen to get 2
-
@dc42 My Kinematics are IDEX (Dual Markforged aka Haq XY) with dual Y-Motors.
; Kinematics M669 K11 Y1:1:0:-1 ; Matrix mapping for Axis - X:Y:Z:U
So far, I had no mayor issues converting to closed loop.
-
A curious european company wanna try 1HCL.
Please provide us some information for further planning.
We need the 1HCL but we can´t wait another half a year with testing etc.KR
Richard -
@gruna-studio a first small production run is currently under way.
-
@dc42
Nice, Can I pre order some?I need to install the 1HCL with an external encoder because my machines have a double shaft on x axis.
So I can do a documentation how to place the magnetic encoder install on this board... the documentation says, that for this there will be a description in future.
Let me know.
Cheers
Richard -
@gruna-studio so far the best results we've seen have been using motors with built-in encoders. We're also testing some motors with external encoders, but we've had some difficulties with one of them.
-
@dc42 I’d like to order some as well when they become available. Please let us know if we can pre-order.
Also, could you describe in more detail the issues with closed loop corexy that you mentioned?
I would be willing to help beta test the corexy functionality if that would help.
Thanks and look forward to the boards,
Tristan -
@dc42
Ok I understand.
For me it's no option to change the style of the x axis (double shaft nema17) I must work with an external encoder.
I'm happy to hear that duet will sell this board in the next months.
Would like to have a few of this little fun maker.
Please give us a sign when we can order some.
Thanks a lot
Richard -
The first small production run of the EXP1HCL is currently undergoing testing by our assemblers. We should know more on Monday.
-
@dc42
Sounds great!!!
Thanks for updating usCheers
Richard