Skip to content

Commit

Permalink
Add stepper sequencer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
schlae committed Jun 12, 2024
1 parent 51826c4 commit 2515579
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 14 deletions.
70 changes: 70 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,76 @@ Differential signals from the currently selected read/write head gets amplified

The preamp is similar to the NE592 video amplifier chip. See the datasheet for examples of different gain networks.

### 11782-501 "STEP SEQR"

The step sequencer generates the 5-phase signals that drive the stepper motor power driver chips.

**Pin Description**

| Pin | Name | Direction | Description |
|-----|-------|-----------|-------------------------------------------------|
| 13, 20 | VCC | Power In | 5V power rail. |
| 10, 19 | GND | Ground | Connect to ground. |
| 1 | MTA+ | Output | Motor phase A high drive |
| 2 | MTA- | Output | Motor phase A low drive |
| 4 | MTB+ | Output | Motor phase B high drive |
| 5 | MTB- | Output | Motor phase B low drive |
| 6 | MTC+ | Output | Motor phase C high drive |
| 7 | MTC- | Output | Motor phase C low drive |
| 8 | MTD+ | Output | Motor phase D high drive |
| 9 | MTD- | Output | Motor phase D low drive |
| 11 | MTE+ | Output | Motor phase E high drive |
| 12 | MTE- | Output | Motor phase E low drive |
| 14 | RESET# | Input | Active low reset input. Drive low to go to sequence 0. |
| 15 | CLK | Input | Clock input. Sequence changes on rising edge. |
| 3 | RETRACT# | Input | Active low retract input. Drive low to set all phase outputs low. |
| 17 | DIRECTION | Input | Direction pin. The sequence tables all assume this pin is high. |
| 16 | HALFSTEP# | Input | Active low half-step input. Activating this pin turns on half-step mode. |
| 18 | HALFSTEP2# | Input | Active low alternative half-step mode input. When asserted while HALFSTEP# is low, turns on alternate half-step mode. Ignored when HALFSTEP# is deasserted.|

**Detailed Description**

This device is basically a sequence controller chip that drives the phase signals going to the stepper motor driver chips.

They follow these phase tables.

For each phase, the states below correspond with the following output states. Phase 0 corresponds with the phase after a reset. When DIRECTION=0, proceed from phase 0, 1, 2...9 and wrap back to 0. When DIRECTION=1, proceed from phase 0, 9, 8, 7...1.

| Phase | + Pin State | - Pin State |
|-------|-------------|-------------|
| z | Low | Low |
| H | High | Low |
| L | Low | High |


Std: Standard step mode (HALFSTEP#=1, HALFSTEP2#=x, DIRECTION=0)

Half: Half step mode (HALFSTEP#=0, HALFSTEP2#=1, DIRECTION=0)

AltHalf: Alternate half step mode (HALFSTEP#=0, HALFSTEP2#=0, DIRECTION=0)

| Std | 0 | . | 1 | . | 2 | . | 3 | . | 4 | . | 5 | . | 6 | . | 7 | . | 8 | . | 9 | . |
|-------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | z | | L | | L | | L | | L | | z | | H | | H | | H | | H | |
| B | L | | z | | H | | H | | H | | H | | z | | L | | L | | L | |
| C | H | | H | | z | | L | | L | | L | | L | | z | | H | | H | |
| D | L | | L | | L | | z | | H | | H | | H | | H | | z | | L | |
| E | H | | H | | H | | H | | z | | L | | L | | L | | L | | z | |
| **Half** | **0** | **1** | **2** | **3** | **4** | **5** | **6** | **7** | **8** | **9** | **10**| **11**| **12**| **13**| **14**| **15**| **16**| **17**| **18**| **19**|
| A | z | z | L | L | L | L | L | L | L | z | z | z | H | H | H | H | H | H | H | z |
| B | L | z | z | z | H | H | H | H | H | H | H | z | z | z | L | L | L | L | L | L |
| C | H | H | H | z | z | z | L | L | L | L | L | L | L | z | z | z | H | H | H | H |
| D | L | L | L | L | L | z | z | z | H | H | H | H | H | H | H | z | z | z | L | L |
| E | H | H | H | H | H | H | H | z | z | z | L | L | L | L | L | L | L | z | z | z |
| **AltHalf** | **0** | **1** | **2** | **3** | **4** | **5** | **6** | **7** | **8** | **9** | **10**| **11**| **12**| **13**| **14**| **15**| **16**| **17**| **18**| **19**|
| A | z | L | L | L | L | L | L | L | L | L | z | H | H | H | H | H | H | H | H | H |
| B | L | L | z | H | H | H | H | H | H | H | H | H | z | L | L | L | L | L | L | L |
| C | H | H | H | H | z | L | L | L | L | L | L | L | L | L | z | H | H | H | H | H |
| D | L | L | L | L | L | L | z | L | H | H | H | H | H | H | H | H | z | L | L | L |
| E | H | H | H | H | H | H | H | H | z | L | L | L | L | L | L | L | L | L | z | H |



### 10223-502 "RETURN"

This device moves the heads to the landing zone when it detects a power loss.
Expand Down
44 changes: 34 additions & 10 deletions st251/20938/digital.kicad_sch
Original file line number Diff line number Diff line change
Expand Up @@ -1839,23 +1839,23 @@
(number "13" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -6.35 0) (length 2.54)
(name "UNK1" (effects (font (size 1.27 1.27))))
(name "~{RESET}" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -22.86 0) (length 2.54)
(name "CLK" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -8.89 0) (length 2.54)
(name "UNK2" (effects (font (size 1.27 1.27))))
(name "~{HALFSTEP}" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -11.43 0) (length 2.54)
(name "UNK3" (effects (font (size 1.27 1.27))))
(name "DIRECTION" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -13.97 0) (length 2.54)
(name "UNK4" (effects (font (size 1.27 1.27))))
(name "~{HALFSTEP2}" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 10.16 -34.29 90) (length 2.54)
Expand Down Expand Up @@ -2257,7 +2257,7 @@
(stroke (width 0) (type default))
(uuid 06e6e099-bc7d-4ab5-9e03-69ac72112a31)
)
(wire (pts (xy 287.02 93.98) (xy 287.02 110.49))
(wire (pts (xy 303.53 93.98) (xy 303.53 110.49))
(stroke (width 0) (type default))
(uuid 06fd4c63-8594-4549-8fec-4f0ae921a44c)
)
Expand Down Expand Up @@ -2533,7 +2533,7 @@
(stroke (width 0) (type default))
(uuid 376841b6-aa7b-4eb9-8714-38ba626044c9)
)
(wire (pts (xy 276.86 93.98) (xy 287.02 93.98))
(wire (pts (xy 276.86 93.98) (xy 303.53 93.98))
(stroke (width 0) (type default))
(uuid 3768d177-377e-48a5-8859-1c2e493160c2)
)
Expand Down Expand Up @@ -2920,7 +2920,7 @@
(uuid 7afbe5f7-778f-431f-bf8b-2c305f49bf08)
)
(wire (pts (xy 287.02 110.49) (xy 312.42 110.49))
(wire (pts (xy 303.53 110.49) (xy 312.42 110.49))
(stroke (width 0) (type default))
(uuid 7bb5b789-d8f0-411a-af39-fd06329ff26a)
)
Expand Down Expand Up @@ -2962,7 +2962,7 @@
(stroke (width 0) (type default))
(uuid 810a4223-d246-4814-8b1c-6b563e054528)
)
(wire (pts (xy 276.86 96.52) (xy 289.56 96.52))
(wire (pts (xy 276.86 96.52) (xy 300.99 96.52))
(stroke (width 0) (type default))
(uuid 816c6380-7607-4efc-87de-5209152856d4)
)
Expand Down Expand Up @@ -3136,7 +3136,7 @@
(stroke (width 0) (type default))
(uuid a2175a4b-c8d1-4db9-bf32-d791758bed61)
)
(wire (pts (xy 289.56 96.52) (xy 289.56 107.95))
(wire (pts (xy 300.99 96.52) (xy 300.99 107.95))
(stroke (width 0) (type default))
(uuid a2515786-c4e6-4794-b128-b1cc8c06f976)
)
Expand Down Expand Up @@ -3401,7 +3401,7 @@
(stroke (width 0) (type default))
(uuid cac87ea0-ce3b-4282-ad52-5a480ad0387a)
)
(wire (pts (xy 289.56 107.95) (xy 312.42 107.95))
(wire (pts (xy 300.99 107.95) (xy 312.42 107.95))
(stroke (width 0) (type default))
(uuid cb72570c-5526-4c14-a23f-c3b867cf82d7)
)
Expand Down Expand Up @@ -3735,6 +3735,10 @@
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 8d76c59b-ad3d-479d-b716-8d9462ea9981)
)
(text "<-" (at 71.12 82.55 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid ab2e6726-2070-40be-9607-a3d4771d9474)
)
(text "ST-251 LSI FA CONTROL" (at 302.26 260.35 0)
(effects (font (size 3.81 3.81)) (justify left bottom))
(uuid b53fe6a5-142d-47a5-902d-d8c5d6294e74)
Expand Down Expand Up @@ -3860,6 +3864,10 @@
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 4852d6a3-6e9b-4cc8-9c72-a436c2c76190)
)
(label "L_TRK0_OUT" (at 74.93 82.55 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 485aa145-6932-426e-bd0c-9ec5ae402c1b)
)
(label "L_DIR" (at 73.66 74.93 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 489c22d9-35c5-4c60-8478-147d141b3cf8)
Expand All @@ -3872,6 +3880,10 @@
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 4c5debde-3089-420c-b50e-27a96cbdd621)
)
(label "~{HALFSTEP}" (at 288.29 96.52 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 4d21ef4e-a410-4136-9152-a2daa03249af)
)
(label "A2" (at 148.59 74.93 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 51be7ce6-58fd-40b5-a2bb-da2b49bb576f)
Expand Down Expand Up @@ -3932,6 +3944,14 @@
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 766adb16-918d-4fca-9202-2ab3d6121ec1)
)
(label "INDEX_SYNC" (at 267.97 120.65 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 7978b217-a66e-409e-83d9-d9287ab0ea2a)
)
(label "L_STEP?" (at 73.66 77.47 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 7a2e9015-5b69-4309-9728-e71f40a3629b)
)
(label "D0" (at 160.02 101.6 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 80442588-d4d3-4fe6-9a93-c6254a96efcb)
Expand Down Expand Up @@ -3976,6 +3996,10 @@
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid a06a42c5-d837-44fe-97cc-ea75d2af9600)
)
(label "DIRECTION" (at 292.1 93.98 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid a271ae02-0ec6-4b8a-91a7-542a309c9c97)
)
(label "PHI2" (at 246.38 149.86 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid a2a2eda5-cabb-4df1-aacd-0725c6607fe8)
Expand Down
8 changes: 4 additions & 4 deletions st251/20938/st251.kicad_sym
Original file line number Diff line number Diff line change
Expand Up @@ -1337,23 +1337,23 @@
(number "13" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -6.35 0) (length 2.54)
(name "UNK1" (effects (font (size 1.27 1.27))))
(name "~{RESET}" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -22.86 0) (length 2.54)
(name "CLK" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -8.89 0) (length 2.54)
(name "UNK2" (effects (font (size 1.27 1.27))))
(name "~{HALFSTEP}" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -11.43 0) (length 2.54)
(name "UNK3" (effects (font (size 1.27 1.27))))
(name "DIRECTION" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin input line (at -2.54 -13.97 0) (length 2.54)
(name "UNK4" (effects (font (size 1.27 1.27))))
(name "~{HALFSTEP2}" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 10.16 -34.29 90) (length 2.54)
Expand Down
Binary file modified st251/20938/st251_20934.pdf
Binary file not shown.

0 comments on commit 2515579

Please sign in to comment.