MBUS debugging module based on Type-C
Patent Information
- Application Number
- CN202522547994.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-01
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2035-12-01
AI Technical Summary
现有技术方案虽然可以满足常规生产测试使用,但若是仪表生产数量较多时,需要更多的主机设备满足检验的应用,而现有投入测试的主机设备往往较为贵重且接口电压和系统电压固定,仅适用一种系统电压和接口电压设备,且对应上位机调试软件接口不方便等问题
该模块成本低廉、接口方便且采用独立模块即可完成上位机与从机之间的通信、调试工作,易于于在生产测试环境中作为工装测试使用,大大降低了生产工装成本。
Smart Images

Figure CN224907375U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of communication circuit technology, specifically an MBUS debugging module based on Type-C. Background Technology
[0002] MBUS bus is a master-slave half-duplex transmission bus. In its physical structure, it uses a two-wire system, which serves as both a data transmission line and a power supply line for the slave device. Therefore, it is widely used in the instrumentation industry, such as electricity meters and water meters.
[0003] During the production of instruments such as electricity meters and water meters, the manufacturing process includes single-board testing and whole-machine testing before shipment to ensure the integrity of the instruments' functions. Because the master and slave circuits of the MBUS bus are inconsistent, it is impossible to test two electricity meters or water meters connected during production. A single MBUS master device must be used to test all slave devices. While existing solutions can meet routine production testing needs, larger production volumes require more master devices for verification. However, existing test master devices are often expensive, have fixed interface and system voltages, are only compatible with one type of system and interface voltage, and have inconvenient interfaces for the corresponding host computer debugging software.
[0004] Therefore, in view of the above situation, there is an urgent need to provide a Type-C based MBUS debugging module to overcome the shortcomings in current practical applications. Utility Model Content
[0005] The purpose of this invention is to provide an MBUS debugging module based on Type-C, which aims to solve the problems mentioned in the background art.
[0006] This utility model is implemented as follows: an MBUS debugging module based on Type-C, comprising: Type-C interface module, system power module, isolated power module, MBUS bus power module, system power selection module, serial to MBUS isolated module, and Type-C-USB to serial module; The Type-C interface module is used to connect to an external Type-C interface and provides power VUSB_5V and USB differential signals; The input terminal of the system power module is connected to the power supply VUSB_5V of the Type-C interface module, and is used to convert VUSB_5V into the system operating voltage VCC3.3. The input terminal of the isolation power module is connected to the power supply VUSB_5V of the Type-C interface module to generate an isolation power supply VCC_5V that is electrically isolated from VUSB_5V. The input terminal of the MBUS bus power module is connected to the VCC_5V output of the isolation power module, which is used to boost the MBUS bus operating power supply VCC_30V. The system power selection module is used to select either VCC3.3 output by the system power module or VUSB_5V provided by the Type-C interface module as the system main power supply VSYS. The Type-C-USB to serial port module connects to the USB differential signal of the Type-C interface module and converts it into serial port signals USB_TX and USB_RX; The serial-to-MBUS isolation module connects to the serial port signals USB_TX and USB_RX output by the Type-C-USB to serial port module, and converts the serial port signals into MBUS bus signals and the MBUS bus signals into serial port signals under the drive of the system main power supply VSYS.
[0007] As a further embodiment of this utility model: the Type-C interface module includes a TVS diode D6, a Type-C interface U3, capacitors C126, C127, and C128, and resistors R65 and R57. The 5th pin of the TVS diode D6 is connected to the power supply VUSB_5V, the 3rd pin is connected to the signal USB-, the 1st pin is connected to the signal USB+, and the 2nd pin is connected to the GND signal. The Type-C interface U3 has the following pins: A4 pin is connected to the power supply VUSB_5V and one end of capacitor C127, with the other end of capacitor C127 connected to signal GND; A5 pin is connected to one end of resistor R65, with the other end of resistor R65 connected to signal GND; A6 and B6 pins are connected to signal USB+; A7 and B7 pins are connected to signal USB-; A9 pin is connected to the power supply VUSB_5V and one end of capacitor C126, with the other end of capacitor C126 connected to signal GND; B9 pin is connected to the power supply VUSB_5V and one end of capacitor C128, with the other end of capacitor C128 connected to signal GND; B5 pin is connected to one end of resistor R57, with the other end of resistor R57 connected to signal GND; and B4 pin is connected to the power supply VUSB_5V.
[0008] As a further embodiment of this utility model: the system power module includes a power chip D7 and multiple capacitors; The power supply VUSB_5V is connected to the positive terminal of capacitor C121, C37, C38, and pin 3 of power chip D7. Capacitors C121, C37, C38, and pin 2 of power chip D7 are connected to signal GND. Pin 1 of power chip D7 is connected to one end of the positive terminal of capacitors C39, C116, C118, C40, and C36. The other end of capacitors C39, C116, C118, C40, and C36 is connected to signal GND. Power supply VCC3.3 is output from pin 1 of power chip D7.
[0009] As a further embodiment of this utility model: the isolated power supply module includes an isolated power supply U5 and capacitors C120 and C119; The power supply VUSB_5V is connected to pin 1 of the isolation power supply U5 and one end of capacitor C120. The other end of capacitor C120 is connected to pin 2 of the isolation power supply U5 and signal GND. Pin 7 of the isolation power supply U5 is connected to one end of capacitor C119 and power supply VCC_5V. The other end of capacitor C119 is connected to pin 5 of the isolation power supply U5 and signal MGND.
[0010] As a further embodiment of this utility model: the MBUS bus power module includes a power chip U6, a diode D8, an inductor L1, capacitors C122 and C123, and resistors R66 and R67. The power supply VCC_5V is connected to pins 4 and 5 of the power chip U6 and one end of capacitor C122. The other end of capacitor C122 is connected to the signal MGND. Pin 1 of power chip U6 is connected to the anode of diode D8 and one end of inductor L1, and the other end of inductor L1 is connected to pin 5 of power chip U6; the cathode of diode D8 is connected to power supply VCC30V, resistor R66, and one end of capacitor C123, and the other end of capacitor C123 is connected to signal MGND. Pin 2 of power chip U6 is connected to signal MGND; Pin 3 of the power chip U6 is connected to the other end of resistor R66 and one end of resistor R67. The other end of resistor R67 is connected to the signal MGND.
[0011] As a further embodiment of this utility model: the system power selection module includes resistors R68 and R69; The signal VUSB_5V is connected to one end of resistor R68, and the signal VCC3.3 is connected to one end of resistor R69; the other end of resistor R68 is connected to the other end of resistor R69 and the power supply VSYS.
[0012] As a further embodiment of this utility model: the serial port to MBUS isolation module includes optocouplers U7 and U8, transistor Q5, resistors R70, R71, R72, R73, and R74, an MBUS transmitting circuit module, and an MBUS receiving circuit module. Pin 1 of optocoupler U7 is connected to power supply VSYS, pin 2 of U7 is connected to one end of resistor R70, and the other end of R70 is connected to signal USB_TX; pins 3 and 4 of optocoupler U7 are connected to MBUS transmitting circuit module. Pin 4 of optocoupler U8 is connected to power supply VSYS, one end of resistor R73, collector of transistor Q5, one end of resistor R74, and signal USB_RX; pin 3 of optocoupler U8 is connected to one end of resistors R72 and R71, the other end of resistor R72 is connected to the base of transistor Q5, and the other end of resistor R71 is connected to the emitter of transistor Q5 and signal GND; pins 1 and 2 of optocoupler U8 are connected to the MBUS receiver circuit module. The MBUS transmitting circuit module and MBUS receiving circuit module are connected to MBUS bus+ and MBUS bus-, and use MGND as the reference ground.
[0013] As a further embodiment of this utility model: the Type-C-USB to serial port module includes chip U4, NMOS transistor Q4, diode VD3, capacitors C124 and C125, and resistors R49, R50, and R52; Pin 1 of chip U4 is connected to signal USB+, pin 2 of U4 is connected to signal USB-, pin 3 of U4 is connected to signal GND, pin 5 of U4 is connected to one end of capacitor C124 and signal VUSB_5V, and the other end of capacitor C124 is connected to signal GND. Pin 6 of chip U4 is connected to the anode of diode VD3. The cathode of VD3 is connected to one end of resistor R50. The other end of resistor R50 is connected to one end of resistor R52 and the signal USB_TX. The other end of resistor R52 is connected to the power supply VSYS. Pin 7 of chip U4 is connected to the drain of NMOS transistor Q4. The source of NMOS transistor Q4 is connected to one end of resistor R49 and the signal USB_RX. The other end of resistor R49 is connected to the power supply VSYS. Pin 8 of chip U4 is connected to one end of capacitor C125, and the other end of capacitor C125 is connected to signal GND.
[0014] Compared with the prior art, the beneficial effects of this utility model are as follows: This module is inexpensive, has a convenient interface, and can complete the communication and debugging between the host computer and the slave computer using an independent module. It is easy to use as a tooling test in the production test environment, which greatly reduces the cost of production tooling. Attached Figure Description
[0015] 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.
[0016] Figure 1 This is a diagram of the overall structure of this utility model.
[0017] Figure 2 This is a schematic diagram of the Type-C interface module in this utility model.
[0018] Figure 3 This is a schematic diagram of the system power module in this utility model.
[0019] Figure 4 This is a schematic diagram of the isolated power supply module in this utility model.
[0020] Figure 5 This is a schematic diagram of the MBUS bus power module in this utility model.
[0021] Figure 6 This is a schematic diagram of the system power selection module in this utility model.
[0022] Figure 7 This is a schematic diagram of the serial port to MBUS isolation module in this utility model.
[0023] Figure 8 This is a schematic diagram of the Type-C-USB to serial port module of this utility model. Detailed Implementation
[0024] 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.
[0025] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art will understand the specific meaning of the above terms in this utility model according to the specific circumstances.
[0026] The specific implementation of this utility model will be described in detail below with reference to specific embodiments.
[0027] Please see Figures 1-8 This utility model provides an MBUS debugging module based on Type-C, comprising: Type-C interface module, system power module, isolated power module, MBUS bus power module, system power selection module, serial to MBUS isolated module, and Type-C-USB to serial module; The Type-C interface module is used to connect to an external Type-C interface and provides power VUSB_5V and USB differential signals; The input terminal of the system power module is connected to the power supply VUSB_5V of the Type-C interface module, and is used to convert VUSB_5V into the system operating voltage VCC3.3. The input terminal of the isolation power module is connected to the power supply VUSB_5V of the Type-C interface module to generate an isolation power supply VCC_5V that is electrically isolated from VUSB_5V. The input terminal of the MBUS bus power module is connected to the VCC_5V output of the isolation power module, which is used to boost the MBUS bus operating power supply VCC_30V. The system power selection module is used to select either VCC3.3 output by the system power module or VUSB_5V provided by the Type-C interface module as the system main power supply VSYS. The Type-C-USB to serial port module connects to the USB differential signal of the Type-C interface module and converts it into serial port signals USB_TX and USB_RX; The serial-to-MBUS isolation module connects to the serial port signals USB_TX and USB_RX output by the Type-C-USB to serial port module, and converts the serial port signals into MBUS bus signals and the MBUS bus signals into serial port signals under the drive of the system main power supply VSYS.
[0028] In the embodiments of this utility model, the Type-C interface is used to integrate a Type-C-USB to serial port module, an MBUS bus power module, a system power module, an isolation power module, a serial port to MBUS isolation module, and a system power selection module to complete the communication and testing requirements between the host computer system and the slave device under test. Compared with the prior art, this module is low in cost, has a convenient interface, and can complete the communication and debugging work between the host computer and the slave device with an independent module. It is easy to use as a tooling test in the production test environment, which greatly reduces the cost of production tooling.
[0029] In one embodiment of this utility model, please refer to Figure 1 and Figure 2 The Type-C interface module consists of a TVS diode D6, a Type-C interface U3, capacitors C126, C127, and C128, resistors R65 and R57, signals USB+, USB-, and GND, and power supply VUSB_5V.
[0030] Pin 5 of the TVS diode D6 in the Type-C interface module is connected to the power supply VUSB_5V, pin 3 is connected to the signal USB-, pin 1 is connected to the signal USB+, and pin 2 is connected to the GND signal.
[0031] Pins A1, 1, 4, 3, GND, A12, and B1 of the Type-C interface U3 module are connected to signal GND. Pin A4 is connected to the power supply VUSB_5V and one end of capacitor C127, with the other end of capacitor C127 connected to signal GND. Pin A5 is connected to one end of resistor R65, which is also connected to signal GND. Pins A6 and B6 are connected to signal USB+, and pins A7 and B7 are connected to signal USB-. Pin A8 is empty. Pin A9 is connected to the power supply VUSB_5V and one end of capacitor C126, with the other end of capacitor C126 connected to signal GND.
[0032] Pin B9 of the Type-C interface U3 is connected to the power supply VUSB_5V and one end of capacitor C128. The other end of capacitor C128 is connected to signal GND. Pin B8 is empty. Pin B5 is connected to one end of resistor R57. The other end of resistor R57 is connected to signal GND. Pin B4 is connected to the power supply VUSB_5V.
[0033] In this embodiment, D6 in the Type-C interface module is a TVS diode that can provide electrostatic discharge protection for the power supply VUSB_5V, the signal USB+, and the signal USB-. The protection is 8KV for contact electrostatic discharge and 15KV for air discharge.
[0034] U2 is a standard 24-pin Type-C socket, where capacitors C126, C127, and C128 are decoupling and filtering capacitors for the VUSB_5V power supply, ensuring the stability of the VUSB_5V power supply.
[0035] Resistors R65 and R57 are pull-down resistors for the CC signal of the standard Type-C protocol. The correct orientation of the Type-C socket is determined by judging the level signals of these two resistors, thus eliminating the need to distinguish between the positive and negative sides of the Type-C plug.
[0036] The power supply VUSB_5V and signal inputs USB+ and USB- are connected to the module via the Type-C socket U3.
[0037] In one embodiment of this utility model, please refer to Figures 1-4 The system power module consists of a power supply VUSB_5V, a VCC3.3, capacitors C121, C37, C38, C39, C116, C118, C40, C36, and a power chip D7. The power supply VUSB_5V is connected to the positive terminal of capacitor C121, capacitors C37 and C38, and pin 3 of power chip D7. The capacitors C121, C37, and C38, and pin 2 of power chip D7 are connected to the signal GND. Pin 1 of power chip D7 is connected to one end of capacitors C39, C116, C118, C40, and C36 (positive terminal). The other end of capacitors C39, C116, C118, C40, and C36 is connected to the signal GND.
[0038] The isolated power supply module consists of power supply VUSB_5V, VCC_5V, signal GND, MGND, capacitors C120 and C119, and isolated power supply U5.
[0039] The isolated power supply module power supply VUSB_5V is connected to pin 1 of the isolated power supply U5 and one end of capacitor C120, and the other end of capacitor C120 is connected to pin 2 of the isolated power supply U5 and signal GND.
[0040] The 7th pin of the isolated power supply module is connected to capacitor C119 and one end of power supply VCC5V, and the other end of capacitor C119 is connected to the 5th pin of isolated power supply U5 and signal MGND.
[0041] The signals MGND and GND meet the requirements of the 6KV pulse voltage test.
[0042] In this embodiment, the system power module mainly provides 5V or 3.3V system operating power for the entire module. The 5V power supply (VUSB_5V) is input to the power chip D7 through the filter capacitor C121 and decoupling capacitors C37 and C38. After passing through D7 and the filter capacitors C36, C39, C116, C118 and C40, the 3.3V (VCC3.3) is output.
[0043] The isolated power supply module outputs an isolated 5V (VUSB_5V) power supply from the Type-C interface module through a filter capacitor C120 and an isolated 5V (VCC5V) power supply output from the isolated power supply U5. The C119 capacitor is used for 5V (VCC5V) filtering.
[0044] VUSB_5V uses GND as the reference ground, and VCC5V uses MGND as the reference ground. VUSB_5V and VCC5V meet the 3KV voltage isolation requirement.
[0045] In one embodiment of this utility model, please refer to Figures 1-5 The MBUS bus power module consists of power supply VCC_5V, VCC_30V, signal MGND, capacitors C122 and C123, resistors R66 and R67, inductor L1, power chip U6, and diode D8.
[0046] The MBUS bus power module power supply VCC_5V is connected to pins 4 and 5 of the power chip U6 and one end of capacitor C122, and the other end of capacitor C122 is connected to signal MGND.
[0047] Pin 1 of the power chip U6 is connected to the anode of diode D8. The cathode of diode D8 is connected to one end of signal VCC30V, resistor R66, and capacitor C123. The other end of capacitor C123 is connected to signal MGND.
[0048] Pin 1 of power chip U6 is connected to one end of inductor L1, and the other end of inductor L1 is connected to pin 5 of power chip U6.
[0049] Pin 2 of the power chip U6 is connected to the signal MGND.
[0050] Pin 3 of the power chip U6 is connected to the other end of resistor R66 and one end of resistor R67. The other end of resistor R67 is connected to the signal MGND.
[0051] In this embodiment, the isolated power supply VCC5V is boosted to VCC30V via a boost chip to provide power to the MBUS host transceiver module and the MBUS bus. VCC30V can be adjusted by changing the values of resistors R66 and R67, using the following formula: According to the chip datasheet, =1.23V.
[0052] In one embodiment of this utility model, please refer to Figures 1-6 The system power selection module consists of power supply VUSB_5V, VCC3.3, VSYS, resistor R68, and resistor R69. Signal VUSB_5V is connected to one end of resistor R68, and signal VCC3.3 is connected to one end of resistor R69. The other end of resistor R68 is connected to the other end of resistor R69 and the power supply VSYS.
[0053] In this embodiment, the system operating power supply can be determined as VUSB5V or VCC3.3V by selecting to solder resistors R68 and R69. R68 and R69 are 0Ω and cannot be soldered at the same time.
[0054] In one embodiment of this utility model, please refer to Figures 1-7 The serial-to-MBUS isolation module consists of optocouplers U7 and U8, power supply VSYS, signal GND, MGND, USB_TX, USB_RX, MBUS bus+, MBUS bus-, resistors R70, R73, R74, R72, R71, transistor Q5, MBUS transmitting circuit module, MBUS receiving circuit module, and MBUS interface.
[0055] The first pin of the optocoupler U7 in the serial-to-MBUS isolation module is connected to the power supply VSYS signal, the second pin of U7 is connected to one end of resistor R70, and the other end of R70 is connected to the signal USB_TX. The third and fourth pins of optocoupler U7 are connected to the MBUS transmitting circuit module.
[0056] Pin 4 of the serial-to-MBUS isolation module optocoupler U8 is connected to the power supply VSYS, one end of resistor R73, the collector of transistor Q5, one end of resistor R74, and the signal USB_RX. Pin 3 of optocoupler U8 is connected to one end of resistors R72 and R71. The other end of resistor R72 is connected to the base of transistor Q5, and the other end of resistor R71 is connected to the emitter of transistor Q5 and the signal GND. Pins 1 and 2 of optocoupler U8 are connected to the MBUS receiving circuit module.
[0057] The MBUS bus+ and MBUS bus- signals are connected to the MBUS host transceiver module and the MBUS interface.
[0058] The MBUS host transceiver module uses MGND as the reference ground.
[0059] In this embodiment, optocouplers U7 and U8 convert the MBUS bus data signal into serial port USB_RX and USB_TX signals. When USB_TX sends a high level "1", optocoupler U7 is turned off, and the MBUS power module sends a "1" level to the MBUS bus; if USB_TX sends a low level "0", optocoupler U7 is turned on, and the MBUS power module sends a "0" level to the MBUS bus.
[0060] After receiving data from the MBUS bus, the MBUS receiving circuit module controls the optocoupler U8 to either turn on or off. If optocoupler U8 is on, pin 3 of optocoupler U8 is high, causing the base voltage of NPN transistor Q5 to be high, thus turning on Q5 and making USB_RX a low level "0". If optocoupler U8 is off, the base of NPN transistor Q5 is low, thus turning off transistor Q5 and making USB_RX a high level "1".
[0061] In one embodiment of this utility model, please refer to Figures 1-8 The Type-C-USB to serial port module consists of signals USB+, USB-, GND, power supply VSYS, capacitors C124 and C125, resistors R50 and R49, NMOS transistor Q4, diode VD3, and chip U4.
[0062] Pin 1 of chip U4 is connected to the USB+ signal, pin 2 of U4 is connected to the USB- signal, pin 3 of U4 is connected to the GND signal, and pin 4 of U4 is empty. Pin 5 of U4 is connected to one end of capacitor C124 and the VUSB_5V signal, and the other end of capacitor C124 is connected to the GND signal.
[0063] Pin 6 of chip U4 is connected to the anode of diode VD3. The cathode of VD3 is connected to one end of resistor R50. The other end of resistor R50 is connected to one end of resistor R52 and the signal USB_TX. The other end of resistor R52 is connected to the power supply VSYS.
[0064] Pin 7 of chip U4 is connected to the drain of NMOS transistor Q4. The source of NMOS transistor Q4 is connected to one end of resistor R49 and the signal USB_RX. The other end of resistor R49 is connected to the power supply VSYS.
[0065] Pin 8 of chip U4 is connected to one end of capacitor C125, and the other end of capacitor C125 is connected to signal GND.
[0066] In this embodiment, the USB signals USB+ and USB- input from the Type-C interface module are converted into serial port signals USB_TX and USB_RX by the USB-to-serial chip U4. Capacitor C124 serves as a decoupling factor for the power supply of U4.
[0067] Resistors R49, R50, R52, NMOS transistor Q4, and diode VD3 form a 5V to 3.3V level conversion circuit to prevent the VSYS power supply from being mistakenly connected to 3.3V, which could cause the VUSB_5V power supply current to flow back into the 3.3V system and lead to system failure.
[0068] When the USB_TX signal pin is connected to an external pull-up resistor R73, if the USB signal sends a low level "0", then pin 6 (TXD) of the serial port chip U4 sends a low level "0", which pulls the power supply VSYS connected to the pull-up resistor R52 low, thus causing USB_TX to output a "0" level. This allows data to be sent to the MBUS bus via optocoupler U7 and the MBUS host transceiver module. Diode VD3 utilizes the unidirectional conduction characteristic of diodes to prevent the VUSB_5V power supply of the U4 chip from flowing into the VSYS power supply.
[0069] The USB_RX signal converts data on the MBUS bus into high and low levels via the MBUS receiver circuit module and optocoupler U8. If USB_RX is low ("0"), the NMOS transistor Q4... If Q4 is turned on, according to the datasheet for chip U4, pin 7 has a built-in pull-up resistor, so the level of pin 7 is "0" at this time.
[0070] If USB_RX is high ("1"), and if VSYS is 3.3V, the 5V voltage at pin 7 of chip U4 will not flow back into the USB_RX pin due to the internal body diode of the NMOS transistor, thus protecting the system. Simultaneously, because the USB_RX pin is high ("1"), this prevents the NMOS transistor Q4 from... Therefore, NMOS transistor Q4 will not be turned on, resulting in a high "1" level on the RXD pin of chip U4, which is converted into a USB signal.
[0071] 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 Type-C based MBUS debugging module, characterized in that, include: Type-C interface module, system power module, isolated power module, MBUS bus power module, system power selection module, serial to MBUS isolated module, and Type-C-USB to serial module; The Type-C interface module is used to connect to an external Type-C interface and provides power VUSB_5V and USB differential signals; The input terminal of the system power module is connected to the power supply VUSB_5V of the Type-C interface module, and is used to convert VUSB_5V into the system operating voltage VCC3.
3. The input terminal of the isolation power module is connected to the power supply VUSB_5V of the Type-C interface module to generate an isolation power supply VCC_5V that is electrically isolated from VUSB_5V. The input terminal of the MBUS bus power module is connected to the VCC_5V output of the isolation power module, which is used to boost the MBUS bus operating power supply VCC_30V. The system power selection module is used to select either VCC3.3 output by the system power module or VUSB_5V provided by the Type-C interface module as the system main power supply VSYS. The Type-C-USB to serial port module connects to the USB differential signal of the Type-C interface module and converts it into serial port signals USB_TX and USB_RX; The serial-to-MBUS isolation module connects to the serial port signals USB_TX and USB_RX output by the Type-C-USB to serial port module, and converts the serial port signals into MBUS bus signals and the MBUS bus signals into serial port signals under the drive of the system main power supply VSYS.
2. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The Type-C interface module includes a TVS diode D6, a Type-C interface U3, capacitors C126, C127, and C128, and resistors R65 and R57. The 5th pin of the TVS diode D6 is connected to the power supply VUSB_5V, the 3rd pin is connected to the signal USB-, the 1st pin is connected to the signal USB+, and the 2nd pin is connected to the GND signal. The Type-C interface U3 has the following pins: A4 pin is connected to the power supply VUSB_5V and one end of capacitor C127, with the other end of capacitor C127 connected to signal GND; A5 pin is connected to one end of resistor R65, with the other end of resistor R65 connected to signal GND; A6 and B6 pins are connected to signal USB+; A7 and B7 pins are connected to signal USB-; A9 pin is connected to the power supply VUSB_5V and one end of capacitor C126, with the other end of capacitor C126 connected to signal GND; B9 pin is connected to the power supply VUSB_5V and one end of capacitor C128, with the other end of capacitor C128 connected to signal GND; B5 pin is connected to one end of resistor R57, with the other end of resistor R57 connected to signal GND; and B4 pin is connected to the power supply VUSB_5V.
3. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The system power module includes a power chip D7 and multiple capacitors; The power supply VUSB_5V is connected to the positive terminal of capacitor C121, C37, C38, and pin 3 of power chip D7. Capacitors C121, C37, C38, and pin 2 of power chip D7 are connected to signal GND. Pin 1 of power chip D7 is connected to one end of the positive terminal of capacitors C39, C116, C118, C40, and C36. The other end of capacitors C39, C116, C118, C40, and C36 is connected to signal GND. Power supply VCC3.3 is output from pin 1 of power chip D7.
4. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The isolated power supply module includes an isolated power supply U5 and capacitors C120 and C119. The power supply VUSB_5V is connected to pin 1 of the isolation power supply U5 and one end of capacitor C120. The other end of capacitor C120 is connected to pin 2 of the isolation power supply U5 and signal GND. Pin 7 of the isolation power supply U5 is connected to one end of capacitor C119 and power supply VCC_5V. The other end of capacitor C119 is connected to pin 5 of the isolation power supply U5 and signal MGND.
5. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The MBUS bus power module includes a power chip U6, a diode D8, an inductor L1, capacitors C122 and C123, and resistors R66 and R67. The power supply VCC_5V is connected to pins 4 and 5 of the power chip U6 and one end of capacitor C122. The other end of capacitor C122 is connected to the signal MGND. Pin 1 of power chip U6 is connected to the anode of diode D8 and one end of inductor L1, and the other end of inductor L1 is connected to pin 5 of power chip U6; the cathode of diode D8 is connected to power supply VCC30V, resistor R66, and one end of capacitor C123, and the other end of capacitor C123 is connected to signal MGND. Pin 2 of power chip U6 is connected to signal MGND; Pin 3 of the power chip U6 is connected to the other end of resistor R66 and one end of resistor R67. The other end of resistor R67 is connected to the signal MGND.
6. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The system power selection module includes resistors R68 and R69; The signal VUSB_5V is connected to one end of resistor R68, and the signal VCC3.3 is connected to one end of resistor R69; the other end of resistor R68 is connected to the other end of resistor R69 and the power supply VSYS.
7. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The serial-to-MBUS isolation module includes optocouplers U7 and U8, transistor Q5, resistors R70, R71, R72, R73, and R74, an MBUS transmitting circuit module, and an MBUS receiving circuit module. Pin 1 of optocoupler U7 is connected to power supply VSYS, pin 2 of U7 is connected to one end of resistor R70, and the other end of R70 is connected to signal USB_TX; pins 3 and 4 of optocoupler U7 are connected to MBUS transmitting circuit module. Pin 4 of optocoupler U8 is connected to power supply VSYS, one end of resistor R73, collector of transistor Q5, one end of resistor R74, and signal USB_RX; pin 3 of optocoupler U8 is connected to one end of resistors R72 and R71, the other end of resistor R72 is connected to the base of transistor Q5, and the other end of resistor R71 is connected to the emitter of transistor Q5 and signal GND; pins 1 and 2 of optocoupler U8 are connected to the MBUS receiver circuit module. The MBUS transmitting circuit module and MBUS receiving circuit module are connected to MBUS bus+ and MBUS bus-, and use MGND as the reference ground.
8. The MBUS debugging module based on Type-C according to claim 1, characterized in that, The Type-C-USB to serial port module includes chip U4, NMOS transistor Q4, diode VD3, capacitor C124, C125 and resistors R49, R50, R52; Pin 1 of chip U4 is connected to signal USB+, pin 2 of U4 is connected to signal USB-, pin 3 of U4 is connected to signal GND, pin 5 of U4 is connected to one end of capacitor C124 and signal VUSB_5V, and the other end of capacitor C124 is connected to signal GND. Pin 6 of chip U4 is connected to the anode of diode VD3. The cathode of VD3 is connected to one end of resistor R50. The other end of resistor R50 is connected to one end of resistor R52 and the signal USB_TX. The other end of resistor R52 is connected to the power supply VSYS. Pin 7 of chip U4 is connected to the drain of NMOS transistor Q4. The source of NMOS transistor Q4 is connected to one end of resistor R49 and the signal USB_RX. The other end of resistor R49 is connected to the power supply VSYS. Pin 8 of chip U4 is connected to one end of capacitor C125, and the other end of capacitor C125 is connected to signal GND.