Claim and incorporate by reference domestic priority application and foreign priority application as follows:
This application claims the benefit under 35 U.S.C. Section 119 of Korean Patent Application Serial No. 10-2012-0134454, entitled filed Nov. 26, 2012, which is hereby incorporated by reference in its entirety into this application.
1. Field of the Invention
The present invention relates to an apparatus and a method for automatic gain control of a sensor, and a sensor apparatus, and more particularly, to an apparatus and a method for automatic gain control of a sensor that can minimize an automatic gain control error, and a sensor apparatus.
2. Description of the Related Art
Various sensors that sense movement or position of an ordinary object or external force generally have a resonant sensor mass to output a vibration output signal according to the movement or position of the object or the external force. At this time, the degree of stability of resonance of the sensor mass is one of very important factors that determine performance of the sensor. Since the sensor mass may resonate at an amplitude deviated from an initially set target value due to deterioration and changes of a MEMS structure of the sensor, apparatuses such as automatic gain control (AGC) are generally applied. The AGC is a method of automatically adjusting a resonance gain of a mass to always drive the sensor mass at an initial target value set for driving a sensor, and a method of applying a gain that can compensate resonance of a sensor mass as much as a difference by determining the difference between a current resonance state and a resonance target value is generally used.
In general, in the AGC, a current peak value converges to a target value through PID control to generate a gain for compensating a difference between the current peak value and the target value. At this time, in digitally controlling a MEMS structure, whether how close and stable the peak value can converge to the target value is a very important thing in determining performance of the AGC. However, in the AGC, the resonance of the sensor mass approaches the target value but continuously oscillates around the target value without completely converging to the target due to instability of a gain of the AGC caused by a difference between resolution of a peak value of an output signal of the sensor mass and resolution of the gain generated from an AGC operation or nonlinear instability of the resonance of the sensor mass even though converging to the target. Since this phenomenon may occur as noise of the entire system later and deteriorate output characteristics of the sensor, it must be removed.
In the conventional AGC system, in order to remove the above oscillation, a margin value selected from the outside is applied to overcome oscillation around a target. When a margin is set and an existing value converges within the margin so that the existing value is continuously maintained without applying a new margin any more, an AGC error as much as the margin may occur but oscillation can be removed. Therefore, it is a very important thing to determine a margin value that prevents oscillation after AGC while minimizing a target margin.
However, when determining a target margin value, it is difficult to adjust the target margin due to different resonance characteristics of the sensors and changes according to nonlinearity of the resonance characteristics. For all that, it is not realistic to set a margin by performing an AGC performance test for all sensor products. Therefore, in the prior art, AGC is tested by various sensors to perform stable AGC by applying a maximum margin that prevents oscillation after applying AGC.
However, this conventional method generates unnecessary performance degradation of AGC since a margin value larger than an actual margin is set in the sensor that doesn't need to set a value as much as a predetermined margin. On the contrary, even though a test is performed by various sensors, since the set margin can't represent the performance of all the sensors, there is always an anxiety that oscillation due to AGC is latent.
Patent Document 1: U.S. Pat. No. 5,805,212 (laid-open on Sep. 8, 1998)
The present invention has been invented in order to overcome the above-described problems and it is, therefore, an object of the present invention to provide an apparatus and a method for automatic gain control of a sensor, and a sensor apparatus that can perform an AGC operation by calculating a margin in each AGC system itself and applying a minimum adaptive margin value.
Accordingly, it is an object of the present invention to minimize an AGC error by calculating and applying a margin adaptive to characteristics of each sensor in itself.
In accordance with a first embodiment of the present invention to achieve the object, there is provided an apparatus for automatic gain control of a sensor including: a PID control unit for outputting a gain value applied compensated sensor signal by performing PID control while generating and changing a gain value to converge a peak value of a sensor signal output as a vibration output signal according to movement or position of an object or external force to a target value; and a margin calculation unit for determining the degree of change of peaks of a previous gain value applied compensated sensor signal and a current gain value applied compensated sensor signal and performing calculation of a margin for stabilizing the compensated sensor signal in the PID control performing step according to the result of determination of the degree of change.
At this time, in an example, the margin calculation unit may not perform the calculation of the margin when a difference between a gap between the peak of the current gain value applied compensated sensor signal and the target value and a gap between the peak according to the previous gain value and the target value is out of a predetermined range and may perform the calculation of the margin when the difference is within the predetermined range and the peak values are approximate.
Further, in an example, the margin calculation unit may calculate the margin when the degree of change is within the predetermined range, the peak values are approximate, and the gap between the peak of the current gain value applied compensated sensor signal and the target value is within a preset maximum margin range.
At this time, the margin calculation unit may set the maximum gap among the gaps between the peak of the compensated sensor signal and the target value for a predetermined interval from when the gap between the peak of the current gain value applied compensated sensor signal and the target value is within the preset maximum margin range, as the margin.
Further, in accordance with an example, the margin calculation unit may include a gap difference calculation part for calculating the difference (Diff) between the gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and the gap (dn−1) between the peak according to the previous gain value and the target value; an AGC operation execution determining part for determining whether or not to execute the calculation of the margin by determining whether the gap difference (Diff) calculated by the gap difference calculation part is within the predetermined range and whether the gap (dn) according to the current gain value is within the preset maximum margin range; and a margin calculation part for setting the margin from the gap within the preset maximum margin range when the execution of the calculation of the margin is determined by the AGC operation execution determining part.
At this time, the AGC operation execution determining part may determine the execution of the calculation of the margin when the gap difference (Diff) is within the predetermined range and the gap (dn) according to the current gain value is within the preset maximum margin range, and may continuously perform the PID control without executing the calculation of the margin by generating and changing the gain value through the PID control unit when the gap difference (Diff) is out of the predetermined range or the gap (dn) according to the current gain value is out of the preset maximum margin range.
Further, in another example, when the AGC operation execution determining part determines whether the difference calculated by the gap difference calculation part is within the predetermined range, a reference of the predetermined range may be a range in which a ratio of the gap difference (Diff) to the gap (dn) according to the current gain value is 5%.
In accordance with another example, the margin calculation part may set the maximum gap among the gaps between the peak of the compensated sensor signal and the target value for the predetermined interval from when the gap (dn) according to the current gain value is within the preset maximum margin range, as the margin.
Further, in an example, the sensor signal output as a vibration output signal may be a gyro sensor signal.
Next, in accordance with a second embodiment of the present invention to achieve the object, there is provided a sensor apparatus including: a sensor mass for providing a vibration output according to movement or position of an object or external force; an analog circuit for generating and outputting an analog sensor signal by processing the vibration output of the sensor mass and providing a resonance signal to the sensor mass; an analog-digital conversion unit for converting the analog sensor signal into a digital signal; a digital control circuit for receiving the sensor signal converted into the digital signal, including a PID control unit for outputting a gain value applied compensated sensor signal by performing PID control while generating and changing the gain value to converge a peak value of the sensor signal output as the vibration output signal according to the movement or position of the object or the external force to a target value and a margin calculation unit for determining the degree of change of peaks of a previous gain value applied compensated sensor signal and a current gain value applied compensated sensor signal and performing calculation of a margin for stabilizing the compensated sensor signal according to the result of determination of the degree of change, and performing an automatic gain control operation according to the margin; and a digital-analog conversion unit for converting an output according to the operation performed by the digital control circuit into an analog signal to feed back the analog signal to the analog circuit.
At this time, in an example, the margin calculation unit of the digital control circuit may include a gap difference calculation part for calculating a difference (Diff) between a gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and a gap (dn−1) between the peak according to the previous gain value and the target value; an AGC operation execution determining part for determining whether or not to execute the calculation of the margin by determining whether the gap difference (Diff) calculated by the gap difference calculation part is within a predetermined range and whether the gap (dn) according to the current gain value is within a preset maximum margin range; and a margin calculation part for setting the margin from the gap within the preset maximum margin range when the execution of the calculation of the margin is determined by the AGC operation execution determining part.
Further, at this time, the margin calculation part may set the maximum gap among the gaps between the peak of the compensated sensor signal and the target value for a predetermined interval from when the gap (dn) according to the current gain value is within the preset maximum margin range, as the margin.
Further, in accordance with an example, the digital control circuit may further include a low-pass filter unit for receiving the sensor signal converted into the digital signal, removing noise of the received signal, and providing the noise-removed signal to the PID control unit.
Further, in an example, the sensor apparatus may be a gyro sensor apparatus.
Next, in accordance with a second embodiment of the present invention to achieve the object, there is provided a method for automatic gain control of a sensor, including: a PID control performing step of outputting a gain value applied compensated sensor signal by performing PID control while generating and changing a gain value to converge a peak value of a sensor signal output as a vibration output signal according to movement or position of an object or external force to a target value; and a margin calculation step of determining the degree of change of peaks of a previous gain value applied compensated sensor signal and a current gain value applied compensated sensor signal and performing calculation of a stabilization margin of the sensor signal applied to the PID control performing step according to the result of determination of the degree of change.
At this time, in an example, the margin calculation step may include a gap difference calculation step of calculating a difference (Diff) between a gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and a gap (dn−1) between the peak according to the previous gain value and the target value; an AGC operation execution determining step of determining whether or not to execute the calculation of the margin by determining whether the gap difference (Diff) calculated in the gap difference calculation step is within a predetermined range and whether the gap (dn) according to the current gain value is within a preset maximum margin range; and a margin setting step of setting the margin from the gap within the preset maximum margin range when the execution of the calculation of the margin is determined in the AGC operation execution determining step.
At this time, in the AGC operation execution determining step, the execution of the calculation of the margin may be determined when the gap difference (Diff) is within the predetermined range and the gap (dn) according to the current gain value is within the preset maximum margin range, and the calculation of the margin may not be performed when the gap difference (Diff) is out of the predetermined range or the gap (dn) according to the current gain value is out of the preset maximum margin range.
Further, in accordance with an example, in the margin setting step, the maximum gap among the gaps between the peak of the compensated sensor signal and the target value for a predetermined interval from when the gap (dn) according to the current gain value is within the preset maximum margin range may be set as the margin.
These and/or other aspects and advantages of the present general inventive concept will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
Embodiments of the present invention to achieve the above-described objects will be described with reference to the accompanying drawings. In this description, the same elements are represented by the same reference numerals, and additional description which is repeated or limits interpretation of the meaning of the invention may be omitted.
In this specification, when an element is referred to as being “connected or coupled to” or “disposed in” another element, it can be “directly” connected or coupled to or “directly” disposed in the other element or connected or coupled to or disposed in the other element with another element interposed therebetween, unless it is referred to as being “directly coupled or connected to” or “directly disposed in” the other element.
Although the singular form is used in this specification, it should be noted that the singular form can be used as the concept representing the plural form unless being contradictory to the concept of the invention or clearly interpreted otherwise. It should be understood that the terms such as “having”, “including”, and “comprising” used herein do not preclude existence or addition of one or more other elements or combination thereof.
First, an apparatus for automatic gain control of a sensor in accordance with a first embodiment of the present invention will be specifically described with reference to the drawings. At this time, the reference numeral that is not mentioned in the reference drawing may be the reference numeral that represents the same element in another drawing.
Referring to
At this time, the PID control unit 100 performs PID control by generating and changing a gain value to converge a peak value of a sensor signal output as a vibration output signal according to movement or position of an object or external force to a target value. At this time, the PID control unit 100 performs the PID control to output a gain value applied compensated sensor signal. A sensor, which outputs a vibration output signal according to movement or position of an object or external force, may be, for example, a gyro sensor, an acceleration sensor, a vibration sensor, a gravity sensor, etc. In an example, the sensor signal output as the vibration output signal may be a gyro sensor signal.
The PID control is a feedback control method that maintains a compensated output according to a combination of proportional control, integral control, and derivative control connected in parallel at a target value which is a reference voltage and controls a PID control output to converge to the target value by generating and/or changing a compensated gain value based on an error between the compensated output and the target value. The PID control unit 100 outputs the compensated sensor signal by applying the gain value according to the PID control to the sensor signal.
An operation of the PID control unit 100 will be described with reference to
d
1
>d
2
>d
3
> . . . >d
n−2
≈d
n−1
≈d
n
At this time, in relation to the dn values, the AGC operation process can be divided largely into two processes. The first step of the AGC operation process is a step of generating and applying the gain value for converging the peak value of the sensor signal output from the sensor to the target value. At this time, it is characterized in that a relatively large gain value is applied by initial operation so that there is a great change in the peak value of the compensated sensor signal. That is, there is a great change in the difference, that is, the gap between the peak value of the compensated sensor signal and the target value. For example, in the first step, overshoot may occur.
The second step of the AGC operation process is a step in which the peak value of the compensated sensor signal almost converges to the target value but doesn't completely match with the target value and thus continuously oscillates around the target value. At this time, a variation of the peak of the compensated sensor signal is relatively smaller than the first step, and the peak value of the compensated sensor signal oscillates to a constant value with almost no variation in the difference, that is, the gap between the target value and the peak value of the compensated sensor signal. It is required to stabilize AGC by applying a margin greater than the value oscillated in the second step. At this time, the required margin may be set or calculated by the following margin calculation unit 300.
Next, the margin calculation unit 300 will be specifically described with reference to
The margin calculation unit 300 determines the degree of change of peaks of a previous gain value applied compensated sensor signal and a current gain value applied compensated sensor signal. At this time, the margin calculation unit 300 performs calculation of a margin for stabilizing the compensated sensor signal in the PID control performing step according to the result of determination of the degree of change. At this time, the margin is to remove a phenomenon that the compensated sensor signal through the PID control unit 100 continuously oscillates around the target value and means a range in which the compensated sensor signal is stabilized.
By calculating or setting an AGC margin through the margin calculation unit 300 in the present embodiment, it is possible to adaptively apply an optimized margin to various sensors. In the AGC operation process, in the prior art, as the AGC operation is processed by applying a large margin value fixed as an external register value, an oscillation phenomenon is latent since performance of AGC may be unnecessarily deteriorated or it is not possible to represent performance of all sensors. However, in the present embodiment, it is possible to adaptively apply an AGC margin to various sensor control systems by adaptively calculating a margin value through the margin calculating unit.
In an example, the margin calculation unit 300 doesn't perform the calculation of the margin when a difference (Diff) between a gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and a gap (dn−1) between the peak according to the previous gain value and the target value is out of a predetermined range, and performs the calculation of the margin when the difference (Diff) is within the predetermined range and thus the peak values are approximate. That is, a requirement of the calculation of the margin by the margin calculation unit 300 is that the difference (Diff) between the gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and the gap (dn−1) between the peak according to the previous gain value and the target value reaches within the predetermined range.
For example, referring to
At this time, the margin calculation unit 300 may set the margin from the gap between the peak of the compensated sensor signal in the second step of the above-described AGC operation process and the target value. For example, the gap values between the peak of the compensated sensor signal in the second step of the AGC operation process and the target value are observed for a predetermined time interval, and the largest value among them, not one dn value obtained in the second step of the above-described AGC operation process, may be determined as the margin value. Even in case of the gap values oscillating around the target value, since there is an error between them, the maximum gap value among the gap values for the predetermined time interval can be set as the margin as above.
A reference of the above-described predetermined range may be appropriately set through a test etc. For example, the reference of the predetermined range may be a range in which a ratio of the gap difference (Diff) to the gap (dn) according to the current gain value is 5% but is not limited thereto. That is, when the ratio of the gap difference (Diff) to the gap (dn) according to the current gain value is out of 5%, the calculation of the margin is not performed and the PID feedback control is continuously performed. When the ratio of the gap difference (Diff) to the gap (dn) according to the current gain value reaches within 5%, the calculation of the margin is performed.
Referring to
For example, when a small PID coefficient value is applied to slowly converge to the target value, the PID coefficient value may be adjusted to pass through the first and second steps of the AGC operation process as in
On the other hand, when a large PID coefficient value is applied so that AGC oscillates, the PID coefficient value may be adjusted to pass through the first and second steps of the AGC operation process as in
Accordingly, in an example, the margin calculation unit 300 can calculate the margin when the degree of change of the peak of the compensated sensor signal converges within a predetermined range so that the peak values of the compensated sensor signal are approximate to each other and the gap dn between the peak of the current gain value applied compensated sensor signal and the target value is within the preset maximum margin (Marginmax) range. That is, as requirements for performing the calculation of the margin, a first requirement that the degree of change of the peak of the compensated sensor signal converges within the predetermined range and a second requirement that the gap dn between the peak of the current gain value applied compensated sensor signal and the target value is within the preset maximum margin range may be required. For example, the maximum margin (MarginMAX) may be preset from the value obtained through a test etc.
Accordingly, the margin calculated by the margin calculation unit 300 can be formed as only a value smaller than the maximum margin. For example, when oscillating, the calculation of the margin isn't performed and the PID coefficient value is adjusted, and when slowly converging, since the gap dn value is formed as a value smaller than the maximum margin, it is possible to stabilize AGC by performing the calculation of the margin. When the degree of change of the peak of the compensated sensor signal converges within the predetermined range so that the peak values of the compensated signal are approximate to each other, it is possible to determine whether it is an AGC oscillation state or oscillation around the target value as follows.
When the gap dn between the peak of the compensated sensor signal and the target value maximum margin (MarginMAX), it is determined as an AGC oscillation state, and when the gap dn between the peak of the compensated sensor signal and the target value maximum margin (MarginMAX), it is determined as oscillation around the target value.
Further, the margin calculation unit 300 may set the margin from the gap between the peak of the compensated sensor signal and the target value which is within the preset maximum margin range. In an example, the margin calculation unit 300 may set the maximum gap among the gaps between the peak of the compensated sensor signal and the target value for a predetermined interval from when the gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value is within the preset maximum margin range, as the margin. For example, the predetermined interval from when the gap (dn) between the peak of the compensated sensor signal and the target value is within the preset maximum margin range may be obtained through a test etc, and a minimum value that can bring a stable margin may be applied. That is, the margin may be determined by the following formula. At this time, m is the predetermined interval.
Margin=MAX{dn,dn+1,dn+2, . . . ,dn+m}
Continuously, the margin calculation unit 300 will be specifically described with reference to
At this time, the gap difference calculation part 310 may calculate the difference (Diff) between the gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and the gap (dn−1) between the peak according to the previous gain value and the target value. For example, at this time, the gap (dn) between the peak of the compensated sensor signal and the target value may be calculated in the PID control process by the PID control unit 100. When the AGC operation starts, the gap (dn) between the peak of the compensated sensor signal and the target value is calculated through comparison between the peak value of the current compensated sensor signal and the target value, and the gap difference calculation part 310 calculates the variation of the gap (dn) value, that is, the difference (Diff) between the gap (dn−1) between the peak according to the previous gain value and the target value and the gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value.
Next, referring to
For example, first, the AGC operation execution determining part 330 determines which step of the AGC operation the current process is. That is, when the variation of the gap (dn−1) value according to the previous gain value and the gap (dn) value according to the current gain value, that is, the difference (Diff) is out of the predetermined range, the AGC operation execution determining part 330 determines as the step in which the AGC operation is continuously executed to prevent the margin calculation part 350 from performing the calculation of the margin. On the other hand, when the variation of the gap (dn−1) value according to the previous gain value and the gap (dn) value according to the current gain value, that is, the difference (Diff) is little or within the predetermined range, the AGC operation execution determining part 330 determines as the state in which the AGC operation continues but doesn't converge to the target and oscillates around the target to allow the margin calculation part 350 to perform the calculation of the margin. Continuously, when the variation of the gap (dn−1) value according to the previous gain value and the gap (dn) value according to the current gain value, that is, the difference (Diff) is little or within the predetermined range, the AGC operation execution determining part 330 compares the gap (dn) value between the compensated sensor signal and the target value with the preset maximum margin (MarginMAX) to determine whether oscillation occurs and determines whether the current result is a result by the oscillation.
In an example, the AGC operation execution determining part 330 may determine whether or not to execute the calculation of the margin when the gap difference (Diff) is within the predetermined range and the gap (dn) according to the current gain value is within the preset maximum margin range. At this time, when the gap difference (Diff) is out of the predetermined range or the gap (dn) according to the current gain value is out of the preset maximum margin range, the calculation of the margin isn't performed and the PID control is continuously performed by generating and changing the gain value by the PID control unit 100.
In another example, when the AGC operation execution determining part 330 determines whether the difference calculated by the gap difference calculation part 310 is within the predetermined range, the reference of the predetermined range may be the range in which the ratio of the gap difference (Diff) to the gap (dn) according to the current gain value is 5% but is not limited thereto.
Next, referring to
That is, in an example, the margin calculation part 350 may set the maximum margin among the gaps between the peaks of the compensated sensor signal and the target value for the predetermined interval from when the gap (dn) according to the current gain value is within the preset maximum margin range, as the margin. For example, the margin may be determined by the following formula. At this time, m is the predetermined interval and may be determined through a test etc. For example, a minimum value that can bring a stable margin may be applied.
Margin=MAX{dn,dn+1,dn+2, . . . dn+m}
Next, a sensor apparatus in accordance with a second embodiment of the present invention will be specifically described with reference to the drawings. At this time, the apparatus for automatic gain control of a sensor in accordance with the above-described first embodiment and
Referring to
At this time, the sensor mass 10 provides a vibration output according to movement or position of an object or external force. A sensor, which outputs a vibration output signal according to movement or position of an object or external force, may be, for example, a gyro sensor, an acceleration sensor, a vibration sensor, a gravity sensor, etc. In an example, the sensor mass 10 may be a sensor mass of a gyro sensor.
Next, referring to
Next, referring to
Further, referring to
Continuously, referring to
The digital control circuit 50 includes the PID control unit 100 and a margin calculation unit 300. At this time, the digital control circuit 50 performs an AGC operation according to a margin calculated by the margin calculation unit 300. Further, referring to
Specifically, the PID control unit 100 of the digital control circuit 50 performs the PID control by generating and changing the gain value for converging a peak value of the sensor signal output as a vibration output signal according to movement or position of an object or external force to a target value. At this time, the PID control unit 100 performs the PID control to output a gain value applied compensated sensor signal. The PID controlled output by the PID control unit 100 is fed back to the analog circuit 20 through the DAC 40 so that AGC through the PID feedback control is performed.
Continuously, referring to
Referring to
Further, referring to
Continuously, referring to
Again, referring to
Next, a method for automatic gain control of a sensor in accordance with a third embodiment of the present invention will be specifically described with reference to the drawings. At this time, the apparatus for automatic gain control of a sensor in accordance with the above-described first embodiment, the sensor apparatus in accordance with the above-described second embodiment, and
Referring to
First, in the PID control performing step (S100), PID control is performed by generating and changing a gain value to converge a peak value of a sensor signal output as a vibration output signal according to movement or position of an object or external force to a target value. At this time, a gain value applied compensated sensor signal is output while the PID control is performed. A sensor, which outputs a vibration output signal according to movement or position of an object or external force, may be, for example, a gyro sensor, an acceleration sensor, a vibration sensor, a gravity sensor, etc. In an example, a sensor signal output as a vibration output signal may be a gyro sensor signal.
Next, in the margin calculation step (S300), the degree of change of a previous gain value applied compensated sensor signal and a current gain value applied compensated sensor signal is determined. Further, in the margin calculation step (S300), according to the result of determination of the degree of change of the peak of the compensated sensor signal, a stabilization margin of the sensor signal which is applied to the PID control performing step is calculated. At this time, the margin means a range in which the compensated sensor signal through the PID control is stabilized.
For example, in the margin calculation step (S300), the calculation of the margin may be performed when a difference (Diff) between a gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value and a gap (dn−1) between the peak according to the previous gain value and the target value converges within a predetermined range so that the peak values are approximate. Further, in the margin calculation step (S300), the calculation of the margin may be performed when the degree of change of the peak of the compensated sensor signal converges within the predetermined range so that the peak values of the compensated sensor signals are approximate to each other and the gap (dn) between the peak of the current gain value applied compensated sensor signal and the target value is within a preset maximum margin (MarginMAX) range. Further, in the margin calculation step (S300), the margin may be set from the gap between the peak of the compensated sensor signal and the target value which is within the preset maximum margin range.
Specifically describing with reference to
First, referring to
Next, referring to
At this time, in accordance with an example, in the AGC operation execution determining step (S330), it is determined whether or not to execute the calculation of the margin when the gap difference (Diff) is within the predetermined range and the gap (dn) according to the current gain value is within the preset maximum margin range. On the other hand, the calculation of the margin is not executed when the gap difference (Diff) is out of the predetermined range or the gap (dn) according to the current gain value is output of the preset maximum margin range.
Next, referring to
According to an embodiment of the present invention, it is possible to perform an AGC operation by calculating a margin in each AGC system itself and applying a minimum adaptive margin value.
Further, it is possible to minimize an AGC error by calculating and applying a margin adaptive to characteristics of each sensor in itself.
Further, according to an embodiment of the present invention, it is possible to converge an AGC execution value to a target value as close as possible by always executing AGC with a minimum margin in the corresponding system as well as removing oscillation around a target which is a problem when executing AGC. Thus, it is possible to minimize an AGC error.
It is apparent that various effects which have not been directly mentioned according to the various embodiments of the present invention can be derived by those skilled in the art from various constructions according to the embodiments of the present invention.
The above-described embodiments and the accompanying drawings are provided as examples to help understanding of those skilled in the art, not limiting the scope of the present invention. Further, embodiments according to various combinations of the above-described components will be apparently implemented from the foregoing specific descriptions by those skilled in the art. Therefore, the various embodiments of the present invention may be embodied in different forms in a range without departing from the essential concept of the present invention, and the scope of the present invention should be interpreted from the invention defined in the claims. It is to be understood that the present invention includes various modifications, substitutions, and equivalents by those skilled in the art.
Number | Date | Country | Kind |
---|---|---|---|
10-2012-0134454 | Nov 2012 | KR | national |