1. Scope of Application
This article is appropriate for debugging and configuring the Buke driver.
Second, debug resources
Learn to drive manual:
Kinco Low Voltage Servo Driver User manual.pdf
Software Debugging:
Three, Wiring and Transformation
3.1 Driver lock brake
Based on the driver manual, there are two methods for determining the driver lock connection. These methods are shown in Figure 2 and can be found in more detail in the driver documentation.
3.2 Transformation (Chassis Driver Part)
Ensure that the driver is securely attached to the car body, and verify that the driver is properly connected to the three-phase wire and encoder line of the corresponding motor.
When the robot is equipped with multiple drives (number ≥2), all slave stations can be directly connected using a series connection via the
CAN_L
andCAN_H
pins.
Connect
Driver4
to the Decci cartridge connector by insertingcan_H
andcan_L
into the appropriate slots. Connect the male end of the DecciDT06-2S
connector to the cartridge. Finally, connect line 32 and 33 ofT35
in the middle using(can1)
. (Note: Refer to Appendix I for pin definitions of each driver type.)
Notice:
Refer to Appendix I for pin definitions of each driver type.
To ensure high-quality
CAN
Bus communication, connect theCAN_GND
receive pin to the negative terminal of theDCDC
output or ground on the controller, as well as the driver bus communication interface (X1) as shown in the following diagram.
To ensure optimal communication quality, it is necessary to position the terminal resistor furthest from the core controller on the drive, with a resistance of
120 Ω
. As depicted in Figure 4, the terminal resistor onDriver1
can be opened through the dial. ForDriver2, 3, 4
, the terminal resistor switch is shown in Figure 6 when the terminal resistance is off.
Testing method for proper opening of terminal resistance:
Shutdown: Power off, disconnect the driver and controller
CAN
connection wire (Figure 4)Driver4
and the controller. Use a multimeter resistance gear to measure the driver sideCAN
on the busCAN_L,CAN_H
. The correct resistance value is120 Ω
, as shown in Figure 7. If the resistance value is obviously less than120 Ω
(for example, 60Ω), it indicates that there are at least two open driver terminal resistors.Disconnect
Driver1
andDriver2
from Figure 4. Use a multimeter to measure the resistance ofDriver1
lateralCAN
on the busCAN_L
,CAN_H
. The correct resistance value is120 Ω
, as shown in Figure 7. If the resistance is significantly greater than120 Ω
(for example, a few KΩ), it indicates that the terminal resistance is not opened at the end of the CAN bus and needs to be adjusted.
Our company's core domestic driver can enable or disable the motor to achieve the function of emergency stop. The motor can be controlled through the driver's
IO
port by setting the level to high or low.Figure 8 shows the Kinco drive with
COMI
parallel post access andDCDC 24V+
output. All drives should be connected in parallel toIN1
and the emergency stop output1+
(Line T 354) should be connected toSRC2000
. The other emergency stop output1-
(Line TE355) should be connected toDCDC
24V-
output.
Four, Drive Configuration
This configuration method is applicable to all servo drivers that support the CANopen protocol.
4.1 Walking Driver Configuration Method (Speed Mode)
Software connectivity, motor parameter configuration, driver parameter initialization;
Kincoservo+
shortcut to openKincoservo+
, select Communications C, Communications Settings to open communication settings, click Refresh to update the communication serial port, and click Open to connect the drive.
[Set Motor Model] To set the motor model, select "Motor M" under "Motor Configuration" to open the motor configuration. In the "Motor Model"
Value
column, set the motor model.
Please note that if the motor model is not found on the nameplate, you can contact Kinco
for after-sales support.
[Initializing Drive Parameters] To open the operation interface, select Drive D, then choose Initialize/Save/Restart. Next, select Storage Motor Parameters, Initialize Control Parameters, Storage Control Parameters, and Restart.
Select "Drive D" and navigate to "ECAN Settings". Then, choose "Other" and select "Node Protection Time" to adjust the drive's watchdog protection time to
100
. Next, select "Node Protection Time Coefficient" to adjust the drive's watchdog protection time coefficient to 3. Finally, select "CAN Baud Rate" to adjust the drive's CAN baud rate to250KHz
and select "Communication Interrupt Mode" to change the drive's interrupt mode to 1. Refer to Figure 4.4.11 for guidance.
Note: The value "25" in the debug window represents the CAN baud rate of 250KHz.
Select "Drive D" and enter the number
IO
to clear all numeric inputs and setDIN
.
Note: After the robot starts up, enter "DIN" in the drive digit and clear it all first. Please do not set any other DIN functions! The DIN function set by the user here is not valid at that time.
In "Drive D", choose "Basic Operation" and switch the drive's working mode to "Speed mode" under "Working Mode". Refer to Figure 4.4.13 for the configuration details.
Note: The speed mode is indicated by -3 in line 22 of the configuration window. After successful configuration, the effective working mode of line 0 will also change to -3.
Include a drive error cleaning function, as illustrated below:
Notice:
The "Reset fault" function is currently only supported in speed mode and must be configured in DIN4. It cannot be reused;
If the driver hardware version is not DIN4, check whether the actual input of DIN4 is low level (button gray). If it is low level, you can configure the "Reset fault" function. If it is high level, it is not supported.
Since the IO level processing of different versions of Buke driver is different, manual verification is required to determine whether it is available.
Select [Drive D] [Drive Configuration] and [Drive Number] to assign unique
CAN IDs
to different drives. For a general two-wheel differential robot, the left drive is assignedID 1
and the right drive is assignedID 2
.
Note:
It is important to determine if the drive has a dip keyboard configuration with an ID
. If so, the software configuration may not be valid. Please follow the instructions on the drive (as shown in the figure below) to directly configure the dip keyboard and modify the device station number CAN ID
.
SW3 | SW2 | SW1 | Binary Code | CAN(Node) ID |
---|---|---|---|---|
Off | Off | Off | 000 | EEPROM (valid for software configuration) |
Off | Off | On | 001 | 1 |
Off | On | Off | 010 | 2 |
Off | On | On | 011 | 3 |
On | Off | Off | 100 | 4 |
On | Off | On | 101 | 5 |
On | On | Off | 110 | 6 |
On | On | On | 111 | 7 |
Select the "Drive D" Object Dictionary to enable the "Mode" of the Keba PLC. Adjust the Keba PLC mode of the drive to the open state and configure the "Value" as "1".
To complete the PDO configuration on the drive, navigate to Drive D -->
ECAN
Configure "-->"TPDO
"/"RPDO
". Change the mapping group forTPDO1--TPDO8
to0
and forRPDO1--RPDO8
to0
.
Download the configuration parameters to the drive and select "Drive D Initialize/Save/Restart" to open the operation window. Then select "Storage Control Parameters", "Storage Motor Parameters", and "Restart".
Passcode for manual control is "roboshop". Check if the movement is normal. If not, please refer to the above steps. If it is normal, proceed to the next step: Go to "Driver D" → "Control Ring" → "Speed Ring" and gradually increase the proportional gain of the speed ring (it is recommended to set the final value between 300-400). After each setting, save the parameters and repeat the process until the motor is stationary or pushed by external force to emit a large current sound. Then, reduce the value slightly until no current sound is emitted.
Once the driver is configured, close the serial port connection and exit the configuration software
Kincoservo+
.
4.2 Steering Wheel Configuration Method (Position Mode)
Note: The emergency stop line is connected to IN1 and its function is set as "emergency stop".
Complete software connection, motor parameter setting, and driver parameter initialization according to Section 4.1, Step 1.
Refer to Section 4.1 for details on setting the Watchdog, baud rate, and drive ID in Step 2 and Step 6.
Drive I/O
Note: Make sure that the drive corresponding to the model file matches the steer
or else you may encounter a situation where I/O
cannot be written.
Limit Switch
To begin, determine the line sequence of the limit switch. Typically, the line sequence for a sensor is: brown for positive, blue for negative, and black for signal. It is important to confirm this sequence with the manufacturer.
The second step is to identify whether the steering gear zero switch and limit switch are NPN or PNP. Refer to **Figure 8** for the wiring diagram. Below are the connections for two different types of sensors:
For NPN type (low level trigger): connect all driver COMI in parallel to DCDC 24V+ output; connect all driver IN1 in parallel to SRC2000 emergency stop output 1+(TE35 Line 4), and connect the other emergency stop output 1- (TE35 line 5) to DCDC 24V- output;
If PNP type (high level trigger): connect all driver COMI in parallel to DCDC 24V- output; connect all driver IN1s in parallel to SRC2000 emergency stop output 1+(TE35 Line 4), and connect the other emergency stop output 1- (TE35 line 5) to DCDC 24V+ output.
IN2 is connected to the zero switch. If the limit switch is used, access IN3 (positive or negative limit can be configured according to actual use).
Select the change mode (original mode) based on the selection of the unlimited switch and zero switch.
Adjust the speed of change. Set the speed of change based on usage requirements. Do not exceed the rated speed.
Modify the change direction. Choose the initial change direction based on the change needs. If you switch the change direction to 1, the change can be undone.
Adjust the speed of the rudder angle executed by the steering gear in position mode, and modify the increase or decrease of the speed based on the actual usage situation.
Note: The modification speed is not effective in this area. The robot will deliver at the default speed.
Follow Steps 6-8 to configure the drive.
If the zero position does not meet the usage requirements after the change is completed, adjust the rudder angle offset according to the requirements in the model file, and set the maximum and minimum rudder angles correctly.
【
resetMode
[Here]resetByDriver
】
【
resetMode
[Here]resetByDriver
】
The location speed configuration is displayed as follows: Set the value to
30
, with a default of-1
.
4.3 Steering Wheel Configuration Method (Position Mode) [Kinco Absolute Value Encoder Scheme]
Note: This configuration method is applicable when Kinco is used as the steering motor and the steering motor encoder is an absolute value encoder.
The emergency stop line should be connected to IN1 and the function should be set as "emergency stop".
Complete software connection, motor parameter setting, and driver parameter initialization by following Step 1;
Proceed to Step 2.6 to set the Watchdog, baud rate, and drive ID;
Configure the relevant limit information as the absolute value encoder scheme is used as the steering wheel and limit information is not required;
Verify and troubleshoot any faults.
The motor stores control parameters.
Click "Restart" and you will see a failure display on the drive.
Figure 4.4.3.1
Activate fault display
Click on drive D
Selective fault display
Check the fault status. If the indicator before the encoder UVW fault or internal fault is red, it can be seen in Figure 4.4.3.1 below:
Figure 4.4.3.1
Display of processing faults
Click on drive D for basic operations
Change the communication encoder data to duplicate 1 instead of
10
Press Enter
Refer to FIG. 4.4.3.2 below:
Figure 4.4.3.2
Click on "Store Control Parameters"
Click on "Restart" and you will see the error disappear.
Refer to FIG. 4.4.3.4 below:
Figure 4.4.3.4
should not be modified in terms of HTML tags and attributes. The text within the code can be improved as follows:
Figure 4.4.3.4:
Enable origin mode
Open Drive D
Open Control Mode
Open Origin Mode
Set Origin Mode to 35
Refer to FIG. 4.4.3.5 below:
Figure 4.4.3.5
Set power-on origin to 2
Storage control parameters
As illustrated in Figure 4.4.3.6 below:
Figure 4.4.3.6
Modified trapezoidal acceleration and deceleration
Change the trapezoidal acceleration to 1000 revolutions per second per second
Change the trapezoidal deceleration to 1000 revolutions per second per second
As illustrated in Figure 4.4.3.7 below:
Figure 4.4.3.7:
Note: If the steering mechanism is found to be loud or experiencing overcurrent when operating the steering wheel after completing the setting, please adjust the trapezoidal acceleration and trapezoidal deceleration to 800rps/s. If the jitter and abnormal sound still occur after adjusting to 800rps/s, please continue to reduce the trapezoidal acceleration and deceleration (the minimum should be 300).
It should be noted that too small trapezoidal acceleration and deceleration will result in a slower speed of the steering motor, which will affect the accuracy of its placement.
Zero marking procedure
Select working mode 3 and write control word
103f
. When setting a target speed, it is suggested to choose a relatively low speed, such as50rpm
, in order to observe the wheel turning slowly.Use visual inspection to determine the mechanical zero (which may be biased) and set the target speed to zero.
Note: A mechanical reference point should be identified to determine the zero position.
Below is Figure 4.4.3.8:
Figure 4.4.3.8
Switch the operating mode to 6 and the current position of the servo should be 0.
Adjust the starting position to 10
If there is a significant difference between the actual zero positions in step 9, the target speed can be set to a negative value, the steering wheel can be turned back, and operations (2) and (3) can be continued to determine the zero position marked as zero above the mechanical zero position.
Configure the positive and negative soft limit settings.
Notice: The absolute encoder motor has no limit switch, allowing it to rotate 360°. To limit the motor's rotation angle, we must configure the positive and negative soft limit settings, which can be used as the limit.
How do I set the soft limit value?
Specify the angle value to be configured as
Alpha
.Specify the number of encoder lines for the motor as
encoderLine
(the number of encoder lines of the steer motor in the model file) to determine the deceleration ratio of the entire mechanism,reductionRatio
.The configuration parameters are as follows:
Alpha
= PI / 360° * 4 *encoderLine
*reductionRatio
.
Access drive D
Access object dictionary
Search for the soft limit, locate the soft limit settings, input the desired parameters for configuration, and press the
enter
key to confirm.
Locate the soft limit negative setting, input the negative value of the parameter to be configured, and press the
enter
key to confirm.
Steer
: Configuration of the model file
Note: Set the [resetMode] in the model file to [none] as shown in Figure 4.4.3.9.
Figure 4.4.3.9
V. Description of Model File Configuration
The Roboshop version is 2.0.X (with firmware version 1.8.X and below), as depicted in Figure 5.1 of the robot model. The Roboshop version is 2.1.X (with firmware version 1.9.X and above). Please consult Figure 5.2 of the robot model.
Key | Description | Value | Unit |
---|---|---|---|
x | The X coordinate of the driver installation | Set this parameter based on the actual installation position | m |
y | The Y coordinate of the driver installation | Set this parameter based on the actual installation position | m |
yaw | The orientation of the driver installation | Set this parameter based on the actual installation position | Degrees |
canID | The CANID of the drive | It depends on the configuration of the drive host computer | |
maxRPM | Maximum driver speed | 3000 | RPM |
encoderLine | Encoder wire count | Enter the value based on the actual situation | |
canPort | The port used by the drive | Enter the value based on the actual situation | |
brand | Driver brand |
| |
wheelRadius | Wheel radius | Enter the value based on the actual situation | m |
reductionRatio | Deceleration ratio | 20 |
Figure 5.1: Figure 5.2:
Note: The deceleration ratio, number of encoder lines, maximum motor speed, and driver brand should be filled in according to the actual selection. The number of encoder lines can be viewed through the drive debugging software's motor encoder parameter configuration.
5.1 Encoder Line
Incremental encoder reading: 2500
, absolute encoder reading: 16384
Figure 5.3
Note: This section of the encoderLine configuration instructions applies only to Buke drives; other brands are not compatible.
5.2 Current Factor
The current factor is calculated using the formula 1 / (2048 / Ipeak / 1.414). Please refer to Figure 5.5 for the value of Ipeak and the table for the actual configuration. For the OD124S series, the current factor is 0.024856.
Figure 5.4
Figure 5.5
Vi. Method for detecting driver function
Prior to installing the shell, please double-check the wiring to ensure it is correct.
Lift the body so that the wheels are off the ground. Turn on the robot and connect it to a network cable. Use the
Roboshop
software to operate the robot and turn the wheels. UseCanScope
to clamp onto the CAN bus and detect CAN messages for at least one hour, ensuring that there are no errors.Lower the body to the ground and use the
Roboshop
software to direct the robot to move forward, backward, left, and right.Before pressing the emergency stop button, attempt to push the robot. If it cannot be pushed (motor is not enabled), check the Roboshop robot in the state of "No emergency stop" and "drive no emergency stop", as shown in the left figure of Figure 6.1. After pressing the emergency stop button, the robot should be able to be pushed (motor is enabled) again. Check the state of the robot in Roboshop, which should show "emergency stop" and "drive has emergency stop", as shown in the right figure of Figure 6.1.
Figure 6.1:
Perform a 24-hour task chain motion aging test and check for any error alarms by viewing the Robokit Log.
7. Appendix
7.1 Driver Bus Communication Port (X1)
7.2 Drive Debugging RS232 Serial Port (X2)
7.3 Drive External I/O (X3)
FD123/FD133
driverX3
interface definition
FD1X4S
DriverX3
Interface Definition
7.4 How to use Zhiyuan CAN Scope
Software Installation - Install the supporting software for
CANScope
(Please contact Zhiyuan's after-sales service for software and user manual).Hardware Connections - Refer to
CANScope
connection instructions. Connect the power supply, USB debugging cable, and plug in theCAN Port
plate. ConnectCAN_H
to the SRC2000 external wiring harnessTE35 33
number line, and connectCAN_L
to the SRC2000 external wiring harnessTE35 32
number line. Plug the USB debugging cable into the computer.Open the
CANScope
software, select Port Board, deselect Enable Terminal Resistance, select Message, and set the baud rate to250Kbps
. Cancel [bus response] and select [On]. The real-time CAN message is shown in Figure 7.4.1:
Figure 7.4.1:
Select [Status] [Error] to verify if there are any error packets. Refer to Figure 7.4.2.
Figure 7.4.2:
7.5 Method for Using USB CAN Cards
Software Installation - Install the software
USB_CAN Tool
(Please contact the CAN card vendor for the software and user manual).Hardware Connection - Prepare the USB CAN card and cable, and connect the cable. Connect the
CAN_H
to theTE35 33
line number on the SRC2000 external wiring harness, and connect theCAN_L
to theTE35 32
line number on the SRC2000 external wiring harness. Refer to Figure 7.5.1.
Figure 7.5.1:
Open the
USB CAN tool
, select [Device Operation (O)] [Start Device (S)], and confirm that the CAN parameter, [baud rate], is set to250Kbps
. Select "CAN channel number" as channel 1, and click "OK". Refer to Figure 7.5.2 for details.
Figure 7.5.2:
4. Select [Display (V)] and deselect [Merge same ID data (M)]. The CAN message is shown in Figure 7.5.3:
Figure 7.5.3:
7.6 Usage Method of udpconsole
udpConsole
is a small tool utilized by our engineers for debugging and development purposes. It allows you to review error information reported by the firmware.Prior to utilizing the
udpconsole
tool, ensure a physical connection between the computer and robot is established using a network cable.Once the
udpconsole
is open, perform drive function tests and review the displayed content to check the time.Error frames may occur during driver communication, as depicted in Figure 7.6.1:
Figure 7.6.1:
7.7 Method 2 of Configuring a Drive
For the second method of configuring the driver, the initialization is successful. To check the DIN function and current status, and confirm whether the physical line is connected properly, you can select [Driver D] [Digital IO Settings] from the upper computer. Refer to Figure 7.7.1 for details:
Figure 7.7.1
Eight, Common Drive Error Codes
Bit 15 | Bit 14 | Bit 13 | Bit 12 | Bit 11 | Bit 10 | Bit 9 | Bit 8 |
---|---|---|---|---|---|---|---|
Memory | Motor excitation | High motor temperature | High pulse frequency alarm | Motor or drive IIt alarm | Logical low pressure | Position error | Absorption resistance |
Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
Driver | Driver | Driver | Driver | Encoder | Encoder UVW connection alarm | Encoder ABZ connection alarm | Internal error alarm |
For example:
When you remove the encoder cable from the drive, the Roboshop alarm will display an error code of 0x6
, as shown in the image below. The corresponding binary code is 0110
, with Bit 1
and Bit 2
representing a value of 1
. To check the real-time alarm error status of the control driver, confirm the alarm errors as "encoder ABZ connection alarm" and "encoder UVW connection alarm".
Figure 8
For earlier versions, refer to the following figure for error codes:
9. Method for Upgrading Kinco Drive Firmware
The Kinco FD124-CA-000 model has been discontinued, however, there are still some older versions available in the market. If the firmware version is dated before 20191231, it is advisable to update the drive firmware using the following steps:
Note: The update method and firmware are provided by Kinco technical support. If there are any issues, please contact Kinco. This modification method is for reference only and cannot be considered as the content of technical agreement and responsibility.
Turn on the computer and open [Communication Settings] to establish a software communication link.
Go to [Drive] → [Firmware Download] → [Load file]
Launch the firmware selection tool
Click on [Download] to download the firmware and wait for the firmware update to complete
Wait for the progress bar to finish, do not turn off the power in the middle
Firmware update successful
Select [Drive] -> [Initialize/Save/Restart] -> [Storage Control Parameters] -> [Restart].
Upgrade of firmware has been completed!
Note: After upgrading the firmware, you will need to reconfigure the drive parameters. If the motor is making noise, please contact Kinco technical support to adjust the gain parameters of the speed and current rings.
10. Frequently Asked Questions
Move the lock driver to the snap stop position
Open the lock configurationIf the vertical belt lock structure lacks structural rigidity and continues to slide after opening the lock configuration, adjust the driver PID and lock delay according to the reference values shown in the following figure. If the problem persists, please contact Step engineers for assistance in debugging.