KR101642757B1 - Servo motor control apparatus and metho thereof - Google Patents

Servo motor control apparatus and metho thereof Download PDF

Info

Publication number
KR101642757B1
KR101642757B1 KR1020140064497A KR20140064497A KR101642757B1 KR 101642757 B1 KR101642757 B1 KR 101642757B1 KR 1020140064497 A KR1020140064497 A KR 1020140064497A KR 20140064497 A KR20140064497 A KR 20140064497A KR 101642757 B1 KR101642757 B1 KR 101642757B1
Authority
KR
South Korea
Prior art keywords
pulse width
identification information
record
servo motors
time
Prior art date
Application number
KR1020140064497A
Other languages
Korean (ko)
Other versions
KR20150136868A (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 KR1020140064497A priority Critical patent/KR101642757B1/en
Publication of KR20150136868A publication Critical patent/KR20150136868A/en
Application granted granted Critical
Publication of KR101642757B1 publication Critical patent/KR101642757B1/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
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K37/00Motors with rotor rotating step by step and without interrupter or commutator driven by the rotor, e.g. stepping motors

Abstract

본 발명에 따른 서보 모터 제어장치는 복수의 서보 모터를 동시 구동 및 개별 구동하기 용이하도록, 본 발명은 입력신호를 소정 레벨의 dc 신호로 변환 출력하는 dc 공급부, 복수의 서보 모터에 대응하며, 상기 복수의 서보 모터 각각으로 입력된 dc 신호를 스위치 온 및 오프 동작하여 변환된 적어도 하나의 펄스를 인가하는 복수의 스위치 소자 및 상기 복수의 서보 모터 각각에서 감지된 복수의 모터축 위치를 기초로 상기 복수의 서보 모터 각각으로 인가되는 상기 적어도 하나의 펄스에 대한 펄스폭이 조절되도록 상기 복수의 스위치 소자 각각의 스위칭 온시간 및 오프시간을 제어하는 모터 드라이버를 포함하는 서보 모터 제어장치를 제공한다.In order to facilitate simultaneous drive and individual drive of a plurality of servomotors according to the present invention, the present invention provides a dc supply unit for converting and outputting an input signal into a dc signal of a predetermined level, A plurality of switching elements for switching on and off dc signals inputted to each of the plurality of servo motors to apply the converted at least one pulse and a plurality of switching elements for switching the plurality of servo motors based on the plurality of motor shaft positions sensed by each of the plurality of servo motors And a motor driver for controlling a switching on time and an off time of each of the plurality of switch elements so that a pulse width for the at least one pulse applied to each servo motor of the plurality of switch elements is adjusted.

Description

서보 모터 제어 장치 및 그 방법{SERVO MOTOR CONTROL APPARATUS AND METHO THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a servo motor control apparatus,

본 발명은 모터 제어장치에 관한 것으로서, 더욱 상세하게는 복수의 서보 모터를 동시 구동하는 서보 모터 제어장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control apparatus, and more particularly, to a servo motor control apparatus for simultaneously driving a plurality of servo motors.

서보 모터(servo motor)는 물체의 위치, 방위, 자세 등을 제어량으로 하고, 목표치의 임의 변화에 추종하도록 구성된 제어 기계이다. 서보 모터 중 RC 서보 모터는 그 작동방법이 간단하고, 360도 회전하지 않고 대략 180도 정도 회전이 필요한 곳에 사용한다. 이러한 특성 때문에 RC 서보 모터는 RC 자동차의 앞바퀴의 조향이나 RC헬리곱터의 로터 및 뒤 날개 등을 제어할 때 사용한다. RC 서보 모터는 펄스의 폭에 의해 각도가 조절될 수 있다. 이러한 제어 신호는, 일반적인 DC 모터 제어에 사용되는 PWM 제어 신호는 방식이 약간 상이하나, PWM 제어 신호로 널리 호칭되고 있다. 펄스의 폭에 따라 각각 상응하는 각도 0도에서 180도로 각도 값이 달라진다. 도 1은 펄스 폭에 따른 서보 모터의 각도 값을 도시한 상태도이다. 도 1의 수치는 기기에 따라 달라질 수 있다.A servo motor is a control machine configured to control the position, orientation, posture, etc. of an object as a control amount and follow an arbitrary change in a target value. Among the servomotors, the RC servomotor is simple to operate and is used where it needs to rotate about 180 degrees without rotating 360 degrees. Because of these characteristics, the RC servo motor is used to control the steering of the front wheel of the RC car or the rotor and rear wing of the RC helicopter. The RC servo motor can be adjusted in angle by the pulse width. As for these control signals, PWM control signals used for general DC motor control are somewhat different from each other but widely referred to as PWM control signals. Depending on the width of the pulse, the corresponding angles vary from 0 degrees to 180 degrees. 1 is a state diagram showing the angular value of the servo motor according to the pulse width. The numerical values in Fig. 1 may vary depending on the apparatus.

각종 로보트, 공작기계, 모형 자동차나 비행기 등에 복수의 서보 모터가 사용된다. 복수의 서보 모터를 중앙 제어기에서 일괄 제어하기 위해서, 복수 개의 PWM 제어 신호가 필요하다. 그러나 PWM 제어 신호 생성기는 가격이 높아, 일반적으로 시분할 구동 방식이 많이 사용된다. 시분할 분할 방식은, 일정 시간 동안 하나의 서버 모터만 제어하는 방식이다. 이러한 시분할 분할 방식으로 각 서보 모터를 제어하는 제어 신호를 시분할하여 순차적으로 제공하거나, 등록특허 제10-0710838호에 개시된 방법과 같이 각 서보 모터에 ID를 지정하여 각 서보 모터는 지정된 ID와 동일한 신호가 있는 경우 ID 신호에 후속하는 명령어 신호를 제어 신호로 인식하도록 하는 방법이 사용되기도 한다.A plurality of servomotors are used for various robots, machine tools, model cars and airplanes. In order to collectively control a plurality of servo motors by the central controller, a plurality of PWM control signals are required. However, the PWM control signal generator is expensive and generally uses a time division driving method. In the time division mode, only one server motor is controlled for a predetermined time. The control signals for controlling the respective servomotors are time-divisionally provided in a time-division manner, or the IDs are assigned to the servomotors in the same manner as disclosed in Japanese Patent Registration No. 10-0710838, A method of recognizing a command signal subsequent to the ID signal as a control signal may be used.

그러나 시분할 제어는 펄스 주기와 최대 펄스 폭에 의존적이어서, 포트(채널) 수에 제한이 있으며, 시분할로 제어할 수 있는 서보 모터의 개수의 제한이 있다. 또한, 복잡한 동작 제어를 위해 동시에 서보 모터를 제어할 필요가 있는 경우, 시분할 제어 방식은 동시에 서보 모터를 제어할 수 없었다.However, since the time division control is dependent on the pulse period and the maximum pulse width, there are restrictions on the number of ports (channels), and there is a limitation on the number of servo motors that can be controlled by time division. Further, when it is necessary to control the servo motor at the same time for complex operation control, the time division control system can not simultaneously control the servo motor.

본 발명의 목적은, 앞서 언급한 필요성에 따라 복수의 서보 모터를 동시 또는 개별로 제어하며, 병렬 통신함으로써 고장 발생시 수리 및 보수가 용이하며, 복잡한 연산을 줄임으로서 하드웨어 자원을 효율적으로 이용하며 제조 원가가 낮은 서보 모터 제어장치를 제공함에 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a system and method for controlling a plurality of servomotors simultaneously or individually in accordance with the above-mentioned necessity and facilitating repair and maintenance in the event of a failure by parallel communication, efficiently utilizing hardware resources, And a servo motor control unit.

삭제delete

본 발명의 일 측면은, 서보 모터 제어 장치에서 인가되는 펄스폭에 대응하는 각도 만큼 회전하는 복수의 서보 모터를 제어하는 방법으로서, 상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 단계; 상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 정렬하여 테이블로 생성하는 단계; 상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫는 단계; 및 상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간만큼 카운팅된 경우, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 단계를 포함하는 서보 모터 제어 방법을 제공하는 데 있다.According to an aspect of the present invention, there is provided a method of controlling a plurality of servo motors rotating by an angle corresponding to a pulse width applied by a servo motor control device, the method comprising: Receiving a command signal including a plurality of pulse widths; Recording a plurality of pulse widths and identification information corresponding to each other among the plurality of pulse widths and the plurality of pieces of identification information, sorting a plurality of records based on the pulse widths and generating a table; Synchronously closing a plurality of switches connected to each of the plurality of servo motors for turning on and off a reference voltage applied to the plurality of servo motors; And turning off the first switch connected to the first motor having the first identification information of the first record when counted by the time corresponding to the first pulse width of the first one of the plurality of records And to provide a servo motor control method.

여기서, 상기 복수의 레코드 중 제2 레코드의 제2 펄스폭에 해당하는 시간만큼 카운팅된 경우, 상기 제2 레코드의 제2 식별 정보를 구비하는 제2 모터에 연결된 상기 복수의 스위치 중 제2 스위치를 오프하는 단계를 더 포함하고, 상기 제1 펄스폭은 상기 제2 펄스폭 보다 작으며, 상기 제1 펄스폭을 시간 카운팅한 이후에 상기 제2 펄스폭 만큼 누적하여 시간 카운팅할 수 있다.Wherein when counting the time corresponding to the second pulse width of the second record of the plurality of records, the second switch of the plurality of switches connected to the second motor having the second identification information of the second record Wherein the first pulse width is smaller than the second pulse width, and the first pulse width is time-counted, and then the second pulse width is accumulated and time-counted.

또한, 동기화하여 닫는 단계 이후의 총 카운팅 값이 기설정된 값 이상인 경우, 상기 복수의 스위치 모두를 오프하는 단계를 더 포함할 수 있다.The method may further include the step of turning off all of the plurality of switches when the total count value after the step of synchronizing and closing is equal to or greater than a predetermined value.

또한, 상기 복수의 스위치를 동기화하여 닫는 단계는 주기적이며, 상기 기설정된 값은 상기 복수의 스위치를 동기화하는 주기와 동일할 수 있다.The step of synchronously closing the plurality of switches may be periodic, and the predetermined value may be the same as the period of synchronizing the plurality of switches.

또한, 상기 테이블은 동일한 제3 펄스폭을 가지는 제3 및 제4 식별 정보가 있는 경우, 상기 제3 펄스폭을 포함하는 제3 레코드는 상기 제3 및 제4 식별 정보를 구비하는 것을 특징으로 할 수 있다.In addition, when the table has third and fourth identification information having the same third pulse width, the third record including the third pulse width includes the third and fourth identification information .

본 발명의 다른 측면은, 서보 모터 제어 장치에서 인가되는 펄스폭에 대응하는 각도 만큼 회전하는 복수의 서보 모터를 제어하는 방법으로서, 상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 단계; 상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 정렬하고, 최상위를 제외한 나머지 레코드는 해당 레코드의 펄스폭과 상기 해당 레코드의 상위 레코드의 펄스폭의 상대 값으로 펄스폭을 재지정하여 테이블로 생성하는 단계; 상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫는 단계; 및 상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간만큼 다운 카운팅이 완료되면, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 단계를 포함하는 서보 모터 제어 방법을 제공하는 데 있다.According to another aspect of the present invention, there is provided a method of controlling a plurality of servo motors rotating by an angle corresponding to a pulse width applied by a servo motor control device, the method comprising: Receiving a command signal including a plurality of pulse widths; The pulse width and the identification information corresponding to each other among the plurality of pulse widths and the plurality of pieces of identification information are recorded to sort a plurality of records based on the pulse width, Rewriting the pulse width as a relative value of the pulse width of the upper row of the record to generate a table; Synchronously closing a plurality of switches connected to each of the plurality of servo motors for turning on and off a reference voltage applied to the plurality of servo motors; And turning off the first switch connected to the first motor having the first identification information of the first record when down counting is completed by the time corresponding to the first pulse width of the first record among the plurality of records And to provide a servo motor control method including the servo motor control method.

여기서, 동기화하여 닫는 단계 이후의 총 카운팅 값이 기설정된 값 이상인 경우, 상기 복수의 스위치 모두를 오프하는 단계를 더 포함하고, 상기 복수의 스위치를 동기화하여 닫는 단계는 주기적이며, 상기 기설정된 값은 상기 복수의 스위치를 동기화하여 닫는 값과 동일할 수 있다.The method of claim 1, further comprising the step of turning off all of the plurality of switches when the total count value after the synchronizing and closing step is equal to or greater than a predetermined value, wherein the step of synchronizing and closing the plurality of switches is periodic, And may be equal to a value that synchronously closes the plurality of switches.

본 발명의 또 다른 측면은, 인가되는 펄스폭에 대응하는 각도 만큼 회전하는 복수의 서보 모터를 제어하는 서보 모터 제어 장치로서, 상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 수신부; 상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 정렬하여 테이블로 생성하는 테이블 생성부; 상기 생성된 테이블을 저장하는 저장부; 시간을 카운팅하는 카운터; 및 상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫으며, 상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간만큼 상기 카운터에서 카운팅된 경우, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 스위치 제어부를 포함하는 서보 모터 제어 장치를 제공하는 데 있다.According to another aspect of the present invention, there is provided a servo motor control apparatus for controlling a plurality of servo motors rotating by an angle corresponding to a pulse width to be applied, the servo motor control apparatus comprising: A receiving unit for receiving a command signal including a plurality of pulse widths; A table generating unit for recording a plurality of pulse widths and identification information corresponding to each other among the plurality of pulse widths and the plurality of pieces of identification information to generate a table by arranging a plurality of records based on the pulse width; A storage unit for storing the generated table; A counter for counting time; And a plurality of switches connected to each of the plurality of servomotors for turning on and off a reference voltage applied to the plurality of servomotors in synchronization with each other, And a switch controller for turning off the first switch connected to the first motor having the first identification information of the first record when the counter is counted.

본 발명의 또 다른 측면은, 인가되는 펄스폭에 대응하는 각도 만큼 회전하는 복수의 서보 모터를 제어하는 서보 모터 제어 장치로서, 상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 수신부; 상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 정렬하고, 최상위를 제외한 나머지 레코드는 해당 레코드의 펄스폭과 상기 해당 레코드의 상위 레코드의 펄스폭의 상대 값으로 펄스폭을 재지정하여 테이블로 생성하는 테이블 생성부; 상기 테이블을 저장하는 저장부; 시간을 다운 카운팅하는 카운터; 및 상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫으며, 상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간만큼 상기 카운터에서 다운 카운팅이 완료되면, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 스위치 제어부를 포함하는 서보 모터 제어 장치를 제공하는 데 있다.According to another aspect of the present invention, there is provided a servo motor control apparatus for controlling a plurality of servo motors rotating by an angle corresponding to a pulse width to be applied, the servo motor control apparatus comprising: A receiving unit for receiving a command signal including a plurality of pulse widths; The pulse width and the identification information corresponding to each other among the plurality of pulse widths and the plurality of pieces of identification information are recorded to sort a plurality of records based on the pulse width, A table generating unit for re-determining a pulse width as a relative value of a pulse width of an upper row of the record to generate a table; A storage unit for storing the table; A counter for counting down time; And a plurality of switches connected to each of the plurality of servomotors for turning on and off a reference voltage applied to the plurality of servomotors in synchronization with each other, And a switch controller for turning off the first switch connected to the first motor having the first identification information of the first record when down counting is completed in the counter.

본 발명에 따른 서보 모터 제어장치는, 하나의 모터 드라이버와 복수의 서보 모터 사이에 배치되며, 복수의 서보 모터에 대응하는 복수의 스위치소자 각각에 대하여 스위치 온/오프시간을 제어함으로써, 복수의 서보 모터 각각에 제어 펄스를 동시 및 개별 공급할 수 있다.The servo motor control apparatus according to the present invention is arranged between one motor driver and a plurality of servo motors and controls switch on / off times for each of a plurality of switch elements corresponding to the plurality of servo motors, Control pulses can be supplied to each motor simultaneously and individually.

또한, 본 발명에 따른 서보 모터 제어장치는 복수의 서보 모터를 동시에 구동할 수 있음으로써, 효율을 향상시킬 수 있다.In addition, the servo motor control apparatus according to the present invention can drive a plurality of servo motors at the same time, thereby improving the efficiency.

또한, 본 발명에 따른 서보 모터 제어장치는 복수의 서보 모터와 직렬 통신이 아니라 병렬 통신함으로써, 복수의 서보 모터 중 어느 하나의 고장 발생시 수리 및 보수를 쉽게 할 수 있다.Further, the servo motor control apparatus according to the present invention can perform repair and maintenance easily in the event of failure of any one of a plurality of servomotors, by performing parallel communication with a plurality of servo motors instead of serial communication.

또한, 본 발명에 따른 서보 모터 제어장치는, dc 신호를 스위치 소자의 스위칭 온 및 오프 동작에 따라 적어도 하나의 펄스를 생성함으로써, 사양을 낮추고 제조 원가를 낮출 수 있다.Further, the servo motor control apparatus according to the present invention can lower the specification and lower the manufacturing cost by generating at least one pulse of the dc signal in accordance with the switching on and off operations of the switching element.

도 1은 펄스 폭에 따른 서보 모터의 각도 값을 도시한 상태도,
도 2는 본 발명의 일실시예에 따른 서보 모터 제어 장치의 블록도,
도 3은 테이블 생성부(30)에서 생성한 테이블,
도 4는 본 발명의 일실시예에 따른 서보 모터에 인가되는 제어 신호들를 도시한 신호도,
도 5는 본 발명의 일실시예에 따른 서보 모터 제어 방법에 대한 순서도, 및
도 6은 본 발명의 다른 실시예에 따른 서보 모터 제어 방법에 대한 순서도이다.
FIG. 1 is a diagram showing the angle value of the servo motor according to the pulse width,
2 is a block diagram of a servo motor control apparatus according to an embodiment of the present invention;
3 shows a table generated by the table generating unit 30,
4 is a signal diagram illustrating control signals applied to a servo motor according to an embodiment of the present invention.
5 is a flowchart of a servo motor control method according to an embodiment of the present invention, and Fig.
6 is a flowchart of a servo motor control method according to another embodiment of the present invention.

실시 예의 구성 요소를 설명하는 데 있어서, 동일한 명칭의 구성 요소에 대하여 도면에 따라 다른 참조부호를 부여할 수도 있으며, 서로 다른 도면임에도 불구하고 동일한 참조부호를 부여할 수도 있다. 그러나, 이와 같은 경우라 하더라도 해당 구성 요소가 실시 예에 따라 서로 다른 기능을 갖는다는 것을 의미하거나, 서로 다른 실시 예에서 동일한 기능을 갖는다는 것을 의미하는 것은 아니며, 각각의 구성 요소의 기능은 해당 실시 예에서의 각각의 구성요소에 대한 설명에 기초하여 판단하여야 할 것이다.In describing the components of the embodiment, different reference numerals may be assigned to components having the same name in accordance with the drawings, and the same reference numerals may be given thereto even though they are different from each other. However, even in such a case, it does not mean that the corresponding component has different functions according to the embodiment, or does not mean that the different components have the same function. It should be judged based on the description of each component in the example.

또한, 실시 예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략할 수 있다.In the following description of the embodiments, 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) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 명명될 수 있다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다. 또한 네트워크 상의 제1 구성요소와 제2 구성요소가 연결되어 있거나 접속되어 있다는 것은, 유선 또는 무선으로 제1 구성요소와 제2 구성요소 사이에 데이터를 주고 받을 수 있음을 의미한다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.In describing the components of the embodiment, 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. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. When a component is described as being "connected", "coupled", or "connected" to another component, the component may be directly connected or connected to the other component, Quot; may be "connected," "coupled," or "connected. &Quot; Also, the fact that the first component and the second component on the network are connected or connected means that data can be exchanged between the first component and the second component by wire or wirelessly. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

또한, 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 단순히 본 명세서 작성의 용이함만이 고려되어 부여되는 것으로서, 그 자체로 특별히 중요한 의미 또는 역할을 부여하는 것은 아니다. 따라서, 상기 "모듈" 및 "부"는 서로 혼용되어 사용될 수도 있다.In addition, suffixes "module" and " part "for the components used in the following description are given merely for convenience of description, and do not give special significance or role in themselves. Accordingly, the terms "module" and "part" may be used interchangeably.

이와 같은 구성요소들은 실제 응용에서 구현될 때 필요에 따라 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나, 혹은 하나의 구성요소가 2 이상의 구성요소로 세분되어 구성될 수 있다.When such components are implemented in practical applications, two or more components may be combined into one component, or one component may be divided into two or more components as necessary.

이하에서는, 실시 예에 따른 서모 모터 제어장치에 대한 동작 및 작용을 이해하는데 필요한 부분을 도면을 중심으로 상세히 설명한다.Hereinafter, necessary parts for understanding the operation and operation of the thermo-motor control apparatus according to the embodiment will be described in detail with reference to the drawings.

도 2는 본 발명의 일실시예에 따른 서보 모터 제어 장치의 블록도이다. 도 2를 참조하여 본 발명의 일실시예에 따른 서보 모터 제어 장치를 기능에 따른 구성요소 관점에서 살펴보면 다음과 같다.2 is a block diagram of a servo motor control apparatus according to an embodiment of the present invention. Referring to FIG. 2, the servo motor control apparatus according to an embodiment of the present invention will be described in terms of components according to functions.

도 2를 참조하면, 서보 모터 제어 장치는 복수의 서보 모터(M1, M2, Mn), 복수의 스위치(SW1, SW2, SWn), 스위치 제어부(10), 수신부(20), 테이블 생성부(30), 저장부(40), 카운터(50), 및 dc 공급부(60)를 포함할 수 있다.2, the servo motor control apparatus includes a plurality of servomotors M1, M2, Mn, a plurality of switches SW1, SW2, SWn, a switch control section 10, a receiving section 20, a table generating section 30 ), A storage unit 40, a counter 50, and a dc supply unit 60.

복수의 서보 모터(M1, M2, Mn) 각각은 인가되는 펄스폭에 대응하여 회전 각도가 변동되도록 동작될 수 있다. 복수의 서보 모터(M1, M2, Mn)는 각각의 식별 정보(ID)를 구비할 수 있다.Each of the plurality of servomotors M1, M2, and Mn may be operated so that the rotation angle varies corresponding to the applied pulse width. The plurality of servomotors M1, M2, and Mn may have respective identification information (ID).

dc 공급부(60)는 서보 모터에 인가되는 펄스의 크기(피크 레벨)에 해당하는 기준 전압(Vref)을 제공할 수 있다.The dc supply unit 60 may provide a reference voltage Vref corresponding to the magnitude (peak level) of the pulse applied to the servo motor.

복수의 스위치(SW1, SW2, SWn) 각각은 복수의 서보 모터(M1, M2, Mn) 각각에 연결되어, 복수의 서보 모터(M1, M2, Mn) 각각에 인가되는 기준 전압(Vref)을 온오프할 수 있다. 복수의 스위치(SW1, SW2, SWn)는 연결된 복수의 서보 모터(M1, M2, Mn)와 동일한 식별 정보를 구비할 수 있다. 복수의 스위치(SW1, SW2, SWn)는 스위치 제어부(10)의 제어 신호에 따라 스위칭될 수 있다. 각각의 스위치는 릴레이, OP-Amp, 또는 FET 등의 전력 반도체 스위치 소자로 구성될 수 있으며, 이에 한정되지 않는다.Each of the plurality of switches SW1, SW2 and SWn is connected to each of the plurality of servomotors M1, M2 and Mn so as to turn on the reference voltage Vref applied to each of the plurality of servomotors M1, Off. The plurality of switches SW1, SW2, and SWn may have the same identification information as the plurality of servo motors M1, M2, and Mn connected thereto. The plurality of switches SW1, SW2, and SWn can be switched in accordance with the control signal of the switch control section 10. [ Each of the switches may be composed of a power semiconductor switch element such as a relay, an OP-Amp, or an FET, but is not limited thereto.

수신부(20)는 각각의 서보 모터를 제어하기 위한 명령 신호를 수신할 수 있다. 수신부(20)는 명령 신호를 발신하는 서버(미도시)와 유선 또는 무선으로 통신할 수 있다. 수신부(20)는, 특히, 근거리 통신을 위한 근거리 통신 모듈로 구성될 수 있다. 근거리 통신 기술로 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(IrDA, infrared Data Association), UWB(Ultra Wideband), 지그비(ZigBee) 등이 이용될 수 있다. The receiving section 20 can receive a command signal for controlling each servo motor. The receiving unit 20 can communicate with a server (not shown) that transmits a command signal in a wired or wireless manner. The receiving unit 20 may be configured as a short-range communication module for short-range communication. Bluetooth, radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, and the like can be used as the short distance communication technology.

명령 신호는 복수의 서보 모터(M1, M2, Mn)의 식별 정보와 각 서보 모터가 제어될 각도 값(펄스폭)을 구비할 수 있다.The command signal may include identification information of the plurality of servomotors M1, M2, and Mn and an angle value (pulse width) to be controlled by each servo motor.

테이블 생성부(30)는 수신한 명령 신호를 기초로 테이블을 생성할 수 있다. 테이블 생성부(30)는 식별 정보 및 식별 정보에 대응하는 펄스폭을 레코드로 구성할 수 있다.The table generating unit 30 can generate a table based on the received command signal. The table generating unit 30 may form a record of the pulse width corresponding to the identification information and the identification information.

도 3은 테이블 생성부(30)에서 생성한 테이블을 도시한다.FIG. 3 shows a table generated by the table generating unit 30. FIG.

도 3(a)를 참조하면, 테이블 생성부(30)는 명령 신호에 구비된 각 서보 모터의 식별 정보(ID) 및 그에 대응하는 펄스폭 데이터를 레코드화 하여 테이블로 생성할 수 있다. 서보 모터 제어 장치가 복수의 서보 모터(M1, M2, Mn)를 동시에 제어하기 위해, 명령 신호는 복수의 서보 모터(M1, M2, Mn) 모두에 대한 제어 신호를 구비할 수 있다. 명령 신호는 펄스폭의 크기에 무관하게 정렬되어 있을 수 있다.Referring to FIG. 3A, the table generating unit 30 records ID information of each servo motor provided in the command signal and corresponding pulse width data, and generates a table. In order for the servo motor control device to simultaneously control the plurality of servomotors M1, M2, and Mn, the command signal may include control signals for all of the plurality of servomotors M1, M2, and Mn. The command signal may be aligned regardless of the magnitude of the pulse width.

도 3(b)를 참조하면, 테이블 생성부(30)는 펄스폭을 기준으로 각 레코드를 정렬할 수 있다. 테이블 생성부(30)는 정렬된 테이블 중 동일한 펄스폭을 가지는 모터 식별 정보를 하나의 레코드로 테이블을 재생성할 수 있다.Referring to FIG. 3 (b), the table generator 30 may sort each record based on the pulse width. The table generating unit 30 can regenerate the table with one record of the motor identification information having the same pulse width among the sorted tables.

도 3(c)를 참조하면, 테이블 생성부(30)는 펄스폭 기준으로 정렬된 테이블을, 펄스폭의 상대값으로 재생성할 수 있다. 최상위 레코드(100, 1)는 그 상위 레코드가 없으므로, 최상위 레코드 값은 본래 값을 유지된다. 그 외 레코드는 상위에 랭크된 레코드의 펄스폭과의 차이로 레코드의 펄스폭이 수정된다. 테이블 생성부(30)는 상대값이 ‘0’을 가지는 레코드를 상위 레코드와 병합하여, 모터 식별 정보가 2 이상인 레코드를 가지는 테이블로 재생성할 수 있다. Referring to FIG. 3 (c), the table generating unit 30 may regenerate the table arranged on the pulse width basis with a relative value of the pulse width. Since the topmost record (100, 1) does not have an upper record, the topmost record value retains its original value. The other records are modified in the pulse width of the record by the difference from the pulse width of the record ranked at the top. The table generating unit 30 can reproduce a table having a record whose motor identification information is 2 or more by merging a record having a relative value of '0' with an upper record.

저장부(40)는 스위치 제어부(10)의 처리 및 제어를 위한 프로그램이 저장될 수도 있고, 입력되거나 출력되는 데이터들의 임시 저장을 위한 기능을 수행할 수 있다. 저장부(40)는 테이블 생성부(30)에서 생성한 테이블을 저장할 수 있다.The storage unit 40 may store a program for processing and controlling the switch control unit 10 and may perform a function for temporarily storing input or output data. The storage unit 40 may store the table generated by the table generation unit 30. [

저장부(40)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램, 롬 중 적어도 하나의 타입의 저장매체를 포함할 수 있다.The storage unit 40 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory) A RAM, and a ROM.

카운터(50)는 시간을 카운팅할 수 있다. 카운터(50)는 지정된 시간에 스위치 제어부(10)에 카운팅 완료되었다는 신호를 제공하거나, 지정된 시간만큼 카운팅되면 이를 알리는 신호를 스위치 제어부(10)에 제공할 수 있다. 이는 실시예일뿐 이에 한정되지 않고, 카운터(50)에서 카운팅된 시간을 스위치 제어부(10)에서 직접 이용할 수 있다.The counter 50 may count the time. The counter 50 may provide a signal to the switch control unit 10 indicating that the counting is completed at a designated time, or may provide a signal to the switch control unit 10 to inform the switch control unit 10 of the counted number of times. However, the present invention is not limited to this, and the time counted by the counter 50 can be directly used by the switch control unit 10.

스위치 제어부(10)는 통상적으로 상기 각부의 동작을 제어하여 서보 모터 제어 장치의 전반적인 동작을 제어한다. 스위치 제어부(10)는 저장부(40)에 저장된 테이블과 카운터(50)에서 제공되는 신호 또는 카운팅된 시간에 기초하여, 복수의 스위치(SW1, SW2, SWn) 각각에 스위칭 온/오프하는 신호를 제공할 수 있다.The switch control unit 10 typically controls the operation of each of the above units to control the overall operation of the servo motor control unit. The switch control section 10 outputs a signal for switching on / off to each of the plurality of switches SW1, SW2, SWn based on the table stored in the storage section 40 and the signal provided by the counter 50 or the counted time .

도 4는 본 발명의 일실시예에 따른 서보 모터에 인가되는 제어 신호들를 도시한 신호도이다.4 is a signal diagram illustrating control signals applied to a servo motor according to an embodiment of the present invention.

스위치 제어부(10)는 제1 및 제2 서보 모터(M1, M2) 등이 주기적으로 제어 신호(펄스)가 동시에 인가되도록 제1 및 제2 스위치(SW1, SW2)에 동기 신호를 제공할 수 있다. 제1 및 제2 스위치(SW1, SW2)에 동기 신호가 인가되면 제1 및 제2 스위치(SW1, SW2)는 닫히게 되고, 제1 및 제2 서보 모터(M1, M2)에 기준 전압(Vref)이 인가된다. 스위치 제어부(10)는 저장부(40)에 저장된 테이블 및 카운터(50)에서 카운팅된 시간에 기초하여, 제1 및 제2 스위치(SW1, SW2) 각각에 오프 신호를 제공할 수 있다. 제1 및 제2 스위치(SW1, SW2)는 오프 신호가 인가되면, 스위치가 열린다. 제1 및 제2 서보 모터(M1, M2)는 동기 신호 및 오프 신호에 따른 제1 및 제2 스위치(SW1, SW2)의 온/오프에 따라, 명령 신호에서 의도한 펄스폭이 인가될 수 있다.The switch control unit 10 may provide a synchronization signal to the first and second switches SW1 and SW2 so that the first and second servomotors M1 and M2 periodically apply a control signal . The first and second switches SW1 and SW2 are closed and the reference voltage Vref is applied to the first and second servomotors M1 and M2 when a synchronizing signal is applied to the first and second switches SW1 and SW2, . The switch control section 10 can provide an OFF signal to each of the first and second switches SW1 and SW2 based on the time counted in the table and counter 50 stored in the storage section 40. [ When the OFF signal is applied to the first and second switches SW1 and SW2, the switch is opened. The first and second servomotors M1 and M2 can be supplied with the intended pulse width in the command signal in accordance with the on / off state of the first and second switches SW1 and SW2 according to the synchronizing signal and the off signal .

도 5는 본 발명의 일실시예에 따른 서보 모터 제어 방법에 대한 순서도이다. 도 2를 참조한다.5 is a flowchart of a servo motor control method according to an embodiment of the present invention. See FIG.

도 5를 참조하면, 수신부(20)는 명령 신호를 수신한다(S210). 명령 신호는 각 서보 모터의 식별 정보 및 제어될 각도(펄스폭)을 구비할 수 있다. 명령 신호는 주기적으로 수신될 수 있다.Referring to FIG. 5, the receiving unit 20 receives a command signal (S210). The command signal may include identification information of each servo motor and an angle (pulse width) to be controlled. The command signal may be periodically received.

테이블 생성부(30)는 수신한 명령 신호의 각 식별 정보 및 각 펄스폭을 레코드화하여 테이블을 생성한다(S220). 테이블 생성부(30)는 생성된 테이블을 각 레코드의 펄스폭을 기준으로 오름차순으로 정렬된 테이블로 재생성할 수 있다. 테이블 생성부(30)은 동일한 펄스폭을 가지는 레코드를 복수의 식별 정보를 가지는 레코드로 병합할 수 있다. 최종 테이블은 저장부(40)에 저장될 수 있다.The table generating unit 30 generates a table by recording each identification information and each pulse width of the received command signal (S220). The table generating unit 30 can regenerate the generated table as a table arranged in ascending order based on the pulse width of each record. The table generating unit 30 can merge records having the same pulse width into records having a plurality of pieces of identification information. The final table may be stored in storage 40.

스위치 제어부(10)는 모든 스위치(SW1, SW2, SWn)에 동기 신호를 제공한다(S240). 스위치 제어부(10)는 동기 신호를 주기적으로 모든 스위치에 동시에 제공할 수 있다. 이러한 주기는 수신부(20)에서 명령 신호를 수신하는 주기와 동일할 수도 있다.The switch control unit 10 provides a synchronization signal to all the switches SW1, SW2, and SWn (S240). The switch control section 10 can periodically provide the synchronization signal to all the switches at the same time. This period may be the same as the period of receiving the command signal in the receiving unit 20. [

카운터(50)는 시간을 카운팅한다(S250). The counter 50 counts time (S250).

스위치 제어부(10)는 카운팅된 시간이 테이블의 펄스폭과 일치하는지 비교한다(S260). 펄스폭과 카운팅 값이 동일하면, 스위치 제어부(10)는 해당 펄스폭의 레코드의 식별 정보에 해당하는 스위치에 오프 신호를 제공하여, 해당 스위치가 오프되도록 한다(S270). 동일하지 않으면, 스위치 제어부(10)는 카운팅 된 시간을 계속 체크한다(S250, S2640).The switch control unit 10 compares the counted time with the pulse width of the table (S260). If the pulse width and the count value are the same, the switch control unit 10 provides an off signal to the switch corresponding to the identification information of the record of the pulse width to turn off the switch (S270). If not, the switch control unit 10 continuously checks the counted time (S250, S2640).

해당 스위치에 오프 신호를 제공하면, 스위치 제어부(10)는 카운팅된 시간이 기설정된 값 이상인지 판단한다(S280). 카운팅된 시간이 기설정 값 이상인 경우, 스위치 제어부(10)는 모든 스위치를 오프(S290)하여, 다음 주기에 각 서보 모터가 정상 작동되는 환경을 제공할 수 있다. 이 경우, 스위치 제어부(10)는 명령 신호를 발송하는 서버에 에러 신호가 전송되도록 제어할 수도 있다. 카운팅된 시간이 기설정 값 미만인 경우, 스위치 제어부(10)는 카운팅된 시간을 체크하며 다음 레코드의 펄스폭과 카운팅 값을 비교한다(S250, S260).If an OFF signal is provided to the switch, the switch control unit 10 determines whether the counted time is greater than a predetermined value (S280). When the counted time is equal to or greater than the predetermined value, the switch control unit 10 turns off all the switches (S290) and can provide an environment in which each servo motor operates normally in the next period. In this case, the switch control unit 10 may control the error signal to be transmitted to the server that sends the command signal. If the counted time is less than the preset value, the switch control unit 10 checks the counted time and compares the counted value with the pulse width of the next record (S250, S260).

스위치 제어부(10)는 테이블의 최상위 레코드의 펄스폭을 제일 먼저 카운팅 값과 비교한다. 최상위 레코드의 식별 정보에 해당하는 스위치에 오프 신호를 제공하면, 스위치 제어부(10)는 테이블에 정렬된 순서대로 다음 레코드의 펄스폭을 비교한다.The switch control unit 10 firstly compares the pulse width of the top row of the table with the count value. If the OFF signal is supplied to the switch corresponding to the identification information of the highest-order record, the switch control unit 10 compares the pulse widths of the next record in the order in which they are arranged in the table.

도 6은 본 발명의 다른 실시예에 따른 서보 모터 제어 방법에 대한 순서도이다. 도 2를 참조한다.6 is a flowchart of a servo motor control method according to another embodiment of the present invention. See FIG.

도 6을 참조하면, 수신부(20)는 명령 신호를 수신한다(S310). 명령 신호는 각 서보 모터의 식별 정보 및 제어될 각도(펄스폭)을 구비할 수 있다. 명령 신호는 주기적으로 수신될 수 있다.Referring to FIG. 6, the receiving unit 20 receives a command signal (S310). The command signal may include identification information of each servo motor and an angle (pulse width) to be controlled. The command signal may be periodically received.

테이블 생성부(30)는 수신한 명령 신호의 각 식별 정보 및 각 펄스폭을 레코드화하여 테이블을 생성한다(S320). 테이블 생성부(30)는 생성된 테이블을 각 레코드의 펄스폭을 기준으로 오름차순으로 정렬한 후, 각 레코드의 펄스폭을 상위 레코드의 펄스폭과의 상대값으로 재지정하여 테이블을 재생성할 수 있다. 이 경우, 최상위 레코드는 비교할 레코드가 없으로, 초기 값이 유지된다. 테이블 생성부(30)은 동일한 펄스폭을 가지는 레코드를 복수의 식별 정보를 가지는 레코드로 병합할 수 있다. 최종 테이블은 저장부(40)에 저장될 수 있다.The table generating unit 30 generates a table by recording each identification information and each pulse width of the received command signal (S320). The table generator 30 can rearrange the table by rearranging the generated table in ascending order based on the pulse width of each record, and rewriting the pulse width of each record as a relative value with respect to the pulse width of the upper row. In this case, the topmost record has no record to compare with, and the initial value is maintained. The table generating unit 30 can merge records having the same pulse width into records having a plurality of pieces of identification information. The final table may be stored in storage 40.

스위치 제어부(10)는 모든 스위치(SW1, SW2, SWn)에 동기 신호를 제공한다(S340). 스위치 제어부(10)는 동기 신호를 주기적으로 모든 스위치에 동시에 제공할 수 있다. 이러한 주기는 수신부(20)에서 명령 신호를 수신하는 주기와 동일할 수도 있다.The switch control unit 10 provides a synchronization signal to all the switches SW1, SW2, and SWn (S340). The switch control section 10 can periodically provide the synchronization signal to all the switches at the same time. This period may be the same as the period of receiving the command signal in the receiving unit 20. [

스위치 제어부(10)는 카운터(50)를 테이블의 최상위 레코드의 펄스폭으로 리셋한 후(S350), 리셋된 값을 초기값으로 하여 카운터(50)가 다운 카운팅되도록 한다(S355).The switch control unit 10 resets the counter 50 to the pulse width of the top row of the table in step S350 and sets the reset value to an initial value so that the counter 50 is down-counted in step S355.

스위치 제어부(10)는 다운 카운팅이 0이 되는지 판단한다(S360). 0이 되지 않는 경우, 스위치 제어부(10)는 다운 카운팅을 체크한다(S335). 0이 된 경우, 스위치 제어부(10)는 해당 펄스폭의 레코드의 식별 정보에 해당하는 스위치에 오프 신호를 제공하여, 해당 스위치가 오프되도록 한다(S370).The switch control unit 10 determines whether down counting is 0 (S360). If not 0, the switch control unit 10 checks down counting (S335). 0, the switch control unit 10 provides an off signal to the switch corresponding to the identification information of the record of the corresponding pulse width so that the corresponding switch is turned off (S370).

해당 스위치에 오프 신호를 제공하면, 스위치 제어부(10)는 카운팅된 시간이 기설정된 값 이상인지 판단한다(S380). 카운팅된 시간이 기설정 값 이상인 경우, 스위치 제어부(10)는 모든 스위치를 오프(S390)하여, 다음 주기에 각 서보 모터가 정상 작동되는 환경을 제공할 수 있다. 이 경우, 스위치 제어부(10)는 명령 신호를 발송하는 서버에 에러 신호가 전송되도록 제어할 수도 있다. 카운팅된 시간이 기설정 값 미만인 경우, 스위치 제어부(10)는 다음 레코드의 펄스폭으로 카운터(50)를 리셋한다(S350).If an OFF signal is provided to the switch, the switch control unit 10 determines whether the counted time is greater than a predetermined value (S380). When the counted time is equal to or greater than the predetermined value, the switch control unit 10 turns off all the switches (S390) and can provide an environment in which each servo motor operates normally in the next period. In this case, the switch control unit 10 may control the error signal to be transmitted to the server that sends the command signal. If the counted time is less than the preset value, the switch control unit 10 resets the counter 50 to the pulse width of the next record (S350).

상기 본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The present invention can also be embodied 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. Examples of the computer-readable recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like, and may be implemented in the form of a carrier wave (for example, transmission via the Internet) . 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. And functional programs, codes, and code segments for implementing the present invention can be easily inferred by programmers skilled in the art to which the present invention pertains.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안 될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes and modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.

10: 스위치 제어부(10) 20: 수신부(20)
30: 테이블 생성부(30) 40: 저장부(40)
50: 카운터(50) 60: dc 공급부(60)
10: switch control unit 10 20: receiving unit 20
30: a table generating unit 30; 40: a storing unit 40;
50: counter (50) 60: dc supply unit (60)

Claims (10)

서보 모터 제어 장치에서, 인가되는 펄스폭에 대응하는 각도만큼 회전하는 복수의 서보 모터를 제어하는 방법으로서,
상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 단계;
상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 오름차순으로 정렬하여 테이블로 생성하는 단계;
상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫는 단계;
시간을 카운팅하는 단계;
상기 카운팅된 시간이 상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간과 동일한지 판단하는 단계;
상기 카운팅된 시간과 상기 제1 펄스폭에 해당하는 시간이 동일한 경우, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 단계;
상기 동기화하여 닫는 단계 이후의 총 카운팅된 시간이 기설정된 값 이상인 경우, 상기 복수의 스위치 모두를 오프하는 단계;
상기 총 카운팅 시간이 기설정된 값 미만인 경우, 상기 총 카운팅된 시간이 제2 레코드의 제2 펄스폭과 동일한지 판단하는 단계; 및
상기 총 카운팅된 시간과 상기 제2 펄스폭에 해당하는 시간이 동일한 경우, 상기 제2 레코드의 제2 식별 정보를 구비하는 제2 모터에 연결된 제2 스위치를 오프하는 단계를 포함하고,
상기 제2 레코드는 상기 테이블 상에서 상기 제1 레코드의 다음 순서인, 서보 모터 제어 방법.
A method for controlling a plurality of servo motors rotating in an angle corresponding to a pulse width applied in a servo motor control device,
Receiving a command signal including identification information of each of the plurality of servo motors and a plurality of pulse widths corresponding to the respective identification information;
Recording a plurality of pulse widths and identification information corresponding to each other among the plurality of pulse widths and the plurality of pieces of identification information, and arranging a plurality of records in ascending order on the basis of the pulse width to generate a table;
Synchronously closing a plurality of switches connected to each of the plurality of servo motors for turning on and off a reference voltage applied to the plurality of servo motors;
Counting time;
Determining whether the counted time is equal to a time corresponding to a first pulse width of a first record of the plurality of records;
Turning off the first switch connected to the first motor having the first identification information of the first record if the counted time is equal to the time corresponding to the first pulse width;
Turning off all of the plurality of switches if the total counted time since the synchronizing and closing step is greater than or equal to a predetermined value;
Determining whether the total counted time is equal to a second pulse width of the second record if the total counting time is less than a predetermined value; And
And turning off the second switch connected to the second motor having the second identification information of the second record if the total counted time is equal to the time corresponding to the second pulse width,
And the second record is the next order of the first record on the table.
삭제delete 삭제delete 제 1 항에 있어서,
상기 복수의 스위치를 동기화하여 닫는 단계는 주기적이며,
상기 기설정된 값은 상기 복수의 스위치를 동기화하는 주기와 동일한, 서보 모터 제어 방법.
The method according to claim 1,
The step of synchronously closing the plurality of switches is periodic,
Wherein the predetermined value is equal to a period of synchronizing the plurality of switches.
제 1 항에 있어서,
상기 테이블은 동일한 제3 펄스폭을 가지는 제3 및 제4 식별 정보가 있는 경우, 상기 제3 펄스폭을 포함하는 제3 레코드는 상기 제3 및 제4 식별 정보를 구비하는 것을 특징으로 하는, 서보 모터 제어 방법.
The method according to claim 1,
The third record including the third pulse width includes the third and fourth identification information, when the table has the third and fourth identification information having the same third pulse width. Motor control method.
서보 모터 제어 장치에서, 인가되는 펄스폭에 대응하는 각도만큼 회전하는 복수의 서보 모터를 제어하는 방법으로서,
상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 단계;
상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 오름차순으로 정렬하고, 최상위를 제외한 나머지 레코드는 해당 레코드의 펄스폭과 상기 해당 레코드의 상위 레코드의 펄스폭의 상대 값으로 펄스폭을 재지정하여 테이블로 생성하는 단계;
상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫는 단계;
상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간으로 카운터를 리셋하여 다운 카운팅하는 단계;
상기 제1 펄스폭에 해당하는 시간만큼 다운 카운팅이 완료되면, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 단계;
상기 제1 스위치를 오프한 후, 상기 카운터를 상기 제1 레코드의 바로 아래의 하위 레코더인 제2 레코드의 제2 펄스폭으로 리셋하여 다운 카운팅하는 단계; 및
상기 제2 펄스폭에 해당하는 시간만큼 다운 카운팅이 완료되면, 상기 제2 레코드의 제2 식별 정보를 구비하는 제2 모터에 연결된 제2 스위치를 오프하는 단계를 포함하는 서보 모터 제어 방법.
A method for controlling a plurality of servo motors rotating in an angle corresponding to a pulse width applied in a servo motor control device,
Receiving a command signal including identification information of each of the plurality of servo motors and a plurality of pulse widths corresponding to the respective identification information;
A pulse width and identification information corresponding to each other among the plurality of pulse widths and the plurality of identification information are recorded, and a plurality of records are sorted in ascending order based on the pulse width, Generating a table as a table by rewriting the pulse width to a relative value of a width and a pulse width of an upper row of the corresponding record;
Synchronously closing a plurality of switches connected to each of the plurality of servo motors for turning on and off a reference voltage applied to the plurality of servo motors;
Resetting the counter to a time corresponding to the first pulse width of the first record among the plurality of records and down-counting the counter;
Turning off the first switch connected to the first motor having the first identification information of the first record when down counting is completed by the time corresponding to the first pulse width;
After turning off the first switch, resetting the counter to a second pulse width of a second record that is a lower recorder immediately below the first record and down-counting the counter; And
And turning off the second switch connected to the second motor having the second identification information of the second record when down counting is completed by the time corresponding to the second pulse width.
제 6 항에 있어서,
동기화하여 닫는 단계 이후의 총 카운팅 값이 기설정된 값 이상인 경우, 상기 복수의 스위치 모두를 오프하는 단계를 더 포함하고,
상기 복수의 스위치를 동기화하여 닫는 단계는 주기적이며, 상기 기설정된 값은 상기 복수의 스위치를 동기화하여 닫는 값과 동일한, 서보 모터 제어 방법.
The method according to claim 6,
And turning off all of the plurality of switches if the total count value after the step of synchronizing and closing is equal to or greater than a predetermined value,
Wherein the step of synchronously closing the plurality of switches is periodic, and the preset value is equal to a value that synchronously closes the plurality of switches.
인가되는 펄스폭에 대응하는 각도만큼 회전하는 복수의 서보 모터를 제어하는 서보 모터 제어 장치로서,
상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 수신부;
상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 오름차순으로 정렬하여 테이블로 생성하는 테이블 생성부;
상기 생성된 테이블을 저장하는 저장부;
시간을 카운팅하는 카운터; 및
상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫으며, 상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간만큼 상기 카운터에서 카운팅된 경우, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하는 스위치 제어부를 포함하고,
상기 스위치 제어부는
동기화하여 닫은 이후의 총 카운팅된 시간이 기설정된 값 이상인 경우, 상기 복수의 스위치 모두를 오프하고,
상기 총 카운팅 시간이 기설정된 값 미만인 경우, 상기 총 카운팅된 시간이 제2 레코드의 제2 펄스폭과 동일한지 판단하고,
상기 총 카운팅된 시간과 상기 제2 펄스폭에 해당하는 시간이 동일한 경우, 상기 제2 레코드의 제2 식별 정보를 구비하는 제2 모터에 연결된 제2 스위치를 오프하고,
상기 제2 레코드는 상기 테이블 상에서 상기 제1 레코드의 다음 순서인, 서보 모터 제어 장치.
A servo motor control apparatus for controlling a plurality of servo motors rotating by an angle corresponding to an applied pulse width,
A receiving unit receiving a command signal including identification information of each of the plurality of servo motors and a plurality of pulse widths corresponding to the respective identification information;
A table generating unit for recording a plurality of pulse widths and identification information corresponding to each other among the plurality of pulse widths and the plurality of pieces of identification information to generate a table by sorting a plurality of records in ascending order based on the pulse width;
A storage unit for storing the generated table;
A counter for counting time; And
A plurality of switches connected to each of the plurality of servo motors for turning on and off a reference voltage applied to the plurality of servo motors are closed synchronously and the plurality of switches are closed by a time corresponding to a first pulse width of a first record of the plurality of records, And a switch control unit for turning off the first switch connected to the first motor having the first identification information of the first record when counted by the counter,
The switch control unit
When the total counted time after synchronous closing is equal to or greater than a predetermined value, all of the plurality of switches are turned off,
Determining whether the total counted time is equal to a second pulse width of the second record if the total counting time is less than a predetermined value,
If the total counted time is equal to the second pulse width, turning off a second switch connected to a second motor having second identification information of the second record,
And the second record is the next order of the first record on the table.
인가되는 펄스폭에 대응하는 각도 만큼 회전하는 복수의 서보 모터를 제어하는 서보 모터 제어 장치로서,
상기 복수의 서보 모터 각각의 식별 정보와 상기 각각의 식별 정보에 대응하는 복수의 펄스폭을 포함하는 명령 신호를 수신하는 수신부;
상기 복수의 펄스폭 및 상기 복수의 식별 정보 중 서로 대응하는 펄스폭 및 식별 정보를 레코드화하여, 상기 펄스폭을 기준으로 복수의 레코드를 오름차순으로 정렬하고, 최상위를 제외한 나머지 레코드는 해당 레코드의 펄스폭과 상기 해당 레코드의 상위 레코드의 펄스폭의 상대 값으로 펄스폭을 재지정하여 테이블로 생성하는 테이블 생성부;
상기 테이블을 저장하는 저장부;
시간을 다운 카운팅하는 카운터; 및
상기 복수의 서보 모터에 인가되는 기준 전압을 온오프하는 상기 복수의 서보 모터 각각에 연결된 복수의 스위치를 동기화하여 닫는 스위치 제어부를 포함하고,
상기 스위치 제어부는,
상기 복수의 레코드 중 제1 레코드의 제1 펄스폭에 해당하는 시간으로 상기 카운터를 리셋하여 다운 카운팅하도록 하고,
상기 제1 펄스폭에 해당하는 시간만큼 다운 카운팅이 완료되면, 상기 제1 레코드의 제1 식별 정보를 구비하는 제1 모터에 연결된 제1 스위치를 오프하고,
상기 제1 스위치를 오프한 후, 상기 카운터를 상기 제1 레코드의 바로 아래의 하위 레코더인 제2 레코드의 제2 펄스폭으로 리셋하여 다운 카운팅하고,
상기 제2 펄스폭에 해당하는 시간만큼 다운 카운팅이 완료되면, 상기 제2 레코드의 제2 식별 정보를 구비하는 제2 모터에 연결된 제2 스위치를 오프하는, 서보 모터 제어 장치.
A servo motor control apparatus for controlling a plurality of servo motors rotating by an angle corresponding to an applied pulse width,
A receiving unit receiving a command signal including identification information of each of the plurality of servo motors and a plurality of pulse widths corresponding to the respective identification information;
A pulse width and identification information corresponding to each other among the plurality of pulse widths and the plurality of identification information are recorded, and a plurality of records are sorted in ascending order based on the pulse width, A table generating unit for generating a table as a table by rewriting a pulse width with a relative value of a width and a pulse width of an upper row of the corresponding record;
A storage unit for storing the table;
A counter for counting down time; And
And a switch control unit for synchronously closing a plurality of switches connected to the plurality of servo motors for turning on and off the reference voltage applied to the plurality of servo motors,
The switch control unit,
Counting down the counter by a time corresponding to a first pulse width of a first record among the plurality of records,
When the down counting is completed by the time corresponding to the first pulse width, the first switch connected to the first motor having the first identification information of the first record is turned off,
Counting down the counter by resetting the counter to a second pulse width of a second record which is a lower recorder immediately below the first record after turning off the first switch,
And turns off the second switch connected to the second motor having the second identification information of the second record when down counting is completed by the time corresponding to the second pulse width.
제 1 항, 및 제 4 항 내지 제 7 항 중 어느 한 항의 방법을 수행하는 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium storing a program for performing the method of any one of claims 1 to 7.
KR1020140064497A 2014-05-28 2014-05-28 Servo motor control apparatus and metho thereof KR101642757B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140064497A KR101642757B1 (en) 2014-05-28 2014-05-28 Servo motor control apparatus and metho thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140064497A KR101642757B1 (en) 2014-05-28 2014-05-28 Servo motor control apparatus and metho thereof

Publications (2)

Publication Number Publication Date
KR20150136868A KR20150136868A (en) 2015-12-08
KR101642757B1 true KR101642757B1 (en) 2016-07-26

Family

ID=54872815

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140064497A KR101642757B1 (en) 2014-05-28 2014-05-28 Servo motor control apparatus and metho thereof

Country Status (1)

Country Link
KR (1) KR101642757B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210087348A (en) * 2020-01-02 2021-07-12 세메스 주식회사 Driving apparatus of semiconductor manufacturing equipment and driving method of semiconductor manufacturing equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112587351A (en) * 2020-11-27 2021-04-02 上海力申科学仪器有限公司 Operating table double-column synchronous following operation control circuit suitable for heavy load and detection method thereof
CN112671274A (en) * 2020-12-17 2021-04-16 中国航空工业集团公司成都飞机设计研究所 Universal motor control system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060038524A1 (en) 2004-08-20 2006-02-23 Fanuc Ltd Servo motor driving apparatus and servo motor driving method
KR100560859B1 (en) 2005-06-07 2006-03-13 (주)아이디피시스템 Servo mortor connectable with control equipment by series or parallel
KR100710838B1 (en) * 2005-04-06 2007-05-10 (주)테크노비전 Control device of plurality of servo motors using time-division pulses
KR101052521B1 (en) 2009-07-31 2011-07-29 삼성중공업 주식회사 Integrated servo drive and motor control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060038524A1 (en) 2004-08-20 2006-02-23 Fanuc Ltd Servo motor driving apparatus and servo motor driving method
KR100710838B1 (en) * 2005-04-06 2007-05-10 (주)테크노비전 Control device of plurality of servo motors using time-division pulses
KR100560859B1 (en) 2005-06-07 2006-03-13 (주)아이디피시스템 Servo mortor connectable with control equipment by series or parallel
KR101052521B1 (en) 2009-07-31 2011-07-29 삼성중공업 주식회사 Integrated servo drive and motor control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210087348A (en) * 2020-01-02 2021-07-12 세메스 주식회사 Driving apparatus of semiconductor manufacturing equipment and driving method of semiconductor manufacturing equipment
KR102594072B1 (en) * 2020-01-02 2023-10-24 세메스 주식회사 Driving apparatus of semiconductor manufacturing equipment and driving method of semiconductor manufacturing equipment

Also Published As

Publication number Publication date
KR20150136868A (en) 2015-12-08

Similar Documents

Publication Publication Date Title
KR101642757B1 (en) Servo motor control apparatus and metho thereof
US10040193B2 (en) Motor control system, robot system, and communication method for motor control system
CN105706008B (en) The method for addressing/sorting is carried out for the control assembly linearly linked to transmission equipment
JP2014526228A (en) General-purpose control of linear synchronous motor propulsion system
US9384569B2 (en) Waveform display device with data management function
EP1975753B1 (en) Motor control system
JP2005086918A (en) Motor driving device
CN108476008B (en) Control method for driving motor to rotate, electronic speed regulator, power suit and unmanned aerial vehicle
US7428251B2 (en) Control and supervisory signal transmission system
US11009851B2 (en) Drive controller and drive system
JP5622125B2 (en) Multi-axis motor drive system and multi-axis motor drive device
CN103259470A (en) Stepping motor movement system supporting a plurality of working modes
US20160139585A1 (en) Modular control of a linear drive with communication
JP2006262636A (en) Multi-axial servo driver
CN109474656B (en) Industrial communication system, industrial device, and industrial communication method
KR100710838B1 (en) Control device of plurality of servo motors using time-division pulses
CN204271965U (en) A kind of step actuator
CN103731073A (en) Motor control device controlling a plurality of motors that drive one driven body
US9361788B2 (en) Receiver of remote control device
Xing et al. Reconfigurable manufacturing system for agile mass customization manufacturing
CN103633898A (en) Data communication device that carries out serial communication in order to control motor
CN107820672A (en) Electric machine control system, driver, inverter and control method, computer software and storage medium
CN105227041A (en) The control method of motor driver and motor driven systems
EP2148522B1 (en) Assembly for evaluating the measurement values of a measurement value converter
EP2447035A1 (en) Injection molding machine

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
FPAY Annual fee payment

Payment date: 20190414

Year of fee payment: 4