not understanding where to attach physical wires
15 Mar 2014 21:46 - 15 Mar 2014 21:47 #44852
by PCW
Replied by PCW on topic not understanding where to attach physical wires
I would almost guarantee it is a torque problem if you dont get consistent rotor homing in Q mode
Did you try setting bldc.initvalue to 1?
this may also be a symptom of losing power during init
(and setting the init current to 1 in this case may not help)
You should be able to check whether the init cycle is working
by putting a mark on the shaft. This mark should always point to one of 4
90 degree positions on the motor case after BLDC init is run
(you may have to disable the PID component so the init position is not disturbed)
Did you try setting bldc.initvalue to 1?
this may also be a symptom of losing power during init
(and setting the init current to 1 in this case may not help)
You should be able to check whether the init cycle is working
by putting a mark on the shaft. This mark should always point to one of 4
90 degree positions on the motor case after BLDC init is run
(you may have to disable the PID component so the init position is not disturbed)
Last edit: 15 Mar 2014 21:47 by PCW.
Please Log in or Create an account to join the conversation.
- johns00056
- Offline
- Premium Member
Less
More
- Posts: 108
- Thank you received: 2
16 Mar 2014 00:23 - 16 Mar 2014 00:26 #44856
by johns00056
Replied by johns00056 on topic not understanding where to attach physical wires
I don't think that it is doing an initiation sequence.
I set the bldc.initvalue to 1and have the belt off.
When it works, it is great, and has plenty of torque and stops at one of four shaft positions.
When it does not work, it has weak torque and stops at different shaft positions.
Or else it runs away at a speed and direction that appears to be random.
I have the machine set to NO FORCE HOME.
I set the bldc.initvalue to 1and have the belt off.
When it works, it is great, and has plenty of torque and stops at one of four shaft positions.
When it does not work, it has weak torque and stops at different shaft positions.
Or else it runs away at a speed and direction that appears to be random.
I have the machine set to NO FORCE HOME.
Last edit: 16 Mar 2014 00:26 by johns00056.
Please Log in or Create an account to join the conversation.
16 Mar 2014 00:51 - 16 Mar 2014 01:04 #44857
by PCW
Replied by PCW on topic not understanding where to attach physical wires
Are you sure you are not losing power when the init sequence is run?
Something is causing it to fail
An init value of 1 should be 7.5 A which should be plenty to reliably pull the
rotor into position (and you should always see the init motion at startup)
Something is causing it to fail
An init value of 1 should be 7.5 A which should be plenty to reliably pull the
rotor into position (and you should always see the init motion at startup)
Last edit: 16 Mar 2014 01:04 by PCW.
Please Log in or Create an account to join the conversation.
16 Mar 2014 01:08 #44858
by andypugh
It is relatively easy to tell, by looking at the pin "init done" and the parameter "in_type" of the bldc component.
Restart LinuxCNC but _don't_ take it out of e-stop.
From the "machine" menu open halmeter, and set it to look at bldc.0.init
Repeat for the blcd.0.init-done and bldc.0.in-type pin and parameter.
Take the machine out of e-stop and turn it on. You should see "init" go true, the motor sgaft should kick, then init-done should go true.
You should also see in-type change from 4 to 2.
Replied by andypugh on topic not understanding where to attach physical wires
I don't think that it is doing an initiation sequence.
It is relatively easy to tell, by looking at the pin "init done" and the parameter "in_type" of the bldc component.
Restart LinuxCNC but _don't_ take it out of e-stop.
From the "machine" menu open halmeter, and set it to look at bldc.0.init
Repeat for the blcd.0.init-done and bldc.0.in-type pin and parameter.
Take the machine out of e-stop and turn it on. You should see "init" go true, the motor sgaft should kick, then init-done should go true.
You should also see in-type change from 4 to 2.
Please Log in or Create an account to join the conversation.
- johns00056
- Offline
- Premium Member
Less
More
- Posts: 108
- Thank you received: 2
16 Mar 2014 03:19 #44860
by johns00056
Replied by johns00056 on topic not understanding where to attach physical wires
Andy, thanks , great instructions!
The motor kicks and the hal meters read exactly as they should.
the 8i20 voltage drops a couple of volts on the hal meter. (my analogue voltmeter does not quiver.)
It will not jog after that sequence. I can only get it to jog if I enable the 8i20 after turning the machine on.
I guess I will look into orienting the encoder next.
The motor kicks and the hal meters read exactly as they should.
the 8i20 voltage drops a couple of volts on the hal meter. (my analogue voltmeter does not quiver.)
It will not jog after that sequence. I can only get it to jog if I enable the 8i20 after turning the machine on.
I guess I will look into orienting the encoder next.
Please Log in or Create an account to join the conversation.
16 Mar 2014 03:26 #44861
by andypugh
So, it will (sometimes) work if the motor isn't aligned, but will never work if the motor _is_ aligned?
That really doesn't add up.
Do you know how brushless motors work? It helps to understand what the software is trying to do to drive the motor.
Replied by andypugh on topic not understanding where to attach physical wires
he motor kicks and the hal meters read exactly as they should.
the 8i20 voltage drops a couple of volts on the hal meter. (my analogue voltmeter does not quiver.)
It will not jog after that sequence. I can only get it to jog if I enable the 8i20 after turning the machine on.
So, it will (sometimes) work if the motor isn't aligned, but will never work if the motor _is_ aligned?
That really doesn't add up.
Do you know how brushless motors work? It helps to understand what the software is trying to do to drive the motor.
Please Log in or Create an account to join the conversation.
16 Mar 2014 04:25 #44863
by PCW
Replied by PCW on topic not understanding where to attach physical wires
What is your power supply voltage?
even a momentary drop below ~40V will cause problems
(a 8I20 LV fault which will disable PWM until the voltage returns to an acceptable level)
If you disable PID (so the shaft position after orient is not lost),
you should be able to reliably orient the rotor to the 4 'zero' positions
regardless of original shaft location.
If this does not happen, the cause needs to be determined
even a momentary drop below ~40V will cause problems
(a 8I20 LV fault which will disable PWM until the voltage returns to an acceptable level)
If you disable PID (so the shaft position after orient is not lost),
you should be able to reliably orient the rotor to the 4 'zero' positions
regardless of original shaft location.
If this does not happen, the cause needs to be determined
Please Log in or Create an account to join the conversation.
- johns00056
- Offline
- Premium Member
Less
More
- Posts: 108
- Thank you received: 2
16 Mar 2014 05:23 #44865
by johns00056
Replied by johns00056 on topic not understanding where to attach physical wires
Andy- I am sorry that I am sounding like a dunce. I am pretty sure that control adjusts the encoder angle electronically to suit the motor.
I really appreciate the generous gift of your time and help.
I only know what I have read in books. I don't have any first hand experience in this area.
PCW- I am running about 57v which drops to 54v at start and increases to 60v upon deceleration. The blue high volt ready light stays on.
I really appreciate the generous gift of your time and help.
I only know what I have read in books. I don't have any first hand experience in this area.
PCW- I am running about 57v which drops to 54v at start and increases to 60v upon deceleration. The blue high volt ready light stays on.
Please Log in or Create an account to join the conversation.
16 Mar 2014 05:30 #44866
by andypugh
Well, I know what is _meant_ to happen as I wrote the bldc component and the 8i20 driver.
My concern is that it doesn't seem to be working properly.
Replied by andypugh on topic not understanding where to attach physical wires
Andy- I am sorry that I am sounding like a dunce. I am pretty sure that control adjusts the encoder angle electronically to suit the motor.
Well, I know what is _meant_ to happen as I wrote the bldc component and the 8i20 driver.
My concern is that it doesn't seem to be working properly.
Please Log in or Create an account to join the conversation.
Time to create page: 0.103 seconds