Digital-to-analog conversion circuit, electronic device, and operation method

By using memristor series modules and multi-channel selection modules to adjust the memristor resistance, the accuracy and efficiency problems of traditional digital-to-analog conversion circuits in nonlinear signal generation are solved, and smaller-scale and efficient nonlinear signal conversion is achieved. .

CN114268320BActive Publication Date: 2024-09-24BEIJING SUPERSTRING ACAD OF MEMORY TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111591131.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2024-09-24
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

When traditional digital-to-analog conversion circuits generate nonlinear analog signals, it is difficult to take into account the conversion accuracy, circuit scale, and delay time. In particular, the conversion accuracy in the nonlinear interval is insufficient, resulting in the smallest digital unit being unable to reflect the subtle differences in the analog signal, and the introduction of programmable functions. Increased circuit size and latency.

Method used

Memristor series modules and multiplex selection modules are used to realize nonlinear mapping of multi-bit data by adjusting the resistance of the memristor, replacing the traditional resistor network, reducing the circuit scale and improving transmission efficiency.

Benefits of technology

It achieves effective mapping of nonlinear functions, broadens the generation interval of nonlinear analog signals, reduces circuit scale, improves transmission efficiency, and avoids the need to introduce additional memory function modules and sequential circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114268320B
    Figure CN114268320B
Patent Text Reader

Abstract

A digital-to-analog conversion circuit, an electronic device, and an operation method. The digital-to-analog conversion circuit includes: a first voltage terminal; a second voltage terminal; a memristor string module, including M memristors, M first output terminals, and a mode switching module; a memristor setting module, including M first input terminals, a second control signal input terminal, and M third voltage terminals; and a multi-way selection module, including M second input terminals, m digital signal input terminals, and a second output terminal, configured to select one of the M second input terminals to be electrically connected to the second output terminal according to a digital conversion signal; wherein M=2^m, and m is an integer greater than 1. The digital-to-analog conversion circuit can represent multi-bit data to match various nonlinear functions, thereby broadening the generation range of nonlinear analog signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to a digital-to-analog conversion circuit, an electronic device, and an operating method. Background Art

[0002] Digital-to-Analog Converter (DAC) is a very important functional module in the field of integrated circuits. It is the key bridge connecting digital and analog quantities in circuit systems. By making corresponding digital-to-analog converter circuits for specific common nonlinear functions, we can make full use of the various gears of DAC, thereby reducing the scale of the circuit, reducing the storage bit width of digital signals, and widening the generation range of analog signals.

[0003] Memristors are a type of basic device that can change resistance according to the charge flowing through the device. Compared with ordinary resistors, their resistance can be set by applying a suitable voltage pulse signal at both ends. Memristors naturally have both the function of resistors and programmable characteristics, so they are very suitable for replacing fixed-value resistors in the resistor network of traditional DACs. Summary of the invention

[0004] At least one embodiment of the present disclosure provides a digital-to-analog conversion circuit, comprising: a first voltage terminal, configured to receive a first voltage; a second voltage terminal, configured to receive a second voltage; a memristor string module, comprising: M memristors, wherein the M memristors are sequentially connected in series, and two end points of the memristor string formed by the M memristors are electrically connected to the first voltage terminal and the second voltage terminal, respectively; M first output terminals, wherein the M first output terminals correspond to the second voltage terminal and M-1 intermediate connection points between adjacent memristors in the M memristors, respectively; and a mode switching module, comprising a first control signal input terminal, wherein the first control signal input terminal is configured to receive a first control signal, and the mode switching module is configured to disconnect or establish an electrical connection between any pair of adjacent memristors in the M memristors according to the first control signal; a memristor setting module, comprising M first input terminals, a second control signal input terminal and M third voltage terminals, wherein the M first input terminals are configured to receive M operating voltages, the second control signal input terminal is configured to receive a second control signal, the memristor setting module is coupled to the memristor string module and configured to couple the M memristors respectively between the M first input terminals and the M third voltage terminals according to the second control signal; and a multi-way selection module, including M second input terminals, m digital signal input terminals and a second output terminal, wherein the M second input terminals are electrically connected to the M first output terminals in a one-to-one correspondence, the m digital signal input terminals are configured to receive a digital conversion signal with m bits, the second output terminal is configured to output an analog voltage signal, the multi-way selection module is coupled to the memristor string module and configured to select one of the M second input terminals to be electrically connected to the second output terminal according to the digital conversion signal; wherein, M=2^m, m is an integer greater than 1.

[0005] For example, the mode switching module also includes M-1 first switches M1, the i-th first switch M1 among the M-1 first switches M1 connects the i-th memristor and the i+1-th memristor among the M memristors, and the control end of the M-1 first switch M1 is electrically connected to the first control signal input end to receive the first control signal, where i=1, 2,…, M-1.

[0006] For example, the memristor setting module includes M second switches M2 and M-1 third switches M3, among the M second switches M2, the first end of the jth second switch M2 is electrically connected to the jth of the M first input ends, the second end of the jth second switch M2 is electrically connected to the first end of the jth of the M memristors, and the control end of the jth second switch M2 is electrically connected to the second control signal input end to receive the second control signal, wherein j=1, 2,…, M; among the M-1 third switches M3, the first end of the hth third switch M3 is electrically connected to the second end of the h+1th of the M memristors, the second end of the hth third switch M3 is electrically connected to the hth of the M third voltage ends, and the control end of the hth third switch M3 is electrically connected to the second control signal input end to receive the second control signal, wherein h=1, 2,…, M-1.

