CN102279827A - Multifunctional communication transit box - Google Patents

Multifunctional communication transit box Download PDF

Info

Publication number
CN102279827A
CN102279827A CN2011101529860A CN201110152986A CN102279827A CN 102279827 A CN102279827 A CN 102279827A CN 2011101529860 A CN2011101529860 A CN 2011101529860A CN 201110152986 A CN201110152986 A CN 201110152986A CN 102279827 A CN102279827 A CN 102279827A
Authority
CN
China
Prior art keywords
communication
interconnecting device
communication interface
chip microcomputer
multifunctional
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.)
Pending
Application number
CN2011101529860A
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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN2011101529860A priority Critical patent/CN102279827A/en
Publication of CN102279827A publication Critical patent/CN102279827A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention relates to a multifunctional communication transit box which comprises a main control unit, an uplink communication unit and a downlink communication unit which are connected with the main control unit, wherein the uplink communication unit is used for realizing serial port-based communication between the main control unit and an upper computer, and the downlink communication interface is used for realizing I2C, K-Bus, non-standard SPI (Serial Peripheral Interface), standard SPI, CAN (Controller Area Network) and LIN (Local Interconnect Network) interface-based communication between the main control unit and a product to be operated. The control of the whole communication process and the conversion of a communication protocol are realized by a self-customized communication protocol set in the main control unit. The communication transit box is connected with the upper computer so as to test and burn a plurality of products simultaneously, thus various conveniences caused by mutual incompatibility of special communication boxes are eliminated, production efficiency is greatly increased and manufacture cost is saved.

Description

