This application is based on Japanese patent application No. 2016-085203 filed on Apr. 21, 2016, the whole contents of which are incorporated herein by reference.
The present disclosure relates to an electronic control unit, which has a digital/analog (D/A) conversion function for performing D/A conversion processing.
An electronic control unit is made capable of performing various controls flexibly with its control part being configured for digital control. For this reason, a D/A converter circuit is preferably used. The D/A converter circuit converts digital data into analog signals. For example, according to JP 4110681, D/A conversion is performed by splitting digital data into a more-significant bit group and a less-significant bit group. According to JP 2004-93289A (US 2004/0045823 A1), a D/A conversion circuit is used in a gas concentration detecting device.
In case of a low-resolution D/A conversion circuit, radio frequency components enter into a sensor and become a noise source. It is preferred to use a high-resolution D/A conversion circuit to minimize such a radio noise. JP 4110681 proposes a high-resolution D/A conversion circuit. However, this proposal needs two D/A conversion circuits in case that a pair of analog signals is applied as a differential voltage to a signal application target by D/A converting a pair of input digital data. Since errors in respective element string circuits are added, a detection target voltage tends to include a large error. Since each of the D/A conversion circuits has an error, D/A conversion accuracy will be lowered.
It is therefore an object to provide an electronic control unit having a D/A conversion function, which enables application of a differential voltage with high accuracy and least D/A conversion error.
An electronic control unit, which outputs a pair of analog signals to a signal application target as a differential voltage in correspondence to a pair of input digital data, comprises a pair of D/A conversion circuits for performing D/A conversion processing of converting the pair of input digital data to the pair of analog signals. Each of the D/A conversion circuits performs conversion processing thereof separately by splitting the input digital data into a more-significant digital data and at least one less-significant digital data. The D/A conversion circuit includes a more-significant D/A conversion part and a less-significant D/A conversion part. The more-significant D/A conversion part includes a more-significant element string circuit, which outputs a divided voltage by dividing a predetermined reference voltage and outputs a maximum value and a minimum value of an absolute voltage, which are different each other in correspondence to the more-significant digital data, by performing analog conversion processing in correspondence to the more-significant digital data. The less-significant D/A conversion part performs analog conversion processing by using, as reference voltages, the maximum value and the minimum value of the absolute voltage outputted from the more-significant D/A conversion part. The more-significant element string circuit is shared by the more-significant D/A conversion parts of the pair of D/A conversion circuits.
An electronic control unit will be described below with reference to several embodiments shown in the drawings. In each of the embodiments described below, structural parts for performing the same or similar operations are designated with the same or similar reference numerals for simplification of description. It is noted that the same or similar structural parts in the embodiments described below are identified with the same reference signs in the ten's place and one's place of the reference sign.
When the control part 3 outputs a pair of digital data Dx1 and Dx2 to the common D/A converter 4 as first and second command signals, the common D/A converter 4 performs digital-to-analog conversion processing of the pair of digital data Dx1 and Dx2 and applies a pair of conversion-resulting analog signals to the voltage buffers 5 and 6, respectively. The first voltage buffer 5 is formed of a voltage follower circuit of high input impedance and low out impedance. The voltage buffer 5 applies the analog signal of one digital data Dx1, which is produced by the analog conversion processing of the common D/A converter 4, to a high-side terminal 2a of the air-fuel ratio sensor 2 through an output terminal 1a.
The second voltage buffer 6 is also formed of a voltage follower circuit. Its output is connected to a low-potential terminal 2b of the air-fuel ratio sensor 2 through a resistor 7 and an output terminal 1b. The voltage buffer 6 applies the analog signal of the other digital data Dx2, which is produced by the analog conversion processing of the common D/A converter 4, to the low-side terminal 2b of the air-fuel ratio sensor 2 through the resistor 7. Thus a differential voltage between the analog signals applied to the sensor terminals 2a and 2b is applied as a bias voltage to the air-fuel ratio sensor 2. The control part 3 is formed of a digital signal processor (DSP), for example, and operates based on programs stored in a built-in memory part 3a. The memory part 3a is a volatile memory or a non-volatile memory such as a flash memory, for example.
The resistor 7 is provided in a current supply path for the air-fuel ratio sensor 2 to detect a sensor current, which flows in the air-fuel ratio sensor 2. The A/D converter 8 receives terminal voltages of the resistor 7, performs analog-to-digital conversion processing and outputs a digital conversion result to the control part 3. The control part 3 outputs the pair of digital data Dx1 and Dx2 to the common D/A converter 4 as command signals based on the digital conversion results. Thus a supply voltage to the air-fuel ratio sensor 2 is regulated by feedback control.
A voltage-current (V-I) characteristic of the air-fuel ratio sensor 2 is shown in
A characteristic line XO indicated by a one-dot chain line in
As shown in
The more-significant digital data applied to the more-significant D/A conversion parts 11 and 15 are assumed to be Du1 and Du2 of “n1” bits. The less-significant digital data applied to the less-significant D/A conversion parts 14 and 18 are assumed to be Dd1 and Dd2 of “n2” bits. In the first embodiment, although the digital data is split into two parts of a more-significant part and a less-significant part, it may be split into three or more parts. It is noted that, the more-significant data and circuit elements for the more-significant data are identified by using a sign “u” indicating an upside (higher bit side) and the less-significant data an circuit elements for the less-significant data are identified by using a sign “d” indicating a downside (lower bit side).
The more-significant D/A conversion part 11 includes a first more-significant decoder 19 and a second more-significant switch-over circuit 20 for the first more-significant digital data Du1. The second more-significant D/A conversion part 15 includes a second more-significant decoder 21 and a second more-significant switch-over circuit 22 for the second more-significant digital data Du2. The pair of more-significant A/D conversion parts 11 and 15 is configured to share an element string circuit 23, which is provided as a common element string circuit or a more-significant element string circuit for the more-significant A/D conversion parts 11 and 15. The pair of more-significant A/D conversion parts 11 and 15 is configured in a resistor string form, that is, a series-connected resistor circuit.
The element string circuit 23 is formed of a voltage-dividing resistor circuit, which divides reference voltages VREFP and VREFM applied to reference voltage terminals 24 and 25. The element string circuit 23 includes, for example “2n1” units of voltage-dividing resistors R1 to Rx connected between the reference voltage terminals 24 and 25. Each of the voltage-dividing resistors R1 to Rx is set to have the same resistance value. In this arrangement, the divided voltage in the element string circuit 23 is defined as follows.
V(Na)=VREFM+(a−1)×(VREFP−VREM)/2n1 (1)
Here, “a” is between 1 and 2n1 (1≦a≦2n1) and a node Na between resistors is an “a” th terminal node form the bottom of the voltage dividing circuit, which forms the element string circuit 23 (refer to nodes N1 to Nx shown in
The first and second D/A conversion circuits 9 and 10 have the symmetrical configuration with each other except for the element string circuit 23, which is shared. For this reason, detailed circuit connection and circuit operation of the D/A conversion circuit, which are the same, will be described with respect to only the first D/A conversion circuit 9 thereby simplifying the description of the second D/A conversion circuit 10.
The more-significant decoders 19 and 21 generate selection signals in correspondence to the more-significant digital data Du1 and Du2 applied thereto and output the selection signals to the more-significant switching circuits 20 and 22, respectively. The first and second more-significant decoders 19 and 21 are configured to output to the first and second less-significant decoders 26 and 29 first and second control signals, which indicate a state that the more-significant bits become an odd number and even number (that is, the least-significant bit data D4 of the more-significant digital data Du1 and Du2 become 0 or 1), respectively.
The more-significant switch-over circuit 20 is configured to include switches SWu1 to SWux, which switch-over signals of nodes N1 to Nx to be outputted. The more-significant switch-over circuit 20 receives the selection signal of the more-significant decoder 19 and outputs a divided voltage of the voltage-dividing resistors R1 to Rx of the element string circuit 23. The more-significant switch-over circuit 20 is configured to output voltages, which are different from each other in an absolute voltage range when the more-significant digital data Du1 are different, in accordance with the more-significant digital data. Similarly, the more-significant switch-over circuit 22 is configured to output voltages, which are different from each other in an absolute voltage range, when the more-significant digital data Du2 are different, in accordance with the more-significant digital data Du2. Detailed configuration of the more-significant switch-over circuit 22 will not be described.
The more-significant switch-over circuit 20 simultaneously turns on a pair of switches (for example, SWu1-SWu2, SWu2-SWu3, and the like), which are adjacent in
When the more-significant digital data Du1 increases from 0 to 2n1−1 in succession, the more-significant switch-over circuit 20 switches over to sequentially output from the terminal voltage of the least-significant voltage-dividing resistor R1, terminal voltage of the next least-significant resistor R2 and finally to terminal voltage of the most-significant voltage dividing resistor Rx−1 in correspondence to the selection signal of the more-significant decoder 19.
When the more-significant digital data Du1 decreases from 2n1−1 to 0 in succession, the more-significant switch-over circuit 20 switches over to sequentially output from the terminal voltage of the voltage-dividing resistor Rx−1, which is one less the most-significant voltage-dividing resistor Rx, to finally terminal voltage of the least-significant voltage dividing resistor R1 in correspondence to the selection signal of the more-significant decoder 19.
For example, when the more-significant digital data Du1 is a maximum value at 4-bit data value 1111, the more-significant decoder 19 outputs the selection signal to output the terminal voltage of the most-significant side resistor Rx−1 in
The buffer circuit 12 receives the voltage outputted from the more-significant switch-over circuit 20. The buffer circuit 12 is connected to receive one of outputs of the nodes N1, N3 and so on in response to turn-on of the odd-numbered switches SWu1, SWu3 and so on.
The buffer circuit 13 also receives the voltage outputted from the more-significant switch-over circuit 20. The buffer circuit 13 is connected to receive one of outputs of the switches SWu1, SWu3 and so on, which are connected to the odd-numbered nodes N1, N3 and so on. Each of the first and second buffer circuits 12 and 13 is configured as a voltage-follower circuit, for example, which has a high input impedance and a low output impedance. Each output of the first and second buffer circuits 12 and 13 is applied to the less-significant D/A conversion part 14 as a reference voltage of the less-significant D/A conversion part 14.
The output of the buffer circuit 12 is applied to a most-significant node Np1 of an element string circuit 28, which is provided as a less-significant element string circuit as opposed to the more-significant element string circuit 23. The output of the buffer circuit 13 is applied to a least-significant node Nm1 of the element string circuit 28 of the less-significant D/A conversion part 14. The output of the buffer circuit 16 is applied to a most-significant node Np2 of the element string circuit 31, which is provided as a less-significant element string circuit similarly to the element string circuit 28. The output of the buffer circuit 17 is applied to a least-significant node Nm2 of the element string circuit 31 of the less-significant D/A conversion part 18.
The less-significant D/A conversion part 14 includes a less-significant decoder 26, a less-significant switch-over circuit 27 and a less-significant second element string circuit 28. The less-significant D/A conversion part 18 includes a less-significant decoder 29, less-significant switch-over circuit 30 and a less-significant second element string circuit 31. The less-significant D/A conversion part 18 has the same configuration as the less-significant D/A conversion part 14. Hence, circuit connection and operation of the less-significant D/A conversion part 18 will not be described. A pair of less-significant D/A conversion parts 14 and 18 also has the resistor string configurations.
The element string circuit 28 is formed of a voltage dividing resistor circuit, which divides voltages applied to nodes Np1 and Nm1 as reference voltages, respectively. The more-significant switch-over circuit 20 includes, for example, 2×n2 units of voltage-dividing resistors Rd1 to Rdx connected between the pair of nodes Np1 and Nm1. Each of the voltage-dividing resistors Rd1 to Rdx is set to have the same resistance value. The element string circuit 28 outputs voltages divided by the voltage dividing resistors Rd1 to Rdx. Here, “b” is between 1 and 2n2 (1:5≦b:≦2n2) and a node Mb is a “b” th terminal node from the bottom of the element string circuit 28. The voltage V(Mb) is different between two cases, that is, “a” is an odd number and “a” is an even number, based on on/off states of the switches SWu1 to SWux of the more-significant switch-over circuit 20 in consideration of the circuit connection between the more-significant D/A conversion part 11 and the voltage buffer circuits 12 and 13. When “a” is the odd number, the voltage V(Mb) is defined as follows.
V(Mb)=V(Na)+(b−1)×{V(Na+1)−V(Na)}/2n2 (2-1)
When “a” is the even number, the voltage V(Mb) is defined as follows.
V(Mb)V(Na)(2n2−b(Na)+(2n2−b)×{V(Na+1)−V(Na)}/2n2 (2-2)
The voltages V(Na+1) and V(Na) indicate the output voltages of the more-significant D/A conversion part 11, respectively. The less-significant decoder 26 generates a selection signal in correspondence to the less-significant digital data Dd1 and outputs it to the less-significant switch-over circuit 27. The less-significant switch-over circuit 27 includes switches SWd1 to SWdx, which switches over outputting of signals of the nodes M1 to Mx.
The less-significant decoder 26 changes the selection signals, which are to be outputted to the less-significant switch-over circuit 27, in correspondence to the control signal Sc1 applied from the more-significant decoder 19. When the least-significant bit data D4 of the more-significant digital data Du1 satisfies the even number condition and the less-significant digital data Dd1 sequentially increases, the less-significant decoder 26 outputs the selection signals to turn on the switches SWd1 to SWdx of the less-significant switch-over circuit 27, that is, to turn on from a bottom side to a top side in
The less-significant switch-over circuit 27 receives the selection signals of the less-significant decoder 26 and outputs the divided voltages of the voltage dividing resistors Rd1 to Rdx of the element string circuit 28. The less-significant switch-over circuit 27 turns on one of the switches (for example, SWd1) in correspondence to the selection signal of the less-significant decoder 26 and turns off other switches. That is, the less-significant switch-over circuit 27 outputs the divided voltage V by switching.
Planar arrangement of the more-significant element string circuit 23 and the less-significant element string circuits 28 and 31 will be described with reference to
On the planar layout, areas of the less-significant element string circuits 28 and 31 are provided on both sides (right and left in the figure) of an area of the element string circuit 23 to be spaced apart in the X direction. The voltage-dividing resistors R1 to Rx of the element string circuit 23 are arranged on lattice points of n1×n1 lattice in the area of the element string circuit 23. The voltage-dividing resistors R1 to Rx of the element string circuit 28 and the element string circuit 31 are arranged on lattice points of n2×n2 lattice in the areas of the element string circuit 28 and the element string circuit 28, respectively.
In the semiconductor device 33; the element string circuit 23 includes resistor elements 32u, which form the voltage-dividing resistors R1 to Rx. The resistor element 32 is formed by using a wiring layer 34u of a poly-silicone semiconductor layer or a metallic layer.
Each of the element string circuit 28 and the element string circuit 31 also includes resistor elements 32d, which form the voltage-dividing resistors R1 to Rx. The resistor element 32 is formed by using a wiring layer 34d of a poly-silicone semiconductor layer or a metallic layer in the semiconductor device 33.
The wiring layers 34u and 34d are formed to be the same layer. The resistor elements 32u and 32d are provided to extend in the Y direction. Contacts 35u and 36u are provided at both ends of the resistor element 32u in the Y direction. Thus the contacts 35u and 36u enable acquisition of the divided voltages. Contacts 35d and 36d are provided at both ends of the resistor element 32d in the Y direction. Thus the contacts 35d and 36d enable acquisition of the divided voltages.
The wiring layers 34u, which form the voltage-dividing resistors R1 to Rx, have the same widths in the X direction and the same widths in the Y direction. The wiring layers 34d, which form the voltage-dividing resistors Rd1 to Rdx, have the same widths in the X direction and the same widths in Y direction. The voltage-dividing resistors R1 to Rx of the more-significant side and the less-significant side have the same heights in a depth direction (vertical direction to the drawing sheet, that is, perpendicular to both X and Y directions).
Relative relation between the widths of the voltage-dividing resistors R1 to Rx and the voltage-dividing resistors Rd2 to Rdx is defined as follows. Each width of the voltage-dividing resistors R1 to Rx of the more-significant side in the X direction is structured to be wider than that of the voltage-dividing resistors Rd1 to Rdx of the less-significant side. As a result, each cross-sectional area of the voltage-dividing resistors R1 to Rx in the X-Z direction is structured to be wider than that of the voltage dividing resistors Rd1 to Rdx of the less-significant side.
Each cross-sectional area of the voltage-dividing resistors R1 to Rx in the X-Z direction is thus structured to be wider than that of the voltage dividing resistors Rd1 to Rdx of the less-significant side for the reason that a resistance error of the voltage-dividing resistor R1 to Rx of the more-significant side is decreased as little as possible. That is, since a D/A conversion error arising based on the more-significant digital data Du1 is amplified in accordance with the resistance error of the voltage-dividing resistors R1 to Rx of the more-significant side, it is preferred to decrease the error of the resistance for decreasing the D/A conversion error.
In consideration of design rule for manufacturing the wiring layers 34u and 34d, a manufacturing error in a manufacturing process is determined to be a predetermined width. For this reason, a rate of the manufacturing error is decreased by setting the width of the wiring layer 34u in the X direction to be larger than that of the wiring layer 34d in the X direction. The resistance values of the voltage-dividing resistors R1 to Rx are made to be more accurate than the resistance values of the voltage-dividing resistors Rd1 to Rdx.
Further, with this structural setting, the resistance values of the voltage-dividing resistors R1 to Rx of the more-significant side are made to be lower than the resistance values of the voltage-dividing resistors Rd1 to Rdx of the more-significant side. As a result, a time constant determined in combination with input capacitances of the voltage buffer circuits 12 and 13 is decreased and the D/A conversion signal output corresponding to the more-significant digital data Du1 is stabilized quickly.
An A/D conversion output characteristic which corresponds to a pair of input digital data Dx1 and Dx2 of n1+n2 bits (more-significant Du1 and less-significant Dd1, more-significant Du2 and less-significant Dd2), and a voltage applied to the air-fuel ratio sensor 2 will be described with reference to
In case that the voltage-dividing resistors R1 to Rx of the element string circuit 23 generate an error from an ideal standard value indicated by a dotted line in
In the first embodiment, however, the element string circuit 23 of the more-significant D/A conversion parts 11 and 15 is shared by the pair of D/A conversion circuits 9 and 10. For this reason, as shown in
Thus, as shown in
That is, according to the first embodiment, by equalizing errors of the more-significant side voltage-dividing resistors R1 to Rx between the D/A conversion circuits 9 and 10, the conversion error is decreased largely. Further, by applying the differential voltage to the air-fuel ratio sensor 2, the error of the differential voltage corresponding to the more-significant side voltage dividing resistors R1 to Rx is canceled out. As a result, conversion error is minimized remarkably.
Changes in switch-over operations of the more-significant switch-over circuit 20 and the less-significant switch-over circuit 27 performed in response to a control signal Sc1 when the digital data Dx1 is changed to increase continuously will be described in detail with reference to
For simplification of description, the D/A conversion operation of the D/A conversion circuit 9 will be described assuming that the digital data Dx1 is split into digital data Du1 and Dd1, which are more-significant n1 bits (4 bits) and less-significant n2 bits (4 bits) and inputted to the more-significant decoder 19 and the less-significant decoder 26, respectively. Here, the number of bits n1 and n2 of each input digital data Dx1 is not limited to four.
For example, the digital data Dx1 is 0b00000000, the more-significant decoder 19 outputs the on-selection signal to the switches SWu1 and SWu2 of the more-significant switch-over circuit 20 to turn on the switches SWu1 and SWu2 (refer to a pair indicated as A1 in
The more-significant decoder 19 outputs a control signal, which indicates that the more-significant digital data Du1 is an odd number, to the less-significant decoder 26. The less-significant decoder 26 outputs the on-selection signal to the switch SWd1 of the less-significant switching circuit 27 to turn on the switch SWd1. At this time, the output voltage applied to the node Np1 of the buffer circuit 12 is higher than that applied to the node Nm1 of the buffer circuit 13. The output voltage of the buffer circuit 12 is used as the more-significant reference voltage of the less-significant D/A conversion part 14. The output voltage of the buffer circuit 13 is used as the less-significant reference voltage of the less-significant D/A conversion part 14. In this case, the voltage V(M1)=V(N)=VREFM, which is defined by the equation (2-1) assuming that “a” is 1 and “b” is 1, is produced as the analog signal output DAC1 through the switch SWd1.
For example, when the digital data Dx1 is incremented to 0b00000001, the output of the more-significant decoder 19 does not change. The less-significant decoder 26 outputs the on-selection signal to the switch SWd2 of the less-significant switch-over circuit 27 to turn on the switch SWd2 and turns off the other switches. In this case, the voltage V(M2) is defined as V(M2)=VREFM+(1/16)×(VREFP−VREFM)/16 by the equation (2-1) assuming that “a” is 1 and “b” is 2. This voltage V(M2) is produced as the analog signal output DAC1.
When the digital data Dx1 is incremented from 0b00000000 to 0b00001111 sequentially, the less-significant decoder 26 turns on the switches SWd1 to SWdx of the less-significant switch-over circuit 27 in sequence and turns off the other switches, thereby increasing the output voltage of the element string circuit 28 sequentially. The order of switching is indicated by an arrow B1 in
When the digital data Dx1 is incremented to 0b00010000=16, the more-significant decoder 19 outputs the on-selection signals to the switches SWu2 and SWu3 of the more-significant switch-over circuit 20 to turn on the switches SWu2 and SWu3 (refer to the pair indicated by A2 in
At this time, the more-significant switch-over circuit 20 maintains the voltage V(N2), which was previously selected, to be applied to the buffer circuit 12 and switches over the voltage V(N1), which was selected previously, to the voltage V(N3) to be applied to the buffer circuit 12. Thus the voltage defined as V(N2)=VREFM+1/16×(VREFP−VREFM) is applied to the buffer circuit 12. With this voltage V(N2) being maintained to be applied as one reference voltage of the less-significant D/A conversion part 14, the voltage defined as V(N3)=VREFM+1/16×(VREFP−VREFM) is applied to the buffer circuit 13. This voltage V(N3) is applied as the other reference voltage of the less-significant D/A conversion part 14.
With the voltage relation V(N3)>V(N2), the output voltage V(N4) of the buffer circuit 12 is used as the more-significant reference voltage of the less-significant D/A conversion part and the output voltage V(N3) of the voltage buffer circuit 13 is used as the less-significant reference voltage of the less-significant D/A conversion part 14.
When the digital data Dx1 reaches 0b00010000=16, the more-significant digital data Du1 becomes an odd number. For this reason, in response to the control signal outputted from the more-significant decoder 19 to the less-significant decoder 26, the less-significant decoder 26 switches over a switch control direction to turn on the switches SWdx to SWd1 of the less-significant switch-over circuit 27 sequentially, that is, from top side to bottom side in
When the digital data Dx1 is incremented from 0b00010000 to 0b00011111 sequentially, the less-significant decoder 26 turns on the switches SWdx to SWd of the less-significant switch-over circuit 27 in sequence and turns off the other switches, thereby increasing the output of the divided voltage sequentially. In this case, the output voltage is indicated mathematically by using the equation (2-2) with the more-significant digital data Du1 is the odd number. When the digital data Dx1 is 0b00010000=16, the voltage V(M16)=V(N2)+1/16×(VREFP−VREFM) is outputted as the analog signal output DAC1 assuming that “a” is 2 and “b” is 16.
When the digital data Dx1 is incremented from 0b00010000 to 0b0001111 sequentially, “b” in the equation (2-2) is decreased to 1 sequentially and the voltages V(M16) to V(M1) indicated by the equation (2-2) are produced as the analog signal outputs DAC1. That is, when the digital data Dx1 is incremented, the output gradually increases from V(M16) to V(M1).
When the digital data Dx1 is incremented to 0b00100000, the most-significant bit data D4 of the more-significant digital data Du1 becomes the even number again. The more-significant decoder 19 outputs the on-selection signals to the switches SWu3 and SWu4 of the more-significant switch-over circuit 20 to turn on the switches SWu3 and SWu4 (refer to a pair indicated as A3 in
The more-significant switching circuits 20 and 22 maintain the voltage V(N3), which was previously selected, to be applied to the buffer circuit 13 and switches over the voltage V(N2), which was selected previously, to the voltage V(N4) to be applied to the buffer circuit 12. Thus the voltage defined as V(N4)=VREFM+3/16×(VREFP−VREFM) is applied to the buffer circuit 12. With this voltage V(N4) being maintained to be applied as one reference voltage of the less-significant D/A conversion part 14, the voltage defined as V(N3)=VREFM+2/16×(VREFP−VREFM) is applied to the buffer circuit 13. This voltage V(N3) is applied as the other reference voltage of the less-significant D/A conversion part 14. With the voltage V(N4)>V(N3), the output voltage V(N4) of the buffer circuit 12 is used as the more-significant reference voltage of the less-significant D/A conversion part 14 and the output voltage V(N3) of the voltage buffer circuit 13 is used as the less-significant reference voltage of the less-significant D/A conversion part 14.
When the digital data Dx1 reaches 0b00010000=16, the more-significant digital data Du1 becomes the odd number. For this reason, in response to the control signal outputted from the more-significant decoder 19 to the less-significant decoder 26, the less-significant decoder 26 switches over a switch control direction to turn on the switches SWd1 to SWdx of the less-significant switch-over circuit 27 sequentially, that is, from the bottom side to the top side in
Accordingly, when the digital data Dx1 is incremented from 0b00010000 to 0b00011111 sequentially, the less-significant decoder 26 turns on the switches SWd1 to SWdx of the less-significant switch-over circuit 27 in sequence and turns off the other switches, thereby increasing the output of the divided voltage sequentially. In this case, the output voltage is indicated mathematically by using the equation (2-1) with the more-significant digital data Du1 is the even number. When the digital data Dx1 is 0b00100000=36, the voltage defined as V(M1)=V(N3)=VREFM+2/16×(VREFP−VREFM) by the equation (2-1) is outputted as the analog signal output DAC1 through the buffer circuit 13 and the switch SWd1 assuming that “a” is 3 and “b” is 1.
The operation described above is repeated as the digital data Dx1 is incremented sequentially. That is, as the digital data Dx1 is increased sequentially, the more-significant switch-over circuit 20 of the more-significant D/A conversion part 11 sequentially turns on the paired switches SWu1 to SWux in an order from A1 to A4 and so on, respectively. The less-significant switch-over circuit 27 of the less-significant D/A conversion part 14 sequentially turns on the switches SWd1 to SWdx in an order from B1 to 84 and so on, respectively. In case that the digital data Dx1 decreases sequentially, the operation is the opposite to the operation of above-described case, in which the digital data Dx1 increases. Its operation will not be described.
For example, at the data points P1 and P3, at which the more-significant digital data Du1 changes from the even number to the odd number, the input to the buffer circuit 13 switches over and the input to the buffer circuit 12 does not switch over between the pair of buffer circuits 12 and 13. The input switch-over is opposite at the data points P2 and P4, at which the more-significant digital data changes from the odd number to the even number. For this reason, since the more-significant switch-over circuit 20 and the less-significant switch-over circuit 27 switches over the switches as described above, the change rate of the output voltage relative to the input digital data at the data points P1 to P4 is decreased. Thus the influence of offsets of the voltage buffer circuits 12 and 13 is decreased and hence the input-output linearity at the switch-over points P1 to P4 of the input digital data Dx1 is improved.
As described above, since the element string circuit 23 is shared by the pair of D/A conversion parts 11 and 15 in the first embodiment, the D/A conversion errors of the more-significant digital data Du1 and Du2 arising from the error of the element string circuit 23 are made to match between the pair of more-significant D/A conversion parts 11 and 15 thus decreasing the D/A conversion error arising from the more-significant digital data Du1 and Du2. Accordingly, in case that the less-significant D/A conversion parts 14 and 18 perform the analog conversion processing in correspondence to the less-significant digital data Dd1 and Dd2 by using as the reference voltages the maximum value and the minimum value in the range of the absolute voltages, which the more-significant D/A conversion parts 11 and 15 output, the D/A conversion error does not become large even when the conversion error is present in the less-significant digital data Dd1 and Dd2. It is thus possible to apply the differential voltage of high accuracy to the sensor terminals 2a and 2b of the air-fuel ratio sensor 2. Further, it possible to decrease a space for circuit arrangement because the element string circuit 23 is shared by the D/A conversion circuits 9 and 10.
When the more-significant digital data Du1 is incremented, the more-significant switch-over circuits 20 and 22 input one voltage, for example V(N2), which was selected previously, to the buffer circuit 12 as one reference voltage, and switches over the other voltage from V(N1) to V(N3) to be inputted to the second buffer circuit 13 as the other reference voltage.
When the more-significant digital data Du1 is incremented further, the more-significant switch-over circuits 20 and 22 input the other voltage, for example V(N3), which was selected previously, to the buffer circuit 13 as the other reference voltage, and switches over the voltage, which was selected previously, from V(N2) to V(N4) to be inputted to the first buffer circuit 12 as one reference voltage. As a result, it is possible to decrease the influence of the offsets of the voltage buffer circuits 12 and 13 and improve the input-output characteristic of the input digital data Dx1 at the switch-over points P1 to P4.
The resistors R1 to Rx of the element string circuit 23 of the more-significant D/A conversion part 11 have higher accuracy than the resistors Rd1 to Rdx of the element string circuit 28 of the less-significant D/A conversion part 14. It is therefore possible to reduce the conversion error based on the more-significant digital data Du1 and Du2.
The element string circuit 23 is formed of the semiconductor device 33, which uses the voltage-dividing resistor circuit of the voltage-dividing resistors R1 to Rx. The more-significant D/A conversion parts 11 and 15 are configured such that a cross-sectional area, through which the current passes the voltage-dividing resistors R1 to Rx of the element string circuit 23, is larger than that of the element string circuit 28 of the less-significant D/A conversion parts 14 and 18. It is therefore possible to decrease the resistance value of the voltage-dividing resistors R1 to Rx of the more-significant element string circuit 23 and increase the response speed.
In this example, as shown in
As shown in
As shown in
The node Np1 is connected to one ends of the switches Sad1 to Sadx. The node Nm1 is connected to one ends of the switches Sbd1 to Sbdx. The other ends of the switches Sad1 to Sadx and the other ends of the switches Sbd1 to Sbdx are connected in common. The common connection points of the switches Sad1 to Sadx and Sbd1 to Sbdx and the resistors Rr3, Rr6, Rr9 and Rrx−1 are connected. The resistors Rr1, Rr2, Rr5, Rr8 and Rr11 are connected in series between the node Nm1 and the terminal of the analog signal output DAC1. The resistors Rr3 and Rr4 are connected in series between a common connection point of the switches Sad1 and Sbd1 and a common connection point of the resistors Rr2 and Rr5. The resistors Rrx−1 and Rrx are connected in series between a common connection point of the switches Sadx and Sbdx and a common connection point of the resistors Rrx and Rr11. The other resistors are connected as shown in
The less-significant D/A conversion part 318 includes the less-significant decoder 29, a less-significant switch-over circuit 330 and an element string circuit 331. The less-significant switch-over circuit 330 and the element string circuit 331 of the less-significant D/A conversion part 318 have the same configuration as the less-significant switch-over circuit 327 and the element string circuit 328 of the less-significant D/A conversion part 314. For this reason, the less-significant D/A conversion part 318 is shown with the same reference signs as the resistors Rr1 to Rrx as well as the switches Sad1 to Sadx and Sbd1 to Sbdx, thereby simplifying the detailed description.
For easy understanding, all the resistors Rr1 to Rrx forming the element string circuit 328 are illustrated as having the same resistance values. Since the D/A conversion circuit of R-2R ladder is conventional, detailed description about its operation will not be made. The third embodiment also provides the same operation and advantages as the foregoing embodiments.
The electronic control unit is not limited to the embodiments described above and may be implemented with various modifications as exemplified below.
The electronic control unit is exemplified as the signal processing unit 1 for the air-fuel ratio sensor 2. It may however be exemplified as a device, which uses the common D/A converters 4, 104, 204 and 304 or as a single device.
The first and second input digital data Dx1 and Dx2 are split into the more-significant digital data Du1 and Du2 of n1 bits and less-significant digital data Dd1 and Dd2 of n2 bits. However, as far as the element string circuits 23 and 123 are shared by the pair of more-significant D/A conversion parts 11 and 15 or the more-significant D/A conversion parts 111 and 115, the D/A conversion processing may be performed stage by stage by further splitting the less-significant digital data Dd1 and Dd2 into two or more stages. That is, the D/A conversion may be performed by splitting the digital data in a total of three or more stages.
The plural embodiments described above may be combined. For example, the third embodiment may be combined to the first embodiment.
Number | Date | Country | Kind |
---|---|---|---|
2016-85203 | Apr 2016 | JP | national |