Random frequency triangular wave generator based on diffusion memristor and current transmitter

文档序号:1190363 发布日期:2020-08-28 浏览:26次 中文

阅读说明:本技术 基于扩散忆阻器和电流传输器的随机频率三角波发生器 (Random frequency triangular wave generator based on diffusion memristor and current transmitter ) 是由 梁涛 于 2020-06-02 设计创作,主要内容包括:基于扩散忆阻器和电流传输器的随机频率三角波发生器,属于集成电路技术领域。本发明为解决现有的随机频率三角载波发生器,由于其使用随机数发生器,导致电路复杂和设计难度大的问题。本发明包括控制逻辑单元、随机延时单元、延时链单元、第一寄存器单元、第二寄存器单元、电流传输器、N个NMOS管M<Sub>1</Sub>至M<Sub>N</Sub>、电容阵列、比较器U<Sub>1</Sub>、电阻R<Sub>A</Sub>、电阻R<Sub>B</Sub>和电阻R<Sub>X</Sub>;本发明先使用电流传输器提供恒定的充放电电流,再利用时间间隔测量技术对扩散忆阻器的随机延时时间进行编码,所得到的随机温度计码用来控制充放电电容的大小,从而获得周期及频率随机变化的等幅三角波。本发明主要应用在随机PWM技术中。(Random frequency triangular wave generator based on diffusion memristor and current transmitter belongs to integrated circuit technical field. The invention aims to solve the problems of complex circuit and high design difficulty of the conventional random frequency triangular carrier wave generator due to the use of a random number generator. The invention comprises a control logic unit, a random delay unit, a delay chain unit, a first register unit, a second register unit, a current transmitter, N NMOS tubes M 1 To M N Capacitor array and comparator U 1 Resistance R A Resistance R B And a resistance R X (ii) a The constant charge-discharge current is provided by using the current transmitter, the random delay time of the diffusion memristor is encoded by using a time interval measurement technology, and the obtained random thermometer code is used for controlling the size of a charge-discharge capacitor, so that a constant-amplitude triangular wave with a period and a frequency which are randomly changed is obtained. The invention is mainly applied to the random PWM technology.)

1. The random frequency triangular wave generator based on the diffusion memristor and the current transmitter is characterized by comprising a control logic unit, a random time delay unit, a time delay chain unit, a first register unit, a second register unit, the current transmitter and N NMOS (N-channel metal oxide semiconductor) tubes M1To MNCapacitor array and comparator U1Resistance RAResistance RBAnd a resistance RX(ii) a Wherein the capacitor array comprises a capacitor C0To CN

The control logic unit is used for generating a pulse signal VP0And simultaneously sending the data to the random delay unit and the delay chain unit; the reset circuit is also used for generating a reset signal Rst to reset the delay chain unit; and also for generating a clock signal ClkLClock control is carried out on the second register unit; and is also used for receiving the pulse signal V output by the random delay unitP1(ii) a And also for receiving the comparator U1Voltage signal V output from output terminalY

The random delay unit is realized by adopting a diffusion memristor and is used for receiving a pulse signal VP0Processing to obtain pulse signal VP1And will pulse signal VP1Simultaneously inputting the signals to the control logic unit and the first register unit; wherein the pulse signal VP1And pulse signal VP0Are equal in period, and the pulse signal VP1And pulse signal VP0Are coincident in time, pulse signal VP0High level duration tpIs a fixed value, a pulse signal VP1High level duration tdIs a random value, and td<tp

The random delay time of the diffusion memristor is equal to td

A delay chain unit for receiving the pulse signal VP0Generating an N-bit thermometer code and sending the N-bit thermometer code to a first register unit;

the first register unit receives the pulse signal VP1At its pulse signal VP1The falling edge time of the first register unit latches the received N-bit thermometer code and sends the latched result to the second register unit;

the second register unit is based on the received clock signal ClkLAt its clock signal ClkLThe rising edge time of the first register unit latches the latch result output by the first register unit to obtain the N-bit thermometer code d1To dNAnd coding the N-bit thermometer by d1To dNRespectively sent to NMOS tubes M1To MNThe grid electrode controls the corresponding NMOS tube; wherein when diWhen 1, represents diIs at a high level; when d isiWhen 0, represents diLow, i ═ 1, 2, 3 … … N;

NMOS tube M1To MNSource and capacitor C0One end of each of the two ends is connected with a power ground;

NMOS tube M1To MNRespectively with the capacitor C1To CNIs connected to a capacitor C0To CNAnd the other end of the current transmitter, a Z port of the current transmitter and a comparator U1Are connected simultaneously, and the voltage signal V of the connection pointCapAs a random-frequency triangular carrier signal generated by a triangular carrier generator, and a voltage signal VCapIs a random frequency isosceles triangle wave signal with equal amplitude;

comparator U1Non-inverting input terminal and resistor RAAnd a resistor RBAre connected at the same time, resistor RBThe other end of the resistor R is connected with a power groundAAnd the other end of the comparator U1Voltage of the output terminal, the Y port of the current conveyor and the control logic unitSignal VYThe input ends are connected;

x port and resistor R of current transmitterXIs connected to a resistor RXThe other end of the first power supply is connected with a power ground;

comparator U1The positive voltage input end is connected with a power supply VDDComparator U1Negative voltage input end is connected with a power supply VSSAnd V isDD=-VSS

2. The random frequency triangular wave generator based on the diffusion memristor and the current conveyor as claimed in claim 1, wherein the delay chain unit comprises N delay modules, and the N delay modules are cascaded in series, wherein the signal input end of the first delay module is used as the delay chain unit to receive the pulse signal VP0An input terminal of (1);

