CN101888335A - CAN bus-bluetooth intelligent network bridge - Google Patents

CAN bus-bluetooth intelligent network bridge Download PDF

Info

Publication number
CN101888335A
CN101888335A CN2010102113453A CN201010211345A CN101888335A CN 101888335 A CN101888335 A CN 101888335A CN 2010102113453 A CN2010102113453 A CN 2010102113453A CN 201010211345 A CN201010211345 A CN 201010211345A CN 101888335 A CN101888335 A CN 101888335A
Authority
CN
China
Prior art keywords
bus
bluetooth
main control
control unit
bus interface
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
CN2010102113453A
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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN2010102113453A priority Critical patent/CN101888335A/en
Publication of CN101888335A publication Critical patent/CN101888335A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a CAN bus-bluetooth intelligent network bridge, relating to the field of communication. The CAN bus-bluetooth intelligent network bridge of the invention comprises a main control unit, a power supply unit, a bluetooth module and a CAN bus interface, wherein the power supply unit is respectively connected with the main control unit, the bluetooth module and the CAN bus interface and provides the power supply voltage needed thereby; the main control unit is respectively connected with the bluetooth module and the CAN bus interface and can transmit data therebetween. Through the CAN bus-bluetooth intelligent network bridge in the invention, wireless data transmission between the CAN network and the bluetooth device, such as an auto diagnosis apparatus, can be realized via the bluetooth network, thus expanding data transmission distance and improving operation convenience of the device.

Description

A kind of CAN bus-bluetooth intelligent network bridge
Technical field
The present invention relates to the communications field, especially relate to a kind of CAN bus-bluetooth bridge.
Background technology
At present, along with development of computer, on increasing automobile, used vehicle-mounted micro-computer controller, and these controllers have been coupled together by buses such as CAN, LIN, so that transmit swap data mutually, wherein CAN (control area net) bus is that use is maximum at present.Aspects such as this dynamic property to automobile, fail safe, reliability and hommization have played great raising effect, but also make auto repair diagnosis and the difficulty of fixing a breakdown how.For this reason, in vehicle-mounted micro-computer controller, add the fault self-diagnosis module, performance in the car running process and fault parameter have been stored, even can analyze and judge the technology status of automobile automatically, and can on Auto analyzer, show, be convenient to the quick fault location of maintenance personal.
Auto analyzer is matching used with the vehicle failure self-diagnosable system, and the terminal equipment that it is equivalent to the vehicle failure self-diagnosable system in essence plays the effect of man-machine interaction.Auto analyzer generally is specialized apparatus or personal handheld computer etc., when needs are diagnosed automobile, the wire harness that diagnostic equipment is drawn is inserted into the vehicle diagnosis interface socket, by the line data exchange of going forward side by side that links to each other of the vehicle-mounted micro-computer controller of CAN bus and each, the data that slave controller obtains are analyzed, then analysis result is presented on the screen, allows the maintenance personal know the problem place, thereby realize automobile is diagnosed.
Along with the development of computer programming, it is more and more easier that applied software development becomes, and the Auto analyzer exploitation is also transferred on the personal handheld computer gradually.Diagnostic equipment exploitation has become easily, but still the same to the operating position of diagnostic equipment, will join a long wire harness between diagnostic equipment and vehicle diagnosis seat, to certain not convenient of operation automobile generation in the diagnostic procedure
Summary of the invention
The objective of the invention is to overcome the use shortcoming that existing Auto analyzer must be connected with the vehicle diagnosis interface socket by wire harness, a kind of intelligent network bridge that can make realization wireless data transmission between CAN bus and the Auto analyzer is provided.
The present invention is achieved through the following technical solutions above-mentioned purpose:
A kind of CAN bus-bluetooth intelligent network bridge is characterized in that: comprise main control unit, power subsystem, bluetooth module and CAN bus interface; Power subsystem is connected with main control unit, bluetooth module and CAN bus interface respectively and its required separately supply voltage is provided; Main control unit is connected with bluetooth module and CAN bus interface respectively, and can transmit data each other.
When using above-mentioned bridge, the CAN bus interface is linked to each other with the vehicle diagnosis interface, carry out wireless connections between bluetooth module and the Auto analyzer; Main control unit is monitored bluetooth module and CAN bus interface constantly, in case bluetooth module is received a complete Frame from Auto analyzer, main control unit just is forwarded to this Frame on the CAN bus by the CAN bus interface; In like manner, in case the CAN bus interface is received a complete Frame, main control unit just sends this Frame by bluetooth module, so that allow diagnostic equipment receive, has so just realized the wireless connections of Auto analyzer and automobile CAN-bus.
The CAN bus has an international standard, wants the conformance with standard standard in the data of CAN bus transfer, so that discern mutually and use.This standard code, each Frame is made up of the data of frame head and maximum 8 bytes, and wherein frame head is to be used for indicating the entrained data implication of this frame, and each car load factory all can plan frame head and the data of carrying in the time of design car load network system.Because the CAN bus stipulated the data that each frame can carry and mostly has been 8 bytes most, when the data of needs transmission surpass 8 bytes, must carry out the burst transmission to these big data, frame headed by the burst of first transmission, and then Chuan Shu burst is a subsequent frame; And for controlling the Flow Control frame that the burst transmission speed is set up.
Carry in the frame on the CAN bus shown in the table 1 composed as follows of data, high 4 positions of first byte are the frame type identification burst in the data, and the Frame on the CAN bus is divided into single frames, first frame, subsequent frame, Flow Control frame; And the type decided of frame the length of this frame, as the length of single frames low 4 bit-identifies by this frame first byte, the length of first frame is 8, and the length of middle subsequent frame also is to be 8, the length of last subsequent frame is that big data length adds one again to 7 complementations, and the length of Flow Control frame is 3.The data length that transmits on the CAN bus just can be decided like this, and whether main control unit just can receive a complete Frame according to data length is clear and definite, thereby whether decision transmits data.
Figure BSA00000181151900021
Table 1
In the technique scheme, main control unit can use microprocessor common on the market, for example: PIC18F2480; Bluetooth module can adopt existing Bluetooth adapter on the market, for example bluetooth serial ports adapter BTM0202C2P; The CAN bus interface can be used CAN bus interface chip for driving common on the market, and for example MCP2551 can also connect filter circuit in addition on CAN bus interface chip for driving, the interference free performance during with the raising transfer of data.
By CAN bus-bluetooth intelligent network bridge of the present invention, can make between the CAN network of automotive interior and the Auto analyzer and realize wireless data transmission by blueteeth network, thereby enlarged the service range of Auto analyzer, the operation ease when having improved the auto repair diagnosis.
Description of drawings
Fig. 1 is a system configuration schematic diagram of the present invention;
Fig. 2 is the CAN bus interface circuit figure of the specific embodiment of the invention;
Fig. 3 is the bluetooth module interface circuit figure of the specific embodiment of the invention;
Fig. 4 is the power unit circuit figure of the specific embodiment of the invention;
Fig. 5 is the software flow pattern of main control unit in the specific embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is elaborated:
As shown in Figure 1, a kind of CAN bus-bluetooth intelligent network bridge is characterized in that: comprise main control unit, power subsystem, bluetooth module and CAN bus interface; Power subsystem is connected with main control unit, bluetooth module and CAN bus interface respectively and its required separately supply voltage is provided; Main control unit is connected with bluetooth module and CAN bus interface respectively, and can transmit data each other.
In this embodiment, main control unit uses the microprocessor of model as PIC18F2480, this microprocessor possesses CAN controller and serial port module, wherein the reception pin of CAN controller is connected with the RxD end of CAN bus interface chip for driving U0, send pin and be connected with the TxD end of CAN bus interface chip for driving U0, the CAN controller just can be handled the data of receiving on the CAN bus like this; And serial port module is general serial line interface communication module, cooperates with bluetooth module, just data can be sent from bluetooth, also the Data Receiving on the bluetooth can be got off.
In this embodiment, the CAN bus interface as shown in Figure 2, is that CAN bus interface chip for driving U0, filter LF and the filter capacitor of MCP2551 formed by model; Chip for driving U0 changes the TxD level signal that main control unit sends into meet the CAN bus request differential signal, and sends to the CAN bus get on CANH and CANL; With the data on the CAN bus from CANH with CANL receives into and send to main control unit from the RxD port.
In this embodiment, what bluetooth module used is the bluetooth serial ports adapter, and as shown in Figure 3, model is BTM0202C2P.The bluetooth serial ports adapter is the specialized vendor for the module that general electronic technology personnel use bluetooth to develop, and can be incorporated in various device, the instrument, supports the up-to-date standard of bluetooth, and can be automatically and other bluetooth equipment connect.It with main control unit between be connected by serial ports, be responsible for becoming Bluetooth protocol to send the bluetooth equipment that is given to the other side, and will convert serial data to from the bluetooth data packets of the other side's bluetooth equipment reception and send to main control unit from the data transaction that serial ports receives.After the bluetooth serial ports adapter powered up startup, the bluetooth equipment of diagnostic equipment can search this bluetooth serial ports adapter, and found the service that it provides, by this service row communication of going forward side by side that can connect with it.For the communication of main control unit, can be as this module of use of using Serial Port Line.
In this embodiment, power subsystem comprises diode D1, filter capacitor E1, filter capacitor C1, filter capacitor E2, filter capacitor C2, pressurizer U1 as shown in Figure 4.Wherein diode D1 plays a part to prevent that the power supply reversal connection from burning circuit; Filter capacitor can carry out filtering to the low-and high-frequency signal on the circuit, to increase the stability of circuit; Pressurizer U1 can produce stable satisfactory supply voltage from the input power supply, uses for main control unit, bluetooth module, CAN Bus Interface Unit.
In this embodiment, main control unit is realized the control of whole bridge by software programming, control flow as shown in Figure 5, main control unit behind the power-up initializing just at the blue-teeth data of monitoring on CAN bus and the serial ports always, because the data length of every kind of frame type correspondence confirms whether microprocessor can clearly receive a complete Frame.After a complete Frame on the CAN bus received, microprocessor just sent to bluetooth module to them by serial ports, sends to diagnostic equipment by bluetooth module again; Bluetooth module sends to microprocessor to the diagnostic equipment data of receiving by serial ports, and microprocessor is just forwarded by the CAN bus after receiving a complete Frame.So just can finish the conversion of data between automobile CAN-bus and bluetooth.
CAN bus-bluetooth intelligent network bridge of the present invention is mainly used in the wireless data transmission between Auto analyzer and the vehicle diagnosis interface, but also can be used for the transfer of data between other CAN bus and the bluetooth equipment.
Above-mentioned only is example of the present invention, and this example only is used for helping to understand the present invention.Should be appreciated that simultaneously embodiments of the present invention are not limited in this,, all should be included in protection scope of the present invention the various variation instance that the present invention did.

Claims (3)

1. a CAN bus-bluetooth intelligent network bridge is characterized in that: comprise main control unit, power subsystem, bluetooth module and CAN bus interface; Power subsystem is connected with main control unit, bluetooth module and CAN bus interface respectively and its required separately supply voltage is provided; Main control unit is connected with bluetooth module and CAN bus interface respectively, and can transmit data each other.
2. CAN bus-bluetooth intelligent network bridge according to claim 1, it is characterized in that: described CAN bus interface is made of chip for driving and filter circuit.
3. CAN bus-bluetooth intelligent network bridge according to claim 1, it is characterized in that: described bluetooth module is the bluetooth serial ports adapter, its with main control unit between be connected by serial ports.
CN2010102113453A 2010-06-25 2010-06-25 CAN bus-bluetooth intelligent network bridge Pending CN101888335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102113453A CN101888335A (en) 2010-06-25 2010-06-25 CAN bus-bluetooth intelligent network bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102113453A CN101888335A (en) 2010-06-25 2010-06-25 CAN bus-bluetooth intelligent network bridge

Publications (1)

Publication Number Publication Date
CN101888335A true CN101888335A (en) 2010-11-17

Family

ID=43074063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102113453A Pending CN101888335A (en) 2010-06-25 2010-06-25 CAN bus-bluetooth intelligent network bridge

Country Status (1)

Country Link
CN (1) CN101888335A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810131A (en) * 2014-02-24 2014-05-21 重庆邮电大学 Bluetooth and CAN data conversion device and method for vehicle-mounted system
CN103955211A (en) * 2014-05-13 2014-07-30 北京交通大学 Automobile fault diagnosis system based on Bluetooth technology
CN107426071A (en) * 2017-03-14 2017-12-01 华东师范大学 With reference to mobile phone and the bus coprocessor information transfer system of body of a motor car bus
CN112055346A (en) * 2020-09-10 2020-12-08 欣格瑞电气(上海)有限公司 Data transmission method and Bluetooth repeater

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2896810Y (en) * 2006-04-17 2007-05-02 上海三浪立杰通信科技有限公司 Intelligent vehicle-carried terminal based on CAN bus
CN101051079A (en) * 2007-04-29 2007-10-10 金纯� Blue tooth underground radio positioning system
CN101109954A (en) * 2007-06-01 2008-01-23 清华大学 Fuel cell vehicle controller monitoring system based on blue tooth communication
CN201035138Y (en) * 2007-04-29 2008-03-12 金纯� Bluetooth down-hole radio locating base station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2896810Y (en) * 2006-04-17 2007-05-02 上海三浪立杰通信科技有限公司 Intelligent vehicle-carried terminal based on CAN bus
CN101051079A (en) * 2007-04-29 2007-10-10 金纯� Blue tooth underground radio positioning system
CN201035138Y (en) * 2007-04-29 2008-03-12 金纯� Bluetooth down-hole radio locating base station
CN101109954A (en) * 2007-06-01 2008-01-23 清华大学 Fuel cell vehicle controller monitoring system based on blue tooth communication

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810131A (en) * 2014-02-24 2014-05-21 重庆邮电大学 Bluetooth and CAN data conversion device and method for vehicle-mounted system
CN103810131B (en) * 2014-02-24 2017-09-19 重庆邮电大学 The data conversion device and method of a kind of onboard system bluetooth and CAN
CN103955211A (en) * 2014-05-13 2014-07-30 北京交通大学 Automobile fault diagnosis system based on Bluetooth technology
CN107426071A (en) * 2017-03-14 2017-12-01 华东师范大学 With reference to mobile phone and the bus coprocessor information transfer system of body of a motor car bus
CN112055346A (en) * 2020-09-10 2020-12-08 欣格瑞电气(上海)有限公司 Data transmission method and Bluetooth repeater
CN112055346B (en) * 2020-09-10 2023-03-10 欣格瑞电气(上海)有限公司 Data transmission method and Bluetooth repeater

Similar Documents

Publication Publication Date Title
CN202974664U (en) Fault diagnostic apparatus for vehicle diesel engine
CN201114146Y (en) Tandem type mixing power automobile control system
CN108303964A (en) A kind of network connector and Vehicular diagnostic method
CN209570850U (en) A kind of vehicle remote fault diagnosis system
CN102393731A (en) On-board monitoring and diagnosis device based on OBD-II (On-Board Diagnostics-II)
Khorsravinia et al. Integrated OBD-II and mobile application for electric vehicle (EV) monitoring system
CN102780713A (en) Vehicle diagnostic system and vehicle diagnostic method
WO2022184069A1 (en) Automobile bus fault analysis method, diagnosis device, and bus fault analysis system
CN203965938U (en) Vehicle-mounted diagnosis device and onboard diagnostic system
CN101888335A (en) CAN bus-bluetooth intelligent network bridge
CN111130967A (en) Automobile diagnosis network topological structure
CN202923540U (en) Power carrier communication system for automobile
CN110562275B (en) Multichannel dual-redundancy rail transit vehicle reconnection system and method
CN106990772A (en) OBD diagnostic devices and Vehicular diagnostic method
CN112763229A (en) Bluetooth-based vehicle data monitoring method and device and vehicle
CN210793064U (en) Central gateway controller and automobile
CN201699700U (en) CAN bus-Bluetooth intelligent network bridge
CN202995390U (en) Communication circuit used in electric vehicle based on CAN bus
CN208255711U (en) Hand-held type automobile diagnostic equipment
CN208351322U (en) Hand-held type automobile diagnostic equipment
CN216956764U (en) Pin switching circuit and fault diagnosis device of OBD interface
CN208255712U (en) Hand-held type automobile diagnostic equipment based on CAN-BUS bus communication protocol
JP4441556B2 (en) Control method for vehicle power generation system
CN208968830U (en) A kind of host computer and automotive diagnostic system
CN216486128U (en) Diagnostic device with DOIP transceiving function

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: 20101117