Communication circuit of unmanned aerial vehicle storage battery centralized charging device
By designing a communication switching circuit that supports multiple communication protocols, the problem of low compatibility caused by the single communication protocol in the prior art is solved, and the applicability and intelligence of multi-protocol communication are improved.
Patent Information
- Application Number
- CN202421330378.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2034-06-12
AI Technical Summary
The communication circuit of the existing drone battery central charging device only supports one wired communication method, resulting in low compatibility and inability to meet the communication needs of multiple external devices and modules.
A communication switching circuit is designed to support communication between USB bus, RS485 bus, TTL serial port and CAN bus, and communication switching and signal control are realized through analog switch chips and signal connection switches.
The compatibility of multiple communication protocols has been achieved, the communication applicability with external devices has been expanded, and the intelligence of the centralized charging device for drone batteries has been improved.
Smart Images

Figure CN222547497U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of communication circuits, and more specifically to a communication circuit of a centralized battery charging device for unmanned aerial vehicles. Background Art
[0002] Most of the existing communication circuits of UAV battery centralized charging devices only support one wired communication method, such as USB bus, RS485 bus, TTL serial port, CAN bus, etc. They have low compatibility and great limitations in communicating with external devices / modules, and can no longer meet people's usage needs. Utility Model Content
[0003] The technical problem to be solved by the utility model is that, in view of the above-mentioned defects of the prior art, a communication circuit of a centralized charging device for unmanned aerial vehicle batteries is provided which supports USB bus, RS485 bus, TTL serial port and CAN bus communication.
[0004] The technical solution adopted by the utility model to solve its technical problems is:
[0005] A communication circuit of a centralized battery charging device for an unmanned aerial vehicle is constructed, comprising a communication switching circuit; wherein the communication switching circuit is respectively connected to an RS485 bus transceiver circuit and an external TTL serial communication circuit, and the RS485 bus transceiver circuit is connected to an external RS485 bus communication circuit;
[0006] The communication switching circuit is also connected to a USB to TTL serial communication circuit and a main control circuit, and the USB to TTL serial communication circuit is connected to an external USB bus communication circuit;
[0007] The main control circuit is also connected to a CAN bus transceiver circuit, and the CAN bus transceiver circuit is connected to an external CAN bus communication circuit;
[0008] The communication switching circuit controls one or more of the TTL serial communication circuit, the RS485 bus transceiver circuit, and the USB to TTL serial communication circuit to communicate with the main control circuit.
[0009] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model is characterized in that a signal connection switch is connected in series between the communication switching circuit and the RS485 bus transceiver circuit, and the signal connection switch controls the on-off connection between the RS485 bus transceiver circuit and the communication switching circuit.
[0010] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the communication switching circuit is connected to a mode control switch, and the mode control switch controls the communication switching circuit to make the TTL serial communication circuit and the RS485 bus transceiver circuit or the USB to TTL serial communication circuit communicate with the main control circuit.
[0011] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the communication switching circuit comprises: an analog switch chip;
[0012] The NC1 and NC2 terminals of the analog switch chip are both connected to the TTL serial communication circuit, and the COM1 and COM2 terminals are both connected to the main control circuit, the NC1 terminal of the analog switch chip is also connected to the signal connection switch, and the other end of the signal connection switch and the NC2 of the analog switch chip are both connected to the RS485 bus transceiver circuit;
[0013] The NO1 and NO2 terminals of the analog switch chip are both connected to the USB to TTL serial communication circuit, and the IN1 and IN2 terminals are both connected to the mode control switch and the resistor, the other end of the resistor is connected to the positive pole of the power supply, and the other end of the mode control switch is grounded.
[0014] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the USB to TTL serial port communication circuit comprises: a USB to TTL serial port chip;
[0015] The TX terminal and the RX terminal of the USB to TTL serial port chip are connected one-to-one with the NO1 terminal and the NO2 terminal of the analog switch chip, and the USBDM terminal and the USBDP terminal are both connected with the USB bus communication circuit.
[0016] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the RS485 bus transceiver circuit comprises: an RS485 transceiver;
[0017] The RO end of the RS485 transceiver is connected to the other end of the signal connection switch and the DI end is connected to the NC2 end of the analog switch chip;
[0018] The A end and the B end of the RS485 transceiver are both connected to the RS485 bus communication circuit.
[0019] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the CAN bus transceiver circuit comprises: a CAN bus transceiver;
[0020] The TXD terminal and the RXD terminal of the CAN bus transceiver are both connected to the main control circuit, and the CANH terminal and the CANL terminal are both connected to the CAN bus communication circuit.
[0021] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the main control circuit comprises: a microcontroller;
[0022] The TXD and RXD terminals of the CAN bus transceiver are connected one-to-one with the PA12 and PA11 terminals of the microcontroller; the COM1 and COM2 terminals of the analog switch chip are connected one-to-one with the PA10 and PA9 terminals of the microcontroller; the RESET# terminal of the USB to TTL serial port chip is connected to the PA8 terminal of the microcontroller.
[0023] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model comprises the following: the model of the analog switch chip is TS5A23157, the model of the RS485 transceiver is ADM3485ARZ, the model of the CAN bus transceiver is SN65HVD230DR, and the model of the USB to TTL serial port chip is FT232RL.
[0024] The communication circuit of the centralized battery charging device for unmanned aerial vehicles described in the utility model, wherein the model of the microcontroller is STM32F103C8T6.
[0025] The beneficial effects of the utility model are as follows: the communication switching circuit is respectively connected to the RS485 bus transceiver circuit and the external TTL serial communication circuit, and the RS485 bus transceiver circuit is connected to the external RS485 bus communication circuit; the communication switching circuit is also connected to the USB to TTL serial communication circuit and the main control circuit, and the USB to TTL serial communication circuit is connected to the external USB bus communication circuit; the main control circuit is also connected to the CAN bus transceiver circuit, and the CAN bus transceiver circuit is connected to the external CAN bus communication circuit; wherein, the communication switching circuit controls one or more of the TTL serial communication circuit, the RS485 bus transceiver circuit, and the USB to TTL serial communication circuit to communicate with the main control circuit, thereby realizing that the external CAN bus communication circuit, the TTL serial communication circuit, the RS485 bus communication circuit, and the USB bus communication circuit can all communicate with the main control circuit, and has a wide range of applicability, which greatly improves the intelligence level of the centralized battery charging device for unmanned aerial vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the utility model will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work:
[0027] Figure 1 This is a circuit schematic diagram of a communication switching circuit of a communication circuit of a centralized battery charging device for unmanned aerial vehicles in a preferred embodiment of the utility model;
[0028] Figure 2 This is a circuit schematic diagram of a transient voltage suppression diode of a communication circuit of a centralized battery charging device for unmanned aerial vehicles in a preferred embodiment of the utility model;
[0029] Figure 3 This is a circuit schematic diagram of a USB to TTL serial communication circuit of a communication circuit of a centralized battery charging device for unmanned aerial vehicles in a preferred embodiment of the utility model;
[0030] Figure 4 This is a circuit schematic diagram of a USB female socket of a communication circuit of a centralized battery charging device for unmanned aerial vehicles of a preferred embodiment of the utility model;
[0031] Figure 5 This is a circuit schematic diagram of the first electrostatic protection chip of the communication circuit of the centralized battery charging device for unmanned aerial vehicles of the preferred embodiment of the utility model;
[0032] Figure 6 This is a circuit schematic diagram of the RS485 bus transceiver circuit of the communication circuit of the drone battery centralized charging device of the preferred embodiment of the utility model;
[0033] Figure 7 This is a circuit schematic diagram of the main control circuit of the communication circuit of the centralized battery charging device for unmanned aerial vehicles of the preferred embodiment of the utility model;
[0034] Figure 8 The utility model is a circuit schematic diagram of a CAN bus transceiver circuit of a communication circuit of a centralized battery charging device for unmanned aerial vehicles in a preferred embodiment of the utility model. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the utility model clearer, the following will be described clearly and completely in combination with the technical solution in the embodiments of the utility model. Obviously, the described embodiments are partial embodiments of the utility model, not all embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the utility model.
[0036] The communication circuit of the centralized battery charging device for unmanned aerial vehicles in the preferred embodiment of the utility model is as follows Figure 1 See also Figures 2 to 8 ; including a communication switching circuit 100; wherein the communication switching circuit 100 is respectively connected to the RS485 bus transceiver circuit 200 and the external TTL serial communication circuit, and the RS485 bus transceiver circuit 200 is connected to the external RS485 bus communication circuit;
[0037] The communication switching circuit 100 is also connected to a USB to TTL serial communication circuit 300 and a main control circuit 400, and the USB to TTL serial communication circuit 300 is connected to an external USB bus communication circuit;
[0038] The main control circuit 400 is also connected to a CAN bus transceiver circuit 500, and the CAN bus transceiver circuit 500 is connected to an external CAN bus communication circuit;
[0039] The communication switching circuit 100 controls one or more of the TTL serial communication circuit, the RS485 bus transceiver circuit 200, and the USB to TTL serial communication circuit 300 to communicate with the main control circuit 400; the communication switching circuit 100 is used to expand the I / O port of the microcontroller U1 to reduce the cost;
[0040] The communication switching circuit 100 is respectively connected to the RS485 bus transceiver circuit 200 and the external TTL serial communication circuit, and the RS485 bus transceiver circuit 200 is connected to the external RS485 bus communication circuit; the communication switching circuit 100 is also connected to the USB to TTL serial communication circuit 300 and the main control circuit 400, and the USB to TTL serial communication circuit 300 is connected to the external USB bus communication circuit; the main control circuit 400 is also connected to the CAN bus transceiver circuit 500, and the CAN bus transceiver circuit 500 is connected to the external CAN bus communication circuit; wherein, the communication switching circuit 100 controls one of the TTL serial communication circuit, the RS485 bus transceiver circuit 200, and the USB to TTL serial communication circuit 300 to communicate with the main control circuit 400, thereby realizing that the external CAN bus communication circuit, TTL serial communication circuit, RS485 bus communication circuit, and USB bus communication circuit can all communicate with the main control circuit 400, and has a wide range of applicability, which greatly improves the intelligence level of the centralized battery charging device for unmanned aerial vehicles.
[0041] like Figure 1 and Figure 6As shown, a signal connection switch (not shown in the figure) is connected in series between the communication switching circuit 100 and the RS485 bus transceiver circuit 200, and the signal connection switch controls the on-off connection between the RS485 bus transceiver circuit 200 and the communication switching circuit 100; when the TTL serial port communication circuit communicates with the main control circuit 400 through the communication switching circuit 100, the communication connection between the RS485 bus transceiver circuit 200 and the communication switching circuit 100 is disconnected, so as to avoid the RS485 bus transceiver circuit 200 from interfering with the communication signal of the TTL serial port communication circuit.
[0042] like Figure 1 and Figure 3 as well as Figure 6 As shown, the communication switching circuit 100 is connected to a mode control switch (not shown in the figure), and the mode control switch controls the communication switching circuit 100 to make the TTL serial communication circuit and the RS485 bus transceiver circuit 200 or the USB to TTL serial communication circuit 300 communicate with the main control circuit 400; realizing two-to-one selection, and used together with the signal connection switch to realize three-to-one selection, namely: one of the TTL serial communication circuit, the RS485 bus transceiver circuit 200, and the USB to TTL serial communication circuit 300 communicates with the main control circuit 400.
[0043] like Figures 1 to 3 As shown, the communication switching circuit 100 includes: an analog switch chip U40;
[0044] The NC1 and NC2 terminals of the analog switch chip U40 are both connected to the TTL serial communication circuit, and the COM1 and COM2 terminals are both connected to the main control circuit 400. The NC1 terminal of the analog switch chip U40 is also connected to the signal connection switch, and the other end of the signal connection switch and the NC2 of the analog switch chip U40 are both connected to the RS485 bus transceiver circuit 200; wherein, the NC1 and NC2 terminals of the analog switch chip U40 are also connected to transient voltage suppression diodes (TVS13, TVS14) to protect the analog switch chip U40 from surges;
[0045] The NO1 and NO2 terminals of the analog switch chip U40 are connected to the USB to TTL serial communication circuit 300, and the IN1 and IN2 terminals are connected to the mode control switch (not shown in the figure) and resistor R237. The other end of resistor R237 is connected to the positive pole of the power supply, and the other end of the mode control switch is grounded. The circuit is simple and low cost.
[0046] like Figures 3 to 5 As shown, the USB to TTL serial communication circuit 300 includes: a USB to TTL serial chip U35;
[0047] The TX and RX terminals of the USB to TTL serial port chip U35 are connected one-to-one with the NO1 and NO2 terminals of the analog switch chip U40, and the USBDM and USBDP terminals are both connected to the USB bus communication circuit; wherein, the USBDM and USBDP terminals of the USB to TTL serial port chip U35 are both connected to the USB female socket J21 to facilitate the insertion of the USB cable, and are also connected to a first electrostatic protection chip U36 to provide anti-static protection for the USB to TTL serial port chip U35.
[0048] like Figure 1 and Figure 6 As shown, the RS485 bus transceiver circuit 200 includes: an RS485 transceiver U44;
[0049] The RO terminal of the RS485 transceiver U44 is connected to the other end of the signal connection switch and the DI terminal is connected to the NC2 terminal of the analog switch chip U40;
[0050] The A end and the B end of the RS485 transceiver U44 are both connected to the RS485 bus communication circuit, and are also connected to a second electrostatic protection chip U45 to provide anti-static protection for the RS485 transceiver U44.
[0051] like Figure 1 and Figure 8 As shown, the CAN bus transceiver circuit 500 includes: a CAN bus transceiver U42;
[0052] The TXD and RXD terminals of the CAN bus transceiver U42 are both connected to the main control circuit 400 and the CANH and CANL terminals are both connected to the CAN bus communication circuit, and a third electrostatic protection chip U43 is also connected to provide anti-static protection for the CAN bus transceiver U42.
[0053] like Figure 1 and 3 as well as Figures 6 to 8 As shown, the main control circuit 400 includes: a microcontroller U1;
[0054] The TXD and RXD terminals of the CAN bus transceiver U42 are connected one-to-one with the PA12 and PA11 terminals of the microcontroller U1; the COM1 and COM2 terminals of the analog switch chip U40 are connected one-to-one with the PA10 and PA9 terminals of the microcontroller U1, realizing a two-choice, namely: the TTL serial communication circuit and the RS485 bus transceiver circuit 200 or the USB to TTL serial communication circuit 300 are connected to the microcontroller U1, wherein the signal connection switch is used to disconnect or connect one of the two communication lines between the RS485 bus transceiver circuit 200 and the analog switch chip U40; it should be noted that due to the RS485 The two communication lines of the bus transceiver circuit 200 and the TTL serial port communication circuit are connected together, so it is impossible to select the RS485 bus transceiver circuit 200 and the analog switch chip U40 for connection separately. When using the RS485 bus transceiver circuit 200 to connect with the analog switch chip U40 and communicate with the microcontroller U1, the connection between the TTL serial port communication circuit and the analog switch chip U40 should be prohibited; the RESET# end of the USB to TTL serial port chip U35 is connected to the PA8 end of the microcontroller U1 to control the USB to TTL serial port chip U35 to restart, meet different usage requirements, and avoid communication failure after data is stuck.
[0055] like Figure 1 and Figure 3 as well as Figure 6 and 8 As shown, the model of the analog switch chip U40 is TS5A23157, the model of the RS485 transceiver U44 is ADM3485ARZ, the model of the CAN bus transceiver U42 is SN65HVD230DR, and the model of the USB to TTL serial port chip U35 is FT232RL; low cost and high stability.
[0056] like Figure 1 and Figure 6 as well as Figure 7 As shown, the model of the microcontroller U1 is STM32F103C8T6.
[0057] Furthermore, another signal connection switch is connected in series between the analog switch chip U40 and the TTL serial communication circuit, so that when the RS485 bus transceiver circuit 200 is connected to the analog switch chip U40 and communicates with the microcontroller U1, the connection between the TTL serial communication circuit and the analog switch chip U40 is disconnected, that is: one of the two communication lines between the TTL serial communication circuit and the analog switch chip U40 is disconnected, so that the communication switching circuit 100 controls any one of the TTL serial communication circuit, RS485 bus transceiver circuit 200, and USB to TTL serial communication circuit 300 to communicate with the main control circuit 400; wherein, the communication switching circuit 100 includes: a signal connection switch, another signal connection switch, and a mode control switch.
[0058] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the claims attached to the utility model.
Claims
1. A communication circuit of a centralized battery charging device for an unmanned aerial vehicle, comprising a communication switching circuit; characterized in that: The communication switching circuit is respectively connected with an RS485 bus transceiver circuit and an external TTL serial communication circuit, and the RS485 bus transceiver circuit is connected with an external RS485 bus communication circuit; The communication switching circuit is also connected to a USB to TTL serial communication circuit and a main control circuit, and the USB to TTL serial communication circuit is connected to an external USB bus communication circuit; The main control circuit is also connected to a CAN bus transceiver circuit, and the CAN bus transceiver circuit is connected to an external CAN bus communication circuit; The communication switching circuit controls one or more of the TTL serial communication circuit, the RS485 bus transceiver circuit, and the USB to TTL serial communication circuit to communicate with the main control circuit.
2. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 1, characterized in that: A signal connection switch is connected in series between the communication switching circuit and the RS485 bus transceiver circuit, and the signal connection switch controls the on-off connection between the RS485 bus transceiver circuit and the communication switching circuit.
3. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 2, characterized in that: The communication switching circuit is connected to a mode control switch, and the mode control switch controls the communication switching circuit to enable the TTL serial communication circuit and the RS485 bus transceiver circuit or the USB to TTL serial communication circuit to communicate with the main control circuit.
4. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 3, characterized in that: The communication switching circuit includes: an analog switch chip; The NC1 and NC2 terminals of the analog switch chip are both connected to the TTL serial communication circuit, and the COM1 and COM2 terminals are both connected to the main control circuit, the NC1 terminal of the analog switch chip is also connected to the signal connection switch, and the other end of the signal connection switch and the NC2 of the analog switch chip are both connected to the RS485 bus transceiver circuit; The NO1 and NO2 terminals of the analog switch chip are both connected to the USB to TTL serial communication circuit, and the IN1 and IN2 terminals are both connected to the mode control switch and the resistor, the other end of the resistor is connected to the positive pole of the power supply, and the other end of the mode control switch is grounded.
5. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 4, characterized in that: The USB to TTL serial communication circuit comprises: a USB to TTL serial chip; The TX terminal and the RX terminal of the USB to TTL serial port chip are connected one-to-one with the NO1 terminal and the NO2 terminal of the analog switch chip, and the USBDM terminal and the USBDP terminal are both connected with the USB bus communication circuit.
6. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 5, characterized in that: The RS485 bus transceiver circuit comprises: an RS485 transceiver; The RO end of the RS485 transceiver is connected to the other end of the signal connection switch and the DI end is connected to the NC2 end of the analog switch chip; The A end and the B end of the RS485 transceiver are both connected to the RS485 bus communication circuit.
7. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 6, characterized in that: The CAN bus transceiver circuit comprises: a CAN bus transceiver; The TXD terminal and the RXD terminal of the CAN bus transceiver are both connected to the main control circuit, and the CANH terminal and the CANL terminal are both connected to the CAN bus communication circuit.
8. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 7, characterized in that: The main control circuit comprises: a microcontroller; The TXD and RXD terminals of the CAN bus transceiver are connected one-to-one with the PA12 and PA11 terminals of the microcontroller; the COM1 and COM2 terminals of the analog switch chip are connected one-to-one with the PA10 and PA9 terminals of the microcontroller; the RESET# terminal of the USB to TTL serial port chip is connected to the PA8 terminal of the microcontroller.
9. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 8, characterized in that: The model of the analog switch chip is TS5A23157, the model of the RS485 transceiver is ADM3485ARZ, the model of the CAN bus transceiver is SN65HVD230DR, and the model of the USB to TTL serial port chip is FT232RL.
10. The communication circuit of the centralized battery charging device for unmanned aerial vehicles according to claim 8, characterized in that: The model of the microcontroller is STM32F103C8T6.
Citation Information
Cited By
Dual-upgrade control circuit of high-power plant protection unmanned aerial vehicle charging system
CN121560809A