Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop an understanding on how to use motor controller workbench for STM32 to use custom hardware for code generation #2

Open
1 of 14 tasks
roboticvedant opened this issue Oct 8, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Milestone

Comments

@roboticvedant
Copy link
Collaborator

roboticvedant commented Oct 8, 2024

Issue Description for STM32 Motor Controller Workbench

Understanding STM32 Motor Controller Workbench for Custom Hardware

This issue focuses on leveraging the STM32 Motor Controller Workbench to configure and generate code for custom motor control hardware, specifically targeting a Permanent Magnet Synchronous Motor (PMSM) setup. The goal is to create a customized board file that reflects the parameters of a unique car project, facilitating efficient motor control.

Important Links

Tasks

  1. Research and Familiarization
  • Review the provided links to understand the fundamental concepts of motor control with STM32, focusing on PMSM characteristics and configuration.
  1. Custom Board File Development

    • Create a custom board file for the STM32 Motor Controller Workbench that includes:
      • Motor specifications (e.g., voltage, current, and phase resistance).
      • Sensor setup (if applicable, e.g., encoder or Hall sensors).
      • PCB layout considerations tailored to the hardware setup.
  2. Parameter Mockup

    • Develop a rough mockup of the car's motor parameters. This could include:
      • Motor model and specifications (e.g., rated power, torque).
      • Desired performance metrics (e.g., speed, acceleration).
      • Feedback mechanism (if needed).
  3. Code Generation

    • Use the STM32 Motor Controller Workbench to generate initial code based on the custom board file.
    • Verify the generated code aligns with the specified parameters and configure it for testing.
  4. Testing and Validation

    • Set up the hardware for initial tests.
    • [ ]Validate motor control behavior based on the generated code.
    • Document any issues encountered during testing for further refinement.
  5. Documentation

    • Create comprehensive documentation detailing:
      • The development process for the custom board file.
      • Parameter selections and justifications.
      • Testing results and troubleshooting steps.

Next Steps

  • Start with the research phase to build a solid understanding of motor control principles relevant to your hardware.
  • Proceed to create the custom board file and mockup parameters based on the findings from your research.

Updates

Please share progress updates or any questions as you work through these tasks!

@roboticvedant
Copy link
Collaborator Author

@jtoomey5252 I have updated the description to give some more context. Also, do you have any updates on this?

@roboticvedant roboticvedant added this to the v0.1 milestone Oct 13, 2024
@roboticvedant roboticvedant added documentation Improvements or additions to documentation good first issue Good for newcomers labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants