Semiconductor device and acceleration measurement device

The semiconductor device addresses signal saturation and enhances precision in MEMS sensors by amplifying and converting input signals into digital data with adjustable amplification factors, ensuring accurate measurement data.

JP2024136964AInactive Publication Date: 2024-10-04ROHM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023048284
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing semiconductor devices face challenges in achieving high precision measurement data while preventing saturation of amplified signals, particularly in MEMS sensors where small input signals can lead to inaccurate digitization.

Method used

A semiconductor device is configured to receive an analog input signal, amplify it, and convert it into digital output data using an A/D conversion circuit. It includes an input adjustment circuit to adjust the amplification factor of the analog front-end circuit based on output data to ensure the amplified signal remains within a processable range, and a processing circuit to generate measurement data.

Benefits of technology

This approach suppresses signal saturation and enables highly accurate measurement data by dynamically adjusting amplification factors, ensuring precise digitization of small input signals from MEMS sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024136964000001_ABST
    Figure 2024136964000001_ABST
Patent Text Reader

Abstract

To acquire accurate measurement data while suppressing saturation of an amplified signal.SOLUTION: The semiconductor device includes: an analog front end circuit (1) for generating an amplification signal (Sa) generated by amplifying an input signal (Sg); an A / D conversion circuit (2) formed to convert the amplification signal (Sa) to output data of a digital value; and an input adjusting circuit (3) for adjusting the analog front end circuit (1) on the basis of the output data (Dt) so that the amplification signal (Sa) is not saturated. The sampling rate of the A / D conversion circuit (2) is higher than the largest frequency of an input signal input into the analog front end circuit (1).SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a semiconductor device, and more particularly to an acceleration measuring device using a semiconductor device. [Background technology]

[0002] In recent years, MEMS sensors have been manufactured using MEMS (Micro Electro Mechanical Systems) technology, which is manufactured using semiconductor manufacturing processes (see, for example, Patent Document 1). The output signal from the MEMS sensor is very small, and the output signal is amplified in devices that use the MEMS sensor. In addition, the output of sensors other than MEMS sensors is often amplified before use. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2023-020325 Summary of the Invention [Problem to be solved by the invention]

[0004] 2. Description of the Related Art In a device that amplifies an input signal from a sensor and digitizes the amplified signal, there is an increasing demand for high accuracy of measurement data while suppressing saturation of the amplified signal. [Means for solving the problem]

[0005] In order to achieve the above object, the present disclosure provides a semiconductor device configured to receive an analog input signal output from a sensor and convert it into digital output data. The semiconductor device includes an analog front-end circuit configured to output an amplified signal obtained by amplifying the input signal, an A / D conversion circuit configured to convert the amplified signal into output data of a digital value, and an input adjustment circuit configured to obtain the output data and adjust the amplification factor of the analog front-end circuit based on the output data so that the amplified signal falls within a processable range of the analog front-end circuit. The sampling rate of the A / D conversion circuit is configured to be higher than the frequency of the input signal input to the analog front-end circuit.

[0006] In order to achieve the above object, the present disclosure provides a semiconductor device configured to receive an analog input signal output from a sensor and convert it into digital output data. The semiconductor device includes a plurality of analog front-end circuits configured to output amplified signals obtained by amplifying the input signal with different amplification factors, an A / D conversion circuit configured to convert the amplified signals output from each of the analog front-end circuits into output data of a digital value, and a processing circuit configured to generate measurement data of a predetermined format based on each of the output data. The processing circuit is configured to select one of the output data generated from the amplified signals that fall within the full scale of each of the analog front-end circuits based on the input output data, and generate the measurement data from the selected output data. Effect of the Invention

[0007] According to the present disclosure, it is possible to suppress saturation of an amplified signal obtained by amplifying an input signal and to acquire highly accurate measurement data. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a schematic layout diagram of an acceleration measuring device according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a flowchart showing the operation of the semiconductor device. [Diagram 3] FIG. 3 is a diagram showing an input signal from the MEMS sensor. [Figure 4] FIG. 4 is a flowchart showing a procedure for adjusting the gain of the amplifier circuit in the analog front-end circuit. [Diagram 5] FIG. 5 is a diagram showing changes in the amplified signal and output data when the amplification factor is adjusted to be smaller. [Figure 6] FIG. 6 is a diagram showing changes in the amplified signal and output data when the amplification factor is adjusted to be larger. [Figure 7] FIG. 7 is a flowchart showing a procedure for adjusting the gain of the amplifier circuit in the analog front-end circuit of the first modified example. [Figure 8] FIG. 8 is a flowchart showing a procedure for adjusting the gain of the amplifier circuit of the semiconductor device of the second modification. [Figure 9] FIG. 9 is a diagram showing output data when adjusting the amplification factor of the second modified example. [Figure 10] FIG. 10 is a schematic layout diagram of an acceleration measuring device according to an embodiment of the third modified example. [Figure 11] FIG. 11 is a flowchart showing a procedure of the offset correction process. [Figure 12] FIG. 12 shows output data in a state where offset correction processing is required and an input signal after offset correction at the bottom. [Figure 13] FIG. 13 is a schematic layout diagram of an acceleration measuring device according to an embodiment of the fourth modified example. [Figure 14] FIG. 14 is a flowchart showing a procedure for the processing circuit to generate measurement data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, examples of embodiments of the present disclosure will be specifically described with reference to the drawings. In each of the drawings, the same parts are denoted by the same reference numerals, and duplicated descriptions of the same parts will be omitted as a general rule.

[0010] <Acceleration measuring device A> 1 is a schematic layout diagram of an acceleration measuring device A according to an embodiment of the present disclosure. The acceleration measuring device A shown in FIG.

[0011] In the acceleration measuring device A, when the acceleration changes, an input signal Sg is output from the MEMS sensor 200 and input to a later-described analog front-end circuit 1 of the semiconductor device 100. In the acceleration measuring device A, the input signal Sg from the MEMS sensor 200 is amplified, converted into digital data, and then the data is output in a format desired by the user.

[0012] <MEMSセンサ200> Here, the MEMS sensor 200 will be described with reference to the drawings. As shown in FIG. 1, the MEMS sensor 200 has fixed electrodes 211 and 212 and a movable electrode 220. The fixed electrodes 211 and 212 are arranged to face each other with a gap therebetween. For example, in the MEMS sensor 200, a positive voltage is applied to the fixed electrode 211, and a negative voltage is applied to the fixed electrode 212. The movable electrode 220 is arranged between the fixed electrodes 211 and 212, and is supported by an elastic member such as a spring so as to move the fixed electrodes 211 and 212 closer to or farther apart from each other. The fixed electrode 211 and the movable electrode 220 form a capacitor C1. The fixed electrode 212 and the movable electrode 220 form a capacitor C2 that is separate from the capacitor C1.

[0013] When the MEMS sensor 200 is stationary, the movable electrode 220 is stationary in the center between the fixed electrodes 211 and 212. When acceleration acts on the MEMS sensor 200, the movable electrode 220 approaches the fixed electrode 211 or the fixed electrode 212. When the movable electrode 220 approaches the fixed electrode 211, the distance between the fixed electrode 211 and the movable electrode 220 decreases, and the capacitance of the capacitor C1 increases. Conversely, when the movable electrode 220 approaches the fixed electrode 212, the capacitance of the capacitor C2 increases. The amount of change in the capacitance of the capacitors C1 and C2 increases when the acceleration is large and decreases when the acceleration is small. The MEMS sensor 200 transfers a voltage generated by the amount of change in the capacitance of the capacitors C1 and C2 when acceleration acts to the semiconductor device 100 as an input signal Sg.

[0014] If the moving direction of the movable electrode 220 is the Z direction, the MEMS sensor 200 is configured to accommodate the maximum acceleration (e.g., ±64 G) that can be measured in the +Z and -Z directions (see FIG. 3). When the measured acceleration is small, the change in capacitance caused by the movement of the movable electrode 220 of the capacitor C1 or capacitor C2 is minute. In other words, when the measured acceleration is small, the input signal Sg becomes a minute voltage, and if the signal is digitized, it may not be possible to confirm the state of the change. Therefore, the acceleration measuring device A has a configuration in which the input signal Sg is amplified and digitized by the semiconductor device 100.

[0015] The MEMS sensor 200 outputs the input signal Sg to the semiconductor device 100. In the acceleration measuring device A of the present disclosure, the maximum frequency of the input signal Sg output from the MEMS sensor 200 is about 10 kHz.

[0016] <Semiconductor device 100> Next, details of the semiconductor device 100 will be described. In the following description, the semiconductor device 100 will be described taking as an example a configuration for generating measurement data Df based on an input signal Sg from the MEMS sensor 200, but even if another sensor is used, the configuration is substantially the same, with only differences in the sensor configuration and the format of the final data.

[0017] In the semiconductor device 100, an output from the MEMS sensor 200 is received as an input signal Sg, which is amplified by an analog front-end circuit 1, and the amplified signal Sa is converted into digital data by an A / D conversion circuit 2. As shown in FIG.

[0018] <Analog front-end circuit 1> The analog front-end circuit 1 has an amplifier circuit 11. The analog front-end circuit 1 is configured to be able to amplify an input signal Sg with an amplification factor selected from a plurality of amplification factors. The analog front-end circuit 1 is connected to an input adjustment circuit 3, and an appropriate amplification factor is selected based on an adjustment signal Sj that includes an instruction from the input adjustment circuit 3.

[0019] The amplifier circuit 11 is configured to amplify a signal in stages using multiple amplifier units 111. That is, the analog front-end circuit 1 amplifies the input signal Sg in multiple stages and outputs the amplified signal Sa. The amplifier circuit 11 of the analog front-end circuit 1 uses multiple operational amplifiers to amplify the input signal Sg in multiple stages. Although the analog front-end circuit 1 has been described with an example of a configuration in which amplification is performed using operational amplifiers, this is not limiting. A wide variety of configurations can be adopted that can amplify the input signal Sg and output the amplified signal Sa. The amplified signal Sa is a voltage signal. The amplifier circuit 11 may be configured with one amplifier unit 111.

[0020] The amplifier circuit 11 can output a voltage within a certain range. In the following description, the range of voltages that the amplifier circuit 11 can output is referred to as the output range. When the amplified signal Sa exceeds the upper or lower limit of the output range of the amplifier circuit 11, the amplifier circuit 11 outputs a voltage at the upper or lower limit of the output range. Such an output state is referred to as saturation. When the amplified signal Sa is saturated, it is not possible to obtain the change in output during saturation. Therefore, the semiconductor device 100 determines the amplification factor of the amplifier circuit 11 so that the amplified signal Sa is not saturated. The amplification factor of the amplifier circuit 11 is the amplification factor of the amplified signal Sa with respect to the input signal Sg. The amplifier circuit 11 changes the amplification factor based on the adjustment signal Sj from the input adjustment circuit 3.

[0021] The analog front-end circuit 1 has a storage unit (not shown) and stores four amplification factors G1 to G4 that determine the amplification factor of the amplifier circuit 11. The amplification factor G1 is an amplification factor such that the full scale of the output range of the amplifier circuit 11 corresponds to an acceleration measured by the MEMS sensor 200 of ±8G. The amplification factor G2 is an amplification factor such that the full scale of the output range of the amplifier circuit 11 corresponds to an acceleration measured by the MEMS sensor 200 of ±16G. The amplification factor G3 is an amplification factor such that the full scale of the output range of the amplifier circuit 11 corresponds to an acceleration measured by the MEMS sensor 200 of ±32G. Furthermore, the amplification factor G4 is an amplification factor such that the full scale of the output range of the amplifier circuit 11 corresponds to an acceleration measured by the MEMS sensor 200 of ±64G. That is, the amplification factor G4 is smaller than the other amplification factors G1 to G3, in other words, it is an amplification factor that is not easily saturated.

[0022] For example, when the acceleration measured by the MEMS sensor 200 is in the range of ±6 G, the amplified signal Sa will not be saturated even if the amplifier circuit 11 amplifies the signal at an amplification factor G1. On the other hand, when the acceleration measured by the MEMS sensor 200 is in the range of ±10 G, the amplified signal Sa may be saturated if it is amplified at an amplification factor G1. Therefore, in the semiconductor device 100, the amplifier circuit 11 of the analog front-end circuit 1 selects an amplification factor G2. That is, the amplification factor is adjusted so that the amplified signal Sa falls within the full scale of the output range of the analog front-end circuit 1. The details of this adjustment procedure will be described later.

[0023] The analog front-end circuit 1 selects one of the above-mentioned amplification factors G1 to G4, and amplifies the input signal Sg in the amplifier circuit 11 to generate the amplified signal Sa. In the present disclosure, the analog front-end circuit 1 is configured to store four types of amplification factors G1 to G4, but is not limited to this and may store fewer or more. In addition, the acceleration measured by the MEMS sensor that is the basis for the amplification factor is not limited to the above and may be a value other than these.

[0024] The A / D conversion circuit 2 is a circuit that converts an analog signal into digital data, and receives the amplified signal Sa from the analog front-end circuit 1. The semiconductor device 100 of the present disclosure sequentially outputs output data Dt obtained by digitizing the amplified signal Sa at a predetermined sampling rate. The output data Dt is data obtained by digitizing the amplified signal Sa with a specified number of bits (here, N bits).

[0025] <Input adjustment circuit 3> The input adjustment circuit 3 acquires the output data Dt output from the A / D conversion circuit 2. The input adjustment circuit 3 has a configuration for adjusting the amplification factor of the analog front-end circuit 1 based on the output data Dt. More specifically, the input adjustment circuit 3 supplies an adjustment signal Sj to the analog front-end circuit 1 for adjusting the amplification factor based on the output data Dt so that the amplified signal Sa does not become saturated. ​

[0026] When the value of the acquired amplified signal Sa is sufficiently smaller than the upper or lower limit of the amplifier circuit 11, an adjustment signal Sj including an instruction to change the amplification factor to a larger one than the current one is sent to the analog front-end circuit 1. Conversely, when the current amplified signal Sa is close to the upper or lower limit of the amplifier circuit 11, an adjustment signal Sj including an instruction to change the amplification factor to a smaller one than the current one is sent to the analog front-end circuit 1. The details of the procedure for adjusting the amplification factor will be described later.

[0027] <Processing circuit 4> The output data Dt output from the A / D conversion circuit 2 is transmitted to the processing circuit 4. The processing circuit 4 is configured to generate and output measurement data Df in a format requested by a user from the output data Dt. For example, in the acceleration measuring device A of the present disclosure, the output data Dt is data obtained by digitizing the value of the amplified signal Sa. The processing circuit 4 converts the digitized value of this amplified signal Sa into measurement data Df indicating acceleration.

[0028] The processing circuit 4 may also be configured to adjust the number of bits, sampling rate, etc. of the measurement data Df. In addition, the output data Dt can be processed into data in a format required by the user. Furthermore, if the user requests to directly process the output data Dt, the processing circuit 4 may be omitted and the output data Dt from the A / D conversion circuit 2 may be directly output. In this case, the processing circuit 4 can be omitted.

[0029] The semiconductor device 100 has the above-mentioned configuration.

[0030] <Operation of the semiconductor device 100> Taking the acceleration measuring device A as an example, the operation of the semiconductor device 100 will be described with reference to the drawings. Fig. 2 is a flowchart showing the operation of the semiconductor device 100. Fig. 3 is a diagram showing a process of generating measurement data Df from an input signal Sg in the semiconductor device 100.

[0031] Fig. 3 shows the processing in the semiconductor device 100 from left to right. The leftmost part of Fig. 3 shows the acceleration and input signal Sg measured by the MEMS sensor 200. The second from the left shows the full scale of the output range of the analog front-end circuit 1 and the amplified signal S obtained by amplifying the input signal Sg at the current amplification factor. The second from the right shows the output data Dt digitized by the A / D conversion circuit 2 and its full scale. The rightmost part shows the measurement data Df output from the processing circuit 4 and its full scale.

[0032] 3, the amplified signal Sa obtained by amplifying the input signal Sg with the current amplification factor falls within the full scale of the output range of the analog front-end circuit 1. In the analog front-end circuit 1, the amplification factor of the amplifier circuit 11 is adjustable.

[0033] Although there may be some error, the MEMS sensor 200 is configured to be able to measure acceleration of ±64G centered around 0G. The greater the absolute value of the acceleration measured by the MEMS sensor 200, the greater the absolute value of the input signal Sg input to the analog front-end circuit 1. If a signal with a small absolute value is digitized, changes are less likely to appear. For this reason, in the semiconductor device 100, the analog front-end circuit 1 amplifies the input signal Sg, which is an analog signal, and then the A / D conversion circuit 2 digitizes it. Specifically, this is as follows.

[0034] 2, in the acceleration measuring device A, the analog front-end circuit 1 receives an input signal Sg from the MEMS sensor 200 (step S101). The analog front-end circuit 1 generates an amplified signal Sa by amplifying the input signal Sg with a currently set amplification factor (step S102).

[0035] The amplification factor of the analog front-end circuit 1 is, for example, the amplification factor used last time. When a new amplification factor is set at the start of measurement, since the input signal Sg is unknown, an amplification factor G4 that is least likely to saturate may be used. Furthermore, the amplification factor may be determined based on the maximum acceleration measured so far. An adjusted amplification factor may also be used based on the output data Dt. The adjustment of the amplification factor will be described in detail later. The maximum frequency of the input signal Sg input to the analog front-end circuit 1 depends on the configuration of the MEMS sensor 200. In the acceleration measuring device A of the present disclosure, the maximum frequency of the input signal Sg is about 10 kHz.

[0036] The A / D conversion circuit 2 digitizes the amplified signal Sa output from the analog front-end circuit 1 at a predetermined sampling rate and outputs the output data Dt (step S103). N The data is expressed as a numerical value of −1. The sampling rate of the A / D conversion circuit 2 is higher than the maximum frequency of the input signal Sg, and is, for example, about 100 kHz to about 150 kHz.

[0037] The output data Dt output from the A / D conversion circuit 2 is input to the input adjustment circuit 3 and the processing circuit 4. The output data Dt is data quantified by N bits, and even if the output data Dt has the same numerical value, the measurement value of the MEMS sensor 200 differs depending on which of the amplification factors G1 to G4 it is. Therefore, the processing circuit 4 generates measurement data Df based on the output data Dt and the amplification factor. That is, the processing circuit 4 has information on the current amplification factor of the amplification circuit 11, and the processing circuit 4 generates and outputs the measurement data Df from the output data Dt and the current amplification factor (step S104).

[0038] The measurement data Df is, for example, data obtained by discretizing the acceleration measurable by the MEMS sensor 200 from −64G to +64G into 16 bits. 15 ~2 15It is represented by a numerical value of -1. That is, the processing circuit 4 performs processing to convert the output data Dt, which is the N-bit voltage value of the amplified signal Sa obtained by amplifying the input signal Sg from the MEMS sensor 200, into measurement data Df indicating the acceleration in 16 bits. Note that the measurement data Df processed by the processing circuit 4 is not limited to 16 bits, and processing to change the number of bits and sampling rate according to a request from the user may be performed to output the measurement data Df. Also, other processing according to the request from the user may be performed.

[0039] Next, adjustment of the amplification factor of the amplifier circuit 11 in the analog front-end circuit 1 will be described with reference to the drawings. FIG. 4 is a flow chart showing the procedure for adjusting the amplification factor of the amplifier circuit 11 in the analog front-end circuit 1. FIG. 5 is a diagram showing changes in the amplified signal Sa and the output data Dt when the amplification factor is adjusted to be smaller. FIG. 6 is a diagram showing changes in the amplified signal Sa and the output data Dt when the amplification factor is adjusted to be larger. Note that FIG. 5 shows the amplified signal Sa and the output data Dt when the amplification factor is changed from G2 to G3. Also, FIG. 6 shows the amplified signal Sa and the output data Dt when the amplification factor is changed from G3 to G2.

[0040] 4, in the semiconductor device 100, the input adjustment circuit 3 acquires output data Dt (step S201). The input adjustment circuit 3 stores a first range Bd1 and a second range Bd2, which are ranges of the output data Dt (see FIGS. 5 and 6). The input adjustment circuit 3 determines whether the output data Dt falls within the first range Bd1 (step S202).

[0041] When the output data Dt is outside the first range Bd1 (No in step S202, see FIG. 5), the input adjustment circuit 3 determines that there is a high possibility that the amplified signal Sa will be saturated (step S203). Then, the input adjustment circuit 3 sends an adjustment signal Sj including an instruction to change the amplification factor to a smaller one than the current amplification factor to the analog front-end circuit 1 (step S204). Then, the analog front-end circuit 1 that has received the adjustment signal Sj changes the amplification factor to a smaller one than the current amplification factor (step S205). Then, after step S205, the process returns to step S201.

[0042] When the output data Dt falls within the first range Bd1 (Yes in step S202), the input adjustment circuit 3 determines that the amplified signal Sa is unlikely to be saturated (step S206).Then, the input adjustment circuit 3 determines whether the output data Dt falls within the second range Bd2 (step S207).

[0043] When the output data Dt is out of the second range Bd2 (No in step S207), the input adjustment circuit 3 determines that the current amplification factor of the analog front-end circuit 1 is appropriate. The input adjustment circuit 3 sends an adjustment signal Sj including an instruction not to change the amplification factor (step S208). When the output data Dt is within the second range Bd2 (Yes in step S207, see FIG. 6), the input adjustment circuit 3 determines that the current amplification factor is not sufficient (step S209). Note that the output data Dt is determined to be within the second range Bd2 when, for example, the maximum value of the output data Dt is within the second range Bd2 as shown in FIG. 6, but is not limited thereto.

[0044] Then, the input adjustment circuit 3 sends an adjustment signal Sj including an instruction to change the amplification factor to a higher one than the current one (step S210). The analog front-end circuit 1 receives the adjustment signal Sj output from the input adjustment circuit 3 and changes the amplification factor to a higher one than the current one (step S211). After step S211, the process returns to step S201.

[0045] As described above, in the semiconductor device 100, the input adjustment circuit 3 adjusts the amplification factor of the analog front-end circuit 1 based on the output data Dt, so that it is possible to suppress saturation of the amplified signal Sa and generate an amplified signal Sa close to the full scale of the analog front-end circuit 1. This makes it possible to improve the measurement accuracy of the MEMS sensor 200 when the acceleration to be measured is small, and to reduce noise.

[0046] As described above, the input adjustment circuit 3 adjusts the gain of the analog front-end circuit 1 based on the output data Dt output from the A / D conversion circuit 2. Therefore, when it is determined that adjustment of the gain is necessary around the peak of the input signal Sg, it is preferable to complete adjustment of the gain of the analog front-end circuit 1 before the next peak of the input signal Sg appears.

[0047] Therefore, the sampling rate of the A / D conversion circuit 2 can be, for example, about 10 to 15 times the maximum frequency of the input signal Sg from the MEMS sensor 200. More specifically, the sampling rate of the A / D conversion circuit 2 is preferably about 100 kHz to 150 kHz, which is higher than about 10 kHz, which is the maximum frequency of the input signal Sg from the MEMS sensor 200. However, the sampling rate of the A / D conversion circuit 2 is not limited to these values, and a wide range of values ​​that satisfy the above-mentioned conditions can be adopted.

