MESA 5i23 7i44 7i49 7i37 8i20

More
06 Oct 2015 13:35 #63471 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
I have really 10 poles motors.
My motors is TGN3-0205 320V : www.tgdrives.cz/en/servomotors/tgn-series/tgn3/
Its OK?
How is it max and min value for setp bldc.0.encoder-offset ?

My actually config:
1) I was disassemble my CNC and connect components on the desk.
2) I have connect: PCI 5I23, 7I44 and three 8I20. 8I20 is powered from 320V and 24V (enable pins is OK), interconnect (RS422) between all 8i20 and 5I23 is OK.
3) I have physically connect only one motor axis (X). This driver is connect via RS422 channel number 1. Channel 0 is not in list of my HAL (show pins in my previous topic) Why?
4) Because I have only two chan numbers 8i20. (0.2) and (0.1) I cant configuration more than two axis X and Y. For axis Z i dont have variables.

How do I add other channel (0 or 3) number of 8I20 for config all axis?

Thank

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 13:42 #63472 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
LEDs (Status) flashing only channel 1 and 2.
LED on channel 0 is OFF.
All other LEDS is ON.

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 16:07 #63479 by andypugh

LEDs (Status) flashing only channel 1 and 2.
LED on channel 0 is OFF.
All other LEDS is ON.


It sounds like something is wrong with the smart-serial wiring or the power to that 8i20.
You could try connecting the non-responding 8i20 to a different channel in the 7i44 to see if it is possibly a fault with the wiring from the 5i23 to the 7i44.

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 16:23 - 06 Oct 2015 16:24 #63480 by andypugh

How is it max and min value for setp bldc.0.encoder-offset ?


It is normally given in encoder counts. The Resolver module has 2^24 counts per rev, so the useful range for bldc + 7i49 is -8388608 to +8388608
It is, however, most likely to be around 0, -5592505 or + 5592495 for a single-turn resolver and a 2-pole motor. For a 10-pole motor I think you would be looking at 0, 559240 -559240 as starting points and then optimise around there.

It is technically the resolver output value for the situation where phase A is at +V and both B and C are at -V. But the 8i20adds its own phase-angle to this isn't easy to set up.

How do I add other channel (0 or 3) number of 8I20 for config all axis?

If the 8i20 is doiscovered by the 5i23 at startup then it will appear automatically.
Last edit: 06 Oct 2015 16:24 by andypugh.

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 17:14 #63483 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Thank, I understand.

btw,

It is technically the resolver output value for the situation where phase A is at +V and both B and C are at -V. But the 8i20adds its own phase-angle to this isn't easy to set up.

My resolver is sin cos type, what means phase A, B and C?

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 17:29 #63484 by andypugh

My resolver is sin cos type, what means phase A, B and C?


That is the motor phases. You will have 10 positions that the motor can "sit" with that input voltage, but the encoder offset only needs to be right for any one of them.

Basically bldc looks at the Resolver output counts and uses that to commutate the motor. But bldc does not know what position the resolver is attached to the motor shaft relative to the motor poles unless you tell it.

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 18:09 #63486 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
OK thank :)

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 18:28 #63487 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20

If the 8i20 is discovered by the 5i23 at startup then it will appear automatically.

Startup 5I23 - its mean power on or download bit file to FPGA?

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 18:52 #63489 by andypugh

startup 5I23 - its mean power on or download bit file to FPGA?


It happens as part of the "loadrt" process.

The minimal way to test is to open a terminal.
sudo dmesg -c
halrun
loadrt hostmot2
loadrt hm2_pci config="firmware=....."
show pin *8i20*
exit
dmesg

The dmesg output will help to confirm if the sserial channels on the 7i44 connector are active.
The following user(s) said Thank You: kenny

Please Log in or Create an account to join the conversation.

More
06 Oct 2015 21:37 #63495 by kenny
Replied by kenny on topic MESA 5i23 7i44 7i49 7i37 8i20
Now I have all four 8I20 configured in 5I23.
Bad RS422 cable...

:woohoo:

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.185 seconds
Powered by Kunena Forum