KR102007246B1 - Method and Apparatus for Checking Operation of Watchdog Detection - Google Patents

Method and Apparatus for Checking Operation of Watchdog Detection Download PDF

Info

Publication number
KR102007246B1
KR102007246B1 KR1020120139543A KR20120139543A KR102007246B1 KR 102007246 B1 KR102007246 B1 KR 102007246B1 KR 1020120139543 A KR1020120139543 A KR 1020120139543A KR 20120139543 A KR20120139543 A KR 20120139543A KR 102007246 B1 KR102007246 B1 KR 102007246B1
Authority
KR
South Korea
Prior art keywords
watchdog
control unit
unit
power steering
micro control
Prior art date
Application number
KR1020120139543A
Other languages
Korean (ko)
Other versions
KR20140071687A (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 KR1020120139543A priority Critical patent/KR102007246B1/en
Publication of KR20140071687A publication Critical patent/KR20140071687A/en
Application granted granted Critical
Publication of KR102007246B1 publication Critical patent/KR102007246B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0457Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
    • B62D5/0481Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such monitoring the steering system, e.g. failures
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • B60W2050/021Means for detecting failure or malfunction
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2300/00Purposes or special features of road vehicle drive control systems
    • B60Y2300/02Control of vehicle driving stability
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2306/00Other features of vehicle sub-units
    • B60Y2306/13Failsafe arrangements

Abstract

본 발명은 상기한 문제점을 해결하기 위하여 안출된 것으로서, 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 전원을 오프 시켜 전동식 파워 스티어링 장치의 작동을 중지하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하여 와치독 감지 기능이 정상적으로 작동하는지 여부를 확인할 수 있는 와치독 감지 작동 확인 방법 및 장치에 관한 것이다. 본 발명의 바람직한 실시예에 따른 와치독 감지 작동 확인 방법은, 차량의 전동식 파워 스티어링(MDPS, Motor Driven Power Steering) 장치에서 마이크로 컨트롤 유니트(MCU, Micro Control Unit)의 와치독(Watchdog) 감지 기능이 정상적으로 작동하는지 확인하는 방법에 있어서, 상기 전동식 파워 스티어링의 점화(Ignition)가 오프(OFF)되면 상기 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시하고 현재 키사이클의 데이터를 저장하는 (a)단계; 상기 (a)단계 후, 상기 마이크로 컨트롤 유니트의 전원을 오프하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하는 (b)단계; 및 상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 이용하여 상기 와치독 감지 기능이 정상적으로 작동하는지 확인하는 (c)단계를 포함할 수 있다.The present invention has been made to solve the above problems, the watchdog detection by stopping the watchdog refresh without stopping the operation of the electric power steering device by turning off the power of the micro control unit of the electric power steering device The present invention relates to a watchdog detection operation checking method and apparatus for checking whether a function is operating normally. Watchdog detection operation check method according to a preferred embodiment of the present invention, the watchdog detection function of the micro control unit (MCU, Micro Control Unit) in the motor powered power steering (MDPS) of the vehicle A method of checking whether the electric power steering is turned off, the method comprising: (a) performing a power down test of the electric power steering device and storing data of a current key cycle when the ignition of the electric power steering is turned off; (B) stopping the watchdog refresh without turning off the power of the micro control unit after the step (a); And (c) checking whether the watchdog detection function is normally operated by using the reset of the microcontrol unit and whether the power of the microcontrol unit is turned off.

Description

와치독 감지 작동 확인 방법 및 장치{Method and Apparatus for Checking Operation of Watchdog Detection}Method and Apparatus for Checking Operation of Watchdog Detection}

본 발명은 와치독 감지 작동 확인 방법 및 장치에 관한 것이다. 보다 상세하게는 본 발명은 전동식 파워 스티어링 장치의 작동에 영향 없이 와치독(Watchdog) 감지 기능이 정상적으로 작동하는지 여부를 확인할 수 있는 와치독 감지 작동 확인 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for checking watchdog detection operation. More particularly, the present invention relates to a watchdog detection operation checking method and apparatus capable of checking whether a watchdog detection function is normally operated without affecting the operation of the electric power steering apparatus.

현재 양산되는 대부분의 전동식 파워 스티어링 장치(MDPS, Motor Driven Power Steering)는 전자적으로 제어되며, 이러한 전자적 제어의 중요한 부분이 마이크로 컨트롤 유니트(MCU, Micro Control Unit)에서 수행된다.Most motorized power steering (MDPS) currently in production is electronically controlled, and an important part of this electronic control is performed in a micro control unit (MCU).

따라서, 마이크로 컨트롤 유니트의 고장이 발생하는 경우에는 자동으로 핸들이 조향 되는 등으로 차량, 운전자 및 탑승자에게 치명적인 결과를 초래할 수 있다.Therefore, when a failure of the micro control unit occurs, the steering wheel may be automatically steered, which may cause fatal results for the vehicle, the driver, and the occupant.

따라서 최근에는 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 고장을 감지할 수 있는 방법이 나오고 있으며 대표적이며 일반적인 기술이 와치독(Watchdog) 기술이다.Therefore, a method for detecting a failure of the micro control unit of the electric power steering device has recently emerged, and a typical and common technique is a watchdog technology.

현재 와치독 기술은 와치독 기능이 잘 작동되고 있는지 확인하기 위해서는 마이크로 컨트롤 유니트의 기능이 정지되어야 하며, 이는 곧 전동식 파워 스티어링 작동이 중지되어야 하는 문제가 있다.Current watchdog technology requires the microcontrol unit to be shut down in order to ensure that the watchdog function is working properly.

따라서 종래의 와치독 기술은 마이크로 컨트롤 유니트의 고장 발생 여부를 감지하는 와치독의 감지 기능이 정상적으로 작동되고 있다는 가정하에 특별한 검증없이 사용하고 있는 문제점이 있다. 즉, 와치독 감지 기능 자체에 문제가 발생한 경우, 마이크로 컨트롤 유니트 고장 발생을 검출하지 못하여 치명적인 사고를 초래할 수 있다.Therefore, the conventional watchdog technology has a problem in that it is used without special verification under the assumption that the watchdog detection function that detects a failure of the micro control unit is normally operated. That is, when a problem occurs in the watchdog detection function itself, a failure of the microcontrol unit may not be detected, which may cause a fatal accident.

본 발명은 상기한 문제점을 해결하기 위하여 안출된 것으로서, 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 전원을 오프 시켜 전동식 파워 스티어링 장치의 작동을 중지하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하여 와치독 감지 기능이 정상적으로 작동하는지 여부를 확인할 수 있는 와치독 감지 작동 확인 방법 및 장치에 관한 것이다.The present invention has been made to solve the above problems, the watchdog detection by stopping the watchdog refresh without stopping the operation of the electric power steering device by turning off the power of the micro control unit of the electric power steering device The present invention relates to a watchdog detection operation checking method and apparatus for checking whether a function is operating normally.

상기한 문제점을 해결하기 위한 와치독 감지 작동 확인 방법은, 차량의 전동식 파워 스티어링(MDPS, Motor Driven Power Steering) 장치에서 마이크로 컨트롤 유니트(MCU, Micro Control Unit)의 와치독(Watchdog) 감지 기능이 정상적으로 작동하는지 확인하는 방법에 있어서, 상기 전동식 파워 스티어링의 점화(Ignition)가 오프(OFF)되면 상기 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시하고 현재 키사이클의 데이터를 저장하는 (a)단계; 상기 (a)단계 후, 상기 마이크로 컨트롤 유니트의 전원을 오프하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하는 (b)단계; 및 상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 이용하여 상기 와치독 감지 기능이 정상적으로 작동하는지 확인하는 (c)단계를 포함할 수 있다.Watchdog detection operation check method for solving the above problems, the watchdog detection function of the micro control unit (MCU) in the motor driven power steering (MDPS) device of the vehicle is normally A method of verifying operation, the method comprising: performing power down test of the electric power steering device when the ignition of the electric power steering is turned off and storing data of a current key cycle; (B) stopping the watchdog refresh without turning off the power of the micro control unit after the step (a); And (c) checking whether the watchdog detection function is normally operated by using the reset of the microcontrol unit and whether the power of the microcontrol unit is turned off.

바람직하게는, 상기 (c)단계는, 상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는 경우 상기 와치독의 감지 기능이 정상인 것으로 확인할 수 있다.Preferably, in step (c), when the reset of the micro control unit occurs and the power of the micro control unit is turned off, the watchdog detection function may be confirmed to be normal.

바람직하게는, 상기 (c)단계는, 상기 마이크로 컨트롤 유니트의 리셋이 발생하지 않아 상기 마이크로 컨트롤 유니트의 전원이 오프되지 않는 경우, 상기 와치독의 감지 기능이 비정상인 것으로 확인할 수 있다.Preferably, in step (c), when the reset of the micro control unit does not occur and the power of the micro control unit is not turned off, the watchdog detection function may be determined to be abnormal.

바람직하게는, 상기 (c)단계는, 상기 와치독의 감지 기능이 비정상인 것으로 확인된 정보를 비휘발성 메모리에 저장하고, 상기 마이크로 컨트롤 유니트는 상기 와치독에 의한 전원 오프가 아닌 자가적으로 전원을 오프하여 상기 전동식 파워 스티어링 장치의 동작을 오프할 수 있다.Preferably, in the step (c), the watchdog stores information that the detection function of the watchdog is abnormal in a nonvolatile memory, and the micro control unit is powered by itself rather than powered off by the watchdog. By turning off the operation of the electric power steering device can be turned off.

바람직하게는, 상기 전동식 파워 스티어링의 점화가 온(ON)되어 다음(Next) 키사이클이 시작되면 상기 비휘발성 메모리에 저장된 정보를 획득하여 이전 키사이클에서 상기 와치독의 감지 기능이 비정상적으로 작동한 경우 페일 세이프(Fail Safe)를 동작하는 (d)단계를 더 포함할 수 있다.Preferably, when the ignition of the electric power steering is turned on and the next key cycle is started, information stored in the nonvolatile memory is acquired so that the watchdog detects abnormally in the previous key cycle. In this case, the method may further include (d) operating a fail safe.

상기한 문제점을 해결하기 위한 와치독 감지 작동 확인 장치는 차량의 전동식 파워 스티어링(MDPS, Motor Driven Power Steering) 장치에서 마이크로 컨트롤 유니트(MCU, Micro Control Unit)의 와치독(Watchdog) 감지 기능이 정상적으로 작동하는지 확인하는 장치에 있어서, 상기 전동식 파워 스티어링의 점화(Ignition)가 오프(OFF)되면 상기 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시하고 현재 키사이클의 데이터를 저장하는 테스트부; 상기 마이크로 컨트롤 유니트의 전원을 오프하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하는 중단부; 및 상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 이용하여 상기 와치독 감지 기능이 정상적으로 작동하는지 확인하는 확인부를 포함할 수 있다.The watchdog detection operation check device for solving the above problems is that the watchdog detection function of the micro control unit (MCU) is normally operated by the motor driven power steering (MDPS) device of the vehicle. An apparatus for checking whether or not, comprising: a test unit configured to perform a power down test of the electric power steering device and to store current key cycle data when ignition of the electric power steering is turned off; A stop unit for stopping watchdog refresh without turning off the micro control unit; And a check unit for checking whether the watchdog detection function is normally operated by using the reset of the microcontrol unit and whether the power of the microcontrol unit is turned off.

바람직하게는, 상기 확인부는, 상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는 경우 상기 와치독의 감지 기능이 정상인 것으로 확인할 수 있다.Preferably, the check unit, when the reset of the micro-control unit occurs, the power of the micro-control unit may be confirmed that the detection function of the watchdog is normal.

바람직하게는, 상기 확인부는, 상기 마이크로 컨트롤 유니트의 리셋이 발생하지 않아 상기 마이크로 컨트롤 유니트의 전원이 오프되지 않는 경우, 상기 와치독의 감지 기능이 비정상인 것으로 확인할 수 있다.Preferably, the checking unit, when the reset of the micro control unit does not occur, the power of the micro control unit is not turned off, it may be confirmed that the watchdog detection function is abnormal.

바람직하게는, 상기 확인부는, 상기 와치독의 감지 기능이 비정상인 것으로 확인된 정보를 비휘발성 메모리에 저장하고, 상기 마이크로 컨트롤 유니트는 상기 와치독에 의한 전원 오프가 아닌 자가적으로 전원을 오프하여 상기 전동식 파워 스티어링 장치의 동작을 오프할 수 있다.Preferably, the confirmation unit stores the information that the watchdog detection function is confirmed to be abnormal in a nonvolatile memory, the micro-control unit is to turn off the power by itself rather than the power off by the watchdog The operation of the electric power steering device may be turned off.

바람직하게는, 상기 전동식 파워 스티어링의 점화가 온(ON)되어 다음(Next) 키사이클이 시작되면 상기 비휘발성 메모리에 저장된 정보를 획득하여 이전 키사이클에서 상기 와치독의 감지 기능이 비정상적으로 작동한 경우 페일세이프(Fail Safe)를 동작하는 제어부를 더 포함할 수 있다.Preferably, when the ignition of the electric power steering is turned on and the next key cycle is started, information stored in the nonvolatile memory is acquired so that the watchdog detects abnormally in the previous key cycle. In this case, the controller may further include a controller configured to operate a fail safe.

본 발명은 전동식 파워 스티어링 장치의 파워 오프시 마다 와치독 감지 기능이 정상적으로 작동되는지 여부를 확인할 수 있어 차량 운행의 안정성을 향상시킬 수 있다.The present invention can determine whether the watchdog detection function is normally operated at every power-off of the electric power steering device, thereby improving stability of the vehicle driving.

또한, 본 발명은 전동식 파워 스티어링 장치의 작동에 영향 없이 와치독 감지 기능을 정상 작동할 수 있다.In addition, the present invention can operate the watchdog detection function normally without affecting the operation of the electric power steering device.

도 1은 본 발명의 바람직한 실시예에 와치독 감지 작동 확인 장치에 관한 블록도이다.
도 2는 본 발명의 바람직한 실시예에 따른 와치독 감지 작동 확인 방법에 관한 흐름도이다.
1 is a block diagram of a watchdog detection operation confirmation device in a preferred embodiment of the present invention.
2 is a flowchart illustrating a watchdog detection operation confirmation method according to an exemplary embodiment of the present invention.

이하에서는 도면을 참조하여 본 발명의 바람직한 실시예들을 상세히 설명한다. 이하의 설명 및 첨부된 도면들에서 실질적으로 동일한 구성요소들은 각각 동일한 부호들로 나타냄으로써 중복 설명을 생략하기로 한다. 또한 본 발명을 설명함에 있어 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, substantially identical components are denoted by the same reference numerals, and thus redundant description will be omitted. In addition, in the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

어떤 구성요소가 다른 구성요소에 “연결되어”있다거나 “접속되어”있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 “직접 연결되어”있다거나 “직접 접속되어”있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.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 exist in between. Should be. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함될 수 있다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.
In this specification, the singular may also include the plural unless specifically stated otherwise in the phrase. As used herein, “comprises” and / or “comprising” refers to the presence of one or more other components, steps, operations and / or elements. Or does not exclude additions.

도 1은 본 발명의 바람직한 실시예에 와치독 감지 작동 확인 장치에 관한 블록도이다.1 is a block diagram of a watchdog detection operation confirmation device in a preferred embodiment of the present invention.

도 1을 참조하면, 본 발명의 바람직한 실시예에 와치독 감지 작동 확인 장치(100)는 테스트부(110), 중단부(120) 및 확인부(130)를 포함하며 제어부(140)를 더 포함할 수 있다.Referring to FIG. 1, the watchdog detection operation confirming apparatus 100 according to a preferred embodiment of the present invention includes a test unit 110, a stop unit 120, and a check unit 130, and further includes a control unit 140. can do.

테스트부(110)는 운전자가 운전을 마치고, 전동식 파워 스티어링(MDPS, Motor Driven Power Steering)장치의 점화(Ignition)가 오프(OFF)되면, 전동식 파워 스티어링 장치의 파워 다운(Power Down) 테스트를 실시하고 현재 키사이클의 데이터를 저장한다.When the driver finishes driving and the ignition of the motor driven power steering (MDPS) device is turned off, the test unit 110 performs a power down test of the electric power steering device. And store the data for the current keycycle.

주행 상황에서는 점화를 켠 상태로, 점화가 켜지면 전동식 파워 스티어링 장치가 정상적으로 운전자의 조향을 보조한다.In driving conditions, with the ignition on, the electric power steering normally assists the driver's steering when the ignition is on.

통상적으로 점화가 오프되면 테스트부(110)에서 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시하고 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 전원을 오프하여 작동을 중지한다.In general, when the ignition is turned off, the test unit 110 performs a power down test of the electric power steering device and stops the operation by turning off the power of the micro control unit of the electric power steering device.

그러나, 본 발명에 따른 와치독 감지 작동 확인 장치(100)는 중단부(120)가 테스트부(110)에서 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시한 후 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 전원을 오프 직접적으로 오프(OFF)하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단한다.However, the watchdog detection operation confirming device 100 according to the present invention, after the stopper 120 performs the power down test of the electric power steering device in the test unit 110, turns off the power of the micro control unit of the electric power steering device. Off Stops Watchdog Refresh without turning off directly.

확인부(130)는 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 리셋이 발생하여 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 이용하여 와치독 감지 지능이 정상적으로 작동하는지 확인한다.The verification unit 130 checks whether the watchdog detection intelligence is normally operated by using the reset of the micro control unit of the electric power steering device and turning off the power of the micro control unit.

구체적으로 운전자가 점화를 오프하고 와치독 리플레쉬를 중단한 후, 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 리셋(Reset)이 발생하면서 전동식 파워 스티어링의 마이크로 컨트롤 유니트의 전원이 오프(OFF)되는 경우, 확인부(130)는 와치독의 감지 기능이 정상인 것으로 확인할 수 있다.Specifically, when the driver turns off the ignition and stops the watchdog refreshing, the microcontrol unit of the electric power steering is turned off while the reset of the microcontrol unit of the electric power steering occurs. The checker 130 may check that the watchdog detects the function normally.

반대로 운전자가 점화를 오프하고 와치독 리플레쉬를 중단한 후, 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 리셋(Reset)이 발생하지 않아 전동식 파워 스티어링의 마이크로 컨트롤 유니트의 전원이 오프(OFF)되지 않는 경우, 확인부(130)는 와치독의 감지 기능이 비정상인 것으로 확인할 수 있다.On the contrary, after the driver turns off the ignition and stops the watchdog refreshing, the microcontrol unit of the electric power steering does not reset because the microcontrol unit of the electric power steering does not turn off. The verification unit 130 may check that the watchdog detects an abnormal function.

확인부(130)는 와치독의 감지 기능이 비정상인 것으로 확인한 경우, 와치독의 감지 기능이 비정상이라는 정보를 비휘발성 메모리에 저장할 수 있다.When confirming that the watchdog detection function is abnormal, the identification unit 130 may store information indicating that the watchdog detection function is abnormal in the nonvolatile memory.

또한, 확인부(130)는 와치독에 의한 전원 오프(OFF)가 불가하므로, 마이크로 컨트롤 유니트가 스스로 전원을 오프하여 전동식 파워 스티어링 장치의 작동을 종료하도록 마이크로 컨트롤 유니트에 신호를 보낼 수 있다.In addition, since the check unit 130 cannot turn off the power by the watchdog, the micro control unit may send a signal to the micro control unit so that the micro control unit turns off the power by itself and terminates the operation of the electric power steering device.

또한, 확인부(130)는 중단부(120)에서 와치독 리플레쉬를 중단하여 마이크로 컨트롤 유니트의 리셋이 발생하여 전원이 오프되는지 여부를 보다 정확하게 확인하기 위하여 마이크로 컨트롤 유니트의 전원이 오프될 수 있는 충분한 시간 딜레이(Delay)를 가질 수 있다.In addition, the checker 130 may stop the watchdog refresh at the stopper 120 so that the microcontroller may be turned off to more accurately check whether the power is turned off due to the reset of the microcontroller. It may have a sufficient time delay.

제어부(140)는 전동식 파워 스티어링 장치의 점화가 온(ON)되면 비휘발성 메모리에 저장된 정보를 획득하여 이전 키사이클에서 와치독 감지가 정상적으로 작동했는지 확인하여, 이전 키사이클에서 와치독 감지가 비정상적인 경우, 페일 세이프를 동작시키도록 차량을 제어할 수 있다.
When the ignition of the electric power steering device is turned on, the controller 140 acquires the information stored in the nonvolatile memory, checks whether the watchdog detection is normally performed in the previous key cycle, and if the watchdog detection is abnormal in the previous keycycle. The vehicle may be controlled to operate the fail safe.

도 2는 본 발명의 바람직한 실시예에 따른 와치독 감지 작동 확인 방법에 관한 흐름도이다.2 is a flowchart illustrating a watchdog detection operation confirmation method according to an exemplary embodiment of the present invention.

도 2를 참조하여 본 발명의 바람직한 실시예에 따른 와치독 감지 작동 확인 방법을 설명하면, 테스트부(110)가 전동식 파워 스티어링 장치의 점화가 오프되면 전동식 파워 스티어링 장치의 각종 파워다운 테스트를 실시하고 현재 키사이클의 데이터를 저장한다(S205 단계 및 S210단계),Referring to Figure 2 describes the watchdog detection operation check method according to a preferred embodiment of the present invention, the test unit 110 performs a variety of power-down test of the electric power steering device when the ignition of the electric power steering device is turned off Store the data of the current keycycle (steps S205 and S210);

중단부(120)가 S210 단계를 수행한 후, 와치독 리플레쉬를 중단한다(S215 단계).After the stopper 120 performs step S210, the watchdog refresh is stopped (step S215).

확인부(130)가 와치독 리플레쉬 중단으로 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 리셋 발생으로 전동식 파워 스티어링 장치의 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 확인한다(S220 단계).The verification unit 130 determines whether the power of the micro control unit of the electric power steering device is turned off by the reset occurrence of the micro control unit of the electric power steering device due to the stop of the watchdog refresh (step S220).

확인부(130)는 마이크로 컨트롤 유니트의 리셋 발생으로 전원이 오프되면 와치독 감지 기능이 정상인 것으로 확인할 수 있다(S225 단계).The checker 130 may check that the watchdog detection function is normal when the power is turned off due to the reset of the micro control unit (step S225).

반면에 확인부(130)는 마이크로 컨트롤 유니트의 리셋 발생으로 전원이 오프되지 않으면 와치독 감지 기능이 비정상인 것으로 확인할 수 있다(S230 단계).On the other hand, the check unit 130 may check that the watchdog detection function is abnormal when the power is not turned off due to the reset of the micro control unit (step S230).

확인부(130)는 와치독 감지 기능이 비정상인 것으로 확인한 경우, 비정상이라는 정보를 비활성메모리에 저장할 수 있다(S235 단계). 또한, 확인부(130)는 와치독 감지 기능이 정상인 것으로 확인한 경우에도 정상이라는 정보를 비활성메모리에 저장할 수도 있다.When confirming that the watchdog detection function is abnormal, the verification unit 130 may store information indicating abnormality in the inactive memory (step S235). In addition, the checker 130 may store information indicating that the watchdog detection function is normal in the inactive memory even when the watchdog detection function is confirmed to be normal.

확인부(130)는 마이크로 컨트롤 유니트가 자가적으로 전원을 오프하여 전동식 파워 스티어링 장치의 작동을 종료할 수 있도록 마이크로 컨트롤 유니트에 신호를 보낼 수 있다(S240 단계).The verification unit 130 may send a signal to the micro control unit so that the micro control unit may turn off the power by itself to terminate the operation of the electric power steering apparatus (S240).

제어부(140)는 전동식 파워 스티어링 장치가 점화 온(ON)되면 비활성메모리에 저장된 정보를 획득하여 이전 키 사이클에서 와치독 감지 기능이 정상적인지 비정상적인지를 확인하고, 비정상인 경우 페일 세이프를 작동할 수 있다(S245 단계 내지 S255 단계).When the electric power steering device is ignited on, the controller 140 may acquire information stored in the inactive memory to check whether the watchdog detection function is normal or abnormal in a previous key cycle, and operate fail safe if abnormal. (Step S245 to Step S255).

본 발명에 따른 와치독 감지 작동 확인 방법 및 장치는 전동식 파워 스티어링 장치의 파워 오프시 마다 와치독 감지 기능이 정상적으로 작동되는지 여부를 확인할 수 있어 차량 운행의 안정성을 향상시킬 수 있다.The method and apparatus for confirming watchdog detection operation according to the present invention can confirm whether the watchdog detection function is normally operated at every power-off of the electric power steering device, thereby improving stability of vehicle driving.

또한, 본 발명에 따른 와치독 감지 작동 확인 방법 및 장치는 전동식 파워 스티어링 장치의 작동에 영향 없이 와치독 감지 기능을 정상 작동할 수 있다.
In addition, the watchdog detection operation check method and apparatus according to the present invention can operate the watchdog detection function normally without affecting the operation of the electric power steering device.

본 발명의 바람직한 실시예에 와치독 감지 작동 확인 장치(100)의 블록도는 발명의 원리를 구체화하는 예시적인 개념적 관점을 나타내는 것으로 이해되어야 한다. 이와 유사하게, 모든 흐름도는 컴퓨터가 판독 가능한 매체에 실질적으로 나타낼 수 있고 컴퓨터 또는 프로세서가 명백히 도시되었는지 여부를 불문하고 컴퓨터 또는 프로세서에 의해 수행되는 다양한 프로세스를 나타내는 것으로 이해되어야 한다.It is to be understood that the block diagram of the watchdog sensing actuation confirmation device 100 in the preferred embodiment of the present invention represents an exemplary conceptual aspect embodying the principles of the invention. Similarly, all flowcharts are to be understood as representing various processes performed by the computer or processor, whether or not the computer is substantially represented on a readable medium and whether the computer or processor is explicitly shown.

프로세서 또는 이와 유사한 개념으로 표시된 기능 블록을 포함하는 도면에 도시된 다양한 소자의 기능은 전용 하드웨어뿐만 아니라 적절한 소프트웨어와 관련하여 소프트웨어를 실행할 능력을 가진 하드웨어의 사용으로 제공될 수 있다. 프로세서에 의해 제공될 때, 상기 기능은 단일 전용 프로세서, 단일 공유 프로세서 또는 복수의 개별적 프로세서에 의해 제공될 수 있고, 이들 중 일부는 공유될 수 있다. The functionality of the various elements shown in the figures, including functional blocks represented by a processor or similar concept, can be provided by the use of dedicated hardware as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functionality may be provided by a single dedicated processor, by a single shared processor or by a plurality of individual processors, some of which may be shared.

또한 프로세서, 제어 또는 이와 유사한 개념으로 제시되는 용어의 명확한 사용은 소프트웨어를 실행할 능력을 가진 하드웨어를 배타적으로 인용하여 해석되어서는 아니되고, 제한 없이 디지털 신호 프로세서(DSP) 하드웨어, 소프트웨어를 저장하기 위한 롬(ROM), 램(RAM) 및 비 휘발성 메모리를 암시적으로 포함하는 것으로 이해되어야 한다. 주지관용의 다른 하드웨어도 포함될 수 있다.In addition, the explicit use of terms presented in terms of processor, control, or similar concept should not be interpreted exclusively as a citation to hardware capable of running software, and without limitation, ROM for storing digital signal processor (DSP) hardware, software. (ROM), RAM, and non-volatile memory are to be understood to implicitly include. Other hardware for the governor may also be included.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 본 발명에 개시된 실시예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구 범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리 범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and various modifications, changes, and substitutions may be made by those skilled in the art without departing from the essential characteristics of the present invention. will be. Accordingly, the embodiments disclosed in the present invention and the accompanying drawings are not intended to limit the technical spirit of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by the embodiments and the accompanying drawings. . The scope of protection of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

Claims (10)

차량의 전동식 파워 스티어링(MDPS, Motor Driven Power Steering) 장치에서 마이크로 컨트롤 유니트(MCU, Micro Control Unit)의 와치독(Watchdog) 감지 기능이 정상적으로 작동하는지 확인하는 방법에 있어서,
상기 전동식 파워 스티어링의 점화(Ignition)가 오프(OFF)되면 상기 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시하고 현재 키사이클의 데이터를 저장하는 (a)단계;
상기 (a)단계 후, 상기 마이크로 컨트롤 유니트의 전원을 오프하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하는 (b)단계; 및
상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 이용하여 상기 와치독 감지 기능이 정상적으로 작동하는지 확인하는 (c)단계를 포함하고,
상기 (c)단계는, 상기 마이크로 컨트롤 유니트의 리셋이 발생하지 않아 상기 마이크로 컨트롤 유니트의 전원이 오프되지 않는 경우, 상기 와치독의 감지 기능이 비정상인 것으로 확인하며,
상기 (c)단계는, 상기 와치독의 감지 기능이 비정상인 것으로 확인된 정보를 비휘발성 메모리에 저장하고, 상기 마이크로 컨트롤 유니트는 상기 와치독에 의한 전원 오프가 아닌 자가적으로 전원을 오프하여 상기 전동식 파워 스티어링 장치의 동작을 오프하며,
상기 전동식 파워 스티어링의 점화가 온(ON)되어 다음(Next) 키사이클이 시작되면 상기 비휘발성 메모리에 저장된 정보를 획득하여 이전 키사이클에서 상기 와치독의 감지 기능이 비정상적으로 작동한 경우 페일세이프(Fail Safe)를 동작하는 (d)단계를 더 포함하는 것을 특징으로 하는 와치독 감지 작동 확인 방법.
In a method of checking whether the watchdog detection function of a micro control unit (MCU) is operating normally in a motor driven power steering (MDPS) device of a vehicle,
(I) performing a power down test of the electric power steering device and storing data of a current key cycle when the ignition of the electric power steering is turned OFF;
(B) stopping the watchdog refresh without turning off the power of the micro control unit after the step (a); And
(C) checking whether the watchdog detection function is normally operated by using a reset of the microcontrol unit and whether the microcontrol unit is powered off.
In the step (c), if the reset of the micro control unit does not occur and the power of the micro control unit is not turned off, the watchdog detects that the detection function is abnormal,
In the step (c), the watchdog detects information that the detection function of the watchdog is abnormal in a nonvolatile memory, and the micro control unit turns off the power by itself rather than powering off the watchdog. Off the operation of the electric power steering,
When the ignition of the electric power steering is turned ON and the next key cycle is started, information stored in the nonvolatile memory is acquired, and when the watchdog detects abnormally in the previous key cycle, a failsafe ( And (d) operating the fail safe.
제 1 항에 있어서,
상기 (c)단계는,
상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는 경우 상기 와치독의 감지 기능이 정상인 것으로 확인하는 것을 특징으로 하는 와치독 감지 작동 확인 방법.
The method of claim 1,
Step (c) is,
And checking that the watchdog detection function is normal when the microcontroller unit is reset and the power of the microcontroller unit is turned off.
삭제delete 삭제delete 삭제delete 차량의 전동식 파워 스티어링(MDPS, Motor Driven Power Steering) 장치에서 마이크로 컨트롤 유니트(MCU, Micro Control Unit)의 와치독(Watchdog) 감지 기능이 정상적으로 작동하는지 확인하는 장치에 있어서,
상기 전동식 파워 스티어링의 점화(Ignition)가 오프(OFF)되면 상기 전동식 파워 스티어링 장치의 파워 다운 테스트를 실시하고 현재 키사이클의 데이터를 저장하는 테스트부;
상기 마이크로 컨트롤 유니트의 전원을 오프하지 않고 와치독 리프레쉬(Watchdog Refresh)를 중단하는 중단부; 및
상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는지 여부를 이용하여 상기 와치독 감지 기능이 정상적으로 작동하는지 확인하는 확인부를 포함하고,
상기 확인부는, 상기 마이크로 컨트롤 유니트의 리셋이 발생하지 않아 상기 마이크로 컨트롤 유니트의 전원이 오프되지 않는 경우, 상기 와치독의 감지 기능이 비정상인 것으로 확인하며,
상기 확인부는, 상기 와치독의 감지 기능이 비정상인 것으로 확인된 정보를 비휘발성 메모리에 저장하고, 상기 마이크로 컨트롤 유니트는 상기 와치독에 의한 전원 오프가 아닌 자가적으로 전원을 오프하여 상기 전동식 파워 스티어링 장치의 동작을 오프하며,
상기 전동식 파워 스티어링의 점화가 온(ON)되어 다음(Next) 키사이클이 시작되면 상기 비휘발성 메모리에 저장된 정보를 획득하여 이전 키사이클에서 상기 와치독의 감지 기능이 비정상적으로 작동한 경우 페일세이프(Fail Safe)를 동작하는 제어부를 더 포함하는 것을 특징으로 하는 와치독 감지 작동 확인 장치.
In a device for checking whether the watchdog detection function of the micro control unit (MCU) in the motorized power steering (MDPS) device of the vehicle is operating normally,
A test unit configured to perform a power down test of the electric power steering device and to store data of a current key cycle when the ignition of the electric power steering is turned off;
A stop unit for stopping watchdog refresh without turning off the micro control unit; And
A check unit for checking whether the watchdog detection function is normally operated by using a reset of the microcontrol unit and whether the power of the microcontrol unit is turned off;
The confirmation unit, if the reset of the micro control unit does not occur, the power of the micro control unit does not turn off, and confirms that the detection function of the watchdog is abnormal,
The confirmation unit stores the information that the watchdog is detected to be abnormal in a nonvolatile memory, and the micro-control unit turns off the power by itself instead of turning off the watchdog. To turn off the device,
When the ignition of the electric power steering is turned ON and the next key cycle is started, information stored in the nonvolatile memory is acquired, and when the watchdog detects abnormally in the previous key cycle, a failsafe ( The watchdog detection operation check device further comprises a control unit for operating (Fail Safe).
제 6 항에 있어서,
상기 확인부는,
상기 마이크로 컨트롤 유니트의 리셋이 발생하여 상기 마이크로 컨트롤 유니트의 전원이 오프되는 경우 상기 와치독의 감지 기능이 정상인 것으로 확인하는 것을 특징으로 하는 와치독 감지 작동 확인 장치.
The method according to claim 6,
The verification unit,
And wherein the watchdog detection function is normal when the microcontrol unit is reset and the power of the microcontrol unit is turned off.
삭제delete 삭제delete 삭제delete
KR1020120139543A 2012-12-04 2012-12-04 Method and Apparatus for Checking Operation of Watchdog Detection KR102007246B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120139543A KR102007246B1 (en) 2012-12-04 2012-12-04 Method and Apparatus for Checking Operation of Watchdog Detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120139543A KR102007246B1 (en) 2012-12-04 2012-12-04 Method and Apparatus for Checking Operation of Watchdog Detection

Publications (2)

Publication Number Publication Date
KR20140071687A KR20140071687A (en) 2014-06-12
KR102007246B1 true KR102007246B1 (en) 2019-08-05

Family

ID=51125943

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120139543A KR102007246B1 (en) 2012-12-04 2012-12-04 Method and Apparatus for Checking Operation of Watchdog Detection

Country Status (1)

Country Link
KR (1) KR102007246B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669441B (en) * 2018-12-21 2020-05-22 雷沃重工股份有限公司 Automatic power-off control method, system and equipment
KR20210031317A (en) 2019-09-11 2021-03-19 주식회사 엘지화학 Watchdog system, method of watchdog, and battery management system comprising the watchdog system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010180776A (en) * 2009-02-05 2010-08-19 Hitachi Automotive Systems Ltd Power source control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07231489A (en) * 1994-02-17 1995-08-29 Omron Corp Controller with watchdog diagnostic function
JP3777792B2 (en) * 1998-05-06 2006-05-24 オムロン株式会社 Control device for electric power steering

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010180776A (en) * 2009-02-05 2010-08-19 Hitachi Automotive Systems Ltd Power source control device

Also Published As

Publication number Publication date
KR20140071687A (en) 2014-06-12

Similar Documents

Publication Publication Date Title
JP5163807B2 (en) Microcomputer mutual monitoring system and microcomputer mutual monitoring method
JP2009184423A (en) Vehicular electronic control unit
US10254733B2 (en) Motor control device
EP3249534B1 (en) Vehicle control device
US9221492B2 (en) Method for operating an electrical power steering mechanism
US20120254658A1 (en) Microcomputer and method of operation thereof
US10249108B2 (en) Risk-based control of a motor vehicle
CN106054852A (en) Architecture for scalable fault tolerance in integrated fail-silent and fail-operational systems
KR102007246B1 (en) Method and Apparatus for Checking Operation of Watchdog Detection
JP5094777B2 (en) In-vehicle electronic control unit
CN104029717A (en) Electric power assist steering motor sensor redundancy
JP5041290B2 (en) PROGRAMMABLE CONTROLLER AND ITS ERROR RECOVERY METHOD
JP6512065B2 (en) Electronic control unit
KR102172577B1 (en) Fault diagnostic apparatus and control method of motor driven power steering
JP2016126692A (en) Electronic control device
US10633018B2 (en) External watchdog with integrated backward regeneration support
KR101606233B1 (en) Method and detection apparatus for detecting error of sub control unit
JP6443202B2 (en) Electronic control device for vehicle
US20170199834A1 (en) Vehicle subsystem communication arbitration
JP5516509B2 (en) Program writing system
KR101166945B1 (en) Method and Circuit for Detecting Malfunction of Electronic Power Steering System
US20190176644A1 (en) Control apparatus including a key hold function of supplying power to a controller and control method thereof
KR20150121804A (en) Electronic Control Apparatus and Power Control Method for Electronic Power Steering
KR101317154B1 (en) Eps system memory check apparatus and method
KR20130003976A (en) Electronic control power steering electronic control unit and running reset processing method using the same

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