CN2768334Y - Tyre pressure monitoring system based on can bus - Google Patents

Tyre pressure monitoring system based on can bus Download PDF

Info

Publication number
CN2768334Y
CN2768334Y CN 200420114975 CN200420114975U CN2768334Y CN 2768334 Y CN2768334 Y CN 2768334Y CN 200420114975 CN200420114975 CN 200420114975 CN 200420114975 U CN200420114975 U CN 200420114975U CN 2768334 Y CN2768334 Y CN 2768334Y
Authority
CN
China
Prior art keywords
bus
controller
buses
pressure monitoring
tyre pressure
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
CN 200420114975
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.)
Zhejiang Tongfu Sci & Tech Co Ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200420114975 priority Critical patent/CN2768334Y/en
Application granted granted Critical
Publication of CN2768334Y publication Critical patent/CN2768334Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The utility model relates to a tyre pressure monitoring system based on CAN buses, which mainly comprises a CAN bus interface module, a CAN controller and a CAN bus transceiver, wherein the CAN controller is mainly used for bus access priority, unitizing, broadcast message functions and hardware smoothing functions; the CAN bus transceiver is used for providing different transmission performance to buses and providing different reception performance to the CAN controller, wherein the CAN controller is connected with a tyre pressure monitoring ECU module and the CAN controller is connected with the CAN buses through the CAN bus transceiver. The utility model has the advantages that an interface of the tyre pressure monitoring system developed by the utilization of the CAN buses has the characteristics of high communication velocity, high accuracy and high reliability and is easy to realize the connection and the management of complete vehicle control networks; the share of calculating information and running states of sensor signals and each control unit and on-board or off-board fault diagnosis, etc. are provided with base platforms through CAN communication network swap data.

Description

System for monitoring pressure in tyre based on the can bus
Technical field
The utility model relates to tire pressure monitoring device, mainly is a kind of system for monitoring pressure in tyre based on the can bus.
Background technology
System for monitoring pressure in tyre on the present automobile, the subject matter of existence is: the anti-interference and the reliability of data communication are more general, are not easy to the connection and the management of car load Control Network.
The utility model content
The purpose of this utility model is in order to solve above-mentioned deficiency, and a kind of system for monitoring pressure in tyre based on the can bus is provided.
The utility model is finished above-mentioned purpose by the following technical programs.This system for monitoring pressure in tyre based on the can bus, mainly comprise the CAN bus interface module, the CAN bus interface module mainly comprises: the CAN controller: have many main structures, be mainly used in the bus access priority, in groups with broadcasting packet function and hardware filtering function; CAN bus transceiver: be the interface between CAN protocol controller and the physical bus, be used to bus that different transmission performances is provided, for the CAN controller provides different receptivities; Wherein the CAN controller is connected with monitoring tire pressure ECU module, and the CAN controller is connected with the CAN bus by the CAN bus transceiver.
The beneficial effects of the utility model are: utilize the interface of the system for monitoring pressure in tyre of CAN bus development to have traffic rate height, accurate, high reliability features, be easy to the connection and the management of car load Control Network, by CAN communication network swap data, for the computing information of sensor signal, each control unit and running status share and with car or from platforms that provides the foundation such as car failure diagnosises, simultaneously can be to system for monitoring pressure in tyre real-time monitoring system based on this communication network.
Description of drawings:
Fig. 1 is CAN communication network node catenation principle figure of the present utility model;
Fig. 2 is a main program flow chart of the present utility model:
Fig. 3 is interface circuit figure of the present utility model;
Fig. 4 is an interface peripherals circuit diagram of the present utility model;
Embodiment:
The utility model is described in further detail below in conjunction with embodiment and accompanying drawing.As shown in the figure, above two be CAN node hardware interface circuit schematic diagram, wherein CAN+5V is the power supply of CAN bus interface circuit special use, realizes the isolation of CAN bus power source and cpu power, makes the voltage fluctuation of CAN system not influence the normal working voltage of CPU.6N137 is a photoelectricity coupling chip, can realize the electrical isolation between the signal of telecommunication.PCA82C250 is used to provide to the differential transmitting capacity of bus with to the differential receiving ability of CAN controller, fully and the ISO11898 operating such.In movement environment, PCA82C250 has the performance of anti-transition, radio frequency and electromagnetic interference, and inner current-limiting circuit has when short circuit transmitting the function that output stage is protected.
The hardware of system is formed
(1) CAN bus interface module
1. microprocessor
Present pandemic CAN bus device has two big classes: a class is an independent CAN controller, as 82C200, and SJA1000 and Intel 82526/82527 etc.; Another kind of is the microcontroller that has chip CAN, as P8XC582 and 16 8-digit microcontroller 87C196CA/CB etc.It is microprocessor that the intelligent node of native system is selected 8 single chip computer AT 89C52 of ATMEL for use.
2. CAN controller
The CAN controller selects for use SJA1000 as controller.SJA1000 is a high integration CAN controller.Have many main structures, bus access priority, in groups with broadcasting packet function and hardware filtering function.Input clock frequency is the 16MHh clock, exports control able to programme.Constitute by following several parts: interface management logic, transmit buffer, reception buffer, bit stream processor, bit timing logic, transmitting-receiving logic, mismanage logic, controller interface logic etc.
SJA1000 has a lot of new functions: the acceptance and the transmission of normal structure and expansion structure message; The reception FIFO of 64 bytes; Standard and Extended Superframe Format all have list/double reception filter; Can carry out the error counter of read; The false alarm restriction that can weave: the last error code register; Each CAN bus error can produce wrong the interruption; Having the arbitration of losing of losing the arbitration positioning function interrupts; Single-shot mode (when sending out major error or losing arbitration, not retransmitting); Only listen mode (monitoring the CAN bus, no response, inerrancy sign); Support hot plug (noiseless software-driven bit rate monitoring).Therefore, the intelligent node of system all selects for use SJA1000 as the CAN controller.
3. CAN bus transceiver
The CAN bus transceiver selects for use PCA82C250 as bus transceiver.PCA82C250 is the interface between CAN protocol controller and the physical bus.82C250 can provide different transmission performances for bus, for the CAN controller provides different receptivities.And it and " ISO 11898 " standard are compatible fully.The purpose of PCA82C250 is in order to increase communication distance, to improve the moment antijamming capability of system, protection bus, reduction radio frequency interference (RFI) realization thermal protection etc.In order further to improve interference protection measure, between two CAN devices, used the buffer circuit that constitutes by high-speed isolated device 6N137.
The resistance of two 120 Ω in bus two ends obstructs for matching bus, plays considerable effect.Neglect them, the anti-interference of data communication and reliability are reduced greatly, even can't communicate by letter.
Resistance R s between 82C50 the 8th pin and the ground is called slope resistance, and it still is the slope control mode that its value has determined system to be in the high speed operation mode.This pin is directly linked to each other with ground, and system will be in the high speed operation mode, and in this manner, for avoiding radio frequency interference, suggestion uses shielded type cable to make bus; And, bus lower in baud rate more in short-term, the general slope control mode that adopts, the slope that rises and descend depends on the people's resistance, experimental data shows that 15 ~ 200k Ω is the comparatively ideal span of Rs, under this mode, can use parallel lines or twisted-pair feeder to make bus.
The TX1 pin of SJA1000 is unsettled, and the current potential of RX1 pin must maintain about 0.On the 5Vcc, otherwise, the desired level logic of CAN agreement can not be formed.If the system transmissions distance is near, environmental interference is little, can isolate without electric current, can directly (be about 0 to the VREF of 82C250 end like this.5Vcc) link to each other, thereby simplified circuit with the RX1 pin.
In system, the chip selection signal of SJA1000 is generally obtained through decoding by address bus, and determines the address of each register of CAN controller thus.In the practical application, adopt the P2 of single chip computer AT 89C52.7 is chip selection signal.So the address of SJA1000 is: 7F00 ~ 7F32H.
When electrification reset, the electrification reset of AT89C52 needs from low to high level to change and activate, and the 17 pin RST of SJA1000 is activated, need to occur one by high level to low level saltus step, therefore, this must add an inverter.
Design of System Software
The communication software of CAN bus TT﹠C system is divided into 3 parts: CAN initialization, data send and Data Receiving.
1. CAN initialization
It mainly is the messaging parameter that CAN is set.Need initialized register to have: mode register (Peli CAN pattern), time-division register, reception code register, mask register, bus timing register, output control register etc.It should be noted that these registers only can reseting period can write visit to, therefore, before to these initialization of register, must guarantee that system has entered reset mode, and the initialization word of the bus timing register of each CAN controller must be identical in the system.Provide 196 assembler source programs that SJA1000 is operated in the node initializing under the mould PeliCAN formula below.
INITIALIZE: initialization subroutine
LDB AL, #09H; The initialize mode register enters reset mode
STB AL, MODE; Select single filtering mode
LDB AL, #88H; Clock dividers
STB AL, CDR; Select Peli CAN pattern
LDB?AL,#00H
STB AL, ACR0; Initialization receives code register
LDB?AL,#60H
STB?AL,ACR1
LDB?AL,#00H
STB AL, AMR0; Initialization connects mask register
LDB AL, #3FH; Receive only identifier and be 2,3 message
STB?AL,AMR1
LDB?AL,#8FH
STB AL, IER; OIER
LDB AL, #01H; The setting of bus timing register 0,1
STB?AL,BTR0;
LDB AL, #1CH; Under 16MHz crystal oscillator situation
STB AL, BTR1; Baud rate is set to 250
LDB?AL,#OAAH
STB AL, OCR; The o controller register is provided with
LDB AL, #0H; The reception buffer initial address is made as 0
STB?AL,RBSA;
LDB?AL,#01H;
ORB?AL,MODE;
STB AL, MODE; Return mode of operation
RET
2. data send
After each on-the-spot transducer carries out conversion process to the detection signal of tire pressure (digital quantity, analog quantity, switching value), be sent to the transmission buffering area of CAN controller, start the transmission order of CAN controller then, the CAN controller will send data from the trend bus this moment, no longer need the microcontroller of transducer to intervene.If there are a plurality of sensing CAN controllers to send data to bus simultaneously in the system, then the CAN controller is arbitrated by the identifier in the information frame, and the CAN controller of identifier value minimum has the preferential right to bus.
Provide SJA1000 below and be operated in 196 assembler source programs that the node message under the mould PeliCAN formula sends.
TRANSMIT:; Send subprogram
LDB?AL,SR
SRCVE:JBS AL, 4, SRCVE; Just receive?
STRSV:JBC AL, 3, STRSV; Send successfully?
STBF:JBC AL, 2, STBF; The transmit buffer locking is not
WID:LDB?AL,#08H
LD BX, #TXB; Send the first location of buffer memory
STB AL, [BX]+; Transmit the identifier of two bytes
LDB?AL,#ID0
STB?AL,[BX]+
LDB?AL,#ID1
STB?AL,[BX]+
LDB COUT, #08H; 8 byte datas
The first location of transmission data buffer area in the TDATA:LDB AL, [DATA]+CPU
STB?AL,[BX]+;
DJNZ COUT, TDATA; Do 8 bytes distribute not?
LDB?AL,#01H;
STB AL, CMR; Send
RET
3. Data Receiving
CAN controller in the whole tire inflation pressure determining system detects the data on (as the pressure value of setting, the temperature value of setting) meeting automatic reception bus when on the bus data being arranged, deposit it in and receive buffering area, and to 89C52 microcontroller transmission reception interruption, start and interrupt receiving service routine, 89C52 interrupts receiving service routine by carrying out, from the reception buffering area reading of data of CAN controller, and it is further dealt with the work.
Provide SJA1000 below and be operated in the node initializing under the mould PeliCAN formula, 196 assembler source programs that message sends, message receives.
RECEIVE:; Receive interrupt routine
PUSHF; Keep the scene intact
LDB?AL,IR
JBC AL, 0, OTHER; Receive and interrupt not?
LD BX, #RXB; The first location of reception buffer
LDB?AL,[BX]+
JBC AL, 6, RCDATA; The RTR=1 of identifier?
LDB AL, #04H; Be remote frame, discharge the reception buffer area
STB?AL,CMR;
LCALL TRANSMIT; Corresponding remote frame sends corresponding data
SJMP?BACK
RCDATA:
ANDB AL, #0FH; Get low four figures according to length
ADDB?AL,#03H;
STB AL, R1; The byte number that this message contains
LD BX, #RXB; The first address of reception buffer
LD CX, #CRBF; The first location of reception data buffer area in the CPU
RECE:
LDB?AL,[BX]+
STB?AL,[CX]+
INCB?R1
DJNZ R1, RECE; Receive not?
LDB?AL,#04H
STB AL, CMR; Discharge and receive buffer area
BACK;
POPF
RET

Claims (4)

1, a kind of system for monitoring pressure in tyre based on the can bus, mainly comprise the CAN bus interface module, it is characterized in that: the CAN bus interface module mainly comprises: the CAN controller: have many main structures, be mainly used in the bus access priority, in groups with broadcasting packet function and hardware filtering function; CAN bus transceiver: be the interface between CAN protocol controller and the physical bus, be used to bus that different transmission performances is provided, for the CAN controller provides different receptivities; Wherein the CAN controller is connected with monitoring tire pressure ECU module, and the CAN controller is connected with the CAN bus by the CAN bus transceiver.
2, the system for monitoring pressure in tyre based on the can bus according to claim 1, it is characterized in that: the CAN bus transceiver selects for use PCA82C250 as bus transceiver.
3, the system for monitoring pressure in tyre based on the can bus according to claim 1 is characterized in that: adopt the buffer circuit that is made of high-speed isolated device 6N137 between two CAN devices.
4, the system for monitoring pressure in tyre based on the can bus according to claim 1, it is characterized in that: the two ends of CAN bus are provided with the resistance of two 120 Ω, are used for obstructing matching bus.
CN 200420114975 2004-12-29 2004-12-29 Tyre pressure monitoring system based on can bus Expired - Fee Related CN2768334Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200420114975 CN2768334Y (en) 2004-12-29 2004-12-29 Tyre pressure monitoring system based on can bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200420114975 CN2768334Y (en) 2004-12-29 2004-12-29 Tyre pressure monitoring system based on can bus

Publications (1)

Publication Number Publication Date
CN2768334Y true CN2768334Y (en) 2006-03-29

Family

ID=36682202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200420114975 Expired - Fee Related CN2768334Y (en) 2004-12-29 2004-12-29 Tyre pressure monitoring system based on can bus

Country Status (1)

Country Link
CN (1) CN2768334Y (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102749901A (en) * 2012-06-29 2012-10-24 惠州市德赛西威汽车电子有限公司 Intelligent isolation method of bus device
CN102963219A (en) * 2012-10-19 2013-03-13 深圳市元征科技股份有限公司 TPMS apparatus with diagnosis and control method
CN104468341A (en) * 2014-08-27 2015-03-25 浙江中科领航汽车电子有限公司 TPMS gateway receiving system and method
CN106891765A (en) * 2017-03-01 2017-06-27 国网上海市电力公司 A kind of CAN interface for vehicle-mounted mobile charging device
CN111277455A (en) * 2020-01-15 2020-06-12 深圳市元征科技股份有限公司 CAN network baud rate identification method, device, equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102749901A (en) * 2012-06-29 2012-10-24 惠州市德赛西威汽车电子有限公司 Intelligent isolation method of bus device
CN102749901B (en) * 2012-06-29 2014-10-15 惠州市德赛西威汽车电子有限公司 Intelligent isolation method of bus device
CN102963219A (en) * 2012-10-19 2013-03-13 深圳市元征科技股份有限公司 TPMS apparatus with diagnosis and control method
CN102963219B (en) * 2012-10-19 2016-01-20 深圳市元征科技股份有限公司 A kind of TPMS device with diagnosis and control method
CN104468341A (en) * 2014-08-27 2015-03-25 浙江中科领航汽车电子有限公司 TPMS gateway receiving system and method
CN104468341B (en) * 2014-08-27 2017-10-20 浙江中科领航汽车电子有限公司 A kind of TPMS gateways reception system and method for reseptance
CN106891765A (en) * 2017-03-01 2017-06-27 国网上海市电力公司 A kind of CAN interface for vehicle-mounted mobile charging device
CN111277455A (en) * 2020-01-15 2020-06-12 深圳市元征科技股份有限公司 CAN network baud rate identification method, device, equipment and storage medium
CN111277455B (en) * 2020-01-15 2023-05-12 深圳市元征科技股份有限公司 CAN network baud rate identification method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
Ran et al. Design method of CAN BUS network communication structure for electric vehicle
EP1002275B1 (en) A universal serial bus device controller
EP1145100B1 (en) A method for conserving power in a can microcontroller and a can microcontroller that implements this method
CN202167015U (en) Serial interface converting circuit
CN101276488B (en) Vehicular recording instrument capable of implementing intelligent CAN bus communication
WO2003073725A2 (en) Communications bridge between a vehicle information network and a remote system
CN112540951A (en) Special main control chip suitable for electric power system control protection device
CN1881934A (en) Microprocessor, network system, and communication method
JP2003050772A (en) Usb composite device and realization method thereof
CN214202082U (en) Vehicle-mounted network system and automobile
CN101309193A (en) USB-Flexray bus adapter based on micro-processor
CN2768334Y (en) Tyre pressure monitoring system based on can bus
CN1811480A (en) Method and apparatus for real-time monitoring level signal
CN102852842A (en) Chassis fan control system based on FPGA (Field Programmable Gate Array) and control method thereof
CN1528614A (en) MPC500 process type electric car multi-energy power assembly control device
CN1976310A (en) Communication method and system using bus interface over a network
CN208873142U (en) A kind of FPGA development board
CN1190925C (en) Universal serial bus synthesizer and synthesis method
US20080159195A1 (en) Integration of wired and wireless network connections
Saadé et al. A system-level overview and comparison of three High-Speed Serial Links: USB 3.0, PCI Express 2.0 and LLI 1.0
CN104062955A (en) Distributed flight control computer control system based on MPC8280
Quanqi et al. Design of vehicle bus data acquisition and fault diagnosis system
CN107547326A (en) Controller LAN IP kernel based on FPGA
US20030210652A1 (en) Method and device for processing management information
CN102902647B (en) Be arranged on I2C from the asic chip of machine printed circuit board (PCB) and printed circuit board (PCB)

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: ZHEJIANG PROV TONGFU SCIENCE & TECHNOLOGY CO., LT

Free format text: FORMER OWNER: HE CHONGZHONG

Effective date: 20060811

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20060811

Address after: 310030 No. 1, No. 14, Hangzhou economic and Technological Development Zone, Zhejiang

Patentee after: Zhejiang Tongfu Sci. & Tech. Co., Ltd.

Address before: 310004 2-1-401 room, Fu Bei Road, Hangzhou, Zhejiang, Genshan

Patentee before: He Chongzhong

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

Granted publication date: 20060329

Termination date: 20100129