LM9830VJDX NSC [National Semiconductor], LM9830VJDX Datasheet - Page 27

no-image

LM9830VJDX

Manufacturer Part Number
LM9830VJDX
Description
LM9830 36-Bit Color Document Scanner
Manufacturer
NSC [National Semiconductor]
Datasheet
When the Resume Scan signal is received, the stepper motor
controller waits the appropriate number of pixel periods after the
next TR pulse and then starts stepping again at the normal rate.
The first new line transmitted is determined by the Lines to Dis-
card After Resume Scan Signal register. The discard value
must be the same as the value in the Lines to Process After
Pause Scan Signal register.
3.4 Pause Behavior - Reversing Mode
If the Full Steps to Reverse When Buffer is Full register is >0,
then the Reversing Mode is enabled.
The Reversing Mode eliminates spacial distortion due to the
pausing of a scan. When the Pause Scan signal is received, the
line currently being processed is completed and stored in RAM
(line “b” in Figure 25). When the scan resumes, ideally the
LM9830 would send out lines “c” and after under the exact same
speed and positional conditions the scanner was in before the
scan stopped (as indicated by the dotted line in Figure 25).
When the Pause Scan signal is received, the LM9830 sends out
the remainder of the line currently being read from the CCD (line
b), and stores the offset (in pixel periods) between the last TR
pulse and the last step. It then stops, reverses, stops, and waits
for the Resume Scan signal. Once Resume Scan is asserted, the
motor controller waits for the previously stored number of pixels
periods, then starts moving forward again, maintaining the same
phase relationship between the TR pulse and the stepper motor
control signals. The result is as if the stepper motor had never
paused.
Figure 22: Lines to Process after Pause Scan Signal Register
Figure 23: Lines to Discard After Resume Scan Signal
MicroStep
0
1
2
...
7
0
1
2
...
7
TR
Pulse
Value
Value
Figure 24: Stepper Motor Resuming
0(a only)
1 (a and b)
2 (a, b and c)
...
7
b
c
d
...
i
Additional Lines to Store in SRAM
First Line to Transmit After Pause
Scanning
Resume
Signal
Register
a
b
c
d
27
Stopping, reversing, and resuming forward motion all follow the
curve programmed in the Acceleration Profile configuration reg-
ister. There are 3 segments (Stopped, 25%, and 50%), and the
number in each register indicates the number of full steps to stay
at that acceleration. A value of 0 indicates that that segment is to
be skipped. For example, a value of 0 in all three registers would
mean that the motor would instantly reverse when the buffer is
full, then instantly stop after going back the specified number of
lines.
This acceleration profile is used any time the motor is started,
stopped, or reversed.
The acceleration profile for stopping, reversing, stopping, and
going forward again is this:
• Full speed forward (1 step = #pixels in Scanning Step Size
• 50% speed forward for z steps (1 step = 2* #pixels in Scanning
• 25% speed forward for y steps (1 step = 4*#pixels in Scanning
• Stopped for x microsteps (= #pixels in Scanning Step Size reg-
• 25% speed backward for y steps (1 step = 4*#pixels in Scan-
• 50% speed backward for z steps (1 step = 2* #pixels in Scan-
• Full speed backward (1 step = #pixels in Scanning Step Size
• 50% speed backward for z steps (1 step = 2* #pixels in Scan-
• 25% speed backward for y steps (1 step = 4*#pixels in Scan-
register) until the Pause Scanning signal is received.
Step Size register)
Step Size register)
ister).
ning Step Size register)
ning Step Size register)
register) for number of steps in the Steps to Reverse register
ning Step Size register)
ning Step Size register)
MicroStep Pulse
(if motor had not
MicroStep
Stop
(x = 0 to 3)
25%
(y = 0 to 3)
50%
(z = 0 to 3)
TR
Register
paused)
Speed
Pulse
Figure 26: Acceleration Profile Settings
Figure 25: Reversing - The Goal
a
x = number of full step clocks to wait
before reversing motor.
y = number of full steps at 25% of final
speed. Full step period = 4 full step
clocks.
z = number of full steps at 50% of final
speed. Full step period = 4 full step
clocks.
Scanning
Pause
Signal
b
DAC output
c
http://www.national.com
d
e

Related parts for LM9830VJDX