Analog / digital converter
Patent Information
- Application Number
- JP2023048823
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
【0008】 開示の技術によれば、アナログ電圧をデジタル値に変換して出力するアナログ·デジタル変換装置において、回路規模を抑制しつつ出力されるデジタル値の精度を確保することが可能となる。
Smart Images

Figure 2024137335000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosed technology relates to an analog-to-digital conversion device. [Background technology]
[0002] The following techniques are known as techniques relating to analog-to-digital conversion devices that convert analog voltages into digital values and output the digital values. For example, Patent Document 1 describes an electronic tuning circuit that includes a stable reference current source, an internal resistor that converts the stable reference current source into a voltage signal, and an analog-to-digital converter that receives the voltage signal and provides a digital output. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 8-32411 Summary of the Invention [Problem to be solved by the invention]
[0004] An analog-to-digital converter outputs a digital value based on the result of successively comparing the analog voltage with a divided reference voltage. Therefore, the reference voltage is required to have a stable voltage level. In conventional devices equipped with an analog-to-digital converter, a dedicated reference voltage generation circuit is provided to obtain a stable reference voltage. A relatively large capacitor is externally attached to the output of the reference voltage generation circuit to stabilize the voltage level.
[0005] In order to reduce the circuit scale, it is possible to use the output voltage of a regulator circuit installed together with an analog-digital converter inside an IC (Integrated Circuit) as the reference voltage for the analog-digital converter. However, since the output voltage of a regulator circuit is generally supplied to a load, it fluctuates according to the operating state of the load. Therefore, if the output voltage of a regulator circuit is used as the reference voltage for an analog-digital converter, the accuracy of the digital value output from the analog-digital converter decreases.
[0006] The disclosed technology has been made in consideration of the above points, and aims to ensure the accuracy of the output digital value while suppressing the circuit size in an analog-to-digital conversion device that converts an analog voltage into a digital value and outputs the digital value. [Means for solving the problem]
[0007] An analog-to-digital conversion device according to the disclosed technique includes a bandgap reference circuit that outputs a constant voltage, a regulator circuit that outputs a voltage to be supplied to a load, an analog-to-digital converter to which the output voltage of the regulator circuit is input as a reference voltage, a selection unit that selectively inputs to the analog-to-digital converter the output voltage of the bandgap reference circuit and an analog voltage to be converted into a digital value, and a correction unit that corrects a third digital value output from the analog-to-digital converter by inputting the analog voltage to the analog-to-digital converter based on a first digital value output from the analog-to-digital converter by inputting the output voltage of the bandgap reference circuit to the analog-to-digital converter when the output voltage of the regulator circuit is at a standard level, and a second digital value output from the analog-to-digital converter by inputting the output voltage of the bandgap reference circuit to the analog-to-digital converter immediately before inputting the analog voltage to the analog-to-digital converter. Effect of the Invention
[0008] According to the disclosed technology, in an analog-to-digital conversion device that converts an analog voltage into a digital value and outputs the digital value, it is possible to ensure the accuracy of the output digital value while suppressing the circuit size. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram illustrating an example of a configuration of an analog-to-digital conversion device according to an embodiment of the disclosed technology. [Diagram 2] 11 is a flowchart illustrating an example of a flow of a process executed by a control unit according to an embodiment of the disclosed technology. [Diagram 3] 11 is a flowchart illustrating an example of a flow of a process executed by a correction unit according to an embodiment of the disclosed technology. [Figure 4] FIG. 1 is a diagram illustrating an example of a configuration of an analog-to-digital conversion device according to a comparative example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an example of an embodiment of the disclosed technology will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals, and duplicated description will be omitted.
[0011] 1 is a diagram showing an example of a configuration of an analog-to-digital conversion device 10 according to an embodiment of the disclosed technique. The analog-to-digital conversion device 10 is configured by an integrated circuit provided on a semiconductor substrate. The analog-to-digital conversion device 10 has a bandgap reference circuit 11 (hereinafter referred to as BGR circuit 11), a regulator circuit 12 (hereinafter referred to as REG circuit 12), an analog-to-digital converter 13 (hereinafter referred to as ADC 13), a selection unit 14, a correction unit 15, and a control unit 16.
[0012] The BGR circuit 11 uses the bandgap voltage of silicon to generate a constant voltage V that is independent of the power supply voltage, temperature, and process. BGRThe BGR circuit 11 has a configuration that is generally known as the configuration of a bandgap reference circuit. The BGR circuit 11 includes, for example, a resistor element, two diodes, and an operational amplifier circuit (none of which are shown), and generates a voltage difference ΔV BE The positive temperature characteristic of the voltage V BGR Generate.
[0013] The REG circuit 12 regulates the voltage V REG The REG circuit 12 outputs the output voltage V BGR The REG circuit 12 may be a linear regulator that operates using a voltage V REG A driver (not shown) that outputs the voltage V REG The divided voltage is the output voltage V of the BGR circuit 11. BGR and an error amplifier (not shown) that drives the driver to match
[0014] The load 20 is an external circuit connected to the load terminal 17 of the analog-to-digital conversion device 10. The load terminal 17 is connected to the output voltage V REG However, the output voltage V REG varies depending on the operating state of the load 20. The output voltage V REG is used as a reference voltage for the ADC 13.
[0015] The selection unit 14 selects the output voltage V BGR and the analog voltage V to be converted to a digital value. A The selection unit 14 selectively inputs the analog voltage V Aand a switch 50B connected at one end to an analog input terminal 19 to which the analog signal is input, and connected at the other end to an input terminal of the ADC 13. The switches 50A and 50B are each turned on and off in response to a control signal supplied from the control unit 16. By controlling the switch 50A to be in the on state and the switch 50B to be in the off state, the output voltage V BGR is input to the ADC 13, and the switch 50A is controlled to be in the off state and the switch 50B is controlled to be in the on state, so that the analog voltage V A is input to ADC13.
[0016] The ADC 13 is, for example, a general successive approximation type analog-to-digital converter. As described above, the ADC 13 converts the output voltage V REG The ADC 13 uses the voltage input to the input terminal via the selection unit 14 as the reference voltage. REG The ADC 13 sequentially compares the divided voltage of the BGR circuit 11 with the divided voltage of the BGR circuit 12 and outputs a digital value according to the comparison result. BGR and the analog voltage V to be converted to a digital value A is selectively input.
[0017] The ADC 13 detects the output voltage V REG As the analog voltage V A It has the function of correcting the digital value of the signal to a more accurate value.
[0018] The correction unit 15 corrects the output voltage V REG When the output voltage V of the BGR circuit 11 is at the standard level, BGR A digital value (hereinafter referred to as a first digital value D1) output from the ADC 13 is obtained by inputting the standard level voltage V REG is supplied to ADC13 as the reference voltage, V BGRThe output voltage V of the REG circuit 12 is a digital value. REG When the load 20 is stopped or in a steady state, the output voltage V of the REG circuit 12 is at a standard level. REG This means that the level of is in a standard state. The correction unit 15 stores the acquired first digital value D1 in a memory (not shown). Note that the first digital value D1 is a value determined by the design of the analog-digital conversion device 10 and is not expected to fluctuate, so it is also possible to acquire it in advance by simulation, measurement, or the like and store it in a memory (not shown).
[0019] The correction unit 15 converts the analog voltage V A Just before inputting to the ADC 13, the output voltage V of the BGR circuit 11 BGR is input to the ADC 13 to obtain a digital value (hereinafter referred to as a second digital value D2) output from the ADC 13. That is, the second digital value D2 is A The voltage V just before inputting REG is supplied to ADC13 as the reference voltage, V BGR The digital value of the analog voltage V A The voltage V just before inputting REG The voltage level of may vary from the standard level. The correction unit 15 stores the acquired second digital value D2 in a memory (not shown).
[0020] The first digital value D1 and the second digital value D2 are both the output voltage V REG The output voltage V of the BGR circuit 11 when using as the reference voltage of the ADC 13 BGR The digital value of is the reference voltage V REG may have different levels.
[0021] The digital value D1 can be expressed by the following formula (1), and the digital value D2 can be expressed by the following formula (2). REG1 is the output voltage V of the REG circuit 12 when the voltage level is at the standard level. REG In equation (2), V REG2 is the analog voltage V A The output voltage V of the REG circuit 12 just before inputting REG In equations (1) and (2), N is the number of bits of the digital values D1 and D2, and corresponds to the resolution of the ADC 13. D1=V BGR / V REG1 ×2 N (1) D2=V BGR / V REG2 ×2 N (2)
[0022] Immediately after acquiring the second digital value D2, the correction unit 15 calculates the analog voltage V A A digital value output from the ADC 13 (hereinafter referred to as a third digital value D3) is obtained by inputting the second digital value D2 to the ADC 13. Since the time difference between the acquisition timing of the second digital value D2 and the acquisition timing of the third digital value D3 is small, the voltage V supplied as a reference voltage to the ADC 13 when the ADC 13 outputs the third digital value D3 is REG The level of the voltage V is supplied as a reference voltage to the ADC 13 when the ADC 13 outputs the second digital value D2. REG Therefore, the digital value D3 can be expressed by the following equation (3). D3=V A / V REG2 ×2 N (3)
[0023] The correction unit 15 corrects the third digital value D3 based on the first digital value D1 and the second digital value D2. Specifically, the correction unit 15 derives a correction coefficient C that corresponds to the ratio (D1 / D2) of the first digital value D1 to the second digital value D2. That is, the correction coefficient C can be expressed by the following formula (4). C=D1 / D2=V REG2 / V REG1 (4)
[0024] The correction unit 15 performs a calculation represented by the following equation (5) using the correction coefficient C to obtain a corrected digital value D3 * The corrected digital value D3 derived by the correction unit 15 is * is output from the digital output terminal 18. The corrected digital value D3 * is the output voltage V of the REG circuit 12 when the voltage level is at the standard level. REG is supplied to ADC13 as the reference voltage. A is the digital value of the analog voltage V A This is a value that is expected to be a valid digital value. D3 * =C×D3=V A / V REG1 ×2 N (5)
[0025] The control unit 16 controls the on / off of the switches 50A and 50B that constitute the selection unit 14. The control unit 16 controls the output voltage V REG When the output voltage V of the REG circuit 12 is at a standard level, the switch 50A is controlled to be in an on state and the switch 50B is controlled to be in an off state. REG When the output voltage V of the BGR circuit 11 is at the standard level, BGR is input to the ADC 13, and the correction unit 15 acquires a first digital value D1.
[0026] The control unit 16 controls the output voltage V REG The output voltage V of the REG circuit 12 is monitored. REGis within a specified range, the voltage V REG The control unit 16 may determine that the voltage V is at a standard level and control the switch 50A to be in the on state and the switch 50B to be in the off state. In addition, the control unit 16 monitors the operating state of the load 20, and when the operating state of the load 20 is in a specific state (for example, a stopped state or a steady state), the control unit 16 may control the voltage V REG is at a standard level and control switch 50A to the on state and switch 50B to the off state. Furthermore, control unit 16 may control switch 50A to the on state and switch 50B to the off state based on a command or operation input from a higher-level system.
[0027] The control unit 16 outputs an analog voltage V A Immediately before inputting the analog voltage V to the ADC 13, the switch 50A is controlled to be in the on state and the switch 50B is controlled to be in the off state. A Just before inputting to the ADC 13, the output voltage V of the BGR circuit 11 BGR is input to the ADC 13, and the second digital value D2 is acquired in the correction unit 15. The control unit 16 calculates the analog voltage V A is input to analog input terminal 19, switch 50A may be controlled to be in the on state and switch 50B to be in the off state.
[0028] The control unit 16 controls the switch 50A to be in the OFF state and the switch 50B to be in the ON state immediately after the correction unit 15 acquires the second digital value D2. As a result, immediately after the second digital value D2 is acquired, the analog voltage V A is input to the ADC 13, and the correction unit 15 acquires a third digital value D3.
[0029] The control unit 16 controls the operation of the correction unit 15 so that the acquisition of each digital value in the correction unit 15 is linked to the operation of the switches 50A and 50B. The correction unit 15 and the control unit 16 may be configured to include a common CPU (Central Processing Unit) or different CPUs.
[0030] 2 is a flowchart showing an example of the flow of processing executed by the control unit 16. In step S1, the control unit 16 controls the output voltage V REG The control unit 16 determines whether the output voltage V of the REG circuit 12 is at a standard level. REG is within a predetermined range, the output voltage V REG The control unit 16 may also determine that the output voltage V of the REG circuit 12 is at a standard level when the load 20 is in a specific state (for example, a stopped state or a steady state). REG may be determined to be at a standard level.
[0031] In step S2, the control unit 16 controls the output voltage V BGR To input the analog voltage V to the ADC 13, the control unit 16 controls the switch 50A to be in the on state and the switch 50B to be in the off state. In step S3, the control unit 16 supplies the correction unit 15 with an instruction to obtain the first digital value D1. In step S4, the control unit 16 A It is determined whether or not a signal has been input to the analog input terminal 19.
[0032] In step S5, the control unit 16 controls the output voltage V BGR is input to the ADC 13. That is, the control unit 16 controls the switch 50A to be in the on state and the switch 50B to be in the off state. In step S6, the control unit 16 supplies an instruction to the correction unit 15 to obtain the second digital value D2.
[0033] In step S7, the control unit 16 outputs the analog voltage V A is input to the ADC 13. That is, the control unit 16 controls the switch 50B to be in the on state and the switch 50A to be in the off state. The process of step S7 is executed immediately after the process of step S6 is completed. In step S8, the control unit 16 supplies an instruction to the correction unit 15 to obtain the third digital value D3.
[0034] In addition, in the correction process in the correction unit 15, when a design value or a measured value acquired in advance is used as the first digital value D1, the processes from step S1 to step S3 can be omitted.
[0035] 3 is a flowchart showing an example of the flow of processing executed by the correction unit 15. In step S11, the correction unit 15 corrects the digital value output from the ADC 13 (i.e., the output voltage V of the REG circuit 12) based on the instruction of the control unit 16 in step S3 of FIG. REG When the output voltage V of the BGR circuit 11 is at the standard level, BGR to the ADC 13, a digital value output from the ADC 13 is acquired as a first digital value D1, and this is stored in a memory (not shown). Note that, when a design value or a measured value acquired in advance is used as the first digital value D1, the processing in this step can be omitted.
[0036] In step S12, the correction unit 15 corrects the digital value (i.e., the analog voltage V A Just before inputting to the ADC 13, the output voltage V of the BGR circuit 11 BGR to the ADC 13, a digital value output from the ADC 13 is acquired as a second digital value D2, and this is stored in a memory (not shown).
[0037] In step S13, the correction unit 15 corrects the analog voltage V A to the ADC 13, a digital value output from the ADC 13 is acquired as a third digital value D3, and this is stored in a memory (not shown).
[0038] In step S14, the correction unit 15 derives a correction coefficient C by performing the calculation shown in equation (4) using the first digital value D1 acquired in step S11 and the second digital value D2 acquired in step S12.
[0039] In step S15, the correction unit 15 corrects the third digital value D3 acquired in step S13 using the correction coefficient C derived in step S14. That is, the correction unit 15 performs the calculation shown in the formula (5) on the third digital value D3 to obtain the corrected third digital value D3 * Derive.
[0040] 4 is a diagram showing an example of the configuration of an analog-to-digital conversion device 10X according to a comparative example. The analog-to-digital conversion device 10X according to the comparative example has a reference voltage generating circuit 30 (hereinafter, referred to as a REF circuit 30). The output voltage V REF is used as a reference voltage for the ADC 13. The output voltage V REF In order to stabilize the output voltage V of the REF circuit 30, an external capacitor 22 is connected to a connection terminal 23 connected to the output end of the REF circuit 30. REF is not supplied to the load. In other words, the REF circuit 30 is a circuit dedicated to the ADC 13. As a result, the output voltage V REF Since fluctuations in the analog-to-digital conversion device 10X are suppressed, an accurate digital value is always output from the ADC 13. However, the analog-to-digital conversion device 10X according to the comparative example requires a REF circuit 30 and an external capacitor 22 dedicated to the ADC 13, resulting in a large circuit size.
[0041] On the other hand, the analog-to-digital conversion device 10 according to the embodiment of the disclosed technique uses a constant voltage V BGR and a BGR circuit 11 that outputs a voltage V REG and an output voltage V REG is input as a reference voltage to the ADC 13, and the output voltage V of the BGR circuit 11 BGRand the analog voltage V to be converted to a digital value. A The selector 14 selectively inputs the output voltage V of the REG circuit 12 to the ADC 13, and the corrector 15. REG When the output voltage V of the BGR circuit 11 is at the standard level, BGR The correction unit 15 inputs the analog voltage V A The output voltage V of the BGR circuit 11 is BGR The correction unit 15 obtains a second digital value D2 output from the ADC 13 by inputting the first digital value D1 and the second digital value D2 to the ADC 13. The correction unit 15 obtains the second digital value D2 output from the ADC 13 by converting the analog voltage V A to the ADC 13 to correct the third digital value D3 output from the ADC 13.
[0042] According to the analog-to-digital conversion device 10 according to the embodiment of the disclosed technique, the reference voltage supplied to the ADC 13 is the output voltage V REG is utilized. Therefore, the REF circuit 30 dedicated to the ADC 13 and the external capacitor 22 of the analog-digital conversion device 10X according to the comparative example are not necessary, and the circuit size can be made smaller than that of the analog-digital conversion device 10X according to the comparative example. That is, the circuit combining the selection unit 14 and the correction unit 15 in the analog-digital conversion device 10 according to the embodiment of the disclosed technique can be made smaller in circuit size than the circuit combining the REF circuit 30 and the external capacitor 22 in the analog-digital conversion device 10X according to the comparative example.
[0043] On the other hand, the output voltage V REG However, according to the analog-to-digital conversion device 10 according to the embodiment of the disclosed technique, the analog voltage V AThe third digital value D3 output from the ADC 13 is the output voltage V REG When the output voltage V of the BGR circuit 11 is at the standard level, BGR The first digital value D1 and the analog voltage V are output from the ADC 13 by inputting the above to the ADC 13. A The output voltage V of the BGR circuit 11 is BGR The output voltage V of the REG circuit 12 is corrected based on the second digital value D2 output from the ADC 13 by inputting the second digital value D2 to the ADC 13. REG In other words, the analog-to-digital conversion device 10 according to the embodiment of the disclosed technique can ensure the accuracy of the output digital value while suppressing the circuit scale.
[0044] The following supplementary notes are further disclosed regarding the above embodiment. (Appendix 1) A bandgap reference circuit that outputs a constant voltage; a regulator circuit that outputs a voltage to be supplied to a load; an analog-to-digital converter to which the output voltage of the regulator circuit is input as a reference voltage; a selection unit that selectively inputs an output voltage of the bandgap reference circuit and an analog voltage to be converted into a digital value to the analog-to-digital converter; a correction unit that corrects a third digital value output from the analog-to-digital converter by inputting the analog voltage to the analog-to-digital converter, based on a first digital value output from the analog-to-digital converter by inputting the output voltage of the bandgap reference circuit to the analog-to-digital converter when the output voltage of the regulator circuit is at a standard level, and a second digital value output from the analog-to-digital converter by inputting the output voltage of the bandgap reference circuit to the analog-to-digital converter immediately before inputting the analog voltage to the analog-to-digital converter; Analog-to-digital conversion device including:
[0045] (Appendix 2) The correction unit is Obtaining the first digital value; Obtaining the second digital value; obtaining the third digital value immediately after obtaining the second digital value; deriving a correction coefficient based on the first digital value and the second digital value; Correcting the third digital value using the correction coefficient. 2. An analog-to-digital conversion device as described in appended claim 1.
[0046] (Appendix 3) The correction coefficient corresponds to a ratio between the first digital value and the second digital value. 3. An analog-to-digital conversion device as described in appended claim 2.
[0047] (Appendix 4) a control unit that controls the selection unit so that the analog voltage is input to the analog-to-digital converter immediately after the second digital value is acquired. 4. An analog-to-digital conversion device according to any one of claims 1 to 3.
[0048] (Appendix 5) The control unit controls the selection unit so that the output voltage of the bandgap reference circuit is input to the analog-to-digital converter when the output voltage of the regulator circuit is within a predetermined range. 5. An analog-to-digital conversion apparatus as described in appended claim 4. [Explanation of symbols]
[0049] 10, 10X Analog-to-Digital Converter 11 Bandgap Reference Circuit 12 Regulator circuit 13 Analog-to-Digital Converter 14 Selection section 15 Correction section 16 Control section 20 Load
Claims
1. A bandgap reference circuit that outputs a constant voltage; a regulator circuit that outputs a voltage to be supplied to a load; an analog-to-digital converter to which the output voltage of the regulator circuit is input as a reference voltage; a selection unit that selectively inputs an output voltage of the bandgap reference circuit and an analog voltage to be converted into a digital value to the analog-to-digital converter; a correction unit that corrects a third digital value output from the analog-to-digital converter by inputting the analog voltage to the analog-to-digital converter, based on a first digital value output from the analog-to-digital converter by inputting the output voltage of the bandgap reference circuit to the analog-to-digital converter when the output voltage of the regulator circuit is at a standard level, and a second digital value output from the analog-to-digital converter by inputting the output voltage of the bandgap reference circuit to the analog-to-digital converter immediately before inputting the analog voltage to the analog-to-digital converter; An analog-to-digital conversion device comprising:
2. The correction unit is Obtaining the first digital value; obtaining the second digital value; obtaining the third digital value immediately after obtaining the second digital value; deriving a correction coefficient based on the first digital value and the second digital value; Correcting the third digital value using the correction coefficient.
2. An analog-to-digital conversion device according to claim 1.
3. The correction coefficient corresponds to a ratio between the first digital value and the second digital value.
3. An analog-to-digital conversion device according to claim 2.
4. a control unit that controls the selection unit so that the analog voltage is input to the analog-to-digital converter immediately after the second digital value is acquired.
2. An analog-to-digital conversion device according to claim 1.
5. The control unit controls the selection unit so that the output voltage of the bandgap reference circuit is input to the analog-to-digital converter when the output voltage of the regulator circuit is within a predetermined range.
5. An analog-to-digital conversion device according to claim 4.
Citation Information
Patent Citations
Tuning circuit
JP1996032411A
