Wireless communication device based on USB channel
By using wireless modules and auxiliary control chips in USB wireless communication devices, directly connecting to the USB host, using UART interfaces and virtual network cards, the high cost and instability problems of USB wireless communication devices in the existing technology are solved, and the more Efficient communication and more convenient development process.
Patent Information
- Application Number
- CN202420615088.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2034-03-27
AI Technical Summary
During the development process of existing USB wireless communication devices, there are high hardware and software costs, communication instability and real-time problems. Especially when using USB communication functions, the embedded system needs to be developed secondaryly, which increases learning costs and communication delays. .
A wireless communication device based on USB channel is designed, using wireless modules and auxiliary control chips, and communication is connected through the UART interface, which directly communicates with the USB host and wireless module, reducing the participation of intermediate MCUs, and utilizing virtual network cards and communications. The interface expansion module improves communication stability and real-time performance, and realizes load balancing through the power detection module.
It reduces hardware and software development costs, improves communication stability and real-time performance, simplifies the functional requirements of MCUs, shortens the development cycle, and realizes multi-scenario applications and product expansion.
Smart Images

Figure CN222029934U_ABST
Abstract
Description
Technical Field
[0001] The utility model provides a wireless communication device based on a USB channel, belonging to USB wireless communication devices. Background Art
[0002] Wireless communication equipment can be used in industry, electric power, military industry and other occasions where wireless communication products need to be developed. Many industrial products require the use of wireless communication, and there are many wireless communication methods, such as 4G, 5G, WIFI, etc. When developing wireless communication functions, these products are likely to choose more mature wireless communication modules for development. With the development of technology, wireless modules can provide more and more local communication interfaces and functions, which are becoming more and more convenient. This includes the USB communication interface. In general, especially when the product is used as an expansion module, it is necessary to use USB communication with the main device. Based on this wireless communication module, it is necessary to develop an embedded system for the second time. Specific wireless communication devices such as Figure 1 As shown in the figure, this solution requires additional learning costs; at the same time, it also has the following technical defects:
[0003] 1. The cost of MCU with USB communication function is generally high, which will increase the hardware cost;
[0004] 2. The software development cost of USB is generally higher than that of Uart, and MCU developers need to be familiar with the communication protocol of 4G module based on Uart interface, which will increase software cost;
[0005] 3. The USB host needs to forward the data received and sent wirelessly by an additional MCU, which undoubtedly increases the instability of communication and reduces the real-time performance of communication;
[0006] 4. The communication rate of Uart is much lower than that of USB, which will greatly affect the real-time performance of communication. Utility Model Content
[0007] The utility model provides a wireless communication device based on a USB channel to solve the above technical problems in the prior art. The technical solutions adopted are as follows:
[0008] A wireless communication device based on a USB channel, comprising a wireless module and an auxiliary control chip; wherein the communication port of the auxiliary control chip is connected to the communication port of the wireless module; and the USB interface of the wireless module is connected to the communication interface of the USB host.
[0009] Furthermore, the auxiliary control chip adopts an MCU chip.
[0010] Furthermore, the wireless module and the auxiliary control chip are communicatively connected via a UART interface.
[0011] Furthermore, the wireless module has an internal device virtual network card; the wireless module is communicatively connected with the USB host via the virtual network card.
[0012] Furthermore, the wireless module internal device virtual network card forms one or more USB virtual communication channels inside the wireless module.
[0013] Furthermore, the USB virtual communication channel is a communication channel from the UART interface to the USB interface.
[0014] Furthermore, the wireless module uses a 4G and / or 5G communication connection method to establish a communication connection with a communication interface of the USB host.
[0015] Furthermore, the wireless communication device based on the USB channel also includes a communication interface expansion module; the signal input end of the communication interface expansion module is connected to the USB wireless signal output end of the wireless communication device; the USB signal output end of the communication interface expansion module is connected to the SB signal input end of the USB host.
[0016] Furthermore, the communication interface expansion module includes a USB wireless signal receiving circuit, a HUB expansion circuit, a wireless signal conditioning circuit, a USB wireless signal transmitting circuit and multiple USB interface output circuits; the wireless signal input end of the USB wireless signal receiving circuit is connected to the USB wireless signal output end of the wireless communication device; the signal output end of the USB wireless signal receiving circuit is connected to the signal input end of the wireless signal conditioning circuit; the signal output end of the wireless signal conditioning circuit is connected to the signal input end of the USB wireless signal transmitting circuit; the USB wireless signal output end of the USB wireless signal transmitting circuit is connected to the USB wireless signal input end of the USB host; the signal output end of the USB wireless signal receiving circuit is also connected to the signal input end of the HUB expansion circuit; the USB signal output end of the HUB expansion circuit is connected to the signal input ends of the multiple USB interface output circuits; the USB signal output interface of the multiple USB interface output circuits is connected to the USB signal interface of the USB host.
[0017] Furthermore, the USB channel-based wireless communication device also includes a power supply circuit and a power supply input signal detection and adjustment module; the power supply signal output end of the power supply circuit is connected to the power supply signal end of the auxiliary control chip through the power supply input signal detection and adjustment module.
[0018] Beneficial effects of the utility model:
[0019] The utility model proposes a wireless communication device based on a USB channel through Figure 2 The circuit structure principle shown can not only conveniently increase the number of USB cascade modules, but also realize the automatic balancing of the host USB interface load. That is, it will not reduce the user experience, and can effectively improve the anti-interference ability. At the same time, the USB host communicates directly with the wireless module without an intermediate link, which greatly improves the stability and real-time performance of the communication. On the other hand, the wireless communication data of a wireless communication device based on a USB channel proposed by the utility model all interact directly with the wireless module, and the additional MCU no longer involves the wireless communication link, and only needs to complete the customized tasks according to actual needs, which greatly reduces the requirements for the functions and performance of the MCU, and further reduces the hardware cost. At the same time, since the development of the MCU is relatively easy and no longer involves the wireless communication link, the embedded software functions based on the MCU will naturally be reduced, thereby effectively shortening the development cycle of the MCU and reducing the software development cost; at the same time, the invariant and the variable in the wireless communication product are effectively separated, and the application of multiple scenarios is realized without changing the hardware structure of the communication device, which improves the application of the wireless communication device and is more convenient for the expansion of the product series. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A circuit schematic diagram of a wireless communication device of the prior art corresponding to the present utility model;
[0021] Figure 2 The circuit principle of the wireless communication device described in this utility model Figure 1 ;
[0022] Figure 3 The circuit principle of the wireless communication device described in this utility model Figure 2 ;
[0023] Figure 4 The circuit principle of the wireless communication device described in this utility model Figure 3 . DETAILED DESCRIPTION
[0024] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0025] The present invention will be further described below in conjunction with specific embodiments, but the present invention is not limited by the embodiments.
[0026] In the description of the present invention, it should be noted that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "top", "bottom", "inside", "outside" and "vertical" indicate directions or positional relationships based on the directions 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 direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0027] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" 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 direct connection, or an indirect connection 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.
[0028] In addition, in the description of the present utility model, unless otherwise specified, "multiple", "multiple groups" and "multiple roots" mean two or more.
[0029] Unless otherwise specified, the materials, instruments and methods used in the following embodiments are conventional materials, instruments and methods in the art and can be obtained through commercial channels. Example
[0030] This embodiment proposes a wireless communication device based on a USB channel, such as Figure 2 As shown, the wireless communication device based on the USB channel includes a wireless module and an auxiliary control chip; wherein the communication port of the auxiliary control chip is connected to the communication port of the wireless module; and the USB interface of the wireless module is connected to the communication interface of the USB host. The wireless module and the auxiliary control chip are connected to each other through a UART interface. At the same time, the wireless module uses a 4G and / or 5G communication connection method to establish a communication connection with the communication interface of the USB host.
[0031] Among them, the auxiliary control chip adopts an MCU chip. In addition, the wireless module has an internal device virtual network card; the wireless module is connected to the USB host through the virtual network card. The internal device virtual network card of the wireless module forms one or more USB virtual communication channels inside the wireless module. Specifically, the USB virtual communication channel is a communication channel from the UART interface to the USB interface. The wireless module is connected to the USB host through the USB bus, and the wireless module is virtualized as multiple devices on the USB host, one of which is a virtual network card, and at least one other device is a virtual serial port, and the virtual serial port should be associated with one of its own physical serial ports; the following content needs to be modified appropriately according to this meaning.
[0032] The utility model reduces the development cycle and development costs without increasing the hardware cost, and achieves better results. When the wireless module supports the USB slave interface and has a Uart communication interface, the solution of the utility model is as follows Figure 2 As shown, the description is as follows:
[0033] At the physical level, the USB host directly communicates with the wireless module, and the wireless module communicates with the MCU through the UART interface;
[0034] At the logical level, the wireless communication transactions of the USB host communicate with the wireless module through the corresponding USB channel (usually a virtual network card), and the customized transactions of the USB host communicate with the UART through the virtual channel established by the USB, that is, communicate with the MCU. In this way, the wireless communication transactions and customized transactions of wireless communication products are completely separated at the logical level, which is more convenient for product development.
[0035] It should be noted that the virtual channel from the UART interface inside the wireless module to the USB interface needs to be provided by the wireless module, wherein the virtual channel is implemented by the existing USB virtual serial port technology in the prior art, and there is no need to improve any virtual serial port technology. Therefore, the utility model only adjusts the hardware structure of the wireless module and does not improve any virtual serial port technology.
[0036] If the wireless module supports USB slave interface, use Figure 2 The circuit structure shown in the figure is used for communication connection. The USB host directly communicates with the wireless module, and the wireless module communicates with the MCU through the UART interface. In addition, the wireless module does not need to intervene in the specific communication affairs of the MCU, but only needs to provide a data exchange mechanism between the USB interface and the UART interface. For example, the USB virtual serial port technology can be used to map the Uart port to USB communication;
[0037] On the other hand, the wireless communication device based on the USB channel also includes a communication interface expansion module; the signal input end of the communication interface expansion module is connected to the USB wireless signal output end of the wireless communication device; the USB signal output end of the communication interface expansion module is connected to the SB signal input end of the USB host.
[0038] Among them, the communication interface expansion module includes a USB wireless signal receiving circuit, a HUB expansion circuit, a wireless signal conditioning circuit, a USB wireless signal transmitting circuit and multiple USB interface output circuits; the wireless signal input end of the USB wireless signal receiving circuit is connected to the USB wireless signal output end of the wireless communication device; the signal output end of the USB wireless signal receiving circuit is connected to the signal input end of the wireless signal conditioning circuit; the signal output end of the wireless signal conditioning circuit is connected to the signal input end of the USB wireless signal transmitting circuit; the USB wireless signal output end of the USB wireless signal transmitting circuit is connected to the USB wireless signal input end of the USB host; the signal output end of the USB wireless signal receiving circuit is also connected to the signal input end of the HUB expansion circuit; the USB signal output end of the HUB expansion circuit is connected to the signal input end of the multiple USB interface output circuits; the USB signal output interface of the multiple USB interface output circuits is connected to the USB signal interface of the USB host. Through the above circuit structure, the USB wireless signal output by the wireless communication device can be conditioned by the wireless signal conditioning circuit, converted and generated into a signal type that meets the USB host communication protocol and requirements; at the same time, the wireless communication signal can be converted into an interface signal through the HUB expansion circuit combined with multiple USB interface output circuits, and can be connected to the USB host through the interface connection. The above method can effectively improve the diversity of data transmission methods, and can effectively improve the wireless communication success rate and communication stability when the wireless communication status is not good.
[0039] At the same time, the wireless communication device based on the USB channel also includes a power supply circuit and a power supply input signal detection and adjustment module; the power supply signal output end of the power supply circuit is connected to the power supply signal end of the auxiliary control chip through the power supply input signal detection and adjustment module.
[0040] The advantages of the utility model are as follows:
[0041] The USB host communicates directly with the wireless module without any intermediate links, which greatly improves the stability and real-time performance of the communication. At the same time, the main task of the wireless communication device is to realize the transmission of wireless data, and the wireless communication data in the utility model all interact directly with the wireless module. The additional MCU no longer involves the wireless communication link, and only needs to complete customized tasks according to actual needs. The functional and performance requirements of the MCU are greatly reduced, thereby effectively reducing the hardware cost. Because the development of the MCU is relatively easy and no longer involves the wireless communication link, the embedded function of the MCU in the actual application process is effectively reduced, and the software cost is effectively reduced. Among them, the communication functions of the MCU involved in the utility model are all embedded functions already available in the prior art. Those skilled in the art can embed them by themselves according to actual needs in combination with the chip specification and programming manual. The utility model only improves the structure of the communication device, and does not improve any embedded system function. Therefore, the embedded software functions based on the MCU will naturally be reduced, thereby effectively shortening the development cycle and reducing software development costs.
[0042] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A wireless communication device based on a USB channel, characterized in that: The wireless communication device based on the USB channel includes a wireless module and an auxiliary control chip; wherein the communication port of the auxiliary control chip is connected to the communication port of the wireless module; and the USB interface of the wireless module is connected to the communication interface of the USB host.
2. The wireless communication device based on the USB channel according to claim 1, characterized in that: The auxiliary control chip adopts an MCU chip.
3. The wireless communication device based on the USB channel according to claim 1, characterized in that: The wireless module and the auxiliary control chip are connected for communication via a UART interface.
4. The wireless communication device based on the USB channel according to claim 1, characterized in that: The wireless module has an internal device virtual network card; the wireless module is connected to the USB host for communication via the virtual network card.
5. The wireless communication device based on the USB channel according to claim 4, characterized in that: The wireless module internal device virtual network card forms one or more USB virtual communication channels inside the wireless module.
6. The wireless communication device based on the USB channel according to claim 5, characterized in that: The USB virtual communication channel is a communication channel from the UART interface to the USB interface.
7. The wireless communication device based on the USB channel according to any one of claims 1 to 6, characterized in that: The wireless module uses a 4G and / or 5G communication connection method to establish a communication connection with the communication interface of the USB host.
8. The wireless communication device based on the USB channel according to claim 1, characterized in that: The wireless communication device based on the USB channel also includes a communication interface expansion module; the signal input end of the communication interface expansion module is connected to the USB wireless signal output end of the wireless communication device; the USB signal output end of the communication interface expansion module is connected to the SB signal input end of the USB host.
9. The wireless communication device based on the USB channel according to claim 8, characterized in that: The communication interface expansion module includes a USB wireless signal receiving circuit, a HUB expansion circuit, a wireless signal conditioning circuit, a USB wireless signal transmitting circuit and multiple USB interface output circuits; the wireless signal input end of the USB wireless signal receiving circuit is connected to the USB wireless signal output end of the wireless communication device; the signal output end of the USB wireless signal receiving circuit is connected to the signal input end of the wireless signal conditioning circuit; the signal output end of the wireless signal conditioning circuit is connected to the signal input end of the USB wireless signal transmitting circuit; the USB wireless signal output end of the USB wireless signal transmitting circuit is connected to the USB wireless signal input end of the USB host; the signal output end of the USB wireless signal receiving circuit is also connected to the signal input end of the HUB expansion circuit; the USB signal output end of the HUB expansion circuit is connected to the signal input ends of the multiple USB interface output circuits; the USB signal output interfaces of the multiple USB interface output circuits are connected to the USB signal interfaces of the USB host.
10. The wireless communication device based on the USB channel according to claim 1, characterized in that: The wireless communication device based on the USB channel also includes a power supply circuit and a power supply input signal detection and adjustment module; the power supply signal output end of the power supply circuit is connected to the power supply signal end of the auxiliary control chip through the power supply input signal detection and adjustment module.