A kind of multifunctional communication interconnecting device
Technical field
The present invention relates to produce and test and use electronic device field, specifically be meant a kind of multifunctional communication interconnecting device.
Background technology
In the manufacture process of automobile electronics, generally all can relate to burning and automatic test to product E EPROM.The communications protocol that the EEPROM burning relates to comprises I2C or SPI, and the communications protocol that automatic test relates to comprises I2C, K-Bus, non-standard SPI, standard SPI, CAN and LIN.In the existing production model, what the burning of product E EPROM was used is special-purpose cd-rom recorder, and what automatic test used is special-purpose communications adapter.No matter be special-purpose cd-rom recorder or special-purpose communications adapter, all can only realize a kind of communication of single-protocol, and can only an external product.The weak point of this pattern has 2 points: the one, and versatility and compatibility are not strong, burning or tested object change slightly and will change communicator, when for example producing the A type product, need to use cd-rom recorder and communications adapter at the A type product, will be replaced by cd-rom recorder and communications adapter when producing the Type B product at Type B number, this regular replacing not only will plug cd-rom recorder and breakout box repeatedly, change corresponding frock frame, also to carry out the switching on and shutting down operation, not only influence frock producing computer, frame, also had a strong impact on production efficiency the serviceable life of equipment.Two is that a cd-rom recorder or communications adapter once can only be operated a product, can't realize once external a plurality of product, has brought bottleneck for the raising of production efficiency.
Summary of the invention
Technical matters to be solved by this invention provides a kind of communication interconnecting device easy to use of compatible multiple kinds.
For solving the problems of the technologies described above, the present invention realizes by the following technical solutions: a kind of multifunctional communication interconnecting device comprises main control unit and connected uplink communication unit, downgoing communication interface unit.Wherein, main control unit comprises the single-chip microcomputer that stores the multiple kinds program and be used to realize the custom protocol program of multiple kinds conversion and control; Wherein, the realization program of every kind of communications protocol all is encapsulated as a submodule, control by the custom protocol program realizes the conversion of communications protocol, and single-chip microcomputer is by realizing up and host computer and descending and treat the communication of operated products according to the communications protocol of appointment after the configuration of host computer; The uplink communication unit is connected with single-chip microcomputer, adopts the mode of serial communication to finish communication between main control unit and the host computer, and realizes setting and the control of host computer to described communication interconnecting device duty; The downgoing communication interface unit, all be connected with single-chip microcomputer, comprise and be used in I2C communication interface, K-Bus communication interface, non-standard/standard SPI communication interface, LIN communication interface and the CAN communication interface one or more being connected burning and/or test that communication realizes product with treating operated products.
Concrete, described CAN communication interface, LIN communication interface adopt the CAN transceiving chip, and CAN transceiving chip signal Transmitting and Receiving End connects single-chip microcomputer by buffer circuit.
Concrete, described I2C communication interface, non-standard/standard SPI communication interface all directly adopt single-chip microcomputer standard I/O mouth.
Concrete, described K-Bus communication interface adopts single-chip microcomputer serial communication interface RXD-2, TXD-2.
Concrete, described self-defined communications protocol adopts the RS232 communications protocol.
Concrete, described single-chip microcomputer has test and two kinds of mode of operations of burning, and two kinds of mode of operations are changed by upload control.
Compared with prior art, beneficial effect of the present invention is:
(1) communication interconnecting device of the present invention by with being connected of host computer, can test a plurality of products simultaneously or the burning operation, improved production efficiency greatly; A project with certain company is an example, use after the multifunctional communication interconnecting device, the employee has saved the running time of changing product, the burning and the test duration of five products have reduced 30S, calculate according to 30000/Month of output and manufacturing cost 50RMB/Hour, can save 35000RMB every year at least;
(2) eliminate the mutually incompatible inconvenience that brings of special-purpose communication box, saved manufacturing cost; According to general production scale statistics, the time that the EEPROM station is changed cd-rom recorder and test station replacing communication box is about 1Hour/Day, according to calculating about 10 the production line manufacturing costs 5RMB/Hour of a factory, can save 230000RMB every year at least.
Description of drawings
The described communication interconnecting device of Fig. 1 principle is formed schematic block diagram;
The described communication interconnecting device of Fig. 2 application state synoptic diagram;
The described communication interconnecting device of Fig. 3 main control unit protocol conversion principle schematic.
Embodiment
For the ease of it will be appreciated by those skilled in the art that the present invention is explained in further detail below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, disclosed multi-functional interconnecting device is made up of main control unit, MAX232 communication module, CAN transceiver, mu balanced circuit and power supply five parts.Power supply and mu balanced circuit are used for the power supply of other three parts.The CAN transceiver is used to realize the communication of CAN and LIN agreement Physical layer, and the CAN transceiver adopts the CAN transceiving chip, and it is connected with the communication interconnecting device by two pins of CAN-H and CAN-L.The MAX232 communication module is used to realize host computer and the main control unit serial communication based on custom protocol, and host computer needs be connected with the communication interconnecting device by two pins of RXD and TXD.Main control unit is used to realize the conversion of communications protocol, the product needed of different agreement connects different pins, use the product needed of I2C, non-standard SPI, standard SPI agreement to connect communication interconnecting device standard I O mouth, use the product needed of K-Bus agreement to connect communication interconnecting device RXD-2 and two pins of TXD-2, use the product needed of CAN and LIN agreement to be connected RXD-1 and two pins of TXD-1.
Be illustrated in figure 2 as communication interconnecting device application state synoptic diagram.When the present invention uses, uply be connected with host computer, the host computer user oriented has been opened a cover software interface, and the user is by just finishing all application configuration of multifunctional communication interconnecting device and monitoring in real time its operation.Host computer is realized by the self-defined communications protocol based on the RS232 interface the configuration and the policer operation of multifunctional communication interconnecting device.The communicator that host computer can be configured to have specific function with the multifunctional communication interconnecting device by the self-defined communications protocol based on the RS232 interface is to realize burning or the automatic test to a plurality of product E EPROM.
Described communication interconnecting device is descending treats that with each operated products is connected, up using based on the self-defined communications protocol of RS232 interface after configuration is finished to interconnecting device, and the interconnecting device master routine is just carried out corresponding submodule program as required and is carried out the realization that different agreement is changed.The descending application demand of operated products for the treatment of has two kinds of situations: burning and test.When the multifunctional communication interconnecting device is used for the product burning, the packing data that host computer will write product earlier is good, send to the communication interconnecting device by the custom protocol based on the RS232 interface, interconnecting device writes product with these data by I2C agreement or SPI agreement again.When the multifunctional communication interconnecting device is used for product test, because product is real-time output, the feedback states information of meeting in the process of testing automatically, these information datas will input to the multifunctional communication interconnecting device by I2C, K-Bus, non-standard SPI, standard SPI, CAN and LIN agreement by standard I/O mouth earlier, interconnecting device sends to host computer with these data by the custom protocol based on the RS232 interface again, host computer can obtain the status information of product in real time, and then finishes test; If in test process, host computer need send instruction to product, can send to the communication interconnecting device to command information by the custom protocol based on the RS232 interface earlier, interconnecting device sends to product to instruction by I2C, K-Bus, non-standard SPI, standard SPI, CAN and LIN agreement again.
Be illustrated in figure 3 as communication interconnecting device main control unit protocol conversion principle schematic.Among the present invention, host computer is informed multi-functional interconnecting device with user's demand by the message frame of custom protocol by RXD and TXD interface, has comprised the configuration, communication state of the corresponding relation of product and agreement, every kind of different agreement and the information of up other resource operations to communication interconnecting device main control unit in the message frame.
In main control unit, protocol conversion realizes in two steps, is respectively layoutprocedure and transfer process.
For layoutprocedure, initial phase up (PC) sends the configuration of message frame realization to slave computer (interconnecting device) by serial ports, and the message frame form is as follows:
Start bit Address bit Data bit Check bit Stop bit
Wherein, start bit and stop bit are used for the synchronous of message frame; Address bit is used for certain slave computer of gating (when a up communication mode to a plurality of slave computers); Data bit comprises mode identifier and protocol identifier.Mode identifier comprises a binary code, is used to inform that slave computer should be in the sort of mode of operation (test or burning).Protocol identifier comprises the triad sign indicating number, is used to inform that slave computer should select the sort of communications protocol (I2C, K-Bus, non-standard SPI, standard SPI, CAN or LIN); Check bit adopts the CRC check pattern to guarantee that the transmission of message frame is errorless.Slave computer receives that message frame confirms that errorless back loopback ACK character (binary code) representative shakes hands successfully.Configuration is finished the mode in this communication of back slave computer and is just determined, must ask up it to be reconfigured as if changing.
For transfer process, after configuration was finished, upper and lower computer just can enter the process of protocol conversion.At first, the specific implementation of each agreement sequential all will be packaged into a submodule (being present in the program of interconnecting device), and the pairing submodule of certain agreement of routine call just can carry out communication according to the sequential of this agreement.
Protocol conversion is divided into test pattern and burning pattern.The information data of test pattern be from the product to the interconnecting device again to PC, the information data of burning pattern is again to product from the PC to the interconnecting device.
For test pattern, interconnecting device is according to PC configuration information invocation protocol subfunction, and the information data that the product that receives is sended over deposits in the register according to the agreement sequential and cushions; Then, master routine takes out sequential (the public submodule in the program) according to serial communication to information data again and sends to PC and be used for test from register.
For the burning pattern, interconnecting device receives the data of PC, according to the sequential of serial communication the information data that needs write product is deposited in the register; Then, the interconnecting device subfunction of calling specified protocol according to configuration information is taken out communication sequential according to this agreement to information data and is write product and finish test from register.
In these two processes, data interaction is all two-way.
The preferred version that the foregoing description is realized for the present invention; and indefiniteness is exhaustive, and the present invention can also have other variations under same idea, need to prove; conceive under the prerequisite not breaking away from the present invention, any conspicuous replacement and subtle change are all within protection scope of the present invention.

Claims (7)

1. a multifunctional communication interconnecting device is characterized in that, comprising:
Main control unit comprises the single-chip microcomputer that stores the multiple kinds program and be used to realize the custom protocol program of multiple kinds conversion and control; Wherein, the realization program of every kind of communications protocol all is encapsulated as a submodule, control by the custom protocol program realizes the conversion of communications protocol, and single-chip microcomputer is by realizing up and host computer and descending and treat the communication of operated products according to the communications protocol of appointment after the configuration of host computer;
The uplink communication unit is connected with single-chip microcomputer, adopts the mode of serial communication to finish communication between main control unit and the host computer, realizes setting and the control of host computer to described communication interconnecting device duty;
The downgoing communication interface unit, all be connected with single-chip microcomputer, comprise in I2C communication interface, K-Bus communication interface, non-standard/standard SPI communication interface, LIN communication interface and the CAN communication interface one or more, be used for and a plurality of different operated products for the treatment of connect burning and/or tests that communications realize product.
2. multifunctional communication interconnecting device according to claim 1 is characterized in that: described CAN communication interface, LIN communication interface adopt the CAN transceiving chip, and CAN transceiving chip signal Transmitting and Receiving End connects single-chip microcomputer by buffer circuit.
3. multifunctional communication interconnecting device according to claim 1 is characterized in that: described I2C communication interface, non-standard/standard SPI communication interface all directly adopt single-chip microcomputer standard I/O mouth.
4. multifunctional communication interconnecting device according to claim 1 is characterized in that: described K-Bus communication interface adopts single-chip microcomputer serial communication interface RXD-2, TXD-2.
5. multifunctional communication interconnecting device according to claim 1 is characterized in that: described host computer is a PC.
6. according to any described multifunctional communication interconnecting device among the claim 1-5, it is characterized in that: described self-defined communications protocol is provided with based on the RS232 communication module.
7. multifunctional communication interconnecting device according to claim 6 is characterized in that: described single-chip microcomputer has test and two kinds of mode of operations of burning, and two kinds of mode of operations are changed by PC control.
CN2011101529860A 2011-06-09 2011-06-09 Multifunctional communication transit box Pending CN102279827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101529860A CN102279827A (en) 2011-06-09 2011-06-09 Multifunctional communication transit box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101529860A CN102279827A (en) 2011-06-09 2011-06-09 Multifunctional communication transit box

Publications (1)

Publication Number Publication Date
CN102279827A true CN102279827A (en) 2011-12-14

Family

ID=45105285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101529860A Pending CN102279827A (en) 2011-06-09 2011-06-09 Multifunctional communication transit box

Country Status (1)

Country Link
CN (1) CN102279827A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399835A (en) * 2013-07-31 2013-11-20 龙迅半导体科技(合肥)有限公司 Data communication method and system
CN103996949A (en) * 2014-05-14 2014-08-20 航天科工深圳(集团)有限公司 Interface bus collecting device
CN104615205A (en) * 2015-02-13 2015-05-13 成都万创科技有限责任公司 Industrial tablet personal computer with a multifunctional interface
CN105699884A (en) * 2016-01-13 2016-06-22 深圳市博巨兴实业发展有限公司 Multichip packaging test method based on MCU
CN106199177A (en) * 2016-08-26 2016-12-07 贵州电网有限责任公司电力科学研究院 General-purpose interface for electric energy meter
CN106230665A (en) * 2016-09-09 2016-12-14 深圳市艾特智能科技有限公司 Debugger
CN107508785A (en) * 2016-06-14 2017-12-22 中国石油天然气股份有限公司 A kind of protocol conversion apparatus and method
CN108132898A (en) * 2018-01-15 2018-06-08 东莞博力威电池有限公司 Multiplex communication control method and communication box
WO2018218531A1 (en) * 2017-05-31 2018-12-06 深圳市爱夫卡科技股份有限公司 Eeprom programming system and eeprom programming method
CN109889490A (en) * 2019-01-02 2019-06-14 肇庆奥迪威传感科技有限公司 Protocol conversion device, method, apparatus and storage medium
CN110221997A (en) * 2019-05-20 2019-09-10 湖北三江航天万峰科技发展有限公司 A kind of USB interface-based versatile interface interconnecting device
CN110703741A (en) * 2019-11-01 2020-01-17 珠海格力电器股份有限公司 Multifunctional communication debugging equipment
CN112631847A (en) * 2020-12-28 2021-04-09 深圳市路畅科技股份有限公司 Intelligent vehicle machine automatic test system, method and application thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570877A (en) * 2004-04-27 2005-01-26 中兴通讯股份有限公司 Universal serial communication interface debugging device and method
CN2911753Y (en) * 2006-01-20 2007-06-13 华南理工大学 Distributed control systme for multi-energy driving assembly of hybrid driving electric autocar
CN101163017A (en) * 2007-08-28 2008-04-16 东南大学 Embedded transformer station information integrated server
CN201163783Y (en) * 2007-12-18 2008-12-10 杭州东信金融技术服务有限公司 Multi-serial port card based on CAN bus
CN201842053U (en) * 2010-10-15 2011-05-25 长安大学 Fingerprint identification based automobile theft-proof device
CN201859346U (en) * 2010-11-29 2011-06-08 大连捷成实业发展有限公司 Device for monitoring CAN (controller area network) bus communication data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570877A (en) * 2004-04-27 2005-01-26 中兴通讯股份有限公司 Universal serial communication interface debugging device and method
CN2911753Y (en) * 2006-01-20 2007-06-13 华南理工大学 Distributed control systme for multi-energy driving assembly of hybrid driving electric autocar
CN101163017A (en) * 2007-08-28 2008-04-16 东南大学 Embedded transformer station information integrated server
CN201163783Y (en) * 2007-12-18 2008-12-10 杭州东信金融技术服务有限公司 Multi-serial port card based on CAN bus
CN201842053U (en) * 2010-10-15 2011-05-25 长安大学 Fingerprint identification based automobile theft-proof device
CN201859346U (en) * 2010-11-29 2011-06-08 大连捷成实业发展有限公司 Device for monitoring CAN (controller area network) bus communication data

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399835B (en) * 2013-07-31 2016-04-27 龙迅半导体(合肥)股份有限公司 A kind of data communications method and system
CN103399835A (en) * 2013-07-31 2013-11-20 龙迅半导体科技(合肥)有限公司 Data communication method and system
CN103996949A (en) * 2014-05-14 2014-08-20 航天科工深圳(集团)有限公司 Interface bus collecting device
CN104615205A (en) * 2015-02-13 2015-05-13 成都万创科技有限责任公司 Industrial tablet personal computer with a multifunctional interface
CN105699884A (en) * 2016-01-13 2016-06-22 深圳市博巨兴实业发展有限公司 Multichip packaging test method based on MCU
CN107508785A (en) * 2016-06-14 2017-12-22 中国石油天然气股份有限公司 A kind of protocol conversion apparatus and method
CN106199177A (en) * 2016-08-26 2016-12-07 贵州电网有限责任公司电力科学研究院 General-purpose interface for electric energy meter
CN106230665A (en) * 2016-09-09 2016-12-14 深圳市艾特智能科技有限公司 Debugger
WO2018218531A1 (en) * 2017-05-31 2018-12-06 深圳市爱夫卡科技股份有限公司 Eeprom programming system and eeprom programming method
CN108132898A (en) * 2018-01-15 2018-06-08 东莞博力威电池有限公司 Multiplex communication control method and communication box
CN109889490A (en) * 2019-01-02 2019-06-14 肇庆奥迪威传感科技有限公司 Protocol conversion device, method, apparatus and storage medium
CN109889490B (en) * 2019-01-02 2021-10-22 肇庆奥迪威传感科技有限公司 Protocol conversion device, method, apparatus and storage medium
CN110221997A (en) * 2019-05-20 2019-09-10 湖北三江航天万峰科技发展有限公司 A kind of USB interface-based versatile interface interconnecting device
CN110703741A (en) * 2019-11-01 2020-01-17 珠海格力电器股份有限公司 Multifunctional communication debugging equipment
CN112631847A (en) * 2020-12-28 2021-04-09 深圳市路畅科技股份有限公司 Intelligent vehicle machine automatic test system, method and application thereof

