KR20170135275A - Method and Apparatus for Controlling Motor Capable of Programming - Google Patents

Method and Apparatus for Controlling Motor Capable of Programming Download PDF

Info

Publication number
KR20170135275A
KR20170135275A KR1020160066968A KR20160066968A KR20170135275A KR 20170135275 A KR20170135275 A KR 20170135275A KR 1020160066968 A KR1020160066968 A KR 1020160066968A KR 20160066968 A KR20160066968 A KR 20160066968A KR 20170135275 A KR20170135275 A KR 20170135275A
Authority
KR
South Korea
Prior art keywords
motor
information
control
pulse width
receiving
Prior art date
Application number
KR1020160066968A
Other languages
Korean (ko)
Inventor
이상무
이영석
Original Assignee
주식회사 주원테크놀러지
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 주원테크놀러지 filed Critical 주식회사 주원테크놀러지
Priority to KR1020160066968A priority Critical patent/KR20170135275A/en
Publication of KR20170135275A publication Critical patent/KR20170135275A/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
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/46Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors for speed regulation of two or more dynamo-electric motors in relation to one another
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation

Landscapes

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

Abstract

An apparatus and a method for controlling a motor capable of programming are disclosed. According to an aspect of the present invention, provided are an apparatus and a method for simultaneously controlling one or more various motors by using programming. The motor control apparatus comprises: a power reception unit; an information reception unit; a control unit; a pulse width modulation unit; and a flash memory.

Description

프로그래밍이 가능한 모터 제어장치 및 방법{Method and Apparatus for Controlling Motor Capable of Programming}[0001] The present invention relates to a programmable motor control apparatus and method,

본 실시예는 프로그래밍이 가능한 모터 제어장치 및 방법에 관한 것이다.The present embodiment relates to a programmable motor control apparatus and method.

이 부분에 기술된 내용은 단순히 본 실시예에 대한 배경 정보를 제공할 뿐 종래기술을 구성하는 것은 아니다.The contents described in this section merely provide background information on the present embodiment and do not constitute the prior art.

모터 제어장치, 특히, 서보모터 제어장치는 부여된 목표입력에 대한 빠른 추종 응답특성을 갖고, 넓은 속도제어의 범위를 가지며, 정밀하게 움직일 수 있도록 서보 모터에 공급하는 전력을 적합한 형태로 변환하는 등의 제어를 하는 장치이다. The motor control device, in particular, the servo motor control device has a quick follow-up response characteristic to a given target input, has a wide range of speed control, converts the power supplied to the servo motor into a suitable form And the like.

종래의 모터 제어장치는 특정 모터의 프로토콜 또는 인터페이스만을 저장하고 있기 때문에, 특정 모터 이외의 모터는 제어를 할 수 없는 불편이 있었다. 이러한 불편을 해소하고자 등장한 모터 제어장치가 범용 모터 제어장치이다. 그러나 이러한 범용 모터 제어장치는 다양한 모터로의 제어를 지원하기 위해 불필요한 많은 핀들을 보유하게 된다. 예를 들어, A 모터의 제어를 지원하기 위해 반드시 필요한 a1, a2 핀은 B 모터의 제어를 지원하는 데에 아무런 필요가 없을 경우가 존재한다. 이런 경우, 범용 모터 제어장치가 B 모터의 제어를 지원하는 경우, a1, a2 핀은 아무런 역할도 하지 않으면서 불필요하게 핀의 개수만을 차지하게 되는 불편이 존재하였다.Since the conventional motor control apparatus stores only the protocol or interface of a specific motor, there is inconvenience that a motor other than the specific motor can not be controlled. The motor control device that appears to overcome such inconvenience is a general-purpose motor control device. However, this general-purpose motor control device has many unnecessary pins to support control with various motors. For example, there is a case in which there is no need to support the control of the B motor because the a1 and a2 pins, which are necessary to support the control of the A motor, are unnecessary. In this case, when the general-purpose motor control device supports the control of the B motor, the a1 and a2 pins do not perform any role, and there is an inconvenience that the number of pins is unnecessarily occupied.

본 실시예는, 프로그래밍을 이용하여 하나 이상의 다양한 모터를 동시에 제어할 수 있는 장치 및 방법을 제공하는 데 일 목적이 있다.The purpose of the present embodiment is to provide an apparatus and a method that can simultaneously control one or more various motors using programming.

본 실시예의 일 측면에 의하면, 모터의 구동을 제어하기 위한 모터 제어장치에 있어서, 상기 모터 제어장치의 각각의 구성을 구동하기 위한 구동전원 및 상기 모터의 구동을 제어하기 위한 제어전원을 수신하는 전원 수신부와 상기 모터 제어장치와 연결된 모터에 대한 환경정보, 상기 모터의 구동을 제어하기 위한 제어정보 및 상기 모터 또는 상기 모터 제어장치로부터 피드백 정보를 수신하는 정보 수신부와 상기 환경정보를 이용하여 상기 모터 제어장치에 포함된 일부 또는 전부의 구성의 설정을 제어하며, 상기 제어정보 또는 상기 피드백 정보를 이용하여 상기 제어전원의 펄스폭을 변조하도록 제어하는 제어부와 상기 제어부의 제어에 따라 상기 제어전원의 펄스폭을 변조하는 펄스폭 변조부 및 상기 모터 제어장치에 포함된 일부 또는 전부의 구성에 관한 정보, 상기 제어부의 제어에 따라 발생하는 임시 정보 및 기타 정보를 저장하는 플래시메모리를 포함하는 것을 특징으로 하는 모터 제어장치를 제공한다.According to an aspect of the present invention, there is provided a motor control apparatus for controlling the driving of a motor, comprising: a power source for receiving a driving power source for driving each configuration of the motor control apparatus and a control power source for controlling driving of the motor; An information receiving unit for receiving environment information on a receiving unit and a motor connected to the motor control unit, control information for controlling driving of the motor, and feedback information from the motor or the motor control unit, A controller for controlling the setting of some or all of the components included in the apparatus and controlling the pulse width of the control power supply using the control information or the feedback information; A pulse width modulating section for modulating the pulse width modulated by the pulse width modulating section, And a flash memory for storing temporary information and other information generated according to the control of the control unit.

또한, 본 실시예의 다른 측면에 의하면, 모터의 구동을 제어하기 위한 모터 제어장치의 구동 방법에 있어서, 상기 모터 제어장치의 각각의 구성을 구동하기 위한 구동전원 및 상기 모터의 구동을 제어하기 위한 제어전원을 수신하는 전원 수신과정과 상기 모터 제어장치에 포함된 일부 또는 전부의 구성에 대한 환경정보, 상기 모터의 구동을 제어하기 위한 제어정보 및 상기 모터 또는 상기 모터 제어장치로부터 피드백 정보를 수신하는 정보 수신과정과 상기 환경정보를 이용하여 상기 모터 제어장치에 포함된 일부 또는 전부의 구성의 설정을 제어하는 설정 제어과정과 상기 제어정보를 이용하여 상기 제어전원의 펄스폭을 변조하여 상기 모터로 전송하는 변조과정과 펄스폭이 변조된 제어전원 및 상기 모터로부터 상기 모터의 위치 정보, 홀 정보를 수신하는 피드백 정보 수신과정 및 상기 피드백 정보 수신과정에서 수신한 정보를 이용하여 상기 제어전원의 펄스폭을 재변조하여 상기 모터로 전송하는 재변조과정을 포함하는 것을 특징으로 하는 모터 제어장치 구동 방법을 제공한다.According to another aspect of the present invention, there is provided a driving method of a motor control apparatus for controlling driving of a motor, the method comprising: driving power for driving each configuration of the motor control apparatus; and control for controlling driving of the motor A power receiving process for receiving a power supply, environment information on a part or all of the configurations included in the motor control device, control information for controlling driving of the motor, and information for receiving feedback information from the motor or the motor control device A setting control process of controlling the configuration of some or all of the components included in the motor control apparatus using the reception process and the environment information, and a control process of modulating the pulse width of the control power supply to the motor A control power source for modulating a pulse width and a modulation process, and a controller for receiving the position information and the hole information of the motor from the motor Modulating the pulse width of the control power source using the information received in the feedback information receiving step and the feedback information receiving step and transmitting the modulated pulse width to the motor. to provide.

이상에서 설명한 바와 같이 본 실시예의 일 측면에 따르면, 별도의 하드웨어의 교체 없이도 프로그래밍을 이용하여 다양한 모터를 제어할 수 있으며, 필요에 따라 하나 이상의 다양한 모터를 동시에 제어할 수 있는 장점이 있다.As described above, according to the embodiment of the present invention, it is possible to control various motors by using programming without replacing any hardware, and to control one or more various motors at the same time if necessary.

도 1은 본 발명의 일 실시예에 따른 서보 드라이버를 포함하는 모터제어 시스템을 개략적으로 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 서보 드라이버의 구성을 도시한 도면이다.
도 3은 본 발명의 일 실시예에 따른 플래시 메모리에 데이터가 저장되는 예를 도시한 도면이다.
도 4는 본 발명의 일 실시예에 따른 서보 드라이버의 구동 방법을 도시한 순서도이다.
1 is a schematic view of a motor control system including a servo driver according to an embodiment of the present invention.
2 is a diagram illustrating a configuration of a servo driver according to an embodiment of the present invention.
3 is a diagram illustrating an example in which data is stored in a flash memory according to an embodiment of the present invention.
4 is a flowchart illustrating a method of driving a servo driver according to an embodiment of the present invention.

이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to exemplary drawings. It should be noted that, in adding reference numerals to the constituent elements of the drawings, the same constituent elements are denoted by the same reference symbols as possible even if they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 명세서 전체에서, 어떤 부분이 어떤 구성요소를 '포함', '구비'한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 '…부', '모듈' 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.In describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are intended to distinguish the constituent elements from other constituent elements, and the terms do not limit the nature, order or order of the constituent elements. Throughout the specification, when an element is referred to as being "comprising" or "comprising", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise . In addition, '... Quot ;, " module ", and " module " refer to a unit that processes at least one function or operation, and may be implemented by hardware or software or a combination of hardware and software.

도 1은 본 발명의 일 실시예에 따른 서보 드라이버를 포함하는 모터제어 시스템을 개략적으로 도시한 도면이다.1 is a schematic view of a motor control system including a servo driver according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 모터제어 시스템(100)은 마스터 장치(110), 전원장치(120), 환경정보 제공장치(130), 서보 드라이버(140), 엔코더(150) 및 모터(160)를 포함하여 구성된다.Referring to FIG. 1, a motor control system 100 according to an embodiment of the present invention includes a master device 110, a power supply device 120, an environment information providing device 130, a servo driver 140, an encoder 150 And a motor 160. As shown in Fig.

마스터 장치(110)는 모터(160)의 목표 제어상태를 설정하고, 이를 서보 드라이버(140)로 제공한다. 마스터 장치(110)는 PC, 서버, 또는 별도의 모터를 제어하기 위한 드라이버로 구현될 수 있으나, 반드시 이에 한정되는 것은 아니고, 모터(160)의 목표 제어상태를 설정할 수 있는 장치이면 어떤 것으로도 구현될 수 있다. 마스터 장치(110)는 목표 제어상태를 설정하고, 설정한 목표 제어정보를 서보 드라이버(140)로 전송한다. 마스터 장치(110)는 목표 제어정보를 서보 드라이버(140)로 전송함에 있어, 유선으로 연결되어 펄스를 이용하여 전송할 수도 있고, 통신을 이용하여 전송할 수 있다. 마스터 장치(110)는 RS-232, 422 또는 485 방식을 이용하여 서보 드라이버(140)와 연결될 수 있으며, IEEE 802.3 방식을 이용하여 서보 드라이버(140)와 연결될 수 있다. 이처럼, 마스터 장치(110)는 유선 또는 전술한 통신 방식을 이용하여 서보 드라이버(140)와 연결된 후, 목표 제어정보를 서보 드라이버(140)로 전송한다. The master device 110 sets the target control state of the motor 160 and provides it to the servo driver 140. The master device 110 may be implemented as a PC, a server, or a driver for controlling a separate motor. However, the master device 110 may be implemented as any device capable of setting a target control state of the motor 160 . The master device 110 sets the target control state and transmits the set target control information to the servo driver 140. [ In transmitting the target control information to the servo driver 140, the master device 110 may be connected by a wire, transmitted using a pulse, or transmitted using communication. The master device 110 may be connected to the servo driver 140 using an RS-232, 422, or 485 scheme and may be connected to the servo driver 140 using an IEEE 802.3 scheme. As described above, the master device 110 is connected to the servo driver 140 using a wired or communication method as described above, and then transmits the target control information to the servo driver 140.

전원장치(120)는 서보 드라이버(140)로 전원을 제공한다. 전원장치(120)는 서보 드라이버(140)가 구동할 수 있도록 하는 구동전원을 제공한다. 전원장치(120)는 서보 드라이버(140)로 구동전원을 제공함으로써, 서보 드라이버(140) 내에 존재하는 각각의 구성이 자신의 역할을 수행할 수 있도록 한다. 또한, 전원장치(120)는 모터를 동작시키기 위한 제어전원을 서보 드라이버(140)로 제공한다. 전원장치(120)는 서보 드라이버(140)로 제어전원을 제공하며, 서보 드라이버(140)는 제어전원을 목표 제어정보에 따라 변조를 하여 모터(160)로 전달한다. 전원장치(120)는 서보 드라이버(140)로 구동전원과 제어전원을 분리하여 별도의 핀으로 제공하거나, 구동전원과 제어전원을 동일한 핀으로 제공할 수 있다.The power supply unit 120 supplies power to the servo driver 140. [ The power supply unit 120 provides driving power for driving the servo driver 140. The power supply unit 120 provides driving power to the servo driver 140 so that each configuration existing in the servo driver 140 can perform its role. Further, the power supply apparatus 120 provides the servo driver 140 with a control power for operating the motor. The power supply 120 provides the control power to the servo driver 140 and the servo driver 140 modulates the control power according to the target control information and transmits the control power to the motor 160. The power supply 120 may be provided with a separate pin by separating the driving power and the control power from the servo driver 140 or may provide the driving power and the control power to the same pin.

환경정보 제공장치(130)는 서보 드라이버(140)로 서보 드라이버(140)와 연결된 모터에 대한 환경정보를 제공한다. 환경정보라 함은 서보 드라이버(140)와 연결될 모터의 전반적인 정보를 의미하며, 모터의 종류, 모터가 사용하는 프로토콜 및 모터의 개수 중 일부 또는 전부를 포함한다. 환경정보 제공장치(130)는 서보 드라이버(140)로 환경정보를 제공하며, 서보 드라이버(140)는 환경정보에 따라 서보 드라이버(140) 내에 포함된 구성을 설정한다.The environmental information providing device 130 provides environment information about the motor connected to the servo driver 140 by the servo driver 140. [ The environmental information refers to general information of a motor to be connected to the servo driver 140 and includes some or all of the type of the motor, the protocol used by the motor, and the number of the motors. The environment information providing device 130 provides environment information to the servo driver 140 and the servo driver 140 sets the configuration included in the servo driver 140 according to the environment information.

서보 드라이버(140)는 목표 제어정보를 수신하여 모터로 제공할 전원을 제어한다. 서보 드라이버(140)는 마스터 장치(110)로부터 목표 제어정보를 수신하고, 전원장치(120)로부터 수신한 제어전원을 목표 제어정보에 따라 변조한다. 서보 드라이버(140)는 변조한 제어전원을 모터(160)로 제공한다. 또한, 서보 드라이버(140)는 환경정보 제공장치(130)로부터 수신한 환경정보에 따라 서보 드라이버(140) 내에 포함된 각각의 구성을 설정한다. 이에 대한 상세한 설명은 도 2를 참조하여 설명하기로 한다.The servo driver 140 receives the target control information and controls power to be supplied to the motor. The servo driver 140 receives the target control information from the master device 110 and modulates the control power received from the power supply device 120 according to the target control information. The servo driver 140 provides the modulated control power to the motor 160. In addition, the servo driver 140 sets respective configurations included in the servo driver 140 according to the environment information received from the environment information providing device 130. [ A detailed description thereof will be made with reference to FIG.

엔코더(Encoder, 150)는 모터(160)의 샤프트의 회전수나 회전 각도(절대 위치)를 검출한다. 엔코더(150)는 홀 센서(Hall Sensor)를 포함할 수 있으며, 이를 이용해 모터(160)의 샤프트의 회전수나 회전 각도를 검출할 수 있다. 엔코더(150)는 이와 같이 검출한 모터(160)의 샤프트의 회전수나 회전 각도를 서보 드라이버(140)로 제공한다. An encoder (Encoder) 150 detects the number of revolutions or rotation angle (absolute position) of the shaft of the motor 160. The encoder 150 may include a Hall sensor, and can detect the number of revolutions or the rotation angle of the shaft of the motor 160. The encoder 150 provides the servo driver 140 with the rotation number or rotation angle of the shaft of the motor 160 thus detected.

도 2는 본 발명의 일 실시예에 따른 서보 드라이버의 구성을 도시한 도면이다.2 is a diagram illustrating a configuration of a servo driver according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 서보 드라이버(140)는 전원 수신부(210), 정보 수신부(220), 플래시 메모리(230), 제어부(240) 및 펄스폭 변조부(250)를 포함하여 구성된다. 2, the servo driver 140 includes a power receiver 210, an information receiver 220, a flash memory 230, a controller 240, and a pulse width modulator 250, .

서보 드라이버(140)는 모든 구성(210 내지 250)을 포함하는 하나의 IC(Integrated Circuit)로 구현될 수 있다. 종래의 서보 드라이버는 다양한 기능을 갖는 각각의 구성이 따로따로 구현되어 있어, 각각의 구성의 연결관계가 복잡해지며, 구현에 있어서도 번잡한 불편이 존재하였다. 반면, 본 발명의 일 실시예에 따른 서보 드라이버(140)는 모든 구성(210 내지 250)을 포함하는 하나의 IC(Integrated Circuit)로 구현되기 때문에, 생산이 용이해진다. 서보 드라이버(140)는 FPGA(Field Programmable Gate Array)로 구현될 수 있으나, 반드시 이에 한정되는 것은 아니며, 외부로부터 펌웨어의 업데이트를 이용해 프로그래밍이 가능한 IC라면 어떠한 구성으로도 구현될 수 있다.The servo driver 140 may be implemented as one integrated circuit (IC) including all the components 210 to 250. [ In the conventional servo driver, the respective constitutions having various functions are separately implemented, and the connection relation of each constitution becomes complicated, and there is also a complicated inconvenience in the implementation. On the other hand, since the servo driver 140 according to an embodiment of the present invention is implemented as one IC (Integrated Circuit) including all the components 210 to 250, production is facilitated. The servo driver 140 may be implemented as an FPGA (Field Programmable Gate Array), but the present invention is not limited thereto, and any structure can be used as long as it is an IC that can be programmed using firmware update from the outside.

전원 수신부(210)는 전원장치(120)로부터 전원을 수신한다. 전원 수신부(210)는 전원장치(120)로부터 구동전원에 해당하는 전류 및 전압과 제어전원에 해당하는 전류 및 전압을 수신한다. 전원 수신부(210)는 구동전원을 수신하는 포트와 제어전원을 수신하는 포트를 분리하여 구현될 수 있고, 단일의 포트로 구동전원 및 제어전원을 수신하여 내부에서 두 전원을 분리(Isolation)할 수 있다.The power receiving unit 210 receives power from the power supply unit 120. The power receiving unit 210 receives the current and voltage corresponding to the driving power and the current and voltage corresponding to the controlling power from the power supply 120. The power receiving unit 210 may be realized by separating a port receiving the driving power and a port receiving the control power, and may receive the driving power and the control power from a single port, have.

전원 수신부(210)는 전원장치(120) 내에서 이미 디지털 값으로 변환된 전원을 수신할 수 있다. 그러나 전원 수신부(210)는 전원장치(120)로부터 아날로그 값의 전원을 수신할 수 있다. 이러한 경우, 전원 수신부(210)는 ADC(Analog-to-Digital Converter, 미도시)를 포함할 수 있으며, Sinc3 필터와 같은 데시메이션 필터(Decimation Filter, 미도시)를 추가적으로 더 포함할 수 있다. 이처럼, 전원 수신부(210)는 디지털화된 전원을 수신하거나, 수신된 전원을 디지털화하여 제어부(240)로 전달한다.The power receiving unit 210 can receive power that has already been converted into a digital value in the power supply 120. [ However, the power receiving unit 210 may receive power of an analog value from the power supply unit 120. [ In this case, the power receiver 210 may include an ADC (Analog-to-Digital Converter) (not shown), and may further include a decimation filter (not shown) such as a Sinc3 filter. The power receiving unit 210 receives the digitized power or digitizes the received power and transmits the digitized power to the control unit 240.

정보 수신부(220)는 마스터 장치(110), 환경정보 제공장치(130) 및 모터(160)로부터 정보를 수신한다. 정보 수신부(220)는 환경정보 수신부(223), 제어정보 수신부(226) 및 피드백 정보 수신부(229)를 포함하여 구성된다.The information receiving unit 220 receives information from the master device 110, the environment information providing device 130, and the motor 160. The information receiving unit 220 includes an environment information receiving unit 223, a control information receiving unit 226, and a feedback information receiving unit 229.

환경정보 수신부(223)는 환경정보 제공장치로부터(130) 환경정보를 수신한다. 환경정보 수신부(223)는 제어부(240)의 제어에 따라 환경정보 제공장치(130)와 유선으로 연결되도록 구현되거나 RS 232, 422 또는 485와 같은 이더캣(Ethercat) 또는 IEEE 802.3과 같은 무선 통신을 이용하여 연결되도록 구현될 수 있으며, 환경정보 제공장치(130)로부터 환경정보를 수신한다. 환경정보 수신부(223)는 수신한 환경정보를 플래시 메모리(230)로 전달하여 저장한다.The environment information receiving unit 223 receives the environmental information from the environment information providing apparatus (130). The environment information receiving unit 223 is connected to the environment information providing apparatus 130 in a wired manner under the control of the control unit 240 or may perform wireless communication such as an Ethercat or IEEE 802.3 such as RS 232, And receives environment information from the environment information providing device 130. [0050] FIG. The environment information receiving unit 223 transfers the received environment information to the flash memory 230 and stores the environment information.

제어정보 수신부(226)는 마스터 장치(110)로부터 목표 제어정보를 수신한다. 제어정보 수신부(226)는 제어부(240)의 제어에 따라, 마스터 장치(110)와 유선으로 연결되도록 구현되거나 RS 232, 422 또는 485와 같은 이더캣(Ethercat), IEEE 802.3 또는 메카트로링크(Mechatrolink) 등과 같은 무선 통신을 이용하여 연결되도록 구현될 수 있다. 제어정보 수신부(226)는 마스터 장치(110)와 유선 또는 무선으로 연결되어 목표 제어정보를 수신한 후, 이를 제어부(240)로 전달한다.The control information receiving unit 226 receives the target control information from the master device 110. [ The control information receiving unit 226 may be implemented as a wired connection to the master device 110 or an Ethercat such as RS 232, 422 or 485, an IEEE 802.3 or a Mechatrolink ), And the like. The control information receiving unit 226 is connected to the master device 110 by wire or wirelessly, and receives the target control information, and then transmits the target control information to the control unit 240.

피드백 정보 수신부(229)는 엔코더 또는 펄스폭 변조부(250)로부터 피드백 정보를 수신한다. 피드백 정보는 모터의 위치 정보 또는 홀 정보일 수 있으며, 펄스폭이 변조된 제어전원에 관한 정보일 수 있다. 제어부(240)가 목표 제어정보에 따라 적절히 모터를 제어하였는지를 실시간으로 확인할 수 있도록, 피드백 정보 수신부(229)는 엔코더(150)로부터 피드백 정보를 수신하여 제어부(240)로 전달한다. 이에 따라, 제어부(240)는 수신한 목표 제어정보에 따라 적절히 모터가 제어되었는지를 실시간으로 확인할 수 있으며, 적절히 제어하지 못한 경우 다시 모터(160)로 제공할 펄스폭을 재변조하도록 제어할 수 있다. 또한, 피드백 정보 수신부(229)는 펄스폭 변조부(250)로부터 펄스폭이 변조된 제어전원에 관한 정보를 수신할 수 있다. 피드백 정보 수신부(229)가 제어전원에 관한 정보를 수신하여 제어부(240)로 전달하며, 제어부(240)는 펄스폭 변조부(250)가 자신의 제어에 따라 변조를 하였는지를 확인한다. 제어부(240)는 펄스폭 변조부(250)가 자신의 제어에 따라 제대로 변조하였는지 여부를 확인하며, 제대로 변조하지 않은 경우 펄스폭을 재변조하도록 제어할 수 있다. The feedback information receiving unit 229 receives feedback information from the encoder or the pulse width modulating unit 250. The feedback information may be positional information or hole information of the motor, and may be information on the control power whose pulse width is modulated. The feedback information receiving unit 229 receives the feedback information from the encoder 150 and transmits the feedback information to the controller 240 so that the controller 240 can appropriately check whether the motor is controlled according to the target control information in real time. Accordingly, the control unit 240 can confirm in real time whether the motor is appropriately controlled according to the received target control information, and can control to re-modulate the pulse width to be provided to the motor 160 again if not properly controlled . The feedback information receiving unit 229 may receive information on the control power source whose pulse width is modulated from the pulse width modulating unit 250. [ The feedback information receiving unit 229 receives information on the control power source and transmits the information to the control unit 240. The control unit 240 confirms whether the pulse width modulation unit 250 modulated according to its own control. The controller 240 can check whether the pulse width modulator 250 has properly modulated according to its own control, and can control to re-modulate the pulse width if it is not properly modulated.

제어부(240)의 제어에 따라, 피드백 정보 수신부(229)는 유선으로 엔코더(150)와 연결되거나 UART(Universal Asynchronous Receiver/Transmitter) 또는 BISS(BIdirectional Serial Synchronous) 프로토콜 등을 이용한 무선 통신으로 엔코더(150)와 연결될 수 있도록 구현된다. 엔코더(150)는 스탠다드(Standard) 엔코더와 시리얼(Serial) 엔코더가 존재한다. 스탠다드 엔코더는 A상, B상 등을 갖는 펄스를 이용하여 모터의 위치 정보나 홀 정보를 서보 드라이버(140)로 전달하며, 시리얼 엔코더는 UART 또는 BISS 프로토콜 등을 이용한 무선통신을 이용하여 모터의 위치 정보나 홀 정보를 서보 드라이버(140)로 전달한다. 피드백 정보 수신부(229)는 스탠다드(Standard) 엔코더 또는 시리얼(Serial) 엔코더 각각과 연결될 수 있는 포트를 모두 구비하거나, 하나의 포트만을 구비하며 제어부(240)의 제어에 따라 스탠다드(Standard) 엔코더 또는 시리얼(Serial) 엔코더 중 어느 하나와 연결될 수 있도록 구현될 수 있다.The feedback information receiving unit 229 is connected to the encoder 150 via a wire or a wireless communication using a universal asynchronous receiver / transmitter (UART) or a bi-directional serial synchronous (BISS) ). ≪ / RTI > The encoder 150 includes a standard encoder and a serial encoder. The standard encoder transmits the position information and the hole information of the motor to the servo driver 140 using a pulse having the A-phase, the B-phase, etc., and the serial encoder uses the wireless communication using the UART or BISS protocol, And transfers the information or the hole information to the servo driver 140. The feedback information receiving unit 229 may include either a standard encoder or a serial encoder or may include only one port and may be a standard encoder or a serial And a serial encoder.

플래시 메모리(230)는 서보 드라이버에 관한 정보, 제어부(240)의 제어에 관한 정보 및 사용자가 별도로 저장하기 위한 정보를 저장한다. 플래시 메모리(230)에 대해서는 도 3에 보다 상세히 도시하였다.The flash memory 230 stores information on the servo driver, information on the control of the control unit 240, and information for the user to store separately. The flash memory 230 is shown in more detail in FIG.

도 3은 본 발명의 일 실시예에 따른 플래시 메모리에 데이터가 저장되는 예를 도시한 도면이다.3 is a diagram illustrating an example in which data is stored in a flash memory according to an embodiment of the present invention.

플래시 메모리(230)는 서보 드라이버에 관한 정보를 저장하는 서보 드라이버 영역(310), 제어부(240)의 제어에 관한 정보를 저장하는 제어부 영역(320) 및 사용자가 별도로 저장하기 위한 정보를 저장하는 사용자 영역(330)으로 구성된다.The flash memory 230 includes a servo driver area 310 for storing information on the servo driver, a control area 320 for storing information on control of the control part 240, Area 330 as shown in FIG.

서보 드라이버 영역(310)은 서보 드라이버의 구성에 관한 정보를 저장한다. 환경정보, 특히, 모터의 종류 또는 모터가 사용하는 프로토콜에 따라 구현되어야 하는 서보 드라이버의 구성을 대응하여 저장한다. 서보 드라이버 영역(310)에는, 예를 들어, 모터의 종류가 A인 경우, 환경정보 수신부는 유선을 이용하여 연결되며, 제어정보 수신부는 RS 485를 이용하여 연결된다는 정보가 저장된다. 또한, 플래시 메모리(230)는 환경정보 수신부(223)로부터 환경정보를 수신하여 이를 저장하며 제어부(240)로 제공한다.The servo driver area 310 stores information on the configuration of the servo driver. And stores the environment information, in particular, the configuration of the servo driver to be implemented according to the type of the motor or the protocol used by the motor. In the servo driver area 310, for example, when the type of the motor is A, information indicating that the environment information receiving unit is connected using a wire, and the control information receiving unit is connected using the RS 485 is stored. The flash memory 230 receives environment information from the environment information receiving unit 223, stores the environment information, and provides the environment information to the control unit 240.

제어부 영역(320)은 제어부(240)가 정보 수신부(220) 각각의 구성, 펄스폭 변조부(250) 또는 기타 구성을 제어하며 제어 도중 발생할 수 있는 임시 데이터를 저장하거나, 제어정부 수신부(226)로부터 수신한 목표 제어정보를 저장할 수 있다. The controller section 320 controls the configuration of each of the information receiving sections 220, the pulse width modulating section 250 or other configurations and stores temporary data that may occur during the control of the information receiving sections 220, And the target control information.

사용자 영역(330)은 사용자가 별도로 저장하기 위한 정보를 저장한다. 서보 드라이버에 관한 정보 및 제어부(240)의 제어에 관한 정보 외에 별도로 저장이 필요한 정보는 사용자 영역(330)에 저장된다.The user area 330 stores information for the user to separately store. Information that needs to be stored separately in addition to information on the servo driver and control of the control unit 240 is stored in the user area 330. [

플래시 메모리(230)는 EEPROM(Electrically Erasable Programmable Read-Only Memory)로 구현될 수 있으나, 반드시 이에 한정되는 것은 아니고, 전기 공급이 끊긴 상태에서도 장기간 기억이 가능하며, 기록된 데이터를 지우고 쓰는 것이 가능한 기억장치는 어떠한 것으로도 대체될 수 있다.The flash memory 230 may be implemented as an EEPROM (Electrically Erasable Programmable Read-Only Memory), but the present invention is not limited thereto. The flash memory 230 may store data for a long period of time even when the power supply is cut off, The device may be replaced by anything.

제어부(240)는 수신한 환경정보에 따라 서보 드라이버(140) 내의 구성을 설정하며, 수신한 목표 제어정보에 따라 모터로 제공할 제어전원의 펄스폭 변조를 제어한다.The control unit 240 sets the configuration in the servo driver 140 according to the received environment information and controls the pulse width modulation of the control power to be provided to the motor according to the received target control information.

제어부(240)는 수신한 환경정보에 따라 서보 드라이버(140) 내의 구성을 설정한다. 플래시 메모리(230)에 환경정보 수신부(223)가 수신한 환경정보가 저장된 경우, 제어부(240)는 플래시 메모리(230)에 저장된 환경정보로 엑세스한다. 제어부(240)는 환경정보로 엑세스하여, 수신한 환경정보에 따라 서보 드라이버(140) 내의 구성을 설정한다. 예를 들어, 환경정보 수신부와 유선을 이용하여 연결되며, 제어정보 수신부와 RS 485를 이용하여 연결되는 모터를 2개 제어해야 한다는 환경정보를 수신한 경우, 제어부(240)는 환경정보 수신부(223)과 제어정보 수신부(226)를 각각 유선 및 RS 485를 이용하도록 제어하며, 2개의 모터 각각에 제공할 펄스폭을 변조하도록 펄스폭 변조부를 2개 구비하도록 설정할 수 있다. 필요에 따라, 제어부(240)는 도 2에 도시된 구성 외의 구성을 구비하도록 제어할 수 있다. 예를 들어, 제어부(240)는 서보 드라이버(140)가 GPIO부(미도시)를 더 포함하도록 설정하여 모터와 GPIO부를 이용해 별도의 신호를 입출력할 수 있다. 즉, 제어부(240)는 환경정보 내에 포함된 모터의 종류 또는 모터가 사용하는 프로토콜에 따라 서보 드라이버(140) 내의 구성에 대해 각각의 구성의 인터페이스 또는 프로토콜을 제어하거나, 모터의 개수에 따라 필요한 각각의 구성의 개수를 제어한다. 제어부(240)는 이와 같이 수신한 환경정보에 따라 서보 드라이버(140)의 구성을 설정하기 위해, 플래시 메모리(230)로부터 환경정보에 따라 구현되어야 하는 서보 드라이버의 구성에 관한 정보를 엑세스한다.The control unit 240 sets the configuration in the servo driver 140 according to the received environment information. When the environment information received by the environment information receiving unit 223 is stored in the flash memory 230, the control unit 240 accesses the environment information stored in the flash memory 230. The control unit 240 accesses the environment information and sets the configuration in the servo driver 140 according to the received environment information. For example, when environmental information is received that is connected to the environment information receiving unit by using a wire, and that two motors connected by using the RS 485 are to be controlled, the control unit 240 controls the environment information receiving unit 223 And the control information receiving unit 226 to use the wire and the RS 485 respectively and to set the pulse width modulation units to modulate the pulse width to be provided to each of the two motors. If necessary, the control unit 240 can be controlled to have a configuration other than the configuration shown in Fig. For example, the control unit 240 may set the servo driver 140 to further include a GPIO unit (not shown) to input and output a separate signal using the motor and the GPIO unit. That is, the control unit 240 controls the interface or protocol of each configuration to the configuration in the servo driver 140 according to the type of the motor included in the environment information or the protocol used by the motor, As shown in FIG. The control unit 240 accesses the information on the configuration of the servo driver to be implemented according to the environment information from the flash memory 230 to set the configuration of the servo driver 140 according to the received environment information.

제어부(240)는 수신한 목표 제어정보에 따라 모터로 제공할 제어전원의 펄스폭 변조를 제어한다. 제어부(240)는 전원 수신부(210)로부터 수신한 제어전원에 대해 펄스폭 변조가 이루어지도록 펄스폭 변조부(250)를 제어한다. 펄스폭 변조를 하는 이유는 전압과 전류의 진폭을 직접 변화시키기는 물리적으로 상당한 제약이 있기 때문에, 제어전원(전압과 전류)에 펄스폭 변조를 실시한다. 제어전원이 펄스폭 변조되면, 펄스폭을 제어함으로써 전압과 전류의 진폭을 변화시키는 것과 동일한 효과를 가져올 수 있다. 이에 따라, 제어부(240)는 수신한 제어전원에 대해 펄스폭 변조가 이루어지도록 펄스폭 변조부(250)를 제어한다. 제어부(240)는 펄스폭 변조부(250)를 제어함에 있어, 제어정보 수신부(226)로부터 수신한 목표 제어정보에 따라 펄스폭 변조가 실시되도록 펄스폭 변조부(250)를 제어한다.The control unit 240 controls the pulse width modulation of the control power to be provided to the motor according to the received target control information. The control unit 240 controls the pulse width modulation unit 250 so that pulse width modulation is performed on the control power received from the power receiving unit 210. The reason for the pulse width modulation is that the control power (voltage and current) is subjected to pulse width modulation because there is a physically significant limitation to directly vary the amplitude of the voltage and current. When the control power is pulse width modulated, the same effect as changing the amplitude of the voltage and the current can be obtained by controlling the pulse width. Accordingly, the control unit 240 controls the pulse width modulation unit 250 so that the received control power is subjected to pulse width modulation. The control unit 240 controls the pulse width modulation unit 250 to control the pulse width modulation unit 250 such that the pulse width modulation is performed according to the target control information received from the control information reception unit 226.

펄스폭 변조부(250)는 제어부(240)의 제어에 따라 제어전원에 펄스폭 변조를 실시한다. 펄스폭 변조(PWM: Pulse Width Modulation)를 하는 이유는 전술한 바와 같이 모터로 제공할 제어전원의 진폭을 보다 용이하게 변화시키기 위함이다. 펄스폭 변조부(250)는 펄스폭 변조에 의해 생성한 펄스를 모터(160) 및 피드백 정보 수신부(229)로 제공한다.The pulse width modulation unit 250 performs pulse width modulation on the control power source under the control of the control unit 240. [ The reason why the pulse width modulation (PWM) is performed is to more easily change the amplitude of the control power to be provided to the motor as described above. The pulse width modulator 250 provides the pulse generated by the pulse width modulation to the motor 160 and the feedback information receiver 229.

도 4는 본 발명의 일 실시예에 따른 서보 드라이버의 구동 방법을 도시한 순서도이다.4 is a flowchart illustrating a method of driving a servo driver according to an embodiment of the present invention.

서보 드라이버(140)는 전원장치로부터 구동전원 및 환경정보 제공장치로부터 환경정보를 수신한다(S410). 서보 드라이버(140) 내의 전원 수신부(210)는 전원장치(120)로부터 서보 드라이버(140)를 구동시킬 구동전원을 수신한다. 이와 함께, 서보 드라이버(140) 내의 환경정보 수신부(223)는 환경정보 제공장치(130)로부터 서보 드라이버(140) 내의 구성을 설정하기 위한 환경정보를 수신한다.The servo driver 140 receives environmental information from the power source and the drive power source and environment information providing apparatus (S410). The power receiving unit 210 in the servo driver 140 receives the driving power for driving the servo driver 140 from the power supply unit 120. [ The environment information receiving unit 223 in the servo driver 140 receives environment information for setting the configuration in the servo driver 140 from the environment information providing device 130. [

서보 드라이버(140)는 수신한 환경정보에 따라 서보 드라이버 내의 구성을 설정한다(S420). 서보 드라이버(140) 내의 환경정보 수신부(229)가 수신한 환경정보는 플래시 메모리(230)에 저장되며, 서보 드라이버(140) 내의 제어부(240)는 플래시 메모리(230)에 저장된 환경정보에 엑세스하여 환경정보에 따라 서보 드라이버 내의 각각의 구성을 설정한다. 제어부(240)는 환경정보 내에 포함된 모터의 종류 또는 모터가 사용하는 프로토콜에 따라 서보 드라이버(140) 내의 구성에 대해 각각의 구성의 인터페이스 또는 프로토콜을 제어하거나, 모터의 개수에 따라 필요한 각각의 구성의 개수를 제어한다. The servo driver 140 sets the configuration in the servo driver according to the received environment information (S420). The environment information received by the environment information receiving unit 229 in the servo driver 140 is stored in the flash memory 230 and the control unit 240 in the servo driver 140 accesses the environment information stored in the flash memory 230 And sets each configuration in the servo driver according to the environment information. The control unit 240 controls the interface or protocol of each configuration to the configuration in the servo driver 140 according to the type of the motor included in the environment information or the protocol used by the motor, .

서보 드라이버(140)는 전원장치로부터 제어전원 및 마스터 장치로부터 목표 제어정보 수신한다(S430). 서보 드라이버(140) 내의 전원 수신부(210)는 전원장치(120)로부터 모터를 동작시키기 위한 제어전원을 수신한다. 이와 함께, 서보 드라이버(140) 내의 제어정보 수신부(226)는 마스터 장치(110)로부터 모터의 동작을 제어하기 위한 목표 제어정보를 수신한다.The servo driver 140 receives target control information from the power source device and the master power source (S430). The power receiving unit 210 in the servo driver 140 receives control power for operating the motor from the power supply unit 120. [ At the same time, the control information receiving unit 226 in the servo driver 140 receives the target control information for controlling the operation of the motor from the master device 110. [

서보 드라이버(140)는 수신한 제어정보에 따라 제어전원에 펄스폭 변조 수행하여 모터로 전송한다(S440). 서보 드라이버(140)는 내의 제어부(240)는 수신한 제어정보에 따라 제어전원에 펄스폭 변조를 수행하도록 펄스폭 변조부(250)를 제어한다. 제어부(240)의 제어에 따라, 펄스폭 변조부(250)는 제어전원에 펄스폭 변조를 수행한다.The servo driver 140 performs pulse width modulation on the control power according to the received control information and transmits it to the motor (S440). The servo driver 140 controls the pulse width modulation unit 250 to perform pulse width modulation on the control power source according to the received control information. Under the control of the control unit 240, the pulse width modulation unit 250 performs pulse width modulation on the control power source.

서보 드라이버(140)는 엔코더 또는 펄스폭 변조부로부터 피드백 정보를 수신한다(S450). 피드백 정보는 모터의 위치 정보 또는 홀 정보일 수 있으며, 펄스폭이 변조된 제어전원에 관한 정보일 수 있다. 제어부(240)가 목표 제어정보에 따라 적절히 모터를 제어하였는지를 실시간으로 확인할 수 있도록, 피드백 정보 수신부(229)는 엔코더(150)로부터 피드백 정보를 수신하여 제어부(240)로 전달한다. 또한, 피드백 정보 수신부(229)는 펄스폭 변조부(250)로부터 펄스폭이 변조된 제어전원에 관한 정보를 수신할 수 있다. 피드백 정보 수신부(229)가 제어전원에 관한 정보를 수신하여 제어부(240)로 전달하며, 제어부(240)는 펄스폭 변조부(250)가 자신의 제어에 따라 변조를 하였는지를 확인한다. The servo driver 140 receives feedback information from the encoder or the pulse width modulation unit (S450). The feedback information may be positional information or hole information of the motor, and may be information on the control power whose pulse width is modulated. The feedback information receiving unit 229 receives the feedback information from the encoder 150 and transmits the feedback information to the controller 240 so that the controller 240 can appropriately check whether the motor is controlled according to the target control information in real time. The feedback information receiving unit 229 may receive information on the control power source whose pulse width is modulated from the pulse width modulating unit 250. [ The feedback information receiving unit 229 receives information on the control power source and transmits the information to the control unit 240. The control unit 240 confirms whether the pulse width modulation unit 250 modulated according to its own control.

서보 드라이버(140)는 피드백 정보를 이용해 제어전원의 펄스폭을 재변조한다(S460). 서보 드라이버(140) 내 제어부(240)는 모터의 위치 정보 또는 홀 정보를 이용하여 수신한 목표 제어정보에 따라 적절히 모터가 제어되었는지를 실시간으로 확인할 수 있으며, 적절히 제어하지 못한 경우 다시 모터(160)로 제공할 펄스폭을 재변조하도록 제어할 수 있다. 또한, 제어부(240)는 펄스폭이 변조된 제어전원에 관한 정보를 이용하여 펄스폭 변조부(250)가 자신의 제어에 따라 변조를 하였는지를 확인한다. 제어부(240)는 펄스폭 변조부(250)가 자신의 제어에 따라 제대로 변조하였는지 여부를 확인하며, 제대로 변조하지 않은 경우 펄스폭을 재변조하도록 제어할 수 있다.The servo driver 140 re-modulates the pulse width of the control power source using the feedback information (S460). The controller 240 in the servo driver 140 can confirm in real time whether the motor is appropriately controlled according to the target control information received using the position information or the hole information of the motor, It is possible to control to re-modulate the pulse width to be provided. Also, the control unit 240 checks whether the pulse width modulation unit 250 has modulated in accordance with the control of the pulse width modulation unit 250 by using the information about the control power whose pulse width has been modulated. The controller 240 can check whether the pulse width modulator 250 has properly modulated according to its own control, and can control to re-modulate the pulse width if it is not properly modulated.

도 4에서는 각각의 과정을 순차적으로 실행하는 것으로 기재하고 있으나, 이는 본 발명의 일 실시예의 기술 사상을 예시적으로 설명한 것에 불과한 것이다. 다시 말해, 본 발명의 일 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 일 실시예의 본질적인 특성에서 벗어나지 않는 범위에서 각각의 도면에 기재된 과정의 순서를 변경하여 실행하거나 과정 중 하나 이상의 과정을 병렬적으로 실행하는 것으로 다양하게 수정 및 변형하여 적용 가능할 것이므로, 도 4는 시계열적인 순서로 한정되는 것은 아니다.In FIG. 4, it is described that each process is sequentially executed, but this is merely illustrative of the technical idea of an embodiment of the present invention. In other words, those skilled in the art will appreciate that various changes and modifications may be made without departing from the essential characteristics of one embodiment of the present invention, And FIG. 4 is not limited to the time-series order because it can be variously modified and modified by being executed in parallel.

한편, 도 4에 도시된 과정들은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 즉, 컴퓨터가 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드디스크 등), 광학적 판독 매체(예를 들면, 시디롬, 디브이디 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 저장매체를 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.Meanwhile, the processes shown in FIG. 4 can be implemented as computer-readable codes on a computer-readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. That is, a computer-readable recording medium includes a magnetic storage medium (e.g., ROM, floppy disk, hard disk, etc.), an optical reading medium (e.g., CD ROM, And the like). The computer-readable recording medium may also be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner.

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

100: 모터제어 시스템 110: 마스터 장치
120; 전원장치 130: 환경정보 제공장치
140: 서보 드라이버 150: 엔코더
160: 모터 210: 전원 수신부
220: 정보 수신부 223: 환경정보 수신부
226: 제어정보 수신부 229: 피드백 정보 수신부
230: 플래시 메모리 240: 제어부
250: 펄스폭 변조부 310: 서보 드라이버 영역
320: 제어부 영역 330: 사용자 영역
100: motor control system 110: master device
120; Power supply unit 130: Environmental information supply unit
140: Servo driver 150: Encoder
160: motor 210: power receiving unit
220: information receiving unit 223: environment information receiving unit
226: Control information receiving section 229: Feedback information receiving section
230: flash memory 240:
250: Pulse width modulation unit 310: Servo driver area
320: control section area 330: user area

Claims (12)

모터의 구동을 제어하기 위한 모터 제어장치에 있어서,
상기 모터 제어장치의 각각의 구성을 구동하기 위한 구동전원 및 상기 모터의 구동을 제어하기 위한 제어전원을 수신하는 전원 수신부;
상기 모터 제어장치와 연결된 모터에 대한 환경정보, 상기 모터의 구동을 제어하기 위한 제어정보 및 상기 모터 또는 상기 모터 제어장치로부터 피드백 정보를 수신하는 정보 수신부;
상기 환경정보를 이용하여 상기 모터 제어장치에 포함된 일부 또는 전부의 구성의 설정을 제어하며, 상기 제어정보 또는 상기 피드백 정보를 이용하여 상기 제어전원의 펄스폭을 변조하도록 제어하는 제어부;
상기 제어부의 제어에 따라 상기 제어전원의 펄스폭을 변조하는 펄스폭 변조부; 및
상기 모터 제어장치에 포함된 일부 또는 전부의 구성에 관한 정보, 상기 제어부의 제어에 따라 발생하는 임시 정보 및 기타 정보를 저장하는 플래시메모리
를 포함하는 것을 특징으로 하는 모터 제어장치.
A motor control device for controlling the driving of a motor,
A power receiving unit receiving a driving power for driving each configuration of the motor control device and a control power for controlling driving of the motor;
An information receiving unit for receiving environment information about a motor connected to the motor control unit, control information for controlling driving of the motor, and feedback information from the motor or the motor control unit;
A control unit for controlling the setting of a part or all of the configurations included in the motor control apparatus using the environment information and controlling the pulse width of the control power supply using the control information or the feedback information;
A pulse width modulator for modulating the pulse width of the control power source under the control of the controller; And
A flash memory for storing information on the configuration of part or all of the motor control apparatus, temporary information generated according to the control of the controller,
The motor control device comprising:
제1항에 있어서,
상기 환경정보는,
상기 모터의 종류, 상기 모터가 사용하는 프로토콜 및 상기 모터의 개수 중 적어도 하나를 포함하는 것을 특징으로 하는 모터 제어장치.
The method according to claim 1,
The environmental information includes,
A type of the motor, a protocol used by the motor, and a number of the motors.
제1항에 있어서,
상기 피드백 정보는,
상기 모터의 위치 정보, 홀 정보 또는 펄스폭이 변조된 제어전원인 것을 특징으로 하는 모터 제어장치.
The method according to claim 1,
Wherein the feedback information includes:
Wherein the position information, the hole information, or the pulse width of the motor is a modulated control power.
제3항에 있어서,
상기 정보수신부는,
환경정보 제공장치로부터 상기 환경정보를 수신하는 환경정보 수신부, 마스터 장치로부터 상기 제어정보를 수신하는 제어정보 수신부 및 상기 모터 또는 펄스폭 변조부로부터 상기 피드백 정보를 수신하는 피드백 정보 수신부를 포함하는 것을 특징으로 하는 모터 제어장치.
The method of claim 3,
Wherein the information receiver comprises:
A control information receiving unit for receiving the control information from the master device, and a feedback information receiving unit for receiving the feedback information from the motor or the pulse width modulation unit. To the motor control device.
제4항에 있어서,
상기 제어부는,
상기 플래시메모리에 저장된 상기 모터 제어장치에 포함된 일부 또는 전부의 구성에 관한 정보를 이용하여 상기 환경정보 수신부, 상기 제어정보 수신부 및 상기 피드백 정보 수신부 중 적어도 하나에 대한 설정을 제어하는 것을 특징으로 하는 모터 제어장치.
5. The method of claim 4,
Wherein,
Controls the setting of at least one of the environmental information receiving unit, the control information receiving unit and the feedback information receiving unit by using information on a part or all of the configuration included in the motor control device stored in the flash memory Motor control device.
제4항에 있어서,
상기 피드백 정보 수신부는,
상기 모터로부터 상기 모터의 위치 정보, 홀 정보를 수신하거나, 상기 펄스폭 변조부로부터 펄스폭이 변조된 제어전원을 수신하는 것을 특징으로 하는 모터 제어장치.
5. The method of claim 4,
Wherein the feedback information receiver comprises:
And receives the position information and the hole information of the motor from the motor or receives the control power whose pulse width is modulated from the pulse width modulation unit.
제6항에 있어서,
상기 제어부는,
상기 피드백 정보 수신부로부터 상기 모터의 위치 정보, 홀 정보를 수신하여 상기 제어정보에 따라 상기 모터를 제어하였는지를 확인하며, 상기 피드백 정보 수신부로부터 펄스폭이 변조된 제어전원을 수신하여 상기 펄스폭 변조부가 자신의 제어에 따라 상기 제어전원의 펄스폭을 변조하였는 지를 확인하는 것을 특징으로 하는 모터 제어장치.
The method according to claim 6,
Wherein,
Receiving the position information and the hole information of the motor from the feedback information receiving unit and checking whether the motor is controlled according to the control information, receiving the control power whose pulse width is modulated from the feedback information receiving unit, Whether or not the pulse width of the control power source has been modulated in accordance with the control of the motor control unit.
제1항에 있어서,
상기 제어부는,
상기 피드백 정보를 이용하여 기 변조한 제어전원의 펄스폭을 재변조하도록 제어하는 것을 특징으로 하는 모터 제어장치.
The method according to claim 1,
Wherein,
Wherein the control unit controls the pulse width of the control power source that has undergone periodic modulation using the feedback information.
모터의 구동을 제어하기 위한 모터 제어장치의 구동 방법에 있어서,
상기 모터 제어장치의 각각의 구성을 구동하기 위한 구동전원 및 상기 모터의 구동을 제어하기 위한 제어전원을 수신하는 전원 수신과정;
상기 모터 제어장치에 포함된 일부 또는 전부의 구성에 대한 환경정보, 상기 모터의 구동을 제어하기 위한 제어정보 및 상기 모터 또는 상기 모터 제어장치로부터 피드백 정보를 수신하는 정보 수신과정;
상기 환경정보를 이용하여 상기 모터 제어장치에 포함된 일부 또는 전부의 구성의 설정을 제어하는 설정 제어과정;
상기 제어정보를 이용하여 상기 제어전원의 펄스폭을 변조하여 상기 모터로 전송하는 변조과정;
펄스폭이 변조된 제어전원 및 상기 모터로부터 상기 모터의 위치 정보, 홀 정보를 수신하는 피드백 정보 수신과정; 및
상기 피드백 정보 수신과정에서 수신한 정보를 이용하여 상기 제어전원의 펄스폭을 재변조하여 상기 모터로 전송하는 재변조과정
을 포함하는 것을 특징으로 하는 모터 제어장치 구동 방법.
A driving method of a motor control apparatus for controlling driving of a motor,
A power receiving step of receiving a driving power for driving each configuration of the motor control device and a control power for controlling driving of the motor;
An information receiving step of receiving environment information on the configuration of part or all of the motor control device, control information for controlling the driving of the motor, and feedback information from the motor or the motor control device;
A setting control process of controlling a configuration of a part or all of the components included in the motor control apparatus using the environment information;
A modulating step of modulating the pulse width of the control power source using the control information and transmitting the modulated pulse width to the motor;
A control power source having a pulse width modulated, and a feedback information receiving step of receiving position information and hole information of the motor from the motor; And
A re-modulation process of re-modulating the pulse width of the control power source using the information received in the feedback information reception process and transmitting the re-modulated pulse width to the motor
And a motor control device for driving the motor.
제9항에 있어서,
상기 환경정보는,
종류, 사용할 프로토콜, 개수 및 존재여부 중 적어도 하나를 포함하는 것을 특징으로 하는 모터 제어장치 구동 방법.
10. The method of claim 9,
The environmental information includes,
A type, a protocol to be used, a number, and a presence or absence.
제9항에 있어서,
상기 정보 수신과정은,
환경정보 제공장치로부터 상기 환경정보를 수신하는 환경정보 수신과정, 마스터 장치로부터 상기 제어정보를 수신하는 제어정보 수신과정 및 상기 모터 또는 펄스폭 변조부로부터 상기 피드백 정보를 수신하는 피드백 정보 수신과정을 포함하는 것을 특징으로 하는 모터 제어장치 구동 방법.
10. The method of claim 9,
The information-
A control information receiving step of receiving the control information from the master device; and a feedback information receiving step of receiving the feedback information from the motor or the pulse width modulation part To the motor control device.
제11항에 있어서,
상기 피드백 정보 수신과정은,
상기 모터로부터 상기 모터의 위치 정보, 홀 정보를 수신하거나, 상기 모터 제어장치로부터 펄스폭이 변조된 제어전원을 수신하는 것을 특징으로 하는 모터 제어장치 구동 방법.
12. The method of claim 11,
The feedback information receiving step includes:
Wherein the position information and the hole information of the motor are received from the motor or the control power having a pulse width modulated is received from the motor control device.
KR1020160066968A 2016-05-31 2016-05-31 Method and Apparatus for Controlling Motor Capable of Programming KR20170135275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160066968A KR20170135275A (en) 2016-05-31 2016-05-31 Method and Apparatus for Controlling Motor Capable of Programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160066968A KR20170135275A (en) 2016-05-31 2016-05-31 Method and Apparatus for Controlling Motor Capable of Programming

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020180032475A Division KR101938191B1 (en) 2018-03-21 2018-03-21 Method and Apparatus for Controlling Motor Capable of Programming

Publications (1)

Publication Number Publication Date
KR20170135275A true KR20170135275A (en) 2017-12-08

Family

ID=60919891

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160066968A KR20170135275A (en) 2016-05-31 2016-05-31 Method and Apparatus for Controlling Motor Capable of Programming

Country Status (1)

Country Link
KR (1) KR20170135275A (en)

Similar Documents

Publication Publication Date Title
US6653810B2 (en) Motor control system
US9304958B2 (en) Device for transmitting sensor data
AU2015236635A1 (en) Remote terminal unit (RTU) with universal input/output (UIO) and related method
KR101938191B1 (en) Method and Apparatus for Controlling Motor Capable of Programming
US20180267711A1 (en) Slave device, control method of slave device, non-volatile computer readable recording medium
US20060271747A1 (en) Wireless access device with integrated universal serial bus interface
CN101911717A (en) Use communication media to carry out mutual moving and stationary body system
KR20170135275A (en) Method and Apparatus for Controlling Motor Capable of Programming
US20190317914A1 (en) System of automation components and method for operating the same
CN117580500A (en) ECG measurement network based on MRI compatibility nodes
US10816946B2 (en) Signal processing device
KR101938190B1 (en) Method and Apparatus for Controlling Programmable, Multi Shaft Motor
JP6557760B1 (en) Device control method, control device and system
US20200089187A1 (en) Motor control system, control method, and motor control apparatus
Nimir et al. An intelligent plug and play system for sensor installation
CN111226177A (en) Control method, motor driving device, control device and movable platform
US20230166404A1 (en) Electronic device remote controller
CN111886799A (en) Controller for controlling an electric motor
US8280691B2 (en) Arrangement for evaluating the measured values of a measured-value converter
WO2015087540A1 (en) Motor-driving apparatus
KR102053962B1 (en) Voltage monitoring system utilizing a common channel and exchanged encoded channel numbers to confirm valid voltage values
US20190155592A1 (en) Method for Configuring an Electronic Component
CN102645946B (en) Detector and the equipment of the configuration for detector
CN110463016B (en) Motor control device, motor control method, and motor control system
JP5457152B2 (en) Inverter device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
A107 Divisional application of patent