A calibrable impedance circuit

By designing a drive circuit with controllable impedance in the high-speed NAND flash memory physical interface circuit, and using the parallel module to generate matching equivalent impedance according to the working mode, the problem of impedance changes exceeding the standard under extreme conditions is solved, and a smaller circuit footprint is achieved. and better impedance matching.

CN114429775BActive Publication Date: 2024-09-06INST OF MICROELECTRONICS CHINESE ACAD OF SCI LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210108113.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2024-09-06
Estimated Expiration
2042-01-28

AI Technical Summary

Technical Problem

The impedance changes of high-speed NAND flash memory physical interface circuits under extreme conditions exceed the scope of the ONFi 4.2 standard, and the equivalent Ron and Rtt impedances need to be calibrated to ensure signal integrity and impedance matching.

Method used

A calibrated impedance circuit is designed. Through the control circuit and the controllable impedance drive circuit, the parallel pull-up and pull-down controllable impedance modules are used to generate matching equivalent impedance according to the working mode signal and the selection signal, reducing the drive unit quantity to reduce the circuit footprint.

Benefits of technology

It achieves the matching of impedance values ​​in different working modes, reduces the number of drive units in the circuit, thereby reducing the area occupied by the calibrated impedance circuit and meeting more stringent impedance matching requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114429775B
    Figure CN114429775B
Patent Text Reader

Abstract

The present invention provides a calibrable impedance circuit, which can realize the equivalent impedance required in different working modes by cooperating with a control circuit and a controllable impedance driving circuit. At the same time, the controllable impedance driving circuit provided by the present invention includes a plurality of driving units of equivalent impedance, and the pull-up controllable impedance modules of all driving units are connected in parallel, and the pull-down controllable impedance modules of all driving units are connected in parallel, so that the first equivalent impedance to the Nth equivalent impedance can be realized through independent controllable impedance modules, and more equivalent impedances can be realized through parallel controllable impedance modules, so as to meet the multiple equivalent impedance values ​​required in different working modes, thereby reducing the number of driving units in the circuit, and thus reducing the area occupied by the calibrable impedance circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of impedance circuits, and more particularly to a calibrable impedance circuit. Background Art

[0002] The NAND flash physical interface is an important part of the data path in the SSD (solid state drive) or memory card system, providing a high-speed transceiver driver interface circuit for the data communication link between the NAND flash memory and the flash controller chip. The transceiver driver circuit of the NAND flash physical interface circuit usually needs to meet the timing and impedance matching requirements of the international ONFI standard. For ONFI4.2, it is necessary to support high-speed interfaces such as NV-DDR, NV-DDR2 and NV-DDR3, which puts more stringent requirements on the signal integrity and impedance matching of the high-speed physical interface.

[0003] High-speed NAND flash memory physical interface circuits usually need to include OCD (On-Chip Driver) and ODT (On-Die Termination) circuits. In order to drive the interface circuit and achieve impedance matching, the basic units of OCD and ODT circuits are composed of nonlinear transistors and linear passive impedances in series. The equivalent impedance of OCD and the equivalent impedance of ODT are represented by Ron and Rtt respectively. However, due to the influence of PVT (Process, Voltage, Temperature), the output performance of OCD and ODT circuits in the interface circuit will fluctuate greatly. Under certain extreme conditions, the impedance change of the interface circuit will exceed the scope specified by the ONFi 4.2 standard, so it is necessary to calibrate the equivalent Ron and Rtt impedances in the interface circuit. Summary of the invention

[0004] In view of this, the present invention provides a calibrable impedance circuit, which effectively solves the technical problems existing in the prior art. On the basis of completing impedance calibration and simultaneously realizing the impedance values ​​required in different working modes, the number of driving units in the circuit can be reduced, thereby reducing the occupied area of ​​the calibrable impedance circuit.

[0005] To achieve the above purpose, the technical solution provided by the present invention is as follows:

[0006] A calibrable impedance circuit comprises: a control circuit and a drive circuit with controllable impedance;

[0007] The control circuit is used to output a selection signal, a pull-up conversion calibration code and a pull-down conversion calibration code according to the reference impedance and the equivalent impedance value required in different working modes;

[0008] The controllable impedance driving circuit comprises: a plurality of driving units connected in parallel, the driving units comprising a pull-up controllable impedance module and a pull-down controllable impedance module, one end of the pull-up controllable impedance module is connected to a power supply end, and the other end is connected to an IO interface; and one end of the pull-down controllable impedance module is connected to a ground end, and the other end is connected to the IO interface, the pull-up controllable impedance module and the pull-down controllable impedance module are both used to generate a first equivalent impedance to an Nth equivalent impedance, where N is an integer greater than or equal to 2;

[0009] The controllable impedance driving circuit is used to convert the pull-up conversion calibration code into a pull-up driving code according to the OCD_ODT signal in the working mode signal and the selection signal, and select the pull-up controllable impedance module to work through the pull-up driving code to obtain an equivalent impedance matching the reference impedance; or convert the pull-down conversion calibration code into a pull-down driving code, and select the pull-down controllable impedance module to work through the pull-down driving code to obtain an equivalent impedance matching the equivalent impedance value required in the OCD working mode;

[0010] And, the controllable impedance driving circuit is used to convert the pull-up conversion calibration code into a pull-up driving code according to the OCD_ODT signal, the ODT_EN signal and the selection signal in the working mode signal, and convert the pull-down conversion calibration code into a pull-down driving code at the same time, and select the pull-up controllable impedance module to work through the pull-up driving code, and at the same time select the pull-down controllable impedance module to work through the pull-down driving code, so as to obtain an equivalent impedance matching the equivalent impedance value required in the ODT working mode.

[0011] Optionally, the control circuit includes: a logic circuit, a calibration code generating circuit and a control shifter;

[0012] The calibration code generating circuit is used to generate a pull-up calibration code and a pull-down calibration code according to the reference impedance;

[0013] The logic circuit is used to generate a conversion signal and a selection signal according to the equivalent impedance values ​​required in the different working modes, wherein the conversion signal is used to determine the equivalent impedance of the driving unit, wherein the selection signal is used to select the driving unit to work;

[0014] The control shifter is used for converting the pull-up calibration code into the pull-up conversion calibration code and converting the pull-down calibration code into the pull-down conversion calibration code according to the conversion signal.

[0015] Optionally, the conversion signal and the selection signal are determined according to equivalent impedance values ​​required in different working modes and equivalent impedance generated by the driving unit.

[0016] Optionally, in the OCD working mode, the equivalent impedance of the driving unit is the first equivalent impedance to the Nth equivalent impedance; wherein, according to the equivalent impedance value required in the OCD working mode and the equivalent impedance of the driving unit, determining the conversion signal and the selection signal includes:

[0017] The equivalent impedance value required in the OCD working mode is 50Ω, and the equivalent impedance generated by the driving unit includes 150Ω. According to 50=150 / 3, it is determined that the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω, and the selection signal is used to select 3 driving units that generate an equivalent impedance of 150Ω to work;

[0018] The equivalent impedance value required in the OCD working mode is 35Ω, and the equivalent impedance generated by the driving unit includes 150Ω and 300Ω. According to 35=(150 / 3) / / (300 / 3), it is determined that the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω or 300Ω, and the selection signal is used to select 3 driving units that generate an equivalent impedance of 150Ω and 3 driving units that generate an equivalent impedance of 300Ω to work;

[0019] Alternatively, the equivalent impedance value required in the OCD working mode is 18Ω, and the equivalent impedance generated by the driving unit includes (150 / / 300 / / 600)Ω. Within the allowable error range, according to 18=(150 / / 300 / / 600) / 5, the conversion signal is used to determine that the equivalent impedance generated by the driving unit is (150 / / 300 / / 600), and the selection signal is used to select 5 driving units that generate an equivalent impedance of (150 / / 300 / / 600).

[0020] Optionally, in the ODT working mode, the equivalent impedance of the driving unit is the first equivalent impedance / 2 to the Nth equivalent impedance / 2; wherein, according to the equivalent impedance value required in the ODT working mode and the equivalent impedance of the driving unit, determining the conversion signal and the selection signal includes:

[0021] The equivalent impedance value required in the ODT working mode is 30Ω, and the equivalent impedance generated by the driving unit includes 150Ω. According to 30=150 / 5, the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω, and the selection signal is used to select 5 driving units that generate an equivalent impedance of 150Ω.

[0022] Optionally, the controllable impedance driving circuit includes a plurality of mode selection circuits, the mode selection circuits correspond to the driving units one by one, and the mode selection circuits are used to access the working mode signal, the pull-up conversion calibration code, the pull-down conversion calibration code and the selection signal;

[0023] The mode selection circuit is used to generate the pull-up driving code and / or the pull-down driving code according to the working mode signal, the pull-up conversion calibration code, the pull-down conversion calibration code and the selection signal.

[0024] Optionally, the mode selection circuit includes: a first NAND gate, a first NOT gate, a second NAND gate, a first buffer, a first two-to-one selector, a second two-to-one selector, a second NOT gate, a NOR gate, a second buffer, and a third NAND gate;

[0025] The first end of the first NAND gate is connected to the selection signal, the second end of the first NAND gate is connected to the pull-up conversion calibration code, the output end of the first NAND gate is connected to the input end of the first NAND gate, the output end of the first NAND gate is connected to the first end of the second NAND gate, the second end of the second NAND gate is connected to the output end of the first two-to-one selector, the output end of the second NAND gate is connected to the input end of the first buffer, and the output end of the first buffer is used to output the pull-up driving code;

[0026] The first input end of the first two-selector selector is connected to the OCD_ODT control signal, the second input end of the first two-selector selector is connected to the ODT_EN control signal, the first input end of the second two-selector selector is connected to the OCD_ODT control signal, the second input end of the second two-selector selector is connected to the output end of the second NOT gate, and the input end of the second NOT gate is connected to the ODT_EN control signal;

[0027] The output end of the second two-to-one selector is connected to the first end of the NOR gate, the output end of the NOR gate is connected to the input end of the second buffer, the output end of the second buffer is used to output the pull-down drive code, the second end of the NOR gate is connected to the output end of the third NAND gate, the first end of the third NAND gate is connected to the selection signal, and the second end of the third NAND gate is connected to the pull-down conversion calibration code.

[0028] Optionally, the pull-up controllable impedance module includes a first pull-up transistor to an Mth pull-up transistor and a first pull-up impedance to an Mth pull-up impedance, a first end of the i-th pull-up transistor is connected to the power supply end, a second end of the i-th pull-up transistor is connected to a first end of an i-th pull-up impedance, a second end of the i-th pull-up impedance is connected to the IO interface, M is an integer greater than or equal to 2, and i is an integer greater than 0 and less than or equal to M;

[0029] The pull-down controllable impedance module includes a first pull-down transistor to an Mth pull-down transistor and a first pull-down impedance to an Mth pull-down impedance, the first end of the i-th pull-down transistor is connected to the ground end, the second end of the i-th pull-down transistor is connected to the first end of the i-th pull-down impedance, and the second end of the i-th pull-down impedance is connected to the IO interface.

[0030] Optionally, the conduction types of the i-th pull-up transistor and the i-th pull-down transistor are opposite.

[0031] Compared with the prior art, the technical solution provided by the present invention has at least the following advantages:

[0032] The present invention provides a calibrable impedance circuit, wherein a controllable impedance driving circuit comprises a plurality of driving units with equivalent impedances, wherein the driving units comprise a pull-up controllable impedance module and a pull-down controllable impedance module, and the pull-up controllable impedance modules of all the driving units are connected in parallel, one end of the pull-up controllable impedance module is connected to a power supply end, and the other end is connected to an IO interface; and the pull-down controllable impedance modules of all the driving units are connected in parallel, one end of the pull-down controllable impedance module is connected to a ground end, and the other end is connected to the IO interface, and the pull-up controllable impedance module and the pull-down controllable impedance module are both used to generate a first equivalent impedance to an Nth equivalent impedance.

[0033] It can be seen from the above content that the technical solution provided by the present invention can realize the equivalent impedance required in different working modes by cooperating with the control circuit and the controllable impedance driving circuit. At the same time, the controllable impedance driving circuit provided by the present invention includes a plurality of driving units with equivalent impedance, and the pull-up controllable impedance modules of all driving units are connected in parallel, and the pull-down controllable impedance modules of all driving units are connected in parallel, so that the first equivalent impedance to the Nth equivalent impedance can be realized through independent controllable impedance modules, and more equivalent impedances can be realized through parallel controllable impedance modules, so as to meet the multiple equivalent impedance values ​​required in different working modes, thereby reducing the number of driving units in the circuit, and thus reducing the occupied area of ​​the calibrable impedance circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0035] Figure 1 A schematic diagram of the structure of a calibrable impedance circuit provided by an embodiment of the present invention;

[0036] Figure 2 A schematic diagram of the structure of another calibrable impedance circuit provided by an embodiment of the present invention;

[0037] Figure 3 A schematic diagram of the structure of a mode selection circuit provided by an embodiment of the present invention;

[0038] Figure 4 A schematic structural diagram of a driving circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] As described in the background technology, the high-speed NAND flash memory physical interface circuit usually needs to include OCD (On-Chip Driver) and ODT (On-Die Termination) circuits. In order to drive the interface circuit and achieve impedance matching, the basic units of the OCD and ODT circuits are composed of nonlinear transistors and linear passive impedances in series. The equivalent impedance of OCD and the equivalent impedance of ODT are represented by Ron and Rtt, respectively. However, due to the influence of PVT (Process, Voltage, Temperature), the output performance of the OCD and ODT circuits in the interface circuit will fluctuate greatly. Under certain extreme conditions, the impedance change of the interface circuit will exceed the scope specified by the ONFi 4.2 standard, so it is necessary to calibrate the equivalent Ron and Rtt impedances in the interface circuit.

[0041] Based on this, an embodiment of the present invention provides a calibrable impedance circuit, which effectively solves the technical problems existing in the prior art. While completing impedance calibration and realizing the equivalent impedance required in different working modes at the same time, it can reduce the number of driving units in the circuit, thereby reducing the occupied area of ​​the calibrable impedance circuit.

[0042] To achieve the above purpose, the technical solution provided by the embodiment of the present invention is as follows, specifically combined with Figures 1 to 4 The technical solution provided by the embodiment of the present invention is described in detail.

[0043] refer to Figure 1, which is a schematic diagram of the structure of a calibrable impedance circuit provided in an embodiment of the present invention, wherein the calibrable impedance circuit includes: a control circuit 100 and a drive circuit 200 with controllable impedance.

[0044] The control circuit 100 is used to output a selection signal EN, a pull-up conversion calibration code PCD, and a pull-down conversion calibration code NCD according to a reference impedance Rx and a setting code RC<3:0> of an equivalent impedance value required in different working modes.

[0045] The controllable impedance driving circuit 200 includes a plurality of driving units 210 connected in parallel, wherein the driving unit 210 includes a pull-up controllable impedance module 211 and a pull-down controllable impedance module 212, wherein one end of the pull-up controllable impedance module 211 is connected to a power supply terminal VD, and the other end is connected to an IO interface; and one end of the pull-down controllable impedance module 212 is connected to a ground terminal GND, and the other end is connected to the IO interface, and the pull-up controllable impedance module 211 and the pull-down controllable impedance module 212 are both used to generate a first equivalent impedance to an Nth equivalent impedance, where N is an integer greater than or equal to 2.

[0046] The controllable impedance driving circuit 200 is used to convert the pull-up conversion calibration code PCD into a pull-up driving code PC according to the OCD working mode selected by the working mode signal OCD_ODT and the selection signal EN, and select the pull-up controllable impedance module 211 to work through the pull-up driving code PC to obtain an equivalent impedance matching the impedance value required in the OCD working mode; or convert the pull-down conversion calibration code NCD into a pull-down driving code NC, and select the pull-down controllable impedance module 212 to work through the pull-down driving code NC to obtain an equivalent impedance matching the equivalent impedance value required in the OCD working mode.

[0047] And, the controllable impedance driving circuit 200 is used to convert the pull-up conversion calibration code PCD into the pull-up driving code PC, and convert the pull-down conversion calibration code NCD into the pull-down calibration code NC according to the ODT working mode selected by the working mode signal OCD_ODT and the selection signal EN, and select the pull-up controllable impedance module 211 to work through the pull-up driving code PC, and at the same time select the pull-down controllable impedance module 212 to work through the pull-down driving code NC, so as to obtain an equivalent impedance that matches the equivalent impedance value required in the ODT working mode.

[0048] It should be noted that the calibration code generating circuit provided in the embodiment of the present invention includes a pull-up driving subcircuit, a pull-down driving subcircuit and a calibration code control subcircuit, the pull-up driving subcircuit includes a plurality of pull-up impedance branches connected in parallel, and the impedance of all the pull-up impedance branches can be increased by multiples of 2, and the pull-down driving subcircuit includes a plurality of pull-down impedance branches connected in parallel, and the impedance of all the pull-down impedance branches can be increased by multiples of 2; the calibration code control subcircuit is used to control the opening and closing of the pull-up impedance branch of the pull-up driving subcircuit, so that the equivalent impedance of the pull-up driving subcircuit matches the reference impedance, and generates a pull-up calibration code according to the opening and closing of the pull-up impedance branch; and the calibration code control subcircuit is used to control the opening and closing of the pull-down impedance branch of the pull-down driving subcircuit, so that the equivalent impedance of the pull-down driving subcircuit matches the reference impedance, and generates a pull-down calibration code according to the opening and closing of the pull-down impedance branch. The impedance branch is composed of an impedance and a controllable switch tube in parallel, so the calibration code is composed of 0 and 1 digital signals.

[0049] The technical solution provided by the embodiment of the present invention can realize the required impedance value output through the cooperation of the control circuit and the controllable impedance driving circuit. At the same time, the controllable impedance driving circuit provided by the embodiment of the present invention includes a plurality of controllable impedance driving units, and the pull-up controllable impedance modules of all driving units are connected in parallel, and the pull-down controllable impedance modules of all driving units are connected in parallel, so that the first equivalent impedance to the Nth equivalent impedance can be realized through independent controllable impedance modules, and more equivalent impedances can be realized through parallel controllable impedance modules, so as to meet the equivalent matching of more reference impedances, thereby reducing the number of driving units in the circuit, and thus reducing the occupied area of ​​the calibrable impedance circuit.

[0050] refer to Figure 2 , which is a schematic diagram of the structure of another calibrable impedance circuit provided in an embodiment of the present invention, wherein the control circuit 100 provided in an embodiment of the present invention includes: a logic circuit 110, a calibration code generating circuit 120 and a control shifter 130.

[0051] The calibration code generating circuit 120 is used to generate a pull-up calibration code PQ and a pull-down calibration code NQ according to the reference impedance Rx.

[0052] The logic circuit 110 is used to generate a conversion signal S and a selection signal EN according to the setting code RC<3:0> of the equivalent impedance value required in the different working modes, wherein the conversion signal S is used to determine the equivalent impedance of the driving unit, wherein the selection signal EN is used to select the driving unit to work.

[0053] The control shifter 130 is used for converting the pull-up calibration code PQ into the pull-up conversion calibration code PCD and converting the pull-down calibration code NQ into the pull-down conversion calibration code NCD according to the conversion signal S.

[0054] It can be understood that in the calibrated impedance circuit provided by the embodiment of the present invention, the calibration code generating circuit controls the equivalent impedance of its pull-up driving subcircuit to match the reference impedance and generates a pull-up calibration code; and controls the equivalent impedance of its pull-down driving subcircuit to match the reference impedance and generates a pull-down calibration code. In addition, the logic circuit generates a conversion signal and a selection signal according to the reference impedance, wherein the selection signal includes a plurality of digital sub-signals, and the digital sub-signals correspond one-to-one to the driving circuit, and are used to control whether the driving circuit works. The control shifter receives the conversion signal, the pull-up calibration code and the pull-down calibration code, and converts the pull-up calibration code into a pull-up conversion calibration code suitable for the controllable impedance driving circuit according to the conversion signal, and converts the pull-down calibration code into a pull-down conversion calibration code suitable for the controllable impedance driving circuit.

[0055] Furthermore, the controllable impedance driving circuit receives the selection signal, the pull-up conversion calibration code and the pull-down conversion calibration code, as well as the working mode signal, and generates the corresponding pull-up driving code and / or pull-down driving code for different driving circuits according to the selection signal, the working mode signal, the pull-up conversion calibration code and the pull-down conversion calibration code, and selects the corresponding driving circuit to work to obtain an equivalent impedance that matches the impedance value required by the impedance.

[0056] In one embodiment of the present invention, the present invention determines the conversion signal S and the selection signal EN according to the equivalent impedance values ​​required in different working modes and the equivalent impedance generated by the driving unit.

[0057] Specifically, in the OCD working mode, the equivalent impedance of the driving unit is the first equivalent impedance to the Nth equivalent impedance; wherein, according to the equivalent impedance value required in the OCD working mode and the equivalent impedance of the driving unit, determining the conversion signal and the selection signal includes:

[0058] The equivalent impedance value required in the OCD working mode is 50Ω, and the equivalent impedance generated by the driving unit includes 150Ω. According to 50=150 / 3, it is determined that the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω, and the selection signal is used to select 3 driving units that generate an equivalent impedance of 150Ω to work;

[0059] The equivalent impedance value required in the OCD working mode is 35Ω, and the equivalent impedance generated by the driving unit includes 150Ω and 300Ω. According to 35=(150 / 3) / / (300 / 3), it is determined that the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω or 300Ω, and the selection signal is used to select 3 driving units that generate an equivalent impedance of 150Ω and 3 driving units that generate an equivalent impedance of 300Ω to work;

[0060] Alternatively, the equivalent impedance value required in the OCD working mode is 18Ω, and the equivalent impedance generated by the driving unit includes (150 / / 300 / / 600)Ω. Within the allowable error range, according to 18=(150 / / 300 / / 600) / 5, the conversion signal is determined to determine that the driving unit generates an equivalent impedance of (150 / / 300 / / 600), and the selection signal is used to select 5 driving units that generate an equivalent impedance of (150 / / 300 / / 600). Further reference is made to Table 1, which shows the equivalent impedance in the OCD working mode that can also be achieved by the embodiment of the present invention.

[0061]

[0062] Table 1

[0063] Among them, RC<3:0> in Table 1 represents the Ron (Ω) equivalent impedance in the OCD working mode; the generation mode represents the equivalent impedance ratio of the driving unit to the number of driving units required; EN<3:1> is the number of driving units selected by the selection signal, wherein 0 among the three digits represents 0, the first digit among the three digits represents 3 when it is 1, the second digit represents 2 when it is 1, and the third digit represents 1 when it is 1, that is, 001 represents 1, and 111 represents 6; S<3:1> is a conversion signal, 00 represents that the driving unit generates an equivalent impedance of 150Ω, 01 represents that the driving unit generates an equivalent impedance of 300Ω, and 11 represents that the driving unit generates an equivalent impedance of other.

[0064] And, in the ODT working mode, the equivalent impedance of the driving unit is the first equivalent impedance / 2 to the Nth equivalent impedance / 2; wherein, according to the equivalent impedance value required in the ODT working mode and the equivalent impedance of the driving unit, the conversion signal and the selection signal are determined, including:

[0065] The equivalent impedance value required in the ODT working mode is 30Ω, and the equivalent impedance generated by the driving unit includes 150Ω. According to 30=150 / 5, the conversion signal is used to determine that the driving unit generates an equivalent impedance of 150Ω, and the selection signal is used to select 5 driving units that generate an equivalent impedance of 150Ω. Further reference is made to Table 2, which shows the equivalent impedance in the ODT working mode that can also be achieved by the embodiment of the present invention.

[0066] RC<3:0> Rtt(Ω) Generation method EN<3:1> S<1:0> 0000 150 300 / 1 001 01 0001 100 600 / 3 011 10 0010 75 300 / 2 010 01 0011 50 300 / 3 011 01 0100 37.5 300 / 4 101 01 0101 Not used 0110 30 300 / 5 110 01 0111 25 300 / 6 111 01

[0067] Table 2

[0068] Among them, RC<3:0> in Table 2 represents the equivalent impedance of Rtt (Ω) in the ODT working mode; the generation mode represents the equivalent impedance included in the driving unit (it should be noted that the equivalent resistance (defined as the display equivalent impedance) shown in Table 2 is the equivalent resistance independently generated by the pull-up controllable impedance module or the pull-down controllable impedance module. Since the pull-up controllable impedance module and the pull-down controllable impedance module are connected in parallel and work simultaneously, the equivalent resistance of the driving unit is actually the display equivalent impedance / 2) ratio of the required number of driving units; EN<3:1> is the number of driving units selected by the selection signal, wherein 0 in the three digits represents 0, the first of the three digits is 1 when it represents 3, the second is 1 when it represents 2, and the third is 1 when it represents 1, that is, 001 represents 1, and 111 represents 6; S<3:1> is the conversion signal, 01 represents that the equivalent impedance generated by the driving unit is 150Ω, and 10 represents that the equivalent impedance generated by the driving unit is 200Ω.

[0069] like Figure 3 As shown, it is a structural schematic diagram of a mode selection circuit provided in an embodiment of the present invention, wherein the controllable impedance driving circuit includes multiple mode selection circuits 220, and the mode selection circuits 220 correspond one-to-one to the driving units 210. The mode selection circuits 220 are used to access the operating mode signal OCD_ODT, the pull-up conversion calibration code PCD, the pull-down conversion calibration code NCD and the selection signal EN.

[0070] The mode selection circuit 220 is used for generating the pull-up driving code PC and / or the pull-down driving code NC according to the operation mode signal OCD_ODT, the pull-up conversion calibration code PCD, the pull-down conversion calibration code NCD and the selection signal EN.

[0071] In one embodiment of the present invention, the mode selection circuit 220 provided by the present invention includes: a first NAND gate 221, a first NOT gate 222, a second NAND gate 223, a first buffer 224, a first two-to-one selector 225, a second two-to-one selector 226, a second NOT gate 227, a NOR gate 228, a second buffer 229, and a third NAND gate 230.

[0072] The first end of the first NAND gate 221 is connected to the selection signal EN, the second end of the first NAND gate 221 is connected to the pull-up conversion calibration code PCD, the output end of the first NAND gate 221 is connected to the input end of the first NAND gate 222, the output end of the first NAND gate 222 is connected to the first end of the second NAND gate 223, the second end of the second NAND gate 223 is connected to the output end of the first two-to-one selector 225, the output end of the second NAND gate 223 is connected to the input end of the first buffer 224, and the output end of the first buffer 224 is used to output the pull-up drive code PC.

[0073] The first input end of the first two-to-one selector 225 is connected to the OCD control signal DIN, the second input end of the first two-to-one selector 225 is connected to the ODT control signal ODT_EN, the first input end of the second two-to-one selector 226 is connected to the OCD control signal DIN, the second input end of the second two-to-one selector 226 is connected to the output end of the second NOT gate 227, and the input end of the second NOT gate 227 is connected to the ODT control signal DOT_EN.

[0074] The output end of the second two-to-one selector 226 is connected to the first end of the NOR gate 228, the output end of the NOR gate 228 is connected to the input end of the second buffer 229, the output end of the second buffer 229 is used to output the pull-down drive code NC, the second end of the NOR gate 228 is connected to the output end of the third NAND gate 230, the first end of the third NAND gate 230 is connected to the selection signal EN, and the second end of the third NAND gate 230 is connected to the pull-down conversion calibration code NCD.

[0075] It can be understood that in the mode selection circuit provided in the embodiment of the present invention, if EN is high (digital signal is 1), it means that the driving circuit is enabled; OCD_ODT determines the working mode through a two-to-one selector, if OCD_ODT=0, the circuit works in OCD mode; if OCD_ODT=1, the circuit works in ODT mode.

[0076] When the circuit works in OCD mode, if DIN = 1, the pull-up controllable impedance module in the driving circuit is turned on; if DIN = 0, the pull-down controllable impedance module in the driving circuit is turned on. When the circuit works in ODT mode, if ODT_EN = 1, both the pull-up controllable impedance module and the pull-down controllable impedance module in the driving circuit are turned on; if ODT_EN = 0, the driving circuit is turned off.

[0077] like Figure 4 As shown, it is a structural schematic diagram of a driving circuit provided by an embodiment of the present invention, wherein, the pull-up controllable impedance module 211 includes a first pull-up transistor T11 to an M-th pull-up transistor T1m and a first pull-up impedance R11 to an M-th pull-up impedance R1m, the first end of the i-th pull-up transistor is connected to the power supply terminal VC, the second end of the i-th pull-up transistor is connected to the first end of the i-th pull-up impedance, the second end of the i-th pull-up impedance is connected to the IO interface, M is an integer greater than or equal to 2, and i is an integer greater than 0 and less than or equal to M.

[0078] The pull-down controllable impedance module 212 includes the first pull-down transistor T21 to the Mth pull-down transistor T2m and the first pull-down impedance R21 to the Mth pull-down impedance R2m, the first end of the i-th pull-down transistor is connected to the ground terminal GND, the second end of the i-th pull-down transistor is connected to the first end of the i-th pull-down impedance, and the second end of the i-th pull-down impedance is connected to the IO interface.

[0079] In one embodiment of the present invention, the first pull-up impedance to the Mth pull-up impedance provided by the present invention can be increased in an exponential multiple of 2. For example, if the resistance value of the first pull-up impedance is R, the resistance value of the second pull-up impedance is 2R, the resistance value of the third pull-up impedance is 4R, and so on. Similarly, the first pull-down impedance to the Mth pull-down impedance can be increased in an exponential multiple of 2. For example, if the resistance value of the first pull-down impedance is R, the resistance value of the second pull-down impedance is 2R, the resistance value of the third pull-down impedance is 4R, and so on.

[0080] It should be noted that the embodiments of the present invention do not impose specific restrictions on the number of driving units, the number of pull-up impedances, and the number of pull-down impedances, and specific designs need to be made according to actual applications. Also, for the pull-up driving code and the pull-up controllable impedance module, the pull-up driving code includes the first pull-up control signal to the Mth pull-up control signal, and the i-th pull-up control signal is connected to the gate of the i-th pull-up transistor to control the on-off of the i-th pull-up transistor. Also, for the pull-down driving code and the pull-down controllable impedance module, the pull-down driving code includes the first pull-down control signal to the Mth pull-down control signal, and the i-th pull-down control signal is connected to the gate of the i-th pull-down transistor to control the on-off of the i-th pull-down transistor.

[0081] In one embodiment of the present invention, the conduction types of the i-th pull-up transistor and the i-th pull-down transistor provided by the present invention are opposite. The pull-up transistor may be a P-type transistor, and the pull-down transistor may be an N-type transistor, which is not specifically limited by the present invention.

[0082] An embodiment of the present invention provides a calibrable impedance circuit, wherein a controllable impedance driving circuit includes a driving unit including a plurality of equivalent impedances, wherein the driving unit includes a pull-up controllable impedance module and a pull-down controllable impedance module, and the pull-up controllable impedance modules of all the driving units are connected in parallel, one end of the pull-up controllable impedance module is connected to a power supply end, and the other end is connected to an IO interface; and the pull-down controllable impedance modules of all the driving units are connected in parallel, one end of the pull-down controllable impedance module is connected to a ground end, and the other end is connected to the IO interface, and the pull-up controllable impedance module and the pull-down controllable impedance module are both used to generate a first equivalent impedance to an Nth equivalent impedance.

[0083] It can be seen from the above content that the technical solution provided by the embodiment of the present invention can realize the equivalent impedance required in different working modes through the cooperation of the control circuit and the controllable impedance driving circuit. At the same time, the controllable impedance driving circuit provided by the embodiment of the present invention includes a plurality of driving units with equivalent impedance, and the pull-up controllable impedance modules of all driving units are connected in parallel, and the pull-down controllable impedance modules of all driving units are connected in parallel, so that the first equivalent impedance to the Nth equivalent impedance can be realized through independent controllable impedance modules, and more equivalent impedances can be realized through parallel controllable impedance modules, so as to meet the multiple equivalent impedance values ​​required in different working modes, thereby reducing the number of driving units in the circuit, and thus reducing the occupied area of ​​the calibrable impedance circuit.

[0084] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A calibratable impedance circuit, characterized in that: include: A control circuit and a drive circuit with controlled impedance; The control circuit is used to output a selection signal, a pull-up conversion calibration code and a pull-down conversion calibration code according to the reference impedance and the equivalent impedance value required in different working modes; The controllable impedance driving circuit comprises: a plurality of driving units connected in parallel, the driving units comprising a pull-up controllable impedance module and a pull-down controllable impedance module, one end of the pull-up controllable impedance module is connected to a power supply end, and the other end is connected to an IO interface; and one end of the pull-down controllable impedance module is connected to a ground end, and the other end is connected to the IO interface, the pull-up controllable impedance module and the pull-down controllable impedance module are both used to generate a first equivalent impedance to an Nth equivalent impedance, where N is an integer greater than or equal to 2; The controllable impedance driving circuit is used to convert the pull-up conversion calibration code into a pull-up driving code according to the OCD_ODT signal in the working mode signal and the selection signal, and select the pull-up controllable impedance module to work through the pull-up driving code to obtain an equivalent impedance matching the reference impedance; or convert the pull-down conversion calibration code into a pull-down driving code, and select the pull-down controllable impedance module to work through the pull-down driving code to obtain an equivalent impedance matching the equivalent impedance value required in the OCD working mode; And, the controllable impedance driving circuit is used to convert the pull-up conversion calibration code into a pull-up driving code, and convert the pull-down conversion calibration code into a pull-down driving code according to the OCD_ODT signal, the ODT_EN signal and the selection signal in the working mode signal, and select the pull-up controllable impedance module to work through the pull-up driving code, and select the pull-down controllable impedance module to work through the pull-down driving code, so as to obtain an equivalent impedance matching the equivalent impedance value required in the ODT working mode; The control circuit includes: a logic circuit, a calibration code generating circuit and a control shifter; The calibration code generating circuit is used to generate a pull-up calibration code and a pull-down calibration code according to the reference impedance; The logic circuit is used to generate a conversion signal and a selection signal according to the equivalent impedance values ​​required in the different working modes, wherein the conversion signal is used to determine the equivalent impedance of the driving unit, wherein the selection signal is used to select the driving unit to work; The control shifter is used for converting the pull-up calibration code into the pull-up conversion calibration code and converting the pull-down calibration code into the pull-down conversion calibration code according to the conversion signal; determining the conversion signal and the selection signal according to the equivalent impedance values ​​required in different working modes and the equivalent impedance generated by the driving unit; In the OCD working mode, the equivalent impedance of the driving unit is the first equivalent impedance to the Nth equivalent impedance; wherein, according to the equivalent impedance value required in the OCD working mode and the equivalent impedance of the driving unit, determining the conversion signal and the selection signal includes: The equivalent impedance value required in the OCD working mode is 50Ω, and the equivalent impedance generated by the driving unit includes 150Ω. According to 50=150 / 3, it is determined that the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω, and the selection signal is used to select 3 driving units that generate an equivalent impedance of 150Ω to work; The equivalent impedance value required in the OCD working mode is 35Ω, and the equivalent impedance generated by the driving unit includes 150Ω and 300Ω. According to 35=(150 / 3) / / (300 / 3), it is determined that the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω or 300Ω, and the selection signal is used to select 3 driving units that generate an equivalent impedance of 150Ω and 3 driving units that generate an equivalent impedance of 300Ω to work; Alternatively, the equivalent impedance value required in the OCD working mode is 18Ω, and the equivalent impedance generated by the driving unit includes (150 / / 300 / / 600)Ω. Within the allowable error range, according to 18=(150 / / 300 / / 600) / 5, the conversion signal is used to determine that the equivalent impedance generated by the driving unit is (150 / / 300 / / 600), and the selection signal is used to select 5 driving units that generate an equivalent impedance of (150 / / 300 / / 600).

2. The calibratable impedance circuit according to claim 1, characterized in that: In the ODT working mode, the equivalent impedance of the driving unit is the first equivalent impedance / 2 to the Nth equivalent impedance / 2; wherein, according to the equivalent impedance value required in the ODT working mode and the equivalent impedance of the driving unit, the conversion signal and the selection signal are determined, including: The equivalent impedance value required in the ODT working mode is 30Ω, and the equivalent impedance generated by the driving unit includes 150Ω. According to 30=150 / 5, the conversion signal is used to determine that the equivalent impedance generated by the driving unit is 150Ω, and the selection signal is used to select 5 driving units that generate an equivalent impedance of 150Ω.

3. The calibratable impedance circuit according to claim 1, characterized in that: The controllable impedance driving circuit includes a plurality of mode selection circuits, each of which corresponds to the driving unit one by one, and is used to access the working mode signal, the pull-up conversion calibration code, the pull-down conversion calibration code and the selection signal; The mode selection circuit is used to generate the pull-up driving code and / or the pull-down driving code according to the working mode signal, the pull-up conversion calibration code, the pull-down conversion calibration code and the selection signal.

4. The calibratable impedance circuit according to claim 3, characterized in that: The mode selection circuit includes: a first NAND gate, a first NOT gate, a second NAND gate, a first buffer, a first two-to-one selector, a second two-to-one selector, a second NOT gate, a NOR gate, a second buffer, and a third NAND gate; The first end of the first NAND gate is connected to the selection signal, the second end of the first NAND gate is connected to the pull-up conversion calibration code, the output end of the first NAND gate is connected to the input end of the first NAND gate, the output end of the first NAND gate is connected to the first end of the second NAND gate, the second end of the second NAND gate is connected to the output end of the first two-to-one selector, the output end of the second NAND gate is connected to the input end of the first buffer, and the output end of the first buffer is used to output the pull-up driving code; The first input end of the first two-selector selector is connected to the OCD_ODT control signal, the second input end of the first two-selector selector is connected to the ODT_EN control signal, the first input end of the second two-selector selector is connected to the OCD_ODT control signal, the second input end of the second two-selector selector is connected to the output end of the second NOT gate, and the input end of the second NOT gate is connected to the ODT_EN control signal; The output end of the second two-to-one selector is connected to the first end of the NOR gate, the output end of the NOR gate is connected to the input end of the second buffer, the output end of the second buffer is used to output the pull-down drive code, the second end of the NOR gate is connected to the output end of the third NAND gate, the first end of the third NAND gate is connected to the selection signal, and the second end of the third NAND gate is connected to the pull-down conversion calibration code.

5. The calibratable impedance circuit according to claim 1, characterized in that: The pull-up controllable impedance module includes a first pull-up transistor to an Mth pull-up transistor and a first pull-up impedance to an Mth pull-up impedance, a first end of the i-th pull-up transistor is connected to the power supply end, a second end of the i-th pull-up transistor is connected to a first end of the i-th pull-up impedance, a second end of the i-th pull-up impedance is connected to the IO interface, M is an integer greater than or equal to 2, and i is an integer greater than 0 and less than or equal to M; The pull-down controllable impedance module includes a first pull-down transistor to an Mth pull-down transistor and a first pull-down impedance to an Mth pull-down impedance, the first end of the i-th pull-down transistor is connected to the ground end, the second end of the i-th pull-down transistor is connected to the first end of the i-th pull-down impedance, and the second end of the i-th pull-down impedance is connected to the IO interface.

6. The calibratable impedance circuit according to claim 5, characterized in that: The conduction types of the i-th pull-up transistor and the i-th pull-down transistor are opposite.