Novel isolated USB-to-RS-485 converter

By integrating the MCU, RS-422/485 transceiver, capacitive isolation circuit and DC/DC power supply circuit, the isolated USB to RS-485 converter solves the grounding problem caused by the lack of isolation of the USB to RS-485 converter in the existing technology. , realizes a compact and efficient isolation converter, supports switching of multiple communication standards, and reduces debugging and assembly risks.

CN221804693UActive Publication Date: 2024-10-01SHANGHAI ENJIE ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420280980.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2024-10-01
Estimated Expiration
2034-02-06

AI Technical Summary

Technical Problem

Most existing USB to RS-485 converters are not isolated, causing damage to computers and industrial equipment due to uneven grounding. Moreover, commonly used isolation converters are large in size and consume high power, which increases the risk of debugging and assembly.

Method used

An isolated USB to RS-485 converter integrating USB interface MCU, RS-422/485 transceiver, capacitive isolation circuit and DC/DC power circuit is designed. Ground isolation and DC/DC power circuit are achieved through the capacitive isolation circuit. Provides stable power supply and supports switching of RS-422 and RS-485 standards through switching resistors.

Benefits of technology

It achieves safe ground isolation between computers and industrial equipment, reduces the size of the circuit board, supports switching between RS-422 and RS-485 standards, and reduces the risks and power consumption of debugging and assembly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221804693U_ABST
    Figure CN221804693U_ABST
Patent Text Reader

Abstract

The utility model relates to the field of industrial bus debugging, in particular to a novel isolated USB-to-RS-485 converter. The device comprises an MCU integrated with a USB interface and a transceiver used for realizing data transmission between different devices. The transceiver comprises an RS-422 / 485 transceiver, a capacitance isolation circuit and a DC / DC power supply circuit; the RS-422 / 485 transceiver represents a receiver which supports RS-422 and RS-485 standards at the same time, can process high-speed and point-to-point communication of the RS-422, and can process multipoint communication of the RS-485 at the same time. Different modes can be configured according to specific requirements so as to support required communication types. By isolating the RS485 driving chip, grounding isolation between a computer and industrial equipment is achieved, the USB-to-RS-485 converter can be connected between the industrial equipment and the computer more safely, and the industrial equipment or the computer does not need to be worried about damage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of industrial bus debugging, in particular to a novel isolated USB to RS-485 converter. Background Art

[0002] RS-485 is a widely used industrial bus, and the USB interface is a standard communication interface on computers. Therefore, when we use computers to debug and use industrial equipment, we often use USB to RS-485 converters. Most commonly used USB to RS-485 converters are not isolated, that is, the computer and industrial equipment will be connected to the same ground through the USB to RS-485 converter. If the signal ground of the industrial equipment and the signal ground of the computer interface are not at the same potential, they will cause damage to the industrial equipment or computer when they are connected together;

[0003] The commonly used isolated USB to RS-485 converters either require an external power supply or an external USB power supply. Most of them are bulky and have high power consumption, which may cause engineering accidents due to negligence or carelessness when engineers are debugging and assembling industrial equipment. Therefore, a new type of isolated USB to RS-485 converter is designed. Summary of the invention

[0004] The purpose of the utility model is to provide a novel isolated USB to RS-485 converter to solve the problems mentioned in the above background technology.

[0005] To achieve the above object, the utility model aims to provide a novel isolated USB to RS-485 converter, including an MCU with an integrated USB interface and a transceiver for realizing data transmission between different devices;

[0006] The transceiver includes an RS-422 / 485 transceiver, a capacitive isolation circuit and a DC / DC power supply circuit;

[0007] RS-422 / 485 transceiver means a receiver that supports both RS-422 and RS-485 standards, and can handle high-speed, point-to-point communication of RS-422, as well as multi-point communication of RS-485. Such a receiver can be configured in different modes according to specific needs to support the required communication type;

[0008] Wherein, the capacitive isolation circuit and the DC / DC power supply circuit are both integrated in the RS-422 / 485 transceiver, the DC / DC power supply circuit is used to provide a stable power supply for the RS-422 / 485 transceiver, and the capacitive isolation circuit is used to block ground interference and common mode noise;

[0009] One end of the transceiver is connected to a switching resistor, and the switching resistor is used to switch the working mode of the circuit transceiver.

[0010] MCU is used to realize the data link between USB and RS-422 / 485. Through its built-in USB interface, MCU can realize two-way communication with the computer, analyze or directly transmit the data sent by the computer, and then convert it into RS-422 / 485 medium and pass it to the industrial equipment. The reverse channel is also applicable.

[0011] As a further improvement of the technical solution, the USB interface end is provided with USB DP, USB DN, VDD and GND leads, and the USB interface provides power supply for the MCU and the transceiver respectively through the VDD lead and the GND lead; VDD and GND are both connected to the power input terminal of the MCU for powering the MCU;

[0012] Wherein, the USB DP lead and the USB DN lead are both connected to the MCU signal input terminal.

[0013] As a further improvement of the technical solution, the RS-422 / 485 transceiver is provided with a V CC and GNDA port;

[0014] The USB interface VDD pin is connected to V CC port connection, the V CC The port is connected to the input end of the DC / DC power supply circuit, and VISO is connected between the input end and the output end of the DC / DC power supply circuit;

[0015] The GND lead of the USB interface is connected to the GNDA port.

[0016] As a further improvement of the technical solution, one end of the MCU is provided with TXD, RXD and Port, and the input side of the capacitor isolation circuit is provided with DE and DI terminals, then the corresponding output sides are port Z and port Y;

[0017] The other input side of the capacitor isolation circuit is provided with RO and The corresponding output sides are port A and port B.

[0018] As a further improvement of the technical solution, the TXD port is connected to the DI terminal of the RS-422 / 485 transceiver;

[0019] The RXD port is connected to the RO terminal of the RS-422 / 485 transceiver;

[0020] Said The ports are respectively connected to the DE and in parallel.

[0021] As a further improvement of the technical solution, the switching resistor includes a resistor R1 and a resistor R2;

[0022] Wherein, one end of the resistor R1 is connected to the Z end of the RS-422 / 485 transceiver, and the other end of the resistor R1 is connected to the B end of the RS-422 / 485 transceiver;

[0023] One end of the resistor R2 is connected to the Y end of the RS-422 / 485 transceiver, and the other end of the resistor R2 is connected to the A end of the RS-422 / 485 transceiver. Using two 0 ohm resistors R1 and R2, the switching between RS-422 and RS-485 standards is realized. If R1 and R2 are not soldered or cut off, a standard RS-422 interface is obtained; if R1 and R2 are soldered, a standard RS-485 interface is obtained.

[0024] Compared with the prior art, the utility model has the following beneficial effects:

[0025] 1. In this new type of isolated USB to RS-485 converter, the RS485 driver chip is isolated by a capacitive isolation circuit, which realizes the ground isolation between the computer and the industrial equipment. The USB to RS-485 converter can be connected between the industrial equipment and the computer more safely without worrying about damage to the industrial equipment or computer.

[0026] 2. In this new type of isolated USB to RS-485 converter, the new transceiver integrates RS-422 / 485 transceiver, capacitor isolation circuit and DC / DC power supply circuit and other functional circuits into one integrated circuit, which can greatly reduce the size of the circuit board and realize a compact isolated USB to RS-485 converter;

[0027] And by setting the switching resistor, the switching between RS-422 and RS-485 standards can be realized without controlling the data direction. Any necessary signal exchange between devices can be transmitted in software or hardware. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is the overall circuit block diagram of the utility model.

[0029] The meaning of each number in the figure is:

[0030] 1. MCU;

[0031] 2. Transceiver; 21. RS-422 / 485 transceiver; 22. Capacitor isolation circuit; 23. DC / DC power supply circuit;

[0032] 3. Switch the resistor. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0034] Example

[0035] See also Figure 1 As shown, a novel isolated USB to RS-485 converter is provided, including an MCU 1 integrated with a USB interface and a transceiver 2 for realizing data transmission between different devices;

[0036] Preferably, MCU1 is an 8-bit 51 series, 32-bit -M0 series, 32-bit -Any of M4 series and RISC series;

[0037] The transceiver 2 includes an RS-422 / 485 transceiver 21, a capacitive isolation circuit 22 and a DC / DC power supply circuit 23;

[0038] RS-422 / 485 transceiver 21 represents a receiver that supports both RS-422 and RS-485 standards, and can handle high-speed, point-to-point communication of RS-422, as well as multi-point communication of RS-485. Such a receiver can be configured into different modes according to specific needs to support the required communication type;

[0039] Wherein, the capacitor isolation circuit 22 and the DC / DC power supply circuit 23 are both integrated in the RS-422 / 485 transceiver 21, the DC / DC power supply circuit 23 is used to provide a stable power supply for the RS-422 / 485 transceiver 21, and the capacitor isolation circuit 22 is used to block ground interference and common mode noise;

[0040] One end of the transceiver 2 is connected to a switching resistor 3, and the switching resistor 3 is used to switch the working mode of the circuit transceiver 2. Specifically, the switching resistor 3 includes a resistor R1 and a resistor R2;

[0041] Wherein, one end of the resistor R1 is connected to the Z end of the RS-422 / 485 transceiver 21, and the other end of the resistor R1 is connected to the B end of the RS-422 / 485 transceiver 21;

[0042] One end of the resistor R2 is connected to the Y end of the RS-422 / 485 transceiver 21, and the other end of the resistor R2 is connected to the A end of the RS-422 / 485 transceiver 21. Use two 0 ohm resistors R1 and R2 to achieve the switching between RS-422 and RS-485 standards. If R1 and R2 are not soldered or cut off, a standard RS-422 interface is obtained; if R1 and R2 are soldered, a standard RS-485 interface is obtained.

[0043] In this embodiment, MCU1 is used to realize the data link between USB and RS-422 / 485. MCU1 can realize two-way communication with the computer through its own USB interface, analyze or directly transmit the data sent by the computer, and then convert it into RS-422 / 485 medium and transmit it to the industrial equipment. The reverse path is also the same;

[0044] The isolated RS-422 / 485 transceiver 21 can convert the digital signal generated by the microprocessor or controller into a signal suitable for transmission on the RS-422 or RS-485 bus; at the same time, it can also receive signals from other devices on the bus and convert them into a format readable by the microprocessor or controller.

[0045] The USB interface end is provided with USB DP, USB DN, VDD and GND leads. The USB interface provides power supply to MCU1 and transceiver 2 through VDD lead and GND lead respectively; VDD and GND are both connected to the power input end of MCU1 to supply power to MCU1;

[0046] The USB DP lead and the USB DN lead are both connected to the signal input terminal of MCU1.

[0047] Specifically, the VDD and GND voltages of the USB are preferably +5V, the MCU1 and the transceiver 2 are both powered directly by the USB port, and the total power supply demand of the circuit is much less than 500mA, so the USB is preferably powered by the USB-2.0 standard.

[0048] Specifically, the RS-422 / 485 transceiver 21 is provided with V CC and GNDA port;

[0049] The VDD pin of the USB interface is connected to the V CC Port connection, V CCThe port is connected to the input end of the DC / DC power supply circuit 23, and VISO is connected between the input end and the output end of the DC / DC power supply circuit 23; VISO provides an isolation voltage, allowing power to be transmitted between the two isolation areas while maintaining electrical isolation;

[0050] The GND lead of the USB interface is connected to the GNDA port, and the USB interface supplies power to the RS-422 / 485 transceiver 21 .

[0051] In this embodiment, MCU1 is provided with TXD, RXD and Port, and the input side of the capacitor isolation circuit 22 is provided with a DE and a DI terminal, and the corresponding output sides are a port Z and a port Y;

[0052] The other input side of the capacitor isolation circuit 22 is provided with RO and The corresponding output sides are port A and port B.

[0053] Among them, the DE terminal represents the drive enable terminal, which is used to control the enable or start signal of the capacitor isolation circuit;

[0054] The DI terminal represents an input port, which is used to input a signal or data to be sent to the capacitor isolation region into the circuit.

[0055] Further, the RO terminal represents a receiving output terminal, which is used to represent an output port of data or signals received from the capacitive isolation circuit;

[0056] The terminal represents the inverted signal of the receiving output;

[0057] Port Z, port Y, port A, and port B all represent corresponding ports on the output side.

[0058] Specifically, the TXD port is connected to the DI terminal of the RS-422 / 485 transceiver 21;

[0059] The RXD port is connected to the RO terminal of the RS-422 / 485 transceiver 21;

[0060] The ports are connected to the RS-422 / 485 transceiver 21 DE and in parallel.

[0061] The above shows and describes the basic principle, main features and advantages of the utility model. Those skilled in the art should understand that the utility model is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the utility model and are not used to limit the utility model. Without departing from the spirit and scope of the utility model, the utility model may have various changes and improvements, which fall within the scope of the utility model to be protected. The scope of protection of the utility model is defined by the attached claims and their equivalents.

Claims

1. A new type of isolated USB to RS-485 converter, characterized in that: It comprises an MCU (1) integrated with a USB interface and a transceiver for realizing data transmission between different devices; The transceiver comprises an RS-422 / 485 transceiver (21), a capacitive isolation circuit (22) and a DC / DC power supply circuit (23); The capacitor isolation circuit (22) and the DC / DC power supply circuit (23) are both integrated in the RS-422 / 485 transceiver (21); the DC / DC power supply circuit (23) is used to provide a stable power supply for the RS-422 / 485 transceiver (21); and the capacitor isolation circuit (22) is used to block ground line interference and common mode noise. One end of the transceiver is connected to a switching resistor (3), and the switching resistor (3) is used to switch the working mode of the circuit transceiver.

2. The novel isolated USB to RS-485 converter according to claim 1, characterized in that: The USB interface end is provided with USB DP, USB DN, VDD and GND leads, and the USB interface provides power supply for the MCU (1) and the transceiver respectively through the VDD lead and the GND lead; Wherein, the USB DP lead and the USB DN lead are both connected to the signal input terminal of the MCU (1).

3. The novel isolated USB to RS-485 converter according to claim 2, characterized in that: The RS-422 / 485 transceiver (21) is provided with a V CC and GNDA port; The USB interface VDD pin is connected to V CC port connection, the V CC The port is connected to the input end of the DC / DC power supply circuit (23), and VISO is connected between the input end and the output end of the DC / DC power supply circuit (23); The GND lead of the USB interface is connected to the GNDA port.

4. The novel isolated USB to RS-485 converter according to claim 1, characterized in that: One end of the MCU (1) is provided with TXD, RXD and Port, and the input side of the capacitor isolation circuit (22) is provided with a DE and a DI terminal, and the corresponding output sides are a port Z and a port Y; The other input side of the capacitor isolation circuit (22) is provided with RO and The corresponding output sides are port A and port B.

5. The novel isolated USB to RS-485 converter according to claim 4 is characterized in that: The TXD port is connected to the DI terminal of the RS-422 / 485 transceiver (21); The RXD port is connected to the RO terminal of the RS-422 / 485 transceiver (21); Said The ports are connected to the DE and in parallel.

6. The novel isolated USB to RS-485 converter according to claim 5, characterized in that: The switching resistor (3) comprises a resistor R1 and a resistor R2; Wherein, one end of the resistor R1 is connected to the Z end of the RS-422 / 485 transceiver (21), and the other end of the resistor R1 is connected to the B end of the RS-422 / 485 transceiver (21); One end of the resistor R2 is connected to the Y end of the RS-422 / 485 transceiver (21), and the other end of the resistor R2 is connected to the A end of the RS-422 / 485 transceiver (21).