CN204615855U - A kind of circuit of the 6 road code device signal transmission based on MAC layer - Google Patents

A kind of circuit of the 6 road code device signal transmission based on MAC layer Download PDF

Info

Publication number
CN204615855U
CN204615855U CN201520382994.8U CN201520382994U CN204615855U CN 204615855 U CN204615855 U CN 204615855U CN 201520382994 U CN201520382994 U CN 201520382994U CN 204615855 U CN204615855 U CN 204615855U
Authority
CN
China
Prior art keywords
chip circuit
digital signal
data
fpga chip
transceiver
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.)
Expired - Fee Related
Application number
CN201520382994.8U
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.)
HARBIN BOQIANG ROBOT TECHNOLOGY Co Ltd
Original Assignee
HARBIN BOQIANG ROBOT 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 HARBIN BOQIANG ROBOT TECHNOLOGY Co Ltd filed Critical HARBIN BOQIANG ROBOT TECHNOLOGY Co Ltd
Priority to CN201520382994.8U priority Critical patent/CN204615855U/en
Application granted granted Critical
Publication of CN204615855U publication Critical patent/CN204615855U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

Based on a circuit for 6 road code device signal transmission of MAC layer, it belongs to the technical field of the data communication protocol conversion of robot.The MII digital signal I/O of FPGA chip circuit is connected with the MII digital signal input/output terminal of PHY chip circuit U 1; The difference MAC data frame I/O of PHY chip circuit U 1 is connected on the RJ45 socket J1 of band isolating transformer, the first via of FPGA chip circuit is connected with the digital signal I/O of 485 transceiver U8 ~ U13 to the 6th tunnel 485 digital signal input/output terminal respectively by digital light electric coupling U2 ~ U7, and the serial date transfer output of FPGA chip circuit is connected with the serial data I/O of EPCS configuring chip circuit.The utility model can be stable the RS485 signal of absolute value encoder be converted into MAC data frame transmit.Add transmission range and the stability of encoder data.The basis of MAC layer Frame is revised, increases the utilization rate that data use frame, ensure that the real-time of data input and data output.

Description

A kind of circuit of the 6 road code device signal transmission based on MAC layer
Technical field
The utility model belongs to the technical field of the data communication protocol conversion of robot.
Background technology
In industrial robot system, inevitably will use encoder miscellaneous, because how poor the operational environment of most industrial robot is, electromagnetic interference is serious.Make the encoder of RS485, Modbus of traditional type or common digital signal type cannot carry out the transmission of longer distance in the environment that noise is serious.In addition encoder data transmission (encoder as RS485 agreement, Mdobus or pulse interface) each encoder of traditional type interface needs to take 4 even more holding wires.When electrical control cubicles distance basic machine is far away, corresponding cable expense can increase, and adds cost.And Industrial Ethernet Internet Transmission distance is longer, speed can well solve the problem.Therefore in actual robot application, this kind of circuit is proposed to meet long range propagation stablized by industrial robot under complicated electric circumstance to encoder data requirement.
Summary of the invention
The purpose of this utility model is to provide a kind of circuit of the 6 road code device signal transmission based on MAC layer, is make the encoder of RS485, Modbus of traditional type or common digital signal type cannot carry out the transmission of longer distance and the problem of data cable high cost in the environment that noise is serious to solve existing robot.
Described object is realized by following scheme: the circuit of described a kind of 6 road code device signal transmission based on MAC layer, and it comprises RJ45 socket J1,232 transceivers 1, EPCS configuring chip circuit 2, Jtag interface 3, FPGA chip circuit 4, the SM-6P-PCB socket J2 ~ J7 of PHY chip circuit U 1, digital light electric coupling U2 ~ U7,485 transceiver U8 ~ U13, band isolating transformer;
The MII digital signal I/O of FPGA chip circuit 4 is connected with the MII digital signal input/output terminal of PHY chip circuit U 1; The difference MAC data frame I/O of PHY chip circuit U 1 is connected on the RJ45 socket J1 of band isolating transformer; the first via 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U8 by digital light electric coupling U2, second tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U9 by digital light electric coupling U3,3rd tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U10 by digital light electric coupling U4,4th tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U11 by digital light electric coupling U5,5th tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U12 by digital light electric coupling U6,6th tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U13 by digital light electric coupling U7, the serial date transfer output of FPGA chip circuit 4 is connected with the serial data I/O of EPCS configuring chip circuit 2,232 data-signal input/output bus ends of FPGA chip circuit 4 export input bus end with the data of 232 transceivers 1 and are connected, the Jtag test data I/O of FPGA chip circuit 4 is connected on Jtag interface 3, the 485 communication data I/Os of 485 transceiver U8 ~ U13 connect SM-6P-PCB socket J2 ~ J7 respectively, 485 transceiver U8 ~ U13 adopt insulating power supply independently-powered.
The utility model can be stable the RS485 signal of absolute value encoder be converted into MAC data frame transmit.Add transmission range and the stability of encoder data.The basis of MAC layer Frame is revised, increases the utilization rate that data use frame, ensure that the real-time of data input and data output.
Accompanying drawing explanation
Fig. 1 is integrated circuit structural representation of the present utility model.
Embodiment
Embodiment one: shown in composition graphs 1, it comprises RJ45 socket J1,232 transceivers 1, EPCS configuring chip circuit 2, Jtag interface 3, FPGA chip circuit 4, the SM-6P-PCB socket J2 ~ J7 of PHY chip circuit U 1, digital light electric coupling U2 ~ U7,485 transceiver U8 ~ U13, band isolating transformer;
The MII digital signal I/O of FPGA chip circuit 4 is connected with the MII digital signal input/output terminal of PHY chip circuit U 1; The difference MAC data frame I/O of PHY chip circuit U 1 is connected on the RJ45 socket J1 of band isolating transformer; the first via 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U8 by digital light electric coupling U2, second tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U9 by digital light electric coupling U3,3rd tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U10 by digital light electric coupling U4,4th tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U11 by digital light electric coupling U5,5th tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U12 by digital light electric coupling U6,6th tunnel 485 digital signal input/output terminal of FPGA chip circuit 4 is connected with the digital signal I/O of 485 transceiver U13 by digital light electric coupling U7, the serial date transfer output of FPGA chip circuit 4 is connected with the serial data I/O of EPCS configuring chip circuit 2,232 data-signal input/output bus ends of FPGA chip circuit 4 export input bus end with the data of 232 transceivers 1 and are connected, the Jtag test data I/O of FPGA chip circuit 4 is connected on Jtag interface 3, the 485 communication data I/Os of 485 transceiver U8 ~ U13 connect SM-6P-PCB socket J2 ~ J7 respectively, 485 transceiver U8 ~ U13 adopt insulating power supply independently-powered.
The model that described PHY chip circuit U 1 is selected is 88E1111, and the model that digital light electric coupling U2 ~ U7 selects is the digital CMOS photoelectrical coupler of ACPL-064L/K64L low-power consumption 10MBd; The model that 485 transceiver U8 ~ U13 select is ADM485; The model selected with the RJ45 socket J1 of isolating transformer is HR911102A, and the model that 232 transceivers 1 are selected is MAX3232CUE; The model that EPCS configuring chip circuit 2 is selected is EPCS16SI8N; The model that FPGA chip circuit 4 is selected is EP4CE10E22 programmable logic device.
Operation principle: in present embodiment, circuit shown in Fig. 1 both can serve as main website and also can serve as slave station.The course of work that 6 road RS485 turn MAC layer Frame is as follows: when receiving driver and sending the instruction of data, main website FPGA chip circuit 4 starts that the data received are existed in the register of FPGA chip circuit 4 correspondence, deposit data in register is assembled in the data bit that MAC data frame is corresponding the form of MAC data frame after receiving the instruction that whole six drivers send, then data is passed to slave station circuit by the RJ45 socket J1 of PHY chip circuit U 1, band isolating transformer and netting twine successively.FPGA chip circuit 4 in slave station passes through to be with the RJ45 socket J1 of isolating transformer, PHY chip circuit U 1 receives data, and the data of MAC layer data frame data position are sent to 485 corresponding transceiver U8 ~ U13 according to the order of correspondence respectively by digital light electric coupling U2 ~ U7 by FPGA chip circuit 4 after receiving MAC layer Frame.Corresponding data is sent to FPGA chip circuit 4 according to the order of correspondence respectively by 485 transceiver U8 ~ U13 and digital light electric coupling U2 ~ U7 by the data delay of encoder circuit through 3us after receiving transmission data command.Receiving after data until FPGA chip circuit 4 is stored in register corresponding in FPGA chip circuit 4 by data, register addresses according to the number of axle of correspondence, after all data receivers complete, the deposit data in register is started to assemble MAC data frame to the position that MAC data frame is corresponding, after MAC data frame has been assembled by data successively by PHY chip circuit U 1, the band RJ45 socket J1 of isolating transformer and network cable transmission to main website circuit.Main website FPGA chip circuit 4 by netting twine, the band RJ45 socket J1 of isolating transformer and the return value of PHY chip circuit U 1 received code device, sends driver corresponding to each encoder to after the numerical value returned being sent to 485 corresponding transceiver U8 ~ U13 by digital light electric coupling U2 ~ U7 according to the order of data bit in MAC data frame successively.Circuit stores realization for the driver of each axle and the register that is identified by of encoder, and the register of each axle corresponds to fixing MAC layer data bit.
The course of work of RS232 part is as follows: send its transmission message format of self-defining message by host computer and comprise the part compositions such as circuit board ID, read-write state, phy address, phy register address, register data.Start the control register of SMI protocol configuration PHY chip circuit U 1 when FPGA chip circuit 4 receives corresponding phy chip register read write command and control extended register, thus reaching the object controlling PHY chip circuit U 1 mode of operation, its default mode of operation is full duplex 100Mbps forked working pattern.

Claims (1)

1., based on a circuit for 6 road code device signal transmission of MAC layer, it is characterized in that it comprises RJ45 socket J1,232 transceivers (1), EPCS configuring chip circuit (2), Jtag interface (3), FPGA chip circuit (4), the SM-6P-PCB socket J2 ~ J7 of PHY chip circuit U 1, digital light electric coupling U2 ~ U7,485 transceiver U8 ~ U13, band isolating transformer;
The MII digital signal I/O of FPGA chip circuit (4) is connected with the MII digital signal input/output terminal of PHY chip circuit U 1; The difference MAC data frame I/O of PHY chip circuit U 1 is connected on the RJ45 socket J1 of band isolating transformer; the first via 485 digital signal input/output terminal of FPGA chip circuit (4) is connected with the digital signal I/O of 485 transceiver U8 by digital light electric coupling U2, second tunnel 485 digital signal input/output terminal of FPGA chip circuit (4) is connected with the digital signal I/O of 485 transceiver U9 by digital light electric coupling U3,3rd tunnel 485 digital signal input/output terminal of FPGA chip circuit (4) is connected with the digital signal I/O of 485 transceiver U10 by digital light electric coupling U4,4th tunnel 485 digital signal input/output terminal of FPGA chip circuit (4) is connected with the digital signal I/O of 485 transceiver U11 by digital light electric coupling U5,5th tunnel 485 digital signal input/output terminal of FPGA chip circuit (4) is connected with the digital signal I/O of 485 transceiver U12 by digital light electric coupling U6,6th tunnel 485 digital signal input/output terminal of FPGA chip circuit (4) is connected with the digital signal I/O of 485 transceiver U13 by digital light electric coupling U7, the serial date transfer output of FPGA chip circuit (4) is connected with the serial data I/O of EPCS configuring chip circuit (2), 232 data-signal input/output bus ends of FPGA chip circuit (4) export input bus end with the data of 232 transceivers (1) and are connected, the Jtag test data I/O of FPGA chip circuit (4) is connected on Jtag interface (3), the 485 communication data I/Os of 485 transceiver U8 ~ U13 connect SM-6P-PCB socket J2 ~ J7 respectively, 485 transceiver U8 ~ U13 adopt insulating power supply independently-powered.
CN201520382994.8U 2015-06-05 2015-06-05 A kind of circuit of the 6 road code device signal transmission based on MAC layer Expired - Fee Related CN204615855U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520382994.8U CN204615855U (en) 2015-06-05 2015-06-05 A kind of circuit of the 6 road code device signal transmission based on MAC layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520382994.8U CN204615855U (en) 2015-06-05 2015-06-05 A kind of circuit of the 6 road code device signal transmission based on MAC layer

Publications (1)

Publication Number Publication Date
CN204615855U true CN204615855U (en) 2015-09-02

Family

ID=53968376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520382994.8U Expired - Fee Related CN204615855U (en) 2015-06-05 2015-06-05 A kind of circuit of the 6 road code device signal transmission based on MAC layer

Country Status (1)

Country Link
CN (1) CN204615855U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935587A (en) * 2015-06-05 2015-09-23 哈尔滨博强机器人技术有限公司 MAC layer based six-channel encoder signal transmission circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935587A (en) * 2015-06-05 2015-09-23 哈尔滨博强机器人技术有限公司 MAC layer based six-channel encoder signal transmission circuit
CN104935587B (en) * 2015-06-05 2018-04-10 哈尔滨博强机器人技术有限公司 A kind of circuit of the 6 road code device signal transmission based on MAC layer

Similar Documents

Publication Publication Date Title
CN103425106B (en) The master/slave station control system of a kind of EtherCAT based on Linux and method
CN204615855U (en) A kind of circuit of the 6 road code device signal transmission based on MAC layer
CN104935587A (en) MAC layer based six-channel encoder signal transmission circuit
CN205179099U (en) Realize serial ports agreement and change high -speed real -time network communication agreement circuit
CN205336322U (en) 9 way encoder signal changes transmission system of 1000Mbps PHY signal
CN103448062B (en) A kind of robot control method based on Powerlink
CN105721059A (en) Profibus-DP photoelectric signal conversion system
CN202334565U (en) Real-time Ethernet relay device of train
WO2017132785A1 (en) Transmission system converting a signal of 9-channel encoder into 1000-mbps phy signal
CN103401866A (en) Device for switching from PowerLink industrial Ethernet to Profibus-DP
CN101807070A (en) Numerical control system and method based on EPA field bus
CN210093253U (en) System for fusing PLC control system and control system of DALI protocol
CN204129454U (en) A kind of data conversion adaptive circuit and electronic equipment
CN109901506B (en) Configurable PLC based on PCIe bus
CN201274486Y (en) Analogue signal input module based on CANopen protocol
CN202696644U (en) CAN bus based bridge with strong anti-interference capability and wide applicability
CN202178790U (en) Industrial bus interface supporting configurable protocol
CN202141922U (en) Distributed real time control system and main station module
CN206311940U (en) A kind of real-time synchronization blind controller system of use EtherCAT agreements
CN201274487Y (en) Digital signal input module based on CANopen protocol
CN105554034A (en) Transmission system for converting 9-channel coder signals into 1000Mbps PHY signals
CN205356405U (en) Mine data transmission device based on GSHDSL
CN205453705U (en) Profibus -DP photoelectric signal conversion system
CN204013549U (en) A kind of CAN bus network based on optical fiber communication
CN214586463U (en) ET 5000-based communication system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: Yellow Sea zone haping road centralized development zone in Harbin City, Heilongjiang province 150000 No. 25 1 floor East

Patentee after: HARBIN BOQIANG ROBOT TECHNOLOGY CO., LTD.

Address before: 150000 room 368, 1508 Changjiang Road, Nangang District, Harbin City, Heilongjiang Province

Patentee before: HARBIN BOQIANG ROBOT TECHNOLOGY CO., LTD.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150902

Termination date: 20200605