Interface adapter circuit and magnetic suspension motor controller
Through the combined circuit of the UART module and the inverter, flexible switching of the RS485 and RS422 interfaces is achieved, which solves the problems of operation inconvenience caused by hardware jumpers and equipment installation complexity, and improves the configuration efficiency and communication stability of the magnetic levitation pump.
Patent Information
- Application Number
- CN202422083026.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2034-08-27
AI Technical Summary
The controllers of existing magnetic levitation pumps require hardware jumpers during the RS485 and RS422 interface conversion, which leads to inconvenience in operation and increases the installation and debugging time of equipment. The differences in the pin definition of the same interface protocol also increase the complexity of equipment installation and debugging.
The combined circuit of the UART module, an inverter and two RS485 transceivers is adopted to realize the inverting control of the logic control signal through the inverter, and the pins are adapted to the RS485 and RS422 interfaces, combining pull-up resistors and pull-down resistors to ensure communication stability, and achieving flexible interface switching.
It simplifies the equipment installation and commissioning process, reduces production costs, improves product flexibility and communication reliability, and reduces the risk of equipment damage.
Smart Images

Figure CN223093764U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of magnetic suspension, in particular to an interface adapter circuit and a magnetic suspension motor controller. Background Art
[0002] A magnetic levitation motor is a magnetic levitation rotary drive that uses magnetic field force to suspend the rotor so that there is no mechanical contact between the rotor and the stator. The magnetic levitation motor can be a magnetic bearing motor, a bearingless motor, or a bearingless thin-film motor, etc.
[0003] The magnetic levitation motor can be assembled with different functional assemblies to become a magnetic levitation device for different application requirements. In one embodiment, the magnetic levitation device can be configured as a magnetic levitation pump. In the application of the magnetic levitation pump, the magnetic levitation pump includes a magnetic levitation motor (pump) and a pump head. The pump head includes a pump housing and a rotor impeller disposed in the pump housing. The magnetic levitation rotor is both the rotor of the magnetic levitation motor and a part of the rotor impeller of the pump. It can be, for example, a permanent magnet rotor or a short-circuit cage rotor or a reluctance rotor. The magnetic levitation stator is configured to drive the rotor impeller to rotate and suspend. The controller of the magnetic levitation pump is a key component for achieving stable suspension and precise control of the magnetic levitation pump. Usually, the controller has functions such as controlling the start, suspension, rotation, and shutdown of the pump. The controller usually has a user interface, and the user can adjust the pump speed through the controller, monitor the operation data of the magnetic levitation motor in real time, and restore the factory settings.
[0004] At present, RS485 and RS422 interfaces are widely used. The controller is usually configured with an RS485 interface or an RS422 interface to achieve real-time communication with user equipment. However, the interface types of user equipment are diverse. For example, although both the RS422 interface and the RS485 interface use a 9-pin DB electrical connector, there are differences in the pin definitions of the plug. The RS485 interface uses a two-wire differential signal (A or DATA+, B or DATA-) for data transmission and half-duplex communication, corresponding to the 2-pin of the DB electrical connector, such as Pin1 and Pin2. The RS422 interface uses a four-wire differential signal (T+, T-, R+, R-) for data transmission and is a full-duplex RS485 communication, corresponding to the 4-pin of the electrical connector respectively, such as Pin1, Pin2, Pin3, and Pin4. Among them, Pin1 and Pin2 are used for sending data while Pin3 and Pin4 are used for receiving data. In order to implement two different interfaces simultaneously, hardware jumpers are generally used at present, which is not very convenient for operators and increases the time for equipment installation and debugging. In addition, for electrical connectors of the same interface protocol, there are also differences in the pin definitions of the plug. For example, the DATA+ and DATA- of the RS485 interface corresponding to the 2 pins of the DB electrical connector may be Pin1 and Pin2, or may be Pin3 and Pin4. Such differences in pin definitions of the plug will also bring inconvenience to operators and also increase the time for equipment installation and debugging. Summary of the Invention
[0005] In order to overcome the defects in the prior art, an embodiment of the present utility model provides a dead-zone-free bridge circuit and a maglev system circuit, which are used to solve at least one of the above problems.
[0006] An embodiment of the present disclosure discloses an interface adaptation circuit, including a UART module, an inverter, and two RS485 transceivers. The enable terminal of the UART module is electrically connected to the RE pin and the DE pin of one of the RS485 transceivers respectively, and the enable terminal of the UART module is connected to the input terminal of the inverter. The output terminal of the inverter is electrically connected to the RE pin and the DE pin of the other RS485 transceiver respectively; the sending terminal of the UART module is electrically connected to the DI pins of the two RS485 transceivers respectively, and the receiving terminal of the UART module is electrically connected to the RO pins of the two RS485 transceivers respectively; the two A pins and the two B pins of the two RS485 transceivers adapt to the RS485 interface or the RS422 interface according to the enable terminal control signal of the UART module.
[0007] Further, it further includes an electrical connector. The A pin and B pin of one RS485 transceiver are electrically connected to two pins of the electrical connector, and the A pin and B pin of another RS485 transceiver are electrically connected to another two pins of the electrical connector.
[0008] Further, the enable terminal of the UART module is configured to be at a constant high level or a constant low level, and the electrical connector is adapted to an RS422 interface.
[0009] Further, the enable terminal of the UART module is configured to receive data at a low level and transmit data at a high level, or receive data at a high level and transmit data at a low level, and the electrical connector is adapted to an RS485 interface.
[0010] Further, the inverter is a transistor inverter, a MOS inverter, a CMOS inverter or a TTL inverter.
[0011] Further, it further includes an AND gate. One input terminal of the AND gate is electrically connected to the RO pin of one RS485 transceiver, the other input terminal of the AND gate is electrically connected to the RO pin of another RS485 transceiver, and the output terminal of the AND gate is electrically connected to the receiving terminal of the UART module.
[0012] Further, it further includes a first pull-up resistor and a second pull-up resistor. One end of the first pull-up resistor is electrically connected to the RO pin of one RS485 transceiver, and the other end of the first pull-up resistor is electrically connected to the power supply; one end of the second pull-up resistor is electrically connected to the RO pin of another RS485 transceiver, and the other end of the second pull-up resistor is electrically connected to the power supply.
[0013] Further, for each RS485 transceiver, a third pull-up resistor and a pull-down resistor are provided. One end of the third pull-up resistor is electrically connected to the A pin of the RS485 transceiver, and the other end of the third pull-up resistor is electrically connected to the power supply; one end of the pull-down resistor is electrically connected to the B pin of the RS485 transceiver, and the other end of the pull-down resistor is grounded.
[0014] According to another aspect of the present invention, a magnetic levitation motor controller is proposed, including the above-mentioned interface adaptation circuit.
[0015] Further, it further includes a controller housing and a circuit board disposed within the controller housing. The interface adaptation circuit is disposed on the circuit board, and the electrical connector is disposed on one surface of the controller housing; the circuit board includes a microprocessor, and the UART module is configured as a serial communication interface of the microprocessor.
[0016] The beneficial effects of the present utility model are as follows: Compared with the prior art, an inverter is provided between two RS485 transceivers and the UART module of the present utility model. Through the inverter, the inverting control of the logic control signal is used to control the enable pins of the two RS485 transceivers, so as to realize the enabling of the transmission and reception of the two RS485 transceivers. Thus, when adapting to the RS485 interface, one RS485 transceiver is utilized, and when adapting to the RS422 interface, two RS485 transceivers are used. In this way, by controlling the enable pins of the two RS485 transceivers through the inverter, not only the adaptation of two interfaces is achieved, but also the pins can be switched to meet the different application requirements of the same interface. Moreover, the circuit structure is simple and the production cost is relatively low.
[0017] In order to make the above and other purposes, features and advantages of the present utility model more obvious and understandable, the following will specifically give preferred embodiments and cooperate with the attached drawings to make detailed descriptions as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present utility model or the prior art, the following will briefly introduce the drawings required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0019] Figure 1 is a schematic block diagram of an embodiment of the interface adaptation circuit of the present utility model;
[0020] Figure 2 is a schematic structural diagram of an embodiment of the present utility model connected to a maglev motor controller Figure 1 ;
[0021] Figure 3 is a schematic structural diagram of an embodiment of the present utility model connected to a maglev motor controller Figure 2 . DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The following will combine the drawings in the embodiments of the present utility model to clearly and completely describe the technical solutions in the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, rather than all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present utility model.
[0023] In the description of the present utility model, it should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present utility model and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present utility model. The terms "comprising" and "provided with" in the description and claims of the present utility model and any variations thereof are intended to cover non-exclusive inclusion. For example, a system, product or device comprising a series of units does not necessarily have to be limited to those units clearly listed, but may include other units not clearly listed or inherent to these products or devices.
[0024] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present utility model, unless otherwise specified, the meaning of "a plurality" is two or more, unless otherwise clearly defined.
[0025] The drawings in the present disclosure are not strictly drawn to actual scale, and the specific dimensions and quantities of each structure can be determined according to actual needs. The drawings described in the present disclosure are only schematic diagrams.
[0026] RS485 and RS422 interfaces are widely used in various electronic and electrical devices. Among them, magnetic levitation motor controllers are usually configured with RS485 interfaces or RS422 interfaces to achieve real-time communication with user devices. However, the interface types of user devices are diverse. For example, although both RS422 interfaces and RS485 interfaces use 9-pin DB electrical connectors, there are differences in the pin definitions of the plugs. The RS485 interface uses a two-wire differential signal (A or DATA+, B or DATA-) for data transmission and half-duplex communication, corresponding to the 2-pin pins of the electrical connector, such as Pin1 and Pin2. The RS422 interface uses a four-wire differential signal (T+, T-, R+, R-) for data transmission and full-duplex communication, corresponding to the 4-pin pins of the DB electrical connector respectively, such as Pin1, Pin2, Pin3, and Pin4. Among them, Pin1 and Pin2 are used for sending data while Pin3 and Pin4 are used for receiving data. In order to implement two different interfaces simultaneously, currently, hardware jumpers are generally used, which is not very convenient for operators and increases the time for equipment installation and debugging. In addition, for electrical connectors with the same interface protocol, there are also differences in the pin definitions of the plugs. For example, the DATA+ and DATA- of the RS485 interface correspond to the 2-pin pins of the electrical connector. The 2-pin pins may be Pin1 and Pin2, or may be Pin3 and Pin4. Such differences in pin definitions of the plugs will also bring inconvenience to operators and also increase the time for equipment installation and debugging.
[0027] To solve the above technical problems, refer to Figure 1 , the present utility model proposes an interface adaptation circuit, which includes a UART module 1, an inverter 2, and two RS485 transceivers 3. The enable end EN of the UART module 1 is electrically connected to the RE pin and the DE pin of an RS485 transceiver 3 respectively, and the enable end EN of the UART module 1 is connected to the input end of the inverter 2. The output end of the inverter 2 is respectively connected to the RE pin and the DE pin of the other RS485 transceiver 3; the sending end TX of the UART module 1 is respectively connected to the DI pins of the two RS485 transceivers 3, and the receiving end RX of the UART module 1 is respectively connected to the RO pins of the two RS485 transceivers 3; the A pin and the B pin of an RS485 transceiver 3 can be used to be electrically connected to two pins of the electrical connector 4, and the A pin and the B pin of the other RS485 transceiver can be used to be electrically connected to the other two pins of the electrical connector 4. The two A pins and the two B pins of the two RS485 transceivers adapt to the RS485 interface or the RS422 interface according to the enable end control signal of the UART module.
[0028] In the above embodiments, an inverter is provided between the two RS485 transceivers and the UART module. The inverter is used to invert the logic control signal to control the enable pins of the two RS485 transceivers, so as to enable the transmission and reception of the two RS485 transceivers. Therefore, when adapting to the RS485 interface, one RS485 transceiver is used, and when adapting to the RS422 interface, two RS485 transceivers are used. In this way, by controlling the enable pins of the two RS485 transceivers through the inverter, not only the adaptation of the two interfaces is realized, but also the pins can be switched to meet the different application requirements of the same interface. Moreover, the circuit structure is simple and the production cost is low.
[0029] According to an embodiment of the present disclosure, referring to Figure 1 , the interface adaptation circuit further includes an electrical connector 4. The A pin and the B pin of one RS485 transceiver 3 are electrically connected to two pins of the electrical connector 4, and the A pin and the B pin of the other RS485 transceiver 3 are electrically connected to the other two pins of the electrical connector 4. The type of the electrical connector is not limited. For example, it can be an RJ45 connector or a DB connector, etc.
[0030] According to an embodiment of the present disclosure, referring to Figure 1, the enable terminal EN of the UART module 1 is configured to be constantly high level or constantly low level, and the electrical connector 4 is adapted to the RS422 interface. Since the RS422 interface uses a four-wire differential signal (T+, T-, R+, R-) for data transmission, it is full-duplex communication. At this time, the A pin and the B pin of one RS485 transceiver among the two RS485 transceivers are electrically connected to two pins of the electrical connector, and the A pin and the B pin of the other RS485 transceiver are electrically connected to the other two pins of the electrical connector. The 4-pin pins of the electrical connector are, for example, Pin1, Pin2, Pin3, and Pin4. Since the RE pin and the DE pin of the RS485 transceiver are electrically connected together, when the DE pin of the RS485 transceiver is defined as high level, the transmitter is enabled and data can be transmitted. When the RE pin is at low level, the receiver is enabled and data can be received. Therefore, when the enable terminal EN of the UART module 1 is configured to be constantly high level, the RE pin and the DE pin of one RS485 transceiver are constantly high level, and the two pins Pin1 and Pin2 of the corresponding electrical connector can be used to transmit data (differential signals T+, T-), and the reception of this RS485 transceiver is prohibited; while the RE pin and the DE pin of the other RS485 transceiver are constantly low level due to the inverting logic control of the inverter, and the two pins Pin3 and Pin4 of the corresponding electrical connector can be used to receive data (differential signals R+, R-), and the transmission of this RS transceiver is prohibited at the same time. In this way, the electrical connector can be adapted to the RS422 interface. When Pin3 and Pin4 of the adapted RS422 interface are defined to transmit data (differential signals T+, T-) and Pin1 and Pin2 are used to receive data (differential signals R+, R-), only the enable terminal EN of the UART module 1 needs to be configured to be constantly low level. In this way, not only can the RS422 interface be adapted, but also the pins can be switched to change the definition of the pins to meet different application requirements of the same interface, improving the flexible configuration of the product.
[0031] According to an embodiment of the present disclosure, refer to Figure 1, the enable terminal EN of the UART module 1 is configured to receive data at a low level and transmit data at a high level, or receive data at a high level and transmit data at a low level, and the electrical connector 4 is adapted to the RS485 interface. Since the RS485 interface uses a two-wire differential signal (A or DATA+, B or DATA-) for data transmission, it is a half-duplex communication. At this time, although the A and B pins of one RS485 transceiver among the two RS485 transceivers are electrically connected to two pins of the electrical connector, and the A and B pins of the other RS485 transceiver are electrically connected to the other two pins of the electrical connector; however, two of the 4-pin pins of the electrical connector, such as Pin1, Pin2, Pin3, and Pin4, have no data, so it can be adapted to the RS485 interface. Since the RE pin and the DE pin of the RS485 transceiver are electrically connected together, when the DE pin of the RS485 transceiver is defined as a high level, the transmitter is enabled and data can be transmitted. When the RE pin is at a low level, the receiver is enabled and data can be received. Therefore, when the enable terminal EN of the UART module 1 is configured to receive data at a low level and transmit data at a high level, the RE pin and the DE pin of one RS485 transceiver are switched to enable each other, and the two pins Pin1 and Pin2 of the corresponding electrical connector are used to transmit data (A or DATA+, B or DATA-) at a high level and receive data (A or DATA+, B or DATA-) at a low level; at the same time, due to the inverting logic control of the inverter, the data transmission of the two pins Pin3 and Pin4 of the other RS485 transceiver is opposite, that is, when Pin1 and Pin2 are used to transmit data (A or DATA+, B or DATA-) at a high level, the transmitter of the RS485 transceiver corresponding to Pin3 and Pin4 is prohibited. Although the receiver of this RS485 transceiver is enabled, due to half-duplex communication, there is no data on Pin3 and Pin4 corresponding to this RS485 transceiver. In this way, the electrical connector can be adapted to the RS485 interface. When Pin3 and Pin4 adapted to the RS485 interface are defined to transmit data or receive data (A or DATA+, B or DATA-), it is only necessary to configure the enable terminal EN of the UART module 1 to receive data at a high level and transmit data at a low level. In this way, not only can the RS485 interface be adapted, but also the pins can be switched to change the definition of the pins to meet different application requirements of the same interface pins, improving the flexible configuration of the product.
[0032] The type of the inverter in the present invention is not limited, as long as it can satisfy the inverting control of the logic control signal. Preferably, the inverter is a transistor inverter, a MOS inverter, a CMOS inverter, or a TTL inverter.
[0033] According to an embodiment of the present disclosure, refer to Figure 1, the interface adaptation circuit further includes an AND gate 5. One input terminal of the AND gate 5 is electrically connected to the RO pin of one RS485 transceiver, and the other input terminal of the AND gate 5 is electrically connected to the RO pin of another RS485 transceiver. The output terminal of the AND gate is electrically connected to the receiving end RX of the UART module 1. In this way, through the AND gate logic, it can be ensured that the UART module 1 always keeps the same level as the RO pin of the RS485 transceiver with receiving enabled, avoiding signal conflicts between the two RS485 transceivers. For example, when the RE pin of one RS485 transceiver among the two RS485 transceivers 3 is at a low level, the receiving of this RS485 transceiver is enabled, while the RE pin of the other RS485 transceiver is at a high level, and the receiving of this RS485 transceiver is prohibited. When it is defined that the RE pin is at a low level and the receiver is enabled to receive data, the output of the AND gate 5 is the same as the RE pin of the RS485 transceiver with a low level.
[0034] According to an embodiment of the present disclosure, referring to Figure 1 , the interface adaptation circuit further includes a first pull-up resistor R1 and a second pull-up resistor R2. One end of the first pull-up resistor R1 is electrically connected to the RO pin of one RS485 transceiver 3, and the other end of the first pull-up resistor R1 is electrically connected to the power supply VCC; one end of the second pull-up resistor R2 is electrically connected to the RO pin of another RS485 transceiver 3, and the other end of the second pull-up resistor R2 is electrically connected to the power supply VCC. The function of the pull-up resistor is to ensure that there is a definite reference level for the differential signal of the RO pin of the RS485 transceiver when there is no data transmission. It helps the RS485 transceiver to recognize the logic state when there is no data transmission and avoid misjudgment caused by an uncertain signal state.
[0035] According to an embodiment of the present disclosure, referring to Figure 1 , for each RS485 transceiver 3, a third pull-up resistor R3 and a pull-down resistor R4 are provided. One end of the third pull-up resistor R3 is electrically connected to the A pin of the RS485 transceiver 3, and the other end of the third pull-up resistor R3 is electrically connected to the power supply VCC; one end of the pull-down resistor R4 is electrically connected to the B pin of the RS485 transceiver 3, and the other end of the pull-down resistor R3 is grounded. In this way, the third pull-up resistor and the pull-down resistor can play important roles such as providing a stable reference level, ensuring the stability of the differential signal, and reducing the influence of noise. By reasonably selecting the resistance values of the pull-up resistor and the pull-down resistor, the stability and reliability of communication can be ensured.
[0036] The interface adaptation circuit of the present utility model can be applied to electronic and electrical devices with RS485 and RS422 interfaces as needed. Preferably, referring to Figure 2, the present utility model also proposes a magnetic levitation motor controller, which includes the interface adaptation circuit in each of the above embodiments. In this way, the magnetic levitation motor controller only needs to be configured with one type of interface, and it can adapt to the RS485 interface or RS422 interface of the user device, thereby realizing real-time communication with the user device. Compared with the prior art that uses hardware jumpers to achieve this, the configuration operation of the present utility model is simple, reducing the time for equipment installation and debugging, greatly reducing the equipment maintenance time and maintenance cost, and can avoid the risk of equipment damage caused by personnel operation.
[0037] According to an embodiment of the present disclosure, referring to Figure 2 , the magnetic levitation motor controller further includes a controller housing 6 and a circuit board disposed inside the controller housing. The interface adaptation circuit is disposed on the circuit board, and the electrical connector 4 is disposed on one surface of the controller housing 6, for example, one side surface in the length direction. Preferably, the circuit board includes a microprocessor, and the UART module is configured as the serial communication interface of the microprocessor. The UART module is an important part for realizing serial communication in the microprocessor. Through reasonable configuration and use, the UART module can achieve efficient and reliable serial data transmission and is widely used in various embedded systems and Internet of Things devices.
[0038] Specific embodiments are applied in the present utility model to elaborate on the principle and implementation manner of the present utility model. The description of the above embodiments is only used to help understand the technical solution and its core idea of the present utility model; at the same time, for those of ordinary skill in the art, based on the idea of the present utility model, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present utility model.
Claims
1. An interface adaptation circuit, characterized in that, It includes a UART module (1), an inverter (2) and two RS485 transceivers (3). The enable terminal (EN) of the UART module is electrically connected to the RE pin and the DE pin of one of the RS485 transceivers respectively, and the enable terminal of the UART module is connected to the input terminal of the inverter. The output terminal of the inverter is electrically connected to the RE pin and the DE pin of the other RS485 transceiver respectively; the transmission terminal (TX) of the UART module is electrically connected to the DI pins of the two RS485 transceivers respectively, and the reception terminal (RX) of the UART module is electrically connected to the RO pins of the two RS485 transceivers respectively; the two A pins and the two B pins of the two RS485 transceivers adapt to the RS485 interface or the RS422 interface according to the control signal of the enable terminal (EN) of the UART module.
2. The interface adaptation circuit according to claim 1, wherein It further includes an electrical connector (4). The A pin and the B pin of one of the RS485 transceivers are electrically connected to two pins of the electrical connector, and the A pin and the B pin of the other RS485 transceiver are electrically connected to the other two pins of the electrical connector.
3. The interface adaptation circuit according to claim 2, wherein The enable terminal of the UART module is configured to be a constant high level or a constant low level, and the electrical connector adapts to the RS422 interface.
4. The interface adaptation circuit according to claim 2, wherein The enable terminal of the UART module is configured to receive data at a low level and transmit data at a high level or receive data at a high level and transmit data at a low level, and the electrical connector adapts to the RS485 interface.
5. The interface adaptation circuit according to claim 1, wherein The inverter is a transistor inverter or a MOS inverter or a CMOS inverter or a TTL inverter.
6. The interface adaptation circuit according to claim 1, characterized in that It further includes an AND gate (5). One input terminal of the AND gate is electrically connected to the RO pin of one of the RS485 transceivers, the other input terminal of the AND gate is electrically connected to the RO pin of the other RS485 transceiver, and the output terminal of the AND gate is electrically connected to the reception terminal of the UART module.
7. The interface adaptation circuit according to claim 6, characterized in that, It further includes a first pull-up resistor (R1) and a second pull-up resistor (R2). One end of the first pull-up resistor is electrically connected to the RO pin of one of the RS485 transceivers, and the other end of the first pull-up resistor is electrically connected to the power supply (VCC); one end of the second pull-up resistor is electrically connected to the RO pin of the other RS485 transceiver, and the other end of the second pull-up resistor is electrically connected to the power supply (VCC).
8. The interface adaptation circuit according to claim 1, characterized in that For each of the RS485 transceivers, a third pull-up resistor (R3) and a pull-down resistor (R4) are provided. One end of the third pull-up resistor is electrically connected to the A pin of the RS485 transceiver, and the other end of the third pull-up resistor is electrically connected to the power supply (VCC); one end of the pull-down resistor is electrically connected to the B pin of the RS485 transceiver, and the other end of the pull-down resistor is grounded.
9. A magnetic levitation motor controller, characterized in that, It includes the interface adaptation circuit according to any one of claims 2-8.
10. The magnetic levitation motor controller according to claim 9, characterized in that, It further includes a controller housing (6) and a circuit board disposed within the controller housing. The interface adaptation circuit is disposed on the circuit board, and the electrical connector is disposed on one surface of the controller housing; the circuit board includes a microprocessor, and the UART module is configured as a serial communication interface of the microprocessor.