-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
LDC1612: additional options #7096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for working on this. We can certainly add new config options, but I think it would be good to first get a feeling for what the total set of options should be and how a typical user will calibrate them. That is, I think we'd want to avoid adding piece-meal options which may unnecessarily complicate the config. Separately, it's been suggested at #6785 (comment) that it may be useful to ignore some amplitude errors if the frequency indicates the probe is far from the bed. (That is, there's no need to be picky about an accurate reading if we know the distance isn't particularly accurate anyway.) Cheers, |
Alas, I can't comment on the overall option set and how the finished EDDY probe should look.
I can automate this and somewhat suggest as the default. The only caveat is that currently this is a separete procedure, with required save config between LDC current calibrate and Z map. I can just update PR with that. I do not want to complicate the planned homing rework/refactor. About small features, what I can think of:
Mmm, it seems to me that it would be hard to do with the current code and/or homing implementation. Thanks! Footnotes
|
95f4bf5 to
355922c
Compare
|
I removed the high current from the config reference and incorporated it into the drive calibration routine. Otherwise, I guess the deglitch setting can be removed for now until someone can prove its usefulness. Thanks. |
355922c to
18f8798
Compare
|
Alas, I do not have precision equipment to verify the numbers https://www.ti.com/lit/an/snoa950/snoa950.pdf (Weird drops of current or if there are no significant changes - skipped)
So, I would adjust the thresholds slightly further. |
On my cartographer with LDC there is a low voltage amplitude with current default values. Which makes homing often not possible. Because sensor reports aplitude errors. Without high current drive my calibrated current: 29 With high current drive: 19 Which roughtly fits within 1.2v..1.8v Under full sensing range ~40..3 mm Signed-off-by: Timofey Titovets <[email protected]>
18f8798 to
43ffe75
Compare
The first patch with the current somewhat necessary. Without it, the carto is practically unusable.
From my oscilloscope probes, it shows low, low-amplitude voltage <1.2v with a calibrated 29 value.
When it is hot, it is worse.
So, I got a lot of:
From raw data on the host, it seems even in this case, it is occasional, so technically, it can be possible to filter it or trigger it later.
High current fixes this issue and is autocalibrated to 19 ~
6 / 31 * 19 = 3.67 mA.The second patch is optional, it is added simply because:

I've seen some strange noise sometimes (like frequency is not stable enough), but I guess it should not affect the sensor.
All data that I'm able to get from the sensor are strongly <3.15MHz (~3.1 at Z=0).
(Closer -> higher, hotter -> higher).
We can technically disable amplitude errors, or at least I think - I will add a patch with some error feedback somewhere.
Because it is really not an obvious error in the current setup.
Also, it can be good to get the low/high amplitude status value, but I was not really successful in doing so from Python.
So, I did not invest time here.
Thanks.