CN102708602A - Driving recording instrument - Google Patents
Driving recording instrument Download PDFInfo
- Publication number
- CN102708602A CN102708602A CN2012101587061A CN201210158706A CN102708602A CN 102708602 A CN102708602 A CN 102708602A CN 2012101587061 A CN2012101587061 A CN 2012101587061A CN 201210158706 A CN201210158706 A CN 201210158706A CN 102708602 A CN102708602 A CN 102708602A
- Authority
- CN
- China
- Prior art keywords
- module
- signal input
- processing module
- drive recorder
- driving
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 17
- 230000011664 signaling Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 230000009977 dual effect Effects 0.000 claims description 2
- 238000000034 method Methods 0.000 description 9
- 238000013461 design Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 2
- 239000004575 stone Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
Images
Landscapes
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
The invention provides a driving recording instrument which can be used for recording data in real time, has high storage speed, small volume and good vibration resistance and can adapt to all types of vehicles and use environments. The driving recording instrument comprises a signal input module, a micro controlling and processing module, an SD card storage module and a display module; the signal input module is connected with the analog or digital signal interface or CAN (controller area network) bus interface of the whole vehicle; the signal input module, the SD card storage module and the display module are all connected with the micro controlling and processing module; and the micro controlling and processing module comprises a micro processor which can generate codes automatically according to the types of CAN signals and writing the codes into the SD card storage module. The driving recording instrument can adapt to different types of CAN signals of different vehicles and can be used for recording analog or digital signals from bench test, thereby facilitating the driving data recording work greatly. The storage medium adopting the SD card can resist the vibration during the driving of the vehicles effectively and has high storage speed and small volume.
Description
Technical field
The present invention relates to automobile technical field, be specifically related to a kind of drive recorder.
Background technology
At the auto parts and components development field, this paper is developed as example with automatic gear-box, and the construction cycle is longer, and security is very high, and real-time data acquisition is a necessary fully job.For example in the design process of wheel box, the time regular meeting wherein parts are carried out (durable or circulation) experiment, and experimental data be after the assurance of Product Renewal; In addition in usual life, in the driver need be to automobilism, during some signal demand keeping records, therefore need relate to a kind of drive recorder.And such drive recorder, needing its performance is that the record data real-time is good, storage speed is fast; Volume is little, is easy to carry about with one, and can effectively resists the vibrations in the vehicle ' process.In the practical application, the CAN messaging list content of various vehicles is mostly different, and for drive recorder, the renewal of code and maintenance workload are very big.Therefore drive recorder also need be optimized its ability that adapts to all kinds vehicle.
Summary of the invention
It is good to the objective of the invention is to propose a kind of record data real-time, and storage speed is fast, and volume is little, and anti-seismic performance is good and the drive recorder of adaptation all kinds vehicle and environment for use.
The drive recorder that proposes according to the present invention; Key is to comprise signal input module, microcontroller processing module, SD card memory module and display module; Said signal input module is connected with the analog or digital signaling interface or the CAN EBI of car load; Said signal input module, SD card memory module and display module all are connected with the microcontroller processing module; Said microcontroller processing module comprises and can write microprocessor according to the automatic generating code of CAN signal type and through Bootloader, thus the automatic renewal of realization code.
Drive recorder of the present invention; Can and write the microprocessor of SD card memory module according to the automatic generating code of CAN signal type through adopting; Can the real time record running information, and can adapt to the different CAN signal type of various different vehicle, even can carry out record to the analog or digital signal when the platform experiment; And be kept in the SD card, greatly facilitate the work of driving data recording; Adopt the storage medium of SD card can effectively resist the vibrations in the vehicle ' process, and storage speed is fast, volume is little.
Said microcontroller processing module is a dual core processor, so just can receive data by a stone grafting, and another nuclear storage data have improved efficient, reduce loss of data.
The output type of said [script] processing module is the flash file.According to the mechanism of automatic generating code of the present invention, the structure of the various CAN message of customized adopted car load CAN bus, the for example length of signal; Reference position, signal type, and nodal information or the like; Change the mechanism and the size of the variable in the C file, at last according to algorithm, the minimum length when calculating each circular file record; Signal number, or the like; Write into the C file to these message then, generate new C file.Through compiling, link finally generates the flash file again.This whole process does not need the process engineer to remove manually to change the C code, as long as the script that the code among operation the design generates automatically is just passable; Whole process has guaranteed identical algorithm; Have only input different, thus work efficiency improved greatly, and improved the reliability of software.
Said SD card memory module is taked the SPI mode of operation.
Said SD card memory module file adopts the form of standard MDF3.0 to write.
Said signal input module realizes the conversion of AD and CAN bus through MCU.
Said display module adopts digital screen, reduces cost.
Description of drawings
Fig. 1 is a module frame chart of the present invention.
Fig. 2 is a main program flow chart of the present invention.
Fig. 3 is the automatic generation script flow chart of code of the present invention.
Embodiment
Contrast accompanying drawing below; Through the description to embodiment, the effect of mutual alignment between the shape of specific embodiments of the invention such as related each member, structure, the each several part and annexation, each several part and principle of work etc. are done further to specify.
Drive recorder of the present invention; Comprise signal input module, microcontroller processing module, SD card memory module and display module; Said signal input module is connected with the analog or digital signaling interface or the CAN EBI of car load; Said signal input module, SD card memory module and display module (man-machine display) all are connected with microcontroller processing module (MCU), and said microcontroller processing module comprises and can and write the microprocessor of SD card memory module according to the automatic generating code of CAN signal type.
Wherein, signal input module can connect analog signal interface, digital signal interface or CAN EBI.For example be connected to registering instrument the diagnostics port of car load, thereby realized from the car load power taking and obtain the approach of CAN message.
Microcontroller processing module of the present invention (MCU) adopts Freescale 16 bit processors of MC9S12XD256, and this processor has main nuclear part (S12) and coprocessor (Xgate) part to form.In design, system uses main nuclear to handle master routine, comprises some initialization, the operation of code, and except CAN interrupts, the initialization of SD and file logging or the like.In Xgate, mainly be that operation CAN receives interrupt routine in the design.Can reach a stone grafting like this and receive data, another nuclear storage data have improved efficient, reduce loss of data.
Display module (man-machine display) adopts simple digital screen to get final product, to save cost.
Fig. 2 is a main program flow chart of the present invention.The as can be seen from the figure flow process of whole design.The MCU electrification reset gets into application program, the card of its peripheral interface equipment of initialization, and initialization SD then.Initialization SD card is a very important job, and what the design taked is the SPI mode of operation of SD card.After initially changing into merit; At first travel through whole SD card---in design, be to let filename filename is set, like FILE1.DAT by the mode that sequence number increases progressively; FILE2.DAT ... So when the filename that is provided with can not be opened, explain that this document does not exist, at this moment can create this file.When creating the file success, write data in the file this moment in the past.In the present invention, be to write according to the form of standard MDF3.0, so before record data, need write a file header according to this form earlier, comprise formal definition in the file header to whole file.When appropriate finish writing file header after, just write data in the file in the past.In the present embodiment, be the data that from processor Xgate, read on the CAN bus, in master routine, these data write file.When the user stops record data, (shut storage switch), this is the stop current file, and the updating file size.
Like Fig. 3, the operation logic of automatic generating code mechanism of the present invention is: according to the car load DB File file (or homemade DB File) that imports---in this document, defined on the car load CAN bus structure of various CAN message; The length of signal for example, reference position, signal type; And nodal information or the like, the mechanism and the size of the variable in the change C file are at last according to algorithm; Minimum length when calculating each circular file record, signal number, or the like; Write into the C file to these message then, generate new C file.Through compiling, link finally generates the flash file again.This whole process does not need the process engineer to remove manually to change the C code, as long as the script that the code among operation the design generates automatically is just passable; Whole process has guaranteed identical algorithm; Have only input different, thus work efficiency improved greatly, and improved the reliability of software.
Claims (7)
1. drive recorder; It is characterized in that comprising signal input module, microcontroller processing module, SD card memory module and display module; Said signal input module is connected with the analog or digital signaling interface or the CAN EBI of car load; Said signal input module, SD card memory module and display module all are connected with the microcontroller processing module, and said microcontroller processing module comprises and can and write the microprocessor of SD card memory module according to the automatic generating code of CAN signal type.
2. drive recorder according to claim 1 is characterized in that said microcontroller processing module is a dual core processor.
3. drive recorder according to claim 1, the code update type that it is characterized in that said microcontroller processing module is for realizing the C code update based on script, the automatic renewal of generation of flash file and bootloader.
4. according to claim 1 or 2 or 3 described drive recorders, it is characterized in that said SD card memory module takes the SPI mode of operation.
5. drive recorder according to claim 4 is characterized in that said SD card memory module file adopts the form of standard MDF3.0 to write.
6. drive recorder according to claim 5 is characterized in that said signal input module realizes the conversion of AD to CAN through MCU.
7. drive recorder according to claim 6 is characterized in that said display module adopts digital screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101587061A CN102708602A (en) | 2012-05-22 | 2012-05-22 | Driving recording instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101587061A CN102708602A (en) | 2012-05-22 | 2012-05-22 | Driving recording instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102708602A true CN102708602A (en) | 2012-10-03 |
Family
ID=46901318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101587061A Pending CN102708602A (en) | 2012-05-22 | 2012-05-22 | Driving recording instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102708602A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664426A (en) * | 2018-05-24 | 2018-10-16 | 广东好帮手环球科技有限公司 | A kind of multifunction bus data capture recorder |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010050543A1 (en) * | 1998-06-10 | 2001-12-13 | Reinhold Zeilinger | Control device in a system and method for monitoring a controller |
CN1417980A (en) * | 2002-11-07 | 2003-05-14 | 吕京建 | Intelligent gateway device for vehicle controller LAN |
CN1606286A (en) * | 2004-11-05 | 2005-04-13 | 清华大学 | An entire fuel battery car controller monitoring system based on CAN bus |
CN101055648A (en) * | 2006-04-10 | 2007-10-17 | 宜兴市新屹仪器有限公司 | Vehicular real time intelligent failure monitoring device and method |
CN101566853A (en) * | 2009-05-12 | 2009-10-28 | 奇瑞汽车股份有限公司 | Vehicle driving data recording method and device |
CN101718972A (en) * | 2009-11-24 | 2010-06-02 | 上海汽车集团股份有限公司 | Multifunctional vehicle-borne control system |
-
2012
- 2012-05-22 CN CN2012101587061A patent/CN102708602A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010050543A1 (en) * | 1998-06-10 | 2001-12-13 | Reinhold Zeilinger | Control device in a system and method for monitoring a controller |
CN1417980A (en) * | 2002-11-07 | 2003-05-14 | 吕京建 | Intelligent gateway device for vehicle controller LAN |
CN1606286A (en) * | 2004-11-05 | 2005-04-13 | 清华大学 | An entire fuel battery car controller monitoring system based on CAN bus |
CN101055648A (en) * | 2006-04-10 | 2007-10-17 | 宜兴市新屹仪器有限公司 | Vehicular real time intelligent failure monitoring device and method |
CN101566853A (en) * | 2009-05-12 | 2009-10-28 | 奇瑞汽车股份有限公司 | Vehicle driving data recording method and device |
CN101718972A (en) * | 2009-11-24 | 2010-06-02 | 上海汽车集团股份有限公司 | Multifunctional vehicle-borne control system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664426A (en) * | 2018-05-24 | 2018-10-16 | 广东好帮手环球科技有限公司 | A kind of multifunction bus data capture recorder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111488165B (en) | Method and system for upgrading vehicle ECU through script | |
JP5138760B2 (en) | Information recording device | |
JP2014203314A (en) | ECU simulation device | |
CN103197666A (en) | General-type handheld automobile fault diagnostic instrument | |
US20120101791A1 (en) | Controlling simulation systems | |
WO2016082649A1 (en) | Method and device for automatically processing static test data of rail transit vehicle | |
CN101344870A (en) | FIFO control module with strong reusability and method for managing internal memory | |
CN103106705A (en) | Driving recorder and driving recording method thereof | |
CN102096729B (en) | Automotive electronics oriented virtual functional bus designer | |
US8140314B2 (en) | Optimal bus operation performance in a logic simulation environment | |
CN101936815A (en) | Computer type vehicle fault diagnostic system and method | |
CN109507991B (en) | Double-shaft servo control platform debugging system and method | |
CN102110162A (en) | Method and device for realizing monitoring on SQL (structured query language) database | |
CN101704353B (en) | Vehicle-mounted multifunctional device and method for making embedded operating system thereof | |
CN102705085B (en) | A kind of accelerator control device and engineering machinery | |
CN104126159B (en) | Portable power supplies management to audio accelerator | |
CN102708602A (en) | Driving recording instrument | |
WO2024113799A1 (en) | Nvme disk array data processing method, apparatus and device, and storage medium | |
KR101690280B1 (en) | Running performance test server, test system having the same, testing method using the same | |
CN103345400A (en) | Method and device for processing data | |
CN104679963A (en) | Simulation and verification device and simulation and verification method based on TCL | |
CN202003221U (en) | Vehicle-mounted central controller | |
CN110968404A (en) | Equipment data processing method and device | |
CN104834613B (en) | To access the computer system of virtual machine and method | |
Bondé et al. | Traceability and interoperability at different levels of abstraction in model-driven engineering |
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: 20121003 |