[0007] For example, the M third voltage terminals are electrically connected to each other.

[0008] For example, the multi-way selection module includes m switch sub-modules, the ath switch sub-module among the m switch sub-modules is electrically connected to the ath among the m digital signal input terminals, and the ath among the m digital signal input terminals is configured to receive the ath bit of the digital conversion signal, where a=0, 1, 2,…, m-1; among the m switch sub-modules, the ath switch sub-module has 2^(ma) input terminals and 2^(ma-1) output terminals, and is configured to select 2^(ma-1) outputs from 2^(ma) pairs of inputs; except for the m-1th switch sub-module, the outputs of the ath switch sub-module are respectively used as inputs of the a+1th switch sub-module.

[0009] For example, the resistance values ​​of at least one pair of adjacent memristors among the M memristors are not equal.

[0010] For example, the M accumulated values ​​generated by sequentially adding the resistance values ​​of the M memristors change nonlinearly.

[0011] For example, the M third voltage terminals are connected to the same voltage as the second voltage terminal.

[0012] At least one embodiment of the present disclosure further provides an electronic device, comprising the digital-to-analog conversion circuit described in any of the above embodiments.

[0013] For example, the electronic device further includes: a control module configured to provide the first control signal and the second control signal; and an operating voltage providing module coupled to the M first input terminals and configured to provide the M operating voltages.

[0014] At least one embodiment of the present disclosure also provides an operating method for any of the above-mentioned digital-to-analog conversion circuits, comprising: setting all of the m digital signal input terminals of the digital conversion signal of the multi-way selection module to zero; receiving the first control signal and the second control signal, wherein the first control signal is an off-potential so that the electrical connection between any pair of adjacent memristors among the M memristors is disconnected, and the second control signal is an on-potential so that the memristor string module enters a set mode; receiving the M operating voltages at the M first input terminals, and performing set operations on the M memristors respectively according to the M operating voltages.

[0015] For example, the set operation includes: obtaining an array R"[M] of M target resistance values ​​of the M memristors, and inputting the array R"[M] into a pulse signal generator; receiving the M operating voltages generated by the pulse signal generator according to the array R"[M]; and inputting the M operating voltages into the M first input terminals to respectively set the resistance values ​​of the M memristors.

[0016] For example, obtaining an array R"[M] of M target resistance values ​​of the M memristors includes: representing the resistance value of each of the M memristors as 2^n resistance levels, where n is a positive integer; sampling the nonlinear signal curve to obtain M+1 level values; performing forward differentiation on the M+1 level values ​​to calculate M relative values, which respectively correspond to the resistance values ​​of the M memristors and are recorded as an array R[M]; finding a maximum value Rmax in the array R[M]; and calculating a mapping ratio k=2^n / Rmax , so that the maximum value Rmax is mapped to the 2^nth resistance level among the 2^n resistance levels; each value in the array R[M] is multiplied by the mapping ratio k to obtain the mapped array R'[M]; each value in the array R'[M] is nearest-neighbor rounded to obtain the nearest-neighbor rounded array R"[M], so that the g-th value in the array R"[M] is mapped to the 2^n resistance levels of the g-th of the M memristors, where g=1,2,…,M.

[0017] For example, at least one embodiment of the present disclosure also provides another method for operating the digital-to-analog conversion circuit described above, comprising: receiving the first control signal and the second control signal, wherein the second control signal is an off potential so that the memristor string module exits the set mode, and the first control signal is an on potential so that an electrical connection is established between any pair of adjacent memristors among the M memristors, and M reference voltage dividers are generated on the M memristors; receiving the digital conversion signal, and inputting the digital conversion signal into the multi-way selection module, wherein the multi-way selection module selects a corresponding reference voltage divider from the M reference voltage dividers according to the digital conversion signal and outputs it from the second output terminal as the analog voltage signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure.

[0019] Figure 1 is a schematic diagram of a nonlinear signal;

[0020] Figure 2 A schematic block diagram of a digital-to-analog conversion circuit provided in some embodiments of the present disclosure;

[0021] Figure 3 A schematic diagram of a digital-to-analog conversion circuit provided in some embodiments of the present disclosure;

[0022] Figure 4 A schematic block diagram of an electronic device provided for some embodiments of the present disclosure;

[0023] Figure 5 A flowchart of a set mode operation method of a digital-to-analog conversion circuit provided in some embodiments of the present disclosure;

[0024] Figure 6 A flowchart of a working mode operation method of a digital-to-analog conversion circuit provided in some embodiments of the present disclosure; and

[0025] Figure 7 A flow chart of a nonlinear setting operation method of a memristor resistance value provided by some embodiments of the present disclosure;

[0026] Figure 8 A schematic block diagram of a memristor-based nonlinear programmable digital-to-analog conversion circuit system provided in some embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0028] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0029] The present disclosure is described below through several specific embodiments. In order to keep the following description of the embodiments of the present disclosure clear and concise, detailed descriptions of known functions and known components may be omitted. When any component of the embodiments of the present disclosure appears in more than one figure, the component is represented by the same or similar reference numeral in each figure.

[0030] In traditional digital-to-analog conversion circuits, the three indicators of conversion accuracy, circuit scale and delay time are often difficult to take into account at the same time. Especially when it is necessary to generate nonlinear analog signals, the conversion accuracy of some intervals cannot be effectively utilized, while the digital-to-analog conversion accuracy of other intervals is insufficient, resulting in the smallest digital unit being unable to reflect the subtle differences required by the analog signal.

[0031] For the design of nonlinear digital-to-analog conversion circuits, the first type of improvement method is to change the resistance relationship in the resistor network, which is mostly designed for a specific nonlinear function, for example, a DAC with an exponential function curve or a DAC with a logarithmic function curve is implemented separately. The application field of this type of digital-to-analog conversion circuit is relatively limited, and it cannot generate other nonlinear analog signals required by users in a timely manner. The second type of improvement method is to introduce a certain degree of programmable function, which generally requires storage of the sampling results of the nonlinear function based on the timing circuit and storage function module, which greatly increases the scale of the circuit, and the introduction of the timing module increases the delay in the use of the digital-to-analog conversion circuit and reduces the speed of the digital-to-analog conversion circuit.

[0032] For example, Figure 1 A nonlinear signal curve is shown. If a suitable nonlinear digital-to-analog conversion circuit is used to fit the 8 gears of dot1, dot2, ..., dot8 in the curve, then only 8 gears are needed, that is, a 3-bit digital signal can be represented. If a linear digital-to-analog conversion circuit is used, then the minimum gear must be able to represent (0.6-0.0=0.6), and the value range width of the analog signal is about 32.1. At this time, at least a DAC with 32.1 / 0.6≈53.5 gears is required, that is, an 8-bit digital signal can be represented. This situation not only increases the scale and power of the digital-to-analog conversion circuit, but also makes the digital storage redundant and inefficient.

[0033] At least one embodiment of the present disclosure provides a digital-to-analog conversion circuit, including a first voltage terminal, a second voltage terminal, a memristor string module, a memristor setting module and a multi-way selection module. The first voltage terminal is configured to receive a first voltage; the second voltage terminal is configured to receive a second voltage. The memristor string module includes: M memristors, M first output terminals and a mode switching module, wherein the M memristors are connected in series in sequence, and the two ends of the memristor string composed of the M memristors are electrically connected to the first voltage terminal and the second voltage terminal respectively; the M first output terminals correspond to the second voltage terminal and the M-1 intermediate connection points between adjacent memristors in the M memristors respectively; the mode switching module includes a first control signal input terminal, wherein the first control signal input terminal is configured to receive a first control signal, and the mode switching module is configured to disconnect or establish an electrical connection between any pair of adjacent memristors in the M memristors according to the first control signal. The memristor setting module includes M first input terminals, a second control signal input terminal and M third voltage terminals, wherein the M first input terminals are configured to receive M operating voltages, the second control signal input terminal is configured to receive a second control signal, the memristor setting module is coupled to the memristor string module and configured to couple the M memristors respectively between the M first input terminals and the M third voltage terminals according to the second control signal. The multi-way selection module includes M second input terminals, m digital signal input terminals and a second output terminal, wherein the M second input terminals are electrically connected to the M first output terminals in a one-to-one correspondence, the m digital signal input terminals are configured to receive a digital conversion signal with m bits, the second output terminal is configured to output an analog voltage signal, the multi-way selection module is coupled to the memristor string module and configured to select one of the M second input terminals to be electrically connected to the second output terminal according to the digital conversion signal; wherein M=2^m, m is an integer greater than 1.

[0034] At least one embodiment of the present disclosure further provides an electronic device including the above-mentioned digital-to-analog conversion circuit.

[0035] At least one embodiment of the present disclosure further provides an operating method corresponding to the above-mentioned digital-to-analog conversion circuit.

[0036] The digital-to-analog conversion circuit, electronic device, and operation method provided by at least one embodiment of the present disclosure use memristors to replace the original resistors on the basis of the traditional digital-to-analog conversion circuit, and can switch between the setting and working modes of the digital-to-analog conversion circuit. By adjusting the resistance value of each memristor, the digital-to-analog conversion circuit can represent multi-bit data to match various nonlinear functions, thereby broadening the generation range of nonlinear analog signals. In at least one embodiment of the present disclosure, since there is no need to introduce additional storage function modules and timing circuits, the scale of the circuit is reduced and the transmission efficiency is improved.

[0037] Some embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0038] Figure 2 A schematic block diagram of a digital-to-analog conversion circuit provided for some embodiments of the present disclosure.

[0039] For example, Figure 2 As shown, the digital-to-analog conversion circuit 100 includes a first voltage terminal, a second voltage terminal, a memristor string module 110 , a memristor setting module 120 and a multi-path selection module 130 .

[0040] The two endpoints of the memristor string module 110 are electrically connected to the first voltage terminal and the second voltage terminal, respectively. The first voltage terminal is configured to receive a first voltage V1, and the second voltage terminal is configured to receive a second voltage V2. For example, the first voltage V1 can be configured as a reference potential (Vref) for digital-to-analog conversion, and the second voltage V2 can be configured as ground (GND). The memristor string module 110 also includes a first control signal input terminal. The first control signal input terminal is configured to receive a first control signal Von1. For example, by setting the first control signal Von1 to an on or off potential, the electrical connection or disconnection between adjacent memristors inside the memristor string module 110 can be controlled. The memristor string module 110 also includes M first output terminals, where M is an integer greater than 1. The M first output terminals are configured to output the voltage signal on the memristor string module 110 to the multi-way selection module 130.

[0041] In at least one embodiment of the present disclosure, the memristor may be, for example, a resistive memory, a phase change memory, a conductive bridge memory, etc. For example, in the case where the memristor is a resistive memory, the memristor is a stacked structure prepared by a semiconductor process, including two opposing electrode layers (such as metal electrodes) and a storage material layer sandwiched between the two electrodes, and the storage material layer may further be a stacked structure, and the stacked structure includes a combination of multiple material layers. For example, the stacked structure obtained by the combination of the material layers may be TiN / HfAlO x / TaO x / TiN or TiN / HfO2 / TaO x / TiN or TiN / HfO2 / TiN or TiN / HfZrO x / TaO x / TiN or TiN / HfAlZrO x / TaO x / TiN or TiN / SiO2 / TiN, etc., and the embodiments of the present disclosure are not limited to this.

[0042] For example, the memristor setting module 120 is coupled to the memristor string module 110 and includes M first input terminals, a second control signal input terminal and M third voltage terminals (not shown in the figure). Wherein, M=2^m, m is an integer greater than 1. The M first input terminals are configured to receive M operating voltages VP <1> VP <2> ……VP <m>For example, the M third voltage terminals can be separately provided or electrically connected to each other and connected to the same voltage as the second voltage terminal. For example, the M third voltage terminals can be configured as ground (GND).

[0043] The second control signal input terminal is configured to receive a second control signal Von2. The memristor setting module 120 is configured to couple the M memristors between the M first input terminals and the M third voltage terminals respectively according to the second control signal Von2, so that each memristor can be set separately (for example, initialization (forming), setting (setting), resetting (resetting), etc.) by selecting the voltage difference applied across each memristor. For example, a setting voltage is applied to put the memristor in a low resistance state; a reset voltage is applied to put the memristor in a high resistance state. For example, the resistance value of the memristor in the high resistance state is more than 100 times the resistance value in the low resistance state, for example, more than 1000 times, and different operating voltages for different required resistance values ​​can be selected according to the electrical characteristic curve of the memristor.

[0044] For example, the multi-channel selection module 130 includes m digital signal input terminals d <0> ,d <1> ……d <m-1>, configured to receive a digital conversion signal having m bits. The multi-way selection module 130 is coupled to the memristor string module 110 through the M second input terminals, and selects one of the M second input terminals to be electrically connected to the second output terminal according to the digital conversion signal, and outputs the analog voltage signal Vout from the second output terminal. It should be noted that the M second input terminals are electrically connected to the M first output terminals in a one-to-one correspondence.

[0045] Figure 3 for Figure 2 FIG. 1 is a circuit diagram of an example of a digital-to-analog conversion circuit 100 according to an embodiment of the present invention.

[0046] For example, Figure 3 As shown, in this example, the memristor string module 110 of the digital-to-analog conversion circuit 100 includes M memristors, M first output terminals O <1> , O <2> ...O <m>and mode switching module. M memristors R <1> , R <2> ……R <m>The two ends of the memristor string formed by the M memristors are connected in series in sequence, and are electrically connected to the first voltage end and the second voltage end respectively. For example, the first voltage end is configured to receive a first voltage V1, which may be a reference voltage Vref; the second voltage end is configured to receive a second voltage V2, which may be configured to be grounded (GND). <1> , O <2> ...O <m>Corresponding to the second voltage terminal O <1> and M-1 intermediate connection points O between adjacent memristors among the M memristors <2> , O <3> ...O <m>, thereby the voltage signals on the M memristors can be output to the multi-path selection module 130 in the working state.

[0047] It should be noted that after the M memristors are set, the resistance values ​​of at least one pair of adjacent memristors in the M memristors may not be equal. For example, the M accumulated values ​​generated by sequentially adding the resistance values ​​of the M memristors may change nonlinearly. For example, the linear change may be as follows: Figure 1 As shown, but not limited to Figure 1 Alternatively, the resistance values ​​of the M memristors may be equal, in which case the digital-to-analog conversion circuit 100 has the function of a linear digital-to-analog conversion circuit.

[0048] For example, the mode switching module includes a first control signal input terminal and M-1 first switches M1 <1> 、M1 <2> ...M1 <m-1>The mode switching module is configured to disconnect or establish electrical connection between any pair of adjacent memristors among the M memristors according to the first control signal Von1. For example, the first control signal input terminal is configured to receive the first control signal Von1. For example, the i-th first switch M1 Connect the i-th memristor R and the i+1th memristor R<i+1> , where i=1,2,…,M-1; the control end of the M-1 first switches M1 is electrically connected to the first control signal input end to receive the first control signal Von1, and the first end and the second end of the M-1 first switches M1 are respectively connected to two adjacently arranged memristors. Therefore, when the M-1 first switches M1 receive the first control signal Von1 and are turned on, the two memristors connected thereto will be electrically connected. When the M memristors are all electrically connected, a conductive path is established between the first voltage end and the second voltage end, and each memristor acts as a voltage-dividing resistor, thereby generating and outputting different voltage values ​​at the M-1 intermediate connection points. Conversely, when the M-1 first switches M1 receive the first control signal Von1 and are turned off, the electrical connection between the two memristors connected thereto will be disconnected.

[0049] It should be noted that the first switch M1 may be any appropriate switch element, such as a metal-oxide semiconductor field effect transistor (MOSFET) or other three-terminal switch elements, and the embodiments of the present disclosure are not limited thereto.

[0050] For example, Figure 3 As shown, the memristor setting module 120 of the digital-to-analog conversion circuit 100 includes M first input terminals, M second switches (M2 <1> 、M2 <2> ...M2 <m>)、M-1 third switches (M3 <1> 、M3 <2> ...M3 <m-1>), a second control signal input terminal and M third voltage terminals. The M first input terminals are configured to receive M operating voltages VP <1> VP <2> ……VP <m>The jth second switch M2 <j>The first end of the first input terminal is electrically connected to the jth first input terminal to receive the jth operating voltage VP <j>; The jth second switch M2 <j>The second end of the jth memristor R <j>The first end of the M second switches M2 is electrically connected to the control end of the M second switches M2 to receive the second control signal Von2; wherein j=1, 2, …, M.

[0051] For example, the hth third switch M3 <h>The first end of the h+1th memristor R<h+1> The second end of the hth third switch M3 is electrically connected to <h>The second end of the M-1 third switch M3 is electrically connected to the h-th third voltage terminal, and the control end of the M-1 third switches M3 is electrically connected to the second control signal input end to receive the second control signal Von2; wherein h=1, 2, ..., M-1. The M third voltage terminals are electrically connected to each other and are connected to the same voltage as the second voltage terminal. For example, the M third voltage terminals can be configured as ground (GND).

[0052] Therefore, when the M second switches M2 and the M-1 third switches M3 receive the second control signal Von2 and are turned on, the M operation voltage signals VP are input to the first terminals of the M second switches M2 respectively. <1> VP <2> ……VP <m>At this time, the two ends of each memristor are electrically connected to the corresponding operating voltage VP and the corresponding third voltage end, so that the M memristors can be set according to the M operating voltages VP. On the contrary, when the M second switches M2 and the M-1 third switches M3 receive the second control signal Von2 and are turned off, the electrical connection between each memristor and the corresponding operating voltage VP and the corresponding third voltage end will be disconnected.

[0053] For example, by setting the first control signal Von1 and the second control signal Von2 to on or off potentials, the mode switching module and the memristor setting module 120 can control the digital-to-analog conversion circuit 100 to enter the set mode or the working mode, as shown in Table 1.

[0054] Table 1 Relationship between control signal and DAC mode

[0055] Control Signal Set mode Working Mode Von1 Off potential On-state potential Von2 On-state potential Off potential

[0056] It should be noted that the second switch M2 and the third switch M3 may be various appropriate switch elements, such as MOSFET or other three-terminal switch elements, which is not limited in the embodiments of the present disclosure.

[0057] It should be noted that, in other embodiments, the memristor string module 110 may also include only M-1 memristors, that is, Figure 3 The top memristor R <m>and the corresponding second switch M2 <m>and the third switch M3 <m-1>Can be omitted.

[0058] For example, Figure 3 As shown, the multi-way selection module 130 of the digital-to-analog conversion circuit 100 includes M second input terminals O <1> , O <2> ...O <m>, m switch submodules K <0> , K <1> ...K <m-1>, m digital signal input terminals and a second output terminal (Vout). m digital signal input terminals d <0> ,d <1> ……d <m-1>The ath switch submodule K is configured to receive a digital conversion signal having m bits. With the ath digital signal input terminal d Electrical connection, ath digital signal input terminal d The a-th switch submodule K is configured to receive the a-th digital conversion signal, where a=0, 1, 2, ..., m-1. It has 2^(ma) input terminals and 2^(ma-1) output terminals, and is configured to select 2^(ma-1) outputs from 2^(ma) pairs of inputs. This step-by-step operation can ultimately achieve the function of selecting one from 2^m. <m-1> In addition, the ath switch submodule K< / m-1> The outputs of are respectively used as the inputs of the a+1th switch submodule.

[0059] For example, the ath switch submodule includes 2^(ma) fourth switches M4. In each switch submodule K, every two fourth switches M4 form a switch group, and the fourth switches M4 included in any two switch groups are not repeated. In the embodiment, the control ends of the two fourth switches M4 in each switch group are electrically connected to the a-th signal input end and the inverter connected to the a-th signal input end, that is, the two fourth switches M4 in each switch group are controlled by a pair of logically opposite signals, thereby making the on and off states of the two fourth switches M4 opposite, realizing the function of selecting one of two. The second ends of the two fourth switches M4 in each switch group are connected and led out as the reference voltage output end.

[0060] For example, except for the 0th switch submodule K <0> The ath switch submodule K In the example, the pth fourth switch M4<a,p> The first end of the switch submodule K <a-1>The first terminal of the pth fourth switch M4<0,p> in the 0th switch submodule is electrically connected to the pth reference voltage output terminal of the 0th switch submodule, wherein p=1, 2, ..., 2^(ma). Electrical connection, that is, connecting the pth memristor R The pth first output terminal O The m-1th switch submodule includes only two fourth switches M4.<m-2,1> and M4<m-2,2> , the reference voltage output terminal is the second output terminal. The second output terminal is configured to output an analog voltage signal Vout.

[0061] It should be noted that in Figure 3 In the specific example shown, the fourth switch M4<x,y> The naming rules are as follows: x indicates that the input digital conversion signal is the xth bit; y indicates that the fourth switch M4 is the yth fourth switch M4 in the switch submodule.

[0062] For example, in Figure 3 In a specific example shown, taking the case where m=2 (ie, M=4) as an example, when the input digital conversion signal is 01, when 01 is input, R is selected. <1> and R <2> The first output terminal O <2> As output; when the input digital conversion signal is 10, select R <2> and R <3> The first output terminal O <3> as output.

[0063] It should be noted that the fourth switch M4 may be any suitable switch element, such as MOSFET or other three-terminal switch elements, which is not limited in the embodiments of the present disclosure.

[0064] Figure 4 The present invention is a schematic block diagram of an electronic device including a digital-to-analog conversion circuit according to at least one embodiment of the present invention.

[0065] For example, Figure 4 As shown, the electronic device 200 includes a control module 210, an operating voltage providing module 220 and a Figure 2 and Figure 3 The digital-to-analog conversion circuit 230 shown. The control module 210 is configured to provide a first control signal Von1 and a second control signal Von2 for switching the digital-to-analog conversion circuit 230 to a set state or a working state, as shown in Table 1 above. For example, the control module 210 can be implemented by a digital circuit or an analog circuit, and the present disclosure does not limit this. The operating voltage providing module 220 is coupled to the M first input terminals and is configured to provide M operating voltages VP <1> VP <2> ……VP <m>, used to input appropriate pulse signals to the M memristors in the set state to set the M memristors to appropriate resistance values. For example, the operating voltage providing module 220 can be implemented by a digital circuit or an analog circuit, such as a CPU, a programmable logic controller (PLC), etc., and the present disclosure does not limit this. The digital-to-analog conversion circuit 230 is, for example, a digital-to-analog conversion circuit of any embodiment of the present disclosure, and is therefore configured to convert the input m-bit digital conversion signal into an analog voltage signal Vout.

[0066] Figure 5 The present invention is a flowchart of a set mode operation method of a digital-to-analog conversion circuit according to at least one embodiment of the present disclosure. Figure 6 The present invention is a flowchart of a working mode operation method of a digital-to-analog conversion circuit according to at least one embodiment of the present invention.

[0067] For example, Figure 5 As shown, before performing digital-to-analog conversion, if the M memristors in the memristor string module 110 are not configured to a suitable resistance value, the digital-to-analog conversion circuit should first enter a set mode to configure the resistance value, for example, including the following steps S10-S30.

[0068] Step S10: To prevent the influence of the multi-path selection module 130, firstly, the m digital signals are input to the terminal d <0> ,d <1> ……d <m-1>Set all to zero.

[0069] Step S20: receiving a first control signal Von1 and a second control signal Von2, wherein the first control signal Von1 is an off potential to disconnect any pair of adjacent memristors among the M memristors, and the second control signal Von2 is an on potential to put the memristor string module 110 into a set mode.

[0070] Step S30: receiving M operating voltages VP at M first input terminals <1> VP <2> ……VP <m>, the M memristors are respectively set according to the M operating voltages.

[0071] Through the above operation, for example, M memristors R <1> , R <2> ……R <m>The resistance value is set to match, for example Figure 1 The resistance value of the nonlinear signal in the <1> The resistance value corresponds to the difference between (dot1-dot0), R <2> The resistance value corresponds to the difference of (dot2-dot1), and so on, thereby realizing the nonlinear conversion capability of the digital-to-analog conversion circuit.

[0072] For example, Figure 6 As shown, after the M memristors are configured to a suitable resistance value, the digital-to-analog conversion circuit needs to be set to enter a working mode, including the following steps S40 to S50:

[0073] Step S40: receiving a first control signal Von1 and a second control signal Von2, wherein the second control signal Von2 is an off potential so that the memristor string module 110 exits the set mode, and the first control signal Von1 is an on potential so that an electrical connection is established between any pair of adjacent memristors among the M memristors, and M reference divided voltages are generated on the M memristors.

[0074] Step S50: Receive an m-bit digital conversion signal, and input the m-bit digital conversion signal to the control end of the multi-way selection module 130 corresponding to the fourth switch M4, wherein the multi-way selection module 130 selects a corresponding reference divided voltage from M reference divided voltages as the final output analog voltage signal Vout from the second output end according to the m-bit digital conversion signal.

[0075] Figure 7 for Figure 5 FIG. 1 is a flow chart of an example of a method for setting the resistance value of a memristor in step S30 of the method shown.

[0076] For example, Figure 7 As shown, for the case where the memristor cannot be absolutely continuously adjustable, in at least one embodiment of the present disclosure, the adjustable accuracy of each memristor can be unified to n bits, that is, the resistance value of each memristor is first represented as 2^n resistance levels, where n is a positive integer. Then, the following operations are performed to obtain an array R"[M] of M target resistance values ​​of M memristors: the nonlinear signal curve is sampled to obtain M+1 gear values; the M+1 gear values ​​are forward differentiated to calculate M relative values, which correspond to the resistance values ​​of the M memristors, respectively, and are recorded as the array R[M]; the maximum value Rmax in the array R[M] is obtained; the mapping ratio k=2^n / Rmax is calculated to map the maximum value Rmax to the 2^nth gear among the 2^n resistance gears; each value in the array R[M] is multiplied by the mapping ratio k to obtain the mapped array R'[M]; each value in the array R'[M] is nearest-neighbor rounded to obtain the nearest-neighbor rounded array R"[M], so that the g-th value in the array R"[M] is mapped to the g-th 2^n resistance gear among the M memristors, where g=1,2,…,M.

[0077] For example, after obtaining an array R"[M] of M target resistance values ​​of M memristors, the array R"[M] is input to a pulse signal generator; the receiving pulse signal generator generates M operating voltages VP according to the array R"[M]. <1> VP <2> ……VP <m>; Inputting M operating voltages to the M first input terminals to respectively set the M memristors R <1> , R <2> ……R <m>resistance value.

[0078] Figure 8 A schematic block diagram of a memristor-based nonlinear programmable digital-to-analog conversion circuit system provided in some embodiments of the present disclosure.

[0079] For example, Figure 8 As shown, the digital-to-analog conversion circuit system includes a memristor resistance value generation program, a pulse signal generator, a nonlinear programmable DAC, a digital signal and an analog signal.

[0080] For example, the memristor resistance generation procedure can be Figure 7 The exemplary memristor resistance setting operation method shown in FIG. Figure 7 The pulse signal generator described in the above, the nonlinear programmable DAC may be a digital-to-analog conversion circuit of any embodiment of the present disclosure, the digital signal may be a digital conversion signal with m bits of any embodiment of the present disclosure, and the analog signal may be Figure 2 and Figure 3 The analog voltage signal Vout is shown.

[0081] For example, the memristor resistance value generation procedure is based on e.g. Figure 1 The nonlinear signal shown generates an array R”[M] of M target resistance values ​​corresponding to the M memristors, and then the array R”[M] is input into the pulse signal generator. After the pulse signal generator generates M operating voltages according to the array R”[M], the M operating voltages are input into the nonlinear programmable DAC. The nonlinear programmable DAC sets the resistance values ​​of the M memristors according to the M operating voltages. After the resistance configuration is completed, the nonlinear programmable DAC enters the working mode. The digital signal is input into the nonlinear programmable DAC to obtain the output analog signal.

[0082] There are a few points to note about this disclosure:

[0083] (1) In the drawings of the embodiments of the present disclosure, only the structures related to the embodiments of the present disclosure are involved, and other structures can refer to the general design.

[0084] (2) In the absence of conflict, features in the same embodiment or in different embodiments of the present disclosure may be combined with each other.

[0085] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.< / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / m> < / h> < / h> < / j> < / j> < / j> < / j> < / m> < / m> < / m> < / m> < / m> < / m> < / m>

Claims

1. A digital-to-analog conversion circuit, comprising: A first voltage terminal configured to receive a first voltage; A second voltage terminal configured to receive a second voltage; Memristor string module, comprising: M memristors, wherein the M memristors are sequentially connected in series, and two ends of the memristor string formed by the M memristors are electrically connected to the first voltage end and the second voltage end, respectively. M first output terminals, wherein the M first output terminals correspond to the second voltage terminal and M-1 intermediate connection points between adjacent memristors in the M memristors, respectively; and A mode switching module, comprising a first control signal input terminal, wherein the first control signal input terminal is configured to receive a first control signal, and the mode switching module is configured to disconnect or establish an electrical connection between any pair of adjacent memristors among the M memristors according to the first control signal; a memristor setting module, comprising M first input terminals, a second control signal input terminal and M third voltage terminals, wherein the M first input terminals are configured to receive M operating voltages, the second control signal input terminal is configured to receive a second control signal, the memristor setting module is coupled to the memristor string module and is configured to couple the M memristors respectively between the M first input terminals and the M third voltage terminals according to the second control signal; and A multi-way selection module, comprising M second input terminals, m digital signal input terminals and a second output terminal, wherein the M second input terminals are electrically connected to the M first output terminals in a one-to-one correspondence, the m digital signal input terminals are configured to receive a digital conversion signal having m bits, the second output terminal is configured to output an analog voltage signal, the multi-way selection module is coupled to the memristor string module and is configured to select one of the M second input terminals to be electrically connected to the second output terminal according to the digital conversion signal; Wherein, M=2^m, and m is an integer greater than 1.

2. The digital-to-analog conversion circuit according to claim 1, wherein: The mode switching module further includes M-1 first switches M1, The i-th first switch M1 among the M-1 first switches M1 connects the i-th memristor and the i+1-th memristor among the M memristors, and the control end of the M-1 first switch M1 is electrically connected to the first control signal input end to receive the first control signal, where i=1, 2,…, M-1.

3. The digital-to-analog conversion circuit according to claim 1, wherein: The memristor setting module includes M second switches M2 and M-1 third switches M3. Among the M second switches M2, a first end of the jth second switch M2 is electrically connected to a jth one of the M first input ends, a second end of the jth second switch M2 is electrically connected to a first end of the jth one of the M memristors, and a control end of the jth second switch M2 is electrically connected to the second control signal input end to receive the second control signal, wherein j=1, 2, ..., M; Among the M-1 third switches M3, the first end of the hth third switch M3 is electrically connected to the second end of the h+1th among the M memristors, the second end of the hth third switch M3 is electrically connected to the hth among the M third voltage terminals, and the control end of the hth third switch M3 is electrically connected to the second control signal input end to receive the second control signal, wherein h=1, 2,…, M-1.

4. The digital-to-analog conversion circuit according to claim 3, wherein: The M third voltage terminals are electrically connected to each other.

5. The digital-to-analog conversion circuit according to claim 1, wherein: The multi-way selection module includes m switch sub-modules, The ath switch submodule among the m switch submodules is electrically connected to the ath one among the m digital signal input terminals, and the ath one among the m digital signal input terminals is configured to receive the ath bit of the digital conversion signal, wherein a=0, 1, 2, ..., m-1; Among the m switch submodules, the ath switch submodule has 2^(ma) input terminals and 2^(ma-1) output terminals, and is configured to select 2^(ma-1) outputs from 2^(ma) pairs of inputs; Except for the m-1th switch submodule, the outputs of the ath switch submodule are respectively used as inputs of the a+1th switch submodule.

6. The digital-to-analog conversion circuit according to claim 1, wherein: The resistance values ​​of at least one pair of adjacent memristors among the M memristors are unequal.

7. The digital-to-analog conversion circuit according to claim 6, wherein: The M accumulated values ​​generated by sequentially adding up the resistance values ​​of the M memristors change nonlinearly.

8. The digital-to-analog conversion circuit according to claim 1, wherein: The M third voltage terminals are connected to the same voltage as the second voltage terminal.

9. An electronic device, comprising the digital-to-analog conversion circuit according to any one of claims 1 to 8.

10. The electronic device as claimed in claim 9, further comprising: a control module, configured to provide the first control signal and the second control signal; as well as The operating voltage providing module is coupled to the M first input terminals and configured to provide the M operating voltages.

11. A method for operating a digital-to-analog conversion circuit according to any one of claims 1 to 8, comprising: Setting all the m digital signal input terminals of the digital conversion signal of the multi-channel selection module to zero; Receiving the first control signal and the second control signal, wherein the first control signal is a turn-off potential to disconnect electrical connection between any pair of adjacent memristors among the M memristors, and the second control signal is a turn-on potential to enable the memristor string module to enter a set mode; The M operating voltages are received at the M first input terminals, and setting operations are performed on the M memristors respectively according to the M operating voltages.

12. The operating method according to claim 11, wherein: The setting operation includes: Obtaining an array R"[M] of M target resistance values ​​of the M memristors, and inputting the array R"[M] into a pulse signal generator; Receiving the M operating voltages generated by the pulse signal generator according to the array R"[M]; The M operating voltages are input to the M first input terminals to respectively set the resistance values ​​of the M memristors.

13. The operating method according to claim 12, wherein: Obtaining an array R"[M] of M target resistance values ​​of the M memristors, comprising: Representing the resistance of each of the M memristors as 2^n resistance levels, where n is a positive integer; Sample the nonlinear signal curve to obtain M+1 gear values; Perform forward differentiation on the M+1 gear values ​​to calculate M relative values, which respectively correspond to the resistance values ​​of the M memristors and are recorded as an array R[M]; Find the maximum value Rmax in the array R[M]; Calculate a mapping ratio k=2^n / Rmax, so that the maximum value Rmax is mapped to the 2^nth resistance level among the 2^n resistance levels; Multiply each value in the array R[M] by the mapping ratio k to obtain a mapped array R'[M]; Perform nearest neighbor rounding on each value in the array R'[M] to obtain the nearest neighbor rounded array R"[M], so that the g-th value in the array R"[M] is mapped to the 2^n resistance levels of the g-th of the M memristors, where g=1, 2, ..., M.

14. A method for operating a digital-to-analog conversion circuit according to any one of claims 1 to 8, comprising: Receiving the first control signal and the second control signal, wherein the second control signal is a turn-off potential to make the memristor string module exit the set mode, and the first control signal is an turn-on potential to establish an electrical connection between any pair of adjacent memristors among the M memristors, and generate M reference divided voltages on the M memristors; The digital conversion signal is received and input into the multi-way selection module, wherein the multi-way selection module selects a corresponding reference divided voltage from the M reference divided voltages according to the digital conversion signal and outputs the selected reference voltage from the second output terminal as the analog voltage signal.