Communication protocol converter
By using a diode structure in the communication protocol converter to ensure that the power output direction is consistent, the problem of power access errors is solved, and the protocol conversion module is used to realize information interaction between different devices, solving the problem of protocol differences between devices, and improving the efficiency of the equipment. compatibility and reliability.
Patent Information
- Application Number
- CN202323410458.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2033-12-14
AI Technical Summary
In the electronic communications industry, communication protocol converters tend to reverse the positive and negative poles of the power supply when connected to the power supply, causing the equipment to become unusable, and it is difficult to realize information interaction between devices of different protocol types using existing technology.
A communication protocol converter is designed. There is no need to distinguish between positive and negative poles through the power input module. The diode structure is used to ensure that the positive and negative poles of the power output are in the same direction. Information interaction between different devices is realized through the protocol conversion module and control module. It supports RS485. Conversion to protocol types such as RS232.
It avoids damage to equipment caused by wiring errors and realizes information interaction between different devices. No matter the device protocol type is the same or different, normal communication can be achieved, which improves the compatibility and reliability between devices.
Smart Images

Figure CN221862878U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic communications, in particular to a communication protocol converter. Background Art
[0002] In the electronic communications industry, there are many different types of communications for electronic devices, and there is an urgent need for a communication protocol converter to enable information interaction between electronic devices of different protocol types.
[0003] At the same time, the communication protocol converter needs to be connected to a power source to ensure normal operation. However, when connecting to the power source, it is very easy to connect the positive and negative poles of the power source in reverse, causing the converter to be unusable. Utility Model Content
[0004] The utility model provides a communication protocol converter, which does not need to distinguish between positive and negative poles for power input, thus avoiding damage to equipment caused by wiring errors, and realizing information interaction between different devices through the communication protocol converter.
[0005] According to one aspect of the utility model, a communication protocol converter is provided, comprising: a power input module, a control module and at least two protocol conversion modules, wherein the protocol conversion module comprises at least one set of device interfaces, wherein the device interfaces are used to connect to devices, wherein one of the at least two protocol conversion modules is connected to a first device, and the other protocol conversion module is connected to a second device;
[0006] The power input module includes a first input terminal, a second input terminal, a positive output terminal, a negative output terminal, a first diode, a second diode, a third diode and a fourth diode;
[0007] The first end of the first diode is connected to the first input end of the power input module, the second end of the first diode is connected to the positive output end of the power input module, the first end of the second diode is connected to the negative output end of the power input module, the second end of the second diode is connected to the second input end of the power input module, the first end of the third diode is connected to the second input end of the power input module, the second end of the third diode is connected to the positive output end of the power input module, the first end of the fourth diode is connected to the negative output end of the power input module, and the second end of the fourth diode is connected to the first input end of the power input module;
[0008] The first input terminal and the second input terminal of the power input module are used to access the power supply voltage;
[0009] The protocol conversion module is connected to the negative output terminal and the positive output terminal of the power input module respectively, and the power input module is used to provide a power supply voltage for the protocol conversion module and the control module;
[0010] The protocol conversion module is connected to the control module, and the protocol conversion module is used to generate a second level signal according to the first level signal transmitted by the first device. The control module is used to send the second level signal to the setting protocol conversion module, and the setting protocol conversion module generates a third level signal according to the second level signal and transmits it to the second device, wherein the setting protocol conversion module is a protocol conversion module connected to the second device.
[0011] Optionally, the device interface includes a first interface and a second interface, the control module includes a plurality of input terminals and a plurality of output terminals, and the protocol conversion module includes a protocol interface unit, a first resistor and a second resistor;
[0012] The power supply end of the protocol interface unit is connected to a first voltage, the first communication end of the protocol interface unit is connected to the first end of the first resistor, the second end of the first resistor is connected to the first interface of the corresponding device interface, the second communication end of the protocol interface unit is connected to the first end of the second resistor, the second end of the second resistor is connected to the second interface of the corresponding device interface, the output end of the protocol interface unit is connected to the input end corresponding to the control module, and the input end of the protocol interface unit is connected to the output end corresponding to the control module.
[0013] Optionally, the protocol interface unit connected to the first device is an RS485 interface unit, and the protocol interface unit connected to the second device is an RS232 interface unit.
[0014] Optionally, the protocol interface unit connected to the first device is an RS485 interface unit, and the protocol interface unit connected to the second device is an RS485 interface unit.
[0015] Optionally, the communication protocol converter includes six protocol conversion modules, wherein the protocol interface units in five of the protocol conversion modules are RS485 interface units, and the protocol interface unit in the remaining protocol conversion module is an RS232 interface unit.
[0016] Optionally, the communication protocol converter further includes an isolation module corresponding one-to-one to the protocol interface unit;
[0017] The first isolation side input end of the isolation module is connected to the output end corresponding to the control module, the first isolation side output end of the isolation module is connected to the input end corresponding to the control module, the second isolation side input end of the isolation module is connected to the output end of the corresponding protocol interface unit, and the second isolation side output end of the isolation module is connected to the input end of the corresponding protocol interface unit.
[0018] Optionally, the isolation module includes an IS3722HS chip.
[0019] Optionally, the communication protocol converter further includes an anti-static module corresponding to the protocol interface unit one by one, and the anti-static module includes a fifth diode, a sixth diode, a seventh diode and an eighth diode;
[0020] The cathode terminal of the fifth diode is connected to the first communication terminal of the corresponding protocol interface unit, the anode terminal of the fifth diode is connected to the anode terminal of the sixth diode, the cathode terminal of the sixth diode is connected to the second ground potential, the cathode terminal of the seventh diode is connected to the second communication terminal of the corresponding protocol interface unit, the anode terminal of the seventh diode is connected to the anode terminal of the eighth diode, and the cathode terminal of the eighth diode is connected to the second ground potential.
[0021] Optionally, the device interface is a screw-type fixed terminal.
[0022] Optionally, the communication protocol converter further includes an installation shell, and the protocol conversion module, the control module and the power input module are all arranged in the installation shell;
[0023] A buckle is arranged on the outer surface of the installation shell, and the installation shell is arranged on the guide rail through the buckle.
[0024] The technical solution of the embodiment of the utility model is to set a power input module between the power supply and the protocol conversion module, so that no matter the first input terminal of the power input module inputs a positive voltage and the second input terminal of the power input module inputs a negative voltage, or the first input terminal of the power input module inputs a negative voltage and the second input terminal of the power input module inputs a positive voltage, the positive output terminal of the power input module outputs a positive voltage and the negative output terminal outputs a negative voltage, so as to ensure that the power input does not need to distinguish between positive and negative poles, and avoid damage to the communication protocol converter caused by wiring errors. At the same time, no matter whether the protocol types of the first device and the second device are the same, the communication between the first device and the second device can be realized through the control module and at least two protocol conversion modules.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present utility model, nor are they intended to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 It is a structural schematic diagram of a communication protocol converter provided by an embodiment of the utility model;
[0028] Figure 2 It is a structural schematic diagram of another communication protocol converter provided by an embodiment of the utility model;
[0029] Figure 3 It is a structural schematic diagram of another communication protocol converter provided by an embodiment of the utility model. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Figure 1 A schematic diagram of a communication protocol converter provided by an embodiment of the utility model, referring to Figure 1The communication protocol converter includes: a power input module 1, a control module 2 and at least two protocol conversion modules 3, the protocol conversion module 3 includes at least one set of device interfaces, the device interface is used to connect with the device, one protocol conversion module 3 of the at least two protocol conversion modules 3 is connected to the first device 4, and the other protocol conversion module 3 is connected to the second device 5;
[0033] The power input module 1 includes a first input terminal I1, a second input terminal I2, a positive output terminal N+, a negative output terminal N-, a first diode T1, a second diode T2, a third diode T3 and a fourth diode T4;
[0034] A first end of the first diode T1 is connected to the first input terminal I1 of the power input module 1, a second end of the first diode T1 is connected to the positive output terminal N+ of the power input module 1, a first end of the second diode T2 is connected to the negative output terminal N- of the power input module 1, a second end of the second diode T2 is connected to the second input terminal I2 of the power input module 1, a first end of the third diode T3 is connected to the second input terminal I2 of the power input module 1, a second end of the third diode T3 is connected to the positive output terminal N+ of the power input module 1, a first end of the fourth diode T4 is connected to the negative output terminal N- of the power input module 1, and a second end of the fourth diode T4 is connected to the first input terminal I1 of the power input module 1;
[0035] The first input terminal and the second input terminal of the power input module 1 are used to access the power supply voltage;
[0036] The protocol conversion module 3 is connected to the negative output terminal N- and the positive output terminal N+ of the power input module 1 respectively, and the power input module 1 is used to provide a power supply voltage for the protocol conversion module 3 and the control module 2;
[0037] The protocol conversion module 3 is connected to the control module 2, and the protocol conversion module 3 is used to generate a second level signal according to the first level signal transmitted by the first device 4. The control module 2 is used to send the second level signal to the setting protocol conversion module, and the setting protocol conversion module generates a third level signal according to the second level signal and transmits it to the second device 5, wherein the setting protocol conversion module is the protocol conversion module 3 connected to the second device 5.
[0038] Each protocol conversion module 3 may include at least one device interface. Exemplarily, each protocol conversion module 3 includes multiple device interfaces, and one device interface is connected to one device.
[0039] The communication protocol types adopted by the first device 4 and the second device 5 may be the same or different, such as the first device 4 adopts RS485 interface communication and the second device 5 adopts RS232 interface communication, or the first device 4 adopts RS485 interface communication and the second device 5 also adopts RS485 interface communication. When the first device 4 and the second device 5 communicate, the information that the first device 4 needs to transmit is a digital quantity composed of 0 and 1. When the control module 2 receives a voltage of 3.3V, it determines that the transmitted information is a digital quantity 1. When the control module 2 receives a voltage of 0V, it determines that the transmitted information is a digital quantity 0. Exemplarily, when both devices are RS485 interfaces, when the voltage transmitted by the first device 4 or the second device 5 is 2-6V, it indicates that the transmitted information is a digital quantity 1. When the voltage transmitted by the first device 4 or the second device 5 is -2 to -6V, it indicates that the transmitted information is a digital quantity 0. The first device 4 transmits a first level signal, such as a voltage of 6V, to the protocol conversion module 3 connected to the first device 4. The protocol conversion module 3 determines that the digital quantity transmitted at this time is 1 according to the first level signal. Therefore, the second level signal corresponding to the control module is generated according to the first level signal, such as a voltage of 3.3V. The control module 2 determines that the transmitted information is a digital quantity 1 according to the second level signal, and transmits the second level signal to the protocol conversion module 3 connected to the second device 5 after processing. The protocol conversion module 3 connected to the second device 5 determines that the information transmitted by the control module 2 is a digital quantity 1 according to the second level signal, and therefore generates a third level signal, such as 6V, according to the second level signal, so that the second device 5 determines that the received information is a digital quantity 1, thereby realizing information exchange between the first device 4 and the second device 5. Among them, when the first device 4 and the second device 5 both use the RS485 interface for communication, the first level signal can be a voltage of +2V to +6V, the second level signal is a voltage of 0 to 3.3V, and the third level signal is a voltage of -2V to -6V.
[0040] The protocol conversion module 3 and the control module 2 both need to be connected to voltage to ensure normal operation. The power input module 1 can ensure that no matter the first input terminal I1 is a positive voltage and the second input terminal I2 is a negative voltage, or the first input terminal I1 is a negative voltage and the second input terminal I2 is a positive voltage, the positive output terminal N+ outputs a positive voltage and the negative output terminal N- outputs a negative voltage. Specifically, when the first input terminal I1 of the power input module 1 inputs a positive voltage and the second input terminal I2 inputs a negative voltage, the first diode T1 is turned on, so that the positive output terminal N+ outputs a positive voltage, and the second diode T2 is turned on, so that the negative output terminal N- outputs a negative voltage. When the first input terminal I1 of the power input module 1 inputs a negative voltage and the second input terminal I2 inputs a positive voltage, the third diode T3 is turned on, so that the positive output terminal N+ outputs a positive voltage, and the fourth diode T2 is turned on, so that the negative output terminal N- outputs a negative voltage.
[0041] The communication protocol converter also includes a power supply and a voltage conversion module. The power supply is connected to the first input terminal I1 and the second input terminal I2 of the power input module 1, and the power supply is used to output the power supply voltage. The positive output terminal N+ and the negative output terminal N- of the power input module 1 are connected to the voltage conversion module, and the voltage conversion module is used to convert the large voltage of the power supply into the small voltage required by the protocol conversion module. The voltage conversion module can be a TD1509H chip, which can obtain a low-noise 5V power supply. Its input voltage range is 6-45V DC, which can adapt to the commonly used 12V, 24V, and 36V voltage levels in industry.
[0042] The technical solution of the embodiment of the utility model is to set a power input module between the power supply and the protocol conversion module, so that no matter the first input terminal of the power input module inputs a positive voltage and the second input terminal of the power input module inputs a negative voltage, or the first input terminal of the power input module inputs a negative voltage and the second input terminal of the power input module inputs a positive voltage, the positive output terminal of the power input module outputs a positive voltage and the negative output terminal outputs a negative voltage, so as to ensure that the power input does not need to distinguish between positive and negative poles, and avoid damage to the communication protocol converter caused by wiring errors. At the same time, no matter whether the protocol types of the first device and the second device are the same, the communication between the first device and the second device can be realized through the control module and at least two protocol conversion modules.
[0043] Figure 2 A schematic diagram of the structure of another communication protocol converter provided by an embodiment of the utility model, Figure 2 The structure of only one protocol conversion module 3 is shown in FIG. Figure 1 and Figure 2 , Optionally, the device interface includes a first interface L1 and a second interface L2, the control module 2 includes a plurality of input terminals and a plurality of output terminals, and the protocol conversion module 3 includes a protocol interface unit 31, a first resistor R1 and a second resistor R2;
[0044] The power supply terminal VCC of the protocol interface unit 31 is connected to the first voltage VCOM, the first communication terminal A of the protocol interface unit 31 is connected to the first end of the first resistor R1, the second end of the first resistor R1 is connected to the first interface L1 of the corresponding device interface, the second communication terminal B of the protocol interface unit 31 is connected to the first end of the second resistor R2, the second end of the second resistor R2 is connected to the second interface L2 of the corresponding device interface, the output terminal R0 of the protocol interface unit 31 is connected to the corresponding input terminal of the control module 2, and the input terminal DI of the protocol interface unit 31 is connected to the corresponding output terminal of the control module 2.
[0045] The protocol conversion module 3 further includes a third resistor R3, a fourth resistor R4, a fifth resistor R5 and a first filter capacitor C1. The first enable terminal RE of the protocol interface unit 31 is connected to the second enable terminal DE, and the first enable terminal RE is connected to the first voltage VCOM through the third resistor R3. The ground terminal GND of the protocol interface unit 31 is connected to the second ground potential GCOM, and the ground terminal of the protocol interface unit 31 is also connected to the second interface L2 through the fourth resistor R4 and the second resistor R2 connected in series.
[0046] A first end of the fifth resistor R5 is connected to the first voltage VCOM, and a second end of the fifth resistor R5 is connected to the first communication terminal A. A first end of the first filter capacitor C1 is connected to the first voltage VCOM, and a second end of the first filter capacitor C1 is connected to the second ground potential GCOM.
[0047] The protocol interface unit 31 is used to generate a second level signal according to the first level signal input from the first interface L1 and the second interface L2 , and output the second level signal to the control module 2 via the output terminal RO.
[0048] Continue to refer Figure 1 and Figure 2 Optionally, the protocol interface unit 31 connected to the first device 4 is an RS485 interface unit, and the protocol interface unit 31 connected to the second device 5 is an RS485 interface unit. Both the first device 4 and the second device 5 are devices that support RS485 protocol communication, so information interaction between the devices can be achieved through two RS485 interface units and the control module 2. Optionally, the RS485 interface unit includes a MAX13487 chip.
[0049] Alternatively, the protocol interface unit 31 connected to the first device 4 is an RS485 interface unit, and the protocol interface unit 31 connected to the second device 5 is an RS232 interface unit.
[0050] When the first device 4 uses the RS485 protocol for communication, the protocol interface unit 31 connected to the first device 4 must be an RS485 interface unit in order to identify the information transmitted by the first device 4. When the second device 5 uses the RS232 protocol for communication, the protocol interface unit 31 connected to the second device 5 must be an RS232 interface unit in order to identify the information transmitted by the second device 5. The protocol interface units included in at least two protocol conversion modules 3 are different protocol interface units, which facilitates interaction between devices with different protocols.
[0051] Figure 3 A schematic diagram of another communication protocol converter provided by the present utility model, referring to Figure 3Optionally, the communication protocol converter includes six protocol conversion modules, wherein the protocol interface units in five of the protocol conversion modules are RS485 interface units, and the protocol interface unit in the remaining protocol conversion module is an RS232 interface unit.
[0052] The six protocol conversion modules that the communication protocol converter includes are respectively the first protocol conversion module 301, the second protocol conversion module 302, the third protocol conversion module 303, the fourth protocol conversion module 304, the fifth protocol conversion module 305, and the sixth protocol conversion module 306, wherein the protocol interface unit in the first protocol conversion module 301 to the fifth protocol conversion module 305 is an RS485 interface unit, and the protocol interface unit in the sixth protocol conversion module 306 is an RS232 interface unit.In this implementation, the expansion of 1 road RS485 to 5 roads RS485 is realized, the quantity of different RS485 devices in the network is multiplied, and the level conversion of 1 road RS232 to 5 roads RS485 can also be realized.The communication protocol converter includes multi-way RS485 interface units, which facilitates the interconnection of different protocol devices at the same time, and effectively prolongs the communication distance of RS485 network simultaneously.Exemplary, the first equipment 4 is connected with the first protocol conversion module 301, and the second equipment 5 is connected with the fourth protocol conversion module 304. The first device 4 sends data, and the control module 2 reads the data through the first protocol conversion module 301, and forwards the data to the second device 5 through the fourth protocol conversion module 304 after processing. The six protocol conversion modules are independent of each other, and all data must pass through the control module 2 to achieve mutual communication. Among them, each protocol conversion module can connect up to 255 devices. The control module 2 can adopt the STM32F030 series of ARM7 structure, which has up to 6 serial ports, strong anti-interference ability and low power consumption.
[0053] refer to Figure 1 and Figure 2 , Optionally, the communication protocol converter further includes an isolation module 6 corresponding one-to-one to the protocol interface unit 31 to effectively isolate the master and slave ends of the protocol conversion module 3;
[0054] The first isolation side input terminal VI2 of the isolation module 6 is connected to the output terminal corresponding to the control module 2, the first isolation side output terminal VO1 of the isolation module 6 is connected to the input terminal corresponding to the control module, the second isolation side input terminal VI1 of the isolation module 6 is connected to the output terminal RO of the corresponding protocol interface unit 31, and the second isolation side output terminal VO2 of the isolation module 6 is connected to the input terminal D1 of the corresponding protocol interface unit 31. The first side ground terminal GNDA of the isolation module 6 is connected to the first ground potential GND1, the second side ground terminal GNDB of the isolation module 6 is connected to the second ground potential GCOM, the first side power supply terminal VDDA of the isolation module 6 is connected to the second voltage V2, such as 3.3V, and the second side power supply terminal VDDB of the isolation module 6 is connected to the first voltage VCOM. The communication protocol converter also includes a second filter capacitor C2 and a third filter capacitor C3, one end of the second filter capacitor C2 is connected to the second side power supply terminal VDDB of the isolation module 6, and the other end of the second filter capacitor C2 is connected to the second ground potential GCOM. One end of the third filter capacitor C3 is connected to the first side power supply terminal VDDA of the isolation module 6, and the other end of the third filter capacitor C3 is connected to the first ground potential GND1. Optionally, the isolation module 6 includes an IS3722HS chip, which can effectively isolate the impact of transient high voltage on the control module 2 and the protocol interface unit 31, avoid the introduction of other interconnected devices and cause damage, and can achieve a maximum of 3.75KVrms isolation protection. At the same time, the isolation module 6 can achieve 120mA overcurrent protection and 600W / ms lightning and surge protection to improve the reliability of the circuit.
[0055] Continue to refer Figure 1 and Figure 2 Optionally, the communication protocol converter further includes an anti-static module 7 corresponding to the protocol interface unit 31, and the anti-static module 7 includes a fifth diode T5, a sixth diode T6, a seventh diode T7 and an eighth diode T8;
[0056] The cathode end of the fifth diode T5 is connected to the first communication end A of the corresponding protocol interface unit 31, the anode end of the fifth diode T5 is connected to the anode end of the sixth diode T6, the cathode end of the sixth diode T6 is connected to the second ground potential GCOM, the cathode end of the seventh diode T7 is connected to the second communication end B of the corresponding protocol interface unit 31, the anode end of the seventh diode T7 is connected to the anode end of the eighth diode T8, and the cathode end of the eighth diode T8 is connected to the second ground potential GCOM.
[0057] The anti-static module 7 includes two grounding paths, each of which is composed of two reverse-connected diodes, with a simple structure and easy implementation. When static electricity appears at the first communication terminal A of the protocol interface unit 31, the current generated by the static electricity can flow into the ground through the fifth diode T5 and the sixth diode T6. Similarly, when static electricity appears at the second communication terminal B of the protocol interface unit 31, the current generated by the static electricity can flow into the ground through the seventh diode T7 and the eighth diode T8, thereby avoiding the influence of static electricity on data transmission.
[0058] Optionally, the device interface is a screw-type fixed terminal. The device interface connects the wire of the device to the protocol interface unit through the screw.
[0059] Optionally, the communication protocol converter further includes an installation housing, and the protocol conversion module, the control module and the power input module are all arranged in the installation housing;
[0060] A buckle is arranged on the outer surface of the installation shell, and the installation shell is arranged on the guide rail through the buckle.
[0061] The communication protocol converter is set on the guide rail in the power distribution cabinet by snapping, so that the communication protocol converter can be set in the power distribution cabinet, and the snap-on design is easy to disassemble.
[0062] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0063] The above specific implementations do not constitute a limitation on the protection scope of the present utility model. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present utility model shall be included in the protection scope of the present utility model.
Claims
1. A communication protocol converter, characterized in that: include: A power input module, a control module and at least two protocol conversion modules, wherein the protocol conversion module includes at least one set of device interfaces, and the device interfaces are used to connect to devices, wherein one of the at least two protocol conversion modules is connected to a first device, and the other protocol conversion module is connected to a second device; The power input module includes a first input terminal, a second input terminal, a positive output terminal, a negative output terminal, a first diode, a second diode, a third diode and a fourth diode; The first end of the first diode is connected to the first input end of the power input module, the second end of the first diode is connected to the positive output end of the power input module, the first end of the second diode is connected to the negative output end of the power input module, the second end of the second diode is connected to the second input end of the power input module, the first end of the third diode is connected to the second input end of the power input module, the second end of the third diode is connected to the positive output end of the power input module, the first end of the fourth diode is connected to the negative output end of the power input module, and the second end of the fourth diode is connected to the first input end of the power input module; The first input terminal and the second input terminal of the power input module are used to access the power supply voltage; The protocol conversion module is connected to the negative output terminal and the positive output terminal of the power input module respectively, and the power input module is used to provide a power supply voltage for the protocol conversion module and the control module; The protocol conversion module is connected to the control module, and the protocol conversion module is used to generate a second level signal according to the first level signal transmitted by the first device. The control module is used to send the second level signal to the setting protocol conversion module, and the setting protocol conversion module generates a third level signal according to the second level signal and transmits it to the second device, wherein the setting protocol conversion module is a protocol conversion module connected to the second device.
2. The communication protocol converter according to claim 1, characterized in that: The device interface includes a first interface and a second interface, the control module includes a plurality of input terminals and a plurality of output terminals, and the protocol conversion module includes a protocol interface unit, a first resistor and a second resistor; The power supply end of the protocol interface unit is connected to a first voltage, the first communication end of the protocol interface unit is connected to the first end of the first resistor, the second end of the first resistor is connected to the first interface of the corresponding device interface, the second communication end of the protocol interface unit is connected to the first end of the second resistor, the second end of the second resistor is connected to the second interface of the corresponding device interface, the output end of the protocol interface unit is connected to the input end corresponding to the control module, and the input end of the protocol interface unit is connected to the output end corresponding to the control module.
3. The communication protocol converter according to claim 2, characterized in that: The protocol interface unit connected to the first device is an RS485 interface unit, and the protocol interface unit connected to the second device is an RS232 interface unit.
4. The communication protocol converter according to claim 2, characterized in that: The protocol interface unit connected to the first device is an RS485 interface unit, and the protocol interface unit connected to the second device is an RS485 interface unit.
5. The communication protocol converter according to claim 2, characterized in that: The communication protocol converter comprises six protocol conversion modules, wherein the protocol interface units in five of the protocol conversion modules are RS485 interface units, and the protocol interface unit in the remaining protocol conversion module is an RS232 interface unit.
6. The communication protocol converter according to claim 2, characterized in that: The communication protocol converter also includes an isolation module corresponding one-to-one to the protocol interface unit; The first isolation side input end of the isolation module is connected to the output end corresponding to the control module, the first isolation side output end of the isolation module is connected to the input end corresponding to the control module, the second isolation side input end of the isolation module is connected to the output end of the corresponding protocol interface unit, and the second isolation side output end of the isolation module is connected to the input end of the corresponding protocol interface unit.
7. The communication protocol converter according to claim 6, characterized in that: The isolation module includes an IS3722HS chip.
8. The communication protocol converter according to claim 2, characterized in that: The communication protocol converter also includes an anti-static module corresponding to the protocol interface unit one by one, and the anti-static module includes a fifth diode, a sixth diode, a seventh diode and an eighth diode; The cathode terminal of the fifth diode is connected to the first communication terminal of the corresponding protocol interface unit, the anode terminal of the fifth diode is connected to the anode terminal of the sixth diode, the cathode terminal of the sixth diode is connected to the second ground potential, the cathode terminal of the seventh diode is connected to the second communication terminal of the corresponding protocol interface unit, the anode terminal of the seventh diode is connected to the anode terminal of the eighth diode, and the cathode terminal of the eighth diode is connected to the second ground potential.
9. The communication protocol converter according to any one of claims 1 to 8, characterized in that: The device interface is a screw-type fixed terminal.
10. The communication protocol converter according to claim 1, characterized in that: The communication protocol converter also includes an installation shell, and the protocol conversion module, the control module and the power input module are all arranged in the installation shell; A buckle is arranged on the outer surface of the installation shell, and the installation shell is arranged on the guide rail through the buckle.
