KR102047877B1 - Apparatus and method for controlling PWM signal - Google Patents

Apparatus and method for controlling PWM signal Download PDF

Info

Publication number
KR102047877B1
KR102047877B1 KR1020170087337A KR20170087337A KR102047877B1 KR 102047877 B1 KR102047877 B1 KR 102047877B1 KR 1020170087337 A KR1020170087337 A KR 1020170087337A KR 20170087337 A KR20170087337 A KR 20170087337A KR 102047877 B1 KR102047877 B1 KR 102047877B1
Authority
KR
South Korea
Prior art keywords
inverter
pwm signal
output current
motor
current
Prior art date
Application number
KR1020170087337A
Other languages
Korean (ko)
Other versions
KR20190006393A (en
Inventor
조석희
김광식
제정문
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020170087337A priority Critical patent/KR102047877B1/en
Publication of KR20190006393A publication Critical patent/KR20190006393A/en
Application granted granted Critical
Publication of KR102047877B1 publication Critical patent/KR102047877B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/10Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers
    • H02H7/12Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers
    • H02H7/122Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers for inverters, i.e. dc/ac converters
    • H02H7/1227Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers for inverters, i.e. dc/ac converters responsive to abnormalities in the output circuit, e.g. short circuit
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/08Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M7/00Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
    • H02M7/42Conversion of dc power input into ac power output without possibility of reversal
    • H02M7/44Conversion of dc power input into ac power output without possibility of reversal by static converters
    • H02M7/48Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • 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
    • H02P27/08Arrangements 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 with pulse width modulation
    • 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/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • H02P6/18Circuit arrangements for detecting position without separate position detecting elements
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation

Abstract

본 발명은 PWM 신호 제어 장치에 관한 것으로, 보다 상세하게는 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도, 차단이 해제된 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어하는 PWM 신호 제어 장치에 관한 것이다. 본 발명의 일 실시예에 따른 PWM 신호 제어 장치는 코일이 권선된 고정자 및 상기 고정자 내에 배치되며 상기 코일에서 발생된 자기장에 의해 회전하는 회전자를 포함하는 모터, PWM 신호에 따라 상기 코일에 교류 전류를 제공하는 인버터, 상기 모터의 모터구동정보 및 상기 인버터의 출력전류를 이용하여 상기 PWM 신호의 듀티비를 제어하는 마이컴 및 상기 PWM 신호를 상기 인버터에 제공하고, 상기 인버터의 출력전류가 과전류인지 여부에 따라 고장신호를 생성하고 상기 PWM 신호를 차단시간 동안 차단하는 게이트 드라이버를 포함하고, 상기 마이컴은, 상기 고장신호가 생성되면 상기 고장신호의 생성시점 이전의 샘플링주기에 검출된 상기 인버터의 출력전류 값을 메모리에 저장하고, 상기 모터구동정보 및 상기 메모리에 저장된 상기 출력전류 값을 이용하여 상기 차단시간 이후 상기 인버터에 제공되는 상기 PWM 신호의 듀티비를 제어하는 것을 특징으로 한다.The present invention relates to a PWM signal control device, and more particularly, to a PWM signal control device for controlling the duty ratio of the PWM signal to output a normal PWM signal after the block is released, even if the PWM signal is temporarily blocked due to noise. It is about. PWM signal control device according to an embodiment of the present invention is a motor comprising a stator coiled and a rotor disposed in the stator is rotated by a magnetic field generated in the coil, the alternating current to the coil in accordance with the PWM signal Providing an inverter, a microcomputer for controlling the duty ratio of the PWM signal using the motor driving information of the motor and the output current of the inverter, and providing the PWM signal to the inverter, and whether the output current of the inverter is an overcurrent And a gate driver for generating a fault signal and blocking the PWM signal for a cutoff time, wherein the microcomputer outputs the output current of the inverter detected in the sampling period before the fault signal is generated when the fault signal is generated. The value is stored in a memory, and the motor drive information and the output current value stored in the memory are stored. And characterized by controlling the duty ratio of the PWM signal provided after the off time the inverter.

Description

PWM 신호 제어 장치 및 방법{Apparatus and method for controlling PWM signal}Apparatus and method for controlling PWM signal

본 발명은 PWM 신호 제어 장치 및 방법에 관한 것으로, 보다 상세하게는 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도, 차단이 해제된 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어하는 PWM 신호 제어 장치 및 방법에 관한 것이다.The present invention relates to a PWM signal control device and method, and more particularly, even if the PWM signal is temporarily blocked due to noise, PWM signal control to control the duty ratio of the PWM signal to output a normal PWM signal after the block is released An apparatus and method are provided.

정밀 제어가 가능한 소형 모터는 크게 AC 모터, DC 모터, 브러시리스 DC 모터(Brushless DC moter; BLDC), 릴럭턴스 모터(reluctance motor) 등으로 구분된다.Small motors capable of precise control are largely classified into AC motors, DC motors, Brushless DC motors (BLDC), and reluctance motors.

이러한 소형 모터는 AV(Audio-Visual) 기기용, 컴퓨터용, 가전용, 산업용 등으로 사용되고 있는데, 특히 가전 분야는 소형 모터의 최대 시장 중에 하나이다. 최근의 가전 제품은 점차 고급화되고 있으며, 이에 따라 가전 제품에 내장되는 고성능 모터에 대한 요구가 증가하고 있다.Such small motors are used for AV (Audio-Visual) devices, computers, home appliances, industrial, and the like. In particular, the home appliance field is one of the largest markets for small motors. Recently, home appliances are gradually being advanced, and accordingly, there is an increasing demand for high-performance motors embedded in home appliances.

특히, 브러시리스 DC 모터는 브러시와 정류자가 없는 모터로서, 기계적인 마찰이 발생하지 않고 속도 제어와 토크 제어가 뛰어나다. 또한, 브러시리스 DC 모터는 소형화가 용이하고, 내구성이 강하며, 수명이 매우 길다는 장점이 있어 많은 가전 제품에 이용되고 있다.In particular, the brushless DC motor is a motor without a brush and a commutator, it is excellent in speed control and torque control without mechanical friction. In addition, the brushless DC motor is easy to miniaturize, has a strong durability and a very long life has been used in many home appliances.

최근에는 크기는 매우 작지만 흡입력이 강한 가정용 청소기에 대한 수요가 늘어가고 있으며, 이에 따라 청소기에 내장되는 브러시리스 DC 모터의 회전 속도가 점차 고속화되고 있다.Recently, there is an increasing demand for a household cleaner having a small size but strong suction power, and thus the rotation speed of the brushless DC motor included in the cleaner is gradually increasing.

브러시리스 DC 모터는 PWM 신호에 따라 동작하는 인버터에 의해 구동되는데, 모터가 고속으로 회전하는 경우 모터를 구동하는 디바이스(예를 들어, 인버터 또는 게이트 드라이버 등)에 노이즈가 발생하게 된다.The brushless DC motor is driven by an inverter operating according to a PWM signal. When the motor rotates at a high speed, noise is generated in a device (eg, an inverter or a gate driver) driving the motor.

한편, 모터는 인버터의 출력전류 값에 따라 피드백 제어되는데, 상술한 노이즈로 인해 PWM 신호가 일시적으로 차단되면, PWM 신호가 차단된 이후 인버터의 출력전류 값은 비유효값(garbage value)이 되어 모터에 대한 정상적인 피드백 제어가 수행되지 않는다.On the other hand, the motor is feedback-controlled according to the output current value of the inverter, if the PWM signal is temporarily cut off due to the noise described above, after the PWM signal is cut off the output current value of the inverter becomes a garbage value (garbage value) Normal feedback control for is not performed.

다시 말해, 모터가 고속으로 회전할 때 발생하는 노이즈로 인해 PWM 신호가 일시적으로 차단되면 비유효값에 기초한 피드백 제어가 수행되고, 이에 따라 PWM 신호가 발산 제어되어 시스템 장애가 발생되거나, PWM 신호가 0으로 수렴 제어되어 모터의 구동이 중지되는 문제점이 발생한다.In other words, if the PWM signal is temporarily blocked due to noise generated when the motor rotates at a high speed, feedback control based on an invalid value is performed. Accordingly, the PWM signal is divergently controlled to cause a system failure, or the PWM signal is zero. There is a problem that the convergence control to stop the driving of the motor.

이에 따라, 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도 모터를 안정적으로 제어할 수 있는 방법이 요구되고 있다.Accordingly, there is a demand for a method of stably controlling the motor even if the PWM signal is temporarily blocked due to noise.

본 발명은 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도, 차단이 해제된 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어하는 PWM 신호 제어 장치 및 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a PWM signal control device and method for controlling the duty ratio of the PWM signal to output a normal PWM signal after the block is released even if the PWM signal is temporarily blocked due to noise.

본 발명은 인버터의 출력전류가 과전류이면 고장신호를 생성하고 인버터에 제공되는 PWM 신호를 차단시간 동안 차단하는 게이트 드라이버를 포함한다. 또한, 본 발명은 고장신호가 생성되면 고장신호의 생성시점 이전의 샘플링주기에 검출된 인버터의 출력전류 값을 이용하여 차단시간 이후 인버터에 제공되는 PWM 신호의 듀티비를 제어하는 마이컴을 더 포함한다. 이에 따라, 본 발명은 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도, 차단이 해제된 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어할 수 있다.The present invention includes a gate driver that generates a fault signal and blocks a PWM signal provided to the inverter during the interruption time when the output current of the inverter is an overcurrent. In addition, the present invention further includes a microcomputer for controlling the duty ratio of the PWM signal provided to the inverter after the interruption time by using the output current value of the inverter detected in the sampling period before the generation of the fault signal when the fault signal is generated. . Accordingly, the present invention can control the duty ratio of the PWM signal to output the normal PWM signal after the blocking is released even if the PWM signal is temporarily blocked due to noise.

본 발명은 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도, 차단이 해제된 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어할 수 있다. 이에 따라, 본 발명은 노이즈로 인한 PWM 신호의 발산 또는 모터의 구동 중지를 방지할 수 있고, 모터를 안정적으로 제어할 수 있다.According to the present invention, even if the PWM signal is temporarily blocked due to noise, the duty ratio of the PWM signal can be controlled to output a normal PWM signal after the blocking is released. Accordingly, the present invention can prevent the PWM signal due to noise or the driving stop of the motor, and can stably control the motor.

도 1 및 도 2는 본 발명의 일 실시예에 따른 PWM 신호 제어 장치를 도시한 블럭도이다.
도 3은 본 발명의 일 실시예에 따른 마이컴의 제어 구성을 도시한 블록도이다.
도 4는 마이컴 및 게이트 드라이버의 출력 펄스, 인버터의 출력전류 및 고장신호의 펄스를 도시한 도면이다.
도 5는 인버터에 인가되는 PWM 신호 및 고장신호의 펄스를 도시한 도면이다.
도 6은 본 발명의 일 실시예에 따른 PWM 신호 제어 방법을 도시한 순서도이다.
도 7은 고장신호가 생성된 후 마이컴의 동작 과정을 도시한 순서도이다.
도 8은 마이컴이 호출한 인터럽트 서비스 루틴의 프로세스를 도시한 순서도이다.
1 and 2 are block diagrams illustrating a PWM signal control apparatus according to an embodiment of the present invention.
3 is a block diagram illustrating a control configuration of a microcomputer according to an exemplary embodiment of the present invention.
4 is a diagram illustrating output pulses of a microcomputer and a gate driver, an output current of an inverter, and a pulse of a failure signal.
5 is a diagram illustrating pulses of a PWM signal and a failure signal applied to an inverter.
6 is a flowchart illustrating a PWM signal control method according to an embodiment of the present invention.
7 is a flowchart illustrating an operation process of a microcomputer after a failure signal is generated.
8 is a flowchart showing a process of an interrupt service routine called by micom.

전술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되며, 이에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 상세한 설명을 생략한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 도면에서 동일한 참조부호는 동일 또는 유사한 구성요소를 가리키는 것으로 사용된다.The above objects, features, and advantages will be described in detail with reference to the accompanying drawings, whereby those skilled in the art to which the present invention pertains may easily implement the technical idea of the present invention. In describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to indicate the same or similar components.

도 1 및 도 2는 본 발명의 일 실시예에 따른 PWM 신호 제어 장치를 도시한 블럭도이다. 이하, 도 1 및 도 2를 참조하여 PWM 신호 제어 장치와 이를 구성하는 각 구성요소를 구체적으로 설명하도록 한다.1 and 2 are block diagrams illustrating a PWM signal control apparatus according to an embodiment of the present invention. Hereinafter, a PWM signal control device and each component constituting the same will be described in detail with reference to FIGS. 1 and 2.

도 1 및 도 2를 참조하면, 본 발명의 일 실시예에 따른 PWM 신호 제어 장치(100)는 모터(M, 110), 인버터(120), 게이트 드라이버(Drive IC, 130) 및 마이컴(MICOM, 140)을 포함할 수 있다. 도 1 및 도 2에 도시된 PWM 신호 제어 장치(100)는 일 실시예에 따른 것이고, 그 구성요소들이 도 1 및 도 2에 도시된 실시예에 한정되는 것은 아니며, 필요에 따라 일부 구성요소가 부가, 변경 또는 삭제될 수 있다.1 and 2, the PWM signal control device 100 according to an embodiment of the present invention includes a motor M, 110, an inverter 120, a gate driver 130, and a microcomputer MICOM. 140). The PWM signal control device 100 shown in FIGS. 1 and 2 is according to one embodiment, and its components are not limited to the embodiment shown in FIGS. 1 and 2, and some components may be It can be added, changed or deleted.

모터(110)는 코일이 권선된 고정자(stator, 미도시) 및 고정자 내에 배치되며 코일에서 발생된 자기장에 의해 회전하는 회전자(rotor, 미도시)를 포함할 수 있다.The motor 110 may include a stator (not shown) in which coils are wound, and a rotor (not shown) disposed in the stator and rotating by a magnetic field generated in the coil.

모터(110)는 유도 모터(induction motor), 브러시리스 DC 모터(Brushless DC moter; BLDC), 릴럭턴스 모터(reluctance motor)를 포함할 수 있다. 다만, 이하에서 설명되는 모터(110)는 소형화가 가능하면서도 소음이 적고 신뢰성이 높은 브러시리스 DC 모터인 것이 바람직하다.The motor 110 may include an induction motor, a brushless DC motor (BLDC), and a reluctance motor. However, the motor 110 described below is preferably a brushless DC motor capable of miniaturization and high noise and high reliability.

또한, 이하에서 설명되는 모터(110)는 3상 코일이 권선된 고정자를 갖고, 3상 교류 전류를 제공받아 동작하는 3상 모터인 것으로 가정하여 설명하도록 한다.In addition, the motor 110 described below is assumed to be a three-phase motor having a stator wound with a three-phase coil and operated by receiving a three-phase alternating current.

인버터(120)는 PWM(Pulse Width Modulation) 신호에 따라 모터(110)를 구성하는 코일에 교류 전류를 제공할 수 있다. 상술한 바와 같이 모터(110)가 3상 모터인 경우, 인버터(120)는 코일에 3상(U, V, W) 교류 전류를 제공할 수 있다.The inverter 120 may provide an alternating current to the coil constituting the motor 110 according to a pulse width modulation (PWM) signal. As described above, when the motor 110 is a three-phase motor, the inverter 120 may provide three-phase (U, V, W) alternating current to the coil.

3상 교류 전류가 모터(110)의 코일에 제공되면, 3상 코일에서 발생하는 자계에 따라 회전자에 포함된 영구자석이 회전할 수 있다. 모터(110)는 회전자의 회전력에 의해 구동될 수 있다.When a three-phase alternating current is provided to the coil of the motor 110, the permanent magnet included in the rotor may rotate according to the magnetic field generated by the three-phase coil. The motor 110 may be driven by the rotational force of the rotor.

인버터(120)는 후술하는 게이트 드라이버(130)에서 제공되는 PWM 신호에 따라 동작하여, 직류 전압(VDC)을 변환하여 교류 전류로 출력할 수 있다. 이를 위해, 인버터(120)는 PWM 신호에 따라 스위칭 동작을 수행하는 복수의 전력 스위칭 소자를 포함할 수 있고, 전력 스위칭 소자는 예를 들어 IGBT(Insulated Gate Bipolar Transistor)일 수 있다.The inverter 120 may operate according to a PWM signal provided from the gate driver 130, which will be described later, and convert the DC voltage V DC to output an AC current. To this end, the inverter 120 may include a plurality of power switching elements that perform a switching operation according to the PWM signal, and the power switching element may be, for example, an Insulated Gate Bipolar Transistor (IGBT).

인버터(120)에 포함된 전력 스위칭 소자는 각 상에 대한 PWM 신호에 따라 온 및 오프 동작을 수행함으로써, 직류 전압(VDC)을 교류 전류(Ia, Ib, Ic)로 변환하여 모터(110)에 제공할 수 있다.The power switching element included in the inverter 120 performs an on and off operation according to a PWM signal for each phase, thereby converting a DC voltage V DC into an alternating current I a , I b , I c and a motor. 110 may be provided.

도 2에 도시된 바와 같이 인버터(120)는 3상 전류를 출력하기 위해, 각 상에 대응하는 두 개의 스위칭 소자를 포함할 수 있다. 보다 구체적으로, U상 교류 전류(Ia)를 출력하기 위해 인버터(120)는 U상에 대응하는 두 개의 스위치(S1, S1')를 포함할 수 있다. 또한, V상 교류 전류(Ib)를 출력하기 위해 인버터(120)는 V상에 대응하는 두 개의 스위치(S2, S2')를 포함할 수 있다. 마지막으로, W상 교류 전류(Ic)를 출력하기 위해 인버터(120)는 W상에 대응하는 두 개의 스위치(S3, S3')를 포함할 수 있다.As shown in FIG. 2, the inverter 120 may include two switching elements corresponding to each phase to output a three-phase current. More specifically, in order to output the U phase AC current I a , the inverter 120 may include two switches S1 and S1 ′ corresponding to the U phase. In addition, to output the V phase AC current I b , the inverter 120 may include two switches S2 and S2 ′ corresponding to the V phase. Finally, to output the W phase AC current I c , the inverter 120 may include two switches S3 and S3 ′ corresponding to the W phase.

각 상에 대응하는 두 개의 스위치는 상암 스위치(S1, S2, S3) 및 하암 스위치(S1', S2', S3')으로 구성될 수 있다. 상암 스위치(S1, S2, S3) 및 하암 스위치(S1', S2', S3')는 후술하는 게이트 드라이버(130)에서 인가되는 상암 PWM 신호(HO 1, HO 2, HO 3) 및 하암 PWM 신호(LO 1, LO 2, LO 3)에 따라 각각 온/오프될 수 있다.Two switches corresponding to each phase may be composed of upper arm switches S1, S2, and S3 and lower arm switches S1 ', S2', and S3 '. The upper arm switches S1, S2, S3 and the lower arm switches S1 ', S2', and S3 'are the upper arm PWM signals HO 1, HO 2, and HO 3 and the lower arm PWM signals applied by the gate driver 130, which will be described later. They can be turned on or off according to (LO 1, LO 2, LO 3) respectively.

마이컴(140)은 모터(110)의 모터구동정보 및 인버터(120)의 출력전류를 이용하여 인버터(120)에 제공되는 PWM 신호의 듀티비를 제어할 수 있다. 여기서 모터구동정보는 모터(110)의 구동 상태를 나타내는 정보로서, 모터(110)를 구성하는 회전자의 전기각 위치, 회전자의 속도, 모터(110)의 목표 속도값, 인버터(120)의 출력전류 값 및 인버터(120)의 출력전압 값 중 적어도 하나를 포함할 수 있다.The microcomputer 140 may control the duty ratio of the PWM signal provided to the inverter 120 by using the motor driving information of the motor 110 and the output current of the inverter 120. Herein, the motor driving information is information indicating the driving state of the motor 110, and the electric angle position of the rotor constituting the motor 110, the speed of the rotor, the target speed value of the motor 110, and the inverter 120 It may include at least one of the output current value and the output voltage value of the inverter 120.

여기서 목표 속도값은 사용자 또는 외부 디바이스로부터 입력되는 값으로서, 모터(110)의 회전 속도에 대한 목표값일 수 있다.Here, the target speed value is a value input from a user or an external device and may be a target value for the rotation speed of the motor 110.

PWM 신호에 포함된 각 펄스의 듀티비는 출력하고자 하는 전류의 크기에 따라 변경될 수 있다. 보다 구체적으로, 듀티비가 클수록 인버터(120)의 출력은 크고, 듀티비가 작을수록 인버터(120)의 출력은 작을 수 있다.The duty ratio of each pulse included in the PWM signal may be changed according to the amount of current to be output. More specifically, the larger the duty ratio, the larger the output of the inverter 120, the smaller the duty ratio, the smaller the output of the inverter 120 may be.

이에 따라, 마이컴(140)은 제어 시점의 모터구동정보 및 인버터(120)의 출력전류를 고려하여 목표 속도값을 추종하기 위한 PWM 신호의 듀티비를 결정할 수 있다.Accordingly, the microcomputer 140 may determine the duty ratio of the PWM signal for following the target speed value in consideration of the motor driving information at the control time and the output current of the inverter 120.

도 3은 본 발명의 일 실시예에 따른 마이컴의 제어 구성을 도시한 블록도이다. 이하, 도 3을 참조하여 마이컴을 구성하는 각 구성요소의 제어 동작을 구체적으로 설명하도록 한다.3 is a block diagram illustrating a control configuration of a microcomputer according to an exemplary embodiment of the present invention. Hereinafter, the control operation of each component constituting the microcomputer will be described in detail with reference to FIG. 3.

도 3을 참조하면, 마이컴(140)은 위치 추정부(141), 속도 산출부(142), 지령치 생성부(143, 144), 듀티 제어부(145) 및 3상/2상 축변환부(146)를 포함할 수 있다. 도 3에 도시된 마이컴(140)은 상술한 논리적 구성요소를 포함하는 일 실시예에 따른 것이고, 그 구성요소들이 도 3에 도시된 실시예에 한정되는 것은 아니며, 필요에 따라 일부 구성요소가 부가, 변경 또는 삭제될 수 있다.Referring to FIG. 3, the microcomputer 140 includes a position estimator 141, a speed calculator 142, a command value generator 143 and 144, a duty controller 145, and a three-phase and two-phase axis converter 146. ) May be included. The microcomputer 140 shown in FIG. 3 is according to an embodiment including the logical components described above, and the components are not limited to the embodiment shown in FIG. 3, and some components may be added as necessary. , Can be changed or deleted.

