Portable synchronous serial port data receiving device

The HDLC protocol signal is converted into USB interface signals through a portable synchronous serial port data receiving device, which solves the problem that HDLC protocol data cannot be received directly in the air traffic control system, and realizes flexible and reliable data transmission and low-cost portability.

CN223065733UActive Publication Date: 2025-07-04SOUTHWEST AIR TRAFFIC ADMINISTRATION OF CIVIL AVIATION OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521078243.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-07-04
Estimated Expiration
2035-05-29

AI Technical Summary

Technical Problem

In the existing air traffic control system, HDLC protocol data cannot be received directly on modern computers, and it is necessary to use a large size and 220V AC power supply HDLC-IP protocol converter, which makes it inconvenient to carry in flexible data collection occasions.

Method used

It adopts a portable synchronous serial port data receiving device, including RS232 serial port, RS232 to TTL serial port module, Raspberry Pi control board and USB interface. The HDLC protocol signal is converted into USB interface signals through the Raspberry Pi control board, and is directly powered by the computer USB interface to realize protocol analysis and data transmission.

Benefits of technology

It realizes flexible data transmission rates and low bit error rates, simple structure, high reliability, portability and low cost, and plug-and-play without additional power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223065733U_ABST
    Figure CN223065733U_ABST
Patent Text Reader

Abstract

The utility model provides a portable synchronous serial port data receiving device, and relates to the technical field of data transmission, the portable synchronous serial port data receiving device comprises an RS232 serial port, an RS232-to-TTL serial port module, a Raspberry Pi control panel and a USB interface, the RS232-to-TTL serial port module is connected to the RS232 serial port; the Raspberry Pi control panel is connected to the RS232 to TTL serial port module, and the USB interface is connected to the Raspberry Pi control panel The scheme of the utility model is simple and easy to implement, the synchronous serial port signal of the HDLC protocol of the RS-232 interface is directly converted into the USB interface signal through the conversion of the Raspberry Pi control panel, the data is sent to the computer, and the transmission rate is flexible and the bit error rate is relatively low; the data receiving device is directly powered by the USB interface of the computer, HDLC protocol communication analysis and communication between the data receiving device and the computer are directly achieved on one chip, reliability is high, plug and play are achieved, operation is easy and convenient, and portability and low cost are both considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data transmission, and particularly relates to a portable synchronous serial port data receiving device. Background Art

[0002] Currently, HDLC protocol is generally used for transmitting radar signals in the air traffic control system. Modern computers do not have HDLC protocol interfaces and cannot directly receive HDLC protocol data. To achieve the reception of radar data, a protocol converter is required to convert HDLC protocol data into common interface data of computers, such as IP data and USB data.

[0003] The HDLC protocol converter used in the air traffic control system is an HDLC-IP protocol converter. The input end of the hardware interface is 16-way RS232 interfaces, and the output end is 1-way IP interface. It is a standard 1U cabinet shelf product, powered by an external 220v AC power supply. This product is generally installed in a cabinet, with a large volume and requires an independent 220v AC power supply. It can convert 16-way HDLC data simultaneously and is suitable for use in fixed operating places and integrated into fixed systems. However, in occasions where data needs to be flexibly collected, this product is inconvenient to carry. Summary of the Utility Model

[0004] The embodiments of this application provide a portable synchronous serial port data receiving device, which can effectively solve the above problems.

[0005] The specific technical solution of this embodiment is as follows:

[0006] The embodiments of this application provide a portable synchronous serial port data receiving device, including an RS232 serial port, an RS232 to TTL serial port module, a Raspberry Pi control board (Raspberry Pi Pico), and a USB interface. The RS232 to TTL serial port module is connected to the RS232 serial port; the Raspberry Pi control board is connected to the RS232 to TTL serial port module, and the USB interface is connected to the Raspberry Pi control board.

[0007] In some of these embodiments, the RS232 serial port includes a first data pin, a first clock pin, and a first ground pin; the RS232-to-TTL serial port module includes a second data pin, a second clock pin, and a second ground pin. The second data pin is connected to the first data pin, the second clock pin is connected to the first clock pin, and the second ground pin is connected to the first ground pin; the RS232-to-TTL serial port module further includes a third data pin, a third clock pin, a third ground pin, and a first power supply pin; the Raspberry Pi control board includes a GPIO2 pin, a GPIO3 pin, a second power supply pin, and a fourth ground pin. The GPIO2 pin is connected to the third data pin, the GPIO3 pin is connected to the third clock pin, the second power supply pin is connected to the first power supply pin, and the fourth ground pin is connected to the third ground pin; the Raspberry Pi control board further includes a USB_IOVDD pin and a USB_D pin; the USB interface includes a third power supply pin and a fourth data pin. The third power supply pin is connected to the USB_IOVDD pin, and the fourth data pin is connected to the USB_D pin.

[0008] In some of these embodiments, the portable synchronous serial port data receiving device includes at least two groups of input components. Each group of input components includes an RS232 serial port and an RS232-to-TTL serial port module that are connected to each other. The RS232-to-TTL serial port module in each group of input components is connected to the Raspberry Pi control board.

[0009] In some of these embodiments, each of the third ground pins in at least two groups of input components is connected to each other, and the first power supply pins are connected to each other; the third data pins and the third clock pins in at least two groups of input components are respectively connected to the Raspberry Pi control board.

[0010] In some of these embodiments, the input voltage of the USB_IOVDD pin is 5V, and the input voltage of the first power supply pin is 3.3V.

[0011] In some of these embodiments, the Raspberry Pi control board is a 2040 development board.

[0012] In some of these embodiments, the RS232-to-TTL serial port module and the Raspberry Pi control board are located in a shielding box.

[0013] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0014] The portable synchronous serial port data receiving device solution provided by the embodiments of the present application is simple and easy to implement. Through the conversion of the Raspberry Pi control board, the synchronous serial port signal of the HDLC protocol with an RS-232 interface can be directly converted into a USB interface signal and sent to the computer, and it has a flexible transmission rate and a low error rate. The data receiving device is directly powered by the USB interface of the computer, and directly realizes the communication parsing of the HDLC protocol and the communication with the computer on one chip. It has a simple structure, high reliability, is plug-and-play, easy to operate, and takes into account portability and low cost. Description of the Drawings

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0016] Figure 1 It is a schematic circuit structure diagram of a portable synchronous serial port data receiving device provided by some embodiments of the present application;

[0017] Figure 2 It is a schematic circuit structure diagram of a portable synchronous serial port data receiving device provided by other embodiments of the present application;

[0018] Figure 3 It is a schematic structure diagram of a portable synchronous serial port data receiving device provided by some embodiments of the present application.

[0019] Wherein:

[0020] 10. Shielding box. Detailed Embodiments

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present application.

[0022] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, "a plurality of" means two or more, unless otherwise specifically defined.

[0023] "A and / or B" includes the following three combinations: only A, only B, and the combination of A and B.

[0024] The use of "suitable for" or "configured to" in the present application means open and inclusive language, which does not exclude a device that is suitable for or configured to perform additional tasks or steps. Additionally, the use of "based on" means open and inclusive because a process, step, calculation, or other action "based on" one or more of the said conditions or values can in practice be based on additional conditions or beyond the said values.

[0025] In the present application, the term "exemplary" is used to mean "serving as an example, illustration, or explanation". Any embodiment described as "exemplary" in the present application is not necessarily to be construed as more preferred or more advantageous than other embodiments. In order for any person skilled in the art to implement and use the present application, the following description is given. In the following description, details are set forth for purposes of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can be implemented without the use of these specific details. In other instances, well-known structures and processes are not elaborated in detail so as not to obscure the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in the present application.

[0026] An embodiment of the present application provides a portable synchronous serial port data receiving device, including an RS232 serial port, an RS232 to TTL serial port module, a Raspberry Pi Pico control board, and a USB interface. The RS232 to TTL serial port module is connected to the RS232 serial port; the Raspberry Pi Pico control board is connected to the RS232 to TTL serial port module, and the USB interface is connected to the Raspberry Pi Pico control board.

[0027] The RS232 serial port is also known as the RS232C serial port. The RS232 serial port can be specifically set according to the matching device. For example, a 25-pin RS232 serial port can be used. The USB interface can also be specifically set as a male plug or a female plug according to the matching needs.

[0028] In the above embodiments, the portable synchronous serial port data receiving device can implement the conversion from the RS232 interface to the USB interface based on the HDLC communication protocol. It can directly connect the USB interface to a computer. Without any configuration and additional power supply, it can perform the protocol conversion of HDLC to USB data in real time, and has the characteristics of flexible transmission rate, low bit error rate, low cost, and good portability. The portable synchronous serial port data receiving device has the advantages of being convenient to carry, not requiring additional 220V AC power supply, plug-and-play, and low price, and can effectively realize convenient HDLC data acquisition.

[0029] In some of the embodiments, the RS232 serial port includes a first data pin, a first clock pin, and a first ground pin; the RS232 to TTL serial port module includes a second data pin, a second clock pin, and a second ground pin. The second data pin is connected to the first data pin, the second clock pin is connected to the first clock pin, and the second ground pin is connected to the first ground pin; the RS232 to TTL serial port module further includes a third data pin, a third clock pin, a third ground pin, and a first power supply pin; the Raspberry Pi control board includes a GPIO2 pin, a GPIO3 pin, a second power supply pin, and a fourth ground pin. The GPIO2 pin is connected to the third data pin, the GPIO3 pin is connected to the third clock pin, the second power supply pin is connected to the first power supply pin, and the fourth ground pin is connected to the third ground pin; the Raspberry Pi control board further includes a USB_IOVDD pin and a USB_D pin; the USB interface includes a third power supply pin and a fourth data pin. The third power supply pin is connected to the USB_IOVDD pin, and the fourth data pin is connected to the USB_D pin.

[0030] In the above embodiments, the received data pin (i.e., the first data pin) of the RS232 serial port is connected to the received data pin (i.e., the second data pin) of the RS232 to TTL serial port module, the clock pin (i.e., the first clock pin) of the RS232 serial port is connected to the clock pin (i.e., the second clock pin) of the RS232 to TTL serial port module, and the GND ground pin (i.e., the first ground pin) of the RS232 serial port is connected to the GND ground pin (i.e., the second ground pin) of the RS232 to TTL serial port module, so as to realize the simplex synchronous transmission of radar signals.

[0031] The VCC pin (i.e., the first power supply pin) of the RS232-to-TTL serial port module is connected to the 3V3 pin (i.e., the second power supply pin) of the Raspberry Pi control board. The GND pin (i.e., the third ground pin) of the RS232-to-TTL serial port module is connected to the GND pin (i.e., the fourth ground pin) of the Raspberry Pi control board. The data pin (i.e., the third data pin) of the RS232-to-TTL serial port module is connected to the GPIO2 pin of the Raspberry Pi control board. The clock pin (i.e., the third clock pin) of the RS232-to-TTL serial port module is connected to the GPIO3 pin of the Raspberry Pi control board. The USB_IOVDD pin of the Raspberry Pi control board is connected to the 5V voltage pin (i.e., the third power supply pin) of the USB interface. The USB_D pin of the Raspberry Pi control board is connected to the DATA data pin (i.e., the fourth data pin) of the USB interface. Among them, the connection between the Raspberry Pi control board and the USB interface can be achieved by using a common USB data cable; the connection between the RS232-to-TTL serial port module and the Raspberry Pi control board can be made through a conductive printed tape.

[0032] The USB interface is connected to an external computer. The USB interface obtains power from the computer to supply power to the Raspberry Pi control board, and the Raspberry Pi control board converts the 5V power supply of the USB into 3.3V power supply to the RS232-to-TTL serial port module. The RS232 serial port receives the radar synchronization data signal transmitted from the external data distributor and transmits the synchronization data signal to the Raspberry Pi control board through the RS232-to-TTL serial port module. The Raspberry Pi control board can receive the signal according to the conventional settings in accordance with the HDLC protocol. The HDLC protocol is implemented by programming the programmable I / O (PIO) state machine and the assembly instruction set, completing the reception of the HDLC synchronous serial port data and converting it into asynchronous serial port data. For each byte of HDLC data received, it is immediately sent to the computer through the asynchronous serial port. When a frame of HDLC data ends, the character '\r' is sent to the computer to indicate the end of this frame of HDLC data.

[0033] In some of these embodiments, the portable synchronous serial port data receiving device includes at least two groups of input components. Each group of input components includes an RS232 serial port and an RS232-to-TTL serial port module connected to each other. The RS232-to-TTL serial port module in each group of input components is connected to the Raspberry Pi control board.

[0034] In some of these embodiments, the third ground pins of each of the at least two groups of input components are connected to each other, and the first power supply pins are connected to each other; the third data pins and the third clock pins of the at least two groups of input components are respectively connected to the Raspberry Pi control board.

[0035] In the above embodiments, a portable synchronous serial port data multi-channel receiving device can be implemented. According to the specific number of channels set, for each additional channel, 1 RS232 serial port and 1 RS232 to TTL serial port module can be added. The specific connection is as follows Figure 2 shown. The connection between the newly added RS232 serial port and the RS232 to TTL serial port module is the same as above; for the connection between the newly added RS232 to TTL serial port module and the Raspberry Pi control board, GPIO4 and GPIO5 ports of the Raspberry Pi control board are used, and the others are the same as above. The Raspberry Pi control board can, based on the conventional settings, add a programmable I / O (PIO) state machine, and use the assembly instruction set to program to implement the HDLC protocol, complete the reception of the synchronous serial port signal of the second channel, the conversion of the synchronous serial port signal to the asynchronous serial port signal, the framing and sending of the asynchronous serial port signal.

[0036] In some of these embodiments, the input voltage of the USB_IOVDD pin is 5V, and the input voltage of the first power supply pin is 3.3V.

[0037] In the above embodiments, the RS232 to TTL serial port module can convert the 5V voltage of the RS232 serial port into a 3.3V TTL voltage. In some application scenarios, the SP3232 chip can be used for the RS232 to TTL serial port module.

[0038] In some of these embodiments, the Raspberry Pi control board is a 2040 development board.

[0039] In the above embodiments, the Raspberry Pi 2040 development board uses the RP2040 microcontroller chip, with up to 26 multifunctional GPIO pins and 8 programmable I / O (PIO) state machines, which can be used for custom peripheral support.

[0040] In some of these embodiments, the RS232 to TTL serial port module and the Raspberry Pi control board are located in the shielding box 10.

[0041] In the above embodiments, it is possible to shield the electromagnetic interference from the external environment. The hardware can be soldered inside the stainless steel shielding box 10. The specific finished product structure is as follows Figure 3 shown. The shielding box 10 has 3 openings, among which 2 openings are used for HDLC signal connection (i.e., the placement openings for the special conversion cable between the RS232 serial port and the RS232 to TTL serial port), and 1 opening is used for USB connection (the placement opening for the USB data cable used for the connection between the Raspberry Pi control board and the USB interface).

[0042] The above has introduced in detail a portable synchronous serial port data receiving device provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A portable synchronous serial port data receiving device, characterized in that Including: RS232 serial port; RS232 to TTL serial port module, connected to the RS232 serial port; Raspberry Pi control board, connected to the RS232 to TTL serial port module; USB interface, connected to the Raspberry Pi control board.

2. The portable synchronous serial port data receiving device according to claim 1, wherein The RS232 serial port includes a first data pin, a first clock pin and a first ground pin; The RS232 to TTL serial port module includes a second data pin, a second clock pin and a second ground pin. The second data pin is connected to the first data pin, the second clock pin is connected to the first clock pin, and the second ground pin is connected to the first ground pin. The RS232 to TTL serial port module further includes a third data pin, a third clock pin, a third ground pin and a first power supply pin; The Raspberry Pi control board includes a GPIO2 pin, a GPIO3 pin, a second power supply pin and a fourth ground pin. The GPIO2 pin is connected to the third data pin, the GPIO3 pin is connected to the third clock pin, the second power supply pin is connected to the first power supply pin, and the fourth ground pin is connected to the third ground pin. The Raspberry Pi control board further includes a USB_IOVDD pin and a USB_D pin; The USB interface includes a third power supply pin and a fourth data pin. The third power supply pin is connected to the USB_IOVDD pin, and the fourth data pin is connected to the USB_D pin.

3. The portable synchronous serial port data receiving device according to claim 2, characterized in that The portable synchronous serial port data receiving device includes at least two groups of input components. Each group of the input components includes an RS232 serial port and an RS232 to TTL serial port module connected to each other. The RS232 to TTL serial port module in each group of the input components is connected to the Raspberry Pi control board.

4. The portable synchronous serial port data receiving device according to claim 3, wherein Each of the third ground pins in the at least two groups of input components is connected to each other, and the first power supply pins are connected to each other; The third data pin and the third clock pin in the at least two groups of input components are respectively connected to the Raspberry Pi control board.

5. The portable synchronous serial port data receiving device according to claim 2, wherein The input voltage of the USB_IOVDD pin is 5V, and the input voltage of the first power supply pin is 3.3V.

6. The portable synchronous serial port data receiving device according to claim 1, wherein The Raspberry Pi control board is a 2040 development board.

7. The portable synchronous serial port data receiving device according to claim 1, characterized in that The RS232 to TTL serial port module and the Raspberry Pi control board are located in a shielding box.