CN219320768U - Communication circuit of V2X equipment and V2X equipment - Google Patents
Communication circuit of V2X equipment and V2X equipment Download PDFInfo
- Publication number
- CN219320768U CN219320768U CN202320404912.XU CN202320404912U CN219320768U CN 219320768 U CN219320768 U CN 219320768U CN 202320404912 U CN202320404912 U CN 202320404912U CN 219320768 U CN219320768 U CN 219320768U
- Authority
- CN
- China
- Prior art keywords
- module
- switch
- communication circuit
- main controller
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Information Transfer Systems (AREA)
Abstract
The application discloses communication circuit of V2X equipment, communication circuit includes: set up main control unit and V2X module on V2X equipment mainboard, main control unit with V2X module electric connection still includes: a first switch for controlling a first universal serial bus signal between the main controller and the V2X module; a second switch for controlling a second universal serial bus signal between the main controller and the V2X module; and switching the first change-over switch to switch the signal of the main controller connected to the V2X module to a Micro USB socket, and simultaneously switching the second change-over switch to disconnect a second universal serial bus signal between the main controller and the V2X module to debug the V2X module. The method and the device can be compatible with special scenes that when the USB master controller Core is connected with the USB3.0, the USB2.0 cannot continue to communicate any more.
Description
Technical Field
The application relates to the technical field of automatic driving, in particular to a communication circuit of V2X equipment and the V2X equipment.
Background
The V2X device is used as a basic hardware unit in the vehicle-road cooperation field, and can provide communication among vehicles, vehicles-road and vehicle-cloud. At present, the communication part in the V2X device is usually implemented by a module with higher integration level, and the module generally interacts with the main control unit through a USB interface, as shown in fig. 1, which is a circuit structure block diagram of the V2X device.
In fig. 1, the USB3.0 signal line of the USB controller in the host controller is directly connected to the V2X module USB3.0 interface, and the USB2.0 signal line of the USB controller in the host controller is also directly connected to the V2X module USB interface, and is also connected to the debug PC interface.
If a hardware developer needs to adjust the V2X module, a computer is usually used to connect to the USB2.0 interface of the V2X module, and since the USB2.0 interface is already connected to the master control unit, one conceivable method is to switch by using a switch, and a switch is added between the master control unit and the USB2.0 interface of the V2X module, so that the V2X module can also be switched to the PC adjustment interface by using the switch.
However, the above manner also has a problem in that the connection between the main control unit and the USB3.0 of the V2X module is already established and the communication is normal during normal operation, that is, the USB core of the V2X module is already occupied, and when the debug computer is connected to the USB2.0 interface of the V2X module again, the problem that the debug PC cannot recognize the USB interface of the V2X module exists.
Disclosure of Invention
The embodiment of the application provides a communication circuit of V2X equipment and the V2X equipment, so that the V2X equipment can be tested conveniently.
The embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a communication circuit of a V2X device, where the communication circuit includes: set up main control unit and V2X module on V2X equipment mainboard, main control unit with V2X module electric connection still includes:
a first switch for controlling a first universal serial bus signal between the main controller and the V2X module;
a second switch for controlling a second universal serial bus signal between the main controller and the V2X module;
and after the first change-over switch is switched, the signal of the main controller connected to the V2X module is switched to a Micro USB socket, and meanwhile, after the second change-over switch is switched, the second universal serial bus signal between the main controller and the V2X module is disconnected, so that the V2X module is debugged.
In some embodiments, when the V2X device is in operation, the signal that the main controller is connected to the Micro USB socket is switched to the V2X module by switching the first switch, and simultaneously, the second switch is switched to connect the main controller to the V2X module by switching the second universal serial bus signal.
In some embodiments, the Micro USB socket is connected to a debug PC for debugging the host controller.
In some embodiments, the Micro USB socket is connected to a debug PC for debugging the host controller through a USB2.0 signal interface.
In some embodiments, the second switch is turned off after the debug PC is plugged into the Micro USB socket.
In some embodiments, the master controller includes a USB2.0 signal interface and a USB3.0 signal interface.
In some embodiments, the V2X module includes a USB2.0 signal interface and a USB3.0 signal interface.
In some embodiments, the second switch is closed after the debug PC unplugs the Micro USB socket.
In some embodiments, the host controller and the V2X module each comprise a USB3.0 controller.
In a second aspect, embodiments of the present application also provide a V2X device, including a communication circuit as described in the first aspect.
The above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect: a first change-over switch is adopted for controlling a second universal serial bus signal between the main controller and the V2X module; the second change-over switch is used for controlling a third universal serial bus signal between the main controller and the V2X module; when the V2X module is debugged, the signal of the main controller connected to the V2X module is switched to a Micro USB socket by switching the first switch, and meanwhile, the second universal serial bus signal between the main controller and the V2X module is disconnected by switching the second switch. Therefore, when the USB3.0 port of the V2X equipment is occupied, the debugging computer can be conveniently connected with the USB2.0 port of the equipment for debugging by adding a switch and corresponding control logic. In addition, the communication circuit design practicality is stronger.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a block diagram of a circuit structure of a V2X device in the related art;
fig. 2 is a schematic diagram of a communication circuit structure of a V2X device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a communication circuit of the V2X device according to an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
The embodiment of the application provides a communication circuit of a V2X device, as shown in fig. 2, and provides a schematic diagram of the communication circuit of the V2X device in the embodiment of the application, where the communication circuit includes: the main controller 210 and the V2X module 240 disposed on the V2X device motherboard, where the main controller 210 is electrically connected to the V2X module 240, and further includes: a first switch for controlling a first universal serial bus signal between the main controller and the V2X module; a second switch for controlling a second universal serial bus signal between the main controller and the V2X module; and switching the first change-over switch to switch the signal of the main controller connected to the V2X module to a Micro USB socket, and simultaneously switching the second change-over switch to disconnect a second universal serial bus signal between the main controller and the V2X module to debug the V2X module. In particular, the first universal serial bus signal may be a USB2.0 signal and the second universal serial bus signal may be a USB3.0 signal.
It should be noted that, in general, the USB3.0 hardware channel includes two unidirectional differential signal lines for USB3.0 transceiving and one bidirectional differential signal line for USB 2.0. And adopting a channel USB2.0 channel to carry out adjustment and measurement on the USB interface. However, in the case that the USB3.0 is already connected, the debugging PC can test the device through the USB2.0 again, depending on the design of the USB Core of the factory chip of the device, that is, the USB Core of the factory chip of the device will be slightly different, and in the actual use, when the USB3.0 is connected, the USB2.0 cannot continue to communicate.
It will be appreciated that for the general case, the debug PC may continue to debug the device via USB2.0 while USB3.0 is already connected. In the embodiment of the application, the designed communication circuit is considered for the special case that when the USB master core is connected with the USB3.0, the USB2.0 can not continue to communicate any more.
The USB3.0 and USB2.0 signals for the USB controller in the main controller 210 need to be connected to external corresponding signal lines, respectively. For the USB2.0 signal path: the part is added with a USB2.0 change-over switch S1 (a first change-over switch), a USB3.0 signal channel: this part adds a USB3.0 switch S2 (second switch). When the V2X module is required to be debugged, the signals of the main controller connected to the V2X module are switched to the Micro USB socket by switching the first switch, so that the debugging of the main controller part by the external debugging PC can be realized.
Meanwhile, when the external debugging PC is inserted, the USB3.0 channel of the main controller is disconnected, so that the external debugging PC can be connected with the USB2.0 interface of the main controller. Since the USB3.0 channel is already connected, the USB controller of the main controller portion is occupied and cannot continue to connect to an external PC. Namely, the second changeover switch is switched to disconnect a second universal serial bus signal between the main controller and the V2X module.
In one embodiment of the present application, when the V2X device is in operation, the signal that the main controller is connected to the Micro USB socket is switched to the V2X module by switching the first switch, and simultaneously, the second switch is switched to connect the main controller with the V2X module through a second universal serial bus signal.
Under the condition that the V2X equipment works normally, signals of the main controller connected to the Micro USB socket are switched to the V2X module by switching the first switch, meanwhile, the USB3.0 signals of the universal serial bus between the main controller and the V2X module are recovered to be connected by switching the second switch, namely, during normal working, the USB3.0 signals of the main controller are connected to the V2X module.
In one embodiment of the present application, the Micro USB socket is connected to a debug PC for debugging the host controller. After the Micro USB socket is connected with a debugging PC, a USB2.0 channel can be provided for debugging the main controller.
Preferably, the Micro USB socket is connected with a debugging PC for debugging the main controller through a USB2.0 signal interface.
In one embodiment of the present application, after the debug PC is plugged into the Micro USB socket, the second switch is turned off. When the second change-over switch executes corresponding disconnection operation, the V2X device establishes connection with the USB3.0 of the V2X module and normally communicates when in normal operation, namely the USB core of the V2X module is occupied, and if a debug PC is connected to the USB2.0 interface of the V2X module again, the problem that the PC cannot identify the USB interface of the V2X module exists.
In one embodiment of the present application, the host controller includes a USB2.0 signal interface and a USB3.0 signal interface. The USB3.0 controller part of the main controller is provided with a USB2.0 signal interface and a USB3.0 signal interface, so as to adapt to different transmission requirements.
In one embodiment of the present application, the V2X module includes a USB2.0 signal interface and a USB3.0 signal interface. Similarly, the V2X module in communication with the host controller may also include a USB2.0 signal interface and a USB3.0 signal interface.
In one embodiment of the present application, after the debug PC pulls out the Micro USB socket, the second switch is closed. When the debugging PC is pulled out of the Micro USB socket, the debugging is not performed any more, and the second change-over switch is required to be closed, so that the second universal serial bus signal connection between the main controller and the V2X module is recovered.
In one embodiment of the present application, the host controller and the V2X module each include a USB3.0 controller. The USB3.0 controller supports USB3.0 signals as a main control component of USB and USB2.0 signals.
The embodiment of the application also provides a V2X device, which comprises the communication circuit, wherein the communication circuit comprises: set up main control unit and V2X module on V2X equipment mainboard, main control unit with V2X module electric connection still includes: the first change-over switch is used for controlling a first universal serial bus signal between the main controller and the V2X module; the second change-over switch is used for controlling a second universal serial bus signal between the main controller and the V2X module; when the V2X module is debugged, the signal of the main controller connected to the V2X module is switched to a Micro USB socket by switching the first switch, and meanwhile, the second universal serial bus signal between the main controller and the V2X module is disconnected by switching the second switch.
As shown in fig. 3, a schematic diagram of a communication circuit of the V2X device in the embodiment of the present application, a USB2.0 signal channel: a USB2.0 switch S1 is added as compared with the related art.
When the external debugging PC is connected to the single board through the Micro USB socket, the switch S1 of the main controller switches and connects the signal originally connected to the V2X module to the Micro USB socket when the main controller is regulated, so that the regulation and measurement of the external PC to the main control part can be realized.
USB3.0 signal channel: compared with the related art, the USB3.0 switch S2 is additionally arranged in the part.
In some embodiments, the USB3.0 controller in the main controller is mainly used to exchange communication information with the debug PC, and one way of the USB controller is integrated inside the MCU chip, as shown in fig. 3. And the same as the USB3.0 controller in the V2X module. The USB control chip integrated in the MCU chip has the advantages that the CPU and the controller are arranged on the same chip, and the CPU can complete data transmission of the USB port only by accessing a series of storage devices and memories.
When the V2X equipment works normally, the USB3.0 signal of the main controller is connected to the V2X module, when an external PC is inserted into the main controller to debug, the USB3.0 connection between the main controller and the V2X module is disconnected by the switch, and at the moment, the PC can debug the main controller or the V2X module through the USB2.0 channel.
The purpose of the switch is to disconnect the USB3.0 channel of the main controller when the external PC is plugged in, so that the external PC can be connected with the USB2.0 interface of the main controller, and the USB controller is occupied under the condition that the USB3.0 channel is already connected, so that the external PC can not be connected continuously.
Therefore, when the USB3.0 port is occupied, the V2X device USB communication circuit in the embodiment of the application is adopted, and when the device USB3.0 port is occupied, the debugging PC can be conveniently connected with the device USB2.0 port for debugging by adding a switch and corresponding control logic.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.
Claims (10)
1. A communication circuit of a V2X device, wherein the communication circuit comprises: set up main control unit and V2X module on V2X equipment mainboard, main control unit with V2X module electric connection still includes:
a first switch for controlling a first universal serial bus signal between the main controller and the V2X module;
a second switch for controlling a second universal serial bus signal between the main controller and the V2X module;
and after the first change-over switch is switched, the signal of the main controller connected to the V2X module is switched to the Micro USB socket, and meanwhile, after the second change-over switch is switched, the second universal serial bus signal between the main controller and the V2X module is disconnected.
2. The communication circuit of claim 1, wherein:
when the V2X device works, signals of the main controller connected to the Micro USB socket are switched to the V2X module by switching the first switch, and meanwhile, the second switch is switched to connect the main controller with a second universal serial bus signal between the V2X module.
3. The communication circuit of claim 1, wherein the Micro USB socket is connected to a debug PC for debugging the host controller.
4. The communication circuit of claim 3, wherein the Micro USB socket is connected to a debug PC for debugging the host controller through a first universal serial bus signal interface.
5. The communication circuit of claim 3 or 4, wherein the second switch is turned off after the debug PC is plugged into the Micro USB socket.
6. The communication circuit of claim 1, wherein the master controller comprises a USB2.0 signal interface and a USB3.0 signal interface.
7. The communication circuit of claim 1, wherein the V2X module comprises a USB2.0 signal interface and a USB3.0 signal interface.
8. The communication circuit of claim 1, wherein the second switch is closed after the debug PC unplugs the Micro USB socket.
9. The communication circuit of claim 1, wherein the master controller and the V2X module each comprise a USB3.0 controller.
10. V2X device comprising a communication circuit according to any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320404912.XU CN219320768U (en) | 2023-02-27 | 2023-02-27 | Communication circuit of V2X equipment and V2X equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320404912.XU CN219320768U (en) | 2023-02-27 | 2023-02-27 | Communication circuit of V2X equipment and V2X equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219320768U true CN219320768U (en) | 2023-07-07 |
Family
ID=87030580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202320404912.XU Active CN219320768U (en) | 2023-02-27 | 2023-02-27 | Communication circuit of V2X equipment and V2X equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219320768U (en) |
-
2023
- 2023-02-27 CN CN202320404912.XU patent/CN219320768U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102136068B1 (en) | Control method for usb interface and electronic device supporting the same | |
CN112799985B (en) | USB interface control method, USB control circuit and intelligent networking equipment mainboard | |
CN112463702B (en) | CPLD I2C channel address allocation method and system of cascade backplane | |
CN208141371U (en) | A kind of multi-functional UART debugging board | |
CN219320768U (en) | Communication circuit of V2X equipment and V2X equipment | |
CN210627095U (en) | General ruggedized computer that contains various bus motherboards | |
CN117097614A (en) | Storage system and plug-in card working mode switching device thereof | |
CN109815169B (en) | Storage device and storage link self-adaption method thereof | |
CN101599050A (en) | PCI-E controller core and method thereof that can be adaptive | |
CN220419823U (en) | V2X equipment debugging circuit and V2X equipment | |
CN216388068U (en) | PCIE interface verification board and test system | |
CN111176563B (en) | Method for bypass access to storage data, storage device and bypass access storage system | |
WO2021253805A1 (en) | Detection assistance circuit, apparatus, motherboard, and terminal device | |
CN213365381U (en) | Main board | |
CN211180806U (en) | Debugging serial port circuit based on HDMI interface, HDMI interface module and HDMI equipment | |
CN114265731A (en) | PCIE interface verification board, test system and test method | |
CN112968332A (en) | Compatible device and method for switching TYPE-C interface of tablet personal computer mainboard to UART serial port communication | |
CN220107965U (en) | Single-port circuit supporting USB port and UART port | |
CN116028409B (en) | Adapter card, mainboard, computer, data transmission method, equipment and medium | |
CN211880505U (en) | Television and interface circuit thereof | |
CN220933447U (en) | Multifunctional expansion board based on COM-Express | |
CN217279557U (en) | Automatic test system for switching test of USB2.0 interface and USB3.0 interface | |
CN217957107U (en) | On-site equipment monitoring device and system | |
CN213094226U (en) | CAN communication device based on CPCI bus | |
CN114153663B (en) | USB communication line switching device and vehicle-mounted TBOX |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |