Abstract:
A vehicle control method according to an embodiments includes: collecting data in a first communication data format from at least one electronic unit in a vehicle; converting the data collected in the first communication data format into a second communication data format in order to be transmitted to a pre-connected destination; transmitting the converted data to the destination; receiving, from the destination, control data of the second communication data format corresponding to the transmitted data; converting the control data of the second communication data format into the first communication data format; and outputting the control data of the first communication data format to a corresponding electronic unit.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    Pursuant to 35 U.S.C. §119(a), this application claims the benefit of earlier filing date and right of priority to Korean Patent Application No. 10-2013-0086238, filed on Jul. 22, 2013, the contents of which are all hereby incorporated by reference herein in its entirety. 
       BACKGROUND 
       [0002]    The present disclosure relates to a vehicle control device and method, and particularly, to a control device and method using a communication protocol based on a mobile device. 
         [0003]    A plurality of electric control units (ECUs) having microcontrollers are installed in a vehicle. Debugging and calibration of internal system variables are required to develop ECUs. 
         [0004]    In order to calibrate a conventional ECU in a vehicle, a laptop computer is directly connected to a control area network (CAN) communication line of the vehicle through a cable and environment variables are updated. 
         [0005]      FIG. 1  is a block diagram illustrating a conventional communication system between a vehicle and an external device. 
         [0006]    Referring to  FIG. 1 , a CAN communication module  30  is added for communication between a vehicle  10  and a monitoring/control device  20 . The vehicle  10  includes an on board diagnostics (OBD)  11  for diagnosing a state of the vehicle, wherein the OBD transmits, to the monitoring/control device, result data obtained through CAN communication with function units in the vehicle. Furthermore, in order to transmit control data for environment variables from the monitoring/control device, the data should be converted into a format compatible with the CAN communication through the CAN communication module. 
         [0007]    In general, the OBD  11  is connected to the monitoring/control device such as a computer or a laptop using the CAN-module-installed interface  30  so as to transfer environment variables for calibrating an ECU. Thereafter, the monitoring/control device updates the environment variables of the ECU using an ECU calibration application program. 
         [0008]    According to the above-mentioned system, the OBD  11  should be connected to the monitoring/control device  30  by wire and an additional data conversion device is required, causing spatial limitation and additional cost. 
       SUMMARY 
       [0009]    Embodiments provide a system for calibrating an existing electronic unit for a vehicle, and a mobile-device-based vehicle control device and method for overcoming environmental limitations. 
         [0010]    Embodiments provide a mobile-device-based vehicle control device and method for enabling a user to easily perform data transmission and control for calibrating a state of a vehicle. 
         [0011]    Embodiments provide a mobile-device-based vehicle control device and method for enabling a user to control a vehicle state using various devices instead of limited monitoring/control devices. 
         [0012]    In one embodiment, a vehicle control method includes: collecting data in a first communication data format from at least one electronic unit in a vehicle; converting the data collected in the first communication data format into a second communication data format in order to be transmitted to a pre-connected destination; transmitting the converted data to the destination; receiving, from the destination, control data of the second communication data format corresponding to the transmitted data; converting the control data of the second communication data format into the first communication data format; and outputting the control data of the first communication data format to a corresponding electronic unit. 
         [0013]    The details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0014]      FIG. 1  is a block diagram illustrating a conventional communication system between a vehicle and an external device. 
           [0015]      FIG. 2  is a block diagram illustrating a vehicle control system based on a mobile device according to an embodiment. 
           [0016]      FIG. 3  is a block diagram illustrating a communication unit in the vehicle according to the embodiment. 
           [0017]      FIG. 4  is a flowchart illustrating a method of controlling a vehicle based on a mobile device according to an embodiment. 
       
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
       [0018]    It should be understood that the terms used herein should not be construed as being limited to general and dictionary meanings, but should be interpreted based on the meanings and concepts corresponding to technical aspects of embodiments, considering that inventors may define terms appropriately to describe the embodiments. 
         [0019]    Therefore, it should be understood that the embodiments described herein and the configurations illustrated in the drawings are merely preferred examples and do not entirely represent the technical aspects of the embodiments, and thus, various alternative equivalents or modifications could be made at the filing date. 
         [0020]      FIG. 2  is a block diagram illustrating a vehicle control system based on a mobile device according to an embodiment. 
         [0021]    Referring to  FIG. 2 , the vehicle control system according to the embodiment does not include an additional communication module, but a vehicle  100  may be directly connected to and communicate with a monitoring/control device  200  that acquires data from the vehicle and generates and transmits control data based on the acquired data. 
         [0022]      FIG. 3  is a block diagram illustrating a communication unit in the vehicle according to the embodiment. 
         [0023]    Referring to  FIG. 3 , the communication unit in the vehicle according to the embodiment includes first and second transmitting buffers  116  and  117 , first and second receiving buffers  112  and  114 , a data conversion unit  113 , and a wireless communication unit  115 . 
         [0024]    The in-vehicle communication unit  111 , which is a communication unit for communication between electronic units of the vehicle, may include a CAN communication module. Therefore, a format of data obtained from the in-vehicle communication unit  111  may be a CAN communication data format. 
         [0025]    The first receiving buffer  112  may temporarily store the data obtained from the in-vehicle communication unit  111  before the data is output to the data conversion unit  113  so as to be converted into a wireless communication data format. 
         [0026]    The data conversion unit  113  may convert the CAN-communication-format data received from the first receiving buffer  112  or directly received from the in-vehicle communication unit  111  into the wireless communication data format so as to transmit the CAN-communication-format data to an external monitoring/control device. Furthermore, the data conversion unit  113  may convert vehicle control data of the wireless communication data format received from the external monitoring/control device into the CAN communication data format so as to transmit a control signal based on the control data to a corresponding electronic unit. 
         [0027]    The second receiving buffer  114  may temporarily store the data that has been converted from the CAN communication data format into the wireless communication data format in the data conversion unit  113 , and may output the stored data to the wireless communication unit  115  after a lapse of a predetermined time or in response to a control signal. 
         [0028]    The wireless communication unit  115  may transmit, to a destination preset by a user, the wireless-communication-format data temporarily stored in the first receiving buffer  114  or obtained in the data conversion unit  113 . The destination may be the monitoring/control device  200  that may be a wireless terminal device such as a user mobile terminal. Furthermore, the wireless communication unit  115  may receive control data of the wireless communication data format from the monitoring/control device  200  of the user. 
         [0029]    The first transmitting buffer  116  temporarily stores control data of the wireless communication format received through the wireless communication unit  115 . The first transmitting buffer  116  may output the control data to the data conversion unit  113  after a lapse of a predetermined period of time or in response to a control signal. 
         [0030]    The second transmitting buffer  117  may temporarily store the control data converted into the CAN communication data format in the data conversion unit  113 , and may output the control data to the in-vehicle communication unit  111  after a lapse of a predetermined period of time or in response to a control signal. Since a maximum size of data for CAN communication is 8 bytes, the length of the wireless communication data is divided by 8 bytes so as to be transmitted. Therefore, the second transmitting buffer  117  divides the control data of the CAN communication data format output through the data conversion unit  113 . 
         [0031]    A control unit  120  generates and outputs a control signal for acquiring operation data and state data generated in a plurality of electronic units in the vehicle, at a predetermined time or in real time. Furthermore, the control unit  120  may obtain check and error information about a communication state of a communication unit  110 . Furthermore, the control unit  120  may check information on the electronic units in the vehicle and may check monitoring/control devices which are external devices connected through the communication unit  110 . 
         [0032]    The storage unit  130  may store data generated by the electronic units in the vehicle and control data received from the external devices. The storage unit  130  may store information on the electronic units in the vehicle and reference data. Furthermore, the storage unit  130  may store information on the monitoring/control devices connected through the communication unit  110 . 
         [0033]    The vehicle may further include a user interface for inputting a user control signal and a display unit for displaying state information of the vehicle. 
         [0034]      FIG. 4  is a flowchart illustrating a method of controlling a vehicle based on a mobile device according to an embodiment. 
         [0035]    Referring to  FIG. 4 , the control unit  120  may collect data including state information of each electronic unit through the in-vehicle communication unit  111  of the communication unit  110  (operation S 402 ). 
         [0036]    The control unit  120  controls the first receiving buffer  112  so that the data collected through the in-vehicle communication unit  111  is temporarily stored in the first receiving buffer  112 , and controls the data conversion unit  113  so that the temporarily stored data is converted into a data format so as to be transmitted to an external monitoring/control device. 
         [0037]    The data conversion unit  113  may convert the data of the CAN communication data format collected from the electronic units into the wireless communication data format (operation S 404 ). 
         [0038]    The data of the wireless communication data format obtained through the conversion may be temporarily stored in the second receiving buffer  114  and may be transmitted to a preset monitoring/control device through the wireless communication unit  115  after a lapse of a predetermined time or in response to a control signal of the control unit  120 . 
         [0039]    The control unit  120  may continuously monitor whether control data is received from the preset monitoring/control device that has transmitted the data of the electronic units (operation S 408 ). 
         [0040]    When the control unit  120  detects the control data received from a monitoring/control device, the control device  120  may check information of the monitoring/control device stored in the storage unit  130 . 
         [0041]    In the case where the monitoring/control device that has transmitted the control data is the preset monitoring/control device as a result of checking the information of the monitoring/control device, the control unit  120  may temporarily store the received data of the wireless communication data format in the second receiving buffer  114 . The temporarily stored control data is converted into the CAN communication data format so as to be transmitted to the electronic units in the vehicle (operation S 410 ). 
         [0042]    The control unit  120  may generate a control signal for controlling a corresponding electronic unit on the basis of the data obtained through the conversion (operation S 412 ). 
         [0043]    The control unit  120  may allow the generated control signal to be transmitted to each electronic unit and stored in the storage unit  130 . Here, in order to transmit the control signal to each electronic unit, the control unit  120  may divide the control signal by 8 bytes that is a maximum size of the CAN communication data format. 
         [0044]    Although embodiments have been described with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure. More particularly, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure, the drawings and the appended claims. In addition to variations and modifications in the component parts and/or arrangements, alternative uses will also be apparent to those skilled in the art.