Object detection apparatus and method
09921303 ยท 2018-03-20
Assignee
Inventors
Cpc classification
G01S7/529
PHYSICS
International classification
G01S15/00
PHYSICS
G01S7/529
PHYSICS
Abstract
Provided are an object detection apparatus and method. The object detection apparatus includes an amplifier configured to amplify a reflected ultrasonic wave signal with a variable gain, a gain controller configured to set the variable gain such that the reflected ultrasonic wave signal received in at least one predetermined time zone is amplified with a high gain, compared to in other time zones, a comparator configured to compare a signal on an envelope corresponding to the signal amplified by the amplifier with a predetermined threshold and output the signal on the envelope when the signal is greater than the threshold, a calculator configured to calculate an absolute value of a first-order differential value of the signal on the envelope, and a time at which a maximum of the absolute value of the first-order differential value is calculated, and a detector configured to detect an object using a third time, the third time being a time at which the maximum is calculated, before a second time, the second time being a time at which the signal greater than the threshold is output.
Claims
1. An object detection apparatus, comprising: an amplifier configured to amplify a reflected ultrasonic wave signal with a variable gain; a gain controller configured to set the variable gain such that the reflected ultrasonic wave signal received in at least one time zone is amplified with a higher gain, in comparison with other time zones; a comparator configured to compare a signal on an envelope corresponding to the signal amplified by the amplifier with a threshold and output the signal on the envelope, in response to the signal being greater than the threshold; a calculator configured to calculate an absolute value of a first-order differential value of the signal on the envelope, and a time at which a maximum of the absolute value of the first-order differential value is calculated; and a detector configured to detect an object using a third time, wherein the third time is a time at which the maximum is calculated, before a second time, and wherein the second time is a time at which the signal greater than the threshold is output, wherein the variable gain is a value on a gain curve formed by linearly interpolating a slope value of a gain, over each section of time, using a static gain, and wherein the static gain is an amplification gain of a reflected wave signal in the other time zones.
2. The object detection apparatus of claim 1, wherein the at least one time zone comprises a time zone in which there are reflected waves that are reflected from a target object intended to be sensed.
3. The object detection apparatus of claim 1, wherein the calculator comprises a subtractor configured to sequentially receive signals on the envelope and output a current differential signal, wherein the current differential signal is a result obtained by differentiating between a current input signal and a previous input signal, a first storage configured to store the previous input signal, a second storage configured to store a previous differential signal, the previous input signal being a result obtained by differentiating between the previous input signal and a signal before the previous input signal, a first comparator configured to, in response to the current differential signal being greater than the previous differential signal, output the current differential signal, a third storage configured to store a larger one of the previous differential signal and the current differential signal, and a fourth storage configured to store the third time, wherein the third time is a time at which the larger signal is stored, and wherein the third time is output in response to the comparator outputting the signal greater than the threshold.
4. The object detection apparatus of claim 3, further comprising a second comparator configured to, in response to the current differential signal having an offset, being added to the current differential signal, and being greater than the previous differential signal, reset the third time stored in the third storage.
5. The object detection apparatus of claim 1, wherein the gain controller is further configured to set a length of the section as a power of two.
6. The object detection apparatus of claim 1, wherein the gain controller is further configured to set the variable gain using a following equation:
7. The object detection apparatus of claim 1, wherein the gain controller comprises a counter configured to measure a current time and be reset, in response to the measured current time corresponding to a section length of a gain, a comparator configured to output a signal and reset the counter, in response to the current time being greater than the section length; a state machine configured to be state-transited upon recognizing the output of the comparator; multiplexers each configured to output the gain, which comprises a gain for a previous section of the current time and a gain for a next section of the current time corresponding to the output of the state machine, a subtractor configured to perform subtraction of the gain for the next section of the current time from the gain for the previous section of the current time output from the multiplexers; a shift register configured to perform a shift operation on an output of the subtractor, a multiplier configured to multiply the current time with an output of the shift register, a first summer configured to add the gain for the previous section and an output of the multiplexers, a second summer configured to add an output of the first summer and a previously calculated variable gain to calculate the variable gain to be used at the current time, and a storage configured to store the variable gain to be used at the current time such that the variable gain is used for subsequent operations of the second summer.
8. An object detection method, comprising: amplifying a reflected ultrasonic wave signal with a variable gain, wherein the reflected ultrasonic wave signal is amplified with a higher gain in at least one time zone in which there are reflected waves from an object intended to be sensed, compared to other time zones; comparing a signal on an envelope corresponding to the amplified reflected wave signal with a threshold; outputting the signal on the envelope, in response to the signal being greater than the threshold; calculating a maximum of an absolute value of a first-order differential value of the signal on the envelope; and detecting an object using a third time, wherein the third time is a time at which the maximum is calculated, before a second time, wherein the second time is a time at which the signal greater than the threshold is output, wherein the variable gain is a value on a gain curve formed by linearly interpolating a slope value of a gain, over each section of time, using a static gain, and wherein the static gain is an amplification gain of a reflected wave signal in the other time zones.
9. The object detection method of claim 8, wherein the variable gain is set using a following equation:
10. The object detection method of claim 8, wherein the calculating comprises sequentially receiving signals on the envelope and outputting a current differential signal, wherein the current differential signal is a result obtained by differentiating between a current input signal and a previous input signal, storing the previous input signal in a first storage, storing a previous differential signal in a second storage, the previous input signal being a result obtained by differentiating between the previous input signal and a signal before the previous input signal, in response to the current differential signal being greater than the previous differential signal, outputting the current differential signal, storing a larger one between the previous differential signal and the current differential signal in a third storage, storing the third time in a fourth storage, wherein the third time is a time at which the larger signal is stored, and outputting the third time, in response to the signal greater than the threshold being output.
11. The object detection method of claim 10, further comprising adding the current differential signal to an offset, and in response to the current differential signal with a offset added to the current differential signal being greater than the previous differential signal, resetting the third time stored in the third storage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION OF EMBODIMENTS
(14) Advantages and features of the present invention, and implementation methods thereof will be clarified through following embodiments described with reference to the accompanying drawings. The present invention may, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the present invention to those skilled in the art. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms a, an and the are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms comprises and/or comprising, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
(15) Before providing a detailed description of embodiments of the present invention, a static gain control method and a dynamic gain control method of the related art will be described with reference to
(16) In
(17) As described above, an object detection apparatus of the related art detects a position of an object using a time when the reflected wave signal is greater than the threshold. A case in which the object detection apparatus of the related art detects an attached object (that is, the position of the object is at 0 ms).
(18) As shown in point {circle around (a)} of
(19) However, since there is a distance offset between an actual position and a detected position of the object, the object detection apparatus of the related art compensates the distance offset (here, 2.55 cm) for the detected position of the object.
(20) On the contrary, as shown in point {circle around (b)} of
(21) However, since such a detection error varies depending on a gain curve used for the dynamic gain, it is difficult that a specific offset is compensated for the detection error. Furthermore, when the gain curve changes rapidly, the error value may further increase.
(22) In order to prevent such a problem, according to an embodiment of the present invention, an object is detected using a first-order differential value of an amplified signal and a threshold.
(23) The dynamic gain control of the amplifier in the related art is used to compensate for an image that is darkened in a medical ultrasound apparatus. Specifically, the dynamic gain control of the medical ultrasound apparatus is used to make image brightness levels of the entire area at the same level. Accordingly, the medical ultrasonic apparatus applies a monotone increasing function to the dynamic gain control and stores a gain varying with depth in a memory. Thus, the dynamic gain control of the related art requires high complexity and is difficult to apply to a system with a limited memory capacity.
(24) However, according to an embodiment of the present invention, the dynamic gain control may be configured as a comparatively simple structure and implemented in a single semiconductor chip, thereby having low complexity.
(25) An object detection apparatus according to an embodiment of the present invention will be described below with reference to
(26) As shown in
(27) The pulse generator 121 generates and provides any electric signal to the converter 122.
(28) The transducer 122 converts the electric signal provided by the pulse generator 121 into ultrasonic waves and then transmits the ultrasonic waves. Subsequently, the transducer 122 receives and converts reflected waves back into the electric signal.
(29) The amplifier 140 amplifies the electric signal obtained through the conversion by the transducer 122 with a variable gain, according to the control of the gain controller 130.
(30) The gain controller 130 controls the variable gain of the amplifier 140. Specifically, the gain controller 130 sets the variable gain to higher than a first value (e.g., G1 in
(31) Referring to
(32) In addition, the gain controller 130 may perform control such that the gain of the amplifier 140 is first value G1, which is a static gain, in the other zones. In this case, the gain controller 130 identifies pre-stored gain slope values of a plurality of sections and controls the variable gain of the amplifier 140 using a gain curve calculated by linearly interpolating the gain slope value for each section. This will be described later with reference to
(33) The AD converter 150 converts the electric signal (analog signal) amplified with a variable gain by the amplifier 140 into a digital signal.
(34) The filter 160 band-pass filters the digital signal obtained through the conversion by the A/D converter 150 to increase a signal-to-noise ratio.
(35) The envelope detector 170 calculates an envelope corresponding to the signal obtained through filtering by the filter 160.
(36) The comparator 180 receives a signal on the envelope and checks whether an amplitude of the received signal is greater than a threshold.
(37) The differential value calculator 110 calculates a first-order differential value of the signal on the envelope and outputs a time after a first time and before a second time (hereinafter referred to as a third time) at which a maximum of the first-order differential value is detected. Here, the first time is a transmission time of ultrasonic waves and the second time is a reception time of a signal on the envelope having an amplitude greater than the threshold.
(38) The object detector 190 calculates a distance to the object using the speed of the ultrasonic waves and the time required between the first time and the third time, which is expressed as Equation (1) below:
(39)
(40) Referring to
(41) According to an embodiment of the present invention, it is possible to overcome limitations of an existing object detection apparatus, such as interference caused by an object having a great reflected signal (e.g., a remote wall) and influence caused by the exhaust gas, and to increase robustness to the environment.
(42) Various signal forms of an object detection apparatus according to an embodiment of the present invention will be described below with reference to
(43) In
(44) As shown in
(45) However, viewing absolute values of first-order differential values of lines (i) and (j) of
(46) A calculator that calculates a time position at which a maximum of an absolute value of a first-order differential value according to an embodiment of the present invention will be described below with reference to
(47) As shown in
(48) The first register 111 receives an nth signal x[n] and outputs an (n1)th signal x[n1].
(49) The first summer 115_1 adds the nth signal x[n] and a negative value of the (n1)th signal x[n1]. That is, the first summer 115_1 outputs a differential signal x[n]x[n1] between the nth signal x[n] and the (n1)th signal x[n1].
(50) The second register 112 receives an nth differential signal and stores a maximum among differential signals that have been received. That is, the second register 112 stores the nth differential signal when the nth differential signal {Diff(x[n])=B} being a current differential signal is greater than a previously stored differential signal {max(Diff(x[n])=A}. Here, an initial value of the second register 112, that is, an initial value of max(Diff(x[n]) may be 0.
(51) The comparator 116 outputs TRUE when the nth differential signal {Diff(x[n])=B} is greater than the previously stored differential signal {max(Diff(x[n]))=A}; otherwise the first comparator 116 outputs FALSE. Here, TRUE may indicates a digital signal of 1 and FALSE may indicates a digital signal of 0.
(52) The third register 113 stores the previous differential signal, that is, the (n1)th differential signal Diff(x[n1]).
(53) The second summer 115_2 adds an offset to the nth differential signal. Here, the offset may be a calibration value. Specifically, the offset may be a value that is set, through a plurality of experiments, in consideration of a degree to which the value of the nth differential signal increases when the reflected waves from the object are affected by noise.
(54) The second comparator 117 outputs the (n1)th differential signal corrected by the offset, which is greater than the (n1)th differential signal. Thus, the third time stored in the fourth register 114 may be reset. That, as in time t4 of
(55) The counter 119 is driven to check a time (third time) at which the maximum of the absolute value of the first differential value is detected after the transmission time (first time) of the ultrasonic waves. That is, the counter 119 measures a current time.
(56) When the fourth register 114 receives TRUE from the first comparator 116 at a time when the absolute value of the first-order differential value is the maximum, the fourth register 114 is enabled to check the current time (third time) from the counter 119 and store the current time. Furthermore, the fourth register 114 outputs the third time when the switch 118 is short-circuited.
(57) When the output of the comparator 180 of
(58) On the contrary, when the nth differential signal is less than the previous differential signal by a predetermined offset or more, the fourth register 114 is reset.
(59) An example in which the differential value calculator 110 outputs the third time upon receiving the second time from the comparator 180 has been described. However, unlike this, the differential value calculator 110 may output the third time whenever the maximum of the absolute value of the first differential value is detected. In this case, it will be appreciated that the object detector 190 may check the object using the third time upon checking the second time. In this case, the differential value calculator 110 may not include the switch 118.
(60) According to an embodiment of the present invention, a maximum of the absolute value of the first-order differential value and the calculation time of the maximum may be checked by a comparatively simple structure including three storages, two adders, and two comparators. Accordingly, it may be possible to reduce implementation complexity and save implementation cost.
(61) As described above, it is preferable that an embodiment of the present invention is implemented in a single semiconductor chip, for example, a vehicle parking assist device. Thus, a variable gain control method applied to a medical ultrasound device that uses a large-scale memory is difficult to be used without modification. Furthermore, the variable gain according to an embodiment of the present invention may involve a rapid change in gain, thus further increasing distortion of the position of the object.
(62) In order to overcome this limitation, according to an embodiment of the present invention, it is possible to control the variable gain through a continuous gain curve by storing a slope value of a gain for each designated time and utilizing a value obtained by interpolating the stored slope value when the variable gain is applied.
(63) A gain controller according to an embodiment of the present invention will be described below with reference to
(64) As shown in
(65) The variable gain applied by the gain controller 130 of the present invention to the amplifier 140 at any time is expressed as Equation (2) below (Here, the statistic gain may be equal to G1 of
(66)
where the static gain is an amplification gain (G1 of
(67) As shown in
(68) The counter 132 measures a current time t and is reset whenever the current time becomes a section length (dt=t.sub.k+1t.sub.k or t.sub.k+2t.sub.k+1) of a predetermined gain.
(69) The comparator 133 outputs a signal when a current time calculated by the counter 132 is greater than the predetermined section length of the gain.
(70) The state machine 131 is state-transited upon recognizing an output of the comparator 133.
(71) The first and second multiplexers 134_1 and 134_2 outputs a predetermined gain including a gain for a previous section of the current time and a gain for a next section of the current time, corresponding to the output of the state machine 131.
(72) The upper summer 139 performs subtraction of gains of a plurality of multiplexers.
(73) The shift register 135 may perform a shift operation and then a division operation on an output of the summer.
(74) The multiplier 136 multiplies the current time with the output of the shift register.
(75) The left summer 137_1 adds a gain for a previous section to an output of the multiplier 136.
(76) The right summer 137_2 adds an output of the left summer 137_1 and a previously calculated variable gain to calculate a variable gain to be used at the current time.
(77) The storage 138 stores a variable gain to be used at the current time such that the stored variable gain is used for subsequent operations of the right summer 137_2.
(78) A variable gain setting process of the gain controller 130 will be described below in a section t.sub.kt<t.sub.k+1 and a section t.sub.k+1t<t.sub.k+2. t.sub.kt<t.sub.k+1; A case in which the counter value is equal or less than dt
(79) The comparator 133 resets the counter 132 and supplies a signal to the state machine 131 when the output of the counter 132 is greater than a predetermined section length dt of the gain (here, t.sub.k).
(80) The counter 132 is reset to be 0 at time t.sub.k, and the output indicates the current time. That is, the counter 132 outputs tt.sub.k.
(81) The state machine 131 outputs an initial output Mux=0 at time t.sub.k. Thus, the first multiplexer 134_1 outputs .sub.1, and the second multiplexer 134_2 outputs .sub.2.
(82) The upper summer 139 adds a negative value of the output .sub.1 of the first multiplexer 134_1 to the output .sub.2 of the second multiplexer 134_2.
(83) The shift register 135 receives .sub.2.sub.1 and perform a shift operation to output (.sub.2.sub.1)/2.sup.n. However, since (t.sub.k+1t.sub.k)=2.sup.n, the output of the shift register may be (.sub.1.sub.2)/(t.sub.k+1t.sub.k).
(84) The multiplier 136 receives (tt.sub.k) and (.sub.2.sub.1)/(t.sub.k+1t.sub.k) and outputs (.sub.2.sub.1)/(t.sub.k+1t.sub.k)}(tt.sub.k).
(85) The multiplier 137 receives (tt.sub.k) and (.sub.2.sub.1)/(t.sub.k+1t.sub.k) and outputs (.sub.2.sub.1)/(t.sub.k+1t.sub.k)}(tt.sub.k).
(86) The right summer 137_2 adds the current input to an existing output prestored in the storage 138, that is, performs integration. Accordingly, the output of the right summer 137_2 is a right term except the static gain of Equation (2).
(87) The storage 138 stores an output of the right summer 137_2 and allows the output to be used in subsequent operations.
(88) The left summer 137_1 and the right summer 137_2 output respective integration values of {(.sub.2.sub.1)/(t.sub.k+1t.sub.k)}(tt.sub.k)+.sub.1} and {(.sub.2.sub.1)/(t.sub.k+1t.sub.k)}(tt.sub.k)+.sub.1}, which vary with a change in an output of the counter 132 until the output of the counter 132 exceeds dt. t.sub.k+1t<t.sub.k+2; A case in which the counter value is greater than dt
(89) When the value of the counter 132 is greater than dt, the comparator 133 outputs a signal. In this case, the counter 132 is reset back to 0.
(90) Thus, the state machine 131 recognizes the signal of the comparator 133 as a clock and then is state-transited to output Mux=1. In this case, the first multiplexer 134_1 and the second multiplexer 134_2 output .sub.2 and .sub.3, respectively.
(91) However, since t.sub.k+2t.sub.k+1=t.sub.k1t.sub.k=dt, an operation for a next section of Equation (2) is performed.
(92) An example in which there are three gain sections will be described in
(93) As such, an embodiment of the present invention may be implemented using a shift register having a simple structure, instead of a divider having high complexity, by selecting a length of a section of a variable gain as one of powers of 2. Accordingly, it may be configured with a comparatively simple structure to reduce implementation cost and complexity.
(94) Furthermore, an embodiment of the present invention may reduce an occurrence frequency of distortion in a position of an object due to a change in a variable gain curve.
(95) According to an embodiment of the present invention, it is possible to improve existing limitations such as interference caused by an object having a great reflected signal (e.g., a remote wall) and influence caused by the exhaust gas and to increase robustness to the environment.
(96) A number of exemplary embodiments have been described above. Nevertheless, it will be understood that various modifications may be made. For example, suitable results may be achieved if the described techniques are performed in a different order and/or if components in a described system, architecture, device, or circuit are combined in a different manner and/or replaced or supplemented by other components or their equivalents. Accordingly, other implementations are within the scope of the following claims.