Skip to main content

settings.yml

Overview

settings.yml contains configurations for the Winder BLDC motor winding machine and is placed in the root directory. These parameters can be adjusted based on the specific motor being wound and the desired winding process. You can calibrate the parameters by running scripts/calib.py with your winding machine.

serial

port

The serial port to which Aotenjo Master is connected. Default is /dev/ttyACM0.

baudrate

The baudrate for the serial communication. Default is 115200.

motor

M0

M0 is the motor that controls the linear motion of the stator.

M0 Configuration Image

wind_range_end

The position where the arm winds to the end of the slot.

wind_range_start

The position where the arm winds from the root of the slot.

end_to_zero

The distance between wind_range_end and zero of M0.

velocity

The velocity(rad/s) of M0 in simulation mode.

M1

M1 is the motor that rotates the stator.

zero

The position of M1 exactly aligned with the stator holder.

end_to_rotating_position

The distance between wind_range_end and the rotating position of M1.

velocity

The velocity(rad/s) of M1 in simulation mode.

M2

M2 is the motor that winds the wire around the stator.

zero

The position of M2 when the arm is at 12 o'clock position.

angle_to_prevent_collision

The angle to prevent collision between the stator and the wire.

velocity

The velocity(rad/s) of M2 in simulation mode.

M2 is the motor that winds the wire around the stator.

zero

The position of M2 when the arm is at 12 o'clock position.

velocity

The velocity(rad/s) of M2 in simulation mode.

M3

M3 is the motor that controls the wire tension.

pull_wire_torque

The torque applied by M3 to pull the wire.

wind_torque

The torque applied by M3 during winding.

velocity

The velocity(rad/s) of M3 in simulation mode.

winding

turns_per_slot

The number of turns per slot. Default is 75.

starts_at

The first slot number to wind. Default is 0.

winding_config

The winding configuration string. Default is "AaAabBbBCcCcaAaABbBbcCcC". This string represents the winding sequence for a 24n22p motor. You can find the winding configuration string at Winding Scheme Calculator

dont_move_m3

Whether to move M3 during winding. Default is false.