Further understanding into Hall Validity & Hall Decoder block

4 views (last 30 days)
GoodDay,
Here are few of my questions:
  1. I was wondering is there any more papers / info that is available to allow further understanding on the 'Hall Validity' & 'Hall Decoder' block? What is the idea / process behind these blocks?
  2. How accurate is the 'Hall Validity' block in validifying the Hall sensor, and what is the process behind this block?
  3. Is there currently any limitation / problems with the existing 'Hall Validity' & 'Hall Decoder' block?
  4. Are there any alternatives to these block?
  5. If the Hall sensor readings is invalid, can these blocks perform certain correction on the sensor reading, rather than just outputting an invalid signal?
  6. Does the blocks has any correcting sequence function if the hall sensor is misalligned?
Thank You,
Alex

Answers (2)

Mohsen Aleenejad
Mohsen Aleenejad on 9 Nov 2022
Hi Alex,
1-If you search for "Hall Validity" or "Hall Decoder" into MATLAB search bar, you'll find all of the related docs.
If yo right click on any of these blocks and click on "Look Under Mask" then you'll be able to see the process behind it.
2- In your previos search, refine it by Examples (from the left side of the help page) you can find several examples to evauate the accuracy of these blocks.
3- What kind of limitations you have espicifically in mind? if you are asking about "Extended Capabilities""
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.
4- If you use the "Hall" keyword in the search bar and refine it by blocks you'll find more than 100 blocks. If you're looking for some alternative blocks you might not find exact replacment "block" but you could create custome blocks by using these components for sure.
5&6- The Hall Validity block checks and validates every state of the Hall sensor output sequence. The block identifies the condition when one or more Hall sensors are in an invalid state.
The block executes when a Hall sensor output state (or Hall state) changes.

Mohsen Aleenejad
Mohsen Aleenejad on 15 Nov 2022
  • How accurate is the 'Hall Validity' block in validifying the Hall sensor?
The Hall Validity block works on every Hall interrupt. So theoretically every 60 degree electrical rotations the Hall signals are validated. Based on the sequence this block will validated the hall reading with full accuracy. It has the following Validity checks:
- Invaild Hall reading (1 or more hall failure)
- Hall reading not following the sequence (This could mean either hall interrupt failed (Skipped) or 1 or more hall is bad)
- Direction change
  • Is there currently any limitation / problems with the existing 'Hall Validity' & 'Hall Decoder' block?
Not that we are aware of.
  • If the Hall sensor readings is invalid, can these blocks perform certain correction on the sensor reading, rather than just outputting an invalid signal?
Not at this moment.
  • Does the blocks have any correcting sequence function if the hall sensor is misaligned?
  • However we assume the halls are equally apart and we use this information to calculate position. We minimize the effect of misalignment in speed calculation by computing speed every 180 electrical revolution per hall. This will give accurate speed even if Halls are misaligned which in turn improves the accuracy of extrapolation, but the sector position is still decided based on the hall reading assuming each sector is 60 electrical degrees wide.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by