[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN216751755U - 485 repeater based on MCU control - Google Patents

485 repeater based on MCU control Download PDF

Info

Publication number
CN216751755U
CN216751755U CN202123130740.1U CN202123130740U CN216751755U CN 216751755 U CN216751755 U CN 216751755U CN 202123130740 U CN202123130740 U CN 202123130740U CN 216751755 U CN216751755 U CN 216751755U
Authority
CN
China
Prior art keywords
transceiver
data
mcu
repeater
mcu control
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
CN202123130740.1U
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.)
Sichuan Prorah Technology Co ltd
Original Assignee
Sichuan Prorah 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 Sichuan Prorah Technology Co ltd filed Critical Sichuan Prorah Technology Co ltd
Priority to CN202123130740.1U priority Critical patent/CN216751755U/en
Application granted granted Critical
Publication of CN216751755U publication Critical patent/CN216751755U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bidirectional Digital Transmission (AREA)

Abstract

The utility model discloses a 485 repeater based on MCU control, which comprises a transceiver U1, a transceiver U2 and an MCU unit; a transceiver U1 for receiving data from one end of the bus; the transceiver U2 is used to forward data to the other end of the bus; the MCU unit is arranged between the transceiver U1 and the transceiver U2 and is used for controlling the transceiving period of data by using the timer timing, so that the data is transceived by bytes to realize a relay function. The utility model is suitable for a noise interference that reduces seven core wiring end communication equipment and produce when carrying out RS485 communication to increase signal transmission's distance and the rate of accuracy of data; the adoption of the seven-core waterproof aviation wiring terminal can be matched with the wiring terminal of equipment, is convenient for field installation and has good waterproof performance; and the structure is simple, the power consumption is low, and the cost is low.

Description

485 repeater based on MCU control
Technical Field
The utility model relates to a RS485 communication technology field, concretely relates to 485 repeaters based on MCU control that can be used to between geological disaster equipment terminal and the sensor.
Background
The 485 repeater is an optical isolation RS-485/422 data relay communication product, can relay and prolong the communication distance of an RS-485/422 bus network, and enhances the number of RS-485/422 bus network devices. The 485 bus can be subjected to photoelectric isolation to prevent common-mode voltage interference. And automatic switching between the RS-485 bus and the RS-422 bus can be supported.
Although the 485 repeater is very mature in technology and very strong in anti-interference capability, the 485 repeater is high in required cost, poor in waterproof performance, high in installation complexity and high in power consumption, and is not beneficial to installation and various indexes of geological disaster monitoring equipment. The 485 repeater is used for connecting between a geological disaster device terminal and a sensor, the repeater in the field adopts a screw type wiring mode at present, the connection mode is not beneficial to field installation, and the waterproofness is not good. Because the interface of the existing 485 repeater cannot be matched with the seven-core interface, the equipment installation complexity is high, the power consumption is high, and the cost is high.
And because the existing geological disaster monitoring equipment is limited by the environment and various conditions of field installation, and the distances between partial sensors and the remote terminal unit are far, the phenomena of unstable signal transmission, impedance mismatching and data accuracy reduction occur, and a repeater which can adapt to the existing field installation environment and increase the distance of signal transmission and the data accuracy is urgently needed.
SUMMERY OF THE UTILITY MODEL
The utility model provides a 485 repeaters based on MCU control aims at one of the technical problem who solves to be: for increasing the distance of signal transmission and the accuracy of the data.
In view of the above problems in the prior art, according to the present invention, the present invention adopts the following technical solutions:
an MCU control based 485 repeater, comprising:
the transceiver U1 and the transceiver U2, the transceiver U1 and the transceiver U2 are both in a receiving state when no data is transmitted, when data is transmitted, one of the transceiver U1 and the transceiver U2 is used for receiving data and outputting the data to the MCU unit, and the other of the transceiver U1 and the transceiver U2 is used for receiving the data processed by the MCU unit and transmitting the data;
and the MCU is respectively connected with the transceiver U1 and the transceiver U2 and is used for controlling the transceiving period of data by utilizing the timing of a timer, transmitting information by data according to bits, amplifying an attenuation signal and keeping the attenuation signal the same as the original data.
In order to better realize the utility model discloses, further technical scheme is:
further, the transceiver U1 employs a MAX485 chip.
Further, the transceiver U2 employs a MAX485 chip.
Furthermore, the MCU unit adopts a singlechip.
Further, the single chip microcomputer is a 51 single chip microcomputer.
Furthermore, the interface of external equipment adopts seven-core waterproof aviation wiring terminal.
Furthermore, the MCU unit adopts an STC15W104 chip.
Further, still include:
and the voltage reduction chip U3 is connected with the transceiver U1 and the transceiver U2 through a voltage reduction circuit and is used for reducing the voltage for supplying power to the transceiver U1, the transceiver U2 and the MCU unit.
Further, the voltage reduction chip U3 adopts an LM1117 chip.
Compared with the prior art, one of the beneficial effects of the utility model is that:
the utility model discloses a 485 repeater based on MCU control adopts MCU control mode, is applicable to the noise interference that reduces seven core wiring end communication equipment and produces when carrying out RS485 communication to increase signal transmission's distance and the rate of accuracy of data; the seven-core waterproof aviation wiring terminal is adopted, can be matched with an interface head of equipment, is convenient to install on site and has good waterproof performance; and the structure is simple, the power consumption is low, and the cost is low.
Drawings
For a clearer explanation of the embodiments or technical solutions in the prior art of the present application, the drawings used in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only references to some embodiments in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a block diagram of a 485 repeater based on MCU control according to an embodiment of the present invention.
Fig. 2 is a block diagram of a 485 repeater based on MCU control according to another embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Referring to fig. 1, an MCU control-based 485 repeater includes:
the transceiver U1 and the transceiver U2, the transceiver U1 and the transceiver U2 are both in a receiving state when no data are transmitted, when data are transmitted, one of the transceiver U1 and the transceiver U2 is used for receiving data and outputting the data to the MCU unit, and the other of the transceiver U1 and the transceiver U2 is used for receiving the data processed by the MCU unit and transmitting the data;
and the MCU is respectively connected with the transceiver U1 and the transceiver U2 and is used for controlling the transceiving period of data by utilizing the timing of a timer, transmitting information by data according to bits, amplifying an attenuation signal and keeping the attenuation signal the same as the original data.
The transceiver U1 and the transceiver U2 may preferably be MAX485 chips, but are not limited thereto.
The U1, U2 shown in fig. 1 may be two identical MAX485, one responsible for receiving data from one end of the bus and the other responsible for forwarding data to the other end of the bus. The MCU unit preferably adopts a singlechip, the timing is more accurate by the singlechip, the communication time interval between two bytes is not required to be larger than the communication time of one byte of data, and the high-speed smoothness of the bus can be ensured.
The main control chip can adopt STC15W104, and has simple structure, function meeting the design requirement and low cost. The MAX485 can carry out half-duplex communication and is responsible for receiving and transmitting signals, and as the sensor is required to send data to the remote terminal unit and the remote terminal unit also sends data to the sensor in the geological disaster monitoring equipment, the two MAX485 are required to be combined to realize the functions of bidirectional sending and receiving.
The adaptive baud rate range of the repeater is 1200 bps-115200 bps, the adaptive baud rate can be automatically matched with the baud rate according to input data and then output, and double-end input and output of different baud rates can be realized.
Because the distance is overlength between sensor and the terminal, the signal power of transmission can attenuate gradually on the circuit, and the signal distortion will appear to the decay to a certain degree, and secondly equipment fixing can use the transmission line of different materials to impedance unmatched problem appears, consequently can lead to the wrong or data that can not receive of received data, the repeater is exactly designed for solving this problem. The working principle of the method is that a timer is used for controlling the receiving and sending period of data in a timing mode to transmit information according to bits, attenuation signals are amplified, and the attenuation signals are kept the same as original data.
The single chip microcomputer can be a 51 single chip microcomputer and the like.
As shown in fig. 2, the present invention may further include a voltage-reducing chip U3, which is connected to the transceiver U1 and the transceiver U2 through a voltage-reducing circuit, for reducing the voltage supplied to the transceiver U1, the transceiver U2, and the MCU unit. The buck chip U3 includes but is not limited to LM1117 chip. The terminal equipment is powered by 12V, the MCU of the repeater only needs to be powered by 3.3V voltage, and the normal work of the repeater is ensured by reducing the 12V voltage to 3.3V voltage through the voltage reduction circuit controlled by the LM1117 voltage reduction chip.
The interface of the 485 repeater controlled by the MCU to the external equipment can adopt a seven-core waterproof aviation wiring terminal.
To sum up, through the utility model discloses can reduce the high frequency interference that special interface communication equipment produced when carrying out RS485 communication to increase signal transmission's distance and the rate of accuracy of data.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Reference throughout this specification to "one embodiment," "another embodiment," "an embodiment," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment described generally in this application. The appearances of the same phrase in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with any embodiment, it is submitted that it is within the scope of the invention to effect such feature, structure, or characteristic in connection with other embodiments.
Although the invention has been described herein with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the scope and spirit of the principles of this disclosure. More specifically, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure and claims of this application. In addition to variations and modifications in the component parts and/or arrangements, other uses will also be apparent to those skilled in the art.

Claims (9)

1. The utility model provides a 485 repeaters based on MCU control which characterized in that includes:
the transceiver U1 and the transceiver U2, the transceiver U1 and the transceiver U2 are both in a receiving state when no data are transmitted, when data are transmitted, one of the transceiver U1 and the transceiver U2 is used for receiving data and outputting the data to the MCU unit, and the other of the transceiver U1 and the transceiver U2 is used for receiving the data processed by the MCU unit and transmitting the data;
and the MCU is respectively connected with the transceiver U1 and the transceiver U2 and is used for controlling the transceiving period of data by utilizing the timing of a timer, transmitting information by data according to bits, amplifying an attenuation signal and keeping the attenuation signal the same as the original data.
2. The MCU control-based 485 repeater according to claim 1, wherein the transceiver U1 employs a MAX485 chip.
3. The MCU control-based 485 repeater of claim 1, wherein the transceiver U2 employs a MAX485 chip.
4. The 485 repeater based on MCU control of claim 1, wherein the MCU unit employs a single chip microcomputer.
5. The 485 repeater controlled based on the MCU according to claim 4, wherein the single chip microcomputer is a 51 single chip microcomputer.
6. The MCU control based 485 repeater of claim 1, wherein the interface to external devices employs seven-core waterproof aviation terminals.
7. The MCU control-based 485 repeater according to claim 1, wherein the MCU unit employs an STC15W104 chip.
8. The MCU control-based 485 repeater of claim 1, further comprising:
and the voltage reduction chip U3 is connected with the transceiver U1 and the transceiver U2 through a voltage reduction circuit and is used for reducing the voltage for supplying power to the transceiver U1, the transceiver U2 and the MCU unit.
9. The 485 repeater controlled based on the MCU of claim 1, wherein the voltage reduction chip U3 is LM1117 chip.
CN202123130740.1U 2021-12-10 2021-12-10 485 repeater based on MCU control Active CN216751755U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202123130740.1U CN216751755U (en) 2021-12-10 2021-12-10 485 repeater based on MCU control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202123130740.1U CN216751755U (en) 2021-12-10 2021-12-10 485 repeater based on MCU control

Publications (1)

Publication Number Publication Date
CN216751755U true CN216751755U (en) 2022-06-14

Family

ID=81935342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202123130740.1U Active CN216751755U (en) 2021-12-10 2021-12-10 485 repeater based on MCU control

Country Status (1)

Country Link
CN (1) CN216751755U (en)

Similar Documents

Publication Publication Date Title
WO1995027353A3 (en) Simultaneous transmission of high and low speed signals
CN201434881Y (en) RS485 interface circuit and electric energy meter employing same
CN203933593U (en) Half-duplex RS-485 isolation communicating circuit
CN114039809B (en) CAN long-distance communication system based on optical transceiver
CN216751755U (en) 485 repeater based on MCU control
CN209467012U (en) A kind of electric car charging group system
CN104346315A (en) Device for relaying and switching branch of 1553 bus
CN213814664U (en) ARINC429 bus communication equipment based on optical fiber communication
CN2697963Y (en) Semi-duplex Rs485 series communication relay branch device
CN114499583A (en) 485 repeater based on MCU control
CN2487163Y (en) Ether net long line driver
CN216216903U (en) Anti-interference 32 way RS422 serial ports optical transmitter and receiver
CN216356761U (en) CAN remote communication system based on optical transceiver
CN214311733U (en) RS485 circuit capable of automatically controlling receiving and transmitting
CN210093253U (en) System for fusing PLC control system and control system of DALI protocol
CN203422478U (en) Geophysical detection data transmission node
CN205081316U (en) USB3. 0 extension line
CN212647668U (en) Infrared remote control command sending circuit
CN205862151U (en) There is the skylight electric control box of communication function
CN219204614U (en) Network extender
CN116015988B (en) Gigabit PoE extender
CN216772411U (en) 4-channel RS485 expansion board based on anti-surge technology
CN218897224U (en) Investigation array module
CN220754974U (en) 485 bidirectional communication sensor circuit based on cmos high-speed NOT gate
CN218868252U (en) RJ11 type CAN/RS485 dual-mode communication channel data acquisition terminal

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230103

Address after: No. 8, Group 12, Luoxin Village, Chunfu Township, Jingyan County, Leshan City, Sichuan Province 613100

Patentee after: Tang Wei

Address before: 610000 room 910, floor 9, unit 1, building 2, Section 1, Huayang Huafu Avenue, Tianfu new area, Chengdu, Sichuan

Patentee before: Sichuan prorah Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230512

Address after: 610000 room 910, floor 9, unit 1, building 2, Section 1, Huayang Huafu Avenue, Tianfu new area, Chengdu, Sichuan

Patentee after: Sichuan prorah Technology Co.,Ltd.

Address before: No. 8, Group 12, Luoxin Village, Chunfu Township, Jingyan County, Leshan City, Sichuan Province 613100

Patentee before: Tang Wei

TR01 Transfer of patent right