Electronic – Servo controller

motor controllerplcpsocpwmservo

I am working with an LS IS brand servo driver and servo motor. I have some difficulties with getting it to work.

Full manual

I have to mention that I don't have knowledge in servo motors.

I am using a Cypress PSOC (instead of an PLC) to generate 800Hz signal to drive the motor.The main idea is that the motor should turn a whole circle if the driver recieves 800 pulses.

I connected all the power wires(one phase 240V),encoder wires,motor connectors(U,V,W). I also connected the digital control signals.
Here you can see typical wiring for Position Operation Mode
enter image description here

The servo motor is rotating but not at the speed i wanted(it doesn't complete a full circle in one second,but the 800Hz is provided,I checked it with oscilloscope,and also in the servo menu St-06).It rotates really slow,like it would took couple of minutes to make a full circle.
Because the Cypress PSOC provides a square wave signal the servo controller is working in Position Control mode.
I have tried to increase the signal frequency but nothing has changed much.

So if anybody can help me I would be thankful.

Servo motor:
Servo motor

Servo Driver:
Servo driver

Pulse signal:
Square wave
ST-06 servo driver menu:
ST-06

Any numbers like :

  • P0-00
  • P0-26
  • P4-00

represents a menu entry that can be changed

More Information

  1. MODE:Position Control Mode(page 23)
  2. MotorID:731,P0-00(page 98)
  3. Encoder:3,P0-01(page 98)
  4. 100ohm resistor used(page 61),Cypress PSOC gives (0V)-(+5V) signal
    Resistor

    Parameters:(page 95)

  5. P0-26:1(single)

  6. P4-00:2(page 111),PF+->pin9,PR->pin11
    P4-00

Digital Pins:

The following pins are grounded:

  • 10
  • 12
  • 18(emergency stop)
  • 19
  • 20

Best Answer

I couldn't be more happy. We have solved the problem and now the servo works as it should. An expert helped me who have worked with servo systems. He also highlighted that the Electric Gear Ratio (EGR) needs to be set correctly. The servo has a 19bit encoder so 524288 pulses/rotation.Since the upper controller ,in this case a PIC ,produces 800HZ.

So EGR's numerator had to be set to 524288.(P4-01)

So EGR's denominator had to be set to 800.(P4-05)

(This controller can have 4 preprogrammed EGR relation, i use the P4-01(numerator) P4-05(denominator),i differentiate between this 4 relation with the status of EGEAR2 EGEAR1 input pins' status, i had to set other register values to change the function of the input pins to EGEAR2 EGEAR1)

That's all.

Interesting :I had a test setup here in my home, where the motor was just placed on my workbench , i had set the same parameters for P4-01 and P4-05 but it was not working. At the moment I turned on and i turned the Servo-On signal it moved(jumped a little bit) and the controller displayed an alarm after that the controller has shutted down the motor.It's not happening now.