Serial port debugging device and system

The RJ45 network port and the serial port debugging device with the toggle switch automatically adapt to protocols defined by different standards, solving the problems of wiring errors and time consumption in the debugging of secondary terminal equipment in the power distribution network, and realizing efficient and low-cost equipment testing.

CN223786091UActive Publication Date: 2026-01-09ZHUHAI FEISEN POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520305692.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2026-01-09
Estimated Expiration
2035-02-24

AI Technical Summary

Technical Problem

During the commissioning of secondary terminal equipment in the distribution network, it is necessary to adapt to protocols defined by different standards. Existing technologies have the problems of high time consumption and risk of wiring errors.

Method used

The serial port debugging device uses an RJ45 network port, a toggle switch, and a DB9 female connector. By switching between different positions using the toggle switch, it can automatically adapt to protocols defined by different standards and achieve rapid transmission of device information.

Benefits of technology

It improved debugging efficiency, reduced wiring errors, ensured normal equipment communication, and lowered debugging costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223786091U_ABST
    Figure CN223786091U_ABST
Patent Text Reader

Abstract

The utility model discloses a serial port debugging device and system. A mold comprises an RJ45 network port, a toggle switch and a DB9 female head, the RJ45 network port is used for connecting to-be-tested equipment and sending equipment information of the to-be-tested equipment to the DB9 female head; the toggle switch is used for toggling to a first gear, so that the RJ45 network port is electrically connected with the DB9 female joint through a protocol defined by a first standard; the first shift is used for shifting to a second shift, so that the RJ45 network port is electrically connected with the DB9 female joint through a protocol defined by a second standard; and the DB9 female head is used for sending the equipment information to an upper computer. The standard-defined protocol adapted between the RJ45 network port and the DB9 female head is selected through the toggle switch, protocols with different standard definitions can be quickly adapted, the working efficiency is high, manual wiring is not needed, the risk that secondary terminal equipment of a power distribution network is blocked due to wiring errors is reduced, and the debugging device can be widely applied to the technical field of debuggers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of debugger technology, and in particular to a serial port debugging device and system. Background Technology

[0002] During the research, development, testing, production, and commissioning of secondary terminal equipment in the distribution network, it is necessary to test the logic, protection, and measurement functions of the secondary terminal equipment.

[0003] During the commissioning of secondary terminal equipment in the distribution network, complex protocol conversion is required between different devices. Due to different pin definitions, there are different standard definitions of the same protocol. It takes a lot of time to adapt to the different standard definitions of the protocol. Furthermore, manually adapting to the different standard definitions of the protocol by wiring carries the risk of wiring errors leading to the failure of the secondary terminal equipment in the distribution network. Utility Model Content

[0004] In view of this, the purpose of this utility model embodiment is to provide a serial port debugging device and system that can quickly adapt to protocols defined by different standards, has high working efficiency, and does not require manual wiring, thus reducing the risk of secondary terminal equipment in the power distribution network failing due to wiring errors.

[0005] In a first aspect, this utility model embodiment provides a serial port debugging device, including: an RJ45 network port, a toggle switch, and a DB9 female connector;

[0006] The RJ45 network port is used to connect to the device under test and send the device information of the device under test to the DB9 female connector;

[0007] The toggle switch is used to move to the first position so that the RJ45 network port can be electrically connected to the DB9 female connector through a protocol defined by a first standard; and to move to the second position so that the RJ45 network port can be electrically connected to the DB9 female connector through a protocol defined by a second standard, wherein the protocol defined by the first standard and the protocol defined by the second standard belong to the same protocol defined by different standards;

[0008] The DB9 female header is used to send the device information to the host computer.

[0009] Optionally, the protocol defined by the first standard is configured as RS232 as defined by the first standard, and the protocol defined by the second standard is configured as RS232 as defined by the second standard.

[0010] Optionally, the serial port debugging device further includes an LCD interface, which is electrically connected to the RJ45 network port and is used to send the device information to the LCD screen.

