KR0182132B1 - Fa coder signal detecting method and apparatus - Google Patents

Fa coder signal detecting method and apparatus Download PDF

Info

Publication number
KR0182132B1
KR0182132B1 KR1019960035578A KR19960035578A KR0182132B1 KR 0182132 B1 KR0182132 B1 KR 0182132B1 KR 1019960035578 A KR1019960035578 A KR 1019960035578A KR 19960035578 A KR19960035578 A KR 19960035578A KR 0182132 B1 KR0182132 B1 KR 0182132B1
Authority
KR
South Korea
Prior art keywords
signal
data signal
coder
clock
bits
Prior art date
Application number
KR1019960035578A
Other languages
Korean (ko)
Other versions
KR970055598A (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 KR1019960035578A priority Critical patent/KR0182132B1/en
Publication of KR970055598A publication Critical patent/KR970055598A/en
Application granted granted Critical
Publication of KR0182132B1 publication Critical patent/KR0182132B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/153Arrangements in which a pulse is delivered at the instant when a predetermined characteristic of an input signal is present or at a fixed time interval after this instant
    • H03K5/1534Transition or edge detectors
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M5/00Conversion of the form of the representation of individual digits
    • H03M5/02Conversion to or from representation by pulses
    • H03M5/04Conversion to or from representation by pulses the pulses having two levels
    • H03M5/06Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell
    • H03M5/12Biphase level code, e.g. split phase code, Manchester code; Biphase space or mark code, e.g. double frequency code

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명은 FA-코더의 신호검출방법 및 FA-코더의 신호검출기에 관한 것으로서, 프레임 단위로 하나의 코드를 형성하여, 하이펄스를 갖는 연속된 소정 갯수의 비트로 스타트신호를 구성하고, 맨체스터코드로 이루어진 소정 갯수의 비트로 데이타신호를 구성하는 방식으로 서보모터의 동작상태에 관한 정보를 코드화하는 FA-코더의 신호 중 서보모터의 상태를 나타내는 데이타신호를 검출하는 기능을 갖는다. 본 발명에서는, FA-코더에서 출력되는 신호 중 스타트신호를 검지하고, 스타트신호가 검지되면 스타트신호에 이어 발생되는 FA-코더의 신호 중 데이타신호의 주파수에 동기된 클럭신호를 발생시키며, 이 클럭신호에 따라 데이타신호의 유입되는 비트수를 카운트하면서 카운트된 데이타신호의 유입 비트수가 데이타신호의 비트수에 이를 때까지 상기 데이타신호를 직렬로 출력하는 FA-코더의 신호검출방법 및 이를 시행하는 FA-신호검출기를 제공한다.The present invention relates to a signal detection method of a FA coder and a signal detector of a FA coder, and forms one code in a frame unit to form a start signal with a predetermined number of bits having a high pulse, and a Manchester code. The data signal is composed of a predetermined number of bits, and has a function of detecting a data signal indicating the state of the servo motor from among the signals of the FA coder for encoding information on the operation state of the servo motor. In the present invention, the start signal is detected among the signals output from the FA coder, and when the start signal is detected, a clock signal synchronized with the frequency of the data signal among the FA signal generated following the start signal is generated. Signal detection method of FA coder which outputs the data signal serially until counting the number of inflow bits of the data signal according to the signal reaches the number of bits of the data signal and FA implementing the same Provide a signal detector.

Description

FA-코더의 신호검출방법 및 FA-코더의 신호검출기Signal detection method of FA coder and signal detector of FA coder

제1도는 TS5643N40 FA-코더의 신호를 구성하는 각 비트에 대한 설명도.1 is an explanatory diagram for each bit constituting a signal of a TS5643N40 FA-coder.

제2도는 맨체스터코드상의 비트의 설명도.2 is an explanatory diagram of bits in a Manchester code.

제3도는 제1도의 스타트신호와 어드레스신호 및 스톱비트 부분의 상세도.3 is a detailed view of the start signal, address signal, and stop bit portion of FIG.

제4도는 본 발명에 따른 FA-코더의 신호검출기의 설명도.4 is an explanatory diagram of a signal detector of a FA coder according to the present invention.

제5도는 본 발명에 따른 신호검출기로의 입력신호와 신호검출기 내의 각 부분의 펄스를 시간의 추이에 따라 비교한 도면이다.5 is a view comparing input signals to the signal detector according to the present invention and pulses of respective parts in the signal detector over time.

본 발명은 FA-코더의 신호검출방법 및 FA-코더의 신호검출기에 관한 것이다.The present invention relates to a signal detection method of a FA coder and a signal detector of a FA coder.

서보모터를 제어하기 위해서는 서보모터의 동작상태에서의 회전자의 전기각, 회전수, 토오크 등에 관한 정확한 정보가 필요하다. 이 정보를 얻는 데에는 서보모터의 회전자에 자석의 N극과 S극을 교대로 다수 배열하고 회전자의 회전에 따라 변화하는 자력을 감지하여 이를 엔코더로 코드화하는 방식이 주로 사용되고 있다.In order to control the servo motor, accurate information about the electric angle, rotation speed, torque, etc. of the rotor in the operation state of the servo motor is required. In order to obtain this information, the N-pole and the S-pole of the magnet are alternately arranged in the rotor of the servo motor, and the magnetic force that changes according to the rotation of the rotor is sensed and encoded by an encoder.

서보모터의 상태를 코드화하는 데에는, 프레임 단위로 하나의 코드를 형성하여, 하이펄스를 갖는 연속된 소정 갯수의 비트로 스타트신호를 구성하고, 맨체스터코드로 이루어진 소정 갯수의 비트로 데이타신호를 구성하며, 에러체크에 관한 데이타 및 어드레스에 관한 데이타를 소정 위치에 두고, 마지막단에 스톱비트를 두는 방식이 주로 사용되고 있다. 이러한 방식은 서보모터의 상태를 코드화하는 장치인 FA-코더에 가장 일반적으로 사용되는 방식이다.To code the state of the servomotor, one code is formed in units of frames, and the start signal is composed of a predetermined number of bits having a high pulse, and the data signal is composed of a predetermined number of bits composed of Manchester code, and an error is generated. The method of putting the data on the check and the data on the address at a predetermined position and the stop bit at the last stage is mainly used. This method is most commonly used for FA coders, which are devices that code the state of servomotors.

그런데, 이렇게 코드화된 신호는 서보모터의 동작 상태에 관한 정보 뿐만 아니라, 외부와의 정보 교환을 위해, 코드를 전송하는 각 프레임에 관한 정보, 에러체크 결과에 관한 정보, 각 프레임의 시작부를 알리는 정보 등을 가지고 있고, 이러한 각종 정보를 가진 코드를 분석하는 데에는 별도의 신호분석장치가 필요하다.By the way, the coded signal not only provides information about the operating state of the servomotor, but also information about each frame transmitting the code, information about an error check result, and information indicating the beginning of each frame for information exchange with the outside. And a separate signal analysis device is required to analyze a code having such various information.

따라서, 본 발명의 목적은, 상기와 같은 방식으로 코드화하는 FA-코더의 신호를 검출하여, 서보모터의 상태를 나타내는 데이타 신호를 검출하는, FA-코더의 신호검출방법 및 FA-코더의 신호검출기를 제공하는 것이다.Accordingly, an object of the present invention is to detect a signal of a FA coder coded in the above manner, and to detect a data signal indicative of the status of a servomotor, and a signal detector of a FA coder. To provide.

상기 목적은, 본 발명에 따라, 하이펄스를 갖는 연속된 소정 갯수를 비트로 구성된 스타트신호와, 맨체스터코드로 이루어진 소정 갯수의 비트로 구성된 데이타신호를 갖는 FA-코더의 신호를 검출하는 방법에 있어서, 상기 FA-코더에서 출력되는 신호 중 스타트신호를 검지하는 단계와; 상기 스타트신호가 검지되면 클럭펄스발생부를 구동하여, 상기 스타트신호에 이어 발생되는 상기 FA-코더의 신호 중 맨체스터코드로 구성된 데이타신호의 주파수에 동기된 클럭신호를 발생시키는 단계와; 상기 동기된 클럭신호에 따라 상기 데이타신호의 유입되는 비트수를 카운트하면서 상기 카운트된 데이타신호의 유입 비트수가 상기 데이타신호의 비트수에 이를 때까지 상기 데이타신호를 직렬로 출ㄺ하는 단계를 포함하는 것을 특징으로 하는 FA-코더의 신호검출방법에 의해 달성된다.The above object is, according to the present invention, in the method for detecting a signal of an FA-coder having a start signal consisting of a predetermined number of bits having a high pulse and a data signal consisting of a predetermined number of bits of a Manchester code, wherein Detecting a start signal among signals output from the FA coder; Driving a clock pulse generator to generate a clock signal synchronized with a frequency of a data signal consisting of a Manchester code among the signals of the FA coder generated after the start signal when the start signal is detected; Outputting the data signal in series while counting the number of inflow bits of the data signal according to the synchronized clock signal until the number of inflow bits of the counted data signal reaches the number of bits of the data signal; It is achieved by the signal detection method of the FA coder characterized in that.

여기서, 상기 스타트신호를 검지하는 단계는, 소정의 주파수에 따라 구동되는 카운터로 상기 FA-코더로부터의 신호 중 하이펄스를 나타내는 동안의 상기 주파수에 의한 펄스수를 카운트하는 단계와; 상기 카운트한 값이 상기 스타트신호의 하이펄스 유지시간동안 상기 주파수에 의해 발생할 수 있는 펄스수에 이르면 상기 클럭펄스발생부를 구동하는 단계로 구성함으로써, 하이펄스가 소정시간 계속되는 부분은 스타트신호뿐인 것을 이용하여 쉽게 검지할 수 있다.The detecting of the start signal may include: counting the number of pulses at the frequency while indicating a high pulse among the signals from the FA coder with a counter driven according to a predetermined frequency; And driving the clock pulse generator when the counted value reaches the number of pulses that can be generated by the frequency during the high pulse holding time of the start signal, so that the portion where the high pulse continues for a predetermined time is only the start signal. Can be easily detected.

또한, 상기 직렬로 출력된 데이타신호를 쉬프트레지스터에 순차적으로 입력시키는 단계와; 상기 데이타신호에 동기된 클럭펄스에 따라 상기 쉬프트레지스터에 입력된 데이타신호를 쉬프트하여 상기 쉬프트레지스터에 적층시키는 단계를 부가함으로써, 상기 데이타신호를 병렬로 한 단위로 출력함으로써 데이타신호를 보다 명료하게 출력할 수 있다.And sequentially inputting the serially output data signal to a shift register; Shifting the data signal input to the shift register according to a clock pulse synchronized with the data signal and stacking the data signal on the shift register, thereby outputting the data signal more clearly in parallel units. can do.

이 경우, 상기 쉬프트레지스터에 적층시키는 단계는, 상기 데이타신호에 동기된 클럭펄스를 소정시간 지연시킨 쉬프트클럭을 발생시키는 단계와; 상기 쉬프트클럭을 상기 쉬프트레지스터의 클럭입력으로 사용하는 단계로 구성하여 데이타신호의 각 비트가 순차적으로 입력됨에 동기하여 쉬프트동작을 행하도록 함으로써, 쉬프트동작과 데이타신호 비트의 입력 간격과의 시간차를 제거하여 데이타의 손실 없이 검출할 수 있다.In this case, the step of stacking the shift register comprises: generating a shift clock delaying a clock pulse synchronized with the data signal by a predetermined time; Using the shift clock as a clock input of the shift register to perform a shift operation in synchronization with each bit of the data signal being sequentially input, thereby eliminating the time difference between the shift operation and the input interval of the data signal bits. Can be detected without loss of data.

이러한 방법을 행함에 있어, 상기 데이타신호가 맨체스터코드에 의한 신호인지의 여부를 판별하여, 맨체스터코드가 아닐 경우 상기 과정을 처음부터 시행하도록 리셋하는 단계를 더 포함하여, 전송상의 오류 등에 의한 에러 발생시에는 다음에 발생하는 프레임의 코드부터 다시 검출동작을 시행하도록 하는 기능을 부가하는 것이 바람직하다.In performing such a method, the method may further include determining whether the data signal is a Manchester code signal, and resetting the process to be performed at the beginning if the Manchester code is not a Manchester code. It is desirable to add a function to perform the detection operation again from the code of the next frame to occur.

또한 본 발명에 따르면, 상기와 같은 방법에 의해 FA-코더의 신호를 검출하는 FA-코더의 신호검출기가 제공된다.According to the present invention, there is also provided a signal detector of an FA coder for detecting a signal of the FA coder by the above method.

이하에서는 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

본 발명에서는 일본 타마가와세이키사가 개발한 TS5643N40을 대상으로 FA-코더의 신호검출기를 구성하였다. 이러한 신호검출기는 파나소닉에서 개발한 FA-코더 등, 상기한 바와 같이 프레임 단위로 하나의 코드를 구성하여, 하이펄스를 갖는 연속된 소정 갯수의 비트로 스타트신호를 구성하고, 맨체스터코드로 이루어진 소정 갯수의 비트로 데이타신호를 구성하여 서보모터의 동작상태를 코드화하는 대부분의 FA-코더에 적용이 가능하다.In the present invention, a signal detector of an FA-coder is constructed for TS5643N40 developed by Tamagawa Seiki Co., Ltd., Japan. Such a signal detector constitutes one code in a frame unit as described above, such as a FA coder developed by Panasonic, forms a start signal with a predetermined number of bits having a high pulse, and a predetermined number of Manchester codes. It is applicable to most FA coders that code the operation state of the servo motor by constructing a data signal with bits.

제1도는 TS5643N40 FA-코더의 신호를 구성하는 각 비트에 대한 설명도로서, FA-코더에서 발생되는 신호의 한 프레임을 각 비트별로 분석한 것이다. 한 프레임은 총 42㎲의 시간을 가지며, 이중 25㎲ 동안은 코드화한 신호를 발생시키고, 17㎲ 동안은 휴지기이다. 25㎲의 코드신호부는 25비트로 분할되어 있고, 이 중 첫 3비트는 스타트신호이고, 다음 2비트는 모뎀어드레스를 나타내는 어드레스신호이며, 다음에 이어지는 15비트가 서보모터의 동작상태에 관한 데이타를 지니고 있는 데이타신호이다. 데이타신호 다음에는 1비ㅌ의 프레임어드레스가 있고, 다음 3비트는 전체 코드신호부의 에러체크를 위한 CRC(Cyclic Redundancy Check)신호이며, 마지막 1비트는 스톱비트로서 코드신호부의 종료를 나타낸다.FIG. 1 is an explanatory diagram of each bit constituting the signal of the TS5643N40 FA coder, and analyzes one frame of the signal generated by the FA coder for each bit. One frame has a total time of 42 ms, of which a coded signal is generated during 25 ms and rest for 17 ms. The code signal section of 25 kHz is divided into 25 bits, of which the first three bits are start signals, the next two bits are address signals representing modem addresses, and the next 15 bits contain data on the operation status of the servomotor. Data signal. Next to the data signal is a frame address of 1 bit, the next 3 bits are a cyclic redundancy check (CRC) signal for error checking of the entire code signal part, and the last 1 bit is a stop bit indicating the end of the code signal part.

프레임어드레스는 현재 코드신호부의 프레임을 나타내며 '0' 또는 '1'의 값을 가진다. 서보모터의 상태를 나타내는 데이타는 실질적으로 30비트로 구성되어 있으므로, 프레임어드레스가 '0'인 코드신호부의 데이타신호와 프레임어드레스가 '1'인 코드신호부의 데이타신호가 합쳐져서 하나의 데이타를 구성하게 되고, 이를 위해서 프레임어드레스가 사용된다.The frame address represents a frame of the current code signal unit and has a value of '0' or '1'. Since the data representing the state of the servo motor is substantially composed of 30 bits, the data signal of the code signal section having a frame address of '0' and the data signal of the code signal section having a frame address of '1' are combined to form one data. For this purpose, frame address is used.

각 비트는 스타트신호와 스톱비트를 제외하고는 모두 1㎲의 시간을 갖도록 구성되어 있으며, 스타트비트는 3.125㎲의 시간을 가지고, 스톱비트는 0.875㎲의 시간을 가져 코드신호부의 총 시간은 25㎲를 유지한다. 또한, 각 비트는 스타트신호를 제외하고는 모두 맨체스터코드를 이용해서 코드화되어 있다.Each bit is configured to have a time of 1 ms except for the start signal and the stop bit. The start bit has a time of 3.125 ms and the stop bit has a time of 0.875 ms. Keep it. Each bit is coded using the Manchester code except for the start signal.

제2도는 맨체스터코드상의 비트의 설명도이다. 맨체스터코드에서는 한 비트의 로직상의 '1'을 나타내는 방법으로 하이상태에서 로우상태로 변화하는 것을 사용하고, '0'을 나타내는 방법으로 로우상태에서 하이상태로 변화하는 것을 사용한다. 이러한 방식은 한 비트 내에서 반드시 한번 이상의 하이상태와 로우상태 사이의 상태 변화를 수반하며, 상태 변화를 수반하지 않으면 에러로 간주된다.2 is an explanatory diagram of bits on a Manchester code. In the Manchester code, the transition from the high state to the low state is used to represent a bit of logic '1', and the transition from the low state to a high state is used to represent a '0'. This approach necessarily involves more than one state change between a high state and a low state within a bit, and is considered an error if not accompanied by a state change.

제3도는 제1도의 스타트신호와 어드레스신호 및 스톱비트 부분의 상세도이다. 스타트신호는 3.125㎲의 시간을 갖는 3비트의 신호이며 2.625㎲의 하이펄스구간과 0.5㎲의 로우펄스구간으로 이루어져 있다. 어드레스신호의 두비트와 스톱비트의 1비트는 항상 모두 '0'의 값을 갖는다.3 is a detailed view of the start signal, the address signal, and the stop bit portion of FIG. The start signal is a 3-bit signal with a time of 3.125 ms and consists of a high pulse section of 2.625 ms and a low pulse section of 0.5 ms. Both bits of the address signal and one bit of the stop bit always have a value of '0'.

제4도는 본 발명에 따른 FA-코더의 신호검출기의 설명도이고, 제5도는 본 발명에 따른 신호검출기로의 입력신호와 신호검출기 내의 각 부분의 펄스를 시간의 추이에 따라 비교한 도면이다. 전체 신호검출기는 16㎒의 주파수를 갖는 클럭에 의해 구동된다. RX는 코드신호의 입력이다.4 is an explanatory diagram of a signal detector of a FA-coder according to the present invention, and FIG. 5 is a diagram comparing input signals to the signal detector according to the present invention and pulses of respective parts in the signal detector according to the time course. The entire signal detector is driven by a clock having a frequency of 16 MHz. RX is the input of the code signal.

코드신호는 스타트비트를 제외하고는 하이펄스가 계속되는 구간이 없다는 점을 이용하여 스타트비트를 검출한다. 즉 16㎒의 클럭으로 구동되며, 입력이 하이펄스를 가지고 있을 때 카운팅을 하는 다운카운터를 갖도록 검지부를 구성한다. 스타트비트의 하이 펄스 지속시간은 2.625㎲이고 이 시간 동안 16㎒의 클럭은 펄스를 41번 또는 42번 발생시키므로, 다운카운터의 값을 41로 세팅하고 하이펄스가 계속될 경우에만 다운카운팅을 시행하고 도중에 로우 펄스가 들어오면 다시 41이 세팅되도록 한다. 계속적인 다운카운팅을 시행하다가 다운카운ㅌ의 값이 '0'이 되면 스타트신호가 검지된 것으로 판단한다. 업카운터를 이용하여 '0'으로 세팅시키고 41이 되면 스타트신호가 검지된 것으로 판단하는 방식을 사용하여도 같은 효과를 얻을 수 있다.The code signal detects the start bit by using the fact that there is no section where the high pulse continues except the start bit. That is, the detector is configured to have a down counter which is driven by a clock of 16 MHz and counts when the input has a high pulse. The start pulse has a high pulse duration of 2.625 ms and during this time a 16 MHz clock generates 41 or 42 pulses, so set the value of the down counter to 41 and only count down if the high pulse continues. If a low pulse comes in, 41 is set again. If the down count value is '0' during continuous down counting, the start signal is detected. The same effect can be obtained by using the up counter to set '0' and determining the start signal detected when 41 is reached.

스타트신호가 검지되면, 검지된 시점부터 맨체스터코드로 구성된 2비트의 어드레스신호를 통과시키고, 데이타신호의 검출이 시작된다. 데이타신호의 검출은 검지부에서 LDK(Load Data Clock)을 발생시키면서 시작된다. LDK는 데이타신호의 발생시점부터 검지부가 발생시키는 16㎒의 클럭펄스이다. 이 LDK는 랫치카운터(LC)와 쉬프트카운터(SC)에 입력되고 랫치카운터(LC)와 쉬프트카운터(SC)는 LDK를 16분주하여 1㎒의 클럭펄스를 발생시킨다. 랫치카운터(LC)의 출력펄스는 플립플롭(F/F)의 구동클럭(LP)으로 사용되어, 플립플롭(F/F)의 입력단에 직렬연결되어 있는 코드신호(RX)는 이 구동클럭(LP)의 발생 개시와 동기되어 입력되는 데이타 신호를 한 비트씩 쉬프트레지스터에 출력한다. 쉬프트레지스터는 쉬프트카운터(SC)의 출력클럭(SP)에 의해 구동되어, 플립플롭(F/F)으로부터 데이타가 한 비트씩 입력될 때마다 쉬프트하는 동작을 행한다. 래치카운터(LC)로부터의 플립플롭(F/F) 구동클럭(LP)과 쉬프트카운터(SC)로부터의 출력클럭(SP)은 코드신호 중의 데이타신호가 입력될 때부터 발생하기 시작하며, 구동클럭(LP)은 데이타신호와 동기되어 있고, 출력클럭(SP)은 16㎒의 LDK를 한두펄스 지연시킨 후 16분주하도록 되어 있어 구동클럭(LP)보다 조금 지연된 펄스를 발생시킨다. 이는 플립플롭(F/F)으로부터 쉬프트레지스터로의 입력이 완료된 후 쉬프트 동작을 시행하도록 하여 쉬프트 동작의 정확성을 기할 수 있도록 한다.When the start signal is detected, the two-bit address signal composed of the Manchester code is passed from the detected time point, and the detection of the data signal is started. Detection of the data signal is started while generating an LDK (Load Data Clock) in the detection unit. The LDK is a 16 MHz clock pulse generated by the detector from the time of generation of the data signal. The LDK is input to the latch counter LC and the shift counter SC, and the latch counter LC and the shift counter SC divide the LDK by 16 to generate a clock pulse of 1 MHz. The output pulse of the latch counter LC is used as the driving clock LP of the flip-flop F / F, and the code signal RX connected in series with the input terminal of the flip-flop F / F is the driving clock (L). The data signal inputted in synchronization with the occurrence of LP) is output bit by bit to the shift register. The shift register is driven by the output clock SP of the shift counter SC to perform an operation of shifting each time data is inputted one by one from the flip-flop F / F. The flip-flop (F / F) drive clock LP from the latch counter LC and the output clock SP from the shift counter SC start to occur when the data signal in the code signal is input. The LP is synchronized with the data signal, and the output clock SP is configured to divide the 16 MHz LDK by one or two pulses and then divide the signal 16 to generate a pulse slightly delayed from the driving clock LP. This allows the shift operation to be performed after the input from the flip-flop (F / F) to the shift register is completed to ensure the accuracy of the shift operation.

데이타카운터(DC)는 구동클럭(LP)을 입력으로 하여 구동클럭(LP)의 펄스 수를 카운트하여 데이타신호와 프레임어드레스의 비트수에 해당하는 16을 카운트한다. 카운트한 값이 16에 이르면 리세검출부에 리셋 신호를 출력하며, 리셋검출부는 이 신호에 따라 검지부 및 데이타카운터(DC)를 리셋시킨다.The data counter DC receives the driving clock LP and counts the number of pulses of the driving clock LP to count 16 corresponding to the number of bits of the data signal and the frame address. When the count reaches 16, a reset signal is output to the reset detector, and the reset detector resets the detector and the data counter DC according to the signal.

플립플롭(F/F)으로부터의 입력과 쉬프트카운터(SC)의 쉬프트 동작 구동에 따라 쉬프트레지스터에 적층된 데이타신호와 프레임 어드레스는 데이타카운터(DC)에 의한 리셋 동작이 행해진 후 랫치 레지스터에 병렬로 쉬프트되어 데이타신호만의 검출이 이루어진다.In response to the input from the flip-flop F / F and the shift operation of the shift counter SC, the data signals and frame addresses stacked on the shift register are parallel to the latch register after the reset operation by the data counter DC is performed. It is shifted to detect only the data signal.

데이타카운터(DC)의 카운팅값과 쉬프트레지스터의 적층비트수를 조절하면 검출하는 코드신호의 비트수를 조절할 수 있다. 즉 CRC신호까지 출력하고 싶은 경우에는 데이타카운터(DC)가 19까지 카운트하도록 하고 쉬프트레지스터의 비트수를 19비트로 하면 에러체크를 위한 신호도 출력할 수 있게 되고, 프레임어드레스를 제외시킨 데이타신호만을 검출하고자 할 경우에는 마찬가지로 15까지만 카운트하면 된다.By adjusting the counting value of the data counter DC and the stacked bits of the shift register, the number of bits of the code signal to be detected can be adjusted. In other words, if you want to output up to CRC signal, if the data counter (DC) counts up to 19 and the number of bits in the shift register is 19 bits, the signal for error checking can be output, and only the data signal except the frame address is detected. If you want to do that, just count up to 15.

맨체스터코드 검사부는 플립플롭(F/F)에 입력되는 신호가 멘체스터코드인지를 계속적으로 체크하여, 맨체스터코드가 아닐 경우에는 리셋부에 신호를 보냄으로써, 에러가 발생했을 때 다시 스타트신호의 검출동작부터 시행하도록 한다.The Manchester code inspection unit continuously checks whether the signal input to the flip-flop (F / F) is a Manchester code, and sends a signal to the reset unit if the Manchester code is not, so that the start signal is detected again when an error occurs. Start with.

상기와 같은 FA-코더의 신호검출방법 및 FA-코더의 신호검출기는, 프레임 단위로 하나의 코드를 형성하여, 하이펄스를 갖는 연속된 소정 갯수의 비트로 스타트신호를 구성하고, 맨체스터코드로 이루어진 소정 갯수의 비트로 데이타신호를 구성하는 방식으로 서보모터의 동작상태에 관한 정보를 코드화하는 FA-코더의 신호중 서보모터의 상태를 나타내는 데이타신호를 검출하는 기능을 갖는다.The signal detection method of the FA coder as described above and the signal detector of the FA coder form one code in units of frames, constitute a start signal with a predetermined number of bits having a high pulse, and comprise a predetermined code made of Manchester code. The data signal is composed of a number of bits, and has a function of detecting a data signal representing the state of the servo motor from among the signals of the FA coder that codes information on the operation state of the servo motor.

Claims (10)

하이펄스를 갖는 연속된 소정 갯수의 비트로 구성된 스타트신호와, 맨체스터코드로 이루어진 소정 갯수의 비트로 구성된 데이타신호를 갖는 FA-코더의 신호를 검출하는 방법에 있어서, 상기 FA-코더에서 출력되는 신호 중 스타트신호를 검지하는 단계와; 상기 스타트신호가 검지되면 클럭펄스발생부를 구동하여, 상기 스타트신호에 이어 발생되는 상기 FA-코더의 신호 중 맨체스터코드로 구성된 데이타신호의 주파수에 동기된 클럭신호를 발생시키는 단계와; 상기 동기된 클럭신호에 따라 상기 데이타신호의 유입되는 비트수를 카운트하면서 상기 카운트된 데이타신호의 유입 비트수가 상기 데이타신호의 비트수에 이를 때까지 상기 데이타신호를 직렬로 출력하는 단계를 포함하는 것을 특징으로 하는 FA-코더의 신호검출방법.A method of detecting a signal of a FA coder having a start signal composed of a predetermined number of bits having a high pulse and a data signal composed of a predetermined number of bits of a Manchester code, the method comprising: starting among signals output from the FA coder Detecting a signal; Driving a clock pulse generator to generate a clock signal synchronized with a frequency of a data signal consisting of a Manchester code among the signals of the FA coder generated after the start signal when the start signal is detected; Outputting the data signal in series while counting the number of inflow bits of the data signal according to the synchronized clock signal until the number of inflow bits of the counted data signal reaches the number of bits of the data signal. Characterized in that the FA-coder signal detection method. 제1항에 있어서, 상기 스타트 신호를 검지하는 단계는, 소정의 주파수에 따라 구동되는 카운터로 상기 FA-코더로부터의 신호 중 하이펄스를 나타내는 동안의 상기 주파수에 의한 펄스수를 카운트하는 단계와; 상기 카운트한 값이 상기 스타트신호의 하이펄스 유지시간동안 상기 주파수에 의해 발생할 수 있는 펄스수에 이르면 상기 클럭펄스발생부를 구동하는 단계를 포함하는 것을 특징으로 하는 FA-코더의 신호검출방법.2. The method of claim 1, wherein the detecting of the start signal comprises: counting the number of pulses by the frequency while indicating a high pulse among the signals from the FA-coder with a counter driven according to a predetermined frequency; And driving the clock pulse generator when the counted value reaches the number of pulses generated by the frequency during the high pulse holding time of the start signal. 제1항 또는 제2항에 있어서, 상기 직렬로 출력된 데이타신호를 쉬프트레지스터에 순차적으로 입력시키는 단계와; 상기 데이타신호에 동기된 클럭펄스에 따라 상기 쉬프트레지스터에 입력된 데이타신호를 쉬프트하여 상기 쉬프트레지스터에 적층시키는 단계를 더 포함하는 것을 특징으로 하는 FA-코더의 신호검출방법.The method of claim 1 or 2, further comprising: sequentially inputting the serially output data signal into a shift register; And shifting a data signal input to the shift register according to a clock pulse synchronized with the data signal and stacking the data signal on the shift register. 제3항에 있어서, 상기 쉬프트레지스터에 적층시키는 단계는, 상기 데이타신호에 동기된 클럭펄스를 소정시간 지연시킨 쉬프트클럭을 발생시키는 단계와; 상기 쉬프트클럭을 상기 쉬프트레지스터의 클럭입력으로 사용하는 단계를 포함하는 것을 특징으로 하는 FA-코더의 신호검출 방법.The method of claim 3, wherein the stacking of the shift register comprises: generating a shift clock delaying a clock pulse synchronized with the data signal by a predetermined time; And using the shift clock as a clock input of the shift register. 제1항 또는 제2항에 있어서, 상기 데이타신호가 맨체스터코드에 의한 신호인지의 여부를 판별하여, 맨체스터코드가 아닐 경우 상기 과정을 처음부터 시행하도록 리셋하는 단계를 더 포함하는 것을 특징으로 하는 FA-코더의 신호검출방법.The method as claimed in claim 1 or 2, further comprising: determining whether the data signal is a Manchester code signal, and resetting the process to start from the beginning if the Manchester code is not the Manchester code. -Coder signal detection method. 하이펄스를 갖는 연속된 소정 갯수의 비트로 구성된 스타트신호와, 맨체스터코드로 이루어진 소정 갯수의 비트로 구성된 데이타신호를 갖는 FA-코더의 신호를 검출하는 검출기에 있어서, 상기 FA-코더에서 출력되는 신호 중 스타트신호를 검지하는 검지부와; 상기 검지부에서의 스타트신호 검지에 따라, 상기 스타트신호에 이어 발생되는 상기 FA-코더의 신호 중 맨체스터코드로 구성된 데이타신호의 주파수에 동기된 클럭신호를 발생시키는 클럭펄스발생부와; 상기 클럭펄스발생부로부터의 클럭신호에 따라 상기 데이타 신호의 유입되는 비트수를 카운트하는 데이타신호카운터와; 상기 데이타신호카운터에서 카운트된 데이타신호의 유입되는 비트수가 상기 데이타신호의 갯수에 이를 때까지 상기 데이타신호를 직렬로 출력시키는 출력부를 포함하는 것을 특징으로 하는 FA-코더의 신호검출기.A detector for detecting a signal of a FA coder having a start signal consisting of a predetermined number of bits having a high pulse and a data signal consisting of a predetermined number of bits of a Manchester code, comprising: a start among signals output from the FA coder A detection unit detecting a signal; A clock pulse generator for generating a clock signal synchronized with a frequency of a data signal composed of a Manchester code among the FA-coder signals generated following the start signal in response to the start signal detected by the detector; A data signal counter for counting the number of bits introduced into the data signal according to the clock signal from the clock pulse generator; And an output unit for outputting the data signal in series until the number of bits of the data signal counted by the data signal counter reaches the number of the data signals. 제6항에 있어서, 상기 스타트신호를 검지부는, 소정의 주파수에 따라 구동되며, 상기 FA-코더로부터의 신호 중 하이펄스를 나타내는 동안의 상기 주파수에 의한 펄스수를 카운트하고, 상기 카운트한 값이 상기 스타트신호의 유지시간 동안 상기 주파수에 의해 발생할 수 있는 펄스수에 이르면 상기 클럭펄스발생부를 구동하는 하이펄스카운터로 구성된 것을 특징으로하는 FA-코더의 신호검출기.7. The signal according to claim 6, wherein the start signal detecting unit is driven according to a predetermined frequency, and counts the number of pulses by the frequency while indicating a high pulse among the signals from the FA coder, and the counted value is And a high pulse counter for driving the clock pulse generator when the number of pulses generated by the frequency is reached during the start time of the start signal. 제6항 또는 제7항에 있어서, 상기 동기된 클럭펄스에 따라 상기 직렬로 출력된 데이타신호를 순차적으로 입력시키고 쉬프트하여 적층시키는 쉬프트레지스터와; 상기 쉬프트레지스터의 쉬프팅구동부를 더 포함하는 것을 특징으로 하는 FA-코더의 신호검출기.8. The apparatus of claim 6 or 7, further comprising: a shift register configured to sequentially input, shift, and stack the serially output data signals according to the synchronized clock pulses; And a shifting driving part of the shift register. 제8항에 있어서, 상기 쉬프팅구동부는, 상기 동기된 클럭펄스를 소정시간 지연시킨 쉬프트클럭을 발생시키는 클럭펄스지연부로 이루어져 있으며; 상기 쉬프트레지스터는, 상기 클럭펄스지연부의 출력 펄스를 상기 쉬프트레지스터의 클럭입력으로 사용하는 것을 특징으로 하는 FA-코더의 신호검출기.9. The apparatus of claim 8, wherein the shifting driver comprises a clock pulse delay unit for generating a shift clock in which the synchronized clock pulse is delayed for a predetermined time; And the shift register uses the output pulse of the clock pulse delay unit as a clock input of the shift register. 제6항 또는 제7항에 있어서, 상기 데이타신호가 맨체스터코드가 아닐 경우 상기 검지부를 리셋하는 리셋부를 더 포함하는 것을 특징으로 하는 FA-코더의 신호검출기.8. The signal detector of claim 6 or 7, further comprising a reset unit for resetting the detection unit when the data signal is not a Manchester code.
KR1019960035578A 1995-12-28 1996-08-26 Fa coder signal detecting method and apparatus KR0182132B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960035578A KR0182132B1 (en) 1995-12-28 1996-08-26 Fa coder signal detecting method and apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR101995061662 1995-12-28
KR95-61662 1995-12-28
KR19950061662 1995-12-28
KR1019960035578A KR0182132B1 (en) 1995-12-28 1996-08-26 Fa coder signal detecting method and apparatus

Publications (2)

Publication Number Publication Date
KR970055598A KR970055598A (en) 1997-07-31
KR0182132B1 true KR0182132B1 (en) 1999-04-15

Family

ID=66251562

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960035578A KR0182132B1 (en) 1995-12-28 1996-08-26 Fa coder signal detecting method and apparatus

Country Status (1)

Country Link
KR (1) KR0182132B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990050221A (en) * 1997-12-16 1999-07-05 이종수 Servo motor initial operation control method

Also Published As

Publication number Publication date
KR970055598A (en) 1997-07-31

Similar Documents

Publication Publication Date Title
JPH0641956B2 (en) Centrifuge tachometer and rotor confirmation device
KR920701971A (en) Binary Information Decoding Method of Magnetic Record Card
KR0182132B1 (en) Fa coder signal detecting method and apparatus
KR100215849B1 (en) Method for managementing power suspend
US4502142A (en) Apparatus for detecting errors in a digital data stream encoded in a double density code
US3778765A (en) Universal check digit verifier/generator systems
JP3045644B2 (en) Carrier movement controller and pulse frequency converter
SU1597730A1 (en) Method and apparatus for measuring speed of movement
KR930005567B1 (en) Guard bar detection system of barcode decorder
SU1277113A1 (en) Signature analyzer
JPS59109867A (en) Speed detection system
KR19990043005A (en) Motor speed detection device using incremental encoder
SU1023398A1 (en) Device for storage unit check
JP2549152B2 (en) Code error detection circuit
SU206169A1 (en) DEVICE FOR CORRECTING ERROR CORRECTION AND DETECTION
SU1361567A1 (en) Device for introducing information from two-position transducers
SU1566354A1 (en) Device for localization of errors in binary sequence
KR100345328B1 (en) Apparatus and method for detecting frequency of input signal
SU1229970A1 (en) Device for determining validity to transmission of binary information
JP3070109B2 (en) Absolute position detection method and device
SU978370A2 (en) Device for determining binary information transmission fidality
SU1156233A1 (en) Device for controlling step motor
SU991306A1 (en) Shaft rotation speed measuring device
SU1334377A1 (en) Device for locating digital signal errors
SU1644223A1 (en) Decoding device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20061129

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee