The present disclosure relates to a semiconductor device and an ultrasonic sensor.
Ultrasonic sensors having a piezoelectric element are used in various applications. In an ultrasonic sensor, a piezoelectric element is driven to send a transmission wave signal, and a reflected wave signal is received so as to detect distance to an object or to perform proximity detection (see, for example, Patent Document 1).
Hereinafter, an example of an embodiment of the present disclosure is specifically described with reference to the drawings. In each diagram to be referred to, the same part is denoted by the same numeral or symbol, and overlapping description of the same part is omitted as a rule. Note that in this specification, for simple description, a name of information, a signal, a physical quantity, an element, a part, or the like may be omitted or abbreviated by referring to a symbol or a code thereof. For instance, an adjustment control signal denoted by MV1_CNT described later (see
First, some technical terms used in description of the embodiment of the present disclosure are defined as follows. A line means a wiring for transmitting or applying an electric signal. A ground means a reference conductor having a potential of 0 V (zero volts) to be a reference, or the potential of 0 V itself. The reference conductor is made of a conductor such as a metal. The potential of 0 V may be referred to as a ground potential. In the embodiment of the present disclosure, a voltage without a specific reference means the potential with respect to the ground. A level means the potential level, and for any noted signal or voltage, a high level has the potential higher than that of low level. Any digital signal has a signal level of high level or low level. As for any noted signal or voltage, if the signal or the voltage is at high level, it exactly means that level of the signal or the voltage is high level, while if the signal or the voltage is at low level, it exactly means that level of the signal or the voltage is low level. A level of a signal may be referred to as a signal level, and a level of a voltage may be referred to as a voltage level.
As for any transistor constituted as a field-effect transistor (FET) including a MOSFET, an on state means a state where the transistor is conducting between drain and source, while an off state means a state where the transistor is nonconducting between drain and source (a cut off state). The same is true for other transistors that are not classified in FET. Unless otherwise noted, a MOSFET is understood to be an enhancement type MOSFET. MOSFET is an abbreviation of “metal-oxide-semiconductor field-effect transistor”.
Any switch can be constituted of one or more FETs (field-effect transistors). When a switch is on state, the switch is conducting between its terminals. When a switch is at off state, the switch is nonconducting between its terminals. Hereinafter, as for any transistor or switch, on state or off state may be simply referred to as on or off. Connection between any circuit elements, wirings (lines), nodes, or other parts constituting a circuit can be understood to mean electric connection unless otherwise noted.
The ultrasonic sensor 1 transmits an output wave signal W1 in an ultrasonic band to external space of the ultrasonic sensor 1 (in a direction separating from the ultrasonic sensor 1). The output wave signal W1 is reflected by the detection object OBJ, and a reflected wave signal W2 is generated. The reflected wave signal W2 is received by the ultrasonic sensor 1. The ultrasonic sensor 1 detects distance to the detection object OBJ based on the received signal of the reflected wave signal W2, and performs proximity detection of the detection object OBJ or the like. The ultrasonic band is a frequency band higher than that of sounds that human beings can hear, and is a frequency band that human beings cannot hear, which is usually a band above 20 kHz. For instance, the output wave signal W1 has frequencies in a range of 30 to 80 kHz. Each of the output wave signal W1 and the reflected wave signal W2 is the ultrasonic wave signal.
The piezoelectric element 20 has a first terminal and a second terminal. The piezoelectric element 20 generates a mechanical displacement (oscillation) of itself in response to a voltage signal applied between the first terminal and the second terminal, and the mechanical displacement of itself generates the output wave signal W1. Therefore, the piezoelectric element 20 works as a transmitter of the output wave signal W1. In addition, the piezoelectric element 20 has a characteristic of generating an electromotive force between the first terminal and the second terminal in response to a mechanical displacement (oscillation) applied to itself, and also works as a receiver of the reflected wave signal W2.
The semiconductor device 10 uses the piezoelectric element 20 so as to perform a transmission operation of the output wave signal W1 and a reception operation of the reflected wave signal W2. Hereinafter, a combination of the transmission operation of the output wave signal W1 and the reception operation of the reflected wave signal W2 may be referred to as a transmission and reception operation. The semiconductor device 10 includes a transmission circuit 11, a reception circuit 12 and a control circuit 13. The semiconductor device 10 is an electronic component including a semiconductor integrated circuit enclosed in a case (package) made of resin, and circuits constituting the semiconductor device 10 are integrated by semiconductor. The case of the electronic component as the semiconductor device 10 has a plurality of external terminals, which are exposed to outside of the semiconductor device 10 from the case.
The transmission circuit 11 uses the piezoelectric element 20 externally connected between the output terminals DRV1 and DRV2 so as to transmit the output wave signal W1. The reception circuit 12 uses the piezoelectric element 20 externally connected between the input terminals IN1 and IN2 so as to receive an input wave signal in the ultrasonic band. A main input wave signal to be received is the reflected wave signal W2 based on the output wave signal W1. In this way, in this embodiment, the piezoelectric element 20 is commonly connected externally between the output terminals DRV1 and DRV2 and between the input terminals IN1 and IN2, and hence the common piezoelectric element 20, as a transmitter and receiver, is shared by the transmission circuit 11 and the reception circuit 12.
However, as a variation, another piezoelectric element (not shown) different from the piezoelectric element 20 may be externally connected between the input terminals IN1 and IN2 (in this case, the another piezoelectric element is also a structural element of the ultrasonic sensor 1). Alternatively, it may be possible that, when the common piezoelectric element 20 is shared by the transmission circuit 11 and the reception circuit 12, the output terminal DRV1 and the input terminal IN1 are realized by one first input and output terminal, while the output terminal DRV2 and the input terminal IN2 are realized by one second input and output terminal, and the first and second input and output terminals are connected to both the transmission circuit 11 and the reception circuit 12 in parallel (in this case, the capacitors 31 and 32 may be inserted between the reception circuit 12 and the first input and output terminal, and between the reception circuit 12 and the second input and output terminal, respectively). The reception circuit 12 uses the piezoelectric element 20 or the another piezoelectric element described above so as to receive the input wave signal in the ultrasonic band, and performs predetermined reception signal processing on the received signal.
The control circuit 13 controls the transmission circuit 11 and the reception circuit 12. The control circuit 13 controls the transmission circuit 11 to transmit the output wave signal W1 from the piezoelectric element 20. In addition, the control circuit 13 detects distance to the detection object OBJ and performs proximity detection of the detection object OBJ or the like, on the basis of the received signal of the reception circuit 12 (the input wave signal received by the reception circuit 12).
The control circuit 13 is connected to the host block 2 illustrated in
The driving circuit 111 includes four switching elements (switches), i.e. transistors M1H, M1L, M2H and M2L. The transistors M1H and M2H are P-channel type MOSFETs, and the transistors M1L and M2L are N-channel type MOSFETs. The transistors M1H and M1L are connected in series so as to constitute a first half-bridge circuit (first series circuit), while the transistors M2H and M2L are connected in series so as to constitute a second half-bridge circuit (second series circuit). The first and second half-bridge circuits constitute a full-bridge circuit (H-bridge circuit). Sources of the transistors M1H and M2H are connected to a line LN2. The line LN2 is applied with a drive power supply voltage VDRV having a predetermined positive DC voltage value. Drains of the transistors M1H and M1L are commonly connected to a line LN10, and are connected to the output terminal DRV1 via the line LN10. Drains of the transistors M2H and M2L are commonly connected a line LN20, and are connected to the output terminal DRV2 via the line LN20. Sources of the transistors M1L and M2L are connected to a line LN1. The line LN1 is applied with the ground potential. As described above, the output terminal DRV1 and the input terminal IN1 are connected to the first terminal of the piezoelectric element 20 outside the semiconductor device 10, while the output terminal DRV2 and the input terminal IN2 are connected to the second terminal of the piezoelectric element 20 outside the semiconductor device 10 (though the input terminals IN1 and IN2 are connected to the first terminal and the second terminal of the piezoelectric element 20 via the capacitors 31 and 32). In addition, a voltage or signal at the output terminal DRV1 is denoted by V1, and a voltage or signal at the output terminal DRV2 is denoted by V2. Note that the transistors M1H and M2H can be constituted of an N-channel type MOSFET as a variation (in this case, a circuit is added, which generates a voltage higher than the drive power supply voltage VDRV)
The gate driver 112 works using a positive side power supply voltage that is the drive power supply voltage VDRV applied to the line LN2 and a negative side power supply voltage that is the ground voltage (0 V) applied to the line LN1. The gate driver 112 controls gate potentials of the transistors M1H, M1L, M2H and M2L according to a control signal CNT1 supplied from the control circuit 130, so as to individually control on/off states of the transistors M1H, M1L, M2H and M2L. By controlling the gate potentials of the transistors M1H, M1L, M2H and M2L, the driving circuit 111 can be set to one of the states 611 to 614 of
The state 611 is a first application state. In the first application state, the transistors M1H and M2L are on state, and the transistors M2H and M1L are off state. The state 612 is a second application state. In the second application state, the transistors M1L and M2H are on state, and the transistors M1H and M2L are off state. The state 613 is all off state. In the all off state, the transistors M1H, M1L, M2H and M2L are all off state. The state 614 is a brake state. In the brake state, the transistors M1L and M2L are on state, and the transistors M1H and M2H are off state.
The reception circuit 120 is connected to the input terminals IN1 and IN2, and receives a voltage signal applied between the input terminals IN1 and IN2. Therefore, when the piezoelectric element 20 receives the reflected wave signal W2, the voltage signal generated between the first terminal and the second terminal of the piezoelectric element 20 based on the reflected wave signal W2 is input to the reception circuit 120 via the input terminals IN1 and IN2. The reception circuit 120 performs a predetermined reception signal processing on the voltage signal between the input terminals IN1 and IN2, so as to generate a detection signal based on the voltage signal between the input terminals IN1 and IN2. The reception signal processing includes a DC removing process in which a DC component is removed from the voltage signal between the input terminals IN1 and IN2, an amplification process in which the voltage signal after the DC removing process is amplified, and an envelope detection process in which an envelope of the voltage signal after the amplification process (hereinafter, referred to as an amplified voltage signal) is detected. However, if the capacitors 31 and 32 are disposed between the piezoelectric element 20 and the input terminals IN1 and IN2, respectively, as illustrated in
The control circuit 130 performs the distance detection process and the proximity detection process described above based on the detection signal generated by the reception circuit 120, and further integrally controls operations of individual sections in the semiconductor device 10. In this control, the control circuit 130 generates and outputs control signals CNT1 to CNT4 and CNTADJ, and further generates and outputs adjustment control signals MV1_CNT and MV2_CNT. In addition, the control circuit 130 includes a storage circuit 131. The storage circuit 131 includes a nonvolatile memory and a volatile memory. The nonvolatile memory in the storage circuit 131 includes a memory (One Time Programmable ROM) that can be written with data only once or a memory that can be rewritten with data. The volatile memory in the storage circuit 131 includes a register.
The damping circuit 140 includes a resistance component 141, an induction component 142, and a bias supply circuit 143. The resistance component 141 and the induction component 142 are elements that are used for reducing reverberation of the piezoelectric element 20, and work as loads of the piezoelectric element 20. Therefore, in the following description, the resistance component 141 and the induction component 142 are referred to as the resistance load 141 and the inductive load 142, respectively. The resistance load 141 and the inductive load 142 are connected in parallel, and the parallel circuit of the resistance load 141 and the inductive load 142 is connected between lines LN12 and LN22. The bias supply circuit 143 supplies a predetermined DC bias voltage (for example, 2 V) to the line LN22. The resistance load 141 is arranged to have a variable resistance value, and the inductive load 142 is arranged to have a variable inductance value. In accordance with the control signal CNTADJ from the control circuit 130, the resistance value of the resistance load 141 and the inductance value of the inductive load 142 are set in a variable manner.
The switch circuit 150 includes switches 151 and 152. The switch circuit 160 includes switches 161 and 162. Each switch in the switch circuits 150 and 160 can be constituted of one or more MOSFETs. Each switch in the switch circuits 150 and 160 may be a bus switch that can transmit an analog signal. The first terminal of the switch 151 is connected to the line LN10, and the second terminal of the switch 151 is connected to a line LN11. The first terminal of the switch 152 is connected to the line LN20, and the second terminal of the switch 152 is connected to the line LN21. The first terminal of the switch 161 is connected to the line LN11, and the second terminal of the switch 161 is connected to the line LN12. The first terminal of the switch 162 is connected to the line LN21, and the second terminal of the switch 162 is connected to the line LN22.
The switches 151 and 152 are controlled on or off based on a control signal CNT2 supplied from the control circuit 130. The switches 161 and 162 are controlled on or off based on a control signal CNT3 supplied from the control circuit 130. The control signals CNT2 and CNT3, and the control signal CNT4 are each a binary signal having a value 0 or 1. When the control signal CNT2 has the value 1, both the switches 151 and 152 are on state. When the control signal CNT2 has the value 0, both the switches 151 and 152 are off state. When the control signal CNT3 has the value 1, both the switches 161 and 162 are on state. When the control signal CNT3 has the value 0, both the switches 161 and 162 are off state.
The adjustment driving circuit 170 includes output buffers 171 and 172. Each of the output buffers 171 and 172 is a three-state buffer having an input terminal, an output terminal, and a control terminal. The control signal CNT4 from the control circuit 130 is input to the control terminal of each of the buffers 171 and 172. The adjustment control signal MV1_CNT is input to the input terminal of the output buffer 171, and the adjustment control signal MV2_CNT is input to the input terminal of the output buffer 172. The output terminal of the output buffer 171 is connected to the line LN11, and the output terminal of the output buffer 172 is connected to the line LN21. The output buffers 171 and 172 operate based on an internal power supply voltage VDD. Each of the adjustment control signals MV1_CNT and MV2_CNT is a digital signal having a signal level of high level or low level. A voltage or signal at the output terminal of the output buffer 171 is denoted by MV1, and a voltage or signal at the output terminal of the output buffer 172 is denoted by MV2.
On the basis of a power supply voltage VCC supplied from a not-shown external power supply device to the semiconductor device 10, the internal power supply circuit 180 generates a plurality of power supply voltages including the drive power supply voltage VDRV and the internal power supply voltage VDD. Each circuit in the semiconductor device 10 works based on any of the power supply voltages generated by the internal power supply circuit 180. For instance, the control circuit 130, the damping circuit 140, and the adjustment driving circuit 170 may work based on the internal power supply voltage VDD. Here, the drive power supply voltage VDRV and the internal power supply voltage VDD each has a positive DC voltage value, and the internal power supply voltage VDD is lower than the drive power supply voltage VDRV. For instance, the drive power supply voltage VDRV is 36 V or 72 V, while the internal power supply voltage VDD is 3 V or 5 V.
The first terminal of the fixed resistor 142c is commonly connected the line LN12 and a noninverting input terminal of the operational amplifier 142a. The second terminal of the resister 142c is commonly connected to the first terminal of the variable resistor 142d and an output terminal of the operational amplifier 142b. The second terminal of the variable resistor 142d is commonly connected to inverting input terminals of the operational amplifiers 142a and 142b and the first terminal of the fixed resistor 142e. The second terminal of the fixed resistor 142e is commonly connected to the output terminal of the operational amplifier 142a and the first terminal of the capacitor 142f. The second terminal of the capacitor 142f is commonly connected to the first terminal of the variable resistor 142g and a noninverting input terminal of the operational amplifier 142b. The second terminal of the variable resistor 142g is connected to the line LN22. A power supply voltage of the operational amplifiers 142a and 142b is determined so that the GIC circuit works as an inductive load for the piezoelectric element 20, during the period while the switches 151, 152, 161, and 162 are on state.
In addition, as illustrated in
Under control by the control circuit 130, during the transmission period, the state of the driving circuit 111 is changed alternately and periodically between the first application state and the second application state. As a result, during the transmission period, each of the voltages V1 and V2 becomes a rectangular wave signal having alternating low and high levels, and phases of the voltages V1 and V2 are different from each other by 180 degrees. During the transmission period, the voltage difference between low level and high level of the voltage V1 is equal to the magnitude of the drive power supply voltage VDRV. The same is true for the voltage V2. The main drive signal corresponds to the voltage signal applied between the output terminals DRV1 and DRV2 during the transmission period, and here, it is the voltage signal having the potential of the output terminal DRV1 viewed from the potential of the output terminal DRV2. Therefore, during the transmission period, the main drive signal is a rectangular wave signal having amplitude twice the amplitude of the voltage V1. During the transmission period, the voltages V1 and V2 and the main drive signal have the same frequency f as a matter of course.
When the supply of the main drive signal to the piezoelectric element 20 is stopped after it is supplied, the piezoelectric element 20 continues to oscillate for a while based on kinetic energy accumulated in itself during the transmission period. The oscillation of the piezoelectric element 20 after stopping the supply of the main drive signal is called reverberation. The period of time while the reverberation continues is called a reverberation time. If the reverberation time is long, it is difficult to detect an object at close range. After stopping the supply of the main drive signal to the piezoelectric element 20, a signal having a phase opposite to that of the main drive signal is supplied to the piezoelectric element 20, thereby the reverberation time can be reduced. In this embodiment, after stopping the supply of the main drive signal to the piezoelectric element 20, a signal having a phase different from that of the main drive signal is supplied from the driving circuit 111 to the piezoelectric element 20, as a main damping signal (a first damping signal), and thus the reverberation time is reduced. The period while the main damping signal is supplied to the piezoelectric element 20 is called a first damping period.
The main damping signal may be also referred to as a damping pulse signal. The damping pulse signal is effective for reducing the reverberation at a range where the reverberation has high amplitude (amplitude of the piezoelectric element 20 due to the reverberation), but when the amplitude of the reverberation is getting lowered, the damping pulse signal itself may cause a new reverberation. On the other hand, also by connecting a resistance load or an inductive load to the piezoelectric element 20 after stopping the supply of the main drive signal, the reverberation can be reduced due to absorption of the kinetic energy of the piezoelectric element 20. Here, the resistance load or the inductive load can have a higher effect of reducing the reverberation, when the reverberation has smaller amplitude, while the effect of reducing the reverberation becomes lower when the reverberation has lager amplitude due to restriction of a circuit voltage or the like. The inventors have obtained this knowledge.
On the basis of this knowledge, the inventors have developed the reverberation reduction operation as described below. The reverberation reduction operation is performed by the control circuit 130 using the driving circuit 111 and the damping circuit 140, after stopping the supply of the main drive signal to the piezoelectric element 20. In short, in the reverberation reduction operation, after stopping the supply of the main drive signal to the piezoelectric element 20, the main damping signal is supplied from the driving circuit 111 to the piezoelectric element 20, and after stopping the supply of the main damping signal, the damping circuit 140 is connected to the piezoelectric element 20. This reverberation reduction operation can quickly reduce the reverberation (i.e., the reverberation time can be reduced).
During the period between time points tA1 and tA2 is a transmission period PA1 during which the main drive signal is supplied from the driving circuit 111 to the piezoelectric element 20. The transmission period PA1 has a length corresponding to the product of the reciprocal of the frequency f of the main drive signal and the number of transmission waves. The number of transmission waves during the transmission period PA1 is equal to a periodic number of the main drive signal during the transmission period PA1. The number of transmission waves during the transmission period PA1 has a predetermined number (that is 2 or more, or 10 for example), which is set based on data in a predetermined register of the storage circuit 131. Here, it is supposed that when the driving circuit 111 is changed from the brake state to the first application state at time point tA1, the transmission period PA1 starts. After that, when the driving circuit 111 is changed from the second application state to the brake state at time point tA2, the transmission period PA1 ends (see
The period between time points tA2 and tA3 is a first brake period PA2. During the first brake period PA2, the driving circuit 111 is maintained in the brake state. The first brake period PA2 has a length that is shorter than the reciprocal of the frequency f (i.e., one period length of the main drive signal), and is equal or close to a half the reciprocal of the frequency f.
The period between time points tA3 and tA4 is a first damping period PA3 during which the main damping signal is supplied from the driving circuit 111 to the piezoelectric element 20. The first damping period PA3 has a length corresponding to the product of the reciprocal of the frequency f of the main damping signal and the number of damping waves. The number of damping waves during the first damping period PA3 is equal to the periodic number of the main damping signal during the first damping period PA3.
The number of damping waves during the first damping period PA3 may be constant regardless of the number of transmission waves. The first damping period PA3 may have a fixed length that is determined based on data stored in the nonvolatile memory in the storage circuit 131. When the driving circuit 111 is changed from the brake state to the first application state at time point tA3, the first damping period PA3 starts. After that, when the driving circuit 111 is changed from the second application state to the brake state at time point tA4, the first damping period PA3 ends (see
The period between time points tA4 and tA5 is a second brake period PA4. During the second brake period PA4, the driving circuit 111 is maintained in the brake state. The second brake period PA4 may have a predetermined length depending on the frequency f. It is preferred that the length of the second brake period PA4 is shorter than the reciprocal of the frequency f (i.e., one period length of the main drive signal). Note that it may be possible to eliminate the second brake period PA4 as a variation, and in this case, it is understood that the time point tA4 and the time point tA5 are the same time point.
The period between time points tA5 and tA7 is a second damping period PA5 during which the damping circuit 140 is connected to the piezoelectric element 20. In the second damping period PA5, the driving circuit 111 is maintained in the all off state. In
The control circuit 130 changes values of the control signals CNT2 and CNT3 from 1 to 0 at time point tA7, so as to separate the damping circuit 140 from the piezoelectric element 20 (to disconnect between the damping circuit 140 and the piezoelectric element 20). In addition, after time point tA7, the control circuit 130 sets the state of the driving circuit 111 to a defined state (corresponding to dotted areas in
The voltage value VEV of the envelope signal is getting lowered from time point tA4. Then, after time point tA5, the voltage value VEV is changed from higher than a predetermined threshold value VTH_A to lower than the predetermined threshold value VTH_A at time point tA6. The time period between time points tA5 and tA6 is specially referred to as ringing time TR_A. The control circuit 130 includes a comparator (not shown) that compares the voltage value VEV with the predetermined threshold value VTH_A, and detects the ringing time TR_A based on a comparison result by the comparator. On the basis of the detection result of the ringing time TR_A, the control circuit 130 determines the time point to separate the damping circuit 140 from the piezoelectric element 20, i.e., time point tA7 For instance, the control circuit 130 sets time point tA7, which is a time point when the product of the ringing time TR_A and a predetermined coefficient (for example, 0.25) has elapsed from time point tA6. It may be possible to set time point tA7, which is a time point when a predetermined time Δt, which does not depend on the ringing time TR_A, has elapsed from time point tA6.
At time point tA7 or just after time point tA7, the reverberation is sufficiently reduced. On the basis of the voltage signal between the input terminals IN1 and IN2 during a reception period set after time point tA7, the reception circuit 120 generates the detection signal (hereinafter, referred to as the detection signal during the reception period). On the basis of the detection signal during the reception period, the control circuit 130 can perform the distance detection process and the proximity detection process described above.
With reference to
In order to effectively reduce the reverberation, it is necessary to appropriately set the phase φ of the main damping signal corresponding to the damping pulse. However, the appropriate phase φ changes variously depending on individual variation of the piezoelectric element 20, ambient temperature of the ultrasonic sensor 1, or the like. Similarly, in order to effectively reduce the reverberation, the resistance value of the resistance load 141 and the inductance value of the inductive load 142 should be set appropriately. Considering these, before the normal detection operation, the semiconductor device 10 performs an adjustment operation for appropriately set the phase φ of the main damping signal, the resistance value of the resistance load 141, and the inductance value of the inductive load 142.
[Adjustment Operation]
The adjustment operation is described. The adjustment operation can be referred to as a calibration operation. The adjustment operation includes an adjustment operation for resistance load, an adjustment operation for inductive load, and an adjustment operation for phase. In the adjustment operation for resistance load, the set resistance value RSET is obtained, which is the resistance value of the resistance load 141 suitable for reducing (ideally, minimizing) the ringing time TR_A in the normal detection operation. In the adjustment operation for inductive load, the set inductance value LSET is obtained, which is the inductance value of the inductive load 142 suitable for reducing (ideally, minimizing) the ringing time TR_A in the normal detection operation. In the adjustment operation for phase, the set phase (p SET is obtained, which is the phase φ suitable for reducing (ideally, minimizing) the ringing time TR_A in the normal detection operation.
Each of the adjustment operation for resistance load, the adjustment operation for inductive load, and the adjustment operation for phase includes a plurality of times of the adjustment unit operation. In the adjustment operation for resistance load, the adjustment unit operation of measuring a reverberation state, when driving the piezoelectric element 20 like the detection unit operation, is performed a plurality of times while switching the resistance value of the resistance load 141 at a plurality of steps, and the resistance value of the resistance load 141 that is expected to minimize the reverberation time is obtained as the set resistance value RSET. The same is true for the adjustment operation for inductive load and the adjustment operation for phase. However, if the drive signal having a large amplitude due to the drive power supply voltage VDRV is used for performing the adjustment operation, signal components of peripheral reflected waves may be mixed with the reverberation signal component, so that the adjustment cannot be performed correctly (i.e., it becomes hard to obtain the optimal set resistance value RSET or the like). Considering this, in the adjustment operation, the adjustment driving circuit 170 that is a small amplitude driver is used to drive the piezoelectric element 20, and the reverberation state in this case is used for obtaining the set resistance value RSET or the like.
The period between time points tB1 and tB2 is an adjustment transmission period PB1 during which the adjustment drive signal is supplied from the adjustment driving circuit 170 to the piezoelectric element 20. In
In addition, the adjustment transmission period PB1 has the same length as the transmission period PA1, and hence the periodic number (the number of waves) of the adjustment drive signal during the adjustment transmission period PB1 is the same as the periodic number (the number of waves) of the main drive signal during the transmission period PA1. Here, it is supposed that the voltages MV1 and MV2 are both low level before time point tB1, and that the adjustment transmission period PB1 starts when the voltage MV1 is changed from low level to high level at time point tB1. After that, the adjustment transmission period PB1 ends when the voltage MV2 is changed from high level to low level at time point tB2.
The period between time points tB2 and tB3 is a first adjustment brake period PB2. During the first adjustment brake period PB2, the voltages MV1 and MV2 are both maintained at low level. The first adjustment brake period PB2 has a length that is shorter than the reciprocal of the frequency f (i.e., one period length of the adjustment drive signal), and is equal or close to a half the reciprocal of the frequency f.
The period between time points tB3 and tB4 is a first adjustment damping period PB3 during which an adjustment damping signal (a second damping signal) is supplied from the adjustment driving circuit 170 to the piezoelectric element 20. In
In addition, the first adjustment damping period PB3 has the same length as the first damping period PA3 (see
The period between time points tB4 and tB5 is a second adjustment brake period PB4. During the second adjustment brake period PB4, the voltages MV1 and MV2 are both maintained at low level. The second adjustment brake period PB4 has the same length as the second brake period PA4 (see
The period between time points tB5 and tB7 is a second adjustment damping period PB5 during which the damping circuit 140 is connected to the piezoelectric element 20. In the second adjustment damping period PB5, the adjustment driving circuit 170 becomes high impedance state. In
In the adjustment unit operation, the voltage value VEV of the envelope signal is being lowered at time point tB4 and after. Then, after time point tB5, the voltage value VEV is changed from higher than a predetermined threshold value VTH_B to lower than the predetermined threshold value VTH_B at time point tB6. The time period between time points tB5 and tB6 is specially referred to as ringing time TR_B. The control circuit 130 includes a comparator (not shown) that compares the voltage value VEV with the predetermined threshold value VTH_B, and detects the ringing time TR_B based on a comparison result by the comparator. In the adjustment unit operation, the control circuit 130 may determine any time point after detecting the ringing time TR_B as the time point tB7.
The predetermined threshold value VTH_B is determined based on a value stored in the nonvolatile memory of the storage circuit 131. In contrast, the predetermined threshold value VTH_A (see
Hereinafter, with reference to a plurality of examples, some specific operational examples, application techniques, variation techniques, and the like related to the ultrasonic sensor 1 are described. The above description of this embodiment can be applied to the following examples unless otherwise noted and as long as no contradiction arises. In each example, if there is a contradiction with the above description, description in each example may be prioritized. Further, as long as no contradiction arises, description in any example among the plurality of examples below can be applied to any other example (i.e., any two or more examples among the plurality of examples can be combined).
A first example is described.
As illustrated in
The search range RRNG is a variable range of the resistance value R from a minimum value RMIN to a maximum value RMAX (RMIN<RMAX). When the search range RRNG is divided into NR−1 (for example, divided equally), the first to NR-th candidate resistance values are set in the search range RRNG. It is supposed that the first candidate resistance value is the minimum value R MIN while the NR-th candidate resistance value is the maximum value RMAX, and that the (j+1)th candidate resistance value is larger than the j-th candidate resistance value for any integer j. The resistance value R of the resistance load 141 can be any one of the first to NR-th candidate resistance values. Therefore, the initial resistance value R INT and the set resistance value RSET (see
The search range LRNG is a variable range of the inductance value L from the minimum value L MIN to the maximum value LMAX (LMIN<LMAX). When the search range LRNG is divided into NL−1 (for example, divided equally), the first to NL-th candidate inductance values are set in the search range LRNG. It is supposed that the first candidate inductance value is the minimum value L MIN while the NL-th candidate inductance value is the maximum value LMAX, and that the (j+1)th candidate inductance value is larger than the j-th candidate inductance value for any integer j. The inductance value L of the inductive load 142 can be any one of the first to NL-th candidate inductance values. Therefore, the initial inductance value LINT and the set inductance value Ls ET (see
The search range φRNG is a variable range of the phase φ from a minimum phase (Nix to a maximum phase φMAX φMIN<φMAX). When the search range φRNG is divided into Nφ−1 (for example, divided equally), the first to Nφ-th candidate phases are set in the search range φRNG. It is supposed that the first candidate phase is the minimum phase φMIN while the Nφ-th candidate phase is the maximum phase φMAX, and that the (j+1)th candidate phase has a larger value than the j-th candidate phase for any integer j. The phase φ of the main damping signal and the adjustment damping signal can be any one of the first to Nφ-th candidate phases. Therefore, the initial phase φINT and the set phase φSET (see
Note that the search ranges RRNG, LRNG, and φRNG are determined based on content stored in the storage circuit 131. NR, NL, and Nip described above each have a predetermined integer that is 2 or larger (for example, a few tens). The values of NR, NL, and Nφ may be or may not be the same. In addition, as for the resistance value R, a change between the j-th candidate resistance value and the (j+n)th candidate resistance value is referred to as shifting by n steps (j is a natural number). The same is true for the inductance value L and the phase φ. Here, n is an arbitrary integer of 1 or more.
[Adjustment Operation for Resistance Load]
In Step S22 after Step S21, the control circuit 130 performs the first adjustment unit operation, and obtains the ringing time TR_B measured in the first adjustment unit operation, as a ringing time TR_B[1]. After that, in Step S23, the control circuit 130 sets direction of change. In this case, if FLG=0 holds (see
After Step S23, the control circuit 130 substitutes 1 into the variable i in Step S24, and the process proceeds to Step S25. In Step S25, the control circuit 130 shifts a resistance value R[i] in the set direction of change by n steps so as to determine a resistance value R[i+1], and sets the resistance value R[i+1] to the resistance value R of the resistance load 141. After Step S25, the control circuit 130 adds 1 to the variable i in Step S26. After that, in Step S27, the control circuit 130 performs the i-th adjustment unit operation, and obtains the ringing time TR_B measured in the i-th adjustment unit operation, as a ringing time TR_B[i]. Next, in Step S28, the control circuit 130 determines whether or not the inequality TR_B[i]<TR_B[i−1] is satisfied. In other words, it determines whether or not the ringing time TR_B[i] of this time is smaller than the ringing time TR_B[i−1] of the last time. If the inequality TR_B[i]<TR_B[i−1] is satisfied in Step S28, the process proceeds to Step S29, and otherwise the process proceeds to Step S31.
In Step S29, the control circuit 130 determines whether or not any one of termination conditions is satisfied. The termination conditions include first to third termination conditions, which will be described later. If any one of termination conditions is satisfied in Step S29, the process proceeds to Step S30. If no termination condition is satisfied, the process returns to Step S25, and the processes in Step S25 and after are repeated. In Step S31, the control circuit 130 inverts the direction of change set in Step S23. When reaching Step S31, the direction of change of the resistance value R after that is the inverted direction of change. In Step S32 after Step S31, the control circuit 130 determines whether or not i=2 is satisfied. If i=2 is satisfied, the process proceeds from Step S32 to Step S34. If i=2 is not satisfied, the process proceeds from Step S32 to Step S33. In Step S33, the control circuit 130 determines whether or not any one of termination conditions is satisfied. In Step S33, if any one of termination conditions is satisfied, the process proceeds to Step S30. If no termination condition is satisfied, the process proceeds to Step S34. In Step S34, the control circuit 130 shifts the resistance value R[i] in the set direction of change (in the inverted direction of change) by 2×n steps so as to determine the resistance value R[i+1], and sets the resistance value R[i+1] to the resistance value R of the resistance load 141. After Step S34, the process returns to Step S26.
In Step S30, the control circuit 130 determines (substitutes) the resistance value R[i−1] or R[i] as (into) the set resistance value RSET according to the termination condition satisfied in Step S29 or S33, and stores the set data 131b_R indicating the set resistance value RSET in the storage circuit 131, and stores the direction data 131d_R corresponding to the resistance value R in the storage circuit 131. When reaching Step S30 without passing through Step S31, the direction data 131d_R to be stored indicates the positive direction. When reaching Step S30 via Step S31, the direction data 131d_R to be stored indicates the negative direction. When finishing the process in Step S30, the adjustment operation for resistance load is finished, and after that, in the normal detection operation, the control circuit 130 controls the damping circuit 140 in such a manner that the resistance value R of the resistance load 141 has the set resistance value RSET in the set data 131b_R.
With reference to some patterns as examples, technical meanings of the adjustment operation for resistance load are described. When using the resistance load 141 for reducing the reverberation, the reverberation time including the ringing time varies depending on the resistance value R of the resistance load 141. As illustrated in
In a first pattern illustrated in
In a second pattern illustrated in
With reference to
With reference to
With reference to
In this way, in the adjustment operation for resistance load, the control circuit 130 performs the adjustment unit operation a plurality of times while switching the resistance value R of the resistance load 141 by a plurality of steps, so as to obtain a plurality of the ringing times TR_B, and specifies the minimum ringing time TR_B among the plurality of the obtained ringing times TR_B. Then, the control circuit 130 can determine the candidate resistance value corresponding to the minimum ringing time TR_B as the set resistance value RSET, among the first to NR-th candidate resistance values (see
In the adjustment operation for resistance load, the adjustment target is the resistance value R of the resistance load 141, and the set resistance value RSET for the resistance load 141 is determined in the adjustment operation for resistance load. After that, in the normal detection operation, the resistance value R of the resistance load 141 is the set resistance value RSET. In contrast, in the adjustment operation for inductive load, the adjustment target is the inductance L of the inductive load 142, and the set inductance value LSET for the inductive load 142 is determined in the adjustment operation for inductive load. After that, in the normal detection operation, the inductance value L of the inductive load 142 is the set inductance value LSET. Similarly, in the adjustment operation for phase, the adjustment target is the phase φ (that is the phase of the main damping signal and is also the phase of the adjustment damping signal), and the set phase φSET for the phase φ is determined in the adjustment operation for phase. After that, in the normal detection operation, the phase φ of the main damping signal is the set phase φSET. In this way, the adjustment operation for inductive load and the adjustment operation for phase are different from the adjustment operation for resistance load only in the adjustment target. Except for this difference, each of the adjustment operation for inductive load and the adjustment operation for phase is basically the same as the adjustment operation for resistance load. However, there are some other differences, and hence in the following description, flows of the adjustment operation for inductive load and the adjustment operation for phase are further described.
[Adjustment Operation for Inductive Load]
In Step S42 after Step S41, the control circuit 130 performs the first adjustment unit operation, and obtains the ringing time TR_B measured in the first adjustment unit operation, as the ringing time TR_B[1]. After that, in Step S43 the control circuit 130 sets the direction of change. In this case, if FLG=0 (see
After Step S43, the control circuit 130 substitutes 1 into the variable i in Step S44, and the process proceeds to Step S45. In Step S45, the control circuit 130 shifts an inductance value L[i] in the set direction of change by n steps so as to determine an inductance value L[i+1], and sets the inductance value L[i+1] to the inductance value L of the inductive load 142. In the Step S46 after Step S45, the control circuit 130 adds 1 to the variable i. After that, in Step S47, the control circuit 130 performs the i-th adjustment unit operation, and obtains the ringing time TR_B measured in the i-th adjustment unit operation as the ringing time TR_B[i]. After that, in Step S48, the control circuit 130 determines whether or not the inequality TR_B [1]<TR_B [i−1] is satisfied. In Step S48, if the inequality TR_B[i]<TR_B[i−1] is satisfied, the process proceeds to Step S49, and otherwise the process proceeds to Step S51.
In Step S49, the control circuit 130 determines whether or not any one of termination conditions is satisfied. In Step S49, if any one of termination conditions is satisfied, the process proceeds to Step S50. If no termination condition is satisfied, the process returns to Step S45, and the processes of Step S45 and after are repeated. In Step S51, the control circuit 130 inverts the direction of change set in Step S43. When reaching Step S51, the direction of change of the inductance value L after that is the inverted direction of change. In Step S52 after Step S51, the control circuit 130 determines whether or not i=2 is satisfied. If i=2 is satisfied, the process proceeds from Step S52 to Step S54. If i=2 is not satisfied, the process proceeds from Step S52 to Step S53. In Step S53, the control circuit 130 determines whether or not any one of termination conditions is satisfied. In Step S53, if any one of termination conditions is satisfied, the process proceeds to Step S50. If no termination condition is satisfied, the process proceeds to Step S54. In Step S54, the control circuit 130 shifts the inductance value L[i] in the set direction of change (the inverted direction of change) by 2×n steps so as to determine the inductance value L[i+1], and sets the inductance value L[i+1] to the inductance value L of the inductive load 142. After Step S54, the process returns to Step S46.
In Step S50, the control circuit 130 determines (substitutes) the inductance value L[i−1] or L[i] as (into) the set inductance value LSET in accordance with the termination condition satisfied in Step S49 or S53, stores the set data 131b_L indicating the set inductance value LSET in the storage circuit 131, and stores the direction data 131d_L corresponding to inductance value L in the storage circuit 131. When reaching Step S50 without passing through Step S51, the stored direction data 131d_L indicates the positive direction. When reaching Step S50 via Step S51, the stored direction data 131d_L indicates the negative direction. When the process in Step S50 is finished, the adjustment operation for inductive load is finished. After that, in the normal detection operation, the control circuit 130 controls the damping circuit 140 so that the inductance value L of the inductive load 142 has the set inductance value LSET in the set data 131b_L.
The content of the termination condition in the adjustment operation for inductive load is the same as that in the adjustment operation for resistance load, and the content of the termination condition described above for the adjustment operation for resistance load is also applied to the adjustment operation for inductive load. When it is applied, the resistance values R, R[1], R[2], R[3], R[i−1], R[i], R[i+1], and RSET in the description of the adjustment operation for resistance load should be read as the inductance values L, L[1], L[2], L[3], L[i−1], L[i], L[i+1], and LSET, respectively. Furthermore, Steps S21 to S34 in the description of the adjustment operation for resistance load should be read as Steps S41 to S54, respectively.
In this way, in the adjustment operation for inductive load, the control circuit 130 performs the adjustment unit operation a plurality of times while changing the inductance value L of the inductive load 142 by a plurality of steps, so as to obtain a plurality of the ringing times TR_B, and specifies the minimum ringing time TR_B among the plurality of the obtained ringing times TR_B. Then, the control circuit 130 can determine the candidate inductance value corresponding to the minimum ringing time TR_B among the first to NL-th candidate inductance values (see
[Adjustment Operation for Phase]
In Step S62 after Step S61, the control circuit 130 performs the first adjustment unit operation, and obtains the ringing time TR_B measured in the first adjustment unit operation, as the ringing time TR_B[1]. After that, in Step S63, the control circuit 130 sets the direction of change. In this case, if FLG=0 (see
After Step S63, in Step S64, the control circuit 130 substitutes 1 into the variable i, and the process proceeds to Step S65. In Step S65, the control circuit 130 shifts the phase φ[i] in the set direction of change by n steps so as to determine the phase φ[i+1], and sets the phase φ[i+1] to the phase φ of the adjustment damping signal. In Step S66 after Step S65, the control circuit 130 adds 1 to the variable i. After that, in Step S67, the control circuit 130 performs the i-th adjustment unit operation, and obtains the ringing time TR_B measured in the i-th adjustment unit operation, as the ringing time TR_B[i]. In next Step S68, the control circuit 130 determines whether or not the inequality TR_B [1] <TR_B [i−1] is satisfied. In Step S68, if the inequality TR_B [1]<TR_B [14] is satisfied, the process proceeds to Step S69, and otherwise the process proceeds to Step S71.
In Step S69, the control circuit 130 determines whether or not any one of termination conditions is satisfied. In Step S69, if any one of termination conditions is satisfied, the process proceeds to Step S70, but if no termination condition is satisfied, the process returns to Step S65, and the processes in Step S65 and after are repeated. In Step S71, the control circuit 130 inverts the direction of change set in Step S63. When reaching Step S71, the direction of change of the phase φ after that is the inverted direction of change. In Step S72 after Step S71, the control circuit 130 determines whether or not i=2 is satisfied. If i=2 is satisfied, the process proceeds from Step S72 to Step S74. If i=2 is not satisfied, the process proceeds from Step S72 to Step S73. In Step S73, the control circuit 130 determines whether or not any one of termination conditions is satisfied. In Step S73, if any one of termination conditions is satisfied, the process proceeds to Step S70, but if no termination condition is satisfied, the process proceeds to Step S74. In Step S74, the control circuit 130 shifts the phase φ[i] in the set direction of change (inverted direction of change) by 2×n steps, so as to determine the phase φ[i+1], and sets the phase φ[i+1] to the phase φ of the adjustment damping signal. After Step S74, the process returns to Step S66.
In Step S70, the control circuit 130 determines (substitutes) the phase φ[i−1] or φ[i] as (into) the set phase φSET in accordance with the termination condition satisfied in Step S69 or S73, stores the set data 131b_φ indicating the set phase φSET in the storage circuit 131, and stores the direction data 131d_φ corresponding to the phase φ in the storage circuit 131. When reaching Step S70 without passing through Step S71, the stored direction data 131d_φ indicates the positive direction. When reaching Step S70 via Step S71, the stored direction data 131d_φ indicates the negative direction. When the process in Step S70 is finished, the adjustment operation for phase is finished. After that, in the normal detection operation, the control circuit 130 controls the driving circuit 111 via the gate driver 112 so that the phase φ of the main damping signal has the set phase φSET in the set data 131b_φ (in other words, it controls the length of the first brake period PA2 in
The content of the termination condition in the adjustment operation for phase is the same as that in the adjustment operation for resistance load, the content of the termination condition described above for the adjustment operation for resistance load is also applied to the adjustment operation for phase. When it is applied, the resistance values R, R[1], R[2], R[3], R[i−1], R[i], R[i+1], and RSET in the description of the adjustment operation for resistance load should be read as the phases φ, φ[1], φ[2], φ[3], φ[i−1], φ[i], (p[i+1], and φSET, respectively. Further, Steps S21 to S34 in the description of the adjustment operation for resistance load should be read as Steps S61 to S74, respectively.
In this way, in the adjustment operation for phase, the control circuit 130 performs the adjustment unit operation a plurality of times while changing the phase φ of the adjustment damping signal by a plurality of steps, so as to obtain a plurality of the ringing times TR_B, and specifies the minimum ringing time TR_B among a plurality of the obtained ringing times TR_B. Then, the control circuit 130 can determine the candidate phase corresponding to the minimum ringing time TR_B among the first to Nφ-th candidate phases (see
[Retention of Ringing Time TR_HOLD]
The ringing data 131c to be stored in Step S80 of
[About Restart Condition]
The restart condition mentioned in the description of
If the restart condition is satisfied, as described above, 1 is set to the flag FLG in Step S8, and the process returns to Step S2, in which the adjustment operation is performed again. Performing the adjustment operation again, the resistance value R, the inductance value L, and the phase φ, which are optimal for the ultrasonic sensor 1 at present, are searched for again, and then the state advantageous for reducing the reverberation time is restored.
As described above, there is a case where the adjustment operation for resistance load is finished when the third termination condition illustrated in
A second example is described. In the first example, the resistance value R, the inductance value L, and the phase φ are the first, second, and third adjustment targets, and all the set resistance value RSET, the set inductance value LSET, and the set phase φSET are determined for the first to third adjustment targets. However, it may be possible to set only any one or two of the resistance value R, the inductance value L, and the phase φ, as the adjustment target. In other words, the control circuit 130 may only perform any one or two of the adjustment operation for resistance load, the adjustment operation for inductive load, and the adjustment operation for phase. For instance, if the resistance value R appropriate for reducing the reverberation time (reducing the ringing time) is known in advance, the adjustment operation for resistance load may not be performed.
A third example is described. In the third example, application techniques, variation techniques, supplementary notes, and the like for the techniques described above are described.
The ultrasonic sensor 1 can be mounted in any device. For instance, as illustrated in
As the driving circuit that supplies the main drive signal to the piezoelectric element 20, the driving circuit 111 constituted of a full bridge circuit is described above, but a transformer may be used to constitute the driving circuit. A structure and operation of the driving circuit using a transformer is well known, and hence description thereof is omitted here.
For any signal or voltage, the relationship between high level and low level thereof can be inverted from that described above, without impairing the spirit of the above description.
The types of channels of the field-effect transistors (FETs) described in each embodiment are merely examples. The structure of the circuit including FETs can be modified in such a manner that the N-channel type FET is replaced by the P-channel type FET, or the P-channel type FET is replaced by the N-channel type FET.
As long as no contradiction arises, any transistor described above may be any type of transistor. For instance, any transistor described above as a MOSFET may be replaced by a junction type FET, an insulated gate bipolar transistor (IGBT), or a bipolar transistor, as long as no contradiction arises. Any transistor has a first electrode, a second electrode, and a control electrode. In an FET, one of the first and second electrodes is a drain, and the other is a source, and the control electrode is a gate. In an IGBT, one of the first and second electrodes is a collector, and the other is an emitter, and the control electrode is a gate. In a bipolar transistor that does not belong to the IGBT, one of the first and second electrodes is a collector, and the other is an emitter, and the control electrode is a base.
The embodiment of the present disclosure can be appropriately and variously modified within the scope of the technical concept recited in the claims. The embodiment described above is merely an example of the embodiment of the present disclosure, and meanings of the technical terms of the present disclosure or the structural elements are not limited to those described in the above embodiment. The specific numerical values shown in the above description are merely examples, and they can be changed to various values as a matter of course.
Additional notes are described below about the present disclosure in which the examples of specific structure are described in the above embodiment.
A semiconductor device (10; see
By supplying the piezoelectric element with the damping signal having a phase different from that of the drive signal after stopping the supply of the drive signal to the piezoelectric element, reverberation of the piezoelectric element can be reduced. The damping signal is effective for reducing the reverberation in a range where the reverberation has a large amplitude (amplitude of the piezoelectric element due to the reverberation), but when the amplitude of the reverberation is getting lowered, the damping signal itself may cause a new reverberation. On the other hand, also by connecting the resistance load or the inductive load to the piezoelectric element after stopping the supply of the drive signal, the reverberation can be reduced due to absorption of kinetic energy of the piezoelectric element. Here, the resistance load or the inductive load has a relatively high effect of reducing the reverberation when the reverberation has a small amplitude. On the other hand, the effect of reducing the reverberation is relatively lowered if the reverberation has a large amplitude due to a voltage restriction of the circuit or the like. This knowledge is obtained by the inventor this time. By performing the above reverberation reduction operation based on this knowledge, the reverberation can be quickly reduced (i.e., the reverberation time can be reduced).
The semiconductor device according to the first structure may have the following structure. The semiconductor device further includes an adjustment driving circuit (170) arranged to be capable of supplying the piezoelectric element with a second drive signal in the ultrasonic band separately from the drive signal as a first drive signal. The control circuit is arranged to be capable of performing an adjustment operation using the adjustment driving circuit, before a normal detection operation including the supply of the first drive signal to the piezoelectric element. In the adjustment operation, the control circuit determines set physical quantity for an adjustment target based on a reverberation state of the piezoelectric element after supplying the second drive signal to the piezoelectric element. In the normal detection operation, the control circuit controls the adjustment target to have the set physical quantity, and the adjustment target includes at least one of a resistance value of the resistance load, an inductance value of the inductive load, and the phase of the damping signal (second structure).
In this way, the adjustment target can have the set physical quantity on which individual variation, ambient temperature, and the like of the piezoelectric element are reflected (set physical quantity appropriate for reducing the reverberation), and hence the reverberation can be quickly reduced.
The semiconductor device according to the second structure may have the following structure. The adjustment driving circuit is arranged to be capable of supplying the piezoelectric element with a second damping signal having a phase different from that of the second drive signal, separately from a first damping signal as the damping signal, and the adjustment operation includes an adjustment unit operation (see
The semiconductor device according to the third structure (see
In this way, after starting the normal detection operation, if the ringing time increases due to a variation of ambient temperature or the like, the adjustment operation can be performed again, and the adjustment target can be adjusted in accordance with current situation.
The semiconductor device according to the third or fourth structure may have the following structure. The control circuit is capable of performing the adjustment unit operation the plurality of times while changing the resistance value of the resistance load by the plurality of steps in the adjustment operation, determines a set resistance value (RSET) for the resistance load based on the reverberation state of the piezoelectric element when the damping circuit is connected to the piezoelectric element in each adjustment unit operation, and controls the resistance load to have the set resistance value in the normal detection operation (fifth structure).
The semiconductor device according to any one of the third to fifth structure may have the following structure. The control circuit is capable of performing the adjustment unit operation the plurality of times while changing the inductance value of the inductive load by the plurality of steps in the adjustment operation, determines a set inductance value (LSET) for the inductive load based on the reverberation state of the piezoelectric element when the damping circuit is connected to the piezoelectric element in each adjustment unit operation, and controls the inductive load to have the set inductance value in the normal detection operation (sixth structure).
The semiconductor device according to any one of the third to sixth structures may have the following structure. The control circuit is capable of performing the adjustment unit operation the plurality of times while changing a phase of the second damping signal viewed from the second drive signal by the plurality of steps in the adjustment operation, determines a set phase (φSET) for the first damping signal based on the reverberation state of the piezoelectric element when the damping circuit is connected to the piezoelectric element in each adjustment unit operation, and controls the first damping signal to have the set phase in the normal detection operation (seventh structure).
In the semiconductor device according to any one of the second to seventh structures, the second drive signal may have a smaller amplitude than the first drive signal (eighth structure).
If the drive signal having the same amplitude as the first drive signal is used to perform the adjustment operation, signal components of peripheral reflected waves may be mixed with the reverberation signal component, so that the adjustment cannot be performed properly. By using the second drive signal having a smaller amplitude than the first drive signal to perform the adjustment operation, the reflected waves in the adjustment operation can be sufficiently small, and hence good adjustment operation can be realized.
In the semiconductor device according to any one of the first to eighth structures, the resistance load and the inductive load may be connected in parallel in the damping circuit (ninth structure).
The semiconductor device according to any one of the first to ninth structures may have the following structure. The driving circuit includes a first half-bridge circuit to be connected to a first terminal of the piezoelectric element and a second half-bridge circuit to be connected to a second terminal of the piezoelectric element, so that a rectangular wave signal as the first drive signal can be applied between the first terminal and the second terminal of the piezoelectric element using the first half-bridge and the second half-bridge circuit (tenth structure).
An ultrasonic sensor according to one aspect of the present disclosure includes the semiconductor device according to any one of the first to tenth structures and a piezoelectric element connected to the semiconductor device (eleventh structure).
Number | Date | Country | Kind |
---|---|---|---|
2021-048763 | Mar 2021 | JP | national |
This nonprovisional application is a continuation application of International Patent Application No. PCT/JP2021/046958 filed on Dec. 20, 2021, which claims priority Japanese Patent Application No. 2021-048763 filed on Mar. 23, 2021, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2021/046958 | Dec 2021 | US |
Child | 18468895 | US |