[0011] Optionally, the toggle switch is also used to toggle to the third position so that the RJ45 network port is electrically connected to the LCD interface via a protocol defined by a third standard.

[0012] Optionally, the DB9 female connector is also electrically connected to an XH terminal and a plug-in terminal. The XH terminal is electrically connected to the device under test via a protocol defined by a first standard or a protocol defined by a second standard, and the plug-in terminal is electrically connected to the device under test via a protocol defined by a first standard or a protocol defined by a second standard.

[0013] Optionally, the toggle switch includes a chip SS-23H02 and peripheral circuitry of the chip SS-23H02.

[0014] Optionally, when the toggle switch is to the first position, the first signal output pin of the SS-23H02 chip is electrically connected to the first signal input pin of the RJ45 network port, and the first signal input pin of the SS-23H02 chip is electrically connected to the first signal output pin of the RJ45 network port; when the toggle switch is to the second position, the second signal output pin of the SS-23H02 chip is electrically connected to the second signal input pin of the RJ45 network port, and the second signal input pin of the SS-23H02 chip is electrically connected to the second signal output pin of the RJ45 network port.

[0015] Optionally, the signal output pins of the XH terminal and the plug-in terminal are both electrically connected to the third signal input pin of the DB9 female connector, and the signal input pins of the XH terminal and the plug-in terminal are both electrically connected to the third signal output pin of the DB9 female connector.

[0016] Optionally, the signal output pin of the LCD interface is electrically connected to the first signal input pin of the RJ45 network port, and the signal input pin of the LCD interface is electrically connected to the first signal output pin of the RJ45 network port.

[0017] Secondly, this utility model provides a serial port debugging device system, including the aforementioned serial port debugging device.

[0018] The implementation of this utility model embodiment has the following beneficial effects: This utility model embodiment provides a serial port debugging device, including: an RJ45 network port, a toggle switch, and a DB9 female connector; the RJ45 network port is used to connect to the device under test (DUT) and send the DUT's device information to the DB9 female connector; the toggle switch is used to toggle to a first position, so that the RJ45 network port is electrically connected to the DB9 female connector through a first standard-defined protocol; and to toggle to a second position, so that the RJ45 network port is electrically connected to the DB9 female connector through a second standard-defined protocol; the DB9 female connector is used to send the device information to a host computer. By selecting the standard-defined protocol that is compatible between the RJ45 network port and the DB9 female connector through the toggle switch, it is possible to communicate with DUTs that have different standard-defined protocols, so that the DB9 female connector can send the DUT's device information to the host computer for testing. It can quickly adapt to different standard-defined protocols, has high working efficiency, and eliminates the need for manual wiring, reducing the risk of wiring errors causing secondary terminal equipment in the power distribution network to malfunction. Attached Figure Description

[0019] Figure 1 The structural block diagram of the serial port debugging device provided by this utility model;

[0020] Figure 2 The circuit schematic diagram of the RJ45 network port provided by this utility model;

[0021] Figure 3 The circuit diagram of the toggle switch provided by this utility model;

[0022] Figure 4 A circuit diagram showing the electrical connection between the XH terminal and the plug-in terminal provided by this utility model and the DB9 female connector;

[0023] Figure 5 The circuit schematic diagram provides the liquid crystal interface for this utility model. Detailed Implementation

[0024] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.

[0025] In this embodiment of the invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this embodiment of the invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0026] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this utility model, unless otherwise stated, "a plurality of" means two or more.

[0027] Firstly, referring to Figure 1 This utility model provides a serial port debugging device, including: an RJ45 network port, a toggle switch and a DB9 female connector;

[0028] The RJ45 network port is used to connect to the device under test and send the device information of the device under test to the DB9 female connector;

[0029] The toggle switch is used to move to the first position so that the RJ45 network port can be electrically connected to the DB9 female connector through a protocol defined by a first standard; and to move to the second position so that the RJ45 network port can be electrically connected to the DB9 female connector through a protocol defined by a second standard, wherein the protocol defined by the first standard and the protocol defined by the second standard belong to the same protocol defined by different standards;

[0030] The DB9 female header is used to send the device information to the host computer.

[0031] Specifically, the RJ45 (Registered Jack 45) network port is a commonly used network interface widely used in Ethernet connections. It consists of an 8-pin connector (usually called a crystal head) and a corresponding 8-pin socket. Each of these pins corresponds to a specific wire color, forming the basis of color-coded wiring arrangements crucial for connector operation. This application connects electrically to the device under test (DUT) via the RJ45 network port. The DUT is the secondary terminal equipment of the distribution network that needs to be measured. Generally, secondary terminal equipment of the distribution network uses different standard definitions for the same protocol. When connecting to secondary terminal equipment with different standard definitions, the pins of the secondary terminal equipment must be matched, meaning the pins of the secondary terminal equipment with different standard definitions have different functions. This application adapts to different standard definitions by switching a toggle switch to different positions according to the secondary terminal equipment with different standard definitions. If the secondary terminal equipment in the distribution network uses the first standard definition protocol, switching the toggle switch to the first position will allow the RJ45 port to electrically connect to the DB9 female connector using the first standard definition protocol. This sends the device information of the secondary terminal equipment to the DB9 female connector, which then directly sends the device information to the host computer for analysis and testing. By switching the toggle switch to different positions, different standard definitions of protocols can be matched, enabling rapid adaptation to different standard definitions of protocols. This results in high work efficiency and eliminates the need for traditional manual wiring, reducing the risk of connection failure due to wiring errors in the secondary terminal equipment.

[0032] In some optional embodiments, the protocol defined by the first standard is configured as RS232 as defined by the first standard, and the protocol defined by the second standard is configured as RS232 as defined by the second standard.

[0033] Specifically, the RS232 pin definitions mainly include RXD, TXD, and GND. The corresponding RJ45 network port definitions for RS232 vary by region. When using an RS232 serial debugging cable (USB-DB9), upon connecting to the DB9 port, observe whether the secondary terminal device connected via RJ45 belongs to the State Grid standard RS232 definition (the first standard definition) or the Southern Power Grid standard RS232 definition (the second standard definition). Switch the toggle switch to the indicated standard of the device under test to enable communication between the host computer and the device under test.

[0034] In some alternative embodiments, the toggle switch includes a chip SS-23H02 and peripheral circuitry of the chip SS-23H02.

[0035] In some optional embodiments, when the toggle switch is to the first position, the first signal output pin of the SS-23H02 chip is electrically connected to the first signal input pin of the RJ45 network port, and the first signal input pin of the SS-23H02 chip is electrically connected to the first signal output pin of the RJ45 network port; when the toggle switch is to the second position, the second signal output pin of the SS-23H02 chip is electrically connected to the second signal input pin of the RJ45 network port, and the second signal input pin of the SS-23H02 chip is electrically connected to the second signal output pin of the RJ45 network port.

[0036] Specifically, refer to Figure 2-3 When the toggle switch is moved to the first position, the first signal output pin (pins 5 and 8) of the SS-23H02 chip is electrically connected to the first signal input pin (pin 3) of the RJ45 network port, and the first signal input pin (4) of the SS-23H02 chip is electrically connected to the first signal output pin (pin 1) of the RJ45 network port, so that the RJ45 network port is electrically connected to the SS-23H02 chip through the protocol defined by the first standard, and the device information sent by the RJ45 network port is sent to the DB9 female connector through the SS-23H02 chip. Similarly, when the toggle switch is moved to the second position, the second signal output pin (pin 7) of the SS-23H02 chip is electrically connected to the second signal input pin (pin 7) of the RJ45 network port, and the second signal input pin (2) of the SS-23H02 chip is electrically connected to the second signal output pin (pin 4) of the RJ45 network port, so that the RJ45 network port is electrically connected to the SS-23H02 chip through the protocol defined by the second standard, and the device information sent by the RJ45 network port is sent to the DB9 female connector through the SS-23H02 chip.

[0037] In some optional embodiments, the signal output pins of the XH terminal and the plug-in terminal are both electrically connected to the third signal input pin of the DB9 female connector, and the signal input pins of the XH terminal and the plug-in terminal are both electrically connected to the third signal output pin of the DB9 female connector.

[0038] In some optional embodiments, the DB9 female connector is also electrically connected to an XH terminal and a plug-in terminal. The XH terminal is electrically connected to the device under test via a protocol defined by a first standard or a protocol defined by a second standard, and the plug-in terminal is electrically connected to the device under test via a protocol defined by a first standard or a protocol defined by a second standard.

[0039] Specifically, refer to Figure 4The signal output pin (pin 1) of the XH terminal (J5) is electrically connected to the third signal input pin (pin 2) of the DB9 female connector, and the signal input pin (pin 2) of the XH terminal (J5) is electrically connected to the third signal output pin (3) of the DB9 female connector; similarly, the signal output pin (pin 2) of the plug-in terminal (J6) is electrically connected to the third signal input pin (pin 2) of the DB9 female connector, and the signal input pin (pin 3) of the plug-in terminal (J6) is electrically connected to the third signal output pin (3) of the DB9 female connector. This application allows for electrical connection to the device under test (DUT) via the XH terminal using either the first or second standard-defined protocol, without using an RJ45 network port. Similarly, the plug-in terminal allows for electrical connection to the DUT using either the first or second standard-defined protocol, enabling the serial port debugging device to adapt to more interface types of DUTs. The specific standard definition is determined based on the specific wiring and is not limited here.

[0040] In some optional embodiments, the serial port debugging device further includes an LCD interface, which is electrically connected to the RJ45 network port and is used to send the device information to the LCD screen.

[0041] In some optional embodiments, the toggle switch is also used to toggle to a third position so that the RJ45 network port is electrically connected to the liquid crystal interface via a protocol defined by a third standard.

[0042] In some optional embodiments, the signal output pin of the liquid crystal interface is electrically connected to the first signal input pin of the RJ45 network port, and the signal input pin of the liquid crystal interface is electrically connected to the first signal output pin of the RJ45 network port.

[0043] Specifically, refer to Figure 2 and 5 When the toggle switch is moved to the third position, the RJ45 network port is electrically connected to the LCD interface through the protocol defined by the third standard (i.e., the LCD standard definition). The LCD interface then sends the device information of the device under test to the LCD screen for display. The signal input pin (pin 3) of the LCD interface is electrically connected to the first signal output pin (1) of the RJ45 network port, and the signal output pin (pin 2) of the LCD interface is electrically connected to the first signal input pin (3) of the RJ45 network port.

[0044] In some optional embodiments, the serial port debugging device of this application is small in size, with a length, width and height of only 80*50*20mm. It not only meets the requirements of everyday tool environments, but can also be easily carried in a pocket for use during business trips. It meets the RS232 serial port definitions of both the State Grid and Southern Power Grid standards. Even when encountering devices without an RJ45 debugging port, it can be connected to the device under test through two external terminals (XH terminal and plug-in terminal). (Both XH terminal and plug-in terminal are silkscreened and correspond one-to-one with the RS232 required for communication). It is basically compatible with all devices with RS232 on the market.

[0045] In some alternative embodiments, the potential time cost of setting up the test environment and correcting incorrect wiring in the field debugging environment is high. This serial port debugging tool can avoid the above risks, and according to calculations, the cost of a single BOM can be controlled within 100 yuan, which greatly improves the adoption rate.

[0046] The implementation of this utility model embodiment has the following beneficial effects: This utility model embodiment provides a serial port debugging device, including: an RJ45 network port, a toggle switch, and a DB9 female connector; the RJ45 network port is used to connect to the device under test (DUT) and send the DUT's device information to the DB9 female connector; the toggle switch is used to toggle to a first position, so that the RJ45 network port is electrically connected to the DB9 female connector through a first standard-defined protocol; and to toggle to a second position, so that the RJ45 network port is electrically connected to the DB9 female connector through a second standard-defined protocol; the DB9 female connector is used to send the device information to a host computer. By selecting the standard-defined protocol that is compatible between the RJ45 network port and the DB9 female connector through the toggle switch, it is possible to communicate with DUTs that have different standard-defined protocols, so that the DB9 female connector can send the DUT's device information to the host computer for testing. It can quickly adapt to different standard-defined protocols, has high working efficiency, and eliminates the need for manual wiring, reducing the risk of wiring errors causing secondary terminal equipment in the power distribution network to malfunction.

[0047] Secondly, this utility model provides a serial port debugging device system, including the aforementioned serial port debugging device.

[0048] It is evident that the contents of the above-described serial port debugging device embodiments are all applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above-described serial port debugging device embodiments, and the beneficial effects achieved are also the same as those achieved in the above-described serial port debugging device embodiments.

[0049] In this specification, the reference to the term "in a particular embodiment" means that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0050] The above is a detailed description of the preferred embodiments of the present utility model. However, the present utility model is not limited to the described embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present utility model. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. A serial port debugging device, characterized in that, include: RJ45 network port, toggle switch and DB9 female connector; The RJ45 network port is used to connect to the device under test and send the device information of the device under test to the DB9 female connector; The toggle switch is used to move to the first position so that the RJ45 network port can be electrically connected to the DB9 female connector through a protocol defined by a first standard; and to move to the second position so that the RJ45 network port can be electrically connected to the DB9 female connector through a protocol defined by a second standard, wherein the protocol defined by the first standard and the protocol defined by the second standard belong to the same protocol defined by different standards; The DB9 female header is used to send the device information to the host computer.

2. The serial port debugging device according to claim 1, characterized in that, The protocol defined by the first standard is configured as RS232 as defined by the first standard, and the protocol defined by the second standard is configured as RS232 as defined by the second standard.

3. The serial port debugging device according to claim 1, characterized in that, The serial port debugging device also includes an LCD interface, which is electrically connected to the RJ45 network port. The LCD interface is used to send the device information to the LCD screen.

4. The serial port debugging device according to claim 3, characterized in that, The toggle switch is also used to move to the third position so that the RJ45 network port can be electrically connected to the LCD interface through a protocol defined by a third standard.

5. The serial port debugging device according to claim 1, characterized in that, The DB9 female connector is also electrically connected to an XH terminal and a plug-in terminal. The XH terminal is electrically connected to the device under test via a protocol defined by a first standard or a protocol defined by a second standard. The plug-in terminal is also electrically connected to the device under test via a protocol defined by a first standard or a protocol defined by a second standard.

6. The serial port debugging device according to claim 1, characterized in that, The toggle switch includes chip SS-23H02 and peripheral circuitry of chip SS-23H02.

7. The serial port debugging device according to claim 6, characterized in that, When the toggle switch is moved to the first position, the first signal output pin of the SS-23H02 chip is electrically connected to the first signal input pin of the RJ45 network port, and the first signal input pin of the SS-23H02 chip is electrically connected to the first signal output pin of the RJ45 network port; when the toggle switch is moved to the second position, the second signal output pin of the SS-23H02 chip is electrically connected to the second signal input pin of the RJ45 network port, and the second signal input pin of the SS-23H02 chip is electrically connected to the second signal output pin of the RJ45 network port.

8. The serial port debugging device according to claim 5, characterized in that, The signal output pins of the XH terminal and the plug-in terminal are both electrically connected to the third signal input pin of the DB9 female connector, and the signal input pins of the XH terminal and the plug-in terminal are both electrically connected to the third signal output pin of the DB9 female connector.

9. The serial port debugging device according to claim 3, characterized in that, The signal output pin of the LCD interface is electrically connected to the first signal input pin of the RJ45 network port, and the signal input pin of the LCD interface is electrically connected to the first signal output pin of the RJ45 network port.

10. A serial port debugging device system, characterized in that, Includes the serial port debugging device according to any one of claims 1-9.