Skip to content

Commit

Permalink
Added a short description and table to visualize 6-step commutation
Browse files Browse the repository at this point in the history
  • Loading branch information
stylesuxx committed Jun 12, 2023
1 parent afd1901 commit ed98094
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions src/Modules/Commutation.asm
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,37 @@
;
; Commutation
;
;**** **** **** **** **** **** **** **** **** **** **** **** ****

;**** **** **** **** **** **** **** **** **** **** **** **** ****
; Performs 6-step commutation switching.
;
; In 6-step commutation switching a full rotation is segregated in 6 sectors.
; Every sectors is 60 degrees (6 * 60 = 360), thus 6 steps are needed to
; complete one full rotation.
;
; Non reversed switching (PWM, non inverted shown here). The diagram shows two
; full commutation runs:
;
; 123456123456
; A __/‾‾\__/‾‾\
;
; B /‾‾\__/‾‾\__
;
; C ‾\__/‾‾\__/‾
;
; Commutation routines
; The followind table shows the states of the FETs for all phases including
; complementary states:
;
; Performs commutation switching
; Step AA' BB' CC'
; 1 C->A 01 00 10
; 2 B->A 01 10 00
; 3 B->C 00 10 01
; 4 A->C 10 00 01
; 5 A->B 10 01 00
; 6 C->B 00 01 10
;
; NOTE: Every step has a "reverse" step which is used in bi-directional mode
; where the motor is allowed to spin in both directions. Depending on the
; current RC pulse the motor is commutated either in "normal" direction
; or in "reverse".
;**** **** **** **** **** **** **** **** **** **** **** **** ****

; Comm phase 1 to comm phase 2
Expand Down

0 comments on commit ed98094

Please sign in to comment.