Similar Documents

Publication Publication Date Title
CN102279827A (en) Multifunctional communication transit box
CN101447915B (en) Method for realizing automatic and smooth switch among different network topology structures and network device thereof
CN101957808B (en) Communication method among various CPUs (Central Processing Units), system and CPU
CN106453383A (en) UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method
CN101488878A (en) Intelligence platform interface management apparatus and server
CN204759403U (en) System based on data pass realization equipment internal module thoroughly and upgrade
CN104160383A (en) Enhanced re-hosting capability for legacy hardware and software
CN103516669A (en) Adaptive multi-protocol converter
CN105243044A (en) Serial port based management system and management method
CN106909752A (en) The analogue system of high-speed railway computer interlock system external interface test
CN106888271A (en) A kind of software and hardware interactive interface applied in BLE5.0 protocol systems and system
CN107943732A (en) One kind realizes 1553B bus modules based on production domesticization FPGA device
CN104102607A (en) CAN (controlled area network) bus driving method and system based on VxWorks operating system environment
CN102508799B (en) Automatic control method, system and USB (universal serial bus) device
CN103561116A (en) Reconfigurable PXI serial communication card and method for achieving remote reconfiguration through reconfigurable PXI serial communication card
CN107370651A (en) A kind of communication means between SPI slaves
CN107239423A (en) A kind of device based on extension IIC interfaces
CN102724090A (en) Process field bus (PROFIBUS) DP/PA integrated embedded slave node communication device based on DP controller with integrated 8031 core (DPC31)
CN207182023U (en) The network control board and modular instrument for being controlled and being communicated based on network
CN110287141A (en) A kind of FPGA reconstructing method and system based on multiple interfaces
CN109062845A (en) multi-terminal control method and system
CN201323593Y (en) Network device for automatic smooth switching between various network topology structures
CN102243489B (en) Cross-platform data processing system and method
CN107395478A (en) A kind of network control system and network communication module for high speed cigarette packaging facilities
CN207099099U (en) A kind of ARCNET modules for high speed cigarette packaging facilities

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111214