한편, 도 3에 도시된 교류 전류(Iabc) 및 교류 전압(Vabc)은 각각 3상 교류 전류(Ia, Ib, Ic) 및 3상 교류 전압(Va, Vb, Vc)을 하나의 파라미터로 나타낸 것이다. 이에 따라, 도 3에 도시된 교류 전류(Iabc) 및 교류 전압(Vabc)은 인버터(120)에서 모터(110)로 출력되는 각 상의 전류 및 전압을 나타낸 것일 수 있다.Meanwhile, the AC current I abc and the AC voltage V abc illustrated in FIG. 3 are three-phase AC currents I a , I b , I c and three-phase AC voltages V a , V b , V c, respectively. ) As a parameter. Accordingly, the alternating current I abc and the alternating voltage V abc illustrated in FIG. 3 may represent current and voltage of each phase output from the inverter 120 to the motor 110.

위치 추정부(141)는 인버터(120)의 출력전류 및 출력전압 중 적어도 하나에 기초하여 회전자의 전기각 위치(

Figure 112017065892260-pat00001
)를 추정할 수 있다. 보다 구체적으로, 먼저 위치 추정부(141)는 인버터(120)의 출력전류 및 출력전압 중 적어도 하나에 기초하여 회전자의 위치를 추정하고, 그 다음 추정된 회전자의 위치에 기초하여 전기각 위치(
Figure 112017065892260-pat00002
)를 연산할 수 있다.The position estimator 141 is configured to measure the electric angle of the rotor based on at least one of the output current and the output voltage of the inverter 120.
Figure 112017065892260-pat00001
) Can be estimated. More specifically, first, the position estimator 141 estimates the position of the rotor based on at least one of the output current and the output voltage of the inverter 120, and then the electric angle position based on the estimated position of the rotor. (
Figure 112017065892260-pat00002
) Can be calculated.

이와 달리, 본 발명에 전기각 위치(

Figure 112017065892260-pat00003
)를 측정하는 위치센서(예를 들어, 홀센서)가 포함되는 경우, 위치 추정부(141)는 생략될 수 있다.In contrast, in the present invention the electric angle position (
Figure 112017065892260-pat00003
When a position sensor (for example, a hall sensor) measuring) is included, the position estimator 141 may be omitted.

속도 산출부(142)는 위치 추정부(141)에 의해 추정된 전기각 위치(

Figure 112017065892260-pat00004
) 및 인버터(120)의 출력전압에 기초하여 회전자의 속도(
Figure 112017065892260-pat00005
)를 산출할 수 있다. 보다 구체적으로, 속도 산출부(142)는 위치 추정부(141)에서 추정된 회전자의 위치를 시간(예를 들어, PWM 주기 또는 샘플링주기)으로 나누어 회전자의 속도(
Figure 112017065892260-pat00006
)를 산출할 수 있다.The speed calculator 142 may calculate the electric angle position estimated by the position estimator 141.
Figure 112017065892260-pat00004
) And the speed of the rotor based on the output voltage of the inverter 120
Figure 112017065892260-pat00005
) Can be calculated. More specifically, the speed calculator 142 divides the rotor position estimated by the position estimator 141 by time (for example, a PWM cycle or a sampling cycle) to determine the speed of the rotor (
Figure 112017065892260-pat00006
) Can be calculated.

지령치 생성부는 전류 지령치 생성부(143) 및 전압 지령치 생성부(144)로 구성될 수 있는데, 각 구성에 대해서는 이하에서 설명하도록 한다.The command value generator may be configured of a current command value generator 143 and a voltage command value generator 144, which will be described below.

