Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

counter using PCI-6602 for multi output

Hi guys,

currently I tried to control a linearmotor using PCI-6052E and PCI-6602.

 

The questions is, how to use PCI-6602 to be a counter which will be converted to several output (multioutput):

(1) converted to position >> 1count = ...[mm] --> position measurement

(2) converted to voltage >> 1count = ...[mV] or [V] --> voltage measurement

(3) converted to current >> 1count = ...[mA] or [A] --> current measurement

(4) converted to velocity >> 1count = ...[mm/s] --> velocity measurement

(5) converted to acceleration >> 1count = ...[mm/s^2] --> acceleration measurement

(6) converted to force >> 1count = ...[N] or [kg.mm/s^2] --> force/load measurement

(7) converted to frequency >> 1count=...[Hz] --> frequency measurement

 

(i) Please assist me how to connect the driver's encoder (Ch. A A/ B B/ Z Z/) with PCI-6602, so I can get all informations above (7 measurements). What/which port of PCI-6602 connect to where from the driver.

(ii) Please assist me how to connect the feedback signal to the PC. What/which port of PCI-6602 connect to PC.

(iii) How to test those 7 measurements above using Measuremant and Automation Explorer (MAX) ver.4.4.1?

 

Thank you for your kindly help and assistance.

Best wishes,

hendro

 

0 Kudos
Message 1 of 8
(5,986 Views)

hendro,

 

before I can answer any of your questions, I need to ask several questions by myself to better understand your task.

  1.  I don't really understand, how you want to use the PCI-6602. How should a counter board measure units like voltage, current or force? Do you want to use external voltage to frequency converters (this is not recommended)? What are the acquisiton rates that is required by your application?
  2. What type of control do you want to apply to your linear motor? If you plan to run a full blown closed loop motion control (position, velocity, acceleration), this is hard to accomplish with a PCI-6052E, even if you use a real-time operating system. Without a real-time OS (e. g. Windows), there is very little chance that this approach will be successful, as you can't get stable loop rates for the control loop. Stable loop rates are essential for closed loop control applications.
  3. What type of power drive do you plan to use for your application?

Please provide any useful background information about your application.

 

Thanks and kind regards,

Jochen Klier

National Instruments

0 Kudos
Message 2 of 8
(5,966 Views)

Dear Jochen,

 

(1) Principally, I'd like to use PCI-6602 to be a motion encoder also be a counter (Is it possible? Due to the manual, it is possible). I expect to have all information, such as position, time, velocity, etc. from that motion encoder (or at least the position and time). It is also expected of using PCI-6602 to do all measurements that I mentioned before . My meaning is, after having a signal from the counter, that 'count' will be converted to desire units under other programs. So, in this case, PCI-6602 is only used to get the 'count'.

 

Simplified, the voltage command will send to the system (linear motor) through PCI-6052E (-10V to 10V). The actual position or other actual information will be catched (read) by using PCI-6602 (as a motion encoder, also as a counter). Then, this actual position will be used as a feedback, that will be compared to desired position.

 

Is that also possible to use PCI-6602 be a motion controller + a counter + a frequency measurement in a same time parallely?

 

I don't decide yet (I don't know) which acquisition rate will be needed/required, higher is better.

 

(2) I'd like to apply an adaptive robust controller (yes, it is a closed loop system) under matlab with their feature called Real-Time-Workshop instead of using LV.

 

(3) Power drive for the linear system will be driven by AC servo drive.

 

Thanks for your help before,

Warmly regards,

hendro

0 Kudos
Message 3 of 8
(5,960 Views)

Hendro,

  1.  You can configure the PCI-6602 to measure position from a quadrature encoder and to count other pulse sources at the same time. Still, I don't have aclue, how you want to use this digital device to measure analog units like voltage, current and torque.
  2. The best way to integrate Matlab models with NI hardware is the Simulation Interface Toolkit for LabVIEW. With this toolkit you can use LabVIEW RealTime as a deterministic execution environment for your Matlab model, providing a very powerful and easy to use interface to the NI hardware.  Please note, that deterministic execution behavior is key for any control application (Windows doesn't provide deterministic execution).

Regards,

Jochen

0 Kudos
Message 4 of 8
(5,941 Views)
Dear Jochen and all,
I'd like to focusing the matter I have.
I am currently using PCI-6602 to be encoder board of the experiment. Would you like to guide us in advance, how to connect a linear encoder with PCI-6602, since our linear encoder has these following ports: (A+) (A-) (B+) (B-) (Z+) (Z-) and GND. So far I went through the manual of PCI-6602 (for Position Measurement), there are only ports A B and Z available.
So, the question is, how to conncet (A-), (B-) and (Z-) ports of linear encoder to the PCI-6602?
For your kindly express help and attention in replying this post, I do really appreciate before.
Warm regards,
hendro
0 Kudos
Message 5 of 8
(5,828 Views)

hendro,

 

sorry for the late response, but I was on vacation.

The PCI-6602 doesn't support differential encoder signals, but it's possible to use your encoder in a ground referenced mode by just leaving the inverted signals (A-), (B-) and (Z-) unwired. The drawback of this wiring is reduced immunity against noise. If this is a problem for you, you should use an external signal conditioning device, that does the differential to single-ended conversion. Here you can find instructions how to implement such a signal conditioning solution.

 

Jochen

0 Kudos
Message 6 of 8
(5,756 Views)

Dear Mr.Jochen,

 

after along time I was working to overcome this problem, at the conclusion, I replaced NI PCI 6602 with other incremental encoder card.

My question is:

Is NI compatible with Meas. Comp. PCI QUAD04? e.g. Is this PCI QUAD-04 supported by NI (LabView?

 

Thanks a lot for your advices

Regards,

hendro

0 Kudos
Message 7 of 8
(5,592 Views)

hendro,

 

although Measurement Computing (the vendor of the PCI QUAD-04) is an NI subsidiary since 2005, NI and MCC act widely independently. Still I think, that MCC's products should provide some level of LabVIEW integration. Please contact MCC directly for this information.

 

Thanks,

Jochen

0 Kudos
Message 8 of 8
(5,588 Views)