KR20110006980A - Congestion detection method for communication between main mcu and sub mcu - Google Patents
Congestion detection method for communication between main mcu and sub mcu Download PDFInfo
- Publication number
- KR20110006980A KR20110006980A KR1020090064643A KR20090064643A KR20110006980A KR 20110006980 A KR20110006980 A KR 20110006980A KR 1020090064643 A KR1020090064643 A KR 1020090064643A KR 20090064643 A KR20090064643 A KR 20090064643A KR 20110006980 A KR20110006980 A KR 20110006980A
- Authority
- KR
- South Korea
- Prior art keywords
- mcu
- data
- sub
- data signal
- mcu module
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0763—Error or fault detection not based on redundancy by bit configuration check, e.g. of formats or tags
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
Description
The present invention relates to a congestion detection method of communication between a main MCU and a sub-MCU, and more particularly, to a congestion detection method of communication between a main MCU and a sub- MCU in an engine control unit (ECU).
Generally, a vehicle is provided with an engine control unit (ECU) for receiving electrical signals detected by various input sensors and outputting digital control signals for driving various actuators on the output side. The engine control unit (ECU) is an electronic control unit that controls the internal operation of the engine in a variety of ways. The simplest engine control unit (ECU) is used to control the fuel injection amount of the cylinder during the explosion of the SI engine. More complex engine control units (ECUs) in vehicles are used to control ignition timing, variable valve timing, booster levels controlled by turbochargers and other peripherals.
The MCU module (Micro Control Unit Module) in the engine control unit includes a main MCU module and a sub MCU module. In the communication between the main MCU module and the sub-MCU module, the abnormal state detection due to the congestion in which the signal stays in one place was determined as the abnormal state detection when the unreceived state of the signal was not received for a predetermined time, for example, 10 ms. In this case, there is a disadvantage in that an abnormal state such as simply detecting an unreceived signal as an abnormal state and a transmitted signal cannot be received in the order of transmission are not detected.
The present invention has a high precision and reliability in the communication between the main MCU module and the sub-MCU module, and between the main MCU and the sub-MCU that can detect congestion such as not receiving a signal but not receiving the signal in the order of transmission. A congestion detection method of communication is provided.
In one embodiment, a method of detecting congestion in communication between a main MCU and a sub- MCU may include transmitting a first data signal including order information data having an order information in a main microcontrol unit or a sub MCU. Checking whether a data signal has been received within a preset time by the MCU receiving the transmitted first data signal, or if the data signal is not received within the preset time by the MCU receiving the transmitted first data signal, Transmitting a data signal including signal unreceived information data with information indicating that a signal has not been received, and if the data is received within a set time, the order including the order information data corresponding to the next order of the order information data included in the first data signal; Transmitting a data signal, and the MCU transmitting the first data signal And if the data signal including the unreceived information data is not received or if the second data signal is not received within a set time, determining that there is a congestion of communication between the main MCU and the sub-MCU.
In the communication between the main MCU module and the sub-MCU module, it can detect not only the signal but also the congestion that the transmitted signal is not received in the order of transmission with high precision and reliability.
As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.
When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, and the same or corresponding components will be denoted by the same reference numerals regardless of the reference numerals and redundant description thereof will be omitted.
1 is a block diagram schematically illustrating a main MCU module and a sub MCU module in an engine control unit.
Referring to FIG. 1, the
Here, the congestion is a state in which the data signal transmitted from one MCU module is not received from another MCU module in the order in which they are transmitted or the transmitted data signal is not received within a predetermined time, that is, a state in which the transmitted data signal is not normally received. Indicates.
In the present embodiment, when the data signal is transmitted from the main MCU module and the sub-MCU module using three-wire clock synchronous serial communication, congestion information data, which is data that can detect congestion using predetermined bits, is included. Here, it will be apparent to those skilled in the art that the communication environment may vary.
The congestion information data includes order information data indicating information on the order and signal non-receipt information data indicating information on the data not received. The congestion information data is a set byte, and may be included in an upper bit or a lower bit or another predetermined bit of data transmitted from the main MCU module or the sub MCU module. For example, such congestion information data may be allocated to 3 bytes, which is the most significant bit.
Table 1 shows the congestion information data according to the present embodiment.
2 is a flowchart illustrating a congestion detection method of communication between a main MCU module and a sub MCU module according to the present embodiment. Although a congestion detection method for starting data signal transmission from the sub MCU module to the main MCU module will be described, it will be apparent to those skilled in the art that the same applies to the case of starting data signal transmission from the main MCU module to the sub MCU module. . In addition, the data representing the sequence information data or the signal unreceived information data may vary in addition to Table 1.
Referring to FIG. 2, a data signal is transmitted from the sub MCU module to the main MCU module by including order information data in higher bits (S110). Then, the main MCU module determines whether a data signal is received within a set time (S120). The set time may vary, for example, 10 ms or 5 ms.
If data within the time set in the main MCU module is received (S120), the congestion information data of the upper bits of the received data signal is checked (S130). Then, the main MCU module transmits the data signal including the order information data corresponding to the next order of the received order information data (S140).
For example, if the sequence information data received from the sub MCU module is 000B001B, the main MCU module transmits a data signal including 001B010B, the sequence information data corresponding to the next sequence, and the sequence information data received from the sub MCU module is 001B010B. If the main MCU module transmits a data signal including 010B011B, the sequence information data corresponding to the next sequence, and if the sequence information data received from the sub-MCU module is 010B011B, the main MCU module 011B100B, the sequence information data corresponding to the next sequence. And transmits a data signal, and if the order information data received from the sub-MCU module is 011B100B, the main MCU module transmits the data signal including 100B101B, the order information data corresponding to the next order.
Therefore, the sub-MCU module transmits the data signal by sequentially including the order information data according to the order of Table 1, and the main MCU module includes the order information data corresponding to the next order of the order information data received from the sub-MCU module. To transmit the data signal.
Then, the sub-MCU module determines whether or not the order information data corresponding to the next order of the order information data included in the data signal transmitted by the sub-MCU module has been received from the main MCU module within the set time (S150). The sub-MCU module determines whether the order information data included in the data signal received from the main MCU module corresponds to the order of Table 1.
If the sub-MCU module does not receive the order information data corresponding to the next order of the order information data included in the data signal transmitted by the sub-MCU module within the set time, it determines that there is a congestion (S160). If the sequence information data corresponding to the sequence is received, it is determined that there is no congestion and the signal is normally transmitted and received. For example, if the sub-MCU module transmits a data signal including the order information data (000B001B) in the upper bits, and then includes the order information data (001B010B) in the upper bits of the data signal received from the main MCU module, You can judge that there is no runaway.
If the main MCU module does not receive the data signal in the set time from the sub-MCU module in S120, the main MCU module transmits a data signal including the signal unreceived information data 111B (S170). The sub MCU module may receive a data signal including the signal unreceived information data 111B (S180) and determine that data transmitted from the sub MCU module to the main MCU module has not been received by the main MCU module within a set time. That is, congestion can be detected.
All of the above functions may be performed by a processor such as a microprocessor, a controller, a microcontroller, an application specific integrated circuit (ASIC), or the like according to software or program code coded to perform the function. The design, development and implementation of the code will be apparent to those skilled in the art based on the description of the present invention.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention. You will understand. Therefore, it is not intended that the invention be limited to the above-described embodiments, but the present invention will include all embodiments within the scope of the following claims.
1 is a block diagram schematically illustrating a main MCU module and a sub MCU module in an engine control unit.
2 is a flowchart illustrating a congestion detection method of communication between a main MCU module and a sub MCU module according to the present embodiment.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090064643A KR20110006980A (en) | 2009-07-15 | 2009-07-15 | Congestion detection method for communication between main mcu and sub mcu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090064643A KR20110006980A (en) | 2009-07-15 | 2009-07-15 | Congestion detection method for communication between main mcu and sub mcu |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20110006980A true KR20110006980A (en) | 2011-01-21 |
Family
ID=43613660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090064643A KR20110006980A (en) | 2009-07-15 | 2009-07-15 | Congestion detection method for communication between main mcu and sub mcu |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20110006980A (en) |
-
2009
- 2009-07-15 KR KR1020090064643A patent/KR20110006980A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4751633A (en) | Externally reprogrammable vehicular microcomputer with hardware lock-out of unauthorized memory modifications | |
US7717085B1 (en) | Virtual throttle position sensor diagnostics with a single channel throttle position sensor | |
JP6125111B2 (en) | In-vehicle electronic control unit | |
JP5550232B2 (en) | Control device having computing device and peripheral components connected to each other via serial multi-wire bus | |
US20030200366A1 (en) | Data transmission apparatus and electronic control unit | |
EP1712424B1 (en) | Vehicle control apparatus | |
CN107402830B (en) | Register abnormality detection device | |
KR20110006980A (en) | Congestion detection method for communication between main mcu and sub mcu | |
JP3901987B2 (en) | Electronic control device for vehicle | |
US7848856B2 (en) | Communication system and electronic control unit including communication system for vehicle control | |
US20040139369A1 (en) | Device and method for converting a diagnostic interface to spi standard | |
JP6597325B2 (en) | Electronic control unit | |
KR102008996B1 (en) | System and method for stuck bit error occurrence distinction or serial peripheral interconnect receiver buffer | |
CN104158621A (en) | Secured transmission of a sequence of data to be transmitted | |
US9160490B2 (en) | Electronic control device | |
KR101746716B1 (en) | Crc code generator or checker having variable polynomial | |
JP3249710B2 (en) | Analog / digital converter | |
JPH0722281B2 (en) | Data communication method between in-vehicle computers | |
KR20020031646A (en) | Ecu data monitoring/matching method | |
US8639977B2 (en) | Control device | |
JP2520849B2 (en) | Inter-communication device for automobile controller | |
KR101611444B1 (en) | Method for driving software corresponded to numbers of integrated circuits chip in electronic control unit, and apparatus applied to the same | |
JP2009248938A (en) | On-vehicle electronic control apparatus | |
JP2000132209A (en) | Programmable controller | |
JP2012207615A (en) | Electronic control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |