CN201796248U - Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller - Google Patents

Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller Download PDF

Info

Publication number
CN201796248U
CN201796248U CN2009202191934U CN200920219193U CN201796248U CN 201796248 U CN201796248 U CN 201796248U CN 2009202191934 U CN2009202191934 U CN 2009202191934U CN 200920219193 U CN200920219193 U CN 200920219193U CN 201796248 U CN201796248 U CN 201796248U
Authority
CN
China
Prior art keywords
circuit
microcontroller
usb
communication
bus
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
CN2009202191934U
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.)
Hengchi Science & Technology Co Ltd Zhenjiang
Original Assignee
Hengchi Science & Technology Co Ltd Zhenjiang
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 Hengchi Science & Technology Co Ltd Zhenjiang filed Critical Hengchi Science & Technology Co Ltd Zhenjiang
Priority to CN2009202191934U priority Critical patent/CN201796248U/en
Application granted granted Critical
Publication of CN201796248U publication Critical patent/CN201796248U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model provides a universal serial bus (USB)-controller area network (CAN) communication module based on a microcontroller, which comprises a USB bus control circuit, a microcontroller circuit, a communication isolating circuit, a power source isolating circuit, an LED display circuit and a CAN bus interface circuit. The communication module adopts the designs of communication isolation and power source isolation, the USB bus control circuit is connected with the CAN bus interface circuit via the microcontroller, the communication isolating circuit is added between the microcontroller circuit and the CAN bus interface circuit, a power source provided by the aid of an USB slot of a personal computer (PC) is divided into two portions through a voltage reducing chip, one portion supplies power to the CAN bus interface circuit and the communication isolating circuit, and the other portion supplies power to the USB bus control circuit, the connecting end of the microcontroller circuit and the communication isolating circuit and the microcontroller circuit. The module can be used for realizing communication between electronic equipment with CAN interfaces and the PC, is high in transmission accuracy, simple in structure, lower in cost, and particularly adaptable to USB-CAN communication environments of automobile electronic control modules.

Description

A kind of USB-CAN communication module based on microcontroller
Technical field
The present invention relates to the interconnecting module that a kind of Vehicle Electronic Control module ECM and external personal computer PC communicate, be specially a kind of USB-CAN communication module.
Background technology
The application of electronic control module ECM gets more and more in the Hyundai Motor, and some modules need detect by the external personal computer PC, routine data upgrades and demarcation.In order to realize communicating by letter of module and outer PC, between them, connect a USB-CAN communication module usually, USB is that PC is refuted and connect end, CAN is that ECM refutes and connects end.Because there is a large amount of electromagnetic interference (EMI) in vehicle environment, these undesired signals are transmitted by order wire, may cause that data make mistakes or lose, and have influence on the quality of information interaction.In the design of communication module circuit, take the isolation design measure can suppress electromagnetic interference (EMI), improve the information information transfer quality.The isolation design that adopts in the existing technology, more employing photoelectricity is coupled into the physical isolation between row communication module and communication line, this method is when input logic lacks temporarily under the power or power-down state, its isolation does not have special more new feature to guarantee the direct current correctness, cause loss of data easily, and data need adopt CAN bus control chip to come data transmission on the control bus on the CAN bus, and the circuit complexity has increased cost and caused new interference source.
Summary of the invention
It is a kind of based on microcontroller USB-CAN communication module that the utility model provides, and adopts special-purpose communication chip and the microcontroller that has integrated manipulator LAN (MSCAN), solved to adopt above-mentioned photoelectricity coupling to isolate existing problem.
The technical solution adopted in the utility model is as follows:
This USB-CAN communication module based on microcontroller is made up of usb bus control circuit, microcontroller circuit, communication buffer circuit, power isolation circuit, LED display circuit and CAN bus interface circuit.The usb bus control circuit is connected with the CAN bus interface circuit by microcontroller circuit, adds the buffer circuit of communicating by letter between microcontroller circuit and CAN bus interface circuit.The USB-CAN module is connected with the CAN bus interface of automobile-used ECM with the USB socket of PC respectively.
The present invention adopts communication to isolate and the isolated from power design solves the external interference problem.Communicate by letter and isolate: inside adds the communication buffer circuit, cuts off the undesired signal transmission on the order wire, and is being connected in series the influence of two interference on the small inductors weakening CAN bus to the CAN Bus Interface Chip in the middle of CAN bus interface circuit and the CAN bus.Isolated from power: utilize power supply that the USB socket provides as normal power, adopt a step-down chip that isolated from power is become two parts.Normal power filters the back and gives the CAN bus interface circuit and buffer circuit and the CAN bus interface circuit link power supply of communicating by letter, and the power supply after the isolation is given usb bus control circuit, microcontroller circuit and communicated by letter the power supply of buffer circuit link and microcontroller circuit.Isolated from power cut off with the CAN bus on the voltage fluctuation that causes of peripheral components to the influence of microcontroller.
USB-CAN communication module based on microcontroller, described microcontroller adopts inner integrated manipulator LAN (MSCAN), and chip two pins are directly controlled the CAN interface chip, need not external CAN bus control chip, simplify circuit design, reduced interference source.Between microcontroller circuit and CAN bus interface circuit, add the communication buffer circuit and realize that communication is isolated and is connected, the electrical Interference between between thorough isolated can bus and PC.Simultaneously, microcontroller adopts BKGD single line background debugging interface, convenient debugging.
The USB-CAN communication module, microcontroller circuit connects a LED light, is used to show the microcontroller working condition; USB socket power supply connects another pilot lamp, is used for the display power supply situation.Microcontroller circuit connects double switch amount input signal, is used for the outside baud rate of adjusting microcontroller.
The USB-CAN communication module, the communication buffer circuit adopts two-channel digital step-down chip, and this chip is based on analog device, and performance is better than light-coupled isolation.The communication buffer circuit can provide two independently channel isolations, and two parts operating voltage range is that 2.7V is between the 5.5V.
The invention has the beneficial effects as follows: PC can be realized the real-time synchronism detection of real vehicle to control module by software, and test data is accurate, efficient is high.Inside modules is not used CAN bus control chip, has saved cost.Therefore cost low, lightly be easy to carry, can in different environment, use.
Description of drawings
Fig. 1 is a USB-CAN communication module structured flowchart
1-USB bus control circuit, 2-microcontroller circuit, the 3-buffer circuit of communicating by letter, 4-CAN bus interface circuit, 5-LED display circuit, 6-power isolation circuit
Fig. 2 isolates and CAN bus interface schematic diagram for embodiment communicates by letter
Fig. 3 is embodiment power principle figure
Fig. 4 uses synoptic diagram for embodiment
The 7-PC machine, 8-USB-CAN communication module, 9-CAN bus, 10,11, N-ECM.
Embodiment
Be that example is described further the utility model in conjunction with the accompanying drawings with normal power 5V, insulating power supply 3.3V, step-down chip ADUM1201, microcontroller chip MC9S08DZ60 below.
As Fig. 1, after microcontroller was judged the PC signal condition, PC transmitted data downwards by the usb bus controller, and data enter the microcontroller storage, and microcontroller transmits data by CAN bus interface circuit 4 to ECM after detecting the CAN bus state.Communication buffer circuit 3 is kept apart two communication lines between microcontroller and the CAN bus interface 4, and the outer signals that has solved on the CAN bus line is disturbed, and ECM also can transmit data to PC by the CAN bus simultaneously.The LED display circuit shows 5V power supply status and micro-controller communications state.Power isolation circuit 6 is separated into two parts to power supply: 3.3V gives usb bus control circuit 1, communication buffer circuit 3 and microcontroller 2 links and microcontroller circuit 2 power supplies; 5V gives CAN bus interface circuit 4 and buffer circuit 3 and the power supply of CAN bus interface circuit 4 links of communicating by letter.
Fig. 2 isolates and CAN bus interface schematic diagram for embodiment communicates by letter.Step-down chip ADUM1201 adopts both sides different power supply power supplies respectively: power with 3.3V with the microcontroller link, power with 5V with CAN Bus Interface Chip SN65HVD251 link.Small inductor of CAN interface chip output line series connection is articulated on the CAN bus, and output terminal parallel voltage-stabilizing diode prevents that the moment strong jamming damages the CAN interface chip on the bus.Out splice going splice adopts the DB9 plug.While DB9 still resets, program is downloaded joint.The integrated BKGD single line of microcontroller debugging module, when needs modified module microcontroller internal program, host computer can be directly to module download, update routine by the BDM module.
Fig. 3 is embodiment power principle figure.The 5V power supply that USB provides is whole module general supply.USB-5V through behind the magnetic bead L1 to 5V electric system circuit supply on the module.5V is by exporting 3.3V to 3.3V electric system circuit supplies such as microcontrollers on the module after the LM1117IMAP-3.3 step-down.
Fig. 4 is an embodiment USB-CAN module application synoptic diagram.Inside modules adopts the microcontroller MC9S08DZ60 of 8 HCS08 central processing units of freescale company release.
The USB-CAN module is judged host computer (PC 7) signal condition, is to send data or receive the data that slave computer transmits up to slave computer.Finish program burn writing task or test, monitoring with this.Allow 120 SN65HVD251 nodes on the CAN bus at most.During actual the use, the USB-CAN module is judged the node state of CAN bus, and reception ECM uploads data and is stored in the microcontroller.Module is uploaded data after judging PC usb bus state.PC shows on screen by test monitoring software after receiving the data of uploading.But keyboard real time modifying monitoring parameter, module detect PC down-transmitting data state, with the data storage that receives in microcontroller, judge the CAN bus state after, data down transmission to ECM, is controlled ECM.Because module is light small and exquisite, be applicable to real-time in-line testing, monitoring.The isolation design of inside modules has intercepted the transmission of undesired signal on the CAN bus.

Claims (5)

1. USB-CAN communication module based on microcontroller, comprise usb bus control circuit, CAN bus interface circuit, it is characterized in that: also comprise microcontroller circuit, communication buffer circuit, power isolation circuit, the usb bus control circuit is set up communication by microcontroller circuit with the CAN bus interface circuit and is connected, and adds the buffer circuit of communicating by letter between microcontroller circuit and CAN bus interface circuit.
2. the USB-CAN communication module based on microcontroller according to claim 1 is characterized in that the inner integrated manipulator LAN of described microcontroller circuit, by the control CAN of controller local area network interface chip.
3. the USB-CAN communication module based on microcontroller according to claim 1 is characterized in that the baud rate of microcontroller circuit is regulated by double switch amount input circuit.
4. the USB-CAN communication module based on microcontroller according to claim 1, it is characterized in that power isolation circuit adopts the step-down chip to isolate the normal power that PC USB mouth provides, the back power supply is isolated in microcontroller circuit, usb bus control circuit, communication buffer circuit and the employing of microcontroller circuit link, and the CAN bus interface circuit adopts the USB power supply after filtering to power with communicate by letter buffer circuit and CAN bus interface circuit link.
5. according to claims 4 described USB-CAN communication modules, it is characterized in that described step-down chip can provide two independently channel isolations based on microcontroller, before and after isolating operating voltage range at 2.7V between the 5.5V.
CN2009202191934U 2009-10-13 2009-10-13 Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller Expired - Fee Related CN201796248U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009202191934U CN201796248U (en) 2009-10-13 2009-10-13 Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009202191934U CN201796248U (en) 2009-10-13 2009-10-13 Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller

Publications (1)

Publication Number Publication Date
CN201796248U true CN201796248U (en) 2011-04-13

Family

ID=43851151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009202191934U Expired - Fee Related CN201796248U (en) 2009-10-13 2009-10-13 Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller

Country Status (1)

Country Link
CN (1) CN201796248U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231058A (en) * 2011-04-19 2011-11-02 铁道部运输局 Man-machine interface board for rail transit vehicle brake electrical system
CN104718506A (en) * 2012-09-13 2015-06-17 恩德莱斯和豪瑟尔测量及调节技术分析仪表两合公司 Device for transmitting and/or receiving measurement data of a field apparatus, and system
CN104808028A (en) * 2015-04-30 2015-07-29 深圳市知用电子有限公司 Oscilloscope intelligent active probe

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231058A (en) * 2011-04-19 2011-11-02 铁道部运输局 Man-machine interface board for rail transit vehicle brake electrical system
CN104718506A (en) * 2012-09-13 2015-06-17 恩德莱斯和豪瑟尔测量及调节技术分析仪表两合公司 Device for transmitting and/or receiving measurement data of a field apparatus, and system
US9760516B2 (en) 2012-09-13 2017-09-12 Endress+Hauser Conducta Gmbh+Co. Kg Apparatus for transmitting and/or receiving measurement data of a field device with passive adapter interface
CN104808028A (en) * 2015-04-30 2015-07-29 深圳市知用电子有限公司 Oscilloscope intelligent active probe
CN104808028B (en) * 2015-04-30 2017-12-19 深圳市知用电子有限公司 A kind of oscillograph intellectuality active probe

Similar Documents

Publication Publication Date Title
CN210804407U (en) Serial port-to-single line communication module with level selection function
CN102393731A (en) On-board monitoring and diagnosis device based on OBD-II (On-Board Diagnostics-II)
CN201796248U (en) Universal serial bus (USB)-controller area network (CAN) communication module based on microcontroller
CN204539303U (en) HDMI (High Definition Multimedia Interface) with multiplexing function and television set
CN214623371U (en) Vehicle-mounted Ethernet interface conversion device
CN202649997U (en) Detection and recovery device for USB communication port, and communication equipment
CN210465652U (en) Portable multi-interface communication cable testing tool
CN203722640U (en) Electric loopback light module
CN201867801U (en) Communication signal conversion device for air conditioner
CN102279109B (en) Universal test device for signal of military vehicle chassis part
CN103489302B (en) A kind of signals collecting terminal and chamber data acquisition system (DAS)
CN115508749A (en) Intermittent fault acquisition and test device and method for aviation assembly connector
CN210518377U (en) EtherCAT, ProfiNET bus compatible system
CN106708772A (en) Intelligent USB concentrator
CN102495554A (en) Program controlled matrix switch and manufacturing method thereof
CN206584349U (en) A kind of intelligent usb hub circuit
CN220896784U (en) Data communication device for upgrading vehicle-mounted camera software
CN219761398U (en) Low-voltage direct-current carrier communication circuit applied to fire emergency lighting system
CN202103482U (en) Intelligent controller used for circuit breaker
CN109816967A (en) A kind of control device of collection wireless data transmission and control one
CN109992546B (en) Serial port debugging device and method
CN205091614U (en) Engine signal pickup assembly
CN219179919U (en) Master-slave equipment debugging system
CN218958926U (en) LED on-line control module
CN218634133U (en) Ethernet communication conversion equipment

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: 212009 Zhenjiang city of Jiangsu province science and Technology Park pan Zong Lu 38-4 Dingmao

Patentee after: Hengchi Science & Technology Co., Ltd., Zhenjiang

Address before: 212009, Zhenjiang, Jiangsu province by the 12 study abroad Pioneer Park, Room 201

Patentee before: Hengchi Science & Technology Co., Ltd., Zhenjiang

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

Granted publication date: 20110413

Termination date: 20161013

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