KR20070096361A - Method for compensating direct current offset of current sensor and electronic control unit therefor - Google Patents

Method for compensating direct current offset of current sensor and electronic control unit therefor Download PDF

Info

Publication number
KR20070096361A
KR20070096361A KR1020060026634A KR20060026634A KR20070096361A KR 20070096361 A KR20070096361 A KR 20070096361A KR 1020060026634 A KR1020060026634 A KR 1020060026634A KR 20060026634 A KR20060026634 A KR 20060026634A KR 20070096361 A KR20070096361 A KR 20070096361A
Authority
KR
South Korea
Prior art keywords
current
motor
offset
sensor
current sensor
Prior art date
Application number
KR1020060026634A
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 KR1020060026634A priority Critical patent/KR20070096361A/en
Publication of KR20070096361A publication Critical patent/KR20070096361A/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/046Controlling the motor
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/10Arrangements for controlling torque ripple, e.g. providing reduced torque ripple

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

A method for compensating DC(Direct Current) offset in a current sensor and an ECU therefor are provided to minimize torque ripples of a supply current supplied to a motor by compensating a DC offset value. An ECU(Electronic Control Unit)(120) includes an inverter(140), current sensors(150,160), and an MCU(Motor Control Unit)(130). The inverter delivers a supplying current to a motor(170). The current sensors detect the supplying current and deliver the detected supplying current. The MCU receives torque data from a torque sensor(110), calculates a control current based on the torque data, controls the inverter to supply the supplying current, calculates a DC offset value in the current sensors, and compensates for the calculated DC offset value.

Description

전류 센서의 직류 옵셋 보상 방법 및 그를 위한 전자제어장치{Method for Compensating Direct Current Offset of Current Sensor and Electronic Control Unit Therefor}Method for Compensating Direct Current Offset of Current Sensor and Electronic Control Unit Therefor}

도 1은 본 발명의 바람직한 실시예에 따른 전류 센서의 DC 옵셋 보상을 위한 ECU를 간략하게 나타낸 블록 구성도1 is a block diagram schematically illustrating an ECU for DC offset compensation of a current sensor according to a preferred embodiment of the present invention.

도 2는 본 발명의 바람직한 실시예에 따른 전류 센서의 DC 옵셋 보상 방법을 설명하기 위한 순서도이다.2 is a flowchart illustrating a DC offset compensation method of a current sensor according to a preferred embodiment of the present invention.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

110: 토크 센서 120: ECU110: torque sensor 120: ECU

130: MCU 140: 인버터130: MCU 140: Inverter

150: a상 전류 센서 160: b상 전류 센서150: a-phase current sensor 160: b-phase current sensor

170: 모터170: motor

본 발명은 전류 센서의 직류 옵셋(DC Offset, 이하 'DC 옵셋'이라 칭함) 보상 방법 및 그를 위한 전자제어장치(ECU: Electronic Control Unit, 이하 'ECU'라 칭함)에 관한 것이다. 더욱 상세하게는, 자동차의 ECU에서 모터에 흐르는 전류를 감지하는 전류 센서의 DC 옵셋을 실시간으로 측정하여 보상함으로써 모터의 토크 리플을 최소화하는 방법 및 그를 위한 전자제어장치에 관한 것이다.The present invention relates to a DC offset compensation method of a current sensor (hereinafter referred to as "DC offset") and an electronic control unit (ECU) for it. More specifically, the present invention relates to a method of minimizing torque ripple of a motor by measuring and offsetting a DC offset of a current sensor that senses a current flowing in a motor in an ECU of an automobile in real time, and an electronic control apparatus therefor.

통상적으로 자동차의 조향장치로는 유압 펌프의 유압을 이용한 유압식 동력 조향장치(Hydraulic Power Steering Apparatus)가 사용되고 있지만, 1990년대 이후 전기 모터를 이용한 전동식 조향장치(EPS: Electronic Power Steering Apparatus)가 점차 보편화하고 있다. 기존의 유압식 동력 조향장치는 동력을 보조해 주는 동력원인 유압 펌프가 엔진에 의해 구동되어 조향 휠의 회전 여부와 관계없이 항상 에너지를 소모하는 데 비해서 전동식 조향장치는 조향 휠이 회전하여 토크가 발생하면 전기 에너지로 구동되는 모터가 조향 보조 동력을 제공한다. 따라서 전동식 조향장치를 사용하는 경우 유압식 동력 조향장치에 비해 에너지 효율을 향상시킬 수 있다.Normally, a hydraulic power steering device (Hydraulic Power Steering Apparatus) using the hydraulic pressure of a hydraulic pump is used as a steering device of an automobile, but since the 1990s, an electric power steering device (EPS: Electronic Power Steering Apparatus) has gradually become more common. have. Conventional hydraulic power steering system uses a hydraulic pump, which is the power source to assist the power, is driven by the engine and consumes energy all the time regardless of whether the steering wheel is rotated, whereas the electric steering system generates torque when the steering wheel rotates. A motor driven by electrical energy provides steering assistance power. Therefore, when the electric steering device is used, energy efficiency can be improved compared to the hydraulic power steering device.

통상적인 전동식 조향장치는 발생 토크, 차속, 조향각 등을 이용하여 운전자의 조향 의도와 자동차의 운행 상황 등을 파악하고 종합적으로 고려하여 조향 보조력을 생성한 후, 조향 컬럼, 랙바, 랙앤 피니언 등으로 전달함으로써 운전자로 하여금 더욱 쉽게 운전할 수 있도록 하고, 자동차가 더욱 안전하게 운행할 수 있도록 한다.In general, the electric steering device uses the generated torque, vehicle speed, steering angle, etc. to grasp the driver's steering intention and the driving condition of the vehicle, and generates steering assistance by comprehensively considering the steering column, rack bar, rack and pinion, etc. This makes it easier for the driver to drive and makes the car run safer.

전동식 조향장치는 많은 기계 부품과 전자 부품들로 구성되지만, 가장 핵심적인 구성으로서는 ECU가 있다. ECU는 외부의 각종 센서로부터 전달되는 전기적인 신호를 분석하여 운전자의 조향 의도와 자동차의 주행 상황 등을 파악하고, 구비된 각종 로직(Logic)을 이용하여 모터를 제어하는 전동식 조향장치의 핵심 장치이다.Electric steering is made up of many mechanical and electronic components, but the most important configuration is the ECU. ECU is the core device of the electric steering device that analyzes the electric signals transmitted from various external sensors to understand the driver's steering intention and the driving situation of the car, and controls the motor using various logics provided. .

통상적으로 ECU는 모터를 정밀하게 제어하기 위해 모터에 흐르는 전류를 파악하는데, 전류 센서를 이용하여 모터에 흐르는 전류를 파악한다. 즉, 모터가 삼상 전원을 사용하는 모터라면 삼상 중 두 상(예를 들면, a상, b상, c상 중 a상과 b상)에 전류 센서를 부착하여 각 상의 전류를 측정하고, 측정한 각 상의 전류를 이용하여 나머지 한 상의 전류를 계산한다.In general, the ECU detects the current flowing in the motor to precisely control the motor, and uses the current sensor to determine the current flowing in the motor. That is, if the motor uses a three-phase power source, a current sensor is attached to two phases of three phases (for example, a phase, b phase, and c phase a and b phases) to measure and measure the current of each phase. The current of each phase is used to calculate the current of the other phase.

ECU는 전술한 바와 같이 측정된 각 상의 전류를 이용하여 모터에 발생한 토크와 토크에 따른 리플(Ripple) 즉, 토크 리플을 계산한다. 토크 리플은 전류 센서에서 검출한 전류를 전달하는 경로상의 오류 또는 전류 센서에 인가된 인가 전압의 오차나 전류 센서 자체의 DC 옵셋 등에 의해 발생하는데, 토크 리플로 인해 모터의 제어 성능이 저하되는 문제점이 있다.The ECU calculates ripple, that is, torque ripple, according to the torque generated in the motor and the torque using the current of each phase measured as described above. Torque ripple is caused by an error in the path that delivers the current detected by the current sensor, an error in the applied voltage applied to the current sensor, or a DC offset of the current sensor itself. have.

여기서, DC 옵셋이란 전류 센서를 동작시키기 위한 미량의 DC 전류이다. 전류 센서에서 모터에 흐르는 전류를 측정할 때, 전류 센서를 동작하는 데 필요한 미량의 전류가 흐르게 되고, 전류 센서로부터 출력되는 전류는 실제 구하고자 하는 모터에 흐르는 전류와 전류 센서를 동작하는 데 필요한 미량의 전류의 합이된다. 이때, 미량의 전류로 인해 측정하고자 하는 실제 모터에 흐르는 전류의 값이 왜곡되게 된다. 이러한 DC 옵셋은 모터에 흐르는 전류를 측정하기 위해 반드시 필요하기 때문에 완전히 제거할 수 없으므로, 모터에 흐르는 전류를 측정할 때 DC 옵셋을 고려해야 한다.Here, the DC offset is a small amount of DC current for operating the current sensor. When measuring the current flowing to the motor from the current sensor, a small amount of current required to operate the current sensor flows, and the current output from the current sensor is actually a small amount of current flowing to the motor to be obtained and a required amount to operate the current sensor. Is the sum of the currents. At this time, the value of the current flowing through the actual motor to be measured is distorted due to a small amount of current. Since these DC offsets are absolutely necessary to measure the current through the motor, they cannot be completely removed, so the DC offset must be taken into account when measuring the current through the motor.

따라서, ECU가 모터를 정밀하게 제어하기 위해서는 전류 센서에서 발생한 DC 옵셋을 보상하여 토크 리플을 최소화해야 한다. 그리고 전류 센서에서 발생하는 DC 옵셋은 모터를 제어하는 과정에서 주변 환경, 전류 센서의 노후화 등의 이유로 꾸준히 변동하기 때문에, ECU가 모터를 제어하는 과정에서 계속해서 DC 옵셋을 적절하게 보상하는 기술의 개발이 요구된다.Therefore, in order for the ECU to control the motor precisely, torque ripple must be minimized by compensating for the DC offset generated by the current sensor. In addition, since the DC offset generated by the current sensor fluctuates continuously due to the surrounding environment and the aging of the current sensor in the process of controlling the motor, the development of a technology that properly compensates for the DC offset in the process of controlling the motor by the ECU Is required.

이러한 문제점을 해결하고 그에 대한 요구에 부응하기 위해 본 발명은, 자동차의 ECU에서 모터에 흐르는 전류를 감지하는 전류 센서의 DC 옵셋을 실시간으로 측정하여 보상함으로써 모터의 토크 리플을 최소화하는 방법 및 그를 위한 전자제어장치를 제공하는 데 그 목적이 있다.In order to solve this problem and meet the needs thereof, the present invention provides a method and method for minimizing torque ripple of a motor by measuring and compensating in real time the DC offset of a current sensor that senses a current flowing in a motor in an automotive ECU. The purpose is to provide an electronic control device.

이러한 목적을 달성하기 위해 본 발명은, 토크 센서로부터 발생 토크를 감지하여 모터를 제어하는 전자제어장치(ECU: Electronic Control Unit)에 있어서, 모터로 공급 전류를 전달하는 인버터(Inverter); 공급 전류를 감지하여 전달하는 전류 센서; 및 토크 센서로부터 발생 토크를 수신하고, 발생 토크에 따른 제어 전류를 계산하여 인버터로 하여금 공급 전류를 공급하도록 제어하며, 전류 센서의 DC 옵셋을 계산하고 보상하는 모터제어장치(MCU: Motor Control Unit, 이하 'MCU'라 칭함)를 포함하는 것을 특징으로 하는 전류 센서의 DC 옵셋 보상을 위한 전자제어장치를 제공한다.In order to achieve the above object, the present invention provides an electronic control unit (ECU) for controlling a motor by detecting a generated torque from a torque sensor, comprising: an inverter for transmitting a supply current to the motor; A current sensor for detecting and delivering a supply current; And a motor control unit (MCU) that receives the generated torque from the torque sensor, calculates a control current according to the generated torque, controls the inverter to supply the supply current, and calculates and compensates a DC offset of the current sensor. It provides an electronic control device for the DC offset compensation of the current sensor, characterized in that it comprises a 'MCU'.

또한, 본 발명의 다른 목적에 의하면, 토크 센서로부터 발생 토크를 감지하여 모터를 제어하는 전자제어장치(ECU: Electronic Control Unit)에서 전류 센서의 DC 옵셋을 보상하는 방법에 있어서, (a) 모터의 전류 제어를 중단하는지 여부를 확인하여 전류 센서를 이용하여 모터에 공급되는 공급 전류를 측정하는 단계; (b) 공급 전류를 이용하여 전류 센서의 DC 옵셋을 계산하고 저장하는 단계; 및 (c) 모터의 전류 제어를 수행하는지 여부를 확인하여 DC 옵셋을 보상하여 전류 제어를 수행하는 단계를 포함하는 것을 특징으로 하는 전류 센서의 DC 옵셋 보상 방법을 제공한다.In addition, according to another object of the present invention, in a method of compensating for the DC offset of the current sensor in the electronic control unit (ECU) for controlling the motor by detecting the generated torque from the torque sensor, (a) of the motor Checking whether the current control is stopped and measuring a supply current supplied to the motor using a current sensor; (b) calculating and storing the DC offset of the current sensor using the supply current; And (c) checking whether or not the current control of the motor is performed to compensate for the DC offset to perform the current control.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even if displayed on different drawings. In addition, in describing the present invention, when it is determined that the detailed description of the related well-known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명의 바람직한 실시예에 따른 전류 센서의 DC 옵셋(Offset) 보상을 위한 전자제어장치(ECU: Electronic Control Unit, 이하 'ECU'라 칭함)를 간략하게 나타낸 블록 구성도이다.FIG. 1 is a block diagram schematically illustrating an electronic control unit (ECU) for DC offset compensation of a current sensor according to a preferred embodiment of the present invention.

본 발명의 바람직한 실시예에 따른 전류 센서의 DC 옵셋 보상을 위한 ECU는(120)는 토크 센서(110) 등의 주행 상황을 파악하기 위한 각종 센서 등과 모터(170)와 연결되어, 토크 센서(110) 등으로부터 입력된 전기 신호를 분석하여 운전자에 의한 주행 상황을 감지하고, 주행 상황에 적합하도록 모터(190)의 구동 토크를 제어하는 공급 전류를 출력한다.ECU 120 for the DC offset compensation of the current sensor according to an embodiment of the present invention is connected to various sensors and the motor 170 to determine the driving situation, such as the torque sensor 110, the torque sensor 110 By analyzing the electric signal input from the) and the like to detect the driving situation by the driver, and outputs a supply current for controlling the drive torque of the motor 190 to suit the driving situation.

여기서, 도 1에서는 ECU(120)가 토크 센서(110)에만 연결된 것으로 도시했지만 실제로는 차속 센서, 조향각 센서 등 주행 상황을 감지하기 위한 다수 개의 센서와 연결될 수 있다. 모터(170)는 ECU(120)로부터 전달된 공급 전류에 따라 조향을 원활하게 하기 위한 보조 동력을 생성하여 전달한다.Here, in FIG. 1, the ECU 120 is illustrated as only connected to the torque sensor 110, but may be actually connected to a plurality of sensors for detecting a driving situation such as a vehicle speed sensor and a steering angle sensor. The motor 170 generates and transmits auxiliary power for smooth steering according to the supply current transmitted from the ECU 120.

또한, 본 발명의 바람직한 실시예에 따른 전류 센서의 DC 옵셋 보상을 위한 ECU(120)는 모터제어장치(MCU: Motor Control Unit, 이하 'MCU'라 칭함, 130), 인버터(Inverter, 140), a상 전류 센서(150) 및 b상 전류 센서(160)를 포함한다.In addition, the ECU 120 for the DC offset compensation of the current sensor according to an embodiment of the present invention is a motor control unit (MCU: Motor Control Unit, hereinafter referred to as 'MCU', 130), inverter (Inverter, 140), It includes a phase current sensor 150 and b phase current sensor 160.

MCU(130)는 토크 센서(110)와 연결되어 토크 센서(110)로부터 전기 신호를 수신하여 발생 토크를 파악하고, 발생 토크에 따른 제어 전류를 계산하여 인버터(140)를 제어함으로써 인버터(140)로 하여금 제어 전류에 해당하는 공급 전류를 모터(170)로 공급하도록 한다.The MCU 130 is connected to the torque sensor 110 to receive the electrical signal from the torque sensor 110 to determine the generated torque, calculate the control current according to the generated torque to control the inverter 140 by the inverter 140 To supply the supply current corresponding to the control current to the motor 170.

본 발명의 바람직한 실시예에 따른 MCU(130)는 인버터(140)와 모터(170) 간의 결선에 부착된 a상 전류 센서(150)와 b상 전류 센서(160)의 DC 옵셋을 실시간으로 보상하는 알고리즘을 탑재하여, 모터(170)의 전류 제어를 수행하지 않는 동안 각 전류 센서(150, 160)를 이용하여 a상의 전류값과 b상의 전류값을 측정하고, 각 상의 전류값을 바탕으로 각 상의 DC 옵셋을 계산하여 저장한 후, 모터(170)의 전류 제어를 수행할 때, 저장된 각 상의 DC 옵셋을 고려하여 모터에 공급하는 공급 전류를 제어한다. 여기서, 각 상의 DC 옵셋은 각 상의 전류값과 각 상의 전류 센서의 등가 저항값의 곱인 전압에서 기준 전압을 뺀 전압이다.MCU 130 according to a preferred embodiment of the present invention to compensate in real time the DC offset of the a-phase current sensor 150 and the b-phase current sensor 160 attached to the connection between the inverter 140 and the motor 170 in real time By using an algorithm, the current value of phase a and current of phase b are measured using the current sensors 150 and 160 while the current control of the motor 170 is not performed. After calculating and storing the DC offset, when performing the current control of the motor 170, the supply current supplied to the motor is controlled in consideration of the DC offset stored in each phase. Here, the DC offset of each phase is a voltage obtained by subtracting the reference voltage from a voltage that is a product of the current value of each phase and the equivalent resistance value of the current sensor of each phase.

이를 위해 MCU(130)는 발생 토크에 따라 제어 전류를 계산하여 인버터(140) 를 제어하고 DC 옵셋을 보상하기 위한 계산을 수행하는 마이크로프로세서, 발생 토크에 따른 제어 전류를 계산하는 알고리즘의 소프트웨어, 인버터(140)를 제어하기 위한 알고리즘의 소프트웨어, DC 옵셋을 보상하기 위한 알고리즘의 소프트웨어 등과 계산된 각 상의 DC 옵셋을 저장하기 위한 EEPROM(Electrically Erasable Program ROM)과 같은 비휘발성 메모리, 마이크로프로세서가 비휘발성 메모리에 저장된 각종 소프트웨어를 실행하고 계산에 따라 발생하는 일시적인 데이터를 저장하기 위한 RAM(Random Access Memory)과 같은 휘발성 메모리 등을 구비한다.To this end, the MCU 130 calculates a control current according to the generated torque to control the inverter 140 and performs a calculation for compensating the DC offset, a software of an algorithm for calculating the control current according to the generated torque, and an inverter. Non-volatile memory, such as software of an algorithm for controlling 140, software of an algorithm to compensate for DC offset, and an electrically erased program ROM (EEPROM) for storing the DC offset of each phase calculated, the microprocessor is a non-volatile memory And a volatile memory such as RAM (Random Access Memory) for executing various software stored in and storing temporary data generated by calculation.

인버터(140)는 직류를 교류로 변환하여 모터(170)로 전원을 공급하는 전원 공급 장치로서, MCU(130)의 제어에 따라 모터(170)로 공급 전류를 공급한다. 즉, 인버터(140)는 MCU(130)로부터 제어 전류가 전달되면 구비한 스위칭 소자를 제어 전류에 따라 스위칭하여 모터(170)로 공급하는 공급 전류를 가변함으로써, 모터(170)의 동작을 제어한다. 이때, 인버터(140)는 직류를 교류로 변환하여 모터(170)로 공급하기 때문에, 3상의 교류 전원을 모터(170)로 공급한다. The inverter 140 converts a direct current into an alternating current and supplies power to the motor 170. The inverter 140 supplies a supply current to the motor 170 under the control of the MCU 130. That is, the inverter 140 controls the operation of the motor 170 by varying the supply current supplied to the motor 170 by switching the switching element provided according to the control current when the control current is transmitted from the MCU 130. . At this time, since the inverter 140 converts direct current into alternating current and supplies it to the motor 170, the inverter 140 supplies three-phase alternating current power to the motor 170.

a상 전류 센서(150) 및 b상 전류 센서(160)는 인버터(140)와 모터(170) 간의 3상 결선 중 각각 a상과 b상의 결선에 부착되어, 각 상의 전류값을 감지하여 MCU(130)로 피드백(Feed back)하는 전류 감지기이다.The a-phase current sensor 150 and the b-phase current sensor 160 are attached to the a-phase and b-phase connection, respectively, of the three-phase connection between the inverter 140 and the motor 170, and detects the current value of each phase to determine the MCU ( 130 is a current sensor that feeds back.

모터(170)로 공급되는 공급 전류에서 발생하는 토크 리플은 각 상의 전류 센서의 DC 옵셋에 따라 발생한다. 이하에서는, 수학식 1 내지 수학식 3을 통해 전류 센서의 DC 옵셋과 토크 리플 간의 관계에 대해 설명한다.Torque ripple generated from the supply current supplied to the motor 170 is generated according to the DC offset of the current sensor of each phase. Hereinafter, the relationship between the DC offset and the torque ripple of the current sensor will be described through Equations 1 to 3 below.

a상의 전류를 ia, b상의 전류를 ib, c상의 전류를 ic라 하고, a상, b상 각 각의 DC 옵셋 즉, a상 DC 옵셋 전류와 b상의 DC 옵셋 전류를 각각 Δa, Δb라고 가정하면, ia, ib, ic는 수학식 1과 같이 계산된다. The current in phase a is called ia, the current in phase b is ib, and the current in phase c is ic, and the DC offsets of the phases a and b are Δa and Δb respectively. Ia, ib, and ic are calculated as in Equation 1.

Figure 112006020470700-PAT00001
Figure 112006020470700-PAT00001

수학식 1과 같이 계산된 각 상의 전류를 이용하여 발생 토크 Te를 계산하면, 수학식 2와 같이 계산된다.When the generated torque Te is calculated using the current of each phase calculated as in Equation 1, it is calculated as in Equation 2.

Figure 112006020470700-PAT00002
Figure 112006020470700-PAT00002

여기서, 발생 토크를 이용하여 토크 리플 Tr을 계산하면 수학식 3과 같이 계산된다.Here, when the torque ripple Tr is calculated using the generated torque, it is calculated as in Equation 3.

Figure 112006020470700-PAT00003
Figure 112006020470700-PAT00003

수학식 3에 나타낸 바와 같이 토크 리플은 a상 전류 센서(150)의 DC 옵셋 전류 Δa과 b상 전류 센서(160)의 DC 옵셋 전류 Δb에 따라 그 값이 달라짐을 알 수 있다. 즉, 토크 리플은 DC 옵셋 전류에 비례하여 상승하는 것을 알 수 있다. 따라서, a상 전류 센서(150)와 b상의 전류 센서(160)를 DC 옵셋이 '0'이 되도록 조절해야 모터(170)로 공급되는 공급 전류의 토크 리플을 최소화할 수 있다. 실제로 구현상의 문제로 인해, a상 전류 센서(150)와 b상의 전류 센서(160)를 DC 옵셋이 '0'이 되도록 조절하는 것은 불가능하므로, 이러한 DC 옵셋을 전류 제어를 수행할 때 보상해 주어야 한다.As shown in Equation 3, it can be seen that the torque ripple varies depending on the DC offset current Δa of the a-phase current sensor 150 and the DC offset current Δb of the b-phase current sensor 160. That is, it can be seen that the torque ripple rises in proportion to the DC offset current. Accordingly, the torque ripple of the supply current supplied to the motor 170 may be minimized by adjusting the a phase current sensor 150 and the b phase current sensor 160 to have a DC offset of '0'. In practice, due to implementation problems, it is impossible to adjust the a-phase current sensor 150 and the b-phase current sensor 160 so that the DC offset is '0', so this DC offset must be compensated when performing current control. do.

이하에서는 도 1을 통해 설명한 전류 센서의 DC 옵셋 보상을 위한 ECU(120)를 이용하여 전류 센서의 DC 옵셋을 보상하는 방법에 대해 설명한다.Hereinafter, a method of compensating for the DC offset of the current sensor by using the ECU 120 for the DC offset compensation of the current sensor described with reference to FIG. 1 will be described.

도 2는 본 발명의 바람직한 실시예에 따른 전류 센서의 DC 옵셋 보상 방법을 설명하기 위한 순서도이다.2 is a flowchart illustrating a DC offset compensation method of a current sensor according to a preferred embodiment of the present invention.

a상 전류 센서(150)와 b상 전류 센서(160)의 DC 옵셋을 보상하기 위해 ECU(120)는 모터(170)의 전류 제어를 수행하는지 여부를 확인한다(S210). 각 상의 전류 센서(150, 160)의 DC 옵셋을 측정하기 위해서는 모터(170)에 전류가 흐르지 않을 때, 각 상의 전류값을 측정해야 한다. 즉, 모터(170)의 전류 제어를 수행하지 않으면 모터(170)에 흐르는 전류가 '0'이 되어야 하고, 이때, 전류 센서의 출력값이 '0'이 되어야 하는데, 전류 센서에서 '0'이 아닌 전류값이 출력되면 이 전류값에 해당하는 전압이 DC 옵셋 전압이므로, DC 옵셋 전압이 '0'이 되도록 보상해야 토크 리플을 줄일 수 있다. 따라서, ECU(120)가 모터(170)의 전류를 제어하지 않을 때, 각 상의 전류 센서(150, 160)를 이용하여 전류를 측정해야 한다.In order to compensate for the DC offset of the a-phase current sensor 150 and the b-phase current sensor 160, the ECU 120 checks whether the current control of the motor 170 is performed (S210). In order to measure the DC offset of the current sensors 150 and 160 of each phase, the current value of each phase should be measured when no current flows in the motor 170. That is, if the current control of the motor 170 is not performed, the current flowing in the motor 170 should be '0', and at this time, the output value of the current sensor should be '0', which is not '0' in the current sensor. When the current value is output, the voltage corresponding to the current value is the DC offset voltage. Therefore, the torque ripple may be reduced by compensating the DC offset voltage to be '0'. Therefore, when the ECU 120 does not control the current of the motor 170, the current must be measured using the current sensors 150 and 160 of each phase.

여기서, ECU(120)가 모터(170)의 전류 제어를 수행하지 않는 경우란, 예를 들면 시동을 위한 초기 점검(Ignition Start Initial Check) 중, 패일 세이프티(Fail-Safety) 발생 중, 파워 래치(Power Latch) 발생 중 등을 말한다.In this case, when the ECU 120 does not perform current control of the motor 170, for example, during an Ignition Start Initial Check, a fail-safety occurs, a power latch ( Power Latch) is occurring.

ECU(120)는 단계 S210의 확인 결과, 모터(170)의 전류를 제어하는 중인 경우에는 단계 S210을 반복해서 수행하여 모터(170)의 전류를 제어하지 않을 때까지 대기하고, 모터(170)의 전류를 제어하지 않는 경우에는 각 상의 전류 센서(150, 160)를 이용하여 각 상의 전류값을 측정한다(S220).When the ECU 120 is controlling the current of the motor 170 as a result of checking in step S210, the ECU 120 repeatedly performs step S210 to wait until the current of the motor 170 is not controlled, If the current is not controlled, the current value of each phase is measured using the current sensors 150 and 160 of each phase (S220).

각 상의 전류값을 측정한 ECU(120)는 측정한 전류값을 이용하여 각 상의 DC 옵셋을 계산하고 저장한다(S230). 여기서, ECU(120) 더욱 상세하게는 MCU(130)는 각 상의 전류값에 각 전류 센서(150, 160)의 내부 등가 저항값을 곱한 전압에서 각 상의 기준 전압을 뺀 값을 DC 옵셋으로 결정한다. 즉, DC 옵셋은 모터(170)의 전류를 제어하지 않을 때, 측정된 전류값에 전류 센서의 등가 저항값을 곱하여 전류 센서에서 발생한 전압 강하의 값을 계산하고, 전압 강하의 값에서 기준 전압을 뺀 전압으로 계산된다.The ECU 120 measuring the current value of each phase calculates and stores a DC offset of each phase using the measured current value (S230). In detail, the ECU 120 determines the DC offset of a voltage obtained by subtracting the reference voltage of each phase from a voltage obtained by multiplying the current value of each phase by the internal equivalent resistance values of the current sensors 150 and 160. . That is, when the DC offset does not control the current of the motor 170, the measured current value is multiplied by the equivalent resistance value of the current sensor to calculate the value of the voltage drop generated in the current sensor, and the reference voltage is calculated from the value of the voltage drop. Calculated as the minus voltage.

따라서, 예를 들어 각 상의 전류 즉, a상의 전류값이 10 A, b상의 전류값이 1 A이고, 각 상의 전류 센서(150, 160)의 등가 저항값 즉, a상 전류 센서(150)의 등가 저항값이 2.6 Ω이고, b상 전류 센서(160)의 등가 저항값이 2.6 Ω이라면, 각 상의 DC 옵셋은 a상의 경우, 1 A X 2.5 Ω= 0.1 V와 b상 1 A X 2.5 Ω= 0.1 V로 계산된다. 또한, ECU(120)는 전술한 바와 같이 계산한 각 상의 DC 옵셋을 구비한 메모리에 저장한다.Thus, for example, the current value of each phase, that is, the current value of the a phase is 10 A, the current value of the b phase is 1 A, and the equivalent resistance value of the current sensors 150 and 160 of each phase, that is, of the a phase current sensor 150. If the equivalent resistance value is 2.6 Ω and the equivalent resistance value of the b-phase current sensor 160 is 2.6 Ω, the DC offset of each phase is 1 AX 2.5 Ω = 0.1 V and the b phase 1 AX 2.5 Ω = 0.1 V for a phase. Is calculated. In addition, the ECU 120 stores in the memory having the DC offset of each phase calculated as described above.

DC 옵셋을 계산하여 저장한 ECU(120)는 계산한 DC 옵셋을 보상하기 위해 모터(170)의 전류 제어를 시작하는지 여부를 확인한다(S240). ECU(120)는 단계 S240의 확인 결과, 모터(170)의 전류를 제어하는 중이 아닌 경우에는 전류 제어를 수행할 때까지 대기하고, 모터(170)의 전류 제어를 시작한 경우 즉, 모터(170)의 전류를 제어하는 중에 메모리에 저장된 DC 옵셋rkqt을 읽어들이고, 읽어들인 DC 옵셋값을 보상하여 모터(170)에 흐르는 전류를 파악함으로써 모터(170)에 공급되는 모터 전류의 토크 리플을 최소화한다(S250).The ECU 120 that calculates and stores the DC offset checks whether to start the current control of the motor 170 to compensate the calculated DC offset (S240). When the ECU 120 determines that the current of the motor 170 is not being controlled as a result of checking in step S240, the ECU 120 waits until current control is performed and starts the current control of the motor 170, that is, the motor 170. The DC offset rkqt stored in the memory is read while compensating for the current, and the read DC offset value is compensated to determine the current flowing through the motor 170 to minimize the torque ripple of the motor current supplied to the motor 170 ( S250).

이로써, ECU(120)는 제작될 때 기 설정된 각 전류 센서의 DC 옵셋이 주변 환경이나 전류 센서 또는 다른 부품들의 노후로 인해 변경됨으로써, ECU(120)가 모터(170)를 제어할 때 변경된 DC 옵셋을 반영하지 못하여 모터(170)로 공급되는 공급 전류에 토크 리플이 발생하는 것을, DC 옵셋을 보상하는 알고리즘을 통해 실시간으로 DC 옵셋을 보상함으로써, 방지할 수 있다. 즉, ECU(120)는 제작된 이후에도 실시간으로 각 전류 센서의 DC 옵셋을 측정하여 보상함으로써 모터(170)를 더욱 정밀하게 제어할 수 있다.Thus, when the ECU 120 is manufactured, the DC offset of each preset current sensor is changed due to the surrounding environment or the aging of the current sensor or other components, thereby changing the DC offset when the ECU 120 controls the motor 170. The occurrence of torque ripple in the supply current supplied to the motor 170 may not be reflected by compensating the DC offset in real time through an algorithm for compensating for the DC offset. That is, the ECU 120 may control the motor 170 more precisely by measuring and compensating the DC offset of each current sensor in real time even after the ECU 120 is manufactured.

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

이상에서 설명한 바와 같이 본 발명에 의하면, ECU가 제작된 이후에도, 실시간으로 모터로 공급되는 전류를 감지하는 전류 센서의 DC 옵셋을 계산하여 저장하고 모터의 전류를 제어할 때 계산한 DC 옵셋을 보상함으로써, 모터로 공급되는 공급 전류의 토크 리플을 최소화할 수 있어 모터를 더욱 정밀하게 제어할 수 있다.As described above, according to the present invention, even after the ECU is manufactured, by calculating and storing the DC offset of the current sensor for detecting the current supplied to the motor in real time, and compensating the DC offset calculated when controlling the current of the motor. In addition, the torque ripple of the supply current supplied to the motor can be minimized, so that the motor can be more precisely controlled.

Claims (4)

토크 센서로부터 발생 토크를 감지하여 모터를 제어하는 전자제어장치(ECU: Electronic Control Unit)에 있어서,In the electronic control unit (ECU: Electronic Control Unit) for detecting the generated torque from the torque sensor to control the motor, 상기 모터로 공급 전류를 전달하는 인버터(Inverter);An inverter transferring a supply current to the motor; 상기 공급 전류를 감지하여 전달하는 전류 센서; 및A current sensor which senses and delivers the supply current; And 상기 토크 센서로부터 상기 발생 토크를 수신하고, 상기 발생 토크에 따른 제어 전류를 계산하여 상기 인버터로 하여금 상기 공급 전류를 공급하도록 제어하며, 상기 전류 센서의 DC 옵셋을 계산하고 보상하는 모터제어장치(MCU: Motor Control Unit, 이하 'MCU'라 칭함)The motor controller (MCU) for receiving the generated torque from the torque sensor, calculating a control current according to the generated torque to control the inverter to supply the supply current, and calculating and compensating a DC offset of the current sensor. : Motor Control Unit, hereinafter referred to as 'MCU') 를 포함하는 것을 특징으로 하는 전류 센서의 DC 옵셋 보상을 위한 전자제어장치.Electronic control device for the DC offset compensation of the current sensor comprising a. 제 1 항에 있어서, 상기 MCU는,The method of claim 1, wherein the MCU, 상기 모터를 제어하지 않는 중에 상기 공급 전류를 측정하여 상기 DC 옵셋을 계산하는 것을 특징으로 하는 전류 센서의 DC 옵셋 보상을 위한 전자제어장치.And the DC offset is calculated by measuring the supply current while the motor is not controlled. 제 1 항에 있어서, 상기 MCU는,The method of claim 1, wherein the MCU, 상기 DC 옵셋을 계산한 후 저장하고, 상기 모터를 제어하는 중에 상기 DC 옵셋을 보상하는 것을 특징으로 하는 전류 센서의 DC 옵셋 보상을 위한 전자제어장 치.And calculating and storing the DC offset, and compensating for the DC offset while controlling the motor. 토크 센서로부터 발생 토크를 감지하여 모터를 제어하는 전자제어장치(ECU: Electronic Control Unit)에서 전류 센서의 DC 옵셋을 보상하는 방법에 있어서,In the method for compensating the DC offset of the current sensor in an electronic control unit (ECU) for controlling the motor by detecting the generated torque from the torque sensor, (a) 상기 모터의 전류 제어를 중단하는지 여부를 확인하여 상기 전류 센서를 이용하여 상기 모터에 공급되는 공급 전류를 측정하는 단계;(a) checking whether the current control of the motor is stopped and measuring a supply current supplied to the motor by using the current sensor; (b) 상기 공급 전류를 이용하여 상기 전류 센서의 DC 옵셋을 계산하고 저장하는 단계; 및(b) calculating and storing a DC offset of the current sensor using the supply current; And (c) 상기 모터의 전류 제어를 수행하는지 여부를 확인하여 상기 DC 옵셋을 보상하여 상기 전류 제어를 수행하는 단계(c) checking whether the current control of the motor is performed to compensate the DC offset to perform the current control; 를 포함하는 것을 특징으로 하는 전류 센서의 DC 옵셋 보상 방법.DC offset compensation method of the current sensor comprising a.
KR1020060026634A 2006-03-23 2006-03-23 Method for compensating direct current offset of current sensor and electronic control unit therefor KR20070096361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060026634A KR20070096361A (en) 2006-03-23 2006-03-23 Method for compensating direct current offset of current sensor and electronic control unit therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060026634A KR20070096361A (en) 2006-03-23 2006-03-23 Method for compensating direct current offset of current sensor and electronic control unit therefor

Publications (1)

Publication Number Publication Date
KR20070096361A true KR20070096361A (en) 2007-10-02

Family

ID=38803209

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060026634A KR20070096361A (en) 2006-03-23 2006-03-23 Method for compensating direct current offset of current sensor and electronic control unit therefor

Country Status (1)

Country Link
KR (1) KR20070096361A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101238943B1 (en) * 2011-12-19 2013-03-04 엘에스산전 주식회사 Apparatus and method for compensating offset of current sensor
KR20150017503A (en) 2013-08-07 2015-02-17 현대모비스 주식회사 Apparatus for compensating offset and sensing failure of current sensor for inverter driving and Method thereof
KR20150057017A (en) 2013-11-18 2015-05-28 현대모비스 주식회사 Apparatus for compensating errors of position sensor for mortor, Method thereof
US9882516B2 (en) 2015-12-09 2018-01-30 Hyundai Motor Company Method for determining offset of resolver of vehicle motor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101238943B1 (en) * 2011-12-19 2013-03-04 엘에스산전 주식회사 Apparatus and method for compensating offset of current sensor
US8981701B2 (en) 2011-12-19 2015-03-17 Lsis Co., Ltd. Apparatus and method for compensating offset of current sensor
KR20150017503A (en) 2013-08-07 2015-02-17 현대모비스 주식회사 Apparatus for compensating offset and sensing failure of current sensor for inverter driving and Method thereof
KR20150057017A (en) 2013-11-18 2015-05-28 현대모비스 주식회사 Apparatus for compensating errors of position sensor for mortor, Method thereof
US9882516B2 (en) 2015-12-09 2018-01-30 Hyundai Motor Company Method for determining offset of resolver of vehicle motor

Similar Documents

Publication Publication Date Title
CN101981804B (en) Motor control device and electric power steering device
EP2518894B1 (en) Motor control unit and vehicle steering system
US8381869B2 (en) Electric power steering device
US8237392B2 (en) Motor control apparatus and electric power steering apparatus
US9796415B2 (en) Control apparatus and control method of on-vehicle electronic equipment
CN102248900B (en) Methods and system for motor torque control for vehicles when current sensor is not operating properly
KR20110029363A (en) Electric power steering apparatus and control method for current thereof
EP2476590B1 (en) Power supply status diagnostic method and device
KR20070096361A (en) Method for compensating direct current offset of current sensor and electronic control unit therefor
JP4967682B2 (en) Electric power steering device
KR101205596B1 (en) Method And Apparatus for Compensating Steering Pull of Vehicle
KR101043631B1 (en) Method for Compensating Gain Error of Current Sensor and Electronic Control Unit Therefor
KR100764177B1 (en) Method for measuring direct current offset of current sensor and electronic control unit therefor
EP2903151B1 (en) Device for controlling electric motor
US20220169307A1 (en) Input power health diagnostic for electric power steering
KR20160135498A (en) Method for compensating gain of current sensor and electronic control unit therefor
KR101205560B1 (en) Method for Confirming Center Tap of Current Sensor by Using Window Comparator and Electronic Control Unit Therefor
KR102088720B1 (en) Electronic Control Unit and Gain Compensation Method Of Current Sensor Using The Same
KR101148365B1 (en) Method and Electronic Control Unit of Electric Power Steering Apparatus for Providing Steering Angle Error Distinguishable Function
KR101195725B1 (en) Electronic Control Unit for Motor Control
JP5169411B2 (en) Electric power steering device
KR101163253B1 (en) Method and Electric Power Steering Apparatus for Sensing Short by using Engine Center Sensor and Vehicle Speed Sensor
KR20080093602A (en) Electronic power steering apparatus for generating steering assist power by using comparison of actual and target movement of vehicle
JP2004266944A (en) Drive system of induction machine
JP5221922B2 (en) Electric power steering device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application