Multi-protocol power supply and online upgrade supported multi-functional USB serial port expansion device
By designing a multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades, the problems of power supply and communication separation and complex wiring in industrial equipment upgrades are solved. Firmware upgrades and power supply are achieved under a single interface, and it is adaptable to wide voltage input in industrial environments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHENZHEN BAYTEST TECH CO LTD
- Filing Date
- 2025-08-06
- Publication Date
- 2026-07-14
AI Technical Summary
Upgrading existing industrial equipment presents challenges such as the separation of power supply and communication for serial port devices, complex wiring, lack of wide-voltage input design, and the inability to achieve firmware upgrades and power supply through a single interface.
Design a multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades. It realizes firmware upgrade and power supply through a single interface. It adopts a signal transmission module and a power supply module to convert the DC power provided by the power supply equipment into a suitable voltage, adapting to the wide voltage input of the industrial environment and matching the communication power supply requirements of the device to be upgraded.
It features simple wiring, adaptability to wide voltage input in industrial environments, support for multi-protocol power supply, and firmware upgrades and power supply through a single interface, meeting the communication and power supply needs of the devices to be upgraded.
Smart Images

Figure CN224501269U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of equipment upgrade technology, and in particular to a multifunctional USB serial port expansion device that supports multi-protocol power supply and online upgrades. Background Technology
[0002] Current industrial equipment upgrades largely rely on specialized tools. Traditional USB hubs are incompatible with the power supply requirements of industrial serial devices, and existing PD spoofing technology is limited to standard voltages. Current industrial equipment upgrades suffer from the following problems: separation of power supply and communication for serial devices, leading to complex wiring; lack of wide-voltage input designs suitable for industrial environments; and inability to achieve firmware upgrades and power supply through a single interface. Utility Model Content
[0003] The purpose of this invention is to provide a multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades. It can realize firmware upgrades and power supply through a single interface, adapt to wide voltage input in industrial environments, match the communication power supply requirements of the device to be upgraded, and support multi-protocol power supply.
[0004] This utility model provides the following solution:
[0005] This utility model proposes a multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades, comprising:
[0006] The first USB port is used to receive online upgrade signals in differential signal form;
[0007] Device port, used to connect the device to be upgraded;
[0008] A signal transmission module, connected between the first USB port and the device port, is used to convert the differential signal received by the first USB port into a level signal and transmit it to the device port.
[0009] The second USB port is connected to the power supply device and is used to receive the PD power supply from the power supply device;
[0010] The PD decoy module is connected to the second USB port and is used to send a PD decoy signal to the power supply device, so that the power supply device provides a first DC power to the second USB port.
[0011] The power module, connected to the power supply terminal of the second USB port, is used to convert the first DC power provided by the power supply device into a suitable voltage, thereby supplying power to the signal transmission module and the device port.
[0012] In some embodiments, the signal transmission module includes:
[0013] The HUB controller, connected to the first USB port, is used to split the received differential signal in the form of an online upgrade signal into multiple channels;
[0014] The first USB / serial converter module is connected to the HUB controller and is used to convert the differential signal form of the online upgrade signal into a level signal form of the online upgrade signal.
[0015] Both the transmitting signal conversion module and the receiving signal conversion module are connected between the first USB / serial port conversion module and the device port, and are used to set the polarity and level of the online upgrade signal in the form of the level signal to match the device to be upgraded.
[0016] In some embodiments, the first USB / serial port conversion module, the transmitting signal conversion module, and the receiving signal conversion module are multiple sets.
[0017] In some embodiments, the power module includes:
[0018] The first power conversion unit is connected to the power supply terminal of the second USB port and is used to convert the first DC power provided by the power supply device into the second DC power.
[0019] The second power conversion unit is connected to the first power conversion unit and is used to step down the second DC power to the third DC power.
[0020] In some embodiments, the signal conversion module includes:
[0021] The polarity selection unit includes a single-input dual-output switch. The input terminal is connected to the serial port signal transmitting terminal of the first USB / serial port conversion module, and is used to select whether the polarity of the output signal of the transmitting signal conversion module is the same as or opposite to the polarity of the input signal.
[0022] The first level conversion unit is connected to the first output terminal of the polarity selection unit and is used to convert a high-level input signal into a high-level output signal and to convert a low-level input signal into a low-level output signal.
[0023] The second level conversion unit is connected to the second output terminal of the polarity selection unit and is used to convert a high-level input signal into a low-level output signal, and to convert a low-level input signal into a high-level output signal.
[0024] In some embodiments, the first level conversion unit includes a first optocoupler, a first resistor, a second resistor, a third resistor, and a fourth resistor. The positive input terminal of the first optocoupler is connected to the positive terminal of the third DC power supply via the first resistor. The negative input terminal of the first optocoupler is connected to the first output terminal of the polarity selection unit via the second resistor. The positive output terminal of the first optocoupler is connected to the positive terminal of the second DC power supply via the third resistor and to the signal transmission terminal of the device port via the fourth resistor. The negative output terminal of the first optocoupler is grounded.
[0025] In some embodiments, the second level conversion unit includes a second optocoupler, a fifth resistor, a sixth resistor, a seventh resistor, and an eighth resistor. The positive input terminal of the second optocoupler is connected to the second output terminal of the polarity selection unit and is connected to the positive terminal of the third DC power supply via the fifth resistor. The negative input terminal of the second optocoupler is grounded via the sixth resistor. The positive output terminal of the second optocoupler is connected to the positive terminal of the second DC power supply via the seventh resistor and is connected to the signal transmitting terminal of the device port via the eighth resistor. The negative output terminal of the second optocoupler is grounded.
[0026] In some embodiments, the receiving signal conversion module includes a third optocoupler, a ninth resistor, a tenth resistor, an eleventh resistor, and a twelfth resistor. The positive input terminal of the third optocoupler is connected to the positive terminal of the second DC power supply via the ninth resistor. The negative input terminal of the third optocoupler is connected to the signal receiving terminal of the device port via the tenth resistor. The positive output terminal of the third optocoupler is connected to the positive terminal of the third DC power supply via the eleventh resistor and to the serial port signal receiving terminal of the first USB / serial port conversion module via the twelfth resistor. The negative output terminal of the third optocoupler is grounded.
[0027] In some embodiments, the PD decoy module includes: a PD decoy chip and a setting resistor, wherein the CC1 signal terminal and CC2 signal terminal of the PD decoy chip are connected to the CC1 signal terminal and CC2 signal terminal of the second USB port, the DP signal terminal of the PD decoy chip is connected to the DP signal terminal of the second USB port, and the DP signal terminal of the PD decoy chip is connected to the DM signal terminal of the second USB port.
[0028] In some embodiments, the multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades further includes:
[0029] The RS485 port is used to connect the device to be upgraded.
[0030] The signal transmission module further includes:
[0031] The second USB / serial converter module is connected to the HUB controller and is used to convert the differential signal form of the online upgrade signal into a level signal form of the online upgrade signal.
[0032] An RS485 signal conversion module is connected between the second USB / serial port conversion module and the RS485 port, and is used to convert the online upgrade signal in the form of a level signal into an online upgrade signal in the form of an RS485 signal.
[0033] The power module is also used to supply power to the RS485 port and the RS485 signal conversion module.
[0034] This utility model has the following advantages compared with the prior art:
[0035] This utility model provides a multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades. It connects to an upgrade source device via a first USB port. The upgrade signal is transmitted to the device to be upgraded via a signal transmission module. Power for the device to be upgraded and the signal transmission is provided by a power supply device connected to a second USB port. A PD decoy module communicates with the power supply device connected to the second USB port, supporting multi-protocol power supply. The power supply device can provide a first DC voltage of a specified voltage, which is then converted to a suitable voltage by the power module to power the signal transmission module and the device port. This utility model embodiment achieves firmware upgrades and power supply through a single interface, simplifies wiring, adapts to wide voltage input in industrial environments, matches the communication power supply requirements of the device to be upgraded, and supports multi-protocol power supply. Attached Figure Description
[0036] To more clearly illustrate the specific embodiments of this utility model or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0037] Figure 1 These are schematic block diagrams of some embodiments of this utility model;
[0038] Figure 2 This is the schematic diagram of the first USB port circuit of this utility model;
[0039] Figure 3 This is the schematic diagram of the device port circuit of this utility model;
[0040] Figure 4 This is the circuit schematic diagram of the second USB port of this utility model;
[0041] Figure 5 These are schematic block diagrams of some embodiments of this utility model;
[0042] Figure 6 This is the circuit schematic diagram of the HUB controller of this utility model;
[0043] Figure 7 This is the circuit schematic diagram of the first USB / serial port conversion module of this utility model;
[0044] Figure 8 This is the circuit schematic diagram of the power module of this utility model;
[0045] Figure 9 This is a circuit schematic diagram of the signal conversion module of this utility model;
[0046] Figure 10 This is a circuit schematic diagram of the receiving signal conversion module of this utility model;
[0047] Figure 11 This is the circuit schematic diagram of the PD deception module of this utility model;
[0048] Figure 12 These are schematic block diagrams of some embodiments of this utility model;
[0049] Figure 13 This is the schematic diagram of the RS485 port circuit of this utility model;
[0050] Figure 14 This is the circuit schematic diagram of the second USB / serial port conversion module of this utility model;
[0051] Figure 15 This is the circuit schematic diagram of the RS485 signal conversion module of this utility model.
[0052] In the picture:
[0053] 100, First USB port; 200, Device port; 300, Signal transmission module; 310, HUB controller; 320, First USB / serial port conversion module; 330, Transmit signal conversion module; 331, Polarity selection unit; 332, First level conversion unit; 333, Second level conversion unit; 340, Receive signal conversion module; 350, Second USB / serial port conversion module; 360, RS485 signal conversion module; 400, Second USB port; 500, PD decoy module; 600, Power supply module; 700, RS485 port. Detailed Implementation
[0054] The technical solution of this utility model will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this utility model. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.
[0055] See Figure 1 This utility model proposes an embodiment of a multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades, including a first USB port 100, a device port 200, a signal transmission module 300, a second USB port 400, a PD decoy module 500, and a power module 600.
[0056] The first USB port 100 is used to receive online upgrade signals in differential signal form. See the wiring example for the first USB port 010. Figure 2 The first USB port 100 can be a USB Type-C port USB1, with its CC1 and CC2 pins grounded, DP1 and DP2 pins connected and used as the positive terminal of the differential signal DP, and DN1 and DN2 pins connected and used as the negative terminal of the differential signal DM.
[0057] Device port 200 is used to connect the device to be upgraded. See the example of device port 200. Figure 3 Port CN1 includes a signal transmitting terminal IN_TX1 and a signal receiving terminal SD_RX1 for data communication with the device to be upgraded, as well as a positive terminal POWER_IN+ for supplying power to the device to be upgraded and a ground terminal GND.
[0058] The signal transmission module 300 is connected between the first USB port 100 and the device port 200, and is used to convert the differential signal received by the first USB port 100 into a level signal and transmit it to the device port 200.
[0059] The second USB port 400 connects to the power supply device to receive PD power. PD power, short for USB Power Delivery, is a fast-charging power supply based on a USB Type-C interface. See the example of the second USB port 400. Figure 4 The PD decoy module 500 is connected through the CC1 and CC2 signal terminals, and power is supplied to the power module 600 through the power supply terminal VBUS_DP and the ground terminal U_GND.
[0060] The PD decoy module 500 is connected to the second USB port 400 and is used to send a PD decoy signal to the power supply device, so that the power supply device provides the first DC power to the second USB port 400.
[0061] The power module 600 is connected to the power supply terminal of the second USB port 400 and is used to convert the first DC power provided by the power supply device into a suitable voltage, thereby supplying power to the signal transmission module 300 and the device port 200.
[0062] This embodiment of the invention connects to the upgrade source device via a first USB port 100. The upgrade signal is transmitted to the device to be upgraded via a signal transmission module 300. Power for the device to be upgraded and the signal transmission is provided by a power supply device connected to a second USB port 400. A PD decoy module 500 communicates with the power supply device connected to the second USB port 400, supporting multiple power protocols. The power supply device can provide a first DC power of a specified voltage, which is then converted to a suitable voltage by a power module 600, thereby powering the signal transmission module 300 and the device port 200. This embodiment of the invention enables firmware upgrades and power supply through a single interface, simplifies wiring, adapts to wide voltage inputs in industrial environments, matches the communication power supply requirements of the device to be upgraded, and supports multiple power protocols.
[0063] In some embodiments, see Figure 5 The signal transmission module 300 includes a HUB controller 310, a first USB / serial port conversion module 320, a transmitting signal conversion module 330, and a receiving signal conversion module 340.
[0064] The HUB controller 310 connects to the first USB port 100 and is used to split the received differential signal in-line upgrade signal into multiple channels. See the example of the HUB controller 310. Figure 6 The HUB controller 310 includes a USB HUB controller chip U2, whose DP pin and DM pin are respectively connected to the differential signal positive terminal DP and differential signal negative terminal DM of the first USB port 100. Its DP1~4 pins and DM1~4 pins are multiple output terminals of the HUB controller 310.
[0065] The first USB / serial converter module 320 is connected to the HUB controller 310 and is used to convert differential signal-based online upgrade signals into level signal-based online upgrade signals. See the example of the first USB / serial converter module 320 for details. Figure 7 It includes a differential-to-TTL chip U3, in which the D+ and D- pins are connected to a set of output terminals of the HUB controller 310, the T pin serves as the serial signal transmitter TX1, and the R pin serves as the serial signal receiver RX1.
[0066] The transmitting signal conversion module 330 and the receiving signal conversion module 340 are both connected between the first USB / serial port conversion module 320 and the device port 200, and are used to set the polarity and level of the online upgrade signal in the form of a level signal to match the device to be upgraded.
[0067] In some embodiments, the first USB / serial port conversion module 320, the transmitting signal conversion module 330, and the receiving signal conversion module 340 are multiple sets, which can simultaneously communicate with multiple devices to be upgraded.
[0068] In some embodiments, the HUB controller 310 and the plurality of first USB / serial conversion modules 320 are powered by the power supply terminal VBUS of the first USB port 100.
[0069] In some embodiments, see Figure 8 The power module 600 includes a first power conversion unit 610 and a second power conversion unit 620.
[0070] The first power conversion unit 610 is connected to the power supply terminal of the second USB port 400 and is used to convert the first DC power supplied by the power supply device into the second DC power. Figure 8 In this configuration, the power supply terminal VBUS_DP of the first power conversion unit 610 is connected to the first terminal of the slide switch SW4. The first terminal of the slide switch SW4 is also connected to the power socket J1 and the power interface CN2, allowing selection of different power supplies. The second terminal of the slide switch SW4 is connected to the VIN+ pin of the first power conversion unit 610 via the Schottky diode D1. The first power conversion unit 610 can regulate the input power supply to 24V and connect it to the second power conversion unit 620 via the OUT+ and OUT- pins.
[0071] The second power conversion unit 620 is connected to the first power conversion unit 610 and is used to step down the second DC power to a third DC power. The second power conversion unit 620 can step down 24V DC power to 5V DC power.
[0072] In some embodiments, see Figure 9 The signal conversion module 330 includes a polarity selection unit 331, a first level conversion unit 332, and a second level conversion unit 333.
[0073] The polarity selection unit 331 includes a single-input dual-output switch SW3, with its input terminal connected to the serial port signal transmitting terminal TX1 of the first USB / serial port conversion module 320. It is used to select whether the polarity of the output signal of the transmitting signal conversion module 330 is the same as or opposite to the polarity of the input signal.
[0074] The first level conversion unit 332 is connected to the first output terminal TX1_F of the polarity selection unit 331, and is used to convert a high-level input signal into a high-level output signal, and to convert a low-level input signal into a low-level output signal.
[0075] The second level conversion unit 333 is connected to the second output terminal TX1_R of the polarity selection unit 331, and is used to convert a high-level input signal into a low-level output signal, and to convert a low-level input signal into a high-level output signal.
[0076] In some embodiments, see Figure 9 The first level conversion unit 332 includes a first optocoupler U9, a first resistor R31, a second resistor R32, a third resistor R29, and a fourth resistor R30. The positive input terminal of the first optocoupler U9 is connected to the positive terminal of the third DC power supply DC_3.3V via the first resistor R31. The negative input terminal of the first optocoupler U9 is connected to the first output terminal TX1_F of the polarity selection unit 331 via the second resistor R32. The positive output terminal of the first optocoupler U9 is connected to the positive terminal of the second DC power supply POWER_IN+ via the third resistor R29, and is connected to the signal transmission terminal IN_TX1 of the device port 200 via the fourth resistor R30. The negative output terminal of the first optocoupler U9 is grounded.
[0077] When the first output terminal TX1_F of the polarity selection unit 331 is connected to the serial signal transmitting terminal TX1 of the first USB / serial port conversion module 320, the first level conversion unit 332 is activated. At this time, when the serial signal transmitting terminal TX1 of the first USB / serial port conversion module 320 is at a high level, the light-emitting part of the first optocoupler U9 is not turned on, and the receiving part is also not turned on. The signal transmitting terminal IN_TX1 of the device port 200 is at a high level, and the voltage value is limited by the second DC current. When the serial signal transmitting terminal TX1 of the first USB / serial port conversion module 320 is at a low level, the light-emitting part of the first optocoupler U9 is turned on, and the receiving part is also turned on. The signal transmitting terminal IN_TX1 of the device port 200 is at a low level.
[0078] In some embodiments, see Figure 9 The second level conversion unit 333 includes a second optocoupler U11, a fifth resistor R40, a sixth resistor R39, a seventh resistor R37, and an eighth resistor R38. The positive input terminal of the second optocoupler U11 is connected to the second output terminal TX1_R of the polarity selection unit 331, and is connected to the positive terminal of the third DC power supply DC_3.3V via the fifth resistor R40. The negative input terminal of the second optocoupler U11 is grounded via the sixth resistor R39. The positive output terminal of the second optocoupler U11 is connected to the positive terminal of the second DC power supply POWER_IN+ via the seventh resistor R37, and is connected to the signal transmission terminal IN_TX1 of the device port 200 via the eighth resistor R38. The negative output terminal of the second optocoupler U11 is grounded.
[0079] When the second output terminal TX1_R of the polarity selection unit 331 is connected to the serial signal transmitting terminal TX1 of the first USB / serial port conversion module 320, the second level conversion unit 333 is activated. At this time, when the serial signal transmitting terminal TX1 of the first USB / serial port conversion module 320 is at a high level, the light-emitting part of the second optocoupler U11 is turned on, the receiving part is also turned on, and the signal transmitting terminal IN_TX1 of the device port 200 is at a low level; when the serial signal transmitting terminal TX1 of the first USB / serial port conversion module 320 is at a low level, the light-emitting part of the second optocoupler U11 is not turned on, the receiving part is not turned on, the signal transmitting terminal IN_TX1 of the device port 200 is at a high level, and the voltage value is limited by the second DC current.
[0080] In some embodiments, see Figure 10 The signal conversion module 340 includes a third optocoupler U10, a ninth resistor R33, a tenth resistor R35, an eleventh resistor R36, and a twelfth resistor R34. The positive input terminal of the third optocoupler U10 is connected to the positive terminal of the second DC power supply POWER_IN+ via the ninth resistor R33. The negative input terminal of the third optocoupler U10 is connected to the signal receiving terminal SD_RX1 of the device port 200 via the tenth resistor R35. The positive output terminal of the third optocoupler U10 is connected to the positive terminal of the third DC power supply DC_3.3V via the eleventh resistor R36, and is connected to the serial port signal receiving terminal RX1 of the first USB / serial port conversion module 320 via the twelfth resistor R34. The negative output terminal of the third optocoupler U10 is grounded.
[0081] The first optocoupler U9, the second optocoupler U11, and the third optocoupler U10 are not only used to adjust the signal level, but also serve as signal isolation devices to prevent common-mode interference.
[0082] In some embodiments, see Figure 11 The PD decoy module 500 includes a PD decoy chip U0 and a setting resistor R54. The DP signal terminal of the PD decoy chip U0 is connected to the DP signal terminal of the second USB port 400, and the DM signal terminal of the second USB port 400 is also connected. The CC1 and CC2 signal terminals of the PD decoy chip U0 are connected to the CC1 and CC2 signal terminals of the second USB port 400, respectively. The specific connection method is not limited here. Figure 9For ease of wiring, the CC1 signal terminal of the PD decoy chip U0 is connected to the CC2 signal terminal of the second USB port 070, and the CC2 signal terminal of the PD decoy chip U0 is connected to the CC1 signal terminal of the second USB port 070. In other embodiments, the CC1 signal terminal of the PD decoy chip U0 can also be connected to the CC1 signal terminal of the second USB port 070, and the CC2 signal terminal of the PD decoy chip U0 can be connected to the CC2 signal terminal of the second USB port 070.
[0083] The PD decoy chip U0 communicates with the power supply device connected to the second USB port 400 through the CC1 and CC2 signal terminals, causing it to output the first DC power. The resistance value of the resistor R54 connected to the FUNC terminal can be used to set the output voltage of the power supply device.
[0084] In some embodiments, see Figure 12 A multi-functional USB serial port expansion device that supports multi-protocol power supply and online upgrades also includes an RS485 port 700.
[0085] RS485 port 700 is used to connect the device to be upgraded. See the example of RS485 port 700. Figure 13 Port CN5 includes a 485-A signal terminal and a 485-B signal terminal for data communication with the device to be upgraded, as well as a positive terminal POWER_IN+ for supplying power to the device to be upgraded and a ground terminal GND.
[0086] The signal transmission module 300 also includes a second USB / serial port conversion module 350 and an RS485 signal conversion module 360.
[0087] The second USB / serial converter module 350 is connected to the HUB controller 310 and is used to convert differential signal online upgrade signals into level signal online upgrade signals. See the example of the second USB / serial converter module 350. Figure 14 It includes a differential-to-TTL chip U36, with D+ and D- pins connected to a set of output terminals of the HUB controller 310, T pin as the serial signal transmitter UART0_TXD, and R pin as the serial signal receiver UART0_RXD.
[0088] The RS485 signal conversion module 360 connects the second USB / serial converter module 350 and the RS485 port 700, and is used to convert online upgrade signals in level signal form into RS485 signal form. See the example of the RS485 signal conversion module 360. Figure 15The main components are the RS485 / serial port conversion chip U35 and its peripheral circuitry. The serial port signal transmitter UART0_TXD of the second USB / serial port conversion module 350 is connected to the DE and #RE pins of the RS485 / serial port conversion chip U35 after signal level conversion via NPN transistor Q84. The serial port signal receiver UART0_RXD of the second USB / serial port conversion module 350 is connected to the RO pin of the RS485 / serial port conversion chip U35. The A pin of the RS485 / serial port conversion chip U35 is connected to the 485-A signal terminal, and the B pin of the 485-B signal terminal is connected to the signal terminal.
[0089] In some embodiments, the second USB / serial converter module 350 is powered by the VBUS power supply terminal of the first USB port 100.
[0090] In some embodiments, the power module 600 is also used to supply power to the RS485 port 700 and the RS485 signal conversion module 360.
[0091] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art and should not be interpreted in an idealized or overly formal sense unless specifically defined.
[0092] It should be noted that certain terms are used in this specification and claims to refer to specific elements. Those skilled in the art will understand that different manufacturers or producers may use different terms to refer to the same element. This specification and claims do not distinguish elements based on differences in terminology, but rather on differences in function.
[0093] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0094] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features but not others included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this invention and form different embodiments. For example, any one of the embodiments claimed in the claims can be used in any combination of embodiments of this invention.
[0095] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the corresponding claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the corresponding claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although the utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this utility model.
Claims
1. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades, characterized in that, include: The first USB port (100) is used to receive online upgrade signals in differential signal form; Device port (200) is used to connect the device to be upgraded; A signal transmission module (300) is connected between the first USB port (100) and the device port (200) for converting the differential signal received by the first USB port (100) into a level signal and transmitting it to the device port (200). The second USB port (400) is connected to the power supply device and is used to receive the PD power supply from the power supply device; A PD decoy module (500) is connected to the second USB port (400) and is used to send a PD decoy signal to the power supply device, so that the power supply device provides a first DC power to the second USB port (400); The power module (600), connected to the power supply terminal of the second USB port (400), is used to convert the first DC power provided by the power supply device into a suitable voltage, thereby supplying power to the signal transmission module (300) and the device port (200).
2. The multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrade as described in claim 1, characterized in that, The signal transmission module (300) includes: HUB controller (310), connected to the first USB port (100), is used to split the received online upgrade signal in differential signal form into multiple paths; The first USB / serial port conversion module (320) is connected to the HUB controller (310) and is used to convert the differential signal form of the online upgrade signal into the level signal form of the online upgrade signal. The transmitting signal conversion module (330) and the receiving signal conversion module (340) are both connected between the first USB / serial port conversion module (320) and the device port (200) to set the polarity and level of the online upgrade signal in the form of the level signal to match the device to be upgraded.
3. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 2, characterized in that, The first USB / serial port conversion module (320), the transmitting signal conversion module (330), and the receiving signal conversion module (340) are multiple sets.
4. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 2, characterized in that, The power module (600) includes: The first power conversion unit (610) is connected to the power supply terminal of the second USB port (400) and is used to convert the first DC power supplied by the power supply device into the second DC power. The second power conversion unit (620) is connected to the first power conversion unit (610) and is used to step down the second DC power to the third DC power.
5. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 4, characterized in that, The signal conversion module (330) includes: The polarity selection unit (331) includes a single-input dual-output switch (SW3), the input end of which is connected to the serial port signal transmitting end of the first USB / serial port conversion module (320), and is used to select whether the polarity of the output signal of the transmitting signal conversion module (330) is the same as or opposite to the polarity of the input signal. The first level conversion unit (332) is connected to the first output terminal of the polarity selection unit (331) and is used to convert a high-level input signal into a high-level output signal and to convert a low-level input signal into a low-level output signal. The second level conversion unit (333) is connected to the second output terminal of the polarity selection unit (331) and is used to convert a high-level input signal into a low-level output signal and to convert a low-level input signal into a high-level output signal.
6. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 5, characterized in that, The first level conversion unit (332) includes a first optocoupler (U9), a first resistor (R31), a second resistor (R32), a third resistor (R29), and a fourth resistor (R30). The positive input terminal of the first optocoupler (U9) is connected to the positive terminal of the third DC power supply via the first resistor (R31). The negative input terminal of the first optocoupler (U9) is connected to the first output terminal of the polarity selection unit (331) via the second resistor (R32). The positive output terminal of the first optocoupler (U9) is connected to the positive terminal of the second DC power supply via the third resistor (R29) and connected to the signal transmitting terminal of the device port (200) via the fourth resistor (R30). The negative output terminal of the first optocoupler (U9) is grounded.
7. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 5, characterized in that, The second level conversion unit (333) includes a second optocoupler (U11), a fifth resistor (R40), a sixth resistor (R39), a seventh resistor (R37), and an eighth resistor (R38). The positive input terminal of the second optocoupler (U11) is connected to the second output terminal of the polarity selection unit (331) and connected to the positive terminal of the third DC power supply via the fifth resistor (R40). The negative input terminal of the second optocoupler (U11) is grounded via the sixth resistor (R39). The positive output terminal of the second optocoupler (U11) is connected to the positive terminal of the second DC power supply via the seventh resistor (R37) and connected to the signal transmitting terminal of the device port (200) via the eighth resistor (R38). The negative output terminal of the second optocoupler (U11) is grounded.
8. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 4, characterized in that, The receiving signal conversion module (340) includes a third optocoupler (U10), a ninth resistor (R33), a tenth resistor (R35), an eleventh resistor (R36), and a twelfth resistor (R34). The positive input terminal of the third optocoupler (U10) is connected to the positive terminal of the second DC power supply via the ninth resistor (R33). The negative input terminal of the third optocoupler (U10) is connected to the signal receiving terminal of the device port (200) via the tenth resistor (R35). The positive output terminal of the third optocoupler (U10) is connected to the positive terminal of the third DC power supply via the eleventh resistor (R36) and to the serial port signal receiving terminal of the first USB / serial port conversion module (320) via the twelfth resistor (R34). The negative output terminal of the third optocoupler (U10) is grounded.
9. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrades according to claim 1, characterized in that, The PD decoy module (500) includes a PD decoy chip (U0) and a setting resistor (R54). The CC1 and CC2 signal terminals of the PD decoy chip (U0) are connected to the CC1 and CC2 signal terminals of the second USB port (400). The DP signal terminal of the PD decoy chip (U0) is connected to the DP signal terminal of the second USB port (400). The DP signal terminal of the PD decoy chip (U0) is connected to the DM signal terminal of the second USB port (400).
10. A multi-functional USB serial port expansion device supporting multi-protocol power supply and online upgrade as described in claim 2, characterized in that, Also includes: The RS485 port (700) is used to connect the device to be upgraded. The signal transmission module (300) further includes: The second USB / serial port conversion module (350) is connected to the HUB controller (310) and is used to convert the differential signal form of the online upgrade signal into the level signal form of the online upgrade signal. The RS485 signal conversion module (360) is connected between the second USB / serial port conversion module (350) and the RS485 port (700) and is used to convert the online upgrade signal in the form of a level signal into an online upgrade signal in the form of an RS485 signal. The power module (600) is also used to supply power to the RS485 port (700) and the RS485 signal conversion module (360).