Giter Site home page Giter Site logo

Comments (6)

rewolff avatar rewolff commented on July 23, 2024

It could be that the measuring of the rotor state is difficult when "full brake" is on. So I wouldn't be suprised it it cannot measure the rotor state in that situation. Could it be that you're getting tired after a a few tries so that the induced voltages are less and that the measured voltages end up below the detection threshold?
Why is this a problem for you?

from bldc.

pabloxid avatar pabloxid commented on July 23, 2024

Yeah, I thought this might be the cause, however there are two important points:

  1. failure occurs only sometimes. That is, the system is actually capable to detect the state of the rotor when "full brake".

  2. this shouldn't be a surprise, because in fact I'm using hall sensors. Maybe the problem is that, occasionally the system is put into sensorless mode and "forget" that it has hall sensors (In fact, it switches to sensorless mode at high duty cycles, don't it?).

Why is this important to me? Because I'm using VESC in a positioning system, so the tachometer can help me determine if there was any fault.

from bldc.

pabloxid avatar pabloxid commented on July 23, 2024

Definitely the problem is related to sensored/sensorless switch under "hybrid" mode, which is what I've been using. If I put VESC into full "sensored" mode, tachometer works always.

from bldc.

pabloxid avatar pabloxid commented on July 23, 2024

I think when braking, a call to update_sensor_mode () is missing somewhere in the code. Can anyone confirm this, and tell me where that call should be placed?

Thank you.

from bldc.

vedderb avatar vedderb commented on July 23, 2024

I can have a look at this soon. Sensored mode in the BLDC code has some issues in general and I haven't tested it much, so it needs some improvements. Could you give sensored FOC a try?

from bldc.

pabloxid avatar pabloxid commented on July 23, 2024

I could not get my motor works in FOC mode. Maybe I didn't understand the procedure for adjusting the parameters, but for reasons of time, I needed to finish this project and had already achieved some results in BLDC mode, so I kept in BLDC mode. This issue is for "hybrid" BLDC mode, full "sensored" mode works well.

from bldc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.