KR20160069416A - Electric current control apparatus of motor and method thereof - Google Patents

Electric current control apparatus of motor and method thereof Download PDF

Info

Publication number
KR20160069416A
KR20160069416A KR1020140175351A KR20140175351A KR20160069416A KR 20160069416 A KR20160069416 A KR 20160069416A KR 1020140175351 A KR1020140175351 A KR 1020140175351A KR 20140175351 A KR20140175351 A KR 20140175351A KR 20160069416 A KR20160069416 A KR 20160069416A
Authority
KR
South Korea
Prior art keywords
motor
current
sampling
interrupt time
value
Prior art date
Application number
KR1020140175351A
Other languages
Korean (ko)
Other versions
KR101674411B1 (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 KR1020140175351A priority Critical patent/KR101674411B1/en
Publication of KR20160069416A publication Critical patent/KR20160069416A/en
Application granted granted Critical
Publication of KR101674411B1 publication Critical patent/KR101674411B1/en

Links

Images

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
    • H02P31/00Arrangements for regulating or controlling electric motors not provided for in groups H02P1/00 - H02P5/00, H02P7/00 or H02P21/00 - H02P29/00
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The purpose of the present invention is to provide an apparatus and a method to control a current of a motor capable of improving robustness for a noise and reactivity by using one low pass filter when a feedback current outputted by the motor is a static state or a dynamic state. The present invention relates to the apparatus and the method to control a current of a motor. The apparatus comprises: a motor control unit to supply power to the motor depending on a motor operating signal; a current detecting unit to detect a motor current outputted from the motor; a low pass filter to filter the motor current to a preset band; and a microcomputer to calculate an actually measured current value based on the filtered motor current, to divide the current value into a dynamic region and a static region in accordance with a difference value between a preset target current value and the actually measured current value, to set interrupt time for the sampling of an analog-digital converter (ADC) in accordance with the divided region, and to control the sampling number of the ADC in accordance with the set interrupt time.

Description

모터의 전류 제어 장치 및 그 방법{ELECTRIC CURRENT CONTROL APPARATUS OF MOTOR AND METHOD THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an electric current control apparatus,

본 발명은 모터의 전류 제어 장치 및 그 방법에 관한 것으로, 보다 상세하게는 모터로부터 출력되는 피드백 전류를 근거로 가변(dynamic)영역과 정적(static)영역으로 구분하고, 구분된 영역에 따라 ADC(Analog-Digital Converter)의 샘플링(sampling)을 위한 인터럽트 시간을 다르게 설정하며, 설정된 인터럽트 시간에 따라 ADC의 샘플링 횟수를 조절하는 모터의 전류 제어 장치 및 그 방법에 관한 것이다.
The present invention relates to an apparatus and method for controlling a current of a motor, and more particularly, to an apparatus and method for controlling a current of a motor by dividing a dynamic region into a static region based on a feedback current output from the motor, The present invention relates to an apparatus and method for controlling a current of a motor that sets an interrupt time for sampling an analog-to-digital converter (ADC) and adjusts the sampling frequency of the ADC according to an interrupt time.

자동차의 현가장치는 차축과 차체를 연결하며 주행할 때 차축이 노면에서 받는 진동이나 충격이 차체에 직접 전달되지 않도록 하여 차체나 하물의 손상을 방지하고 승차감을 좋게 하는 장치로, 구동바퀴에 발생하는 구동력이나 제동할 때에 각 바퀴의 제동력을 차체에 전달함과 동시에 선회할 때의 원심력에도 견디고 각 바퀴를 차체에 대해 바른 위치로 지지하는 역할을 수행하며, 또한 주행 중 노면의 상태에 따라 발생되는 모든 충격을 흡수하여 차체의 진동을 최소화한다.The suspension system of the vehicle connects the axle and the vehicle body and prevents vibration or impact from the road surface to be transmitted directly to the vehicle body when the vehicle is running, thereby preventing damage to the vehicle body or the cargo and improving the ride quality. The braking force of each wheel at the time of braking or driving force is transmitted to the vehicle body, and at the same time, the braking force of each wheel is resistant to the centrifugal force at the time of turning and supports each wheel at a proper position with respect to the vehicle body. Minimize the vibration of the body by absorbing impact.

이러한 현가장치는 각종 센서로부터 자동차와 노면의 상태를 감지하고, 스프링상수, 댐퍼(Damper)의 감쇠력 그리고 공기나 유공압 스프링의 회로 압력 등을 가변시켜 차고를 제어하거나 차체의 자세를 제어하여 주행안정성과 승차감을 동시에 향상시키는 것을 목적으로 하는데, 이때 상기한 댐퍼의 감쇠력 제어를 위해서는 모터로 인가되는 전류의 정확한 제어가 매우 중요하다. 여기에서는 자동차의 현가장치를 제어하는 모터를 예시로 설명하였으나, 자동차에 구비된 장치들을 제어하는 모터들에도 적용될 수 있다. 또한, 모터의 전류 제어 기술은 자동차뿐만 아니라, 모터의 전류 제어가 필요한 다양한 분야에 적용될 수 있다. These suspension devices detect the state of the vehicle and the road surface from various sensors, control the garage by controlling the spring constant, the damping force of the damper, and the circuit pressure of the air or the pneumatic pressure spring, In order to control the damping force of the damper, precise control of the current applied to the motor is very important. Although the motor for controlling the suspension of the vehicle has been described as an example, the present invention can also be applied to motors for controlling devices provided in an automobile. In addition, the current control technology of the motor can be applied not only to an automobile but also to various fields requiring current control of the motor.

종래에는 목표 전류와 검출된 전류의 차를 차동적분하여 PWM(Pulse Width Modulation) 제어를 수행하는 하드웨어 피드백(Hardware feedback) 방식과, 또는 검출된 전류를 저주파 필터링(Low Frequency Filtering)하고 PI 제어기를 통해 PWM 듀티(Duty)를 산출하여 모터 전류를 제어하는 소프트웨어 피드백(Software feedback) 방식으로 모터 전류를 제어하고 있다.Conventionally, there is a hardware feedback method that performs PWM (Pulse Width Modulation) control by differentially integrating a difference between a target current and a detected current, or a hardware feedback method in which a detected current is subjected to low frequency filtering and a PI controller The motor current is controlled by a software feedback method that calculates the PWM duty and controls the motor current.

모터 전류를 제어하기 위해 도 1과 같이 피드백 전류의 상태가 정적인 경우, 노이즈에 대한 강건성 향상을 위해 strong filter를 사용해야 하고, 피드백 전류의 상태가 가변상태인 경우, 반응성 향상을 위하여 weak filter를 사용해야 한다. In order to control the motor current, if the state of the feedback current is static as shown in FIG. 1, a strong filter should be used to improve the robustness against noise. If the feedback current state is variable, a weak filter do.

그러나, 하드웨어적으로 하나의 필터를 고정하여 사용하므로 정적 상태와 가변상태를 만족하기는 어려운 문제가 있다. However, there is a problem that it is difficult to satisfy the static state and the variable state because one filter is fixed by hardware.

또한, strong filter와 weak filter 두 개의 필터를 사용하는 경우, 외부에 두 개의 별도 ADC(Analog-Digital Converter, 아날로그-디지털 변환기, 이하 'ADC'라 칭함) 포트를 할당하고, 별도의 RC필터를 설계해야 하므로, 시스템 가격이 비싸지는 단점이 있다.
In addition, when two strong filters and weak filters are used, two separate analog-to-digital converters (ADCs) are assigned to the outside, and a separate RC filter is designed There is a disadvantage that the system price is expensive.

한국공개특허 제2008-0086421호, 발명의 명칭 '아날로그-디지털 변환'Korean Patent Publication No. 2008-0086421, entitled " Analog-to-Digital Conversion &

본 발명의 목적은 모터에서 출력되는 피드백 전류가 정적상태 또는 가변상태인 경우에도 하나의 저역 필터를 사용하여 노이즈(noise)에 대한 강건성은 물론 반응성을 향상시킬 수 있는 모터의 전류 제어 장치 및 그 방법을 제공함에 있다.
An object of the present invention is to provide a motor current control device and method for improving the robustness against noise and reactivity using a single low-pass filter even when the feedback current output from the motor is in a static or variable state .

상기 목적들을 달성하기 위하여 본 발명의 일 측면에 따르면, 모터구동신호에 따라 모터에 전력을 공급하는 모터 제어부, 상기 모터로부터 출력되는 모터 전류를 감지하는 전류 감지부, 상기 모터 전류를 기 설정된 대역으로 필터링하는 저역 필터(Low Pass Filter), 상기 필터링된 모터 전류를 근거로 상기 모터에 인가된 실측 전류값을 산출하고, 기 설정된 목표 전류값과 상기 실측 전류값의 차이값에 따라 가변(dynamic)영역과 정적(static)영역으로 구분하며, 상기 구분된 영역에 따라 ADC(Analog-Digital Converter)의 샘플링(sampling)을 위한 인터럽트 시간을 설정하고, 상기 설정된 인터럽트 시간에 따라 ADC의 샘플링 횟수를 조절하는 마이컴을 포함하는 모터의 전류 제어 장치가 제공된다. According to an aspect of the present invention, there is provided a motor control apparatus including a motor control unit for supplying power to a motor in accordance with a motor drive signal, a current sensing unit for sensing a motor current output from the motor, A low pass filter for filtering the motor current, a measured current value applied to the motor based on the filtered motor current, and a dynamic range according to a difference between the predetermined target current value and the measured current value, And a static area, and sets an interrupt time for sampling an ADC (Analog-Digital Converter) according to the divided area, and controls a sampling frequency of the ADC according to the set interrupt time. A current control device for a motor is provided.

상기 마이컴은 구동신호 발생부에서 설정된 인터럽트 시간에 따라 샘플링 횟수를 조절하면서 아날로그 형태의 상기 필터링된 모터 전류를 디지털 형태로 변환하는 ADC(Analog-Digital Converter), 상기 디지털 형태로 변환된 모터 전류로부터 상기 모터에 인가된 실측 전류값을 산출하고, 상기 목표 전류값과 상기 실측 전류값을 비교하여 차이값을 구하는 차이값 연산부, 상기 차이값을 기 설정된 기준값과 비교하여 가변영역과 정적영역으로 구분하고, 상기 구분된 영역에 따라 상기 ADC의 샘플링을 위한 인터럽트 시간을 설정하는 구동신호 발생부를 포함할 수 있다. Wherein the microcomputer comprises an analog-to-digital converter (ADC) for converting the filtered motor current of the analog form into a digital form while adjusting the number of sampling times according to an interrupt time set by the drive signal generator, A difference value calculation unit for calculating a measured current value applied to the motor and comparing the target current value and the measured current value to obtain a difference value; And a driving signal generator for setting an interrupt time for sampling the ADC according to the divided area.

상기 구동신호 발생부는 상기 차이값이 기준값보다 큰 경우 가변영역으로 구분하고, 차이값이 기준값보다 크지 않은 경우 정적영역으로 구분할 수 있다. The driving signal generating unit may divide the driving signal generating unit into a variable area when the difference value is larger than the reference value and the static area if the difference value is not greater than the reference value.

또한, 상기 구동신호 발생부는, 가변영역의 경우 파형의 주기를 기준으로 빠른 샘플링이 수행되도록 인터럽트 시간을 짧게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용하며, 정적영역의 경우 파형의 주기를 기준으로 느린 샘플링이 수행되도록 인터럽트 시간을 길게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용할 수 있다. The driving signal generator sets the interrupt time so as to perform fast sampling based on the period of the waveform in the case of the variable area, uses the set interrupt time as a trigger signal for sampling the ADC, The interrupt time is set to be long so that slow sampling is performed based on the waveform period and the set interrupt time can be used as a trigger signal for sampling the ADC.

또한, 상기 구동신호 발생부는 상기 차이값 연산부에서 구한 차이값을 근거로 모터구동신호를 조절하고, 상기 조절된 모터구동신호를 상기 모터 제어부로 전송할 수 있다. The driving signal generating unit may adjust the motor driving signal based on the difference value calculated by the difference calculating unit, and may transmit the adjusted motor driving signal to the motor control unit.

본 발명의 다른 측면에 따르면, 전류 제어 장치가 모터의 전류를 제어하는 방법에 있어서, (a) 상기 모터에서 출력되는 모터 전류를 검출하는 단계, (b) 상기 검출된 모터 전류를 기 설정된 대역으로 필터링하는 단계, (c) 상기 필터링된 모터 전류를 근거로 상기 모터에 인가된 실측 전류값을 산출하는 단계, (d) 기 설정된 목표 전류값과 상기 실측 전류값의 차이값에 따라 가변영역과 정적영역으로 구분하는 단계, (e) 상기 구분된 영역에 따라 ADC의 샘플링을 위한 인터럽트 시간을 다르게 설정하는 단계를 포함하는 모터의 전류 제어 방법이 제공된다. According to another aspect of the present invention, there is provided a method of controlling a current in a motor, the method comprising the steps of: (a) detecting a motor current output from the motor; (b) (C) calculating a measured current value applied to the motor based on the filtered motor current; and (d) calculating a measured current value applied to the variable region and the static current value according to a difference between the preset target current value and the measured current value. And (e) setting an interrupt time for sampling the ADC differently according to the divided area.

상기 (c)단계는 상기 설정된 인터럽트 시간에 따라 샘플링 횟수를 조절하면서, 상기 필터링된 아날로그 형태의 모터 전류를 디지털 형태로 변환하는 단계, 상기 디지털 형태로 변환된 모터 전류로부터 상기 모터에 인가된 실측 전류값을 산출하는 단계를 포함할 수 있다. Wherein the step (c) includes the steps of: converting the filtered analog current into a digital form while adjusting the number of sampling times according to the set interrupt time, calculating a measured current from the motor current converted to the digital form, And a step of calculating a value.

상기 (d)단계는 상기 목표 전류값과 실측 전류값의 차이값을 구하는 단계, 상기 차이값을 기 설정된 기준값과 비교하는 단계, 상기 차이값이 기준값보다 큰 경우 가변영역으로 구분하고, 차이값이 기준값보다 크지 않은 경우 정적영역으로 구분하는 단계를 포함할 수 있다. The step (d) includes the steps of: obtaining a difference value between the target current value and a measured current value; comparing the difference value with a predetermined reference value; dividing the difference value into a variable area when the difference value is greater than a reference value; And if it is not greater than the reference value, dividing into a static area.

상기 (e)단계는 가변영역의 경우 파형의 주기를 기준으로 빠른 샘플링이 수행되도록 인터럽트 시간을 짧게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용하며, 정적영역의 경우 파형의 주기를 기준으로 느린 샘플링이 수행되도록 인터럽트 시간을 길게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용할 수 있다.
In the step (e), the interrupt time is set to be short so that fast sampling is performed based on the period of the waveform in the case of the variable area, and the set interrupt time is used as a trigger signal for sampling the ADC. The interrupt time is set to be long so that slow sampling is performed based on the cycle of the ADC, and the set interrupt time can be used as a trigger signal for sampling the ADC.

본 발명에 따르면, 모터로부터 출력되는 피드백 전류를 근거로 가변(dynamic)영역과 정적(static)영역으로 구분하고, 구분된 영역에 따라 ADC의 샘플링(sampling)을 위한 인터럽트 시간을 다르게 설정하며, 설정된 인터럽트 시간에 따라 ADC의 샘플링 횟수를 조절함으로써, 모터에서 출력되는 피드백 전류가 정적상태 또는 가변상태인 경우에도 하나의 저역 필터를 사용하여 노이즈에 대한 강건성은 물론 반응성을 향상시킬 수 있다.
According to the present invention, a dynamic area and a static area are classified into a dynamic area and a static area based on a feedback current output from a motor. An interrupt time for sampling the ADC is set differently according to the divided area, By adjusting the sampling frequency of the ADC according to the interrupt time, even if the feedback current output from the motor is in a static or variable state, one low-pass filter can be used to improve the robustness against noise as well as the reactivity.

도 1은 종래의 모터 전류 제어 방법을 설명하기 위한 도면.
도 2는 본 발명의 실시예에 따른 모터의 전류 제어 장치의 구성을 개략적으로 나타낸 블록도.
도 3은 도 2에 도시된 마이컴의 구성을 나타낸 블록도.
도 4는 본 발명의 실시예에 따른 전류제어 장치가 모터의 전류를 제어하는 방법을 나타낸 도면.
도 5는 본 발명의 실시예에 따른 가변영역에서 인터럽트 시간에 따른 샘플링을 설명하기 위한 예시도.
도 6은 본 발명의 실시예에 따른 정적영역에서 인터럽트 시간에 따른 샘플링을 설명하기 위한 예시도.
1 is a view for explaining a conventional motor current control method;
2 is a block diagram schematically showing a configuration of a current control device for a motor according to an embodiment of the present invention.
3 is a block diagram showing a configuration of a microcomputer shown in Fig.
4 is a diagram illustrating a method of controlling a current of a motor by a current control device according to an embodiment of the present invention.
5 is a diagram illustrating sampling according to an interrupt time in a variable area according to an embodiment of the present invention;
FIG. 6 is an exemplary diagram illustrating sampling according to an interrupt time in a static area according to an embodiment of the present invention; FIG.

본 발명의 전술한 목적과 기술적 구성 및 그에 따른 작용 효과에 관한 자세한 사항은 본 발명의 명세서에 첨부된 도면에 의거한 이하 상세한 설명에 의해 보다 명확하게 이해될 것이다.The foregoing and other objects, features, and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: FIG.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 '모터의 전류 제어 장치 및 그 방법'을 상세하게 설명한다. 설명하는 실시 예들은 본 발명의 기술 사상을 당업자가 용이하게 이해할 수 있도록 제공되는 것으로 이에 의해 본 발명이 한정되지 않는다. 또한, 첨부된 도면에 표현된 사항들은 본 발명의 실시 예들을 쉽게 설명하기 위해 도식화된 도면으로 실제로 구현되는 형태와 상이할 수 있다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an apparatus and method for controlling a current of a motor according to the present invention will be described in detail with reference to the accompanying drawings. The embodiments are provided so that those skilled in the art can easily understand the technical spirit of the present invention, and thus the present invention is not limited thereto. In addition, the matters described in the attached drawings may be different from those actually implemented by the schematic drawings to easily describe the embodiments of the present invention.

한편, 이하에서 표현되는 각 구성부는 본 발명을 구현하기 위한 예일 뿐이다. 따라서, 본 발명의 다른 구현에서는 본 발명의 사상 및 범위를 벗어나지 않는 범위에서 다른 구성부가 사용될 수 있다. 또한, 각 구성부는 순전히 하드웨어 또는 소프트웨어의 구성만으로 구현될 수도 있지만, 동일 기능을 수행하는 다양한 하드웨어 및 소프트웨어 구성들의 조합으로 구현될 수도 있다. 또한, 하나의 하드웨어 또는 소프트웨어에 의해 둘 이상의 구성부들이 함께 구현될 수도 있다. In the meantime, each constituent unit described below is only an example for implementing the present invention. Thus, in other implementations of the present invention, other components may be used without departing from the spirit and scope of the present invention. In addition, each component may be implemented solely by hardware or software configuration, but may be implemented by a combination of various hardware and software configurations performing the same function. Also, two or more components may be implemented together by one hardware or software.

또한, 어떤 구성요소들을 '포함'한다는 표현은, '개방형'의 표현으로서 해당 구성요소들이 존재하는 것을 단순히 지칭할 뿐이며, 추가적인 구성요소들을 배제하는 것으로 이해되어서는 안 된다.
Also, the expression " comprising " is intended to merely denote that such elements are present as an expression of " open ", and should not be understood to exclude additional elements.

이하에서는 모터의 전류 제어에 대한 실시예로 한정하여 설명하였으나, 유압 솔레노이드 등 전류 제어가 필요한 다양한 분야에서 적용될 수 있다.Hereinafter, the present invention is limited to the current control of the motor. However, the present invention can be applied to various fields requiring current control such as a hydraulic solenoid.

또한, ADC(Analog-Digital Converter)의 샘플링 횟수를 조절할 필요가 있는 다양한 분야에 적용될 수 있다.
In addition, it can be applied to various fields in which the sampling frequency of an ADC (Analog-Digital Converter) needs to be adjusted.

도 2는 본 발명의 실시예에 따른 모터의 전류 제어 장치의 구성을 개략적으로 나타낸 블록도, 도 3은 도 2에 도시된 마이컴의 구성을 나타낸 블록도이다. FIG. 2 is a block diagram schematically showing a configuration of a current control device for a motor according to an embodiment of the present invention, and FIG. 3 is a block diagram showing the configuration of a microcomputer shown in FIG.

도 2를 참조하면, 모터의 전류 제어 장치(200)는 모터(210), 모터 제어부(220), 전류 감지부(230), 저역 필터(Low Pass Filter)(240), 마이컴(250)을 포함한다. 2, the motor current control apparatus 200 includes a motor 210, a motor control unit 220, a current sensing unit 230, a low pass filter 240, and a microcomputer 250 do.

모터 제어부(220)는 마이컴(250)으로부터 입력되는 모터구동신호에 따라 모터(210)에 전력을 공급한다. 모터 제어부(220)는 마이컴(250)의 제어에 따라 스위칭하여 모터(210)를 구동 또는 정지시킨다. 즉, 모터 제어부(220)는 마이컴(250)이 출력하는 모터구동신호에 따라 스위치 온되어 전력이 모터(210)에 공급되도록 하여 모터(210)를 구동시키며, 마찬가지로 모터구동신호에 따라 스위치 오프되어 전력이 모터(210)에 공급되지 않도록 하여 모터(210)를 정지시킨다. 여기서, 모터구동신호는 예컨대, 펄스 폭 변조(PWM, Pulse Width Modulation) 신호일 수 있고, 모터 제어부(220)는 PWM 펄스에 응답하여 모터(210)가 구동할 수 있을 정도의 전력을 공급한다. The motor control unit 220 supplies power to the motor 210 according to a motor driving signal input from the microcomputer 250. The motor control unit 220 switches and stops the motor 210 under the control of the microcomputer 250. That is, the motor control unit 220 is switched on in response to the motor drive signal output from the microcomputer 250 to supply electric power to the motor 210 to drive the motor 210, and is similarly switched off according to the motor drive signal Power is not supplied to the motor 210, and the motor 210 is stopped. Here, the motor driving signal may be, for example, a pulse width modulation (PWM) signal, and the motor control unit 220 supplies power enough to drive the motor 210 in response to the PWM pulse.

전류 감지부(230)는 모터(210)로부터 출력되는 모터 전류를 감지한다. 즉, 전류 감지부(230)는 모터 구동 시 모터(210)에서 출력되는 모터 전류를 검출한다. The current sensing unit 230 senses the motor current output from the motor 210. That is, the current sensing unit 230 detects the motor current output from the motor 210 when the motor is driven.

저역 필터(240)는 전류 감지부(230)에서 감지된 모터 전류를 기 설정된 대역으로 필터링한다. 저역 필터(240)는 저항(R)과 콘덴서(C)가 병렬로 접속되어 이루어지며, 전류 감지부(230)에서 감지된 모터 전류를 기 설정된 소정의 대역으로 필터링하여 필요로 하는 주파수 대역의 신호만을 추출하고, 추출된 신호를 마이컴(250)의 ADC 입력포트에 출력한다.The low-pass filter 240 filters the motor current sensed by the current sensing unit 230 to a predetermined band. The low-pass filter 240 is formed by connecting a resistor R and a capacitor C in parallel. The low-pass filter 240 filters the motor current sensed by the current sensing unit 230 to a preset predetermined band, And outputs the extracted signal to the ADC input port of the microcomputer 250.

저역 필터(240)는 일정 주파수 이상의 주파수를 여과(Filtering)하기 때문에, 일정 주파수 이상의 주파수로 인한 잡음(Noise)을 제거할 수 있도록 구비된다. 이때, 사용된 저역 필터(240)는 예컨대, weak filter일 수 있다. Since the low-pass filter 240 filters a frequency higher than a predetermined frequency, the low-pass filter 240 is provided to remove noise due to a frequency higher than a predetermined frequency. At this time, the used low-pass filter 240 may be, for example, a weak filter.

마이컴(250)은 저역 필터(240)에서 필터링된 모터 전류를 근거로 모터(210)에 인가된 실측 전류값을 산출하고, 기 설정된 목표 전류값과 실측 전류값의 차이값에 따라 가변(dynamic)영역과 정적(static)영역으로 구분하며, 구분된 영역에 따라 ADC(Analog-Digital Converter, 아날로그-디지털 변환기)의 샘플링(sampling)을 위한 인터럽트(Interrupt) 시간을 다르게 설정하며, 설정된 인터럽트 시간에 따라 ADC의 샘플링 횟수를 조절한다. The microcomputer 250 calculates a measured current value applied to the motor 210 based on the motor current filtered by the low-pass filter 240, and calculates a dynamic value according to a difference between a predetermined target current value and a measured current value. separated by a region and a static (static) zone, and, according to the segment regions ADC - and different interrupt (interrupt) time for sampling (sampling) set of (analog-digital converter, analog to digital converter), according to the set interrupt time Adjust the sampling frequency of the ADC.

마이컴(250)은 저역 필터(240)를 거친 필터링된 전류를 ADC를 통하여 받고, 가변영역 또는 정적영역에 따라 설정된 인터럽트 시간에 따라 샘플링 횟수를 조절하면서 아날로그 신호를 디지털로 변환한 뒤, 이를 통하여 실측 전류를 산출할 수 있도록 이루어진다. 그리고 나서, 마이컴(250)에서 산출한 실측 전류를 이용하여 모터(210)에 요구되는 전류보다 낮은 경우에는 모터구동신호(예컨대, 펄스 폭 변조 신호)를 조절하여 모터(210)로 인가되는 전류를 높일 수 있도록 신호송출제어를 실시하며, 모터(210)에 요구되는 전류보다 높은 경우에는 모터구동신호를 조절하여 모터(210)에 인가되는 전류를 낮출 수 있도록 신호송출제어를 실시한다. 즉, 마이컴(250)은 실측 전류가 모터(210)에 요구되는 전류량보다 높은 경우에는 전류를 제한하도록 PWM 신호를 조절하고, 실측 전류가 모터(210)에 요구되는 전류량보다 낮은 경우에는 PWM 신호의 듀티(duty)를 가변하여 충분한 전류가 공급되도록 조절한다. The microcomputer 250 receives the filtered current through the low-pass filter 240 and converts the analog signal into a digital signal while adjusting the sampling frequency according to the interrupt time set according to the variable area or the static area, So that the current can be calculated. Then, when the actual current calculated by the microcomputer 250 is lower than the current required for the motor 210, the motor driving signal (for example, the pulse width modulation signal) And when the current is higher than the current required for the motor 210, the motor driving signal is adjusted to control the signal delivery control so that the current applied to the motor 210 can be lowered. That is, the microcomputer 250 adjusts the PWM signal to limit the current when the measured current is higher than the amount of current required by the motor 210, and when the measured current is lower than the amount of current required by the motor 210, The duty is varied to adjust the supply of sufficient current.

마이컴(250)은 모터 전류 제어 장치(200)의 중앙처리장치로서, 모터구동신호를 출력하여 모터(210)를 구동시키거나 정지시키는 제어를 하며, 목표 전류값과 실측 전류값의 차이값에 따라 영역을 구분하고, 구분된 영역에 따라 ADC의 샘플링을 위한 인터럽트 시간을 다르게 설정하며, 상기 차이값을 근거로 모터구동신호를 조절하여 모터(210)의 구동을 제어함으로써, 목표 전류값과 실측 전류값 간의 오차를 최소화한다. The microcomputer 250 is a central processing unit of the motor current control apparatus 200. The microcomputer 250 controls the motor 210 to drive or stop the motor 210 by outputting a motor drive signal and controls the motor 210 according to the difference between the target current value and the measured current value And sets the interrupt time for sampling the ADC to be different according to the divided area. By controlling the motor driving signal by controlling the motor driving signal based on the difference value, the target current value and the actual current Minimize the error between values.

이러한 마이컴(250)에 대해 도 3을 참조하면, 마이컴(250)은 ADC(252), 차이값 연산부(254), 구동신호 발생부(256)를 포함한다. Referring to FIG. 3, the microcomputer 250 includes an ADC 252, a difference value calculator 254, and a driving signal generator 256.

ADC(252)는 저역 필터(240)에서 필터링된 아날로그 형태의 모터 전류를 디지털 형태로 변환한다. ADC(252)는 아날로그 형태의 모터 전류를 마이컴(250)이 해석할 수 있도록 디지털 형태로 변환하여 마이컴(250)이 모터 구동 시 실측 전류값을 산출할 수 있도록 한다. The ADC 252 converts the analogized motor current filtered in the low pass filter 240 into a digital form. The ADC 252 converts an analog type motor current into a digital form so that the microcomputer 250 can interpret the current so that the microcomputer 250 can calculate a measured current value when the motor is driven.

이때, ADC(252)는 구동신호 발생부(256)에서 설정된 인터럽트 시간에 따라 샘플링(sampling) 횟수를 조절하면서 아날로그 형태의 필터링된 모터 전류를 디지털 형태로 변환한다. 즉, ADC(252)는 가변영역의 경우 인터럽트 시간에 따라 파형의 주기를 기준으로 빠른 샘플링(sampling)을 수행하고, 정적영역의 경우, 인터럽트 시간에 따라 파형의 주기를 기준으로 느린 샘플링(sampling)을 수행한다. At this time, the ADC 252 adjusts the number of sampling times according to the interrupt time set by the driving signal generating unit 256, and converts the analogized filtered motor current into a digital form. That is, the ADC 252 performs fast sampling on the basis of the waveform period according to the interrupt time in the case of the variable area, and performs slow sampling on the waveform period according to the interrupt time in the case of the static area. .

차이값 연산부(254)는 ADC(252)에서 디지털 형태로 변환된 모터 전류로부터 모터(210)에 인가된 실측 전류값을 산출하고, 기 설정된 목표 전류값과 실측 전류값을 비교하여 차이값을 구한다. 이때, 차이값 연산부(254)는 기 저장된 데이터베이스(미도시)로부터 디지털 변환된 모터 전류에 대응되는 실측 전류값을 획득할 수 있다. 여기서, 데이터베이스에는 ADC(252)의 분해능, 입력조건에 의해 만들어진 소정의 수식에 의한 결과가 저장되는 것이 바람직하다.The difference value calculation unit 254 calculates a measured current value applied to the motor 210 from the motor current converted into the digital form by the ADC 252 and compares the measured current value with a predetermined target current value to obtain a difference value . At this time, the difference value calculator 254 can obtain the measured current value corresponding to the digitally converted motor current from the pre-stored database (not shown). Here, it is preferable that the database stores the result of the predetermined formula made by the resolution and input conditions of the ADC 252.

구동신호 발생부(256)는 차이값 연산부(254)에서 구한 차이값을 기 설정된 기준값과 비교하여 가변영역과 정적영역으로 구분하고, 구분된 영역에 따라 ADC(252)의 샘플링을 위한 인터럽트 시간을 다르게 설정하며, 설정된 인터럽트 시간을 ADC(252)의 트리거 신호로 이용한다. 즉, 구동신호 발생부(256)는 차이값과 기준값을 비교하여, 차이값이 기준값보다 큰 경우 가변영역으로 구분하고, 차이값이 기준값보다 크지 않은 경우 정적영역으로 구분한다. 그런 다음 구동신호 발생부(256)는 가변영역의 경우, 파형의 주기를 기준으로 빠른 샘플링이 수행되도록 인터럽트 시간을 짧게 설정하고, 그 설정된 인터럽트 시간을 ADC(252)의 샘플링을 위한 트리거 신호로 이용한다. 이때, 구동신호 발생부(256)는 파형의 주기를 기준으로 기 설정된 시간 단위, 주기 단위 등 다양한 방법으로 인터럽트 시간을 짧게 설정할 수 있다. ADC(252)의 샘플링을 위한 인터럽트 시간을 짧게 하면, ADC(252)의 주기당 샘플링 횟수는 늘어나고, 평균적용 데이터(data)수를 적게 하여 반응성을 향상시킬 수 있다. 즉, 가변영역의 경우, 인터럽트 시간은 파형의 주기를 기준으로 빠른 샘플링(sampling)이 수행되도록 짧게 설정한다. 예컨대, 파형 주기의 정수배이면서 짝수개의 샘플링 개수가 설정되도록 인터럽트 시간을 설정한다. The drive signal generator 256 compares the difference value obtained by the difference value calculator 254 with a preset reference value and divides the difference value into a variable area and a static area and sets an interrupt time for sampling the ADC 252 according to the divided area And uses the set interrupt time as the trigger signal of the ADC 252. [ That is, the driving signal generator 256 compares the difference value with the reference value, and divides the difference into a variable area when the difference value is larger than the reference value and the static area when the difference value is not larger than the reference value. Then, in the case of the variable area, the driving signal generator 256 sets the interrupt time to be short so that fast sampling is performed based on the waveform period, and uses the set interrupt time as a trigger signal for sampling the ADC 252 . At this time, the drive signal generator 256 may set the interrupt time to a shorter time by various methods such as a preset time unit or a cycle unit based on the waveform period. If the interrupt time for sampling the ADC 252 is shortened, the number of sampling times per cycle of the ADC 252 increases and the number of average applied data (data) can be reduced to improve the reactivity. That is, in the case of the variable area, the interrupt time is set to be short so that fast sampling is performed based on the period of the waveform. For example, an interrupt time is set such that an even number of sampling numbers are set to integer multiples of the waveform period.

예를 들어, 1ms주기의 PWM를 설명하기로 한다. For example, PWM of 1 ms cycle will be described.

250us 단위로 인터럽트가 발생하면, 4회 샘플링이 수행된다. 이 경우, 마이컴의 로드는 적으나, 신호 정확도가 떨어지므로, 평균적용 데이터 수를 4이상으로 한다. 125us 단위로 인터럽트가 발생하면, 8회의 샘플링이 수행된다. 이 경우, 마이컴의 로드는 중간 정도이고, 신호 정확도가 중간이므로, 반응성을 향상시키기 위해서는 평균적용 데이터 수를 4이하로 하고, 안정도를 향상시키기 위해서는 평균 적용 데이터 수를 4이상으로 한다. 62.5us 단위로 인터럽트가 발생하면, 16회의 샘플링이 수행된다. 이 경우, 마이컴의 로드는 크고, 신호 정확도가 높으므로, 반응성을 향상시키기 위해서는 평균적용 데이터 수를 4이하로 하고, 안정도를 향상시키기 위해서는 평균 적용 데이터 수를 4 이상으로 한다. If an interrupt occurs in 250us units, 4 times sampling is performed. In this case, the load of the microcomputer is small, but since the signal accuracy is degraded, the average number of applied data is set to 4 or more. If an interrupt occurs in 125us units, 8 samplings are performed. In this case, since the load of the microcomputer is medium and the signal accuracy is medium, in order to improve the reactivity, the average number of applied data is set to 4 or less, and in order to improve the stability, the average applied data number is set to 4 or more. If an interrupt occurs in 62.5us units, 16 samplings are performed. In this case, since the load of the microcomputer is large and the signal accuracy is high, the average number of applied data is set to 4 or less in order to improve the reactivity and the average applied data number is set to 4 or more in order to improve the stability.

또한, 구동신호 발생부(256)는 정적영역의 경우, 파형의 주기를 기준으로 느린 샘플링이 수행되도록 인터럽트 시간을 길게 설정하고, 그 설정된 인터럽트 시간을 ADC(252)의 샘플링을 위한 트리거 신호로 이용한다. 이때, 구동신호 발생부(256)는 파형의 주기를 기준으로 기 설정된 시간 단위, 주기 단위 등 다양한 방법으로 인터럽트 시간을 길게 설정할 수 있다. ADC(252)의 샘플링을 위한 인터럽트 시간을 길게 하면, ADC(252)의 주기당 샘플링 횟수가 줄어들고, 평균적용 데이터 수를 늘려서 안정성을 확보할 수 있다. 즉, 정적영역의 경우, 인터럽트 시간은 파형의 주기를 기준으로 느린 샘플링(sampling)이 수행되도록 길게 설정한다. In the case of the static area, the driving signal generator 256 sets the interrupt time to be long so that slow sampling is performed based on the waveform period, and uses the set interrupt time as a trigger signal for sampling the ADC 252 . At this time, the drive signal generator 256 can set the interrupt time to be long by various methods such as a preset time unit, a cycle unit, etc. based on the waveform period. If the interrupt time for sampling the ADC 252 is increased, the number of sampling times per cycle of the ADC 252 is reduced, and the number of average applied data is increased to ensure stability. That is, in the case of the static area, the interrupt time is set to be long so that slow sampling is performed based on the period of the waveform.

구동신호 발생부(256)는 차이값 연산부(254)에서 구한 차이값을 근거로 모터구동신호를 조절하고, 조절된 모터구동신호를 모터 제어부(220)로 전송한다The drive signal generator 256 adjusts the motor drive signal based on the difference calculated by the difference calculator 254 and transmits the adjusted motor drive signal to the motor controller 220

구동신호 발생부(256)는 모터구동신호로 PWM 신호를 출력하는데, 모터(210)로 인가되는 전류를 피드백 신호를 받아 추정하고, 이를 이용하여 모터(210)로 인가되는 전류가 요구되는 전류보다 높으면 이를 감소시키고, 모터(210)로 인가되는 전류가 요구되는 전류보다 낮으면 이를 증가시키도록 제어한다.The drive signal generator 256 outputs a PWM signal by a motor drive signal. The drive signal generator 256 estimates a current supplied to the motor 210 by receiving a feedback signal and uses the current to estimate the current supplied to the motor 210 And controls the current to be applied to the motor 210 to be increased when the current is lower than the required current.

상기와 같이 구성된 모터의 전류 제어 장치(200)는 하나의 저역 필터(240)를 사용하여 피드백 전류의 상태가 정적 상태인 경우와 가변상태인 경우를 모두 만족시킬 수 있다.
The current controller 200 of the motor configured as described above can satisfy both the case where the feedback current state is a static state and the case where a feedback state is variable by using one low-pass filter 240.

도 4는 본 발명의 실시예에 따른 전류제어 장치가 모터의 전류를 제어하는 방법을 나타낸 도면, 도 5는 본 발명의 실시예에 따른 가변영역에서 인터럽트 시간에 따른 샘플링을 설명하기 위한 예시도, 도 6은 본 발명의 실시예에 따른 정적영역에서 인터럽트 시간에 따른 샘플링을 설명하기 위한 예시도이다. FIG. 4 is a diagram illustrating a method of controlling a current of a motor according to an embodiment of the present invention. FIG. 5 is a diagram illustrating sampling according to an interrupt time in a variable area according to an embodiment of the present invention. FIG. 6 is an exemplary diagram for explaining sampling according to an interrupt time in a static area according to an embodiment of the present invention. Referring to FIG.

도 4를 참조하면, 전류제어장치는 모터에서 출력되는 모터 전류를 검출하고(S402), 검출된 모터 전류를 기 설정된 대역으로 필터링한다(S404).Referring to FIG. 4, the current control apparatus detects the motor current output from the motor (S402), and filters the detected motor current to a predetermined band (S404).

전류제어장치는 필터링된 아날로그 형태의 모터 전류를 디지털 형태로 변환하고(S406), 디지털 형태로 변환된 모터 전류로부터 모터에 인가된 실측 전류값을 산출한다(S408). 이때, 전류제어장치는 가변영역 또는 정적영역에 따라 설정된 인터럽트 시간에 따라 샘플링 횟수를 조절하면서, 필터링된 아날로그 형태의 모터 전류를 디지털 형태로 변환한다. The current control device converts the filtered analog current into a digital form (S406), and calculates a measured current value applied to the motor from the motor current converted into the digital form (S408). At this time, the current control device converts the filtered analog type motor current into digital form while adjusting the sampling frequency according to the interrupt time set according to the variable area or the static area.

그런 후, 전류제어장치는 기 설정된 목표 전류값과 실측 전류값의 차이값을 구하고(S410), 그 차이값을 기 설정된 기준값과 비교하여 차이값이 기준값보다 큰지의 여부를 판단한다(S412).Thereafter, the current controller obtains a difference value between the predetermined target current value and the measured current value (S410). The difference value is compared with a predetermined reference value to determine whether the difference value is larger than the reference value (S412).

S412의 판단결과 차이값이 기준값보다 큰 경우, 전류제어장치는 가변영역으로 구분하고(S414), ADC의 샘플링을 위한 인터럽트 시간을 짧게 설정하며(S416), 설정된 인터럽트 시간을 ADC의 샘플링을 위한 트리거 신호로 이용하기 위해 S406에 제공한다(S418). 이때, 전류제어장치는 파형의 주기를 기준으로 빠른 샘플링이 수행되도록 인터럽트 시간을 짧게 설정한다. 가변영역에서 인터럽트 시간을 짧게 하면, 도 5와 같이 주기당 샘플링 횟수가 늘어난다. 이 경우, 샘플링 횟수가 늘어날수록 신호 변화에 따른 반응성 확보가 가능함을 알 수 있다. If it is determined in step S412 that the difference value is larger than the reference value, the current controller divides the variable area into a variable area (S414), sets the interrupt time for sampling the ADC to be short (S416) And provides it to S406 for use as a signal (S418). At this time, the current controller sets the interrupt time to be short so as to perform fast sampling based on the waveform period. If the interrupt time is shortened in the variable area, the number of sampling times per cycle is increased as shown in FIG. In this case, it can be seen that as the number of sampling increases, reactivity can be ensured according to the signal change.

만약, S412의 판단결과 차이값이 기준값보다 크지 않으면, 전류제어장치는 정적영역으로 구분하고(S420), ADC의 샘플링을 위한 인터럽트 시간을 길게 설정하며(S422), 설정된 인터럽트 시간을 ADC의 샘플링을 위한 트리거 신호로 이용하기 위해 S406에 제공한다(S418). 이때, 전류제어장치는 파형의 주기를 기준으로 느린 샘플링이 수행되도록 인터럽트 시간을 길게 설정한다. 정적영역에서 인터럽트 시간을 길게 하면, 도 6과 같이 주기당 샘플링 횟수가 줄어든다. 이 경우, 샘플링 횟수가 줄어들수록 마이컴의 로드가 적고, 안정적인 신호 처리가 가능하다.
If it is determined in step S412 that the difference value is not greater than the reference value, the current control apparatus classifies the static area into a static area (S420), sets an interrupt time for sampling the ADC to be long (S422) (S418) for use as a trigger signal for S406. At this time, the current controller sets the interrupt time to be long so that slow sampling is performed based on the waveform period. If the interrupt time is made longer in the static area, the number of sampling times per cycle is reduced as shown in FIG. In this case, as the number of sampling times is reduced, the load of the microcomputer is reduced and stable signal processing is possible.

이러한 모터의 전류 제어 방법은 프로그램으로 작성 가능하며, 프로그램을 구성하는 코드들 및 코드 세그먼트들은 당해 분야의 프로그래머에 의하여 용이하게 추론될 수 있다. 또한, 모터의 전류 제어 방법에 관한 프로그램은 전자장치가 읽을 수 있는 정보저장매체(Readable Media)에 저장되고, 전자장치에 의하여 읽혀지고 실행될 수 있다.The current control method of such a motor can be created by a program, and the codes and code segments constituting the program can be easily deduced by a programmer in the field. Further, the program relating to the current control method of the motor can be stored in an information storage medium (Readable Media) readable by the electronic device, readable and executed by the electronic device.

이와 같이, 본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Thus, those skilled in the art will appreciate that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. It is therefore to be understood that the embodiments described above are to be considered in all respects only as illustrative and not restrictive. The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.

200 : 전류 제어 장치 210 : 모터
220 : 모터 제어부 230 : 전류 감지부
240 : 저역필터 250 : 마이컴
200: current control device 210: motor
220: motor control unit 230: current sensing unit
240: low-pass filter 250:

Claims (9)

모터구동신호에 따라 모터에 전력을 공급하는 모터 제어부;
상기 모터로부터 출력되는 모터 전류를 감지하는 전류 감지부;
상기 모터 전류를 기 설정된 대역으로 필터링하는 저역 필터(Low Pass Filter); 및
상기 필터링된 모터 전류를 근거로 상기 모터에 인가된 실측 전류값을 산출하고, 기 설정된 목표 전류값과 상기 실측 전류값의 차이값에 따라 가변(dynamic)영역과 정적(static)영역으로 구분하며, 상기 구분된 영역에 따라 ADC(Analog-Digital Converter)의 샘플링(sampling)을 위한 인터럽트 시간을 다르게 설정하고, 상기 설정된 인터럽트 시간에 따라 ADC의 샘플링 횟수를 조절하는 마이컴;
을 포함하는 모터의 전류 제어 장치.
A motor control unit for supplying power to the motor in accordance with the motor drive signal;
A current sensing unit sensing a motor current output from the motor;
A low pass filter for filtering the motor current to a predetermined frequency band; And
Calculating a measured current value applied to the motor based on the filtered motor current and dividing the measured current value into a dynamic range and a static range according to a difference between a preset target current value and a measured current value, A microcomputer configured to set an interrupt time for sampling an analog-digital converter (ADC) according to the divided area and to adjust a sampling frequency of the ADC according to the set interrupt time;
And a current control unit for controlling the current of the motor.
제1항에 있어서,
상기 마이컴은,
구동신호 발생부에서 설정된 인터럽트 시간에 따라 샘플링 횟수를 조절하면서 아날로그 형태의 상기 필터링된 모터 전류를 디지털 형태로 변환하는 ADC(Analog-Digital Converter);
상기 디지털 형태로 변환된 모터 전류로부터 상기 모터에 인가된 실측 전류값을 산출하고, 상기 목표 전류값과 상기 실측 전류값을 비교하여 차이값을 구하는 차이값 연산부; 및
상기 차이값을 기 설정된 기준값과 비교하여 가변영역과 정적영역으로 구분하고, 상기 구분된 영역에 따라 상기 ADC의 샘플링을 위한 인터럽트 시간을 설정하는 구동신호 발생부를 포함하는 것을 특징으로 하는 모터의 전류 제어 장치.
The method according to claim 1,
The microcomputer,
An analog-to-digital converter (ADC) for converting the filtered motor current of the analog form into a digital form while adjusting the sampling frequency according to the interrupt time set by the drive signal generating unit;
A difference value calculation unit for calculating a measured current value applied to the motor from the motor current converted into the digital form and comparing the target current value and the measured current value to obtain a difference value; And
And a drive signal generator for comparing the difference value with a preset reference value to divide the variable area into a static area and an interrupt time for sampling the ADC according to the divided area, Device.
제2항에 있어서,
상기 구동신호 발생부는 상기 차이값이 기준값보다 큰 경우 가변영역으로 구분하고, 차이값이 기준값보다 크지 않은 경우 정적영역으로 구분하는 것을 특징으로 하는 모터의 전류 제어 장치.
3. The method of claim 2,
Wherein the driving signal generator divides the difference into a variable area when the difference value is larger than the reference value and divides the difference into a static area when the difference value is not larger than the reference value.
제2항에 있어서,
상기 구동신호 발생부는, 가변영역의 경우 파형의 주기를 기준으로 빠른 샘플링이 수행되도록 인터럽트 시간을 짧게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용하며, 정적영역의 경우 파형의 주기를 기준으로 느린 샘플링이 수행되도록 인터럽트 시간을 길게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용하는 것을 특징으로 하는 모터의 전류 제어 장치.
3. The method of claim 2,
The driving signal generating unit sets the interrupt time to be shorter in order to perform fast sampling based on the period of the waveform in the case of the variable area, uses the set interrupt time as a trigger signal for sampling the ADC, The interrupt time is set to be long so that slow sampling is performed based on the cycle of the ADC, and the set interrupt time is used as a trigger signal for sampling the ADC.
제2항에 있어서,
상기 구동신호 발생부는 상기 차이값 연산부에서 구한 차이값을 근거로 모터구동신호를 조절하고, 상기 조절된 모터구동신호를 상기 모터 제어부로 전송하는 것을 특징으로 하는 모터의 전류 제어 장치.
3. The method of claim 2,
Wherein the drive signal generation unit adjusts the motor drive signal based on the difference value calculated by the difference value operation unit and transmits the adjusted motor drive signal to the motor control unit.
전류 제어 장치가 모터의 전류를 제어하는 방법에 있어서,
(a) 상기 모터에서 출력되는 모터 전류를 검출하는 단계;
(b) 상기 검출된 모터 전류를 기 설정된 대역으로 필터링하는 단계;
(c) 상기 필터링된 모터 전류를 근거로 상기 모터에 인가된 실측 전류값을 산출하는 단계;
(d) 기 설정된 목표 전류값과 상기 실측 전류값의 차이값에 따라 가변영역과 정적영역으로 구분하는 단계; 및
(e) 상기 구분된 영역에 따라 ADC의 샘플링을 위한 인터럽트 시간을 다르게 설정하는 단계;
를 포함하는 모터의 전류 제어 방법.
A method of controlling a current in a motor by a current control device,
(a) detecting a motor current output from the motor;
(b) filtering the detected motor current to a predetermined band;
(c) calculating a measured current value applied to the motor based on the filtered motor current;
(d) dividing into a variable region and a static region according to a difference between a preset target current value and a measured current value; And
(e) setting an interrupt time for sampling the ADC differently according to the divided area;
And a current control method of the motor.
제6항에 있어서,
상기 (c)단계는,
상기 설정된 인터럽트 시간에 따라 샘플링 횟수를 조절하면서, 상기 필터링된 아날로그 형태의 모터 전류를 디지털 형태로 변환하는 단계; 및
상기 디지털 형태로 변환된 모터 전류로부터 상기 모터에 인가된 실측 전류값을 산출하는 단계를 포함하는 것을 특징으로 하는 모터의 전류 제어 방법.
The method according to claim 6,
The step (c)
Converting the filtered analog motor current into a digital form while adjusting a sampling frequency according to the set interrupt time; And
And calculating a measured current value applied to the motor from the motor current converted into the digital form.
제6항에 있어서,
상기 (d)단계는,
상기 목표 전류값과 실측 전류값의 차이값을 구하는 단계;
상기 차이값을 기 설정된 기준값과 비교하는 단계; 및
상기 차이값이 기준값보다 큰 경우 가변영역으로 구분하고, 차이값이 기준값보다 크지 않은 경우 정적영역으로 구분하는 단계를 포함하는 것을 특징으로 하는 모터의 전류 제어 방법.
The method according to claim 6,
The step (d)
Obtaining a difference value between the target current value and the measured current value;
Comparing the difference value with a preset reference value; And
If the difference value is larger than the reference value, dividing the difference region into a variable region, and if the difference value is not larger than the reference value, dividing the difference region into a static region.
제6항에 있어서,
상기 (e)단계는,
가변영역의 경우 파형의 주기를 기준으로 빠른 샘플링이 수행되도록 인터럽트 시간을 짧게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용하며, 정적영역의 경우 파형의 주기를 기준으로 느린 샘플링이 수행되도록 인터럽트 시간을 길게 설정하고, 상기 설정된 인터럽트 시간을 상기 ADC의 샘플링을 위한 트리거 신호로 이용하는 것을 특징으로 하는 모터의 전류 제어 방법.


The method according to claim 6,
The step (e)
In the case of the variable area, the interrupt time is set to be short so that fast sampling is performed based on the waveform period, and the set interrupt time is used as a trigger signal for sampling the ADC. In the case of the static area, The interrupt time is set to be long so that sampling is performed, and the set interrupt time is used as a trigger signal for sampling the ADC.


KR1020140175351A 2014-12-08 2014-12-08 Electric current control apparatus of motor and method thereof KR101674411B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140175351A KR101674411B1 (en) 2014-12-08 2014-12-08 Electric current control apparatus of motor and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140175351A KR101674411B1 (en) 2014-12-08 2014-12-08 Electric current control apparatus of motor and method thereof

Publications (2)

Publication Number Publication Date
KR20160069416A true KR20160069416A (en) 2016-06-16
KR101674411B1 KR101674411B1 (en) 2016-11-09

Family

ID=56354912

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140175351A KR101674411B1 (en) 2014-12-08 2014-12-08 Electric current control apparatus of motor and method thereof

Country Status (1)

Country Link
KR (1) KR101674411B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117428302A (en) * 2023-12-20 2024-01-23 苏芯物联技术(南京)有限公司 Intelligent dynamic control method and system for air supply flow rate of welded pipeline

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080086421A (en) 2007-03-22 2008-09-25 테크날러지 프라퍼티즈 리미티드 Analog-to-digital conversion
JP2013062985A (en) * 2011-09-14 2013-04-04 Aisin Aw Co Ltd Rotary electric machine controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080086421A (en) 2007-03-22 2008-09-25 테크날러지 프라퍼티즈 리미티드 Analog-to-digital conversion
JP2013062985A (en) * 2011-09-14 2013-04-04 Aisin Aw Co Ltd Rotary electric machine controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Karl Anderson. Implementing an Analog-to-Digital Converter on the Texas Instruments MSP430 Microcontroller, 2013.4.5. 공개* *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117428302A (en) * 2023-12-20 2024-01-23 苏芯物联技术(南京)有限公司 Intelligent dynamic control method and system for air supply flow rate of welded pipeline
CN117428302B (en) * 2023-12-20 2024-02-20 苏芯物联技术(南京)有限公司 Intelligent dynamic control method and system for air supply flow rate of welded pipeline

Also Published As

Publication number Publication date
KR101674411B1 (en) 2016-11-09

Similar Documents

Publication Publication Date Title
US8635906B2 (en) Tracking filter apparatus for wheel monitoring systems
US20140001815A1 (en) Ripple extraction device, motor control apparatus, vehicle seat and ripple extraction method
US8924082B2 (en) System and method for controlling a motor
JP4780223B2 (en) Vehicle drive motor control device
US9076272B2 (en) Wheel speed sensor and interface systems and methods
WO2019137933A1 (en) Ripple count circuit including varying ripple threshold detection
US8633735B2 (en) Signal level adjusting device and high-frequency apparatus
CN1264211A (en) Device and method for eliminating variable deviation capacity of current detectiong signal
KR101674411B1 (en) Electric current control apparatus of motor and method thereof
JP5980958B2 (en) Receiving device for a controller in a vehicle and method for generating a synchronization pulse
US6636033B2 (en) Sensor apparatus and method for generating an output signal of a sensor apparatus
CN103454949A (en) Anti-interference self-adjusting microcontroller system and controlling method thereof
JP5545203B2 (en) Suspension device
KR101638256B1 (en) Resolver excitition signal generation apparatus and method
CN105915143A (en) Driving system, apparatus and method for spindle motor
JP5659989B2 (en) Vehicle approach notification device
KR101982946B1 (en) Method for determining a position and/or change in position of a hydraulic pump of a motor vehicle brake system and motor vehicle brake system
JP6259581B2 (en) Signal processing apparatus and signal processing method
KR101029942B1 (en) Solenoid current control circuit of Vehicle
JP2005020831A (en) Driving force controller at level difference passing time by electric motor vehicle
JP5445819B2 (en) Wheel condition detection device
CN103723047A (en) Signal generating method and controlling method of eddy current retarder braking force
KR101725688B1 (en) Apparatus for processing wheel speed sensor input signal of vehicle and method therof
KR100592379B1 (en) Solenoid Valve Control Device of Automobile Suspension
KR20180132191A (en) Sensing system and method

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