WO2015178008A1 - A/d変換回路 - Google Patents

A/d変換回路 Download PDF

Info

Publication number
WO2015178008A1
WO2015178008A1 PCT/JP2015/002487 JP2015002487W WO2015178008A1 WO 2015178008 A1 WO2015178008 A1 WO 2015178008A1 JP 2015002487 W JP2015002487 W JP 2015002487W WO 2015178008 A1 WO2015178008 A1 WO 2015178008A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
voltage
signal
output
pulse
Prior art date
Application number
PCT/JP2015/002487
Other languages
English (en)
French (fr)
Inventor
幸彦 谷澤
Original Assignee
株式会社デンソー
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社デンソー filed Critical 株式会社デンソー
Priority to US15/117,246 priority Critical patent/US9608659B2/en
Priority to DE112015002355.0T priority patent/DE112015002355B4/de
Publication of WO2015178008A1 publication Critical patent/WO2015178008A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/34Analogue value compared with reference values
    • H03M1/38Analogue value compared with reference values sequentially only, e.g. successive approximation type
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/0617Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
    • H03M1/0619Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by dividing out the errors, i.e. using a ratiometric arrangement
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/1205Multiplexed conversion systems
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/50Analogue/digital converters with intermediate conversion to time interval

Definitions

  • the present disclosure relates to an A / D conversion circuit using a pulse circuit in which delay units are connected in a ring shape.
  • a / D conversion circuit of a type called time A / D (TAD) having a pulse circuit has been proposed (see, for example, Patent Document 1).
  • the pulse circulation circuit is configured by connecting delay units that output an input pulse signal by delaying it by a delay time corresponding to a power supply voltage in a ring shape.
  • the A / D conversion circuit applies an analog input voltage to be A / D converted as the power supply voltage of the delay unit, counts the number of times of the pulse signal in the pulse circulation circuit, and based on the count value, the A / D Conversion data is obtained.
  • a TAD type A / D conversion circuit can be configured by digital circuit elements such as a gate, has many advantages such as a relatively simple circuit configuration and low cost.
  • the TAD type A / D conversion circuit does not have good linearity of A / D conversion data (there is non-linearity). This is because the transfer characteristic of the pulse circuit (relationship between the power supply voltage and the number of circulations per unit time) is not linear but can be approximated by a quadratic function. Therefore, in the configuration described in Patent Document 1, the non-linearity is completely canceled by combining two pulse circulation circuits, and the linearity of the A / D conversion data is ensured.
  • This disclosure is intended to provide an A / D conversion circuit that can correct non-linearity of an analog input voltage without performing a digital operation.
  • an A / D conversion circuit that outputs A / D conversion data corresponding to a difference between an analog input voltage and a reference voltage delays an input signal by a delay time determined according to a power supply voltage.
  • a plurality of delay units connected in a ring shape, and a first pulse circulation circuit and a second pulse circulation circuit that circulate the pulse signal through these delay units, and a cycle of the pulse signal in the first pulse circulation circuit Output a difference data measurement unit that counts the number of times and the number of times the pulse signal is circulated in the second pulse circuit and outputs the difference value; and a conversion data output processing signal that determines the timing for ending the A / D conversion,
  • a conversion control circuit for outputting a difference value output from the lap difference measurement unit at that time as A / D conversion data for the analog input voltage; and the analog A voltage obtained by subtracting the reference voltage from the force voltage is set as a differential voltage, and a voltage obtained by adding the first differential voltage obtained by multiplying the differential voltage by a first proportionality factor and
  • the A / D conversion circuit described above is configured in the same manner as the configuration of the prior art described above, except for the signal ratio changing circuit. Therefore, it is possible to obtain an effect substantially equivalent to the configuration of the prior art, that is, an effect of canceling the non-linearity of TAD.
  • the signal ratio changing circuit since the signal ratio changing circuit is provided, the applied voltages to the respective delay units of the first and second pulse circuit circuits are inverted in polarity and have different absolute values. Therefore, in the configuration of this means, only a part of the non-linearity of TAD is canceled.
  • the balance of the absolute value of the applied voltage to each delay unit of the first and second pulse circuit is arbitrarily set by two proportional coefficients in the signal ratio changing circuit, that is, the first proportional coefficient and the second proportional coefficient. be able to. That is, this means is configured to be able to arbitrarily vary the non-linearity of TAD.
  • FIG. 1 is an overall configuration diagram of an A / D conversion circuit showing a first embodiment.
  • FIG. 2 is a diagram illustrating a specific configuration example of the A / D conversion circuit.
  • FIG. 3 is a block diagram of a digital variable resistor.
  • FIG. 4 is a configuration diagram of an analog multiplexer.
  • FIG. 5 is a block diagram of the up / down counter.
  • FIG. 6 is a timing chart of the up / down counter.
  • FIG. 7 is a diagram showing the relationship between the voltage applied to the pulse circuit and the number of turns per unit time.
  • FIG. 8 is a diagram for explaining the definition of nonlinearity in the A / D conversion circuit.
  • FIG. 9A to FIG. 9C are diagrams showing the relationship between the input voltage and nonlinearity.
  • FIG. 10 is a diagram showing the relationship between the amplification factor ratio and nonlinearity.
  • FIG. 11 is a diagram for explaining the definition of nonlinearity in the sensor.
  • FIG. 12 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the second embodiment.
  • FIG. 13 is a diagram illustrating a configuration example of a pressure sensor using a piezoresistance effect
  • FIG. 14 is a diagram illustrating a configuration example of a current sensor using a magnetoresistive element.
  • FIG. 15 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the third embodiment.
  • FIG. 16 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the fourth embodiment.
  • FIG. 17 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the fifth embodiment.
  • FIG. 18 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the sixth embodiment.
  • FIG. 19 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the seventh embodiment.
  • FIG. 20 is a diagram illustrating a specific configuration example of the A / D conversion circuit in the eighth embodiment.
  • FIG. 21 is a diagram illustrating a configuration example of a fully differential amplifier circuit.
  • FIG. 22 is a diagram illustrating a configuration example of the first differential pair circuit unit in FIG.
  • FIG. 23 is a diagram illustrating a circuit configuration example of the analog switch of FIG.
  • FIG. 24 is a diagram illustrating a configuration example of the bias generation circuit of FIG.
  • FIG. 1 shows a schematic configuration of an A / D conversion circuit of this time A / D (TAD) system.
  • An A / D conversion circuit 1 shown in FIG. 1 is formed by a MOS manufacturing process in a semiconductor integrated circuit device such as a microcomputer mounted in an electronic control unit (ECU) of an automobile or a sensor product having a digital communication function with the ECU. It is formed.
  • the A / D conversion circuit 1 receives an analog signal output from a sensor or the like, converts the analog input voltage Vin (converted voltage) into a digital value corresponding to the difference from the reference voltage Vref, and converts the analog value to A / D Output as D conversion data DT.
  • the A / D conversion circuit 1 includes a signal ratio change circuit 2, a circulation number difference measurement unit 3, a conversion control circuit 4, a first circulation position detection circuit 5, a second circulation position detection circuit 6, a first pulse circulation circuit 31, A two-pulse circuit 32 is provided.
  • the signal ratio changing circuit 2 inputs an analog input voltage Vin and a reference voltage Vref.
  • the signal ratio changing circuit 2 includes a first output terminal that outputs a voltage obtained by adding the first differential voltage to the reference voltage Vref, and a second output terminal that outputs a voltage obtained by subtracting the second differential voltage from the reference voltage Vref. Yes.
  • the first and second output terminals of the signal ratio changing circuit 2 are connected to power supply lines 7 and 8, respectively.
  • the proportional coefficients A1 and A2 may be 1 or more (amplification) or less than 1 (attenuation).
  • the signal ratio changing circuit 2 may be configured using an amplifier circuit or the like. Further, when the proportional coefficients A1 and A2 are less than 1 (attenuation), the signal ratio changing circuit 2 may be configured using a voltage dividing circuit using a resistor.
  • the first and second pulse circulation circuits 31 and 32 are configured by connecting a plurality of delay units that output an input signal by delaying the input signal by a delay time determined according to the power supply voltage. Is configured to circulate.
  • the delay unit of the first pulse circuit 31 is configured to receive a power supply voltage from the power supply line 7 and the ground line 9.
  • the delay unit of the second pulse circuit 32 is configured to receive power supply voltage from the power supply line 8 and the ground line 9.
  • the circulation number difference measuring unit 3 counts the number of circulations of the pulse signal in the first pulse circuit 31 and the number of circulations of the pulse signal in the second pulse circuit 32 and outputs the difference value. At this time, the frequency difference measuring unit 3 receives a pulse signal from a delay unit (for example, Nx at the final stage) in which the delay unit of the first pulse delay circuit 31 and the delay unit of the second pulse delay circuit 32 are arranged at the same position. Counts up and down every time.
  • a delay unit for example, Nx at the final stage
  • the conversion control circuit 4 is supplied with a start pulse SP and a reset pulse RP given from the outside. Based on these pulses and the like, the conversion control circuit 4 determines the timing for starting and ending the A / D conversion, and outputs A / D conversion data DT.
  • the first circulation position detection circuit 5 detects the pulse position in the first pulse circulation circuit 31 at the timing when the A / D conversion ends.
  • the second circulation position detection circuit 6 detects the pulse position in the second pulse circulation circuit 32 at the timing when the A / D conversion ends.
  • the signal ratio changing circuit 2 includes fully differential amplifier circuits 11 to 14 and variable resistors 15 to 18.
  • the fully differential amplifier circuits 11 and 13 correspond to a first amplifier circuit
  • the fully differential amplifier circuits 12 and 14 correspond to a second amplifier circuit.
  • the fully differential amplifier circuits 11 to 14 each include a common mode feedback circuit that operates so that the average value of the non-inverted output voltage and the inverted output voltage (center voltage of the differential output) becomes a constant value.
  • the average value is set to the voltage input to the Vref terminal, and the reference voltage Vref is input to each Vref terminal of the fully differential amplifier circuits 11 to 14. Therefore, the center voltage of the differential outputs of the fully differential amplifier circuits 11 to 14 is equal to the reference voltage Vref.
  • the analog input voltage Vin is applied to the non-inverting input terminal of the fully differential amplifier circuit 11.
  • the inverting input terminal of the fully differential amplifier circuit 11 is connected to the common terminal c of the variable resistor 15.
  • the non-inverting output terminal of the fully differential amplifier circuit 11 is connected to the power supply line 7 and to the terminal b of the variable resistor 15.
  • the inverting output terminal of the fully differential amplifier circuit 11 is not connected.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 15.
  • the analog input voltage Vin is applied to the non-inverting input terminal of the fully differential amplifier circuit 12.
  • the inverting input terminal of the fully differential amplifier circuit 12 is connected to the common terminal c of the variable resistor 16.
  • the inverting output terminal of the fully differential amplifier circuit 12 is connected to the power supply line 8.
  • the non-inverting output terminal of the fully differential amplifier circuit 12 is connected to the terminal b of the variable resistor 16.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 16.
  • the set voltage Vset is applied to the non-inverting input terminal of the fully differential amplifier circuit 13.
  • the inverting input terminal of the fully differential amplifier circuit 13 is connected to the common terminal c of the variable resistor 17.
  • the non-inverting output terminal of the fully differential amplifier circuit 13 is connected to the power supply line 19 and to the terminal b of the variable resistor 17.
  • the inverting output terminal of the fully differential amplifier circuit 13 is not connected.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 17.
  • a set voltage Vset is applied to the non-inverting input terminal of the fully differential amplifier circuit 14.
  • the inverting input terminal of the fully differential amplifier circuit 14 is connected to the common terminal c of the variable resistor 18.
  • the inverting output terminal of the fully differential amplifier circuit 14 is connected to the power line 20.
  • the non-inverting output terminal of the fully differential amplifier circuit 14 is connected to the terminal b of the variable resistor 18.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 18.
  • variable resistors 15 to 18 are configured such that the ratio of the resistance between the terminals a and c and the resistance between the terminals bc can be varied while the resistance between the terminals a and b is constant.
  • the ratio of the resistances of the variable resistors 15 and 17 is the same and changes in conjunction. Further, the resistance ratios of the variable resistors 16 and 18 are the same and change in conjunction with each other.
  • the fully differential amplifier circuit 11 outputs a voltage represented by the following expression (1) from the non-inverting output terminal.
  • A1 is an amplification factor determined by the resistance value R1 between the terminals ac of the variable resistor 15 and the resistance value R2 between the terminals bc.
  • ⁇ V is a differential voltage obtained by subtracting the reference voltage Vref from the analog input voltage Vin.
  • Output voltage of fully differential amplifier circuit 12 Vref ⁇ A2 ⁇ ⁇ V (2) Accordingly, the non-inverting output terminal of the fully differential amplifier circuit 11 corresponds to the first output terminal of the signal ratio changing circuit 2, and the inverting output terminal of the fully differential amplifier circuit 12 is the second output of the signal ratio changing circuit 2. Corresponds to the terminal.
  • the output voltages of the fully differential amplifier circuits 13 and 14 can also be expressed by the above equations (1) and (2). However, in this case, ⁇ V is a differential voltage obtained by subtracting the reference voltage Vref from the set voltage Vset.
  • variable resistors 15 to 18 for example, digital variable resistors (digital potentiometers) as shown in FIG. 3 can be used.
  • the digital variable resistor shown in FIG. 3 includes a plurality of resistors 21 and an analog multiplexer 22 that sets a connection form of the plurality of resistors 21 by a digital signal (adjustment data) input from the outside.
  • the analog multiplexer 22 has a circuit configuration in which a plurality of analog switches and inverters (NOT circuits) are combined, and a signal is input from the selector 23 to these.
  • the analog switch has a configuration in which a P-channel MOS transistor and an N-channel MOS transistor are connected in parallel.
  • the amplification factor A1 of the fully differential amplifier circuit 11 corresponds to the proportionality coefficient (first proportionality coefficient) of the differential voltage ⁇ V and the first differential voltage
  • the amplification factor A2 of the fully differential amplification circuit 12 Corresponds to the proportionality coefficient (second proportionality coefficient) of the differential voltage ⁇ V and the second differential voltage.
  • the variable resistors 15 and 16 correspond to a signal ratio adjusting device that adjusts these proportional coefficients.
  • the A / D converter circuit 1 includes a third pulse circuit 33 and a fourth pulse circuit 34 in addition to the first and second pulse circuits 31 and 32 described above. . That is, the A / D conversion circuit 1 includes four pulse circulation circuits.
  • the pulse circulation circuits 31 to 34 are configured by connecting a plurality of and the same number of inversion circuits Na, Nb,..., Nx (delay units) that output an input signal by delaying it by a delay time determined according to the power supply voltage. Has been.
  • the inverting circuit Na is composed of a NAND gate, and the inverting circuits Nb to Nx are composed of an inverter.
  • the inverting circuits Nb to Nx included in the pulse circuit 31 to 34 are formed in a state of being thermally coupled to each other.
  • the pulse signal circulates in the inverting circuits Na to Nx at a speed determined according to the power supply voltage.
  • the first pulse circuit 31 and the second pulse circuit 32 operate as a pair, and the third pulse circuit 33 and the fourth pulse circuit 34 operate as a pair.
  • the inverting circuits Na to Nx of the first pulse circuit 31 are supplied with the power supply voltage from the power supply line 7 and the ground line 9.
  • the inverting circuits Na to Nx of the second pulse circuit 32 are supplied with the power supply voltage from the power supply line 8 and the ground line 9.
  • the inverting circuits Na to Nx of the third pulse circuit 33 are supplied with the power supply voltage from the power supply line 19 and the ground line 9.
  • the inverting circuits Na to Nx of the fourth pulse circuit 34 are supplied with the power supply voltage from the power supply line 20 and the ground line 9.
  • the reference voltage Vref is an intermediate potential of a voltage Vcc (for example, 5 V) applied to the A / D conversion circuit 1, for example, a voltage (Vcc / 2) that is 1/2.
  • a bypass capacitor Cp is provided between each of the power supply lines 7, 8, 19, 20 and the ground line 9, in order to prevent a voltage drop due to an instantaneous through current when the inverting circuits Na to Nx are inverted.
  • the circuit parts excluding the pulse circuit 31 to 34 operate by receiving the supply of the voltage Vcc. Since the voltage Vcc is different from the power supply voltages of the pulse circulation circuits 31 to 34, a level shift circuit is required to input and output signals to the pulse circulation circuits 31 to 34.
  • An input level shift circuit 35 is provided in front of the inverting circuit (NAND gate) Na of the pulse circuit 31 to 34.
  • An output level shift circuit 36 is provided after the inverting circuit Nx of the pulse circuit 31-34.
  • the first pulse circuit 31 and the second pulse circuit 32 include a first circuit position detection circuit 5 for detecting a pulse position in the pulse circuit when the conversion data output processing signal Sa described later is output, and A second circuit position detection circuit 6 is provided.
  • the first round position detection circuit 5 includes a latch & encoder 37 and an output level shift circuit 38.
  • the second round position detection circuit 6 includes a latch & encoder 39 and an output level shift circuit 40.
  • the latch & encoder 37 inputs the output signals of the inverting circuits Na to Nx of the first pulse circuit 31 in parallel via the output level shift circuit 38.
  • the latch & encoder 37 detects (encodes) the circulating position of the pulse signal in the first pulse circulating circuit 31 based on these output signals. That is, when the H level conversion data output processing signal Sa is input to the latch command terminal of the latch & encoder 37, the position data of the inverting circuits Na to Nx constituting the pulse circuit 31 is latched, and according to the number of them. Output with a bit width (for example, 4 bits).
  • the latch & encoder 39 is similarly configured.
  • the subtracter 41 subtracts the position data output from the latch & encoder 39 from the position data output from the latch & encoder 37, and the subtraction value when the conversion data output processing signal Sa is input is, for example, A / D conversion data. It is assumed that lower 4 bits of lower data.
  • the conversion control circuit 4 corresponds to the difference between the pulse position in the first pulse circuit 31 and the pulse position in the second pulse circuit 32 to a predetermined number of bits when the conversion data output processing signal is output. As a result, the lower order data of the A / D conversion data is obtained.
  • the adder 57 adds the output value of the subtracter 41 to the value in which the output value of the first counter 42 is the upper data of the upper bits and the lower 4 bits are “0000” to generate A / D conversion data.
  • system A the circuit composed of the first pulse circulation circuit 31, the latch & encoder 37, and the level shift circuits 35, 36, and 38 is referred to as “system A”.
  • a circuit composed of the second pulse circuit 32, the latch & encoder 39, and the level shift circuits 35, 36, 40 is referred to as “system B”, and a circuit composed of the third pulse circuit 33 and the level shift circuits 35, 36.
  • system C a circuit including the fourth pulse circuit 34 and the level shift circuits 35 and 36 may be referred to as “system D”.
  • the first counter 42 counts the number of laps of the pulse signal in the first pulse circuit 31 and the number of laps of the pulse signal in the second pulse circuit 32, and outputs a difference value (for example, 8 bits). It is a down counter and corresponds to the lap number difference measuring unit 3 in FIG.
  • the output signal of the inverting circuit Nx of the first pulse circuit 31 is input to the count-up input terminal (UP) via the output level shift circuit 36, and the second pulse circuit 32 is input to the count-down input terminal (DOWN).
  • the output signal of the inverting circuit Nx is input via the output level shift circuit 36.
  • the H level reset pulse RP for the A / D conversion circuit 1 is input to the preset terminal and the stop release terminal, and the H level conversion data output processing signal Sa is input to the stop terminal.
  • the preset data of the first counter 42 is set to all 0 (L level), and the output value of the first counter 42 at the time when the conversion data output processing signal Sa is input is obtained.
  • the upper 8 bits of the A / D conversion data are used.
  • the second counter 43 counts the number of times of the pulse signal in the third pulse circuit 33 and the number of times of the pulse signal in the fourth pulse circuit 34, and outputs the difference value (for example, 8 bits). It is a down counter.
  • the output signal of the inverting circuit Nx of the third pulse circuit 33 is input to the count up input terminal (UP) via the output level shift circuit 36, and the fourth pulse circuit 34 is input to the count down input terminal (DOWN).
  • the output signal of the inverting circuit Nx is input via the output level shift circuit 36.
  • the H level reset pulse RP for the A / D conversion circuit 1 is input to the preset terminal and the stop release terminal, and the H level conversion data output processing signal Sa is input to the stop terminal.
  • the reset pulse RP is given to the preset terminal, a value (2's complement of the prescribed value Y or a prescribed value Y) set in the ROM is set as preset data.
  • a comparator 44 (determination circuit) that determines that all the bits of the output value of the second counter 43 have become 0 is provided at the subsequent stage of the second counter 43.
  • the second counter 43 notifies the comparator 44 that the count value has been determined so that the comparator 44 can compare after the output value of the second counter 43 that changes every moment is determined.
  • the second counter 43 When the count value is determined, the second counter 43 outputs an H level determination completion signal (that is, a comparison start signal) to the comparator 44, and an H level comparison completion signal (that is, a determination release signal) is input from the comparator 44. Then, the confirmation completion signal is returned to the L level. If the change in the output value of the second counter 43 is fast and there is a possibility that a determination omission may occur in the comparator 44, the lower bit side of the output value of the second counter 43 may not be used for the determination.
  • H level determination completion signal that is, a comparison start signal
  • an H level comparison completion signal that is, a determination release signal
  • FIG. 5 shows a circuit configuration of the second counter 43
  • FIG. 6 shows a timing chart.
  • a 4-bit configuration is shown for convenience of display, but a larger number of bits is actually used.
  • the second counter 43 includes a count-up input terminal (UP), a count-down input terminal (DOWN), a stop terminal (STOP; count stop terminal) for stopping the count, a stop release terminal (STOP release) for releasing the count stop, and a preset A terminal (PRESET), a preset data terminal, a confirmation completion signal terminal, and a confirmation release signal terminal are provided.
  • the first counter 42 has the same configuration as that of the second counter 43, but all the bit L levels are given to the preset data, and the preset terminal is used as a reset terminal.
  • the second counter 43 includes an input unit 45 that generates a count signal and a mode signal that instructs count-up / count-down according to the input pulse signal, a counter unit 46 that counts up or down the count signal according to the mode signal, And an interface unit 47 that outputs a value to the comparator 44.
  • Preset data can be set to the counter unit 46 by giving an H level preset signal.
  • the input unit 45 includes a pulse generation unit 48, an overlap detection unit 49, a count signal output unit 50, a mode setting unit 51, a count stop control unit 56, and the like.
  • the pulse generator 48 includes an even number of inverters 48a and 48c and ExOR gates 48b and 48d.
  • the overlap detection unit 49 monitors the presence or absence of an overlap state in which the pulse signal SB ′ that is a count-up signal and the pulse signal SA ′ that is a count-down signal are input at the same time. 50, an L level overlap detection signal is output. The output of the overlap detection signal is stopped (returned to the H level) after at least the time corresponding to the delay time between the input and output of the count signal output unit 50 has elapsed from the time when the two overlapping pulse signals are finished.
  • the RS flip-flops 49b, 49f, and 49j have a reset terminal for starting counting, and are reset by a stop release signal (reset pulse RP).
  • the AND gate 49a detects that the outputs of the ExOR gates 48b and 48d are simultaneously at the H level, that is, the pulse signals SB 'and SA' are overlapped.
  • the RS flip-flop 49b changes the Q output from the L level to the H level, and changes the Q / output, which is the overlap detection signal, from the H level to the L level.
  • the inverted signal of the Q output is represented by “/” after Q.
  • the storage of the overlapping state is maintained even after the output of the AND gate 49a returns to the L level. Thereafter, the RS flip-flop 49b resets the stored overlapping state on condition that both the pulse signals SB ′ and SA ′ once returned to the L level.
  • the AND gate 49c, the inverter 49d, and the NOR gate 49e set the Q output of the RS flip-flop 49f to the H level in response to the change of the pulse signal SB ′ to the L level when the overlapping state is detected.
  • the AND gate 49g, the inverter 49h, and the NOR gate 49i set the Q output of the RS flip-flop 49j to the H level in response to the change of the pulse signal SA ′ to the L level when the overlapping state is detected.
  • a down edge detection circuit is formed by combining an odd number of inverters and NOR gates such as the inverter 49d and the NOR gate 49e and the inverter 49h and the NOR gate 49i.
  • inverter 49d and the NOR gate 49e and the inverter 49h and the NOR gate 49i The same applies to a combination of an inverter 50j and a NOR gate 50k, which will be described later, and a combination of an inverter 50l and a NOR gate 50m.
  • the AND gate 49k outputs an H level reset request signal when the Q outputs of the RS flip-flops 49f and 49j both become H level.
  • This reset request signal is sent to the RS flip-flops 49b, 49f, 49j via the rising delay circuit composed of an even number of inverters 49l, 49m and an AND gate 49n and the up-edge detection circuit composed of an odd number of inverters 49o and an AND gate 49p.
  • the delay time of the delay circuit is set to be longer than the delay time between the inputs and outputs of the count signal output unit 50.
  • the overlap detection signal Q / output returns from the L level to the H level.
  • the detection pulse width of the detection circuit and the delay time of the delay circuit can be adjusted by the number of inverters.
  • the count signal output unit 50 When the overlap detection signal is at the H level, the count signal output unit 50 outputs a count signal to the counter unit 46 via the count stop control unit 56 in response to a pulse signal being input to the count up input terminal or the count down input terminal.
  • the overlap detection signal is L level, the output of the count signal to the counter unit 46 is stopped.
  • Inverter 50j and NOR gate 50k output an H level count signal in synchronization with the down edge of pulse signal SB ', and inverter 50l and NOR gate 50m have an H level in synchronization with the down edge of pulse signal SA'. Output a count signal. These count signals are output via an OR gate 50i and an AND gate 50n. The AND gate 50n passes the count signal from the OR gate 50i when the overlap detection signal is at the H level.
  • the mode setting unit 51 switches to the count-up or count-down mode depending on which of the count-up input terminal and the count-down input terminal the pulse signal is input to.
  • an H level pulse signal SB ' is generated in synchronization with the up and down edges, so that the RS flip-flop 51a is set via the inverter 51b and the AND gate 51c. And shift to count-up mode.
  • an H level pulse signal SA ′ is generated in synchronization with the up and down edges, so that the RS flip-flop 51a is reset via the inverter 51d and the AND gate 51e. And shift to the countdown mode.
  • the count stop control unit 56 stops the count operation in response to the conversion data output processing signal Sa being input to the stop terminal, and in response to the input of the reset pulse RP (stop release signal) to the stop release terminal. Resume counting. That is, when the conversion data output processing signal Sa is input, the RS flip-flop 56a is set, and the AND gate 56c is cut off via the odd number of inverters 56b. When the release signal is input, the RS flip-flop 56a is reset, and the AND gate 56c enters a passing state.
  • the counter unit 46 is an asynchronous counter including T flip-flops 46a corresponding to the number of bits and a ripple carry circuit including AND gates 46b and 46c and an OR gate 46d.
  • T flip-flops 46a When an H level preset signal is input to the preset terminal of the T flip-flop 46a, preset data is set.
  • the RS flip-flop 46e is set in synchronization with the down edge of the count signal.
  • the even number of inverters 46f have a delay time longer than the time required for the ripple carry and count operations.
  • the output signal of the inverter 46f is the above-described confirmation completion signal, and the signal that enters the reset terminal of the RS flip-flop 46e is a confirmation release signal.
  • the pulse signals SB ′ and SA ′ are generated in synchronization with the up and down edges of the pulse signals SB and SA, respectively.
  • the overlap detection signal inverted signal of the RS flip-flop 49b
  • the count signal output unit for the down edge of the pulse signal SB ' After 50 gate delay times Td, a count signal that is a down edge from a narrow H level is output.
  • the RS flip-flop 49b is set after the delay of the AND gate 49a, and the occurrence of the overlap state is stored.
  • the Q output of the RS flip-flop 49f is set to H level (detection of falling of the pulse signal SB' after storing the overlapping state).
  • the Q output of the RS flip-flop 49j is set to H level (detection of falling of the pulse signal A ′ after storing the overlapping state).
  • both the up pulse signal SB ′ and the down pulse signal SA ′ have fallen, so that a reset request signal is generated, the RS flip-flops 49b, 49f, 49j are reset, and the overlapping state is released ( Time t5).
  • the comparator 44 can compare whether all bits are 0 or not.
  • the digital comparison operation by the comparator 44 may be completed while the count value increases or decreases by one.
  • it is the operation time of the second counter 43 (mainly the propagation time of the counter unit 46) that determines the series of operations of the count operation by the second counter 43 and the digital comparison operation by the comparator 44.
  • the pulse generation time shown in FIG. 6 is the time from when the count-up pulse signal SB and the count-down pulse signal SA are input until the pulse signals SB ′ and SA ′ fall. Since the second counter 43 generates and counts the count signal at the falling edge of the pulse signals SB ′ and SA ′, the pulse generation time is the next count signal during the count operation of the previously input pulse signals SB and SA. This corresponds to the waiting time until generation. Therefore, the pulse generation time needs to be set longer than the operation time of the counter 43. As a result, the relationship of the digital comparison operation time of the comparator 44 ⁇ counter operation time ⁇ pulse generation time is required.
  • the outputs of the pulse circulation circuits 33 and 34 repeat 1 (H level) and 0 (L level) every round, whereas the second counter 43 generates a count signal both at the rising and falling edges. Therefore, it is necessary that pulse generation time ⁇ one round minimum time of the pulse circuit. From the above, the relationship of the digital comparison operation time of the comparator 44 ⁇ counter operation time ⁇ pulse generation time ⁇ one round minimum time of the pulse circuit is required.
  • the RS flip-flop 52 when an H level comparison result signal indicating all 0 bits is output from the comparator 44, the RS flip-flop 52 is set, and an H level converted data output processing signal Sa is output from the Q output. .
  • the converted data output processing signal Sa is supplied to the stop terminals of the counters 42 and 43 and the latch command terminals of the latch & encoders 37 and 39 and also becomes a conversion end signal via a delay element composed of the inverter 53.
  • the Q / output of the RS flip-flop 52 is input to the AND gate 54.
  • the start pulse SP is given to the level shift circuit 35 via the AND gate 54.
  • the output of the AND gate 54 is synchronized with the Q / output of the RS flip-flop 52 becoming L level when the conversion is completed. Since it also becomes L level, the circulation of the pulse signal stops. In the case of A / D conversion again, after the start pulse SP is once set to L level, the RS flip-flop 52 is reset by the input of the reset pulse RP and
  • the subtractor 41, the adder 57, the comparator 44, the RS flip-flop 52, and the AND gate 54 constitute the conversion control circuit 4.
  • the conversion control circuit 4 causes the first to fourth pulse circulation circuits 31 to 34 to simultaneously start the pulse circulation operation.
  • the conversion data output processing signal Sa is output, and the difference value output from the first counter 42 and the latch & encoders 37 and 39 at that time is output. It is output as A / D conversion data for the analog input voltage Vin.
  • the non-linearity of TAD is canceled by the combination of system A and system B among the four systems of pulse circulation circuits.
  • the non-linearity of TAD is canceled by the combination of the system C and the system D.
  • the temperature characteristics of the system A and the system B are canceled by the temperature characteristics of the system C and the system D.
  • the applied voltages to the delay units of the system A and the system B are inverted in polarity and have the same absolute value. As a result, the non-linearity of TAD is completely offset.
  • the A / D conversion circuit 1 of the present embodiment is configured in the same manner as the configuration of the prior art except for the signal ratio changing circuit 2. Therefore, according to the A / D conversion circuit 1 of the present embodiment, it is possible to obtain substantially the same effect as the configuration of the prior art, that is, the effect of canceling the non-linearity and temperature characteristics of TAD.
  • the signal ratio changing circuit 2 since the signal ratio changing circuit 2 is provided, the applied voltages to the delay units of the system A and the system B are inverted in polarity to each other, and Absolute values are not equal (different). Therefore, in the A / D conversion circuit 1 of the present embodiment, only a part of the non-linearity of TAD is canceled (corrected).
  • FIG. 7 is a diagram conceptually showing the relationship between the voltage applied to the four pulse circulation circuits 31 to 34 and the number of circulations per unit time.
  • the reference voltage Equations (3) and (4) always hold for xref.
  • x xref + ⁇ x (3)
  • x ′ xref ⁇ r ⁇ ⁇ x (4) That is, when the applied voltage of the pulse circuit 31 of the system A increases by “ ⁇ x”, the applied voltage of the pulse circuit 32 of the system B decreases by “r ⁇ ⁇ x”, and the pulse circuit 31 of the systems A and B , 32 when the applied voltages are equal to each other, becomes xref.
  • r is the ratio of the amplification factors A1 and A2 of the fully differential amplifier circuits 11 and 12, and is expressed by the following equation (5).
  • r amplification factor A2 / amplification factor A1 (5)
  • the characteristics of the pulse circuit of the systems A to D shown in FIG. 7 can be approximated by the quadratic function shown in the equations (6) and (7) with an arbitrary reference voltage xref as the center (slightly the secondary component) have).
  • y and y ′ are the number of turns per unit time when the power supply voltages x and x ′ are applied to the pulse turning circuits 31 and 32 of the systems A and B, respectively.
  • the coefficient A is a secondary coefficient with respect to ⁇ x
  • the coefficient B is a primary coefficient with respect to ⁇ x.
  • non-linearity of the A / D conversion circuit 1 is defined as shown in the following equation (9) based on FIG. That is, a change width of A / D conversion data (digital value) in the input voltage range of the A / D conversion circuit 1 is Ymax, and a straight line when the A / D conversion data changes linearly with respect to the input voltage (see FIG. The maximum value of error with respect to (indicated by a broken line in FIG. 8) is ⁇ Ymax.
  • Nonlinearity [%] ( ⁇ Ymax / Ymax) ⁇ 100 (9) Subsequently, a trial calculation result of the nonlinearity correction according to the present embodiment and a method of using the sensor nonlinearity correction will be described.
  • 9 (a) to 9 (c) show the gains A1 and B and D applied to the systems A and C in the A / D conversion circuit 1 based on data in a predetermined semiconductor process.
  • the amplification factor ratio r and the nonlinearity error (trial calculation result) when the amplification factor A2 of the applied voltage is changed in conjunction with each other are shown.
  • the reference voltage Vref 2.4 V
  • the input voltage range is 2.4 V ⁇ 0.03 V (2.37 to 2.43 V)
  • an error with respect to the output range at this time is shown.
  • FIG. 9A to FIG. 9C in the A / D conversion circuit 1 of the present embodiment, by changing the amplification factor ratio r, the non-linearity that is convex upward, FIG. Both (a) and the non-linearity that protrudes downward and FIG. 9C can be realized.
  • the amplification factor A1 is set larger than the amplification factor A2 (r ⁇ 1), it is possible to realize a non-linearity that is convex upward, and when the amplification factor A1 is set smaller than the amplification factor A2. (R> 1), it is possible to realize non-linearity that protrudes downward.
  • the ratio r is 0.1 (1:10) to 10 (10: 1)
  • the non-linearity changes within a range of about ⁇ 0.8%.
  • the maximum value of the non-linearity is limited by the non-linearity originally possessed by one pulse circuit.
  • the A / D conversion circuit 1 when the sensor or the like that outputs the analog input voltage Vin to be subjected to A / D conversion by the A / D conversion circuit 1 has nonlinearity (nonlinear characteristics), the A / D conversion circuit If the non-linearity at 1 is set to a value obtained by inverting the non-linearity and positive / negative of the sensor, the non-linearity of the sensor can be completely canceled.
  • the “non-linearity” of the sensor is defined as the following equation (10). However, as shown in FIG. 11, the change width of the sensor output signal (output voltage) in the range of the physical quantity (for example, pressure) detected by the sensor is Vmax, and the straight line when the output voltage changes linearly with respect to the physical quantity. The maximum error with respect to (indicated by a broken line in FIG. 11) is ⁇ Vmax.
  • a reset pulse RP is given to reset the first counter 42 and the RS flip-flop 52 shown in FIG.
  • a preset value Y is preset in the second counter 43.
  • the setting voltage Vset to be used is higher than the reference voltage Vref
  • the count value of the second counter 43 increases, so that the 2's complement of the specified value Y is preset in the second counter 43.
  • the set voltage Vset is lower than the reference voltage Vref
  • the count value of the second counter 43 decreases, so that the prescribed value Y is preset in the second counter 43.
  • the start pulse SP that holds the H level at least during the A / D conversion period is given. Since the Q / output of the RS flip-flop 52 is at the H level due to the reset, the pulse circulation circuits 31 to 34 of the systems A to D simultaneously start the pulse circulation operation by the input of the start pulse SP.
  • the first counter 42 counts up every time the pulse of the pulse circuit 31 of the system A makes one round, and counts down every time the pulse of the pulse circuit 32 of the system B makes one round.
  • the second counter 43 counts up every time the pulse of the pulse circuit 33 of the system C makes one round, and counts down every time the pulse of the pulse circuit 34 of the system D makes one round. .
  • the second counter 43 outputs a confirmation completion signal to the comparator 44 when the count value is confirmed in the internal interface unit 47 (see FIG. 5).
  • the comparator 44 determines whether the output value of the second counter 43 is all bits 0, and outputs a comparison completion signal (determination release signal) to the second counter 43 when the determination is completed.
  • the RS flip-flop 52 is set and outputs an H level conversion data output processing signal Sa.
  • This conversion data output processing signal Sa is a conversion end signal for the external circuit.
  • the AND gate 54 is closed, and the pulse circulation circuits 31 to 34 stop the pulse circulation operation.
  • the first counters 42 of the systems A and B are stopped, and a difference value obtained by subtracting the number of laps of the pulse signal in the second pulse circulator 32 from the number of laps of the pulse signal in the first pulse circulator 31 is an 8-bit width.
  • the latch and encoders 37 and 39 latch and output position data indicating the position of the pulse signal in the pulse circuit 31 and 32, respectively.
  • the subtracter 41 subtracts the position data output from the latch & encoder 39 from the position data output from the latch & encoder 37, and outputs it with a 4-bit width.
  • the adder 57 feeds it into the upper 8-bit upper data.
  • a total of 12 bits of the upper 8 bits of the upper data and the lower 4 bits of the lower data become the A / D conversion data DT.
  • the A / D conversion circuit 1 of the present embodiment has the first and second systems A and B in which the power supply voltage obtained by adding the differential voltage whose polarities are inverted to the reference voltage is applied to the delay unit.
  • the third and fourth pulse circuits 33, 34 of the systems C, D in which a power supply voltage obtained by adding a differential voltage whose polarity is inverted to the reference voltage is applied to the delay unit.
  • a first counter 42 that counts the difference in the number of turns between the first and second pulse circuit 31 and 32, and a second counter 43 that counts the difference in the number of turns between the third and fourth pulse circuit 33 and 34. I have.
  • the count value of the first counter 42 (the difference value of the number of pulse laps) when the second counter 43 counts the specified value Y after the start pulse SP is applied to the pulse circulators 31 to 34 all at once.
  • the A / D conversion circuit 1 of the present embodiment it is possible to obtain substantially the same effect as the configuration of the prior art, that is, the effect of canceling the non-linearity and temperature characteristics of TAD.
  • the A / D conversion circuit 1 since the signal ratio changing circuit 2 is provided, the absolute values of the applied voltages to the delay units of the system A and the system B are different from each other. Therefore, in the A / D conversion circuit 1, only a part of the non-linearity of TAD is canceled. And the balance of the absolute value of the applied voltage to the systems A and B can be arbitrarily set by the ratio r of the amplification factors A1 and A2 of the fully differential amplifier circuits 11 and 12. That is, the A / D conversion circuit 1 is configured to be able to arbitrarily vary the nonlinearity.
  • the non-linearity in the A / D conversion circuit 1 is changed between the non-linearity and positive / negative of the sensor. If the value is set to an inverted value, the non-linearity of the sensor can be canceled out. Therefore, according to this embodiment, even when a sensor or the like that outputs a voltage to be converted has non-linearity, digital calculation for correcting non-linearity included in the A / D conversion data becomes unnecessary, and as a result, The responsiveness as a sensor device can be increased.
  • the resistance ratio of the variable resistors 15 to 18, that is, the amplification factors A1 and A2 can be varied by the adjustment data. According to such a configuration, when the sensor product is configured by combining the A / D conversion circuit 1 and the sensor element, even if the non-linearity of the sensor varies, the non-linearity is canceled correspondingly. It becomes possible. For example, it is conceivable to adjust the amplification factors A1 and A2 (ratio r) in the following procedure.
  • variable resistor can measure the nonlinearity for each product and cancel the nonlinearity.
  • a resistance ratio of 15 to 18, that is, amplification factors A1 and A2 are determined.
  • corresponding characteristic correction data is written in a memory (for example, EEPROM) in the sensor product. Note that such correction data is usually written before the sensor product is shipped from the factory.
  • the A / D conversion circuit 1 having such a configuration can change the non-linearity even after being combined with the sensor element. Therefore, even if the characteristics related to the non-linearity of the sensor elements to be combined are unknown, or even when there is a possibility of being combined with various types of sensor elements, the non-linearity of the combined sensor elements is ensured. Can be offset (corrected).
  • the systems A and B are provided with latch & encoders 37 and 39, and the amount of movement of the pulse signal that does not wrap around the first and second pulse circuit 31 and 32 is detected as position data, and A / D conversion data Used as the low-order bit. Thereby, higher resolution can be obtained according to the number of inverting circuits constituting the pulse circuit 31 and 32.
  • the latch and encoders 37 and 39 may be provided as necessary.
  • the element layout of the semiconductor integrated circuit device is described below. It is desirable to design in consideration of this point.
  • (1) Four pulse circulation circuits 31 to 34 are arranged close to each other on the same semiconductor chip. According to this arrangement, the temperatures of the inverting circuits Na to Nx become equal, and the temperature characteristics are offset.
  • (2) Four pulse circulation circuits 31 to 34 are arranged in the same shape and size. According to this arrangement, the characteristics of the inverting circuits Na to Nx are equalized, and the temperature characteristics are offset well.
  • Four pulse circulation circuits 31 to 34 are arranged in the same direction.
  • the performance in the semiconductor process is the same, and the temperature characteristics are offset well.
  • Peripheral circuits such as the first and second counters 42 and 43 and the comparator 44 are also arranged near the pulse circuit 31 to 34 on the same chip. According to this arrangement, the parasitic capacitance associated with the wiring can be reduced, and malfunctions based on signal delay can be avoided.
  • the A / D conversion circuit 61 converts the differential analog input voltages Vin + and Vin ⁇ (converted voltages) into digital values according to the difference from the reference voltage Vref, and converts them into A / D conversion data DT. Output as. In this case, the latch & encoders 37 and 39 are not provided (may be provided).
  • the signal ratio changing circuit 62 included in the A / D conversion circuit 61 is different from the signal ratio changing circuit 2 shown in FIG. That is, the analog input voltage Vin + is applied to the non-inverting input terminal of the fully differential amplifier circuit 11, and the analog input voltage Vin ⁇ is applied to the non-inverting input terminal of the fully differential amplifier circuit 12.
  • the inverting output terminal of the fully differential amplifier circuit 12 is not connected.
  • the non-inverting output terminal of the fully differential amplifier circuit 12 is connected to the terminal b of the variable resistor 16 and to the power supply line 8.
  • the A / D conversion circuit 61 having such a configuration can be combined with a pressure sensor using a piezoresistive effect (see Japanese Patent Laid-Open No. 10-160602).
  • FIG. 13 shows a configuration example of such a pressure sensor.
  • a Wheatstone bridge is constituted by semiconductor diffusion resistors 64a to 64d.
  • Terminal P61 is a power supply terminal
  • terminal P62 is an output terminal for voltage Vp
  • terminal P63 is an output terminal for Vm.
  • the arrow indicates the increase / decrease in resistance.
  • the arrow indicates an upward arrow, and when the resistance decreases, the arrow indicates a downward arrow. Therefore, as the pressure increases, the voltage Vp at the terminal P62 increases and the voltage Vm at the terminal P63 decreases.
  • the A / D conversion circuit 61 having the above configuration can be combined with a current sensor using a magnetoresistive element, a magnetic sensor (see JP 2008-128203 A, JP 2011-242270 A, etc.), and the like.
  • FIG. 14 shows a configuration example of such a current sensor.
  • a current sensor 65 (corresponding to a sensor) shown in FIG. 14, a Wheatstone bridge is configured by magnetoresistive elements (MRE) 66 and 67 as magnetic sensing elements.
  • MRE magnetoresistive elements
  • Each of the magnetoresistive elements 66 and 67 includes a half bridge circuit in which the magnetoresistors Ra to Rd are connected in series.
  • the sensor output has a sine wave shape and therefore has non-linearity.
  • the amplification factor ratio r may be set so that the non-linearity of the A / D conversion circuit 61 is convex downward.
  • the amplification factor ratio r may be set so that the non-linearity of the A / D conversion circuit 61 is convex upward.
  • the A / D conversion circuit 61 can be combined with a sensor using a GMR element (Giant Magneto Resistive effect) which is a magnetic sensing element having a resistance change larger than that of MRE (Magneto Resistive Effect).
  • GMR element Green Magneto Resistive effect
  • the signal ratio change circuit 72 included in the A / D conversion circuit 71 of the present embodiment is different from the signal ratio change circuit 2 shown in FIG.
  • the difference is that resistors R71 to R78 are provided instead of the resistors 18.
  • the resistors R71 and R72 and the fully differential amplifier circuit 11 are connected in the following manner. That is, the reference voltage Vref is applied to one terminal of the resistor R71.
  • the other terminal of the resistor R71 is connected to the inverting input terminal of the fully differential amplifier circuit 11, and is connected to the non-inverting output terminal of the fully differential amplifier circuit 11 via the resistor R72.
  • the resistors R73 and R74 and the fully differential amplifier circuit 12 are the same as the resistors R71 and R72 and the fully differential amplifier circuit 11. Connected in the form of
  • the resistors R71 and R75 have the same resistance value R1
  • the resistors R72 and R76 have the same resistance value R2
  • the resistors R73 and R77 have the same resistance value R3
  • the resistors R74 and R78 have the same resistance value R2.
  • Value R4 Therefore, the amplification factor A1 of the fully differential amplifier circuits 11 and 13 is a fixed value determined by the resistance values R1 and R2, and the amplification factor A2 of the fully differential amplifier circuits 12 and 14 is fixed by the resistance values R3 and R4. Value.
  • the ratio r of the amplification factors A1 and A2, that is, the non-linearity is fixed. Even with such a configuration, if the characteristics related to the non-linearity of the sensor elements to be combined are known to some extent and do not change significantly (there is no significant variation in non-linearity), the characteristics of the sensor elements.
  • the non-linearity of the sensor element can be canceled well.
  • the A / D conversion circuit 71 using the resistors R71 to R78 has advantages such as simplification of the configuration and reduction in manufacturing cost compared to the A / D conversion circuit 1 using the variable resistors 15 to 18.
  • the A / D conversion circuit 81 of the present embodiment is different from the A / D conversion circuit 1 of the first embodiment in the specific configuration of the frequency difference measuring unit 3.
  • the A / D conversion circuit 81 includes counters 84 and 85 for the first and second pulse circulation circuits 31 and 32, respectively, instead of the first counters 42 of the systems A and B shown in FIG. Provided to obtain up and countdown values.
  • the latch 86 holds the counter value of the counter 84, and the latch 87 is provided to hold the counter value of the counter 85, whereby two pairs of counters 84, 85 and latches 86, 87 are provided.
  • the counters 84 and 85 that make a pair include latches 86 and 87 and a subtracter 88, and form, for example, a second type up / down counter 89 of 8 bits.
  • the count value is reset to 0 and counted up by the output signals of the first pulse circuit 31 and the second pulse circuit 32, respectively.
  • the output values of the counters 84 and 85 are held in the latches 86 and 87 by the H level conversion data output processing signal Sa.
  • the number-of-turns data held in the latches 86 and 87 is the upper 8 bits, and the position data output from the latch & encoders 37 and 39 is the lower 4 bits.
  • the subtracter 88 subtracts the frequency / position data of system B from the frequency / position data of system A to obtain 12-bit A / D conversion data DT.
  • the latch and encoders 37 and 39 may be provided as necessary.
  • the systems C and D of the A / D conversion circuit 81 shown in FIG. 16 are the same as those shown in FIG. However, in FIG. 16, the confirmation completion signal (comparison start signal) and the confirmation release signal (comparison completion signal) between the second counter 43 and the comparator 44 are omitted.
  • general-purpose up counters 84 and 85 can be used.
  • the subtraction by the subtractor 88 may be performed only once at the end of the conversion. For this reason, the A / D conversion circuit 81 can also perform subtraction processing after starting the next A / D conversion, so that high-precision A / D conversion data is obtained while using the general-purpose up counters 84 and 85. be able to.
  • the A / D conversion circuit 91 of this embodiment shown in FIG. 17 is different from the A / D conversion circuit 1 of the first embodiment in that a signal ratio change circuit 92 is used instead of the signal ratio change circuit 2 shown in FIG. It has different features. In this case, the latch & encoders 37 and 39 are not provided (may be provided).
  • the signal ratio changing circuit 92 includes OP amplifiers 93 to 96 and variable resistors 97 to 100.
  • a reference voltage Vref is applied to the non-inverting input terminal of the OP amplifier 93.
  • the inverting input terminal of the OP amplifier 93 is connected to the common terminal c of the variable resistor 97.
  • the output terminal of the OP amplifier 93 is connected to the power supply line 8 and to the terminal b of the variable resistor 97.
  • An analog input voltage Vin is applied to the terminal a of the variable resistor 97.
  • the analog input voltage Vin is given to the non-inverting input terminal of the OP amplifier 94.
  • the inverting input terminal of the OP amplifier 94 is connected to the common terminal c of the variable resistor 98.
  • the output terminal of the OP amplifier 94 is connected to the power supply line 7 and to the terminal b of the variable resistor 98.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 98.
  • a reference voltage Vref is applied to the non-inverting input terminal of the OP amplifier 95.
  • the inverting input terminal of the OP amplifier 95 is connected to the common terminal c of the variable resistor 99.
  • the output terminal of the OP amplifier 95 is connected to the power supply line 20 and to the terminal b of the variable resistor 99.
  • a set voltage Vset is applied to the terminal a of the variable resistor 99.
  • a set voltage Vset is applied to the non-inverting input terminal of the OP amplifier 96.
  • the inverting input terminal of the OP amplifier 96 is connected to the common terminal c of the variable resistor 100.
  • the output terminal of the OP amplifier 96 is connected to the power supply line 19 and to the terminal b of the variable resistor 100.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 100.
  • variable resistors 97 to 100 can change the ratio of the resistance between the terminals a and c and the resistance between the terminals bc while the resistance between the terminals a and b is constant. It has become.
  • the ratio of the resistances of the variable resistors 97 and 99 is the same and changes in conjunction.
  • the resistance ratios of the variable resistors 98 and 100 are the same and change in conjunction with each other.
  • the OP amplifier 93 operates as an inverting amplifier circuit.
  • the amplification factor A2 in this case can be expressed by the following equation (11).
  • the resistance value between the terminals ac of the variable resistor 97 is R1
  • the resistance value between the terminals bc is R2.
  • A2 R2 / R1 (11)
  • the output voltage of the OP amplifier 93 can be expressed by the following equation (12).
  • ⁇ V is a differential voltage obtained by subtracting the reference voltage Vref from the analog input voltage Vin.
  • Output voltage of OP amplifier 93 Vref ⁇ A2 ⁇ ⁇ V (12)
  • the OP amplifier 94 operates as a non-inverting amplifier circuit.
  • the amplification factor A1 in this case can be expressed by the following equation (13). However, the resistance value between the terminals ac of the variable resistor 98 is R3, and the resistance value between the terminals bc is R4.
  • Output voltage of the OP amplifier 94 Vref + A1 ⁇ ⁇ V (14) Therefore, the output terminal of the OP amplifier 93 corresponds to the second output terminal of the signal ratio changing circuit 92, and the output terminal of the OP amplifier 94 corresponds to the first output terminal of the signal ratio changing circuit 92.
  • the output voltages of the OP amplifiers 95 and 96 can also be expressed by the above equations (12) and (14). However, in this case, ⁇ V is a differential voltage obtained by subtracting the reference voltage Vref from the set voltage Vset.
  • the variable resistors 97 and 98 correspond to a signal ratio adjusting device.
  • the absolute values of the applied voltages to the delay units of the systems A and B are different from each other.
  • the balance of the absolute values of the voltages applied to the systems A and B can be arbitrarily set by the ratio r of the amplification factors A2 and A1 of the OP amplifiers 93 and 94. That is, the A / D conversion circuit 91 is configured to be able to arbitrarily vary the non-linearity similarly to the A / D conversion circuit 1 of the first embodiment. Therefore, according to this embodiment, the same operation and effect as those of the first embodiment can be obtained.
  • the voltage to be converted is in a differential format. That is, the A / D conversion circuit 111 converts the differential analog input voltages Vin + and Vin ⁇ (converted voltages) into digital values corresponding to the difference from the reference voltage Vref, and converts them into A / D conversion data DT. Output as. In this case, the latch & encoders 37 and 39 are not provided (may be provided).
  • the signal ratio changing circuit 112 included in the A / D conversion circuit 111 is different from the signal ratio changing circuit 92 in the following points. That is, the analog input voltage Vin + is applied to the non-inverting input terminal of the OP amplifier 94, and the analog input voltage Vin ⁇ is applied to the non-inverting input terminal of the OP amplifier 93.
  • the reference voltage Vref is applied to the terminals a of the variable resistors 97 and 98. According to such a configuration, the OP amplifiers 93 and 94 both operate as non-inverting amplifier circuits. Since the OP amplifier 93 operates as a non-inverting amplifier circuit, the amplification factor A2 is expressed by the following equation (15).
  • A2 1 + (R2 / R1) (15)
  • a pressure sensor using a piezoresistance effect a current sensor using a magnetoresistive element, a magnetic sensor, and the like. Can be combined.
  • the signal ratio changing circuit 122 included in the A / D conversion circuit 121 of the present embodiment is different from the signal ratio changing circuit 92 of the fifth embodiment in place of the variable resistors 97 to 100.
  • the difference is that R121 to R128 are provided.
  • the resistors R121 and R122 and the OP amplifier 93 are connected in the following manner. That is, the analog input voltage Vin is applied to one terminal of the resistor R121.
  • the other terminal of the resistor R121 is connected to the inverting input terminal of the OP amplifier 93 and is connected to the output terminal of the OP amplifier 93 via the resistor R122.
  • the resistors R123 and R124 and the OP amplifier 94 are connected in the following manner. That is, the reference voltage Vref is applied to one terminal of the resistor R123. The other terminal of the resistor R123 is connected to the inverting input terminal of the OP amplifier 94, and is connected to the output terminal of the OP amplifier 94 via the resistor R124.
  • the resistors R125, R126 and the OP amplifier 95 are connected in the following manner. That is, the set voltage Vset is applied to one terminal of the resistor R125. The other terminal of the resistor R125 is connected to the inverting input terminal of the OP amplifier 95 and is connected to the output terminal of the OP amplifier 95 via the resistor R126.
  • the resistors R127, R128 and the OP amplifier 96 are connected in the same form as the resistors R123, R124 and the OP amplifier 94.
  • the resistors R121 and R125 have the same resistance value R1
  • the resistors R122 and R126 have the same resistance value R2
  • the resistors R123 and R127 have the same resistance value R3, and the resistors R124 and R128 have the same resistance value.
  • Value R4 Accordingly, the amplification factors A2 of the OP amplifiers 93 and 95 are fixed values determined by the resistance values R1 and R2, and the amplification factors A1 of the OP amplifiers 94 and 96 are fixed values determined by the resistance values R3 and R4.
  • the ratio r of the amplification factors A1 and A2, that is, the nonlinearity is fixed, similarly to the A / D conversion circuit 71 of the third embodiment. . Therefore, the present embodiment can provide the same operations and effects as those of the third embodiment.
  • An A / D conversion circuit 131 shown in FIG. 20 includes a fully differential amplifier circuit 11a instead of the fully differential amplifier circuits 11 and 12 with respect to the A / D converter circuit 61 of the second embodiment.
  • the main difference is that a fully differential amplifier circuit 13a is provided instead of the amplifier circuits 13 and 14.
  • the differential input is used in the second embodiment, a single-ended input is used in this embodiment.
  • the latch & encoders 37 and 39 are not provided (may be provided).
  • the A / D conversion circuit 131 shown in FIG. 20 has a first half period and a second half period of one A / D conversion period in addition to the configuration of any of the A / D conversion circuits described above or later. Generate and output a 1 ⁇ 2 period signal Sh (switching signal) to be distinguished.
  • This half-cycle signal Sh is a signal provided for switching the analog switch in the fully differential amplifier circuit of FIG.
  • the A / D conversion circuit 131 receives an analog signal voltage Vs output from a sensor or the like, uses the analog signal voltage Vs as an analog input voltage Vin, and a difference between the analog input voltage Vin (converted voltage) and the reference voltage Vref. Is converted into a digital value corresponding to the A / D conversion data DT.
  • the signal ratio changing circuit 132 includes fully differential amplifier circuits 11a and 13a and variable resistors 15a and 17a.
  • An analog input voltage Vin is applied to the non-inverting input terminal of the fully differential amplifier circuit 11a.
  • the inverting input terminal of the fully differential amplifier circuit 11a is connected to the common terminal c of the variable resistor 15a.
  • the non-inverting output terminal of the fully differential amplifier circuit 11a is connected to the power line 7 and to the terminal b of the variable resistor 15a.
  • the inverting output terminal of the fully differential amplifier circuit 11 a is connected to the power supply line 8.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 15a.
  • the set voltage Vset is applied to the non-inverting input terminal of the fully differential amplifier circuit 13a.
  • the inverting input terminal of the fully differential amplifier circuit 13a is connected to the common terminal c of the variable resistor 17a.
  • the non-inverting output terminal of the fully differential amplifier circuit 13a is connected to the power supply line 19 and to the terminal b of the variable resistor 17a.
  • the inverting output terminal of the fully differential amplifier circuit 13 a is connected to the power supply line 20.
  • a reference voltage Vref is applied to the terminal a of the variable resistor 17a.
  • the variable resistors 15a and 17a are configured such that the ratio of the resistance between the terminals ac and bc can be varied while the resistance between the terminals ab is constant.
  • the ratio of the resistances of the variable resistors 15a and 17a is the same and changes in conjunction. Changing the resistance ratio of the variable resistors 15a and 17a in conjunction with the variable resistors 15a and 17a corresponds to changing the amplification factors of the fully differential amplifier circuit 11a and the fully differential amplifier circuit 13a in conjunction with each other.
  • a digital variable resistor digital potentiometer
  • a plurality of resistors 21 and an analog multiplexer 22 shown in FIG. 4 can be used as shown in FIG. 4 can be used.
  • FIG. 21 shows the configuration of the fully differential amplifier circuits 11a and 13a.
  • the fully differential amplifier circuits 11a and 13a include a first switching circuit 197, a first differential pair circuit unit 198, a second switching circuit 199, first output circuit units 200a and 200b, and a common mode feedback circuit 201, respectively. ing.
  • the change-over switches 197a, 197b, 199a, and 199b constituting the change-over circuits 197 and 199 are made up of analog switches 202a to 202d as shown in FIG. 23, and the half-cycle signal Sh and the signal Sh are received by the inverter 203. In accordance with the inverted signal, one of the terminal C and the terminal A and the terminal C and the terminal B are made conductive.
  • the first switching circuit 197 has two connections between the inverting input terminal and non-inverting input terminal of the fully differential amplifier circuit 11a or 13a and the inverting input terminal and non-inverting input terminal of the first differential pair circuit unit 198. Swap lines with each other.
  • the second switching circuit 199 interchanges two connection lines between the non-inverting output terminal and the inverting output terminal of the first differential pair circuit unit 198 and the input terminals of the first output circuit units 200a and 200b.
  • the first differential pair circuit unit 198 has a folded cascode connection configuration as shown in FIG. 22, and is composed of transistors 204 to 215.
  • Transistors 204 and 205 constitute a differential pair, and transistors 206 and 207 operating as a constant current circuit are cascode-connected between the source and the Vcc power supply line.
  • a pair of transistors 208 and 209, transistors 210 and 211, transistors 212 and 213, and transistors 214 and 215 are connected in series between the Vcc power supply line and the ground line, respectively.
  • Transistors 208 and 210 and transistors 209 and 211 are cascode-connected, and constitute an active load 216 for the differential pair.
  • the transistors 214 and 215 constitute a constant current circuit 217 for turning back and inputting the output current of the differential pair to the active load 216, and the common mode feedback signal CMFB is input to the common gate line. . Further, the transistors 212 and 213 connected between the active load 216 and the constant current circuit 217 are provided in order to suppress the occurrence of the Miller effect in the transistors 204 and 205.
  • the sources of the transistors 212 and 213 (that is, the drains of the transistors 214 and 215) are connected to the drains of the transistors 204 and 205, respectively. Each drain of the transistors 210 and 211 serves as an output terminal of the first differential pair circuit unit 198.
  • the changeover switches 222a, 222b, 223a, and 223b constituting the changeover circuits 222 and 223 have the configuration shown in FIG.
  • the common mode voltage detection unit 219 includes a variable resistor 219 connected between output nodes of the first output circuit units 200a and 200b, and outputs the output voltages Vo + and Vo ⁇ of the first output circuit units 200a and 200b.
  • the common mode voltage Vcom which is an intermediate voltage between them, is detected.
  • the terminal a of the variable resistor 219 is supplied with the output voltage Vo + of the first output circuit unit 200a.
  • the terminal b of the variable resistor 219 is supplied with the output voltage Vo ⁇ of the first output circuit unit 200b.
  • the variable resistor 219 of the fully differential amplifier circuits 11a and 13a has a configuration in which the ratio of the resistance between the terminals ac and bc can be varied while the resistance between the terminals ab is constant. ing.
  • a digital variable resistor digital potentiometer
  • a plurality of resistors 21 and an analog multiplexer 22 shown in FIG. 4 can be used.
  • the ratios between the resistance terminals of the variable resistors 219 of the fully differential amplifier circuits 11a and 13a are the same and change in conjunction with each other.
  • the ratio (R13 / R14) is not set to 1, That is, R13 ⁇ R14 is set.
  • the common mode voltage Vcom can be expressed as shown in equation (16).
  • the second differential pair circuit unit 220 has a folded cascode connection configuration and includes transistors 224 to 235.
  • the transistors 224 and 225 constitute a differential pair, and the transistors 226 and 227 constitute a constant current circuit.
  • Transistors 232 and 234 and transistors 233 and 235 constitute an active load 236 for the differential pair.
  • the transistors 228 and 229 constitute a constant current circuit 237.
  • the second output circuit unit 221 includes transistors 238 to 241 connected in series between the Vcc power supply line and the ground line.
  • the two output terminals of the second differential pair circuit unit 220 are connected to the gate of the transistor 241 through the changeover switch 223b, and the drains of the transistors 239 and 240 through the changeover switch 223b and the phase compensation capacitor 242. It is connected to the.
  • the output voltage of the second differential pair circuit unit 220 selected by the changeover switch 223b becomes the common mode feedback signal CMFB.
  • the fourth switching circuit 222 exchanges the input lines of the reference voltage Vref and the common mode voltage Vcom to the second differential pair circuit unit 220 with each other.
  • the selector switch 223 b selects one of the output terminals of the second differential pair circuit unit 220 and connects it to the second output circuit unit 221.
  • the changeover switch 223a selects an output terminal not selected by the changeover switch 223b and connects it to the gates of the transistors 234 and 235.
  • the four bias voltages 1 to 4 used in the fully differential amplifier circuit are generated by a bias voltage generation circuit 248 including transistors 243 to 246 and a resistor 247 as shown in FIG.
  • the circuit of this embodiment is characterized in that offset is compensated and that two output terminals (non-inverted output terminal and inverted output terminal) of the fully differential amplifier circuits 11a and 13a are effectively used.
  • the fully differential amplifier circuits 11a and 13a apply common mode feedback that is negative feedback so that the common mode voltage Vcom (that is, the divided voltage of the output voltages Vo + and Vo ⁇ ) is equal to the reference voltage Vref.
  • Vcom that is, the divided voltage of the output voltages Vo + and Vo ⁇
  • the connection form between the terminals of the switching circuits 197, 199, 222, and 223 is reversed, so that the direction (positive / negative) of the offset voltage ⁇ V is reversed. Since the A / D conversion circuit 131 obtains A / D conversion data for the average value of the analog input voltage Vin and the average value of the set voltage Vset during the A / D conversion period, the switching circuits 197, 199, 222, and 223 are used. By reversing the direction of the offset voltage, highly accurate A / D conversion data in which the offset voltage of the operational amplifier is canceled can be obtained.
  • Vref Vcom is obtained by operating so that the common mode voltage Vcom matches the reference voltage Vref.
  • the output voltage of the first output terminal (+) of the fully differential amplifier circuits 11a and 13a is Vo +
  • the output voltage of the second output terminal ( ⁇ ) of the fully differential amplifier circuits 11a and 13a is Vo ⁇
  • These outputs The differential voltages between the voltages Vo + and Vo ⁇ and the reference voltage Vref are defined as the following differential equations (17) to (18) as a third differential voltage ⁇ Vo + and a fourth differential voltage ⁇ Vo ⁇ , respectively.
  • Vo + Vref + ⁇ Vo + (17)
  • the third differential voltage ⁇ Vo + in the equation (17) corresponds to the first differential voltage described in the first embodiment
  • the fourth differential voltage ⁇ Vo ⁇ in the equation (18) corresponds to the second differential voltage.
  • equation (19) is obtained by replacing (A2 / A1) with (R14 / R13) in equation (20). Further, (A2 / A1) in the equation (20) is equivalent to the amplification factor ratio r in the equation (5). From this, the following equation (21) is established, and the relationships of FIGS. 9A to 9C and FIG. 10 can be applied.
  • the signal ratio changing circuit 132 can configure a circuit that outputs a voltage to the system A and the system B by the fully differential amplifier circuit 11a and the resistor 15a, and a circuit that outputs a voltage to the system C and the system D is the same.
  • the differential amplifier circuit 13a and the resistor 17a can be used.
  • the same effects as those of the first embodiment can be obtained, and the two output terminals (non-inverted output terminal and inverted output terminal) of the fully differential amplifier circuits 11a and 13a can be effectively used.
  • the circuit configuration area can be reduced as much as possible.
  • the configuration of various signal ratio changing circuits has been exemplified, but the configuration is not limited thereto, and the configuration in which the ratio of the absolute values of the first differential voltage and the second differential voltage can be other than “1”. If it is, the effect similar to the effect mentioned above can be acquired.
  • the above-described pulse circulation circuit (ring delay line) is configured by connecting an odd number of NAND gates and inverters from the viewpoint of reliably oscillating. You may comprise by the thing etc. which were described in the gazette. By making the number even, the pulse circumference position and the encoded data have a one-to-one correspondence, so the linearity in the lower bits is improved. Further, the detection of the pulse rotation position and the like is made from all the outputs of the inverter, but it may be thinned out every other time.
  • FIG. 5 shows an example of the up / down counter and the overlap detection unit, but the circuit configuration is not limited to that shown in FIG.
  • the pulse generation unit 48 is provided, but it may not be provided.
  • the pulse generator 48 is not provided, this corresponds to the replacement of the pulse signal SB ′ in FIG. 6 with the pulse signal SB and the pulse signal SA ′ with the pulse signal SA. That is, since the period of the pulse signal SB ′ and the pulse signal SA ′ is doubled, such a configuration can be employed when the A / D conversion time has a margin.
  • inverters are used in various places to generate the delay time. However, if the number of consecutive inverters is an odd number or an even number, it can be changed according to the required delay time. Further, as a delay element that generates the delay time, a capacitor other than the inverter, an in-chip wiring, or a parasitic capacitance of an element may be used.
  • the A / D conversion value at the reference voltage Vref is set to all bits 0 by setting all bits to 0 as the preset value of the first type up / down counter such as the first counter 42 shown in FIG. It was.
  • an arbitrary value is preset, it can be added to the A / D conversion value. It can be used for offset correction when applied to sensors.
  • the latch & encoders 37 and 39 can be omitted.
  • the first counter 42 may be replaced with counters 84 and 85.
  • the comparator 44 detects that the output value of the second counter 43 has reached all 0 bits, but may detect that all bits 1 have been reached. In this case, the difference between the value of all bits 1 and the specified value Y is preset in the second counter 43 as an upper preset value, and when the difference value output from the second counter 43 reaches all bits 1, the converted data output processing signal It is assumed that Sa is output.
  • the bypass capacitor Cp may be provided as necessary.
  • a configuration for canceling out temperature characteristics (compensating for temperature) mainly including the third and fourth pulse circulation circuits 33 and 34 and the second counter 43 is not necessarily provided.
  • the conversion control circuit 4 may be configured to output the conversion data output processing signal Sa at an arbitrary timing.
  • the pressure sensor, current sensor, and magnetic sensor were taken up, but it goes without saying that it can be used for other sensors such as a temperature sensor.
  • a digital signal processing device such as a microprocessor (microcontroller) or DSP (Digital Signal Processor) instead of a sensor.
  • a digital signal processing device such as a microprocessor (microcontroller) or DSP (Digital Signal Processor) instead of a sensor.
  • This disclosure includes the following aspects.
  • an A / D conversion circuit that outputs A / D conversion data corresponding to a difference between an analog input voltage and a reference voltage delays an input signal by a delay time determined according to a power supply voltage.
  • a plurality of delay units connected in a ring shape, and a first pulse circulation circuit and a second pulse circulation circuit that circulate the pulse signal through these delay units, and a cycle of the pulse signal in the first pulse circulation circuit Output a difference data measurement unit that counts the number of times and the number of times the pulse signal is circulated in the second pulse circuit and outputs the difference value; and a conversion data output processing signal that determines the timing for ending the A / D conversion,
  • a conversion control circuit for outputting a difference value output from the lap difference measurement unit at that time as A / D conversion data for the analog input voltage; and the analog A voltage obtained by subtracting the reference voltage from the force voltage is set as a differential voltage, and a voltage obtained by adding the first differential voltage obtained by multiplying the differential voltage by a first proportionality factor and
  • the A / D conversion circuit described above is configured in the same manner as the configuration of the prior art described above, except for the signal ratio changing circuit. Therefore, it is possible to obtain an effect substantially equivalent to the configuration of the prior art, that is, an effect of canceling the non-linearity of TAD.
  • the signal ratio changing circuit since the signal ratio changing circuit is provided, the applied voltages to the respective delay units of the first and second pulse circuit circuits are inverted in polarity and have different absolute values. Therefore, in the configuration of this means, only a part of the non-linearity of TAD is canceled.
  • the balance of the absolute value of the applied voltage to each delay unit of the first and second pulse circuit is arbitrarily set by two proportional coefficients in the signal ratio changing circuit, that is, the first proportional coefficient and the second proportional coefficient. be able to. That is, this means is configured to be able to arbitrarily vary the non-linearity of TAD.
  • the first differential voltage becomes convex.
  • Non-linearity can be realized.
  • the analog input voltage may be output from a sensor having a non-linear characteristic that protrudes upward in a range where the voltage of the first output terminal is higher than the reference voltage.
  • the absolute value of the first differential voltage is set smaller than the absolute value of the second differential voltage.
  • the analog input voltage may be output from a sensor having a non-linear characteristic that protrudes downward in a range where the voltage of the first output terminal is higher than the reference voltage.
  • the absolute value of the first differential voltage is set larger than the absolute value of the second differential voltage.
  • the signal ratio changing circuit includes the first output terminal, and outputs a voltage obtained by adding the first differential voltage obtained by multiplying the differential voltage by a first proportionality factor and the reference voltage from the first output terminal.
  • a second amplifier circuit that outputs from two output terminals. In this case, the first proportional coefficient and the second proportional coefficient can be easily changed.
  • the signal ratio changing circuit includes the first output terminal and the second output terminal, a difference between the output voltage of the first output terminal and the reference voltage is set as a third differential voltage, and the second output
  • the difference between the output voltage of the terminal and the reference voltage is the fourth differential voltage
  • the ratio of the third differential voltage and the fourth differential voltage is the same as the ratio of the first proportional coefficient and the second proportional coefficient.
  • a fully-differential amplifier circuit that outputs voltages satisfying the following conditions from the first output terminal and the second output terminal. In this case, the circuit configuration area can be suppressed as much as possible.
  • the signal ratio changing circuit includes signal ratio adjusting means for adjusting the first proportionality coefficient and the second proportionality coefficient.
  • the non-linearity can be varied even after combining with the sensor element. Therefore, even when the characteristics related to the nonlinearity of the sensor elements to be combined are unknown, or even when there is a possibility of being combined with various types of sensor elements, the nonlinearity of the combined sensor elements is surely offset. be able to.
  • the A / D conversion circuit detects first and second pulse positions in the first and second pulse circuit when the conversion control circuit outputs the converted data output processing signal, respectively.
  • a circuit position detection circuit may be further provided.
  • the conversion control circuit when the conversion control circuit outputs the conversion data output processing signal, a pulse position in the first pulse circuit and a pulse position in the second pulse circuit.
  • the difference is made to correspond to a predetermined number of bits as lower data of the A / D conversion data, and the difference value output from the circulation number difference measurement unit and the sum of the carry from the lower data, or the difference value and the carry-down portion
  • the sum is used as the upper data of the A / D conversion data.
  • the carry-up amount is a positive value
  • the carry-down amount is a negative value. In this case, the resolution of A / D conversion data can be increased.
  • the lap number difference measuring unit may count up and count down each time a pulse signal is output from the delay units arranged at the same position in the first and second pulse circuit.
  • the difference value of the number of laps can be obtained by using an up / down counter in the lap number difference measuring unit.
  • the lap number difference measuring unit includes a count stop terminal, a count-up input terminal, and a count-down input terminal, and counts up or down according to which of the count-up input terminal and the count-down input terminal the pulse signal is input to.
  • a first type of up / down counter which counts down and stops the count operation in response to the conversion data output processing signal being input to the count stop terminal, or a counter for obtaining a count up value and a count down value
  • Any one of the second types of up / down counters that includes two sets of latches that hold the count value in response to the input of the conversion data output processing signal and outputs the difference between the count values held in the two latches. May be provided. In this case, if the first type up / down counter is employed, an arithmetic circuit becomes unnecessary. When the second type up / down counter is employed, a general-purpose counter can be used.
  • the first type up / down counter includes a count signal and an input unit that generates a mode signal instructing count-up and count-down according to the input pulse signal; and the count signal is counted up or down according to the mode signal.
  • a counter unit that counts down.
  • the input unit includes an overlap detection unit and a count signal output unit.
  • the overlap detection unit monitors whether or not a pulse signal is simultaneously input to the count-up input terminal and the count-down input terminal, and outputs an overlap detection signal when the occurrence of the overlap state is detected.
  • the output of the overlap detection signal is stopped after at least the time corresponding to the delay time between the input and output of the count signal output unit has elapsed since the end of the two pulse signals.
  • the count signal output unit When the overlap detection signal is not input from the overlap detection unit, the count signal output unit outputs to the counter unit in response to the end of the pulse signal input to the count up input terminal or the count down input terminal. When the count signal is output and the overlap detection signal is input, the count signal is not output to the counter unit. Normally, the counter operation changes from the least significant bit, and the carry information or carry information is propagated sequentially to the upper bits. That is, a propagation delay occurs in the counter during the counting operation. If the count-up signal and the count-down signal are input asynchronously alternately as in the usage of the up / down counter in this claim, the previous count operation is not completed and the next count operation is started, which may cause malfunction. obtain.
  • the above-described cooperation between the overlap detection unit and the count signal output unit is required.
  • the difference value of the number of turns in the up / down counter does not change as a result.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

 A/D変換回路(1、61、71、81、91、111、121、131)は、入力信号を遅延させてパルス信号を周回させる第1、第2パルス周回回路(31、32)と、前記第1、第2パルス周回回路におけるパルス信号の周回数の差分値を出力する周回数差計測部(3)と、変換データ出力処理信号を出力する時の差分値をA/D変換データとして出力する変換制御回路(4)と、アナログ入力電圧から前記基準電圧を減算した差分電圧に第1比例係数を乗じ、前記基準電圧を加算した電圧を第1出力端子から出力し、前記差分電圧に第2比例係数を乗じ、前記基準電圧から減算した電圧を第2出力端子から出力する信号比率変更回路(2、62、72、92、112、122、132)を備える。前記第1、第2パルス周回回路は、前記第1、第2出力端子とグランド線とから、各々、電源電圧の供給を受ける。

Description

A/D変換回路 関連出願の相互参照
 本出願は、2014年5月19日に出願された日本出願番号2014-103283号と、2015年4月15日に出願された日本出願番号2015―83317号に基づくもので、ここにその記載内容を援用する。
 本開示は、遅延ユニットがリング状に接続されてなるパルス周回回路を用いたA/D変換回路に関するものである。
 従来、パルス周回回路を備えた時間A/D(TAD)と称される方式のA/D変換回路が提案されている(例えば、特許文献1参照)。パルス周回回路は、入力パルス信号を電源電圧に応じた遅延時間だけ遅延させて出力する遅延ユニットをリング状に接続して構成されている。このA/D変換回路は、遅延ユニットの電源電圧としてA/D変換されるべきアナログ入力電圧を印加し、パルス周回回路におけるパルス信号の周回数をカウントし、そのカウント値に基づいてA/D変換データを得るようになっている。TAD方式のA/D変換回路は、ゲートなどのデジタル回路要素により構成でき、回路構成が比較的簡単で、低コストを実現できるなどの多くの利点を持っている。
 しかし、TAD方式のA/D変換回路は、A/D変換データの直線性が良好ではない(非直線性がある)。これは、パルス周回回路の伝達特性(電源電圧と単位時間当たりの周回数との関係)が、線形ではなく2次関数で近似可能な特性になっているためである。そこで、特許文献1記載の構成では、2系統のパルス周回回路を組み合わせることで上記非直線性を完全に相殺し、A/D変換データの直線性を確保している。
 上述したようにしてA/D変換データの直線性が良好に維持されたA/D変換回路と、非直線性を有するセンサ素子とを組み合わせ、デジタル信号を出力するセンサ製品を構成しようとすると、次のような問題が生じる。すなわち、この場合、A/D変換回路から出力されるA/D変換データには、センサ素子が有する非直線性が、そのまま現れることになる。従って、このA/D変換データに含まれる非直線性をデジタル演算などにより補正して直線化する必要が生じる。その結果、上記補正演算に要する時間だけ応答時間が長くなってしまい、センサ装置としての応答性を速くすることが難しくなる。
特開2012-095264号公報
 本開示は、デジタル演算を行うことなくアナログ入力電圧の非直線性を補正することができるA/D変換回路を提供することを目的とする。
 本開示の第一の態様において、アナログ入力電圧と基準電圧との差分に応じたA/D変換データを出力するA/D変換回路は、入力信号を電源電圧に応じて定まる遅延時間だけ遅延させて出力する複数の遅延ユニットがリング状に接続されて構成され、これら遅延ユニットにパルス信号を周回させる第1パルス周回回路および第2パルス周回回路と、前記第1パルス周回回路におけるパルス信号の周回数と前記第2パルス周回回路におけるパルス信号の周回数をカウントしその差分値を出力する周回数差計測部と、A/D変換を終了するタイミングを決定する変換データ出力処理信号を出力し、その時の前記周回数差計測部が出力する差分値を前記アナログ入力電圧に対するA/D変換データとして出力する変換制御回路と、前記アナログ入力電圧から前記基準電圧を減算した電圧を差分電圧とし、前記差分電圧に第1比例係数を乗じた第1差分電圧と前記基準電圧を加算した電圧を第1出力端子から出力するとともに、前記差分電圧に前記第1比例係数と同符号の第2比例係数を乗じた前記第2差分電圧を前記基準電圧から減算した電圧を第2出力端子から出力する信号比率変更回路とを備える。前記第1パルス周回回路の遅延ユニットは、前記信号比率変更回路の前記第1出力端子とグランド線とから電源電圧の供給を受ける。前記第2パルス周回回路の遅延ユニットは、前記信号比率変更回路の前記第2出力端子とグランド線とから電源電圧の供給を受ける。
 このように、上記のA/D変換回路は、信号比率変更回路を除く部分については、前述した従来技術の構成と同様に構成されている。従って、従来技術の構成と概ね同等の効果、つまりTADの非直線性を相殺するといった効果を得ることができる。ただし、この場合、信号比率変更回路を設けたことにより、第1および第2パルス周回回路の各遅延ユニットへの印加電圧は、互いに増減の極性が反転し、且つ、絶対値が異なっている。そのため、本手段の構成では、TADの非直線性について、その一部だけが相殺されるようになっている。
 そして、第1および第2パルス周回回路の各遅延ユニットへの印加電圧の絶対値のバランスは、信号比率変更回路における2つの比例係数、つまり第1比例係数および第2比例係数によって任意に設定することができる。つまり、本手段は、任意にTADの非直線性を可変することができる構成となっている。
 このような構成によれば、アナログ入力電圧を出力するセンサ等が非直線性を有する場合、TADの非直線性を、そのセンサの非直線性と正負が反転した値に設定すれば、センサが有する非直線性を相殺することができる。従って、本手段によれば、アナログ入力電圧を出力するセンサ等が非直線性を有する場合でも、A/D変換データに含まれる非直線性を補正するためのデジタル演算が不要となり、その結果、センサ装置としての応答性を速くすることができる。
 本開示についての上記目的およびその他の目的、特徴や利点は、添付の図面を参照しながら下記の詳細な記述により、より明確になる。その図面は、
図1は、第1の実施形態を示すA/D変換回路の全体構成図であり、 図2は、A/D変換回路の具体的な一構成例を示す図であり、 図3は、デジタル可変抵抗器の構成図であり、 図4は、アナログマルチプレクサの構成図であり、 図5は、アップダウンカウンタの構成図であり、 図6は、アップダウンカウンタのタイミングチャートであり、 図7は、パルス周回回路への印加電圧および単位時間当たりの周回数の関係を示す図であり、 図8は、A/D変換回路における非直線性の定義を説明するための図であり、 図9(a)から図9(c)は、入力電圧および非直線性の関係を示す図であり、 図10は、増幅率の比率および非直線性の関係を示す図であり、 図11は、センサにおける非直線性の定義を説明するための図であり、 図12は、第2の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図13は、ピエゾ抵抗効果を利用した圧力センサの一構成例を示す図であり、 図14は、磁気抵抗素子を用いた電流センサの一構成例を示す図であり、 図15は、第3の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図16は、第4の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図17は、第5の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図18は、第6の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図19は、第7の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図20は、第8の実施形態においてA/D変換回路の具体的な一構成例を示す図であり、 図21は、全差動増幅回路の構成例を示す図であり、 図22は、図21の第1差動対回路部の構成例を示す図であり、 図23は、図21のアナログスイッチの回路構成例を示す図であり、 図24は、図21のバイアス生成回路の構成例を示す図である。
 以下、本開示の複数の実施形態について図面を参照して説明する。なお、各実施形態において実質的に同一の構成には同一の符号を付して説明を省略する。
 (第1の実施形態)
 以下、本開示の第1の実施形態について図1~図11を参照して説明する。
 図1は、本時間A/D(TAD)方式のA/D変換回路の概略的な構成を示している。図1に示すA/D変換回路1は、例えば自動車の電子制御ユニット(ECU)に搭載されたマイクロコンピュータやECUとのデジタル通信機能を有するセンサ製品などの半導体集積回路装置内にMOS製造プロセスにより形成される。A/D変換回路1は、センサ等から出力されたアナログ信号を入力し、そのアナログ入力電圧Vin(被変換電圧)を基準電圧Vrefとの差分に応じたデジタル値に変換し、それをA/D変換データDTとして出力する。
 A/D変換回路1は、信号比率変更回路2、周回数差計測部3、変換制御回路4、第1周回位置検出回路5、第2周回位置検出回路6、第1パルス周回回路31、第2パルス周回回路32などを備えている。信号比率変更回路2は、アナログ入力電圧Vinおよび基準電圧Vrefを入力する。信号比率変更回路2は、基準電圧Vrefに第1差分電圧を加算した電圧を出力する第1出力端子と、基準電圧Vrefから第2差分電圧を減算した電圧を出力する第2出力端子を備えている。信号比率変更回路2の第1および第2出力端子は、それぞれ電源線7および8に接続されている。
 第1差分電圧は、アナログ入力電圧Vinから基準電圧Vrefを減算した差分電圧ΔVに比例した電圧(=A1・ΔV)である。第2差分電圧は、第1差分電圧と同符号で、且つ、差分電圧ΔVに比例し、且つ、第1差分電圧とは絶対値が異なる電圧(=A2・ΔV)である。つまり、本実施形態では、差分電圧ΔVおよび第1差分電圧の比例係数A1(第1比例係数)と、差分電圧ΔVおよび第2差分電圧の比例係数A2(第2比例係数)とは、互いに異なる値となっている(A1≠A2)。
 なお、比例係数A1およびA2は、1以上(増幅)でもよいし、1未満(減衰)でもよい。比例係数A1およびA2を1以上(増幅)にする場合、増幅回路などを用いて信号比率変更回路2を構成すればよい。また、比例係数A1およびA2を1未満(減衰)にする場合、抵抗による分圧回路などを用いて信号比率変更回路2を構成すればよい。
 第1および第2パルス周回回路31、32は、入力信号を電源電圧に応じて定まる遅延時間だけ遅延させて出力する複数の遅延ユニットがリング状に接続されて構成され、これら遅延ユニットにパルス信号を周回させる構成となっている。第1パルス周回回路31の遅延ユニットは、電源線7およびグランド線9から電源電圧の供給を受けるように構成されている。第2パルス周回回路32の遅延ユニットは、電源線8およびグランド線9から電源電圧の供給を受けるように構成されている。
 周回数差計測部3は、第1パルス周回回路31におけるパルス信号の周回数と、第2パルス周回回路32におけるパルス信号の周回数とをカウントし、その差分値を出力する。このとき、周回数差計測部3は、第1パルス遅延回路31の遅延ユニットおよび第2パルス遅延回路32の遅延ユニットは互いに同位置に配された遅延ユニット(例えば最終段のNx)からパルス信号が出力される毎にカウントアップおよびカウントダウンする。
 変換制御回路4には、外部から与えられるスタートパルスSPおよびリセットパルスRPが入力されている。変換制御回路4は、これらのパルスなどに基づいて、A/D変換を開始するタイミングおよび終了するタイミングの決定、A/D変換データDTの出力などを実行する。第1周回位置検出回路5は、A/D変換を終了するタイミングにおける第1パルス周回回路31内でのパルス位置を検出する。第2周回位置検出回路6は、A/D変換を終了するタイミングにおける第2パルス周回回路32内でのパルス位置を検出する。
 このような機能を有するA/D変換回路1の具体的な構成としては、例えば図2に示すような構成を採用することができる。図2に示すように、信号比率変更回路2は、全差動増幅回路11~14および可変抵抗器15~18を備えている。全差動増幅回路11、13は第1増幅回路に相当し、全差動増幅回路12、14は第2増幅回路に相当する。全差動増幅回路11~14は、非反転出力電圧と反転出力電圧の平均値(差動出力の中心電圧)が一定値となるように動作するコモンモードフィードバック回路を備えている。この場合、上記平均値は、Vref端子に入力される電圧に設定されるようになっており、全差動増幅回路11~14の各Vref端子には基準電圧Vrefが入力されている。そのため、全差動増幅回路11~14の差動出力の中心電圧は、基準電圧Vrefに等しくなる。
 全差動増幅回路11の非反転入力端子には、アナログ入力電圧Vinが与えられている。全差動増幅回路11の反転入力端子は、可変抵抗器15の共通端子cに接続されている。全差動増幅回路11の非反転出力端子は、電源線7に接続されるとともに、可変抵抗器15の端子bに接続されている。全差動増幅回路11の反転出力端子は、無接続の状態となっている。可変抵抗器15の端子aには、基準電圧Vrefが与えられている。
 全差動増幅回路12の非反転入力端子には、アナログ入力電圧Vinが与えられている。全差動増幅回路12の反転入力端子は、可変抵抗器16の共通端子cに接続されている。全差動増幅回路12の反転出力端子は、電源線8に接続されている。全差動増幅回路12の非反転出力端子は、可変抵抗器16の端子bに接続されている。可変抵抗器16の端子aには、基準電圧Vrefが与えられている。
 全差動増幅回路13の非反転入力端子には、設定電圧Vsetが与えられている。全差動増幅回路13の反転入力端子は、可変抵抗器17の共通端子cに接続されている。全差動増幅回路13の非反転出力端子は、電源線19に接続されるとともに、可変抵抗器17の端子bに接続されている。全差動増幅回路13の反転出力端子は、無接続の状態となっている。可変抵抗器17の端子aには、基準電圧Vrefが与えられている。
 全差動増幅回路14の非反転入力端子には、設定電圧Vsetが与えられている。全差動増幅回路14の反転入力端子は、可変抵抗器18の共通端子cに接続されている。全差動増幅回路14の反転出力端子は、電源線20に接続されている。全差動増幅回路14の非反転出力端子は、可変抵抗器18の端子bに接続されている。可変抵抗器18の端子aには、基準電圧Vrefが与えられている。
 可変抵抗器15~18は、端子a-b間の抵抗は一定のまま、端子a-c間の抵抗と端子b-c間の抵抗の比率を可変できる構成となっている。可変抵抗器15、17の抵抗の比率は、同一になっており、連動して変化する。また、可変抵抗器16、18の抵抗の比率は、同一になっており、連動して変化する。
 このような構成により、全差動増幅回路11は、非反転出力端子から下記(1)式に示す電圧を出力する。ただし、A1は、可変抵抗器15の端子a-c間の抵抗値R1および端子b-c間の抵抗値R2により定まる増幅率である。また、ΔVは、アナログ入力電圧Vinから基準電圧Vrefを減算した差分電圧である。
  全差動増幅回路11の出力電圧=Vref+A1・ΔV   …(1)
 また、全差動増幅回路12は、反転出力端子から下記(2)式に示す電圧を出力する。ただし、A2は、可変抵抗器16の端子a-c間の抵抗値R3および端子b-c間の抵抗値R4により定まる増幅率である。
  全差動増幅回路12の出力電圧=Vref-A2・ΔV   …(2)
 従って、全差動増幅回路11の非反転出力端子は、信号比率変更回路2の第1出力端子に相当し、全差動増幅回路12の反転出力端子は、信号比率変更回路2の第2出力端子に相当する。なお、全差動増幅回路13、14の出力電圧も、上記(1)、(2)式により表すことができる。ただし、この場合、ΔVは、設定電圧Vsetから基準電圧Vrefを減算した差分電圧となる。
 可変抵抗器15~18としては、例えば図3に示すようなデジタル可変抵抗器(デジタルポテンショメータ)を用いることができる。図3に示すデジタル可変抵抗器は、複数の抵抗21と、外部から入力されるデジタル信号(調整データ)によって複数の抵抗21の接続形態を設定するアナログマルチプレクサ22とを備えている。
 アナログマルチプレクサ22は、例えば図4に示すように、複数のアナログスイッチ、インバータ(NOT回路)が組み合わされ、これらにセレクタ23から信号が入力される回路形態になっている。なお、アナログスイッチは、Pチャネル型MOSトランジスタおよびNチャネル型MOSトランジスタを並列接続した構成である。
 なお、本実施形態では、全差動増幅回路11の増幅率A1は、差分電圧ΔVおよび第1差分電圧の比例係数(第1比例係数)に相当し、全差動増幅回路12の増幅率A2は、差分電圧ΔVおよび第2差分電圧の比例係数(第2比例係数)に相当する。そして、可変抵抗器15、16は、これらの比例係数を調整する信号比率調整装置に相当する。
 さて、図2に示すように、A/D変換回路1は、前述した第1および第2パルス周回回路31、32に加え、第3パルス周回路33および第4パルス周回回路34を備えている。つまり、A/D変換回路1は、4つのパルス周回回路を備えている。パルス周回回路31~34は、入力信号を電源電圧に応じて定まる遅延時間だけ遅延させて出力する複数且つ同数の反転回路Na、Nb、…、Nx(遅延ユニット)がリング状に接続されて構成されている。
 反転回路Na~Nxのうち反転回路NaはNANDゲートから構成され、反転回路Nb~Nxはインバータから構成されている。パルス周回回路31~34が有する反転回路Nb~Nxは互いに熱的に結合した状態に形成されている。NANDゲートの非リング側入力端子にHレベルのスタートパルスSPが入力されている期間、電源電圧に応じて定まる速度で反転回路Na~Nxにパルス信号が周回する。
 4つのパルス周回回路31~34は、第1パルス周回回路31と第2パルス周回回路32が対になって動作し、第3パルス周回回路33と第4パルス周回回路34が対になって動作する。第1パルス周回回路31の反転回路Na~Nxは、電源線7およびグランド線9から電源電圧の供給を受ける。第2パルス周回回路32の反転回路Na~Nxは、電源線8およびグランド線9から電源電圧の供給を受ける。
 第3パルス周回回路33の反転回路Na~Nxは、電源線19およびグランド線9から電源電圧の供給を受ける。第4パルス周回回路34の反転回路Na~Nxは、電源線20およびグランド線9から電源電圧の供給を受ける。なお、この場合、基準電圧Vrefは、A/D変換回路1に与えられる電圧Vcc(例えば5V)の中間電位、例えば1/2の電圧(Vcc/2)となっている。
 各電源線7、8、19、20およびグランド線9の間には、反転回路Na~Nxの反転時の瞬間的な貫通電流による電圧低下防止のため、それぞれバイパスコンデンサCpが設けられている。
 A/D変換回路1のうちパルス周回回路31~34を除く回路部分は、電圧Vccの供給を受けて動作する。電圧Vccとパルス周回回路31~34の各電源電圧とは異なるため、パルス周回回路31~34への信号の入出力にはレベルシフト回路が必要となる。パルス周回回路31~34の反転回路(NANDゲート)Naの前には入力レベルシフト回路35が設けられている。パルス周回回路31~34の反転回路Nxの後には出力レベルシフト回路36が設けられている。
 第1パルス周回回路31および第2パルス周回回路32には、それぞれ後述する変換データ出力処理信号Saの出力時におけるパルス周回回路内でのパルス位置を検出するための第1周回位置検出回路5および第2周回位置検出回路6が設けられている。第1周回位置検出回路5は、ラッチ&エンコーダ37および出力レベルシフト回路38から構成されている。第2周回位置検出回路6は、ラッチ&エンコーダ39および出力レベルシフト回路40から構成されている。
 ラッチ&エンコーダ37は、第1パルス周回回路31の反転回路Na~Nxの出力信号を、出力レベルシフト回路38を介して並列に入力する。ラッチ&エンコーダ37は、これらの出力信号に基づいて第1パルス周回回路31内でのパルス信号の周回位置を検出(エンコード)する。すなわち、ラッチ&エンコーダ37のラッチ指令端子にHレベルの変換データ出力処理信号Saが入力されると、パルス周回回路31を構成する反転回路Na~Nxの位置データをラッチし、それらの数に応じたビット幅(例えば4ビット)で出力する。ラッチ&エンコーダ39も同様に構成されている。減算器41は、ラッチ&エンコーダ37が出力する位置データからラッチ&エンコーダ39が出力する位置データを減算し、変換データ出力処理信号Saが入力された時の減算値を例えばA/D変換データの下位4ビットの下位データとする。変換制御回路4は、変換データ出力処理信号の出力時において、第1パルス周回回路31の内部でのパルス位置と第2パルス周回回路32の内部でのパルス位置との差分を所定ビット数に対応させてA/D変換データの下位データとする。加算器57は、第1カウンタ42の出力値を上位ビットの上位データとし、下位4ビットを「0000」とした値に減算器41の出力値を加算し、A/D変換データを生成する。
 なお、以下の説明では、4つのパルス周回回路31~34を容易に区別するため、第1パルス周回回路31、ラッチ&エンコーダ37およびレベルシフト回路35、36、38からなる回路を「系統A」と称し、第2パルス周回回路32、ラッチ&エンコーダ39およびレベルシフト回路35、36、40からなる回路を「系統B」と称し、第3パルス周回回路33およびレベルシフト回路35、36からなる回路を「系統C」と称し、第4パルス周回回路34およびレベルシフト回路35、36からなる回路を「系統D」と称する場合がある。
 第1カウンタ42は、第1パルス周回回路31におけるパルス信号の周回数と第2パルス周回回路32におけるパルス信号の周回数をカウントしその差分値(例えば8ビット)を出力する第1種類のアップダウンカウンタであり、図1における周回数差計測部3に相当する。カウントアップ入力端子(UP)には、第1パルス周回回路31の反転回路Nxの出力信号が出力レベルシフト回路36を介して入力され、カウントダウン入力端子(DOWN)には、第2パルス周回回路32の反転回路Nxの出力信号が出力レベルシフト回路36を介して入力される。
 プリセット端子とストップ解除端子にはA/D変換回路1に対するHレベルのリセットパルスRPが入力され、ストップ端子にはHレベルの変換データ出力処理信号Saが入力される。プリセット端子にリセットパルスRPが与えられると、第1カウンタ42のプリセットデータは全ビット0(Lレベル)に設定され、変換データ出力処理信号Saが入力された時点の第1カウンタ42の出力値を、例えばA/D変換データの上位8ビットとする。
 第2カウンタ43は、第3パルス周回回路33におけるパルス信号の周回数と第4パルス周回回路34におけるパルス信号の周回数をカウントしその差分値(例えば8ビット)を出力する第1種類のアップダウンカウンタである。カウントアップ入力端子(UP)には、第3パルス周回回路33の反転回路Nxの出力信号が出力レベルシフト回路36を介して入力され、カウントダウン入力端子(DOWN)には、第4パルス周回回路34の反転回路Nxの出力信号が出力レベルシフト回路36を介して入力される。
 プリセット端子とストップ解除端子にはA/D変換回路1に対するHレベルのリセットパルスRPが入力され、ストップ端子にはHレベルの変換データ出力処理信号Saが入力される。プリセット端子にリセットパルスRPが与えられると、プリセットデータとしてROMに設定された値(規定値Yの2の補数、あるいは規定値Y)がセットされる。
 第2カウンタ43の後段には、第2カウンタ43の出力値の全ビットが0になったことを判定するコンパレータ44(判定回路)が設けられている。コンパレータ44が、刻々と変化する第2カウンタ43の出力値が確定した後に比較できるように、第2カウンタ43はコンパレータ44にカウント値が確定したことを通知する。
 第2カウンタ43は、カウント値が確定すると、コンパレータ44に対しHレベルの確定完了信号(すなわち比較開始信号)を出力し、コンパレータ44からHレベルの比較完了信号(すなわち確定解除信号)が入力されると、確定完了信号をLレベルに戻す。なお、第2カウンタ43の出力値の変化が速く、コンパレータ44で判定漏れが発生する虞がある場合には、第2カウンタ43の出力値の下位ビット側を判定に使わないことも考えられる。
 図5は第2カウンタ43の回路構成を示し、図6はタイミングチャートを表している。ここでは表示の都合上4ビットの構成を示すが、実際にはさらに多くのビット数が用いられる。
 第2カウンタ43は、カウントアップ入力端子(UP)、カウントダウン入力端子(DOWN)、カウントを停止させるストップ端子(STOP;カウント停止端子)、カウントの停止を解除するストップ解除端子(STOP解除)、プリセット端子(PRESET)、プリセットデータ端子、確定完了信号端子および確定解除信号端子を備えている。第1カウンタ42も第2カウンタ43と同様の構成を備えているが、プリセットデータには全ビットLレベルが与えられ、プリセット端子はリセット端子として用いられる。
 第2カウンタ43は、入力したパルス信号に応じてカウント信号とカウントアップ/カウントダウンを指示するモード信号を生成する入力部45と、カウント信号をモード信号に従ってカウントアップまたはカウントダウンするカウンタ部46と、カウント値をコンパレータ44に出力するインターフェイス部47とから構成されている。カウンタ部46には、Hレベルのプリセット信号を与えることによりプリセットデータをセットすることができる。
 入力部45は、パルス生成部48、重なり検出部49、カウント信号出力部50、モード設定部51、カウント停止制御部56等から構成されている。パルス生成部48は、偶数個のインバータ48a、48cとExORゲート48b、48dとから構成されている。カウントアップ入力端子、カウントダウン入力端子にパルス信号SB、SAが入力されると、そのアップエッジおよびダウンエッジに同期してそれぞれ幅狭のHレベルのパルス信号SB′、SA′を生成する。
 重なり検出部49は、カウントアップ信号であるパルス信号SB′とカウントダウン信号であるパルス信号SA′が同時に入力された重なり状態の有無を監視し、重なり状態が発生したことを検出するとカウント信号出力部50に対しLレベルの重なり検出信号を出力する。重なった当該2つのパルス信号がともに終了した時点から、少なくともカウント信号出力部50が有する入出力間の遅延時間分の時間が経過した後に重なり検出信号の出力を停止する(Hレベルに戻す)。
 続いて、重なり検出部49の動作をさらに詳細に説明する。まず、RSフリップフロップ49b、49f、49jには、カウント開始時のためのリセット端子が有り、ストップ解除信号(リセットパルスRP)でリセットする。
 ANDゲート49aは、ExORゲート48b、48dの出力が同時にHレベルになったこと、すなわちパルス信号SB′、SA′が重なったことを検出する。パルス信号SB′、SA′が重なると、RSフリップフロップ49bは、Q出力をLレベルからHレベルに変化させ、重なり検出信号であるQ/出力をHレベルからLレベルに変化させることで、重なり状態の発生を記憶する。なお、ここでは、Q出力の反転信号のことをQの後に「/」を付して表している。この重なり状態の記憶は、ANDゲート49aの出力がLレベルに戻った後も維持される。その後、RSフリップフロップ49bは、パルス信号SB′、SA′がともに一旦Lレベルに戻ったことを条件として、記憶した重なり状態をリセットする。
 ANDゲート49c、インバータ49dおよびNORゲート49eは、重なり状態検出時にパルス信号SB′がLレベルに変化したことに応じて、RSフリップフロップ49fのQ出力をHレベルにセットさせる。同様に、ANDゲート49g、インバータ49hおよびNORゲート49iは、重なり状態検出時にパルス信号SA′がLレベルに変化したことに応じて、RSフリップフロップ49jのQ出力をHレベルにセットさせる。
 ここでは、インバータ49dとNORゲート49eやインバータ49hとNORゲート49iのように、奇数個のインバータとNORゲートを組み合わせることで、ダウンエッジ検出回路が形成されている。後述するインバータ50jとNORゲート50kの組み合わせやインバータ50lとNORゲート50mの組み合わせも同様である。
 ANDゲート49kは、RSフリップフロップ49f、49jのQ出力がともにHレベルになるとHレベルのリセット要求信号を出力する。このリセット要求信号は、偶数個のインバータ49l、49mとANDゲート49nによる立ち上がり遅延回路と、奇数個のインバータ49oとANDゲート49pとによるアップエッジ検出回路を介して、RSフリップフロップ49b、49f、49jをリセットする。遅延回路の遅延時間は、カウント信号出力部50が有する入出力間の遅延時間以上とされている。RSフリップフロップ49bがリセットされると、重なり検出信号であるQ/出力がLレベルからHレベルに戻る。なお、上記検出回路の検出パルス幅および遅延回路の遅延時間は、インバータの数により調整することができる。
 カウント信号出力部50は、重なり検出信号がHレベルの時、カウントアップ入力端子またはカウントダウン入力端子にパルス信号が入力されたことに応じてカウント停止制御部56を介してカウンタ部46にカウント信号を出力し、重なり検出信号がLレベルの時、カウンタ部46へのカウント信号の出力を停止する。
 インバータ50jとNORゲート50kは、パルス信号SB′のダウンエッジに同期してHレベルのカウント信号を出力し、インバータ50lとNORゲート50mは、パルス信号SA′のダウンエッジに同期してHレベルのカウント信号を出力する。これらのカウント信号はORゲート50iとANDゲート50nを介して出力される。ANDゲート50nは、重なり検出信号がHレベルの時にORゲート50iからのカウント信号を通過させる。
 モード設定部51は、カウントアップ入力端子とカウントダウン入力端子の何れにパルス信号が入力されたかに応じてカウントアップまたはカウントダウンのモードに切り替える。カウントアップ入力端子にパルス信号が入力されると、そのアップエッジとダウンエッジに同期してHレベルのパルス信号SB′が生じるため、インバータ51bとANDゲート51cを介してRSフリップフロップ51aがセットされ、カウントアップモードに移行する。一方、カウントダウン入力端子にパルス信号が入力されると、そのアップエッジとダウンエッジに同期してHレベルのパルス信号SA′が生じるため、インバータ51dとANDゲート51eを介してRSフリップフロップ51aがリセットされ、カウントダウンモードに移行する。
 カウント停止制御部56は、ストップ端子に変換データ出力処理信号Saが入力されたことに応じてカウント動作を停止し、ストップ解除端子にリセットパルスRP(ストップ解除信号)が入力されたことに応じてカウント動作を再開する。すなわち、変換データ出力処理信号Saが入力されると、RSフリップフロップ56aがセットされ、奇数個のインバータ56bを介してANDゲート56cが遮断状態となる。解除信号が入力されると、RSフリップフロップ56aがリセットされ、ANDゲート56cが通過状態となる。
 カウンタ部46は、ビット数分のTフリップフロップ46aと、ANDゲート46b、46cとORゲート46dからなるリップルキャリー回路とを備えた非同期カウンタである。Tフリップフロップ46aのプリセット端子にHレベルのプリセット信号を入力すると、プリセットデータがセットされる。RSフリップフロップ46eは、カウント信号のダウンエッジに同期してセットされる。偶数個のインバータ46fは、リップルキャリーとカウント動作に要する時間よりも長い遅延時間を有している。インバータ46fの出力信号は上述した確定完了信号であり、RSフリップフロップ46eのリセット端子に入る信号は確定解除信号である。
 図6に示すタイミングチャートは、上から順にカウントアップのパルス信号SB、SB′、カウントダウンのパルス信号SA、SA′、RSフリップフロップ49bのセット端子入力信号、RSフリップフロップ49bのリセット端子入力信号(遅延後のリセット要求信号)、RSフリップフロップ49bのQ出力信号(重なり検出信号の反転信号)、ANDゲート56cの出力信号(カウント信号)、最下位ビットのTフリップフロップ46aの出力、最上位ビットのTフリップフロップ46aの出力、確定解除信号(比較完了信号)を表している。
 パルス信号SB、SAのアップエッジおよびダウンエッジに同期してそれぞれパルス信号SB′、SA′が生成される。時刻t1ではパルス信号SB′とSA′に重なりが生じていないため、重なり検出信号(RSフリップフロップ49bの反転信号)はHレベルであって、パルス信号SB′のダウンエッジに対しカウント信号出力部50のゲート遅延時間Tdの後、幅狭のHレベルからのダウンエッジであるカウント信号を出力する。
 時刻t2においてパルス信号SB′、SA′に重なりが生じると、ANDゲート49aの遅延を経た後、RSフリップフロップ49bがセットされ、重なり状態の発生が記憶される。時刻t3においてパルス信号SB′が立ち下がると、RSフリップフロップ49fのQ出力がHレベルにセットされる(重なり状態記憶後のパルス信号SB′立ち下がり検出)。
 時刻t4においてパルス信号SA′が立ち下がると、RSフリップフロップ49jのQ出力がHレベルにセットされる(重なり状態記憶後のパルス信号A′立ち下がり検出)。この時点でアップパルス信号SB′とダウンパルス信号SA′がともに立ち下がった状態になったのでリセット要求信号が発生し、RSフリップフロップ49b、49f、49jがリセットされ、重なり状態が解除される(時刻t5)。
 重なり時に誤ってカウント信号(ANDゲート56cの出力信号)を生成させないため、パルス信号SB′、SA′がともに終了した時点から重なり状態が解除されるまで(重なり検出信号がHレベルとなるまで)の遅延時間は、少なくとも図中に示す時間Td(カウント信号出力部50が有する入出力間の遅延時間分の時間)よりも大きく設定されている。
 本実施形態では、第2カウンタ43のカウント値が1増減するごとに、コンパレータ44で全ビットが0か否かを比較できる構成となっている。そのためには、カウント値が1増減する間にコンパレータ44によるデジタル比較動作が完了すればよい。実際には、第2カウンタ43によるカウント動作およびコンパレータ44によるデジタル比較動作の一連の動作を律速するのは、第2カウンタ43の動作時間(主としてカウンタ部46の伝搬時間)である。
 図6に示すパルス生成時間は、カウントアップのパルス信号SB、カウントダウンのパルス信号SAが入力された時点からパルス信号SB′、SA′が立ち下がるまでの時間である。第2カウンタ43は、パルス信号SB′、SA′の立ち下がり時点でカウント信号を生成しカウントするので、パルス生成時間は、前回入力されたパルス信号SB、SAのカウント動作中に次のカウント信号を生成するまでの待ち時間に相当する。そのため、パルス生成時間は、カウンタ43の動作時間より長く設定する必要がある。その結果、コンパレータ44のデジタル比較動作時間<カウンタ動作時間<パルス生成時間の関係が必要となる。
 一方、パルス周回回路33、34の出力は、1周ごとに1(Hレベル)と0(Lレベル)を繰り返すのに対して、第2カウンタ43は立ち上がり、立ち下りともにカウント信号を生成するので、パルス生成時間<パルス周回回路の1周最小時間とする必要がある。以上から、コンパレータ44のデジタル比較動作時間<カウンタ動作時間<パルス生成時間<パルス周回回路の1周最小時間の関係が必要となる。
 さて、図2においてコンパレータ44から全ビット0を示すHレベルの比較結果信号が出力されると、RSフリップフロップ52はセットされ、そのQ出力からHレベルの変換データ出力処理信号Saが出力される。変換データ出力処理信号Saは、カウンタ42、43のストップ端子、ラッチ&エンコーダ37、39のラッチ指令端子に与えられるとともに、インバータ53からなる遅延要素を介して変換終了信号となる。また、RSフリップフロップ52のQ/出力は、ANDゲート54に入力されている。スタートパルスSPは、ANDゲート54を介してレベルシフト回路35に与えられているが、変換終了した時点でRSフリップフロップ52のQ/出力がLレベルになることに同期してANDゲート54の出力もLレベルになるため、パルス信号の周回が停止する。再度、A/D変換する場合は、一旦スタートパルスSPをLレベルにした後、RSフリップフロップ52を、リセットパルスRPの入力によってリセットした後、再開すればよい。
 以上説明した構成のうち、減算器41、加算器57、コンパレータ44、RSフリップフロップ52およびANDゲート54は、変換制御回路4を構成する。変換制御回路4は、第1~第4パルス周回回路31~34に対し同時にパルス周回動作を開始させる。第2カウンタ43が出力する差分値が予め決められた規定値Yに達すると、変換データ出力処理信号Saを出力し、その時の第1カウンタ42およびラッチ&エンコーダ37、39が出力する差分値をアナログ入力電圧Vinに対するA/D変換データとして出力する。
 さて、特開2012-095264号公報に開示された構成(以下、従来技術の構成とも呼ぶ)では、4系統のパルス周回回路のうち、系統Aおよび系統Bの組み合わせによりTADの非直線性を相殺し、同様に系統Cおよび系統Dの組み合わせによりTADの非直線性を相殺している。また、従来技術の構成では、系統Aおよび系統Bの温度特性を系統Cおよび系統Dの温度特性によって相殺する構成となっている。そして、この場合、系統Aおよび系統Bの各遅延ユニットへの印加電圧は、互いに増減の極性が反転し、且つ、絶対値が等しくなっている。これにより、TADの非直線性が完全に相殺されるようになっている。
 一方、本実施形態のA/D変換回路1は、信号比率変更回路2を除く部分については、従来技術の構成と同様に構成されている。従って、本実施形態のA/D変換回路1によれば、従来技術の構成と概ね同様の効果、つまりTADの非直線性および温度特性を相殺するといった効果を得ることができる。ただし、本実施形態のA/D変換回路1では、信号比率変更回路2を設けたことにより、系統Aおよび系統Bの各遅延ユニットへの印加電圧は、互いに増減の極性が反転し、且つ、絶対値が等しくなっていない(異なっている)。そのため、本実施形態のA/D変換回路1では、TADの非直線性については、その一部だけが相殺される(補正される)ようになっている。
 以下、本実施形態における非直線性補正の考え方について説明する。
 図7は、4系統のパルス周回回路31~34への印加電圧および単位時間当たりの周回数の関係を概念的に表した図である。A/D変換回路1の構成によれば、系統Aのパルス周回回路31に印加される電源電圧をxとし、系統Bのパルス周回回路32に印加される電源電圧をx′とすると、基準電圧xrefに対し常に(3)式と(4)式が成り立つ。
  x=xref+Δx      …(3)
  x′=xref-r・Δx   …(4)
 すなわち、系統Aのパルス周回回路31の印加電圧が「Δx」だけ増加したとき、系統Bのパルス周回回路32の印加電圧が「r・Δx」だけ減少し、系統A、Bのパルス周回回路31、32の印加電圧が等しくなったときの電圧がxrefとなる。ここで、rは、全差動増幅回路11、12の増幅率A1、A2の比率であり、下記(5)式で表される。
  r=増幅率A2÷増幅率A1   …(5)
 また、図7に示す系統A~Dのパルス周回回路の特性は、任意の基準電圧xrefを中心にして(6)式、(7)式に示す2次関数で近似できる(僅かに2次成分を有している)。ただし、y、y′は、それぞれ系統A、Bのパルス周回回路31、32に電源電圧x、x′を印加したときの単位時間当たりの周回数である。また、係数AはΔxに対する2次係数であり、係数BはΔxに対する1次係数である。
  y=A・(Δx)+B・(Δx)+yref      …(6)
  y′=A・(-r・Δx)+B・(-r・Δx)+yref   …(7)
 上記(6)式および(7)式により、次の(8)式が成り立つ。
  y-y′=(1-r)・A・(Δx)+(1+r)・B・(Δx) …(8)
 上記(8)式によれば、単位時間当たりの周回数差「y-y′」は、yrefと無関係であることが分かる。また、「r=1」、つまり「増幅率A1=増幅率A2」であれば、電圧変化Δxに対する非直線性成分である2次成分((8)式の右辺第1項)は「0」となり、従来技術の構成と同様に、良好な直線性が得られる。そして、「r≠1」、つまり「増幅率A1≠増幅率A2」とすれば、非直線性が得られることが分かる。
 ここでは、A/D変換回路1の「非直線性」を、図8をもとに下記(9)式のように定義する。すなわち、A/D変換回路1の入力電圧範囲におけるA/D変換データ(デジタル値)の変化幅をYmaxとし、入力電圧に対してA/D変換データが直線的に変化する場合における直線(図8において破線で示す)に対する誤差の最大値をΔYmaxとしている。
  非直線性[%]=(ΔYmax/Ymax)×100   …(9)
 続いて、本実施形態による非直線性補正の試算結果およびセンサ非直線性補正への利用方法を説明する。
 図9(a)から図9(c)は、所定の半導体プロセスでのデータをもとに、A/D変換回路1における系統A、Cへの印加電圧の増幅率A1、系統B、Dへの印加電圧の増幅率A2を連動して変化させた際における増幅率の比率rおよび非直線性誤差(試算結果)を示している。図9(a)は比率r=0.1(A1=10、A2=1)、図9(b)は比率r=1(A1=10、A2=10)、図9(c)は比率r=10(A1=1、A2=10)の場合を示す。なお、ここでは、基準電圧Vref=2.4Vとし、入力電圧範囲を2.4V±0.03V(2.37~2.43V)とし、このときの出力範囲に対する誤差を示している。
 図9(a)から図9(c)に示すように、本実施形態のA/D変換回路1では、増幅率の比率rを変化させることで、上に凸となる非直線性、図9(a)および下に凸となる非直線性、図9(c)のいずれについても実現することができる。具体的には、増幅率A1を増幅率A2よりも大きく設定すると(r<1)、上に凸となる非直線性を実現することができ、増幅率A1を増幅率A2よりも小さく設定すると(r>1)、下に凸となる非直線性を実現することができる。なお、図9(b)に示すように、r=1のときは、フラットな特性となっているが、これは従来技術の構成と同様の特性に相当する。
 図10は、図9(a)から図9(c)における入力電圧範囲での誤差(非直線性)の最大値(入力電圧範囲の中心値=2.4V)および増幅率の比率rの関係を示している。図10に示すように、比率rが0.1(1:10)から10(10:1)の範囲において、非直線性が約±0.8%程度の範囲を変化することが分かる。なお、この場合、非直線性の最大値は、1系統のパルス周回回路が元々持っている非直線性によって制限される。また、入力電圧範囲は、増幅率の比率r=1(図9(b))において特性がフラットになるような範囲に選定する必要がある。そのため、ここでは、増幅率A1、A2は「10」以下に設定されている。
 このような構成によれば、A/D変換回路1によるA/D変換の対象となるアナログ入力電圧Vinを出力するセンサ等が非直線性(非線形の特性)を有する場合、A/D変換回路1における非直線性を、そのセンサの非直線性と正負を反転した値に設定すれば、センサが有する非直線性を完全に相殺することが可能となる。
 なお、センサの「非直線性」は下記(10)式のように定義する。ただし、図11に示すように、センサが検出する物理量(例えば圧力)の範囲におけるセンサ出力信号(出力電圧)の変化幅をVmaxとし、物理量に対して出力電圧が直線的に変化する場合における直線(図11において破線で示す)に対する誤差の最大値をΔVmaxとしている。
  非直線性[%]=(ΔVmax/Vmax)×100   …(10)
 例えば、センサの非直線性が「+0.4%」であれば、A/D変換回路1の非直線性を「-0.4%」に設定すれば、センサの非直線性を完全に相殺することができる。なお、A/D変換回路1の非直線性を「-0.4%」に設定する場合、増幅率の比率rを「1.75」程度(増幅率A1≒5.7、増幅率A2=10)とすればよい。
 続いて、具体的なA/D変換のシーケンスを説明する。初めにリセットパルスRPを与えて、図2に示す第1カウンタ42とRSフリップフロップ52をリセットする。同時に、第2カウンタ43に規定値Yをプリセットする。使用する設定電圧Vsetが基準電圧Vrefよりも高い場合には、第2カウンタ43のカウント値が増加するので、第2カウンタ43に規定値Yの2の補数をプリセットする。逆に設定電圧Vsetが基準電圧Vrefよりも低い場合には、第2カウンタ43のカウント値が減少するので、第2カウンタ43に規定値Yをプリセットする。
 なお、以下の説明において第2カウンタ43が規定値Yをカウントすると言うときは、作用上明らかに不適な場合を除き、規定値Yの2の補数をプリセットする場合と規定値Yをプリセットする場合の両者を含むものとする。
 その後、少なくともA/D変換期間中Hレベルを保持するスタートパルスSPを与える。上記リセットによりRSフリップフロップ52のQ/出力はHレベルとなっているので、スタートパルスSPの入力により、系統A~Dのパルス周回回路31~34が同時にパルス周回動作を開始する。系統A、Bにおいて、第1カウンタ42は、系統Aのパルス周回回路31のパルスが1周するごとにカウントアップし、系統Bのパルス周回回路32のパルスが1周するごとにカウントダウンする。
 一方、系統C、Dにおいて、第2カウンタ43は、系統Cのパルス周回回路33のパルスが1周するごとにカウントアップし、系統Dのパルス周回回路34のパルスが1周するごとにカウントダウンする。第2カウンタ43は、内部のインターフェイス部47(図5参照)にカウント値が確定すると、コンパレータ44に対し確定完了信号を出力する。コンパレータ44は、第2カウンタ43の出力値が全ビット0であるか否かを判定し、判定が終了すると第2カウンタ43に比較完了信号(確定解除信号)を出力する。第2カウンタ43が初期のプリセット状態から規定値Yだけ計数して全ビット0になると、RSフリップフロップ52がセットされ、Hレベルの変換データ出力処理信号Saを出力する。この変換データ出力処理信号Saは、外部回路に対する変換終了信号となる。
 変換データ出力処理信号SaがHレベルになると、ANDゲート54が閉じられ、パルス周回回路31~34はパルス周回動作を停止する。同時に、系統A、Bの第1カウンタ42が停止し、第1パルス周回回路31におけるパルス信号の周回数から第2パルス周回回路32におけるパルス信号の周回数を減じた差分値を8ビット幅で出力する。ラッチ&エンコーダ37、39は、それぞれパルス周回回路31、32内でのパルス信号の位置を示す位置データをラッチし出力する。減算器41は、ラッチ&エンコーダ37が出力する位置データからラッチ&エンコーダ39が出力する位置データを減算し、それを4ビット幅で出力する。この減算で繰り上がり(正の値)あるいは繰り下がり(負の値)が生じる場合には、加算器57により上位8ビットの上位データに繰り入れる。これら上位8ビットの上位データと下位4ビットの下位データの合計12ビットのデータがA/D変換データDTとなる。
 以上説明したように、本実施形態のA/D変換回路1は、基準電圧に互いに極性の反転した差分電圧が加算された電源電圧が遅延ユニットに印加される系統A、Bの第1、第2パルス周回回路31、32と、同様に基準電圧に互いに極性の反転した差分電圧が加算された電源電圧が遅延ユニットに印加される系統C、Dの第3、第4パルス周回回路33、34と、第1、第2パルス周回回路31、32の周回数差をカウントする第1カウンタ42と、第3、第4パルス周回回路33、34の周回数差をカウントする第2カウンタ43とを備えている。
 この構成で、パルス周回回路31~34にスタートパルスSPを一斉に付与した後、第2カウンタ43が規定値Yをカウントした時点での第1カウンタ42のカウント値(パルス周回数の差分値)とラッチ&エンコーダ37、39のパルス位置の差分値とを上位ビットと下位ビットとしたデータが、基準電圧Vrefから見たアナログ入力電圧VinのA/D変換データとなる。
 従って、本実施形態のA/D変換回路1によれば、従来技術の構成と概ね同様の効果、つまりTADの非直線性および温度特性を相殺するといった効果を得ることができる。ただし、A/D変換回路1では、信号比率変更回路2を設けたことにより、系統Aおよび系統Bの各遅延ユニットへの印加電圧は、その絶対値が互いに異なっている。そのため、A/D変換回路1では、TADの非直線性について、その一部だけが相殺されるようになっている。そして、系統A、Bへの印加電圧の絶対値のバランスは、全差動増幅回路11、12の増幅率A1、A2の比率rによって任意に設定することができる。つまり、A/D変換回路1は、任意に非直線性を可変することができる構成となっている。
 このような構成によれば、被変換電圧(アナログ入力電圧Vin)を出力するセンサ等が非直線性を有する場合、A/D変換回路1における非直線性を、そのセンサの非直線性と正負が反転した値に設定すれば、センサが有する非直線性を相殺することができる。従って、本実施形態によれば、被変換電圧を出力するセンサ等が非直線性を有する場合でも、A/D変換データに含まれる非直線性を補正するためのデジタル演算が不要となり、その結果、センサ装置としての応答性を速くすることができる。
 また、A/D変換回路1では、調整データよって可変抵抗器15~18の抵抗比率、つまり増幅率A1、A2を可変できるようになっている。このような構成によれば、A/D変換回路1とセンサ素子とを組み合わせてセンサ製品が構成される場合、そのセンサの非直線性がばらついても、それに対応して非直線性を相殺することが可能となる。例えば、次のような手順で増幅率A1、A2(の比率r)の調整を行うことが考えられる。
 すなわち、A/D変換回路1が搭載されるセンサ製品のセンサ素子が持つ非直線性にばらつきがある場合、各製品ごとに非直線性を測定し、その非直線性を相殺し得る可変抵抗器15~18の抵抗比率、つまり増幅率A1、A2を決定する。そして、これに対応する特性補正データをセンサ製品内のメモリ(例えばEEPROMなど)に書き込む。なお、このような補正データの書き込みは、通常、センサ製品を工場から出荷する前に実施する。
 また、このような構成のA/D変換回路1は、センサ素子と組み合わせた後にも非直線性を可変することができる。そのため、組み合わせられるセンサ素子の非直線性に関する特性が不明な場合、あるいは、様々な種類のセンサ素子と組み合わせられる可能性がある場合であっても、組み合わせられたセンサ素子が持つ非直線性を確実に相殺(補正)することができる。
 系統A、Bにラッチ&エンコーダ37、39を備え、第1、第2パルス周回回路31、32を周回する1周に満たないパルス信号の移動量を位置データとして検出し、A/D変換データの下位ビットとして用いた。これにより、パルス周回回路31、32を構成する反転回路の数に応じて一層高い分解能が得られる。なお、ラッチ&エンコーダ37、39は、必要に応じて設ければよい。
 本実施形態のA/D変換回路1は、4系統のパルス周回回路31~34の特性が揃っていることを利用して温度特性を相殺しているので、半導体集積回路装置の素子レイアウトについて下記の点に配慮した設計を行うことが望ましい。
(1)4系統のパルス周回回路31~34を同一の半導体チップ上に互いに近接して配置する。この配置によれば、反転回路Na~Nxの温度が等しくなり、温度特性が相殺される。
(2)4系統のパルス周回回路31~34を同一形状・同一寸法に配置する。この配置によれば反転回路Na~Nxの特性が等しくなり、温度特性が良好に相殺される。
(3)4系統のパルス周回回路31~34を同一方向に配置する。この配置によれば、半導体プロセスでの出来栄えが同じになり、温度特性が良好に相殺される。
(4)4系統のパルス周回回路31~34のサイズをできるだけ大きくする。これにより、半導体プロセスでの寸法ばらつきが相対的に小さくなり、温度特性が良好に相殺される。
(5)第1、第2カウンタ42、43、コンパレータ44などの周辺回路も、同一チップ上でパルス周回回路31~34の近くに配置する。この配置によれば、配線に伴う寄生容量を低減でき、信号遅延に基づく誤動作を回避することができる。
 本実施形態の構成では、信号比率変更回路2は全差動増幅回路11~14及び可変抵抗器15~18を用いて構成されている。このため、全差動増幅回路11、13の増幅率A1と全差動増幅回路12、14の増幅率A2を個別に設定でき、これらの増幅率の比A2/A1=比率rを任意に設定できる。
 (第2の実施形態)
 以下、本開示の第2の実施形態について図12~図14を参照して説明する。
 図12に示す本実施形態のA/D変換回路61は、第1の実施形態のA/D変換回路1に対し、被変換電圧が差動形式である点などが異なる。すなわち、A/D変換回路61は、差動形式のアナログ入力電圧Vin+、Vin-(被変換電圧)を基準電圧Vrefとの差分に応じたデジタル値に変換し、それをA/D変換データDTとして出力する。なお、この場合、ラッチ&エンコーダ37、39は設けられていない(設けてもよい)。
 A/D変換回路61が備える信号比率変更回路62は、図2に示した信号比率変更回路2に対し、次の点が異なる。すなわち、アナログ入力電圧Vin+は全差動増幅回路11の非反転入力端子に与えられ、アナログ入力電圧Vin-は全差動増幅回路12の非反転入力端子に与えられている。全差動増幅回路12の反転出力端子は、無接続の状態となっている。全差動増幅回路12の非反転出力端子は、可変抵抗器16の端子bに接続されるとともに、電源線8に接続されている。
 このような構成のA/D変換回路61は、ピエゾ抵抗効果を利用した圧力センサ(特開平10-160602号公報など参照)と組み合わせることができる。図13は、このような圧力センサの一構成例を示している。図13に示す圧力センサ63(センサに相当)では、半導体の拡散抵抗64a~64dによりホイートストンブリッジが構成されている。端子P61は電源端子であり、端子P62は電圧Vpの出力端子であり、端子P63はVmの出力端子である。
 図13において、矢印は抵抗の増減を表し、圧力上昇時に抵抗が増える場合は上向きの矢印で示し、減る場合には下向きの矢印で示している。従って、圧力上昇に伴い、端子P62の電圧Vpが上昇するとともに端子P63の電圧Vmが低下する。圧力センサ63の出力電圧は、電圧Vpおよび電圧Vmの差(=Vp-Vm)となる。このような圧力センサ63とA/D変換回路61を組み合わせる場合、電圧Vpがアナログ入力電圧Vin+となり、電圧Vmがアナログ入力電圧Vin-となる。
 このような構成の圧力センサは、通常、0%~+0.4%程度の非直線性、つまり上に凸となる非直線性を持つ製品が多い。なお、ここで言う非直線性は、前述した(10)式により定義されたものである。従って、A/D変換回路61とピエゾ抵抗効果を利用した圧力センサとを組み合わせる場合、A/D変換回路61の非直線性が下に凸となるように、増幅率の比率rを設定すればよい。
 また、上記構成のA/D変換回路61は、磁気抵抗素子を用いた電流センサ、磁気センサ(特開2008-122083号公報、特開2011-242270号公報など参照)などと組み合わせることができる。図14は、このような電流センサの一構成例を示している。図14に示す電流センサ65(センサに相当)では、磁気センシング素子としての磁気抵抗素子(MRE)66、67によりホイートストンブリッジが構成されている。磁気抵抗素子66、67は、いずれも磁気抵抗Ra~Rdを直列接続したハーフブリッジ回路を備えた構成である。このような電流センサ65とA/D変換回路61を組み合わせる場合、各ハーフブリッジ回路の中点66c、67cの電圧Va、Vbがアナログ入力電圧Vin+、Vin-となる。
 このような磁気抵抗素子を用いた電流センサの場合、センサ出力がサイン波状になっているため、非直線性がある。具体的には、サイン波の0°~15°相当で使用する場合、センサの非直線性は+0.44%程度(上に凸)となる。従って、この場合、A/D変換回路61の非直線性が下に凸となるように、増幅率の比率rを設定すればよい。また、サイン波の-15°~0°相当で使用する場合、センサの非直線性は-0.44%程度(下に凸)となる。従って、この場合、A/D変換回路61の非直線性が上に凸となるように、増幅率の比率rを設定すればよい。
 なお、このような電流センサとA/D変換回路61を組み合わせる場合、電流極性を判定して、非直線性の切り替え(上に凸および下に凸の切り替え)を行うことも可能である。また、A/D変換回路61は、MRE(Magneto Resistive Effect)よりも抵抗変化が大きい磁気センシング素子であるGMR素子(Giant Magneto Resistive effect)を用いたセンサと組み合わせることも可能である。
 (第3の実施形態)
 以下、本開示の第3の実施形態について図15を参照して説明する。
 図15に示すように、本実施形態のA/D変換回路71が有する信号比率変更回路72は、第1の実施形態の信号比率変更回路2に対し、図2に示した可変抵抗器15~18に代えて抵抗R71~R78を備えている点が異なる。抵抗R71、R72および全差動増幅回路11は、次のような形態で接続されている。すなわち、抵抗R71の一方の端子には、基準電圧Vrefが与えられている。抵抗R71の他方の端子は、全差動増幅回路11の反転入力端子に接続されるとともに、抵抗R72を介して全差動増幅回路11の非反転出力端子に接続されている。抵抗R73、R74および全差動増幅回路12、抵抗R75、R76および全差動増幅回路13、抵抗R77、R78および全差動増幅回路14も、抵抗R71、R72および全差動増幅回路11と同様の形態で接続されている。
 この場合、抵抗R71、R75は同一の抵抗値R1であり、抵抗R72、R76は同一の抵抗値R2であり、抵抗R73、R77は同一の抵抗値R3であり、抵抗R74、R78は同一の抵抗値R4である。従って、全差動増幅回路11、13の増幅率A1は、抵抗値R1、R2により定まる固定値であり、全差動増幅回路12、14の増幅率A2は、抵抗値R3、R4により定まる固定値である。
 このように、本実施形態のA/D変換回路71では、増幅率A1、A2の比率r、つまり非直線性は固定となっている。このような構成によっても、組み合わせられるセンサ素子の非直線性に関する特性がある程度分かっており、大きく変化することが無い(非直線性に大きなばらつきが無い)場合であれば、そのセンサ素子の特性に合わせてA/D変換回路71の非直線性を設定しておくことで、センサ素子の非直線性をうまく相殺することが可能となる。しかも、抵抗R71~R78を用いるA/D変換回路71は、可変抵抗器15~18を用いるA/D変換回路1に比べ、構成の簡素化、製造コストの低減などのメリットがある。
 (第4の実施形態)
 以下、本開示の第4の実施形態について図16を参照して説明する。
 図16に示すように、本実施形態のA/D変換回路81は、第1の実施形態のA/D変換回路1に対し、周回数差計測部3の具体的な構成が異なっている。A/D変換回路81は、図2に示した系統A、Bの第1カウンタ42に替えて、第1、第2パルス周回回路31、32のそれぞれに対するカウンタ84、85を備えており、カウントアップ値とカウントダウン値を得るために設けられる。ラッチ86はカウンタ84のカウンタ値を保持し、ラッチ87はカウンタ85のカウンタ値を保持するように設けられ、これによりカウンタ84、85とラッチ86、87は2対備えられている。対をなすカウンタ84、85は、ラッチ86、87および減算器88を伴い、例えば8ビットの第2種類のアップダウンカウンタ89をなしている。リセットパルスRPが入力されるとカウント値を0にリセットし、第1パルス周回回路31と第2パルス周回回路32の出力信号によりそれぞれカウントアップする。
 カウンタ84、85の出力値は、Hレベルの変換データ出力処理信号Saによってラッチ86、87に保持される。ラッチ86、87に保持された周回数データが上位8ビットとなり、ラッチ&エンコーダ37、39から出力される位置データが下位4ビットとなる。減算器88は、系統Aの周回数・位置データから系統Bの周回数・位置データを減算して12ビットのA/D変換データDTを得る。ラッチ&エンコーダ37、39は、必要に応じて設ければよい。
 図16に示すA/D変換回路81の系統C、Dは、図2に示した構成と同一である。ただし、図16において、第2カウンタ43とコンパレータ44との間の確定完了信号(比較開始信号)と確定解除信号(比較完了信号)は省略されている。
 本実施形態によれば、汎用のアップカウンタ84、85を利用することができる。系統A、Bに汎用のアップカウンタ84、85を採用したA/D変換回路81においては、減算器88による減算を変換終了時に1回だけ行えばよい。そのため、A/D変換回路81は、次のA/D変換を開始した後に減算処理をすることもできるので、汎用のアップカウンタ84、85を利用しながら高精度のA/D変換データを得ることができる。
 (第5の実施形態)
 以下、本開示の第5の実施形態について図17を参照して説明する。
 図17に示す本実施形態のA/D変換回路91は、第1の実施形態のA/D変換回路1に対し、図2に示した信号比率変更回路2に代えて信号比率変更回路92を備えている点などが異なる。なお、この場合、ラッチ&エンコーダ37、39は設けられていない(設けてもよい)。
 信号比率変更回路92は、OPアンプ93~96および可変抵抗器97~100を備えている。OPアンプ93の非反転入力端子には、基準電圧Vrefが与えられている。OPアンプ93の反転入力端子は、可変抵抗器97の共通端子cに接続されている。OPアンプ93の出力端子は、電源線8に接続されるとともに、可変抵抗器97の端子bに接続されている。可変抵抗器97の端子aには、アナログ入力電圧Vinが与えられている。
 OPアンプ94の非反転入力端子には、アナログ入力電圧Vinが与えられている。OPアンプ94の反転入力端子は、可変抵抗器98の共通端子cに接続されている。OPアンプ94の出力端子は、電源線7に接続されるとともに、可変抵抗器98の端子bに接続されている。可変抵抗器98の端子aには、基準電圧Vrefが与えられている。
 OPアンプ95の非反転入力端子には、基準電圧Vrefが与えられている。OPアンプ95の反転入力端子は、可変抵抗器99の共通端子cに接続されている。OPアンプ95の出力端子は、電源線20に接続されるとともに、可変抵抗器99の端子bに接続されている。可変抵抗器99の端子aには、設定電圧Vsetが与えられている。
 OPアンプ96の非反転入力端子には、設定電圧Vsetが与えられている。OPアンプ96の反転入力端子は、可変抵抗器100の共通端子cに接続されている。OPアンプ96の出力端子は、電源線19に接続されるとともに、可変抵抗器100の端子bに接続されている。可変抵抗器100の端子aには、基準電圧Vrefが与えられている。
 可変抵抗器97~100は、可変抵抗器15~18と同様、端子a-b間の抵抗は一定のまま、端子a-c間の抵抗と端子b-c間の抵抗の比率を可変できる構成となっている。可変抵抗器97、99の抵抗の比率は、同一になっており、連動して変化する。また、可変抵抗器98、100の抵抗の比率は、同一になっており、連動して変化する。
 上記構成によれば、OPアンプ93は、反転増幅回路として動作する。この場合における増幅率A2は、下記(11)式により表すことができる。ただし、可変抵抗器97の端子a-c間の抵抗値をR1とし、端子b-c間の抵抗値をR2とする。
  A2=R2/R1   …(11)
 そして、OPアンプ93の出力電圧は、下記(12)式により表すことができる。ただし、ΔVは、アナログ入力電圧Vinから基準電圧Vrefを減算した差分電圧である。
  OPアンプ93の出力電圧=Vref-A2・ΔV   …(12)
 また、OPアンプ94は、非反転増幅回路として動作する。この場合における増幅率A1は、下記(13)式により表すことができる。ただし、可変抵抗器98の端子a-c間の抵抗値をR3とし、端子b-c間の抵抗値をR4とする。
  A1=1+(R4/R3)   …(13)
 そして、OPアンプ94の出力電圧は、下記(14)式により表すことができる。
  OPアンプ94の出力電圧=Vref+A1・ΔV   …(14)
 従って、OPアンプ93の出力端子は、信号比率変更回路92の第2出力端子に相当し、OPアンプ94の出力端子は、信号比率変更回路92の第1出力端子に相当する。なお、OPアンプ95、96の出力電圧も、上記(12)、(14)式により表すことが出来る。ただし、この場合、ΔVは、設定電圧Vsetから基準電圧Vrefを減算した差分電圧となる。また、本実施形態では、可変抵抗器97、98が信号比率調整装置に相当する。
 このように、通常のOPアンプ93~96を用いて信号比率変更回路92を構成した本実施形態によっても、系統A、Bの各遅延ユニットへの印加電圧は、その絶対値が互いに異なる。そして、系統A、Bへの印加電圧の絶対値のバランスは、OPアンプ93、94の増幅率A2、A1の比率rによって任意に設定することができる。つまり、A/D変換回路91は、第1の実施形態のA/D変換回路1と同様、任意に非直線性を可変することができる構成となっている。従って、本実施形態によっても、第1の実施形態と同様の作用および効果を得ることができる。
 (第6の実施形態)
 以下、本開示の第6の実施形態について図18を参照して説明する。
 図18に示す本実施形態のA/D変換回路111は、第5の実施形態のA/D変換回路91に対し、被変換電圧が差動形式である点などが異なる。すなわち、A/D変換回路111は、差動形式のアナログ入力電圧Vin+、Vin-(被変換電圧)を基準電圧Vrefとの差分に応じたデジタル値に変換し、それをA/D変換データDTとして出力する。なお、この場合、ラッチ&エンコーダ37、39は設けられていない(設けてもよい)。
 A/D変換回路111が備える信号比率変更回路112は、信号比率変更回路92に対し、次の点が異なる。すなわち、アナログ入力電圧Vin+はOPアンプ94の非反転入力端子に与えられ、アナログ入力電圧Vin-はOPアンプ93の非反転入力端子に与えられている。また、可変抵抗器97、98の端子aには、いずれも基準電圧Vrefが与えられている。このような構成によれば、OPアンプ93、94は、いずれも非反転増幅回路として動作する。なお、OPアンプ93は非反転増幅回路として動作するため、その増幅率A2は、下記(15)式のようになる。
  A2=1+(R2/R1)   …(15)
 このような構成のA/D変換回路111についても、第2の実施形態のA/D変換回路61と同様、ピエゾ抵抗効果を利用した圧力センサ、磁気抵抗素子を用いた電流センサ、磁気センサなどと組み合わせることができる。
 (第7の実施形態)
 以下、本開示の第7の実施形態について図19を参照して説明する。
 図19に示すように、本実施形態のA/D変換回路121が有する信号比率変更回路122は、第5の実施形態の信号比率変更回路92に対し、可変抵抗器97~100に代えて抵抗R121~R128を備えている点が異なる。抵抗R121、R122およびOPアンプ93は、次のような形態で接続されている。すなわち、抵抗R121の一方の端子には、アナログ入力電圧Vinが与えられている。抵抗R121の他方の端子は、OPアンプ93の反転入力端子に接続されるとともに、抵抗R122を介してOPアンプ93の出力端子に接続されている。
 抵抗R123、124およびOPアンプ94は、次のような形態で接続されている。すなわち、抵抗R123の一方の端子には、基準電圧Vrefが与えられている。抵抗R123の他方の端子は、OPアンプ94の反転入力端子に接続されるとともに、抵抗R124を介してOPアンプ94の出力端子に接続されている。
 抵抗R125、R126およびOPアンプ95は、次のような形態で接続されている。すなわち、抵抗R125の一方の端子には、設定電圧Vsetが与えられている。抵抗R125の他方の端子は、OPアンプ95の反転入力端子に接続されているとともに、抵抗R126を介してOPアンプ95の出力端子に接続されている。抵抗R127、R128およびOPアンプ96は、抵抗R123、R124およびOPアンプ94と同様の形態で接続されている。
 この場合、抵抗R121、R125は同一の抵抗値R1であり、抵抗R122、R126は同一の抵抗値R2であり、抵抗R123、R127は同一の抵抗値R3であり、抵抗R124、R128は同一の抵抗値R4である。従って、OPアンプ93、95の増幅率A2は、抵抗値R1、R2により定まる固定値であり、OPアンプ94、96の増幅率A1は、抵抗値R3、R4により定まる固定値である。
 このように、本実施形態のA/D変換回路121は、第3の実施形態のA/D変換回路71と同様、増幅率A1、A2の比率r、つまり非直線性が固定となっている。従って、本実施形態によっても、第3の実施形態と同様の作用および効果が得られることになる。
 (第8の実施形態)
 以下、本開示の第8の実施形態について図20~図23を参照して説明する。図20に示すA/D変換回路131は、第2の実施形態のA/D変換回路61に対し、全差動増幅回路11、12に代えて全差動増幅回路11aを備え、全差動増幅回路13、14に代えて全差動増幅回路13aを備えるところが主に異なるところである。第2の実施形態では差動入力としたが、本実施形態ではシングルエンド入力としている。また、ラッチ&エンコーダ37及び39は設けられていない(設けてもよい)。
 図20に示すA/D変換回路131は、上述した或いは後述する何れかのA/D変換回路の構成に加え、1回のA/D変換期間のうちの前半の期間と後半の期間とを区別する1/2周期信号Sh(切替信号)を生成し出力する。この1/2周期信号Shは、図21の全差動増幅回路内のアナログスイッチを切替えるために設けられる信号である。
 A/D変換回路131は、センサ等から出力されたアナログ信号電圧Vsを入力し、そのアナログ信号電圧Vsをアナログ入力電圧Vinとして、アナログ入力電圧Vin(被変換電圧)と基準電圧Vrefとの差分に応じたデジタル値に変換し、それをA/D変換データDTとして出力する。
 図20に示すように、信号比率変更回路132は、全差動増幅回路11a、13aおよび可変抵抗器15a、17aを備える。全差動増幅回路11aの非反転入力端子には、アナログ入力電圧Vinが与えられている。全差動増幅回路11aの反転入力端子は、可変抵抗器15aの共通端子cに接続されている。全差動増幅回路11aの非反転出力端子は、電源線7に接続されるとともに、可変抵抗器15aの端子bに接続されている。全差動増幅回路11aの反転出力端子は、電源線8に接続されている。可変抵抗器15aの端子aには、基準電圧Vrefが与えられている。
 全差動増幅回路13aの非反転入力端子には、設定電圧Vsetが与えられる。全差動増幅回路13aの反転入力端子は、可変抵抗器17aの共通端子cに接続されている。全差動増幅回路13aの非反転出力端子は、電源線19に接続されるとともに、可変抵抗器17aの端子bに接続されている。全差動増幅回路13aの反転出力端子は、電源線20に接続されている。可変抵抗器17aの端子aには、基準電圧Vrefが与えられている。可変抵抗器15a、17aは、端子a-b間の抵抗は一定のまま、端子a-c間の抵抗と端子b-c間の抵抗の比率を可変できる構成となっている。可変抵抗器15a、17aの抵抗の比率は、同一になっており、連動して変化する。可変抵抗器15a、17aの抵抗の比率を連動させて可変することは、全差動増幅回路11aおよび全差動増幅回路13aの増幅率を連動させて可変することに相当する。可変抵抗器15a、17aとしては、例えば図3に示すようなデジタル可変抵抗器(デジタルポテンショメータ)を用いて複数の抵抗21と図4に示すアナログマルチプレクサ22とにより構成できる。
 図21は全差動増幅回路11a、13aの構成を示している。この全差動増幅回路11a、13aは、それぞれ、第1切替回路197、第1差動対回路部198、第2切替回路199、第1出力回路部200a、200bおよびコモンモードフィードバック回路201を備えている。
 切替回路197、199を構成する切替スイッチ197a、197b、199a、199bは、図23に示すようにアナログスイッチ202a~202dから構成されており、1/2周期信号Shと当該信号Shをインバータ203で反転した信号に応じて、端子Cと端子Aとの間および端子Cと端子Bとの間の何れか一方を導通させる。第1切替回路197は、全差動増幅回路11a又は13aの反転入力端子、非反転入力端子と第1差動対回路部198の反転入力端子、非反転入力端子との間の2本の接続線を互いに入れ替える。第2切替回路199は、第1差動対回路部198の非反転出力端子、反転出力端子と第1出力回路部200a、200bの入力端子との間の2本の接続線を互いに入れ替える。
 第1差動対回路部198は、図22に示すようにフォールデッドカスコード接続の形態を有し、トランジスタ204~215から構成されている。トランジスタ204、205は差動対を構成し、そのソースとVcc電源線との間には定電流回路として動作するトランジスタ206、207がカスコード接続されている。Vcc電源線とグランド線との間には、それぞれ対をなすトランジスタ208と209、トランジスタ210と211、トランジスタ212と213およびトランジスタ214と215が直列に接続されている。トランジスタ208と210およびトランジスタ209と211は、それぞれカスコード接続されており、差動対に対する能動負荷216を構成している。
 トランジスタ214、215は、差動対の出力電流を折り返して上記能動負荷216に入力させるための定電流回路217を構成しており、その共通ゲート線にはコモンモードフィードバック信号CMFBが入力されている。また、能動負荷216と定電流回路217との間に接続されたトランジスタ212、213は、トランジスタ204、205におけるミラー効果の発生を抑制するために設けられるものである。これらトランジスタ212、213のソース(すなわちトランジスタ214、215のドレイン)は、それぞれトランジスタ204、205のドレインに接続されている。トランジスタ210、211の各ドレインが第1差動対回路部198の出力端となる。
 図21に示すコモンモードフィードバック回路201は、コモンモード電圧検出部219、第2差動対回路部220、第2出力回路部221、第4切替回路222および第5切替回路223を備えている。切替回路222、223を構成する切替スイッチ222a、222b、223a、223bは、図23に示す構成を備えている。
 コモンモード電圧検出部219は、第1出力回路部200a、200bの出力ノード間に接続される可変抵抗器219により構成されており、第1出力回路部200a、200bの出力電圧Vo+、Vo-を入力し、これらの中間電圧であるコモンモード電圧Vcomを検出する。可変抵抗器219の端子aには、第1出力回路部200aの出力電圧Vo+が与えられている。可変抵抗器219の端子bには、第1出力回路部200bの出力電圧Vo-が与えられている。
 全差動増幅回路11a、13aの可変抵抗器219は、端子a-b間の抵抗は一定のまま、端子a-c間の抵抗と端子b-c間の抵抗の比率を可変できる構成となっている。可変抵抗器219としては、例えば図3に示すようなデジタル可変抵抗器(デジタルポテンショメータ)を用いて複数の抵抗21と図4に示すアナログマルチプレクサ22とにより構成できる。
 全差動増幅回路11a、13aの可変抵抗器219の抵抗の端子間の比率は、同一になっており、連動して変化する。また全差動増幅回路11a、13aは、端子a-c間の抵抗値をR13、端子c-b間の抵抗値をR14としたとき、この比率(R13/R14)を1にすることなく、すなわちR13≠R14に設定されている。このときコモンモード電圧Vcomは(16)式に示すように表すことができる。
 Vcom = Vo- + R14/(R13+R14)
                   × (Vo+ - Vo-) …(16)
 第2差動対回路部220は、第1差動対回路部198と同様にフォールデッドカスコード接続の形態を有し、トランジスタ224~235から構成されている。トランジスタ224、225は差動対を構成し、トランジスタ226、227は定電流回路を構成している。トランジスタ232と234およびトランジスタ233と235は、差動対に対する能動負荷236を構成している。トランジスタ228、229は定電流回路237を構成している。
 第2出力回路部221は、Vcc電源線とグランド線との間に直列接続されたトランジスタ238~241から構成されている。第2差動対回路部220の2つの出力端は、切替スイッチ223bを介してトランジスタ241のゲートに接続されるとともに、切替スイッチ223bと位相補償用のコンデンサ242を介してトランジスタ239、240のドレインに接続されている。切替スイッチ223bにより選択された第2差動対回路部220の出力電圧が上記コモンモードフィードバック信号CMFBとなる。
 第4切替回路222は、基準電圧Vrefとコモンモード電圧Vcomの第2差動対回路部220への入力線を互いに入れ替える。第5切替回路223のうち切替スイッチ223bは、第2差動対回路部220の出力端の一方を選択して第2出力回路部221に接続する。これとともに、切替スイッチ223aは、切替スイッチ223bに選択されない出力端を選択してトランジスタ234、235のゲートに接続する。なお、全差動増幅回路で用いる4つのバイアス電圧1~4は、図24に示すようにトランジスタ243~246および抵抗247からなるバイアス電圧生成回路248により生成されている。
 上記構成の作用について説明する。本実施形態の回路はオフセットを補償すると共に全差動増幅回路11a、13aのそれぞれの2出力端子(非反転出力端子、反転出力端子)を有効活用するところに特徴を備える。全差動増幅回路11a、13aは、コモンモード電圧Vcom(すなわち出力電圧Vo+、Vo-の分圧電圧)が、基準電圧Vrefに等しくなるように負帰還であるコモンモードフィードバックをかけている。この場合、1/2周期信号ShがHレベルのときは、図23に示すアナログスイッチ202a、202bがオン、アナログスイッチ202c、202dがオフとなり、1/2周期信号ShがLレベルのときはこの逆となる。つまり、1/2周期信号Shのレベルが反転すると、各切替回路197、199、222、223の端子間の接続形態が逆になるため、オフセット電圧ΔVの向き(正負)が逆になる。A/D変換回路131は、A/D変換期間におけるアナログ入力電圧Vinの平均値と設定電圧Vsetの平均値に対するA/D変換データを得ているため、切替回路197、199、222、223によりオフセット電圧の向きを反転させることで、オペアンプのオフセット電圧がキャンセルされた高精度のA/D変換データを得ることができる。
 また図21に示すようにコモンモード電圧Vcomが基準電圧Vrefに一致するように動作することでVref=Vcomとなる。全差動増幅回路11a、13aの第1出力端子(+)の出力電圧をVo+とし、全差動増幅回路11a、13aの第2出力端子(-)の出力電圧をVo-とし、これらの出力電圧Vo+、Vo-と基準電圧Vrefとの差分電圧をそれぞれ第3差分電圧ΔVo+、第4差分電圧ΔVo-、として下式(17)~(18)のように定義する。これらの関係性と(16)式を考慮して連立方程式を解くことで(19)式に示すように表すことができる。
 Vo+ = Vref + ΔVo+ …(17)
 Vo- = Vref - ΔVo- …(18)
 ( ΔVo- / ΔVo+ ) = (R14/R13) …(19)
 上記(17)式の第3差分電圧ΔVo+は、例えば第1の実施形態で説明した第1差分電圧に相当し、(18)式の第4差分電圧ΔVo-は第2差分電圧に相当する。このため、第1の実施形態では次式が成り立つ。
 ( ΔVo- / ΔVo+ ) = (A2・ΔV)/(A1・ΔV)
               = (A2/A1) = r …(20)
よって、(19)式は(20)式の、(A2/A1)を(R14/R13)と置き換えたものであることがわかる。また、(20)式の(A2/A1)は(5)式の増幅率の比率rと等価である。このことから、下記(21)式が成り立ち、図9(a)から図9(c)および図10の関係を適用できる。
 (R14/R13) = r …(21)
 すなわち、本実施形態は例えば第1の実施形態と同様の作用効果を得られる。この結果、信号比率変更回路132は、系統A及び系統Bに電圧出力する回路を、全差動増幅回路11a及び抵抗15aにより構成することができ、系統C及び系統Dに電圧出力する回路も同様に全差動増幅回路13a及び抵抗17aにより構成できる。
 本実施形態の構成では、第1実施形態と同様の効果を奏すると共に、全差動増幅回路11a、13aのそれぞれの2出力端子(非反転出力端子、反転出力端子)を有効活用することができ、回路構成面積を極力縮小化できる。
 (その他の実施形態)
 なお、本開示は上記し且つ図面に記載した各実施形態に限定されるものではなく、次のような変形または拡張が可能である。
 上記各実施形態において、各種の信号比率変更回路の構成を例示したが、これらに限定されるものではなく、第1差分電圧および第2差分電圧の絶対値の比率を「1」以外にできる構成であれば、上述した効果と同様の効果を得ることができる。
 上述したパルス周回回路(リングディレイライン)は、確実に発振させる観点からNANDゲートとインバータを奇数個連ねることで構成したが、確実な発振動作を実現した偶数個のインバータ(特開2010-148005号公報などに記載されたもの)などで構成してもよい。偶数化によりパルス周回位置とエンコードされたデータが一対一に対応するので、下位ビットにおける直線性が改善される。また、パルス周回位置の検出などをインバータの全出力からとしたが、一つ置きなどに間引いてもよい。
 図5にアップダウンカウンタおよび重なり検出部の例を示したが、図5の回路構成に限るものではない。また、図5の構成では、パルス生成部48が設けられているが、設けなくともよい。パルス生成部48を設けない場合、図6におけるパルス信号SB′をパルス信号SBに、パルス信号SA′をパルス信号SAに置き換えたことに相当する。すなわち、パルス信号SB′およびパルス信号SA′の周期が2倍になったことに相当するため、A/D変換時間に余裕がある場合には、このような構成を採用可能である。
 各実施形態で遅延時間を生成するのにインバータを各所に使っているが、その連続個数は、奇数個か、偶数個かに留意すれば、必要な遅延時間に応じて変更ができる。また、遅延時間を生成する遅延要素として、インバータ以外のキャパシタや、チップ内配線あるいは素子の寄生容量を利用してもよい。
 本願の実施形態では、図1などに示す第1カウンタ42のような第1種類のアップダウンカウンタのプリセット値として全ビット0にすることで、基準電圧VrefにおけるA/D変換値を全ビット0とした。これに対し、任意の値をプリセットすればA/D変換値に加算することができる。センサなどへの適用ではオフセット補正に利用できる。
 ラッチ&エンコーダ37、39(第1および第2周回位置検出回路5、6)を具備した各実施形態においても、ラッチ&エンコーダ37、39は省略可能である。
 第4の実施形態を除く各実施形態においても、第4の実施形態に示すように、第1カウンタ42に替えてカウンタ84、85を備えた構成としてもよい。
 コンパレータ44は第2カウンタ43の出力値が全ビット0に達したことを検出したが、全ビット1に達したことを検出してもよい。この場合、第2カウンタ43に上位プリセット値として全ビット1の値と規定値Yとの差をプリセットし、第2カウンタ43が出力する差分値が全ビット1に達した時に変換データ出力処理信号Saを出力する構成とする。
 バイパスコンデンサCpは、必要に応じて設ければよい。
 第3および第4パルス周回回路33、34、第2カウンタ43などを主体とする温度特性を相殺する(温度補償する)ための構成は、必ずしも設けなくともよい。また、温度補償を行うための各種の工夫についても同様である。その場合、変換制御回路4は、任意のタイミングで変換データ出力処理信号Saを出力する構成とすればよい。
 センサ製品への適用で、圧力センサ、電流センサおよび磁気センサを取り上げたが、温度センサなどのその他のセンサに用いることができることは言うまでもない。
 また、センサではなく、マイクロプロセッサ(マイクロコントローラ)、DSP(Digital Signal Processor)などのデジタル信号処理装置の周辺回路として搭載することも可能である。
 本開示は、以下の態様を含む。
 本開示の第一の態様において、アナログ入力電圧と基準電圧との差分に応じたA/D変換データを出力するA/D変換回路は、入力信号を電源電圧に応じて定まる遅延時間だけ遅延させて出力する複数の遅延ユニットがリング状に接続されて構成され、これら遅延ユニットにパルス信号を周回させる第1パルス周回回路および第2パルス周回回路と、前記第1パルス周回回路におけるパルス信号の周回数と前記第2パルス周回回路におけるパルス信号の周回数をカウントしその差分値を出力する周回数差計測部と、A/D変換を終了するタイミングを決定する変換データ出力処理信号を出力し、その時の前記周回数差計測部が出力する差分値を前記アナログ入力電圧に対するA/D変換データとして出力する変換制御回路と、前記アナログ入力電圧から前記基準電圧を減算した電圧を差分電圧とし、前記差分電圧に第1比例係数を乗じた第1差分電圧と前記基準電圧を加算した電圧を第1出力端子から出力するとともに、前記差分電圧に前記第1比例係数と同符号の第2比例係数を乗じた前記第2差分電圧を前記基準電圧から減算した電圧を第2出力端子から出力する信号比率変更回路とを備える。前記第1パルス周回回路の遅延ユニットは、前記信号比率変更回路の前記第1出力端子とグランド線とから電源電圧の供給を受ける。前記第2パルス周回回路の遅延ユニットは、前記信号比率変更回路の前記第2出力端子とグランド線とから電源電圧の供給を受ける。
 このように、上記のA/D変換回路は、信号比率変更回路を除く部分については、前述した従来技術の構成と同様に構成されている。従って、従来技術の構成と概ね同等の効果、つまりTADの非直線性を相殺するといった効果を得ることができる。ただし、この場合、信号比率変更回路を設けたことにより、第1および第2パルス周回回路の各遅延ユニットへの印加電圧は、互いに増減の極性が反転し、且つ、絶対値が異なっている。そのため、本手段の構成では、TADの非直線性について、その一部だけが相殺されるようになっている。
 そして、第1および第2パルス周回回路の各遅延ユニットへの印加電圧の絶対値のバランスは、信号比率変更回路における2つの比例係数、つまり第1比例係数および第2比例係数によって任意に設定することができる。つまり、本手段は、任意にTADの非直線性を可変することができる構成となっている。
 このような構成によれば、アナログ入力電圧を出力するセンサ等が非直線性を有する場合、TADの非直線性を、そのセンサの非直線性と正負が反転した値に設定すれば、センサが有する非直線性を相殺することができる。従って、本手段によれば、アナログ入力電圧を出力するセンサ等が非直線性を有する場合でも、A/D変換データに含まれる非直線性を補正するためのデジタル演算が不要となり、その結果、センサ装置としての応答性を速くすることができる。
 上記構成によれば、第1差分電圧の絶対値を第2差分電圧の絶対値より小さく設定すると、つまり第1比例係数を第2比例係数より小さい値に設定すると、下に凸となる非直線性を実現することができる。
 また、上記構成によれば、第1差分電圧の絶対値を第2差分電圧の絶対値より大きく設定すると、つまり第1比例係数を第2比例係数より大きい値に設定すると、上に凸となる非直線性を実現することができる。
 代案として、前記アナログ入力電圧は、前記第1出力端子の電圧が前記基準電圧より高い範囲で上に凸となる非線形の特性を有するセンサから出力されるものであってもよい。前記第1差分電圧の絶対値は、前記第2差分電圧の絶対値より小さく設定されている。第1差分電圧の絶対値を第2差分電圧の絶対値より小さく設定すると、つまり第1比例係数を第2比例係数より小さい値に設定すると、下に凸となる非直線性を実現することができるので、センサが有する非直線性をうまく相殺することができる。
 代案として、前記アナログ入力電圧は、前記第1出力端子の電圧が前記基準電圧より高い範囲で下に凸となる非線形の特性を有するセンサから出力されるものであってもよい。前記第1差分電圧の絶対値は、前記第2差分電圧の絶対値より大きく設定されている。第1差分電圧の絶対値を第2差分電圧の絶対値より大きく設定すると、つまり第1比例係数を第2比例係数より大きい値に設定すると、上に凸となる非直線性を実現することができるので、センサが有する非直線性をうまく相殺することができる。
 代案として、前記信号比率変更回路は、前記第1出力端子を備え、前記差分電圧に第1比例係数を乗じた第1差分電圧と前記基準電圧を加算した電圧を前記第1出力端子から出力する第1増幅回路と、前記第2出力端子を備え、前記差分電圧に前記第1比例係数と同符号の第2比例係数を乗じた前記第2差分電圧を前記基準電圧から減算した電圧を前記第2出力端子から出力する第2増幅回路とを備える。この場合、第1比例係数および第2比例係数を容易に変更できる。
 代案として、前記信号比率変更回路は、前記第1出力端子及び前記第2出力端子を備え、前記第1出力端子の出力電圧と前記基準電圧との差分を第3差分電圧とし、前記第2出力端子の出力電圧と前記基準電圧との差分を第4差分電圧としたとき、前記第3差分電圧と前記第4差分電圧の比率を前記第1比例係数と前記第2比例係数の比率と同一となる条件を満たす電圧を前記第1出力端子及び前記第2出力端子からそれぞれ出力する全差動増幅回路を備える。この場合、回路構成面積を極力抑制できる。
 代案として、前記信号比率変更回路は、前記第1比例係数と、前記第2比例係数とを調整する信号比率調整手段を備えている。この場合、A/D変換回路とセンサ素子とを組み合わせてセンサ製品が構成される場合、そのセンサ素子の非直線性がばらついても、それに対応して非直線性を相殺することが可能となる。また、この場合、センサ素子と組み合わせた後にも非直線性を可変することができる。そのため、組み合わせられるセンサ素子の非直線性に関する特性が不明な場合、あるいは、様々な種類のセンサ素子と組み合わせられる可能性がある場合でも、組み合わせられたセンサ素子が持つ非直線性を確実に相殺することができる。
 代案として、A/D変換回路は、前記変換制御回路が前記変換データ出力処理信号を出力する時における前記第1および第2パルス周回回路の内でのパルス位置をそれぞれ検出する第1および第2周回位置検出回路をさらに備えてもよい。前記変換制御回路は、前記変換制御回路が前記変換データ出力処理信号を出力する時において、前記第1パルス周回回路の内でのパルス位置と前記第2パルス周回回路の内でのパルス位置との差分を所定ビット数に対応させてA/D変換データの下位データとし、前記周回数差計測部が出力する差分値と前記下位データからの繰り上がり分の和、あるいは差分値と繰り下がり分の和をA/D変換データの上位データとする。繰り上がり分は、正の値であり、繰り下がり分は、負の値である。この場合、A/D変換データの分解能を高めることができる。
 代案として、前記周回数差計測部は、前記第1および第2パルス周回回路において互いに同位置に配された遅延ユニットからパルス信号が出力される毎にそれぞれカウントアップおよびカウントダウンしてもよい。この場合、周回数差計測部にアップダウンカウンタを用いることにより、周回数の差分値を得られる。
 代案として、前記周回数差計測部は、カウント停止端子とカウントアップ入力端子とカウントダウン入力端子とを備え、カウントアップ入力端子とカウントダウン入力端子のいずれにパルス信号が入力されたかに応じてカウントアップまたはカウントダウンを行い、カウント停止端子に前記変換データ出力処理信号が入力されたことに応じてカウント動作を停止する第1種類のアップダウンカウンタ、または、カウントアップ値とカウントダウン値を得るためのカウンタとそのカウント値を前記変換データ出力処理信号が入力されたことに応じて保持するラッチを2組備え、前記2つのラッチに保持されているカウント値の差分を出力する第2種類のアップダウンカウンタのいずれかを備えていてもよい。この場合、第1種類のアップダウンカウンタを採用すると演算回路は不要となる。第2種類のアップダウンカウンタを採用すると汎用カウンタを利用可能となる。
 代案として、前記第1種類のアップダウンカウンタは、入力したパルス信号に応じてカウント信号とカウントアップおよびカウントダウンを指示するモード信号を生成する入力部と、前記カウント信号を前記モード信号に従ってカウントアップまたはカウントダウンするカウンタ部とを備えてもよい。前記入力部は、重なり検出部とカウント信号出力部とを備える。前記重なり検出部は、前記カウントアップ入力端子と前記カウントダウン入力端子にパルス信号が同時に入力された重なり状態の有無を監視し、重なり状態の発生を検出すると重なり検出信号を出力し、重なった当該2つのパルス信号がともに終了した時点から、さらに少なくとも前記カウント信号出力部が有する入出力間の遅延時間分の時間が経過した後に前記重なり検出信号の出力を停止するように構成される。前記カウント信号出力部は、前記重なり検出部から前記重なり検出信号が入力されていない時、前記カウントアップ入力端子または前記カウントダウン入力端子に入力されたパルス信号が終了したことに応じて前記カウンタ部にカウント信号を出力し、前記重なり検出信号が入力されている時、前記カウンタ部へのカウント信号を出力しない。通常、カウンタ動作は最下位ビットから変化して順次上位ビットへ繰り上がり情報、あるいは繰り下がり情報が伝播する。すなわち、カウント動作中はカウンタ内で伝播遅延を生じている。本請求項のアップダウンカウンタの使い方のように、カウントアップ信号とカウントダウン信号が非同期で交互に入ってくると、前回のカウント動作が終わらないまま次のカウント動作に入ってしまい、誤動作の原因となり得る。そこで、上記のような重なり検出部とカウント信号出力部の連携動作が必要となる。第1および第2パルス周回回路から出力されるパルス信号が重なった場合、アップダウンカウンタにおける周回数の差分値は結果的に変化しない。本手段の構成を備えることにより、重なり状態を検出した時にカウンタ部へのカウント信号を停止するので、実際にカウントアップとカウントダウンをすることなくカウント値を変化させずに保持でき、誤ったカウントの発生を防止できる。
 本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範疇や思想範囲に入るものである。

Claims (12)

  1.  アナログ入力電圧と基準電圧との差分に応じたA/D変換データを出力するA/D変換回路(1、61、71、81、91、111、121、131)であって、
     入力信号を電源電圧に応じて定まる遅延時間だけ遅延させて出力する複数の遅延ユニットがリング状に接続されて構成され、これら遅延ユニットにパルス信号を周回させる第1パルス周回回路(31)および第2パルス周回回路(32)と、
     前記第1パルス周回回路におけるパルス信号の周回数と前記第2パルス周回回路におけるパルス信号の周回数をカウントしその差分値を出力する周回数差計測部(3)と、
     A/D変換を終了するタイミングを決定する変換データ出力処理信号を出力し、その時の前記周回数差計測部が出力する差分値を前記アナログ入力電圧に対するA/D変換データとして出力する変換制御回路(4)と、
     前記アナログ入力電圧から前記基準電圧を減算した電圧を差分電圧とし、前記差分電圧に第1比例係数を乗じた第1差分電圧と前記基準電圧を加算した電圧を第1出力端子から出力するとともに、前記差分電圧に前記第1比例係数と同符号の第2比例係数を乗じた前記第2差分電圧を前記基準電圧から減算した電圧を第2出力端子から出力する信号比率変更回路(2、62、72、92、112、122、132)と、
     を備え、
     前記第1パルス周回回路の遅延ユニットは、前記信号比率変更回路の前記第1出力端子とグランド線とから電源電圧の供給を受け、
     前記第2パルス周回回路の遅延ユニットは、前記信号比率変更回路の前記第2出力端子とグランド線とから電源電圧の供給を受けるA/D変換回路。
  2.  前記アナログ入力電圧は、前記第1出力端子の電圧が前記基準電圧より高い範囲で上に凸となる非線形の特性を有するセンサ(63、65)から出力されるものであり、
     前記第1差分電圧の絶対値は、前記第2差分電圧の絶対値より小さく設定されている請求項1に記載のA/D変換回路。
  3.  前記アナログ入力電圧は、前記第1出力端子の電圧が前記基準電圧より高い範囲で下に凸となる非線形の特性を有するセンサ(65)から出力されるものであり、
     前記第1差分電圧の絶対値は、前記第2差分電圧の絶対値より大きく設定されている請求項1に記載のA/D変換回路。
  4.  前記信号比率変更回路(2、62、72、92、112、122)は、
     前記第1出力端子を備え、前記差分電圧に第1比例係数を乗じた第1差分電圧と前記基準電圧を加算した電圧を前記第1出力端子から出力する第1増幅回路(11、94)と、
     前記第2出力端子を備え、前記差分電圧に前記第1比例係数と同符号の第2比例係数を乗じた前記第2差分電圧を前記基準電圧から減算した電圧を前記第2出力端子から出力する第2増幅回路(12、93)と、
     を備える請求項1から3のいずれか一項に記載のA/D変換回路。
  5.  前記信号比率変更回路(132)は、
     前記第1出力端子及び前記第2出力端子を備え、前記第1出力端子の出力電圧と前記基準電圧との差分を第3差分電圧とし、前記第2出力端子の出力電圧と前記基準電圧との差分を第4差分電圧としたとき、前記第3差分電圧と前記第4差分電圧の比率を前記第1比例係数と前記第2比例係数の比率と同一となる条件を満たす電圧を前記第1出力端子及び前記第2出力端子からそれぞれ出力する全差動増幅回路(11a)を備える請求項1から3のいずれか一項に記載のA/D変換回路。
  6.  前記信号比率変更回路(2、62、92、112、132)は、前記第1比例係数と、前記第2比例係数とを調整する信号比率調整手段(15、16、97、98、15a、219)を備えている請求項1から5のいずれか一項に記載のA/D変換回路。
  7.  前記変換制御回路が前記変換データ出力処理信号を出力する時における前記第1および第2パルス周回回路の内でのパルス位置をそれぞれ検出する第1および第2周回位置検出回路(5、6)をさらに備え、
     前記変換制御回路は、前記変換制御回路が前記変換データ出力処理信号を出力する時において、前記第1パルス周回回路の内でのパルス位置と前記第2パルス周回回路の内でのパルス位置との差分を所定ビット数に対応させてA/D変換データの下位データとし、前記周回数差計測部が出力する差分値と前記下位データからの繰り上がり分の和、あるいは差分値と繰り下がり分の和をA/D変換データの上位データとし、
     繰り上がり分は、正の値であり、繰り下がり分は、負の値である請求項1から6のいずれか一項に記載のA/D変換回路。
  8.  前記周回数差計測部は、前記第1および第2パルス周回回路において互いに同位置に配された遅延ユニットからパルス信号が出力される毎にそれぞれカウントアップおよびカウントダウンする請求項1から7のいずれか一項に記載のA/D変換回路。
  9.  前記周回数差計測部は、カウント停止端子とカウントアップ入力端子とカウントダウン入力端子とを備え、カウントアップ入力端子とカウントダウン入力端子のいずれにパルス信号が入力されたかに応じてカウントアップまたはカウントダウンを行い、カウント停止端子に前記変換データ出力処理信号が入力されたことに応じてカウント動作を停止する第1種類のアップダウンカウンタ(42)、または、カウントアップ値とカウントダウン値を得るためのカウンタ(84、85)とそのカウント値を前記変換データ出力処理信号が入力されたことに応じて保持するラッチ(86、87)を2組備え、前記2つのラッチに保持されているカウント値の差分を出力する第2種類のアップダウンカウンタ(89)のいずれかを備えている請求項8に記載のA/D変換回路。
  10.  前記第1種類のアップダウンカウンタは、入力したパルス信号に応じてカウント信号とカウントアップおよびカウントダウンを指示するモード信号を生成する入力部(45)と、前記カウント信号を前記モード信号に従ってカウントアップまたはカウントダウンするカウンタ部(46)とを備え、
     前記入力部は、重なり検出部(49)とカウント信号出力部(50)とを備え、
     前記重なり検出部は、前記カウントアップ入力端子と前記カウントダウン入力端子にパルス信号が同時に入力された重なり状態の有無を監視し、重なり状態の発生を検出すると重なり検出信号を出力し、重なった当該2つのパルス信号がともに終了した時点から、さらに少なくとも前記カウント信号出力部が有する入出力間の遅延時間分の時間が経過した後に前記重なり検出信号の出力を停止するように構成され、
     前記カウント信号出力部は、前記重なり検出部から前記重なり検出信号が入力されていない時、前記カウントアップ入力端子または前記カウントダウン入力端子に入力されたパルス信号が終了したことに応じて前記カウンタ部にカウント信号を出力し、前記重なり検出信号が入力されている時、前記カウンタ部へのカウント信号を出力しない請求項9に記載のA/D変換回路。
  11.  前記アナログ入力電圧は、ピエゾ抵抗効果を利用した圧力センサ(63)から出力されるものである請求項1から10のいずれか一項に記載のA/D変換回路。
  12.  前記アナログ入力電圧は、磁気センシング素子としてMREまたはGMRを用いたセンサ(65)から出力されるものである請求項1から10のいずれか一項に記載のA/D変換回路。
     
     
PCT/JP2015/002487 2014-05-19 2015-05-18 A/d変換回路 WO2015178008A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/117,246 US9608659B2 (en) 2014-05-19 2015-05-18 Analog/digital conversion circuit
DE112015002355.0T DE112015002355B4 (de) 2014-05-19 2015-05-18 Analog/Digital-Wandler

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2014103283 2014-05-19
JP2014-103283 2014-05-19
JP2015-083317 2015-04-15
JP2015083317A JP6447335B2 (ja) 2014-05-19 2015-04-15 A/d変換回路

Publications (1)

Publication Number Publication Date
WO2015178008A1 true WO2015178008A1 (ja) 2015-11-26

Family

ID=54553689

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/002487 WO2015178008A1 (ja) 2014-05-19 2015-05-18 A/d変換回路

Country Status (4)

Country Link
US (1) US9608659B2 (ja)
JP (1) JP6447335B2 (ja)
DE (1) DE112015002355B4 (ja)
WO (1) WO2015178008A1 (ja)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10015429B2 (en) * 2015-12-30 2018-07-03 Omnivision Technologies, Inc. Method and system for reducing noise in an image sensor using a parallel multi-ramps merged comparator analog-to-digital converter
JP2021028571A (ja) * 2017-09-27 2021-02-25 株式会社村田製作所 電流センサ
JP2019086416A (ja) * 2017-11-07 2019-06-06 株式会社豊田中央研究所 デジタルセンサ
JP7079165B2 (ja) * 2018-07-11 2022-06-01 株式会社豊田中央研究所 変換回路

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104475A (ja) * 2005-10-06 2007-04-19 Denso Corp A/d変換方法及び装置
JP2008312184A (ja) * 2007-05-17 2008-12-25 Denso Corp A/d変換回路
JP2008312185A (ja) * 2007-05-17 2008-12-25 Denso Corp A/d変換回路
JP2010239305A (ja) * 2009-03-30 2010-10-21 Olympus Corp 補正信号生成装置およびa/d変換装置
JP2010246011A (ja) * 2009-04-09 2010-10-28 Olympus Corp A/d変換装置
JP2012095264A (ja) * 2010-09-28 2012-05-17 Denso Corp A/d変換回路
JP2014150338A (ja) * 2013-01-31 2014-08-21 Denso Corp センサ信号処理装置およびセンサ装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3596199B2 (ja) 1996-11-28 2004-12-02 株式会社デンソー 半導体式圧力センサ
JP2002082136A (ja) 2000-06-23 2002-03-22 Yazaki Corp 電流センサ
JP2002082135A (ja) 2000-06-23 2002-03-22 Yazaki Corp 電流センサ
JP2002267692A (ja) 2001-03-08 2002-09-18 Yazaki Corp 電流センサ
US7030803B2 (en) * 2004-02-09 2006-04-18 Denso Corporation Analog-to-digital converter and method of analog-to-digital conversion
JP4873709B2 (ja) 2006-11-08 2012-02-08 浜松光電株式会社 電流センサ
EP1995874B1 (en) * 2007-05-17 2010-02-03 Denso Corporation A/D converter circuit and A/D conversion method
JP4807407B2 (ja) 2008-12-22 2011-11-02 株式会社デンソー 偶数段パルス遅延装置
JP5012939B2 (ja) 2010-03-18 2012-08-29 Tdk株式会社 電流センサ
JP5533244B2 (ja) 2010-05-19 2014-06-25 株式会社デンソー 電流センサ
JP2012063203A (ja) 2010-09-15 2012-03-29 Hamamatsu Koden Kk 磁気センサ

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104475A (ja) * 2005-10-06 2007-04-19 Denso Corp A/d変換方法及び装置
JP2008312184A (ja) * 2007-05-17 2008-12-25 Denso Corp A/d変換回路
JP2008312185A (ja) * 2007-05-17 2008-12-25 Denso Corp A/d変換回路
JP2010239305A (ja) * 2009-03-30 2010-10-21 Olympus Corp 補正信号生成装置およびa/d変換装置
JP2010246011A (ja) * 2009-04-09 2010-10-28 Olympus Corp A/d変換装置
JP2012095264A (ja) * 2010-09-28 2012-05-17 Denso Corp A/d変換回路
JP2014150338A (ja) * 2013-01-31 2014-08-21 Denso Corp センサ信号処理装置およびセンサ装置

Also Published As

Publication number Publication date
DE112015002355T5 (de) 2017-02-23
US9608659B2 (en) 2017-03-28
JP6447335B2 (ja) 2019-01-09
US20160352350A1 (en) 2016-12-01
DE112015002355B4 (de) 2021-07-29
JP2016001869A (ja) 2016-01-07

Similar Documents

Publication Publication Date Title
JP5206833B2 (ja) A/d変換回路
JP6447335B2 (ja) A/d変換回路
US9128127B2 (en) Sensor device
JP5833183B2 (ja) 温度測定のための入力段、バッファ、方法、及び温度測定システム並びに電圧測定システム
CN101339079B (zh) 温度检测电路
US8866474B2 (en) Magnetic sensor device
JP6180752B2 (ja) センサ装置
WO2011115888A2 (en) Offset calibration and precision hysteresis for a rail-rail comparator with large dynamic range
US9322672B2 (en) Magnetic sensor device
US20080211702A1 (en) Comparator Chain Offset Reduction
JP6270403B2 (ja) 半導体装置及び電子制御装置
US20140232387A1 (en) Magnetic sensor device
JP2011061337A (ja) ヒステリシスコンパレータ
JP3979358B2 (ja) A/d変換出力データの非直線性補正装置
JP2015083946A (ja) 磁気センサ回路
JP2011081517A (ja) バンドギャップリファレンス回路及びこれを備えるadコンバータ、並びに、バンドギャップリファレンス回路の調整方法
US20100066579A1 (en) Gray code current mode analog-to-digital converter
JP5891811B2 (ja) 全差動増幅回路、コンパレーター回路、a/d変換回路、及び電子機器
JP5472070B2 (ja) A/d変換回路
JP2007312084A (ja) A/d変換器のデータ補正回路
TW202211634A (zh) 快閃式類比數位轉換器與校正方法
JP2016090379A (ja) 測定装置
JP2012249007A (ja) 出力回路及びそのドライブ能力テスト方法。

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15796138

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15117246

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112015002355

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15796138

Country of ref document: EP

Kind code of ref document: A1