전류 지령치 생성부(143)는 속도 산출부(142)에 의해 산출된 회전자의 속도(

Figure 112017065892260-pat00007
) 및 목표 속도값(
Figure 112017065892260-pat00008
)에 기초하여 전류 지령치(
Figure 112017065892260-pat00009
)를 생성할 수 있다.The current command value generation unit 143 is a speed of the rotor calculated by the speed calculation unit 142 (
Figure 112017065892260-pat00007
) And target speed value (
Figure 112017065892260-pat00008
Based on the current setpoint (
Figure 112017065892260-pat00009
) Can be created.

보다 구체적으로, 전류 지령치 생성부(143)는 회전자의 속도(

Figure 112017065892260-pat00010
) 및 목표 속도값(
Figure 112017065892260-pat00011
)에 기초하여 속도 지령치를 산출하고, 산출된 속도 지령치에 기초하여 전류 지령치(
Figure 112017065892260-pat00012
)를 생성할 수 있다.More specifically, the current command value generator 143 is a speed of the rotor (
Figure 112017065892260-pat00010
) And target speed value (
Figure 112017065892260-pat00011
Is calculated on the basis of the calculated speed command value and the current command value (
Figure 112017065892260-pat00012
) Can be created.

전류 지령치 생성부(143)는 상술한 전류 지령치(

Figure 112017065892260-pat00013
)를 생성하기 위하여, PI 제어(Proportional Integral Control)를 수행할 수 있다. 보다 구체적으로, 전류 지령치 생성부(143)는 회전자의 속도(
Figure 112017065892260-pat00014
)와 목표 속도값(
Figure 112017065892260-pat00015
)의 차이인 속도 지령치를 산출하고, 속도 지령치에 기초하여 PI 제어를 수행함으로써 전류 지령치(
Figure 112017065892260-pat00016
)를 생성할 수 있다.The current command value generating unit 143 is the current command value (
Figure 112017065892260-pat00013
In order to generate the I / O control, PI (Proportional Integral Control) can be performed. More specifically, the current command value generator 143 is a speed of the rotor (
Figure 112017065892260-pat00014
) And target speed value (
Figure 112017065892260-pat00015
By calculating the speed setpoint which is a difference between the two and the PI command control based on the speed setpoint, the current setpoint (
Figure 112017065892260-pat00016
) Can be created.

한편, 전류 지령치 생성부(143)는 생성된 전류 지령치(

Figure 112017065892260-pat00017
)가 허용 범위를 초과하지 않도록 제한하는 리미터(미도시)를 더 구비할 수도 있다.Meanwhile, the current command value generator 143 generates the generated current command value (
Figure 112017065892260-pat00017
) May be further provided with a limiter (not shown) to limit not to exceed the allowable range.

전압 지령치 생성부(144)는 생성된 전류 지령치(

Figure 112017065892260-pat00018
) 및 인버터(120)의 출력전류(
Figure 112017065892260-pat00019
)에 기초하여 전압 지령치(
Figure 112017065892260-pat00020
)를 생성할 수 있다. 여기서 전압 지령치(
Figure 112017065892260-pat00021
) 생성의 기초가 되는 출력전류(
Figure 112017065892260-pat00022
)는 전술한 3상 출력전류(Ia, Ib, Ic)를 축변환하여 생성될 수 있다.The voltage command value generator 144 generates the generated current command value (
Figure 112017065892260-pat00018
) And the output current of the inverter 120 (
Figure 112017065892260-pat00019
Voltage setpoint based on
Figure 112017065892260-pat00020
) Can be created. Where voltage setpoint (
Figure 112017065892260-pat00021
Output current on which
Figure 112017065892260-pat00022
) May be generated by axis-converting the above-described three-phase output current (I a , I b , I c ).

보다 구체적으로, 도 3에 도시된 3상/2상 축변환부(146)는 인버터(120)의 3상 출력전류(Ia, Ib, Ic)를 입력받아 정지 좌표계의 2상 전류(

Figure 112017065892260-pat00023
)로 축변환할 수 있다. 또한, 3상/2상 축변환부(146)는 정지 좌표계의 2상 전류(
Figure 112017065892260-pat00024
)를 회전 좌표계의 2상 전류(
Figure 112017065892260-pat00025
)로 축변환할 수 있다.More specifically, the three-phase / two-phase axis converter 146 shown in FIG. 3 receives the three-phase output currents I a , I b , I c of the inverter 120 to receive the two-phase current of the stationary coordinate system (
Figure 112017065892260-pat00023
Can be converted to axis. In addition, the three-phase / two-phase axis conversion unit 146 is a two-phase current (
Figure 112017065892260-pat00024
) Is the two-phase current (
Figure 112017065892260-pat00025
Can be converted to axis.

전압 지령치 생성부(144)는 회전 좌표계로 축변환된 q축, d축 전류(

Figure 112017065892260-pat00026
)와 전류 지령치 생성부(143)에서 생성된 전류 지령치(
Figure 112017065892260-pat00027
)에 기초하여 전압 지령치(
Figure 112017065892260-pat00028
)를 생성할 수 있다.The voltage command value generator 144 is a q-axis, d-axis current (
Figure 112017065892260-pat00026
) And the current command value generated by the current command value generator 143 (
Figure 112017065892260-pat00027
Voltage setpoint based on
Figure 112017065892260-pat00028
) Can be created.

전압 지령치 생성부(144)는 상술한 전압 지령치(

Figure 112017065892260-pat00029
)를 생성하기 위하여 PI 제어를 수행할 수 있다.The voltage command value generator 144 is configured as described above.
Figure 112017065892260-pat00029
PI control can be performed to generate

보다 구체적으로, 전압 지령치 생성부(144)는 q축 전류(

Figure 112017065892260-pat00030
)와 q축 전류 지령치(
Figure 112017065892260-pat00031
) 의 차이에 기초하여 PI 제어를 수행함으로써 q축에 대한 목표 지령치(
Figure 112017065892260-pat00032
)를 생성할 수 있다.More specifically, the voltage command value generation unit 144 is a q-axis current (
Figure 112017065892260-pat00030
) And q-axis current setpoint (
Figure 112017065892260-pat00031
By performing PI control based on the difference of
Figure 112017065892260-pat00032
) Can be created.

또한, 전압 지령치 생성부(144)는 d축 전류(

Figure 112017065892260-pat00033
)와 d축 전류 지령치(
Figure 112017065892260-pat00034
)의 차이에 기초하여 PI 제어를 수행함으로써 d축에 대한 목표 지령치(
Figure 112017065892260-pat00035
)를 생성할 수 있다.In addition, the voltage command value generation unit 144 is a d-axis current (
Figure 112017065892260-pat00033
) And d-axis current setpoint (
Figure 112017065892260-pat00034
Target control value for the d-axis by performing PI control based on the difference of
Figure 112017065892260-pat00035
) Can be created.

한편, 전압 지령치 생성부(144)는 q축 및 d축에 대한 전압 지령치(

Figure 112017065892260-pat00036
)가 허용 범위를 초과하지 않도록 제한하는 리미터(미도시)를 더 구비할 수도 있다.On the other hand, the voltage command value generator 144 is a voltage command value for the q-axis and d-axis (
Figure 112017065892260-pat00036
) May be further provided with a limiter (not shown) to limit not to exceed the allowable range.

전술한 전압 지령치(

Figure 112017065892260-pat00037
)는 듀티 제어부(145)에 입력될 수 있다. 이에 따라, 듀티 제어부(145)는 인버터(120)에 제공되는 PWM 신호의 듀티비를 전압 지령치(
Figure 112017065892260-pat00038
)에 대응하는 듀티비로 제어할 수 있다.The above voltage setpoint (
Figure 112017065892260-pat00037
) May be input to the duty controller 145. Accordingly, the duty controller 145 sets the duty ratio of the PWM signal provided to the inverter 120 to the voltage command value (
Figure 112017065892260-pat00038
Can be controlled by the duty ratio corresponding to

이에 따라, 회전자의 속도(

Figure 112017065892260-pat00039
)는 목표 속도값(
Figure 112017065892260-pat00040
)을 추종할 수 있다. 다시 말해, 회전자의 속도(
Figure 112017065892260-pat00041
)는 인버터(120)의 출력전류의 크기에 비례할 수 있고 전술한 바와 같이 출력전류의 크기는 PWM 신호에 포함된 펄스의 폭에 비례할 수 있다.Thus, the speed of the rotor (
Figure 112017065892260-pat00039
) Is your target speed value (
Figure 112017065892260-pat00040
) Can be followed. In other words, the speed of the rotor (
Figure 112017065892260-pat00041
) May be proportional to the magnitude of the output current of the inverter 120, and as described above, the magnitude of the output current may be proportional to the width of the pulse included in the PWM signal.

듀티 제어부(145)는 현재 회전자의 속도(

Figure 112017065892260-pat00042
)가 목표 속도값(
Figure 112017065892260-pat00043
)보다 크면 PWM 신호의 듀티비를 감소시키고, 현재 회전자의 속도(
Figure 112017065892260-pat00044
)가 목표 속도값(
Figure 112017065892260-pat00045
)보다 작으면 PWM 신호의 듀티비를 증가시킬 수 있다.The duty controller 145 controls the speed of the current rotor (
Figure 112017065892260-pat00042
) Is your target speed value (
Figure 112017065892260-pat00043
Greater than) reduces the duty ratio of the PWM signal and
Figure 112017065892260-pat00044
) Is your target speed value (
Figure 112017065892260-pat00045
Less than) may increase the duty ratio of the PWM signal.

마이컴(140)은 상술한 제어 동작을 매 샘플링주기마다, 즉, 인버터(120)의 출력전류가 측정될 때마다 수행할 수 있다. 이에 따라, 마이컴(140)의 제어 동작에 이용되는 모터구동정보 및 인버터(120)의 출력전류는 모터(110)의 현재 구동 상태에 대한 정보 및 인버터(120)에서 현재 출력되는 전류일 수 있다.The microcomputer 140 may perform the above-described control operation every sampling period, that is, whenever the output current of the inverter 120 is measured. Accordingly, the motor driving information and the output current of the inverter 120 used for the control operation of the microcomputer 140 may be information on the current driving state of the motor 110 and the current currently output from the inverter 120.

마이컴(140)의 듀티비 제어는 듀티비 정보를 포함하는 제어 신호를 후술하는 게이트 드라이버(130)에 제공함으로써 수행될 수 있다. 다시 도 2를 참조하면 마이컴(140)은 PWM 신호의 듀티비를 제어하기 위한 상암 제어 신호(HIN 1 ~ HIN 3) 및 하암 제어 신호(LIN 1 ~ LIN 3)를 게이트 드라이버(130)에 제공할 수 있다.The duty ratio control of the microcomputer 140 may be performed by providing a control signal including the duty ratio information to the gate driver 130 to be described later. Referring back to FIG. 2, the microcomputer 140 may provide the gate arm 130 with the phase arm control signals HIN 1 to HIN 3 and the arm arm control signals LIN 1 to LIN 3 for controlling the duty ratio of the PWM signal. Can be.

각 제어 신호는 구형파의 펄스 형태로 출력될 수 있고, 제어 신호의 듀티비는 제어 대상인 PWM 신호의 듀티비와 동일할 수 있다. 다시 말해, 제어 신호에 따라 생성되는 PWM 신호의 듀티비는 해당 제어 신호의 듀티비와 동일할 수 있다.Each control signal may be output in the form of a pulse of a square wave, and the duty ratio of the control signal may be the same as the duty ratio of the PWM signal to be controlled. In other words, the duty ratio of the PWM signal generated according to the control signal may be equal to the duty ratio of the corresponding control signal.

게이트 드라이버(130)는 PWM 신호를 인버터(120)에 제공할 수 있다. 보다 구체적으로, 게이트 드라이버(130)는 마이컴(140)으로부터 제어 신호(HIN 1 ~ HIN 3, LIN 1 ~ LIN 3)를 제공받고, 제어 신호의 듀티비와 동일한 듀티비를 갖는 PWM 신호를 생성하여 인버터(120)에 제공할 수 있다.The gate driver 130 may provide a PWM signal to the inverter 120. More specifically, the gate driver 130 receives the control signals HIN 1 to HIN 3 and LIN 1 to LIN 3 from the microcomputer 140, and generates a PWM signal having the same duty ratio as the duty ratio of the control signal. It may be provided to the inverter 120.

다만, 게이트 드라이버(130)에서 생성되는 PWM 신호의 크기는 인버터(120)를 구성하는 스위칭 소자의 게이트 단에 인가되는 동작전압에 따라 결정될 수 있다. 다시 말해, 게이트 드라이버(130)는 특정 듀티비를 갖는 제어 신호를 제공받아, 특정 듀티비를 갖고 크기는 스위칭 소자의 동작전압으로 설정된 PWM 신호를 인버터(120)에 제공할 수 있다.However, the magnitude of the PWM signal generated by the gate driver 130 may be determined according to an operating voltage applied to the gate terminal of the switching element constituting the inverter 120. In other words, the gate driver 130 may receive a control signal having a specific duty ratio and provide the inverter 120 with a PWM signal having a specific duty ratio and a size set to an operating voltage of the switching device.

한편, 게이트 드라이버(130)는 인버터(120)의 출력전류를 검출하여 검출된 출력전류가 과전류인지 여부를 판단할 수 있다. 게이트 드라이버(130)는 인버터(120)의 각 상에 대한 출력전류를 각각 검출하여 검출된 각 상의 출력전류가 과전류인지 여부를 판단할 수 있다.The gate driver 130 may detect the output current of the inverter 120 to determine whether the detected output current is an overcurrent. The gate driver 130 may detect an output current for each phase of the inverter 120 to determine whether the detected output current of each phase is an overcurrent.

또한, 게이트 드라이버(130)는 인버터(120)의 3상 출력전류의 합성 전류를 검출하여 검출된 합성 전류가 과전류인지 여부를 판단할 수도 있다. 이 경우에는 도 2에 도시된 바와 같이, 인버터(120)의 출력전류는 하나의 션트(shunt) 저항을 통해 검출될 수 있다.In addition, the gate driver 130 may detect the synthesized current of the three-phase output current of the inverter 120 to determine whether the detected synthesized current is an overcurrent. In this case, as shown in FIG. 2, the output current of the inverter 120 may be detected through one shunt resistor.

게이트 드라이버(130)는 검출된 출력전류가 미리 설정된 시간 동안 미리 설정된 값을 초과하면 인버터(120)에서 과전류가 발생하였다고 판단할 수 있다.The gate driver 130 may determine that an overcurrent has occurred in the inverter 120 when the detected output current exceeds a preset value for a preset time.

보다 구체적으로, 인버터(120)의 합성 전류는 게이트 드라이버(130)의 ITRIP 단자로 제공될 수 있고, 게이트 드라이버(130)는 합성 전류의 크기가 미리 설정된 시간 동안 미리 설정된 값을 초과하는지 여부를 판단할 수 있다.More specifically, the composite current of the inverter 120 is the I TRIP of the gate driver 130. It may be provided as a terminal, and the gate driver 130 may determine whether the magnitude of the synthesized current exceeds a preset value for a preset time.

또한, 게이트 드라이버(130)는 ITRIP 단자로 제공된 합성 전류를 3상 교류 전류로 분리하여, 분리된 각 상 전류의 크기가 미리 설정된 시간 동안 미리 설정된 값을 초과하는지 여부를 판단할 수도 있다.In addition, the gate driver 130 is I TRIP. By separating the combined current provided to the terminal into a three-phase alternating current, it is possible to determine whether the magnitude of each separated current exceeds a preset value for a preset time.

검출된 전류의 크기가 미리 설정된 시간 동안 미리 설정된 값을 초과하는 경우, 게이트 드라이버(130)는 고장신호(FO)를 생성하고, 인버터(120)로 제공되는 PWM 신호를 차단시간 동안 차단할 수 있다.When the magnitude of the detected current exceeds a preset value for a preset time, the gate driver 130 may generate a fault signal FO and cut off the PWM signal provided to the inverter 120 for a cutoff time.

다시 말해, 과전류가 발생하였다고 판단되면, 고장신호는 도 2에 도시된 FAULT 단자를 통해 마이컴(140)으로 제공되며, 게이트 드라이버(130)에서 출력되는 PWM 신호(HO 1 ~ HO 3 및 LO 1 ~ LO 3)는 차단될 수 있다.In other words, when it is determined that an overcurrent has occurred, the fault signal is provided to the microcomputer 140 through the FAULT terminal shown in FIG. 2, and the PWM signals HO 1 to HO 3 and LO 1 to output from the gate driver 130 are provided. LO 3) may be blocked.

여기서 과전류 판단을 위한 미리 설정된 시간 및 미리 설정된 값과 PWM 신호가 차단되는 차단시간은 게이트 드라이버(130)의 사양에 따라 결정될 수 있다. 또한, 전술한 비교 동작 및 차단 동작을 수행하기 위하여 게이트 드라이버(130)는 과전류 보호(Over Current Protection; OCP) 모듈을 더 포함할 수 있다.Here, a preset time for overcurrent determination and a cutoff time at which the PWM signal and the PWM signal are blocked may be determined according to the specifications of the gate driver 130. In addition, the gate driver 130 may further include an over current protection (OCP) module to perform the above-described comparison operation and the blocking operation.

마이컴(140)은 게이트 드라이버(130)에서 고장신호가 생성되면 고장신호의 생성시점 이전의 샘플링주기에 검출된 인버터(120)의 출력전류 값을 메모리에 저장할 수 있다.When the fault signal is generated in the gate driver 130, the microcomputer 140 may store the output current value of the inverter 120 detected in the sampling period before the generation of the fault signal in the memory.

인버터(120)의 출력전류는 샘플링주기에 따라 검출될 수 있고, 마이컴(140)은 게이트 드라이버(130)로부터 고장신호를 제공받으면 고장신호가 생성된 시점 이전의 샘플링주기에 검출된 인버터(120)의 출력전류 값을 메모리에 저장할 수 있다.The output current of the inverter 120 may be detected according to a sampling period, and when the microcomputer 140 receives a failure signal from the gate driver 130, the inverter 120 detected in the sampling period before the time when the failure signal is generated. The output current value of can be stored in the memory.

보다 구체적으로, 마이컴(140)은 고장신호가 생성된 시점 이전의 샘플링주기 중에서 고장신호가 생성된 시점 직전의 샘플링주기에 검출된 인버터(120)의 출력전류 값을 메모리에 저장할 수 있다.More specifically, the microcomputer 140 may store the output current value of the inverter 120 detected in the sampling cycle immediately before the failure signal is generated among the sampling cycles before the failure signal is generated in the memory.

고장신호가 생성된 시점 직전의 샘플링주기에 검출된 출력전류 값은 과전류로 판단되지 않은 값이므로, 마이컴(140)은 과전류가 발생하기 직전에 검출된 인버터(120)의 출력전류 값을 메모리에 저장할 수 있다.Since the output current value detected in the sampling period immediately before the fault signal is generated is not determined to be an overcurrent, the microcomputer 140 stores the output current value of the inverter 120 detected immediately before the overcurrent occurs in the memory. Can be.

마이컴(140)은 전술한 모터구동정보 및 메모리에 저장된 출력전류 값을 이용하여 차단시간 이후 인버터(120)에 제공되는 PWM 신호의 듀티비를 제어할 수 있다.The microcomputer 140 may control the duty ratio of the PWM signal provided to the inverter 120 after the cutoff time by using the motor driving information and the output current value stored in the memory.

보다 구체적으로 도 3을 참조하면, 위치 추정부(141)는 고장신호가 생성된 후 인버터(120)의 출력전류 및 출력전압 중 적어도 하나에 기초하여 회전자의 전기각 위치(

Figure 112017065892260-pat00046
)를 추정할 수 있다.More specifically, referring to FIG. 3, the position estimator 141 may determine the electric angle of the rotor based on at least one of the output current and the output voltage of the inverter 120 after the failure signal is generated.
Figure 112017065892260-pat00046
) Can be estimated.

속도 산출부(142)는 추정된 전기각 위치(

Figure 112017065892260-pat00047
) 및 인버터(120)의 출력전압 중 적어도 하나에 기초하여 회전자의 속도(
Figure 112017065892260-pat00048
)를 산출할 수 있다. 이 때, 산출된 회전자의 속도(
Figure 112017065892260-pat00049
)는 PWM 신호의 출력 차단으로 인해 과전류가 발생하기 이전보다 감소할 수 있다.The speed calculator 142 calculates the estimated electric angle position (
Figure 112017065892260-pat00047
) And the speed of the rotor based on at least one of the output voltages of the inverter 120 (
Figure 112017065892260-pat00048
) Can be calculated. At this time, the calculated speed of the rotor (
Figure 112017065892260-pat00049
) Can be reduced from before the overcurrent occurs due to the output blocking of the PWM signal.

지령치 생성부는 산출된 회전자의 속도(

Figure 112017065892260-pat00050
) 및 모터(110)의 목표 속도값(
Figure 112017065892260-pat00051
)에 기초하여 전류 지령치(
Figure 112017065892260-pat00052
)를 생성하고, 생성된 전류 지령치(
Figure 112017065892260-pat00053
) 및 메모리에 저장된 출력전류 값에 기초하여 전압 지령치(
Figure 112017065892260-pat00054
)를 생성할 수 있다.The setpoint generator generates the calculated speed of the rotor (
Figure 112017065892260-pat00050
) And the target speed value of the motor 110 (
Figure 112017065892260-pat00051
Based on the current setpoint (
Figure 112017065892260-pat00052
) And the generated current setpoint (
Figure 112017065892260-pat00053
) And based on the output current value stored in memory
Figure 112017065892260-pat00054
) Can be created.

다시 말해, 앞서 설명한 위치 추정부(141) 및 속도 산출부(142)에서 이용하는 인버터(120)의 출력전류는 현재 시점에 검출되는 출력전류인 반면에, 지령치 생성부에서 이용하는 인버터(120)의 출력전류는 고장신호 생성시점의 직전 샘플링주기에 검출된 출력전류 값일 수 있다.In other words, the output current of the inverter 120 used by the position estimator 141 and the speed calculator 142 described above is the output current detected at the present time, while the output of the inverter 120 used by the command value generator is used. The current may be an output current value detected in the sampling period immediately before the failure signal is generated.

전술한 바와 같이, 회전자의 속도(

Figure 112017065892260-pat00055
)는 게이트 드라이버(130)의 출력 차단으로 인해 과전류가 발생하기 이전보다 감소할 수 있고, 이에 따라 목표 속도값과 회전자의 속도(
Figure 112017065892260-pat00056
)의 차이는 커질 수 있다. 이에 따라, 지령치 생성부에서 생성되는 전류 지령치(
Figure 112017065892260-pat00057
)는 과전류가 발생하기 이전보다 커질 수 있다.As mentioned above, the speed of the rotor (
Figure 112017065892260-pat00055
) May be reduced than before the overcurrent occurs due to the output blocking of the gate driver 130, and thus the target speed value and the speed of the rotor (
Figure 112017065892260-pat00056
) Can be large. Accordingly, the current command value generated in the command value generator (
Figure 112017065892260-pat00057
) May be larger than before overcurrent occurs.

지령치 생성부는 생성된 전류 지령치(

Figure 112017065892260-pat00058
)와 메모리에 저장된 출력전류 값에 기초하여 전압 지령치(
Figure 112017065892260-pat00059
)를 생성할 수 있다. 전류 지령치(
Figure 112017065892260-pat00060
)의 크기 상승으로 인해 전류 지령치(
Figure 112017065892260-pat00061
)와 메모리에 저장된 출력전류 값의 차이는 커질 수 있고, 이에 따라, 지령치 생성부에서 생성되는 전압 지령치(
Figure 112017065892260-pat00062
) 또한 과전류가 발생하기 이전보다 커질 수 있다.The setpoint generator generates the generated current setpoint (
Figure 112017065892260-pat00058
) And based on the output current value stored in memory
Figure 112017065892260-pat00059
) Can be created. Current setpoint (
Figure 112017065892260-pat00060
Current setpoint (
Figure 112017065892260-pat00061
) And the difference between the output current value stored in the memory can be large, and accordingly, the voltage command value (
Figure 112017065892260-pat00062
) It can also be larger than before overcurrent occurs.

전압 지령치(

Figure 112017065892260-pat00063
)가 생성되면, 듀티 제어부(145)는 생성된 전압 지령치(
Figure 112017065892260-pat00064
)에 따라 차단시간 이후 인버터(120)에 제공되는 PWM 신호의 듀티비를 제어할 수 있다. 이에 따라, 차단시간 이후 인버터(120)에 제공되는 PWM 신호의 듀티비는 과전류가 발생하기 이전 펄스의 듀티비보다 클 수 있다.Voltage setpoint (
Figure 112017065892260-pat00063
Is generated, the duty controller 145 generates the generated voltage command value (
Figure 112017065892260-pat00064
), The duty ratio of the PWM signal provided to the inverter 120 after the cutoff time may be controlled. Accordingly, the duty ratio of the PWM signal provided to the inverter 120 after the cutoff time may be greater than the duty ratio of the pulse before overcurrent occurs.

한편, 마이컴(140)은 고장신호가 생성되면 고장신호 생성시점의 모터구동정보를 메모리에 더 저장하고, 차단시간 이후 인버터(120)에 제공되는 PWM 신호의 듀티비를 메모리에 저장된 모터구동정보 및 출력전류 값에 따른 듀티비로 제어할 수 있다.On the other hand, when the fault signal is generated, the microcomputer 140 further stores the motor drive information at the time of generating the fault signal in the memory, and stores the duty ratio of the PWM signal provided to the inverter 120 after the break time in the memory. It can be controlled by the duty ratio according to the output current value.

이 때, 마이컴(140)이 저장하는 모터구동정보는 고장신호가 생성된 시점의 회전자의 전기각 위치, 회전자의 속도, 목표 속도값 중 적어도 하나를 포함할 수 있다.In this case, the motor drive information stored by the microcomputer 140 may include at least one of an electric angle position of the rotor, a speed of the rotor, and a target speed value when the failure signal is generated.

마이컴(140)은 인버터(120)에서 현재 출력되는 출력전류 또는 출력전압 값을 이용하여 회전자의 전기각 위치와 회전자의 속도를 산출할 필요 없이, 메모리에 저장된 전기각 위치, 회전자의 속도 및 목표 속도값을 이용하여 전류 지령치 및 전압 지령치를 생성할 수 있다.The microcomputer 140 does not need to calculate the electric angle position of the rotor and the speed of the rotor by using the output current or the output voltage value currently output from the inverter 120. And a current command value and a voltage command value using the target speed value.

예를 들어, 모터(110)가 고속으로 회전하는 경우, 인버터(120) 및 게이트 드라이버(130)에 노이즈 신호가 발생할 수 있고, 이에 따라 게이트 드라이버(130)의 ITRIP 단자로 제공되는 출력전류 값에 오류가 발생할 수 있다.For example, when the motor 110 rotates at a high speed, a noise signal may be generated in the inverter 120 and the gate driver 130, and thus an output current value provided to the I TRIP terminal of the gate driver 130. An error may occur.

이와 같은 경우, 인버터(120)의 출력전류가 과전류가 아님에도 게이트 드라이버(130)는 인버터(120)에서 과전류가 발생하였다고 판단할 수 있다. 이에 따라, 인버터(120)의 출력전류 외에 인버터(120)에서 측정되는 파라미터는 정상일 수 있다.In this case, even if the output current of the inverter 120 is not an overcurrent, the gate driver 130 may determine that an overcurrent has occurred in the inverter 120. Accordingly, in addition to the output current of the inverter 120, parameters measured by the inverter 120 may be normal.

이에 따라, 마이컴(140)은 게이트 드라이버(130)로부터 고장신호를 제공받으면, 고장신호가 생성된 시점의 회전자의 전기각 위치, 회전자의 속도, 목표 속도값 등을 포함하는 모터구동정보를 메모리에 저장할 수 있다.Accordingly, when the microcomputer 140 receives a failure signal from the gate driver 130, the microcomputer 140 may output motor driving information including an electric angle position of the rotor, a speed of the rotor, a target speed value, and the like at the time when the failure signal is generated. Can be stored in memory.

마이컴(140)은 저장된 회전자의 전기각 위치, 회전자의 속도 및 목표 속도값을 이용하여 전류 지령치를 생성하고, 생성된 전류 지령치와 메모리에 저장된 출력전류 값에 기초하여 전압 지령치를 생성할 수 있다.The microcomputer 140 may generate a current command value using the electric angle position of the stored rotor, the speed and the target speed value of the rotor, and generate a voltage command value based on the generated current command value and the output current value stored in the memory. have.

다시 말해, 마이컴(140)은 고장신호의 생성시점에 산출된 전류 지령치와 고장신호의 생성시점 직전 샘플링주기에 검출된 출력전류 값에 기초하여 전압 지령치를 생성할 수 있다. 마이컴(140)은 생성된 전압 지령치에 따라 차단시간 이후에 게이트 드라이버(130)에서 출력되는 PWM 신호의 듀티비를 제어할 수 있다.In other words, the microcomputer 140 may generate a voltage command value based on the current command value calculated at the time of generating the fault signal and the output current value detected in the sampling period immediately before the time of generating the fault signal. The microcomputer 140 may control the duty ratio of the PWM signal output from the gate driver 130 after the blocking time according to the generated voltage command value.

즉, 마이컴(140)은 게이트 드라이버(130)에 의해 과전류로 판단되기 직전의 출력전류 값과 과전류로 판단된 순간의 모터구동정보를 이용하여 차단시간이 도과한 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어할 수 있다.That is, the microcomputer 140 outputs a PWM signal to output a normal PWM signal after the blocking time has elapsed using the output current value immediately before the gate driver 130 determines the overcurrent and the motor driving information of the instant determined as the overcurrent. The duty ratio of can be controlled.

전술한 마이컴(140)의 듀티비 제어 동작은 마이컴(140) 시스템 내부에서 특정 인터럽트 서비스 루틴(Interrupt Service Routine; ISR)에 의해 수행될 수 있다. 이에 따라, 마이컴(140)의 CPU는 게이트 드라이버(130)로부터 고장신호가 제공되면 인터럽트 서비스 루틴을 호출하고, 호출된 인터럽트 서비스 루틴은 전술한 듀티비 제어 동작을 수행할 수 있다.The aforementioned duty ratio control operation of the microcomputer 140 may be performed by a specific interrupt service routine (ISR) within the microcomputer 140 system. Accordingly, the CPU of the microcomputer 140 may call the interrupt service routine when a failure signal is provided from the gate driver 130, and the called interrupt service routine may perform the duty ratio control operation described above.

도 4는 마이컴 및 게이트 드라이버의 출력 펄스, 인버터의 출력전류 및 고장신호의 펄스를 도시한 도면이고, 도 5는 인버터에 인가되는 PWM 신호 및 고장신호의 펄스를 도시한 도면이다. 여기서 마이컴(140)의 출력 펄스는 전술한 제어 신호일 수 있고, 게이트 드라이버(130)의 출력 펄스는 PWM 신호일 수 있다.4 is a diagram illustrating output pulses of a microcomputer and a gate driver, an output current of a inverter and a pulse of a failure signal, and FIG. 5 is a diagram illustrating a pulse of a PWM signal and a failure signal applied to an inverter. Herein, the output pulse of the microcomputer 140 may be the above-described control signal, and the output pulse of the gate driver 130 may be a PWM signal.

이하, 도 4 및 도 5를 참조하여 차단시간 전후에 발생하는 제어 신호, PWM 신호, 고장신호를 구체적으로 설명하도록 한다.Hereinafter, the control signal, the PWM signal, and the failure signal generated before and after the interruption time will be described in detail with reference to FIGS. 4 and 5.

도 4를 참조하면, 게이트 드라이버(130)의 ITRIP 단자에서 검출되는 인버터(120)의 출력전압은 인버터(120)에서 출력되는 3상 전류의 합성전류일 수 있다. 도 4에 도시된 3상 전류의 합성전류는 설명의 편의를 위해 도시된 것이고, 임의의 파형으로 출력될 수 있다.Referring to FIG. 4, the output voltage of the inverter 120 detected at the I TRIP terminal of the gate driver 130 may be a composite current of the three-phase current output from the inverter 120. The synthesis current of the three-phase current shown in FIG. 4 is shown for convenience of description and may be output in an arbitrary waveform.

게이트 드라이버(130)는 ITRIP 단자에서 검출되는 인버터(120)의 출력전류의 크기가 미리 설정된 시간(T) 동안 미리 설정된 값(Ilimit)을 초과하는지 여부를 판단할 수 있다. 출력전류의 크기가 미리 설정된 시간(T)동안 미리 설정된 값(Ilimit)을 초과하면 게이트 드라이버(130)는 고장신호(FO)를 생성하고, 인버터(120)로 제공되는 PWM 신호(HO, LO)를 차단할 수 있다.The gate driver 130 may determine whether the magnitude of the output current of the inverter 120 detected at the I TRIP terminal exceeds a preset value I limit for a preset time T. If the magnitude of the output current exceeds the preset value (I limit ) for a preset time T, the gate driver 130 generates a fault signal FO and the PWM signals HO and LO provided to the inverter 120. ) Can be blocked.

이에 따라 도 4에 도시된 차단구간에서는 제어 신호(HIN, LIN)에 따른 PWM 신호(HO, LO)가 출력되지 않을 수 있다.Accordingly, the PWM signals HO and LO according to the control signals HIN and LIN may not be output in the blocking section shown in FIG. 4.

PWM 신호가 차단되는 차단시간 동안 마이컴(140)은 인터럽트 서비스 루틴(ISR)을 호출하여, 고장신호 발생시점의 직전 샘플링주기에 검출된 인버터(120)의 출력전류 값과 모터(110)의 현재 모터구동정보 따른 듀티비를 결정할 수 있다.During the interruption time when the PWM signal is interrupted, the microcomputer 140 calls the interrupt service routine (ISR), and the output current value of the inverter 120 and the current motor of the motor 110 detected in the sampling cycle immediately before the failure signal is generated. The duty ratio according to the driving information may be determined.

이후, 차단시간이 도과하면 마이컴(140)은 결정된 듀티비를 갖는 제어 신호(HIN, LIN)를 게이트 드라이버(130)에 제공할 수 있고, 게이트 드라이버(130)는 제공된 제어 신호(HIN, LIN)에 기초하여 PWM 출력(HO, LO)을 인버터(120)에 제공할 수 있다.Thereafter, when the blocking time is elapsed, the microcomputer 140 may provide the control signals HIN and LIN having the determined duty ratio to the gate driver 130, and the gate driver 130 may provide the provided control signals HIN and LIN. Based on the PWM output (HO, LO) can be provided to the inverter 120.

도 5를 참조하면, U상에 대한 PWM 신호는 증감하는 펄스형태로 출력되며 미리 설정된 주기(T)를 가질 수 있다. a 펄스가 출력된 직후 고장신호(FO)가 발생하면, 게이트 드라이버(130)는 a 펄스를 차단할 수 있다.Referring to FIG. 5, the PWM signal for the U phase may be output in the form of increasing and decreasing pulses and may have a predetermined period T. When the failure signal FO occurs immediately after the a pulse is output, the gate driver 130 may block the a pulse.

a 펄스가 차단된 시간 동안, 마이컴(140)은 a 펄스의 직전 펄스(a 펄스의 좌측 펄스)에 따른 인버터(120)의 출력전류 값을 검출하고, 검출된 출력전류 값과 현재 모터구동정보에 기초하여 차단시간 이후에 출력될 b 펄스의 듀티비를 결정할 수 있다.During the time a pulse is interrupted, the microcomputer 140 detects an output current value of the inverter 120 according to a pulse immediately before the pulse a (a left pulse of a pulse), and detects the output current value and the current motor driving information. Based on the duty cycle of the b pulse to be output after the cutoff time can be determined.

전술한 바와 같이 a 펄스가 차단된 시간 동안 모터(110)의 회전속도는 감소할 수 있고, 이에 따라 b 펄스의 듀티비는 a 펄스의 듀티비보다 클 수 있다. 다시 말해, 차단시간 이후에 출력되는 b 펄스는 고장신호가 생성된 시점에 출력하려고 했던 a 펄스의 듀티비보다 클 수 있다.As described above, the rotation speed of the motor 110 may decrease during the time a pulse is blocked, so that the duty ratio of the b pulse may be greater than the duty ratio of the a pulse. In other words, the b pulses output after the cutoff time may be greater than the duty ratio of the a pulses that were to be output at the time when the failure signal was generated.

도 6은 본 발명의 일 실시예에 따른 PWM 신호 제어 방법을 도시한 순서도이다. 이하, 도 6을 참조하여 모터를 구동하는 인버터에 PWM 신호를 제공하는 제어유닛의 PWM 신호 제어 방법을 구체적으로 설명하도록 한다.6 is a flowchart illustrating a PWM signal control method according to an embodiment of the present invention. Hereinafter, a PWM signal control method of a control unit providing a PWM signal to an inverter driving a motor will be described in detail with reference to FIG. 6.

여기서 제어유닛은 도 1에 도시된 마이컴(140) 및 게이트 드라이버(130)로 구성될 수 있다. 이에 따라, 제어유닛을 구성하는 각 구성요소에 대한 설명은 생략하도록 한다.In this case, the control unit may include a microcomputer 140 and a gate driver 130 illustrated in FIG. 1. Accordingly, description of each component constituting the control unit will be omitted.

도 6을 참조하면, 제어유닛은 인버터의 출력전류가 과전류인지 여부를 판단할 수 있다(S110).Referring to FIG. 6, the control unit may determine whether the output current of the inverter is an overcurrent (S110).

보다 구체적으로, 제어유닛은 인버터의 출력전류를 검출하고, 검출된 출력전류가 미리 설정된 시간 동안 미리 설정된 값을 초과하는지 여부를 판단할 수 있다. 판단 결과, 검출된 출력전류가 미리 설정된 시간 동안 미리 설정된 값을 초과하면 출력전류를 과전류로 판단할 수 있다.More specifically, the control unit may detect the output current of the inverter and determine whether the detected output current exceeds a preset value for a preset time. As a result of the determination, if the detected output current exceeds a preset value for a preset time, the output current may be determined as an overcurrent.

이어서, 인버터의 출력전류가 과전류로 판단되면 제어유닛은 고장신호를 생성하고 인버터에 제공되는 PWM 신호를 차단시간 동안 차단할 수 있다(S120).Subsequently, when the output current of the inverter is determined to be an overcurrent, the control unit may generate a fault signal and block the PWM signal provided to the inverter during the cutoff time (S120).

이어서, 고장신호가 생성되면 제어유닛은 모터의 모터구동정보 및 고장신호의 생성시점 이전의 샘플링주기에 검출된 출력전류 값을 메모리에 저장할 수 있다(S130). 여기서 모터구동정보는 전술한 바 있으므로, 여기에서는 자세한 설명을 생략하도록 한다.Subsequently, when the fault signal is generated, the control unit may store the motor drive information of the motor and the output current value detected in the sampling period before the time of generating the fault signal in the memory (S130). Since the motor drive information has been described above, a detailed description thereof will be omitted.

이어서, 제어유닛은 메모리에 저장된 모터구동정보 및 출력전류 값을 이용하여 PWM 신호의 듀티비를 결정하고(S140), 차단시간이 도과하면 앞서 결정된 듀티비를 갖는 PWM 신호를 인버터에 제공할 수 있다(S150).Subsequently, the control unit determines the duty ratio of the PWM signal using the motor driving information and the output current value stored in the memory (S140), and when the cutoff time is reached, the control unit may provide the inverter with a PWM signal having the duty ratio determined previously. (S150).

상술한 단계(S110), 단계(S120) 및 단계(S150)는 도 1에 도시된 게이트 드라이버에 의해 수행될 수 있다. 한편, 단계(S130) 및 단계(S140)는 도 1에 도시된 마이컴에 의해 수행될 수 있다.The above-described steps S110, S120, and S150 may be performed by the gate driver illustrated in FIG. 1. Meanwhile, steps S130 and S140 may be performed by the microcomputer shown in FIG. 1.

도 7은 고장신호가 생성된 후 마이컴의 동작 과정을 도시한 순서도이고, 도 8은 마이컴이 호출한 인터럽트 서비스 루틴의 프로세스를 도시한 순서도이다. 이하, 도 7 및 도 8을 참조하여, 제어유닛의 구성요소 중 마이컴이 PWM 신호의 듀티비를 결정하는 과정을 구체적으로 설명하도록 한다.7 is a flowchart illustrating an operation process of a microcomputer after a fault signal is generated, and FIG. 8 is a flowchart illustrating a process of an interrupt service routine called by the microcomputer. Hereinafter, a process of determining the duty ratio of the PWM signal by the microcomputer among the components of the control unit will be described in detail with reference to FIGS. 7 and 8.

도 7을 참조하면, 마이컴은 게이트 드라이버에서 생성된 고장신호를 수신할 수 있다(S210).Referring to FIG. 7, the microcomputer may receive a failure signal generated by the gate driver (S210).

이어서, 마이컴은 수신된 고장신호에 응답하여 인터럽트 서비스 루틴(Interrupt Service Routine; ISR)을 호출할 수 있다(S220).Subsequently, the microcomputer may call an interrupt service routine (ISR) in response to the received failure signal (S220).

이어서, 마이컴은 호출된 인터럽트 서비스 루틴(ISR)을 통해 차단시간 이후 인버터에 제공될 PWM 신호의 듀티비를 결정할 수 있다(S230).Subsequently, the microcomputer may determine the duty ratio of the PWM signal to be provided to the inverter after the interruption time through the called interrupt service routine ISR (S230).

보다 구체적으로, 도 8을 참조하면 인터럽트 서비스 루틴(이하, ISR)은 메모리에 저장된 모터구동정보 및 출력전류 값을 로드하고(S221), 인버터의 출력전류 및 출력전압 중 적어도 하나에 기초하여 회전자의 전기각 위치를 추정할 수 있다(S222).More specifically, referring to FIG. 8, an interrupt service routine (hereinafter, referred to as an ISR) loads motor driving information and an output current value stored in a memory (S221), and based on at least one of an output current and an output voltage of an inverter, the rotor is loaded. The electric angle position of may be estimated (S222).

이어서, ISR은 추정된 전기각 위치 및 인버터의 출력전압 중 적어도 하나에 기초하여 회전자의 속도를 산출할 수 있다(S223).Subsequently, the ISR may calculate the speed of the rotor based on at least one of the estimated electric angle position and the output voltage of the inverter (S223).

이어서, ISR은 산출된 회전자의 속도 및 모터의 목표 속도값에 기초하여 전류 지령치를 생성하고(S224), 생성된 전류 지령치 및 메모리에 저장된 출력전류 값에 기초하여 전압 지령치를 생성할 수 있다(S225). 또한, ISR은 생성된 전압 지령치에 기초하여 차단시간이 도과한 후 인버터에 제공될 PWM 신호의 듀티비를 결정할 수 있다.Subsequently, the ISR may generate a current command value based on the calculated rotor speed and the target speed value of the motor (S224), and generate a voltage command value based on the generated current command value and the output current value stored in the memory ( S225). In addition, the ISR may determine the duty ratio of the PWM signal to be provided to the inverter after the cutoff time has elapsed based on the generated voltage command value.

단계(S222) 내지 단계(S224)에서 이용되는 인버터의 출력전압 및 출력전류 값은 현재 모터(110)의 모터구동정보에 포함된 값일 수 있다. 한편, 단계(S225)에서 이용되는 인버터의 출력전류 값은 메모리에 저장된 출력전류 값으로서, 고장신호의 생성시점 이전의 샘플링주기에 검출된 출력전류 값일 수 있다.The output voltage and output current values of the inverter used in steps S222 to S224 may be values included in current motor driving information of the motor 110. Meanwhile, the output current value of the inverter used in step S225 may be an output current value stored in the memory, and may be an output current value detected in a sampling period before the generation of the fault signal.

다시 도 7을 참조하면, 마이컴은 ISR에 의해 결정된 듀티비 정보를 게이트 드라이버(Drive IC)에 제공할 수 있다(S240). 이에 따라, 게이트 드라이버는 ISR에 의해 결정된 듀티비를 갖는 PWM 신호를 인버터에 제공할 수 있다.Referring back to FIG. 7, the microcomputer may provide the duty ratio information determined by the ISR to the gate driver (Drive IC) (S240). Accordingly, the gate driver may provide the inverter with a PWM signal having a duty ratio determined by the ISR.

상술한 바와 같이 본 발명은 노이즈로 인해 PWM 신호가 일시적으로 차단되더라도, 차단이 해제된 후 정상적인 PWM 신호를 출력하도록 PWM 신호의 듀티비를 제어함으로써, 노이즈로 인한 PWM 신호의 발산 또는 모터의 구동 중지를 방지할 수 있고 이에 따라 모터를 안정적으로 제어할 수 있는 효과가 있다.As described above, the present invention controls the duty ratio of the PWM signal to output a normal PWM signal after the blocking is released, even if the PWM signal is temporarily blocked due to noise, thereby releasing the PWM signal caused by the noise or stopping the driving of the motor. Can be prevented and thus the motor can be stably controlled.

전술한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention as described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by.

110: 모터 120: 인버터
130: 게이트 드라이버 140: 마이컴
110: motor 120: inverter
130: gate driver 140: micom

Claims (10)

코일이 권선된 고정자 및 상기 고정자 내에 배치되며 상기 코일에서 발생된 자기장에 의해 회전하는 회전자를 포함하는 모터;
PWM 신호에 따라 상기 코일에 교류 전류를 제공하는 인버터;
상기 모터의 모터구동정보 및 상기 인버터의 출력전류를 이용하여 상기 PWM 신호의 듀티비를 제어하는 마이컴; 및
상기 PWM 신호를 상기 인버터에 제공하고, 상기 인버터의 출력전류가 과전류인지 여부에 따라 고장신호를 생성하고 상기 PWM 신호를 차단시간 동안 차단하는 게이트 드라이버를 포함하고,
상기 마이컴은, 상기 고장신호가 생성되면 상기 고장신호의 생성시점 이전의 샘플링주기에 검출된 상기 인버터의 출력전류 값을 메모리에 저장하고, 상기 모터의 현재 모터구동정보 및 상기 메모리에 저장된 상기 출력전류 값을 이용하여 상기 차단시간 이후 상기 인버터에 제공되는 상기 PWM 신호의 듀티비를 제어하는
PWM 신호 제어 장치.
A motor including a stator having a coil wound thereon and a rotor disposed within the stator and rotating by a magnetic field generated in the coil;
An inverter providing an alternating current to the coil in accordance with a PWM signal;
A microcomputer controlling the duty ratio of the PWM signal by using motor driving information of the motor and an output current of the inverter; And
A gate driver configured to provide the PWM signal to the inverter, generate a fault signal according to whether the output current of the inverter is an overcurrent, and block the PWM signal for a cutoff time;
The microcomputer, when the fault signal is generated, stores the output current value of the inverter detected in the sampling period before the generation time of the fault signal in a memory, and stores current motor driving information of the motor and the output current stored in the memory. Controlling the duty ratio of the PWM signal provided to the inverter after the cutoff time using a value
PWM signal control device.
제1항에 있어서,
상기 게이트 드라이버는
상기 인버터의 출력전류를 검출하고, 상기 검출된 출력전류가 미리 설정된 시간 동안 미리 설정된 값을 초과하면 상기 고장신호를 생성하여 상기 마이컴으로 제공하는 PWM 신호 제어 장치.
The method of claim 1,
The gate driver
And detecting the output current of the inverter and generating the fault signal to the microcomputer if the detected output current exceeds a preset value for a preset time.
제1항에 있어서,
상기 마이컴은
상기 고장신호가 생성되면 상기 고장신호 생성시점의 모터구동정보를 상기 메모리에 더 저장하고, 상기 차단시간 이후 상기 인버터에 제공되는 상기 PWM 신호의 듀티비를 상기 메모리에 저장된 상기 모터구동정보 및 상기 출력전류 값에 따른 듀티비로 제어하는 PWM 신호 제어 장치.
The method of claim 1,
The microcomputer
When the fault signal is generated, the motor drive information at the time of generating the fault signal is further stored in the memory, and the duty ratio of the PWM signal provided to the inverter after the interruption time is stored in the memory. PWM signal control device to control the duty ratio according to the current value.
제3항에 있어서,
상기 모터구동정보는
상기 회전자의 전기각 위치, 상기 회전자의 속도, 상기 모터의 목표 속도값, 상기 인버터의 출력전류 값 및 상기 인버터의 출력전압 값 중 적어도 하나를 포함하는 PWM 신호 제어 장치.
The method of claim 3,
The motor drive information is
And at least one of an electric angle position of the rotor, a speed of the rotor, a target speed value of the motor, an output current value of the inverter, and an output voltage value of the inverter.
제1항에 있어서,
상기 마이컴은
상기 고장신호가 생성된 후 상기 인버터의 출력전류 및 출력전압 중 적어도 하나에 기초하여 상기 회전자의 전기각 위치를 추정하는 위치 추정부;
상기 추정된 전기각 위치 및 상기 인버터의 출력전압 중 적어도 하나에 기초하여 상기 회전자의 속도를 산출하는 속도 산출부;
상기 산출된 속도 및 상기 모터의 목표 속도값에 기초하여 전류 지령치를 생성하고 상기 생성된 전류 지령치 및 상기 메모리에 저장된 상기 출력전류 값에 기초하여 전압 지령치를 생성하는 지령치 생성부; 및
상기 생성된 전압 지령치에 따라 상기 차단시간 이후 상기 인버터에 제공되는 상기 PWM 신호의 듀티비를 제어하는 듀티 제어부를 포함하는 PWM 신호 제어 장치.
The method of claim 1,
The microcomputer
A position estimating unit estimating an electric angle position of the rotor based on at least one of an output current and an output voltage of the inverter after the failure signal is generated;
A speed calculator configured to calculate a speed of the rotor based on at least one of the estimated electric angle position and an output voltage of the inverter;
A command value generator for generating a current command value based on the calculated speed and a target speed value of the motor and generating a voltage command value based on the generated current command value and the output current value stored in the memory; And
And a duty controller configured to control a duty ratio of the PWM signal provided to the inverter after the cutoff time according to the generated voltage command value.
제1항에 있어서,
상기 마이컴은
상기 게이트 드라이버로부터 상기 고장신호가 제공되면 상기 PWM 신호의 듀티비를 제어하기 위한 인터럽트 서비스 루틴(Interrupt Service Routine; ISR)을 호출하는 PWM 신호 제어 장치.
The method of claim 1,
The microcomputer
And an interrupt service routine (ISR) for controlling the duty ratio of the PWM signal when the fault signal is provided from the gate driver.
모터를 구동하는 인버터에 PWM 신호를 제공하는 제어유닛의 PWM 신호 제어 방법에 있어서,
상기 인버터의 출력전류가 과전류인지 여부를 판단하는 단계;
상기 인버터의 출력전류가 과전류로 판단되면 고장신호를 생성하고 상기 인버터에 제공되는 상기 PWM 신호를 차단시간 동안 차단하는 단계;
상기 고장신호가 생성되면 상기 모터의 현재 모터구동정보 및 상기 고장신호의 생성시점 이전의 샘플링주기에 검출된 출력전류 값을 메모리에 저장하는 단계; 및
상기 메모리에 저장된 상기 현재 모터구동정보 및 상기 출력전류 값을 이용하여 상기 차단시간이 도과한 후 상기 인버터에 제공되는 상기 PWM 신호의 듀티비를 제어하는 단계를 포함하는 PWM 신호 제어 방법.
In the PWM signal control method of the control unit for providing a PWM signal to the inverter for driving the motor,
Determining whether the output current of the inverter is an overcurrent;
Generating a fault signal and interrupting the PWM signal provided to the inverter during the interruption time when it is determined that the output current of the inverter is an overcurrent;
Storing the current motor driving information of the motor and an output current value detected in a sampling period before the generation time of the failure signal when the failure signal is generated; And
And controlling the duty ratio of the PWM signal provided to the inverter after the cutoff time has elapsed using the current motor drive information and the output current value stored in the memory.
제7항에 있어서,
상기 고장신호가 생성되면 인터럽트 서비스 루틴(Interrupt Service Routine; ISR)을 호출하여 상기 PWM 신호의 듀티비를 제어하는 단계를 더 포함하는 PWM 신호 제어 방법.
The method of claim 7, wherein
And controlling the duty ratio of the PWM signal by calling an Interrupt Service Routine (ISR) when the fault signal is generated.
제7항에 있어서,
상기 인버터의 출력전류가 과전류인지 여부를 판단하는 단계는
상기 인버터의 출력전류를 검출하는 단계; 및
상기 검출된 출력전류가 미리 설정된 시간 동안 미리 설정된 값을 초과하면 상기 출력전류를 과전류로 판단하는 단계를 포함하는 PWM 신호 제어 방법.
The method of claim 7, wherein
Determining whether the output current of the inverter is an overcurrent
Detecting an output current of the inverter; And
And determining the output current as an overcurrent when the detected output current exceeds a preset value for a preset time.
제7항에 있어서,
상기 인버터에 제공되는 PWM 신호의 듀티비를 제어하는 단계는
상기 인버터의 출력전류 및 출력전압 중 적어도 하나에 기초하여 상기 모터 내 회전자의 전기각 위치를 추정하는 단계;
상기 추정된 전기각 위치 및 상기 인버터의 출력전압 중 적어도 하나에 기초하여 상기 회전자의 속도를 산출하는 단계;
상기 산출된 속도 및 상기 모터의 목표 속도값에 기초하여 전류 지령치를 생성하고 상기 생성된 전류 지령치 및 상기 메모리에 저장된 상기 출력전류 값에 기초하여 전압 지령치를 생성하는 단계; 및
상기 생성된 전압 지령치에 따라 상기 차단시간이 도과한 후 상기 인버터에 제공되는 상기 PWM 신호의 듀티비를 제어하는 단계를 포함하는 PWM 신호 제어 방법.
The method of claim 7, wherein
Controlling the duty ratio of the PWM signal provided to the inverter
Estimating an electric angle position of the rotor in the motor based on at least one of an output current and an output voltage of the inverter;
Calculating a speed of the rotor based on at least one of the estimated electric angle position and an output voltage of the inverter;
Generating a current command value based on the calculated speed and a target speed value of the motor and generating a voltage command value based on the generated current command value and the output current value stored in the memory; And
And controlling the duty ratio of the PWM signal provided to the inverter after the cutoff time has elapsed according to the generated voltage command value.
KR1020170087337A 2017-07-10 2017-07-10 Apparatus and method for controlling PWM signal KR102047877B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170087337A KR102047877B1 (en) 2017-07-10 2017-07-10 Apparatus and method for controlling PWM signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170087337A KR102047877B1 (en) 2017-07-10 2017-07-10 Apparatus and method for controlling PWM signal

Publications (2)

Publication Number Publication Date
KR20190006393A KR20190006393A (en) 2019-01-18
KR102047877B1 true KR102047877B1 (en) 2019-11-22

Family

ID=65323578

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170087337A KR102047877B1 (en) 2017-07-10 2017-07-10 Apparatus and method for controlling PWM signal

Country Status (1)

Country Link
KR (1) KR102047877B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008005592A (en) * 2006-06-21 2008-01-10 Matsushita Electric Ind Co Ltd Motor drive device and storage device with the motor drive device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008005592A (en) * 2006-06-21 2008-01-10 Matsushita Electric Ind Co Ltd Motor drive device and storage device with the motor drive device

Also Published As

Publication number Publication date
KR20190006393A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
US7501787B2 (en) Method for controlling AC motor
KR101685968B1 (en) Inverter apparatus
JP5314103B2 (en) Permanent magnet synchronous motor drive device
JP2003079183A (en) Step-out detecting equipment of synchronous motor, step- out detecting method of synchronous motor, drive equipment of hermetic compressor and drive equipment of fan motor
US8872457B2 (en) Method and apparatus for driving a polyphase electronically commutated electric machine and a motor system
CN110535378B (en) High-precision phase change control method and system for brushless direct current motor
JP2009077503A (en) Motor controller and controller for air conditioner
JP6463966B2 (en) Motor driving device, motor driving module and refrigeration equipment
EP3133732B1 (en) Power conversion device and power conversion method
AU2018295871B2 (en) Motor drive apparatus
KR102047877B1 (en) Apparatus and method for controlling PWM signal
EP3654520B1 (en) Motor driving apparatus
KR20080053276A (en) System and method for controlling a synchronous electric motor, particularly for household appliances
JP4281376B2 (en) Electric motor drive
CN113196646B (en) Motor driving device, refrigerating loop device, air conditioner, water heater and refrigerator
KR20100070222A (en) Apparatus and method for initially driving a sensorless bldc motor
JP5326948B2 (en) Inverter control device, electric compressor and electrical equipment
JP2010259184A (en) Inverter controller, electric compressor, and household electrical appliance
KR102384881B1 (en) Brushless Dc Motor with Automatic Compatibility Control Function
KR101539867B1 (en) Apparatus for generating driving signal, system and method for driving motor using the same
KR102509725B1 (en) Motor drive apparatus
JP2014143839A (en) Control device for motor
KR102523153B1 (en) Motor drive apparatus performing algorithm for preventing abnormal operation
US20230208331A1 (en) Motor control device and motor control method
KR20090082595A (en) Method for driving BLDC motor

Legal Events

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