KR0137840B1 - Method for reference selection of pulse amplitude - Google Patents

Method for reference selection of pulse amplitude

Info

Publication number
KR0137840B1
KR0137840B1 KR1019940013231A KR19940013231A KR0137840B1 KR 0137840 B1 KR0137840 B1 KR 0137840B1 KR 1019940013231 A KR1019940013231 A KR 1019940013231A KR 19940013231 A KR19940013231 A KR 19940013231A KR 0137840 B1 KR0137840 B1 KR 0137840B1
Authority
KR
South Korea
Prior art keywords
pulse
value
reference value
input
values
Prior art date
Application number
KR1019940013231A
Other languages
Korean (ko)
Other versions
KR960003097A (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 KR1019940013231A priority Critical patent/KR0137840B1/en
Publication of KR960003097A publication Critical patent/KR960003097A/en
Application granted granted Critical
Publication of KR0137840B1 publication Critical patent/KR0137840B1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/02Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration
    • G01R29/023Measuring pulse width
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/03Determination of the rotor position, e.g. initial rotor position, during standstill or low speed operation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

본 발명은 크기가 다른 두종류의 펄스의 판단 함에 있어서, 펄스 크기판단의 기준이 되는 기준값을 설정해 주는 펄스 크기 판단 기준값 설정 방법에 관한 것으로 크기 판단의 기준이 되는 기준값을 일정하게 세팅시켰을 경우 펄스 크기가 2배로 변하면 오동작이 발생되는 문제점을 없앤 것이다.The present invention relates to a method for setting a pulse size determination reference value for setting a reference value as a reference for determining the pulse size in determining two types of pulses having different magnitudes. Is changed to 2 times eliminated the problem that a malfunction occurs.

이를 위하여 입력 펄스를 각각 큰 펄스값을 적은 펄스값으로 분리하고 이를 이용하여 크기판단의 기준이 되는 기준값을 설정한후 이렇게 설정된 기준값으로 펄스의 크기를 비교 판단하게 하므로써 크기 판단의 정확성을 높인 것이다.To this end, the input pulses are separated into large pulse values into smaller pulse values, and the reference values used as the reference for the size determination are set using the same, and the magnitude of the pulses is compared and judged by the set reference values.

Description

펄스크기 판단 기준값 설정 방법Pulse size judgment reference value setting method

제1도는 펄스 크기 판단 플로우챠트Figure 1 is a pulse magnitude determination flowchart

제2도는 본 발명의 펄스크기 판단기준값 설정 플로우챠트2 is a flowchart for setting a pulse size judgment reference value according to the present invention.

본 발명은 크기가 다른 두종류의 펄스크기를 판단함에 있어서, 펄스크기 판단의 기준이 되는 기준값을 설정해 주는 펄스크기 판단 기준값 설정방법에 관한 것으로 특히 크기가 서로 다른 두개의 펄스입력을 이용하여 크기판단의 기준이 되는 기준값을 자동 설정하여 주는 것이다.The present invention relates to a method for setting a pulse size determination reference value for setting a reference value for determining the pulse size in determining two types of pulse sizes having different magnitudes. In particular, the present invention relates to a size determination using two pulse inputs having different sizes. It is to automatically set the reference value that is the standard for.

디스크 체인저(Disc changer)등의 메카니즘에서는 디스크의 위치 판정을 위하여 크기가 같은 펄스(m)사이에 상기 펄스와는 크기가 다른 펄스(n)를 위치별로 다르게 넣은 후(예를들어 m, n, n, m 또는 m, n, m 등) 특정크기가 펄스(m) 사이에 검출되는 펄스(n)갯수를 이용하여 정확한 위치를 판정해주고 있다.In a mechanism such as a disc changer, a pulse n having a different size from the pulse is inserted between positions (m, n, n, m or m, n, m, etc.) The exact position is determined using the number of pulses n, the specific size of which is detected between the pulses m.

여기서 펄스 검출시 크기가 각기 다른 두종류의 펄스(m 또는 n)가 입력되므로 상기 입력펄스의 크기를 정확히 판단해 주어야 할 필요가 있다.In this case, since two types of pulses (m or n) having different magnitudes are input during pulse detection, it is necessary to accurately determine the magnitude of the input pulses.

이같이 크기가 다른 두 종류의 펄스크기를 판단하기 위한 기존 방식은 메카니즘의 오차 허용치를 고려하여 미리 크기 판단의 기준이 되는 기준값을 세팅 시켜 놓은 후 세팅된 기준값(S)과 입력 펄스(m 또는 n)를 비교하여 그 크기를 판단 하였다.In the conventional method for determining two types of pulse sizes having different sizes, the reference value (S) and the input pulse (m or n) that are set after setting a reference value, which is a reference for the size determination in advance, are considered in consideration of the tolerance of the mechanism. Compared to determine the size.

이때 기준값 설정은 메카니즘에서 발생시키는 크기가 긴펄스와 크기가 짧은 펄스를 더하고 이를 둘로 나눈값을 기준값으로 설정한다.In this case, the reference value is set by adding a long pulse and a short pulse generated by the mechanism and dividing it by two.

그리고 설정된 기준값과 입력 펄스를 비교하여 기준값보다 큰 펄스가 입력되면 긴펄스로 판단하고 기준값보다 작은 펄스가 입력되면 짧은 펄스로 판단한다.When a pulse larger than the reference value is input by comparing the set reference value with the input pulse, it is determined as a long pulse and when a pulse smaller than the reference value is input, it is determined as a short pulse.

그러나 상기된 방법은 미리 펄스 크기 비교를 위한 기준값을 세팅 시켜 놓게 되므로 메카니즘에 의해 펄스의 크기가 2배이상 증가 하거나 감소할 경우 펄스의 크기 판단이 거꾸로 되는 문제점이 있게 된다.However, the above-described method sets a reference value for comparing the pulse sizes in advance, which causes a problem in that the magnitude of the pulse is reversed when the magnitude of the pulse increases or decreases by more than two times.

본 발명은 상기와 같은 점을 감안하여 안출한 것으로 크기 판단이 기준이 되는 기준값을 밀 정해진값으로 세팅 시키지 않고 입력되는 크기가 다른 두종류의 펄스를 이용하여 크기 판단의 기준이 되는 기준값을 설정해 주도록 함으로써 메카니즘에 의해 퍼스의 크기가 변화된다 하더라도 정확한 크기 판단을 할 수 있도록 한 것이다.The present invention has been made in view of the above-mentioned point, so that the reference value for the size determination is set by using two kinds of pulses having different input sizes without setting the reference value for the size determination as the reference value. As a result, even if the size of the Perth is changed by the mechanism, accurate size determination can be made.

이러한 목적을 달성하기 위한 본 발명은 크기가 다른 두종류의 입력 펄스를 기주값과 비교하여 크기 판단을 행함에 있어서, 입력 펄스 인가시 펄스크기 판단의 기준이 되는 기준값이 설정되었는 가를 판단하는 단계와, 기준값이 설정 되어 있지 않으면 전의 펄스값을 2배로 한값과 입력 펄스값을 비교하여 입력값이 크면 입력펄스 값을 큰값의 합으로 증가 시키고 입력펄스 값이 적으면 입력펄스 값을 작은값의 합으로 증가 시키는 단계와, 적은값과 큰값의 합이 한계 갯수에 이르면 큰값의 합을 큰값 개수로 나누어 큰값 평균으로 설정하고 작은값의 합을 작은값 갯수로 나누어 작은값 평균으로 설정하는 단계와, 큰값 평균과 작은값 평균을 더한후 이를 나누어 크기 판단의 기준값으로 설정하는 단계로 이루어진다.In order to achieve the above object, the present invention compares two types of input pulses having different magnitudes with a host value to determine whether a reference value, which is a reference value for determining the pulse size when an input pulse is applied, is set; If the reference value is not set, the previous pulse value is doubled and the input pulse value is compared. If the input value is large, the input pulse value is increased by the sum of the large value. If the input pulse value is small, the input pulse value is made the sum of the small value. Increasing the value, and when the sum of the small values and the large values reaches the limit number, dividing the sum of the large values by the number of large values to set the large value average, dividing the sum of the small values by the number of small values and setting the small value average, and the large value average. And the average of the small values are added and divided into a reference value for determining the size.

이하 본 발명을 첨부된 플로우챠트 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying flowchart.

제1도는 펄스 크기 판단 플로우 챠트로써 모터의 회전에 따라 인가 되는 펄스를 입력하는 과정과, 펄스 입력시 크기 판단의 기준이 되는 기준값이 설정되었는 가를 판단하는 과정과, 기준값 설정이 되어 있지 않으면 크기 판단의 기준이 되는 기준값을 입력 펄스를 이용하여 설정하는 과정을 수행하게 된다.1 is a process of inputting a pulse applied according to the rotation of a motor as a pulse size determination flow chart, a process of determining whether a reference value, which is a reference for size determination at the time of pulse input, is set, and a size determination if a reference value is not set. The process of setting a reference value, which is a reference value, by using an input pulse is performed.

즉 크기가 다른 두종류의 펄스 입력시 입력펄스를 이용한 기준값을 설정하여 입력펄스의 크기를 비교 판단하게 함으로써 정확한 비교 판단이 가능하여 위치 및 회전 제어를 정밀하게 할 수 있도록 하고 있으나, 기존에는 입력 펄스에 관계없이 미리 메카니즘에 의해 펄스 길이가 변화할 때 오동작 하게 되는 우려가 있었다.In other words, when two kinds of pulses are inputted differently, the reference value using the input pulses is set to compare the magnitudes of the input pulses so that the accurate comparison can be judged. Irrespective of this, there was a risk of malfunction when the pulse length is changed by the mechanism in advance.

이 같이 본 발명은 펄스의 크기 판단을 행함에 있어서 크기판단의 기본이 되는 기준값을 입력 되는 두종류의 크기가 서로 다른 펄스를 이용하여 설정해 주도록 한 것으로 먼저 모터의 회전및 위치 이동에 따라 크기가 서로 다른 두종류의 펄스가 인가되는지를 체크 한다(S11 스텝).As described above, the present invention is to set the reference value, which is the basis of the size determination, using pulses different from each other in order to determine the magnitude of the pulse. It is checked whether two different pulses are applied (step S11).

펄스가 입력되면 펄스크기 판단을 위한 판단 기준이 완료되어 있는가를 체크한다.(S12 스텝)When the pulse is input, it is checked whether the criterion for determining the pulse size is completed (step S12).

여기서 판단기준이란 기준값을 말하며, 본 발명에서의 기준값은 입력되는 두종류의 크기가 서로 다른 펄스를 이용하여 설정해 주게 된다.Here, the criterion refers to a reference value, and the reference value in the present invention is set using pulses having two different sizes.

펄스 크기 판단의 기준이 되는 기준값의 설정이 완료되어 있으면 입력펄스를 설정된 기준값과 비교하여 크기를 판단한다(S13 스텝).If the setting of the reference value, which is the reference for determining the pulse size, is completed, the size is determined by comparing the input pulse with the set reference value (step S13).

펄스크기 판단의 기준이 되는 기준값의 설정이 완료 되어 있지 않으면 입력펄스를 이용하여 크기판단의 기준이 되는 기준값을 설정한다.(S20 스텝)If the setting of the reference value for the pulse size judgment is not completed, the reference value for the size judgment is set using the input pulse (step S20).

즉 펄스입력시 크기 판단의 기준이 되는 기준값이 설정되어 있으면 설정된 기주값과 입력 펄스의 길이를 비교하여 긴 펄스 인가 짧은 펄스인가를 판단하고 기준값이 설정되어 있지 않으면 입력되는 크기가 다른 두종류가 펄스를 이용하여 기준값을 설정해 준 후 펄스와 설정된 기준값을 비교하여 크기 판단을 하게 된다.In other words, if the reference value is set as the reference value for pulse input, it compares the set host value with the length of input pulse to determine whether it is a long pulse or a short pulse. After setting the reference value using, the size is compared by comparing the pulse with the set reference value.

여기서 크기 판단의 기준이 되는 기준값은 메카니즘 제작시 일정한 값으로 세팅 되어지는 종래 기술과는 달리 입력되는 크기가 다른 두종류의 펄스를 이용하여 설정해 주게 되며 이러한 기준값 설정방법을 제2도의 플로우챠트에 의거 설명한다.Here, the reference value, which is the standard for determining the size, is set by using two kinds of pulses having different input sizes, unlike the prior art, which is set to a constant value when manufacturing the mechanism.The method of setting the reference value is based on the flowchart of FIG. Explain.

펄스가 인가 되면 크기 판단의 기준이 되는 기준값이 설정되어 있는 가를 체크한다(S21 스텝).When a pulse is applied, it is checked whether a reference value, which is a reference for magnitude determination, is set (step S21).

S21 스텝에서 기준값이 설정되어 있으면 그대로 입력펄스와 설정된 기준값을 비교하여 크기판단을 하게 하고 기준값이 설정되어 있지 않으면 입력되는 펄스 값을 받아 들인다(S22 스텝).If the reference value is set in step S21, the input pulse is compared with the set reference value to determine the size. If the reference value is not set, the input pulse value is accepted (step S22).

기준값이 설정되지 않은 상태에서 펄스가 입력되면 입력펄스 바로 이전의 펄스값에 2를 곱하고 그값이 입력 펄스값보다 적은가를 체크한다.(S23 스텝)If the pulse is input without the reference value set, multiply the pulse value immediately before the input pulse by 2 and check whether the value is less than the input pulse value (step S23).

입력펄스 전의 펄스 값에 2를 곱한 값이 입력펄스값보다 크면 입력펄스 값을 큰값의 합으로 하고(S24 스텝) 큰값과 갯수를 1 증가시킨다(S25 스텝).If the value obtained by multiplying the pulse value before the input pulse by two is larger than the input pulse value, the input pulse value is the sum of the larger values (S24 step), and the larger value and the number are increased by one (S25 step).

그러나 S23 스텝에서 입력펄스 전의 펄스값에 2를 곱한 값이 입력펄스값 보다 적으면 입력펄스 값을 작은값의 합으로 하고(S26 스텝) 작은값의 갯수를 1 증가 시킨다(S27 스텝).However, if the value obtained by multiplying the pulse value before the input pulse by 2 in step S23 is smaller than the input pulse value, the input pulse value is the sum of the smaller values (step S26) and the number of smaller values is increased by one (step S27).

상기된 S23 스텝에서 S21 스텝에 의해 큰값의 갯수와 적은값의 갯수를 증가 시키되, 적은값의 갯수와 큰값의 갯수를 더한 값과 한계 갯수에 달할때 까지 상기 과정을 계속한다.S28 스텝).In step S23, the number of large values and the number of small values is increased by the step S21, but the process is continued until the number of small values and the number of large values is added and the limit is reached.

