CN115878539A - Serial port self-adaptive circuit, electronic equipment and circuit board - Google Patents

Serial port self-adaptive circuit, electronic equipment and circuit board Download PDF

Info

Publication number
CN115878539A
CN115878539A CN202310046767.7A CN202310046767A CN115878539A CN 115878539 A CN115878539 A CN 115878539A CN 202310046767 A CN202310046767 A CN 202310046767A CN 115878539 A CN115878539 A CN 115878539A
Authority
CN
China
Prior art keywords
serial port
signals
level
negative logic
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310046767.7A
Other languages
Chinese (zh)
Other versions
CN115878539B (en
Inventor
符艳军
潘成
郑利斌
付振
王帅鹏
马媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Smartchip Microelectronics Technology Co Ltd
Beijing Core Kejian Technology Co Ltd
Original Assignee
Beijing Smartchip Microelectronics Technology Co Ltd
Beijing Core Kejian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Smartchip Microelectronics Technology Co Ltd, Beijing Core Kejian Technology Co Ltd filed Critical Beijing Smartchip Microelectronics Technology Co Ltd
Priority to CN202310046767.7A priority Critical patent/CN115878539B/en
Publication of CN115878539A publication Critical patent/CN115878539A/en
Application granted granted Critical
Publication of CN115878539B publication Critical patent/CN115878539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a serial port self-adaptive circuit, electronic equipment and a circuit board, and belongs to the field of RS-232 communication serial ports. The serial port self-adaptive circuit comprises: the system comprises a level conversion module, a symmetrical resistance network module and an RS-232 interface; the level conversion module is used for realizing the conversion between the two TTL level serial port signals and the two RS-232 negative logic level signals; the symmetrical resistance network module is connected with the level conversion module and is used for converting the two paths of RS-232 negative logic level signals into output signals or converting input signals into two paths of RS-232 negative logic level signals; and the RS-232 interface is connected with the symmetrical resistor network module and is used for accessing an input signal or outputting an output signal. The self-adaptive circuit can realize the automatic adaptation of the RS-232 communication interface to receive signals and send signals, and can effectively avoid the problem of signal mismatching caused by the type difference of serial port lines in engineering practice.

Description

Serial port self-adaptive circuit, electronic equipment and circuit board
Technical Field
The invention relates to the field of RS-232 communication serial ports, in particular to a serial port self-adaptive circuit, electronic equipment and a circuit board.
Background
RS-232 is one of the commonly used serial communication interface standards, which was commonly established by the american Electronics Industry Association (EIA) union bell systems, modem manufacturers, and computer terminal manufacturers in 1970. The method has the characteristics of few signal lines, flexible baud rate selection, negative logic transmission, long transmission distance and the like. Later IBM's PC reduced RS-232 to a DB-9 connector, thus becoming a de facto standard, whereas the industry-controlled RS-232 port typically used only three lines RXD, TXD, and GND.
The RS-232 communication interface is generally suitable for point-to-point communication (generally a PC end and an equipment end), the equipment end is generally controlled by MCU (microprogrammed control unit), TTL (transistor-transistor logic) level of a serial port of the MCU is converted into RS-232 negative logic level through an RS-232 level conversion chip, and the RS-232 interface of the equipment end mainly uses three signals of RS-232-TXD, RS-232-RXD and GND in engineering practice and has two wiring leading-out methods; one is that the pin 2 is connected with RS-232-RXD, the pin 3 is connected with RS-232-TXD, and the pin 5 is connected with GND; the other is that the pin 2 is connected with RS-232-TXD, the pin 3 is connected with RS-232-RXD, and the pin 5 is connected with GND. The PC side and the device side are generally connected by a serial communication line, and due to the existence of the two connection modes, the PC side needs to use a cross line sometimes and needs to use a direct connection sometimes in order to realize the communication with the device side.
In engineering practice, because both the two connection modes are adopted, the adopted connection mode cannot be judged from the appearance due to the connected line, so that the situation that field engineering personnel use wrong patch cords can be caused, the mismatching of the patch cords can cause communication failure, and the field operation efficiency is influenced.
Disclosure of Invention
The invention aims to provide a serial port self-adaptive circuit, electronic equipment and a circuit board, wherein the self-adaptive circuit can realize the automatic adaptation of an RS-232 communication interface to receive and send signals, can realize effective communication under the conditions of cross and direct connection serial port line connection, and can effectively avoid the problem of signal mismatching caused by the type difference of serial port lines in engineering practice.
In order to achieve the above object, a first aspect of the present invention provides a serial port adaptive circuit, which includes: the system comprises a level conversion module, a symmetrical resistor network module and an RS-232 interface;
the level conversion module is used for realizing the conversion between the two TTL level serial port signals and the two RS-232 negative logic level signals;
the symmetrical resistance network module is connected with the level conversion module and is used for converting the two paths of RS-232 negative logic level signals into output signals or converting input signals into two paths of RS-232 negative logic level signals;
and the RS-232 interface is connected with the symmetrical resistor network module and is used for accessing the input signal or outputting the output signal.
In an embodiment of the present application, the level shift module includes: an RS-232 level conversion chip; the RS-232 level conversion chip is provided with two TTL level serial port signal input ends which are used for correspondingly accessing two TTL level serial port signals;
the RS-232 level conversion chip is provided with two TTL level serial port signal output ends which are used for correspondingly outputting two TTL level serial port signals;
the RS-232 level conversion chip is also provided with two RS-232 negative logic level signal output ends and two RS-232 negative logic level signal input ends which are respectively connected with the symmetrical resistor network module.
In an embodiment of the present application, the symmetrical resistance network module includes a first resistance unit, a second resistance unit, a third resistance unit, and a fourth resistance unit; the first end of the first resistance unit is connected with the first RS-232 negative logic level signal input end, and the second end of the first resistance unit is connected with the first end of the second resistance unit and the RS-232 interface; the second end of the second resistance unit is connected with the output end of the second RS-232 negative logic level signal; the first end of the third resistance unit is connected with the second RS-232 negative logic level signal input end, and the second end of the third resistance unit is connected with the first end of the fourth resistance unit and the RS-232 interface; and the second end of the fourth resistance unit is connected with the first RS-232 negative logic level signal output end.
In the embodiment of the application, the first resistance unit, the second resistance unit, the third resistance unit and the fourth resistance unit are all formed by connecting a plurality of resistors in series or in parallel.
In the embodiment of the present application, the second pin of the RS-232 interface is connected to the second end of the first resistance unit, and the third pin of the RS-232 interface is connected to the second end of the third resistance unit.
In the embodiment of the present application, the second pin of the RS-232 interface is connected to the second end of the third resistance unit, and the third pin of the RS-232 interface is connected to the second end of the first resistance unit.
In this embodiment of the present application, the serial port adaptive circuit further includes: a protection module;
the protection module comprises a first transient diode and a second transient diode, wherein the first end of the first transient diode is connected with the second end of the first resistance unit, the first end of the second transient diode is connected with the second end of the third resistance unit, and the second ends of the first transient diode and the second transient diode are grounded. The protection module can perform overvoltage protection on the RS-232 interface signals.
A second aspect of the present invention provides an electronic device, comprising at least:
the processor is used for sending or receiving two paths of TTL level serial port signals through two paths of signal output ends and two paths of signal input ends;
the serial port self-adaptive circuit is connected with the signal output end and the signal input end of the processor through the level conversion module;
the processor is configured to: receiving a signal by a first signal input end and replying the signal by a first signal output end;
receiving the signals by the second path of signal input end and replying the signals by the second path of signal output end;
when the first path of signal output end sends a signal, the second path of signal input end is shielded;
and when the second path of signal output end sends a signal, the first path of signal input end is shielded.
The electronic equipment adopts a serial port self-adaptive circuit, can be connected with a PC (personal computer) end in any connection mode and realize communication, and the configuration of a processor can effectively avoid the occurrence of loop signal interference when signals are sent.
In an embodiment of the present application, the level shift module includes: an RS-232 level conversion chip; two TTL level serial port signal input ends of the RS-232 level conversion chip are correspondingly connected with a signal output end of the processor, and two TTL level serial port signal output ends of the RS-232 level conversion chip are correspondingly connected with the signal input end of the processor.
On the other hand, this application still provides a circuit board, be provided with on the circuit board serial ports adaptive circuit.
Through the technical scheme, the serial port self-adaptive circuit can realize automatic adaptation of the RS-232 interface of the equipment end and the PC end, can effectively communicate under the conditions of cross and direct connection serial port line connection, and is low in circuit cost.
On the other hand, the processor in the electronic equipment is designed, so that loop signal interference during signal transmission can be avoided.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a block diagram of a serial port adaptive circuit according to an embodiment of the present invention;
FIG. 2 is a detailed circuit diagram of a serial port adaptive circuit according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an RS-232 interface connection manner in a serial port adaptive circuit according to another embodiment of the present invention;
fig. 4 is a circuit diagram of a symmetrical resistor network module in a serial port adaptive circuit according to another embodiment of the present invention.
Description of the reference numerals
In the figure, R1 is a first resistor, R2 is a second resistor, R3 is a third resistor, R4 is a fourth resistor, R5 is a fifth resistor, R6 is a sixth resistor, R7 is a seventh resistor, R8 is an eighth resistor, R9 is a ninth resistor, R10 is a tenth resistor, R11 is an eleventh resistor, R12 is a twelfth resistor, F1 is a first transient diode, and F2 is a second transient diode.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
Example one
Fig. 1 is a block diagram of a serial port adaptive circuit according to an embodiment of the present invention. As shown in fig. 1, the serial port adaptation circuit includes: the system comprises a level conversion module, a symmetrical resistance network module and an RS-232 interface;
the level conversion module is used for realizing the conversion between two TTL level serial port signals and two RS-232 negative logic level signals;
the symmetrical resistance network module is connected with the level conversion module and is used for converting the two paths of RS-232 negative logic level signals into output signals or converting input signals into two paths of RS-232 negative logic level signals;
and the RS-232 interface is connected with the symmetrical resistor network module and is used for accessing the input signal or outputting the output signal.
In the embodiment of the present application, as shown in fig. 2, the level shift module includes: an RS-232 level conversion chip, in the embodiment of the application, the RS-232 level conversion chip adopts an SP3232EEN chip; the RS-232 level conversion chip is provided with two TTL level serial port signal input ends which are used for correspondingly accessing two TTL level serial port signals;
the RS-232 level conversion chip is provided with two TTL level serial port signal output ends which are used for correspondingly outputting two TTL level serial port signals;
the RS-232 level conversion chip is also provided with two RS-232 negative logic level signal output ends and two RS-232 negative logic level signal input ends which are respectively connected with the symmetrical resistor network module.
In an embodiment of the present application, the symmetrical resistance network module includes a first resistance unit, a second resistance unit, a third resistance unit, and a fourth resistance unit; the first end of the first resistance unit is connected with the first RS-232 negative logic level signal input end, and the second end of the first resistance unit is connected with the first end of the second resistance unit and the RS-232 interface; the second end of the second resistance unit is connected with the output end of the second RS-232 negative logic level signal; the first end of the third resistance unit is connected with the second RS-232 negative logic level signal input end; the second end of the third resistance unit is connected with the first end of the fourth resistance unit and the RS-232 interface, and the second end of the fourth resistance unit is connected with the first RS-232 negative logic level signal output end. The symmetrical resistance network module between the RS-232 level conversion chip and the RS-232 interface adopts the idea of symmetrical design.
In the present embodiment, the first resistance unit includes a first resistor R1, the second resistance unit includes a second resistor R2, the third resistance unit includes a third resistor R3, and the fourth resistance unit includes a fourth resistor R4. The first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 form a symmetrical resistor network, and a typical value of the first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 is 2.2K.
In this embodiment, the second pin of the RS-232 interface is connected to the second end of the first resistor unit, and the third pin of the RS-232 interface is connected to the second end of the third resistor unit.
In this embodiment of the present application, the serial port adaptive circuit further includes: a protection module;
the protection module comprises a first transient diode F1 and a second transient diode F2, wherein the first end of the first transient diode F1 is connected with the second end of the first resistance unit, the first end of the second transient diode F2 is connected with the second end of the third resistance unit, and the second ends of the first transient diode F1 and the second transient diode F2 are grounded. The protection module can perform overvoltage protection on the RS-232 interface signals.
When the serial port self-adaptive circuit IN the embodiment is used, if an actual signal of a second pin of an RS-232 interface is RS-232_txd and an actual signal of a third pin is RS-232_rxd, a signal receiving loop is the second pin (RXD _ TXD) of the RS-232 interface, a first resistor R1, a first path of RS-232 negative logic level signal input end R1_ IN and a first path of TTL level serial port signal input end MCU _ RX1; the signal sending loop comprises a first TTL level serial port signal output end MCU _ TX1, a first RS-232 negative logic level signal output end T1_ OUT, a fourth resistor R4 and a third pin (TXD _ RXD) of an RS-232 interface.
If the actual signal of the second pin of the RS-232 interface is RS-232_RXD and the actual signal of the third pin is RS-232_TXD, the signal receiving loop is an RS-232 interface third pin (TXD _ RXD), a third resistor R3, a second path of RS-232 negative logic level signal input end R2_ IN and a second path of TTL level serial port signal input end MCU _ RX2; the signal sending loop comprises a second TTL level serial port signal output end MCU _ TX2, a second RS-232 negative logic level signal output end T2_ OUT, a second resistor R2 and an RS-232 interface second pin (RXD _ TXD).
Example two
A second embodiment of the present application provides a serial port adaptive circuit, including: the system comprises a level conversion module, a symmetrical resistance network module and an RS-232 interface;
the level conversion module is used for realizing the conversion between two TTL level serial port signals and two RS-232 negative logic level signals;
the symmetrical resistance network module is connected with the level conversion module and is used for converting the two paths of RS-232 negative logic level signals into output signals or converting input signals into two paths of RS-232 negative logic level signals;
and the RS-232 interface is connected with the symmetrical resistor network module and is used for accessing the input signal or outputting the output signal.
In the embodiment of the present application, as shown in fig. 2, the level shift module includes: an RS-232 level conversion chip, in the embodiment of the application, the RS-232 level conversion chip adopts an SP3232EEN chip; the RS-232 level conversion chip is provided with two TTL level serial port signal input ends which are used for correspondingly accessing two TTL level serial port signals;
the RS-232 level conversion chip is provided with two TTL level serial port signal output ends which are used for correspondingly outputting two TTL level serial port signals;
the RS-232 level conversion chip is also provided with two RS-232 negative logic level signal output ends and two RS-232 negative logic level signal input ends which are respectively connected with the symmetrical resistor network module.
In an embodiment of the present application, the symmetrical resistor network module includes a first resistor unit, a second resistor unit, a third resistor unit, and a fourth resistor unit; the first end of the first resistance unit is connected with the first RS-232 negative logic level signal input end; the second end of the first resistance unit is connected with the first end of the second resistance unit and the RS-232 interface; the second end of the second resistance unit is connected with the output end of the second RS-232 negative logic level signal; the first end of the third resistance unit is connected with the second RS-232 negative logic level signal input end; the second end of the third resistance unit is connected with the first end of the fourth resistance unit and the RS-232 interface; and the second end of the fourth resistance unit is connected with the first RS-232 negative logic level signal output end. The symmetrical resistance network module between the RS-232 level conversion chip and the RS-232 interface adopts the idea of symmetrical design.
In the present embodiment, as shown in fig. 4, the first resistance unit includes a sixth resistance R6 and a fifth resistance R5 connected in series, the second resistance unit includes an eighth resistance R8 and a seventh resistance R7 connected in series, the third resistance unit includes a ninth resistance R9 and a tenth resistance R10 connected in series, and the fourth resistance unit includes an eleventh resistance R11 and a twelfth resistance R12 connected in series.
As shown in fig. 3, in this embodiment, the second pin of the RS-232 interface is connected to the second end of the third resistance unit, and the third pin of the RS-232 interface is connected to the second end of the first resistance unit.
In this embodiment of the present application, the serial port adaptive circuit further includes: a protection module;
the protection module comprises a first transient diode F1 and a second transient diode F2, wherein the first end of the first transient diode F1 is connected with the second end of the first resistance unit, the first end of the second transient diode F2 is connected with the second end of the third resistance unit, and the second ends of the first transient diode F1 and the second transient diode F2 are grounded. The protection module can perform overvoltage protection on the RS-232 interface signals.
When the serial port self-adaptive circuit IN the embodiment is used, if an actual signal of a second pin of an RS-232 interface is RS-232_txd and an actual signal of a third pin is RS-232_rxd, a signal receiving loop is the second pin (TXD _ RXD) of the RS-232 interface, a sixth resistor R6, a fifth resistor R5, a first path of RS-232 negative logic level signal input end R1_ IN and a first path of TTL level serial port signal input end MCU _ RX1; the signal sending loop comprises a first TTL level serial port signal output end MCU _ TX1, a first RS-232 negative logic level signal output end T1_ OUT, a twelfth resistor R12, an eleventh resistor R11 and an RS-232 interface third pin (RXD _ TXD).
If the actual signal of the second pin of the RS-232 interface is RS-232_RXD and the actual signal of the third pin is RS-232_TXD, the signal receiving loop is an RS-232 interface third pin (RXD _ TXD), a tenth resistor R10, a ninth resistor R9, a second path of RS-232 negative logic level signal input end R2_ IN and a second path of TTL level serial port signal input end MCU _ RX2; the signal sending loop comprises a second TTL level serial port signal output end MCU _ TX2, a second RS-232 negative logic level signal output end T2_ OUT, an eighth resistor R8, a seventh resistor R7 and a RS-232 interface second pin (TXD _ RXD).
In other embodiments of the present application, the first resistance unit, the second resistance unit, the third resistance unit, and the fourth resistance unit may be formed by connecting a plurality of resistances in series or in parallel.
A second aspect of the present invention provides an electronic device, comprising at least:
the processor is used for sending or receiving the two paths of TTL level serial port signals through the two paths of signal output ends and the two paths of signal input ends;
the serial port self-adaptive circuit is connected with the signal output end and the signal input end of the processor through the level conversion module;
the processor is configured to:
receiving a signal by a first path of signal input end MCU _ RX1, and replying the signal by a first path of signal output end MCU _ TX 1;
receiving signals by a second path of signal input end MCU _ RX2, and replying signals by a second path of signal output end MCU _ TX 2;
when the first path of signal output end MCU _ TX1 sends a signal, shielding the second path of signal input end MCU _ RX2;
and when the second path of signal output end MCU _ TX2 sends a signal, shielding the first path of signal input end MCU _ RX1.
The electronic equipment adopts the serial port self-adaptive circuit, can be connected with a PC (personal computer) end in any connection mode and realize communication, and the configuration of the processor can effectively avoid the occurrence of loop signal interference when sending signals.
In an embodiment of the present application, the level shift module includes: an RS-232 level conversion chip; the two TTL level serial port signal input ends of the RS-232 level conversion chip are correspondingly connected with the signal output end of the processor, and the two TTL level serial port signal output ends of the RS-232 level conversion chip are correspondingly connected with the signal input end of the processor.
On the other hand, this application still provides a circuit board, be provided with on the circuit board serial ports adaptive circuit.
Through the technical scheme, the serial port self-adaptive circuit can realize automatic adaptation of the RS-232 interface of the equipment end and the PC end, can effectively communicate under the conditions of cross and direct connection serial port line connection, and is low in circuit cost.
While the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solution of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications are within the scope of the embodiments of the present invention. It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention will not be described separately for the various possible combinations.
In addition, any combination of various embodiments of the present invention may be made, and the same should be considered as what is disclosed in the embodiments of the present invention as long as it does not depart from the spirit of the embodiments of the present invention.

Claims (10)

1. A serial port adaptive circuit, comprising: the system comprises a level conversion module, a symmetrical resistance network module and an RS-232 interface;
the level conversion module is used for realizing the conversion between two TTL level serial port signals and two RS-232 negative logic level signals;
the symmetrical resistor network module is connected with the level conversion module and is used for converting the two paths of RS-232 negative logic level signals into output signals or converting input signals into two paths of RS-232 negative logic level signals;
and the RS-232 interface is connected with the symmetrical resistor network module and is used for accessing the input signal or outputting the output signal.
2. The serial port adaptive circuit according to claim 1, wherein the level conversion module comprises: an RS-232 level conversion chip;
the RS-232 level conversion chip is provided with two TTL level serial port signal input ends which are used for correspondingly accessing two TTL level serial port signals;
the RS-232 level conversion chip is also provided with two TTL level serial port signal output ends which are used for correspondingly outputting two TTL level serial port signals;
the RS-232 level conversion chip is also provided with two RS-232 negative logic level signal output ends and two RS-232 negative logic level signal input ends which are respectively connected with the symmetrical resistor network module.
3. The serial port adaptive circuit according to claim 2, wherein the symmetrical resistor network module comprises a first resistor unit, a second resistor unit, a third resistor unit and a fourth resistor unit;
the first end of the first resistance unit is connected with the first RS-232 negative logic level signal input end in the two RS-232 negative logic level signal input ends, and the second end of the first resistance unit is connected with the first end of the second resistance unit and the RS-232 interface;
the second end of the second resistor unit is connected with the second RS-232 negative logic level signal output end in the two RS-232 negative logic level signal output ends;
the first end of the third resistor unit is connected with the second RS-232 negative logic level signal input end in the two RS-232 negative logic level signal input ends, and the second end of the third resistor unit is connected with the first end of the fourth resistor unit and the RS-232 interface;
and the second end of the fourth resistor unit is connected with the first RS-232 negative logic level signal output end in the two RS-232 negative logic level signal output ends.
4. The serial port adaptive circuit according to claim 3, wherein the first resistance unit, the second resistance unit, the third resistance unit and the fourth resistance unit are all composed of a plurality of resistors connected in series or in parallel.
5. The serial port adaptive circuit according to claim 3, wherein a second pin of the RS-232 interface is connected to a second end of the first resistor unit, and a third pin of the RS-232 interface is connected to a second end of the third resistor unit.
6. The serial port adaptive circuit according to claim 3, wherein the second pin of the RS-232 interface is connected with the second end of the third resistance unit, and the third pin of the RS-232 interface is connected with the second end of the first resistance unit.
7. The serial port adaptation circuit according to claim 1, further comprising: a protection module;
the protection module comprises a first transient diode and a second transient diode, wherein the first end of the first transient diode is connected with the second end of the first resistance unit, the first end of the second transient diode is connected with the second end of the third resistance unit, and the second end of the first transient diode and the second end of the second transient diode are grounded.
8. An electronic device, characterized in that the electronic device comprises at least:
the processor is used for sending or receiving two paths of TTL level serial port signals through two paths of signal output ends and two paths of signal input ends;
the serial port self-adaptive circuit of any one of claims 1-7, which is connected with two signal output ends and two signal input ends of the processor through a level conversion module;
the processor is configured to:
a first signal input end of the two signal input ends receives a signal and replies the signal through a first signal output end of the two signal output ends;
receiving signals by a second signal input end of the two signal input ends, and replying the signals by a second signal output end of the two signal output ends;
when the first path of signal output end sends a signal, the second path of signal input end is shielded;
and shielding the first path of signal input end when the second path of signal output end sends signals.
9. The electronic device of claim 8, wherein the level translation module comprises: an RS-232 level conversion chip; two TTL level serial port signal input ends of the RS-232 level conversion chip are correspondingly connected with two signal output ends of the processor, and two TTL level serial port signal output ends of the RS-232 level conversion chip are correspondingly connected with two signal input ends of the processor.
10. A circuit board, characterized in that the serial port adaptive circuit of any one of claims 1-7 is arranged on the circuit board.
CN202310046767.7A 2023-01-31 2023-01-31 Serial port self-adapting circuit, electronic equipment and circuit board Active CN115878539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310046767.7A CN115878539B (en) 2023-01-31 2023-01-31 Serial port self-adapting circuit, electronic equipment and circuit board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310046767.7A CN115878539B (en) 2023-01-31 2023-01-31 Serial port self-adapting circuit, electronic equipment and circuit board

Publications (2)

Publication Number Publication Date
CN115878539A true CN115878539A (en) 2023-03-31
CN115878539B CN115878539B (en) 2023-05-16

Family

ID=85758561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310046767.7A Active CN115878539B (en) 2023-01-31 2023-01-31 Serial port self-adapting circuit, electronic equipment and circuit board

Country Status (1)

Country Link
CN (1) CN115878539B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492302A (en) * 2003-08-22 2004-04-28 艾默生网络能源有限公司 Adaptive modem interface circuit and method
CN103066986A (en) * 2012-12-14 2013-04-24 深圳市新国都技术股份有限公司 Positive-negative logic level conversion switching circuit
CN203151466U (en) * 2012-12-14 2013-08-21 深圳市新国都技术股份有限公司 Positive-negative logic level conversion switching circuit
CN103916116A (en) * 2013-01-05 2014-07-09 鸿富锦精密工业(深圳)有限公司 Interface level switch device
US20150071654A1 (en) * 2013-09-06 2015-03-12 Sony Corporation Current voltage conversion circuit, light receiving apparatus, and light transmission system
CN106383800A (en) * 2016-08-29 2017-02-08 深圳市共济科技股份有限公司 Intelligent serial interface equipment switching device and method
CN206149237U (en) * 2016-10-27 2017-05-03 沈阳航空航天大学 Multichannel differential signal changes TTL level signal's conversion and protection system
CN107196639A (en) * 2017-05-25 2017-09-22 湖南工学院 The bidirectional level conversion circuit of multidiameter delay
CN206820735U (en) * 2017-03-22 2017-12-29 广州致远电子股份有限公司 A kind of serial communication interface function switch circuit
CN109800203A (en) * 2019-01-25 2019-05-24 山东超越数控电子股份有限公司 A kind of RS232 serial ports RXD and TXD automatic switch-over circuit and its switching method
CN209593402U (en) * 2019-01-22 2019-11-05 深圳市菲菱科思通信技术股份有限公司 Passive isolated form RS232 serial communication circuit
CN110796845A (en) * 2019-11-14 2020-02-14 浙江晨泰科技股份有限公司 RS485 to TTL level communication module device
CN110928823A (en) * 2019-11-20 2020-03-27 四川虹美智能科技有限公司 Level conversion circuit
CN210573287U (en) * 2019-09-05 2020-05-19 北京华电众信技术股份有限公司 Expansion circuit
CN210639609U (en) * 2019-11-08 2020-05-29 武汉恩逸互联科技有限公司 RS232 and RS485 adaptive multiplexing circuit, module and equipment
CN212726986U (en) * 2020-08-18 2021-03-16 湖南中部芯谷科技有限公司 Positive and negative logic level conversion circuit
CN213718178U (en) * 2020-10-27 2021-07-16 Oppo广东移动通信有限公司 Level conversion circuit and electronic device
CN213814657U (en) * 2020-12-26 2021-07-27 武汉吉阳光电科技有限公司 Adapter for converting RS232 serial port into CAN bus interface
CN114285401A (en) * 2021-11-23 2022-04-05 青岛鼎信通讯股份有限公司 TTL and RS-232 level conversion circuit applied to acquisition terminal
CN114389594A (en) * 2022-01-13 2022-04-22 苏州琨山通用锁具有限公司 Wide-voltage level self-adaptive multiplexed UART communication serial port integrated circuit
CN216596246U (en) * 2021-12-29 2022-05-24 普联技术有限公司 Self-adaptive circuit compatible with multi-serial port protocol and communication equipment

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492302A (en) * 2003-08-22 2004-04-28 艾默生网络能源有限公司 Adaptive modem interface circuit and method
CN103066986A (en) * 2012-12-14 2013-04-24 深圳市新国都技术股份有限公司 Positive-negative logic level conversion switching circuit
CN203151466U (en) * 2012-12-14 2013-08-21 深圳市新国都技术股份有限公司 Positive-negative logic level conversion switching circuit
CN103916116A (en) * 2013-01-05 2014-07-09 鸿富锦精密工业(深圳)有限公司 Interface level switch device
US20150071654A1 (en) * 2013-09-06 2015-03-12 Sony Corporation Current voltage conversion circuit, light receiving apparatus, and light transmission system
CN106383800A (en) * 2016-08-29 2017-02-08 深圳市共济科技股份有限公司 Intelligent serial interface equipment switching device and method
CN206149237U (en) * 2016-10-27 2017-05-03 沈阳航空航天大学 Multichannel differential signal changes TTL level signal's conversion and protection system
CN206820735U (en) * 2017-03-22 2017-12-29 广州致远电子股份有限公司 A kind of serial communication interface function switch circuit
CN107196639A (en) * 2017-05-25 2017-09-22 湖南工学院 The bidirectional level conversion circuit of multidiameter delay
CN209593402U (en) * 2019-01-22 2019-11-05 深圳市菲菱科思通信技术股份有限公司 Passive isolated form RS232 serial communication circuit
CN109800203A (en) * 2019-01-25 2019-05-24 山东超越数控电子股份有限公司 A kind of RS232 serial ports RXD and TXD automatic switch-over circuit and its switching method
CN210573287U (en) * 2019-09-05 2020-05-19 北京华电众信技术股份有限公司 Expansion circuit
CN210639609U (en) * 2019-11-08 2020-05-29 武汉恩逸互联科技有限公司 RS232 and RS485 adaptive multiplexing circuit, module and equipment
CN110796845A (en) * 2019-11-14 2020-02-14 浙江晨泰科技股份有限公司 RS485 to TTL level communication module device
CN110928823A (en) * 2019-11-20 2020-03-27 四川虹美智能科技有限公司 Level conversion circuit
CN212726986U (en) * 2020-08-18 2021-03-16 湖南中部芯谷科技有限公司 Positive and negative logic level conversion circuit
CN213718178U (en) * 2020-10-27 2021-07-16 Oppo广东移动通信有限公司 Level conversion circuit and electronic device
CN213814657U (en) * 2020-12-26 2021-07-27 武汉吉阳光电科技有限公司 Adapter for converting RS232 serial port into CAN bus interface
CN114285401A (en) * 2021-11-23 2022-04-05 青岛鼎信通讯股份有限公司 TTL and RS-232 level conversion circuit applied to acquisition terminal
CN216596246U (en) * 2021-12-29 2022-05-24 普联技术有限公司 Self-adaptive circuit compatible with multi-serial port protocol and communication equipment
CN114389594A (en) * 2022-01-13 2022-04-22 苏州琨山通用锁具有限公司 Wide-voltage level self-adaptive multiplexed UART communication serial port integrated circuit

Also Published As

Publication number Publication date
CN115878539B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US5737364A (en) Serial communications interface that supports multiple interface standards
CN111711468B (en) FC-AE-1553 network system for data transmission by adopting coaxial cable
CN111682886B (en) Optical fiber avionics network system for data transmission by adopting coaxial cable
CN101373205B (en) Returning ring test structure of IC chip interface module
CN115878539A (en) Serial port self-adaptive circuit, electronic equipment and circuit board
WO2006015350A2 (en) Cable adapter port module
CN1334663A (en) Long-distance transmission method for signals of Ethernet
CN112783819B (en) Serial data interface of digital signal processing board and digital signal processing circuit board
CN116303205A (en) Three-in-one interface circuit for serial port, control method thereof and serial port system chip
CN209946687U (en) CAN communication isolation device for air conditioner controller and air conditioner controller
CN108737673B (en) Network telephone equipment, external connection card and communication method of network telephone equipment
CN105812216B (en) PBUS transformerless EtherCAT communication circuit and application method
CN111131087B (en) Transmission system and signal transmission method for Ethernet physical layer signal
CN115442178A (en) Multi-axis servo bus control circuit and multi-axis servo system
CN115133941B (en) Signal receiving terminal, serializer and communication system
CN101146144B (en) E1/T1 interface circuit and E1/T1 interface circuit device with master/slave structure
CN217113072U (en) Chain circuit for unidirectional differential transmission data
CN116668233A (en) CAN bus circuit for enhancing electromagnetic T resistance
CN100521678C (en) Communication interface controller
CN113406913B (en) Cache circuit and method of electric power composite bus
CN216751748U (en) Terminal resistor access control circuit, communication circuit and communication equipment
CN212627933U (en) NCSI interface signal adapter and NCSI interface communication equipment
US20060034180A1 (en) Cable adapter port module
CN211830928U (en) Device for long-distance transmission of camera data by parallel bus
CN214751855U (en) RS485 communication circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant