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

Hall Sensor Delay #1

Open
isaaconyourside opened this issue May 11, 2022 · 3 comments
Open

Hall Sensor Delay #1

isaaconyourside opened this issue May 11, 2022 · 3 comments

Comments

@isaaconyourside
Copy link

Hey andrewrays,

Great model so far, I had a quick question I was hope you could help out with. I was wondering if there was a way to insert a hall sensor delay to the model? Hall sensors typically have an output propagation delay and I was wondering what kind of differences this parameter could make to my motor system.

Looking forward to your response, thanks!

Best,
Isaac

@andrewrays
Copy link
Owner

Hello, Isaac
You could add a Delay block in hall sensors feedback. With that, you can choose the delay length that your system requires. However, the model will operate as a discrete system.

@isaaconyourside
Copy link
Author

Hello Andrew,
That is what I was thinking of doing, I just was not sure if it would affect the simulations commutation like I am hoping it would. What I am trying to simulate is if there are any commutation errors being caused the hall sensor delay. So I would imagine to see more current consumption due to the error. Would this come across in this simulation?

Best,
Isaac

@andrewrays
Copy link
Owner

Hello,
Of course it will affect the simulation results. I have simulated the model with delays considering motor's control system has sample time 5e-4 sec (20 kHz). I have added the following delays: for H1 - 5 ts, for H2 - 10 ts, for H3 - 15 ts, where ts is sample time of the control system
HSdelays

Current plots have also changed as algorithm works improperly.
image

Is that what you asked me about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants