SDC2130 Motor 2 position tracking not working

7 years 3 months ago #29528080 by Kwacky
Hi there, I have an SDC2130, a DC motor with connected absolute encoder. I can get closed-loop position tracking mode working when connecting the motor to the SDC2130\'s motor 1 output, but not on the motor 2 output.

Below is a detailed test report. I\'ve also attached configuration files and logs of each test.

SDC2130 Closed loop position tracking tests
===========================================

Summary
Attempting to control a motor in position tracking mode,
using an absolute encoder.


Test setup
- Using Roborun+ 1.2.3/8/13
- SDC2130 controller, firmware v 1.2.12/04/2012
- Roborun connected to SDC2130 via USB
- Lab PSU @ 12V supplying Vmot+, GND and pwr_ctrl
- Using US Digital MAE3-P12-250-500-7-1 absolute encoder.
Supplied by SDC2130\'s +5V output.


Tests

Test 1:
Motor driven by mot1 output, closed loop position tracking mode.
Encoder output connected to SDC2130 pin 8 (PIn2).
Motor tracks position set by Roborun+ control software.

Test 2:
Same as above, using mot2 output. Motor does not track position
set by Roborun+ control software.

Test 3:
Motor 2 operating mode changed to open loop. Pin 8 (PIn2) set
as feedback for motors 1 and 2. Motor 2 responds to control slider
in Roborun+ software, however only feedback 1 is correct - feedback
2 remains at zero.

Test 4:
Encoder output now connected to pin 4 (PIn1). Set as feedback for
motor 2. Motor 2 in open-loop mode. Motor 2 responds to control
slider in Roborun+ software, PIn1 input looks correct, however
feedback 2 remains at zero.

Attachment steering_test.zip not found

Attachments:

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

Moderators: tonysantoni
Time to create page: 0.231 seconds