CN219740545U - Bus access control module for RS485 communication - Google Patents

Bus access control module for RS485 communication Download PDF

Info

Publication number
CN219740545U
CN219740545U CN202321058526.6U CN202321058526U CN219740545U CN 219740545 U CN219740545 U CN 219740545U CN 202321058526 U CN202321058526 U CN 202321058526U CN 219740545 U CN219740545 U CN 219740545U
Authority
CN
China
Prior art keywords
module
ttl
communication
relay switch
mcu controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202321058526.6U
Other languages
Chinese (zh)
Inventor
唐祝伟
何春林
刘文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Weiming Technology Co ltd
Original Assignee
Chengdu Weiming Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Weiming Technology Co ltd filed Critical Chengdu Weiming Technology Co ltd
Priority to CN202321058526.6U priority Critical patent/CN219740545U/en
Application granted granted Critical
Publication of CN219740545U publication Critical patent/CN219740545U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

The utility model discloses a bus access control module for RS485 communication, which comprises a power supply module, an MCU controller, an address dialer, a 485-to-TTL module, a TTL-to-RS 485/RS232 module and a relay switch.

Description

Bus access control module for RS485 communication
Technical Field
The utility model relates to a communication control module, in particular to a bus access control module for RS485 communication.
Background
Standard equipment (including RS485/RS232/TTL communication) with different communication protocol types can be used in the existing test system, the standard equipment is directly controlled by adopting the same set of test control hardware/software, and corresponding control instructions are sent and corresponding test data are read. When 2 or more devices with different communication protocol types (including RS485/RS232/TTL communication) are tested in the system, the test control hardware/software will malfunction, feedback error and mutual interference when communicating with these devices because the protocol format, the verification mode and the response mode adopted by the standard devices with different communication protocol types in the design process are different (the standard devices cannot change the device-side communication format). The system structure has the defects of poor system stability and interference among different types of equipment; the more standard devices, the more complex the control; standard device internal protocols and code cannot be modified.
Disclosure of Invention
The utility model aims to provide a bus access control module for RS485 communication. The problems of misoperation, feedback error and mutual interference of different types of standard equipment (including RS485/RS232/TTL communication) of the existing test system in the control process are solved.
In order to achieve the above purpose, the utility model is implemented according to the following technical scheme:
the utility model comprises a power supply module, an MCU controller, an address dial, a 485 to TTL module, a TTL to RS485/RS232 module and a relay switch, wherein the power supply output end of the power supply module is respectively connected with the 485 to TTL module, the TTL to RS485/RS232 module and the power supply input end of the relay switch, the RS485 bus interface is connected with the communication port of the relay switch and the communication port of the MCU controller through the 485 to TTL module, the communication signal end of the relay switch is connected with a device communication line interface through the TTL to RS485/RS232 module, the device communication line interface is connected with the data communication end of the relay switch, the control signal output end of the address dial is connected with the control signal input end of the MCU controller, and the control signal output end of the MCU controller is connected with the control signal input end of the relay switch.
Preferably, the 485-to-TTL module adopts a chip with model SP 485. The MCU controller is one of STM32 series single-chip microcomputer or 51 series single-chip microcomputer. The TTL-to-RS 485/RS232 module consists of two chips of the model numbers SP485 and SP 232.
The beneficial effects of the utility model are as follows:
compared with the prior art, the bus access control module for RS485 communication has the advantages of high functional integration level, convenient use, accurate test, flexible use (expandable), high switching speed and long service life.
Drawings
FIG. 1 is a block diagram of the principles of the construction of the present utility model;
fig. 2 is a flow chart of the operation of the present utility model.
Detailed Description
The utility model will be further described with reference to the accompanying drawings and specific embodiments, wherein the exemplary embodiments and descriptions of the utility model are for purposes of illustration, but are not intended to be limiting.
As shown in fig. 1: the utility model comprises a power supply module, an MCU controller, an address dial, a 485 to TTL module, a TTL to RS485/RS232 module and a relay switch, wherein the power supply output end of the power supply module is respectively connected with the 485 to TTL module, the TTL to RS485/RS232 module and the power supply input end of the relay switch, the RS485 bus interface is connected with the communication port of the relay switch and the communication port of the MCU controller through the 485 to TTL module, the communication signal end of the relay switch is connected with a device communication line interface through the TTL to RS485/RS232 module, the device communication line interface is connected with the data communication end of the relay switch, the control signal output end of the address dial is connected with the control signal input end of the MCU controller, and the control signal output end of the MCU controller is connected with the control signal input end of the relay switch.
And a power supply module: the system is powered by DC24v power output from the test cabinet to the module 24v and then converted to DC5v by the power module.
485 to TTL module: the conversion of bus level is achieved using a 485 bus to TTL chip, such as SP 485. The chip is directly connected with the single chip microcomputer RXD on one hand and is directly connected with the relay on the other hand, so that the MCU can conveniently control the bus level.
MCU controller: a low power controller is required to achieve interception of control data of the bus and control of the relay. It is recommended to use an 8-bit or 16-bit MCU, such as an STM32 series singlechip or a 51 series singlechip.
And (3) a relay switch: the triode is used as a drive, and the singlechip uses an IO port to control whether the relay is connected with a 485 bus or not and whether the relay is connected with a later-stage system or not.
TTL changes RS485/RS232 module: the latter stage uses two chips of TTL bus 485 and TTL 232, such as SP485 and SP232, to realize the conversion of TTL to the latter stages 485 and 232. The TTL ends of the two chips are selectively connected with the output end of the relay by the dial switch to realize the work selection adaptation of the multi-level communication of the module.
Address dialer: the dial switch is used for realizing one selection of the module address, thereby facilitating the division of the address of the communication channel of the equipment.
As shown in fig. 2, the working principle of the present utility model is as follows:
firstly, a plurality of modules in the test system are respectively connected with direct-current power supply input, the MCU controller is initialized, and each functional circuit is in a standby working state.
The MCU controller is then connected to the RS458/RS232/TTL buses of the test system respectively and waits for receiving data/address information sent on the communication buses. When the test system starts to work, test control hardware/software in the system sends corresponding equipment address information to a communication bus, an MCU controller is responsible for receiving and searching information related to channel setting, then the address information in the information is compared with the physical address of the MCU controller, equipment needing to be communicated is flexibly selected according to control requirements in the information, and then the MCU controller can effectively communicate with the appointed equipment in real time without being interfered by other equipment, so that the working stability and durability of the test system are ensured.
The foregoing has shown and described the basic principles and main features of the present utility model and the advantages of the present utility model. It will be understood by those skilled in the art that the present utility model is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present utility model, and various changes and modifications may be made without departing from the spirit and scope of the utility model, which is defined in the appended claims. The scope of the utility model is defined by the appended claims and equivalents thereof.

Claims (4)

1. A bus access control module for RS485 communication, characterized in that: the intelligent electronic device comprises a power module, an MCU controller, an address dial, a 485 to TTL module, a TTL to RS485/RS232 module and a relay switch, wherein the power output end of the power module is respectively connected with the 485 to TTL module, the TTL to RS485/RS232 module and the power input end of the relay switch, the RS485 bus interface is connected with the communication port of the relay switch and the communication port of the MCU controller through the 485 to TTL module, the communication signal end of the relay switch is connected with a device communication line interface through the TTL to RS485/RS232 module, the device communication line interface is connected with the data communication end of the relay switch, the control signal output end of the address dial is connected with the control signal input end of the MCU controller, and the control signal output end of the MCU controller is connected with the control signal input end of the relay switch.
2. The bus access control module for RS485 communication according to claim 1, wherein: the 485-to-TTL module adopts a model SP485 chip.
3. The bus access control module for RS485 communication according to claim 1, wherein: the MCU controller is one of STM32 series single-chip microcomputer or 51 series single-chip microcomputer.
4. The bus access control module for RS485 communication according to claim 1, wherein: the TTL-to-RS 485/RS232 module consists of two chips of the model numbers SP485 and SP 232.
CN202321058526.6U 2023-05-06 2023-05-06 Bus access control module for RS485 communication Active CN219740545U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202321058526.6U CN219740545U (en) 2023-05-06 2023-05-06 Bus access control module for RS485 communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202321058526.6U CN219740545U (en) 2023-05-06 2023-05-06 Bus access control module for RS485 communication

Publications (1)

Publication Number Publication Date
CN219740545U true CN219740545U (en) 2023-09-22

Family

ID=88028207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202321058526.6U Active CN219740545U (en) 2023-05-06 2023-05-06 Bus access control module for RS485 communication

Country Status (1)

Country Link
CN (1) CN219740545U (en)

Similar Documents

Publication Publication Date Title
CN201335953Y (en) General-purpose input/output device
CN201540330U (en) Digital multifunctional network electrical measuring instrument
WO2020083066A1 (en) Manipulator simulation test system and test method based on fpga chip
CN201652705U (en) Intelligent air-conditioning remote controller
CN205563260U (en) Multi -functional data collection station and collection system based on wisdom mill
CN205249246U (en) Data interchange circuit
CN101895534B (en) Protocol conversion interface device of substation intelligent device
CN103364742B (en) Sub-circuit board of testing and monitoring system of aged vehicle
CN219740545U (en) Bus access control module for RS485 communication
CN103365289A (en) Method and system for monitoring aging test on wireless distributed power source
CN206726210U (en) The expansion interface circuit of the one-to-many universal serial bus of near-end
CN216052644U (en) Test digital-to-analog conversion acquisition card
CN102608936B (en) Method and system for controlling communication between control main board and display panel of water heater
CN115982050A (en) Multifunctional test system and method for IO-Link master station
CN203444330U (en) Wireless distributed power source aging test monitoring system
CN206410716U (en) Absolute value encoder analogue means based on synchronous serial interface signal
CN202254100U (en) ARM (automatic route management)-based embedded controller of central air conditioner
CN212256068U (en) PC serial port I2C and multichannel IO control system
CN204423022U (en) Can general purpose transducer opertaing device and system
CN212486527U (en) Slave station conversion device based on MODBUS protocol
CN101183328A (en) Computer universal serial bus interface device time-limited timing controller
CN201608702U (en) Power switch based on LXI bus
CN218850797U (en) Communication protocol conversion device
CN213182359U (en) General RS232-CAN communication conversion board
CN201000569Y (en) Special chip for realizing bus controller function in ring bus numerical control system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant