제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.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| KR1019940013231AKR0137840B1 (en) | 1994-06-11 | 1994-06-11 | Pulse size judgment reference value setting method | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| KR1019940013231AKR0137840B1 (en) | 1994-06-11 | 1994-06-11 | Pulse size judgment reference value setting method | 
| Publication Number | Publication Date | 
|---|---|
| KR960003097A KR960003097A (en) | 1996-01-26 | 
| KR0137840B1true KR0137840B1 (en) | 1998-06-15 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| KR1019940013231AExpired - Fee RelatedKR0137840B1 (en) | 1994-06-11 | 1994-06-11 | Pulse size judgment reference value setting method | 
| Country | Link | 
|---|---|
| KR (1) | KR0137840B1 (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JPH08223071A (en)* | 1995-02-08 | 1996-08-30 | Sony Corp | Transmitter and transmitter-receiver | 
| Publication number | Publication date | 
|---|---|
| KR960003097A (en) | 1996-01-26 | 
| Publication | Publication Date | Title | 
|---|---|---|
| EP0171058B1 (en) | Method of evaluating tightening condition of screw | |
| US4085890A (en) | Position detecting system | |
| JPS6116568B2 (en) | ||
| US3988560A (en) | Method and apparatus for controlling generation of machining pulses in EDM power supply | |
| CN111077845A (en) | Tool error compensation method and device and computer equipment | |
| US7039493B2 (en) | Numerical control apparatus | |
| KR0137840B1 (en) | Pulse size judgment reference value setting method | |
| DE102018004370B4 (en) | Machine tool and method of changing standby time | |
| US6697995B1 (en) | Diagnostic method for logic used in vehicle | |
| EP0245522B1 (en) | Metering device for injection molding machine | |
| JP2002328707A (en) | Numerical control unit | |
| EP0366659B1 (en) | Anti-blocking control system | |
| 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 | |
| JP2747060B2 (en) | Automatic tool diameter compensation method for laser beam machine | |
| US5112169A (en) | Thread cutting method and apparatus | |
| JPS61252052A (en) | Device for detecting abnormality of perforating tool | |
| JP2699832B2 (en) | Signal detection processing circuit | |
| US6477755B2 (en) | Gear burnishing system having pre-checking station | |
| KR100959424B1 (en) | How to calculate the operating time of hydraulic components | |
| RU2023536C1 (en) | Method of multipass mechanical treatment | |
| CN116564380B (en) | Correction method and device for gate pulse signals in DRAM (dynamic random Access memory) | |
| KR100299789B1 (en) | How to detect the steering neutral position of the vehicle | |
| JPS61103784A (en) | Screwing controller for screw member | 
| Date | Code | Title | Description | 
|---|---|---|---|
| PA0109 | Patent application | St.27 status event code:A-0-1-A10-A12-nap-PA0109 | |
| R17-X000 | Change to representative recorded | St.27 status event code:A-3-3-R10-R17-oth-X000 | |
| A201 | Request for examination | ||
| PA0201 | Request for examination | St.27 status event code:A-1-2-D10-D11-exm-PA0201 | |
| PG1501 | Laying open of application | St.27 status event code:A-1-1-Q10-Q12-nap-PG1501 | |
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection | St.27 status event code:A-1-2-D10-D21-exm-PE0902 | |
| P11-X000 | Amendment of application requested | St.27 status event code:A-2-2-P10-P11-nap-X000 | |
| P13-X000 | Application amended | St.27 status event code:A-2-2-P10-P13-nap-X000 | |
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration | St.27 status event code:A-1-2-D10-D22-exm-PE0701 | |
| PR1002 | Payment of registration fee | St.27 status event code:A-2-2-U10-U11-oth-PR1002 Fee payment year number:1 | |
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment | St.27 status event code:A-2-4-F10-F11-exm-PR0701 | |
| PG1601 | Publication of registration | St.27 status event code:A-4-4-Q10-Q13-nap-PG1601 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:4 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:5 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:6 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:7 | |
| FPAY | Annual fee payment | Payment date:20050128 Year of fee payment:8 | |
| PR1001 | Payment of annual fee | St.27 status event code:A-4-4-U10-U11-oth-PR1001 Fee payment year number:8 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 | |
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee | St.27 status event code:A-4-4-U10-U13-oth-PC1903 Not in force date:20060213 Payment event data comment text:Termination Category : DEFAULT_OF_REGISTRATION_FEE | |
| PC1903 | Unpaid annual fee | St.27 status event code:N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text:Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date:20060213 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 |