A three-state gate is a logic gate whose output has a third state in addition to the two states of high and low levels - a high-impedance state. The high-impedance state is equivalent to the isolation state. All three-state gates have an EN control enable terminal to control the on and off of the gate circuit. Devices that can have these three states are called three-state (gates, buses, etc.).
For example:
a storage unit in the memory, when the read-write control line is at a low potential, the storage unit is opened and can be written into it; when it is at a high potential, it can be read, but it is not read or written, so it must use a high resistance state, which is neither +5v nor 0v.
Computers use 1 and 0 to represent two logics, yes and no, but sometimes, this is not enough.
For example, he is not rich enough, but he is not necessarily poor. She is not beautiful, but she is not necessarily ugly.
In the middle of these two extremes, it is represented by the intermediate state that is neither + nor -, which is called a high-impedance state.
High and low levels can be pulled up and down by internal circuits. In high impedance state, the resistance of the pin to ground is infinite, and the real level value can be read when reading the pin level.
The important role of high impedance state is to read the external level of the I/O (input/output) port during input.
1.
Features of
three-state gate
The three-state output gate is also called a three-state circuit. It is different from the general gate circuit. In addition to high level and low level, its output terminal can also appear in a third state, that is, high impedance state, also known as forbidden state, but it is not a three-logic value circuit.
2.
Three-state logic NAND gate
The three-state logic NAND
gate
is shown in Figure Z1123. This circuit is actually composed of two NAND gates plus a diode
D2
. The
right
half of the dotted line is a NAND gate with an active discharge circuit, which is called the data transmission part, and
uI1
and
uI2
of the
T5
tube are called data input terminals. The left half of the dotted line is the state control part, which is a NOT gate, and its input terminal
C
is called the control terminal, or the permission input terminal, or the enable terminal.
When the C terminal is connected to a low level,
T4
outputs a high level to
T5
,
making
the right half of the dotted line in working state. In this way, the circuit will transmit the signal received by uI1 and uI2 to the output terminal according to the NAND relationship
,
making
uO
either
high
or
low
.
When
the
C
terminal
is connected
to
a high level,
T4
outputs a
low
level to
T5
, making
T6
,
T7
, and
T10
cut off. On the other hand, the base potential of T8 is clamped at about 1V through
D2
,
making
T9
cut
off
.
Since
T9
and
T10
are
both cut off, the circuit is
in
a high impedance state when viewed from the output terminal u0.
The
logic
symbol
of the three
-
state logic NAND gate is shown in Figure Z1124. Among them
,
Figure (a
)
indicates that the C terminal is in working state when it is at a high level, which is called a high-effective three-state NAND gate. Figure (b) indicates the working state when the C terminal is at a low level, which is called a low-effective three-state NAND gate. Be careful to distinguish when using.
The most important use of the tri-state NAND gate is to transmit several different sets of data and control signals to a wire in turn, as shown in Figure Z1125. This method is widely used in computers. However, it should be pointed out that in order to ensure that many tri-state gates connected to the same bus can work properly, a necessary condition is that at most only one gate is in working state at any time, otherwise it is possible that several gates are in working state at the same time, causing abnormal output state.
Three-state output gate circuit ( TS ( Three-state output Gate ) gate)
The figure above is the schematic diagram of the tri-state gate output gate circuit. In the figure, if the two inverters and a diode in the dotted box are cut off, the remaining part is a typical TTL NAND gate circuit .
The so-called three-state refers to the output end . The two transistors T4 and T5 at the output of the ordinary TTL NAND gate always maintain a push-pull state with one transistor turned on and the other turned off. When T4 is turned on and T5 is turned off, the output is a high level Y=1 ; when T4 is turned off and T5 is turned on, the output is a low level, Y =0 . In addition to the above two states, the three- state gate has a third state in which T4 and T5 are turned off at the same time. Because there is infinite impedance between c and e when the transistor is turned off, the output terminal Y has infinite impedance to the ground and the power supply ( vcc ) . Therefore, this third state is also called the high-impedance state.
Now we analyze three states:
The control signal can be added at E N or at :
E N = 0 , = 1 , then C=0 , v B1 =0.9V , v c2 = 0.9V
v B4 = v c2 = 0.9V , T 4 is cut off ( the potential v B4 when T 4 is turned on is >1.4V )
v B1 =0.9V , T5 is cut off, and the output terminal Y is in high impedance state.
EN = 1 , = 0 , C = 1 , which has no effect on the other two input terminals A and B of the NAND gate. It is a normal NAND gate circuit.
When A = B = 1 , T2 and T5 are turned on, vc2 = 1.0V (analyzed before). Diode D is in the reverse cut-off state (because its anode voltage vc2 = 1.0V , which is less than the cathode point C potential vIH = 3.4V ) , and does not work in the circuit .
If one of A and B is 0 , T2 and T5 are cut off. Since vc2 = vIH + 0.7 = 4.1V , it is sufficient to ensure that T4 is turned on.
That is , when EN = 1 ( EN = 0 ), diode D does not work in the circuit and the circuit maintains the complete NAND gate logic function.
The logic symbol of the three-state gate is as follows:
EN = 1 , = 0 ,
EN = 0 , Y is in high impedance state = 1 , Y is in high impedance state
Common logic gate circuit symbols:
AND gate NAND gate NOT gate (inverter)
OR gate NOR gate AND-OR gate
Y=
OC NAND gate Tristate NAND gate
(External collector voltage C = 1 , = 0 ,
After resistance ) C=0 , high resistance = 1 , high resistance
C=1 , Y=A = 0 , Y=A
C=0 , Y high impedance = 1 , Y high impedance
C=1 , = 0 ,
C=0 , Y high impedance = 1 , Y high impedance
Example 1 : Determine the output Yi of each of the following TTL gate circuits ( i =1, ... 16 )
Determine the value of Y 16 in the table on the left . Can the three control variables A, B, and C take the four combinations of 000, 001, 010, and 100?
Example 2 : Try to draw the waveforms of Y 1 , Y 2 , Y 3 , and Y 4. The waveforms of A and B are shown in the figure below:
Please draw the waveforms of Y 3 and Y 4 by yourself . This should be completed within half a minute (30 seconds).
Tri-state gate circuit
Previous article:Unidirectional thyristor principle
Next article:Calculation of Negative Feedback Amplifier Circuit
- Popular Resources
- Popular amplifiers
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Looking for a constant current chip
- [National Technology N32G457 Review] RT_Thread Studio transplants USB virtual serial port
- Xunwei 4418 development board Linux system TFTP transfer file
- Thermal Design of Semiconductor Components: Heat Transfer and Heat Dissipation Paths
- 【Qinheng Trial】Implementation of USB HID
- matlab
- Driving external RF front end via BlueNRG-LP
- Live broadcast at 10 am today [How to reduce power supply noise with ADI low-noise Buck regulator]
- [Mil MYS-8MMX] Mil MYS-8MMQ6-8E2D-180-C Application 1 - Calculate pi
- MSP430F5529 learning record