Skip to content

Feature: Lead Angle Control (Phase Advancing) #136

@Ben-Star-Delta

Description

@Ben-Star-Delta

Scooterhacking Tool

Firmware (SHFW)

Type of feature

Performance

Priority

high (definitely next release)

Dear ScooterHacking Team,

First, I want to express my gratitude for your efforts in advancing motor control firmware for scooters. The inclusion of features like field weakening and overmodulation has significantly enhanced performance, and the community truly appreciates your work.

I would like to propose the implementation of Lead Angle Control (Phase Advancing) in your firmware. This advanced feature could further optimize the performance of scooters, especially at higher speeds. Below, I outline the concept, its benefits, and potential implementation considerations:

What is Lead Angle Control?

Lead Angle Control, also known as Phase Advancing, involves shifting the phase of the electrical current relative to the rotor position to optimize torque and efficiency at higher speeds. By advancing the angle at which the stator current is applied, it compensates for the natural delay caused by increased back-electromotive force (Back-EMF) at higher rotational speeds.

Benefits of Lead Angle Control

Increased Speed Efficiency:
Enhances motor performance near the maximum RPM, maintaining torque delivery where it would otherwise drop due to Back-EMF. Complements field weakening, resulting in smoother transitions and sustained acceleration at high speeds.

Improved Motor Torque Stability:
Ensures that torque generation remains stable, even as the motor approaches its design limits.
Particularly useful for users in hilly areas or with heavier loads where maintaining torque is critical.

Reduced Power Loss:
Optimizes current application to the motor, reducing waste heat and improving overall system efficiency.
Extends battery life by using power more effectively during high-speed operation.

Proposed Implementation

Dynamic Lead Angle Adjustment:
The lead angle could be dynamically adjusted based on RPM, with a lookup table or algorithm that increases the phase advance as speed rises.

User-Configurable Settings:
Offer sliders or numerical inputs in the configuration tools (e.g., via the ScooterHacking app) to allow users to fine-tune lead angle parameters, such as:

  • Initial lead angle at low speeds.
  • Maximum lead angle at high speeds.
  • Scaling factor for smooth transitions.

Integration with Existing Features:
Combine Lead Angle Control with the existing Field Weakening and Overmodulation features to create a seamless high-performance package.

I hope you find this suggestion valuable, and I would be happy to provide further insights or assist in any way possible to support its development.

Thank you for your time and for continuously improving the riding experience for the community.

Contact Information

Discord: stardeltamod

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureapparently this would improve somethinghighwe should start worryingshfwshfw bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions