# Patent

## Title
Method and apparatus for controlling laser modulation based on measurements of average laser output power

## Abstract

Laser modulation is controlled by using a measurement of the average output power level of the laser to adjust the amplitude of the modulation current as necessary to prevent the laser from being over- or under-modulated and to adjust the amplitude of the bias current as necessary to maintain the average output power level of the laser at a desired, reasonably constant level. The laser controller receives an electrical feedback signal from a laser output power monitoring device and uses this signal to obtain the measurement of the average output power level of the laser. Based on this measurement, a bias current control signal and a modulation current control signal are generated and output to the laser driver to cause the laser driver to set the amplitude of the bias current to achieve a desired average output power level and to set the amplitude of the modulation current to prevent over- and under-modulation.

## Background
TECHNICAL FIELD OF THE INVENTION
The invention relates to lasers. More particularly, the invention relates to controlling laser modulation based on measurements of average laser output power to control laser modulation while also maintaining the average output power of the laser at a desired level.
BACKGROUND OF THE INVENTION
Lasers are used in many different industries for many different purposes, such as, for example, in the medical industry for medical procedures, in the printing industry in laser printers, in the defense industry in a variety of defense applications, and in the optical communications industry for transmitting and receiving optical signals. In many applications, the output power of the laser is monitored and controlled to maintain the output power at a desired or required level. Due to the wide variations in laser parameters such as, for example, laser slope efficiency (SE) and laser threshold current (ITH), maintaining the optical power at a particular level is challenging because temperature and process variations and aging of system components also cause the output power level to vary. Many techniques and systems have been used or proposed to control and maintain the output power of the laser at required levels over temperature and process variations and time.
It is common practice in the optical communications industry to use a monitor photodiode to detect light output from a rear portion of the transmitter laser (or a portion of the output power reflected back through optical lenses) and to use this optical feedback to measure and control the average transmitted output power level of laser. In general, the average transmitted output power level, PAVG, of the laser can be controlled by controlling the bias current, IBIAS, of the laser. Thus, if the optical feedback indicates that PAVG has fallen below the required level, increasing IBIAS by an appropriate amount will raise PAVG to the required level. Similarly, if the optical feedback indicates that PAVG has risen above the required level, decreasing IBIAS by an appropriate amount will lower PAVG to the required level.
As the optical feedback path described above is used to maintain PAVG at the required level, the laser is modulated with a modulation current, IMOD, to cause the laser output power level to be adjusted between a level, P1, that represents a logic 1, and a power level, P0, that represents a logic 0. The amplitude of the modulation current IMOD1 corresponds to an output power level of P1. The amplitude of the modulation current IMOD0 corresponds to an output power level of P0. The laser threshold current ITH has an amplitude that is sufficient to cause the laser to begin producing laser action (i.e., to emit stimulated radiation). The amplitude of the threshold current ITH needed to produce laser action varies due to factors such as, for example, temperature and aging. Due to these variations in the amplitude of ITH that is needed to produce lasing and the slope efficiency of the laser, adjustments must be made to the amplitudes corresponding to IMOD1 and IMOD0 in order to maintain P0 and P1 at the necessary respective output power levels.
A variety of techniques have been used to control the amplitude of the modulation current. One known technique sets the amplitude of the modulation current at a level that achieves a desired extinction ratio (ER) or optical modulation amplitude (OMA) at a fixed temperature or time. The amplitude of the modulation current is then increased or decreased based on an analog temperature coefficient, or in a digital control system, based on a temperature measurement and/or and aging timer. This technique generally provides suitable results if the laser SE variation is controlled well enough to maintain the ER/OMA and the laser performance within specifications. A disadvantage of this technique is that using a single temperature reference point means the adjustment to the amplitude of the modulation current is essentially based on a “guess” of changes of the SE in direction and amount based on statistical or other data. Because the change in the SE often is not linear and can change from positive to negative slope from one temperature to the next, it is difficult or impossible to determine the optimal adjustment in the amplitude of the modulation current. In addition, this technique can also limit laser yields because the SE and ITH limits need to be within sufficiently tight tolerances to guarantee that a suitable level of performance will be achieved without the necessity of testing each laser over temperature and customizing each laser based on the results of testing.
Another known technique involves measuring the amplitudes of the modulation current needed to maintain the required output power levels PAVG, P0 and P1 over a range of temperatures on a part-by-part or wafer-by-wafer basis. The amplitude values obtained during testing are programmed into a lookup table (LUT) memory element or other non-volatile memory element. A controller uses a temperature measurement value to index into the memory element and read out the corresponding amplitude value for the modulation current. The amplitude of the modulation current of the laser is then set to the value read out of the memory element. One disadvantage of this technique is that it requires over-temperature testing during manufacturing, which is expensive. In addition, it is difficult to factor in aging when using this technique, which means that the amplitude of the modulation current often will not be set to an optimal level.
Another technique that has been proposed involves using a high-speed monitor diode in combination with an amplitude detector to monitor the output power level of the laser and adjust the amplitude of the modulation current to achieve the required output power level. This technique requires an additional high-bandwidth feedback path for the amplitude detector, which increases the cost and complexity of the transmitter. In addition, the performance of the amplitude detector can be significantly affected by temperature variations, which can lead to less than optimal performance. Also, the amplitude detector dissipates a large amount of power relative to the rest of the transmitter. Because of these difficulties, this technique has been proposed, but not actually implemented.
Another known technique involves measuring ITH in situ by adjusting the modulation current amplitude while measuring the optical feedback signal to obtain the slope and calculate the corresponding SE. The measured ITH and SE are then used to calculate the amount of modulation current needed. An advantage of this technique is that the existing feedback path for the monitor photodiode is used. A disadvantage of this technique is that it requires a large amount of signal processing to be performed to make the necessary calculations, and is therefore computationally intensive. Another disadvantage is that the method is performed during module power up or module programming, and generally cannot be used while transmitting actual data.
A similar technique also uses the existing feedback path to calculate SE, but also modulates a very small amplitude signal at low frequency on top of the IBIAS supplied to the laser. This signal is then extracted from the feedback signal, amplified and used to calculate SE. The calculated SE is then used to determine how to adjust the modulation current amplitude. This method can be used while transmitting actual data, but requires that high accuracy circuits such as amplifiers, analog-to-digital converters (ADCs) and digital-to-analog converters (DACs) be included in the feedback path. In addition, this technique also requires a significant amount of signal processing, and is therefore computationally intensive.
A need exists for a way to determine the adjustment needed, if any, to the amplitude of the modulation current in order to achieve a desired or required output power level, which can be used when transmitting actual data, which uses the existing feedback path, which does not require complex high-accuracy circuitry, and which does not require that over-temperature testing be performed.
SUMMARY OF THE INVENTION
The invention provides a method and an apparatus for controlling modulation of a laser. The apparatus comprises a laser capable of being driven to produce light, a laser driver that generates an electrical bias current signal and an electrical modulation current signal that are used to drive the laser to cause the laser to produce light, a laser output power monitoring device that receives a fraction of the light produced by the laser as optical feedback and generates an electrical feedback signal based on the fraction of the light received from the laser, and a laser controller that controls the laser driver. The laser controller is configured to receive the electrical feedback signal and to perform a control algorithm that obtains a measurement of the average output power level of the laser based on the electrical feedback signal and produces a bias current control signal and a modulation current control signal based on the measured average laser output power level. The bias current and modulation current control signals are received by the laser driver, which uses them to set an amplitude for the electrical current bias signal and an amplitude for the electrical modulation current signal, respectively.
The method of the invention comprises:

    
    
        monitoring optical feedback from a laser to obtain a measurement of an average output power level of the laser, determining whether the measured average output power level of the laser is above or below a target average output power level, if a determination is made that the measured average output power level is above or below the target average output power level, adjusting the amplitude of an electrical bias current being delivered to the laser until the measured average output power level of the laser is at least substantially equal to the target average output power level, determining whether the laser is being over-modulated or under-modulated, and, if a determination is made that the laser is being over-modulated or under-modulated, adjusting the amplitude of an electrical modulation current being delivered to the laser to reduce or eliminate over-modulation or under-modulation of the laser.
    
    


These and other features and advantages of the invention will become apparent from the following description, drawings and claims.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a graph illustrating the relationship between laser output power in watts and laser bias, threshold and modulation current in amperes.
FIG. 2 illustrates a flowchart that demonstrates the method of the invention in accordance with an illustrative embodiment for controlling laser modulation based on the output power level of the laser.
FIG. 3 illustrates a block diagram of the apparatus of the invention in accordance with an illustrative embodiment in which the invention is employed in an optical communications network of some type for transmitting and/or receiving amplitude modulated optical signals.
FIGS. 4A-4C illustrate flowcharts that represent the method of the invention in accordance with one exemplary embodiment performed by the laser controller shown in FIG. 3 for adjusting amplitudes of IMOD and/or IBIAS based on the monitored output power level of the laser shown in FIG. 3.



DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT
FIG. 1 is a graph illustrating the relationship between laser output power in watts and laser current (bias, threshold and modulation) in amperes. In accordance with the invention, it has been determined that optimum laser performance is obtainable by modulating the laser with a modulation current for a logic 0 level, IMOD0, that has an amplitude that is equal to or slightly greater than the amplitude of the laser threshold current, ITH. The modulation current for logic 0 level corresponds to an output power level of P0. When the amplitude of IMOD0 falls below the amplitude of ITH, the laser is being over-modulated due to the fact that the laser is being turned off and the level of P0 cannot fall below zero, so the amplitude of the modulation current for a logic 1 level, IMOD1, must be increased in order to maintain IBIAS at a constant amplitude. Maintaining IBIAS at a constant amplitude generally results in PAVG being maintained at a constant level, except when the laser is being over-modulated. When the amplitude of IMOD0 falls below the amplitude of ITH, the laser turns completely off during the transmission of a logic 0 (output power level P0). When the laser turns off during the transmission of a logic 0, this slows down the transition back to a logic 1 (output power level P1), which degrades laser performance. When the amplitude of IMOD0 exceeds the amplitude of ITH by too much, the amplitude of IMOD1 must be decreased to maintain IBIAS at a constant amplitude. In this case, the laser is being under-modulated. In accordance with the invention, the amplitude of IMOD and/or the amplitude of IBIAS are adjusted based on the measured average output power level PAVG to obtain a desired or optimum modulation current IMOD.
The laser modulation current, IMOD, has an amplitude that is equal to the amplitude of IMOD1 minus the amplitude of IMOD0. The laser bias current IBIAS has an amplitude necessary to keep the average power level at its desired average value. As is shown in FIG. 1, the amplitudes of IBIAS, IMOD0 and IMOD1 correspond to the output power levels of PAVG, P0 and P1, respectively. The difference between the P1 and P0 levels is the optical modulation amplitude (OMA) of the laser. The average output power level PAVG is the average OMA (i.e., the sum of P0 and P1 levels divided by two). The average output power level of the laser is measured through optical feedback and a running average over time is maintained. Although PAVG generally is controlled by setting the amplitude of the bias current IBIAS, changes in the amplitude of IMOD result in changes to the OMA, and thus result in changes to the PAVG level in some conditions. Therefore, in accordance with the invention, both or either of the amplitudes of IBIAS and IMOD are adjusted as needed based on the measured PAVG level to maintain PAVG at a reasonably constant level while also achieving a desired or optimum amplitude for IMOD, as will now be described with reference to FIGS. 2-4C.
FIG. 2 illustrates a flowchart that demonstrates the method of the invention in accordance with an illustrative embodiment. Optical feedback from the laser is monitored to obtain a measurement of an average output power level of the laser PAVG, as indicated by block 2. As the measurements of the PAVG level are obtained, a determination is made as to whether the measured PAVG level is equal to, or at least substantially equal to the target PAVG level for the laser, as indicated by block 3. If not, the amplitude of IBIAS is adjusted, as indicated by block 4. The process returns to block 3 and the amplitude of IBIAS continues to be adjusted until the measured PAVG level is equal to the target PAVG level. Once the target PAVG level has been obtained, a determination is made, based on the measured PAVG level, as to whether the laser is being over- or under-modulated, as indicated by block 5. If it is determined that the laser is being over- or under-modulated, then the amplitude of IMOD and is adjusted to eliminate or at least substantially reduce any over- or under-modulation, as indicated by block 6. This latter step achieves a desired or optimum amplitude for IMOD. The process then returns to block 2 so that the laser output power level continues to be monitored and adjustments continue to be made to the amplitudes of IBIAS and/or IMOD to achieve the target PAVG level and the optimum or desired IMOD amplitude. The manner in which the amplitude of IMOD is adjusted varies depending on whether the laser is being under- or over-modulated, as will be described in more detail below with respect to the illustrative embodiment of FIGS. 4A-4C.
FIG. 3 illustrates a block diagram of the apparatus 10 of the invention in accordance with an illustrative embodiment in which the invention is employed in an optical communications network of some type for transmitting and/or receiving amplitude modulated optical signals. The apparatus 10 includes a laser controller 20, a laser driver 21, a laser 22, and a laser output power monitoring device 23. The laser controller 20 and the laser driver 21 are typically separate integrated circuit (ICs) that are mounted to a transceiver housing (not shown) of an optical communications transceiver (not shown) and electrically connected with one another. The laser 22 is typically a laser diode, but may be any type of laser that is directly modulated. The laser output power monitoring device 23 is typically a photodiode, but may be any type of device capable of monitoring the optical output power of the laser 22.
During operations, the laser controller 20 outputs a bias current control signal 30 and a modulation current control signal 40 to the laser driver 21. The laser driver 21 receives the control signals 30 and 40 and sets the amplitude of the bias current IBIAS and the amplitude of the modulation current IMOD in accordance with the respective control signals. As the laser 22 is modulated by the laser driver 21, the monitoring device 23 converts the optical feedback from the laser 22 into an electrical feedback signal 31, which is fed back to the laser controller 20. The laser controller 20 processes the feedback signal 31 in accordance with the algorithm of the invention described above with reference to FIG. 2 to generate the control signals 30 and 40. An ADC (not shown) converts the electrical analog signal 31 into an electrical digital signal that is suitable for processing by the laser controller 20. The ADC may be integrated as part of the monitoring device 23, as part of the laser controller 20, or it may be a separate device that is interposed between the laser controller 20 and the monitoring device 23. Typically, a DAC (not shown) is interposed between the output of the laser driver 21 and the input of the laser 22 to convert the digital IBIAS and IMOD signals output from the laser driver 21 into an analog modulation signal for modulating the laser 22. The modulation current IMOD is superimposed onto the bias current IBIAS to modulate the laser 22.
FIGS. 4A-4C illustrate flowcharts that represent the method of the invention in accordance with one exemplary embodiment for adjusting IMOD and/or IBIAS based on the average of the monitored output power level of the laser 22. As described above, the feedback path comprising the monitoring device 23 and the ADC (not shown) is currently used in existing communications transmitters to control the average output power level. In accordance with the invention, this existing path is used in combination with processing logic of the laser controller 20 to control both the average output power level PAVG and the amplitude of the modulation current IMOD. While the invention is not limited to the embodiment described below with reference to FIGS. 4A-4C, this embodiment provides an example of one way to accomplish the objectives of controlling PAVG and IMOD based solely on the electrical feedback signal 31.
On power up, the existing feedback path is used to adjust PAVG to obtain a pre-programmed PAVG target level. Blocks 51-54 represent the process of adjusting PAVG until the target level is obtained. At block 51, the power to the laser driver is turned on or enabled and the amplitudes of IBIAS and IMOD are set equal to zero. The amplitude of IBIAS is then increased incrementally while the laser controller receives the monitored output power level and measures the average power level, as indicated by bocks 52 and 53. While the tasks represented by blocks 52 and 53 are being performed, a determination is made by the controller as to whether the target PAVG level has been reached, as indicated by block 54. If not, the process returns to block 52 and continues until the target PAVG level has been reached. Once a determination is made at block 54 that the target PAVG level has been reached, the process proceeds to block 57.
At blocks 57 and 58, the amplitude of IMOD is incrementally increased while a determination is made as to whether the monitored PAVG level has increased. The amplitude of IMOD continues being incrementally increased until a determination is made at block 58 that an increase in the PAVG level has been detected. When an increase in the PAVG level is detected, the amplitude of IMOD is set to the previous value (i.e., the value prior to being incremented to the value that resulted in the increase in the PAVG level being detected), as indicated by block 59. It is not a requirement that the immediately preceding value be used. Which of the previous values is chosen depends on the measurement and control resolution of the system.
At this point in the process, the amplitudes of IBIAS and IMOD are now at initial values that can be used to transmit actual data. When any adjustments to the amplitude of IMOD are made prior to its initial value being obtained at block 59, the IBIAS adjustments within the laser driver are stopped so that the laser bias current stays fixed. Once the amplitude of IMOD has been set to its initial value, the transmitter is ready to send actual data. Therefore, the IBIAS control loop is then enabled (not shown) while PAVG continues to be monitored for changes and necessary adjustments are made to the amplitudes of IMOD and/or IBIAS. Periodically (every T seconds), a power maintenance algorithm is launched (as described in the following test) to make sure the power levels are maintained as desired, as indicated by block 61.
First, during the power maintenance algorithm, PAVG is read and the amplitude of IMOD is decremented, as indicated by blocks 62 and 64. A determination is made as to whether or not the current PAVG level has decreased below the previous PAVG level, as indicated by block 65. Each time the laser controller computes the PAVG level, the controller stores the PAVG level as the current PAVG level in memory in the controller. One or more previous PAVG levels are also stored so that the controller can determine whether an increase or decrease in the amplitude of IMOD resulted in an increase or a decrease in the PAVG level. If a decrease in PAVG is detected at block 65, the amplitude of IMOD is incrementally decreased until a determination is made that the current PAVG level has decreased, as indicated by blocks 66 and 67. A determination is then made as to whether the current PAVG level is below the target PAVG level or has stopped decreasing, as indicated by block 68. If the current Pavg falls below the target PAVG then the amplitude of IBIAS is increased to maintain the average power level at its target, as indicated by block 69. Once the controller detects no more decreases in the PAVG level, the process returns to block 61 at which the controller starts the power maintenance algorithm again.
If it is determined at block 65 that the PAVG level has not changed, then at block 71 the amplitude of IMOD is incremented to the previous value plus one increment, i.e., the value obtained at block 59 plus one increment. A determination is then made at block 74 as to whether the current PAVG level is greater than the previous PAVG level (the PAVG level prior to incrementing at block 71). If so, then the laser is being over-modulated. To correct for over-modulation, the process proceeds to block 81 in FIG. 4B. If a determination is then made at block 74 that the current PAVG level is not greater than the previous PAVG level, it is possible that the laser is being under-modulated. To correct for under-modulation, the process proceeds to block 101 in FIG. 4C.
With reference to FIG. 4B, the amplitude of IMOD is decremented at block 81. A determination is then made at block 82 as to whether the current PAVG level is less than the previous PAVG level (i.e., the level prior to decrementing at block 81). If so, the controller will continue decreasing the amplitude of IMOD until either the PAVG level stops decreasing or until the controller determines that the PAVG level has dropped below the target PAVG level. Therefore, if a decrease in the PAVG level is detected, a determination is made as to whether the PAVG level is below the target PAVG level, as indicated by block 83. If not, the process returns to block 81. If so, the amplitude of IBIAS is incrementally increased, as indicated by block 84. A determination is then made as to whether the PAVG level is below the target PAVG level, as indicated by block 85. If so, the process returns to block 84. If not, the process returns to block 81.
If a determination is made at block 82 that the PAVG level is no longer decreasing, a determination is made as to whether the PAVG level is below the target PAVG level, as indicated by block 87. If not, the process returns to block 61 in FIG. 4A, and the power maintenance algorithm will again be performed after a delay of T seconds has lapsed. If so, the amplitude of IBIAS is incrementally increased until the PAVG level is no longer below the PAVG target level, as indicated by block 88. The amplitude of IMOD is now at the desired or optimum level and the laser is not being over-modulated.
With reference to FIG. 4C, the amplitude of IBIAS is incrementally decreased until the current PAVG level is no longer above the target PAVG level, as indicated by blocks 101 and 102. The amplitude of IMOD is then incrementally increased at block 103 and a determination is made at block 104 as to whether the current PAVG level is greater than the previous PAVG level (the level prior to incrementing the amplitude of IMOD at block 103). If so, then it is possible that the laser is being over-modulated, and the process therefore proceeds to block 81 in FIG. 4B. If no increase in the PAVG level is detected, the process proceeds to block 107, at which the amplitude of IMOD is incrementally increased. A determination is then made at block 108 as to whether the current PAVG level (the level obtained after incrementing the amplitude of IMOD at block 107) is greater than the previous PAVG level (the level obtained prior to incrementing the amplitude of IMOD at block 107). If not, the controller continues to increment the amplitude of IMOD until it detects an increase in the PAVG level. Once an increase in the PAVG level has been detected, the amplitude of IMOD is set to the previous value (i.e., the value prior to the most recent value obtained at block 107), as indicated by block 109. The process then returns to block 61 in FIG. 4A. The amplitude of IMOD is now at the desired or optimum level and the laser is not being under-modulated.
It should be noted that because changes in laser threshold current ITH and slope efficiency SE happen at a very slow rate compared to the speed of the controller, the number of alternate iterations between adjusting the amplitude of IBIAS and adjusting the amplitude of IMOD will be very small, and thus the affect of these adjustments on the transmitted data will not be noticeable. To cover the possibility of simultaneous changes in SE and ITH that might not produce a change in PAVG but might produce an increase the ER/OMA, a test should be performed periodically to determine whether the laser is being under- or over-modulated. For this test, the controller will make small changes in the amplitude of IMOD and check for the conditions of under-modulation and over-modulation. An incremental decrease in the amplitude of IMOD that results in no change in the PAVG level followed by an incremental increase in the amplitude of IMOD that results in an increase in PAVG indicates that the desired or optimum operating condition has been achieved. This indicates that the amplitude of IMOD0 is at or just above the amplitude of ITH. An incremental decrease in the amplitude of IMOD that results in a decrease in the PAVG level indicates over-modulation (the amplitude of IMOD0 is too far below the amplitude of ITH), and can be handled by performing the process described above with reference to FIG. 4B. An incremental increase in the amplitude of IMOD that results in no change to the PAVG level indicates under-modulation (the amplitude of IMOD0 is above the amplitude of ITH), and can be handled by performing the steps described above with reference to FIG. 4C.
The laser controller 20 may be any type of computational device capable of performing the processing tasks described above to generate the control signals 30 and 40. For example, the controller may be a microprocessor, a microcontroller an application specific integrated circuit (ASIC), a programmable logic array (PLA), a programmable gate array (PGA), etc. The algorithms of the invention may be performed in hardware, software, firmware, or a combination thereof. If part or all of the algorithms are performed in software or firmware, the corresponding computer code will typically be stored in one or more computer-readable medium devices, which may be integrated together with the laser controller in a single IC or which may be implemented in a separate IC. The computer-readable medium need not be a solid state memory device, but may be any type of memory element that is suitable for the purpose for which it is used. Suitable memory devices include random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable PROM (EPROM), magnetic disks, magnetic tape, flash memory, etc. If all or part of the algorithms are performed in hardware in the controller, the hardware may be implemented in the form of one or more state machines, for example.
It should be noted that the invention has been described with reference to a few illustrative embodiments for the purposes of demonstrating the principles and concepts of the invention and to provide a few examples of the manner in which the invention may be implemented. The invention is not limited to these embodiments, as will be understood by persons skilled in the art in view of the description provided herein. The invention also is not limited to being used in a communications transmitter, but may be used in any type of application including, for example, medical, industrial, printing, and defense applications. Those skilled in the art will understand that modifications may be made to the embodiments described herein and that all such modifications are within the scope of the invention.

## Claims

1. An apparatus for controlling modulation of a laser, the apparatus comprising:
a laser capable of being driven to produce light;
a laser driver that generates an electrical bias current signal and an electrical modulation current signal that are used to drive the laser to cause the laser to produce light;
a laser output power monitoring device that receives a fraction of the light produced by the laser as optical feedback and generates an electrical feedback signal based on the fraction of the light received from the laser;
a laser controller comprising an integrated circuit configured to receive the electrical feedback signal and to perform a control algorithm that obtains a measurement of an average output power level of the laser based on the electrical feedback signal and produces a bias current control signal and a modulation current control signal based on the measured average output power level of the laser, the bias current and modulation current control signals being received by the laser driver, and wherein the laser driver uses the bias current control signal and the modulation current control signal to set an amplitude for the electrical current bias signal and an amplitude for the electrical modulation current signal, respectively, wherein when the laser controller performs said at least one control algorithm, the laser controller detects whether the laser is being over-modulated or under-modulated based on the measured average laser output power level, wherein if the laser controller detects that the laser is being over-modulated or under-modulated, the modulation current control signal produced by the laser controller and received by the laser driver causes the laser driver to adjust the amplitude of the electrical modulation current signal to reduce or eliminate the over-modulation or under-modulation of the laser; wherein when the laser controller detects the laser is being over-modulated by determining if the average laser output power level has increased, the laser controller initially causes the modulation current control signal to decrease the amplitude of the modulation current while maintaining the amplitude of the bias current; and when the laser controller detects that the laser is being under-modulated by determining if the average laser output power level has decreased, the laser controller initially causes the bias current control signal to decrease the amplitude of the bias current while maintaining the amplitude of the modulation current.

2. The apparatus of claim 1, wherein when the laser controller performs said at least one control algorithm, the laser controller also detects whether the measured average laser output power level is above or below a target average laser output power level, wherein if the laser controller detects that the measured average laser output power is above or below the target average laser output power level, the bias current control signal produced by the laser controller and received by the laser driver causes the laser driver to adjust the amplitude of the electrical bias current signal until the measured average laser output power level is at least substantially equal to the target average laser output power level.

3. The apparatus of claim 1, wherein the laser is a laser diode and wherein the laser output power monitoring device is a photodiode.

4. The apparatus of claim 3, wherein the modulation current control signal produced by the laser controller based on the measured average laser output power level ensures that the electrical modulation current signal used to cause the laser to produce a logic 0 output power level has an amplitude that is set equal to or slightly greater than a threshold current amplitude needed to cause the laser to produce laser action.

5. The apparatus of claim 1, wherein if the laser driver is caused to decrease the amplitude of the electrical modulation current signal, the laser controller determines whether the measured average laser output power level is equal to a target average laser output power level, wherein if a determination is made that the measured average laser output power level is not equal to the target average laser output power level, the bias current control signal produced by the laser controller causes the laser driver to increase the amplitude of the electrical bias current signal until the laser controller determines that the measured average laser output power level is equal to the target average laser output power level.

