Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Position Control of compumotor 406LXR linear servo table and GV-U6E(motor drive) with PCI-7344

Since I had the answers referring:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DD490000&USEARCHCONTEXT_CATEGORY_0=_14_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_14_&UCATEGORY_S=0

Wiring step was done well. However, I still have a problem that MAX configuration doesn't fit in compumotor drive settings. Therefore, the setup is shown below, and I want to know how I can set up PCI-7344 configuration in MAX or LabVIEW VI.

-----------------------------------------------------
;Uploaded from device address 0
;Gemini GV Servo Drive Setup

;Motor Setup
DMTR 1703 ;Motor ID (406-x-LXR-M-x-D13-x-x-x-x-E5-x-x-x)
DMTIC 2.48 ;Continuous Current (Amps-RMS)
DMTICD 0.00 ;Continuous Current Derating (% derating at rated speed)
DMTKE 17.6 ;Motor Ke (Volts (0-to-peak)/krpm)
DMTRES 10.10 ;Motor Winding Resistance (Ohm)
DMTJ 119.300 ;Motor Rotor Inertia (kg*m*m*10e-6)
DPOLE 1 ;Number of Motor Pole Pairs
DMTW 40.5 ;Motor Rated Speed (rev/sec)
DMTIP 7.40 ;Peak Current (Amps-RMS)
DMTLMN 3.4 ;Minimum Motor Inductance (mH)
DMTLMX 3.4 ;Maximum Motor Inductance (mH)
DMTD 0.000000 ;Motor Damping (Nm/rad/sec)
DMTRWC 0.23 ;Motor Thermal Resistance (degrees Celsius/Watt)
DMTTCM 20.0 ;Motor Thermal Time Constant (minutes)
DMTTCW 0.33 ;Motor Winding Time Constant (minutes)
DMTAMB 40.00 ;Motor Ambient Temperature (degrees Celsius)
DMTMAX 90.00 ;Maximum Motor Winding Temperature (degrees Celsius)
DHALL 1 ;Disable Hall Sensor Checking
DMTLQS 0 ;Set Q Axis Inductance Saturation
DMTLDS 0 ;Set D Axis Inductance Saturation
DTHERM 0 ;Disable motor thermal switch input


;Drive Setup
DMODE 2 ;Drive Control Mode
DRES 8400 ;Drive Resolution (counts/rev)
DPWM 16 ;Drive PWM Frequency (kHz)
SFB 1 ;Encoder Feedback
ERES 8400 ;Encoder Resolution (counts/rev)
ORES 8400 ;Encoder Output Resolution (counts/rev)
DMEPIT 42.00 ;Electrical Pitch (mm)
SHALL 0 ;Invert Hall Sensors
DMTLIM 1.5 ;Torque Limit (Nm)
DMTSCL 1.5 ;Torque Scaling (Nm)
DMVLIM 119.000000 ;Velocity Limit (rev/sec)
DMVSCL 119.000000 ;Velocity Scaling (rev/sec)

;Load Setup
LJRAT 0.0 ;Load-to-Rotor Inertia Ratio
LDAMP 0.0000 ;Load Damping (Nm/rad/sec)

;Fault Setup
FLTSTP 1 ;Fault on Startup Indexer Pulses Enable
FLTDSB 1 ;Fault on Drive Disable Enable
SMPER 8400 ;Maximum Allowable Position Error (counts)
SMVER 0.000000 ;Maximum Allowable Velocity Error (rev/sec)
DIFOLD 0 ;Current Foldback Enable

;Digital Input Setup
INLVL 11000000 ;Input Active Level
INDEB 50 ;Input Debounce Time (milliseconds)
INUFD 0 ;Input User Fault Delay Time (milliseconds)
LH 0 ;Hardware EOT Limits Enable

;Digital Output Setup
OUTBD 0 ;Output Brake Delay Time (milliseconds)
OUTLVL 0100000 ;Output Active Level

;Analog Monitor Setup
DMONAV 0 ;Analog Monitor A Variable
DMONAS 100 ;Analog Monitor A Scaling (% of full scale output)
DMONBV 0 ;Analog Monitor B Variable
DMONBS 100 ;Analog Monitor B Scaling (% of full scale ouput)

;Servo Tuning
DIBW 1500 ;Current Loop Bandwidth (Hz)
DVBW 100 ;Velocity Loop Bandwidth (Hz)
DPBW 40.00 ;Position Loop Bandwidth (Hz)
SGPSIG 1.000 ;Velocity/Position Bandwidth Ratio
SGIRAT 1.000 ;Current Damping Ratio
SGVRAT 1.000 ;Velocity Damping Ratio
SGPRAT 1.000 ;Position Damping Ratio
DNOTAF 0 ;Notch Filter A Frequency (Hz)
DNOTAQ 1.0 ;Notch Filter A Quality Factor
DNOTAD 0.0000 ;Notch Filter A Depth
DNOTBF 0 ;Notch Filter B Frequency (Hz)
DNOTBQ 1.0 ;Notch Filter B Quality Factor
DNOTBD 0.0000 ;Notch Filter B Depth
DNOTLG 0 ;Notch Lag Filter Break Frequency (Hz)
DNOTLD 0 ;Notch Lead Filter Break Frequency (Hz)
SGINTE 1 ;Integrator Option
SGVF 0 ;Velocity Feedforward Gain (%)
SGAF 0 ;Acceleration Feedforward Gain (%)
-----------------------------------------------------

Regards,
JinHo
0 Kudos
Message 1 of 2
(3,501 Views)
First of all, before connecting the drive to the 73xx controller I would check that the drive and motor configuration works correctly independent from the controller. The Gemini drives have a utility called the Motion Planner that allows you to configure your motor and drive for independent operation so you can test if the motor and drive combination are working by themselves. Refer to page 18 of the Gemini GV installation guide which you can find at the compumotor site or download from:

http://www.compumotor.com/manuals/gemini/Gemini_GV_HW_Install_Guide.pdf


Once you have tested your motor and drive combination, make sure that the drive is configured in torque mode and that the command signal is configured to be sent from the I/O connector and not through RS232 using the Motion Planner. The next step would be to connect the 7344 through the UMI-7764 breakout box in the following order:


  1. ---- UMI7764 GVU6E

  2. ---- AOut Cmd+ (pin23)

  3. ---- AOGnd Cmd- (pin24)

  4. ---- InhOut Enable- (pin2)

  5. ---- +5V Enable+ (pin24)

  6. 7344 --> EncA AX+ (pin8)

  7. ---- EncA- AX- (pin9)

  8. ---- EncB BX+ (pin10)

  9. ---- EncB- BX- (pin11)

  10. ---- Index ZX+ (pin12)

  11. ---- Index- ZX- (pin13)

  12. ---- +5V Encoder +5V (pin5)



Verify that your enable line is connected in an open collector mode (as shown in the diagram above). Our inhibit outputs can sink current but not source it so if your enable line is not behaving properly you want to make sure that the +5v supply you are suing for the UMI can source enough current for your enable line to work. Consult Compumotor on the specs of their enable switch.

Once the connections are done properly, all you need to do is configure and initialize your board for servo operation in MAX and then you can start your tuning process. Refer to the Tuning PID for servos tutorial in:

http://www.ni.com/support/motnsupp.htm

for instructions on tuning your servomotor properly. Also for more information on using MAX, refer to the following tutorial:

http://zone.ni.com/devzone/conceptd.nsf/webmain/081957EE013C7A4586256B92007818E0?opendocument
0 Kudos
Message 2 of 2
(3,501 Views)