KR100292529B1 - A control method of brushless dc motor - Google Patents

A control method of brushless dc motor Download PDF

Info

Publication number
KR100292529B1
KR100292529B1 KR1019990001982A KR19990001982A KR100292529B1 KR 100292529 B1 KR100292529 B1 KR 100292529B1 KR 1019990001982 A KR1019990001982 A KR 1019990001982A KR 19990001982 A KR19990001982 A KR 19990001982A KR 100292529 B1 KR100292529 B1 KR 100292529B1
Authority
KR
South Korea
Prior art keywords
motor
degrees
timer
timing
values
Prior art date
Application number
KR1019990001982A
Other languages
Korean (ko)
Other versions
KR20000051486A (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 KR1019990001982A priority Critical patent/KR100292529B1/en
Publication of KR20000051486A publication Critical patent/KR20000051486A/en
Application granted granted Critical
Publication of KR100292529B1 publication Critical patent/KR100292529B1/en

Links

Classifications

    • 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
    • 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
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/03Determination of the rotor position, e.g. initial rotor position, during standstill or low speed operation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S388/00Electricity: motor control systems
    • Y10S388/90Specific system operational feature
    • Y10S388/902Compensation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S388/00Electricity: motor control systems
    • Y10S388/907Specific control circuit element or device
    • Y10S388/921Timer or time delay means

Abstract

본 발명은 비엘디씨 모터제어방법에 관한 것으로, 종래에는 비엘디씨 모터를 제어하기 위해서는 위치정보를 알기위한 최소한의 위치감지센서인 홀센서가 3개 필요한데 이로인해 비용이 상승되는 문제점이 있다. 따라서, 본 발명은 홀센서의 상태변화에 대응하는 인터럽트신호가 발생하면 제1,제2,제3 타이머를 초기화시켜 대기시키고, 홀센서와 출력 제어 타이밍의 시컨스제어를 위한 상태 플래그를 램에 로드한후 모터가 기동초기인지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 모터가 기동초기이면 초기기동을 위한 홀센서의 초기상태값을 읽고 제1 타이머를 동작시킴과 아울러 상기 초기상태값에 대응되는 로직을 출력한후 상기 제1 타이머를 모드간(90도) 거리값(T1)을 구하고 그 거리값(T1)을 통해 60도,120도에 대응되는 모드간의 거리값(T2,T3)을 구하여 램에 저장하고 리턴하는 제2 단계와; 상기 제1 단계의 판단결과 모터가 기동초기가 아니면 홀센서의 초기 상태값을 읽어 로토의 위치를 감지하고 제2,제3 타이머를 동작시킨후 제2,제3 타이머값이 각기 60도, 120도에 해당되는 T2,T3와 일치하는지를 판단하는 제3 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하면 현재 출력신호의 타이밍을 보상하여 출력하고 리턴하는 제4 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하지 않으면 현재 출력신호의 타이밍을 보상하지 않고 그대로 출력하고 리턴하는 제5 단계로 수행함으로써 홀센서를 2개로 축소하여 회로부품의 간략화를 통한 피씨비 사이즈를 최적화함과 아울러 비용을 절감할 수 있고, 또한 기타 동기 모터 구동 대응 홀센서를 적용하는 전분야에 응용할 수 있는 효과가 있다.The present invention relates to a BCD motor control method, and conventionally, to control a BCD motor, three Hall sensors, which are minimum position sensing sensors for knowing position information, are required, thereby increasing costs. Therefore, the present invention initializes and waits for the first, second, and third timers when an interrupt signal corresponding to a change in the state of the hall sensor is generated, and loads a state flag for sequence control of the hall sensor and output control timing. A first step of determining whether the motor is in the initial stage of startup; As a result of the determination of the first step, if the motor is in the initial startup state, the initial state value of the hall sensor for initial startup is read, the first timer is operated, and the logic corresponding to the initial state value is output and the first timer is operated. A second step of obtaining a distance (90 degrees) distance value (T1), obtaining distance values (T2, T3) between modes corresponding to 60 degrees and 120 degrees through the distance value (T1), and storing and returning to RAM; As a result of the determination in the first step, if the motor is not started, the initial state value of the hall sensor is read to sense the position of the roto, and the second and third timers are operated at 60 degrees and 120 degrees, respectively. Determining whether it corresponds to T2 and T3 corresponding to FIG. A fourth step of compensating for the timing of the current output signal and outputting and returning the second and third timer values when the second and third timer values match T2 and T3, respectively; If the second and third timer values do not coincide with T2 and T3 as the determination result of the third step, the Hall sensor is reduced to two by performing the fifth step of outputting and returning the same without compensating the timing of the current output signal. By simplifying the circuit components, the PCB size can be optimized, the cost can be reduced, and other synchronous motor-driven Hall sensors can be applied to all fields.

Description

비엘디씨 모터 제어방법{A CONTROL METHOD OF BRUSHLESS DC MOTOR}A CONTROL METHOD OF BRUSHLESS DC MOTOR}

본 발명은 비엘디씨 모터제어방법에 관한 것으로, 특히 프로그램처리를 통해 홀센서의 수량을 줄임으로써 비용을 절감할 수 있도록 한 비엘디씨 모터제어방법에 관한 것이다.The present invention relates to a BCD motor control method, and more particularly to a BCD motor control method to reduce the cost by reducing the number of Hall sensors through the program processing.

일반적으로, 비엘디씨 모터제어장치는 첨부한 도면중 제1 도에 도시된 바와같이, 모터로 공급되는 전압의 역기전력을 현재 모터(300)의 회전자의 각상에 대한 위치를 3개의 홀센서(Ha,Hb,Hc)로 검출하고, 검출된 회전자의 위치정보를 이용하여 모터(300)의 회전속도를 판별하여 그에 따른 제어신호(U+,V+,W+,U-,V-,W-)를 출력하는 마이크로컴퓨터(100)와; 상기 마이크로컴퓨터(100)의 제어신호(U+,V+,W+,U-,V-,W-)에 의해 스위칭되어 상기 모터(300)에 원하는 평균전압과 주파수의 교류로 인가하는 인버터부(600)로 구성된다.In general, as shown in FIG. 1 of the accompanying drawings, the BCD motor control apparatus sets the position of the counter electromotive force of the voltage supplied to the motor to each of the phases of the rotor of the motor 300 (Ha Hall). , Hb, Hc, and determine the rotational speed of the motor 300 by using the detected position information of the rotor to control the control signals (U +, V +, W +, U-, V-, W-) accordingly. A microcomputer 100 for outputting; Inverter unit 600 which is switched by control signals U +, V +, W +, U-, V-, W- of the microcomputer 100 to apply alternating current of a desired average voltage and frequency to the motor 300. It consists of.

도2는 상기 비엘디씨 모터(300)를 구동하기 위한 상세회로도로서, 마이크로컴퓨터(100)의 소정 제어신호를 인터페이스부(500)를 통해 입력받아 그에따라 도통제어를 위한 6개의 트랜지스터로 이루어지며, 이 6개의 트랜지스터가 각각 두 개씩 직렬로 연결되는 인버터와, 이 인버터의 직렬 연결된 상기 두 개의 트랜지스터의 각각의 공통 접속점과 연결되어 상기 인버터의 스위칭에 따라 변환된 3상전원을 인가받는 고정자와 이 고정자의 회전자계에 의해 동작하는 회전자로 이루어진 비엘디씨 모터(300)로 구성되며, 이와 같은 종래 장치의 동작을 상기 도1,도2를 참조하여 설명한다.FIG. 2 is a detailed circuit diagram for driving the BC motor 300, and receives a predetermined control signal of the microcomputer 100 through the interface unit 500, and consists of six transistors for conduction control accordingly. A stator and a stator connected to each of the six transistors in series, a common connection point of the two transistors connected in series of the inverter, and receiving a three-phase power converted by switching of the inverter. It consists of a BCD motor 300 made of a rotor operating by the magnetic field of the, the operation of such a conventional device will be described with reference to Figs.

먼저, 비엘디씨 모터(300)는 유도 모터와 달리 브러쉬(Brush) 모터중에서 브러쉬 대신에 영구자석의 특성을 이용하는 모터(300)로서, 영구자석의 N,S극의 위치가 어디에 있는지 홀센서(Ha,Hb,Hc)에 의해 회전하면서 항상 감지하여 그 감지된 신호를 도3의 (a),(b),(c)와 같이 마이크로컴퓨터(100)에 인가한다.First, the BCD motor 300 is a motor 300 that uses the characteristics of permanent magnets instead of brushes among brush motors, unlike induction motors. Hall sensors (Ha) Rotation by, Hb, Hc is always detected and the detected signal is applied to the microcomputer 100 as shown in FIGS. 3A, 3B, and 3C.

그러면, 상기 마이크로컴퓨터(100)는 상기 감지신호를 입력받아 모터(300)의 회전속도를 판별하여 판별된 회전속도를 미리 설정된 프로그램상의 목표속도와 비교하고, 비교결과에 따라 모터(300)가 목표속도로 회전할 수 있도록 도3의 (d)~(i)와 같은 타이밍신호(U+,V+,W+,U-,V-,W-)로 제어한다.Then, the microcomputer 100 receives the detection signal to determine the rotational speed of the motor 300, and compares the determined rotational speed with a target speed set in advance of the program. Controlled by timing signals U +, V +, W +, U-, V-, and W- as shown in FIGS.

즉, 마이크로컴퓨터(100)는 인터페이스부(500)를 통해 일정 제어신호를 출력하여 인버터부(600)의 스위칭동작이 가능하게 하는데, 마이크로컴퓨터(100)는 모터(300)로 공급되는 전압의 역기전력을 검출하여 현재 모터(300)의 회전자의 위치를 검출하고, 검출된 회전자의 위치정보를 이용하여 모터(300)의 회전속도를 판별한 후 그 판별된 회전속도를 미리 설정된 프로그램상의 목표속도와 비교하고, 이 비교결과에 따라 모터(300)가 목표속도로 회전할 수 있도록 제어한다.That is, the microcomputer 100 outputs a predetermined control signal through the interface unit 500 to enable the switching operation of the inverter unit 600. The microcomputer 100 has a counter electromotive force of a voltage supplied to the motor 300. To detect the current position of the rotor of the motor 300, and to determine the rotational speed of the motor 300 using the detected position information of the rotor 300 and then to determine the target rotational speed Compared with, and controls the motor 300 to rotate at the target speed according to the comparison result.

다시말해서, 도3의 (d)~(i)같은 6개의 펄스파형은 인버터부(600)에 전달되어 각 상에 해당되는 6개의 트랜지스터를 각기 스위칭하게 됨으로써 모터(300)에 구성된 각각의 상에 공급되는 전원을 제어하게 되어 모터(300)의 구동이 이루어지게 된다.In other words, six pulse waveforms such as (d) to (i) of FIG. 3 are transmitted to the inverter unit 600 to switch each of the six transistors corresponding to each phase to each phase configured in the motor 300. By controlling the power supplied to the driving of the motor 300 is made.

그러나, 상기와 같은 종래기술은 비엘디씨 모터를 제어하기 위해서는 위치정보를 알기위한 최소한의 위치감지센서인 홀센서가 3개 필요한데 이로인해 비용이 상승되는 문제점이 있다.However, the prior art as described above requires three Hall sensors, which are the minimum position detection sensors to know the position information, in order to control the BLC motor.

따라서, 상기와 같은 문제점을 감안하여 창안한 본 발명은 프로그램 처리를 통해 홀센서의 수량을 줄임으로써 비용을 절감할 수 있도록 한 비엘디씨 모터제어방법을 제공함에 그 목적이 있다.Accordingly, an object of the present invention is to provide a BCD motor control method that can reduce the cost by reducing the number of Hall sensors through the program processing.

도1은 종래 비엘디씨 모터 제어장치에 대한 구성을 보인 블록도.1 is a block diagram showing a configuration for a conventional BCD motor control apparatus.

도2는 도1에 있어서,비엘디씨 모터의 상세회로도.FIG. 2 is a detailed circuit diagram of a BC motor in FIG. 1; FIG.

도3은 도1에 있어서, 각 상의 타이밍도.3 is a timing diagram of each phase in FIG. 1;

도4는 본 발명이 적용되는 비엘디씨 모터 제어장치의 구성을 보인 블록도.Figure 4 is a block diagram showing the configuration of the BCD motor control apparatus to which the present invention is applied.

도5는 도4에 있어서, 구동중의 홀센서 출력제어로직에 대한 타이밍도.Fig. 5 is a timing diagram of the Hall sensor output control logic during driving in Fig. 4;

도6은 도4에 있어서, 초기 기동시의 홀센서 출력제어로직에 대한 타이밍도.Fig. 6 is a timing diagram of the Hall sensor output control logic at the time of initial startup in Fig. 4;

도7은 본 발명 비엘디씨 모터 제어방법에 대한 동작흐름도.Figure 7 is an operation flow chart for the present invention the BCD motor control method.

*****도면의 주요부분에 대한 부호의 설명********** Description of the symbols for the main parts of the drawings *****

100:마이크로컴퓨터200:구동부100: microcomputer 200: drive unit

300:모터400:전원부300: motor 400: power supply

500:인터페이스부600:인버터부500: interface unit 600: inverter unit

상기와 같은 목적을 달성하기 위한 본 발명의 목적은 홀센서(Ha,Hb,Hc)의 상태변화에 대응하는 인터럽트신호가 발생하면 제1,제2,제3 타이머를 초기화시켜 대기시키고, 홀센서(Ha,Hb,Hc)와 출력 제어 타이밍의 시컨스제어를 위한 상태 플래그를 램에 로드한후 모터가 기동초기인지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 모터가 기동초기이면 초기기동을 위한 홀센서(Ha,Hb,Hc)의 초기 상태값을 읽고 제1 타이머를 동작시킴과 아울러 상기 초기상태값에 대응되는 로직을 출력한후 상기 제1 타이머로 모드간(90도) 거리값(T1)을 구하고 그 거리값(T1)을 통해 60도,120도에 대응되는 모드간의 거리값(T2),(T3)을 구하여 램에 저장하고 리턴하는 제2 단계와; 상기 제1 단계의 판단결과 모터(300)가 기동초기가 아니면 홀센서(Ha,Hb,Hc)의 초기 상태값을 읽어 로토의 위치를 감지하고 제2,제3 타이머를 동작시킨후 제2,제3 타이머값이 각기 60도, 120도에 해당되는 T2,T3와 일치하는지를 판단하는 제3 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하면 현재 출력신호의 타이밍을 보상하여 출력하고 리턴하는 제4 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하지 않으면 현재 출력신호의 타이밍을 보상하지 않고 그대로 출력하고 리턴하는 제5 단계로 수행함을 특징으로 한다.An object of the present invention for achieving the above object is to initialize the first, second, third timer to wait when the interrupt signal corresponding to the state change of the Hall sensors (Ha, Hb, Hc), the hall sensor A first step of determining whether the motor is in the initial stage after loading the RAM (Ha, Hb, Hc) and the status flag for the sequence control of the output control timing into the RAM; As a result of the determination of the first step, if the motor is in the initial startup state, the initial state values of the hall sensors Ha, Hb, and Hc for initial startup are read, the first timer is operated, and the logic corresponding to the initial state values is output. After that, the distance value T1 between the modes (90 degrees) is obtained using the first timer, and the distance values T2 and T3 between modes corresponding to 60 degrees and 120 degrees are obtained through the distance value T1. A second step of storing and returning; As a result of the determination of the first step, if the motor 300 is not in the starting phase, the initial state values of the hall sensors Ha, Hb, and Hc are read to sense the position of the roto, and the second and third timers are operated. Determining whether the third timer value corresponds to T2 and T3 corresponding to 60 degrees and 120 degrees, respectively; A fourth step of compensating for the timing of the current output signal and outputting and returning the second and third timer values when the second and third timer values match T2 and T3, respectively; If the second and third timer values do not coincide with T2 and T3 as a result of the determination in the third step, the fifth step of outputting and returning the present output signal without compensating the timing of the current output signal may be performed.

이하, 본 발명에 의한 비엘디씨 모터제어방법에 관한 실시예에 대한 작용 및 효과를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings, the operation and effects of the embodiment of the BCD motor control method according to the present invention will be described in detail.

도4는 본 발명이 적용되는 비엘디씨 모터 제어장치의 구성을 보인 블록도인데, 이에 도시한 바와같이 일반적인 구성은 종래 도1과 동일하며 다만 홀센서를 하나 줄인 것이 다르다.Figure 4 is a block diagram showing the configuration of the BCD motor control apparatus to which the present invention is applied, as shown in the general configuration is the same as the conventional Figure 1 except that one hall sensor is reduced.

도5는 본 발명 비엘디씨 모터 제어방법에 대한 동작흐름도로서, 이에 도시한 바와같이 홀센서(Ha,Hb,Hc)의 상태변화에 대응하는 인터럽트신호가 발생하면 제1,제2,제3 타이머를 초기화시켜 대기시키고, 홀센서(Ha,Hb,Hc)와 출력 제어 타이밍의 시컨스제어를 위한 상태 플래그(Flag)를 램에 로드한후 모터(300)가 기동 초기인지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 모터(300)가 기동초기이면 초기기동을 위한 홀센서(Ha,Hb,Hc)의 초기상태값을 읽고 제1 타이머를 동작시킴과 아울러 상기 초기상태값에 대응되는 로직을 출력한후 상기 제1 타이머로 모드간(90도) 거리값(T1)을 구하고 그 거리값(T1)을 통해 60도,120도에 대응되는 모드간의 거리값(T2,T3)을 구하여 램에 저장하고 리턴하는 제2 단계와; 상기 제1 단계의 판단결과 모터(300)가 기동초기가 아니면 홀센서(Ha,Hb,Hc)의 초기 상태값을 읽어 로토(Rotor)의 위치를 감지하고 제2,제3 타이머를 동작시킨후 제2,제3 타이머값이 각기 60도, 120도에 해당되는 T2,T3와 일치하는지를 판단하는 제3 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하면 현재 출력신호의 타이밍을 보상하여 출력하고 리턴하는 제4 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하지 않으면 현재 출력신호의 타이밍을 보상하지 않고 그대로 출력하고 리턴하는 제5 단계로 이루어지며, 이와같은 본 발명의 동작을 설명한다.FIG. 5 is a flowchart illustrating a BCD motor control method according to the present invention. As shown in FIG. 5, when an interrupt signal corresponding to a state change of the hall sensors Ha, Hb, and Hc is generated, first, second, and third timers are generated. The first step of determining whether the motor 300 is in the initial stage after loading the RAM and loading the Hall sensors (Ha, Hb, Hc) and a status flag (Flag) for the sequence control of the output control timing to the RAM; ; As a result of the determination of the first step, when the motor 300 is initially started, the initial state value of the hall sensors Ha, Hb, and Hc for initial start-up is read, the first timer is operated, and the logic corresponding to the initial state value. After outputting the result, the distance value T1 between modes (90 degrees) is obtained using the first timer, and the distance values T2 and T3 between modes corresponding to 60 degrees and 120 degrees are obtained through the distance value T1. Storing and returning to a second step; As a result of the determination of the first step, if the motor 300 is not in the starting phase, the initial state values of the hall sensors Ha, Hb, and Hc are read to sense the position of the rotor, and then the second and third timers are operated. Determining whether the second and third timer values coincide with T2 and T3 corresponding to 60 and 120 degrees, respectively; A fourth step of compensating for the timing of the current output signal and outputting and returning the second and third timer values when the second and third timer values match T2 and T3, respectively; As a result of the determination of the third step, if the second and third timer values do not coincide with T2 and T3, the fifth step of outputting and returning the present output signal without compensating the timing of the present output signal is performed. Explain.

먼저, 동기모터(300)인 비엘디씨 모터(300)를 회전 구동하기 위해서는 N-S극의 마그네트로 구성된 로터(Rotor)의 위치를 감지하여 N-S극에 적합하게 스테이토 (Stator)에 전류방향 제어를 수행하여야 한다.First, in order to rotationally drive the BCD motor 300, which is the synchronous motor 300, the rotor position of the NS pole magnet is sensed and current direction control is performed on the stator suitable for the NS pole. shall.

이때, 상기 전류방향제어는 인버터부(600)의 6개의 트랜지스터의 게이트단을 스위칭제어함으로써 제어한다.In this case, the current direction control is controlled by switching the gate terminal of the six transistors of the inverter unit 600.

즉, 종래에는 비엘디씨 모터(300)를 구동하기 위해서는 모터(300) 3상간 120도의 위상차를 발생시켜야 가능하므로 홀센서(Ha,Hb,Hc) 3개을 사용하여 60도 간격의 로직을 구성할 수 있어 120도의 위상차를 단순히 모드 반복횟수를 통해서 반영하였는데, 본 발명은 홀센서(Ha,Hb)를 2개를 이용하여 4개의 모드로 구성되기 때문에 각 모드별 90도의 정수배로 구성되므로 3상간 120도의 위상차를 30도의 타이밍을 보상하여 반영하는데, 이를 도5를 참조하여 상세히 설명한다.That is, in order to drive the BCD motor 300 in the related art, it is possible to generate a phase difference of 120 degrees between the three phases of the motor 300 so that the logic of 60-degree intervals can be configured using three Hall sensors (Ha, Hb, Hc). Since the phase difference of 120 degrees is simply reflected through the number of mode repetitions, the present invention is composed of four modes using two Hall sensors (Ha, Hb). The phase difference is compensated and reflected by the timing of 30 degrees, which will be described in detail with reference to FIG. 5.

만약, 로토(Rotor)의 위치가 제1 모드의 위치(Ha=0,Hb=1)에 있으면, 출력제어로직은 W+,U-가 온되어 도4에 표시된 것과 같은 방향으로 전류의 흐름이 형성되고, 이 전류의 흐름에 의해 로토(Rotor)는 일정 방향으로 회전을 하게 되는데, 회전을 하게 되면 다음 시컨스는 제2,제3,제4 모드의 순서로 홀센서(Ha,Hb)의 상태값이 마이크로컴퓨터(100)의 인터럽트 포트(INT1,INT2)를 통해 읽혀진다.If the position of the rotor is at the position of the first mode (Ha = 0, Hb = 1), the output control logic is W +, U- turned on so that current flows in the direction as shown in FIG. The rotor rotates in a certain direction by the flow of the current. When the rotation is performed, the next sequence is the state value of the hall sensors Ha and Hb in the order of the second, third, and fourth modes. It is read through the interrupt ports INT1 and INT2 of the microcomputer 100.

이때, 각 홀센서(Ha,Hb)의 상태 천이값에 대응되게 제1 모드와 같은 원리로 도5와 출력제어로직을 통해서 전류를 공급하므로 로토(Rotor)가 연속적으로 일정 회전방향으로 계속적으로 회전하게 된다.At this time, since the current is supplied through the output control logic of Fig. 5 in the same principle as the first mode to correspond to the state transition values of the respective Hall sensors Ha and Hb, the rotor is continuously rotated in a constant rotational direction. Done.

여기서, 상기와 같은 회전제어원리를 홀센서(Ha,Hb)2개로 적용할 경우에 도5와 같이 4개의 모드만이 존재하므로 모드간의 각도는 90도의 해상도를 갖게 되는데, 도5와 같이 게이트단 로직변화(120도 이상 온)와 홀센서(Ha,Hb)로부터 읽혀진 모드변화 타이밍과 매칭이되지 않기 때문에 모드 변환시점을 전후로 일정 구간동안 타이머를 동작시켜 출력제어로직의 타이밍과 동기시켜야하고 또한 일정 타이밍이 맞지 않는 일정각도 혹은 구간만큼 프로그램으로 보상해야 하는데, 이를 도7을 참조하여 설명한다.Here, when the above-described rotation control principle is applied to two Hall sensors (Ha, Hb), since there are only four modes as shown in FIG. 5, the angles between the modes have a resolution of 90 degrees. Since it does not match the logic change (on 120 degrees or more) and the mode change timing read from the Hall sensors (Ha, Hb), the timer must be operated for a certain period before and after the mode change to synchronize with the timing of the output control logic. The program should be compensated by a certain angle or interval that does not match the timing, which will be described with reference to FIG. 7.

먼저, 홀센서(Ha,Hb)에 의해 감지된 회전자의 위치(Ha,Hb) 상태변화(상승에지 또는 하강에지)에 대응되는 신호가 마이크로컴퓨터(100)의 인터럽트포트(INT1),(INT2)를 통해서 입력되면, 상기 홀센서(Ha,Hb,Hc)의 기본 패턴인 모드변화에 따른 인터벌을 측정하기 위한 제1 타이머와, 기본 모드의 인터벌과 제어인터벌의 길이가 다름에 따라 비동기 보상의 (-)값을 보상하기 위한 제2 타이머와, (+)값 보상을 위한 제3 타이머를 초기화하여, 그 제1,제2,제3 타이머를 대기시킨다.First, a signal corresponding to a change in position (Ha, Hb) state (rising edge or falling edge) of the rotor detected by the hall sensors Ha, Hb is inputted to the interrupt ports INT1 and INT2 of the microcomputer 100. When the input is inputted through), the first timer for measuring the interval according to the mode change, which is the basic pattern of the hall sensors Ha, Hb, and Hc, and the asynchronous compensation according to the length of the interval and the control interval of the basic mode are different. The second timer for compensating the (−) value and the third timer for the (+) value compensation are initialized to wait the first, second, and third timers.

또한, 도5 및 도6과 같은 홀센서(Ha,Hb,Hc)의 출력제어로직에 대한 타이밍도의 시컨스 제어를 위한 상태 플래그(Flag)를 램에 로드하여 각 구간의 인터벌 측정을 위한 준비를 마치는데, 도6은 초기 모터(300)가 기동시에 필요한 시컨스의 실예로서, 모터(300)의 초기 기동전에는 이 모터(300)가 정지 상태이기 때문에 기동중의 도5와 같은 로직 레벨의 변화가 발생되지 않기 때문에 각 모드간 인터벌을 측정할 수 없기 때문에 상대적으로 보상각을 프로그램적으로 계산할 수 없다.In addition, a state flag (Flag) for the sequence control of the timing diagram of the output control logic of the Hall sensors (Ha, Hb, Hc) as shown in FIGS. 5 and 6 is loaded into the RAM to prepare for interval measurement of each section. 6 shows an example of the sequence required when the initial motor 300 is started. Since the motor 300 is in a stopped state before the initial start of the motor 300, a change in the logic level as shown in FIG. Since it is not possible to measure the interval between modes, the compensation angle cannot be calculated programmatically.

따라서, 최초의 기동시에는 강제적으로 도6과 같이 홀센서(Ha,Hb) 인터럽트신호의 타이밍과 동기되는 출력제어로직으로 강제 구동하는 것이 필요하다.Therefore, it is necessary to forcibly drive to the output control logic synchronized with the timing of the Hall sensor (Ha, Hb) interrupt signal at the time of initial start as shown in FIG.

이에따라, 초기 기동시에는 제1 타이머를 동작시킴과 아울러 도6과 같은 강제 구동출력제어로직을 한번 발생시킨다.Accordingly, at the time of initial startup, the first timer is operated and the forced drive output control logic as shown in Fig. 6 is generated once.

이때, 상기 강제 구동으로부터 일정구간(90도=Th)간의 인터벌을 제1 타이머로 계산한 값(T1)으로부터 T2,T3를 계산하여 램에 저장한다.At this time, T2 and T3 are calculated and stored in the RAM from the value T1 obtained by calculating the interval between the predetermined section (90 degrees = Th) from the forced driving by the first timer.

이후, 도5와 같이 출력제어로직을 정상적으로 변화시켜 제어를 계속하는데, 이때 T2값에 대응되는 타이밍을 제어하기 위해서는 제2 타이머, T3값에 대응되는 타이밍을 제어하기 위한 제3 타이머를 각각 별개로 동작시켜 각각 해당되는 크기에 매칭여부를 판단하여 매칭이 되면 제어출력로직상태를 변경하도록 하여30만큼의 비동기적 문제를 해결한다.Subsequently, as shown in FIG. 5, the control is continued by changing the output control logic normally. In this case, in order to control the timing corresponding to the T2 value, a second timer and a third timer for controlling the timing corresponding to the T3 value are separately provided. Operation to determine the match to each size and if the match is to change the control output logic state Solve 30 asynchronous problems.

즉, 센서신호 대응모드의 변화주기와 출력제어주기의 다른 비동기적 요소를30도를 보상하여 해결할 수 있다.That is, change asynchronous period of sensor signal response mode and other asynchronous elements of output control period. It can be solved by compensating for 30 degrees.

이상에서 상세히 설명한 바와같이 본 발명은 홀센서를 2개로 축소하여 회로부품의 간략화를 통한 피씨비 사이즈를 최적화함과 아울러 비용을 절감할 수 있고, 또한 기타 동기 모터 구동 대응 홀센서를 적용하는 전분야에 응용할 수 있는 효과가 있다.As described in detail above, the present invention can reduce the cost by optimizing the size of the PC through the reduction of circuit components by reducing the number of Hall sensors to two, and also in all fields of applying other synchronous motor drive-compatible Hall sensors. There is an effect that can be applied.

Claims (5)

홀센서(Ha,Hb)의 상태변화에 대응하는 인터럽트신호가 발생하면 제1,제2,제3 타이머를 초기화시켜 대기시키고, 홀센서(Ha,Hb)와 출력 제어 타이밍의 시컨스제어를 위한 상태 플래그를 램에 로드한후 모터(300)가 기동초기인지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 모터(300)가 기동초기이면 초기기동을 위한 홀센서(Ha,Hb)의 초기상태값을 읽고 제1 타이머를 동작시킴과 아울러 상기 초기상태값에 대응되는 로직을 출력한후 상기 제1 타이머로 모드간(90도) 거리값(T1)을 구하고 그 거리값(T1)을 통해 60도,120도에 대응되는 모드간의 거리값(T2,T3)을 구하여 램에 저장하고 리턴하는 제2 단계와; 상기 제1 단계의 판단결과 모터(300)가 기동초기가 아니면 홀센서(Ha,Hb)의 초기 상태값을 읽어 로토의 위치를 감지하고 제2,제3 타이머를 동작시킨후 제2,제3 타이머값이 각기 60도, 120도에 해당되는 T2,T3와 일치하는지를 판단하는 제3 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하면 현재 출력신호의 타이밍을 보상하여 출력하고 리턴하는 제4 단계와; 상기 제3 단계의 판단결과 제2,제3 타이머값이 각기 T2,T3와 일치하지 않으면 현재 출력신호의 타이밍을 보상하지 않고 그대로 출력하고 리턴하는 제5 단계로 수행함을 특징으로 하는 비엘디씨 모터 제어방법.When an interrupt signal corresponding to a change in the state of the hall sensors Ha and Hb is generated, the first, second, and third timers are initialized and waited, and a state for sequence control of the hall sensors Ha and Hb and output control timing is generated. A first step of determining whether the motor 300 is in the initial stage after loading the flag into the RAM; As a result of the determination of the first step, when the motor 300 is initially started, the initial state values of the hall sensors Ha and Hb for initial start are read, the first timer is operated, and the logic corresponding to the initial state values is output. After that, the distance value T1 between the modes (90 degrees) is obtained using the first timer, and the distance values T2 and T3 corresponding to 60 degrees and 120 degrees are stored through the distance value T1 and stored in the RAM. And returning a second step; As a result of the determination of the first step, if the motor 300 is not in the starting phase, the initial state values of the hall sensors Ha and Hb are read to sense the position of the roto, and the second and third timers are operated. Determining whether the timer value corresponds to T2 and T3 corresponding to 60 and 120 degrees, respectively; A fourth step of compensating for the timing of the current output signal and outputting and returning the second and third timer values when the second and third timer values match T2 and T3, respectively; If the second and third timer values do not coincide with T2 and T3 as the determination result of the third step, the BLC motor control is performed as the fifth step of outputting and returning the same without compensating the timing of the current output signal. Way. 제1 항에 있어서, 제2 타이머값이 T2와 일치하면 소정 설정값(-)만큼 보상하는 것을 출력하는 비엘디씨 모터 제어방법.The method of claim 1, wherein when the second timer value coincides with T2, the predetermined set value (- BCD motor control method that outputs compensation by). 제1 항에 있어서, 제3 타이머값이 T3와 일치하면 소정 설정값(+)만큼 보상하는 것을 특징으로 하는 비엘디씨 모터 제어방법.The method of claim 1, wherein when the third timer value coincides with T3, the predetermined set value (+ BLC motor control method, characterized in that for the compensation. 제 2항에 있어서, 설정값(-)는 -30도 인 것을 특징으로 하는 비엘디씨 모터 제어방법.The method of claim 2, wherein the set value (- ) Is -30 degrees BC motor control method. 제3 항에 있어서, 설정값(+)는 +30도 인 것을 특징으로 하는 비엘디씨 모터 제어방법.The method of claim 3, wherein the set value (+ ) Is a BCD motor control method, characterized in that +30 degrees.
KR1019990001982A 1999-01-22 1999-01-22 A control method of brushless dc motor KR100292529B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990001982A KR100292529B1 (en) 1999-01-22 1999-01-22 A control method of brushless dc motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990001982A KR100292529B1 (en) 1999-01-22 1999-01-22 A control method of brushless dc motor

Publications (2)

Publication Number Publication Date
KR20000051486A KR20000051486A (en) 2000-08-16
KR100292529B1 true KR100292529B1 (en) 2001-06-01

Family

ID=19572080

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990001982A KR100292529B1 (en) 1999-01-22 1999-01-22 A control method of brushless dc motor

Country Status (1)

Country Link
KR (1) KR100292529B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398374B (en) * 2020-10-16 2022-11-15 北京国科环宇科技股份有限公司 Control system and control method of three-phase brushless direct current motor

Also Published As

Publication number Publication date
KR20000051486A (en) 2000-08-16

Similar Documents

Publication Publication Date Title
KR940001917B1 (en) Sensor-less spindle motor control circuit
US4874993A (en) Sensorless brushless motor
EP0420501B1 (en) Method and apparatus for detecting the rotor position of a brushless DC motor
US8593098B2 (en) Operation of BLDC motors
JPH09117186A (en) Dc brushless motor drive
US20080303516A1 (en) Method and Circuit Arrangement for Determining the Rotor Position of an Ec Motor in the Standstill State
US6483266B2 (en) Sensorless motor driving apparatus
JP2000078882A (en) Rectifier circuit for sensor-less three-phase bldc motor
US9628005B2 (en) Device for determining a position of a rotor of an electric motor
US9667184B2 (en) Device for determining a position of a rotor of a polyphase electric motor
KR100292529B1 (en) A control method of brushless dc motor
JPH1189274A (en) Method of driving sensorless brushless dc motor
JP2897210B2 (en) Sensorless drive for brushless motor
JP2000295890A (en) Driving controller of brushless motor
KR100327862B1 (en) Initial position detection and starting algorithm of BLDC motor using inductance variation
JPH09163787A (en) D.c. brushless motor
US6066929A (en) Frequency generator circuit for a brushless DC motor control system
JP2778816B2 (en) Sensorless spindle motor control circuit
JPH11206181A (en) Device and method for detecting rotor position of sensorless switched reluctance motor
KR100292528B1 (en) A control method of brushless dc motor in washing machine
JPH06121583A (en) Driver for sensorless brushless motor
KR100292527B1 (en) A method of sinusoidal current control for brushless dc motor
JP2000324880A (en) Motor and transmitter
JPH08140392A (en) Driver for dc commutatorless motor
JP3247281B2 (en) Motor drive circuit

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080218

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee