KR101938635B1 - Electronic Control Unit and control method - Google Patents

Electronic Control Unit and control method Download PDF

Info

Publication number
KR101938635B1
KR101938635B1 KR1020120049540A KR20120049540A KR101938635B1 KR 101938635 B1 KR101938635 B1 KR 101938635B1 KR 1020120049540 A KR1020120049540 A KR 1020120049540A KR 20120049540 A KR20120049540 A KR 20120049540A KR 101938635 B1 KR101938635 B1 KR 101938635B1
Authority
KR
South Korea
Prior art keywords
ecu
sub
input terminal
active
external input
Prior art date
Application number
KR1020120049540A
Other languages
Korean (ko)
Other versions
KR20130125913A (en
Inventor
김수권
Original Assignee
에스케이이노베이션 주식회사
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 에스케이이노베이션 주식회사 filed Critical 에스케이이노베이션 주식회사
Priority to KR1020120049540A priority Critical patent/KR101938635B1/en
Publication of KR20130125913A publication Critical patent/KR20130125913A/en
Application granted granted Critical
Publication of KR101938635B1 publication Critical patent/KR101938635B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

본 발명은 전자 제어 장치 및 그 제어 방법에 관한 것으로, 상세하게는 적어도 하나 이상의 외부 입력 단자를 포함하는 적어도 하나 이상의 서브 ECU(Electronic Control Unit)를 포함하되, 상기 서브 ECU에 입력되는 적어도 하나 이상의 소프트웨어를 단일화하여, 단일화된 상기 소프트웨어를 상기 서브 ECU로 입력하며, 상기 외부 입력 단자를 스캔하여 상기 외부 입력 단자의 상태를 식별하여, 상기 서브 ECU에 의해 연결되어 있는 상기 메인 ECU가 탑재된 장치의 상태가 제어되는 것을 특징으로 하는 전자 제어 장치이다.The present invention relates to an electronic control apparatus and a control method thereof, and more particularly, to an electronic control apparatus including at least one sub-ECU (Electronic Control Unit) including at least one external input terminal, The main ECU is connected to the main ECU by the main ECU, and the main ECU is connected to the main ECU by the sub ECU, Is controlled.

Description

전자 제어 장치 및 그 제어 방법 {Electronic Control Unit and control method}[0001] The present invention relates to an electronic control unit and a control method thereof,

본 발명은 전자 제어 장치 및 그 제어 방법에 관한 것으로, 더 상세하게는 단일화된 소프트웨어를 메인 ECU에 연결되어 있는 다수 개의 서브 ECU에 입력함으로써 이를 통해 서브 ECU의 관리가 원활하며, 서브 ECU가 연결되어 있는 메인 ECU가 탑재된 자동차의 제어를 용이하게 하는 전자 제어 장치 및 그 제어 방법에 관한 것이다.
The present invention relates to an electronic control apparatus and a control method thereof, and more particularly, to a method of controlling an electronic control apparatus and a control method thereof by inputting a unified software to a plurality of sub ECUs connected to a main ECU, The present invention relates to an electronic control apparatus and method for controlling an automobile equipped with a main ECU.

최근들어 대용량 배터리에 부가되는 셀의 증가에 따라 하나의 메인 ECU에 다수의 서브 ECU가 연계되고 있는 실정이다. 하지만 이러한 다수의 ECU를 제어하기 위해서 각각의 다른 소프트웨어를 제공됨으로써 각각의 소프트웨어의 관리에 있어서 번거로움이 있는 상황이다.In recent years, a number of sub ECUs have been linked to one main ECU in accordance with an increase in the number of cells added to a large capacity battery. However, in order to control these multiple ECUs, it is cumbersome to manage each software by providing different software.

본 발명은 다수의 서브 ECU에 제공되는 각각의 소프트웨어를 하나로 단일화하여 단일화된 소프트웨어를 이용하여 서브 ECU의 증가 또는 감소에도 제공되고 있는 소프트웨어의 변경 없이 이용 가능한 전자 제어 장치에 관한 것이다.
The present invention relates to an electronic control device that can be used in a plurality of sub-ECUs by unifying each piece of software into a single unit and using unified software to change or increase the number of sub-ECUs without changing the software.

미국 공개 특허 2008-0114508호("Method for Repairing Vehicle Electronics of a Motor Vehicle", 이하 선행기술 1)는 새로운 ECU가 추가될 경우, 새로운 소프트웨어를 갖도록 하는 구조를 개시하고 있다.
US Patent Application Publication No. 2008-0114508 ("Method for Repairing Vehicle Electronics of a Motor Vehicle", hereinafter referred to as "Prior Art 1") discloses a structure for having new software when a new ECU is added.

미국공개특허 제 0114508호 (공개일자 2008.05.15)U.S. Published Patent Application No. 0114508 (published on May 15, 2008)

본 발명에서 해결하고자 하는 과제는 메인 ECU에 연결되어 있는 다수 개의 서브 ECU에 각각 입력되어 있는 소프트웨어를 단일화 하여 이를 통해, 향후에 추가될 수 있는 서브 ECU의 관리가 원활하게 되며, 다수 개의 서브 ECU에 입력되어 있는 단일화된 소프트웨어를 통해 소프트웨어의 오류에 대한 관리도 용이하게 할 수 있는 전자 제어 장치 및 그 제어 방법을 제공하는 것이다.
A problem to be solved by the present invention is to unify the software input to each of a plurality of sub ECUs connected to the main ECU so as to smoothly manage the sub ECUs that can be added in the future, An electronic control apparatus and method for controlling an error of software through unified software input.

본 발명에 따른 전자 제어 장치는 적어도 하나 이상의 외부 입력 단자를 포함하는 적어도 하나 이상의 서브 ECU(Electronic Control Unit)를 포함하되, 상기 서브 ECU에 입력되는 적어도 하나 이상의 소프트웨어를 단일화하여, 단일화된 상기 소프트웨어를 상기 서브 ECU로 입력하며, 상기 외부 입력 단자를 스캔하여 상기 외부 입력 단자의 상태를 식별하여, 상기 서브 ECU에 의해 연결되어 있는 상기 메인 ECU가 탑재된 장치의 상태가 제어되는 것을 특징으로 한다.The electronic control apparatus according to the present invention includes at least one sub-ECU (Electronic Control Unit) including at least one external input terminal, wherein at least one software input to the sub ECU is unified, And the state of the device on which the main ECU connected by the sub ECU is mounted is controlled by scanning the external input terminal to identify the state of the external input terminal.

상기 서브 ECU는 상기 외부 입력 단자의 상태가 액티브 HI(Active High) 또는 액티브 LOW(Active Low) 중 어느 하나로 정해져 있는 것을 특징으로 하는 것이 바람직하다.
And the sub ECU is characterized in that the state of the external input terminal is set to any one of active HI (active high) and active low (active low).

본 발명에 따른 전자 제어 장치의 제어 방법은 메인 ECU(Electronic Control Unit) 및 상기 메인 ECU에 연결되어 있는 적어도 하나 이상의 서브 ECU를 포함하여 구성되는 전자 제어 장치의 제어 방법에 있어서, 서브 ECU를 자동 리셋하는 POR(Power On Reset)단계, 상기 POR 단계에서 리셋한 서브 ECU를 초기화하는 초기화 단계, 상기 서브 ECU에 포함하여 구성되는 적어도 하나 이상의 외부 입력 단자를 스캔하여 상태를 확인하는 확인 단계, 상기 확인 단계에서 확인된 상기 외부 입력 단자의 상태에 따라 상기 외부 입력 단자에 연결된 각각의 서브 ECU에 맞게 단일화된 소프트웨어를 입력하는 입력 단계 및 상기 입력 단계에서 단일화된 소프트웨어가 입력된 상기 서브 ECU를 통해 상기 서브 ECU가 연결되어 있는 상기 메인 ECU가 탑재된 장치를 제어하는 제어 단계로 이루어지는 것을 특징으로 한다.A control method of an electronic control apparatus according to the present invention is a control method of an electronic control apparatus including a main ECU (Electronic Control Unit) and at least one sub ECU connected to the main ECU, A power on reset (POR) step of initializing a sub-ECU reset in the POR step, a checking step of checking at least one external input terminal included in the sub ECU, The input step of inputting the unified software corresponding to each sub ECU connected to the external input terminal according to the state of the external input terminal identified in the input step, And a control step of controlling an apparatus on which the main ECU is connected The features.

상기 확인 단계는 소정 시간 동안 상기 서브 ECU의 외부 입력 단자를 소정 횟수로 반복하여 스캔하는 스캔 단계, 상기 스캔 단계에서 소정 횟수로 반복하여 스캔한 상기 서브 ECU의 외부 입력 단자가 적어도 50% 이상 액티브 HI(Active High) 상태인지 판단하는 액티브 HI 판단 단계, 상기 액티브 HI 판단 단계에서 상기 서브 ECU의 외부 입력 단자가 적어도 50% 이상 액티브 HI인 경우, 상기 서브 ECU가 탑재되어 있는 장치의 제어를 제 1 서브 ECU로 결정하는 제 1 서브 ECU 결정 단계로 이루어지는 것이 바람직하다.Wherein the checking step comprises a scanning step of repeatedly scanning the external input terminal of the sub ECU for a predetermined time, a step of scanning the external input terminal of the sub ECU repeatedly a predetermined number of times by at least 50% The active HI determining step determines whether the external input terminal of the sub-ECU is in the active high state, and when the external input terminal of the sub-ECU is at least 50% active HI, And a first sub-ECU determination step of determining by the ECU.

상기 전자 제어 장치의 제어 방법은 상기 액티브 HI 판단 단계에서 상기 메인 ECU의 외부 입력 단자가 50% 미만으로 액티브 HI인 경우, 상기 서브 ECU가 탑재되어 있는 장치의 제어를 제 2 서브 ECU로 결정하는 제 2 서브 ECU 결정 단계를 포함하여 수행하는 것이 바람직하다.The control method of the electronic control unit may further include a step of, when the external input terminal of the main ECU is less than 50% active HI in the active HI determination step, determining the control of the device on which the sub- 2 < / RTI > sub-ECU determination step.

상기 소정 시간은 100

Figure 112018094429179-pat00003
~ 10ms 중 선택되는 어느 한 시간인 것이 더 바람직하다.The predetermined time is 100
Figure 112018094429179-pat00003
To 10 ms is preferable.

상기 소정 횟수는 적어도 2회 이상인 것이 더 바람직하다.The predetermined number of times is more preferably at least two times.

상기 제 1 서브 ECU는 입력 단자를 통해 액티브 HI(Active High)상태이며, 내부 풀업(Pull-Up) 저항이 설정되어 있는 것이 바람직하다.It is preferable that the first sub ECU is in an active HI (active high) state through an input terminal and an internal pull-up resistance is set.

상기 제 2 서브 ECU는 입력 단자를 통해 액티브 LO(Active Low)상태이며, 외부 풀다운(Pull-Down) 저항이 설정되어 있는 것이 바람직하다.
It is preferable that the second sub ECU is in an active LO state through an input terminal and an external pull-down resistance is set.

상기와 같은 구성에 의한 본 발명의 전자 제어 장치는 메인 ECU에 연결되어 있는 서브 ECU를 관리하기 위하여 서브 ECU에 입력되는 각각의 소프트웨어를 하나의 소프트웨어로 단일화함으로써 다수 개의 서브 ECU에 대한 관리가 용이한 효과가 있다.The electronic control apparatus according to the present invention configured as described above can simplify management of a plurality of sub ECUs by unifying each software input to the sub ECUs with one software for managing the sub ECUs connected to the main ECU It is effective.

또한, 향후에 서브 ECU의 추가됨에도 단일화된 소프트웨어를 입력함으로써 용이한 대처가 가능하다.
Further, it is possible to easily cope with the addition of a sub-ECU by inputting a single software in the future.

도 1은 본 발명의 일 실시예에 따른 전자 제어 장치의 구성에 대해 간략하게 나타낸 도면이다.
도 2는 본 발명의 일 실시예에 따른 전자 제어 장치의 제어 방법에 대한 순서도이다.
1 is a diagram briefly showing a configuration of an electronic control apparatus according to an embodiment of the present invention.
2 is a flowchart of a method of controlling an electronic control unit according to an embodiment of the present invention.

이하 첨부한 도면들을 참조하여 본 발명의 전자 제어 장치 및 그 제어 방법을 상세히 설명한다. 다음에 소개되는 도면들은 당업자에게 본 발명의 사상이 충분히 전달될 수 있도록 하기 위해 예로서 제공되는 것이다. 따라서, 본 발명은 아래 제시되는 도면들에 한정되지 않고 다른 형태로 구체화될 수도 있다. 또한 명세서 전체에 걸쳐서 동일한 참조번호들은 동일한 구성요소들을 나타낸다.Hereinafter, an electronic control apparatus and a control method thereof according to the present invention will be described in detail with reference to the accompanying drawings. The following drawings are provided by way of example so that those skilled in the art can fully understand the spirit of the present invention. Therefore, the present invention is not limited to the following drawings, but may be embodied in other forms. Also, throughout the specification, like reference numerals designate like elements.

이때, 사용되는 기술 용어 및 과학 용어에 있어서 다른 정의가 없다면, 이 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 통상적으로 이해하고 있는 의미를 가지며, 하기의 설명 및 첨부 도면에서 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 설명은 생략한다.
Hereinafter, the technical and scientific terms used herein will be understood by those skilled in the art without departing from the scope of the present invention. Descriptions of known functions and configurations that may be unnecessarily blurred are omitted.

도 1은 본 발명의 일 실시예에 따른 전자 제어 장치의 구성에 대해 간략하게 나타낸 도면이다. 도 1을 참조로 하여 본 발명의 일 실시예에 따른 전자 제어 장치의 구성에 대해 상세하게 설명한다.
1 is a diagram briefly showing a configuration of an electronic control apparatus according to an embodiment of the present invention. The configuration of an electronic control device according to an embodiment of the present invention will be described in detail with reference to FIG.

본 발명의 일 실시예에 따른 전자 제어 장치는 메인 ECU(Electronic Control Unit)(100), 서브 ECU (200) 및 서브 ECU에 포함되어 있는 외부 입력 단자(300)를 포함하여 이루어진다. 이때, 도 1에 도시되어 있는 3개의 서브 ECU(200), 외부 입력 단자(300)는 일 실시예에 불과하다.
The electronic control apparatus according to an embodiment of the present invention includes a main ECU (Electronic Control Unit) 100, a sub ECU 200, and an external input terminal 300 included in the sub ECU. At this time, the three sub ECUs 200 and the external input terminal 300 shown in FIG. 1 are merely one embodiment.

메인 ECU(100)는 복수 개의 서브 ECU(200)를 포함하여 구성될 수 있으며, 일반적으로, ECU(Electronic Control Unit)란 ECU가 탑재되어 있는 자동차의 엔진, 자동변속기, ABS(Anti-lock Braking System), 배터리 시스템, 모터 및 인버터 등의 상태를 제어하는 전자 제어 장치를 의미한다.
The main ECU 100 may include a plurality of sub ECUs 200. Generally, an ECU (Electronic Control Unit) is an engine of an automobile on which an ECU is mounted, an automatic transmission, an ABS (Anti-lock Braking System ), A battery system, a motor, and an inverter.

서브 ECU(200)는 적어도 하나 이상의 외부 입력 단자(300)를 포함하여 구성될 수 있다. 각각의 서브 ECU(200)에 연계되어 있는 모듈 (400)을 제어함으로써 서브 ECU(200)가 탑재되어 있는, 즉, 메인 ECU(100)가 탑재되어 있는 자동차 등의 장치를 제어 할 수 있다. 이때, 모듈(400)은 본 발명의 일 실시예에 불과하며, 엔진, ABS 또는 모터 등 제어 대상이 되는 장치로 구성될 수 있다.The sub ECU 200 may include at least one external input terminal 300. It is possible to control a device such as an automobile on which the sub ECU 200 is mounted, that is, on which the main ECU 100 is mounted, by controlling the module 400 linked to each sub ECU 200. [ At this time, the module 400 is only an embodiment of the present invention, and may be configured as an apparatus to be controlled such as an engine, an ABS, or a motor.

서브 ECU(200)는 외부 입력 단자(300)를 통해서 모듈(400)과 연결되어 있으며, 서브 ECU(200)가 탑재되어 있는 장치 즉, 자동차 등을 제어하기 위한 각각의 모듈(400)을 제어할 수 있으며, 각각의 모듈(400)을 제어하기 위해서 서브 ECU(200)에는 각각의 모듈(400)의 제어에 알맞은 소프트웨어가 제공될 수 있다.The sub ECU 200 is connected to the module 400 via the external input terminal 300 and controls each module 400 for controlling the device on which the sub ECU 200 is mounted, And the sub ECU 200 may be provided with software suitable for controlling each module 400 in order to control the respective modules 400. [

이때, 본 발명에서의 서브 ECU(200)는 단일화된 소프트웨어가 입력됨으로써 각각의 모듈(400)을 고정적으로 지정된 서브 ECU(200)에서 관리할 수 있을 뿐만 아니라, 서브 ECU(200)가 추가되거나 또는 제거되더라도 기존의 서브 ECU(200)가 제어하고 있는 모듈(400)을 다른 서브 ECU(200)에서 단일화된 소프트웨어를 이용하여 모듈(400)의 제어를 연속해서 수행할 수 있다.
At this time, the sub ECU 200 in the present invention can not only manage the respective modules 400 in the fixedly designated sub ECU 200 by inputting the unified software, but also the sub ECU 200 can be added The module 400 controlled by the existing sub ECU 200 can be continuously controlled by using the software unified in the other sub ECU 200 even if the module 400 is removed.

또한, 서브 ECU(200)는 외부 입력 단자(300)를 스캔하여 외부 입력 단자(300)의 상태를 식별할 수 있다. 이때, 외부 입력 단자(300)의 상태가 액티브 HI(Active High) 또는 액티브 Low(Active Low) 중 어느 하나로 입력 받을 수 있다. 이러한 상태의 식별은 서브 ECU(200)가 별도의 소프트웨어 로직(Logic)을 이용하여 식별할 수 있다.Also, the sub ECU 200 can scan the external input terminal 300 and identify the state of the external input terminal 300. [ At this time, the state of the external input terminal 300 can be input as either active HI (active high) or active low (active low). The identification of such a state can be identified by the sub ECU 200 using a separate software logic.

다시 말하자면, 식별된 외부 입력 단자(300)의 상태를 통해, 연계되어 있는 셀(400), 즉, 외부 입력 단자(300)에 연결되어 있는 서브 ECU(200)와 연계되어 있는 모듈(400)이 무엇인지 확인 할 수 있다. 아울러, 연계되어 있는 모듈(400)을 제어하기 위해 필요한 소프트웨어를 각각의 별개의 소프트웨어가 아닌 단일화된 소프트웨어를 서브 ECU(200)에 입력함으로써, 서브 ECU(200)에서 용이하게 모듈(400)의 제어를 할 수 있으며, 제어된 모듈(400)을 통해 서브 ECU(200)가 탑재되어 있는 장치 즉, 메인 ECU(100)가 탑재되어 있는 자동차 등의 상태를 전반적으로 제어할 수도 있게 된다. 이때, 모듈(400)은 본 발명의 일 실시예에 불과하며, 배터리 시스템의 모듈 상태를 모니터링하여 제어할 수도 있으며, 배터리 시스템이 아닌, 다른 자동차 장치 즉, 엔진, 모터, ABS 등 제어 대상이 되는 모듈로 구성될 수도 있다.
In other words, through the state of the identified external input terminal 300, the module 400 associated with the connected cell 400, that is, the sub ECU 200 connected to the external input terminal 300, You can see what it is. In addition, software necessary for controlling the linked module 400 is input to the sub ECU 200, not the separate software, into the sub ECU 200, so that the sub ECU 200 can easily control the module 400 And can control the state of the vehicle on which the sub ECU 200 is mounted, that is, the vehicle on which the main ECU 100 is mounted, through the controlled module 400 as a whole. At this time, the module 400 is only an embodiment of the present invention. The module 400 may monitor and control the module status of the battery system. Alternatively, the module 400 may be controlled by other automotive devices such as an engine, a motor, Module.

도 2를 참조로 하여 본 발명의 일 실시예에 따른 전자 제어 장치의 제어 방법에 대해 상세하게 설명한다.A control method of an electronic control apparatus according to an embodiment of the present invention will be described in detail with reference to FIG.

본 발명인 전자 제어 장치의 제어 방법은 메인 ECU(100), 메인 ECU(100)에 적어도 하나 이상 포함되어 있는 서브 ECU(200), 서브 ECU(200)에 포함되어 있는 적어도 하나 이상의 외부 입력 단자(300), 및 외부 입력 단자(300)를 통해 연결되어 있는 제어 대상이 되는 모듈(400)을 제어하기 위해 서브 ECU(200)에 입력되는 소프트웨어를 단일화하여 제공 되어지며,A control method of an electronic control apparatus according to the present invention includes a main ECU 100, a sub ECU 200 included in at least one main ECU 100, at least one external input terminal 300 And the software input to the sub ECU 200 to control the module 400 to be controlled, which is connected via the external input terminal 300,

이때, 단일화된 소프트웨어를 각각의 서브 ECU(200)에 의해서 제어되고 있는 모듈(400)에 맞게 제공하기 위한 전자 제어 장치의 제어 방법이다.At this time, it is a control method of the electronic control apparatus for providing the unified software in accordance with the module 400 controlled by each of the sub ECUs 200.

더불어, 서브 ECU(200)에 연계되어 있는 모듈(400)의 제어를 통해서, 서브 ECU(200)가 탑재되어 있는 장치, 즉, 메인 ECU(100)가 탑재되어 있는 자동차 등의 상태를 제어할 수 있다. 이때, 모듈(400)은 본 발명의 일 실시예에 불과하며, 배터리 시스템의 모듈 상태를 모니터링하여 제어할 수도 있으며, 배터리 시스템이 아닌, 다른 자동차 장치 즉, 엔진, 모터, ABS 등 제어 대상이 되는 모듈로 구성될 수도 있다.
It is also possible to control the state of an apparatus on which the sub ECU 200 is mounted, that is, an automobile on which the main ECU 100 is mounted, through the control of the module 400 linked to the sub ECU 200 have. At this time, the module 400 is only an embodiment of the present invention. The module 400 may monitor and control the module status of the battery system. Alternatively, the module 400 may be controlled by other automotive devices such as an engine, a motor, Module.

POR(Power On Reset) 단계(S210)는 메인 ECU(100)에 연결되어 있는 서브 ECU(200)에 인가되는 전원이 온 되는 순간 자동으로 리셋된다.
The power on reset (POR) step S210 is automatically reset when the power applied to the sub ECU 200 connected to the main ECU 100 is turned on.

확인 단계(S220)는 서브 ECU(200)에 포함되어 있는 적어도 하나 이상의 외부 입력 단자(300)를 스캔하여 외부 입력 단자(300)들의 상태를 확인할 수 있다.The checking step S220 can check the state of the external input terminals 300 by scanning at least one external input terminal 300 included in the sub ECU 200. [

이때, 확인 단계(S220)는 스캔 단계(S231), 액티브 HI 판단 단계(S232), 제 1 서브 ECU 결정 단계(S233) 및 제 2 서브 ECU 결정 단계(S234)를 더 포함하여 이루어질 수 있다.
At this time, the checking step S220 may further include a scanning step S231, an active HI determination step S232, a first sub ECU determination step S233, and a second sub ECU determination step S234.

스캔 단계(S231)는 소정 시간 동안 서브 ECU(200)에 포함되어 있는 적어도 하나 이상의 외부 입력 단자(300)을 소정 횟수로 반복하여 스캔할 수 있다.The scan step S231 may scan at least one external input terminal 300 included in the sub ECU 200 repeatedly a predetermined number of times for a predetermined time.

여기서 소정 시간이란, 스캔 타이밍의 시간을 의미하는 것으로써, 100

Figure 112018094429179-pat00004
~ 10ms 중 적당한 시간을 선택할 수 있다. 또한, 소정 횟수란 적어도 2회 이상이며, 이를 통해, 보다 정확하게 외부 입력 단자(300)를 통해서 서브 ECU(200)에 연계되어 있는 모듈(400)의 상태를 식별할 수 있다. 더불어, 외부 입력 단자(300)의 상태 또한 확인할 수 있다.Here, the predetermined time means the time of the scan timing,
Figure 112018094429179-pat00004
You can select the appropriate time from ~ 10ms. In addition, the predetermined number of times is at least two times, whereby the state of the module 400 linked to the sub ECU 200 can be more accurately identified through the external input terminal 300. [ In addition, the state of the external input terminal 300 can be confirmed.

액티브 HI 판단 단계(S232)는 스캔 단계(S231)에서 소정 횟수로 반복하여 스캔한 외부 입력 단자(300)가 적어도 50% 이상 액티브 HI(Active High) 상태인지 판단할 수 있다.
The active HI determination step S232 may determine whether the external input terminal 300 scanned repeatedly a predetermined number of times in the scanning step S231 is at least 50% active HI (Active High).

제 1 서브 ECU 결정 단계(S233)는 액티브 HI 판단 단계(S232)에서 외부 입력 단자(300)가 적어도 50% 이상 액티브 HI 상태라 판단된 경우, 서브 ECU(200)가 탑재되어 있는 장치, 즉, 메인 ECU(100)가 탑재되어 있는 자동차 등의 제어를 제 1 서브 ECU로 결정할 수 있다. 이때, 제 1 서브 ECU는 액티브 HI이고, 내부 풀업 저항(Pull-Up)저항이 설정되어 있다.
The first sub-ECU determination step S233 determines whether the external input terminal 300 is at least 50% active HI in the active HI determination step S232, that is, the device on which the sub- The control of the vehicle or the like on which the main ECU 100 is mounted can be determined as the first sub ECU. At this time, the first sub ECU is active HI, and an internal pull-up resistance (pull-up) resistance is set.

제 2 서브 결정 단계(S234)는 액티브 HI 판단 단계(S232)에서 외부 입력 단자(300)가 50% 미만으로 액티브 HI 상태라 판단된 경우, 서브 ECU(200)가 탑재되어 있는 장치, 즉, 메인 ECU(100)가 탑재되어 있는 자동차 등의 제어를 제 2 서브 ECU로 결정할 수 있으며, 이때, 제 2 서브 ECU는 액티브 LO(Active Low)이고, 외부 풀다운(Pull-Down)저항이 설정되어 있다.
If the external input terminal 300 is judged to be in the active HI state by less than 50% in the active HI determination step S232, the second subdecision step S234 determines whether the sub- The second sub ECU can determine the control of the vehicle or the like on which the ECU 100 is mounted. At this time, the second sub ECU is active low (LO) and an external pull-down resistance is set.

입력 단계(S240)는 확인 단계(S220)를 통해 확인된 외부 입력 단자(300)의 상태에 따라 외부 입력 단자(300)에 연결되어 있는 각각의 서브 ECU(200)에 맞게 소프트웨어가 입력될 수 있으며, 입력된 소프트웨어를 이용해서 서브 ECU(200)는 연결되어 있는 각각의 모듈(400)을 관리할 수 있다. 이때, 소프트웨어는 단일화된 소프트웨어를 이용하며 이로 인해, 위에 언급한 바와 같이, 서브 ECU(200)이 추가되거나, 제거 또는 서브 ECU(200)에 연결되어 있는 모듈(400)이 변경되는 경우에도 별도의 소프트웨어 변경이나 독자적인 소프트웨어의 추가 없이 서브 ECU(200)를 변경하여 이용할 수 있다.
In the input step S240, the software may be inputted to each of the sub ECUs 200 connected to the external input terminal 300 according to the state of the external input terminal 300 identified through the confirmation step S220 , And the sub-ECU 200 can manage each connected module 400 using the input software. At this time, the software uses the unified software, so that even when the module 400 in which the sub ECU 200 is added or removed or connected to the sub ECU 200 is changed as described above, The sub ECU 200 can be changed and used without a software change or addition of proprietary software.

제어 단계(S250)는 입력 단계(S240)를 통해 단일화된 소프트웨어가 서브 ECU(200)에 입력되고, 서브 ECU(200)에 연계되어 있는 모듈(400)을 제어함으로써 서브 ECU(200)가 탑재되어 있는 장치, 즉, 메인 ECU(100)가 탑재되어 있는 자동차 등의 상태를 제어할 수 있다.
In the control step S250, the software unified through the input step S240 is input to the sub ECU 200, and the sub ECU 200 is mounted by controlling the module 400 linked to the sub ECU 200 The state of an automobile on which the main ECU 100 is mounted can be controlled.

다시 말하자면, 본 발명인 전자 제어 장치의 제어 방법은 서브 ECU(200)에 포함되어 있는 외부 입력 단자(300)의 상태를 스캔하여 확인 할 수 있다. 이때, 외부 입력 단자(300) 상태를 스캔함으로써, 외부 입력 단자(300)에 연결되어 있는 모듈(400)을 식별할 수 있다. 이를 통해, 서브 ECU(200)에서는 연결되어 있는 각각의 모듈(400)을 용이하게 제어할 수 있도록 단일화된 소프트웨어를 서브 ECU(200)에 입력할 수 있다. 단일화된 소프트웨어를 이용함으로써, 하나의 서브 ECU(200)에 잘못된 소프트웨어로 인해 전제의 서브 ECU(200) 또는 메인 ECU(100)에 영향을 주지 않게 되며, 단일화된 소프트웨어를 통해서 향후 제어해야 하는 셀이 추가 또는 제거되더라도 용이하게 서브 ECU(200)를 제공할 수 있으며, 또한, 서브 ECU(200)의 추가되거나 또는 제거되더라도 연계되어 있는 셀을 용이하게 제어할 수 있게 된다.
In other words, the control method of the electronic control apparatus according to the present invention can check the state of the external input terminal 300 included in the sub ECU 200 by scanning. At this time, by scanning the state of the external input terminal 300, the module 400 connected to the external input terminal 300 can be identified. Accordingly, the sub-ECU 200 can input the unified software into the sub-ECU 200 so that each connected module 400 can be easily controlled. By using the unified software, it is possible to prevent a malfunction of the sub ECU 200 or the main ECU 100 due to erroneous software in one sub ECU 200, and a cell to be controlled in the future through the unified software It is possible to easily provide the sub ECU 200 even if the sub ECU 200 is added or removed and also to easily control the connected cells even if the sub ECU 200 is added or removed.

이상과 같이 본 발명에서는 구체적인 구성 소자 등과 같은 특정 사항들과 한정된 실시예 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것 일 뿐, 본 발명은 상기의 일 실시예에 한정되는 것이 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허 청구 범위뿐 아니라 이 특허 청구 범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.
Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

100 : 메인 ECU(Electronic Control Unit)
200 : 서브 ECU
300 : 외부 입력 단자
400 : 모듈
100: main ECU (Electronic Control Unit)
200: Sub ECU
300: External input terminal
400: module

Claims (9)

모듈과 연결되는 외부 입력 단자를 각각 포함하고 단일화된 소프트웨어가 각각 입력되는 적어도 하나 이상의 서브 ECU(Electronic Control Unit)를 포함하는 메인 ECU;
를 포함하되,
상기 서브 ECU 각각은, 포함되어 있는 상기 외부 입력 단자를 스캔하여 해당 서브 ECU에 연결되어 있는 상기 모듈을 식별하고, 상기 식별한 모듈을 상기 단일화된 소프트웨어가 제어하는 것을 특징으로 하는 전자 제어 장치.
A main ECU including at least one sub-ECU (Electronic Control Unit), each of which includes an external input terminal connected to the module and to which unified software is inputted;
, ≪ / RTI &
Wherein each of the sub-ECUs scans the included external input terminal to identify the module connected to the sub-ECU, and the unified software controls the identified module.
제 1항에 있어서,
상기 서브 ECU는
상기 외부 입력 단자의 상태가 액티브 HI(Active High) 또는 액티브 LOW(Active Low) 중 어느 하나로 정해져 있는 것을 특징으로 하는 전자 제어 장치.
The method according to claim 1,
The sub-
Wherein the state of the external input terminal is determined to be one of active HI (active high) and active low (active low).
메인 ECU(Electronic Control Unit) 및 상기 메인 ECU에 연결되어 있는 적어도 하나 이상의 서브 ECU를 포함하여 구성되는 전자 제어 장치의 제어 방법에 있어서,
서브 ECU를 자동 리셋하는 POR(Power On Reset)단계;
상기 POR 단계에서 리셋한 서브 ECU를 초기화하는 초기화 단계;
상기 서브 ECU에 포함하여 구성되는 적어도 하나 이상의 외부 입력 단자를 스캔하여 상태를 확인하는 확인 단계;
상기 확인 단계에서 확인된 상기 외부 입력 단자의 상태에 따라 상기 외부 입력 단자에 연결된 각각의 서브 ECU에 맞게 단일화된 소프트웨어를 입력하는 입력 단계; 및
상기 입력 단계에서 단일화된 소프트웨어가 입력된 상기 서브 ECU를 통해 상기 서브 ECU가 연결되어 있는 상기 메인 ECU가 탑재된 장치를 제어하는 제어 단계;
로 이루어지는 것을 특징으로 하는 전자 제어 장치의 제어 방법.
A control method of an electronic control unit comprising a main ECU (Electronic Control Unit) and at least one sub ECU connected to the main ECU,
A power on reset (POR) step of automatically resetting the sub ECU;
An initializing step of initializing a sub-ECU reset in the POR step;
A checking step of scanning at least one external input terminal included in the sub ECU to check the state;
An input step of inputting unified software corresponding to each sub ECU connected to the external input terminal according to the state of the external input terminal identified in the checking step; And
A control step of controlling a device on which the main ECU connected with the sub ECU is mounted through the sub ECU to which the software unified in the input step is input;
And a control unit for controlling the electronic control unit.
제 3항에 있어서,
상기 확인 단계는
소정 시간 동안 상기 서브 ECU의 외부 입력 단자를 소정 횟수로 반복하여 스캔하는 스캔 단계;
상기 스캔 단계에서 소정 횟수로 반복하여 스캔한 상기 서브 ECU의 외부 입력 단자가 적어도 50% 이상 액티브 HI(Active High) 상태인지 판단하는 액티브 HI 판단 단계;
상기 액티브 HI 판단 단계에서 상기 서브 ECU의 외부 입력 단자가 적어도 50% 이상 액티브 HI인 경우, 상기 서브 ECU가 탑재되어 있는 장치의 제어를 제 1 서브 ECU로 결정하는 제 1 서브 ECU 결정 단계;
로 이루어지는 것을 특징으로 하는 전자 제어 장치의 제어 방법.
The method of claim 3,
The checking step
A scan step of repeatedly scanning the external input terminal of the sub ECU for a predetermined number of times for a predetermined time;
An active HI determination step of determining whether the external input terminal of the sub ECU repeatedly scanned a predetermined number of times in the scanning step is at least 50% active HI (active high) state;
A first sub-ECU determination step of, when the external input terminal of the sub ECU is at least 50% active HI in the active HI determination step, determining the control of the device on which the sub ECU is mounted as the first sub ECU;
And a control unit for controlling the electronic control unit.
제 4항에 있어서,
상기 전자 제어 장치의 제어 방법은
상기 액티브 HI 판단 단계에서 상기 서브 ECU의 외부 입력 단자가 50% 미만으로 액티브 HI인 경우, 상기 서브 ECU가 탑재되어 있는 장치의 제어를 제 2 서브 ECU로 결정하는 제 2 서브 ECU 결정 단계를 포함하여 수행하는 것을 특징으로 하는 전자 제어 장치의 제어 방법.
5. The method of claim 4,
The control method of the electronic control device
And a second sub-ECU determination step of, when the external input terminal of the sub-ECU is less than 50% active HI, determining the control of the device on which the sub-ECU is mounted as the second sub-ECU in the active HI determination step The control method comprising the steps of:
제 4항에 있어서,
상기 소정 시간은
100
Figure 112018094429179-pat00005
~ 10ms 중 선택되는 어느 한 시간인 것을 특징으로 하는 전자 제어 장치의 제어 방법.
5. The method of claim 4,
The predetermined time
100
Figure 112018094429179-pat00005
To 10 ms. The electronic control apparatus according to claim 1,
제 4항에 있어서,
상기 소정 횟수는 적어도 2회 이상인 것을 특징으로 하는 전자 제어 장치의 제어 방법.
5. The method of claim 4,
Wherein the predetermined number of times is at least two times.
제 4항에 있어서,
상기 제 1 서브 ECU는
입력 단자를 통해 액티브 HI(Active High)상태이며, 내부 풀업(Pull-Up) 저항이 설정되어 있는 것을 특징으로 하는 전자 제어 장치의 제어 방법.
5. The method of claim 4,
The first sub-ECU
And an active HI (Active High) state through an input terminal, wherein an internal pull-up resistance is set.
제 5항에 있어서,
상기 제 2 서브 ECU는
입력 단자를 통해 액티브 LO(Active Low)상태이며, 외부 풀다운(Pull-Down) 저항이 설정되어 있는 것을 특징으로 하는 전자 제어 장치의 제어 방법.
6. The method of claim 5,
The second sub-ECU
And an external pull-down resistor is set in an active low state through an input terminal.
KR1020120049540A 2012-05-10 2012-05-10 Electronic Control Unit and control method KR101938635B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120049540A KR101938635B1 (en) 2012-05-10 2012-05-10 Electronic Control Unit and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120049540A KR101938635B1 (en) 2012-05-10 2012-05-10 Electronic Control Unit and control method

Publications (2)

Publication Number Publication Date
KR20130125913A KR20130125913A (en) 2013-11-20
KR101938635B1 true KR101938635B1 (en) 2019-01-15

Family

ID=49854115

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120049540A KR101938635B1 (en) 2012-05-10 2012-05-10 Electronic Control Unit and control method

Country Status (1)

Country Link
KR (1) KR101938635B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001136181A (en) 1999-11-09 2001-05-18 Yanmar Agricult Equip Co Ltd On-vehicle controller
JP2007022300A (en) 2005-07-15 2007-02-01 Sumitomo Electric Ind Ltd Apparatus and method for distributing control program and computer program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001136181A (en) 1999-11-09 2001-05-18 Yanmar Agricult Equip Co Ltd On-vehicle controller
JP2007022300A (en) 2005-07-15 2007-02-01 Sumitomo Electric Ind Ltd Apparatus and method for distributing control program and computer program

Also Published As

Publication number Publication date
KR20130125913A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN109814552B (en) Vehicle-mounted control unit, and automatic vehicle driving method and device based on FPGA
US11271965B2 (en) Security system for electronic equipment
US7617027B2 (en) System for failure safety control between controllers of hybrid vehicle
US10581739B2 (en) System for verification of unregistered device based on information of Ethernet switch and method for the same
CN103168292B (en) Method for monitoring at least two microcontrollers
US9515906B2 (en) Transceiver integrated circuit device and method of operation thereof
US10594587B2 (en) Operation method of communication node for diagnosing vehicle network
CN110971453B (en) Network topology determination method and device, vehicle network topology structure and vehicle
CN103838189A (en) CAN communication monitoring protection device and vehicle
JP5541246B2 (en) Electronic control unit
CN104683126B (en) Network management based on CAN
US20090210171A1 (en) Monitoring device and monitoring method for a sensor, and sensor
CN110569207A (en) Interface multiplexing device and vehicle-mounted equipment
CN103872393A (en) Dynamic wire scheduling of communication bus and method for executing wire scheduling
KR20100020253A (en) Monitoring apparatus for message transmission in network for a vehicle
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
KR101938635B1 (en) Electronic Control Unit and control method
KR20150031226A (en) Sensor arrangement for an electric/electronic architecture and associated electric/electronic architecture for a vehicle
CN110574027B (en) Vehicle control system verification method and verification device and control device
US20190305983A1 (en) Method and apparatus for configuring backup path in vehicle network
JP6979630B2 (en) Monitoring equipment, monitoring methods and programs
US20220215702A1 (en) Method for diagnosing a slave computer communicating with a master computer
US8365037B2 (en) Vehicle parameter infrastructure security strategy
CN104899017B (en) Electronic system, circuit breaker, and method for generating a deviation indicator
US8880753B2 (en) Vehicle electronic controller for automatically switching between a port being suspended based on a mode of an internal oscillation circuit

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant