USB-to-multipath 422 bus circuit
By designing a USB to multi-channel 422 bus circuit, using the CH348Q chip and LEDs to display the data transmission status, the problem of too many connection cables when multiple serial ports use USB ports simultaneously is solved, achieving convenient installation and efficient communication.
Patent Information
- Application Number
- CN202520008480.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2035-01-03
AI Technical Summary
In the field of industrial control, when multiple serial ports need to use USB ports simultaneously, multiple connection cables are required between the computer and the controller, making it impossible to directly use the serial port controller. This results in too many RS422 control interfaces, making installation and debugging inconvenient.
Design a USB to multi-channel 422 bus circuit, including a USB chip interface circuit, a power supply circuit, and a transceiver data display LED circuit. The CH348Q chip is used as the USB bus adapter chip, which has eight independent asynchronous serial ports, supports independent I/O power supply and hardware flow control, and displays the data transmission status through an X1 clock oscillation circuit and LEDs.
It enables the use of multiple serial ports simultaneously without the need for multiple connection cables, making installation and debugging convenient. The serial cables are easy to plug and unplug, ensuring communication speed and providing an economical way to expand serial ports.
Smart Images

Figure CN223582476U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to a circuit technical field, concretely is a USB multi -way 422 bus circuit. BACKGROUND
[0002] In the industrial control field, the process of product development or debugging communication, will need to use serial communication, a USB port can easily solve single serial communication demand, but if multiple serial ports need to use USB port simultaneously, the computer and the controller need multiple connection lines, cannot directly use the serial port controller, will produce a large number of RS422 control interface, therefore needs to design a kind of USB multi -way serial port scheme. UTILITY MODEL CONTENTS
[0003] To solve the technical problems in the background art, the utility model provides a kind of USB multi -way 422 bus circuit.
[0004] The utility model provides a kind of USB multi -way 422 bus circuit, including USB chip interface circuit, and USB chip interface circuit is powered by external power supply circuit and transceiver data display lamp circuit;
[0005] The USB chip interface circuit includes USB bus adapter chip, the VCC pin of USB bus adapter chip inputs 3.3V power supply voltage, and each VCC pin is externally connected with power decoupling capacitor, and the USB bus adapter chip is externally connected with X1 clock oscillation circuit;
[0006] One end of the power supply circuit is connected with PC end, and the other end of the power supply circuit is connected with USB bus adapter chip;
[0007] The transceiver data display lamp circuit includes a plurality of light emitting diodes, and the anode of each light emitting diode is connected with a resistor and is connected with 3.3V power supply, and the cathode of each light emitting diode is connected with receiving end or sending end, and receiving end and sending end are connected with the receiving pin and sending pin of USB bus adapter chip.
[0008] As the further optimization scheme of the utility model, the USB bus adapter chip is CH348Q chip, and CH348Q chip is built-in eight independent asynchronous serial ports, and each serial port supports independent I / O power supply and hardware flow control, for computer expansion asynchronous serial port.
[0009] As the further optimization scheme of the utility model, the four VCC pins of the USB bus adapter chip are externally connected with capacitor C8, capacitor C11, capacitor C12 and capacitor C13 respectively, and the capacity of capacitor C8, capacitor C11, capacitor C12 and capacitor C13 is 0.1 μF.
[0010] As a further optimization scheme of the utility model, the input pin XI of the X1 clock oscillation circuit is connected with the 5th pin of the USB bus adapter chip, and the output pin XO of the X1 clock oscillation circuit is connected with the 6th pin of the USB bus adapter chip.
[0011] As a further optimization scheme of the utility model, the crystal frequency of the X1 clock oscillation circuit is 8MHz±00.4%.
[0012] As a further optimization scheme of the utility model, the capacitor C5 and the capacitor C6 in the X1 clock oscillation circuit are both monolithic or high-frequency ceramic capacitor, and the capacity is 22pF.
[0013] As a further optimization scheme of the utility model, one end of the power supply circuit has a USB port P1, and the USB port P1 is connected with a PC end, the other end of the power supply circuit has a UD+ signal line and a UD- signal line, and the UD+ signal line and the UD- signal line are connected with the 42th pin and the 43th pin of the USB bus adapter chip respectively.
[0014] As a further optimization scheme of the utility model, the transceiving data display lamp circuit has eight light emitting diodes, and the anodes of the eight light emitting diodes are connected with resistors R8, R3, R9, R10, R15, R16, R12, R11 and pass 3.3V power supply respectively, the cathodes of the eight light emitting diodes are connected with a sending end TX0, a receiving end RX0, a sending end TX1, a receiving end RX1, a sending end TX2, a receiving end RX2, a sending end TX3 and a receiving end RX3 respectively, and the sending end TX0, the receiving end RX0, the sending end TX1, the receiving end RX1, the sending end TX2, the receiving end RX2, the sending end TX3 and the receiving end RX3 are connected with the TXD0, RXD0, TXD1, RXD1, TXD2, RXD2, TXD3 and RXD3 pins of the USB bus adapter chip respectively.
[0015] As a further optimization scheme of the utility model, the sending end TX0, the receiving end RX0, the sending end TX1, the receiving end RX1, the sending end TX2, the receiving end RX2, the sending end TX3 and the receiving end RX3 are normally high level, and when receiving a signal, the high level is converted into low level to make the corresponding light emitting diode light up.
[0016] The USB-to-multiple 422 bus circuit has the following beneficial effects:
[0017] The utility model discloses a USB chip interface circuit is provided with power supply circuit and transceiving data display lamp circuit, can realize USB to multiway serial port to carry out serial port extension, when the plurality of 422 serial ports need simultaneously use USB port, need not multiple connecting wires between computer and controller, avoid producing a large number of RS422 control interface, thereby make installation and debugging convenient, and serial port line is easy to plug, can guarantee communication speed, and can realize with a most economic means, so as to need from time to time.
[0018] Additional aspects and advantages of the utility model will be partially given in the following description, some will become obvious from the following description, or be understood through the practice of the utility model. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 It is USB chip interface circuit of the utility model;
[0020] Figure 2 It is power supply circuit diagram of the utility model;
[0021] Figure 3 It is transceiving data display lamp circuit diagram of the utility model. DETAILED DESCRIPTION
[0022] The embodiments of the utility model are described in detail below, the example of the embodiment is represented in the drawings, wherein the same or similar symbols represent the same or similar elements or elements with the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary, only for explaining the utility model, and cannot be understood as limiting the utility model.
[0023] It is understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, which is only for the convenience of describing the utility model and simplifying the description, and does not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the utility model.
[0024] In addition, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one feature. In the description of the utility model, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise specifically limited.
[0025] In the utility model, unless another definite provision and limitation, the terms "mount", "link", "connect", "fix" and so on should do the broad sense understanding, for example, can be fixed connection, also can be detachable connection, or be integrated;Can be mechanical connection, also can be electric connection or each other can communicate;Can be direct connection, also can indirectly connect through the intermediate medium, can be the communication of two elements or the interaction of two elements, unless another definite limitation. For ordinary skilled person in the art, the specific meaning of the above terms in the utility model can be understood according to specific circumstances.
[0026] In the utility model, unless another definite provision and limitation, the first feature is "on" or "under" the second feature can be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature "above", "over" and "on" the second feature can be that the first feature is directly above or obliquely above the second feature, or it only means that the horizontal height of the first feature is higher than that of the second feature. The first feature "below", "under" and "under" the second feature can be that the first feature is directly below or obliquely below the second feature, or it only means that the horizontal height of the first feature is less than that of the second feature.
[0027] Please refer to Figures 1-3 A USB-to-multiple 422 bus circuit, comprising a USB chip interface circuit, and the USB chip interface circuit is externally connected with a power supply circuit and a transceiving data display lamp circuit;
[0028] As Figure 1 shown, the USB chip interface circuit comprises a USB bus adapter chip, the VCC pin of the USB bus adapter chip inputs 3.3V power supply voltage, and each VCC pin is externally connected with a power supply decoupling capacitor, and the USB bus adapter chip is externally connected with an X1 clock oscillation circuit;
[0029] Specifically, the USB bus adapter chip is a CH348Q chip, the CH348Q chip is built-in eight independent asynchronous serial ports, and each serial port supports independent I / O power supply and hardware flow control, which is used for expanding asynchronous serial ports for a computer. In the embodiment, the signal line can be connected only with RXDx, TXDx and common ground wire, and other signal lines CTSx, RTSx and TNOWx can be selected as needed, and can be suspended when not needed;
[0030] Further, the four VCC pins of the CH348Q chip are externally connected with capacitors C8, C11, C12 and C13 respectively, and the capacitances of the capacitors C8, C11, C12 and C13 are 0.1 μF;
[0031] The input pin XI of the X1 clock oscillator circuit is connected to pin 5 of the CH348Q chip, and the output pin XO of the X1 clock oscillator circuit is connected to pin 6 of the CH348Q chip. The crystal frequency of the X1 clock oscillator circuit is 8MHz±0.4%. Capacitors C5 and C6 in the X1 clock oscillator circuit are monolithic or high-frequency ceramic capacitors with a capacitance of 22pF. R2 and C7 are optional components.
[0032] like Figure 2 As shown, one end of the power supply circuit is connected to the PC, and the other end of the power supply circuit is connected to the USB bus adapter chip.
[0033] Specifically, one end of the power supply circuit has a USB port P1, which is connected to the PC. The other end of the power supply circuit has a UD+ signal line and a UD- signal line, which are connected to pins 42 and 43 of the CH348Q chip, respectively. The other end of the power supply circuit also has a pair of +5V power lines, which can provide a power current of up to 500mA. The reason for choosing the 1117 chip is that the CH348Q chip operates at a power supply voltage of 3.3V, and it is necessary to stabilize the 5V power supply of the USB bus to 3.3V.
[0034] like Figure 3 As shown, the transceiver data display circuit includes multiple light-emitting diodes. The positive terminal of each light-emitting diode is connected to a resistor and powered by a 3.3V power supply. The negative terminal of each light-emitting diode is connected to a receiving end or a transmitting end. The receiving end and the transmitting end correspond to and are connected to the receiving pin and the transmitting pin of the USB bus adapter chip.
[0035] Specifically, the transceiver data display circuit has eight light-emitting diodes (LEDs), and the positive terminals of the eight LEDs are connected to resistors R8, R3, R9, R10, R15, R16, R12, and R11 respectively and powered by a 3.3V power supply. The negative terminals of the eight LEDs are connected to the transmitting end TX0, receiving end RX0, transmitting end TX1, receiving end RX1, transmitting end TX2, receiving end RX2, transmitting end TX3, and receiving end RX3 respectively. The transmitting end TX0, receiving end RX0, transmitting end TX1, receiving end RX1, transmitting end TX2, receiving end RX2, transmitting end TX3, and receiving end RX3 are respectively connected to the TXD0, RXD0, TXD1, RXD1, TXD2, RXD2, TXD3, and RXD3 pins of the USB bus adapter chip.
[0036] The sending end TX0, the receiving end RX0, the sending end TX1, the receiving end RX1, the sending end TX2, the receiving end RX2, the sending end TX3 and the receiving end RX3 are normally high level, and when receiving a signal, the high level is converted into low level to make the corresponding light emitting diode be lighted, thereby facilitating observation.
[0037] In conclusion, the USB-to-multiple 422 bus circuit can realize USB-to-multiple serial ports for serial port expansion, and when multiple 422 serial ports need to use the USB port at the same time, the computer and the controller do not need multiple connection lines, avoiding a large number of RS422 control interfaces, so that installation and debugging are convenient, and the serial port line is easy to plug and unplug, which can guarantee communication speed and realize the most economical means, so as to meet the needs from time to time.
[0038] The above is only a preferred specific embodiment of the present application, but the protection scope of the present application is not limited to this, any skilled person in the art can make equivalent replacement or change according to the technical scheme and the inventive concept of the present application within the technical range disclosed by the present application, which should be covered in the protection scope of the present application.
Claims
1. A USB-to-multipath 422 bus circuit, characterized by comprising: The USB chip interface circuit is externally connected with a power supply circuit and a transceiving data display lamp circuit; The USB bus adapter chip is externally connected with an X1 clock oscillation circuit; One end of the power supply circuit is connected with a PC end, and the other end of the power supply circuit is connected with the USB bus adapter chip. The transceiving data display lamp circuit comprises a plurality of light emitting diodes, the anode of each light emitting diode is connected with a resistor and supplied with a 3.3V power supply, and the cathode of each light emitting diode is connected with a receiving end or a sending end, and the receiving end and the sending end are connected with the receiving pin and the sending pin of the USB bus adapter chip.
2. The USB-to-multiple-422-bus circuit of claim 1, wherein, The USB bus adapter chip is a CH348Q chip, the CH348Q chip is internally provided with eight independent asynchronous serial ports, and each serial port supports independent I / O power supply and hardware flow control, and is used for expanding asynchronous serial ports for a computer.
3. The USB-to-multiple-422-bus circuit of claim 1, wherein, The four VCC pins of the USB bus adapter chip are externally connected with a capacitor C8, a capacitor C11, a capacitor C12 and a capacitor C13, and the capacitances of the capacitor C8, the capacitor C11, the capacitor C12 and the capacitor C13 are 0.1uF.
4. The USB-to-multiple-422-bus circuit of claim 1, wherein, The input pin XI of the X1 clock oscillation circuit is connected with the fifth pin of the USB bus adapter chip, and the output pin XO of the X1 clock oscillation circuit is connected with the sixth pin of the USB bus adapter chip.
5. The USB-to-multiple-422-bus circuit of claim 1, wherein, The crystal frequency of the X1 clock oscillation circuit is 8MHz±0.4%.
6. The USB-to-multiple-422-bus circuit of claim 1, wherein, The capacitor C5 and the capacitor C6 in the X1 clock oscillation circuit are both monolithic or high-frequency ceramic capacitors, and the capacitances are 22pF.
7. The USB-to-multiple-422-bus circuit of claim 1, wherein, One end of the power supply circuit is provided with a USB port P1, and the USB port P1 is connected with a PC end, and the other end of the power supply circuit is provided with a UD+ signal line and a UD- signal line, and the UD+ signal line and the UD- signal line are connected with the 42th pin and the 43th pin of the USB bus adapter chip respectively.
8. The USB-to-multiple-422-bus circuit of claim 1, wherein, The transceiving data display lamp circuit is provided with eight light emitting diodes, the anodes of the eight light emitting diodes are connected with resistors R8, R3, R9, R10, R15, R16, R12 and R11 and supplied with a 3.3V power supply, the cathodes of the eight light emitting diodes are connected with a sending end TX0, a receiving end RX0, a sending end TX1, a receiving end RX1, a sending end TX2, a receiving end RX2, a sending end TX3 and a receiving end RX3 respectively, and the sending end TX0, the receiving end RX0, the sending end TX1, the receiving end RX1, the sending end TX2, the receiving end RX2, the sending end TX3 and the receiving end RX3 are connected with the TXD0, RXD0, TXD1, RXD1, TXD2, RXD2, TXD3 and RXD3 pins of the USB bus adapter chip respectively.
9. The USB-to-multipath 422 bus circuit of claim 8, wherein, The sending end TX0, receiving end RX0, sending end TX1, receiving end RX1, sending end TX2, receiving end RX2, sending end TX3 and receiving end RX3 are normally high level, and when receiving signals, the high level is converted into low level to make the corresponding light emitting diode light up.