KR102232191B1 - Switch control system and method having fail safety functions - Google Patents

Switch control system and method having fail safety functions Download PDF

Info

Publication number
KR102232191B1
KR102232191B1 KR1020190164810A KR20190164810A KR102232191B1 KR 102232191 B1 KR102232191 B1 KR 102232191B1 KR 1020190164810 A KR1020190164810 A KR 1020190164810A KR 20190164810 A KR20190164810 A KR 20190164810A KR 102232191 B1 KR102232191 B1 KR 102232191B1
Authority
KR
South Korea
Prior art keywords
switch
input
fault code
unit
voltage level
Prior art date
Application number
KR1020190164810A
Other languages
Korean (ko)
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 KR1020190164810A priority Critical patent/KR102232191B1/en
Application granted granted Critical
Publication of KR102232191B1 publication Critical patent/KR102232191B1/en

Links

Images

Classifications

    • 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
    • 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/005Electro-mechanical devices, e.g. switched
    • 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
    • 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
    • B60W10/00Conjoint control of vehicle sub-units of different type or different function
    • B60W10/04Conjoint control of vehicle sub-units of different type or different function including control of propulsion units
    • B60W10/06Conjoint control of vehicle sub-units of different type or different function including control of propulsion units including control of combustion engines
    • 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
    • B60Y2306/00Other features of vehicle sub-units
    • B60Y2306/15Failure diagnostics

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Keying Circuit Devices (AREA)

Abstract

The present invention relates to a switch control system and method having a fail safety function. The switch control system comprises: a switch input collection unit for collecting, as a switch input, changed register information from a switch IC; an ADC input collection unit connected to the electrical wiring between each switch and the switch IC to collect the voltage level of each switch as an ADC input; a leakage current determination unit for storing information on the normal voltage level of the switches in advance, comparing the ADC input of the switches in a switched-off state with the normal voltage level, and determining that a leakage current has occurred in a switch if the switch for which an ADC input is lower than the normal voltage level is present; and a control unit for controlling an IPS or relay according to the switch input to turn on/off a load to be controlled, and registering the current diagnostic trouble code (DTC) of the switch in a trouble code storage unit when the leakage current determination unit determines the switch in which the leakage current has occurred. Even if a leakage current occurs intermittently due to the influence of an external environment while a vehicle is parked, the switch control system can determine a switch in which the leakage current has occurred.

Description

페일 세이프티 기능을 갖는 스위치 제어 시스템 및 방법{Switch control system and method having fail safety functions}Switch control system and method having fail safety functions

본 발명은 페일 세이프티 기능을 갖는 스위치 제어 시스템 및 방법에 관한 것이다.The present invention relates to a switch control system and method having a fail safety function.

일반적으로, 차량에는 통합 제어 유닛(Integrated Central control Unit, ICU)이 탑재되며, 통합 제어 유닛에 구비되는 스위치 IC는 차량에 탑재된 스위치들과 전기배선을 통해 연결되어 스위치들의 전압레벨을 모니터링하고, 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면, 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하도록 구비된다.In general, a vehicle is equipped with an integrated central control unit (ICU), and a switch IC provided in the integrated control unit is connected to the switches mounted on the vehicle through electrical wiring to monitor the voltage level of the switches. When there is a switch in which the voltage level fluctuates due to user manipulation, the register information of the switch is changed to a switch-on state or a switch-off state and is stored.

또한, 통합 제어 유닛의 제어기는 스위치 IC의 레지스터 정보를 기초로 스위치의 조작 여부를 확인한 다음, 해당 스위치에 대응하는 헤드램프나 도어 락, 트렁크 락 등의 제어대상 부하가 동작하도록 IPS(Intelligent Power Switch)나 릴레이를 제어하게 된다.In addition, the controller of the integrated control unit checks whether the switch is operated based on the register information of the switch IC, and then the IPS (Intelligent Power Switch) so that the loads to be controlled such as headlamps, door locks, and trunk locks corresponding to the switch are operated. ) Or relay.

이러한, 통합 제어 유닛은 차량이 시동이 오프되어 소정의 시간이 경과하면 저전력 모드로 전환되어 배터리 전원의 소모를 최소한으로 감소시키고, 특정 스위치의 조작 여부가 감지되면 정상 동작모드로 천이되는데, 정상 동작모드인 경우에는 저전력 모드에 비해 상대적으로 많은 배터리 전원이 소모될 수 있다.The integrated control unit switches to a low power mode when a predetermined time elapses after the vehicle is turned off, reducing the consumption of battery power to a minimum, and transitions to a normal operation mode when a specific switch operation is detected. In the case of the mode, a relatively large amount of battery power may be consumed compared to the low-power mode.

한편, 종래의 통합 제어 유닛은 저전력 모드인 상태에서, 수분 유입에 의해 스위치나 스위치의 전기배선에서 누설전류가 발생하게 되면, 스위치의 전압레벨이 낮아지면서 스위치 오프 상태인 스위치를 스위치 온 상태로 오인식하여 저전력 모드가 해제되어 정상 동작모드로 천이되고, 그 이후에는, 정상 동작모드에서 저전력 모드로 진입하였다가 다시 정상 동작모드로 천이되는 과정을 반복하면서, 불필요하게 배터리 전원이 소모되어 배터리 방전이 발생하는 문제점이 있다.On the other hand, in the conventional integrated control unit in a low power mode, if a leakage current occurs in the switch or electrical wiring of the switch due to moisture inflow, the voltage level of the switch is lowered and the switch in the switch-off state is misrecognized as the switch-on state. As a result, the low power mode is released and transitions to the normal operation mode. After that, the process of entering the low power mode from the normal operation mode and then transitioning to the normal operation mode is repeated, unnecessarily consuming battery power, resulting in battery discharge. There is a problem.

이러한, 수분 유입에 의한 누설전류는 차량을 주차한 상태에서, 외부 환경의 영향에 의해 간헐적으로 발생하고 저전력 모드인 상태에서 발생하므로, 정상 동작모드인 상태에서 차량 정비를 하더라도 문제를 야기한 스위치나 전기배선의 위치를 확인하기가 매우 어려운 문제점이 있다.The leakage current due to moisture inflow occurs intermittently due to the influence of the external environment while the vehicle is parked and occurs in the low power mode, so even if the vehicle is repaired in the normal operation mode, the switch or electricity that caused the problem There is a problem that it is very difficult to check the location of the wiring.

또한, 종래의 통합 제어 유닛은 스위치 IC의 레지스터 정보만을 이용하여 스위치의 조작 여부를 확인하기 때문에, 스위치 IC의 레지스터 정보가 올바른 것인지 비교 판단할 수 없으며, 스위치나 스위치 IC에 입력오류가 발생하면 스위치 입력을 확인하지 못하게 되므로, 결과적으로 제어대상 부하를 정상적으로 제어하지 못하게 되는 문제점이 있다.In addition, since the conventional integrated control unit only uses the register information of the switch IC to check whether the switch is operated or not, it cannot be compared and judged whether the register information of the switch IC is correct, and if an input error occurs in the switch or switch IC, the switch Since the input cannot be checked, as a result, there is a problem in that the load to be controlled cannot be controlled normally.

이로 인해, 사용자가 전조등 램프 스위치를 조작하여 전조등을 켜고자 하더라도 전조등이 정상적으로 켜지지 않으면서 차량 사고를 야기할 수 있고, 브레이크 램프 스위치의 스위치 입력을 인식하지 못하면서 브레이크 램프가 켜지지 않는 경우에는 후방 차량과 충돌이 발생될 수도 있다.For this reason, even if the user tries to turn on the headlight by manipulating the headlight lamp switch, the headlight may not turn on normally and cause a vehicle accident.If the brake lamp does not turn on without recognizing the switch input of the brake lamp switch, Collisions may occur.

본 발명은 상기와 같은 문제점을 감안하여 안출된 것으로, 수분 유입에 의해 누설전류가 발생한 스위치를 판정함은 물론이고, 해당 스위치에 의해 저전력 모드인 상태가 해제되지 않도록 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템 및 방법을 제공하는데 그 목적이 있다.The present invention was conceived in consideration of the above problems, as well as determining a switch in which a leakage current occurred due to inflow of moisture, and a switch control having a fail safety function that prevents the state in the low power mode from being released by the switch. Its purpose is to provide a system and method.

또한, 본 발명은 스위치 입력이 올바른 것인지 비교 판단할 수 있으며, 스위치나 스위치 IC에서 발생되는 입력오류를 판정할 수 있는 페일 세이프티 기능을 갖는 스위치 제어 시스템 및 방법을 제공하는데 그 목적이 있다.Another object of the present invention is to provide a switch control system and method having a fail safety function capable of comparing and determining whether a switch input is correct, and determining an input error occurring in a switch or a switch IC.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The objects of the present invention are not limited to the objects mentioned above, and other objects that are not mentioned will be clearly understood by those skilled in the art from the following description.

상기와 같은 목적을 달성하기 위한 본 발명은 전기배선을 통해 연결된 스위치들의 전압레벨을 모니터링하고 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 스위치 IC로부터, 변경된 레지스터 정보를 스위치 입력으로서 수집하는 스위치 입력 수집부; 각각의 스위치와 스위치 IC 사이의 전기배선에 연결되어 각 스위치의 전압레벨을 ADC 입력으로서 수집하는 ADC 입력 수집부; 스위치들의 정상 전압레벨에 대한 정보가 사전에 저장되고, 스위치 오프 상태인 스위치들의 ADC 입력과 정상 전압레벨을 비교하여 ADC 입력이 정상 전압레벨보다 낮은 스위치가 존재하면, 해당 스위치에서 누설전류가 발생한 것으로 판정하는 누설전류 판정부; 및 상기 스위치 입력 수집부에서 수집되는 스위치 입력에 따라 IPS 또는 릴레이를 제어하여 제어대상 부하를 온오프하고, 상기 누설전류 판정부로부터 누설전류가 발생한 스위치가 판정되면 해당 스위치의 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부에 등록하는 제어부;를 포함하는 페일 세이프티 기능을 갖는 스위치 제어 시스템을 제공한다.In order to achieve the above object, the present invention monitors the voltage level of switches connected through electrical wiring, and when there is a switch in which the voltage level fluctuates due to user manipulation, register information of the corresponding switch is switched on or off. A switch input collecting unit configured to collect the changed register information as a switch input from the switch IC that is changed to and stored; An ADC input collection unit connected to the electrical wiring between each switch and the switch IC to collect the voltage level of each switch as an ADC input; Information about the normal voltage level of the switches is stored in advance, and if there is a switch whose ADC input is lower than the normal voltage level by comparing the ADC input of the switches in the switched off state with the normal voltage level, a leakage current has occurred in the corresponding switch. A leakage current determination unit that determines; And the control target load is turned on and off by controlling the IPS or the relay according to the switch input collected by the switch input collecting unit, and when the switch in which the leakage current has occurred is determined by the leakage current determination unit, the current fault code of the corresponding switch (Diagnostic Trouble It provides a switch control system having a fail safety function including; a control unit that registers the code, DTC) in the fault code storage unit.

바람직한 실시예에 있어서, 차량의 시동이 오프되어 저전력 모드에 진입하면, 고장코드 저장부에서 현재 고장코드가 등록된 스위치를 확인한 다음, 확인된 스위치를 논웨이크업(Non-WakeUp) 스위치로 설정하는 논웨이크업 스위치 설정부;를 더 포함한다.In a preferred embodiment, when the vehicle is turned off and enters the low power mode, the switch in which the fault code is currently registered is checked in the fault code storage unit, and then the checked switch is set as a non-wakeup switch. It further includes a; non-wake-up switch setting unit.

바람직한 실시예에 있어서, 상기 제어부는, 현재 고장코드가 등록된 스위치의 전압레벨이 정상 전압레벨인 것으로 확인되면 기등록된 현재 고장코드를 과거 고장코드로 변경하여 고장코드 저장부에 등록하고, 상기 논웨이크업 스위치 설정부는, 고장코드 저장부에서 현재 고장코드가 과거 고장코드로 변경된 스위치가 존재하면, 해당 스위치를 웨이크업 스위치로 전환한다.In a preferred embodiment, the control unit, when it is confirmed that the voltage level of the switch in which the current fault code is registered is the normal voltage level, changes the previously registered current fault code to the past fault code and registers it in the fault code storage unit, and the The non-wake-up switch setting unit switches the switch to a wake-up switch when there is a switch in which the current fault code is changed to the past fault code in the fault code storage unit.

바람직한 실시예에 있어서, 상기 제어부는, 스위치 입력과 ADC 입력을 비교하여 스위치 또는 상기 ADC 입력 수집부에서의 입력오류 발생 여부를 판정한다.In a preferred embodiment, the control unit compares a switch input and an ADC input to determine whether an input error occurs in the switch or the ADC input collection unit.

바람직한 실시예에 있어서, 상기 제어부는, 스위치 입력과 ADC 입력 중에서 ADC 입력이 정상인 것으로 판정되면, 스위치에 입력오류가 발생한 것으로 판정하여 해당 스위치의 현재 고장코드를 고장코드 저장부에 등록하고, ADC 입력에 기초하여 스위치 입력 판정을 수행하면서 스위치 IC의 리셋(Reset)을 수행한다.In a preferred embodiment, the control unit, if it is determined that the ADC input is normal among the switch input and the ADC input, determines that an input error has occurred in the switch, registers the current fault code of the switch in the fault code storage unit, and enters the ADC. The switch IC is reset while performing the switch input determination based on.

바람직한 실시예에 있어서, 상기 논웨이크업 스위치 설정부는, 스위치 IC의 리셋이 수행된 이후에도, 입력오류가 발생한 스위치의 현재 고장코드가 과거 고장코드로 변경되지 않으면, 해당 스위치를 논웨이크업 스위치로 설정한다.In a preferred embodiment, the non-wake-up switch setting unit sets the switch as a non-wake-up switch if the current fault code of the switch in which the input error has occurred is not changed to the past fault code even after the switch IC is reset. do.

바람직한 실시예에 있어서, 상기 제어부는, 스위치 입력과 ADC 입력 중에서 스위치 입력이 정상인 것으로 판정되면, 상기 ADC 입력 수집부에 입력오류가 발생한 것으로 판정하여 상기 ADC 입력 수집부의 현재 고장코드를 고장코드 저장부에 등록하고, 스위치 입력에 기초하여 스위치 입력 판정을 수행한다.In a preferred embodiment, the control unit, when it is determined that the switch input is normal among the switch input and the ADC input, determines that an input error has occurred in the ADC input collecting unit, and stores the current fault code of the ADC input collecting unit. Register, and perform switch input determination based on the switch input.

바람직한 실시예에 있어서, 상기 제어부는, 스위치 입력과 ADC 입력을 비교하여 서로 동일하게 스위치 온 상태인 경우, 스위치 입력과 ADC 입력이 모두 정상인 것으로 판정하며, 고장코드 저장부에 현재 고장코드가 등록되어 있는지 확인하여 과거 고장코드로 변경한다.In a preferred embodiment, the control unit compares the switch input and the ADC input and determines that both the switch input and the ADC input are normal when they are in the same switch-on state, and the current fault code is registered in the fault code storage unit. Check if there is, and change it to the past fault code.

또한, 본 발명은 페일 세이프티 기능을 갖는 스위치 제어 시스템에서 수행되는 페일 세이프티 기능을 갖는 스위치 제어 방법으로서, (1) 스위치 입력 수집부가, 전기배선을 통해 연결된 스위치들의 전압레벨을 모니터링하고 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 스위치 IC로부터, 변경된 레지스터 정보를 스위치 입력으로서 수집하는 단계; (2) ADC 입력 수집부가, 각각의 스위치와 스위치 IC 사이의 전기배선에 연결되어 각 스위치의 전압레벨을 ADC 입력으로서 수집하는 단계; (3) 스위치들의 정상 전압레벨에 대한 정보가 사전에 저장된 누설전류 판정부가, 스위치 오프 상태인 스위치들의 ADC 입력과 정상 전압레벨을 비교하여 ADC 입력이 정상 전압레벨보다 낮은 스위치가 존재하면, 해당 스위치에서 누설전류가 발생한 것으로 판정하는 단계; 및 (4) 제어부가, 상기 스위치 입력 수집부에 수집되는 스위치 입력에 따라 IPS 또는 릴레이를 제어하여 제어대상 부하를 온오프하고, 상기 누설전류 판정부로부터 누설전류가 발생한 스위치가 판정되면 해당 스위치의 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부에 등록하는 단계;를 포함하는 페일 세이프티 기능을 갖는 스위치 제어 방법을 제공한다.In addition, the present invention is a switch control method having a fail safety function performed in a switch control system having a fail safety function, (1) the switch input collecting unit monitors the voltage level of the switches connected through electrical wiring and Collecting changed register information as a switch input from a switch IC that changes and stores register information of the switch in a switched-on state or a switch-off state when there is a switch in which the voltage level fluctuates; (2) the ADC input collecting unit is connected to the electrical wiring between each switch and the switch IC to collect the voltage level of each switch as an ADC input; (3) The leakage current determination unit, in which information on the normal voltage level of the switches is stored in advance, compares the ADC input of the switches in the switched off state with the normal voltage level, and if there is a switch whose ADC input is lower than the normal voltage level, the corresponding switch Determining that a leakage current has occurred in And (4) the control unit controls the IPS or the relay according to the switch input collected in the switch input collecting unit to turn on and off the load to be controlled, and when the switch in which the leakage current is generated is determined by the leakage current determination unit, the corresponding switch is It provides a switch control method having a fail safety function including; registering a current fault code (Diagnostic Trouble Code, DTC) in a fault code storage unit.

바람직한 실시예에 있어서, 상기 제 (4)단계 이후에, (5) 논웨이크업 스위치 설정부가, 차량의 시동이 오프된 후 저전력 모드 진입 조건을 만족하게 되면, 고장코드 저장부에서 현재 고장코드가 등록된 스위치를 확인한 다음, 확인된 스위치를 논웨이크업(Non-WakeUp) 스위치로 설정한 이후에 저전력 모드에 진입하도록 하는 단계;를 더 포함한다.In a preferred embodiment, after the step (4), when the (5) non-wake-up switch setting unit satisfies the condition for entering the low power mode after the vehicle is turned off, the current failure code is displayed in the failure code storage unit. After checking the registered switch, setting the verified switch as a non-wake-up switch, entering a low power mode; further includes.

바람직한 실시예에 있어서, 상기 제 (4)단계에서 상기 제어부는, 현재 고장코드가 등록된 스위치의 전압레벨이 정상 전압레벨인 것으로 확인되면 기등록된 현재 고장코드를 과거 고장코드로 변경하여 고장코드 저장부에 등록하고, 상기 제 (5)단계에서 상기 논웨이크업 스위치 설정부는, 고장코드 저장부에서 현재 고장코드가 과거 고장코드로 변경된 스위치가 존재하면, 해당 스위치를 웨이크업 스위치로 전환한다.In a preferred embodiment, in the step (4), the control unit, when it is determined that the voltage level of the switch in which the current fault code is registered is the normal voltage level, changes the previously registered current fault code to the past fault code, The non-wake-up switch setting unit is registered in the storage unit, and in step (5), the non-wake-up switch setting unit switches the switch to the wake-up switch when there is a switch in which the current failure code has been changed to the past failure code in the failure code storage unit.

바람직한 실시예에 있어서, 상기 제 (4)단계에서 상기 제어부는, 스위치 입력과 ADC 입력을 비교하여 스위치 또는 상기 ADC 입력 수집부에서의 입력오류 발생 여부를 판정한다.In a preferred embodiment, in step (4), the control unit compares a switch input and an ADC input to determine whether an input error has occurred in the switch or the ADC input collecting unit.

바람직한 실시예에 있어서, 상기 제 (4)단계에서 상기 제어부는, 스위치 입력과 ADC 입력 중에서 ADC 입력이 정상인 것으로 판정되면, 스위치에 입력오류가 발생한 것으로 판정하여 해당 스위치의 현재 고장코드를 고장코드 저장부에 등록하고, ADC 입력에 기초하여 스위치 입력 판정을 수행하면서 스위치 IC의 리셋(Reset)을 수행한다.In a preferred embodiment, in step (4), the control unit, if it is determined that the ADC input is normal among the switch input and the ADC input, determines that an input error has occurred in the switch and stores the current fault code of the switch. It registers in the unit, and resets the switch IC while performing switch input determination based on the ADC input.

바람직한 실시예에 있어서, 상기 제 (5)단계에서 상기 논웨이크업 스위치 설정부는, 스위치 IC의 리셋이 수행된 이후에도, 입력오류가 발생한 스위치의 현재 고장코드가 과거 고장코드로 변경되지 않으면, 해당 스위치를 논웨이크업 스위치로 설정한다.In a preferred embodiment, in the (5) step, the non-wake-up switch setting unit, even after the reset of the switch IC is performed, if the current fault code of the switch in which the input error has occurred is not changed to the past fault code, the corresponding switch Is set to the non-wake-up switch.

바람직한 실시예에 있어서, 상기 제 (4)단계에서 상기 제어부는, 스위치 입력과 ADC 입력 중에서 스위치 입력이 정상인 것으로 판정되면, 상기 ADC 입력 수집부에 입력오류가 발생한 것으로 판정하여 상기 ADC 입력 수집부의 현재 고장코드를 고장코드 저장부에 등록하고, 스위치 입력에 기초하여 스위치 입력 판정을 수행한다.In a preferred embodiment, in the step (4), if the control unit determines that the switch input is normal among the switch input and the ADC input, the ADC input collecting unit determines that an input error has occurred and the ADC input collecting unit is The fault code is registered in the fault code storage unit, and switch input determination is performed based on the switch input.

바람직한 실시예에 있어서, 상기 제 (4)단계에서 상기 제어부는, 스위치 입력과 ADC 입력을 비교하여 서로 동일한 스위치 입력 상태인 것으로 확인되면, 스위치 입력과 ADC 입력이 모두 정상인 것으로 판정하며, 고장코드 저장부에 현재 고장코드가 등록되어 있는지 확인하여 과거 고장코드로 변경한다.In a preferred embodiment, in step (4), the control unit compares the switch input and the ADC input and, if it is confirmed that the switch inputs are the same, determines that both the switch input and the ADC input are normal, and stores the fault code. Check if the current fault code is registered in the part and change it to the past fault code.

전술한 과제해결 수단에 의해 본 발명은 전기배선을 통해 연결된 스위치들의 전압레벨을 모니터링하고 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 스위치 IC로부터 변경된 레지스터 정보를 스위치 입력으로서 수집하는 스위치 입력 수집부와, 각각의 스위치와 스위치 IC 사이의 전기배선에 연결되어 각 스위치의 전압레벨을 ADC 입력으로서 수집하는 ADC 입력 수집부와, 스위치들의 정상 전압레벨에 대한 정보가 사전에 저장되고 스위치 오프 상태인 스위치들의 ADC 입력과 정상 전압레벨을 비교하여 ADC 입력이 정상 전압레벨보다 낮은 스위치가 존재하면 해당 스위치에서 누설전류가 발생한 것으로 판정하는 누설전류 판정부 및 스위치 입력에 따라 IPS 또는 릴레이를 제어하여 제어대상 부하를 온오프하고, 누설전류 판정부로부터 누설전류가 발생한 스위치가 판정되면 해당 스위치의 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부에 등록하는 제어부를 구비함으로써, 차량을 주차한 상태에서 외부 환경의 영향에 의해 누설전류가 간헐적으로 발생하더라도, 누설전류가 발생한 스위치의 판정이 가능한 효과가 있다.By means of the above-described problem solving means, the present invention monitors the voltage levels of switches connected through electrical wiring, and when there is a switch in which the voltage level fluctuates due to user manipulation, register information of the corresponding switch is converted to a switch-on or switch-off state. A switch input collection unit that collects the changed register information from the switch IC that is changed and stored as a switch input, and an ADC input collection unit that is connected to the electrical wiring between each switch and the switch IC and collects the voltage level of each switch as an ADC input. Wow, information about the normal voltage level of the switches is stored in advance, and if there is a switch with a lower ADC input than the normal voltage level by comparing the ADC input of the switches in the switched off state with the normal voltage level, a leakage current has occurred in the corresponding switch. Depending on the leakage current determination unit and switch input to be determined, the control target load is turned on and off by controlling the IPS or relay, and the current fault code (Diagnostic Trouble Code, DTC) of the corresponding switch is determined from the leakage current determination unit when the switch where the leakage current occurs is determined. ) Is provided in the fault code storage unit, so that even if the leakage current is intermittently generated due to the influence of the external environment while the vehicle is parked, it is possible to determine the switch where the leakage current has occurred.

또한, 본 발명은 현재 고장코드가 등록된 스위치를 논웨이크업 스위치로 설정하여, 고장이 발생한 스위치에 의해 저전력 모드인 상태가 해제되지 않도록 함으로써, 불필요한 배터리 전원의 소모와 배터리 방전을 미연에 방지할 수 있다.In addition, the present invention sets the switch in which the fault code is currently registered as a non-wake-up switch, so that the state in the low power mode is not released by the switch in which the fault occurs, thereby preventing unnecessary battery power consumption and battery discharge. I can.

또한, 본 발명은 스위치 입력과 ADC 입력을 비교하여 입력오류 발생 여부를 판정할 수 있고, 입력오류가 발생되더라도, 정상인 것으로 판정된 스위치 입력이나 ADC 입력에 기초하여 스위치 입력 판정을 수행할 수 있는 효과가 있다.In addition, the present invention compares the switch input and the ADC input to determine whether an input error occurs, and even if an input error occurs, the switch input determination can be performed based on the switch input or the ADC input determined to be normal. There is.

도 1은 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템을 설명하기 위한 도면.
도 2는 스위치 제어 시스템의 세부 구성을 설명하기 위한 도면.
도 3 및 도 4는 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 방법을 설명하기 위한 도면.
1 is a view for explaining a switch control system having a fail safety function according to an embodiment of the present invention.
2 is a diagram for explaining a detailed configuration of a switch control system.
3 and 4 are views for explaining a switch control method having a fail safety function according to an embodiment of the present invention.

하기의 설명에서 본 발명의 특정 상세들이 본 발명의 전반적인 이해를 제공하기 위해 나타나 있는데, 이들 특정 상세들 없이 또한 이들의 변형에 의해서도 본 발명이 용이하게 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진 자에게 자명할 것이다.In the following description, specific details of the present invention are shown to provide a general understanding of the present invention. It will be self-evident to those who have.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도 1 내지 도 4를 참조하여 상세히 설명하되, 본 발명에 따른 동작 및 작용을 이해하는데 필요한 부분을 중심으로 설명한다.Hereinafter, a preferred embodiment according to the present invention will be described in detail with reference to the accompanying FIGS. 1 to 4, but will be described centering on a part necessary to understand the operation and operation according to the present invention.

도 1은 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템을 설명하기 위한 도면이고, 도 2는 스위치 제어 시스템의 세부 구성을 설명하기 위한 도면이다.1 is a diagram illustrating a switch control system having a fail safety function according to an embodiment of the present invention, and FIG. 2 is a diagram illustrating a detailed configuration of the switch control system.

도 1 및 도 2를 참조하면, 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템(100)은 스위치 입력 수집부(110), ADC 입력 수집부(120), 누설전류 판정부(130), 제어부(140) 및 논웨이크업 스위치 설정부(150)를 포함하여 구성된다.1 and 2, a switch control system 100 having a fail safety function according to an embodiment of the present invention includes a switch input collecting unit 110, an ADC input collecting unit 120, and a leakage current determining unit ( 130), a control unit 140, and a non-wake-up switch setting unit 150.

여기서, 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템(100)은 차량에 탑재되는 통합 제어 유닛(Integrated Central control Unit, ICU)에 구비될 수 있으며, 특히, 통합 제어 유닛의 제어기(MCU)로서 구비될 수 있다.Here, the switch control system 100 having a fail safety function according to an embodiment of the present invention may be provided in an integrated central control unit (ICU) mounted on a vehicle, and in particular, a controller of the integrated control unit It can be provided as (MCU).

또한, 전술한 통합 제어 유닛에는 차량에 탑재된 스위치(10)들과 전기배선을 통해 연결되어 스위치(10)들의 전압레벨을 모니터링하고, 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치(10)가 존재하면, 해당 스위치(10)의 조작 여부에 대한 정보인 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 스위치 IC(20)가 구비될 수 있다.In addition, in the above-described integrated control unit, the switch 10 is connected to the switches 10 mounted on the vehicle through electrical wiring to monitor the voltage level of the switches 10, and the switch 10 in which the voltage level fluctuates due to user manipulation. If present, a switch IC 20 may be provided to change and store register information, which is information on whether the corresponding switch 10 is operated or not, to a switch-on state or a switch-off state.

또한, 전술한 스위치(10)들은 헤드램프 스위치, 도어 스위치 및 트렁크 스위치를 포함하며, 그 외에도, 차량에 구비되어 스위치 IC(20)에 전기배선을 통해 연결되며, 사용자 조작에 따라 전기적인 신호, 예컨대, 전압레벨의 변동이 발생하는 스위치들을 모두 포함할 수 있다.In addition, the above-described switches 10 include a headlamp switch, a door switch, and a trunk switch. In addition, the switches 10 are provided in the vehicle and are connected to the switch IC 20 through electrical wiring. For example, it may include all switches in which the voltage level fluctuates.

아울러, 전술한 통합 제어 유닛에는 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템(100)의 제어에 따라 동작하여 제어대상 부하(35, 45), 예컨대, 헤드램프나 도어 락, 트렁크 락을 온오프하는 IPS(Intelligent Power Switch, 30)와 릴레이(40)가 더 구비될 수 있고, 차량에 탑재된 클러스터(55)와 통신하여 스위치(10)들에 대한 정보를 송수신하는 통신모듈, 예컨대, 캔(Controller Area Network, CAN) 통신모듈(50)이 더 구비될 수도 있다.In addition, the above-described integrated control unit operates under the control of the switch control system 100 having a fail safety function according to an embodiment of the present invention to control loads 35 and 45, such as a headlamp or a door lock, An IPS (Intelligent Power Switch) 30 and a relay 40 for turning on and off the trunk lock may be further provided, and a communication module for transmitting and receiving information on the switches 10 by communicating with the cluster 55 mounted on the vehicle , For example, a CAN (Controller Area Network, CAN) communication module 50 may be further provided.

상기 스위치 입력 수집부(110)는 헤드램프 스위치, 도어 스위치 및 트렁크 스위치를 포함하는 스위치(10)들의 조작 여부에 대한 정보를 수집하기 위한 것으로, 스위치 IC(20)에 저장된 스위치(10)들의 조작 여부에 대한 정보인 레지스터 정보를 스위치 입력으로 수집하는 기능을 수행한다.The switch input collecting unit 110 is for collecting information on whether the switches 10 including a headlamp switch, a door switch, and a trunk switch are operated, and the operation of the switches 10 stored in the switch IC 20 It performs a function of collecting register information, which is information about whether or not, through the switch input.

이러한, 스위치 입력 수집부(110)는 스위치 IC(20)로부터 레지스터 정보가 스위치 온 상태 또는 스위치 오프 상태로 변경된 스위치(10)가 존재하면, 해당 스위치(10)의 레지스터 정보를 스위치 입력으로서 수집할 수 있다.When there is a switch 10 in which the register information from the switch IC 20 is changed to a switch-on state or a switch-off state, the switch input collection unit 110 collects the register information of the switch 10 as a switch input. I can.

또한, 스위치 입력 수집부(110)와 스위치 IC(20)는 SPI(Serial Peripheral Interface) 통신을 통해 서로 연결될 수 있고, 스위치 입력 수집부(110)에서 수집되는 스위치 입력은 후술하는 제어부(140)에 출력될 수 있다.In addition, the switch input collecting unit 110 and the switch IC 20 may be connected to each other through SPI (Serial Peripheral Interface) communication, and the switch input collected by the switch input collecting unit 110 is transferred to the control unit 140 to be described later. Can be output.

ADC 입력 수집부(120)는 스위치(10)들의 전압레벨에 대한 정보를 수집하기 위한 것으로, 각각의 스위치(10)와 스위치 IC(20) 사이의 전기배선에 전기적으로 연결되어 각 스위치(10)의 전압레벨을 ADC 입력으로서 수집하는 기능을 수행한다.The ADC input collection unit 120 is for collecting information on the voltage level of the switches 10, and is electrically connected to the electrical wiring between each switch 10 and the switch IC 20 to each switch 10 It performs the function of collecting the voltage level of as ADC input.

이러한, ADC 입력 수집부(120)는 아날로그-디지털 변환기(Analog to Digital Converter)로 구비될 수 있고, 복수의 입력단이 각각의 스위치(10)와 스위치 IC(20) 사이의 전기배선에 일대일로 연결되도록 구비될 수 있다.The ADC input collection unit 120 may be provided as an analog-to-digital converter, and a plurality of input terminals are connected one-to-one to the electrical wiring between each switch 10 and the switch IC 20. It may be provided so as to be.

또한, ADC 입력 수집부(120)에서 수집되는 ADC 입력은 후술하는 누설전류 판정부(130)와 제어부(140)에 출력될 수 있다.In addition, the ADC input collected by the ADC input collecting unit 120 may be output to the leakage current determining unit 130 and the control unit 140 to be described later.

상기 누설전류 판정부(130)는 누설전류의 발생 여부를 판정하기 위한 것으로, 스위치 오프 상태인 스위치(10)들의 ADC 입력과 정상 전압레벨을 비교한 다음, ADC 입력이 정상 전압레벨보다 낮은 스위치(10)가 존재하면 해당 스위치(10)에서 누설전류가 발생한 것으로 판정하는 기능을 수행한다.The leakage current determination unit 130 is for determining whether a leakage current occurs, and after comparing the ADC input of the switches 10 in the switched off state with the normal voltage level, the ADC input is lower than the normal voltage level ( If 10) is present, the switch 10 performs a function of determining that a leakage current has occurred.

이러한, 누설전류 판정부(130)는 ADC 입력 수집부(120)로부터 ADC 입력을 입력받을 수 있고, 스위치(10)들의 정상 전압레벨에 대한 정보가 사전에 저장될 수 있다. 참고로, 전술한 정상 전압레벨은 정상 상태의 스위치(10)가 턴온되거나 턴오프될 때 해당 스위치(10)가 유지하게 되는 전압레벨을 뜻한다.The leakage current determination unit 130 may receive an ADC input from the ADC input collection unit 120, and information on the normal voltage level of the switches 10 may be stored in advance. For reference, the above-described normal voltage level refers to a voltage level maintained by the corresponding switch 10 when the switch 10 in the normal state is turned on or off.

한편, 누설전류 판정부(130)에서 판정되는 누술전류가 발생한 스위치(10)에 대한 정보는 후술하는 제어부(140)에 출력될 수 있다.Meanwhile, information on the switch 10 in which the leakage current determined by the leakage current determination unit 130 has occurred may be output to the control unit 140 to be described later.

상기 제어부(140)는 장치 전반의 제어를 위한 것으로, 특히, 스위치 입력 수집부(110)에서 수집되는 스위치 입력에 따라 IPS(30) 또는 릴레이(40)를 제어하여 제어대상 부하(35, 45)를 온오프하는 기능을 수행한다.The control unit 140 is for overall control of the device. In particular, the control target loads 35 and 45 are controlled by controlling the IPS 30 or the relay 40 according to the switch input collected by the switch input collecting unit 110. Performs the function of turning on and off.

이러한, 제어부(140)는 IPS(30)와 릴레이(40)를 제어하는 기능 이외에도, 누설전류 판정부(130)로부터 누설전류가 발생한 스위치(10)가 판정되면 해당 스위치(10)의 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부(145)에 등록하면서, 캔 통신모듈(50)을 이용하여 차량에 탑재된 클러스터(55)에 누설전류가 발생한 스위치(10)에 대한 정보가 표시되도록 할 수도 있다.In addition to the function of controlling the IPS 30 and the relay 40, the controller 140 determines the current fault code of the switch 10 when the switch 10 in which the leakage current has occurred is determined from the leakage current determination unit 130. While registering (Diagnostic Trouble Code, DTC) in the fault code storage unit 145, information on the switch 10 where the leakage current has occurred in the cluster 55 mounted on the vehicle is displayed using the CAN communication module 50 You can do it.

또한, 제어부(140)는 현재 고장코드가 등록된 스위치(10)의 전압레벨이 정상 전압레벨인 것으로 확인되면, 기등록된 현재 고장코드를 과거 고장코드로 변경하여 고장코드 저장부(145)에 등록할 수 있다.In addition, when it is determined that the voltage level of the switch 10 in which the current fault code is registered is the normal voltage level, the control unit 140 changes the previously registered current fault code to the past fault code and stores the fault code in the fault code storage unit 145. You can register.

이때, 전술한 고장코드 저장부(145)는 정보 저장을 위한 용도의 메모리나 레지스터로서, 제어부(140)에 내장되거나 일체로 형성될 수도 있고, 별도의 하드웨어로서 구비될 수도 있다.At this time, the above-described fault code storage unit 145 is a memory or a register for storing information, and may be built-in or integrally formed in the control unit 140, or may be provided as separate hardware.

한편, 제어부(140)는 스위치 입력과 ADC 입력을 비교하여, 각각의 스위치(10) 또는 ADC 입력 수집부(120)에서 입력오류가 발생하였는지의 여부를 판정할 수도 있다.Meanwhile, the control unit 140 may compare the switch input and the ADC input to determine whether an input error has occurred in each switch 10 or the ADC input collection unit 120.

예컨대, 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치(10)가 존재하여 해당 스위치(10)에 대한 스위치 입력이 스위치 입력 수집부(110)에서 수집되면, 제어부(140)는 스위치 입력이 스위치 온 상태인지 스위치 오프 상태인지 판정한 다음, 해당 스위치(10)의 ADC 입력이 스위치 온 상태의 전압레벨인지 스위치 오프 상태의 전압레벨인지 판정한다.For example, when a switch 10 in which a voltage level fluctuates due to a user manipulation exists and the switch input for the corresponding switch 10 is collected by the switch input collecting unit 110, the control unit 140 turns on the switch input. After determining whether the state is in the switched-off state, it is determined whether the ADC input of the switch 10 is the voltage level in the switched-on state or the voltage level in the switched-off state.

즉, 제어부(140)는 두 개의 정보인 스위치 입력과 ADC 입력을 비교하여, 스위치 입력이 스위치 온 상태이고 ADC 입력도 동일하게 스위치 온 상태의 전압레벨을 가지면 정상인 것으로 판정하고, 스위치 입력은 스위치 온 상태이나 ADC 입력은 스위치 오프 상태의 전압레벨을 갖거나, 스위치 입력은 스위치 오프 상태이나 ADC 입력은 스위치 온 상태의 전압레벨을 갖는 경우에는 입력오류가 발생한 것으로 판정할 수 있다.That is, the controller 140 compares the two pieces of information, the switch input and the ADC input, and determines that the switch input is in the switched-on state and the ADC input has the same voltage level of the switched-on state, and the switch input is switched on. If the state or the ADC input has a voltage level in the switched off state, the switch input has a switched off state but the ADC input has the voltage level in the switched on state, it can be determined that an input error has occurred.

또한, 제어부(140)는 스위치 입력과 ADC 입력 중에서 ADC 입력이 정상 전압레벨을 유지함으로써, ADC 입력이 정상인 것으로 판정되면, 스위치(10)에 입력오류가 발생한 것으로 판정하여 해당 스위치(10)의 현재 고장코드를 고장코드 저장부(145)에 등록하고, ADC 입력에 기초하여 스위치 입력 판정을 수행하면서 스위치 IC(20)의 리셋(Reset)을 수행할 수 있다. 이때, 제어부(140)는 캔 통신모듈(50)을 이용하여 차량에 탑재된 클러스터(55)에 입력오류가 발생한 스위치(10)에 대한 정보를 표시할 수도 있다.In addition, the controller 140 maintains the normal voltage level of the ADC input among the switch input and the ADC input, so that when it is determined that the ADC input is normal, it determines that an input error has occurred in the switch 10 and The fault code may be registered in the fault code storage unit 145, and the switch IC 20 may be reset while performing a switch input determination based on the ADC input. In this case, the control unit 140 may display information on the switch 10 in which an input error has occurred in the cluster 55 mounted on the vehicle using the CAN communication module 50.

또한, 제어부(140)는 스위치 입력과 ADC 입력 중에서 ADC 입력이 정상 전압레벨을 벗어남으로써, 스위치 입력이 정상인 것으로 판정되면, ADC 입력 수집부(120)에 입력오류가 발생한 것으로 판정하여 ADC 입력 수집부(120)의 현재 고장코드를 고장코드 저장부(145)에 등록하고, 스위치 입력에 기초하여 스위치 입력 판정을 수행할 수 있다. 이때, 제어부(140)는 캔 통신모듈(50)을 이용하여 차량에 탑재된 클러스터(55)에 ADC 입력 수집부(120)의 입력오류에 대한 정보를 표시할 수도 있다.In addition, the control unit 140 determines that an input error has occurred in the ADC input collecting unit 120 when the ADC input is out of the normal voltage level among the switch input and the ADC input, and thus the switch input is normal, and determines that an input error has occurred in the ADC input collecting unit. The current fault code of 120 may be registered in the fault code storage unit 145, and a switch input determination may be performed based on the switch input. In this case, the control unit 140 may display information on the input error of the ADC input collection unit 120 on the cluster 55 mounted on the vehicle using the CAN communication module 50.

아울러, 제어부(140)는 스위치 입력과 ADC 입력을 비교하여 서로 동일한 스위치 입력 상태, 예컨대, 동일하게 스위치 온 상태인 경우, 스위치 입력과 ADC 입력이 모두 정상인 것으로 판정하며, 고장코드 저장부(145)에 현재 고장코드가 등록되어 있는지 확인하여 과거 고장코드로 변경할 수 있다.In addition, the control unit 140 compares the switch input and the ADC input and determines that both the switch input and the ADC input are in the same switch input state, for example, the same switch-on state, and the fault code storage unit 145 You can change to the past fault code by checking if the current fault code is registered in.

한편, 제어부(140)는 차량의 시동이 오프되면, 전술한 통합 제어 유닛을 저전력 모드에 진입하도록 제어하고, 그 이후에, 스위치 입력 수집부(110)를 통해 스위치 입력이 수집되면, 통합 제어 유닛이 정상 동작모드로 천이되도록 제어하는 기능을 더 수행할 수도 있다.On the other hand, when the vehicle is turned off, the control unit 140 controls the above-described integrated control unit to enter the low power mode, and after that, when the switch input is collected through the switch input collecting unit 110, the integrated control unit A function of controlling the transition to this normal operation mode may be further performed.

상기 논웨이크업 스위치 설정부(150)는 논웨이크업 스위치를 설정하기 위한 것으로, 차량의 시동이 오프되어 저전력 모드 진입 조건을 만족하면, 고장코드 저장부(145)에서 현재 고장코드가 등록된 스위치(10)를 확인한 다음, 확인된 스위치(10)를 논웨이크업(Non-WakeUp) 스위치(10)로 설정하는 기능을 수행한다.The non-wake-up switch setting unit 150 is for setting the non-wake-up switch, and when the vehicle is turned off and a condition for entering a low power mode is satisfied, a switch in which a current failure code is registered in the failure code storage unit 145 After confirming (10), a function of setting the identified switch 10 to a non-wake-up switch 10 is performed.

예컨대, 논웨이크업 스위치 설정부(150)는 누설전류 판정부(130)로부터 누설전류가 발생한 것으로 판정되어 제어부(140)에 의해 현재 고장코드가 등록된 스위치(10)를 논웨이크업 스위치로 설정할 수 있으며, 논웨이크업 스위치가 설정된 이후에 차량은 저전력 모드에 진입할 수 있게 된다.For example, the non-wake-up switch setting unit 150 determines that a leakage current has occurred from the leakage current determination unit 130 and sets the switch 10 in which the fault code is currently registered by the control unit 140 as a non-wake-up switch. After the non-wake-up switch is set, the vehicle can enter the low power mode.

아울러, 논웨이크업 스위치 설정부(150)는 제어부(140)로부터 입력오류가 발생한 것으로 판정된 스위치(10)가, 제어부(140)에 의해 스위치 IC(20)의 리셋이 수행된 이후에도 현재 고장코드가 과거 고장코드로 변경되지 않으면, 해당 스위치(10)를 논웨이크업 스위치로 설정할 수도 있다.In addition, the non-wake-up switch setting unit 150 is the current fault code even after the switch 10 determined that an input error has occurred from the control unit 140 is reset by the control unit 140 of the switch IC 20. If is not changed to the past fault code, the corresponding switch 10 may be set as a non-wake-up switch.

이러한, 논웨이크업 스위치 설정부(150)에 의해 논웨이크업 스위치로 설정된 스위치(10)는, 통합 제어 유닛이 저전력 모드인 상태에서 스위치 입력이나 스위치 조작이 발생하더라도, 통합 제어 유닛의 저전력 모드가 해제되지 않게 된다.Such, the switch 10 set as a non-wake-up switch by the non-wake-up switch setting unit 150, even if a switch input or switch operation occurs in a state in which the integrated control unit is in the low power mode, the low power mode of the integrated control unit is It will not be released.

이로 인해, 통합 제어 유닛이 저전력 모드에서 정상 동작모드로 천이되었다가 다시 저전력 모드로 전환되는 과정이 반복되지 않으므로, 통합 제어 유닛이 정상 동작모드로 천이되어 발생하는 불필요한 배터리 전원의 소모를 미연에 방지함으로써, 결과적으로 배터리 방전이 발생되지 않도록 방지할 수 있다.As a result, the process of the integrated control unit transitioning from the low-power mode to the normal operation mode and then to the low-power mode is not repeated, thus preventing unnecessary battery power consumption caused by the integrated control unit transitioning to the normal operation mode. By doing so, it is possible to prevent battery discharge from occurring as a result.

한편, 논웨이크업 스위치 설정부(150)는 고장코드 저장부(145)에서 현재 고장코드가 과거 고장코드로 변경된 스위치(10)가 존재하면, 해당 스위치(10)를 웨이크업 스위치로 전환할 수도 있다.Meanwhile, the non-wake-up switch setting unit 150 may convert the switch 10 into a wake-up switch when there is a switch 10 in which the current fault code has been changed to a past fault code in the fault code storage unit 145. have.

도 3 및 도 4는 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 방법을 설명하기 위한 도면이다.3 and 4 are diagrams for explaining a method of controlling a switch having a fail safety function according to an embodiment of the present invention.

도 3 및 도 4를 참조하여, 본 발명의 일실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템에서 수행되는 페일 세이프티 기능을 갖는 스위치 제어 방법을 설명한다.3 and 4, a switch control method having a fail safety function performed in a switch control system having a fail safety function according to an embodiment of the present invention will be described.

다만, 도 3 및 도 4에 도시된 페일 세이프티 기능을 갖는 스위치 제어 방법에서 수행되는 기능은 모두 도 1 및 도 2를 참조하여 설명한 페일 세이프티 기능을 갖는 스위치 제어 시스템에서 수행되므로, 명시적인 설명이 없어도, 도 1 및 도 2를 참조하여 설명한 모든 기능은 본 발명의 바람직한 실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 방법에서 수행되고, 도 3 및 도 4를 참조하여 설명하는 모든 기능은 본 발명의 바람직한 실시예에 따른 페일 세이프티 기능을 갖는 스위치 제어 시스템에서 그대로 수행됨을 주의해야 한다.However, the functions performed in the switch control method having the fail safety function shown in FIGS. 3 and 4 are all performed in the switch control system having the fail safety function described with reference to FIGS. , All functions described with reference to FIGS. 1 and 2 are performed in a switch control method having a fail safety function according to a preferred embodiment of the present invention, and all functions described with reference to FIGS. 3 and 4 are preferred of the present invention. It should be noted that it is performed as it is in the switch control system having the fail safety function according to the embodiment.

먼저, 스위치 입력 수집부가 스위치 IC에서 변경된 레지스터 정보를 스위치 입력으로서 수집한다(S100).First, the switch input collection unit collects the register information changed in the switch IC as a switch input (S100).