즉 상기과정에 의한 적은 값의 갯수와 큰값의 갯수를 더하여 한계 갯수에 도달할때 까지 상기 과정을 반복 수행하며 여기서 한계 갯수는 기준값 설정시 오차가 발생되지 않는 값으로 미리 메카니즘 제작시 실험에 의한 값으로 설정해 주게된다.That is, the process is repeated until the limit number is reached by adding the number of small values and the number of large values by the above process, where the limit number is the value that no error occurs when setting the reference value. Will be set.

이렇게 얻어낸 큰값 평균과 적은값 평균을 더하고 이를 다시 2로 나누면 크기 판단의 기준이 되는 기준값을 입력되는 크기가 서로 다른 두종류의 펄스로 부터 얻어낼 수 있다(S31 스텝).By adding the large value average and the small value average thus obtained and dividing them by 2 again, the reference value, which is the basis of the size determination, can be obtained from two kinds of pulses having different input sizes (step S31).

상기 과정에 의해 기준값의 설정이 완료되면 설정된 기준값과 입력펄스를 비교하여 크기 판단을 하게 된다.(S32 스텝)When the setting of the reference value is completed by the above process, the size is determined by comparing the set reference value with the input pulse (step S32).

이같이 펄스의 크기 판단을 할때 크기 비교의 기본이 되는 기준값을 크기가 서로 다른 두종류의 입력 펄스를 이용하여 설정해 주도록 함으로써 종래와 같이 기준값을 메카니즘 제작시 고정된 값으로 설정할때 모터의 속도차에 의해 입력 펄스의 폭이 2배 이상 변경될 경우 오동작이 발생 되었으나, 본 발명에 의해서는 상기된 경우 오동작 없이 완전한 펄스크기 비교가 가능하다.In this way, when the pulse size is judged, the reference value, which is the basis of size comparison, is set by using two kinds of input pulses having different sizes. When the width of the input pulse is changed by more than two times, a malfunction occurred, but according to the present invention, a complete pulse size comparison can be performed without a malfunction in the case described above.

따라서 본 발명은 펄스크기 판단을 행할수 있어 모터의 위치 및 회전검출을 제어하는데 정밀성 및 정확성을 기할 수 있는 효과가 있다.Therefore, the present invention can determine the pulse size has an effect that can determine the precision and accuracy in controlling the position and rotation detection of the motor.

Claims (1)

크기가 다른 두종류의 기준값과 비교하여 크기판단을 행함에 있어서, 펄스인가시 기준이 되는 기준값이 설정되었는가를 판단하는 단계와, 가준값이 설정 되어 있지 않으면 전의 펄스값을 2배로 한값과 입력 펄스값을 비교하여 입력펄스 값이 크면 입력펄스 값을 큰값의 합으로 증가시키고 입력펄스 값이 적으면 입력펄스 값을 작은값의 합으로 증가 기키는 단계와, 적은값과 큰값의 한계갯수에 이르면 큰값의 합을 큰값갯수로나누어 큰값 평균으로 설정하고 작은값의 합을 작은값 갯수로 나누어 작은값 평균으로 설정하는 단계와, 큰값 평균과 작은값 평균을 더한 후 이를 둘로 나누어 크기 판단의 기준값으로 설정하는 단계로 이루어 지는 것을 특징으로 펄스크기 판단 기준값 설정 방법.In determining size by comparing two types of reference values having different magnitudes, determining whether a reference value, which is a reference value when a pulse is applied, is set, and if the provisional value is not set, the value obtained by doubling the previous pulse value and the input pulse. Comparing the values, if the input pulse value is large, increase the input pulse value to the sum of the large value.If the input pulse value is small, increase the input pulse value to the sum of the small value. Dividing the sum by the number of large values and setting it as a large value average, dividing the sum of the small values by the number of small values, and setting it as a small value average, adding the large value average and the small value average, and dividing it by two to set the reference value. Pulse size determination reference value setting method characterized in that it is made of steps.
KR1019940013231A 1994-06-11 1994-06-11 Method for reference selection of pulse amplitude KR0137840B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940013231A KR0137840B1 (en) 1994-06-11 1994-06-11 Method for reference selection of pulse amplitude

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940013231A KR0137840B1 (en) 1994-06-11 1994-06-11 Method for reference selection of pulse amplitude

Publications (2)

Publication Number Publication Date
KR960003097A KR960003097A (en) 1996-01-26
KR0137840B1 true KR0137840B1 (en) 1998-06-15

Family

ID=19385168

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940013231A KR0137840B1 (en) 1994-06-11 1994-06-11 Method for reference selection of pulse amplitude

Country Status (1)

Country Link
KR (1) KR0137840B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08223071A (en) * 1995-02-08 1996-08-30 Sony Corp Transmitter and transmitter-receiver

Also Published As

Publication number Publication date
KR960003097A (en) 1996-01-26

Similar Documents

Publication Publication Date Title
EP0171058B1 (en) Method of evaluating tightening condition of screw
US7039493B2 (en) Numerical control apparatus
US4085890A (en) Position detecting system
JPS6116568B2 (en)
US3988560A (en) Method and apparatus for controlling generation of machining pulses in EDM power supply
KR0137840B1 (en) Method for reference selection of pulse amplitude
US5274326A (en) Circuit configuration for processing the output signals of a speed sensor to eliminate noise
US6697995B1 (en) Diagnostic method for logic used in vehicle
DE102018004370B4 (en) Machine tool and method of changing standby time
EP0245522B1 (en) Metering device for injection molding machine
EP0014563B1 (en) Tracer control apparatus for, and a method of machining in, a tracer machining system
Gear et al. Smooth numerical solutions of ordinary differential equations
US4583198A (en) Computer program run-away supervisory circuit and method
US5112169A (en) Thread cutting method and apparatus
JP2002328707A (en) Numerical controller
JP2699832B2 (en) Signal detection processing circuit
JPS61252052A (en) Device for detecting abnormality of perforating tool
US6477755B2 (en) Gear burnishing system having pre-checking station
JP4140417B2 (en) Noise amount measuring method and motor driving apparatus using the same
US3798429A (en) Apparatus for integrating the area of a succeeding peak superimposed on the tail of a preceding peak in the output of a measuring instrument
RU2023536C1 (en) Method of multipass mechanical treatment
US7173390B2 (en) Method of detecting a malfunction during a displacement of an element by means of a drive system, and device suitable for carrying out such a method
JPS61103784A (en) Screwing controller for screw member
KR100959424B1 (en) Method for calculating the operating time of hydraulic components
KR960021329A (en) Servo control method of wire cut electric discharge 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: 20050128

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee