05-06-2009 11:15 AM
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
05-08-2009 02:37 AM
hendro,
before I can answer any of your questions, I need to ask several questions by myself to better understand your task.
Please provide any useful background information about your application.
Thanks and kind regards,
Jochen Klier
National Instruments
05-08-2009 10:12 AM
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
05-11-2009 04:17 AM
Hendro,
Regards,
Jochen
06-02-2009 03:31 AM
06-17-2009 06:08 AM
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
08-10-2009 04:31 AM
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
08-10-2009 04:59 AM
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