Analog Out weirdness, please help <DYN4 as spindle motor>

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Measurement10
Posts: 68
Joined: Wed Oct 13, 2021 11:58 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Analog Out weirdness, please help

Post by Measurement10 »

tblough wrote: Wed May 15, 2024 10:59 am After all best practices have been employed (twisted pair shielded wire, proper grounds, bypass caps, etc.), you might want to look into a signal isolator:

https://www.amazon.com/Isolator-Insulat ... B09TJTCDQ8
This looks promising...

I was thinking of having an Arduino remap the analog output to RS232 but if this works its a lot easier...
SpacedmanSpiff
Posts: 31
Joined: Mon Nov 09, 2020 6:43 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: oc1c5708fb62-01224202901
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Analog Out weirdness, please help

Post by SpacedmanSpiff »

Ok...so what are the practical effects ? Are you attempting to hit a specific RPM and are unable to do so ? Have you solved the overvoltage alarm when coasting down from above 3000 rpm while using the acorn ?
Measurement10
Posts: 68
Joined: Wed Oct 13, 2021 11:58 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Analog Out weirdness, please help

Post by Measurement10 »

SpacedmanSpiff wrote: Wed May 15, 2024 12:05 pm Ok...so what are the practical effects ? Are you attempting to hit a specific RPM and are unable to do so ? Have you solved the overvoltage alarm when coasting down from above 3000 rpm while using the acorn ?
Yes, i am unable to hit the proper RPM, 10-20% off. I have never had any overvoltage alarms, going from full speed to slow many times during testing, never an issue.
spikee
Posts: 51
Joined: Thu Feb 01, 2024 5:34 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Analog Out weirdness, please help

Post by spikee »

I'm not well versed in centroid. But does not have some kind of compensation so you can just calibrate whatever offset or error out?
tblough
Posts: 3161
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Analog Out weirdness, please help

Post by tblough »

Span and slope adjustments are normally in the VFD.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
cncsnw
Posts: 3904
Joined: Wed Mar 24, 2010 5:48 pm

Re: Analog Out weirdness, please help

Post by cncsnw »

I'm not well versed in centroid. But does not have some kind of compensation so you can just calibrate whatever offset or error out?
Not built in, but you could make your own if you really wanted to.

That would work only if the response is repeatable and linear.

Search your PLC program source for "TwelveBit" to find the calculations that turn requested RPM into a 0-4095 value (which corresponds to 0% - 100% output request). You could add an offset term and a gain multiplier there, if you wanted.
SpacedmanSpiff
Posts: 31
Joined: Mon Nov 09, 2020 6:43 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: oc1c5708fb62-01224202901
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Analog Out weirdness, please help

Post by SpacedmanSpiff »

Yes, i am unable to hit the proper RPM, 10-20% off. I have never had any overvoltage alarms, going from full speed to slow many times during testing, never an issue.

Glad to hear that the stop fault is not an issue. Are your speeds repeatable ?
Measurement10
Posts: 68
Joined: Wed Oct 13, 2021 11:58 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Analog Out weirdness, please help

Post by Measurement10 »

SpacedmanSpiff wrote: Thu May 16, 2024 2:34 pm Glad to hear that the stop fault is not an issue. Are your speeds repeatable ?
They seem to be. But there is some weirdness with the encoder now, it jumps from + to - without me changing anything.
Measurement10
Posts: 68
Joined: Wed Oct 13, 2021 11:58 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Analog Out weirdness, please help

Post by Measurement10 »

tblough wrote: Wed May 15, 2024 10:59 am After all best practices have been employed (twisted pair shielded wire, proper grounds, bypass caps, etc.), you might want to look into a signal isolator:

https://www.amazon.com/Isolator-Insulat ... B09TJTCDQ8
This product did not work. It requires 24V input, says on the sticker but not the listing. Hooked it up and no bueno. Also tried a second product which was a dud as well. Running out of ideas.
suntravel
Posts: 2273
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Analog Out weirdness, please help

Post by suntravel »

For the spindle a KBSI-240D will do the job.

https://acim.nidec.com/drives/kbelectro ... x?la=fr-fr

Uwe
Post Reply