Cannot get working 5i25 + 7i76 + 8i20
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
02 Aug 2013 00:50 #37330
by PCW
Replied by PCW on topic Cannot get working 5i25 + 7i76 + 8i20
I dont understand why you had to set the baudrate
however.
That does sound like the EEPROM data (and perhaps more)
is scrambled. Perhaps the 8I20 should be returned,
as none of this makes sense.
however.
That does sound like the EEPROM data (and perhaps more)
is scrambled. Perhaps the 8I20 should be returned,
as none of this makes sense.
Please Log in or Create an account to join the conversation.
- KT315A
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
02 Aug 2013 01:18 #37331
by KT315A
Replied by KT315A on topic Cannot get working 5i25 + 7i76 + 8i20
I would try to reset EEPROM values as you advised with a batch file and if it does not help I will return the board.
I am almost sure should be a way to reprogram entire EEPROM with an image, not just setting individual values.
I am almost sure should be a way to reprogram entire EEPROM with an image, not just setting individual values.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
02 Aug 2013 04:45 #37334
by PCW
Replied by PCW on topic Cannot get working 5i25 + 7i76 + 8i20
OK we played around with some test batch files and found there a handshake bug in WPD
that may cause EEPROM corruption. If you download the 8i20.zip file:
www.mesanet.com/software/motion/8i20.zip
has new WPD/RPD utilities and a 8I20INIT.BAT file
that restores the 8I20 EEPROM to its default settings
that may cause EEPROM corruption. If you download the 8i20.zip file:
www.mesanet.com/software/motion/8i20.zip
has new WPD/RPD utilities and a 8I20INIT.BAT file
that restores the 8I20 EEPROM to its default settings
Please Log in or Create an account to join the conversation.
- KT315A
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
02 Aug 2013 08:28 #37337
by KT315A
Replied by KT315A on topic Cannot get working 5i25 + 7i76 + 8i20
Yes it helped!
No more errors and 8i20 pins has values those make sense.
It looks like I triggered this bug, I used a BAT file from the beginning.
Now I am working on 8i20 + bldc hal configuration..
Thanks a lot for help.
No more errors and 8i20 pins has values those make sense.
It looks like I triggered this bug, I used a BAT file from the beginning.
Now I am working on 8i20 + bldc hal configuration..
Thanks a lot for help.
Please Log in or Create an account to join the conversation.
- KT315A
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
02 Aug 2013 10:00 #37340
by KT315A
Replied by KT315A on topic Cannot get working 5i25 + 7i76 + 8i20
I got my motor spinning on 50Hz in free-running mode with no motor feedback.
For some reason it is very noisy and shaking a bit.
I would guess it is the current loop oscillation.
Is there any way to verify if current loop is tuned ok?
For some reason it is very noisy and shaking a bit.
I would guess it is the current loop oscillation.
Is there any way to verify if current loop is tuned ok?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
02 Aug 2013 10:13 #37341
by PCW
Replied by PCW on topic Cannot get working 5i25 + 7i76 + 8i20
Running a BLDC motor without feedback for proper commutatiion will always be noisy and inefficient
but Its not likely to be current loop related (current loop oscillations will be in the KHz region)
Note: for best commutation you should run your servo thread as fast as it will go (4KHz is suggested if possible)
also there is a improved version of BLDC in master that doubles the commutation timing accuracy
I would suggest using that as well
but Its not likely to be current loop related (current loop oscillations will be in the KHz region)
Note: for best commutation you should run your servo thread as fast as it will go (4KHz is suggested if possible)
also there is a improved version of BLDC in master that doubles the commutation timing accuracy
I would suggest using that as well
Please Log in or Create an account to join the conversation.
- KT315A
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
08 Aug 2013 19:53 - 08 Aug 2013 19:54 #37492
by KT315A
Replied by KT315A on topic Cannot get working 5i25 + 7i76 + 8i20
I am not able to configure 8i20 and bldc hal component. I use incremental encoder 1024 pulses and Z index directly connected to the shaft of the motor.
It finds home position as expected and stops on it and after holds this position as stronger asbldc.0.value is increased.
If bldc.0.value is set to zero, after homing there is no torque on the shaft and I can rotate it with my hand.
As I expected it should work as a torque servo and its torque should be controlled by asbldc.0.value.
What I am doing wrong?
This is the part of my hal file:
loadrt bldc cfg=iq
addf bldc.0 servo-thread
setp bldc.0.rev 1
setp bldc.0.initvalue 0.5
setp bldc.0.poles 5
setp bldc.0.scale 4096 # Encoder gives on one turn 4096 counts. (1024*4)
setp bldc.0.init 1
setp bldc.0.value 0.5
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.scale 4096.0
net ENrawcounts hm2_[HOSTMOT2](BOARD).0.encoder.00.rawcounts => bldc.0.rawcounts
net ENindex-enable hm2_[HOSTMOT2](BOARD).0.encoder.00.index-enable => bldc.0.index-enable
net rotor_angle hm2_[HOSTMOT2](BOARD).0.8i20.0.1.angle bldc.0.rotor-angle
net current bldc.0.out hm2_[HOSTMOT2](BOARD).0.8i20.0.1.current
Thanks.
It finds home position as expected and stops on it and after holds this position as stronger asbldc.0.value is increased.
If bldc.0.value is set to zero, after homing there is no torque on the shaft and I can rotate it with my hand.
As I expected it should work as a torque servo and its torque should be controlled by asbldc.0.value.
What I am doing wrong?
This is the part of my hal file:
loadrt bldc cfg=iq
addf bldc.0 servo-thread
setp bldc.0.rev 1
setp bldc.0.initvalue 0.5
setp bldc.0.poles 5
setp bldc.0.scale 4096 # Encoder gives on one turn 4096 counts. (1024*4)
setp bldc.0.init 1
setp bldc.0.value 0.5
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.scale 4096.0
net ENrawcounts hm2_[HOSTMOT2](BOARD).0.encoder.00.rawcounts => bldc.0.rawcounts
net ENindex-enable hm2_[HOSTMOT2](BOARD).0.encoder.00.index-enable => bldc.0.index-enable
net rotor_angle hm2_[HOSTMOT2](BOARD).0.8i20.0.1.angle bldc.0.rotor-angle
net current bldc.0.out hm2_[HOSTMOT2](BOARD).0.8i20.0.1.current
Thanks.
Last edit: 08 Aug 2013 19:54 by KT315A.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
08 Aug 2013 20:11 #37493
by PCW
Replied by PCW on topic Cannot get working 5i25 + 7i76 + 8i20
Are you sure the motor has 5 poles? that sounds pretty strange.
You can count poles by applying a little current at a fixed angle (disconnect the encoder) rotating the shaft and counting the null positions (stable rest positions)
the number of rest positions *2 is the number of poles.
You can count poles by applying a little current at a fixed angle (disconnect the encoder) rotating the shaft and counting the null positions (stable rest positions)
the number of rest positions *2 is the number of poles.
Please Log in or Create an account to join the conversation.
- KT315A
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
08 Aug 2013 21:08 #37494
by KT315A
I will verify as you explained.
To calculate poles I used this logic:
On 250Hz it gives 3000 RPM (I used Digital tachometer to measure RPMs)
3000 RPM -> 50 RPS -> 250Hz/50RPS = 5 poles.
The same written on motor’s sticker:
www.linuxcnc.org/media/kunena/attachments/17527/DSC03523_.JPG
RATED FREQ. 250HZ
RATED REV. 3000 r/min
Replied by KT315A on topic Cannot get working 5i25 + 7i76 + 8i20
Are you sure the motor has 5 poles? that sounds pretty strange.
I will verify as you explained.
To calculate poles I used this logic:
On 250Hz it gives 3000 RPM (I used Digital tachometer to measure RPMs)
3000 RPM -> 50 RPS -> 250Hz/50RPS = 5 poles.
The same written on motor’s sticker:
www.linuxcnc.org/media/kunena/attachments/17527/DSC03523_.JPG
RATED FREQ. 250HZ
RATED REV. 3000 r/min
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17904
- Thank you received: 4774
08 Aug 2013 21:22 #37495
by PCW
Replied by PCW on topic Cannot get working 5i25 + 7i76 + 8i20
That is a 10 pole motor
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.104 seconds