We know that there may be some problems in the data exchange between the various sub-modules of the circuit system that cause the signal to fail to "flow" normally and with high quality. The respective signal types are inconsistent (such as sensors detecting light signals), etc. At this time, we should consider using corresponding interface methods to deal with this problem well.
The key points of 7 commonly used interface types in circuit design are explained below—below:
TTL level interface
This type of interface is basically a cliché. From studying analog circuits and digital circuits in college, for general circuit design, the TTL level interface is basically inseparable from the "relationship"! Its speed is generally limited within 30MHz. This is due to Because there are several pF of input capacitance at the input of BJT (constituting an LPF), if the input signal exceeds a certain frequency, the signal will be "lost". Its driving capacity is generally a maximum of tens of milliamperes. The normal working signal voltage is generally higher, if it is close to the ECL circuit with lower signal voltage, there will be more obvious crosstalk problems.
CMOS level interface
We are not unfamiliar with it, and we have often dealt with it. Some semiconductor characteristics about CMOS do not need to be long-winded here. Many people know that under normal circumstances, the power consumption and anti-interference ability of CMOS are much better than that of TTL. But! What is little known is that CMOS series actually consume more power than TTL at high switching frequencies. As for why this is the case, please ask semiconductor physics theory. Since the working voltage of CMOS can be very small at present, some FPGA core working voltages are even close to 1.5V, which makes the noise margin between levels much smaller than that of TTL, thus aggravating the noise caused by voltage fluctuations. Signal judgment error. As we all know, the input impedance of a CMOS circuit is very high, so its coupling capacitance can be very small, and there is no need to use a large electrolytic capacitor. Since CMOS circuits usually have weak drive capability, TTL conversion must be performed before driving ECL circuits. Also, when designing a CMOS interface circuit, care must be taken to avoid excessive capacitive loading, which will slow the rise time and increase the power dissipation of the driving device (since the capacitive load does not consume power).
ECL level interface
This is an old friend in the computer system! Because its speed "runs" fast enough, it can even run to hundreds of MHz! This is because the BJT inside the ECL is not in a saturated state when it is turned on, so that it can reduce The turn-on and cut-off time of BT, the working speed can naturally be raised. But, there is a price to pay! Its fatal injury: high power consumption! The EM problem it causes is worth considering, and the anti-interference ability is not much better. If anyone can compromise these two points Factors, then he (she) should make a fortune. It should also be noted that the general ECL integrated circuit needs a negative power supply, that is to say, its output voltage is negative, and a special level shift circuit is required at this time.
RS-232 level interface
There is basically no one who plays electronic technology without knowing it (unless he or she is just a "layman" majoring in electronic technology). It is a low-speed serial communication interface standard. It should be noted that its level standard is a bit "abnormal": the high level is -12V, and the low level is +12V. So, when we try to communicate with peripherals through the computer, a level shifting chip
MAX232 is naturally indispensable. But we have to be soberly aware of some of its shortcomings, such as relatively slow data transmission speed and short transmission distance.
Differential balanced level interface
It represents the signal with the relative output voltage (uA-uB) of a pair of terminals A and B. In general, this differential signal will pass through a complex noise environment during signal transmission, resulting in both lines. Basically the same amount of noise, and the energy of the noise will be offset at the receiving end, so it can achieve longer distance and higher rate transmission. The commonly used RS-485 interface in the industry adopts the differential transmission mode, which has a good ability to resist common mode interference.
Optical isolation interface
Optical coupling uses optical signals as the medium to realize the coupling and transmission of electrical signals. Its "benefit" is that it can achieve electrical isolation, so it has excellent anti-interference ability. Under the condition of high operating frequency of the circuit, basically only the high-speed photoelectric isolation interface circuit can meet the needs of data transmission. Sometimes in order to realize the control of high voltage and high current, we must design and use the optical isolation interface circuit to connect these low-level, small current TTL or CMOS circuits as mentioned above, because the input circuit and output circuit of the optical isolation interface The room can withstand a high voltage of several thousand volts, which is enough for general applications. In addition, the input part and output part of the optical isolation interface must use independent power supplies, otherwise there is still an electrical connection, so it is not called isolation.
Coil Coupling Interface
It has good electrical isolation characteristics, but the allowable signal bandwidth is limited. For example, transformer coupling, its power transmission efficiency is very high, and the output power is basically close to its input power. Therefore, for a step-up transformer, it can have a higher output voltage, but it can only give a lower electric current