- Posts: 972
- Thank you received: 0
8i20/BLDC component, limited spindle speed
The motor is no name-plate 750w 6pole BLDC with 3 hall sensors. I believe I figured the pole count by applying a voltage to 2 leads and counting 3 cogs in 1 rotation. The original drive was just a chinesium board with no transformer of any actual mass and a couple of big caps so I assume it rectified 120v AC to ~160v DC and this ran at 2500rpm. I have the 8i20 powered from a 120vAC-bridge rectifier-2,1000uf caps=160vdc. My mains is switched by 2 solid state relays and I can easily take the plug off the power cord, stick a 240v drier plug on it and the power supply will be at 320v, but I doubt the motor can take that (any thoughts?)PCW wrote: We've run the 8I20 over 6000 RPM with a 4 pole motor and LinuxCNC/BLDC
I suggested tuning changes because you stated that changing the servo thread rate didn't make a substantial difference (which is quite surprising) and I thought it might be that you had a low inductance motor so the default current loop tuning parameters were too high. This can lead to oscillations/ringing on the steps in commutations
Can you try a 2 KHz servo thread again with no other changes?
Or as Andy suggests, adjusting the lead angle when its running at high speed to see if the commutation delay is really the issue
or there's something else limiting your speed (motor voltage encoder setting etc, etc)
Alright, so setting the servo thread to 500000 and starting the gui, A requested spindle speed of 3000 nets only a speed of just under 2100.
The BLDC lead angle is set in the hal file to 90 (always has been)
if I setp the bldc lead angle while it's running at a speed below the requested (2100 vs 3000) I get no noticeable change in speed. It eventually starts to hover around 2200 rpms.
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
Please Log in to join the conversation.
This is really common in 3 phase drives...
Note that when stalled, the motor current can be much higher than the line current
perhaps as much as 5-10 times higher depending on the drives winding resistance.
BTW you can determine the motors V/RPM spec by spinning the motor some convenient way
and measuring the AC phase/phase voltage and the RPM
Please Log in to join the conversation.
PCW wrote: Are you sure the original drive did not use a voltage doubler to 320VDC?
This is really common in 3 phase drives...
Note that when stalled, the motor current can be much higher than the line current
perhaps as much as 5-10 times higher depending on the drives winding resistance.
BTW you can determine the motors V/RPM spec by spinning the motor some convenient way
and measuring the AC phase/phase voltage and the RPM
5-10 times, wow thats scary. I assumed the 8i20 limited the amount of current that went through it to the setting,is this not the case? There'2 no transformer in my 8i20 drive so I'm not sure what the winding resistance might be unless we're talking about the motors windings.
I didn't even know such a thing as a voltage doubler existed.
I hooked up a cordless drill to my spindle and set the 2:1 pulley. The drill rated a speed of 1300 so I estimated 2600rpms at the motor. I read 66v between 2 phases so I wasn't sure what to make of that.
Please Log in to join the conversation.
Many 120V VFDs have a full wave voltage doubler and run 230V motors...
Please Log in to join the conversation.
I hadn't thought of VFDs, I work with small 1-5hp single to 3 phase VFDs all the time at work and didn't even think of that.
Any thoughts on why I only pulled 66v off the motor when I spun it?
A quick google search of a voltage doubler showed a couple of large caps and diodes. Now I assumed the caps on the original drive were just rectifier filter caps but I suppose they could have been pulling double duty with the voltage doubler circuit? My drive was completely potted, couldnt see anything other than the 2 caps. I found a picture of a drive for the same mill that was likely made before they started potting the drives.
https://www.cnczone.com/forums/attachment.php?attachmentid=344676&d=1482981775
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
Try:
See linuxcnc.org/docs/devel/html/hal/comp.html
Please Log in to join the conversation.
rodw wrote: You need to insert a type where the pointer is.
Try:You will also need to add a type to thresholdCode:param rw unsigned level "state machine state";
See linuxcnc.org/docs/devel/html/hal/comp.html
I actually figured that out after I posted this. I believe it starts to compile now but throws a bunch of other errors that are beyond me.
I assumed (which may be the issue):
param rw bit level "state machine state";
param rw unsigned threshold;
Please Log in to join the conversation.