[0048] The processing circuit 4 receives an adjustment signal Sj from the input adjustment circuit 3. The processing circuit 4 acquires the amplification factor of the amplifier circuit 11 of the analog front-end circuit 1 based on the adjustment signal Sj. The processing circuit 4 executes digital processing based on the amplification factor of the amplifier circuit 11 and the output data Dt, and generates and outputs measurement data Df. Specifically, the processing circuit 4 holds the current amplification factor of the amplifier circuit 11, and adjusts the amplification factor to the same as that of the analog front-end circuit 1 based on the adjustment signal Sj. In the semiconductor device 100 of the present disclosure, the processing circuit 4 is configured to receive the adjustment signal Sj from the input adjustment circuit 3, but is not limited to this. For example, the current amplification factor may be acquired from the analog front-end circuit 1.

[0049] The first range Bd1 is set to a range narrower than the full scale of the output range of the analog front-end circuit 1. By setting it in this way, even if the first range Bd1 is exceeded, the amplification factor can be changed before the amplified signal Sa becomes saturated. This makes it possible to prevent the amplified signal Sa from becoming saturated. The second range Bd2 is a range smaller than the possible range of the amplified signal Sa at an acceleration that can be measured at an amplification factor larger than the current amplification factor. For example, when the current amplification factor is G3, the range is set to a range narrower than the range of the output data Dt when an acceleration of ±16G is measured at the amplification factor G3. By setting the second range Bd2 in this way, it is possible to prevent the amplified signal Sa from becoming saturated even if the amplification factor is changed to a larger value.

[0050] <First Modification> Fig. 7 is a flowchart showing a procedure for adjusting the amplification factor of the amplifier circuit 11 in the analog front-end circuit 1 of the first modified example. In the first modified example, the configuration of the semiconductor device 100 is the same as that of the semiconductor device 100 shown in Fig. 1, and detailed description of each part will be omitted. The flowchart shown in Fig. 7 also has step S301 following Yes in step S207 of the flowchart in Fig. 4. In this modified example, steps other than step S301 are the same as those in the flowchart shown in Fig. 4, and are not shown.

[0051] As shown in FIG. 7, when it is determined in step S207 that the output data Dt falls within the second range Bd2 (Yes in step S207), the input adjustment circuit 3 determines whether the output data Dt has been within the second range Bd2 for a certain continuous period of time (step S301).

[0052] If the output data Dt does not fall within the second range Bd2 for a certain period of time (No in step S301), the process proceeds to step S208, and the adjustment process of the amplification factor is continued. If the output data Dt falls within the second range Bd2 for a certain period of time (Yes in step S301), the process proceeds to step S209, and the input adjustment circuit 3 determines that the current amplification factor is not sufficient. The subsequent process is performed as shown in the flowchart in FIG. 1.

[0053] By configuring in this way, when the output data Dt falls within the second range Bd2 in the short term, the amplification factor is not changed. For example, when the input signal Sg is small in the short term, the amplification factor is not changed. In this way, frequent changes in the amplification factor can be suppressed, and the processing can be prevented from becoming complicated.

[0054] It is also possible to execute a process to adjust the amplification factor when the output data Dt is continuously out of the first range Bd1 for a certain period of time. However, when the output data Dt is out of the first range Bd1, the amplified signal Sa is likely to be saturated. Therefore, it is preferable that the input adjustment circuit 3 is configured to immediately execute a process to lower the amplification factor when it detects that the output data Dt is out of the first range Bd1.

[0055] <Second Modification> Fig. 8 is a flowchart showing a procedure for adjusting the amplification factor of the amplifier circuit 11 of the semiconductor device 100 of the second modified example. Fig. 9 is a diagram showing output data Dt when adjusting the amplification factor of the second modified example. In the second modified example, the configuration of the semiconductor device 100 is the same as that of the semiconductor device 100 shown in Fig. 1, and detailed description of each part will be omitted. The flowchart shown in Fig. 8 also has steps S302 to S304 which are replaced with step S202 of the flowchart in Fig. 4. In this modified example, steps other than steps S302 to S304 are the same as those in the flowchart shown in Fig. 4, and are not shown.

[0056] The input adjustment circuit 3 adjusts the amplification factor based on the output data Dt. The input adjustment circuit 3 performs adjustment so as to select a small amplification factor when the output data Dt deviates from the first range Bd1. Even if the output data Dt deviates from the first range Bd1, the amplified signal Sa may be within the full scale of the output range of the analog front-end circuit 1 and the amplified signal Sa may not be saturated. If the amplification factor is kept low when the amplified signal Sa is not saturated in this way, the range of the amplified signal Sa may become narrow, and the accuracy may decrease.

[0057] Therefore, after the input adjustment circuit 3 acquires the output data Dt (after step S201), the input adjustment circuit 3 calculates the rate of change of the current output data Dt (step S302). Note that the rate of change of the output data Dt can be calculated by a differential calculation based on previously acquired output data, but is not limited to this.

[0058] The input adjustment circuit 3 calculates predicted output data Ds, which is output data predicted to be obtained next, from the output data Dt and the rate of change (step S303). Then, it is determined whether the predicted output data Ds falls within the first range Bd1 (step S304).

[0059] When the predicted output data Ds exceeds the first range Bd1 (No in step S304, see FIG. 9), the input adjustment circuit 3 determines that the amplified signal Sa is likely to be saturated (proceed to step S203). When the predicted output data Ds falls within the first range Bd1 (Yes in step S303), the input adjustment circuit 3 determines that the amplified signal Sa is unlikely to be saturated (proceed to step S206).

[0060] As described above, by executing the processing of the input adjustment circuit 3 as in this modified example, it is possible to prevent saturation of the amplified signal Sa and to measure acceleration with high accuracy by the MEMS sensor 200.

[0061] <Third Modification> Fig. 10 is a schematic layout diagram of an embodiment of an acceleration measuring device B of a third modified example. The acceleration measuring device B shown in Fig. 10 differs from the acceleration measuring device A shown in Fig. 1 in that it has a configuration including a semiconductor device 100b including an analog front-end circuit 1b. Parts of the acceleration measuring device B that are substantially the same as those of the acceleration measuring device A are given the same reference numerals, and detailed descriptions of the substantially same parts will be omitted.

[0062] 10, an analog front-end circuit 1b of a semiconductor device 100b includes an amplifier circuit 11b and an offset correction block 12. The amplifier circuit 11b of the analog front-end circuit 1b differs from the amplifier circuit 11 of the analog front-end circuit 1 in that the amplification factor is fixed.

[0063] The offset correction block 12 is disposed in a stage preceding the amplifier circuit 11. The offset correction block 12 has a configuration for offsetting the input signal Sg. The offset correction block 12 receives an adjustment signal Sk from the input adjustment circuit 3. The adjustment signal Sk includes adjustment information for offsetting the input signal Sg, and the offset correction block 12 executes offset processing for increasing or decreasing the input signal Sg based on the adjustment information.

[0064] Here, the offset correction process of the input signal Sg will be described with reference to the drawings. Fig. 11 is a flowchart showing the procedure of the offset correction process. Fig. 12 is a diagram showing the state after offset correction of the input signal Sg, the amplified signal Sa, and the output data Dt in a state where the offset correction process is required.

[0065] As shown in Fig. 11, the input adjustment circuit 3 determines whether the output data Dt has become larger than the upper limit value Bd11 of the first range Bd1 (step S401). When the input adjustment circuit 3 determines that the output data Dt is larger than the upper limit value Bd11 of the first range Bd1 (Yes in step S401, see Fig. 12), the input adjustment circuit 3 transmits an adjustment signal Sk including adjustment information for offset correcting the input signal Sg downward by a predetermined value to the offset correction block 12 (step S402). The offset correction block 12 performs downward offset correction of the input signal Sg based on the adjustment signal Sk (step S403). Then, the process proceeds to step S401, and the offset process continues.

[0066] When the output data Dt is equal to or less than the upper limit Bd11 of the first range Bd1 (No in step S401), the input adjustment circuit 3 determines whether the output data Dt is smaller than the lower limit Bd12 of the first range Bd1 (step S404). When the input adjustment circuit 3 determines that the output data Dt is smaller than the lower limit Bd12 of the first range Bd1 (Yes in step S404, see FIG. 12), the input adjustment circuit 3 transmits an adjustment signal Sk including adjustment information for offset correcting the input signal Sg upward by a predetermined value to the offset correction block 12 (step S405).

[0067] The offset correction block 12 performs an upward offset correction on the input signal Sg based on the adjustment signal Sk (step S406). Then, the process proceeds to step S401, and the offset process continues. Also, when the output data Dt is equal to or greater than the lower limit Bd12 of the first range Bd1 (No in step S404), the input adjustment circuit 3 transmits an adjustment signal Sk including adjustment information for not performing offset correction to the offset correction block 12 (step S407). Then, the process proceeds to step S401, and the offset process continues.

[0068] As shown in Fig. 10, the input adjustment circuit 3 supplies an adjustment signal Sk to the processing circuit 4. As a result, the processing circuit 4 executes an offset process on the offset-processed output data Dt that is the opposite of the offset process executed on the input signal Sg, and generates measurement data Df in a format desired by the user. With this configuration, it is possible to suppress saturation of the amplified signal Sa, and to provide the user with highly accurate measurement data.

[0069] In this embodiment, the offset correction block 12 is configured to correct the input signal Sg, but when the amplifier circuit 11 of the analog front-end circuit 1 has multiple stages of amplifier units 111, the offset correction may be performed on the signal amplified in at least one of the amplifier units 111.

[0070] Moreover, each of the semiconductor devices 100 and 100b described above includes a processing circuit 4, and the processing circuit 4 is configured to output measurement data Df from the output data Dt. However, if a user desires a configuration in which the output data Dt is obtained as is, the processing circuit 4 may be omitted.

[0071] <Fourth Modification> Fig. 13 is a schematic layout diagram of an embodiment of an acceleration measuring device C of a fourth modified example. The acceleration measuring device C shown in Fig. 13 differs from the acceleration measuring device A shown in Fig. 1 in that it has a semiconductor device 100c having an analog front-end circuit 1c and an A / D conversion circuit 2c, and does not have an input adjustment circuit 3. Parts of the acceleration measuring device C that are substantially the same as those of the acceleration measuring device A are given the same reference numerals, and detailed descriptions of the substantially same parts will be omitted.

[0072] As shown in Fig. 13, the analog front-end circuit 1c has a first amplifier circuit 11c1 and a second amplifier circuit 11c2. An input signal Sg is input to both the first amplifier circuit 11c1 and the second amplifier circuit 11c2. The first amplifier circuit 11c1 outputs a first amplified signal Sa1 obtained by amplifying the input signal Sg with an amplification factor G01. The second amplifier circuit 11c2 outputs a second amplified signal Sa2 obtained by amplifying the input signal Sg with an amplification factor G02. In this modification, the amplification factor G02 is greater than the amplification factor G01.

[0073] 13, in the analog front-end circuit 1c, the first amplifier circuit 11c1 and the second amplifier circuit 11c2 may have a common first-stage amplifier section 111. The signal converted into a voltage signal and amplified in the first-stage amplifier section 111 is amplified with different amplification factors in the first amplifier circuit 11c1 and the second amplifier circuit 11c2.

[0074] The A / D conversion circuit 2c includes a first conversion circuit 21 and a second conversion circuit 22. The first conversion circuit 21 receives the first amplified signal Sa1 and generates first output data Dt1 by digitizing the first amplified signal Sa1. The first output data Dt1 is supplied to the processing circuit 4c. The second conversion circuit 22 receives the second amplified signal Sa2 and generates second output data Dt2 by digitizing the second amplified signal Sa2. The second output data Dt2 is supplied to the processing circuit 4c.

[0075] The processing circuit 4c receives the first output data Dt1 and the second output data Dt2, and generates measurement data Df using either the first output data Dt1 or the second output data Dt2.

[0076] Here, a procedure for generating the measurement data Df in the processing circuit 4c will be described with reference to Fig. 14. Fig. 14 is a flowchart showing the procedure for generating the measurement data Df in the processing circuit 4c.

[0077] 14, when an input signal Sg is input, the first amplifier circuit 11c1 amplifies the input signal Sg with a first amplification factor G01 to generate a first amplified signal Sa1 (step S501). At the same time, the second amplifier circuit 11c2 amplifies the input signal with a second amplification factor G02 to generate a second amplified signal Sa2 (step S501).

[0078] Then, the first conversion circuit 21 of the A / D conversion circuit 2c digitizes the first amplified signal Sa1 to generate first output data Dt1 and supplies it to the processing circuit 4c (step S502). At the same time, the second conversion circuit 22 digitizes the second amplified signal Sa2 to generate second output data Dt2 and supplies it to the processing circuit 4c (step S502).

[0079] The processing circuit 4c refers to the second output data Dt2 and determines whether the second output data Dt2 is within the first range Bd1 (step S503). When the second output data Dt2 is within the first range Bd1 (Yes in step S503), the processing circuit 4c determines that the second amplified signal Sa2 is not saturated, and generates measurement data Df based on the second output data Dt2 (step S504). When the second output data Dt2 is outside the first range Bd1 (No in step S503), the processing circuit 4c determines that the second amplified signal Sa2 may be saturated or is likely to be saturated, and generates measurement data Df based on the first output data Dt1 (step S505).

[0080] In this way, by configuring the input signal Sg with multiple amplifier circuits that amplify the input signal Sg with different amplification factors and multiple conversion circuits that digitize the signals amplified by each amplifier circuit, feedback processing for converting the amplification factor becomes unnecessary, and the processing can be simplified.

[0081] In this modified example, the amplifier circuit amplifies the input signal at two different gains, but the present invention is not limited to this. The amplifier circuit may amplify the input signal at three or more gains. For example, the amplifier circuit may include a plurality of amplifier circuits that amplify the input signal at each of the gains G1 to G4 described above.

[0082] In each of the above-mentioned configurations, the acceleration measuring device using the semiconductor device 100, 100b, 100c and the MEMS sensor 200 is described as an example, but the present invention is not limited to this. It can also be adopted in a physical quantity measuring device using a sensor that can measure a physical quantity other than acceleration and supply an input signal. It goes without saying that the semiconductor device can be traded alone.

[0083] <Other> The above-described embodiments should be considered in all respects as illustrative and not restrictive, and the technical scope of the present invention is indicated by the claims, not by the description of the above-described embodiments, and should be understood to include all modifications that fall within the meaning and scope of the claims.

[0084] The semiconductor device (100, 100b) described above has a configuration for receiving an analog input signal (Sg) output from a sensor (200) and converting it into digital output data (Dt). The semiconductor device (100, 100b) includes an analog front-end circuit (1) configured to output an amplified signal (Sa) obtained by amplifying the input signal (Sg), an A / D conversion circuit (2) configured to convert the amplified signal (Sa) into output data (Dt) of a digital value, and an input adjustment circuit (3) configured to acquire output data (Dt) and adjust the analog front-end circuit (1) based on the output data (Dt) so that the amplified signal (Sa) falls within a processable range of the analog front-end circuit (1). The sampling rate of the A / D conversion circuit (2) is configured (first configuration) to be higher than the maximum frequency of the input signal (Sg) input to the analog front-end circuit (1).

[0085] In the semiconductor device (100) of the first configuration described above, the analog front-end circuit (1) may have a configuration capable of selecting one amplification factor from a plurality of amplification factors (G1 to G4), and the input adjustment circuit (3) may be configured (second configuration) to cause the analog front-end circuit (1) to select an appropriate amplification factor from the plurality of amplification factors (G1 to G4).

[0086] In the semiconductor device (100) of the first or second configuration described above, the input adjustment circuit (3) may be configured (third configuration) to change the amplification factor of the analog front-end circuit (1) to a lower amplification factor than the current amplification factor when the output data (Dt) exceeds a preset first range (Bd1).

[0087] In the semiconductor device (100) of any of the first to third configurations described above, the input adjustment circuit (3) may be configured (fourth configuration) to change the amplification factor of the analog front-end circuit (1) based on the current output data (Dt) and the rate of change of the output data (Dt).

[0088] In the semiconductor device (100) of the fourth configuration described above, the input adjustment circuit (3) is configured (fifth configuration) to change the amplification factor of the analog front-end circuit (1) to a lower amplification factor than the current amplification factor when the output data (Dt) predicted from the rate of change exceeds a predetermined first range (Bd1).

[0089] In a semiconductor device (100) having any of the first to fifth configurations described above, the input adjustment circuit (3) is configured (sixth configuration) to change the amplification factor of the analog front-end circuit (1) to a higher amplification factor than the current amplification factor when the output data (Dt) does not exceed a first range (Bd1) and a second range (Bd2) that falls within the first range (Bd1) for a certain period of time.

[0090] In the semiconductor device (100b) of the first configuration, the analog front-end circuit (1b) has an offset correction block (12) configured to perform offset correction of an input signal (Sg), The input adjustment circuit (3) determines the offset amount of the input signal (Sg) so that the amplified signal (Sa) falls within the full scale of the analog front-end circuit (1b); This is a configuration (seventh configuration) in which the offset correction block (12) performs offset correction of the input signal (Sg) based on the offset amount.

[0091] In the semiconductor device (100, 100b) of any of the first to seventh configurations, a configuration (8th configuration) is provided that includes a processing circuit (4) that generates measurement data (Df) of a predetermined number of bits based on the amplification factor of the output data (Dt).

[0092] The semiconductor device (100c) described above receives an analog input signal (Sg) output from the sensor (200) and converts it into digital output data (Dt). The semiconductor device (200c) has an analog front-end circuit (1c) having a plurality of amplifier circuits (11c1, 11c2) configured to output amplified signals (Sa1, Sa2) obtained by amplifying an input signal (Sg) with different amplification factors (G01, G02), an A / D conversion circuit (2c) configured to convert the amplified signals (Sa1, Sa2) output from each amplifier circuit (11c1, 11c2) into digital output data (Dt1, Dt2), respectively, and a processing circuit (4c) configured to generate measurement data (Df) of a predetermined format based on each output data (Dt1, Dt2), wherein the processing circuit (4c) is configured to select one piece of output data (Dt1, Dt2) generated from the amplified signals (Sa1, Sa2) falling within the full scale of the analog front-end circuit (1c) based on the input output data (Dt1, Dt2), and generate measurement data (Df) from the selected output data (9th configuration).

[0093] In the semiconductor device (100c) of the ninth configuration, the processing circuit (4c) is configured to select the output data generated from the amplified signal amplified with the highest amplification factor among the amplified signals (Sa1, Sa2) that fall within the full scale of the analog front-end circuit (1c) (tenth configuration).

[0094] This is a configuration (11th configuration) which is an acceleration measuring device (A, B) having a semiconductor device (100, 100b, 100c) of any one of the first to tenth configurations described above, and an acceleration sensor (200) which outputs an input signal (Sg) to the semiconductor device (100, 100b, 100c).

[0095] In the acceleration measuring device (A, B) of the eleventh configuration, the acceleration sensor is a MEMS sensor (200) (twelfth configuration). [Explanation of symbols]

[0096] A, B, C Acceleration measuring device 100, 100b, 100c Semiconductor device 1, 1b, 1c Analog front-end circuit 11, 11b Amplification circuit 11c1 First amplifier circuit 11c2 Second amplifier circuit 111 Amplification section 12 Offset Compensation Block 2.2c A / D conversion circuit 21 First conversion circuit 22 Second conversion circuit 3 Input conditioning circuit 4, 4c Processing circuit 200 MEMS Sensors 211, 212 Fixed electrode 220 Movable electrode

Claims

1. A semiconductor device configured to receive an analog input signal output from a sensor and convert it into digital output data, an analog front-end circuit configured to amplify the input signal and output an amplified signal; an A / D conversion circuit configured to convert the amplified signal into digital output data; an input adjustment circuit configured to acquire the output data and adjust the analog front-end circuit based on the output data so that the amplified signal falls within a processable range of the analog front-end circuit; The semiconductor device is configured such that a sampling rate of the A / D conversion circuit is higher than a maximum frequency of the input signal input to the analog front-end circuit.

2. the analog front-end circuit has a configuration capable of selecting one of a plurality of gains, 2 . The semiconductor device according to claim 1 , wherein the input adjustment circuit has a configuration that causes the analog front-end circuit to select an appropriate one of the multiple gains.

3. 2. The semiconductor device according to claim 1, wherein the input adjustment circuit has a configuration that causes the analog front-end circuit to change the amplification factor to a lower value than a current amplification factor when the output data exceeds a first range that is set in advance.

4. 2 . The semiconductor device according to claim 1 , wherein the input adjustment circuit has a configuration for changing an amplification factor of the analog front-end circuit based on the current output data and a rate of change of the output data.

5. 5. The semiconductor device according to claim 4, wherein the input adjustment circuit is configured to change the amplification factor of the analog front-end circuit to a value lower than the current amplification factor when output data predicted from the rate of change exceeds a predetermined first range.

6. 4. The semiconductor device according to claim 3, wherein the input adjustment circuit is configured to cause the analog front-end circuit to change the amplification factor to a higher value than the current amplification factor when the output data does not exceed the first range and a second range that falls within the first range for a certain period of time.

7. the analog front-end circuit has an offset correction block configured to perform offset correction of the input signal; the input adjustment circuit determines an offset amount of the input signal so that the amplified signal falls within a full scale of the analog front-end circuit; The semiconductor device according to claim 1 , wherein the offset correction block is configured to perform offset correction of the input signal based on the offset amount.

8. 2. The semiconductor device according to claim 1, further comprising a processing circuit for generating measurement data having a predetermined number of bits from the output data.

9. 8. The semiconductor device according to claim 7, further comprising a processing circuit for generating measurement data having a predetermined number of bits from the output data based on the offset amount.

10. A semiconductor device configured to receive an analog input signal output from a sensor and convert it into digital output data, an analog front-end circuit having a plurality of amplifier circuits configured to output amplified signals obtained by amplifying the input signal at different amplification factors; an A / D conversion circuit configured to convert the amplified signals output from each of the amplifier circuits into output data of a digital value; a processing circuit configured to generate measurement data in a predetermined format based on each of the output data; The processing circuit selects one of the output data generated from the amplified signal that falls within the full scale of each of the analog front-end circuits based on the input output data, and generates the measurement data from the selected output data.

11. 11. The semiconductor device according to claim 10, wherein the processing circuit selects the output data generated from the amplified signal amplified with the highest amplification factor among the amplified signals that fall within a full scale of the analog front-end circuit.

12. The semiconductor device according to any one of claims 1 to 11, and an acceleration sensor that outputs an input signal to the semiconductor device.

13. The acceleration measuring device according to claim 12 , wherein the acceleration sensor is a MEMS sensor.

Citation Information

Patent Citations

  • MEMS sensor

    JP2023020325A