The disclosed embodiments of the present invention relate to controlling an electronic device, and more particularly, to a method of controlling mechanical mechanisms of an electronic device, such as an optical storage apparatus (e.g., an external optical disc drive), for peak power/current reduction.
Optical storage apparatuses, such as optical disc drives, become popular due to optical storage media with low cost and high storage capacity. For example, optical disc drives are commonly used in the computer systems. In general, an optical disc drive has a plurality of mechanical mechanisms employed for rotating a loaded optical disc, moving a sled on which an optical pick-up unit (OPU) is disposed, controlling tracking and focusing of a laser spot irradiated by the OPU on the loaded optical disc, etc. However, when multiple mechanical mechanisms are all active at the same time, the power/current consumption is inevitably high. In a worst case, the peak power/current consumption may exceed the maximum level that the power source of the optical disc drive can afford. It is possible that the optical disc drive may fail to work normally when the power/current consumption of the optical disc drive is not well controlled.
In addition, it is possible that the optical disc may have defects caused by dirt and/or scratch. When the OPU is accessing a defect area of the optical disc, the power/current consumption of the tracking servo control and the focus servo control may be instantly increased in response to large control effort made to stabilize the data read/write operation. When the sled motor is increasing the moving speed of the sled or the spindle motor is increasing the rotational speed of the spindle at the same time, the peak power/current consumption may exceed the maximum level that the power source of the optical disc drive can afford.
Thus, there is a need for an innovative design which can effectively reduce the power/current consumption of an optical storage apparatus.
In accordance with exemplary embodiments of the present invention, a method of controlling mechanical mechanisms of an electronic device, such as an optical storage apparatus (e.g., an external optical disc drive), for peak power/current reduction, and related electronic device and machine-readable medium are proposed to solve the above-mentioned problems.
According to a first aspect of the present invention, an exemplary method of controlling an electronic device is disclosed. The electronic device has a plurality of mechanical mechanisms including at least a first mechanical mechanism and a second mechanical mechanism. The exemplary method includes: driving the first mechanical mechanism by applying a first control signal to the first mechanical mechanism; driving the second mechanical mechanism by applying a second control signal to the second mechanical mechanism; comparing the first control signal with a first predetermined threshold, and accordingly generating a first comparison result; and selectively adjusting the second control signal according to at least the first comparison result.
According to a second aspect of the present invention, an exemplary electronic device is disclosed. The exemplary electronic device includes a plurality of mechanical mechanisms, including at least a first mechanical mechanism and a second mechanical mechanism; and a control module, electrically connected to at least the first mechanical mechanism and the second mechanical mechanism. The control module includes a first controller, a second controller, and an output controller. The first controller is arranged for driving the first mechanical mechanism by applying a first control signal to the first mechanical mechanism. The second controller is arranged for driving the second mechanical mechanism by applying a second control signal to the second mechanical mechanism. The output controller includes a first comparing unit and an adjusting unit. The first comparing unit is arranged for comparing the first control signal with a first predetermined threshold, and accordingly generating a first comparison result. The adjusting unit is arranged for selectively adjusting the second control signal according to at least the first comparison result.
According to a third aspect of the present invention, an exemplary non-transitory machine-readable medium is disclosed. The exemplary non-transitory machine-readable medium stores a program code. When the program code is executed by a processor, the processor performs following steps: driving a first mechanical mechanism of an electronic device by applying a first control signal to the first mechanical mechanism; driving a second mechanical mechanism of the electronic device by applying a second control signal to the second mechanical mechanism; comparing the first control signal with a predetermined threshold, and accordingly generating a comparison result; and selectively adjusting the second control signal according to at least the comparison result.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “electrically connected” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is electrically connected to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
The conception of the present invention is to properly control the mechanical mechanisms to prevent the peak power/current consumption from exceeding a permitted level when more than one active mechanical mechanism of an optical storage apparatus is involved in accomplishing a particular task. By way of example, but not limitation, the optical storage apparatus may reduce the peak power/current at the expense of the performance of the optical storage apparatus. However, in most cases, the performance degradation of the optical storage apparatus is not perceivable to users. Technical features of the present invention are detailed as follows.
As a person skilled in the pertinent art can readily understand operations and functions of the spindle motor 102, the sled motor 104, and the servo actuator 106, further description is omitted here for brevity. It should be noted that only the components pertinent to the present invention are shown in
In this exemplary embodiment, the optical storage apparatus 100 may be an external optical disc drive which draws the needed supply power from a computer host to which the external optical disc drive is connected. Thus, the current/power consumption of the optical storage apparatus 100 should be well controlled to avoid violating the power supply capability of the interface (e.g., a universal serial bus (USB)) between the external optical disc drive and the computer host.
For example, one USB port is allowed to supply a current with 0.5 A at most. The present invention therefore proposes a method of controlling the optical storage apparatus 100 for peak power/current reduction, and may be briefly summarized by following steps: driving a first mechanical mechanism (e.g., one of the spindle motor 102, the sled motor 104, and the servo actuator 106) by applying a first control signal (e.g., one of the control signals S1, S2, and S3) to the first mechanical mechanism, wherein a second mechanical mechanism (e.g., another of the spindle motor 102, the sled motor 104, and the servo actuator 106) is inactive while the first mechanical mechanism is operating in response to the first control signal; adjusting the first control signal applied to the first mechanical mechanism when the second mechanical mechanism is requested to be active; and driving the second mechanical mechanism by applying a second control signal (e.g., another of the control signals S1, S2, and S3) to the second mechanical mechanism while the first mechanical mechanism is operating in response to the adjusted first control signal (e.g., one of the adjusted control signal S1′, S2′, and S3′).
In one exemplary implementation, adjusting the first control signal applied to the first mechanical mechanism is accomplished by reducing the first control signal and accordingly generating the adjusted first control signal to the first mechanical mechanism. In another exemplary implementation, adjusting the first control signal applied to the first mechanical mechanism is accomplished by setting the adjusted first control through stopping the first control signal from being applied to the first mechanical mechanism. For example, the adjusted first control signal is kept at a predetermined voltage level or control level (e.g., “0”), thereby having no control over the first mechanical mechanism. Since the adjusted first control signal is smaller than the original first control signal, the current/power consumption of the first mechanical mechanism operating in response to the adjusted first control signal can be effectively reduced. Though the second mechanical mechanism becomes active while the first mechanical mechanism is operating in response to the adjusted first control signal, the overall current/power consumption of the first mechanical mechanism and the second mechanical mechanism is not beyond the acceptable level. Several operational scenarios of the optical storage apparatus 100 are discussed as below.
Regarding a first operational scenario, the above-mentioned first mechanical mechanism is the spindle motor 102, and the above-mentioned second mechanical mechanism is the sled motor 104. When the spindle motor 102 accelerates/decelerates its spindle rotation, the spindle motor 102 will consume much current. Similarly, when the sled motor 104 is moving the sled 105, the sled motor 104 will consume much current. If both of the spindle motor 102 and the sled motor 104 are active at the same time, the peak current/power consumption may be too high. To solve this problem, the control signal S1 which drives the spindle motor 102 to accelerate/decelerate its spindle rotation would be adjusted by the spindle motor controller 112 when the sled motor 104 is requested to be active for moving the sled 105. Please note that the adjusted control signal S1′ may be set by reducing the control signal S1 applied to the spindle motor 102 such that the spindle motor 102 makes its spindle rotate with slower acceleration/deceleration, or may be set by stopping the control signal S1 from being applied to the spindle motor 102 such that the adjusted control signal S1′ has no control over the spindle motor 102.
It should be noted that the three controllers (spindle motor controller 112, servo actuator controller 116, and sled motor controller 114) can be combined in a single controller in some embodiments (not shown), and the corresponding control signals still respectively control each one of the spindle motor 102, servo actuator 106, and sled motor 104.
Please refer to
Step 300: Start.
Step 302: Check if the sled motor 104 is requested for moving the sled 105. If yes, go to step 304; otherwise, go to step 314.
Step 304: Check if the spindle motor 102 is accelerating/decelerating its spindle rotation. If yes, go to step 306; otherwise, go to step 312.
Step 306: Adjust the control signal S1 applied to the spindle motor 102.
Step 308: Drive the sled motor 104 to move the sled 105 by applying a control signal S2 to the sled motor 104.
Step 310: Restore the adjusted control signal S1′ to the original control signal S1. Go to step 314.
Step 312: Drive the sled motor 104 to move the sled 105 by applying a control signal S2 to the sled motor 104.
Step 314: End.
In step 304, a frequency generator (FG) signal SFG generated from the spindle motor 102 may be used to monitor the rotational speed of the spindle. More specifically, the frequency of the FG signal SFG is proportional to the rotational speed of the spindle. Thus, when the frequency error (frequency variation) of the FG signal SFG is found greater than a predetermined threshold value, it is determined that the spindle motor 102 is accelerating/decelerating its spindle rotation.
Please refer to
Regarding a second operational scenario, the above-mentioned first mechanical mechanism is the spindle motor 102/sled motor 104, and the above-mentioned second mechanical mechanism is the servo actuator 106. Before a track-on process is performed, a track-seeking process may be performed to move the OPU 103 from a current track to a target track. Thus, the spindle motor 102 and the sled motor 104 may be involved in seeking the target track on the optical storage medium 101. If the spindle motor 102/sled motor 104 and the servo actuator 106 are all active at the same time when the track-on process is enabled for locking the laser spot to the target track, the peak current/power consumption may be too high. To solve this problem, when the servo actuator controller 116 is requested to be active during a track-on process for moving the objective lens of the OPU 103 in response to the servo control signal (e.g., the tracking error signal STE and/or the focus error signal SFE), the control signal S1 which drives the spindle motor 102 to accelerate/decelerate its spindle rotation would be adjusted by the spindle motor controller 112 and/or the control signal S2 which drives the sled motor 104 to move the sled 105 would be adjusted by the sled motor controller 114. Please note that the adjusted control signal S1′ may be set by reducing the control signal S1 applied to the spindle motor 102 such that the spindle motor 102 makes its spindle rotate with slower acceleration/deceleration, or me by set by stopping the control signal S1 from being applied to the spindle motor 102 such that the adjusted control signal S1′ has no control over the spindle motor 102. Regarding the adjusted control signal S2′, it may be set by stopping the control signal S2 from being applied to the sled motor 104 such that the adjusted control signal S2′ has no control over the sled motor 104.
Step 500: Start.
Step 502: Check if a track-on process is enabled? If yes, go to step 504; otherwise, go to step 510.
Step 504: Adjust the control signal S1 applied to the spindle motor 102 and/or the control signal S2 applied to the sled motor 104.
Step 506: Drive the servo actuator 106 to move the objective lens of the OPU 103 by applying a control signal S3 to the servo actuator 106, thereby locking the laser spot to the target track.
Step 508: Restore the adjusted control signal S1′ to the original control signal S1 and/or the adjusted control signal S2′ to the original control signal S2.
Step 510: End.
It should be noted that the spindle motor controller 112/sled motor controller 114 may has a hold circuit (e.g., the hold circuit 408 shown in
Regarding a third operational scenario, the above-mentioned first mechanical mechanism is the spindle motor 102/servo actuator 106, and the above-mentioned second mechanical mechanism is the sled motor 104. After the laser spot is locked onto the target track of the target recording layer, a track-following process is enabled to control the OPU 103 to thereby make the laser spot move along the spiral track for data reading/recording. Thus, the spindle motor 102 and the servo actuator 106 may be both involved in moving the laser spot along the spiral track. If the sled motor 104 is requested to move the sled 105 during the track-following process, the spindle motor 102/sled motor 104 and the servo actuator 106 are all active at the same time, resulting in high current/power consumption which may exceed the acceptable level. To solve this problem, when the sled motor 104 is requested to be active during a track-following process for moving the sled 105 in response to the control signal S2, the control signal S1 which drives the spindle motor 102 to accelerate/decelerate its spindle rotation would be adjusted by the spindle motor controller 112 and/or the control signal S3 which drives the servo actuator 106 to move the objective lens in the OPU 103 would be adjusted by the servo actuator controller 116. Please note that the adjusted control signal S1′ may be set by reducing the control signal S1 applied to the spindle motor 102 or stopping the control signal S1 from being applied to the spindle motor 102. Regarding the adjusted control signal S3′, it may be set by lowering an output gain applied to the servo control signal, including the tracking error signal STE and/or the focus error signal SFE.
Step 600: Start.
Step 602: Check if the sled motor 104 is requested for moving the sled 105. If yes, go to step 604; otherwise, go to step 614.
Step 604: Check if the track-following process is active now. If yes, go to step 606; otherwise, go to step 612.
Step 606: Adjust the control signal S1 applied to the spindle motor 102 and/or the control signal S3 applied to the servo actuator 106.
Step 608: Drive the sled motor 104 to move the sled 105 by applying a control signal S2 to the sled motor 104.
Step 610: Restore the adjusted control signal S1′ to the original control signal S1 and/or the adjusted control signal S3′ to the original control signal S3. Go to step 614.
Step 612: Drive the sled motor 104 to move the sled 105 by applying a control signal S2 to the sled motor 104.
Step 614: End.
It should be noted that the spindle motor controller 112/servo actuator controller 116 may has a hold circuit (e.g., the hold circuit 408 shown in
Regarding a fourth operational scenario, the above-mentioned first mechanical mechanism is the sled motor 104, and the above-mentioned second mechanical mechanism is the spindle motor 102 arranged to operate under a constant linear velocity (CLV) mode, such as a zoned-CLV (Z-CLV) mode. When a track-seeking process is performed for making the OPU 103 jump to a target track, the spindle motor 102 may be required to change its rotational speed and/or the sled motor 104 may be required to move the sled 105, depending upon the distance between the current track and the target track. If the spindle motor 102 and the sled motor 104 are both active at the same time during the track-seeking process, the current/power consumption may be too high. To solve this problem, the sled motor 104 is enabled for moving the sled 105 for carrying the OPU 103 to the target track before the spindle motor 102 changes the rotational speed of the optical storage medium 101 by accelerating/decelerating its spindle rotation. In other words, when the spindle motor 102 is required to change the rotational speed of the optical storage medium 101 in response to the control signal S1, the control signal S2 which drives the sled motor 104 would be adjusted by the sled motor controller 114. For example, after the OPU 103 is moved to the target track, the sled motor controller 114 adjusts the control signal S2 by stopping the control signal S2 from being applied to the sled motor 104 such that the adjusted control signal S2′ has no control over the sled motor 104.
Step 702: Begin a track-seeking process.
Step 704: Drive the sled motor 104 to move the sled 105 by applying a control signal S2 to the sled motor 104 while the spindle motor 102 keeps its spindle rotational speed.
Step 706: Check if the sled 105/OPU 103 has arrived at the target track. If yes, go to step 708; otherwise, go to step 704 to keep moving the sled 105 for seeking the target track.
Step 708: Adjust the control signal S2 applied to the sled motor 104. For example, as the sled motor controller 114 stops the control signal S2 from being applied to the sled motor 104, the resultant adjusted control signal S2′ is kept at a predetermined voltage level or control level (e.g., “0”) and thus has no control over the sled motor 104.
Step 710: Drive the spindle motor 102 to accelerate/decelerate its spindle rotation (i.e., to change the rotational speed of the optical storage medium 101) by applying a control signal S1 to the spindle motor 102 which operates under the CLV mode.
Step 712: Check if the rotational speed has reached the target speed. If yes, go to step 714; otherwise, go to step 710 to keep changing the rotational speed of the optical storage medium 101.
Step 714: End the track-seeking process.
Please refer to
Therefore, as shown in
Regarding a fifth operational scenario, the above-mentioned first mechanical mechanism is the spindle motor 102 which is arranged to operate under a constant angular velocity (CAV) mode, and the above-mentioned second mechanical mechanism is the sled motor 104. When a track-seeking process is performed for making the OPU 103 jump to a target track, the sled motor 104 may be required to move the sled 105. If the sled motor 104 is enabled to move the sled 105 while the spindle motor 102 is operating for rotating the optical storage medium 101 at a desired constant angular velocity under the CAV mode, the current/power consumption may be too high. To solve this problem, the control signal S1 which drives the spindle motor 102 to maintain its spindle rotation at the desired constant angular velocity would be adjusted by the spindle motor controller 112 when the sled motor 104 is requested to be active for moving the sled 105. Please note that the adjusted control signal S1′ may be set by reducing the control signal S1 applied to the spindle motor 102 such that the spindle motor 102 makes its spindle rotate with slower acceleration/deceleration, or may be set by stopping the control signal S1 from being applied to the spindle motor 102 such that the adjusted control signal S1′ has no control over the spindle motor 102. Next, after the sled 105 is successfully moved by the sled motor 104, the spindle motor controller 112 restores the adjusted control signal S1′ to the original control signal S1.
Step 1002: Begin a track-seeking process.
Step 1004: Adjust the control signal S1 applied to the spindle motor 102 operating under the CAV mode.
Step 1006: Drive the sled motor 104 to move the sled 105 by applying a control signal S2 to the sled motor 104 while the spindle motor 102 is operating in response to the adjusted control signal S1′.
Step 1008: Check if the sled 105/OPU 103 has arrived at the target track. If yes, go to step 1010; otherwise, go to step 1006 to keep moving the sled 105 for seeking the target track.
Step 1010: Restore the adjusted control signal S1′ to the original control signal S1 for driving the spindle motor 102 to rotate the optical storage medium 101 at the desired constant angular velocity under the CAV mode.
Step 1012: End the track-seeking process.
It should be noted that the spindle motor controller 112 may has a hold circuit (e.g., the hold circuit 408 shown in
Regarding the exemplary embodiment shown in
Specifically, the firmware FW executed by the processor 1102 functions as the control module 110 shown in
In this firmware-based implementation, adjusting the first control signal applied to the first mechanical mechanism is accomplished by setting the adjusted first control through stopping the first control signal from being applied to the first mechanical mechanism. As a person skilled in the art can readily understand the operation of the program code (e.g., firmware FW of the optical storage apparatus 1100) executed by the processor 1102 after reading above paragraphs directed to different operational scenarios of the exemplary optical storage apparatus 100 shown in
It should be noted that the aforementioned mechanical mechanisms, such as the spindle motor 102, the sled motor 104, and the servo actuator 106 shown in
If the optical storage medium (e.g., an optical disc) 101 has defects caused by dirt and/or scratch, the servo actuator controller 116 would increase the control signal S3 for driving the servo actuator 106 to stabilize the tracking servo control and/or the focus servo control, which resulting in increased power/current consumption inevitably. When the sled motor 104 is increasing the moving speed of the sled 105 or the spindle motor 102 is increasing the rotational speed of the spindle at the same time, the peak power/current consumption may exceed the maximum level that the power source of the optical storage apparatus (e.g., an external optical disc drive) 100 can afford. The present invention also provides solutions to this problem.
Please refer to
The output controller 1202 is arranged to check the control signal S3 for selectively adjusting the control signal S1/S2. Specifically, the output controller 1202 compares the control signal S3, either the focus control output S31 or the tracking control output S32, with a predetermined threshold, and refers to the comparison result to decide whether the control signal S1/S2 should be adjusted to generate the adjusted control signal S1′/S2′. For example, when the OPU 103 is reading data from or writing data onto a defect area of the optical storage medium (e.g., an optical disc) 101, the control signal S3 may have a large signal level instantly. Hence, with a proper setting of the predetermined threshold, the occurrence of the large current/power consumption of the servo actuator 106 can be detected. Upon detecting that the control signal S3 exceeds the predetermined threshold, the output controller 1202 adjusts the control signal S1/S2 for preventing the peak current/power consumption of the optical storage apparatus 100 from exceeding a maximum level as defined by the pertinent specification. Further details are described as below.
In this embodiment, the adjusting unit 1304 is simply implemented by a selector 1318. Hence, the selector 1318 outputs a predetermined level as the adjusted control signal S2′ when the comparison result CR has the logic value “1”, and directly outputs the control signal S2 originally generated from the sled motor controller 114 when the comparison result CR has the logic value “0”. Specifically, when at least one of the comparison results CR1 and CR2 carries the logic value “1”, implying that at least one of the focus control output S31 and tracking control output S32 exceeds the corresponding predetermined threshold FOO_TH/TRO_TH, the adjusting unit 1304 outputs the adjusted control signal S2′ instead of the original control signal S2. In one exemplary design, the adjusting unit 1304 may generate the adjusted control signal S2′ by holding the control signal S2 at the predefined level.
For example, the predefined level may be a signal level of the control signal S2 sampled instantly at the timing when the selector 1318 switches from the control signal S2 to the predefined level. In another exemplary design, the predefined level may be a zero value. Therefore, the adjusting unit 1304 generates the adjusted control signal S2′ by stopping the control signal S2 from being applied to the sled motor 104 such that the adjusted control signal S2 is muted and has no control over the sled motor 104. No matter which adjusting scheme is employed for generating the adjusted control signal S2′, the adjusted control signal S2′ would have a signal level not greater than that of the original control signal S2 during the time period in which the control signal S3 is found larger than the predetermined threshold. In this way, when defects are encountered by the OPU 103 during the active period of the sled motor 104, the consumed peak current/power is prevented from exceeding the maximum level that the power source of the optical storage apparatus 100 (e.g., an external optical disc drive) can afford. Besides, as no signal level reduction is made to the control signal S3 for lowering the current/power consumption of the servo actuator 106, the read/write performance of the OPU 103 is not degraded significantly.
Step 1400: Start.
Step 1402: Compare the focus control output S31 of the control signal S3 with the predetermined threshold FOO_TH.
Step 1404: Does the focus control output S31 exceed the predetermined threshold FOO_TH? If yes, go to step 1412; otherwise, go to step 1406.
Step 1406: Compare the tracking control output S32 of the control signal S3 with the predetermined threshold TRO_TH.
Step 1408: Does the tracking control output S32 exceed the predetermined threshold TRO_TH? If yes, go to step 1412; otherwise, go to step 1410.
Step 1410: Directly output the incoming control signal S2 to the sled motor 104. Next, go to step 1402 to keep monitoring the control signal S3.
Step 1412: Generate and output the adjusted control signal S2′ to the sled motor 104. Next, go to step 1402 to keep monitoring the control signal S3.
It should be noted that the order of checking the focus control output S31 and the tracking control output S32 may be adjusted, depending upon actual design requirement/consideration. For example, in one alternative design, the step of checking the focus control output S31 may be executed after it is determined that the tracking control output S32 does not exceed the predetermined threshold TRO_TH. In another alternative design, the operation of comparing the focus control output S31 with the predetermined threshold FOO_TH and the operation of comparing the tracking control output S32 with the predetermined threshold TRO_TH may be executed in a parallel fashion. The same objective of detecting the occurrence of the control signal S3 larger than the predetermined threshold is achieved. As a person skilled in the art can readily understand details of each step shown in
The comparator 1516 is arranged to compare a spindle speed variation SPD_VAR with a predetermined threshold SPD_TH, and accordingly generate a comparison result CR_2. Specifically, when the spindle speed variation SPD_VAR exceeds the predetermined threshold SPD_TH, the comparison result CR_2 would carry one logic value “1”, and when the spindle speed variation SPD_VAR does not exceed the predetermined threshold SPD_TH, the comparison result CR_1 would carry another logic value “0”. By way of example, but not limitation, the spindle speed variation SPD_VAR may be derived by monitoring the spindle acceleration/deceleration.
For example, the comparator 1516 may part of the spindle acceleration/deceleration detector 402 shown in
The logic gate 1520 is an AND gate which performs an AND operation upon the comparison results CR_1 and CR_2 and generates a comparison result CR as an output of the comparing unit 1502. Therefore, when at least one of the comparison results CR_1 and CR_2 carries the logic value “0”, the comparison result CR has the logic value “0”. In other words, only when each of the comparison results CR_1 and CR_2 carries the logic value “1”, the comparison result CR would have the logic value “1”.
In this embodiment, the adjusting unit 1304 is implemented by a selector 1522 and a variable gain amplifier 1524. The selector 1522 is controlled by the comparison result CR to output a selected gain setting G for configuring the variable gain amplifier 1524. The selector 1522 outputs a predetermined gain (e.g., G<1) as the selected gain setting when the comparison result CR has the logic value “1”, and outputs a unity gain (e.g., G=1) as the selected gain setting when the comparison result CR has the logic value “0”. Specifically, when at least one of the comparison results CR_1 and CR_2 carries the logic value “1” (i.e., at least one of the focus control output S31 and tracking control output S32 exceeds the corresponding predetermined threshold FOO_TH/TRO_TH) and the spindle speed variation SPD_VAR exceeds the corresponding predetermined threshold SPD_TH (i.e., the spindle is currently accelerating/decelerating), the selector 1522 outputs a reduced gain setting to the variable gain amplifier 1524, and the variable gain amplifier 1524 generates the adjusted control signal S1′ by referring to the reduced gain setting to apply a lower gain to the control signal S1. As the adjusted control signal S1′ would have a signal level not greater than that of the original control signal S1 during the time period in which the control signal S3 is found larger than a predetermined threshold and the spindle speed variation is found larger than a predetermined threshold. In this way, when defects are encountered by the OPU 103 during the active period of the spindle motor 102, the consumed peak current/power is prevented from exceeding the maximum level that the power source of the optical storage apparatus 100 (e.g., an external optical disc drive) can afford. Besides, as no signal level reduction is made to the control signal S3, the read/write performance of the OPU 103 is not degraded significantly.
Step 1600: Start.
Step 1602: Compare the focus control output S31 of the control signal S3 with the predetermined threshold FOO_TH.
Step 1604: Does the focus control output S31 exceed the predetermined threshold FOO_TH? If yes, go to step 1612; otherwise, go to step 1606.
Step 1606: Compare the tracking control output S32 of the control signal S3 with the predetermined threshold TRO_TH.
Step 1608: Does the tracking control output S32 exceed the predetermined threshold TRO_TH? If yes, go to step 1612; otherwise, go to step 1610.
Step 1610: Output the unity gain as the selected gain setting to the variable gain amplifier, and keep the original control signal S1 unchanged by applying the unity gain to the original control signal S1. Next, go to step 1602 to keep monitoring the control signal S3.
Step 1612: Compare the spindle speed variation SPD_VAR with the predetermined threshold SPD_TH.
Step 1614: Does the spindle speed variation SPD_VAR exceed the predetermined threshold SPD_TH? If yes, go to step 1616; otherwise, go to step 1610.
Step 1616: Output the reduced gain as the selected gain setting to the variable gain amplifier, and generate the adjusted control signal S1′ by applying the reduced gain to the original control signal S1. Go to step 1602 to keep monitoring the control signal S3.
It should be noted that the order of checking the focus control output S31, checking the tracking control output S32 and checking the spindle speed variation SPD_VAR may be adjusted, depending upon actual design requirement/consideration. For example, in one alternative design, the step of checking the focus control output S31 may be executed after it is determined that the tracking control output S32 does not exceed the predetermined threshold TRO_TH. In another alternative design, the step of checking the focus control output S31/tracking control output S32 may be executed after it is determined that the spindle speed variation SPD_VAR exceeds the predetermined threshold SPD_TH. In yet another alternative design, the operation of comparing the focus control output S31 with the predetermined threshold FOO_TH, the operation of comparing the tracking control output S32 with the predetermined threshold TRO_TH, and the operation of comparing the spindle speed variation SPD_VAR with the predetermined threshold SPD_TH may be executed in a parallel fashion. The same objective of detecting the occurrence of the control signal S3 larger than a predetermined threshold as well as the spindle speed variation larger than a predetermined threshold is achieved. As a person skilled in the art can readily understand details of each step shown in
The control module 1200 may use a focus clamping value to limit the maximum signal level of the focus control output S31, thus protecting the object lens of the OPU 103 from moving beyond an acceptable vertical range. In addition, the control module 1200 may use a tracking clamping value to limit the maximum signal level of the tracking control output S32, thus protecting the object lens of the OPU from moving beyond an acceptable horizontal range. It should be noted that the predetermined threshold FOO_TH in above examples shown in
Regarding the exemplary embodiment shown in
As the firmware FW′ executed by the processor 1702 functions as the hardware-based control module 1200 shown in
In above exemplary embodiments, the proposed control scheme is employed in an optical storage apparatus. However, this is for illustrative purposes only, and is not meant to be a limitation of the present invention. That is, the proposed control scheme of the present invention may be applied to any electronic device having a plurality of mechanical mechanisms. Specifically, the aforementioned optical storage apparatus is merely an example of the electronic device to which the proposed control scheme is applied. Hence, the term “optical storage apparatus” used in above description may be replaced with the term “electronic device” without departing from the spirit of the present invention. With the help of the proposed control scheme, the same objective of preventing the peak power/current consumption of the electronic device from exceeding a permitted level is achieved.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This continuation-in-part application claims the benefit of co-pending U.S. application Ser. No. 12/986,194 (filed on Jan. 7, 2011), which claims the benefit of U.S. provisional application No. 61/356,653 (filed on Jun. 21, 2010). The entire contents of the related applications are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61356653 | Jun 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12986194 | Jan 2011 | US |
Child | 13481941 | US |