Glentek Inc. 208 Standard Street, El Segundo, California 90245, U.S.A. (310) 322-3026
42
Omega Series Digital PWM Amplifier Manual
Sample DBN operating sequence
:
1) Write DBN Setup Data (Pulse Width, Interval, Config) to the drive processor. Set
Interpolator/DBN_Mode
to
Setup/Cal
to transfer the setup data to the DBN processor.
2) Write
Num_DBN_Frames
, n, to drive processor.
3) Set
Frame_Data_Index
to 0.
4) Write frame Data beginning with frame[0].start, frame[0].stop…frame[n-1].start, frame[n-1].stop. The
frame_data_index
will auto-increment after each write so it is not necessary to update the index unless non-
sequential access is desired.
5) Set
Interpolator/DBN_Mode
to
DBN_Load_Frames.
The frames will be downloaded at 1 frame/PWM_Cycle
(24kHz).
6) Monitor the
DBN_Download_In_Progress
bit if the
Interp/DBN_Status
register to determine if the download
is complete.
7) When ready to begin the DBN sequence, change
Interpolator/DBN_Mode
to
DBN_Enable
.
8) Repeat steps 2-4 to download the next sequence of frames to the drive processor.
9) Wait for the executing sequence to complete by monitoring the
DBN_Done
bit of the
Interp/DBN_Status
reg-
ister.
10) Repeat steps 5-9 as desired. Changing the mode to
DBN_Load_Frames
will clear the
DBN_Done
bit and al-
low the next sequence to execute once the mode is changed back to
DBN_Enable
.
11) If
DBN_Enable
mode is exited before the sequence has completed, the frames must be re-loaded to reset the
sequence to frame 0. If the frames are not reloaded, the sequence will begin with the frame that was execut-
ing when the DBN was disabled.
DBN Arming
:
Start position < Stop position (Direction positive)
The trigger position is set to the start position.
The DBN will arm once the absolute position is < the start position.
The first DBN pulse will occur when armed and the absolute position >= start position.
Once a trigger occurs the trigger position is updated to last_trigger_pDBN_Interval.
If the motion is reversed before the stop position is reached and the absolute position becomes < the start posi-
tion, the trigger position is reloaded with the start position.
Once the stop position has been exceeded, the next frame start position is loaded.
Start position > Stop position (Direction negative)
The trigger position is set to the start position.
The DBN will arm once the absolute position is > the start position.
The first DBN pulse will occur when armed and absolute position <= start position.
Once a trigger occurs the trigger position is updated to last_trigger_position-DBN_Interval.
If the motion is reversed before the stop position is reached and the absolute becomes > the start position, the
trigger position is reloaded with the start position.
Once the stop position has been exceeded, the next frame start position is loaded.
Содержание Omega SMC9930
Страница 73: ...Glentek Inc 208 Standard Street El Segundo California 90245 U S A 310 322 3026 73 Appendix K...
Страница 75: ...Glentek Inc 208 Standard Street El Segundo California 90245 U S A 310 322 3026 75 Appendix K...
Страница 77: ...Glentek Inc 208 Standard Street El Segundo California 90245 U S A 310 322 3026 77...