6 complex pattern generation, 7 pattern generation example – KEPCO KLP Series Developers Guide, Rev 3 User Manual
Page 77

KLP-DEV 041213
5-15
5.5.2.6
COMPLEX PATTERN GENERATION
When the Destination is set to CURRENT or VOLTAGE, the pattern generator window (Figure
5-14) can be used to produce a complex waveform. The complex output is built by adding seg-
ments from each of the four basic waveform types: LEVEL, SINE, TRIANGLE or SQUARE.
Each time the GENERATE button is clicked, the waveform selected is generated using the num-
ber of points specified in the Points Window. Setting Destination set to CURRENT produces a
current waveform; a Destination of VOLTAGE produces a voltage waveform.
The SINE, TRIANGLE and SQUARE waveform types are defined by the following parameters
(LEVEL is identical to DESTINATION of ALL, refer to PAR. 5.5.2.4):
NOTE: Complex, dynamic waveshapes typically require a power supply output that can both
source and sink current, however KLP can only source current, and depends on the
load to sink current.
• Frequency (Hz) - Determines the dwell time of the waveform segment by 1/F (Hz) = Time
(sec).
• Start Angle (deg) - Integer from 0 to 360 - The starting point for the waveform segment (e.g.,
to start a sine wave at max positive excursion, the start angle = 90, to start at max negative
excursion, start angle = 270).
• End Angle (deg) - Integer from 0 to 360 - The ending point of the waveform segment. E.g., for
a negative half cycle of a sine wave, the start angle = 180, end angle = 360.
• Amplitude (p-p) - The peak to peak amplitude of the complete waveform segment. E.g., if you
want a positive sine wave half cycle (start angle = 0, end angle = 180) from 0 to 15V, the p-p
amplitude for that segment must be set to 30V.
• Waveform offset - The d-c level on which the waveform rides. If the negative excursion of the
waveform is used, the waveform offset must be sufficient to prevent the output from going
below zero, otherwise an error will result when Program RUN is attempted. E.g., if you want a
full 15V p-p sine wave cycle (start angle = 0, end angle = 360) from 10 to 25V, the p-p ampli-
tude =15, and the offset must be set to 17.5V (if the offset = 0 an error is produced when Pro-
gram RUN is attempted because the negative half cycle would require a negative voltage.
• Current (If VOLTAGE destination) or Voltage (if CURRENT destination) - establishes the out-
put current for a voltage waveform, or the output voltage for a current waveform.
When the segment parameters have been entered, pressing the GENERATE button adds the
number of points specified in the Points window to the list. Note that, particularly in the case of
the SINE and TRIANGLE waveforms, the accuracy of the waveshape is affected by the number
of points, e.g., a triangle wave produced using 250 points will be close to a true triangle wave,
while one produced using 5 points will resemble stair-steps.
5.5.2.7
PATTERN GENERATION EXAMPLE.
To generate a 250 point voltage complex waveform comprised of 1/4 cycle sine wave and 1/4
cycle triangle wave with an amplitude of 10 volt peak to peak riding on 0 volt level, a fixed cur-
rent of 1 amp, with relay off, and a total duration of 1 second, enter the parameters listed in
Table 5-2.