Physical quantity detection device
By setting a resolution difference between the calculation part and the memory in the physical quantity detection device, and using scale transformation and gain term switching, the problem of insufficient resolution at low flow rates is solved, and the calculation resolution is improved without increasing the memory capacity. and reduce detection errors.
Patent Information
- Application Number
- CN202080053555.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-02
- Filing Date
- 2020-07-14
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2040-07-14
AI Technical Summary
When the existing physical quantity detection device detects the intake air flow rate, the resolution is insufficient under low flow conditions, resulting in errors in the output characteristics. Improving the calculation resolution requires an increase in memory capacity, which leads to an increase in cost.
By setting a resolution difference between the calculation part and the memory, the calculation part uses the high resolution to perform correction operations, and reduces the resolution difference of the memory through scale transformation and gain term switching, thereby improving the accuracy of the correction amount without increasing the memory capacity. .
While suppressing the increase in memory capacity, the calculation resolution is improved, the detection error is reduced, and the cost is reduced.
Smart Images

Figure CN114174792B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a physical quantity detection device. Background Art
[0002] Patent document 1 describes the following about a bias voltage correction device: "The bias voltage correction device includes: an EEPROM that stores correction data corresponding to each correction target temperature obtained by dividing a specified temperature range into specified intervals; a temperature sensor that detects the temperature of the acceleration sensor; a ROM I / F that reads from the EEPROM first correction data corresponding to a first correction target temperature that is adjacent to and lower than the detected temperature, and second correction data corresponding to a second correction target temperature that is adjacent to and higher than the detected temperature; and a correction operation circuit that divides the difference between the read first correction data and the second correction data by the number of remaining bits obtained by subtracting the bits used in the correction data from all the bits of the output value of the temperature sensor, and uses the calculated value as correction data for the detected temperature."
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2004-294110 Summary of the invention
[0006] Technical problem to be solved by the invention
[0007] In a physical quantity detection device (such as an air flow sensor, etc.) for detecting the flow rate of intake air sucked into an internal combustion engine, when the flow rate of intake air is small, the change amount of the digital value equivalent to 16 bits obtained by AD conversion of the input value representing the flow rate is very small, and an error in output characteristics due to insufficient resolution may occur. Therefore, a method of reducing the error in output characteristics by increasing the calculation resolution of the DSP (Digital Signal Processor) in the LSI (Large Scale Integrated Circuit) of the physical quantity detection device can be considered.
[0008] When the calculation resolution is increased from the existing 16 bits to 20 bits, generally speaking, the memory inside the LSI for storing constants used in the calculation also uses a 20-bit capacity. In this case, it is necessary to use a memory with 16 times the capacity of the existing memory (16 bits), so a high-performance memory is required for the required specifications, which will increase the cost. Therefore, it is necessary to be able to improve the calculation resolution while suppressing the specifications of the memory.
[0009] In the bias voltage correction device described in Patent Document 1, the correction map (i.e., table data that specifies correction values) input value is divided into a temperature value and an interpolation value, and the difference between the grid points of the correction map is divided by the interpolation value to calculate the interpolation value, thereby reducing the number (capacity) of correction map data stored in the memory (EEPROM). However, the memory and the correction calculation circuit have the same resolution (16 bits), so the document does not consider improving the calculation resolution while suppressing the memory specifications.
[0010] The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a physical quantity detection device capable of improving calculation resolution while suppressing an increase in memory capacity.
[0011] Technical means of solving problems
[0012] The physical quantity detection device of the present invention for solving the above-mentioned problem is characterized in that it includes: a physical quantity detection sensor, which detects the physical quantity of the measured gas; a storage unit, which records the correction amount corresponding to the detection value of the physical quantity detection sensor; and a calculation unit, which uses the detection value and the correction amount to adjust the output of the detection value, wherein the resolution of the storage unit is lower than the calculation resolution of the calculation unit.
[0013] Effects of the Invention
[0014] By adopting the present invention, it is possible to improve the computing resolution while suppressing the increase of memory capacity. Other features related to the present invention can be made clear through the description of this specification and the accompanying drawings. Technical problems, technical features and technical effects other than the above can be made clear through the description of the following implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a diagram showing an example of the internal structure of the physical quantity detection device (air flow sensor) according to the first embodiment.
[0016] Figure 2 This is a diagram showing an example of the internal structure of the calculation unit.
[0017] Figure 3 This is a diagram showing an example of how input values are allocated in a data width of 20 bits.
[0018] Figure 4 This is a diagram showing an example of sensor characteristics of an air flow sensor.
[0019] Figure 5 Yes means Figure 4 A diagram showing an example of the relationship between the correction amount (output value of the correction map) ΔX in FIG. 1 and the intake air flow rate.
[0020] Figure 6 This is a diagram showing an example of the schematic internal structure of a calculation unit in the air flow sensor according to the second embodiment.
[0021] Figure 7 This is a diagram showing an example of how input values are allocated in a data width of 20 bits.
[0022] Figure 8 This is a diagram showing an example of correction amount characteristics obtained by switching the gain term.
[0023] Fig. 9 This is a diagram showing an example of improvement in the detection error of the intake air flow rate.
[0024] Fig.10 This is a diagram showing an example of the internal structure of a calculation unit in an air flow sensor. DETAILED DESCRIPTION
[0025] An embodiment of the present invention is described below.
[0026] <First embodiment>
[0027] Figure 1 This is a diagram showing an example of the internal structure of the physical quantity detection device according to the present embodiment.
[0028] The physical quantity detection device of this embodiment is assumed to be, for example, an air flow sensor 100 that detects the flow rate of intake air sucked into an internal combustion engine. The air flow sensor 100 includes a physical quantity detection sensor that detects the physical quantity of intake air (measured gas) and outputs a detection signal, and an LSI.
[0029] The air flow sensor 100 performs a correction operation through the operation unit 110 inside the LSI in order to correct the output value (detection value) of the air flow detected by the physical quantity detection sensor. Specifically, the air flow sensor 100 converts the detection signal (for example, a signal including a voltage value indicating the air flow) output from the physical quantity detection sensor into a digital value using an A / D converter inside the LSI, and after the correction operation is performed by the operation unit 110, the signal is converted and the sensor output is performed.
[0030] As shown in the figure, the LSI includes a computing unit 110 (e.g., CPU: Central Processing Unit) and a memory 120 (e.g., EEPROM), wherein the memory 120 belongs to a 16-bit computing area and the computing unit 110 belongs to a 20-bit computing area. In addition, in the memory 120 in the 16-bit computing area, a correction amount corresponding to the detected value of the detected air flow rate is stored (recorded), and the correction amount is a constant used in the correction operation for correcting the detected value. That is, the correction amount resolution of the memory 120, which functions as an information storage unit, is 16 bits, which is set to a resolution lower than the computing resolution (20 bits) of the computing unit 110.
[0031] The operation unit 110 performs a correction operation to correct the detected value of the detected air flow rate, thereby adjusting the output. Before performing the correction operation, the operation unit 110 refers to the correction amount ΔX in the memory 120 through table conversion, performs an operation process for reducing the resolution difference (4 bits) between the 16-bit memory 120 and the 20-bit operation unit 110, and calculates the correction amount after the resolution difference is reduced. In addition, the operation unit 110 uses the calculated correction amount value to perform the correction operation of the detection value. The operation unit 110 performs the operation process of the detection value at a high resolution (20 bits), and performs a scaling conversion (scaling conversion) to the output resolution (16 bits) when performing a signal conversion on the value Y of the operation result and outputting it as the final output value of the sensor.
[0032] Figure 2 1 is a diagram showing an example of the internal structure of the operation unit 110. As shown in the figure, the operation unit 110 performs a scale transformation on the detected value X of the air flow after A / D conversion and calculates the transformed value X1. In addition, the operation unit 110 refers to the memory 120 in the 16-bit operation area and stores the correction amount ΔX corresponding to the detected value X (or X1) of the air flow in the correction map 150. In addition, the operation unit 110 multiplies the value ΔX1 obtained by adding the offset term K1 (160) to the correction amount ΔX by the gain term G1 (170), thereby calculating the correction amount ΔXn ( Figure 2 In addition, the description of summing with the bias term K1 (160) is as follows: Figure 5 conduct.
[0033] Figure 3This is a diagram showing an example of the allocation of input values in a 20-bit data width. As shown in the figure, in a 20-bit data width, the side close to bit number 19 is a high-order bit, and the side close to bit number 0 is a low-order bit. When the correction operation is performed with a 20-bit operation resolution, the input value expressing the high flow area is allocated to the high-order bit side, and the input value expressing the low flow area is allocated to the low-order bit side. In addition, "*" indicates that a value for representing the corresponding flow area is input in the corresponding bit number.
[0034] Figure 3 The row P of ΔX indicates that the correction amount ΔX is 16 bits of information having input values in bit numbers 0 to 15, and does not include information of the upper 4 bits expressing the high flow area.
[0035] The correction amount ΔX does not have high-order 4-bit information because the correction amount ΔX is 16-bit information stored in the memory 120 in the 16-bit operation area, which is caused by the difference in resolution between the operation unit 110 in the 20-bit operation area.
[0036] Here, use Figure 2 and Figure 3 The calculation process for reducing the difference in resolution between the memory 120 and the calculation unit 110 will be described.
[0037] The calculation unit 110 calculates the correction amount ΔX using the correction map 150 obtained by reference from the memory 120, and adds the offset term K1 (160) to the calculated correction amount ΔX to obtain ΔX1. Then, when ΔX1 is multiplied by the gain term G1 (170) = 16, Figure 3 As shown in row Q of , the bit number with the input value is shifted 4 bits to the left compared to ΔX1. That is, by multiplying the gain term G1 (170), the information of the 4 bits on the lower side (bit numbers 0 to 3) is lost, and the setting step of the constant in the EEPROM is not 1 but 16 (4 bits), but the information of the 4 bits on the upper side (bit numbers 16 to 19) can be obtained.
[0038] In addition, when ΔX1 is multiplied by the gain term G1(170)=8, as Figure 3 As shown in row R of , the bit number with the input value is shifted 3 bits to the left compared to ΔX1. That is, by multiplying the gain term G(170), the information of the 3 bits on the lower side (bit numbers 0 to 2) is lost, but the information of the 3 bits on the upper side (bit numbers 16 to 18) can be obtained.
[0039] In addition, when ΔX1 is multiplied by a gain term G1 (170) of a predetermined value, as shown in FIG. Figure 3As shown in row S of , the bit position with input value is shifted 2 bits to the left compared with ΔX1. That is, by multiplying the gain term G1 (170), the bit position without input value can be arranged 2 bits each on the upper and lower sides.
[0040] The calculation unit 110 can appropriately adjust the bit positions having no input values by multiplying the correction amount ΔX1 by the gain term G1 ( 170 ).
[0041] Therefore, by applying the calculation formula including the gain term G1 (170) to the correction amount ΔX1, it is possible to calculate a correction amount that reduces the resolution difference between the low-resolution memory 120 and the high-resolution calculation unit 110.
[0042] Furthermore, after performing a calculation including the offset term K1 (160) and the gain term G1 (170) (calculation formula: ΔX4=ΔX+K1×G1), the calculation unit 110 performs a correction calculation using the correction amount ΔX4 and X1 to obtain the value Y.
[0043] By adopting such an air flow sensor 100, it is possible to improve the calculation resolution while suppressing the increase of memory capacity. In particular, the air flow sensor uses a predetermined calculation formula and performs correction calculation using a correction amount that reduces the resolution difference between the low-resolution memory and the high-resolution calculation unit. As a result, the air flow sensor can achieve improved calculation resolution while suppressing the increase of memory capacity. Figure 4 1 is a diagram showing an example of the sensor characteristics of the air flow sensor 100. As shown in the figure, the horizontal axis represents the size of the inhaled air flow Qair [Kg / h], and the vertical axis represents the output value AFS [digit] of the air flow sensor. In addition, the curve shown by the dotted line represents the detection value X of the air flow (raw data) before the scale conversion, and the curve shown by the solid line represents the detection value X1 after the scale conversion. In addition, the straight line shown by the dotted line represents the target characteristic of the value Y after the correction operation.
[0044] Figure 5 Yes means Figure 4 150) and the inhaled air flow rate. As shown in the figure, the horizontal axis represents the size of the air flow rate Qair [Kg / h], and the vertical axis represents the correction amount [digit]. In addition, the curve shown by the dotted line represents the correction amount ΔX when the detection value X is not scaled, and the curve shown by the solid line represents the correction amount ΔX when the detection value X is scaled.
[0045] Here, use Figure 4 and Figure 5 right Figure 2 The scale transformation (two-point adjustment) shown in FIG. Figure 4As shown in FIG. 1 , there is a relatively wide gap between the detection value X shown by the dotted line and the target characteristic of the value Y shown by the solid line, and the correction amount ΔX is relatively large. Figure 5 As shown, when the scale conversion is not performed, the range A of the correction amount ΔX is wide, and a 20-bit data range is required to express the correction amount ΔX.
[0046] On the other hand, when the detection value X is scaled, Figure 4 The dotted line X in the figure is transformed into a solid line X1. The solid line X1 has a smaller distance from the target characteristic of value Y than the dotted line X without scale transformation. This means that the value of the correction amount ΔX can be set to a smaller value. Figure 5 As shown, the data range of the correction amount ΔX can be narrowed from range A to range B, and the correction amount ΔX can be within the data range of 19 bits.
[0047] That is, by performing a scale conversion on the detection value X, the difference between the output characteristic X1 when input to the correction map 150 and the target characteristic of the value Y after the correction operation can be reduced, and as a result, the data range for expressing the correction amount ΔX can be reduced. Therefore, it is not necessary to use the entire data range (20 bits) of the calculation resolution to express the correction amount ΔX. Thus, the air flow sensor 100 can improve the calculation resolution while suppressing an increase in the memory capacity.
[0048] In addition, the scale conversion is realized by performing an operation using an expression n times (n is an integer) on the detection value X. For example, Figure 4 The solid line X1 shown is transformed into the dotted line X by scaling using a linear expression (y=ax+b, a and b are constants). Since the linear expression is a simple calculation expression using only constants a and b, it has the advantage of being easy to handle. In addition, in scaling the linear expression, the number of constants used is small, so it has the advantage of being able to suppress the increase in memory capacity and reduce the processing burden of the calculation unit.
[0049] In addition, quadratic expressions (such as y = ax 2 +bx+c) or an m-order expression (m is an integer greater than or equal to 3), the shape of the curve after the scale transformation can be finely adjusted. Therefore, the interval between the target characteristic and the value Y shown by the straight line can be narrowed, which has the advantage of being able to make the data width (data range) of the correction amount ΔX smaller. In addition, in the first-order expression, x=the detected value X of the flow rate is used, while in the case of the m-order expression, for example, values corresponding to the specified elements such as x1=the detected value α of the flow rate, x2=the temperature β, and x3=the humidity γ can be used.
[0050] Here, for Figure 2The operation using the bias term K1 (160) is described as shown. Figure 5 As shown, the curve representing the scaled correction amount ΔX is also located in the lower half of the 19-bit data range. Here, if the offset term K1 (160) of a predetermined value is added to the correction amount ΔX, the position of the curve of the correction amount ΔX can be shifted (moved) in parallel in the vertical direction. Specifically, by adding the offset term K1 (160) of a predetermined value to the correction amount ΔX, the position of the curve of the correction amount ΔX can be shifted upward and adjusted to be within the 18-bit data range.
[0051] In this way, by adding the offset term K1 (160) to the correction amount ΔX, the data range used for the correction amount ΔX can be further narrowed. That is, by using the offset term K1 (160) for calculation, the resolution difference with the calculation unit can be reduced. As a result, the air flow sensor 100 can improve the calculation resolution while suppressing an increase in memory capacity.
[0052] <Second embodiment>
[0053] Figure 6 1 is a diagram showing an example of the internal structure of the calculation unit 110 in the air flow sensor 100 of the second embodiment. As shown in the figure, the calculation unit 110 of the present embodiment is characterized in that the gain term G1 (180) and the gain term G2 (190) used in the calculation are switched and selected according to the magnitude of the correction amount ΔX output from the correction map 150. In addition, K1 shown in the figure is the same as the calculation process using the offset term described in the first embodiment, so the detailed description is omitted.
[0054] Specifically, the operation unit 110 compares the correction amount ΔX output from the correction map 150 with a predetermined threshold value (for example, stored in the memory 120). Then, when the correction amount ΔX is greater than the threshold value, the operation unit 110 multiplies the gain term G2 (190) to shift the bit position without the input value to the high-order bit side. On the other hand, when the correction amount ΔX is less than the threshold value, the operation unit 110 multiplies the gain term G1 (180) to shift the bit position without the input value to the low-order bit side. In addition, the correction amount obtained by using the gain term G1 (180) or G2 (190) is respectively referred to as the correction amount ΔX1 or ΔX2, and ΔX3 shown in the figure represents one of the correction amounts ΔX1 and ΔX2.
[0055] Figure 7This is a diagram showing an example of the distribution of input values in a data width of 20 bits. As shown in row Q1 of the diagram, by multiplying the correction amount ΔX by the gain term G1 (180), the bit position having the input value can be shifted toward the high flow area. That is, by using the gain term G1 (180) for calculation, the calculation unit 110 can allocate the input value to the high-order bit side such as bit numbers 16 to 18. By such calculation, the correction amount ΔX1 that can correct the high flow area more intensively can be calculated.
[0056] In addition, as shown in row R1 of the figure, by multiplying the correction amount ΔX by the gain term G2 (190), the bit position having the input value can be shifted to the low flow area side. That is, by using the gain term G2 (190) for calculation, the calculation unit 110 can allocate the input value to the low-order bit side such as bit numbers 0 to 2. Through such calculation, the correction amount ΔX2 that can correct the low flow area side more emphatically can be calculated.
[0057] The operation unit 110 appropriately switches and selects a plurality of operation formulas including different gain terms according to the value of the correction amount ΔX. When the correction amount ΔX is greater than the threshold, the operation formula in which the correction amount ΔX is multiplied by the gain term G2 (190) is selected, and the operation result, that is, the correction amount ΔX2, is used as the correction amount ΔX3. When the correction amount ΔX is less than the threshold, the operation formula in which the correction amount ΔX is multiplied by the gain term G1 (180) is selected, and the operation result, that is, the correction amount ΔX1, is used as the correction amount ΔX3. Thus, the operation unit 110 performs the scaling in a manner that does not use high-order bits in the correction amount region greater than the threshold that requires high operation accuracy, and can focus on improving the operation resolution.
[0058] Figure 8 This is a diagram showing an example of the correction amount characteristic obtained by switching the gain term. As shown in the figure, the horizontal axis represents the size of the inhaled air flow rate Qair [Kg / h], and the vertical axis represents the correction amount [digit]. The reference line L1 represents the threshold (reference value) used to switch the gain term. The solid line 302 represents the correction amount ΔX3. The dotted line 301 represents the correction amount ΔX*G1. The correction amount ΔX2 in the low flow area is high-resolution (G1 / G2). The dotted line 303 represents the correction amount ΔX4. The curve of the correction amount ΔX4 is obtained by adding the offset term K2 to the correction amount ΔX3, so that the curve of the correction amount ΔX3 is shifted toward the low position by the offset term K2.
[0059] As shown in the figure, in the area where the correction amount ΔX is above the threshold value (reference value L1), the correction amount ΔX is in the low flow area. The low flow area can be expressed by a 16-bit data range on the low-order side. Therefore, in order to allocate the bit position with the input value to the low-order bit side, the calculation unit 110 uses the gain term G2 (190) for the low flow area to calculate the correction amount ΔX2 (=ΔX*G2). As a result, the correction amount ΔX3 in the area above the threshold is within the 16-bit data range as shown by the solid line 302.
[0060] In the region where the correction amount ΔX is less than the threshold value (reference value L1), the correction amount ΔX is in a relatively high flow region. In this case, the operation unit 110 switches the object used in the multiplication operation to the gain term G1 (180) in order to allocate the bit positions having the input value to the high-order bit side. That is, the operation formula for calculating the correction amount ΔX1 (=ΔX*G1) using the gain term G1 (180) for the high-flow region is selected.
[0061] The operation unit 110 multiplies the correction amount ΔX by the gain term G1 (180) to calculate the correction amount ΔX1, and uses it as the correction amount ΔX3. Figure 8 As shown, the correction amount ΔX3 in the region smaller than the threshold value can be represented by a curve shown by a solid line 302 .
[0062] Fig. 9 This is a diagram showing an example of improvement in the detection error of the inhaled air flow rate. As shown in the figure, the horizontal axis represents the size of the inhaled air flow rate Qair [Kg / h], and the vertical axis represents the size of the detection error of the air flow rate dQ / Q [%]. In addition, the dotted line curve 311 represents 16-bit operation accuracy, and the dot-dash line curve 312 represents the operation accuracy equivalent to 20 bits obtained by adding the bias term K1 (160). In addition, the solid line curve 313 represents the operation accuracy equivalent to 20 bits obtained by using the gain term G2 (190) in the low flow area. In addition, the step difference 314 where the dot-dash line curve 312 merges with the solid line curve 313 represents the switching point of the gain term.
[0063] like Fig. 9 As shown in the middle curve 311, the resolution in the low flow area is insufficient under the 16-bit operation accuracy, so the operation error is large. On the other hand, when the operation processing using the bias term K1 (160) is performed, as shown in the curve 312, the operation error in the low flow area is improved to about half.
[0064] Furthermore, by switching the size of the gain term (G2, G1) according to the size between the correction amount ΔX and the predetermined threshold value (reference value), the input value can be appropriately allocated to the bit position corresponding to the flow area to be expressed. Therefore, as shown in the curve 313, the calculation error of the detected flow can be significantly reduced.
[0065] Thus, the air flow sensor of this embodiment can appropriately switch the gain term according to the magnitude of the correction amount and the threshold value, and appropriately allocate the input value to the bit position of the flow area to be expressed. As a result, the calculation unit can focus on improving the calculation resolution in the correction amount area requiring high calculation accuracy.
[0066] The operation unit 110 may have a threshold for the air flow detection value X (raw data) and switch the gain term used in the operation according to whether the detection value is above the threshold, i.e., high flow, or below the threshold, i.e., low flow.
[0067] With such an air flow sensor, the calculation unit can also improve the calculation resolution mainly in the correction amount region requiring high calculation accuracy, similar to the case where a threshold value is provided for the correction amount ΔX. Alternatively, a threshold value may be provided for the scaled detection value X1.
[0068] Fig.10 This is a diagram showing an example of the internal structure of the calculation unit 110 in the air flow sensor 100 when the detection value X1 has a threshold value. As shown in the figure, the calculation unit 110 switches the gain term used in the calculation according to the case where the detection value X1 after the scale conversion is above the threshold value (i.e., the case of high flow rate) and the case where it is less than the threshold value (i.e., the case of low flow rate). With such an air flow sensor, the calculation resolution can be improved emphatically in the correction amount area requiring high calculation accuracy.
[0069] In addition, in the above embodiment, the case where the computational resolution is focused on improving the low flow area and the high flow area is described, but the present invention can also focus on improving the computational resolution in the medium flow area, for example. Specifically, in the above scale transformation, the shape of the curve after the scale transformation is adjusted to the required shape by using an m-order expression (m is an integer greater than 3), and then setting a threshold value for the correction amount ΔX, thereby focusing on improving the computational resolution in the medium flow area.
[0070] The embodiments of the present invention are described in detail above, but the present invention is not limited to the above embodiments, and various design changes can be made within the scope of the technical concept of the present invention. For example, the above embodiments are described in detail in order to explain the present invention in an easy-to-understand manner, but are not limited to all the structures described. In addition, a part of the structure of a certain embodiment can be replaced with the structure of other embodiments or variations, and the structure of other embodiments can be added to the structure of a certain embodiment. For a part of the structure of each embodiment, other structures can be added, deleted, or replaced.
[0071] Description of Reference Numerals
[0072] 100 : air flow sensor (physical quantity detection device), 110 : calculation unit, 120 : memory, 150 : correction map, 160 : bias term, 170 , 180 , 190 : gain term.
Claims
1. A physical quantity detection device, characterized in that: include: A physical quantity detection sensor, which detects the physical quantity of the gas being measured; a storage unit recording a correction amount corresponding to a detection value of the physical quantity detection sensor; and A calculation unit that uses the detection value and the correction amount to adjust the output of the detection value, wherein: The resolution of the storage unit is lower than the calculation resolution of the calculation unit. In the computing unit, Using the detection value of the physical quantity detection sensor, a scale conversion is performed to reduce the data range of the correction amount. In the computing unit, performing a calculation to reduce a resolution difference between a resolution of the storage unit and a calculation resolution of the calculation unit on the correction amount obtained by reference from the storage unit, The predetermined calculation expression used in the calculation is switched according to the relationship between the calculated value obtained by the scaling and a predetermined threshold value for the calculated value.
2. The physical quantity detection device according to claim 1, characterized in that: In the computing unit, The scaling is performed using a primary expression.
3. A physical quantity detection device, characterized in that: include: A physical quantity detection sensor, which detects the physical quantity of the gas being measured; a storage unit recording a correction amount corresponding to a detection value of the physical quantity detection sensor; and A calculation unit that uses the detection value and the correction amount to adjust the output of the detection value, wherein: The resolution of the storage unit is lower than the calculation resolution of the calculation unit. In the computing unit, performing a calculation to reduce a resolution difference between a resolution of the storage unit and a calculation resolution of the calculation unit on the correction amount obtained by reference from the storage unit, In the computing unit, The predetermined calculation expression used in the calculation is switched according to the relationship between the correction amount and a predetermined threshold value for the correction amount.
4. A physical quantity detection device, characterized in that: include: A physical quantity detection sensor, which detects the physical quantity of the gas being measured; a storage unit recording a correction amount corresponding to a detection value of the physical quantity detection sensor; and A calculation unit that uses the detection value and the correction amount to adjust the output of the detection value, wherein: The resolution of the storage unit is lower than the calculation resolution of the calculation unit. In the computing unit, performing a calculation to reduce a resolution difference between a resolution of the storage unit and a calculation resolution of the calculation unit on the correction amount obtained by reference from the storage unit, In the computing unit, The predetermined calculation expression used in the calculation is switched according to the relationship between the detection value of the physical quantity detection sensor and a predetermined threshold value for the detection value.
5. The physical quantity detection device according to claim 4, characterized in that: In the computing unit, When the detection value is greater than or equal to the threshold value, selecting the calculation formula for allocating information to the upper bit side of the data range of the calculation resolution, When the detection value is smaller than the threshold value, the calculation formula for allocating information to the lower bit side of the data range of the calculation resolution is selected.