each delay module is used for delaying the rising edge of an input signal of the delay module, and delay signal values output by the first to Nth delay modules are respectively used as first to Nth thermometer codes output by the delay chain unit;

the reset signal input end of each delay module is used for receiving a reset signal Rst, and when the reset signal Rst is at a high level, the output states of the N delay modules are reset to be 0.

3. The diffused memristor and current conveyor based random frequency triangle wave generator of claim 2, wherein the delay block comprises a not gate Y1NOT gate Y2NMOS transistor MaAnd NMOS transistor Mb

NOT gate Y1The input end of the delay module is used as the data signal input end of the delay module;

NOT gate Y1Of the output nand gate Y2Is connected to the input terminal of a NOT gate Y2Output end of the NMOS transistor MaDrain electrode of (1) and NMOS tube MbThe grid of the delay module is connected with the grid of the first transistor and then used as a data signal output end of the delay module;

NMOS tube MaThe grid of the delay module is used as a reset signal input end of the delay module;

NMOS tube MaSource electrode of and NMOS tube MbSource electrode and NMOS transistor MbThe drains are connected simultaneously and then connected to the power ground.

4. The diffused memristor-and-current-conveyor-based random frequency triangle wave generator of claim 1, wherein the first register cell comprises a not gate Y3And N D flip-flops;

NOT gate Y3As a first register unit receiving a pulse signal VP1An input terminal of (1);

NOT gate Y3The output end of the D flip-flop is simultaneously connected with the clock signal input ends of the N D flip-flops;

d input ends of the first to Nth D triggers are respectively used as input ends of first to Nth thermometer codes of the first register unit;

q output ends of the first to Nth D flip-flops are respectively used as output ends of the first to Nth thermometer codes of the first register unit.

5. The random frequency triangular wave generator based on the diffusion memristor and the current conveyor as claimed in claim 1, wherein the second register unit comprises N D flip-flops, and the clock signal input ends of the N D flip-flops are connected at the same time to be used as the clock signal input end of the second register unit;

d input ends of first to Nth D triggers in the second register unit are respectively used as input ends of first to Nth thermometer codes of the second register unit;

q output ends of first to Nth D flip-flops in the second register unit are respectively used as output ends of first to Nth thermometer codes of the second register unit.

6. The random frequency triangle wave generator based on diffused memristor and current conveyor of claim 1, wherein the random delay unit comprises a level shifter, a diffused memristor RMResistance RrComparator U2And an and gate X1;

the input end of the level shifter is used as the input end of the random time delay unit to receive the pulse signal VP0And the input terminal of the level shifter is connected with one input terminal of the and gate X1;

a level shifter for shifting the received pulse signal VP0Is lowered and the obtained programming pulse signal V is applied1Output to diffused memristor RMOne end of (1), diffusion memristor RMAnother terminal of (1) and a resistor RrAnd a comparator U2The inverting input terminals of the two-way switch are connected simultaneously; resistance RrThe other end of the first power supply is connected with a power ground;

comparator U2For receiving a reference voltage VrefComparator U2Is connected to the other input of and gate X1;

the output end of the AND gate X1 is used as the output end of the random delay unit to output a pulse signal VP1

7. The random frequency triangular wave generator based on the diffusion memristor and the current conveyor as claimed in claim 1, wherein the control logic unit comprises a NOR gate, an AND gate X2, an AND gate X3, an XOR gate, a preset number counter and two fixed delayers, wherein the delay time of the first fixed delayer is τ0The delay time of the second fixed delayer is 2 tau0

One input end of the NOR gate is used as a control logic unit for receiving the pulse signal VP1After the other input end of the NOR gate is simultaneously connected with the input ends of the two fixed time delayers, the NOR gate is used as a control logic unit to receive a voltage signal VYAn input terminal of (1);

the output end of the NOR gate is simultaneously connected with one input end of the AND gate X2 and one input end of the AND gate X3;

the output end of the first fixed time delay is connected with the other input end of the AND gate X2, and the output end of the second fixed time delay is connected with the other input end of the AND gate X3;

the output of AND gate X2 and one input of XOR gateTerminal connected and the output terminal of the AND gate X2 is used as the clock signal Clk output by the control logic unitLAn output terminal of (a);

the output end of the AND gate X3 is connected with the other input end of the XOR gate, and the output end of the XOR gate is connected with the reset signal input end of the preset number counter and then serves as the output end of the control logic unit for outputting a reset signal Rst;

the clock signal input end of the preset number counter is used for receiving an external clock signal Clk;

the output end of the preset number counter is used as a control logic unit to output a pulse signal VP0To the output terminal of (a).

Technical Field

The invention belongs to the technical field of integrated circuits.

Background

The application of the pulse width Modulation (PulseWidth Modulation) technology is very critical in power control and conversion integrated circuits such as a switching power supply and a motor drive. Conventional PWM control signals are generated by comparing a fixed frequency triangular or sawtooth carrier signal with an error signal and then utilized to control the on-time of the switching device over a fixed period to achieve a timely response to load variations. Research shows that the conventional PWM technology has a large harmonic component near the switching frequency and an integral multiple of the switching frequency, which may cause many adverse effects to the system, such as causing a great amount of electromagnetic noise interference, causing distortion of voltage and current waveforms, and even causing abnormal operation of the subsequent devices.

For the occasion that the carrier frequency must be limited to a lower frequency, the problems of electromagnetic interference and the like caused by the conventional PWM technology can be better solved by adopting the random PWM technology. The random PWM technology disperses the energy of harmonic frequency spectrum which is intensively distributed at the switching frequency and the frequency multiplication position thereof by randomly changing the carrier frequency under the premise of ensuring that the duty ratio is not changed, thereby enabling the electromagnetic noise to be approximately band-limited white noise, and greatly weakening the intensity of colored noise which is characterized by fixing the switching frequency.

In order to achieve the purpose of randomizing the switching frequency, firstly, a carrier signal with randomly changeable frequency is generated, and the random frequency triangular carrier has higher research value because the triangular wave has higher control precision relative to the sawtooth wave and can realize the function of bilateral modulation. Such a triangular carrier wave is required to be a constant-amplitude isosceles triangular wave in each period, but the period thereof is randomly changed. At present, most of the developments of the random frequency triangular carrier wave generator need to use a random number generator for providing randomly changing frequency values, which increases the complexity and design difficulty of the circuit, and therefore, the above problems need to be solved urgently.

Disclosure of Invention

The invention aims to solve the problems of complex circuit and high design difficulty caused by the use of a random number generator in the conventional random frequency triangular carrier wave generator, and provides a random frequency triangular wave generator based on a diffusion memristor and a current transmitter.

A random frequency triangular wave generator based on a diffusion memristor and a current transmitter comprises a control logic unit, a random time delay unit, a time delay chain unit, a first register unit, a second register unit, the current transmitter and N NMOS (N-channel metal oxide semiconductor) transistors M1To MNCapacitor array and comparator U1Resistance RAResistance RBAnd a resistance RX(ii) a Wherein the capacitor array comprises a capacitor C0To CN

The control logic unit is used for generating a pulse signal VP0And simultaneously sending the data to the random delay unit and the delay chain unit; the reset circuit is also used for generating a reset signal Rst to reset the delay chain unit; and also for generating a clock signal ClkLClock control is carried out on the second register unit; and is also used for receiving the pulse signal V output by the random delay unitP1(ii) a And also for receiving the comparator U1Voltage signal V output from output terminalY

The random delay unit is realized by adopting a diffusion memristor and is used for receiving a pulse signal VP0Processing to obtain pulse signal VP1And will pulse signal VP1Simultaneously inputting the signals to the control logic unit and the first register unit; wherein the pulse signal VP1And pulse signal VP0Are equal in period, and the pulse signal VP1And pulse signal VP0Are coincident in time, pulse signal VP0High level duration tpIs a fixed value, a pulse signal VP1High level duration tdIs a random value, and td<tp

The random delay time of the diffusion memristor is equal to td

A delay chain unit for receiving the pulse signal VP0Generating an N-bit thermometer code and sending the N-bit thermometer code to a first register unit;

the first register unit receives the pulse signal VP1At its pulse signal VP1The falling edge time of the first register unit latches the received N-bit thermometer code and sends the latched result to the second register unit;

the second register unit is based on the received clock signal ClkLAt its clock signal ClkLThe rising edge time of the first register unit latches the latch result output by the first register unit to obtain the N-bit thermometer code d1To dNAnd coding the N-bit thermometer by d1To dNRespectively sent to NMOS tubes M1To MNThe grid electrode controls the corresponding NMOS tube; wherein when diWhen 1, represents diIs at a high level; when d isiWhen 0, represents diAt a low level,i=1、2、3……N;

NMOS tube M1To MNSource and capacitor C0One end of each of the two ends is connected with a power ground;

NMOS tube M1To MNRespectively with the capacitor C1To CNIs connected to a capacitor C0To CNAnd the other end of the current transmitter, a Z port of the current transmitter and a comparator U1Are connected simultaneously, and the voltage signal V of the connection pointCapAs a random-frequency triangular carrier signal generated by a triangular carrier generator, and a voltage signal VCapIs a random frequency isosceles triangle wave signal with equal amplitude;

comparator U1Non-inverting input terminal and resistor RAAnd a resistor RBAre connected at the same time, resistor RBThe other end of the resistor R is connected with a power groundAAnd the other end of the comparator U1Output terminal of current conveyor, Y port of current conveyor and voltage signal V of control logic unitYThe input ends are connected;

x port and resistor R of current transmitterXIs connected to a resistor RXThe other end of the first power supply is connected with a power ground;

comparator U1The positive voltage input end is connected with a power supply VDDComparator U1Negative voltage input end is connected with a power supply VSSAnd V isDD=-VSS

Preferably, the delay chain unit includes N delay modules, and the N delay modules are cascaded in series, wherein a signal input end of a first delay module is used as the delay chain unit to receive the pulse signal VP0An input terminal of (1);

each delay module is used for delaying the rising edge of an input signal of the delay module, and delay signal values output by the first to Nth delay modules are respectively used as first to Nth thermometer codes output by the delay chain unit;

the reset signal input end of each delay module is used for receiving a reset signal Rst, and when the reset signal Rst is at a high level, the output states of the N delay modules are reset to be 0.

Preferably, the delay module comprises a not gate Y1NOT gate Y2NMOS transistor MaAnd NMOS transistor Mb

NOT gate Y1The input end of the delay module is used as the data signal input end of the delay module;

NOT gate Y1Of the output nand gate Y2Is connected to the input terminal of a NOT gate Y2Output end of the NMOS transistor MaDrain electrode of (1) and NMOS tube MbThe grid of the delay module is connected with the grid of the first transistor and then used as a data signal output end of the delay module;

NMOS tube MaThe grid of the delay module is used as a reset signal input end of the delay module;

NMOS tube MaSource electrode of and NMOS tube MbSource electrode and NMOS transistor MbThe drains are connected simultaneously and then connected to the power ground.

Preferably, the first register unit comprises a not gate Y3And N D flip-flops;

NOT gate Y3As a first register unit receiving a pulse signal VP1An input terminal of (1);

NOT gate Y3The output end of the D flip-flop is simultaneously connected with the clock signal input ends of the N D flip-flops;

d input ends of the first to Nth D triggers are respectively used as input ends of first to Nth thermometer codes of the first register unit;

q output ends of the first to Nth D flip-flops are respectively used as output ends of the first to Nth thermometer codes of the first register unit.

Preferably, the second register unit includes N D flip-flops, and clock signal input terminals of the N D flip-flops are connected at the same time and then serve as a clock signal input terminal of the second register unit;

d input ends of first to Nth D triggers in the second register unit are respectively used as input ends of first to Nth thermometer codes of the second register unit;

q output ends of first to Nth D flip-flops in the second register unit are respectively used as output ends of first to Nth thermometer codes of the second register unit.

Preferably, the random delay unit comprises a level shifter and a diffusion memristor RMResistance RrComparator U2And an and gate X1;

the input end of the level shifter is used as the input end of the random time delay unit to receive the pulse signal VP0And the input terminal of the level shifter is connected with one input terminal of the and gate X1;

a level shifter for shifting the received pulse signal VP0Is lowered and the obtained programming pulse signal V is applied1Output to diffused memristor RMOne end of (1), diffusion memristor RMAnother terminal of (1) and a resistor RrAnd a comparator U2The inverting input terminals of the two-way switch are connected simultaneously; resistance RrThe other end of the first power supply is connected with a power ground;

comparator U2For receiving a reference voltage VrefComparator U2Is connected to the other input of and gate X1;

the output end of the AND gate X1 is used as the output end of the random delay unit to output a pulse signal VP1

Preferably, the control logic unit comprises a nor gate, an and gate X2, an and gate X3, an xor gate, a preset number counter and two fixed time-delay units, wherein the delay time of the first fixed time-delay unit is tau0The delay time of the second fixed delayer is 2 tau0

One input end of the NOR gate is used as a control logic unit for receiving the pulse signal VP1After the other input end of the NOR gate is simultaneously connected with the input ends of the two fixed time delayers, the NOR gate is used as a control logic unit to receive a voltage signal VYAn input terminal of (1);

the output end of the NOR gate is simultaneously connected with one input end of the AND gate X2 and one input end of the AND gate X3;

the output end of the first fixed time delay is connected with the other input end of the AND gate X2, and the output end of the second fixed time delay is connected with the other input end of the AND gate X3;

and gateThe output end of the X2 is connected with one input end of the exclusive-OR gate, and the output end of the AND gate X2 is used as the clock signal Clk output by the control logic unitLAn output terminal of (a);

the output end of the AND gate X3 is connected with the other input end of the XOR gate, and the output end of the XOR gate is connected with the reset signal input end of the preset number counter and then serves as the output end of the control logic unit for outputting a reset signal Rst;

the clock signal input end of the preset number counter is used for receiving an external clock signal Clk;

the output end of the preset number counter is used as a control logic unit to output a pulse signal VP0To the output terminal of (a).

The constant-amplitude isosceles triangle wave with randomly changed frequency can be generated, the constant charging and discharging current is provided by using the current transmitter (CCII +), the random delay time of the diffusion memristor is coded by using the time interval measurement technology, and the obtained random thermometer code is used for controlling the size of the charging and discharging capacitor, so that the constant-amplitude isosceles triangle wave with randomly changed period and frequency is obtained. Therefore, the amplitude of the generated random frequency triangular carrier signal is controlled by using the current transmitter and the diffusion memristor in combination with the peripheral circuit, so that a random frequency isosceles triangular signal with equal amplitude is obtained, and the whole circuit structure and the design difficulty are greatly reduced.

The random frequency of the triangular wave is set by using the random delay time of the diffusion memristor, so that the scale and the power consumption of a circuit are reduced; on the other hand, in recent years, the integration research of the memristor and the traditional CMOS device is rapidly advanced, and commercial products are available, so that the technology provided by the invention provides a brand new idea for realizing the integration of the random PWM technology and low power consumption.

The constant-amplitude triangular wave signal generated by the invention can be used as a carrier signal to be applied to a random PWM technology.

Drawings

FIG. 1 is a schematic structural diagram of a random frequency triangular wave generator based on a diffusion memristor and a current conveyor according to the present invention; wherein, IZIs the current flowing from the current conveyor to the capacitor array or the current flowing from the capacitor array to the current conveyor; i isXIs the current flowing through the X port of the current conveyor, VXIs the voltage at the X port of the current conveyor;

FIG. 2 is a schematic diagram of the internal structure of the delay chain unit, the first register unit and the second register unit;

FIG. 3 is a schematic diagram of a first delay module;

FIG. 4 is a schematic diagram of a random delay unit; wherein, V1Outputting a programming pulse voltage, V, for the level shifter2Is a resistance RrVoltage component of V3Is a comparator U2The output voltage signal;

FIG. 5 is a schematic diagram of a control logic unit;

FIG. 6 is a schematic diagram of waveforms of key signals in a triangular wave generation process;

FIG. 7 is a waveform diagram of a key signal in the random delay unit shown in FIG. 4;

FIG. 8 shows Ag: SiO2A structural schematic of a diffused memristor;

FIG. 9 is a numerical distribution diagram of random delay times of the diffusion memristors.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.

Referring to fig. 1, the random frequency triangular wave generator based on the diffusion memristor and the current transmitter according to the present embodiment is described, and includes a control logic unit, a random delay unit, and a delay chainUnit, first register unit, second register unit, current transmitter, N NMOS tubes M1To MNCapacitor array and comparator U1Resistance RAResistance RBAnd a resistance RX(ii) a Wherein the capacitor array comprises a capacitor C0To CN

The control logic unit is used for generating a pulse signal VP0And simultaneously sending the data to the random delay unit and the delay chain unit; the reset circuit is also used for generating a reset signal Rst to reset the delay chain unit; and also for generating a clock signal ClkLClock control is carried out on the second register unit; and is also used for receiving the pulse signal V output by the random delay unitP1(ii) a And also for receiving the comparator U1Voltage signal V output from output terminalY

The random delay unit is realized by adopting a diffusion memristor and is used for receiving a pulse signal VP0Processing to obtain pulse signal VP1And will pulse signal VP1Simultaneously inputting the signals to the control logic unit and the first register unit; wherein the pulse signal VP1And pulse signal VP0Are equal in period, and the pulse signal VP1And pulse signal VP0Are coincident in time, pulse signal VP0High level duration tpIs a fixed value, a pulse signal VP1High level duration tdIs a random value, and td<tp

The random delay time of the diffusion memristor is equal to td

A delay chain unit for receiving the pulse signal VP0Generating an N-bit thermometer code and sending the N-bit thermometer code to a first register unit;

the first register unit receives the pulse signal VP1At its pulse signal VP1The falling edge time of the first register unit latches the received N-bit thermometer code and sends the latched result to the second register unit;

the second register unit is based on the received clock signal ClkLAt its clock signal ClkLTo the first rising edge timeLatching the latch result output by the register unit to obtain an N-bit thermometer code d1To dNAnd coding the N-bit thermometer by d1To dNRespectively sent to NMOS tubes M1To MNThe grid electrode controls the corresponding NMOS tube; wherein when diWhen 1, represents diIs at a high level; when d isiWhen 0, represents diLow, i ═ 1, 2, 3 … … N;

NMOS tube M1To MNSource and capacitor C0One end of each of the two ends is connected with a power ground;

NMOS tube M1To MNRespectively with the capacitor C1To CNIs connected to a capacitor C0To CNAnd the other end of the current transmitter, a Z port of the current transmitter and a comparator U1Are connected simultaneously, and the voltage signal V of the connection pointCapAs a random-frequency triangular carrier signal generated by a triangular carrier generator, and a voltage signal VCapIs a random frequency isosceles triangle wave signal with equal amplitude;

comparator U1Non-inverting input terminal and resistor RAAnd a resistor RBAre connected at the same time, resistor RBThe other end of the resistor R is connected with a power groundAAnd the other end of the comparator U1Output terminal of current conveyor, Y port of current conveyor and voltage signal V of control logic unitYThe input ends are connected;

x port and resistor R of current transmitterXIs connected to a resistor RXThe other end of the first power supply is connected with a power ground;

comparator U1The positive voltage input end is connected with a power supply VDDComparator U1Negative voltage input end is connected with a power supply VSSAnd V isDD=-VSS

In this embodiment, the input of the delay chain unit is a pulse signal VP0And a reset signal Rst, the states of N signals output by the delay chain unit, namely the N-bit thermometer code reflects the pulse signal V of the delay chain unitP0Delay state of rising edge.

The input and output of the first and second register units are transmitted in the form of thermometer codes. Second register unit at ClkLLatch the input at the time of rising edge, the first register unit is at VP1Latching and inputting at the falling edge moment, wherein the input and output signals are logic level signals; counting the code d by temperature1~dNFor example, di1 denotes diIs high level, di0 denotes diIs low. d1~dNThe logic state of (B) reflects VP1Relative to V at the falling edge timeP0Time delay of the rising edge instant of (i.e. t)d

The N-bit thermometer code is characterized in that 1 and 0 are distributed in a centralized way, 1 is concentrated at the front section of the code group, 0 is concentrated at the rear section of the code group, for example, when N is 8, the thermometer code d1~d8Can take the value of [11100000 ]]. This encoding is very common in time interval measurement techniques. For the present invention at VP1When the falling edge moment of the first register unit is recorded, the number of 1 in the thermometer code output by the delay chain unit latched by the first register unit is m, and m tau represents VP1Falling edge relative to VP0The delay time of the rising edge is m tau td. Due to tdIs random, τ is deterministic, so m is a random number. τ denotes the fixed delay time of each delay module.

d1~dNRespectively controlling NMOS tubes M of active switches1To MNOn/off of di1 represents MiOn, di0 denotes MiCutoff, therefore, di1 also denotes a capacitance CiAnd C0Parallel connection, otherwise, if di0 also denotes the capacitance CiIs disconnected and does not participate in the charging and discharging process. So that the total capacitance of the capacitor array during a charge-discharge cycle is

Figure BDA0002521310580000071

Wherein, the capacitor C0To CNAll the capacitance values of (A) are C, CTHas a charging and discharging current of IZ,IZIs provided by CCII + (i.e., a current conveyor).

In a specific application, V exists according to the characteristics of the current transmitterX=VY,IX=IZThus, it can be seen that: when the capacitor array is in the process of charging, IZFrom the current conveyor to the capacitor array, in this case VCapIs smaller than the comparator U1Positive phase input terminal voltage VTH=VDDRB/(RA+RB) Comparator U1Has an output voltage of VY=VDDThus, there is IZ=IX=VDD/RXWhen the capacitor is charged to VCapGreater than VTH=VDDRB/(RA+RB) Time, comparator U1Has an output voltage of VY=VSS=-VDDThus, there is IZ=IX=-VDD/RX,IZThe capacitor array begins to discharge from the capacitor array to the current conveyor, at which time the comparator U1The positive phase input terminal voltage ofTH=-VDDRB/(RA+RB) (ii) a When the capacitor discharges to VCapLess than-VDDRB/(RA+RB) Time, comparator U1Is changed back to VY=VDDThe capacitor starts to charge again; this is repeated. The charging and discharging currents on the capacitor array are equal in magnitude and are due to CTIs relatively large and IZIs relatively small, so that the voltage V on the capacitor is generated during the charging and discharging processesCapApproximately linearly varying.

To sum up, during charging, VCapfrom-VDDRB/(RA+RB) Linearly increasing to VDDRB/(RA+RB) At time of discharge, VCapThen by VDDRB/(RA+RB) Linear down to-VDDRB/(RA+RB) The charging and discharging time is equal, therefore, VCapIs a constant-amplitude isosceles triangular wave signal with a period of 4CTRBRX/(RA+RB);d1~dNThe larger the number m of (1) s, the larger CTThe larger the triangular wave period is, the longer the triangular wave period is, and the lower the frequency is; the smaller m is, CTThe smaller, the shorter the period, the higher the frequency; due to tdIs random, d1~dNThe number m of 1 s is also random, and the period of the triangular wave is random.

The diffused memristor has two characteristics: 1. the device is switched from a high-resistance state to a low-resistance state under the action of a certain voltage pulse, and a random delay time is required; 2. after the voltage pulse is removed, the device can be automatically restored to a high-resistance state from a low-resistance state, namely volatility.

The diffusion memristor is very suitable for being applied to a random pulse width modulation technology, the distribution range of random time delay can be adjusted to a required working frequency range, the distribution range is wider in a low-frequency range, the randomness is better, and the random pulse width modulation technology is mainly applied to the low-frequency range; due to volatility, the diffusion memristor does not need to erase a circuit, and the complexity of circuit design is reduced; on the other hand, the difficulty of integrating the diffusion memristor and the CMOS device is lower.

The triangular carrier generator according to the embodiment can generate a constant-amplitude isosceles triangular wave with randomly changing frequency, firstly, a current transmitter (CCII +) is used for providing constant charging and discharging current, then, a time interval measurement technology is used for coding random delay time of a diffusion memristor, and an obtained random thermometer code is used for controlling the size of a charging and discharging capacitor, so that the constant-amplitude triangular wave with randomly changing period and frequency is obtained. Therefore, the amplitude of the generated random frequency triangular carrier signal is controlled by using the current transmitter and the diffusion memristor in combination with the peripheral circuit, so that a random frequency isosceles triangular signal with equal amplitude is obtained, and the whole circuit structure and the design difficulty are greatly reduced.

The waveform of the key signal in the triangular wave generation process is given in fig. 6, where VCapIs a constant-amplitude isosceles triangular wave signal, and the period is variable. VP1At low level, when VCapDischarge to below-VTH,VYFrom VDDBecomes VSSThis will result in ClkLAppearA high level narrow pulse, ClkLLatches the thermometer code obtained by the first register unit in the previous triangular wave generation process into the second register unit, and uses the code to control the total capacitance value of the capacitor array in the first triangular wave generation process in fig. 6. ClkLAfter the high-level narrow pulse is ended, the Rst generates a high-level narrow pulse, the high level of the Rst resets the output state of the delay chain unit, after the reset is ended, the Rst is restored to be a low level, and then the control logic unit outputs a pulse signal VP0,VP0High level duration tpIs fixed, and the random delay unit is receiving VP0Then outputs a pulse signal VP1,VP1Rising edge time V ofP0Synchronous, but high level duration tdIs random and satisfies td≤tp;VP0Input delay chain unit, pair of delay chain units VP0Is delayed at VP1The falling edge first register unit latches the thermometer code on the delay chain unit, which is used to set the total capacitance value of the capacitor array in the second triangular wave generation process in fig. 6. In summary, when the previous triangle wave ends, the second register unit obtains a random N-bit thermometer code d1~dNAnd using it to determine the period of the triangular wave currently to be generated, d1~dNFor the last triangular wave duration VP1The pulse width, i.e.: for tdIs quantized, and d1~dNIs constant during the current charge-discharge cycle.

Further, referring specifically to fig. 2, the delay chain unit includes N delay modules, where the N delay modules are cascaded in series, and a signal input end of a first delay module is used as the delay chain unit to receive the pulse signal VP0An input terminal of (1);

each delay module is used for delaying the rising edge of an input signal of the delay module, and delay signal values output by the first to Nth delay modules are respectively used as first to Nth thermometer codes output by the delay chain unit;

the reset signal input end of each delay module is used for receiving a reset signal Rst, and when the reset signal Rst is at a high level, the output states of the N delay modules are reset to be 0.

In specific application, the N cascaded delay modules are sequentially a first delay module to an Nth delay module from left to right, and the signal input end of the first delay module is used as a delay chain unit to receive a pulse signal VP0An input terminal of (1); the signal output end of the first delay module is connected with the signal input end of the second delay module, the signal output end of the second delay module is connected with the signal input end of the third delay module, … … is repeated, and the signal output end of the (N-1) th delay module is connected with the signal input end of the Nth delay module.

In the preferred embodiment, the input of the delay chain unit is a pulse signal VP0And a reset signal Rst, wherein the delay chain unit is formed by cascading N delay modules, each delay module generates a certain delay for the rising edge of the input signal and resets the output state to 0 at the high level of the Rst, and the input of the first delay module is VP0Then pulse signal VP0The rising edge of the delay chain is gradually conducted in the delay chain unit, if the output of one delay module is 1, V is shownP0Passes through the delay module and passes through the time that requires τ; if the output of one delay module is 0, V is indicatedP0The rising edge has not yet come or is passing. For example, the output of the m-th delay cell is 1 (denoted by V)P0The delay cell that is the input is the 1 st) and the output of the m +1 th delay cell is 0, then V is consideredP0Is conducted for m tau in the delay chain, and thus, VP1At the falling edge time, the output state of the delay chain unit reflects VP1Relative to VP0Random delay time t of rising edged

Further, referring specifically to FIG. 3, the delay module includes a NOT gate Y1NOT gate Y2NMOS transistor MaAnd NMOS transistor Mb

NOT gate Y1The input end of the delay module is used as the data signal input end of the delay module;

NOT gate Y1Of the output nand gate Y2Is connected to the input terminal of a NOT gate Y2Output end of the NMOS transistor MaDrain electrode of (1) and NMOS tube MbThe grid of the delay module is connected with the grid of the first transistor and then used as a data signal output end of the delay module;

NMOS tube MaThe grid of the delay module is used as a reset signal input end of the delay module;

NMOS tube MaSource electrode of and NMOS tube MbSource electrode and NMOS transistor MbThe drains are connected simultaneously and then connected to the power ground.

In the preferred embodiment, the first delay module is used for explanation, and the NMOS transistor MbThe high level of Rst enables NMOS transistor M to be used as MOS capacitoraConducting to connect the NMOS transistor MbThe charge stored on the delay module quickly drains away so that the output state of the delay module is reset to 0. VP0The rising edge of the NMOS transistor MbThe parasitic capacitance of the grid starts to be charged from the reset state, so the output of the delay module cannot follow VP0The high level is immediately changed to high level, and the output reaches the high level threshold value after a delay time τ, which is determined by the design parameters of the delay unit module and can be considered as a fixed value. At the beginning of each working cycle, Rst resets the output state of the delay unit module, so that the delay unit module only has a pair VP0Delay of the rising edge of (c). The rest N-1 delay modules in the delay chain unit have the same structure as the unit, the delay time of each delay module is tau, the reset operation is carried out by utilizing the high level of Rst, and the difference is only that the input signals of the cascade NOT gate are different.

Further, with particular reference to FIG. 2, the first register unit includes a NOT gate Y3And N D flip-flops;

NOT gate Y3As a first register unit receiving a pulse signal VP1An input terminal of (1);

NOT gate Y3The output end of the D flip-flop is simultaneously connected with the clock signal input ends of the N D flip-flops;

d input ends of the first to Nth D triggers are respectively used as input ends of first to Nth thermometer codes of the first register unit;

q output ends of the first to Nth D flip-flops are respectively used as output ends of the first to Nth thermometer codes of the first register unit.

Further, referring specifically to fig. 2, the second register unit includes N D flip-flops, and clock signal input terminals of the N D flip-flops are connected at the same time and then serve as a clock signal input terminal of the second register unit;

d input ends of first to Nth D triggers in the second register unit are respectively used as input ends of first to Nth thermometer codes of the second register unit;

q output ends of first to Nth D flip-flops in the second register unit are respectively used as output ends of first to Nth thermometer codes of the second register unit.

In the preferred embodiment of the invention, the first register unit and the second register unit are both realized by N D triggers, and the invention has simple structure and convenient realization.

Further, referring specifically to fig. 4, the random delay unit includes a level shifter, a diffusion memristor RMResistance RrComparator U2And an and gate X1;

the input end of the level shifter is used as the input end of the random time delay unit to receive the pulse signal VP0And the input terminal of the level shifter is connected with one input terminal of the and gate X1;

a level shifter for shifting the received pulse signal VP0Is lowered and the obtained programming pulse signal V is applied1Output to diffused memristor RMOne end of (1), diffusion memristor RMAnother terminal of (1) and a resistor RrAnd a comparator U2The inverting input terminals of the two-way switch are connected simultaneously; resistance RrThe other end of the first power supply is connected with a power ground;

comparator U2For receiving a reference voltage VrefComparator U2Is connected to the other input of and gate X1;

the output of AND gate X1 is taken as randomThe output end of the delay unit outputs a pulse signal VP1

In the preferred embodiment, a circuit structure of the random delay unit is provided, and referring to fig. 4 specifically, the circuit parameters may be selected as follows: pulse signal VP0Has a frequency of 1kHz and a pulse width of 300 mus, and a programming pulse voltage V is obtained by reducing the amplitude of the high level through level shifting1,V1Amplitude of 0.5V (0.5V for high level and 0V for low level), Vref=0.15V,RrThe output waveform obtained under this condition is schematically shown in fig. 7.

The principle of operation of the random delay unit is analyzed in conjunction with FIG. 4 as follows, at pulse V1Under the action of high level, the memristor R is diffused for a certain timeMFrom an initially high-resistance state to a low-resistance state, such that V1Through RMAnd RrPartial pressure value V of2Also increases to be higher than the comparator U at a certain time2Reference voltage V ofrefAt this moment, the comparator U2Output voltage V of3It is switched from high to low. Memristor R due to diffusionMRandomness of resistance change, voltage V2Increase to above VrefA certain random delay time t is needed to pass beforedTherefore, the comparator U2Output voltage V of3Is of high level duration td;VP0And V3Output V after AND operationP1It is easy to know that the high level duration is tdSee fig. 7.

In specific application, the diffusion memristor RMOptionally Ag or SiO2The diffusion memristor is realized by Ag: SiO with specific reference to figure 82The diffusion memristor is made of Pt/Ag/Ag SiO2The Pt/layer stack consists of a 15nm thick bottom Pt electrode at the bottom, a 10nm Ag SiO2 blanket layer on top of a 5nm Ag metal reservoir, a 20nm Pt/30nm Au deposited layer at the top, a 30nm layer to improve the electrical contact characteristics of the pad, and a 5nm Ag reservoir to supply enough Ag atoms. According to Ag to SiO2Whether a conductive channel formed by Ag nano particles exists in the layer or not, and the memristor can be in a low-resistance stateSwitching between high resistance states, so that Ag is SiO2The layer may be referred to as a resistive layer. In addition, the resistance state of the memristor is volatile, and under the action of a certain voltage pulse, after a random delay time, the device is switched from a high resistance state to a low resistance state, and automatically restores to the high resistance state after the applied voltage pulse is removed, which is different from the common nonvolatile memristor. The switching of the resistance state is due to the separation of Ag nanoparticles from the Ag reservoir and in Ag SiO2A conductive channel is formed in the layer, and the diffusion process of the Ag nano particles is a random process, so that the resistance state switching of the diffusion memristor is random, and random delay time t can be useddThis randomness is characterized quantitatively.

Random delay time tdDistribution of (a) and input programming pulse voltage (V)1Is related to the amplitude of (d), t can be adjusted accordinglydSo that t is distributedd≤tpIs satisfied. In FIG. 9 is given at V1T measured at different values of (0.4 to 0.9V)dThe higher the programming pulse voltage amplitude is, the shorter the average delay time is, and the narrower the distribution range is.

Further, referring specifically to fig. 5, the control logic unit includes a nor gate, an and gate X2, an and gate X3, an xor gate, a preset number counter, and two fixed time-delay units, wherein the delay time of the first fixed time-delay unit is τ0The delay time of the second fixed delayer is 2 tau0

One input end of the NOR gate is used as a control logic unit for receiving the pulse signal VP1After the other input end of the NOR gate is simultaneously connected with the input ends of the two fixed time delayers, the NOR gate is used as a control logic unit to receive a voltage signal VYAn input terminal of (1);

the output end of the NOR gate is simultaneously connected with one input end of the AND gate X2 and one input end of the AND gate X3;

the output end of the first fixed time delay is connected with the other input end of the AND gate X2, and the output end of the second fixed time delay is connected with the other input end of the AND gate X3;

the output end of the AND gate X2 is connected with one input end of the exclusive-OR gate, and the output end of the AND gate X2 is used as the clock signal Clk output by the control logic unitLAn output terminal of (a);

the output end of the AND gate X3 is connected with the other input end of the XOR gate, and the output end of the XOR gate is connected with the reset signal input end of the preset number counter and then serves as the output end of the control logic unit for outputting a reset signal Rst;

the clock signal input end of the preset number counter is used for receiving an external clock signal Clk;

the output end of the preset number counter is used as a control logic unit to output a pulse signal VP0To the output terminal of (a).

In this embodiment, the input to the control logic is VY、VP1The output is VP0Rst and ClkLThe function of the control logic is shown in FIG. 5 when VP1At low level, the input voltage VYFrom VDDVariable VSSMeanwhile, the output of the nor gate is changed from low to high, and the outputs of the nor gate are respectively input into and gates X2 and X3. Voltage VYIs delayed by a time delay tau0The obtained signal is input into an AND gate X2, and the output Clk of the AND gate X2LWill be at a voltage VYAfter the end of the falling edge, a period of time T0High-level narrow pulses of (2); similarly, the output of AND gate X3 will be at VYA time of 2 tau after the end of the falling edge0High-level narrow pulses of (2); the two high-level narrow pulses pass through an exclusive-or gate to obtain an output reset signal Rst, and the reset signal Rst appears for a period of time tau0And the high level narrow pulse is in the clock signal ClkLAnd the high level narrow pulse occurs after the end. The reset signal Rst is used as a reset signal of the preset number counter, and when the reset signal Rst is reset at a high level, the reset signal Rst is at a high level end time, that is, at a reset completion time, the preset number counter starts counting the clock signal Clk, and causes the pulse signal V to be a pulse signal VP0From low to high, with a lag of V at this timeYHas a falling edge of 2 tau0The time of (d); when the preset number counter counts to a preset value DpTime, pulse signal VP0From high to low, the high level lasts for tp=DpT, T is the period of the clock Clk, so TpIs stationary.

It is noted that the random delay unit enables the pulse signal V to be pulsedP1Following pulse signal VP0While changing from low to high, when the pulse signal V isP1When the level is high, the nor gate output of the control logic unit is always low, so that narrow pulses do not appear at the outputs of X2 and X3, and the clock signal Clk is highLAnd the potential of the reset signal Rst remains unchanged; and due to the pulse signal VP1Rising edge distance voltage signal VYHas a falling edge of 2 tau0Time of (1), thus VP1Does not affect the ClkLAnd Rst.

There is also a case, as shown in FIG. 6, when VYIs a VSSWhen, VP1The NOR gate output is changed from high to low, but since the output of the random delay unit is kept low, the outputs of X2 and X3 are kept unchanged, ClkLAnd Rst remains unaffected.

In general, the control logic unit is only at VP1Is low level, and VYWhen a falling edge occurs, V is enabledP0Rst and ClkLIs changed to start a new duty cycle, VP0The rising edge of the random delay unit enables the random delay unit to start working; clkLCauses the second register unit to obtain the random value d stored in the first register unit1~dNAnd sending the triangular wave to a capacitor array for controlling the period of the triangular wave generated currently; the high-level narrow pulse of Rst enables the output states of all delay modules in the delay chain unit to reset and clear, and the delay chain unit resets V after clearing is completedP0Is delayed at VP1The falling edge first register unit latches the random value of the delay chain unit, and the random value is used for controlling the period of the next triangular wave.

Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that features described in different dependent claims and herein may be combined in ways different from those described in the original claims. It is also to be understood that features described in connection with individual embodiments may be used in other described embodiments.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种核脉冲信号处理方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类