Mazak Micro Slant 15 Retrofit
The 7i49 actually passes the resolver angle digitally in to the driver as a number. The HAL driver converts that to a numerical angle and simulated encoder counts (but not, at any point, into a quadrature signal)
The 7i49 converts the resolver AC waves into a square wave encoder signal basically. It's handled with discreet logic at the board level. AFAICT linux CNC doesn't know the difference between encoder types at the signal processing level.
Please Log in or Create an account to join the conversation.
- smc.collins
- Offline
- Platinum Member
-
- Posts: 660
- Thank you received: 113
but that's how automotive stuff handles those kinds of signals. the asic may very well report angles to Linux CNC, but there's no practical reason a standard e coder couldn't do the same thing with a bit of firmware updating. Bosch does it on almost every controller they sell with hall effect engine position sensors. with hall effect iirc it's a bit more complicated as you have to know the width of the tooth and some physical geometry, with a VR you can just look at zero crossing distance, iirc.
I'm really rusty in my 8 bit mcu assembly stuff, haven't touched it in 20 yrs.
Please Log in or Create an account to join the conversation.
The zero crossings don't tell you much, it is the relative amplitudes of the two outputs that indicate the angle, and there is often only one electrical cycle per shaft rotation. It is necessary to measure analogue voltages.I'd have to ask PCW, my gut tells ne that the resolver input gets slapped with clipping diodes to a square wave it then looks at the zero crossings, and converts that into a count cycle and calculates angles against a tpu in the asic.
but that's how automotive stuff handles those kinds of signals.
For a 5V excitation voltage the output at 0 degrees of shaft rotation might be a 5V p-p 10kHz signal on the S pair and a 0V p-p signal on C.
Then at 45 degrees it would be a 3.53 V 10kHz signal on the S pair and also 3,53V p-p signal on the C pair.
At 225 degrees rotation there would be a signal that looks identical to 45 degrees, but out of phase with the excitation voltage. If the voltages are sampled at the peak of the excitation signal then the measured amplitude would be -3.53 on both.
The 7i49 manual says "The 7I49 uses a oversampling A-D followed by a tracking filter."
Please Log in or Create an account to join the conversation.
- Masiwood123
-
- Offline
- Elite Member
-
- Posts: 306
- Thank you received: 74
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Away
- Moderator
-
- Posts: 18500
- Thank you received: 6176
Trying to use mach3 with resolvers is suicide.
Do not know how to explain that shorter.
Please Log in or Create an account to join the conversation.
- smc.collins
- Offline
- Platinum Member
-
- Posts: 660
- Thank you received: 113
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Away
- Moderator
-
- Posts: 18500
- Thank you received: 6176
Have to figure out the encoder scale, that is easy, then try to figure out the correct directions, this is tricky as last night i did change the encoder direction and the Z axis moved over 70mm till i disabled the drives!
Not smart enabling those manually, 1.5KW motors on ballscrews can do a lot of damage.
If i get the chance, i will wire enables to Mesa 7i77 or 7i84 and do some tuning.
Also, the drives have switches labeled P, 0, V, pretty sure i have to set those to V now, they are in the P possition. Guessing those are for Position and Velocity mode....
Please Log in or Create an account to join the conversation.
No, this certainly seems like a situation where you want an f-error to turn things off. Quickly.Not smart enabling those manually,
Please Log in or Create an account to join the conversation.
- tommylight
-
Topic Author
- Away
- Moderator
-
- Posts: 18500
- Thank you received: 6176
![:) :)](/media/kunena/emoticons/smile.png)
I have a stinking sensation LinuxCNC is much faster at turning those off, i need to touch the wire, hear the motor screaming, remove the wire, in my youth i would think about 0.5 seconds, now probably a lot longer!
I was not sure those are the enable wires, now i know.
More fun tonight, hopefully, spent half day chasing and removing cables from the big plasma i am working on, lost about 2Kg jumping up and down the machine.
Please Log in or Create an account to join the conversation.
- smc.collins
- Offline
- Platinum Member
-
- Posts: 660
- Thank you received: 113
Please Log in or Create an account to join the conversation.