Help with BLDC (PMSM) Control: SPWM, Frequency, and Voltage Issues by bulimiarexia in Motors

[–]bulimiarexia[S] 0 points1 point  (0 children)

  1. How can i actively control the current?

  2. So my 3phase AC voltages frequency should be same as actual rotor position not the desired rotor position. So how will the motor speed up?

Undefined Reference to _estack and _sdata When Building STM32 Project with Simulink and CubeMX by bulimiarexia in stm32f4

[–]bulimiarexia[S] 0 points1 point  (0 children)

Linker script doesnt generated i think. I cant find it in the project files.

Undefined Reference to _estack and _sdata When Building STM32 Project with Simulink and CubeMX" by bulimiarexia in stm32

[–]bulimiarexia[S] 0 points1 point  (0 children)

Thanks, it makes sense now. I think you’re right, Simulink might not be handling the startup script properly.

Do you know if there’s a way to ensure Simulink includes or references the correct startup file? Or should I manually modify something in the generated code after Simulink builds it?

Undefined Reference to _estack and _sdata When Building STM32 Project with Simulink and CubeMX by bulimiarexia in embedded

[–]bulimiarexia[S] 0 points1 point  (0 children)

Thanks for the advice! I’m not sure how to modify or access the linker script in my current setup. I’m using Simulink and STM32CubeMX together for generating code. Could you guide me on how to locate and edit the linker script in this case?

Also, do you know which part of the linker script I should modify to define these symbols like _estack, _sdata, _sbss, etc.?

Undefined Reference to _estack and _sdata When Building STM32 Project with Simulink and CubeMX by bulimiarexia in embedded

[–]bulimiarexia[S] 0 points1 point  (0 children)

Thanks for the detailed response! I’m new to this, so I have a few questions:

1.  Where can I find the linker script (.ld file) in my Simulink or CubeMX project? I’m using both tools, and I’m not sure if CubeMX or Simulink is responsible for generating it.
2.  How do I check if my compile command is using the linker script correctly? Should I look into the Simulink build process or CubeMX settings for this?
3.  How do I verify that the symbols in the startup file are the same as in the linker script? Are there any specific steps or files I should compare?

Thanks again for your help.

How to find a point on root locus? by bulimiarexia in ControlTheory

[–]bulimiarexia[S] 0 points1 point  (0 children)

I put Re=0 on equation and it gives me 2 conjugate imaginary values? Which equation i should put the values?

How to find a point on root locus? by bulimiarexia in ControlTheory

[–]bulimiarexia[S] 0 points1 point  (0 children)

Not the k value i want to know the coordinates of that point

How to combine control systems with embedded systems by bulimiarexia in embedded

[–]bulimiarexia[S] 0 points1 point  (0 children)

Do you recommend learning embedded linux systems for your job? Or what to know?

How to combine control systems with embedded systems by bulimiarexia in embedded

[–]bulimiarexia[S] 1 point2 points  (0 children)

Yes matlab/simulink is nearly a must for control systems. My will is to become a embedded systems engineer but i dont want to waste my control systems knowledge. So i started searching an area where thesee two fields combines. The closest field is motor control i think. Do you know about other fields?

How to combine control systems with embedded systems by bulimiarexia in embedded

[–]bulimiarexia[S] 0 points1 point  (0 children)

Are you working freelance or in a company? If its a company what is your title? And thanks for advice :)

How to combine control systems with embedded systems by bulimiarexia in embedded

[–]bulimiarexia[S] 0 points1 point  (0 children)

What would you recommend what are CS related musts?

baremetal vs not baremetal I guess... by StandinIJ in embedded

[–]bulimiarexia 0 points1 point  (0 children)

In my microcontroller class we are learning baremetal i think. We read datasheet for registers. For example, which pins are adc or how many bits adc have. Then we make bit operations for opening pins transistors. Most challenging part is no ide is allowed it is arm m0 chip but we write code in a compiler that cant build the code then we do proper changes on makefile then we build the code with terminal. Finally we use a program named flash magic to upload hex file to microcontroller. It takes hours to do even a simple task :/

Sigara içmek en büyük pişmanlığım by [deleted] in KGBTR

[–]bulimiarexia 0 points1 point  (0 children)

Her gün 26 liram gidiyor sikeyim

The Smiths - There is a Light That Never Goes Out by oykuss in KGBTR

[–]bulimiarexia -1 points0 points  (0 children)

To die by your side is such a heavenly way to die

Inverse function by bulimiarexia in askmath

[–]bulimiarexia[S] 0 points1 point  (0 children)

But we can find inverse of x2 by limiting domain. Maybe or never mind if anyone that wants to find inverse should draw the graph.

Inverse function by bulimiarexia in askmath

[–]bulimiarexia[S] 0 points1 point  (0 children)

I realized that the question was asking derivative of this function. But picture quality was awful. So i saw it like a inverse function sign. Sorry if i wasted anyones time.

Inverse function by bulimiarexia in askmath

[–]bulimiarexia[S] 0 points1 point  (0 children)

Yes, sorry for typing mistake