In a system for locating the edge of material under movement across a process location, wherein an array of radiation emitting devices are positioned from first to last along a scan path at an operational location spaced from said material and extending outwardly from said edge, said devices being energized in response to the application of drive current thereto to emit radiation of given intensity, and a receiver is spaced from the opposite side of said material an operational distance from said array of devices and provides output signals of amplitude varying with said intensity of emitted radiation modulated with respect to the attenuation thereof by said material, the method for optimizing the radiation emission performance of said devices, comprising the steps of:
- positioning said receiver at said operational distance from said array at the situs of said process location without the presence of said material;
- providing memory responsive to a write mode input to record drive current values and to a read mode to provide memory retained drive current values when addressed at address locations corresponding with said first-to-last device positions;
- providing an analog-to-digital converter responsive to an analog input to derive said drive current values;
- providing a drive network responsive to said drive current values to derive said drive currents for energizing said devices;
- determining an initial value for said drive current;
- applying said initial value as a said analog input to said analog-to-digital converter to derive a corresponding initial drive current value and deriving therefrom an initial value of drive current by said drive network to initially energize each said emitting device and deriving a said output signal with said receiver corresponding with the intensity of emitted radiation of each when detected by said receiver;
- summing said derived output signals and dividing said sum by the number of said devices to provide an average value thereof;
- test energizing each said device by applying to said analog-to-digital converter a said analog input representing a value for said drive current which has been adjusted by an incremental value effecting a convergence of the value of output signals representing said adjusted drive current with said average value;
- deriving a said output signal with said receiver corresponding with the intensity of radiation received from each said device;
- and
- reiterating said steps of test energizing each said device, and deriving a said output signal until a set of final values of drive current are produced represneting a select convergence between said derived output signals and an average value thereof.