6. The apparatus of claim 1, wherein if the laser driver is caused to increase the amplitude of the electrical modulation current signal, the laser controller determines whether the measured average laser output power level is equal to a target average laser output power level, wherein if a determination is made that the measured average laser output power level is not equal to the target average laser output power level, the bias current control signal produced by the laser controller causes the laser driver to decrease the amplitude of the electrical bias current signal until the laser controller determines that the measured average laser output power level is equal to the target average laser output power level.

7. A method for controlling modulation of a laser comprising:
monitoring optical feedback from a laser to obtain a measurement of an average output power level of the laser;
determining whether the measured average output power level of the laser is above or below a target average output power level;
if a determination is made that the measured average output power level is above or below the target average output power level, adjusting an amplitude of an electrical bias current being delivered to the laser until the measured average output power level of the laser is at least substantially equal to the target average output power level;
determining whether the laser is being over-modulated or under-modulated;
if a determination is made that the laser is being over-modulated or under-modulated, adjusting the amplitude of an electrical modulation current being delivered to the laser to reduce or eliminate over-modulation or under-modulation of the laser;
if a determination is made that the laser is being over-modulated by sensing if the average laser output power level has increased, decreasing the amplitude of the modulation current while maintaining the amplitude of the bias current; and
if a determination is made that the laser is being under-modulated by sensing if the average laser output power level has decreased, decreasing the amplitude of the bias current while maintaining the amplitude of the modulation current.

8. The method of claim 7, further comprising: if an adjustment was made to the amplitude of the electrical modulation current, determining whether the measured average output power level of the laser is equal to a target average output power level, wherein if a determination is made that the measured average output power level of the laser is not equal to a target average output power level, adjusting the amplitude of the electrical bias current until a determination is made that the measured average output power level of the laser is equal to or substantially, equal to the target average output power level.

9. The method of claim 7, wherein determining whether the laser is being over modulated comprises: determining whether the measured average output power level of the laser has increased; if a determination is made that the measured average output power level of the laser has increased, incrementally increasing the amplitude of the electrical modulation current; and determining whether an increase in the measured average output power level of the laser has been detected subsequent to the incremental increase in the amplitude of the electrical modulation current, wherein if an increase in the measured average output power level of the laser is detected, the laser is being over-modulated.

10. The method of claim 9, further comprising: if a determination is made that the laser is being over-modulated, decrementally decreasing the amplitude of the electrical modulation current; determining whether the measured average output power level of the laser has decreased; if it is determined that the measured average output power level of the laser has not decreased, decrementally decreasing the amplitude of the electrical modulation current; and
determining whether the measured average output power level of the laser has fallen below the target average output power level.

11. The method of claim 10, further comprising: if it is determined that the measured average output power level of the laser has fallen below the target output power level, incrementally increasing the electrical bias current until it is determined that the measured average output power level of the laser is above the target average output power level; decrementally decreasing the amplitude of the electrical modulation current until it is determined that the measured average output power level of the laser has decreased; determining whether the measured average output power level of the laser has fallen below the target average output power level; and if it is determined that the measured average output power level of the laser has fallen below the target average output power level, incrementally increasing the electrical bias current until the measured average output power level is no longer below the target average output power level.

12. The method of claim 7, wherein determining whether the laser is being undermodulated comprises: determining whether the measured average output power level of the laser has increased; if a determination is made that the measured average output power level of the laser has not increased, decrementally decreasing the amplitude of the electrical bias current until it is determined that the measured average output power level of the laser is equal to the target average output power level; incrementally increasing the amplitude of the electrical modulation current; determining whether an increase in the measured average output power level of the laser has been detected subsequent to the incremental increase in the amplitude of the electrical modulation current, wherein if an increase in the measured average output power level of the laser has not been detected, then the laser is being under-modulated.

13. The method of claim 12, further comprising: if the laser is being under-modulated, continuing to incrementally increase the amplitude of the electrical modulation current until a determination is made that the measured average output power level has increased.

14. The method of claim 13, further comprising: determining whether the measured average output power level of the laser is equal to the target average output power level; and if it is determined that the measured average output power level of the laser is not equal to the target average output power level, incrementally increasing or decreasing the electrical bias current until the measured average output power level is equal to or at least substantially equal to the target average output power level.

15. A computer program for controlling modulation of a laser, the computer program comprising instructions stored on a computer-readable medium, the instructions comprising:
instructions for obtaining a measurement of an average output power level of a laser based on monitored optical feedback from the laser;
instructions for determining whether the measured average output power level of the laser is above or below a target average output power level;
instructions for generating a control signal that causes an amplitude of an electrical bias current being delivered to the laser to be adjusted if it is determined that the measured average output power level is above or below the target average output power level, the amplitude of the electrical modulation current being adjusted until the measured average output power level of the laser is at least substantially equal to the target average output power level;
instructions for determining whether the laser is being over-modulated or undermodulated; and
instructions for generating a control signal that causes the amplitude of an electrical modulation current being delivered to the laser to be adjusted if it is determined that the laser is being over-modulated or under-modulated, wherein the instructions for determining whether the laser is being over-modulated or undermodulated comprise: instructions for generating a control signal that causes the amplitude of the electrical modulation current being delivered to the laser to be decreased while maintaining the amplitude of the bias current if it is determined that the laser is being over-modulated by sensing if the average laser output power level has increased; the instructions for determining whether the laser is being undermodulated generating a control signal that causes the amplitude of the electrical bias current being delivered to the laser to be decreased while maintaining the amplitude of the modulation current if it is determined that the laser is being undermodulated by sensing if the average laser output power level has decreased.

16. The computer program of claim 15, wherein the instructions for determining whether the laser is being over-modulated include: instructions for determining whether the measured average output power level of the laser has increased, wherein if it is determined that the measured average output power level of the laser has increased, the instructions that generate the control signal cause the amplitude of the electrical modulation current to be incrementally increased; and instructions for determining whether an increase in the measured average output power level of the laser has been detected subsequent to the incremental increase in the amplitude of the electrical modulation current, wherein if an increase in the measured average output power level of the laser is detected, the laser is being over-modulated.

17. The computer program of claim 15, wherein the instructions for determining whether the laser is being under-modulated include: instructions for determining if the measured average output power level of the laser has not increased, then the instructions that generate the control signal cause the amplitude of the electrical bias current to be incrementally decreased until it is determined that the measured average output power level of the laser is equal to the target average output power level; instructions for incrementally increasing the amplitude of the electrical modulation current; instructions for determining whether an increase in the measured average output power level of the laser has been detected subsequent to the incremental increase in the amplitude of the electrical modulation current, wherein if an increase in the measured average output power level of the laser has not been detected, then the laser is being under-modulated.