Hi Klemen,

I worked on a similar project last summer.  My motor was two
pole.  It had four magnets over 100mm length, and three coils
over that length.  I used Austria Microsystems AS5311 linear
magnetic encoders, which gave me 512 quadrature counts per
mm.  I did not use the index pulse, as it came once per mm and
was not useful to me.  I would need external sensing for homing.

I used a Mesa 7I43 fpga board with hostmot2.  If my configuration
files would be useful to you I can send those to you later.

-- Ralph
________________________________________
From: Klemen Dovrtel [[email protected]]
Sent: Thursday, February 21, 2013 12:12 AM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] hal - bldc - linear motor

Hello everybody,
I would like to control the linear ac motor using bldc hal component.

1. I am not sure how should i set the:

bldc.N.scale s32 rw = The number of encoder counts per rotor revolution.
bldc.N.poles s32 rw = The number of motor poles. The encoder scale will be 
divided by this value to determine the number of encoder counts per electrical 
revolution

I attached motor schematics. So if I understand this correctly, the motor has 4 
poles and the number of encoder counts per rotor revolution is 
length_of_the_motor/encoder_resolution? The length_of_the_motor equals the 
length of 4 magnetic poles?

2. I am using the quadrature encoder with index signal for homing. I am 
monitoring the encoder position using fpga that stores the position_value. The 
position_value is set to 0 when fpga detects the index signal. I zero the 
position value inside the fpga because the emc runs too slow to detect index 
signal. So the problem is that this is somehow mixed quadrature and absolute 
encoder. Is there a way to use the existing hal bldc component for homing my 
motor. I can not use the "i Input type" because the emc should not offset the 
encoder value and i can not use "a Input type" because i still have to home the 
motor.

Regards
Klemen

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to