KR100304056B1 - Control Circuit of Direct Motor Operating Device - Google Patents

Control Circuit of Direct Motor Operating Device Download PDF

Info

Publication number
KR100304056B1
KR100304056B1 KR1019990024503A KR19990024503A KR100304056B1 KR 100304056 B1 KR100304056 B1 KR 100304056B1 KR 1019990024503 A KR1019990024503 A KR 1019990024503A KR 19990024503 A KR19990024503 A KR 19990024503A KR 100304056 B1 KR100304056 B1 KR 100304056B1
Authority
KR
South Korea
Prior art keywords
mpu
output
circuit
motor
control
Prior art date
Application number
KR1019990024503A
Other languages
Korean (ko)
Other versions
KR20010003949A (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 KR1019990024503A priority Critical patent/KR100304056B1/en
Publication of KR20010003949A publication Critical patent/KR20010003949A/en
Application granted granted Critical
Publication of KR100304056B1 publication Critical patent/KR100304056B1/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
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • H02P7/03Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors
    • H02P7/04Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors by means of a H-bridge 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
    • 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
    • H02M7/53Conversion 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 using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M7/537Conversion 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 using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
    • H02M7/539Conversion 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 using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters with automatic control of output wave form or frequency
    • H02M7/5395Conversion 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 using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters with automatic control of output wave form or frequency by pulse-width modulation

Abstract

본 발명은 가역운전이 가능한 중소형급 직류모터 구동장치의 제어회로에 관한 것으로 토오크센서로부터 제어력신호(Ts)을 받아 EPS 모터에 회전방향과 속도, 힘을 결정할 수 있는 전류를 공급하여 주는 직류모터 구동장치의 제어회로에 관한 것이며 액셀레이타 신호(Ts)를 받아 100∼300㎏급의 견인차량을 전.후진 시키는 주행모터의 구동장치에도 적용할 수 있는 것이다. 8비트 원칩 콘트롤러(MPU)의 아나로그 입력단에는 제어력신호(Ts)가 공지의 버퍼 및 분압회로를 통해 입력단자(ADO)에 연결되고 주전원(48V DC)은 저항(R4,R5)에서 분압되어 입력단자(AD1)에 연결되며 구동장치의 출력전류신호는 분류기 (Shunt)에서 검출되고 공지의 증폭회로에서 증폭되며 버퍼를 통해 입력단자(AD2)에 입력된다. 또, 상기 출력전류 신호를 공지의 비교회로에 의하여 출력의 과전류 상태를 검출하여 MPU의 인터렙트단자(INT)에 연결한다. 한편 MPU의 출력단 PWM 출력단자에서는 모터 속도제어에 필요한 PWM펄스폭을 가진 PWM펄스를 출력케하고 다른 2개의 출력단자에서는 모터의 전후동작방향의 가역을 결정할수 있는 FET1, FET2의 구동출력을 출력케한다. 키스윗치(K.S)가 ON 되면 MPU는 내장된 프로그램을 수행하고 각 과정이 실행됨으로써 보조전원 트랜지스터구동, 초기자체진단, PWM 출력제어, 과부하시 전류제한 및 센서고장감지등 조향장치나 견인장치의 직류모터구동에 기본적으로 필요한 제어동작을 구현할 수 있다.The present invention relates to a control circuit of a small and medium-sized DC motor drive device capable of reversible operation, and receives a control force signal (Ts) from a torque sensor and supplies a current capable of determining the rotation direction, speed, and force to an EPS motor. The present invention relates to a control circuit of a device, and is applicable to a driving motor driving device that receives an accelerator signal (Ts) and forwards or reverses a towing vehicle of class 100 to 300 kg. At the analog input of the 8-bit one-chip controller (MPU), the control force signal (Ts) is connected to the input terminal (ADO) through a known buffer and voltage divider circuit, and the main power supply (48V DC) is divided by the resistors (R4, R5) and input. It is connected to the terminal AD1, and the output current signal of the driving device is detected by a shunt, amplified by a known amplifier circuit, and input to the input terminal AD2 through a buffer. The output current signal is detected by a known comparison circuit and connected to the intercept terminal INT of the MPU by detecting an overcurrent state of the output. On the other hand, the output terminal PWM output terminal of the MPU outputs a PWM pulse with the PWM pulse width necessary for motor speed control, and the other two output terminals output drive outputs of FET1 and FET2 that can determine the reversible direction of the motor's forward and backward operation directions. do. When the key switch (KS) is turned on, the MPU executes a built-in program and executes each process.The direct current of the steering device or traction device, such as auxiliary power transistor drive, initial self-diagnosis, PWM output control, current limit in case of overload and sensor failure detection. It is possible to implement the control operation which is basically required for motor driving.

Description

직류모터 구동장치의 제어회로{Control Circuit of Direct Motor Operating Device}Control circuit of DC motor driving device

본 발명은 가역운전이 가능한 중소형급 직류모터 구동장치의 제어회로에 관한 것으로 토오크센서로부터 제어력 신호(Ts)을 받아 EPS 모터에 회전방향과 속도, 힘을 결정할 수 있는 전류를 공급하여 주는 직류모터 구동장치의 제어회로에 관한 것이며 액셀레이타 신호(Ts)를 받아100∼300㎏급의 견인차량을 전.후진 시키는 주행모터의 구동장치에도 적용할 수 있는 것이다.The present invention relates to a control circuit of a small and medium-sized DC motor drive device capable of reversible operation, and receives a control force signal (Ts) from a torque sensor and supplies a current capable of determining the rotation direction, speed, and force to an EPS motor. The present invention relates to a control circuit of a device, and is applicable to a driving motor driving device which receives an accelerator signal (Ts) and forwards or reverses a towing vehicle of class 100 to 300 kg.

전기차나 포크리프트(Fork-Lift)의 조향장치로서 과거에는 유압을 이용한 조향장치를 사용하여 왔으나, 전기식 조향장치(EPS)는 모터가 핸들 조작시에만 작동하여 에너지가 절약될 뿐만 아니라, 저소음이며 조향감각이 우수하고 강력한 힘을 얻을 수 있기 때문에 유압식 조향장치가 대부분 전기식 조향장치로 대체 되어 가고 있어, 중소형급 직류모터 구동장치의 수요가 증가되고 있다.In the past, hydraulic steering devices have been used as steering devices for electric cars or fork-lifts. However, the electric steering system (EPS) not only saves energy by operating the motor when the steering wheel is operated, but also produces low noise and steering. Hydraulic steering devices are being replaced by electric steering devices because they have excellent sense and strong power, and the demand for small and medium-sized DC motor drives is increasing.

또, 최근 100∼300㎏급의 견인차량(Golf Cart 또는 장애인차량)에 사용되는 가역운전이 가능한 주행모터구동장치의 수요도 증가하고 있다.In addition, there is an increasing demand for a driving motor driving apparatus capable of reversible driving used in 100 to 300 kg class towing vehicles (Golf Carts or handicapped vehicles).

상기의 전기식 조향장치는 도 1에 표시한 바와 같이 조향용 모터(EPS Motor)와 모터 구동장치, 센서, 액츄에이터 또는 스티어링기어, 감속기어 등으로 구성되며 핸들을 조작하면 토오크센서가 제어력을 출력하여 EPS 모터 구동장치에 제어력신호(Ts)를 보내고, 구동장치는 이 신호(Ts)에 의해 EPS 모터의 회전방향과 속도, 힘을 결정하여 조향에 필요한 전류를 EPS 모터에 공급하며, 따라서 EPS 모터는 원하는 회전 방향으로 회전하게 되고 이 힘은 감속기어를 통해 바퀴의 방향을 움직이는 액츄에이터 또는 스티어링기어에 전달되어 직선운동으로 변환되고 조향액슬을 작동시킨다.As shown in FIG. 1, the electric steering device includes a steering motor (EPS Motor), a motor driving device, a sensor, an actuator or a steering gear, a reduction gear, and the like. The control force signal (Ts) is sent to the motor drive, and the drive device determines the rotation direction, speed, and force of the EPS motor based on this signal (Ts), and supplies the current necessary for steering to the EPS motor. It rotates in the direction of rotation, and this force is transmitted to the actuator or steering gear which moves the direction of the wheel through the reduction gear, which is converted into linear motion and operates the steering axle.

이러한 모터 구동장치의 제어회로는 도 2에 도시한 바와같이 공지의 연산증폭기 및 레벨비교기(Comparator), 로직게이트등 으로 구성된 하드웨어회로와 모터구동에 필요한 기능과 속도를 제어할 수 있도록 이에 필요한 보조 전원공급회로, 초기구동회로, 과전류 Shut Down(차단)회로, PWM 발생회로 및 제어력센서(Ts) 고장 감지회로등으로 구성되었는바 이를 블록도에 따라 설명하면 다음과 같다.As shown in FIG. 2, the control circuit of the motor driving apparatus includes a hardware circuit including a known operational amplifier, a level comparator, a logic gate, and an auxiliary power supply for controlling the functions and speed required for driving the motor. It is composed of supply circuit, initial driving circuit, over current shut down circuit, PWM generating circuit and control force sensor (Ts) fault detection circuit.

초기구동회로는 단자(1)(도면에서는 단자의 부호를 원문자로 표기하였음)에 +48V 또는 +24V 직류전원이 인가되면 단자(2)를 통하여 구동 트랜지스터의 베이스 신호가 나와서 릴레이(X1)를 구동시키고 DC 48V나 24V가 단자(3)으로 전달되고, 외부의 전원공급IC를 구동시켜 제어회로의 구동전압 Vcc를 단자(4)로 공급한다.In the initial driving circuit, when + 48V or + 24V DC power is applied to the terminal 1 (in the drawing, the original letter is indicated in original letters), the base signal of the driving transistor is output through the terminal 2 to drive the relay X1, and the DC 48V or 24V is transmitted to the terminal 3, and an external power supply IC is driven to supply the driving voltage Vcc of the control circuit to the terminal 4.

단자(23)(24)는 보조전원 회로 출력으로 30%정도의 ON 주기를 가진 PWM 필스를 발진회로에서 만들어 트랜지스터를 구동시켜 FET 구동회로의 보조전원을 만들게 된다.Terminals 23 and 24 are made of an oscillating circuit by making a PWM field having an ON cycle of about 30% as an auxiliary power circuit output to drive a transistor to make an auxiliary power source of the FET driving circuit.

또한, 제어력센서(Ts) 고장감지회로는 제어력신호(Ts)를 받아 레벨비교기 (Comparator)로써 제어력센서의 전원(Vcc)이 12V인 경우에서 센서가 정상상태에서 출력될수 없는 범위 즉 대개 제어력신호(Ts)가 1V이하이거나 11V이상 되는 레벨을 검출하여 이 신호가 검출되면 센서고장으로 간주하여 고장신호를 발생시킨다.In addition, the control force sensor Ts fault detection circuit receives the control force signal Ts and is a level comparator in the range where the sensor cannot be output in the normal state when the power supply Vcc of the control force sensor is 12V. If Ts) detects a level below 1V or above 11V and detects this signal, it is regarded as sensor failure and generates a fault signal.

PWM 발생회로는 제어력신호(Ts)가 중앙레벨인 P1(대개5V), P3(대개7V) 사이에서는 모터에 흐르는 전류가 0(영)이 되도록 PWM 펄스폭을 최소로 출력하고 P1, P2(3.3V) 또는 P3, P4(8.7V) 구간에서는 정 또는 역방향으로 제어력신호(Ts) 크기에 비례한 전류가 모터에 흐를수있도록 FET 모듈의 FET1, 2, 3, 4를 구동시키는 FET 구동회로 입력에 각각의 PWM 펄스를 발생하여 인가한다. 정방향으로 전류 발생시는 FET1이 계속 ON 되고 FET4에 제어력신호(Ts) 크기에 비례하여 PWM 주기를 가진 펄스를 인가하여 모터가 연결될 구동장치의 출력 양단자(A-AA)의 출력의 크기를 조절한다. 역 방향으로 전류발생시는 FET2를 계속 ON시키고, FET3에 제어력신호 (Ts) 크기에 비례하여 조절된 PWM 펄스를 인가한다.The PWM generation circuit outputs the minimum PWM pulse width between P1 (usually 5V) and P3 (usually 7V) where the control force signal (Ts) is at the center level, so that the current flowing through the motor is 0 (zero) and P1, P2 (3.3). In V) or P3, P4 (8.7V) section, the FET drive circuit input that drives FET1, 2, 3, 4 of the FET module so that current proportional to the magnitude of the control force signal (Ts) can flow in the motor in the forward or reverse direction. Generate and apply each PWM pulse. When current is generated in the forward direction, FET1 is continuously turned ON and pulses with PWM periods in proportion to the magnitude of the control force signal (Ts) are applied to FET4 to adjust the output of both output terminals (A-AA) of the drive to which the motor is connected. . When current is generated in the reverse direction, the FET2 is continuously turned on, and a PWM pulse adjusted in proportion to the magnitude of the control force signal Ts is applied to the FET3.

또한, 제어력신호(Ts) 값이 3초이상 동안 P2 레벨 이하이거나 P4 레벨이상인 상태로 입력되어 모터에 최대전류가 공급될 경우에는 조향바퀴가 최대위치에 있던가 조향장치가 고장인 경우이므로 3초후에 즉시 FET 드라이브에 인가되는 PWM 출력을 블록시켜 출력을 차단하여 모터 구동장치 및 모터가 과열되는 것을 방지하여야 한다.(도 5 참조)In addition, if the maximum current is supplied to the motor when the control force signal Ts value is input in the P2 level or above the P4 level for more than 3 seconds, the steering wheel is in the maximum position or the steering system is broken. Immediately block the PWM output applied to the FET drive to block the output to prevent the motor drive and the motor from overheating (see Figure 5).

과부하시 차단(Shut Down) 회로는 EPS 모터로 흐르는 DC전류가 도 2의 화살표 방향대로 분류기를 통해 흐르면 증폭기를 통해 수V 레벨로 증폭되고 레벨비교 검출기를 통해 이 신호가 검출될 시 로직회로를 통하여 FET 구동용 PWM 파형 출력을 블록킹 시킨다.Shut-down circuit overload is amplified to several V level through amplifier if DC current flowing to EPS motor flows in the direction of the arrow in Fig. 2 and through logic circuit when this signal is detected through level comparison detector. Block the PWM waveform output for driving the FET.

그러나 이러한 종래의 모터구동장치의 제어회로는 하드웨어만으로 구성되어 있기 때문에 회로가 너무 복잡하여 원가상승의 원인이 되고 기능의 추가나 검출레벨의 수정시 부품을 교체하여야 하는 단점이 있었다.However, since the control circuit of the conventional motor drive device is composed only of hardware, the circuit is too complicated to cause a cost increase, and there is a disadvantage that parts must be replaced when adding a function or modifying a detection level.

특히, 조향바퀴의 마찰증가로 인한 과부하시나 모터의 구속으로 인한 과부하 또는 모터 고장으로 인한 단락등을 적절히 선별하여 EPS 시스템의 정상동작으로 인한 과부하시는 모터 구동장치의 과부하내량 한도내에서 최대전류를 흘려줄 수 있어야 하고, 조향장치 이상에 의한 모터의 구속상태나 고장시에는 즉시 PWM출력을 Shut Down 시켜야 하므로 상술한바 있는 하드웨어로써 이를 구현하기에는 어려움이 많았다.In particular, when overload due to increased friction of steering wheel, overload due to motor restraint or short circuit due to motor failure, the maximum current flows within the overload capacity limit of the motor drive when overload due to normal operation of EPS system. Since the PWM output must be shut down immediately in the case of a motor restraint or failure due to an error in the steering system, it was difficult to implement this with the hardware described above.

본 발명은 이러한 단점을 보완하여 보조전원 트랜지스터 구동회로 및 초기 구동회로, 과부하 전류 제한회로, 센서 고장감지회로 및 PWM 발생회로, 구동장치 (CHOPPER)의 이상등 각종 동작 상태의 이상감지 및 표시회로의 제반기능을 8비트원칩 콘트롤러(8Bit One Chip Controller ; 이하 MPU라고 약칭한다.)를 사용하여 소프트웨어로써 구현함으로써 직류모터 구동장치의 제어회로를 크게 단순화시켜 원가를 줄이고 과전류 검출레벨, 센서의 고장레벨등 각종검출 동작레벨을 용이하게 수정할 수 있도록 한 것으로 도 3에 의거 이를 상세히 설명하면 아래와 같다.The present invention is to solve the above disadvantages of the auxiliary power transistor driving circuit and the initial driving circuit, the overload current limiting circuit, the sensor failure detection circuit and PWM generation circuit, the abnormality detection and display circuit of various operating conditions such as the abnormality of the driving device (CHOPPER) All functions are implemented in software using an 8-bit one chip controller (hereinafter referred to as MPU) to greatly simplify the control circuit of the DC motor drive, reducing costs, overcurrent detection level, sensor fault level, etc. Various detection operation levels can be easily modified and described in detail with reference to FIG. 3 as follows.

도 1은 전기식 조향장치 계통도.1 is an electric steering system schematic diagram.

도 2는 모터구동장치의 제어회로 블록도.2 is a control circuit block diagram of a motor drive device.

도 은 본 발명의 제어회로도.Is a control circuit diagram of the present invention.

도 4a 내지 도 4c는 본 발명의 MPU내장 프로그램의 플로우챠트.4A to 4C are flowcharts of the MPU built-in program of the present invention.

도 5는 제어력신호(Ts)전압의 도표와 그래프.5 is a table and a graph of a control force signal Ts voltage.

8비트 원칩 콘트롤러(MPU)의 아날로그 입력단에는 제어력신호(Ts)가 공지의 버퍼 및 분압회로를 통해 입력단자(ADO)에 연결되고 주전원(48VDC)은 저항(R4,R5)에서 분압되어 입력단자(AD1)에 연결되며 구동장치의 출력전류신호는 분류기(Shun t)에서 검출되고 공지의 증폭회로에서 증폭되며 버퍼를 통해 입력단자(AD2)에 입력된다.At the analog input of the 8-bit one-chip controller (MPU), the control force signal (Ts) is connected to the input terminal (ADO) through a known buffer and voltage divider circuit, and the main power supply (48 VDC) is divided by the resistors (R4, R5). Connected to AD1), the output current signal of the driving device is detected by a classifier (Shun t), amplified by a known amplifier circuit, and input to the input terminal (AD2) through a buffer.

또 상기 출력전류 신호를 공지의 비교회로에 의하여 출력의 과전류 상태를 검출하여 MPU의 인터렙트단자(INT)에 연결한다. 한편 MPU의 출력단 PWM 출력단자에서는 모터 속도제어에 필요한 PWM펄스폭을 가진 PWM펄스를 출력케하고 다른 2개의 출력단자에서는 모터의 전후동작방향의 가역을 결정할수 있는 FET1, FET2의 구동출력을 출력케한다.In addition, the output current signal is detected by a known comparison circuit and connected to the intercept terminal INT of the MPU by detecting an overcurrent state of the output. On the other hand, the output terminal PWM output terminal of the MPU outputs a PWM pulse with the PWM pulse width necessary for motor speed control, and the other two output terminals output drive outputs of FET1 and FET2 that can determine the reversible direction of the motor's forward and backward operation directions. do.

한편 FET1, FET2 구동회로의 구동트랜지스터를 MPU의 또 다른 PWM출력단자에 연결하여 FET1, FET2의 구동회로 보조전원의 주 스위칭소자의 스위칭신호로 사용할수 있도록 한다.On the other hand, the drive transistors of the FET1 and FET2 drive circuits are connected to another PWM output terminal of the MPU so that they can be used as the switching signals of the main switching elements of the auxiliary circuits of the drive circuits of the FET1 and FET2.

MPU 내부에는 프로그램이 내장되어 외부 인터럽트 신호가 MPU에 입력될 때 과전류 제한 동작을 위한 인터럽트루틴이 수행되고 초기화 과정에서 결정된 타이머(Timer) 인터럽트 신호검출시 타이머 인터럽트루틴이 수행되며 검출된 제어력신호 (Ts)의 레벨에 따라 PWM제어 패턴을 설정하여 해당 루틴을 수행하도록 구성되어 있다.When the external interrupt signal is input to the MPU, a program is built in the MPU, and an interrupt routine for overcurrent limiting operation is performed, and a timer interrupt routine is executed when detecting a timer interrupt signal determined during initialization. It is configured to execute the routine by setting the PWM control pattern according to the level of).

이와 같이 구성된 구동장치의 제어회로를 동작순서에 따라 설명하면 다음과 같다.Referring to the control circuit of the drive device configured as described in accordance with the operation sequence as follows.

구동장치를 작동하기 위해 주전원(main DC)의 키스위치(K.S)를 ON시키면 MPU는 주 전원전압레벨이 직렬연결된 저항(R4, R5)로 분압되어 발생된 신호를 받아 주전원(대개 48V)의 이상유무와 FET소자의 초기 이상 상태를 파악하여 주회로 콘택터(MS)를 연결시킨다. 제어력신호(Ts)는 0∼12V의 범위로 입력되는데 집적회로 IC1A 및 IC1B로 구성된 공지의 버퍼회로에 의하여 0∼5V 레벨로 분압한후 MPU의 아날로그 입력단자(AD0)에 입력된다.When the key switch (KS) of the main power supply (main DC) is turned on to operate the drive system, the MPU receives a signal generated by dividing the main power supply voltage level with the resistors R4 and R5 connected in series and receives an error of the main power supply (usually 48V). The main circuit contactor (MS) is connected by detecting the presence and absence of the initial abnormal state of the FET device. The control force signal Ts is input in the range of 0 to 12V. The control force signal Ts is input to the analog input terminal AD0 of the MPU after being divided to 0 to 5V level by a known buffer circuit composed of integrated circuit IC1A and IC1B.

FET 모듈(Module)의 FET1, FET2는 모터의 전.후 회전방향을 결정하는데, 이의 구동회로 구성에 있어 제어전원(Vcc)과 절연된 2조의 전원(15V)이 필요하므로 공지의 SMPS(Switching mode Power Supply)의 주스윗칭 트랜지스터 Q5의 베이스에 30% 정도의 ON 주기를 가진 PWM 펄스를 MPU내에서 발생시켜 PWM 출력 포트2(Port)를 통해 인가한다.The FET1 and FET2 of the FET module determine the direction of rotation of the motor before and after. In the driving circuit configuration, two sets of power (15V) isolated from the control power supply (Vcc) are required. A PWM pulse with an ON cycle of about 30% is generated in the MPU at the base of the juice switching transistor Q5 of the power supply and applied through the PWM output port 2.

FET모듈의 FET1,3나 FET2,4가 동시에 도통되어 암(Arm) 단락전류가 생긴 경우나 모터의 운전전류가 허용치 이상(130%정도)으로 증가하여 과전류가 발생할 경우에는 분류기(Shunt)에서 최대150㎷ 레벨로 검출하여 집적회로 IC1C 및 IC1D로써 구성된 공지의 연상증폭회로로써 수V 레벨로 증폭한후 집적회로 IC2A 및 저항R12, 콘덴서C6 으로 구성된 버퍼를 통해 MPU의 또 다른 아날로그 입력단자(AD2)로 입력되어 우선적으로 과전류 제한 동작을 수행한다.When FET1,3 or FET2,4 of the FET module are simultaneously turned on to produce an arm short-circuit current or when the motor's operating current increases above the allowable value (around 130%) and an overcurrent occurs, the shunt is the maximum. Another analog input terminal (AD2) of the MPU through a buffer consisting of integrated circuit IC2A, resistor R12, and capacitor C6 after amplifying to several V levels with a known associative amplification circuit consisting of integrated circuit IC1C and IC1D. It is input to and performs overcurrent limiting operation preferentially.

또한 수V 레벨로 증폭된 전류신호가 집적회로 IC2B 및 저항R13,14,15로써 구성된 비교회로에서 150% 이상인 레벨까지 계속적으로 상승하면 MPU에 외부 인터럽트 신호를 주어 약 10회 후에 FET 모듈의 PWM출력을 한시 차단시키고 주회로의 콘택터(MS)를 OFF시켜 전원을 차단시킨다.In addition, when the current signal amplified to several V levels continuously rises to a level higher than 150% in the comparison circuit composed of IC2B and resistors R13, 14, and 15, an external interrupt signal is provided to the MPU, and the PWM output of the FET module is about 10 times later. The power supply is cut off for a while and the contactor (MS) of the main circuit is turned off.

FET 모듈의 암단락(Arm Short)이나 모터의 단락인 경우에 분류기의 전류가 순시에 급격히 증가되므로 전류의 피이크치가 200% 이상이 되면 집적회로 IC2C 및 저항R18,19,20,21로써 구성된 비교회로가 이를 감지하여 Low 출력(Curr. INT)이 나오면 집적회로 IC3C, IC3D의 로직게이트의 출력이 Low로 되고 순시에 공지의 FET 구동회로가 블로킹되어 순간적이라도 전류가 설정된 레벨이상 증가되지 못하게 작동한다.In the case of arm short of the FET module or short circuit of the motor, the current of the classifier increases rapidly in an instant. Therefore, when the peak value of the current is 200% or more, a comparison circuit composed of the integrated circuit IC2C and the resistors R18, 19, 20, and 21 If the controller detects this and outputs a low output (Curr. INT), the outputs of the logic gates of the integrated circuits IC3C and IC3D go low, and the known FET drive circuit blocks instantly, preventing the current from increasing beyond the set level.

MPU 각 출력포트는 전술한바있는 기능 및 역할을 수행할 수 있도록 배치되어 트랜지스터 어레이 집적회로 IC4를 통해 전류증폭되어 최종 출력신호단으로 연결되어 있고, MPU가 초기화 과정을 통해 프로그램이 수행되면 전술한바있는 하드웨어 회로와 동일상태로 모터를 회전시킬수 있는 PWM 펄스를 출력하며 모터의 구속 상태나 고장시에 적절히 Shut Down 시키고 'CHOPPER ERROR', 'MP ON', '과전류', 'Ts ERROR'등과 같은 고장상태를 LED로써 간단히 표시할 수 있게 된다. 또한 토오크센서로 부터의 제어력신호(Ts)를 액셀레이터신호(Ts)로 대치하면 상기의 EPS모터 구동장치의 제어회로를 100∼300㎏급의 견인차량을 전후진시키는 주행모터의 구동장치제어회로로 사용할수 있다.Each output port of the MPU is arranged to perform the functions and roles described above, and is amplified by the transistor array integrated circuit IC4 to be connected to the final output signal stage. It outputs PWM pulse that can rotate the motor in the same state as the hardware circuit, and shuts down properly when the motor is in a restraint state or failure, and fault conditions such as 'CHOPPER ERROR', 'MP ON', 'Overcurrent', 'Ts ERROR', etc. Can be displayed simply by LED. In addition, when the control force signal Ts from the torque sensor is replaced with the accelerator signal Ts, the control circuit of the EPS motor drive device is a drive motor control circuit for advancing the towing vehicle 100 to 300 kg. Can be used

MPU내에서 프로그램이 수행되는 과정은 다음과 같다.The program execution process in the MPU is as follows.

우선 도 4a에서 보인 것처럼 전원을 인가하게 되면 MPU는 단계⑴ 초기화(Initialize) 과정을 수행하는데 이 루틴에서는 MPU의 각 포트의 초기출력상태, 즉 '1' 또는 '0'을 결정하고 입력 또는 출력으로 사용할 각 포트를 지정해주며 MPU내에 내장된 A/D 변환기(A/D CONVERTER)의 A/D 변환에 필요한 특수 레지스터의 각 비트(Bit)값을 결정한다. 또 도 4c의 타이머 인터렙프트의 검출 주기도 초기화⑴ 과정에서 결정된다.First, as shown in FIG. 4A, when the power is applied, the MPU performs an initializing process. In this routine, the initial output state of each port of the MPU, that is, '1' or '0', is determined and input or output. It designates each port to be used and decides each bit value of special register necessary for A / D conversion of A / D converter built in MPU. In addition, the detection period of the timer interleave of FIG. 4C is also determined during the initialization process.

이 초기화 과정⑴이 끝나면 타이머 인터렙프트가 가능상태(Enable)가 되어 제어력신호(Ts) 검출과정을 시작하는데 도 4c의 타이머 인터렙프트는 도 4a의 초기화 과정⑴에서 설정된 타이머 인터렙프트 주기마다 메인루틴 실행 도중이라도 타이머 인터렙프트과정을 수행해야 할 인터렙프트를 뜻하며 따라서 타이머 인터렙프트 주기마다 제어력신호(Ts)을 아날로그 입력단자 AD0에서 검출하고 아날로그 입력단자 AD2에서는 모터구동전류를 검출하여 도 4c의 ⑾전류제한값에 따른PWM 제어변수(PWM ERROR)값을 조정하는 역할을 한다.When the initialization process⑴ is finished, the timer interleave is enabled and the control force signal Ts detection process is started. The timer interleave of FIG. 4C is performed every timer interleave period set in the initialization process of FIG. 4A. This means that the interlept should perform the timer interleave even during the execution of the main routine. Therefore, the control force signal (Ts) is detected at the analog input terminal AD0 at each timer interleave cycle, and the motor drive current is detected at the analog input terminal AD2. 4C adjusts a PWM control variable (PWM ERROR) value according to the current limit value of FIG.

제어력신호(Ts)나 분류기에서 검출된 전압이 MPU의 아날로그 입력단자(AD0 ∼ AD2)를 통해 변환되는 과정을 상세히 설명하면, MPU에는 A/D 변환기(A/D CONVERTER)가 수 개의 채널(Channel) 내장되어 있는데 MPU가 제어력신호(Ts) 값을 인식하기 위해 먼저 MPU 내부의 멀티플랙서(MUX)를 아날로그 입력단자 AD0에 연결되도록 채널을 바꾸고 정확한 값을 입력받기 위해 대개 30usec의 샘플홀드 시간을 갖는데 이는 MPU 내부의 콘덴서에 제어력신호(Ts)가 현재 입력되고 있는 값으로 안정화 되는데 걸리는 시간이다.When the control force signal Ts or the voltage detected by the classifier is converted in detail through the analog input terminals AD0 to AD2 of the MPU, the A / D converter has several channels in the MPU. In order to recognize the control force signal (Ts) value, the MPU first changes the channel to connect the multiplexer (MUX) to the analog input terminal AD0, and usually uses the sample hold time of 30usec to receive the correct value. This is the time it takes for the control force signal (Ts) to stabilize to the value currently being input to the capacitor inside the MPU.

역시 구동회로 출력단자인 A, AA의 전압레벨 신호는 아날로그 입력단자 AD3,4로 입력되어 멀티플랙서의 채널 제어 신호를 받아 A/D변환기에 연결된다. 멀티플랙서(MUX)에 의해 AD 변환기에 연결된 아날로그 값은 각각 8비트의 디지털 신호 값으로 바뀌게 된다.The voltage level signal of the driving circuit output terminals A and AA is input to the analog input terminals AD3 and 4, and receives the channel control signal of the multiplexer and is connected to the A / D converter. The analog values connected to the AD converters by the multiplexer (MUX) are each converted into 8-bit digital signal values.

한편 초기화 과정⑴이 끝나면 외부 인터럽트도 가능상태(Enable)로 되어 외부 인터렙프트 단자(INT)로부터 'HIGH' 신호가 입력되면 도 4c의 외부 인터럽트 루틴과정을 수행하게 되는데 외부 인터렙프트 동작과정에 관하여는 전류제한(Current Limit) 동작시에 자세히 설명한다.On the other hand, when the initialization process ⑴ is completed, the external interrupt is also enabled. When the 'HIGH' signal is input from the external interleave terminal INT, the external interrupt routine of FIG. 4C is performed. This is described in detail in the current limit operation.

초기화 과정⑴을 거친후 MPU는 ⑵∼⑸과정인 자체 진단루틴을 수행하게 되는데 우선 주전원(Main Power)의 전압레벨이 R4와 R5에 의해 분배되어 아날로그 입력단자 AD1을 통하여 검출된 후 정상(보통 24V 이상)이라면 MP LED(MAIN POWER LED)를 ON 시킨 후 다음 과정을 진행하고 만약 비정상이라면 MP LED를 켜지 않고 더 이상의 프로그램수행을 진행하지 않는다.After the initialization process, the MPU executes self-diagnosis routine, which is the process of ⑵ ~ ⑸. First, the voltage level of the main power is distributed by R4 and R5 and detected through the analog input terminal AD1, and then normal (usually 24V). If abnormal), turn on the MP LED (MAIN POWER LED) and proceed to the next step. If abnormal, do not perform any further program without turning on the MP LED.

이후 MPU는 ⑸의 CHOPPER 이상유무 진단과정을 수행하게 된다. 도 3에서의 구동장치의 정회전 선택 출력단자 PORT6에 'HIGH' 신호를 진단시간(수 μ초)동안 인가하면 집적회로 반전버퍼 IC4의 출력단자 O1에서는 'LOW' 신호가 출력되고 공지의 FET구동회로인 포토 커플러 PC2를 동작시켜 FET1이 구동되므로 모터의 한쪽 단자인 'A'점의 전압이 48V(24V)가 되고 R42와 R43의 저항 분압기를 통해 약 5V신호가 레벨로 변환되어 아날로그 입력단자 AD3를 통해 'HIGH'가 검출되는지 확인한다. 다시 역회전 선택 출력단자 PORT7에 'HIGH' 신호를 진단시간 인가하면 동일과정을 통하여 FET2가 도통이 되므로 'AA'점의 전압이 R44와 R45의 저항 분압기를 통해 약 5V신호로 변환되어 아날로그 입력단자 AD4를 통해 'HIGH'로 검출되는지를 파악한다.After that, the MPU performs a diagnosis process for the abnormality of CHOPPER. When the 'HIGH' signal is applied to the forward rotation selection output terminal PORT6 of the driving device in Fig. 3 for a diagnosis time (a few μs), the 'LOW' signal is output from the output terminal O1 of the integrated circuit inverting buffer IC4 and the known FET drive circuit Since FET1 is driven by operating the photon coupler PC2, the voltage at the 'A' point of one of the motors becomes 48V (24V), and about 5V signal is converted to the level through the resistance divider of R42 and R43, so that the analog input terminal AD3 Check if 'HIGH' is detected. When the 'HIGH' signal is applied to the reverse rotation selection output port PORT7 for the diagnosis time, FET2 is turned on through the same process. Therefore, the voltage at the 'AA' point is converted into a 5V signal through the resistance divider of R44 and R45. Determine if it is detected as 'HIGH' through AD4.

또한 PWM 출력단자 PORT1과 정회전 선택 출력단자 PORT6에 'HIGH'신호를 인가하면 집적회로 게이트 IC3B와 IC3D의 출력이 'HIGH'가 되어 공지의 구동회로를 통하여 FET4가 도통되므로 'AA'점의 전압은 아날로그 입력단자 AD4를 통해 0V가 검출되게 된다. 같은 원리로 PWM 출력단자 PORT1과 역회전 선택 출력단자 PORT7에 'HIGH'신호를 인가하면 동일과정을 통해 FET3가 도통되어 'A'점의 전압은 아날로그 입력단자 AD3를 통해 0V의 신호가 검출되어야 한다. 이상 네가지 조건을 모두 만족하면 FET 모듈은 정상이므로 주전원 콘텍터(이후 MS라 함)를 ON시키기 위해 릴레이 구동출력단자 PORT8에 'HIGH'를 출력하여 MS를 ON 시키고 다음 단계⑹로 프로그램이 수행되지만, 상기 4조건을 전부 만족치 못하면 FET 모듈은 정상이 아니므로 CHOPPER ERROR LED가 점등되고 프로그램은 더 이상 진행되지 않는다.In addition, when the 'HIGH' signal is applied to the PWM output terminal PORT1 and the forward rotation selection output terminal PORT6, the outputs of the integrated circuit gate IC3B and IC3D become 'HIGH', and the FET4 is conducted through a known driving circuit. 0V is detected through the analog input terminal AD4. In the same principle, if the 'HIGH' signal is applied to the PWM output terminal PORT1 and the reverse rotation selection output terminal PORT7, FET3 is conducted through the same process, and the voltage at the 'A' point should be detected at 0V through the analog input terminal AD3. . If all four conditions are satisfied, the FET module is normal, so to turn on the MS by outputting 'HIGH' to the relay drive output terminal PORT8 to turn on the main power contactor (hereinafter referred to as MS). If all of the above 4 conditions are not satisfied, the FET module is not normal and the CHOPPER ERROR LED is turned on and the program does not proceed any further.

이상의 자체 진단과정을 마치고 나면, MPU는 제어력신호(Ts)를 검출하여 '도 5에 도시한 Ts 전압에 대한 전압 전류 그래프'에서 지정한 전류를 흘릴수 있도록 PWM 출력을 제어하는 ⑹이하의 메인 프로그램을 실행하게 된다. 우선 제어력신호(Ts)를 R2와 R3의 저항분압기 및 버퍼 회로를 통해 아날로그 입력단자 AD0에서 인지하여 제어력신호(Ts)가 정상범위인 1.0V∼11V 이내인지 MPU내의 ALU에서 검사한다. 만약 위의 범위에서 벗어난다면 제어력신호(Ts)를 출력하는 토오크센서는 불량이므로 반전 버퍼 IC4 입력단자 I6에 신호를 주어 TS ERROR LED를 점등시키고 도 4a에서 보듯이 정상 범위 이내가 될 때까지 프로그램은 다음 단계⑼로 진행하지 않고 도 4a의 ⑹∼⑺의 과정을 반복 수행하게 된다.After completing the above self-diagnosis process, the MPU detects the control force signal Ts and executes the main program below to control the PWM output to flow the current specified in the voltage current graph for the Ts voltage shown in FIG. Will run. First, the control force signal Ts is recognized at the analog input terminal AD0 through the resistor voltage divider and the buffer circuit of R2 and R3, and the control force signal Ts is checked in the ALU in the MPU to be within the normal range of 1.0V to 11V. If it is out of the above range, the torque sensor that outputs the control force signal (Ts) is bad, so give a signal to the inverting buffer IC4 input terminal I6 to turn on the TS ERROR LED, and the program will remain in the normal range as shown in Fig. 4a. Instead of proceeding to the next step 된다, the processes ⑹ through ⑺ of FIG. 4A are repeated.

제어력 신호(Ts) 전압이 정상범위일 경우 단계⑼ 이하의 과정을 수행하는데 각 제어력신호(Ts) 전압에 따른 FET구동 및 동작에 대해 도 5에 의하여 상세히 설명하면 아래와 같다.When the control force signal Ts voltage is in the normal range, the following steps are performed. The FET driving and operation according to the control force signal Ts voltage will be described in detail with reference to FIG. 5.

첫째, 제어력신호(Ts)가 P1∼P3(5V∼7V) 범위인 경우에는 모터가 정지된 구간이므로 FET1,2,3,4를 모두 OFF시킨다. 이때 P1, P3의 범위를 크게 설정하면 조향핸들의 유격이 증가된다.First, when the control force signal Ts is in the range of P1 to P3 (5V to 7V), the FETs 1, 2, 3, and 4 are all turned off because the motor is stopped. At this time, if the range of P1, P3 is set large, the play of the steering wheel is increased.

둘째, 제어력신호(Ts)가 7V ∼ 8.7V의 범위내에서는 모터가 정회전하는 구간이므로 정회전 선택 출력단자 PORT6는 'HIGH'를 역회전 선택 출력단자 PORT7은 'LOW'를 출력하여 공지의 FET구동회로를 통해 FET2는 OFF되고 또 집적회로 IC3A와 IC3C출력이 'LOW'가 되므로 FET3 역시 OFF된다. 집적회로 반전버퍼 IC4의 출력단자 O1은 'LOW'이므로 FET1은 ON되고 FET4는 PWM 출력단자 PORT1에서 발생된 제어된 PWM에 의해 구동되어 모터는 정회전하게 된다. 이 때 PWM 출력단자 PORT1에서 발생되는 PWM 펄스폭은 제어력신호(Ts) 레벨에 준하여 제어되며 '(TS전압-7V)×KP'에 의해 얻어진 값으로 KP는 도 5의 7V∼11V범위의 기울기에 해당하는 1차 함수이다.Second, since the motor is running in the forward direction when the control force signal Ts is within the range of 7V to 8.7V, the forward rotation selection output terminal PORT6 outputs 'HIGH' and the reverse rotation selection output terminal PORT7 outputs 'LOW'. Through the furnace, FET2 is turned off and FET3 is also turned off because the integrated circuit IC3A and IC3C outputs are 'LOW'. Since the output terminal O1 of the integrated circuit inverting buffer IC4 is 'LOW', FET1 is turned on and FET4 is driven by the controlled PWM generated from the PWM output terminal PORT1 so that the motor rotates forward. At the moment, the PWM output PWM pulse width generated in PORT1 is controlled in accordance with the control signal (Ts) to the value obtained by the level '(TS voltage -7V) × K P' K P is in the range of 5 7V~11V First-order function corresponding to the slope.

셋째, 제어력신호(Ts)가 3.3V ∼ 5V의 범위내에서는 모터가 역회전하는 구간이므로 정회전 선택 출력단자 PORT6는 'LOW'를 출력하고 역회전 선택 출력단자 PORT7은 'HIGH'를 출력하면 위와 같은 원리로 집적회로 반전버퍼 IC4의 출력단자 01과 02를 통해 FET1과 FET4는 OFF되고 FET2는 ON 되고 FET3는 PWM 출력단자 PORT1에서 발생된 펄스폭이 제어된 PWM 출력에 의해 구동되어 모터는 역회전하게 된다. 역시 PWM 출력단자 PORT1에서 발생되는 제어력신호(Ts) 레벨에 준하여 제어되며 PWM 펄스폭은 '5V-TS전압×KP'에 의해 얻어진 값으로 KP는 도 5의 3.3V ∼ 5V범위의 기울기에 해당하는 함수이다.Third, if the control force signal Ts is in the range of 3.3V to 5V, the motor rotates in reverse direction. Therefore, the forward rotation selection output terminal PORT6 outputs 'LOW' and the reverse rotation selection output terminal PORT7 outputs 'HIGH'. In the same principle, through the output terminals 01 and 02 of the integrated circuit inverting buffer IC4, FET1 and FET4 are turned OFF, FET2 is turned ON, and FET3 is driven by the PWM output whose pulse width generated from the PWM output terminal PORT1 is controlled. Done. Again, it is controlled according to the control force signal (Ts) level generated from the PWM output terminal PORT1. The PWM pulse width is obtained by '5V-TS voltage × K P ', and K P is in the range of 3.3V to 5V in FIG. The corresponding function.

넷째, 제어력신호(Ts)가 8.7V ∼ 11V인 경우와 1V ∼ 3.3V인 경우는 정방향 혹은 역방향으로의 전류 제한 동작이 작동되면서 모터에 최대전류가 공급되는 경우인데, 전술한 바와 같이 이는 조향바퀴가 최대위치에 있거나 조향바퀴가 고장인 경우이므로 3초 이상 이 상태가 지속되면 즉시 PWM 출력을 OFF시켜 모든 FET를 OFF 시키며 과전류 LED를 점등한 후 프로그램을 종료하게 된다.Fourth, when the control force signal Ts is 8.7V to 11V and 1V to 3.3V, the maximum current is supplied to the motor while the current limit operation in the forward or reverse direction is activated. As described above, the steering wheel Is in the maximum position or the steering wheel is broken. If this condition persists for more than 3 seconds, the PWM output is turned off immediately, all the FETs are turned off, the overcurrent LED is turned on, and the program is terminated.

본 발명에서는 전류제한(Current Limit) 기능수행을 소프트웨어와 하드웨어의 2중으로 제어하여 어떠한 조건에서도 구동장치의 소손을 방지하고 있는바, 하드웨어 전류제한(Current Limit) 기능은 앞서 설명한 바와 같이 모터에 흐르는 전류는 분류기에서 0∼150mV의 레벨로 검출하여 집적회로 IC1C와 IC1D 및 저항 R6∼11로 구성된 공지의 연산증폭회로로 수V 레벨로 증폭한 후 전류가 출력측 단락(short) 등으로 인하여 설정치 전류 이상으로 증가할 경우, 집적회로 IC2C 및 저항 R18,19,20,21로 구성된 비교회로가 이를 감지하여 이의 출력이 'LOW'가 되면 집적회로 IC3C와 IC3D의 로직게이트의 출력이 'LOW'로 되어 순시에 공지의 FET구동회로가 블록되어 순간적이라도 전류가 설정된 레벨이상 증가되지 못하게 작동한다.In the present invention, the current limit (Current Limit) function is controlled by double control of the software and hardware to prevent burnout of the drive device under any conditions, the hardware current limit (Current Limit) function as described above the current flowing in the motor Is detected by the classifier at 0 ~ 150mV level and it is amplified to several V level by a known operational amplifier circuit composed of IC1C, IC1D, and resistors R6 ~ 11. When increasing, the comparison circuit composed of integrated circuit IC2C and resistors R18, 19, 20, and 21 senses this, and when its output becomes 'LOW', the outputs of the logic gates of IC3C and IC3D become 'LOW'. Known FET drive circuits are blocked so that the current does not increase beyond the set level even at the moment.

한편 공지의 연산증폭회로로 증폭된 전류 신호가 항상 집적회로 IC2A 버퍼를 통해 MPU의 아날로그 입력단자 AD2에서 지정된 값 이상으로 감지되어 과전류로 인지되면 PWM 출력단자 PORT1의 PWM값을 줄여 주도록 MPU는 도4b의 전류제한 동작인 ⑽이하의 과정을 수행하게 된다. ⑽이하의 과정을 살펴보면 아날로그 입력단자 AD2의 검출전류(CURR)를 MPU내의 레지스터에 설정된 전류제한값과(LIMIT) 비교하여 검출전류(CURR)가 더 크다면 두 전류에의 차에 해당하는 에러값만큼 PWM 출력단자 PORT1에서 출력되는 PWM 펄스폭을 줄여주는 동작을 하며, 이때 이러한 상태가 15초 이상 지속된다면 이는 조향바퀴의 마찰증가로 인한 과부하거나, 모터의 구속으로 인한 과부하상태이므로 즉시 PWM 출력을 OFF 시켜 모든 FET를 OFF하며 과전류 LED를 점등한 후 프로그램 수행을 종료한다. 마지막으로 모터고장으로 인한 단락과 같이 전류가 급상승하는 경우에는 즉시 출력을 Shut Down시켜야 하므로 집적회로 IC1D의 출력을 집적회로 IC2B 및 R13∼15로 구성된 비교회로에서 비교하여 200% 이상으로 급상승한 경우 'HIGH' 신호를 출력하고 MPU 외부 인터럽트 입력단자 INT에 'HIGH' 신호를 가해주면 즉시 MPU는 도 4c의 외부인터럽트 루틴을 실행하여 PWM 출력단자 PORT1의 PWM 펄스 발생을 중단하고 모든 FET를 OFF시키며 과전류 LED를 점등한 후 프로그램을 종료하도록 하여 구동장치에 손상이 가지 않도록 하며 이 경우에는 프로그램 수행이 종료되어 있으므로 전원을 끄고 다시 처음부터 시작하여야 한다.On the other hand, if the current signal amplified by a known operational amplifier circuit is always sensed over the value specified in the analog input terminal AD2 of the MPU through the integrated circuit IC2A buffer and recognized as overcurrent, the MPU reduces the PWM value of the PWM output terminal PORT1. The current limiting operation of ⑽ or less is performed. In the following process, the current (CURR) of the analog input terminal AD2 is compared with the current limit value (LIMIT) set in the register in the MPU, and if the detection current (CURR) is larger, the error value corresponding to the difference between the two currents is increased. This function reduces the PWM pulse width output from the PWM output terminal PORT1. If this condition persists for more than 15 seconds, the PWM output is immediately turned off due to overload due to increased friction of the steering wheel or overload due to motor restraint. Turn off all FETs, turn on the overcurrent LED, and then finish program execution. Lastly, if the current surges, such as a short circuit due to a motor failure, the output must be shut down immediately. Therefore, when the output of the integrated circuit IC1D has risen more than 200% compared to the comparison circuit consisting of the integrated circuit IC2B and R13-15, After outputting HIGH 'signal and applying' HIGH 'signal to MPU external interrupt input terminal INT, MPU immediately executes external interrupt routine of Fig. 4C to stop PWM pulse generation of PWM output terminal PORT1, turn off all FETs, and overcurrent LED. After the program is turned on, the program should be terminated to prevent damage to the driving device. In this case, the program execution is completed. Therefore, turn off the power and start again from the beginning.

또 FET1, FET2의 구동회로에는 제어전원(Vcc)과 절연된 2조의 보조전원(15V) 발생회로가 필요하므로 보조전원회로의 주스윗칭소자 트랜지스터 Q5의 베이스는 MPU의 또다른 PWM 출력단자 PORT2에 연결되어 있는데, MPU가 초기화 과정⑴ 실행시MPU내의 특수레스터에 비트 값을 지정하여 30%정도 ON 주기를 가진 2KHz의 PWM 펄스가 계속적으로 보조전원용 PWM 출력단자 PORT2에 출력되도록 한다.In addition, the driving circuits of FET1 and FET2 require two sets of auxiliary power (15V) generation circuits insulated from the control power supply (Vcc), so that the base of the juice switching element transistor Q5 of the auxiliary power supply circuit is connected to another PWM output terminal PORT2 of the MPU. When the MPU executes the initialization process, it assigns a bit value to the special raster in the MPU so that a 2KHz PWM pulse with a 30% ON cycle is continuously output to the auxiliary output PWM output terminal PORT2.

이상과 같이 키스윗치(K.S)가 ON 되면 MPU는 도 4의 프로우차트와 같이 프로그램을 수행하고 각 과정이 실행됨으로써 보조전원 트랜지스터구동, 초기자체진단, PWM 출력제어, 과부하시 전류제한 및 센서고장감지등 조향장치나 견인장치의 직류모터구동에 기본적으로 필요한 제어동작을 구현할 수 있음은 물론, 간단한 프로그램을 추가하여 각종 자기진단에 필요한 기능을 얻을 수 있어 하드웨어회로가 단순화되어 원가를 절감할 수 있으며, 과전류 검출 및 센서고장검출이 소프트웨어의 실행으로써 얻어지므로 하드웨어의 수정 없이 사용코저 하는 용도에 맞게 용이하게 이의 검출레벨을 수정할 수 있으며 하드웨어를 많이 추가하지 않고 간단히 각종 자기진단에 필요한 기능을 탑재할 수 있는 장점을 갖게 되는 것이다.As described above, when the key switch KS is turned on, the MPU executes a program as shown in the pro chart of FIG. 4 and executes each process, so that the auxiliary power transistor drive, initial self-diagnosis, PWM output control, current limit in case of overload, and sensor failure are performed. It can realize the control operation basically necessary for driving DC motor of sensing light steering device or traction device, and can get the necessary functions for various self-diagnosis by adding simple program, which can reduce the cost by simplifying the hardware circuit. Since overcurrent detection and sensor failure detection are obtained by executing software, the detection level can be easily modified for the purpose of using without modifying the hardware, and the functions necessary for various self-diagnosis can be easily installed without adding much hardware. Will have the advantage.

Claims (3)

각종 동작상태의 이상감지 및 표시회로의 제반기능이 하드웨어로 구성되어 모터의 가역운전이 가능한 중소형직류 모터 구동장치의 제어회로에서 원칩콘트롤러(MPU)를 사용하여 이에 내장된 프로그램의 수행에 따라 역할에 정해지는 MPU의 아나로그 입력단에는 공지의 버퍼 및 분압회로를 통한 제어신호(TS), 저항 R4, R5에서 분압되는 주전원(DC) 및 분류기에서 검출되어 공지의 증폭회로로 증폭되고 버퍼를 통한 구동장치의 출력전류신호가 MPU의 각 입력단자(AD0∼AD2)에 입력되고 상기 출력전류신호를 공지의 비교회로 로서 출력의 전류상태를 검출하여 MPU의 인터럽트단자(INT)에 연결되고 MPU의 출력단에는 모터속도제어에 필요한 PWM 펄스폭을 가진 PWM펄스를 PWM 출력단자에서 출력케하고, 또 다른 2개의출력단자에서 모터의 전후동작방향을 결정할수 있는 FET1, FET2의 구동출력을 출력할수 있도록 상기 MPU의 각 입출력포트를 연결하여 MPU내장 프로그램과 연동하여 직동되는 것을 특징으로 하는 중소형 직류모타 구동장치의 제어회로.In the control circuit of the small and medium-sized DC motor drive device capable of reversible operation of the motor by configuring the abnormal function of various operation states and the display circuit as hardware, the one-chip controller (MPU) is used to perform the role according to the execution of the program embedded therein. At the analog input of the MPU, a control signal (TS) through a known buffer and voltage divider circuit, a main power supply (DC) divided by resistors R4 and R5, and a divider are detected and amplified by a known amplification circuit and driven through a buffer. The output current signal is input to each input terminal AD0 to AD2 of the MPU, and the output current signal is connected to the interrupt terminal INT of the MPU by detecting the current state of the output as a known comparison circuit, and the motor is connected to the output terminal of the MPU. FE that allows PWM pulses with PWM pulse width necessary for speed control to be output from the PWM output terminal, and determines the forward and backward operation directions of the motor from the other two output terminals. A control circuit for a small and medium-sized DC motor drive device, characterized in that the drive output of the T1, FET2 is connected directly to the MPU built-in program by connecting each input and output port of the MPU. 제1항에 있어서 FET1, FET2를 구동하는 구동회로의 구동트랜지스터를 MPU의 또다른 PWM출력단자에 연결하여 초기화 과정에서 30%정도의 펄스폭을 가진 PWM 펄스를 발생케함으로써 이를 FET1, FET2의 구동회로 보조전원의 주스윗칭소자의 스윗칭신호로 사용함을 특징으로 하는 중소형 직류모타 구동장치의 제어 회로.The driving circuit of claim 1, wherein the driving transistors of the driving circuits driving the FET1 and FET2 are connected to another PWM output terminal of the MPU to generate PWM pulses having a pulse width of about 30% during initialization. Control circuit for small and medium-sized DC motor drive device characterized in that used as the switching signal of the juice switching device of the auxiliary power supply. 제1항에 있어서 MPU내장프로그램은 MPU의 인터럽트단자(INT)에 외부인터럽트신호가 입력될 때 과전류제한동작을 위한 인터럽트루틴이 수행되고, MPU의 아날로그입력단자(AD0AD2)에서 제어력신호(Ts)와 모터전류신호를 검출하기 위하여 초기화 과정시 결정된 Timer 인터럽트 주기마다 Timer 인터럽트루턴이 수행되며, 검출된 제어신호(TS)의 레벨에 따라 PWM제어패턴을 설정하여 해당된 루턴을 수행케 함으로써 모터의 가역운전제어를 가능케 함을 특징으로 하는 중소형 직류모터 구동장치의 제어회로.The MPU built-in program performs an interrupt routine for the overcurrent limiting operation when an external interrupt signal is input to the interrupt terminal (INT) of the MPU, and performs a control force signal (A 0 AD 2 ) at the analog input terminal (AD 0 AD 2 ) of the MPU. In order to detect Ts) and the motor current signal, Timer interrupt luton is performed at every timer interrupt period determined during initialization, and by setting the PWM control pattern according to the level of the detected control signal TS, Control circuit of a small and medium-sized DC motor drive device characterized in that the reversible operation control of the.
KR1019990024503A 1999-06-26 1999-06-26 Control Circuit of Direct Motor Operating Device KR100304056B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990024503A KR100304056B1 (en) 1999-06-26 1999-06-26 Control Circuit of Direct Motor Operating Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990024503A KR100304056B1 (en) 1999-06-26 1999-06-26 Control Circuit of Direct Motor Operating Device

Publications (2)

Publication Number Publication Date
KR20010003949A KR20010003949A (en) 2001-01-15
KR100304056B1 true KR100304056B1 (en) 2001-11-01

Family

ID=19595675

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990024503A KR100304056B1 (en) 1999-06-26 1999-06-26 Control Circuit of Direct Motor Operating Device

Country Status (1)

Country Link
KR (1) KR100304056B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101195173B1 (en) * 2011-02-15 2012-10-31 (주)셉코 Dc motor controller and controling method for dc motor

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100478121B1 (en) * 2002-04-26 2005-03-24 김관진 Electrical driver control circuit for case type
KR100695609B1 (en) * 2005-09-30 2007-03-14 씨멘스 오토모티브 주식회사 Apparatus for driving dc motor using relays
KR101010780B1 (en) * 2008-05-19 2011-01-25 최윤아 Driver of electrically moving seat of automobile
KR102471029B1 (en) * 2015-07-30 2022-11-25 대우전자부품(주) Apparatus for DC motor of cooling fan

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH089681A (en) * 1994-06-21 1996-01-12 Nec Home Electron Ltd Pwm motor drive apparatus
JPH09149693A (en) * 1995-11-27 1997-06-06 Sanyo Electric Co Ltd Hybrid integrated circuit device
JPH09331693A (en) * 1996-06-10 1997-12-22 Mitsubishi Electric Corp Method for sensing rotation angle and load torque of dc motor, dc motor controller and motor-driven power steering device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH089681A (en) * 1994-06-21 1996-01-12 Nec Home Electron Ltd Pwm motor drive apparatus
JPH09149693A (en) * 1995-11-27 1997-06-06 Sanyo Electric Co Ltd Hybrid integrated circuit device
JPH09331693A (en) * 1996-06-10 1997-12-22 Mitsubishi Electric Corp Method for sensing rotation angle and load torque of dc motor, dc motor controller and motor-driven power steering device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101195173B1 (en) * 2011-02-15 2012-10-31 (주)셉코 Dc motor controller and controling method for dc motor

Also Published As

Publication number Publication date
KR20010003949A (en) 2001-01-15

Similar Documents

Publication Publication Date Title
JP3460885B2 (en) Electric power steering control device
KR0145630B1 (en) Control apparatus for reversible motor and motor driven power steering system for motor vehicle the same
JP3063893B2 (en) Electric power steering device
JPH0281769A (en) Fail safe device for motor-driven power steering gear
US20160308483A1 (en) Motor controller and electric power steering device
JPH1159446A (en) Electric power steering device
CA2355019C (en) Electrically-driven power steering system having failure detection function
KR100304056B1 (en) Control Circuit of Direct Motor Operating Device
JP3375502B2 (en) Electric power steering device
JP2013121294A (en) Fault diagnostic device for motor for electric power steering
JPS63145172A (en) Motor-driven power steering device equipped with motor brake function
JP4382768B2 (en) Electric power steering device
KR100550166B1 (en) Control circuit of DC Motor for Electronic Power Steering
JP2002249062A (en) Electric power steering controller
JPH08191503A (en) Control device for electric car
JPH0285061A (en) Fail-safe device of motor-driven power steering device
JP3517989B2 (en) Vehicle steering system
KR200325955Y1 (en) Control circuit of DC Motor for Electronic Power Steering
JP2531285Y2 (en) Fail safe device for rear wheel steering system of vehicle
JPH11342859A (en) Control device for motor power steering
JP3066616B2 (en) Electric power steering device
JP3628510B2 (en) Vehicle steering device
JPH0398488A (en) Temperature detector for electrically-driven power steering motor
JP2001258288A (en) Drive control circuit for actuator
JP3663887B2 (en) Control device for electric power steering device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
J206 Request for trial to confirm the scope of a patent right
J301 Trial decision

Free format text: TRIAL DECISION FOR CONFIRMATION OF THE SCOPE OF RIGHT_DEFENSIVE REQUESTED 20060124

Effective date: 20060530

J302 Written judgement (patent court)

Free format text: JUDGMENT (PATENT COURT) FOR CONFIRMATION OF THE SCOPE OF RIGHT_DEFENSIVE REQUESTED 20060705

Effective date: 20070201

J303 Written judgement (supreme court)

Free format text: JUDGMENT (SUPREME COURT) FOR CONFIRMATION OF THE SCOPE OF RIGHT_DEFENSIVE REQUESTED 20070223

Effective date: 20070628

LAPS Lapse due to unpaid annual fee