Mesa 7i39+5i20

More
05 Jan 2011 13:46 #6437 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
It _looks_ like you missed the
sudo make setuid
stage of the compile. You will need to type the root password after that command.

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

More
05 Jan 2011 14:09 #6438 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
YES, YOU ARE RIGHT

I forgot it was sudo.... and asking the password!!!!!!
I did not enter the password.
I was running too fast... :)
Sorry for the trouble.

I can start EMC2.5 now

I can also close it and run it again, so the restart problem is now fixed.

Thanks
Nikos

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

More
05 Jan 2011 14:24 #6440 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
Glad to hear it.

The next few days should see the release of a new "bldc" component into the development branch that combines the functions of bldc_sine and bldc_hall into one much more capable component (it will, for example, start a motor with hall sensors and an encoder in hall/trapezoidal commutation then switch to sinusoidal commutation once it has an angle fix from a Hall transition or (optionally) from the encoder index.

It has been extensively tested with the 7i39.

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

More
05 Jan 2011 16:10 #6441 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
Good news, the new BLDC component.

I am wondering how to combine BLDC, step-motor and DC-motor in the same machine.

The Machine under construction is a Pick-Place.

- X,Y are NEMA23 BLDC to be fast and presise.
- The head (Z is included in the head) should be DC motor (weight 20 gram) and linear encoder, due to low mass of the motor, low cost and good speed
- The rotation of the component (axis A) is included in the Z plate. It should turn very presisely and be very light. Best approach (...found yet) is a small Step-motor (60grams -2oz with 200 steps/rot) and microstep driver.

I could use CPU-CONTROLED DC-SERVO-BOARD and STEP-DRIVER-BOARD and EMC2 to see only a digital line for each board, but this is not ...so smart!
5i20 with BLDC,DC,STEP boards is better

Any Idea?

Nikos

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

More
05 Jan 2011 16:33 #6443 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
nikos.chalikias wrote:

- The head (Z is included in the head) should be DC motor (weight 20 gram) and linear encoder, due to low mass of the motor, low cost and good speed


I think a small brushless motor might work better, it should certainly last longer.

The rotation of the component (axis A) is included in the Z plate. It should turn very presisely and be very light. Best approach (...found yet) is a small Step-motor (60grams -2oz with 200 steps/rot) and microstep driver.


A stepper motor is probably a good solution, but there is no reason that a brushless motor with an encoder couldn't work equally well, and might be faster.

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

More
08 Jan 2011 14:13 #6536 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
Now that it is possible to restart EMC2.5 I am trying to move one BLDC motor

- Encoder works
- BLDC Initialization after ESTOP released works
- After many times ESTOP press-release-cycles, DRO always returns to the same point but not exactly at zero
- If EMC2.5 is closed and restarted then the above position is slightly different
- :( ***** JOG works only for few milliliters (2-5mm) then: [joint 0 following error] *******
- If ESTOP pressed and released again then JOG is possible for the same distance as above
- Starting EMC2.5 sometimes starts at X=0, Y=0, sometimes at X=1056 or X=-1056. With current configuration starts at 0,0

Encoder is 500 cpr
one rotation moves the carriage 32.512mm
Motor is BLDC NEMA23 at 24V


bldc_sine.hal, I am using is attached (Encoder and PID configured there!)

File Attachment:

File Name: bldc_sine-...e43c.hal
File Size:2 KB
Attachments:

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

More
08 Jan 2011 17:34 #6548 by andypugh
Replied by andypugh on topic Re:Mesa 7i39+5i20
nikos.chalikias wrote:

Now that it is possible to restart EMC2.5 I am trying to move one BLDC motor
Encoder is 500 cpr

You have bldc_sine.0.scale as 2000. That is very unlikely to be right with a 500cpr encoder.

Do you know how many poles your motor has? If you apply a very small current to the motor between any two phases you should be able to feel them, normally 2, 3 or 4 "pulses" will be felt turning the motor by hand for 4, 6 or 8 motor poles.

By how much does rawcounts increase with one full revolution of the motor?

The bldc_sine.0.scale value needs to be one full revolutions-worth of rawcounts divided by the number of motor poles. (the scale is how many counts there are per _electrical_ revolution)

Bear in mind that bldc_sine has not been released, and in fact is never going to be released, it has been replaced by a much more capable .comp called simply "bldc" which handles all motor types. This component uses a different way to define the scale, as I realised that 6 pole motors were impossible to give an accurate enough scale to.

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

More
09 Jan 2011 11:10 #6564 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
What is rawcounts?

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

More
09 Jan 2011 12:26 #6566 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
Motor has 4 poles (I felt 2 attraction points in one rotation applying a current between 2 phases)
Encoder is 500cpr so the rawcount should be 2000 (?)
so
setp bldc-sine.0.scale =500

But still not working.

Also tested 4 8 10 16 32 32.250 32.512 33 62.5 64 83.333 100 128 125 250 333.333 500 1000 2000
with similar result.

Values around 32, additionally create a crazy movement after a try to JOG
All other values allow only some mm to JOG, then [joint 0 following error]

IF YOU HAVE STOPPED DEVELOPING bldc_sine
Is it good idea that I continue trying with your new component "bldc" ????

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

More
09 Jan 2011 12:59 #6567 by nikos.chalikias
Replied by nikos.chalikias on topic Re:Mesa 7i39+5i20
I have to admit I was disappointed.

I read carefully www.linuxcnc.org/docview/devel/html//man/man9/bldc_sine.9.html
I tested negative value 1000
as
setp bldc-sine.0.scale -1000

And now it works.
I can move with 48000 mm / min (48m/min) or 800mm/sec !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
very smooth and quiet

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

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