Use 0-10V + dir on 7i77 instead of +-10V out

More
10 years 10 months ago #67384 by perra_e
I have 3 Lichuan AC Servo that I was told that they should work with +-10V. They kind of do but not in a correct way.
The +-10V sets the speed so the speed for +5V = speed for -5V, but in the same direction!
The direction is set by a separate pin.
On top of that the servo vibrates a lot when feed with negative voltage, but it runs smoot on positive voltage.

One solution is to build an interface with some opamps that derives the direction and rectifies the output voltage so it's Always positive.

One other solution that I suppose is possible is to do this in a hal-file or something.
There are a couple of statements in the machine hal-file that indicates it is possible.
net x-output => pid.x.output
net x-output => hm2_7180.0.7i77.0.1.analogout0

I'm completely new to Linuxcnc so any help where to start looking would be appreciated.

The actual Servo but an other seller.

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

More
10 years 10 months ago #67400 by PCW
Its entirely possible to do this is HAL (using the absolute component),
but its not likely to work very well as the direction signal will not be synchronized
perfectly with the analog output (VFDs often use 0 to 10V + direction but its not a good way to drive servos)

Are you sure there is not some setup option to get true +-10V operation from the drive?

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

More
10 years 10 months ago #67401 by perra_e
For the moment I'm afraid that it doesn't work with +-10V. I certanly hope I have missed somthing!

Ok, then it sounds like the best solution is to build an extra interface that generats a direction signal and converts the speed signal to 0-10V if it is not possible to make the servo work as a "standard servo"!

I will contact the seller of the servo and hear what they say about this.

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

More
10 years 10 months ago #67411 by Iron-Man

perra_e wrote: I have 3 Lichuan AC Servo that I was told that they should work with +-10V. They kind of do but not in a correct way.
The +-10V sets the speed so the speed for +5V = speed for -5V, but in the same direction!
The direction is set by a separate pin.
On top of that the servo vibrates a lot when feed with negative voltage, but it runs smoot on positive voltage.

One solution is to build an interface with some opamps that derives the direction and rectifies the output voltage so it's Always positive.

One other solution that I suppose is possible is to do this in a hal-file or something.
There are a couple of statements in the machine hal-file that indicates it is possible.
net x-output => pid.x.output
net x-output => hm2_7180.0.7i77.0.1.analogout0

I'm completely new to Linuxcnc so any help where to start looking would be appreciated.

The actual Servo but an other seller.


There are several things that you will need to do. First post the model number of the servo drive.
Second, you will need to set the correct parameters in the servo itself. Most new servos allow programing to set the correct interface, i.e. +-10V, step-dir, etc. Third, the PID, max speed, input type( position, +-10V, +-5V etc) will need to be set.
When these are set, you will need to tune the Linux loop.

Post images and model number.

Hope this helps

Iron-Man

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

More
10 years 10 months ago #67441 by perra_e
We got the answer from the seller now and it is confirmed that it works like I have decribed and that I have not missad any parameter.
Code:
Dear Bengt, I consult the manufacturer and was told that the AI3 analog input connector (PIN 18, PIN19) cannot control with ±10V,just can control with 0-10V analog voltage signal. And if you want change the motor direction, use the external DI4 to switch, which you could see the setting parameter according the manual, and i checked the manual and update it, please see now whether it could be helpful to you. And if you found anything which is fault, you also could let us know, I will check for you with Lichuan manufacturerer. Helen

I have never heard about anything like this before and me and my friend that bought the drives feels scewed :angry:

If I shall use this drive an external interface that fix the signals feels like the only option.
This is a picture of how the drive is connected. It certanly looks like you should be able to use +-10V, but the fact that there is an input pin that can set direction talks for itself I think


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

More
10 years 10 months ago #67442 by tecno
Yes I feel screwed :evil:

Been nagging since day 1 when I started with my inquiry that ±10VDC is what we want and seller agreed to this!
Manual clearly states that AI3 is bipolar so that was clear to me that all specs should be OK.

Awaiting answer from seller.

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

Moderators: PCW, jmelson
Time to create page: 0.084 seconds
Powered by Kunena Forum