TTL (transistor-transistor logic) signal transmission circuit, TTL signal transmission method and electronic equipment
By using TTL signal transmission circuits with PNP and NPN transistors, the problem of long-distance TTL signal transmission was solved, achieving the effects of simplified circuitry and reduced costs.
Patent Information
- Application Number
- CN202511655884.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-12
- Publication Date
- 2026-02-24
AI Technical Summary
In existing technologies, TTL signals are difficult to transmit over long distances, and the interface conversion chip solution is complex and costly.
The transmitting and receiving circuits use PNP and NPN transistors respectively. By controlling the conduction and cutoff states of the transistors, the direct transmission of TTL signals is achieved, avoiding signal conversion.
It enables long-distance transmission of TTL signals, simplifies the circuit structure, and reduces costs.
Smart Images

Figure CN121560797A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a TTL signal transmission circuit and its transmission method, as well as an electronic device, belonging to the field of electronic technology. Background Technology
[0002] TTL (Transistor-Transistor Logic) is a common and widely used type of logic gate digital integrated circuit. TTL primarily consists of a bias circuit composed of N sets of resistors, transistors, and diodes. From the perspective of a linear amplifier, it is composed of several CE (common emitter) or CC (common collector) circuits. TTL level signals are one of the most commonly used logic level standards in digital circuits, defining the voltage range corresponding to binary digits (0 and 1).
[0003] TTL level signals have short transmission distances and are typically used within a single circuit board. Signal quality is related to the transmission rate, making them generally unsuitable for meter-level signal transmission. To improve the transmission distance of TTL signals, current technologies often employ interface conversion devices. Specifically, the transmitting end converts the TTL signal into a differential signal suitable for long-distance transmission, and the receiving end then converts the received differential signal back into a TTL signal. However, solutions using interface conversion chips (such as RS485, RS422, and RS232) are complex, expensive, and increase product development difficulty and cost control challenges.
[0004] Chinese invention patent application CN116260447A discloses a TTL level serial port long-distance transmission circuit and its implementation method, which includes a transmitting end circuit and a receiving end circuit. The transmitting end circuit and the receiving end circuit are directly connected through a transmission bus. The transmitting end circuit includes a TTL level transmitting end, which is connected to a first voltage comparison module, which is connected to a first voltage conversion module, and the first voltage conversion module is connected to the transmission bus. The receiving end circuit includes a high-level receiving end, which is connected to the transmission bus and to a second voltage comparison module, which is connected to a second voltage conversion module. The implementation method includes: S1, the UART chip sends a TTL level signal connected to a first voltage comparison module, which compares the 5V TTL level with a reference voltage and outputs a signal level that is logically opposite to the TTL transmitting signal; S2, the logically opposite signal level enters a first voltage conversion module, is converted into a high-level signal with the same amplitude as the bus voltage, and is then logically flipped again before being sent to the bus to form a signal with the same logical direction as the transmitting end but with the same voltage level as the bus voltage. This signal is transmitted over a long distance to the receiving circuit; S3, the high-level receiving end receives the high-voltage signal transmitted over a long distance from the bus and connects to a second voltage comparison module, which compares the high-voltage signal with the reference voltage and outputs a signal level that is logically opposite to the high-voltage signal; S4, the logically opposite signal level is connected to the second voltage conversion module and converted into a TTL logic level signal with the same direction. Although this achieves long-distance transmission of TTL signals, the circuit includes a voltage comparison module, which adds a comparison step between the TTL level and the reference voltage. Summary of the Invention
[0005] The purpose of this invention is to provide a TTL signal transmission circuit and its transmission method, as well as an electronic device, to solve the problem of the inability to easily and quickly realize long-distance transmission of TTL signals. This invention not only enables long-distance transmission of TTL signals but also has a low cost for the transmission circuit.
[0006] To achieve the above objectives, the present invention provides a TTL signal transmission circuit, including a transmitting circuit, a receiving circuit, and a transmission wire for connecting the transmitting circuit and the receiving circuit. In the transmitting circuit, the base of the first transistor is connected to the transmitting end of the TTL signal; the emitter of the first transistor is connected to the first power supply; the collector of the first transistor is grounded, and a first potential point is provided between the collector of the first transistor and the grounding resistor. One end of the transmission line is connected to a first potential point, and the other end is connected to the base of the second transistor in the receiving circuit; the emitter of the second transistor is grounded; the collector of the second transistor is connected to a second power supply, and a second potential point is provided between the collector of the second transistor and the second power supply. The second potential point is used to connect the receiving end of the TTL signal.
[0007] Furthermore, the first transistor is a PNP transistor; the second transistor is an NPN transistor.
[0008] Furthermore, the first transistor is grounded through a grounding resistor used to output a low-level signal at the collector of the first transistor when the first transistor is off.
[0009] Furthermore, a pull-up resistor is provided between the collector of the second transistor and the second power supply to generate a high-level signal at the second potential point when the second transistor is off.
[0010] On the other hand, the present invention also proposes a transmission method for a TTL signal transmission circuit. The transmission circuit includes a transmitting circuit, a receiving circuit, and a transmission wire for connecting the transmitting circuit and the receiving circuit. In the transmitting circuit, the base of a first transistor is connected to the transmitting end of the TTL signal; the emitter of the first transistor is connected to a first power supply; the collector of the first transistor is grounded, and a first potential point is provided between the collector of the first transistor and the grounding resistor; one end of the transmission wire is connected to the first potential point, and the other end is connected to the base of a second transistor in the receiving circuit; the emitter of the second transistor is grounded; the collector of the second transistor is connected to a second power supply, and a second potential point is provided between the collector of the second transistor and the second power supply, the second potential point being used to connect to the receiving end of the TTL signal; the transmission method includes: In response to the target TTL signal input at the receiving end, the on / off states of the first transistor and the second transistor are controlled so that the collector of the second transistor outputs a TTL signal with the same logic level as the target TTL signal.
[0011] Furthermore, it includes the following steps: 1) Based on the level state of the target TTL signal, control the on / off state of the first transistor and output the target level signal corresponding to the target TTL; 2) The target level signal is transmitted to the receiving circuit using a transmission line; 3) The receiving circuit responds to the target level signal, controls the on / off state of the second transistor, and outputs the TTL signal corresponding to the target level signal to the receiving end, wherein the TTL signal corresponding to the target level signal is consistent with the logic level of the target TTL signal.
[0012] Furthermore, when the target TTL signal is high, the first transistor is cut off and outputs a low-level signal; In response to the low-level signal being transmitted to the base of the second transistor, the second transistor is in a cutoff state and outputs a TTL signal of a high-level state corresponding to the low-level signal.
[0013] Furthermore, when the target TTL signal is in a low-level state, the first transistor is in a conducting state and outputs a high-level signal; In response to the high-level signal being transmitted to the base of the second transistor, the second transistor is turned on and outputs a TTL signal of the low level state corresponding to the high-level signal.
[0014] On the other hand, the present invention also proposes an electronic device, including a controller, the controller being used for the transmission method of the TTL signal transmission circuit as described above, wherein the transmission circuit includes a transmitting circuit, a receiving circuit, and a transmission wire for connecting the transmitting circuit and the receiving circuit; the base of a first transistor in the transmitting circuit is connected to the transmitting end of the TTL signal; the emitter of the first transistor is connected to a first power supply; the collector of the first transistor is grounded, and a first potential point is provided between the collector of the first transistor and the grounding resistor; one end of the transmission wire is connected to the first potential point, and the other end is connected to the base of a second transistor in the receiving circuit; the emitter of the second transistor is grounded; the collector of the second transistor is connected to a second power supply, and a second potential point is provided between the collector of the second transistor and the second power supply, the second potential point being used to connect to the receiving end of the TTL signal; the transmission method includes: In response to the target TTL signal input at the receiving end, the on / off states of the first transistor and the second transistor are controlled so that the collector of the second transistor outputs a TTL signal with the same logic level as the target TTL signal.
[0015] Furthermore, it includes the following steps: 1) Based on the level state of the target TTL signal, control the on / off state of the first transistor and output the target level signal corresponding to the target TTL; 2) The target level signal is transmitted to the receiving circuit using a transmission line; 3) The receiving circuit responds to the target level signal, controls the on / off state of the second transistor, and outputs the TTL signal corresponding to the target level signal to the receiving end, wherein the TTL signal corresponding to the target level signal is consistent with the logic level of the target TTL signal.
[0016] Furthermore, when the target TTL signal is high, the first transistor is cut off and outputs a low-level signal; In response to the low-level signal being transmitted to the base of the second transistor, the second transistor is in a cutoff state and outputs a TTL signal of a high-level state corresponding to the low-level signal.
[0017] Furthermore, when the target TTL signal is in a low-level state, the first transistor is in a conducting state and outputs a high-level signal; In response to the high-level signal being transmitted to the base of the second transistor, the second transistor is turned on and outputs a TTL signal of the low level state corresponding to the high-level signal.
[0018] The beneficial effects of this invention are as follows: The transmission circuit includes a transmitting circuit, a receiving circuit, and a transmission wire for connecting the transmitting circuit and the receiving circuit; the base of the first transistor in the transmitting circuit is connected to the transmitting end of the TTL signal; the emitter of the first transistor is connected to the first power supply; the collector of the first transistor is grounded, and a first potential point is provided between the collector of the first transistor and the grounding resistor; one end of the transmission wire is connected to the first potential point, and the other end is connected to the base of the second transistor in the receiving circuit; the emitter of the second transistor is grounded; the collector of the second transistor is connected to the second power supply, and a second potential point is provided between the collector of the second transistor and the second power supply. The second potential point is used to connect to the receiving end of the TTL signal, realizing that the TTL signal transmission does not depend on the interface conversion chip, and there is no need to convert the TTL signal, achieving direct transmission in the form of TTL signal. In addition, the transmission circuit has low cost and increases the transmission distance of the TTL signal. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the structure of a TTL signal transmission circuit proposed in this invention in a practical application scenario; Figure 2 This is a flowchart of a TTL signal transmission circuit transmission method proposed in this invention in a practical application scenario; Figure 3 This is a system structure diagram of an electronic device proposed in this invention in a practical application scenario; The reference numerals in the figures include: 10 - Signal transmitting circuit; 20 - Signal receiving circuit; 30 - Transmission wire; A - Sender; B - Receiver. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0021] The inventive concept of this invention lies in the following: According to the TTL signal transmission circuit provided by this invention, the TTL signal from the transmitting end can be transmitted to the signal receiving circuit (i.e., the receiving circuit) through a signal transmitting circuit, and then transmitted to the receiving end of the TTL signal by the signal receiving circuit. The signal transmitting circuit and the signal receiving circuit are physically connected by a transmission wire. This circuit structure can realize the transmission of TTL signals without the need for a conversion chip, eliminating the need for signal conversion. The circuit structure is simple and the development difficulty is low. Furthermore, the signal transmitting circuit and the signal receiving circuit are implemented using PNP and NPN transistors, respectively, resulting in simple circuit components and easier cost control.
[0022] Circuit implementation method 1: like Figure 1 The diagram shows the structure of a TTL signal transmission circuit proposed in this invention in a practical application scenario. The TTL signal transmission circuit includes a signal transmitting circuit 10 and a signal receiving circuit 20, which are physically connected by a transmission wire 30. The signal transmitting circuit 10 includes a PNP transistor Q1 (i.e., the first transistor), and the signal receiving circuit 20 includes an NPN transistor Q2 (i.e., the second transistor).
[0023] In the signal transmitting circuit 10, the base of the PNP transistor Q1 is connected to the transmitting terminal A of the TTL signal, its emitter (i.e., the emitter of transistor Q1) is connected to the first power supply VDD1, and its collector (i.e., the collector of transistor Q1) is connected to the signal receiving circuit 20 through the transmission line 30. In response to a TTL signal acting on the base of the PNP transistor Q1 through the transmitting terminal A, and based on the type of the TTL signal (here, the type of TTL signal includes high-level signals and low-level signals), the PNP transistor Q1 is turned on or off. The collector of the PNP transistor Q1 then outputs the corresponding level signal when it is turned on or off, and transmits the level signal to the signal receiving circuit 20 through the transmission line 30.
[0024] In the signal receiving circuit 20, the base of the NPN transistor Q2 is connected to the transmission line 30, its emitter (i.e., the emitter of transistor Q2) is grounded to GND, and its collector (i.e., the collector of transistor Q2) is connected to the second power supply VDD2. A TTL signal receiving terminal B is also connected between the collector and the second power supply VDD2. In response to the level signal input to the transmission line 30 (i.e., the level signal output from the PNP transistor Q1 to the transmission line 30), the NPN transistor Q2 is turned on or off (whether the NPN transistor Q2 is on or off depends on the type of the level signal). The collector of the NPN transistor Q2 outputs the TTL signal corresponding to the on or off level signal through the TTL signal receiving terminal B.
[0025] Figure 1 The complete transmission process of the TTL signal described herein is as follows: The TTL signal sent by the transmitting end A is the signal Signal_TX. This signal Signal_TX is processed by PNP transistor Q1 and NPN transistor Q2 to obtain the TTL signal Signal_RX of the receiving end B that meets the logic level requirements of the signal Signal_TX of the transmitting end A. That is, the logic level of the signal Signal_TX of the transmitting end A is consistent with the logic level of the signal Signal_RX of the receiving end B. Furthermore, the logic levels of the signals of the transmitting end A and the receiving end B are consistent.
[0026] Circuit implementation method 2: Continuing with the specific embodiments described above, in the signal transmission circuit 10, the first power supply VDD1 is connected to the base of the PNP transistor Q1 through the first resistor R1, and the TTL signal transmitted by the TTL signal transmitting terminal A is input from the base of the PNP transistor Q1.
[0027] When the input TTL signal is high, the PNP transistor Q1 is in the off state. The collector of the PNP transistor Q1 is grounded through the second resistor R4. When the PNP transistor Q1 is in the off state, the collector of the PNP transistor Q1 outputs a low-level signal under the action of the second resistor R4. The collector of the PNP transistor Q1 is connected to the base of the NPN transistor Q2 in the signal receiving circuit 20 through the transmission wire 30, thereby transmitting the low-level signal to the base of the NPN transistor Q2 through the transmission wire 30. When the base of NPN transistor Q2 receives a low-level signal, NPN transistor Q2 is in the off state. At this time, under the action of the second power supply VDD2 in the signal receiving circuit 20, the collector of NPN transistor Q2 outputs a high-level signal, which is the TTL signal in the high-level state. (Specifically, in the signal receiving circuit 20, a third resistor R5 is also connected between the collector of NPN transistor Q2 and the second power supply. When the base of NPN transistor Q2 receives a low-level signal, NPN transistor Q2 is in the off state, and the collector of NPN transistor Q2 generates a high-level signal under the action of the second power supply VDD2 and the third resistor R5, which is output as a TTL signal.)
[0028] It can be seen that the level of the TTL signal received by the signal transmitting circuit 10 from the transmitting end A is consistent with the level of the receiving end B corresponding to the TTL signal output by the signal receiving circuit 20.
[0029] Circuit implementation method 3: Following the specific embodiments of the present invention described above, in the signal receiving circuit 20, the base of the NPN transistor Q2 is also grounded through a fourth resistor R7, and a fifth resistor R6 is connected between the base of the NPN transistor Q2 and the transmission line 30.
[0030] In the signal transmission circuit 10, the TTL signal is input to the base of the PNP transistor Q1 through the sixth resistor R2. The collector of the PNP transistor Q1 is connected to the transmission line 30 through the seventh resistor R3.
[0031] The potential of the first power supply VDD1 is at the same potential as the high level of the TTL signal sent by the transmitting end A, and the potential of the second power supply VDD2 is at the same potential as the high level of the TTL signal to be received by the receiving end B.
[0032] In this embodiment, by utilizing the structure and working principle of PNP and NPN transistors, the TTL signal is converted twice to maintain the same level, thereby enabling the signal to be transmitted in TTL form and also realizing the function of signal level conversion.
[0033] Circuit implementation method 4: In a TTL signal transmission circuit proposed in this invention, for the PNP transistor Q1 in the signal transmitting circuit 10: The cutoff state refers to the situation where, when the base input is high, the voltage difference between the emitter and the base decreases, the forward bias voltage of the emitter junction is insufficient, which weakens the ability of the emitter region to emit holes to the base region. Only a small number of holes can diffuse to the base region, and consequently only a very small number of holes can reach the collector region. The collector current IC is almost zero, and the transistor is in the cutoff state, which is equivalent to the switch being turned off.
[0034] The conduction state refers to the situation where, when the base input is low, a large forward bias voltage is formed between the emitter and the base. A large number of holes in the emitter region diffuse into the base region under the action of the electric field. Since the base region is very thin and the doping concentration is low, most of the holes can diffuse to the edge of the collector junction. Under the action of the reverse bias voltage of the collector junction, the holes drift to the collector region to form the collector current IC. The transistor is in the conduction state, which is equivalent to the switch being closed.
[0035] For the NPN transistor Q2 in the signal receiving circuit 20: The conduction state refers to the situation where, when the base input is high, the emitter junction between the base and emitter is forward biased. A large number of electrons in the emitter region diffuse into the base region under the influence of the electric field. Since the base region is very thin and lightly doped, most of the electrons can diffuse to the edge of the collector junction. Under the influence of the reverse bias voltage of the collector junction, the electrons drift to the collector region to form the collector current IC, and the transistor is turned on.
[0036] The cutoff state refers to the situation where the base input is low, the forward bias voltage of the emitter junction is very small, only a small number of electrons can diffuse from the emitter region to the base region, the collector current IC is almost zero, and the transistor is cut off.
[0037] Specifically, the PNP transistor Q1 and the NPN transistor Q2 have opposite conduction and cutoff states when their base inputs are at different levels. Specifically, when the Signal TX input is high, Q1 is cut off. At this time, the signal transmitted to the base of Q2 is at a low level, causing Q2 to also be cut off. With the help of the pull-up resistor R5, the output signal Signal RX is high.
[0038] When the Signal TX input is low, Q1 is turned on. At this time, the signal is high when it reaches the base of Q2, causing Q2 to turn on, and the output Signal RX is low.
[0039] For example, the first power supply VDD1, the second power supply VDD2, the signal TX from transmitter A, and the signal RX from receiver B share the same reference point (i.e., common ground). Here, the TTL signal is a voltage signal relative to the reference point. Having the same reference point (i.e., common ground) ensures the effectiveness of signal transmission, allowing the transistors to operate in the correct state (on / off), thus correctly transmitting high and low level signals. The high level of the signal TX from transmitter A is at the same potential as the first power supply VDD1, and the high level of the signal RX from receiver B is at the same potential as the second power supply VDD2. A signal shaping circuit, composed of transistors Q1 and Q2 and several resistors, shapes the signal TX from transmitter B. Within a transmission distance of at least 200 meters, receiver B can obtain a signal RX that meets the logic level requirements of a TTL signal, thereby achieving long-distance transmission of TTL signals. In this embodiment, the first power supply VDD1 and the second power supply VDD2 can be DC power supplies of different amplitudes, and this transmission circuit can realize signal level conversion.
[0040] For example, under a communication rate of 9600bps, the physical distance between the right end of resistor R3 and the left end of resistor R6, i.e. the signal transmission distance, can reach more than 200 meters. It can be used in scenarios that require long-distance transmission of TTL signals. The circuit structure is simple and the hardware cost is relatively low.
[0041] Circuit implementation method 5: This invention proposes a TTL signal transmission circuit that can increase the transmission distance of TTL signals at a lower cost. The transmission circuit includes a signal transmitting circuit and a signal receiving circuit.
[0042] The signal transmitting circuit includes a PNP transistor. The base of the PNP transistor is connected to the transmitting end of the TTL signal, the emitter is connected to the first power supply, and the collector is connected to the signal receiving circuit through a transmission line.
[0043] The PNP transistor is turned on or off under the action of a TTL signal. The collector of the PNP transistor outputs the corresponding level signal when it is turned on or off, and transmits it to the signal receiving circuit through the transmission line.
[0044] The signal receiving circuit includes an NPN transistor, the base of which is connected to the transmission line, the emitter is grounded, and the collector is connected to a second power supply. A TTL signal is also connected from the collector to the second power supply to a TTL signal receiving terminal.
[0045] The NPN transistor is turned on or off under the action of the level signal transmitted by the transmission line, and the collector of the NPN transistor outputs the corresponding TTL signal when it is turned on or off.
[0046] Detailed implementation method 1: On the other hand, based on the above-mentioned TTL signal transmission circuit, the present invention also proposes a transmission method for the TTL signal transmission circuit. Here, the TTL signal transmission method can be applied to various electronic devices such as computers (PCs), tablet computers, virtual reality / augmented reality devices, wearable devices, industrial computers, and vehicle systems, and is not limited thereto.
[0047] like Figure 2 The diagram shows a flowchart of a TTL signal transmission circuit transmission method proposed in this invention in a practical application scenario, including steps 101, 102, 103, and 104. Specifically: Step 101: Receive TTL signal through signal transmission circuit 10 in TTL signal transmission circuit; here, signal transmission circuit 10 includes PNP type transistor.
[0048] Step 102: In response to the TTL signal, control the PNP transistor to be turned on or off according to the level state of the TTL signal; and output the corresponding target level signal according to the turn-on or turn-off state of the PNP transistor.
[0049] Step 103: The signal receiving circuit 20 receives the target level signal through the transmission line 30; here, the signal receiving circuit 20 includes an NPN transistor.
[0050] Step 104: In response to the target level signal, control the NPN transistor to turn on or off; and output the corresponding TTL signal to the TTL receiver according to the turn-on or turn-off of the NPN transistor.
[0051] When the TTL signal level is high in step 101, the PNP transistor is in the cutoff state and outputs a low-level signal; when the NPN transistor receives the low-level signal, the NPN transistor is in the cutoff state and outputs a high-level signal, which is transmitted to the TTL receiver, thus realizing the function of transmitting the TTL signal from the transmitter to the receiver.
[0052] Method Detailed Implementation 2: For example, the TTL signal received by the signal transmitting circuit 10 is the signal Signal TX. When the Signal TX input is high, the PNP transistor Q1 is cut off. At this time, the signal is low when it reaches the base of the NPN transistor Q2, causing the NPN transistor Q2 to also be cut off. With the help of the power supply VDD2 connected to the collector of the NPN transistor Q2 and the pull-up resistor R5, the output Signal RX signal is high.
[0053] When the Signal TX input is low, the PNP transistor Q1 is turned on. At this time, the signal is high when it reaches the base of the NPN transistor Q2, causing the NPN transistor Q2 to turn on and the output Signal RX signal to be low.
[0054] As can be seen, the transmission method of the TTL signal transmission circuit proposed in this invention breaks through the technical bottleneck that TTL signals cannot be transmitted over long distances. It enables the transmission of a signal with the same level as the TTL signal to the receiving end by simply performing two level state transitions of the TTL signal. The circuit structure is simple, the logic is clear, the applicability is strong, and it has great value potential.
[0055] Method Detailed Implementation 3: The present invention proposes a transmission method for a TTL signal transmission circuit. First, a TTL signal is received through a signal transmitting circuit, which includes a PNP transistor. The conduction or cutoff of the PNP transistor is controlled by the level state of the TTL signal. When the PNP transistor is on or off, a corresponding level signal is output.
[0056] Next, the level signal is received by a signal receiving circuit, which includes an NPN transistor; the level signal controls the conduction or cutoff of the NPN transistor; finally, when the NPN transistor is on or off, it outputs a corresponding level signal as a TTL signal.
[0057] Specific implementation method 1 of electronic device: On the other hand, the present invention also proposes an electronic device, which includes, but is not limited to, computers (PCs), tablet computers, virtual reality / augmented reality devices, wearable devices, industrial computers, vehicle-mounted systems, and other devices that need to transmit TTL signals.
[0058] like Figure 3The diagram shown illustrates the structure of an electronic device proposed in this invention in a practical application scenario. The electronic device 600 includes a central processing unit (CPU) 601, a read-only memory (ROM) 602, a random access memory (RAM) 603, a bus 604, an input / output (I / O) interface 605, an input section 606, an output section 607, a storage section 608, a communication section 609, a driver 610, and a removable medium 611. Specifically: Central Processing Unit 601: Performs corresponding actions and processes based on programs stored in Read-Only Memory 602 or programs loaded into Random Access Memory 603 from Storage Unit 608. Random Access Memory 603 also stores various programs and data required for system operation. Central Processing Unit 601, Read-Only Memory 602, and Random Access Memory 603 are interconnected via bus 604. Input / Output Interface 605 is also connected to bus 604.
[0059] An input section 606, an output section 607, a storage section 608, a communication section 609, and a driver 610 are connected to the I / O interface 605. The input section 606 includes, but is not limited to, input devices such as a keyboard and mouse; the output section 607 includes, but is not limited to, devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; the storage section 608 includes, but is not limited to, a hard disk; and the communication section 609 includes, but is not limited to, network interface cards such as LAN cards and modems. The communication section 609 performs communication processing via a network such as the Internet. The driver 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the driver 610 as needed so that computer programs read from it can be installed into the storage section 608 as required.
[0060] Specific implementation method 2 for electronic devices: The electronic device proposed in this invention includes a controller, which performs the following actions: receiving a TTL signal through a signal transmitting circuit, the signal transmitting circuit including a PNP transistor; controlling the conduction or cutoff of the PNP transistor through the level state of the TTL signal, and outputting a corresponding level signal when the PNP transistor is on or off; receiving the level signal through a signal receiving circuit, the signal receiving circuit including an NPN transistor; controlling the conduction or cutoff of the NPN transistor through the level signal, and outputting a corresponding level signal to the TTL receiving terminal when the NPN transistor is on or off.
[0061] In addition, the specific implementation methods of the electronic device can be found in the specific implementation methods of the circuit 1-5 and the specific implementation methods of the method 1-3, and will not be repeated here.
[0062] In summary, the present invention provides a TTL signal transmission circuit, its transmission method, and electronic device, which can increase the transmission distance of TTL signals. The TTL signal transmission circuit includes a transmitting circuit and a receiving circuit. The transmitting circuit includes a PNP transistor, the base of which is connected to the transmitting end of the TTL signal, the emitter connected to a first power supply, and the collector connected to a signal receiving circuit via a transmission line. The PNP transistor conducts or cuts off under the action of the TTL signal, and the collector of the PNP transistor outputs a level signal corresponding to its conduction or cutoff state, which is transmitted to the receiving circuit via the transmission line. The receiving circuit includes an NPN transistor, the base of which is connected to the transmission line, the emitter grounded, and the collector connected to a second power supply. A receiving end for the TTL signal is also connected between the collector and the second power supply. The NPN transistor conducts or cuts off under the action of the level signal transmitted via the transmission line, and the collector of the NPN transistor outputs a TTL signal corresponding to its conduction or cutoff state.
[0063] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0064] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A TTL signal transmission circuit, comprising a transmitting circuit, a receiving circuit, and a transmission wire for connecting the transmitting circuit and the receiving circuit; characterized in that, In the transmitting circuit, the base of the first transistor is connected to the transmitting end of the TTL signal; the emitter of the first transistor is connected to the first power supply; the collector of the first transistor is grounded, and a first potential point is provided between the collector of the first transistor and the grounding resistor. One end of the transmission line is connected to a first potential point, and the other end is connected to the base of the second transistor in the receiving circuit; the emitter of the second transistor is grounded; the collector of the second transistor is connected to a second power supply, and a second potential point is provided between the collector of the second transistor and the second power supply. The second potential point is used to connect the receiving end of the TTL signal.
2. The TTL signal transmission circuit according to claim 1, characterized in that, The first transistor is a PNP transistor; the second transistor is an NPN transistor.
3. The TTL signal transmission circuit according to claim 1, characterized in that, The first transistor is grounded through a grounding resistor used to output a low-level signal from the collector of the first transistor when the first transistor is off.
4. The TTL signal transmission circuit according to claim 1, characterized in that, A pull-up resistor is provided between the collector of the second transistor and the second power supply to generate a high-level signal at the second potential point when the second transistor is off.
5. A transmission method for a TTL signal transmission circuit, characterized in that, The transmission circuit includes a transmitting circuit, a receiving circuit, and a transmission wire for connecting the transmitting circuit and the receiving circuit; the base of a first transistor in the transmitting circuit is connected to the transmitting end of a TTL signal; the emitter of the first transistor is connected to a first power supply; the collector of the first transistor is grounded, and a first potential point is provided between the collector of the first transistor and the grounding resistor; one end of the transmission wire is connected to the first potential point, and the other end is connected to the base of a second transistor in the receiving circuit; the emitter of the second transistor is grounded; the collector of the second transistor is connected to a second power supply, and a second potential point is provided between the collector of the second transistor and the second power supply, the second potential point being used to connect to the receiving end of a TTL signal; the transmission method includes: In response to the target TTL signal input at the receiving end, the on / off states of the first transistor and the second transistor are controlled so that the collector of the second transistor outputs a TTL signal with the same logic level as the target TTL signal.
6. The transmission method of the TTL signal transmission circuit according to claim 5, characterized in that, Includes the following steps: 1) Based on the level state of the target TTL signal, control the on / off state of the first transistor and output the target level signal corresponding to the target TTL; 2) The target level signal is transmitted to the receiving circuit using a transmission line; 3) The receiving circuit responds to the target level signal, controls the on / off state of the second transistor, and outputs the TTL signal corresponding to the target level signal to the receiving end, wherein the TTL signal corresponding to the target level signal is consistent with the logic level of the target TTL signal.
7. The transmission method of the TTL signal transmission circuit according to claim 6, characterized in that, When the target TTL signal is high, the first transistor is cut off and outputs a low signal. In response to the low-level signal being transmitted to the base of the second transistor, the second transistor is in a cutoff state and outputs a TTL signal of a high-level state corresponding to the low-level signal.
8. The transmission method of the TTL signal transmission circuit according to claim 6, characterized in that, When the target TTL signal is low, the first transistor is in the conducting state and outputs a high-level signal; In response to the high-level signal being transmitted to the base of the second transistor, the second transistor is turned on and outputs a TTL signal of the low level state corresponding to the high-level signal.
9. An electronic device, characterized in that, Includes a controller for performing a transmission method of a TTL signal transmission circuit as described in any one of claims 5-8.
Citation Information
Patent Citations
TTL (Transistor-Transistor Logic) level serial port long-distance transmission circuit and implementation method thereof
CN116260447A