CN103840834A - Universal method and device for transforming TPMS data coding formats - Google Patents

Universal method and device for transforming TPMS data coding formats Download PDF

Info

Publication number
CN103840834A
CN103840834A CN201410081130.2A CN201410081130A CN103840834A CN 103840834 A CN103840834 A CN 103840834A CN 201410081130 A CN201410081130 A CN 201410081130A CN 103840834 A CN103840834 A CN 103840834A
Authority
CN
China
Prior art keywords
data
tpms
tpms data
format
coded
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.)
Granted
Application number
CN201410081130.2A
Other languages
Chinese (zh)
Other versions
CN103840834B (en
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.)
Autel Intelligent Technology Corp Ltd
Original Assignee
Autel Intelligent Technology Corp 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 Autel Intelligent Technology Corp Ltd filed Critical Autel Intelligent Technology Corp Ltd
Priority to CN201410081130.2A priority Critical patent/CN103840834B/en
Priority to CN201710528572.0A priority patent/CN107302361B/en
Publication of CN103840834A publication Critical patent/CN103840834A/en
Application granted granted Critical
Publication of CN103840834B publication Critical patent/CN103840834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M5/00Conversion of the form of the representation of individual digits
    • H03M5/02Conversion to or from representation by pulses
    • H03M5/04Conversion to or from representation by pulses the pulses having two levels
    • H03M5/06Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention belongs to the technical field of automobiles, and provides a universal method and device for transforming TPMS data coding formats. The method comprises the following steps of collecting TPMS data, transforming the collected TPMS data into preset standard coding formats, and sending the TPMS data. The universal method and device for transforming the TPMS data coding formats can support the multiple data coding formats.

Description

General TPMS data encoding formaies conversion method and device
Technical field
The invention belongs to automobile technical field, more particularly to a kind of general TPMS data encoding formaies conversion method and device.
Background technology
Automotive tire pressure real-time monitoring system(Tire Pressure Monitoring System, TPMS)It is mainly used in real time monitoring tire pressure automatically in running car, is that motorist, the life security of rider ensure early warning system with guarantee driving safety to having a flat tire and low pressure is alarmed.There is hundreds of TPMS agreement on current world market, these agreements cover thousands of kinds of vehicles of not the same year money, and the coded system that different types of agreement is used is often different.And such as Manchester's code of a variety of coded systems may also be included inside the data frame of same type agreement simultaneously(Hereinafter referred to as graceful code), anti-graceful code, the graceful code of difference, not coded format(NRZ)Deng, the structures such as specific frame head, frame data, postamble are typically all contained per frame data, and they typically use different coded systems, in some instances it may even be possible to there is the specific coding mode such as PWM that chip is not supported in itself.Obviously the demand of application can not be fully met using single coded system.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of general TPMS data encoding formaies conversion method and device, it is intended to solve the problem of existing TPMS can not support a variety of data encoding formaies.
The embodiment of the present invention is achieved in that a kind of general TPMS data encoding format conversion methods, and methods described comprises the following steps:
Gather TPMS data;
The TPMS data of the collection are converted into default standard coding format, and sent.
Further, the normal data coded format is nrz encoding form.
Further, it is described the TPMS data of collection are converted into default normal data coded format to include:
According to the corresponding relation between TPMS data encodings position and normal data bits of coded, TPMS data are changed by turn from a high position to low level or from low to high.
Further, it is described the TPMS data of collection are converted into default normal data coded format also to include:
Take the data bit of baud rate maximum in a frame TPMS data as basic transcoding units, the data bit width for making other data bit is the integral multiple of the basic transcoding units.
Further, the coded format that the TPMS data of collection are converted into default normal data also includes:
Buffer size according to data are sent is stored in conversion, and directly transmitting data register is operated.
The present invention also provides a kind of general TPMS data encoding format conversion equipments, and described device includes:
Acquisition module, for gathering TPMS data;
Modular converter, for the TPMS data of the collection to be converted into default standard coding format, and sends.
Further, the normal data coded format is nrz encoding form.
Further, the modular converter includes:
Corresponding unit, for according to the corresponding relation between TPMS data encodings position and normal data bits of coded, TPMS data to be changed by turn from a high position to low level or from low to high.
Further, the modular converter also includes:
The wide unit of fetch bit, for taking in a frame TPMS data, the maximum data bit of baud rate is as basic transcoding units, and the data bit width for making other data bit is the integral multiple of the basic transcoding units.
Further, the modular converter also includes
Memory cell, for being stored according to the buffer size for sending data in conversion, is directly operated to transmitting data register.
The embodiments of the invention provide a kind of general transcoding implementation method that can be cross-platform, using standard coding format such as nrz encoding form it is fully equivalent substitute original any encoding format data.The general code-transferring method of the embodiment of the present invention is both comprising general transcoding inside certain single class agreement, also the general transcoding of compatible all agreements is included, allow programmer to select the flexible solving practical problems of the combination of any two or multiple transcoding modules as needed, or transcoding is made the form of user's built-in function to save application code space.Compared to existing TPMS, the general code-transferring method portability of the embodiment of the present invention is good, practical, very easily it can be transplanted under different platform, if there is the new coded system to occur, it then easily can add new basic transcoding module on the basis of original as needed and extend transcoding function, the general code-transferring method of the embodiment of the present invention is simple to operate, good reliability, because all coded systems are realized by standard coding formats such as NRZ, therefore this method can realize the coding of arbitrary data frame in TPMS.Further, the general code-transferring method of the embodiment of the present invention can combine the big little endian mode that chip sends buffer data storage, and directly transmitting data register is operated, stored in transcoding, execution efficiency is higher.
Brief description of the drawings
Fig. 1 is the flow chart for the general transcoding implementation method that can be cross-platform that the embodiment of the present invention one is provided;
Fig. 2 is the structure chart that the general transcoding that can be cross-platform that the embodiment of the present invention two is provided realizes device;
Fig. 3 is the structure chart that the general transcoding that can be cross-platform that the embodiment of the present invention two is provided realizes modular converter in device.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with drawings and Examples, the present invention will be described in further detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiment one
The embodiment of the present invention one proposes a kind of general transcoding implementation method that can be cross-platform.As shown in figure 1, the method for the embodiment of the present invention one comprises the following steps:
S1, collection TPMS data.The TPMS of the embodiment of the present invention one can gather TPMS data by tyre pressure sensor.
S2, the TPMS data of collection are converted into default standard coding format, and sent.
The TPMS data of collection in step S1 are completed to the basic processing of group bag and transcoding processing.The embodiment of the present invention one is using nrz encoding form as standard coding format, using other non-such as graceful codes of nrz encoding form/anti-graceful code, difference/contrast demal, PWM codes as illustrating exemplified by non-standard coded format.
The method of the embodiment of the present invention one initially sets up the corresponding relation between the single encoded position of the corresponding relation between standard coding format and other non-standard coded formats, i.e. standard coding format and the single encoded position of non-standard coded format.As a graceful code bit " 1 " corresponds to NRZ " 1 ", " 0 ";And one PWM " 1 " corresponds to NRZ " 1 ", " 1 ", " 0 ".Preferably embodiment is to be used as standard coding format using nrz encoding form, though be other arbitrary coded systems need not need to change baud rate can with nrz encoding form substitute, and nrz encoding form will not lose any information, and fully equivalent replacement other codings, therefore can to substitute other coded systems be to realize the reliable method of general transcoding using nrz encoding form.
, can be with the data bit of some byte during transcoding(bit)For unit, it then follows from a high position to low level or from low level to high-order order, carry out by turn.
In order to obtain more excellent transcoding effect, in order to handle convenient and ensure versatility when being considered as the matching problem, i.e. transcoding of coded system and baud rate, it should take baud rate in a frame data maximum(Level width is most short in sent out data)Data bit be used as a basic transcoding units, it is ensured that the data bit width of other data bit be basic transcoding units integral multiple.
Further, in order to improve operational efficiency during transcoding, the big little endian mode that can combine chip transmission buffer data storage is stored in transcoding, and directly transmitting data register is operated.
The embodiment of the present invention one provide a kind of general transcoding implementation method that can be cross-platform, using standard coding format such as nrz encoding form it is fully equivalent substitute original any encoding format data.Compared to existing TPMS, the general code-transferring method portability of the embodiment of the present invention one is good, practical, very easily it can be transplanted under different platform, if there is the new coded system to occur, it then easily can add new basic transcoding module on the basis of original as needed and extend transcoding function, the general code-transferring method of the embodiment of the present invention one is simple to operate, good reliability, because all coded systems are realized by standard coding formats such as NRZ, therefore this method can realize the coding of arbitrary data frame in TPMS.Further, the general code-transferring method of the embodiment of the present invention can combine the big little endian mode that chip sends buffer data storage, and directly transmitting data register is operated, stored in transcoding, execution efficiency is higher.
Embodiment two
The embodiment of the present invention two provides a kind of TPMS data encoding formaies conversion equipment.As shown in Fig. 2 the device of the embodiment of the present invention two includes acquisition module 10 and modular converter 20, wherein:
Acquisition module 10 is used to gather TPMS data.
Modular converter 20 is used to the TPMS data of collection being converted to default standard coding format, and sends.
As shown in figure 3, modular converter 20 includes:
Corresponding unit 21, for according to the corresponding relation between TPMS data encodings position and normal data bits of coded, TPMS data to be changed by turn from a high position to low level or from low to high.
The wide unit 22 of fetch bit, for taking in a frame TPMS data, the maximum data bit of baud rate is as basic transcoding units, and the data bit width for making other data bit is the integral multiple of the basic transcoding units.
Memory cell 23, for being stored according to the buffer size for sending data in conversion, is directly operated to transmitting data register.
Modular converter 20 completes the TPMS data of collection the basic processing of group bag and transcoding processing.The embodiment of the present invention two is using nrz encoding form as standard coding format, using other non-such as graceful codes of nrz encoding form/anti-graceful code, difference/contrast demal, PWM codes as illustrating exemplified by non-standard coded format.
The embodiment of the present invention two initially sets up the corresponding relation between the single encoded position of the corresponding relation between standard coding format and other non-standard coded formats, i.e. standard coding format and the single encoded position of non-standard coded format.As a graceful code bit " 1 " corresponds to NRZ " 1 ", " 0 ";And one PWM " 1 " corresponds to NRZ " 1 ", " 1 ", " 0 ".Preferably embodiment is to be used as standard coding format using nrz encoding form, though be other arbitrary coded systems need not need to change baud rate can with nrz encoding form substitute, and nrz encoding form will not lose any information, and fully equivalent replacement other codings, therefore can to substitute other coded systems be to realize the reliable method of general transcoding using nrz encoding form.
During transcoding, corresponding unit 21 can be with the data bit of some byte(bit)For unit, it then follows from a high position to low level or from low level to high-order order, carry out by turn.
In order to obtain more excellent transcoding effect, in order to handle convenient and ensure versatility when being considered as the matching problem, i.e. transcoding of coded system and baud rate, the wide unit 22 of fetch bit takes baud rate in a frame data maximum(Level width is most short in sent out data)Data bit be used as a basic transcoding units, it is ensured that the data bit width of other data bit be basic transcoding units integral multiple.
Further, in order to improve operational efficiency during transcoding, the big little endian mode that memory cell 23 can combine chip transmission buffer data storage stores in transcoding, directly transmitting data register is operated.
The embodiment of the present invention two using standard coding format such as nrz encoding form it is fully equivalent substitute original any encoding format data.Compared to existing TPMS, the device portability of the embodiment of the present invention two is good, practical, very easily it can be transplanted under different platform, if there is the new coded system to occur, it then easily can add new basic transcoding module on the basis of original as needed and extend transcoding function, the device of the embodiment of the present invention two is simple to operate, good reliability, because all coded systems are realized by standard coding formats such as NRZ, therefore this method can realize the coding of arbitrary data frame in TPMS.Further, the device of the embodiment of the present invention two can combine the big little endian mode that chip sends buffer data storage, and directly transmitting data register is operated, stored in transcoding, execution efficiency is higher.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, any modification, equivalent and improvement for being made within the spirit and principles of the invention etc. should be included within the scope of the present invention.

Claims (10)

1. a kind of general TPMS data encoding format conversion methods, it is characterised in that methods described comprises the following steps:
Gather TPMS data;
The TPMS data of the collection are converted into default standard coding format, and sent.
2. the method as described in claim 1, it is characterised in that the normal data coded format is nrz encoding form.
3. method as claimed in claim 1 or 2, it is characterised in that described the TPMS data of collection are converted into default normal data coded format to include:
According to the corresponding relation between TPMS data encodings position and normal data bits of coded, TPMS data are changed by turn from a high position to low level or from low to high.
4. method as claimed in claim 3, it is characterised in that described the TPMS data of collection are converted into default normal data coded format also to include:
Take the data bit of baud rate maximum in a frame TPMS data as basic transcoding units, the data bit width for making other data bit is the integral multiple of the basic transcoding units.
5. method as claimed in claim 3, it is characterised in that the coded format that the TPMS data of collection are converted into default normal data also includes:
Buffer size according to data are sent is stored in conversion, and directly transmitting data register is operated.
6. a kind of general TPMS data encoding format conversion equipments, it is characterised in that described device includes:
Acquisition module, for gathering TPMS data;
Modular converter, for the TPMS data of the collection to be converted into default standard coding format, and sends.
7. device as claimed in claim 6, it is characterised in that the normal data coded format is nrz encoding form.
8. device as claimed in claims 6 or 7, it is characterised in that the modular converter includes:
Corresponding unit, for according to the corresponding relation between TPMS data encodings position and normal data bits of coded, TPMS data to be changed by turn from a high position to low level or from low to high.
9. device as claimed in claim 8, it is characterised in that the modular converter also includes:
The wide unit of fetch bit, for taking in a frame TPMS data, the maximum data bit of baud rate is as basic transcoding units, and the data bit width for making other data bit is the integral multiple of the basic transcoding units.
10. device as claimed in claim 9, it is characterised in that the modular converter also includes
Memory cell, for being stored according to the buffer size for sending data in conversion, is directly operated to transmitting data register.
CN201410081130.2A 2014-03-06 2014-03-06 General TPMS data encoding formaies conversion method and device Active CN103840834B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410081130.2A CN103840834B (en) 2014-03-06 2014-03-06 General TPMS data encoding formaies conversion method and device
CN201710528572.0A CN107302361B (en) 2014-03-06 2014-03-06 Universal TPMS data coding format conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410081130.2A CN103840834B (en) 2014-03-06 2014-03-06 General TPMS data encoding formaies conversion method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710528572.0A Division CN107302361B (en) 2014-03-06 2014-03-06 Universal TPMS data coding format conversion method and device

Publications (2)

Publication Number Publication Date
CN103840834A true CN103840834A (en) 2014-06-04
CN103840834B CN103840834B (en) 2017-08-29

Family

ID=50804032

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710528572.0A Active CN107302361B (en) 2014-03-06 2014-03-06 Universal TPMS data coding format conversion method and device
CN201410081130.2A Active CN103840834B (en) 2014-03-06 2014-03-06 General TPMS data encoding formaies conversion method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710528572.0A Active CN107302361B (en) 2014-03-06 2014-03-06 Universal TPMS data coding format conversion method and device

Country Status (1)

Country Link
CN (2) CN107302361B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108215674A (en) * 2016-12-13 2018-06-29 比亚迪股份有限公司 The transmission of tire pressure and processing method and processing device, TPMS
CN112650448A (en) * 2020-12-21 2021-04-13 中国航天科工集团八五一一研究所 FPGA-based large data volume storage file management method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702068B (en) * 2020-12-25 2024-04-02 深圳市元征科技股份有限公司 Method, device, equipment and storage medium for processing coded data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571413A (en) * 2003-07-17 2005-01-26 深圳市中兴通讯股份有限公司 A method and coder for baseband channel NRZ code stream to unipolar code stream conversion
CN101247128A (en) * 2008-03-28 2008-08-20 南京航空航天大学 Pulse-width modulation type optical fiber communication coding/decoding method and circuit with synchronous clock

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6591671B2 (en) * 1999-08-16 2003-07-15 The Goodyear Tire & Rubber Company Monitoring pneumatic tire conditions
CN1553867A (en) * 2001-10-31 2004-12-08 ��������ķ������ Tire pressure monitoring system
JP4887928B2 (en) * 2006-06-21 2012-02-29 株式会社デンソー Receiving device for vehicle communication system
CN201009689Y (en) * 2006-12-21 2008-01-23 沈德才 Monitoring device for vehicle tyre pressure
US7825782B2 (en) * 2007-03-20 2010-11-02 Ford Global Technologies, Llc Device and method for wireless vehicle communication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571413A (en) * 2003-07-17 2005-01-26 深圳市中兴通讯股份有限公司 A method and coder for baseband channel NRZ code stream to unipolar code stream conversion
CN101247128A (en) * 2008-03-28 2008-08-20 南京航空航天大学 Pulse-width modulation type optical fiber communication coding/decoding method and circuit with synchronous clock

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108215674A (en) * 2016-12-13 2018-06-29 比亚迪股份有限公司 The transmission of tire pressure and processing method and processing device, TPMS
CN108215674B (en) * 2016-12-13 2019-09-13 比亚迪股份有限公司 The transmission of tire pressure and processing method and processing device, TPMS
CN112650448A (en) * 2020-12-21 2021-04-13 中国航天科工集团八五一一研究所 FPGA-based large data volume storage file management method
CN112650448B (en) * 2020-12-21 2024-04-05 中国航天科工集团八五一一研究所 FPGA-based large-data-volume storage file management method

Also Published As

Publication number Publication date
CN107302361B (en) 2021-01-05
CN107302361A (en) 2017-10-27
CN103840834B (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN103587357B (en) TPMS (Tire Pressure Monitor System) sensor upgrade method and device
CN108282389A (en) A method of the vehicle-mounted OTA upgradings based on CAN bus load monitoring
CN103840834A (en) Universal method and device for transforming TPMS data coding formats
CN102176158A (en) Method and system for diagnosing vehicle data by using mobile terminal
CN102130930B (en) Remote monitoring terminal for electric automobile
CN104149740A (en) Anti-theft device for electric vehicle
CN103530986B (en) Based on brain wave and the driver fatigue monitor system of Zigbee
CN201604599U (en) Remote control terminal of electric automobile
CN106494253A (en) A kind of battery bag location recognition and the system and method for status information monitoring
SG129335A1 (en) Short-distance wireless transmission system for data transmission among electronic devices on a vehicle
CN105882567A (en) Intelligent central control system of electric car
CN104639242B (en) Road lamp identifies acquisition system and method
CN202565362U (en) Power line inspection handheld device having static image transmission function
CN110602177A (en) Method, device and system for electric bicycle communication
CN202976467U (en) Two-dimensional code scanning device for dealing with traffic violation
CN204360539U (en) Based on the vehicle trouble warning system of internet
CN106250066A (en) A kind of forging rotation aluminium alloy wheel hub Product Data Management system
CN211075416U (en) Vehicle tire pressure monitoring learning system and car
CN201111698Y (en) Wireless transmission electronic braking detecting instrument
CN204595600U (en) A kind of device solving OBD equipment problem of mutual exclusion
CN106650837B (en) Recyclable logistics appliance and assembling method, disassembling method and information acquisition method of sensor of recyclable logistics appliance
CN103312354A (en) Repeater module applied to tire monitoring
CN211296604U (en) Intelligent interconnected direct current motor speed regulator system
CN104476988B (en) Portable tire pressure sensor wireless diagnostic device
CN202711032U (en) Infrared data monitor used for railway vehicle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Xili Street Xueyuan Road No. 1001 Chi Park B1 building 7 layer, 8 layer, 10 layer

Applicant after: SHENZHEN AUTEL TECHNOLOGY CO., LTD.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Xili town tea light road on the south side of Shenzhen integrated circuit design and application of Industrial Park 106, 107, 109, 114

Applicant before: Shenzhen Autel Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant