Notice that the rising U Hall signalis at 0 degrees, the rising VHall signal is at 120 degrees, and the rising W Hall signal is at 240degrees. A Hall sensor set-up in which rising Hall signals occur atevery 120- degree position is shown in Figure10 below. Since Hall sensors provide polarity, we can easily determine whichHall sensor interrupt has been received by reading all three polaritylevels. This interrupt-based code must interpret the Hallsignals correctly and then change power-switch states, first turningoff one switch and then turning on the next. Let's apply what we have learned about the basics of brushlessmotor control in Part1 to the example of Hall sensorsignal processing.At every interrupt, the MCU has to execute a code that properly changesthe output state.
0 Comments
Leave a Reply. |