Serial port and AUX port multiplexing circuit
By designing the serial port and AUX port multiplexing circuit in the device, and using different wire interfaces of the multiplexed port to connect the processing chips and modules, the problem of resource waste and reuse complexity in the existing technology is solved, and efficient use and automatic ports are realized Switch function.
Patent Information
- Application Number
- CN202323578589.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2033-12-26
Smart Images

Figure CN222169808U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of equipment management ports, and more specifically, to a serial port and AUX port multiplexing circuit. Background Art
[0002] The prior art is that the device carries two management ports, one is a serial port and the other is an AUX port. AUX is an auxiliary port, which is mainly used for remote configuration. The serial port is mainly used for device debugging. In engineering applications, the serial port is rarely used. It may only be needed when there is a problem with the device. In other words, the serial port and the AUX port can be used separately, and both ports are connected to the outside using an RJ45 crystal head. That is, the device provides two ports that are not used simultaneously, and the two ports have something in common, so there is a certain degree of resource waste, which reduces the port utilization rate.
[0003] The prior art discloses a method, device and controller for multiplexing a debug serial port and a data serial port, wherein the method comprises: obtaining the serial port type required by the user; comparing the serial port type required by the user with the current type of the serial port; when the serial port type required by the user is inconsistent with the current type of the serial port, switching the type of the serial port to the serial port type required by the user. The present invention can realize the multiplexing of the data serial port and the debug serial port functions on a hardware serial port device when the serial port resources are tight in an embedded system, that is, the serial port can be seamlessly switched between the data serial port function and the debug serial port function simply and quickly; the method described in the present invention can ensure the integrity and correctness of the data on the serial port during the switching process between the data serial port function and the debug serial port function. However, the method needs to distinguish the serial port type required by the user, and the implementation is relatively complicated. Utility Model Content
[0004] The utility model aims to provide a serial port and AUX port multiplexing circuit which is easier to implement.
[0005] In order to solve the above technical problems, the utility model provides a serial port and AUX port multiplexing circuit including: a processing chip, a multiplexing port, a serial port module, and an AUX module, wherein the processing chip is electrically connected to the AUX module and the serial port module, the multiplexing port includes multiple wire interfaces, and the AUX module and the serial port module are connected to different wire interfaces of the multiplexing port.
[0006] Furthermore, the serial port module also includes a level conversion circuit, and the processing chip is connected to the serial port module via the level conversion circuit.
[0007] Furthermore, the processing chip also includes a UART serial port, and the level conversion circuit is connected to the UART serial port of the processing chip.
[0008] Furthermore, the serial port module also includes magnetic beads, which are located on the signal lines of the serial port module.
[0009] Furthermore, an external PHY chip is included, the external PHY chip includes an SGMII interface, and the processing chip includes an SGMII interface, and the external PHY chip is electrically connected to the SGMII interface of the processing chip through the SGMII interface of the external PHY chip.
[0010] Furthermore, the AUX module further includes a network transformer, which is located at the connection between the AUX module and the multiplexing port.
[0011] Furthermore, the AUX module also includes a lightning protection circuit, which is located at the power input of the AUX module.
[0012] Furthermore, the multiplexing port is an RJ45 interface, and the RJ45 interface includes 8 wire interfaces, namely interface No. 1, interface No. 2, interface No. 3, interface No. 4, interface No. 5, interface No. 6, interface No. 7, and interface No. 8.
[0013] Furthermore, the serial port module includes a CPU_TXD port, a CPU_RXD port, and a GND port, wherein the CPU_TXD port, the CPU_RXD port, and the GND port are respectively connected to port No. 4, port No. 5, and port No. 7 of the RJ45 interface.
[0014] Further, the AUX module includes an MDI_TXP port, an MDI_TXN port, an MDI_RXP port, and an MDI_RXN port, wherein the MDI_TXP port, the MDI_TXN port, the MDI_RXP port, and the MDI_RXN port are respectively connected to interface No. 1, interface No. 2, interface No. 3, and interface No. 6 of the RJ45 interface.
[0015] Compared with the prior art, the beneficial effects of the technical solution of the utility model are:
[0016] The utility model connects the AUX module and the serial port module to different wire interfaces of the multiplexing port, and multiplexes the two ports in hardware, and has a simple structure. When developing and maintaining debugging, the serial port line is used to insert into the multiplexing port, and when the customer uses, the network cable is used to insert into the multiplexing port. Since the wire interfaces corresponding to the serial port line and the network cable are different when they are inserted into the multiplexing port, it is possible to connect the network cable to the AUX module when it is inserted into the multiplexing port, and connect the serial port line to the serial port module when it is inserted into the multiplexing port, thereby improving the utilization rate of the port. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1This is a connection diagram of a serial port and AUX port multiplexing circuit module shown in Example 1;
[0018] Figure 2 The circuit diagram of the serial port module shown in the second embodiment;
[0019] Figure 3 This is a circuit diagram of a processing chip as shown in the second embodiment;
[0020] Figure 4 This is the circuit diagram of the external PHY chip shown in Example 2;
[0021] Figure 5 This is the circuit diagram of the AUX module shown in Example 2;
[0022] Figure 6 The multiplexing port circuit diagram shown in the third embodiment;
[0023] Among them, 1: processing chip; 2: multiplexing port; 3: serial port module; 4: AUX module; 5: level conversion circuit; 6: UART serial port; 7: magnetic beads; 8: external PHY chip; 9: SGMII interface; 10: network transformer; 11: lightning protection circuit; 12: interface 1; 13: interface 2; 14: interface 3; 15: interface 4; 16: interface 5; 17: interface 6; 18: interface 7; 19: interface 8; 20: CPU_TXD port; 21: CPU_RXD port; 22: GND port; 23: MDI_TXP port; 24: MDI_TXN port; 25: MDI_RXP port; 26: MDI_RXN port; DETAILED DESCRIPTION
[0024] The following is a further detailed description of the specific implementation of the present invention in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0025] In the description of the present invention, it should be noted that the terms "center", "longitudinal", "lateral", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0026] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0027] Embodiment 1:
[0028] The present embodiment provides a serial port and AUX port multiplexing circuit including: a processing chip 1, a multiplexing port 2, a serial port module 3, and an AUX module 4, wherein the processing chip 1 is electrically connected to the AUX module 4 and the serial port module 3, the multiplexing port 2 includes multiple wire interfaces, and the AUX module 4 and the serial port module 3 are connected to different wire interfaces of the multiplexing port 2.
[0029] When a private customized serial port line is used to connect the multiplexed port 2, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, this circuit will automatically establish a connection from the serial port module 3 to the processing chip 1 for development and maintenance debugging; when a standard 100M network cable is used to connect the multiplexed port, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, this circuit will automatically establish a connection from the AUX module 4 to the processing chip 1 for remote configuration. This embodiment combines and reuses the two ports in hardware by connecting the AUX module 4 and the serial port module 3 to different wire interfaces of the multiplexed port 2, and the structure is simple. When the serial port line is used to insert the multiplexed port 2 for development and maintenance debugging, and the network cable is used to insert the multiplexed port 2 for customer application, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, it is realized that when the network cable is inserted into the multiplexed port 2, it is connected to the AUX module 4, and when the serial port line is inserted into the multiplexed port 2, it is connected to the serial port module 3, thereby improving the utilization rate of the port.
[0030] Embodiment 2:
[0031] This embodiment further discloses the following on the basis of the first embodiment:
[0032] The serial port module also includes a level conversion circuit 5, and the processing chip 1 is connected to the serial port module 3 through the level conversion circuit 5. The level conversion circuit converts the TTL level signal output by the UART serial port of the processing chip into an RS232 level signal, which complies with the RS232 serial port line protocol and can be used for long-distance transmission.
[0033] The processing chip 1 further includes a UART serial port 6 , and the level conversion circuit 5 is connected to the UART serial port 6 of the processing chip 1 .
[0034] The serial port module 3 also includes a magnetic bead 7, which is located on the signal line of the serial port module. The magnetic bead 7 can suppress high-frequency noise, prevent electromagnetic radiation, protect the device from external interference, and enhance signal integrity. By acting as a current filter, the magnetic bead 7 helps stabilize the signal and reduce communication problems that may be caused by electromagnetic interference, thereby improving the reliability of serial port communication.
[0035] It also includes an external PHY chip 8, which includes an SGMII interface 9, and the processing chip 1 includes the SGMII interface 9. The external PHY chip 8 is electrically connected to the SGMII interface 9 of the processing chip 1 through the SGMII interface 9 of the external PHY chip 8. The external PHY chip 8 converts the SGMII interface 9 of the processing chip 1 into an MDI series interface output by a standard 100M port and is connected to the AUX circuit 4.
[0036] The AUX module 4 further includes a network transformer 10, which is located at the connection between the AUX module 4 and the multiplexing port 2. The network transformer 10 can effectively prevent the propagation of electrical noise and interference, and optimize the signal transmission between the AUX module 4 and the multiplexing port 2 through impedance matching, thereby reducing signal reflection and distortion. In addition, the network transformer 10 can also reduce electromagnetic radiation and reduce interference to surrounding equipment, thereby improving the electromagnetic compatibility of the entire communication system.
[0037] The AUX module 4 also includes a lightning protection circuit 11, which is located at the power input of the AUX module 4. It can effectively prevent potential damage to the equipment caused by power interference such as lightning. The lightning protection circuit 11 has multiple functions. First, it guides, absorbs or clips the overvoltage in the power supply to prevent the instantaneous voltage fluctuation caused by lightning from causing direct damage to the AUX module 4 and its related equipment. Secondly, the circuit filters the transient interference in the power supply, maintains the stability of the power supply, and ensures that the AUX module 4 operates normally without being disturbed by power problems. The lightning protection circuit 11 also improves the reliability of the equipment, reduces the risk of failures caused by lightning, and extends the service life of the equipment.
[0038] The multiplexing port 1 is an RJ45 interface, which includes 8 wire interfaces, namely interface No. 1 12, interface No. 2 13, interface No. 3 14, interface No. 4 15, interface No. 5 16, interface No. 6 17, interface No. 7 18, and interface No. 8 19.
[0039] The serial port module 3 includes a CPU_TXD port 20, a CPU_RXD port 21, and a GND port 22, wherein the CPU_TXD port 20, the CPU_RXD port 21, and the GND port 22 are respectively connected to the No. 4 interface 15, the No. 5 interface 16, and the No. 7 interface 18 of the RJ45 interface.
[0040] The AUX module 4 includes an MDI_TXP port 23, an MDI_TXN port 24, an MDI_RXP port 25, and an MDI_RXN port 26, wherein the MDI_TXP port, the MDI_TXN port, the MDI_RXP port, and the MDI_RXN port are respectively connected to the No. 1 interface 12, the No. 2 interface 13, the No. 3 interface 14, and the No. 6 interface 17 of the RJ45 interface.
[0041] When a private customized serial port line crystal plug is used to connect the multiplexed port 2, communication is directly performed with the serial port module 3 through the No. 4 interface 15, No. 5 interface 16 and No. 7 interface 18 lines.
[0042] When a standard 100M network cable is used to connect the multiplexed port, according to the known 802.3 protocol standard definition, the external PHY chip 6 sends FLP fast link pulses through interface No. 1 12, interface No. 2 13, interface No. 3 14 and interface No. 6 17 to announce that the maximum port capacity value is 100M. Similarly, the capacity value announced by the opposite end is received through interface No. 1 12, interface No. 2 13, interface No. 3 14 and interface No. 6 17, thereby establishing a 100M link communication with the AUX module 4 without affecting the device serial port;
[0043] When the computer host uses a two-in-one USB to serial port and network card cable for connection, the three sets of computer host serial port TXD, RXD, and GND lines directly communicate with the serial port module through the No. 4 interface 15, No. 5 interface 16, and No. 7 interface 18 of the two-in-one device; similarly, the two-in-one USB network card used by the computer host is connected to the device network card through the No. 1 interface 12, No. 2 interface 13, No. 3 interface 14, and No. 6 interface 17. Finally, the serial port module 3 and the AUX module 4 are connected at the same time.
[0044] When a private customized serial port line is used to connect the multiplexed port 2, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, this circuit will automatically establish a connection from the serial port module 3 to the processing chip 1 for development and maintenance debugging; when a standard 100M network cable is used to connect the multiplexed port, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, this circuit will automatically establish a connection from the AUX module 4 to the processing chip 1 for remote configuration. This embodiment combines and reuses the two ports in hardware by connecting the AUX module 4 and the serial port module 3 to different wire interfaces of the multiplexed port 2, and the structure is simple. When the serial port line is used to insert the multiplexed port 2 for development and maintenance debugging, and the network cable is used to insert the multiplexed port 2 for customer application, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, it is realized that when the network cable is inserted into the multiplexed port 2, it is connected to the AUX module 4, and when the serial port line is inserted into the multiplexed port 2, it is connected to the serial port module 3, thereby improving the utilization rate of the port.
[0045] The remaining structures are the same as those in the first embodiment and will not be described again.
[0046] Embodiment three:
[0047] This embodiment continues to disclose on the basis of the first embodiment:
[0048] The multiplexed port 2 used in this embodiment is implemented by the XS11 chip. The specific circuit connection method is as follows: Figure 6 shown.
[0049] The serial port module also includes a level conversion circuit 5, and the processing chip 1 is connected to the serial port module 3 through the level conversion circuit 5. The level conversion circuit converts the TTL level signal output by the UART serial port of the processing chip into an RS232 level signal, which complies with the RS232 serial port line protocol and can be used for long-distance transmission.
[0050] The processing chip 1 further includes a UART serial port 6 , and the level conversion circuit 5 is connected to the UART serial port 6 of the processing chip 1 .
[0051] The serial port module 3 also includes a magnetic bead 7, which is located on the signal line of the serial port module. The magnetic bead 7 can suppress high-frequency noise, prevent electromagnetic radiation, protect the device from external interference, and enhance signal integrity. By acting as a current filter, the magnetic bead 7 helps stabilize the signal and reduce communication problems that may be caused by electromagnetic interference, thereby improving the reliability of serial port communication.
[0052] It also includes an external PHY chip 8, which includes an SGMII interface 9, and the processing chip 1 includes the SGMII interface 9. The external PHY chip 8 is electrically connected to the SGMII interface 9 of the processing chip 1 through the SGMII interface 9 of the external PHY chip 8. The external PHY chip 8 converts the SGMII interface 9 of the processing chip 1 into an MDI series interface output by a standard 100M port and is connected to the AUX circuit 4.
[0053] The AUX module 4 further includes a network transformer 10, which is located at the connection between the AUX module 4 and the multiplexing port 2. The network transformer 10 can effectively prevent the propagation of electrical noise and interference, and optimize the signal transmission between the AUX module 4 and the multiplexing port 2 through impedance matching, thereby reducing signal reflection and distortion. In addition, the network transformer 10 can also reduce electromagnetic radiation and reduce interference to surrounding equipment, thereby improving the electromagnetic compatibility of the entire communication system.
[0054] The AUX module 4 also includes a lightning protection circuit 11, which is located at the power input of the AUX module 4. It can effectively prevent potential damage to the equipment caused by power interference such as lightning. The lightning protection circuit 11 has multiple functions. First, it guides, absorbs or clips the overvoltage in the power supply to prevent the instantaneous voltage fluctuation caused by lightning from causing direct damage to the AUX module 4 and its related equipment. Secondly, the circuit filters the transient interference in the power supply, maintains the stability of the power supply, and ensures that the AUX module 4 operates normally without being disturbed by power problems. The lightning protection circuit 11 also improves the reliability of the equipment, reduces the risk of failures caused by lightning, and extends the service life of the equipment.
[0055] The multiplexing port 1 is an RJ45 interface, which includes 8 wire interfaces, namely interface No. 1 12, interface No. 2 13, interface No. 3 14, interface No. 4 15, interface No. 5 16, interface No. 6 17, interface No. 7 18, and interface No. 8 19.
[0056] The serial port module 3 includes a CPU_TXD port 20, a CPU_RXD port 21, and a GND port 22, wherein the CPU_TXD port 20, the CPU_RXD port 21, and the GND port 22 are respectively connected to the No. 4 interface 15, the No. 5 interface 16, and the No. 7 interface 18 of the RJ45 interface.
[0057] The AUX module 4 includes an MDI_TXP port 23, an MDI_TXN port 24, an MDI_RXP port 25, and an MDI_RXN port 26, wherein the MDI_TXP port, the MDI_TXN port, the MDI_RXP port, and the MDI_RXN port are respectively connected to the No. 1 interface 12, the No. 2 interface 13, the No. 3 interface 14, and the No. 6 interface 17 of the RJ45 interface.
[0058] When a private customized serial port line crystal plug is used to connect the multiplexed port 2, communication is directly performed with the serial port module 3 through the No. 4 interface 15, No. 5 interface 16 and No. 7 interface 18 lines.
[0059] When a standard 100M network cable is used to connect the multiplexed port, according to the known 802.3 protocol standard definition, the external PHY chip 6 sends FLP fast link pulses through interface No. 1 12, interface No. 2 13, interface No. 3 14 and interface No. 6 17 to announce that the maximum port capacity value is 100M. Similarly, the capacity value announced by the opposite end is received through interface No. 1 12, interface No. 2 13, interface No. 3 14 and interface No. 6 17, thereby establishing a 100M link communication with the AUX module 4 without affecting the device serial port;
[0060] When the computer host uses a two-in-one USB to serial port and network card cable for connection, the three sets of computer host serial port TXD, RXD, and GND lines directly communicate with the serial port module through the No. 4 interface 15, No. 5 interface 16, and No. 7 interface 18 of the two-in-one device; similarly, the two-in-one USB network card used by the computer host is connected to the device network card through the No. 1 interface 12, No. 2 interface 13, No. 3 interface 14, and No. 6 interface 17. Finally, the serial port module 3 and the AUX module 4 are connected at the same time.
[0061] When a private customized serial port line is used to connect the multiplexed port 2, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, this circuit will automatically establish a connection from the serial port module 3 to the processing chip 1 for development and maintenance debugging; when a standard 100M network cable is used to connect the multiplexed port, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, this circuit will automatically establish a connection from the AUX module 4 to the processing chip 1 for remote configuration. This embodiment combines and reuses the two ports in hardware by connecting the AUX module 4 and the serial port module 3 to different wire interfaces of the multiplexed port 2, and the structure is simple. When the serial port line is used to insert the multiplexed port 2 for development and maintenance debugging, and the network cable is used to insert the multiplexed port 2 for customer application, since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexed port 2 are different, it is realized that when the network cable is inserted into the multiplexed port 2, it is connected to the AUX module 4, and when the serial port line is inserted into the multiplexed port 2, it is connected to the serial port module 3, thereby improving the utilization rate of the port.
[0062] The remaining structures are the same as those in the first embodiment and will not be described again.
[0063] In summary, the embodiments of the utility model relate to the field of device management ports, and more specifically, to a serial port and AUX port multiplexing circuit, including: a processing chip, a multiplexing port, a serial port module, and an AUX module, wherein the processing chip is electrically connected to the AUX module and the serial port module, the multiplexing port includes a plurality of wire interfaces, and the AUX module and the serial port module are connected to different wire interfaces of the multiplexing port. The utility model combines and multiplexes the two ports in hardware by connecting the AUX module and the serial port module to different wire interfaces of the multiplexing port, thereby reducing the hardware cost. When developing and maintaining debugging, a serial port line is used to insert into the multiplexing port, and when a customer uses it, a network cable is used to insert into the multiplexing port. Since the wire interfaces corresponding to the serial port line and the network cable when inserted into the multiplexing port are different, it is possible to achieve connection to the AUX model when the network cable is inserted into the multiplexing port, and to connect the serial port line to the serial port module when the serial port line is inserted into the multiplexing port, thereby improving the utilization rate of the port.
[0064] Obviously, the above embodiments of the present invention are merely examples for clearly explaining the present invention, and are not intended to limit the implementation methods of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the claims of the present invention.
Claims
1. A serial port and AUX port multiplexing circuit, characterized in that: include: A processing chip, a multiplexing port, a serial port module, and an AUX module, wherein the processing chip is electrically connected to the AUX module and the serial port module, the multiplexing port includes a plurality of wire interfaces, and the AUX module and the serial port module are connected to different wire interfaces of the multiplexing port.
2. A serial port and AUX port multiplexing circuit according to claim 1, characterized in that: The serial port module further includes a level conversion circuit, and the processing chip is connected to the serial port module via the level conversion circuit.
3. A serial port and AUX port multiplexing circuit according to claim 2, characterized in that: The processing chip also includes a UART serial port, and the level conversion circuit is connected to the UART serial port of the processing chip.
4. A serial port and AUX port multiplexing circuit according to claim 1, characterized in that: The serial port module also includes magnetic beads, which are located on the signal lines of the serial port module.
5. A serial port and AUX port multiplexing circuit according to claim 1, characterized in that: It also includes an external PHY chip, the external PHY chip includes an SGMII interface, and the processing chip includes an SGMII interface, and the external PHY chip is electrically connected to the SGMII interface of the processing chip through the SGMII interface of the external PHY chip.
6. A serial port and AUX port multiplexing circuit according to claim 1, characterized in that: The AUX module also includes a network transformer, which is located at the connection between the AUX module and the multiplexing port.
7. A serial port and AUX port multiplexing circuit according to claim 1, characterized in that: The AUX module also includes a lightning protection circuit, which is located at the power input of the AUX module.
8. A serial port and AUX port multiplexing circuit according to claim 1, characterized in that: The multiplexing port is an RJ45 interface, and the RJ45 interface includes 8 wire interfaces, namely interface No. 1, interface No. 2, interface No. 3, interface No. 4, interface No. 5, interface No. 6, interface No. 7, and interface No.
8.
9. A serial port and AUX port multiplexing circuit according to claim 8, characterized in that: The serial port module includes a CPU_TXD port, a CPU_RXD port, and a GND port, wherein the CPU_TXD port, the CPU_RXD port, and the GND port are respectively connected to interface No. 4, interface No. 5, and interface No. 7 of the RJ45 interface.
10. A serial port and AUX port multiplexing circuit according to claim 8, characterized in that: The AUX module includes an MDI_TXP port, an MDI_TXN port, an MDI_RXP port, and an MDI_RXN port, wherein the MDI_TXP port, the MDI_TXN port, the MDI_RXP port, and the MDI_RXN port are respectively connected to interface No. 1, interface No. 2, interface No. 3, and interface No. 6 of the RJ45 interface.
