Vehicle monitor terminal based on the TTCAN bus
Technical field
The utility model relates to a kind of vehicle monitor terminal, relates in particular to a kind of vehicle monitor terminal based on the TTCAN bus.
Background technology
Electric automobile is energy-conservation because having, and the advantage of environmental protection can effectively reduce the discharge capacity of carbon dioxide, day by day is subject to people's approval.Simultaneously, along with rising steadily of oil price, the cost advantage of electric automobile is also day by day obvious, and the application in daily life is also more and more extensive.Electric automobile, than traditional fuel combustion vehicle, owing to adopting motor-driven mode, its requirement to real-time is higher, with the real-time control of realization to the vehicle traction motor, thereby obtains good reliability and stability.That the driver needs is more, more rapidly the operating various information of electric automobile vehicle are monitored, to satisfy electric automobile to fail safe, environmental protection, intelligent requirements.For the vehicle-mounted monitor terminal of electric automobile, the driver need to monitor and can understand the information such as failure condition of each parts of dynamical system in running the ability system of electric automobile whole, so the vehicle-mounted monitor terminal of electric automobile not only needs to keep the function that often has in the orthodox car, but also need to provide the displaying contents such as the car load energy flow of reflection dynamical system each critical piece state relation and fault warning information indicating.Simultaneously, for the ease of the monitor staff electric automobile is carried out remote monitoring, vehicle monitor terminal need to be uploaded car status information in real time by wireless network.
At present, it is monitoring for the power electric power storage of electric automobile that the utility model patent about the vehicle-mounted monitoring of electric automobile of China has some, for example China national Department of Intellectual Property is in the patent No. 200920106216.0 of announcement on December 16th, 2009, name is called the utility model of " a kind of vehicle monitor terminal " can only be for the monitoring state of power accumulator, and can't monitor the vehicle-state of whole electric automobile, and the data of its monitoring can only be stored in this locality, and can not be real-time be uploaded to Surveillance center as the remote service end, be difficult to satisfy the needs of Real Time Monitoring.A class has adopted the vehicle monitor terminal based on the CAN bus in addition, for example China national Department of Intellectual Property is in the application number 200920277587.5 of announcement on September 01st, 2010, name is called the utility model of " a kind of real-time monitor terminal of electric automobile ", this patent adopts the mode collection vehicle power accumulator data of CAN bus, the operational factor of obtaining electric automobile that can be comprehensive and real-time comprises operational factor, motor operational factor, vehicle heading of power accumulator etc.But, based on the CAN bus of event trigger mechanism, can produce the transmission of messages time-delay, can not guarantee the certainty of transmission of messages time-delay, thereby be difficult to satisfy real-time and the reliability requirement that in real time control of a new generation is used, brought huge potential safety hazard.This vehicle monitor terminal is None-identified user of service's identity also, and the use record of recording user has brought obstacle to attendant's analysis and eliminating vehicle trouble.
Vehicle monitor terminal is the very important part of vehicle small distributed network as the supervising device of vehicle bus data acquisition, demonstration, storage, control, forwarding.Vehicle monitor terminal is in real-time and the reliability of vehicle small distributed data transmission in network, with reliability and the fail safe of the whole vehicle of impact.Existing car-mounted terminal technology adopts the communication mode based on the conventional serial of CAN bus and time triggering, is subjected to the restriction of bandwidth and speed, is difficult to satisfy vehicle of new generation and controls in real time application requirements.
The utility model content
The purpose of this utility model is exactly in order to address the above problem, a kind of vehicle monitor terminal based on the TTCAN bus is provided, it has can guarantee that vehicle monitor terminal is in real-time and the reliability of vehicle small distributed data transmission in network, improve total line use ratio, satisfy vehicle of new generation and control in real time application requirements, improve reliability and the fail safe of vehicle, simplify the installation circuit of vehicle monitor terminal, the user of service of identification vehicle, the operation history of record monitoring is monitored motor vehicle alternately by local and remote dual mode.
To achieve these goals, the utility model adopts following technical scheme:
A kind of vehicle monitor terminal, it comprise master control borad, power management module, TTCAN bus control unit, human-computer interaction module, wireless communication module, data memory module, audio frequency video module, identification module and vehicle mounted guidance module.Wherein, described master control borad links to each other with vehicle power by power management module; Described TTCAN bus control unit links to each other with master control borad by spi bus, and master control borad links to each other to node Node n with node Node 1 on the TTCAN bus by the TTCAN bus control unit; Described human-computer interaction module is by system bus, I
2In C bus or the serial communication mode one or more link to each other with master control borad; Described wireless communication module links to each other with master control borad by in system bus or the serial communication mode one or more; Described data memory module links to each other with master control borad by the SDIO interface; Described identification module, vehicle mounted guidance module link to each other with master control borad by serial ports respectively.
Described power management module comprise DC DC transducer and be used for LDO conversion chip to different electric pressure chip power supplies, each LDO chip all with DC the DC transducer interconnected.This power supervisor uses vehicle power (12V or 24V storage battery) as input power.
Described TTCAN bus control unit comprises data transmit-receive unit, synchronous control unit, Data Analysis unit.Wherein, described synchronous control unit, Data Analysis unit and data transmit-receive cell interconnection, described synchronous control unit links to each other with the Data Analysis unit, the data that synchronous control unit receive data resolution unit sends.Synchronous control unit is determined the time window of transceiving data according to the time scheduling table, overall situation fiducial time and the local zone time that obtain from TTCAN bus synchronous control node, the data transmit-receive of control data transmit-receive unit.The data transmit-receive unit obtains the TTCAN bus and obtains nodal information on the bus, and the information of obtaining is sent to the Data Analysis unit according to the time window of the definite transceiving data of synchronous control unit.The Data Analysis unit is used for resolving the nodal information from the data transmit-receive unit, obtains the resolving information of node.If this resolving information is the information of Synchronization Control node, it is transmitted to synchronous control unit, otherwise, send the data to the data transmit-receive unit.
Described human-computer interaction module comprises at least a in LCD display, touch-screen, the indicator light and comprises in case of necessity button, is used for showing the output information of controller, and the input function of operational order is provided.
The data retransmission unit that described data memory module comprises data storage cell and is attached thereto.The data retransmission unit returns master control borad with the data of transmitting, and is transmitted to service end by wireless communication module.
Described wireless communication module can carry out communication by communication and the server end that comprises GPRS, CDMA, WIFI, LTE, so that information interaction is carried out in the completion system interconnection.
Described identification module comprises be used to reading rfid card, IC-card, smart card, infrared read-write card and other can be used for the card reader of information memory card sheet, described identification module also comprises with card reader and linking to each other, the identity authenticating unit of carrying out subscriber authentication by local identity information storehouse and remote party identity information bank.
Described vehicle mounted guidance module comprises GPS location receiving element and is attached thereto GPS locating information processing unit, GPS location receiving element is used for receiving the GPS locating information, and it is passed to the GPS information process unit, the GPS information process unit is passed to master control borad after GPS information is processed.
Described TTCAN nodes information comprises one or more in odometer information, engine information, fuel tank information, panel board information, battery monitoring device information, metering ammeter information or the sensor information.
Specific works flow process of the present utility model is as follows:
Step 1: acquisition instructions; The master control borad of car-mounted terminal gathers the instruction that the user issues, and resolves this instruction.If instruction is resolved unsuccessfully, then return the acquisition instructions state, if success then this instruction is sent to data transmit-receive unit in the TTCAN bus control unit.
Step 2: preliminary treatment communication request; The data transmit-receive unit sends to the Data Analysis unit with the communication request of obtaining and resolves, and the communication request of resolving is returned to the Data Analysis unit.Then the data transmit-receive unit is to the time window of synchronous control unit request msg transmission.
Step 3: request window lock in time; Synchronous control unit is determined local data transmitting time window according to time scheduling table and the overall fiducial time of the Synchronization Control node determination on the TTCAN bus.And after time window comes into force, send the data transmitted signal to the data transmit-receive unit, make the data transmit-receive unit send communication data.
Step 4: obtain nodal information; The data transmit-receive unit receives the data on the TTCAN bus, and sends the data to the Data Analysis unit according to synchronous control unit established data time of reception window.
Step 5: parse node information; The nodal information that the Data Analysis unit resolves obtains if the nodal information of request then sends control data transmit-receive unit, then is transmitted to master control borad; If global synchronization information then is transmitted to synchronous control unit; Otherwise abandon this data.
Step 6: human-computer interaction module is showed; Master control borad obtains the nodal information of parsing, then nodal information is transmitted to human-computer interaction module and shows; Also can carry out being transmitted to the human-computer interaction module displaying after the logical process; Can also be by the nodal information of data memory module storing and resolving; Also can be by wireless communication module with the post-treatment operations such as nodal information forwarding of resolving.
The beneficial effects of the utility model are:
1) high real-time and the reliability of communication;
The utility model is mutual by the synchronous control unit in the TTCAN bus control unit and TTCAN bus, the time window that transmits and receive data of scheduling TTCAN bus control unit, guarantee at synchronization, only have a task to be triggered in the TTCAN bus, and have and have task carrying out in the bus in any moment.The service efficiency of bus is improved, and the phenomenon of task blocking can not occur.Also make the TTCAN bus can guarantee minimum transmission delay and vibration, guarantee vehicle monitor terminal steady operation under predefined pattern, improved real-time and the reliability of vehicle monitor terminal communication.Thereby the vehicle safety hidden danger that can't meet the demands and cause owing to real-time and reliability has been eliminated in the reliability and the fail safe that have improved vehicle integral body.
2) good fault tolerant mechanism;
Provide two kinds of vehicle monitoring data storage modes at the utility model, a kind of is to be stored in the local SD storage card, and another kind is to store in the remote service end by radio communication.In the situation that the radio communication normal operation, vehicle monitor information has been passed to the remote service end by wireless communication module; In the time can't being connected to the remote service end by wireless communication module, vehicle monitor terminal stores data in the local SD storage card, when wireless communication module can connect the remote service end, with data upload in this SD card to the remote service end.So that in the situation that the wireless communication failure, vehicle monitor terminal is the registration of vehicle monitor message normally, guarantees the vehicle-mounted monitoring data's integrity and consistency.
3) the installation circuit of simplification vehicle monitor terminal;
Include but not limited in the TTCAN network at the utility model place odometer, engine, fuel tank, panel board, metering ammeter, battery monitoring device node (be Node1, Node2 ... Node n).The communication data of each node in the TTCAN network can be received by any node in the network.The utility model connects in the TTCAN network as a node, with other node communications, gathers the information of other nodes, and corresponding information is shown to the user.And need not mode by external sensor, gather data in the car, thereby simplify the installation circuit of vehicle monitor terminal.
Description of drawings
Fig. 1 is structural representation of the present utility model;
Fig. 2 is workflow schematic diagram of the present utility model.
Wherein, 1. vehicle monitor terminal, 2. vehicle power, 3.TTCAN network, 11.TTCAN bus control unit, 12. master control borads, 13. power management module, 14. the vehicle mounted guidance module, 15. human-computer interaction modules, 16. wireless communication modules, 17 data memory modules, 18. audio/video module, 19. identification modules, 111. synchronous control units, 112. Data Analysis unit, 113. the data transmit-receive unit, 30. TTCAN buses, 31. nodes 1,3n. node n, 32.TTCAN bus synchronous control node, 321. Synchronization Control host nodes, the auxiliary node of 322. Synchronization Control.
Embodiment
The utility model is described in further detail below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, a kind of vehicle monitor terminal 1 based on the TTCAN bus, it comprises TTCAN bus control unit 11, master control borad 12, power management module 13, human-computer interaction module 15, wireless communication module 16, data memory module 17, audio frequency video module 18, identification module 19 and vehicle mounted guidance module 14, wherein, the TTCAN bus control unit 11, power management module 13, human-computer interaction module 15, wireless communication module 16, data memory module 17, audio frequency video module 18, identification module 19 and vehicle mounted guidance module 14 interconnect with master control borad 12 respectively.TTCAN bus control unit 11 be used for TTCAN bus 30 on node communication, master control borad 12 is used for storing control information, the retentive control state, each functional module to vehicle monitor terminal is controlled, power management module 13 provides vehicle monitor terminal 1 required each voltage gradation (12V, 5V, 3.3V, 1.8V voltage of voltage regulation), be its power supply by vehicle power 2, human-computer interaction module 15 is used for carrying out man-machine interaction, is controlled by master control borad 12; Wireless communication module 16 is interconnected by one or more and service end in GPRS, CDMA, LTE, the WIFI mode, carries out information interaction.Data memory module 17 is used for the maintenance information of access vehicle monitor terminal and the vehicle operating parameters of monitoring and processing.Audio frequency video module 18 comprise that Voice ﹠ Video is recorded, broadcast and memory module, be used for the recording of audio frequency and video, storage and playing function.Comprise a RFID module in the identification module 19, be used for the identification of user identity.Vehicle mounted guidance module 14 comprises the GPS module, is used for providing the GPS locating information to controller 12, and will pass to human-computer interaction module 15 after 12 processing of locating information process master control borad.
As shown in Figure 2, master control borad 12 is accepted user instruction, and resolves instruction, obtains the nodal information of appointment according to command information.The user sends to master control borad 12 to the instruction of obtaining specified node Node n information, to obtain the information of specified node Node n.Master control borad 12 is resolved user instructions, and the instruction that will obtain the information of node Node n sends to TTCAN bus control unit 11.TTCAN bus control unit 11 just can obtain the information of specified node Node n.
Described TTCAN bus control unit 11 comprises synchronous control unit 111, Data Analysis unit 112 and data transmit-receive unit 113.Wherein, synchronous control unit 111, Data Analysis unit 112 and 113 interconnection of data transmit-receive unit, synchronous control unit 111 is connected with Data Analysis unit 112.Synchronous control unit 111 according to obtain from TTCAN bus synchronous control node 32 overall fiducial time synchronization node local zone time so that local zone time is synchronous fiducial time with the overall situation.The time window of the data transmit-receive of the time scheduling table specified data Transmit-Receive Unit 113 of the data transmit-receive that synchronous control unit 111 also obtains according to TTCAN bus synchronous control node 32, and then the synchronous data transmit-receive of TTCAN bus.The received data of Data Analysis unit 112 resolution data Transmit-Receive Units 113, if the data that parse are synchronizing informations of TTCAN bus synchronous control node 32, then it is transmitted to synchronous control unit 111, otherwise it is returned to data transmit-receive unit 113.
TTCAN network 3 comprises node Node1 to Node n and TTCAN bus 30.This vehicle monitor terminal 1 is connected to node Node1 in the TTCAN network 3 to node Node n by TTCAN bus 30, represents with 31 to 3n respectively among Fig. 1.
More specifically, node 31 to 3n is to include but not limited to electronic control unit in odometer, engine, fuel tank, panel board, battery monitoring device, the metering ammeter device.Nodal information comprises one or more in odometer information, engine information, fuel tank information, panel board information, battery monitoring device information, metering ammeter information or the sensor information.This nodal information sends to master control borad 12 after the collection of process TTCAN network 3 and TTCAN bus control unit 11 and the parsing.Master control borad 12 can directly send to nodal information human-computer interaction module 15, shows the user; Also nodal information can be carried out be transmitted to human-computer interaction module 15 after the logical process, show again the user.The user can be by the nodal information of data memory module 17 storing and resolving; Also can the nodal information of resolving be transmitted by wireless communication module 16; Can also according to nodal information carry out subsequent operation as play specific audio frequency video etc.
TTCAN bus synchronous control node 32 comprises Synchronization Control host node 321 and 322 two nodes of the auxiliary node of Synchronization Control.Synchronization Control host node 321 is communicated by letter with the node interconnection on the TTCAN bus by TTCAN bus 30 with the auxiliary node 322 of Synchronization Control.Synchronization Control host node 321 sends overall situation fiducial time and overall scheduling table by TTCAN bus 30, the data transmit-receive of all nodes in the synchronous TTCAN network 3, thus guarantee in synchronization to only have a task to be triggered on the TTCAN bus 30.After Synchronization Control host node 321 is reset, the auxiliary node 322 of Synchronization Control will monitor whether communication has been arranged on TTCAN bus 30, and whether existing synchronically controlling information sends; If there is not the auxiliary node 322 of Synchronization Control to send synchronically controlling information with regard to alternative synchronization control host node 321; But, if receive the higher synchronically controlling information of priority, i.e. the synchronically controlling information of Synchronization Control host node 321 transmissions, the auxiliary node 322 of this Synchronization Control just stops to send message, and is synchronized with the Synchronization Control circulation of high priority Synchronization Control node.
Although above-mentionedly by reference to the accompanying drawings embodiment of the present utility model is described; but be not the restriction to the utility model protection range; one of ordinary skill in the art should be understood that; on the basis of the technical solution of the utility model, those skilled in the art do not need to pay various modifications that creative work can make or distortion still in protection range of the present utility model.