485 communication conversion system

By adjusting the signal parameters using the DIP switches in the RS-485 communication conversion system, the problem of inconsistent RS-485 communication parameters was solved, enabling automatic adjustment of communication between devices and efficient installation and debugging.

CN223808726UActive Publication Date: 2026-01-16E-SMARTCHIPS (JIANGSU) ELECTRONIC TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520432232.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2026-01-16
Estimated Expiration
2035-03-13

AI Technical Summary

Technical Problem

In fields such as industrial automation, building control, and security monitoring, inconsistent RS-485 communication parameters between devices can prevent normal communication. Existing technologies require specialized tools and complex debugging processes, which increases the difficulty and workload of on-site installation and debugging.

Method used

A 485 communication conversion system is provided, including a main control MCU, a 485 input module and an output module. The signal parameters can be adjusted by DIP switches, supporting flexible settings for baud rate, data bits, stop bits and parity bits, which simplifies the adjustment of communication parameters between devices and reduces the modification requirements of field devices.

Benefits of technology

It enables automatic adjustment of communication parameters between devices, reducing the workload of on-site commissioning and installation personnel, improving work efficiency, and simplifying the installation and commissioning process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223808726U_ABST
    Figure CN223808726U_ABST
Patent Text Reader

Abstract

The utility model discloses a 485 communication conversion system. The 485 communication conversion system comprises a master control MCU, a 485 input module, a 485 output module, an input module and an output module, the 485 input module and the 485 output module are both in bidirectional connection with the main control MCU and are used for receiving and sending signals; the input module and the output module are respectively connected with the main control MCU and are used for realizing adjustment and conversion of input and output signals; the input module comprises an input baud rate setting module, an input data bit setting module, an input stop bit setting module and an input check bit setting module; the output module comprises an output baud rate setting module, an output data bit setting module, an output stop bit setting module and an output check bit setting module; according to the 485 communication conversion system disclosed by the invention, field equipment does not need to be modified, and only the system needs to be connected in series between the equipment; meanwhile, the setting mode of the system is simple and clear, and the requirement for installation and debugging personnel is very low.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model belongs to communication conversion field, especially related to a 485 communication conversion system. BACKGROUND

[0002] 485 full name RS-485, it is a commonly used serial communication interface standard, it adopts differential signal transmission, has strong anti-interference ability, transmission distance is far etc., is often used in the communication connection between equipment in industrial automation, building control, security monitoring and other fields, for example, a plurality of intelligent instruments carry out data interaction through RS-485 bus.

[0003] In the field of industrial automation, building control, security monitoring, field instrument, the communication connection between equipment, often carries out data interaction through RS-485 bus.Want to make the RS-485 communication between equipment can normally interact, requires the RS-485 communication parameters between equipment such as baud rate, data bits, check mode must be consistent.But in the actual application process, often encounter the situation of inconsistent RS-485 communication parameters, bring trouble to field installation and debugging personnel.Usually when encountering inconsistent RS-485 communication parameters in the field, the field installation and debugging personnel need to modify and set the communication parameters of the field equipment, but there are some problems, such as:

[0004] (1) the RS-485 communication parameters of part of equipment are fixed and do not support modification.

[0005] (2) although part of equipment supports modification, it needs professional tools and software or special permission.

[0006] (3) the way of modifying the communication parameters of part of equipment is complex, and the field debugging personnel need to have certain technical ability.

[0007] Therefore, the above problems need to be solved. UTILITY MODEL CONTENT

[0008] UTILITY MODEL PURPOSE: in order to overcome the above shortcomings, the utility model aims at providing a 485 communication conversion system, which does not need to modify the field equipment, only needs to connect the system between equipment in series, and the setting mode of the system is simple and clear, and the requirement for installation and debugging personnel is low, through the system, the problem that the inconsistent communication parameters between RS485 communication devices lead to abnormal communication is solved, the work difficulty of field installation and debugging personnel is greatly reduced, and the work efficiency is improved.

[0009] Technical scheme: In order to realize the above-mentioned purpose, the utility model provides a kind of 485 communication conversion system, including main control MCU, 485 input module, 485 output module, input module and output module;The 485 input module and 485 output module are both connected with main control MCU bidirectionally, for realizing the reception and sending of signal;The input module and output module are connected with main control MCU respectively, for realizing the adjustment conversion of input and output signal;The input module includes input baud rate setting module, input data bit setting module, input stop bit setting module and input check bit setting module;The input baud rate setting module, input data bit setting module, input stop bit setting module and input check bit setting module are connected with main control MCU respectively, for adjusting the parameter of input signal setting;The output module includes output baud rate setting module, output data bit setting module, output stop bit setting module and output check bit setting module;The output baud rate setting module, output data bit setting module, output stop bit setting module and output check bit setting module are connected with main control MCU respectively, for adjusting the parameter of output signal setting.485 input module and 485 output module are both connected with main control MCU bidirectionally, support the reception and sending of bilateral signal;Input module and output module include the module of baud rate, data bit, stop bit and check bit setting respectively, can flexibly adjust signal parameter according to actual demand, improve the convenience and reliability of communication conversion;When using, field equipment does not need to be modified, just need to be connected in series between equipment and access this 485 communication conversion system, greatly reduce the work difficulty of field debugging installation personnel.

[0010] Further, the input baud rate setting module and output baud rate setting module adopt 6P dial switch, respectively represent 6 different baud rates.MCU configures internal receiving and output baud rate with this, 6 different baud rates can be set through 6P dial switch, can flexibly adapt to different communication needs.

[0011] Further, the input data bit setting module and output data bit setting module adopt 3P dial switch, respectively represent 3 different data bits.MCU configures internal receiving and output data bit with this, 3 different data bits can be set through 3P dial switch, can flexibly adapt to different communication needs;User can quickly adjust data bit setting according to actual demand, without reprogramming or restarting equipment.

[0012] Further, the input stop bit setting module and output stop bit setting module adopt 2P dial switch, respectively represent 2 different stop bits.MCU configures internal receiving and output stop bit with this, 2 different stop bits can be set through 2P dial switch, can flexibly adapt to different communication needs;Meanwhile, if communication problem occurs, the state of dial switch can be checked to quickly locate the problem, improve maintenance efficiency.

[0013] Further, the input check bit setting module and the output check bit setting module adopt 3P dial switches, respectively representing three different check bits. The MCU configures the internal receiving and output check bits according to the configuration, and three different check bits can be set through the 3P dial switch, so that different communication requirements can be flexibly adapted. Meanwhile, the mechanical structure of the dial switch is stable and not easy to be interfered by electromagnetic waves, so it is suitable for use in complex industrial environments.

[0014] Further, the power module and the power switch are further included, the power module is connected with the main control MCU, the 485 input module and the 485 output module respectively, and the power switch is connected with the power module. The power module can centrally supply power, so that the power distribution and voltage stability can be uniformly managed, and the power requirements of each module can be ensured. Meanwhile, the power switch can quickly cut off the power, so that the energy consumption of the equipment in the idle state can be reduced, and safety can be provided during maintenance or troubleshooting.

[0015] Further, the indicator lamp is further included, and the indicator lamp is connected with the main control MCU. The indicator lamp is used for displaying whether the equipment has power, and provides a visual signal prompt for the operation of the system.

[0016] The above technical scheme can be seen that the utility model has the following beneficial effects:

[0017] 1. The 485 communication conversion system does not need to modify the field equipment, but only needs to connect the system between the devices in series, and the setting mode of the system is simple and clear, and the requirement for the installation and debugging personnel is low.

[0018] 2. The 485 communication conversion system solves the problem that the communication parameters of the RS485 communication devices are inconsistent and cannot normally communicate, greatly reduces the work difficulty of the field installation and debugging personnel, and improves the work efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0019] Figure 1 The utility model discloses a kind of 485 communication conversion system's architecture schematic diagram. DETAILED DESCRIPTION

[0020] The embodiments of the utility model are described in detail below, and the examples of the embodiments are shown in the drawings, wherein the same or similar reference signs represent the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary, and are intended to explain the utility model, and cannot be understood as limiting the utility model. EMBODIMENT

[0021] In this embodiment, as shown inFigure 1 The utility model discloses a 485 communication conversion system, including main control MCU, 485 input module, 485 output module, input module and output module, 485 input module and 485 output module are connected with main control MCU both ways, be used for realizing the reception and sending of signal, the input module and output module are connected in main control MCU respectively, be used for realizing the adjustment conversion of input and output signal,

[0022] The input module includes an input baud rate setting module, an input data bit setting module, an input stop bit setting module and an input check bit setting module.

[0023] The input baud rate setting module, the input data bit setting module, the input stop bit setting module and the input check bit setting module are connected with the main control MCU respectively, and are used for adjusting and setting the parameters of the input signal.

[0024] The output module includes an output baud rate setting module, an output data bit setting module, an output stop bit setting module and an output check bit setting module.

[0025] The output baud rate setting module, the output data bit setting module, the output stop bit setting module and the output check bit setting module are connected with the main control MCU respectively, and are used for adjusting and setting the parameters of the output signal.

[0026] Specifically, the 485 input module converts the received host device 485 signal into a uart level signal for the main control MCU, and converts the response uart level signal of the main control MCU into a 485 signal for the 485 host device; the core chip of the 485 input module can adopt Maxim MAX3485 as a preferred.

[0027] Specifically, the 485 output module converts the received command uart signal of the main control MCU into a 485 level signal for the slave device, and converts the response 485 level signal of the slave device into a uart signal for the main control MCU; the core chip of the 485 output module can adopt Maxim MAX3485 as a preferred.

[0028] In this embodiment, the input baud rate setting module and the output baud rate setting module adopt 6P dial switches, respectively representing six different baud rates. Figure 1

[0029] Specifically, the input and output baud rates of the system can be set, specifically 2400, 4800, 9600, 19200, 38400 and 115200; when setting, the dial switch corresponding to the required baud rate is dialed to provide a high or low level signal to the corresponding IO port of the main control MCU; the main control MCU configures the internal receiving and output baud rates accordingly.​

[0030] In this embodiment, as Figure 1 The input data bit setting module and the output data bit setting module use a 3P DIP switch, which represents three different data bits respectively.

[0031] Specifically, the system's input and output data bits can be set to 7, 8, or 9 bits. When setting, high and low level signals are provided to the corresponding I / O ports of the main control MCU by toggling the DIP switches corresponding to the required data bits. The main control MCU uses this to configure its internal receive and output data bits.

[0032] In this embodiment, as Figure 1 The input stop position setting module and the output stop position setting module use a 2P DIP switch, which represents two different stop positions respectively.

[0033] Specifically, the system's input and output stop bits can be set, specifically 1 or 2 bits. When setting, a high or low level signal is provided to the corresponding I / O port of the main control MCU by toggling the DIP switch corresponding to the required stop bit. The main control MCU uses this to configure its internal receive and output stop bits.

[0034] In this embodiment, as Figure 1 The input check bit setting module and the output check bit setting module use a 3P DIP switch, which represents three different check bits respectively.

[0035] Specifically, the device's input parity bits can be set, specifically no parity, odd parity, and even parity. When setting, high and low level signals are provided to the corresponding I / O ports of the main control MCU by toggling the DIP switches corresponding to the required data bits. The main control MCU uses this to configure its internal receive and output parity bits.

[0036] In this embodiment, as Figure 1 It also includes a power module and a power switch. The power module is connected to the main control MCU, the 485 input module and the 485 output module respectively; the power switch is connected to the power module.

[0037] Specifically, the power supply module has an input voltage of 5~24V and an output voltage of 3.3V; the power supply module is responsible for providing power to the main control MCU, 485 input module, and 485 output module; the core chip of the power supply module can preferably be the SGM61220 from Sanbang Microelectronics.

[0038] Specifically, the power switch controls the power input of the entire system, and a 1P DIP switch can be used to control the on / off state of the positive power input.

[0039] In this embodiment, as Figure 1 It also includes indicator lights, which are connected to the main control MCU.

[0040] Specifically, the indicator light is used for showing whether the device has electricity, and an LED lamp is selected as a preferred.

[0041] The utility model discloses a 485 communication conversion system, and a certain exemplary use scene is as follows:

[0042] The field master device RS485 communication parameter baud rate is 9600, data bit is 8, stop bit is 1, and there is no check bit;The field slave device RS485 communication parameter baud rate is 38400, data bit is 7, stop bit is 2, and is odd check;All setting module dial code switch correspond to the IO signal of MCU, and low level is effective, and high level is invalid.

[0043] The system is connected between the master device and the slave device, the 485 input module is connected with the master device, the 485 output module is connected with the slave device, and the field power supply is connected to the power module.

[0044] The power switch is dialled to the closed position, and the indicator light is extinguished at this time.

[0045] According to the RS485 communication parameter of the master device, the input baud rate setting module, the input data bit setting module, the input stop bit setting module and the input check bit setting module are set, and the corresponding dial code switch is dialled;According to the RS485 communication parameter of the slave device, the output baud rate setting module, the output data bit setting module, the output stop bit setting module and the output check bit setting module are set, and the corresponding dial code switch is dialled.

[0046] The power switch is dialled to the open position, and the indicator light is lighted at this time.

[0047] After power on, the master control MCU starts to run the built-in program, first judges the dial code switch position corresponding to the input baud rate setting module, the input data bit setting module, the input stop bit setting module and the input check bit setting module respectively and the IO port level state corresponding to the master control MCU, judges whether the relevant setting is effective, thereby obtaining the input communication parameter;Then the dial code switch position corresponding to the output baud rate setting module, the output data bit setting module, the output stop bit setting module and the output check bit setting module respectively and the IO port level state corresponding to the master control MCU are judged, whether the relevant setting is effective is judged, thereby obtaining the output communication parameter;The communication parameter obtained by inquiry is used for the initialization of the 485 input module and the 485 output module in the internal program of the master control MCU;By this time, the program completes the initialization work.

[0048] When the data of the master device is received, the internal program of the master control MCU is forwarded to the slave device, when the data of the slave device is received, the internal program of the MCU is forwarded to the master device again, and the bidirectional communication conversion between the master device and the slave device is realized.

[0049] The above merely describes preferred embodiments of the present application, and it should be noted that, for those skilled in the art, several improvements can be made without departing from the principles of the present application, and these improvements should also be considered as falling within the protection scope of the present application.

Claims

1. A 485 communication conversion system, characterized in that: The utility model relates to a kind of 485 signal conversion module, including: Master MCU, 485 input module, 485 output module, input module and output module; The 485 input module and 485 output module are bidirectionally connected with master MCU, for realizing the reception and transmission of signal;The input module and output module are connected with master MCU respectively, for realizing the adjustment conversion of input and output signal; The input module includes input baud rate setting module, input data bit setting module, input stop bit setting module and input check bit setting module; The input baud rate setting module, input data bit setting module, input stop bit setting module and input check bit setting module are connected with master MCU respectively, for adjusting the parameter of input signal; The output module includes output baud rate setting module, output data bit setting module, output stop bit setting module and output check bit setting module; The output baud rate setting module, output data bit setting module, output stop bit setting module and output check bit setting module are connected with master MCU respectively, for adjusting the parameter of output signal.

2. The 485 communication conversion system of claim 1, wherein: The input baud rate setting module and output baud rate setting module use 6P dial switch, respectively represent 6 different baud rates.

3. The 485 communication conversion system of claim 1, wherein: The input data bit setting module and output data bit setting module use 3P dial switch, respectively represent 3 different data bits.

4. The 485 communication conversion system of claim 1, wherein: The input stop bit setting module and output stop bit setting module use 2P dial switch, respectively represent 2 different stop bits.

5. The 485 communication conversion system of claim 1, wherein: The input check bit setting module and output check bit setting module use 3P dial switch, respectively represent 3 different check bits.

6. The 485 communication conversion system of claim 1, wherein: It further includes power module and power switch, the power module is connected with master MCU, 485 input module and 485 output module respectively;The power switch is connected with power module.

7. The 485 communication conversion system of claim 1, wherein: It further includes indicating lamp, the indicating lamp is connected with master MCU.