이때, 전술한 스위치 IC는 전기배선을 통해 연결된 스위치들의 전압레벨을 모니터링하여, 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 기능을 수행하도록 구비된 것일 수 있다.At this time, the above-described switch IC monitors the voltage level of the switches connected through electrical wiring, and if there is a switch in which the voltage level fluctuates due to user manipulation, it changes the register information of the corresponding switch to a switch-on state or a switch-off state. It may be provided to perform a function of storing.

그 다음에는, ADC 입력 수집부가 각 스위치의 전압레벨을 ADC 입력으로서 수집한다(S200).After that, the ADC input collecting unit collects the voltage level of each switch as an ADC input (S200).

이때, ADC 입력 수집부는 아날로그-디지털 변환기(Analog to Digital Converter)로 구비되어, 입력단이 각각의 스위치와 스위치 IC 사이의 전기배선에 일대일로 연결될 수 있다.In this case, the ADC input collection unit is provided as an analog to digital converter, and the input terminal may be connected to the electrical wiring between each switch and the switch IC in a one-to-one manner.

그 다음에는, 누설전류 판정부가 누설전류의 발생 여부를 판정한다(S300).Then, the leakage current determination unit determines whether or not a leakage current has occurred (S300).

이때, 누설전류 판정부는 스위치 오프 상태인 스위치들의 ADC 입력과 정상 전압레벨을 비교하여, ADC 입력이 정상 전압레벨보다 낮은 스위치가 존재하면 해당 스위치에서 누설전류가 발생한 것으로 판정할 수 있다.At this time, the leakage current determination unit may compare the ADC input of the switches in the switched off state with the normal voltage level, and determine that a leakage current has occurred in the corresponding switch if there is a switch having a lower ADC input than the normal voltage level.

이를 위해, 누설전류 판정부에는 스위치들의 정상 전압레벨에 대한 정보가 사전에 저장될 수 있다.To this end, the leakage current determination unit may store information on the normal voltage levels of the switches in advance.

그 다음에는, 제어부가 스위치 입력 수집부에 수집되는 스위치 입력에 따라 IPS 또는 릴레이를 제어하여 제어대상 부하를 온오프하고, 누설전류 또는 입력오류에 따른 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부에 등록한다(S400).After that, the control unit controls the IPS or relay according to the switch input collected in the switch input collection unit to turn on and off the load to be controlled, and breaks the current fault code (Diagnostic Trouble Code (DTC)) according to the leakage current or input error. Register the code storage unit (S400).

이때, 제어부는 누설전류 판정부로부터 누설전류가 발생한 스위치가 판정되면(S410), 해당 스위치의 현재 고장코드를 고장코드 저장부에 등록하고(S420), 스위치 입력이 발생하면(S430), 입력오류의 발생 여부를 판정한 다음(S440), IPS 또는 릴레이를 제어할 수 있다(S450).At this time, the control unit registers the current fault code of the switch in the fault code storage unit when it is determined from the leakage current determination unit (S410), and when a switch input occurs (S430), an input error After determining whether or not (S440), it is possible to control the IPS or the relay (S450).

여기서, 제 410단계에 따라 누설전류가 발생한 스위치가 판정되면, 제어부는 차량에 탑재된 클러스터에 누설전류가 발생한 스위치에 대한 정보를 표시할 수 있으며, 제 420단계가 완료되면, 후술하는 제 500단계가 바로 수행되어 누설전류가 발생한 스위치를 논웨이크업 스위치로 설정될 수 있다.Here, if the switch in which the leakage current has occurred is determined according to step 410, the control unit may display information on the switch in which the leakage current has occurred in the cluster mounted on the vehicle, and when step 420 is completed, step 500 to be described later. Is performed immediately and the switch in which the leakage current is generated can be set as a non-wake-up switch.

한편, 전술한 제 440단계에 따라 입력오류의 발생 여부를 판정하는 과정을 구체적으로 살펴보면, 제어부는 각각의 스위치 또는 ADC 입력 수집부에서 입력오류가 발생하였는지의 여부를 판정하기 위해 스위치 입력과 ADC 입력을 비교하게 되는데(S441), 스위치 입력과 ADC 입력을 비교하여 서로 동일한 스위치 입력 상태, 예컨대, 동일하게 스위치 온 상태이면 스위치 입력과 ADC 입력이 모두 정상인 것으로 판정하며(S442), 스위치 입력에 기초하여 스위치 입력 판정을 수행하면서 고장코드 저장부에 현재 고장코드가 등록되어 있는지 확인하여 현재 고장코드가 등록되어 있는 경우에는 과거 고장코드로 변경한다(S443).On the other hand, looking at the process of determining whether an input error has occurred according to step 440 described above, the control unit includes a switch input and an ADC input to determine whether an input error has occurred in each switch or ADC input collection unit. When the switch input is compared with the ADC input (S441), if the switch input is in the same switch input state, for example, in the same switch-on state, it is determined that both the switch input and the ADC input are normal (S442), based on the switch input. While performing the switch input determination, it is checked whether the fault code is currently registered in the fault code storage unit, and if the fault code is currently registered, the fault code is changed to the past fault code (S443).

또한, 전술한 제 443단계에서 제어부는, 현재 고장코드가 등록된 스위치의 전압레벨이 정상 전압레벨인 것으로 확인되는 경우에도, 기등록된 현재 고장코드를 과거 고장코드로 변경하여 고장코드 저장부에 등록할 수도 있다.In addition, in step 443 described above, even when it is determined that the voltage level of the switch in which the current fault code is registered is the normal voltage level, the previously registered current fault code is changed to the past fault code and the fault code storage unit You can also register.

또한, 제어부는 전술한 제 441단계에서 스위치 입력과 ADC 입력이 서로 다른 것으로 판정된 이후에, 스위치 입력과 ADC 입력 중 ADC 입력이 정상인 것으로 판정되면(S444), 스위치에 입력오류가 발생한 것으로 판정하여 해당 스위치의 현재 고장코드를 고장코드 저장부에 등록하고(S445), ADC 입력에 기초하여 스위치 입력 판정을 수행하면서 스위치 IC의 리셋(Reset)을 수행할 수 있다(S446).In addition, after determining that the switch input and the ADC input are different from each other in step 441, the control unit determines that an input error has occurred in the switch when it is determined that the ADC input among the switch input and the ADC input is normal (S444). The current fault code of the corresponding switch is registered in the fault code storage unit (S445), and a switch input determination is performed based on the ADC input, while a switch IC may be reset (S446).

아울러, 제어부는 전술한 제 444단계에서 스위치 입력과 ADC 입력 중에서 스위치 입력이 정상인 것으로 판정되면(S447), ADC 입력 수집부에 입력오류가 발생한 것으로 판정하여 ADC 입력 수집부의 현재 고장코드를 고장코드 저장부에 등록하고(S448), 스위치 입력에 기초하여 스위치 입력 판정을 수행할 수도 있다(S449).In addition, if the control unit determines that the switch input is normal among the switch input and the ADC input in step 444 (S447), the control unit determines that an input error has occurred in the ADC input collecting unit and stores the fault code of the current fault code of the ADC input collecting unit. It is also possible to register in the unit (S448) and perform a switch input determination based on the switch input (S449).

여기서, 입력오류가 발생한 것으로 판정되는 경우, 제어부는 스위치 또는 ADC 입력 수집부의 입력오류에 대한 정보를 클러스터에 표시할 수도 있다.Here, when it is determined that an input error has occurred, the control unit may display information on the input error of the switch or the ADC input collecting unit on the cluster.

그 다음에는, 논웨이크업 스위치 설정부가 차량의 시동이 오프되어 저전력 모드에 진입하면 고장코드 저장부에서 현재 고장코드가 등록된 스위치를 확인한 다음, 확인된 스위치를 논웨이크업(Non-WakeUp) 스위치로 설정한다(S500).Next, when the non-wake-up switch setting unit enters the low-power mode when the vehicle is turned off, the fault code storage unit checks the switch in which the current fault code is registered, and then switches the checked switch to a Non-WakeUp switch. It is set to (S500).

이때, 논웨이크업 스위치 설정부는 누설전류가 발생한 것으로 판정되어 제어부에 의해 현재 고장코드가 등록된 스위치를 논웨이크업 스위치로 설정할 수도 있고, 입력오류가 발생한 것으로 판정된 스위치의 현재 고장코드가 제어부에 의해 스위치 IC의 리셋이 수행된 이후에도 과거 고장코드로 변경되지 않는 경우에도 해당 스위치를 논웨이크업 스위치로 설정할 수 있다.At this time, the non-wake-up switch setting unit may set the switch to which the current failure code is registered by the control unit as it is determined that leakage current has occurred, as a non-wake-up switch, and the current failure code of the switch determined to have an input error is sent to the control unit Thus, even after reset of the switch IC is performed, the corresponding switch can be set as a non-wake-up switch even if it is not changed to the past fault code.

한편, 논웨이크업 스위치 설정부는 고장코드 저장부에서 현재 고장코드가 과거 고장코드로 변경된 스위치가 존재하면, 해당 스위치를 웨이크업 스위치로 전환할 수도 있다.On the other hand, if there is a switch in which the current fault code is changed to the past fault code in the fault code storage unit, the non-wake-up switch setting unit may convert the corresponding switch to a wake-up switch.

이와 같이, 논웨이크업 스위치 설정부에 의해 논웨이크업 스위치로 설정된 스위치는, 통합 제어 유닛이 저전력 모드인 상태에서 스위치 입력이나 스위치 조작이 발생하더라도 통합 제어 유닛의 저전력 모드가 해제되지 않으므로, 통합 제어 유닛이 저전력 모드에서 정상 동작모드로 천이되었다가 다시 저전력 모드로 전환되는 과정이 반복되지 않게 되어, 불필요한 배터리 전원의 소모를 미연에 방지함으로써, 결과적으로 배터리 방전이 발생되지 않도록 방지할 수 있다.In this way, the switch set as the non-wake-up switch by the non-wake-up switch setting unit does not release the low-power mode of the integrated control unit even if a switch input or switch operation occurs while the integrated control unit is in the low-power mode. Since the process of the unit transitioning from the low power mode to the normal operation mode and then to the low power mode is not repeated, unnecessary consumption of battery power is prevented, and as a result, battery discharge can be prevented.

이상에서는 본 발명의 바람직한 실시예를 예시적으로 설명하였으나, 본 발명의 범위는 이와 같은 특정 실시예에만 한정되는 것은 아니며, 특허청구범위에 기재된 범주 내에서 적절하게 변경 가능한 것이다.In the above, preferred embodiments of the present invention have been exemplarily described, but the scope of the present invention is not limited to such specific embodiments, and can be appropriately changed within the scope described in the claims.

110 : 스위치 입력 수집부
120 : ADC 입력 수집부
130 : 누설전류 판정부
140 : 제어부
150 : 논웨이크업 스위치 설정부
110: switch input collection unit
120: ADC input collection unit
130: leakage current determination unit
140: control unit
150: non-wake-up switch setting unit

Claims (16)

전기배선을 통해 연결된 스위치들의 전압레벨을 모니터링하고 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 스위치 IC로부터, 변경된 레지스터 정보를 스위치 입력으로서 수집하는 스위치 입력 수집부;
각각의 스위치와 스위치 IC 사이의 전기배선에 연결되어 각 스위치의 전압레벨을 ADC 입력으로서 수집하는 ADC 입력 수집부;
스위치들의 정상 전압레벨에 대한 정보가 사전에 저장되고, 스위치 오프 상태인 스위치들의 ADC 입력과 정상 전압레벨을 비교하여 ADC 입력이 정상 전압레벨보다 낮은 스위치가 존재하면, 해당 스위치에서 누설전류가 발생한 것으로 판정하는 누설전류 판정부;
상기 스위치 입력 수집부에서 수집되는 스위치 입력에 따라 IPS 또는 릴레이를 제어하여 제어대상 부하를 온오프하고, 상기 누설전류 판정부로부터 누설전류가 발생한 스위치가 판정되면 해당 스위치의 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부에 등록하며, 스위치에 입력오류가 발생하면 스위치 IC의 리셋(Reset)을 수행하는 제어부; 및
차량의 시동이 오프되어 저전력 모드에 진입하면, 상기 고장코드 저장부에서 현재 고장코드가 등록된 스위치를 확인한 다음, 확인된 스위치를 논웨이크업(Non-WakeUp) 스위치로 설정하는 논웨이크업 스위치 설정부;를 포함하고,
상기 논웨이크업 스위치 설정부는,
스위치 IC의 리셋이 수행된 이후에도, 입력오류가 발생한 스위치의 현재 고장코드가 과거 고장코드로 변경되지 않으면, 해당 스위치를 논웨이크업 스위치로 설정하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템.
The changed register from the switch IC that monitors the voltage level of the switches connected through electrical wiring and changes the register information of the switch to the switch-on state or the switch-off state when there is a switch in which the voltage level fluctuates due to user manipulation. A switch input collection unit for collecting information as a switch input;
An ADC input collecting unit connected to the electrical wiring between each switch and the switch IC and collecting the voltage level of each switch as an ADC input;
Information about the normal voltage level of the switches is stored in advance, and if there is a switch whose ADC input is lower than the normal voltage level by comparing the ADC input of the switches in the switched off state with the normal voltage level, a leakage current has occurred in the corresponding switch. A leakage current determination unit that determines;
When the control target load is turned on and off by controlling the IPS or the relay according to the switch input collected from the switch input collecting unit, and the current fault code of the switch is determined by the leakage current determination unit, the current fault code of the corresponding switch (Diagnostic Trouble Code). , DTC) to the fault code storage unit, and when an input error occurs in the switch, the control unit performs a reset of the switch IC; And
When the vehicle is turned off and enters the low-power mode, a non-wake-up switch setting that checks the switch in which the current fault code is registered in the fault code storage unit, and then sets the checked switch as a non-wake-up switch. Including;
The non-wake-up switch setting unit,
Even after the reset of the switch IC is performed, if the current fault code of the switch in which the input error has occurred is not changed to the past fault code, the switch control system having a fail safety function, characterized in that the corresponding switch is set as a non-wake-up switch.
삭제delete 제 1항에 있어서,
상기 제어부는,
현재 고장코드가 등록된 스위치의 전압레벨이 정상 전압레벨인 것으로 확인되면 기등록된 현재 고장코드를 과거 고장코드로 변경하여 고장코드 저장부에 등록하고,
상기 논웨이크업 스위치 설정부는,
고장코드 저장부에서 현재 고장코드가 과거 고장코드로 변경된 스위치가 존재하면, 해당 스위치를 웨이크업 스위치로 전환하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템.
The method of claim 1,
The control unit,
If it is confirmed that the voltage level of the switch in which the current fault code is registered is the normal voltage level, the previously registered current fault code is changed to the past fault code and registered in the fault code storage unit.
The non-wake-up switch setting unit,
A switch control system having a fail safety function, characterized in that when there is a switch in which the current fault code has been changed to the past fault code in the fault code storage unit, the corresponding switch is switched to a wake-up switch.
제 1항에 있어서,
상기 제어부는,
스위치 입력과 ADC 입력을 비교하여 스위치 또는 상기 ADC 입력 수집부에서의 입력오류 발생 여부를 판정하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템.
The method of claim 1,
The control unit,
A switch control system having a fail safety function, characterized in that it determines whether an input error occurs in the switch or the ADC input collecting unit by comparing the switch input and the ADC input.
제 4항에 있어서,
상기 제어부는,
스위치 입력과 ADC 입력 중에서 ADC 입력이 정상인 것으로 판정되면, 스위치에 입력오류가 발생한 것으로 판정하여 해당 스위치의 현재 고장코드를 고장코드 저장부에 등록하고, ADC 입력에 기초하여 스위치 입력 판정을 수행하면서 스위치 IC의 리셋(Reset)을 수행하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템.
The method of claim 4,
The control unit,
If the ADC input is determined to be normal among the switch input and ADC input, it is determined that an input error has occurred in the switch, registers the current fault code of the switch in the fault code storage unit, and performs switch input determination based on the ADC input. A switch control system having a fail safety function, characterized in that the IC is reset.
삭제delete 제 4항에 있어서,
상기 제어부는,
스위치 입력과 ADC 입력 중에서 스위치 입력이 정상인 것으로 판정되면, 상기 ADC 입력 수집부에 입력오류가 발생한 것으로 판정하여 상기 ADC 입력 수집부의 현재 고장코드를 고장코드 저장부에 등록하고, 스위치 입력에 기초하여 스위치 입력 판정을 수행하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템.
The method of claim 4,
The control unit,
If it is determined that the switch input is normal among the switch input and the ADC input, it is determined that an input error has occurred in the ADC input collecting unit, and the current fault code of the ADC input collecting unit is registered in the fault code storage unit, and the switch is based on the switch input. A switch control system having a fail safety function, characterized in that it performs input determination.
제 4항에 있어서,
상기 제어부는,
스위치 입력과 ADC 입력을 비교하여 서로 동일한 스위치 입력 상태인 것으로 확인되면, 스위치 입력과 ADC 입력이 모두 정상인 것으로 판정하며, 고장코드 저장부에 현재 고장코드가 등록되어 있는지 확인하여 과거 고장코드로 변경하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 시스템.
The method of claim 4,
The control unit,
If it is confirmed that the switch input and ADC input are in the same switch input state, it is determined that both the switch input and the ADC input are normal, and the fault code is changed to the past fault code by checking whether the fault code is currently registered in the fault code storage. A switch control system having a fail safety function, characterized in that.
페일 세이프티 기능을 갖는 스위치 제어 시스템에서 수행되는 페일 세이프티 기능을 갖는 스위치 제어 방법으로서,
(1) 스위치 입력 수집부가, 전기배선을 통해 연결된 스위치들의 전압레벨을 모니터링하고 사용자 조작에 의해 전압레벨의 변동이 발생한 스위치가 존재하면 해당 스위치의 레지스터 정보를 스위치 온 상태 또는 스위치 오프 상태로 변경하여 저장하는 스위치 IC로부터, 변경된 레지스터 정보를 스위치 입력으로서 수집하는 단계;
(2) ADC 입력 수집부가, 각각의 스위치와 스위치 IC 사이의 전기배선에 연결되어 각 스위치의 전압레벨을 ADC 입력으로서 수집하는 단계;
(3) 스위치들의 정상 전압레벨에 대한 정보가 사전에 저장된 누설전류 판정부가, 스위치 오프 상태인 스위치들의 ADC 입력과 정상 전압레벨을 비교하여 ADC 입력이 정상 전압레벨보다 낮은 스위치가 존재하면, 해당 스위치에서 누설전류가 발생한 것으로 판정하는 단계;
(4) 제어부가, 상기 스위치 입력 수집부에 수집되는 스위치 입력에 따라 IPS 또는 릴레이를 제어하여 제어대상 부하를 온오프하고, 상기 누설전류 판정부로부터 누설전류가 발생한 스위치가 판정되면 해당 스위치의 현재 고장코드(Diagnostic Trouble Code, DTC)를 고장코드 저장부에 등록하며, 스위치에 입력오류가 발생하면 스위치 IC의 리셋(Reset)을 수행하는 단계; 및
(5) 논웨이크업 스위치 설정부가, 차량의 시동이 오프된 후 저전력 모드 진입 조건을 만족하게 되면, 상기 고장코드 저장부에서 현재 고장코드가 등록된 스위치를 확인한 다음, 확인된 스위치를 논웨이크업(Non-WakeUp) 스위치로 설정한 이후에 저전력 모드에 진입하도록 하는 단계;를 포함하고,
상기 제 (5)단계에서 상기 논웨이크업 스위치 설정부는,
스위치 IC의 리셋이 수행된 이후에도, 입력오류가 발생한 스위치의 현재 고장코드가 과거 고장코드로 변경되지 않으면, 해당 스위치를 논웨이크업 스위치로 설정하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 방법.
As a switch control method having a fail safety function performed in a switch control system having a fail safety function,
(1) The switch input collection unit monitors the voltage level of switches connected through electrical wiring, and if there is a switch in which the voltage level fluctuates due to user manipulation, it changes the register information of the switch to the switch-on state or the switch-off state. Collecting, from the storing switch IC, the changed register information as a switch input;
(2) the ADC input collecting unit is connected to the electrical wiring between each switch and the switch IC to collect the voltage level of each switch as an ADC input;
(3) The leakage current determination unit, in which information on the normal voltage level of the switches is stored in advance, compares the ADC input of the switches in the switched off state with the normal voltage level, and if there is a switch whose ADC input is lower than the normal voltage level, the corresponding switch Determining that a leakage current has occurred in
(4) The control unit controls the IPS or the relay according to the switch input collected in the switch input collecting unit to turn on and off the load to be controlled, and when the switch in which the leakage current is generated is determined by the leakage current determination unit, the current of the corresponding switch is Registering a Diagnostic Trouble Code (DTC) in a fault code storage unit, and performing a reset of the switch IC when an input error occurs in the switch; And
(5) When the non-wake-up switch setting unit satisfies the condition for entering the low-power mode after the vehicle is turned off, the failure code storage unit checks the switch in which the current failure code is registered, and then non-wakes the confirmed switch. Includes,
In the step (5), the non-wake-up switch setting unit,
Even after the reset of the switch IC is performed, if the current fault code of the switch in which the input error has occurred is not changed to the past fault code, the corresponding switch is set as a non-wake-up switch.
삭제delete 제 9항에 있어서,
상기 제 (4)단계에서 상기 제어부는,
현재 고장코드가 등록된 스위치의 전압레벨이 정상 전압레벨인 것으로 확인되면 기등록된 현재 고장코드를 과거 고장코드로 변경하여 고장코드 저장부에 등록하고,
상기 제 (5)단계에서 상기 논웨이크업 스위치 설정부는,
고장코드 저장부에서 현재 고장코드가 과거 고장코드로 변경된 스위치가 존재하면, 해당 스위치를 웨이크업 스위치로 전환하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 방법.
The method of claim 9,
In the step (4), the control unit,
If it is confirmed that the voltage level of the switch in which the current fault code is registered is the normal voltage level, the previously registered current fault code is changed to the past fault code and registered in the fault code storage unit.
In the step (5), the non-wake-up switch setting unit,
A switch control method having a fail safety function, characterized in that if there is a switch in which the current fault code has been changed to the past fault code in the fault code storage unit, the corresponding switch is switched to a wake-up switch.
제 9항에 있어서,
상기 제 (4)단계에서 상기 제어부는,
스위치 입력과 ADC 입력을 비교하여 스위치 또는 상기 ADC 입력 수집부에서의 입력오류 발생 여부를 판정하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 방법.
The method of claim 9,
In the step (4), the control unit,
A switch control method having a fail safety function, characterized in that it is determined whether an input error occurs in the switch or the ADC input collecting unit by comparing the switch input and the ADC input.
제 12항에 있어서,
상기 제 (4)단계에서 상기 제어부는,
스위치 입력과 ADC 입력 중에서 ADC 입력이 정상인 것으로 판정되면, 스위치에 입력오류가 발생한 것으로 판정하여 해당 스위치의 현재 고장코드를 고장코드 저장부에 등록하고, ADC 입력에 기초하여 스위치 입력 판정을 수행하면서 스위치 IC의 리셋(Reset)을 수행하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 방법.
The method of claim 12,
In the step (4), the control unit,
If the ADC input is determined to be normal among the switch input and ADC input, it is determined that an input error has occurred in the switch, registers the current fault code of the switch in the fault code storage unit, and performs switch input determination based on the ADC input. Switch control method having a fail safety function, characterized in that performing a reset (Reset) of the IC.
삭제delete 제 12항에 있어서,
상기 제 (4)단계에서 상기 제어부는,
스위치 입력과 ADC 입력 중에서 스위치 입력이 정상인 것으로 판정되면, 상기 ADC 입력 수집부에 입력오류가 발생한 것으로 판정하여 상기 ADC 입력 수집부의 현재 고장코드를 고장코드 저장부에 등록하고, 스위치 입력에 기초하여 스위치 입력 판정을 수행하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 방법.
The method of claim 12,
In the step (4), the control unit,
If it is determined that the switch input is normal among the switch input and the ADC input, it is determined that an input error has occurred in the ADC input collecting unit, and the current fault code of the ADC input collecting unit is registered in the fault code storage unit, and the switch is based on the switch input. A switch control method having a fail safety function, characterized in that input determination is performed.
제 12항에 있어서,
상기 제 (4)단계에서 상기 제어부는,
스위치 입력과 ADC 입력을 비교하여 서로 동일한 스위치 입력 상태인 것으로 확인되면, 스위치 입력과 ADC 입력이 모두 정상인 것으로 판정하며, 고장코드 저장부에 현재 고장코드가 등록되어 있는지 확인하여 과거 고장코드로 변경하는 것을 특징으로 하는 페일 세이프티 기능을 갖는 스위치 제어 방법.
The method of claim 12,
In the step (4), the control unit,
If it is confirmed that the switch input and ADC input are in the same switch input state, it is determined that both the switch input and the ADC input are normal, and the fault code is changed to the past fault code by checking whether the fault code is currently registered in the fault code storage. A switch control method having a fail safety function, characterized in that.
KR1020190164810A 2019-12-11 2019-12-11 Switch control system and method having fail safety functions KR102232191B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190164810A KR102232191B1 (en) 2019-12-11 2019-12-11 Switch control system and method having fail safety functions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190164810A KR102232191B1 (en) 2019-12-11 2019-12-11 Switch control system and method having fail safety functions

Publications (1)

Publication Number Publication Date
KR102232191B1 true KR102232191B1 (en) 2021-03-25

Family

ID=75222764

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190164810A KR102232191B1 (en) 2019-12-11 2019-12-11 Switch control system and method having fail safety functions

Country Status (1)

Country Link
KR (1) KR102232191B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006117241A (en) * 1997-03-13 2006-05-11 Honda Motor Co Ltd Battery inspection system for electric automobile, and battery inspection method for electric automobile
JP2010076635A (en) * 2008-09-26 2010-04-08 Fujitsu Ten Ltd Control unit and control method
JP2014040142A (en) * 2012-08-21 2014-03-06 Rohm Co Ltd Leak current detection circuit, semiconductor device, led lighting device, and vehicle
JP2014088150A (en) * 2012-10-31 2014-05-15 Denso Corp In-vehicle battery management device
JP2014171346A (en) * 2013-03-05 2014-09-18 Mitsubishi Electric Corp On-vehicle electronic control device, and power feeding control method for the same
KR101490716B1 (en) * 2013-10-29 2015-02-06 현대오트론 주식회사 Battery management apparatus and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006117241A (en) * 1997-03-13 2006-05-11 Honda Motor Co Ltd Battery inspection system for electric automobile, and battery inspection method for electric automobile
JP2010076635A (en) * 2008-09-26 2010-04-08 Fujitsu Ten Ltd Control unit and control method
JP2014040142A (en) * 2012-08-21 2014-03-06 Rohm Co Ltd Leak current detection circuit, semiconductor device, led lighting device, and vehicle
JP2014088150A (en) * 2012-10-31 2014-05-15 Denso Corp In-vehicle battery management device
JP2014171346A (en) * 2013-03-05 2014-09-18 Mitsubishi Electric Corp On-vehicle electronic control device, and power feeding control method for the same
KR101490716B1 (en) * 2013-10-29 2015-02-06 현대오트론 주식회사 Battery management apparatus and method

Similar Documents

Publication Publication Date Title
JP6822728B2 (en) Battery pack management device
US8738227B2 (en) Dark current cutoff system and method for vehicle junction box
US7443049B1 (en) Bi-directional inverter control for high voltage charge/discharge for automobiles
FI107418B (en) Method and plant for controlling a power source system
CN112009303A (en) Control system and method for electric vehicle discharge control
US6400589B2 (en) Control apparatus for a power supply circuit including plural converter
CN111605437B (en) Battery management system and battery management method
CN114103838A (en) Power control apparatus and method for autonomous vehicle
EP1120880A2 (en) Power supply circuit
CN108357444A (en) Vehicle electronic device reserve battery state of emergency control switching circuit
JP2006298240A (en) Power control device for vehicle
US20220291273A1 (en) Method for determining an operational status of an electrical load of a heavy-duty vehicle
KR102232191B1 (en) Switch control system and method having fail safety functions
CN114024363A (en) Double-power-supply system based on electric automobile and control method thereof
CN210309937U (en) Vehicle-mounted power supply control system and electric vehicle
CN109263574B (en) Finished automobile power supply mode redundancy control system and method
CN214450308U (en) Electric automobile low-voltage power supply self-control module with CAN communication
CN112087034B (en) Electric vehicle power-on and power-off control method and circuit and electric vehicle
CN112389199A (en) Vehicle-mounted power supply control system, electric vehicle and vehicle-mounted power supply control method
JP2018170172A (en) Power supply management apparatus and power supply management system
CN112693361A (en) Battery protection system and method
CN103119457A (en) Method for determining a charge state of a battery
CN113415249B (en) Domain controller turn-off path circuit and vehicle
CN218085088U (en) Battery over-discharge prevention device and vehicle
CN111284391B (en) Vehicle-mounted light control system and vehicle

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant