KR100195396B1 - Pulse generator and microcomputer with it - Google Patents

Pulse generator and microcomputer with it Download PDF

Info

Publication number
KR100195396B1
KR100195396B1 KR1019910001758A KR910001758A KR100195396B1 KR 100195396 B1 KR100195396 B1 KR 100195396B1 KR 1019910001758 A KR1019910001758 A KR 1019910001758A KR 910001758 A KR910001758 A KR 910001758A KR 100195396 B1 KR100195396 B1 KR 100195396B1
Authority
KR
South Korea
Prior art keywords
time data
output
signal
pulse
register
Prior art date
Application number
KR1019910001758A
Other languages
Korean (ko)
Inventor
미쯔루 와다베
산시로 오바라
리까 오우에
시게끼 모리나가
Original Assignee
가나이 쓰도무
가부시끼가이샤 히다치 세이사꾸쇼
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 가나이 쓰도무, 가부시끼가이샤 히다치 세이사꾸쇼 filed Critical 가나이 쓰도무
Application granted granted Critical
Publication of KR100195396B1 publication Critical patent/KR100195396B1/en

Links

Landscapes

  • Feedback Control In General (AREA)
  • Control By Computers (AREA)
  • Control Of Ac Motors In General (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

본 발명에 따른 펄스발생장치는 CPU와 같은 외부장치로부터 주어진 출력펄스에 대한 출력시간 데이터를 포함한 펄스제어 명령에 따라 작동된다. 출력펄스에 대한 출력시간 데이터를 포함한 펄스제어 명령은 외부로부터 임의의 타이밍에서 연상기억장치의 마스터 메모리에 전송된다. 이 마스터 메모리의 내용은 복사가능장치로부터 전송된 복사가능신호에 응답하여 슬레이브 메모리에 복사된다. 펄스주기의 종단을 나타내는 미리 설정된 횟수의 동기신호가 시간간격 타이머로부터 생성될 때마다 복사가능신호가 전송된다. 시간간격 타이머의 타이머 값이 슬레이브 메모리의 시간데이터와 일치할 때, 연상기억장치는 슬레이브 메모리로부터 출력펄스의 출력제어 명령을 판독한다. 출력제어회로는 상기와 같이 판독된 제어명령에 상응하는 출력펄스를 전송한다. 결과적으로 출력시간 데이터가 외부로부터 임의의 타이밍에서 재부하되면, 출력펄스폭의 에어발생이 방지될 수 있다. 더욱이, CPU의 부하가 줄어든다.The pulse generating device according to the present invention is operated according to a pulse control command including output time data for a given output pulse from an external device such as a CPU. The pulse control command including the output time data for the output pulse is transmitted from the outside to the master memory of the memory device at an arbitrary timing. The contents of this master memory are copied to the slave memory in response to the copyable signal transmitted from the copyable device. A copyable signal is transmitted each time a preset number of synchronization signals representing the end of the pulse period is generated from the time interval timer. When the timer value of the time interval timer matches the time data of the slave memory, the memory device reads the output control command of the output pulse from the slave memory. The output control circuit transmits an output pulse corresponding to the control command read as described above. As a result, when the output time data is reloaded at an arbitrary timing from the outside, air generation of the output pulse width can be prevented. Moreover, the CPU load is reduced.

Description

펄스발생장치, 그것을 구비한 마이크로컴퓨터 및 펄스발생 장치용 연상기억장치Pulse generator, microcomputer with same and soft memory device for pulse generator

제1도는 본 발명의 한 실시에를 설명하는 전체구조도.1 is an overall structural diagram illustrating one embodiment of the present invention.

제2도는 시간간격 타이머를 설명하는 구체적 구조도.2 is a detailed structural diagram illustrating a time interval timer.

제3도는 삼각파형 캐리어의 발생 타이밍챠트3 is a timing chart of triangular waveform carriers

제4도는 삼각파형 캐리어의 발생 타이밍챠트4 is a timing chart of triangular waveform carriers

제5도는 톱니 캐리어의 발생 타이밍챠트5 is a timing chart of tooth carrier

제6도는 복사가능 회로의 구조를 설명하는 블록다이어그램.6 is a block diagram illustrating the structure of a copyable circuit.

제7도는 분주회로의 구조를 설명하는 블록다이어그램.7 is a block diagram illustrating the structure of a frequency divider circuit.

제8도는 분주회로의 타이밍챠드.8 is a timing chart of a frequency divider circuit.

제9도는 병렬비교형 연상기억장치의 구조를 설명하는 블록다이어그램.9 is a block diagram for explaining the structure of the parallel comparative type memory.

제10도는 출력제어회로의 구조를 설명하는 블록다이어그램.10 is a block diagram illustrating the structure of an output control circuit.

제11도는 출력제어명령의 구체적 구조를 설명하는 도면.11 is a diagram for explaining a specific structure of an output control command.

제12도는 톱니 캐리어가 인가되는 경우에 PWM펄스의 발생 타이밍챠트.12 is a timing chart of PWM pulse generation when a tooth carrier is applied.

제13도는 삼각파형 캐리어가 인가되는 경우에 PWM의 발생 타이밍챠트.13 is a timing chart of PWM generation when a triangular waveform carrier is applied.

제14도는 본 발명의 다른 실시예를 설명하는 전체 구조도.14 is an overall structural diagram illustrating another embodiment of the present invention.

제15도와 제16도는 서브프로세서를 각각 설명하는 구조도.15 and 16 are structural diagrams respectively illustrating subprocessors.

제17도는 제16도의 서브프로세서가 인가된 제14도 구조의 동작 타이밍챠트.FIG. 17 is an operation timing chart of the structure of FIG. 14 to which the subprocessor of FIG. 16 is applied.

제18도는 본 발명의 펄스발생장치의 또 다른 실시예를 설명하는 블록다이어그램.18 is a block diagram for explaining another embodiment of the pulse generator of the present invention.

제19도는 제18도 구조의 동작을 설명하는 타이밍챠트.FIG. 19 is a timing chart illustrating the operation of the structure of FIG. 18. FIG.

제20도는 PWM 펄스를 설명하는 타이밍챠트.20 is a timing chart illustrating a PWM pulse.

제21도와 제22도 제23도는 각각 펄스발생 연산방법의 다른 실시예를 설명하는 타임챠트.21 and 22 illustrate a time chart for explaining another embodiment of the pulse generation calculation method, respectively.

제24도는 본 발명의 펄스발생 장치의 또 다른 실시예를 설명하는 타이밍챠트.24 is a timing chart for explaining another embodiment of the pulse generating device of the present invention.

제25도는 본 발명의 전동기제어용 마이크로컴퓨터의 한 실시예를 설명하는 구조도.25 is a structural diagram illustrating an embodiment of a motor control microcomputer of the present invention.

제26도는 제25도 구조의 주요부분을 설명하는 도면.FIG. 26 is a diagram for explaining the main parts of the structure of FIG. 25. FIG.

제27도와 제28도는 각각 부하전류와 대드타임이 출력전압에 미치는 영향을 설명하는 도면.27 and 28 illustrate the effect of load current and dead time on the output voltage, respectively.

제29도는 제25도 구조의 CPU로 작동되는 연산에 대한 타이밍챠트.FIG. 29 is a timing chart for an operation operated by a CPU of FIG. 25. FIG.

본 발명은 펄스발생장치에 관한 것이고, 특히 CPU로부터 전송되는 펄스발생 데이터 등에 고나한 파우어 스위치장치 구동 펄스신호 발생이 가능한 펄스발생장치와 이러한 펄스발생 잘치를 구비한 마이크로컴퓨터와 펄스발생장치용 연산기억장치에 관한 것이다.The present invention relates to a pulse generator, and in particular, a pulse generator capable of generating a power switch device driving pulse signal, such as pulse generation data transmitted from a CPU, and microcomputers and pulse generators having such pulse generation thresholds. Relates to a device.

PWM(펄스폭변조) 펄스발생장치는 여러장치에 공급될 전압제어를 위해 사용된다. 예를들어 그것은 CPU에 의해 연산되는 공급된 전압 데이터를 PWM 인버터의 파우어스위치 장치 구동신호로 변환하기 위한 장치로 동작한다.Pulse width modulation (PWM) pulse generators are used to control the voltage to be supplied to multiple devices. For example it acts as a device for converting the supplied voltage data computed by the CPU into the power switch device drive signal of the PWM inverter.

위에 설명된 형태의 종래장치는 일본국 특허공개공보 제59-113792호, 제61-116994호, 일본국 특허공고 제60-2510호, 제63-18018호, 일본국 특허공개공보 제62-163579호에 공표되어 있다.The conventional apparatus of the type described above is Japanese Patent Laid-Open Nos. 59-113792, 61-116994, Japanese Laid-open Patent No. 60-2510, 63-18018, Japanese Laid-Open Patent Publication No. 62-163579 It is published in the issue.

더욱이 미국 인켈에 의해 제조된 마이크로컴퓨터(제조번호 18096)에 내재한 장치와 히다찌에 의해 제조된 마이크로컴퓨터(제조번호 HD6475328)에 내재한 다른 장치도 공지되어 있다.Furthermore, devices inherent in microcomputers (product number 18096) manufactured by Inkel, USA and other devices in microcomputers (product number HD6475328) manufactured by Hitachi are also known.

상기 종래기술에 대해서, 수개의 시간간격 타이머와 수개의 레지스터를 구비한 PWM 펄스발생장치가 있다. PWM 펄스발생장치는 그것들이 서로 일치하는 시간에 상응하는 PWM 펄스의 이진상태를 바꾸기 위해 각 레지스터에 정해진 펄스폭을 나타내는 타임 데이터와 시간간격 타이머의 값을 비교하도록 작동한다.For the above prior art, there is a PWM pulse generator having several time interval timers and several registers. The PWM pulse generators operate to compare the value of the time interval timer with the time data representing the pulse width defined in each register to change the binary state of the PWM pulses corresponding to the time they coincide with each other.

프리런타이머의 이진상태가 변화된 시간이 태그로 상기 변화후의 이진상태를 데이터로 프리린타이머의 수치는 검색키이로 작용하도록 하는 방법대로 구성된 연상기억장치를 구비한 또 다른 PWM 펄스 발생장치가 공지되어 있다. 이러한 방법에 따르면 프린런 타이머의 값과 모든 태그는 연상기억장치에서 비교된다.Another PWM pulse generator is known which has a mnemonic suppressor configured in such a way that the time when the binary state of the free run timer is changed is a tag, and the binary state after the change is data as a data. have. According to this method, the value of the principal run timer and all tags are compared in the memory.

그 다음에 일치하는 태그에 상응하는 데이터가 전송된다.Then the data corresponding to the matching tag is sent.

그러나 PWM 펄스폭을 나타내는 레지스터의 값이 재부하된 타이밍에 기한 펄스폭의 오차가 생기는 문제가 있다.However, there is a problem that a pulse width error occurs due to the timing at which the value of the register indicating the PWM pulse width is reloaded.

더욱이, PWM 펄스의 타임데이터 등이 변할때마다 레지스터에 기록이 작동되므로 과다한 부하가 CPU에 인가된다.Moreover, whenever the time data of the PWM pulse changes, etc., writing is performed in the register, so that an excessive load is applied to the CPU.

프리런 타이머를 이용한 장치는 PWM 펄스의 첫 변환과 마지막 변환이 PWM 캐리어의 각 주기에 명령되는 방법으로 구성된다.The device using the free-run timer consists of the first and last conversion of the PWM pulses being commanded in each period of the PWM carrier.

상기의 형태의 타임명령은 CPU에 인가된 부하를 늘리기 때문에 CPU로 작동되는 연산처리에서 처리능력을 감소한다. 예를들어 U, V, W 세 개의 위상 x6 아암에 대한 장치스위치용 게이트 펄스가 생성되어야 하기 때문에 전동기회전을 제어하기 위한 브리지형 세 개의 위상 인버터에서 최소한 24데이터 아이템이 발생되고 전송되어야 한다.The time instruction of the above type increases the load applied to the CPU, thereby reducing the processing capacity in the CPU-operated processing. For example, at least 24 data items must be generated and transmitted in a bridged three-phase inverter to control motor rotation because U, V, W gate pulses for the device switch for three phase x6 arms must be generated.

턴오프되고 턴온되는 브리지구조의 상측아암과 하측아암은 서로 보완된다. 상측아암과 하측아암의 쇼트컷을 막기위해 상측아암과 하측아암에 상응하는 한쌍의 게이트펄스는 각각 두 아암이 턴오프된 대드타임을 갖는다.The upper and lower arms of the bridge structure, which are turned off and turned on, complement each other. A pair of gate pulses corresponding to the upper arm and the lower arm each have a dead time with both arms turned off to prevent the short cut of the upper and lower arms.

그러나, 상기 종래기술은 펄스발생 시간에 전송된 데이터 아이템의 개수를 줄일 수단을 갖지 못해 과다한 부하가 데이터 전송시간에 CPU에 전송될 수 있다는 점에서 문제가 발생한다. 특히, 고주파수의 캐리어 파형의 펄스폭 변조(PWM) 제어동작에 필요하다면 과다한 부하는 전송과정에서 인가된다.However, the prior art does not have a means of reducing the number of data items transmitted at the time of pulse generation, which causes a problem in that an excessive load can be transferred to the CPU at the data transmission time. In particular, an excessive load is applied during the transmission process if necessary for the pulse width modulation (PWM) control operation of the high frequency carrier waveform.

동일하게 고주파수 파형이 얻어질 때, CPU에 인가된 부하가 너무 크게 되는 상기 대드타임을 연산처리할 때도 또 다른 문제가 발생한다.Similarly, another problem arises when processing the dead time when the high frequency waveform is obtained and the load applied to the CPU becomes too large.

그래서 시간간격 타이머가 프리런타이머 대신하여 사용되고 PWM 신호가 미리 설정된 파형을 가진 주기에서 시간명령의 필요성이 제거되는 방법을 사용함이 가능하다. 그러나, 태그의 값이 시간간격 타이머 수치보다 적은 수치로 재부하되는 경우에 태그와 검색키이는 그 수치가 재부하되는 PWM 주기에 서로 일치할 수 없다. 이것은 오차가 펄스폭에서 발생될 수 있는 염려가 있게 한다.Thus, it is possible to use a method in which the time interval timer is used in place of the free run timer and the need for the time command is eliminated in the period in which the PWM signal has a predetermined waveform. However, when the value of the tag is reloaded to a value less than the time interval timer value, the tag and the search key cannot coincide with each other in the PWM period when the value is reloaded. This raises the concern that errors can occur in the pulse width.

본 발명의 목적은 펄스폭데이터 등이 재부하되는 사실로 펄스폭 오차발생을 막을 수 있는 펄스생성장치를 제공하고 상기 장치를 가진 마이크로컴퓨터를 제공하는 것이다.SUMMARY OF THE INVENTION An object of the present invention is to provide a pulse generating device capable of preventing the occurrence of a pulse width error due to the fact that pulse width data and the like are reloaded, and to provide a microcomputer having the device.

본 발명의 다른 목적은 테그가 재부하되도 안정한 연상동작을 실현할 수 있는 연상기억장치를 제공하는 것이다.Another object of the present invention is to provide an associative memory device capable of realizing stable associative operation even when a tag is reloaded.

본 발명의 또다른 목적은 한 쌍의 펄스를 발생하는데필요한 데이터아이템의 개수를 줄일 수 있으며, 각 펄스의 속성은 미리 설정된 상관관계를 가지고 펄스의 첫 변환점과 마지막 변환점 사이의 타이밍관계(예를들어, 대드타임)를 제어할 연산을 행함으로써 상측 CPU에 인가된 부하를 줄일 수 있는 펄스발생장치를 제공하는 것이다.It is still another object of the present invention to reduce the number of data items required to generate a pair of pulses, the properties of each pulse having a predetermined correlation and the timing relationship between the first and last conversion points of the pulse (e.g. It is to provide a pulse generator that can reduce the load applied to the upper CPU by performing calculations to control the dead time.

상기 목적을 이루기 위해 본 발명의 한 형태는 출력펄스의 2진상태를 나타내는 출력제어명령과 이진상태의 변화타이밍을 나타내기 위한 시간 데이터를 포함한 펄스 제어명령을 연산하기 위한 CPU(중앙처리장치), CPU로부터 공급된 동작시작 명령에 따라서 동작을 시작하고, CPU로부터 공급된 제어명령으로 정의된 타이머 주기에 따르고 클럭신호와 동시에 순차적으로 변화된 미리 설정된 패턴타이머 수치를 발생하고 타이머 수치가 타이머 주기의 끝쪽을 나타내는 수치와 일치할 때마다 동시신호를 보내고, 타이머 수치를 리셋하기 위한 시간간격 타이머; 시간간격 타이머로부터 전송된 동시신호를 받고 동시신호의 미리 설정된 동시신호에 응답하여 복사신호를 전송하기 위한 복사가능수단; CPU로부터 이동된 출력데이터에 대한 타임데이터를 저장하기 위한 출력시간 마스터메모리와 복사신호에 응답으로 출력시간 마스터메모리의 타임데이터를 복사하고 저장하기 위한 출력 슬레이브메모리, 비교되고 CPU로부터 공급된 메모리의 명령에 따라서 출력시간 마스터메모리나 출력시간 슬레이브메모리를 타이머 레지스터의 타이머 수치와 비교하고 그들의 수치가 서로 일치할 때 동시신호를 전송하기 위한 비교기, 비교기에서 전송된 동기신호와 동시에 출력제어 마스터메모리나 출력제어 슬레이브메모리에 상응하는 출력제어명령을 전송하기 위해 CPU로부터 공급된 출력펄스의 2진상태를 나타내는 출력제어명령을 저장하기 위한 출력제어 마스터메모리와 복사신호에 응답하여 출력제어 마스터메모리로부터 출력제어 명령을 복사하고 저장하기 위한 출력제어 슬레이브 메모리를 구비한 연상기억장치; 연상기억장치로부터 전송된 출력제어 명령을 받고 출력제어 명령에 상응하는 출력펄스를 전송하기 위한 출력제어 회로로 이루어진 펄스발생장치에 있다.In order to achieve the above object, one aspect of the present invention provides a CPU (central processing unit) for computing an output control command indicating a binary state of an output pulse and a pulse control command including time data for indicating a change timing of a binary state; Starts operation according to the operation start command supplied from the CPU, generates a preset pattern timer value that is sequentially changed with the clock signal according to the timer period defined by the control command supplied from the CPU, and the timer value is displayed at the end of the timer period. A time interval timer for sending a simultaneous signal each time that the numerical value is indicated and for resetting the timer value; Copyable means for receiving a simultaneous signal transmitted from a time interval timer and transmitting a copy signal in response to a preset simultaneous signal of the simultaneous signal; Output time master memory for storing time data for output data moved from the CPU and output slave memory for copying and storing time data of the output time master memory in response to the copy signal, instructions of the memory compared and supplied from the CPU The output time master memory or the output time slave memory is compared with the timer value of the timer register and when the values match each other, a comparator for transmitting simultaneous signals and a synchronization signal transmitted from the comparator. Output control command from output control master memory in response to copy signal and output control master memory for storing output control command representing binary status of output pulse supplied from CPU to send output control command corresponding to slave memory Copy and save An associative memory device having an output control slave memory; And an output control circuit for receiving an output control command transmitted from the associative memory device and for transmitting an output pulse corresponding to the output control command.

복사가능수단은 동기신호가 미리 설정된 횟수로 공급될 때마다 복사신호를 발생하도록 구성된다. 더욱이, 복사가능수단은 CPU로부터 공급된 복사신호에 상응하고 복사명령의 공급된 직후에 공급된 동기신호와 동시에 복사신호를 발생하도록 작동되게 구성된다.The copyable means is configured to generate a copy signal each time a synchronization signal is supplied a predetermined number of times. Moreover, the copyable means is configured to be operable to correspond to the copy signal supplied from the CPU and to generate a copy signal simultaneously with the supplied synchronization signal immediately after the copy instruction is supplied.

연상기억장치는 다수의 출력시간 마스터메모리, 출력시간 슬레이브 메모리와 비교기를 구비하도록 구성되고 다수의 출력시간 마스터메모리중 하나, 출력시간 슬레이브메모리와 비교기는 다수의 테그워드셀로 구성되도록 각각 모여지고 연상기억장치는 다수의 출력제어 마스터메모리와 출력제어 슬레이브메모리를 구비하고 다수의 제어 마스터메모리중 하나의 출력제어 슬레이브 메모리는 각각 출력 데이터워드셀로 구성되도록 모여지고 출력 데이터워드셀은 서로에 상응하도록 제공된다.The associative memory is configured to have a plurality of output time master memory, an output time slave memory and a comparator, and one of the plurality of output time master memory, the output time slave memory and the comparator are each assembled and associated with a plurality of tag word cells. The memory device includes a plurality of output control master memories and output control slave memories, and one output control slave memory of the plurality of control master memories is gathered to be composed of output data word cells, and the output data word cells are provided to correspond to each other. do.

연상기억장치의 각 비교기는 각 출력시간 마스터메모리나 각 출력시간 슬레이브메모리를 주어진 병렬비교 명령에 따른 타이머값과 병렬로 비교하고 연속적으로 특정출력시간 마스터메모리나 특정출력시간 슬레이브메모리를 주어진 연속비교 명령에 따른 타이머 값과 비교하도록 정해진다.Each comparator of the memory device compares each output time master memory or each output time slave memory in parallel with a timer value according to a given parallel comparison command, and continuously compares a specific output time master memory or a specific output time slave memory with a given continuous comparison command. To be compared with a timer value.

시간간격 타이머는 타이머 수치저장용 타이머레지스터와 출력 펄스의 주기를 명확하게 하기 우한 최대 타이머수치를 저장하기 위한 주기 레지스터, 타이머레지스터에 전송하기위해 타이머레지스터의 타이머 수치를 인출하고 타이머 수치에 단위량 1을 가산하기 위한 가산기를 포함하는 타이머 연산수단, 그것들이 서로 일치할 때 일치회로를 전송하기 위해 주기 레지스터와 타이머 레지스터의 수치를 비교하기 위한 비교기, 일치회로가 생성된 클럭신호 조건과 동시에 동기신호를 발생하기 위한 가산기와 동기신호 생성회로를 말소하기 위해 일치신호를 받는 클리어회로로 구비되도록 정해진다.The Time Interval Timer is a timer register for saving the timer value and a cycle register for storing the maximum timer value to clarify the period of the output pulse.The timer value of the timer register is fetched to send to the timer register, and the unit value is added to the timer value. A timer arithmetic means comprising an adder for adding a sigma, a comparator for comparing the values of the period register and a timer register to transfer a coincidence circuit when they coincide with each other, and a synchronizing signal simultaneously with the generated clock signal condition. It is determined to be provided with a clear circuit which receives the coincidence signal in order to erase the adder and the synchronizing signal generating circuit for generating.

CPU(중앙처리장치)가 상기 출력펄스의 2진상태 등으로 정의되는 출력제어명령과 2진상태 변환타이밍을 나타내는 타임데이터를 포함한 펄스제어명령을 연산하도록 CPU가 상기 펄스생성장치에 연결되는 구조가 실현될 수 있다. 위와같이 연산된 펄스제어 명령은 상기의 시간간격 타이머와 복사가능수단과 연상기억장치에 전송된다. 더욱이 서브프로세서는 서브프로세서가 CPU에 의해 작동된 연산, 예를 들어 출력펄스의 2진상태의 변환타이밍과 레지스터에 전송기능을 나타내는 타임데이터의 연산의 부분을 수행하도록 하기 위해 CPU에 더하여 연결될 수 있다.The structure in which the CPU is connected to the pulse generation device so that the CPU (central processing unit) calculates an output control command defined by the binary state of the output pulse and the like and a pulse control command including time data indicating the binary state conversion timing Can be realized. The pulse control command calculated as described above is transmitted to the time interval timer, the copyable means, and the memory. Furthermore, the subprocessor may be coupled in addition to the CPU to cause the subprocessor to perform operations performed by the CPU, e.g., binary conversion timing of the output pulses and operations of time data representing transfer functions to registers. .

본 발명에 따라서 이렇게 구조된 펄스발생장치에 의하면 각 마스터메모리의 내용이 동기신호가 미리 설정된 횟수만큼 생성될때마다 각 슬레이브메모리에 복사된다. 상기 복사기능의 타이밍이 시간간격 타이머의 수치가 마지막 수치가 되는 사실을 나타내는 동기신호에 응답하여 한정되기 때문에 펄스출력 타임데이터의 재부하 타이밍에 기한 펄스폭이나 출력의 오차 발생을 막을 수 있다.According to the pulse generating device constructed as described above according to the present invention, the contents of each master memory are copied to each slave memory whenever a synchronization signal is generated a predetermined number of times. Since the timing of the copy function is limited in response to a synchronization signal indicating that the value of the time interval timer becomes the last value, it is possible to prevent the occurrence of errors in the pulse width or output due to the reload timing of the pulse output time data.

더욱이, 데이터 비교기능의 사용상 타임이나 메모리와 같은 펄스제어 데이터가 각각 메모리에 제공되기 때문에 태그가 재부하되고 있다면 안정한 연상기능의 재부하전의 상태에 대한 태그를 이용하여 수행될 수 있다. 게다가, 태그용 메모리와 비교기가 일체적으로 형성되고 연상기능용 메모리가 일체적으로 형성되어 배선길이가 짧아지고 칩의 면적이 줄 수 있다.Furthermore, since the pulse control data such as time or memory is provided to the memory in use of the data comparison function, if the tag is being reloaded, it can be performed using the tag for the state of the reloading of the stable associative function. In addition, since the tag memory and the comparator are integrally formed and the associative function memory are integrally formed, the wiring length can be shortened and the area of the chip can be reduced.

상기 연상기억장치가 시간간격 타이머와 출력시간 마스터 메모리나 출력시간 슬레이브메모리의 내용이 순차적으로 비교되는 방법으로 형태될 때, 각 태그에 상응하는 출력데이터는 같은 태그가 다수의 태그에 기록되도 순차적으로 읽혀질 수 있다.When the memory device is configured in such a manner that the contents of the time interval timer and the output time master memory or the output time slave memory are sequentially compared, the output data corresponding to each tag is sequentially arranged even if the same tag is recorded in multiple tags. Can be read.

결과적으로 다수 펄스신호의 변환시간이 각 신호에 대해 분산되어도 원하는 파형을 갖는 펄스신호는 얻어질 수 있다.As a result, even if the conversion time of the multiple pulse signals is distributed for each signal, a pulse signal having a desired waveform can be obtained.

상기 시간간격 타이머에 따르면 캐리어는 펄스신호 변조방법에 의해 삼각파형 캐리어와 톱니형 캐리어로부터 선택될 수 있다.According to the time interval timer, the carrier may be selected from a triangular waveform carrier and a sawtooth carrier by a pulse signal modulation method.

본 발명의 두 번째 목적은 상기 구성된 연상기억장치에 의해 실현될 수 있다.The second object of the present invention can be realized by the above-described reminding device.

본 발명의 세 번째 목적을 달성하기 위해 본 발명의 또 다른 형태는 발생된 한쌍의 펄스의 타이밍축을 나타내기 위한 기준시간 데이터 저장용 기준시간 데이터레지스터; 기준시간 데이터에 관해 각 펄스의 타이밍 관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2 작업시간 데이터레지스터; 한쌍의 펄스이 각 펄스의 2진상태를 지시하는 상태 데이터를 각각 저장하기 위한 제1 및 제2 펄스출력 레지스터; 클럭필스 계수용 카운터; 각 펄스의 첫 번째 변환과 마지막 변환에 대한 시간 데이터를 수치적으로 얻기 위해 기준시간 데이터와 각 작동시간 데이터 인출용 연산단위; 연산단위에서 얻어진 각 펄스타임데이터의 전송타이밍 제어용 전송제어단위; 전송제어단위로부터 전송된 각 펄스 타임데이터를 각각 저장하기 위한 제1 및 제2 타임 데이터 레지스터; 그것들이 서로 일치할 때 일치신호를 전송하기 위해 각각 카운터의 값을 각 시간데이터 레지스터의 시간데이터와 비교하기 위한 제1 및 제2 비교기로 이루어진 펄스발생장치에 있다. 여기에서, 연산단위는 제어 레지스터에 저장된 연산제어신호에 응답하여 정의된 연산을 수행하고 전송제어 단위는 제어 레지스터에 저장된 전송제어신호에 응답하여 각 타임데이터의 존송타이밍을 제어하고, 제1 펄스출력 레지스터는 저장된 상태데이터를 역전시킴으로써 실현된 2진상태로 리셋되는 출력터미널을 가지고, 제2 펄스출력 레지스터는 저장된 상태 데이털의 2진상태로 리셋되는 출력터미널을 가지고, 제1 및 제2 펄스출력 레지스터는 각각 하나의 일치신호가 상응하는 비교기로부터 공급될 때 출력터미널의 2진상태를 역전시키고 다음 일치신호가 공급될때 출력터미널의 2진상태를 리셋한다.Another aspect of the present invention to achieve the third object of the present invention is a reference time data register for storing reference time data for indicating the timing axis of the generated pair of pulses; First and second working time data registers for storing working time data representing timing relationships of respective pulses with respect to the reference time data; First and second pulse output registers for respectively storing state data in which a pair of pulses indicate a binary state of each pulse; A counter for clock fill counting; A unit of operation for retrieving the reference time data and each operation time data to numerically obtain time data for the first and last transformation of each pulse; A transmission control unit for transmission timing control of each pulse time data obtained in an operation unit; First and second time data registers for storing respective pulse time data transmitted from the transmission control unit; There is a pulse generator comprising first and second comparators for comparing the value of the counter with the time data of each time data register, respectively, to transmit a coincidence signal when they coincide with each other. Here, the operation unit performs a defined operation in response to the operation control signal stored in the control register, the transmission control unit controls the zone transfer timing of each time data in response to the transmission control signal stored in the control register, the first pulse output The register has an output terminal reset to a binary state realized by reversing stored state data, the second pulse output register has an output terminal reset to a binary state of the stored state data, and the first and second pulse outputs. The registers each reverse the binary state of the output terminal when one match signal is supplied from the corresponding comparator and reset the binary state of the output terminal when the next match signal is supplied.

그리고 카운터는 제어 레지스터에 주기적으로 저장된 리셋신호에 응답하여 리셋되고 기준시간 데이터와 각 작업시간 데이터와 상태데이터와 제어신호는 카운터의 카운트업 리셋신호의 전송 주기와 일치하여 외부로부터 공급된다.The counter is reset in response to the reset signal periodically stored in the control register, and the reference time data, each working time data, the status data, and the control signal are supplied from the outside in accordance with the transmission period of the counter's count-up reset signal.

더욱이 각 펄스에 대한 작업타임 데이터가 상기 기준시간 데이터와 일치하게 하는 방법으로 구조될 때 기준시간 데이터 레지스터나 제1 작동시간 데이터는 그 구조로부터 생략될 수 있고 전송된 데이터아이템의 개수를 하나 줄일 수 있다.Moreover, when the working time data for each pulse is structured in such a way as to match the reference time data, the reference time data register or the first operating time data can be omitted from the structure and the number of transmitted data items can be reduced by one. have.

각 펄스출력 레지스터는 상기 출력터미널의 역전된 상태로 유지된 역전출력 터미널을 가지는 것이 바람직하다. 이 경우에 출력터미널이나 상기 각 펄스출력 레지스터의 역전출력 터미널을 선택할 수 있는 출력스위치가 제공되고 각 스위치가 상기 제어 레지스터에 저장된 출력스위치 제어신호에 응답하여 제어되는 방법으로 구조되면 발생된 펄스의 극성은 일반목적의 실현 가능성을 나타낼 수 있다.Each pulse output register preferably has a reverse output terminal maintained in an inverted state of the output terminal. In this case, an output switch capable of selecting an output terminal or an inverting output terminal of each pulse output register is provided, and the polarity of the generated pulse when each switch is structured in a controlled manner in response to an output switch control signal stored in the control register. Can represent the feasibility of a general purpose.

상기 카운터는 일반 프리런카운터나 업/다운 카운터를 구비한다. 이 경우에 연산단위와 제어신호에 의해 수행되는 연산의 내용이 사용된 카운터의 형태에 따라 결정된다.The counter includes a general free run counter or an up / down counter. In this case, the content of the operation performed by the operation unit and the control signal is determined according to the type of counter used.

본 발명에 따른 펄스발생장치의 구조가 상기와 같기 때문에 본 발명의 세 번째 목적은 다음의 효과로 이루어질 수 있다.Since the structure of the pulse generator according to the present invention is as described above, the third object of the present invention can be achieved with the following effects.

즉 한쌍의 펄스의 첫 번째 변환점과 두 번째 변환점에 대한 시간데이터는 하나의 기준타임 데이터 아이템과 한쌍의 작업시간 데이터 아이템을 이용하여 연산단위에 의해 얻어진다. 이렇게 얻어진 데이터는 한쌍의 펄스출력 레지스터에 저장된다.That is, the time data for the first and second transform points of a pair of pulses is obtained by a unit of operation using one reference time data item and a pair of work time data items. The data thus obtained is stored in a pair of pulse output registers.

카운터의 값이 첫 번째 변호나시간 데이터와 일치함이 비교기에 의해 결정되어질 대 제1 펄스출력 레지스터의 출력터미널은 특정 2진상태(양이나 음)로 변화되고 나서 카운터가 마지막 변환시간 데이터와 일치할 때 리셋된다. 동일하게 제2 펄스출력 레지스터의 출력터미널은 반대의 방법으로 동작된다.When it is determined by the comparator that the value of the counter matches the first transition or time data, the output terminal of the first pulse output register is changed to a specific binary state (positive or negative) and then the counter matches the last conversion time data. Is reset when Similarly, the output terminal of the second pulse output register is operated in the reverse way.

결과적으로 서로 보충적으로 가능하는 상측 아암과 하측 아암용 스위칭소자를 작동하기에 적당한 패턴의 한쌍의 펄스가 발생할 수 있다. 결과적으로 상측 CPU로 전송된 시간데이터 아이템은 한위상에 대해서 하나가 줄 수 있다. 그래서 전송동작시간에 상측 CPU에 인가된 부하가 줄 수 있다. 더욱이 한쌍의 펄스사이의 시간차를 제어할 목적으로 상측 CPU에 의해 수행될 연산이 제거될 수 있기 때문에 부하가 줄 수 있다.As a result, a pair of pulses can be generated in a pattern suitable for operating the upper and lower arm switching elements that are complementary to each other. As a result, one item of time data can be sent to the upper CPU. Thus, the load applied to the upper CPU at the transfer operation time can be reduced. Furthermore, the load can be reduced because the operation to be performed by the upper CPU can be eliminated for the purpose of controlling the time difference between the pair of pulses.

업/다운 카운터를 구비하도록 구조되면 펄스의 첫 번째와 마지막 변환점은 PWM 캐리어파의 주기와 일치하여 업-리셋과 다운-리셋 기능을 수행함으로써 오직 하나의 시간데이터 아이템을 이용하여 제어될 수 있다. 결과적으로 연산단위로 수행될 연산이 줄 수 있다.When configured to have an up / down counter, the first and last transition points of the pulse can be controlled using only one time data item by performing the up-reset and down-reset functions consistent with the period of the PWM carrier wave. As a result, the number of operations to be performed in units of operations may be reduced.

본 발명의 일실시예를 도면을 참조하여 설명한다. 제1도는 본 발명에 따른 PWM 펄스발생장치를 이용한 마이크로컴퓨터의 일실시예의 주요부를 나타낸다. 제1도에서 나타낸 것처럼 이 실시예에 따른 장치는 CPU(100), 제어 레지스터(110), 시간간격 타이머(120), 복사가능회로(130), 병령비교형 연상기억장치(140), 출력제어회로(150)An embodiment of the present invention will be described with reference to the drawings. 1 shows a main part of an embodiment of a microcomputer using a PWM pulse generator according to the present invention. As shown in FIG. 1, the apparatus according to this embodiment includes a CPU 100, a control register 110, a time interval timer 120, a copyable circuit 130, a parallel comparison type reminiscent memory 140, and output control. Circuit (150)

와 서브-프로세서(160)를 구비한다. 제어 레지스터(110) 등의 각 요소는 시스템버스(BO)를 경유하여 CPU(100)에 연결된다. CPU(100)는 여러 연산처리를 수행함으로써 PWM 신호를 발생하기에 필요한 명령으 전송하기 위한 연산명령 수단이다. CPU(100)에 의해 발생한 여러 명령은 제어 레지스터와서브-프로세서(160) 등에 전송된다.And a sub-processor 160. Each element such as the control register 110 is connected to the CPU 100 via the system bus BO. The CPU 100 is an operation command means for transmitting a command necessary to generate a PWM signal by performing various operation processing. Various instructions generated by the CPU 100 are transmitted to the control register and the sub-processor 160 and the like.

제어 레지스터(110)는 표1에서 보여지듯이 각각 할당된 16bit의 영역을 가지고 대응하는 정보 아이템을 저장한다.The control register 110 has an area of 16 bits each allocated as shown in Table 1 and stores corresponding information items.

Figure kpo00002
Figure kpo00002

그 다음에 표 1에서 보여진 제어 레지스터의 상응하는 비트에 저장된 명령의 내용이 설명된다. 인터럽션 요청상태(IRS)는 인터럽션 처리에 대해 CPU(100)에 요청이 되는지 안되는지를 보여주는 데이터이다. 인터럽션 요청은 복사신호(S3)이 발생될 때 인터럽션 요청 인에이블 비트 IRE는 인터럽션 요청상태 IRS가 요청될 때 인에이블 IRS·IRE-1으로 CPU(100)에 요청하는 인터럽션 신호(S19)를 저장한다. 기능시작비트(STR)는 본 발명에 따른 PWM 펄스발생장치의 기능시작을 지시하는 명령을 저장한다. 캐리어파 선택 비트(CWS)는 PWM 신호의 발생에 관련되는 캐리어를 삼갈파나 톱니파로부터 선택하는 명령을 저장한다.클럭원 선택부(CSS)는 시간간격 타이머(120)용 타이머 클럭(S11)을 여러 주기를 가진 다수의 클럭신호로부터 선택하는 명령을 저장한다. 서브프로세서 기능 인에이블부(SPE)는 CPU(100) 대신 서브프로세서(160)가 출력 펄스의 출력시간 데이터를 작동시키도록 하는 제어명령을 저장한다. 주기적인 복사 인에이블부(PCE)는 마스터메모리(141)에서 슬레이브메모리(142)로 메이터를 복사하기 위하여 주기를 지정하는 명령을 저장한다. 상기 복사주기는 예를들어 시간간격 타이머(120)에서 전송된 동기신호(S12)에 기초해서 CPU(100)에 의해 정해진다. 복사신호(S13) 발생용 데이터(N)는 동기신호(S12)가 N(N은 자연수)배로 전송될때마다 저장된다. 임의복사 임에이블부(RCE)는 CPU(100)가 각 상기 주기적인 복사로부터 임의 복사를 가능케 하는 명령을 저장한다. 이 명령이 나올 때 복사신호(S13)는 뒤이은 동기신호(S12)와 동기에 발생된다. 마스터메모리 비교비트(CMM)는 시간간격 타이머(120)와 비교되는 메모리를 저장할 명령을 저장한다. 상기 명령이 1이 될 때 마스터메모리가 선택된다. 이것이 0이 되면 슬레이브 메모리가 선택된다.The contents of the instructions stored in the corresponding bits of the control registers shown in Table 1 are then described. The interrupt request state (IRS) is data showing whether or not a request is made to the CPU 100 for interruption processing. The interruption request is the interruption request enable bit IRE when the copy signal S3 is generated. The interruption request signal S19 requests the CPU 100 with the enable IRS · IRE-1 when the interruption request state IRS is requested. Save). The function start bit STR stores a command for instructing the function start of the PWM pulse generator according to the present invention. The carrier wave select bit CWS stores a command for selecting a carrier related to the generation of the PWM signal from triangular waves or sawtooth waves. The clock source selector CSS selects a timer clock S11 for the time interval timer 120. Stores instructions for selecting from multiple clock signals with periods. The subprocessor function enable unit SPE stores a control command that causes the subprocessor 160 to operate the output time data of the output pulse instead of the CPU 100. The periodic copy enable unit PCE stores a command for specifying a period for copying data from the master memory 141 to the slave memory 142. The copy period is determined by the CPU 100 based on the synchronization signal S12 transmitted by the time interval timer 120, for example. The data N for generating the copy signal S13 is stored each time the synchronization signal S12 is transmitted N times (N is a natural number). The random copy enable unit RCE stores a command for the CPU 100 to enable random copying from each of the periodic copies. When this command is issued, the copy signal S13 is generated in synchronization with the subsequent synchronization signal S12. The master memory comparison bit (CMM) stores a command to store a memory compared with the time interval timer 120. When the command becomes 1, the master memory is selected. When this goes to zero, the slave memory is selected.

결과적으로 병렬비교형 연상기억장치(140)의 이층메모리 구조를 등가적으로 단일층이 되게 할 수 있다. 주사비트(SCN)은 시간간격 타이머(120)와 병렬비교형 연상메모리(140)를 비교하는 방법을 지정하는 명령을 저장한다. 상기 명령이 1일 때 비교는 순차적으로 작동된다. 이것이 0일 때 병렬비교가 작동된다. 출력신호 리셋비트(OSR)는 출력신호를 리셋할 명령을 저장한다. 상기 명령이 1일 때 출력신호그룹(S17)에서 모든 신호의 출력이 금지된다. 이것이 0일 때 일반출력이 나온다.As a result, the two-layer memory structure of the parallel comparison type memory device 140 can be equivalently made into a single layer. The scan bit SCN stores a command specifying a method of comparing the time interval timer 120 with the parallel comparative type memory 140. The comparison is run sequentially when the command is one. When this is zero, parallel comparison is enabled. The output signal reset bit OSR stores a command to reset the output signal. When the command is 1, output of all signals in the output signal group S17 is prohibited. When this is 0, the normal output is produced.

시작비트(STR)의 내용이 1이라는 것은 동작을 의미한다. 더욱이 이것이 0인 것은 동작금지를 의미한다. 본 발명에 따른 PWM 펄스발생장치의 동작전의 상태는 동작시작신호(STR)의 내용에 따라서 정의된다. 시간간격 타이머(120)는 타이머 레지스터(121) 내용의 재생을 정지시키고 동작시작신호(STR)가 공급되기전에 시간계수 동작을 정지시킨다. STR이 공급될 때 시간간격 타이머(120)은 CPU(100)에 의해 쓰여진 시간계수의 결과에 따라서 동작을 시작한다. 시작신호(STR)가 복사가능회로(130)에 공급되어지지 않아서 동작이 시작되어지지 않을 때 즉, STR이 0일 때 복사가능회로(130)는 마스터메모리(141)와 슬레이브메모리(142)의 내용이 서로 일치하도록 하면서 초기호를 수행하기 위해 복사신호(S13)를 1로 만든다. 결과적으로 원하는 연상기능이 동작시작 시간과 일치하여 수행될 수 있다.If the content of the start bit STR is 1, it means operation. Moreover, a zero of this means no operation. The state before the operation of the PWM pulse generator according to the present invention is defined in accordance with the contents of the operation start signal STR. The time interval timer 120 stops reproducing the contents of the timer register 121 and stops the time counting operation before the operation start signal STR is supplied. When the STR is supplied, the time interval timer 120 starts to operate in accordance with the result of the time coefficient written by the CPU 100. When the start signal STR is not supplied to the copyable circuit 130 and the operation is not started, that is, when the STR is 0, the copyable circuit 130 is connected to the master memory 141 and the slave memory 142. The copy signal S13 is set to 1 to perform the initial call while keeping the contents coincide with each other. As a result, the desired associative function can be performed in accordance with the operation start time.

동작시작신호(STR)가 출력제어회로(150)에 공급될 때 공급레지스터(154)의 내용재생물 CPU(100)에 의해 초기화되지 않은 병렬비교형 연상메모리(140)로부터 나온 출력제어 명령에 따라 방지하기 위해 출력 레지스터(154)에 기록신호공급이 금지된다.When the operation start signal STR is supplied to the output control circuit 150, in accordance with the output control command from the parallel comparative associative memory 140 which is not initialized by the contents reproduction CPU 100 of the supply register 154. To prevent this, the supply of the write signal to the output register 154 is prohibited.

CPU(100)에 의해 수행된 제어 레지스터(100)의 각 비트의 셋팅과 리셋팅은 1이나 0을 씀으로써 실행된다. 그러나 인터럽션 요청상태(IRS)는 CPU에 의해 셋되고 복사신호(S13)에 의해 리셋된다. 본 발명에 따른 펄스발생장치의 총 리셋은 총 리셋신호(S10)에 응답하여 수행된다. 리셋팅 동작을 수행할 목적으로 CPU(100)에 인가된 부하를 줄이고 리셋신호의 지연을 제거하기 위해 제어 레지스터(100)의 모든 비트만이 상기 총 리셋신호(S10)에 응답하여 0으로 된다.The setting and resetting of each bit of the control register 100 performed by the CPU 100 is executed by writing 1 or 0. However, the interruption request state IRS is set by the CPU and reset by the copy signal S13. The total reset of the pulse generating device according to the present invention is performed in response to the total reset signal S10. In order to reduce the load applied to the CPU 100 and to eliminate the delay of the reset signal for the purpose of performing the reset operation, only all bits of the control register 100 are zero in response to the total reset signal S10.

그 다음에 각 요소의 구조가 설명될 것이다. 시간간격 타이머(120)는 주기 레지스터(122), 타이머 연산기(123)와 타이머 레지스터(121)를 구비한다. 시간간격 타이머(120)는 제어 레지스터(110)에 CPU(100)에 의해 쓰여진 명령에 따라서 시간간격 타이머 값(T)를 변환시키기 위해 타이머 클럭(S11)을 계수하고 이 명령은 톱니파와 삼각파로부터 PWM 캐리어를 선택하는 명령이다. 더욱이 동기신호(S2)는 시간간격 계시기값(T)이 최소값으로 낮아지는 시간에 즉 타이머 주기마다 전송된다. 상승신호(S18)는 주기신호(S12)에 응답하여 생성된다. 상승신호(S18)는 이것이 증가하는지 감소하는지에 대한 타이머 값(T)의 상태를 지시한다.Next, the structure of each element will be described. The time interval timer 120 includes a period register 122, a timer operator 123, and a timer register 121. The time interval timer 120 counts the timer clock S11 to convert the time interval timer value T according to a command written by the CPU 100 to the control register 110 and the command is a PWM from the sawtooth wave and the triangle wave. This command selects a carrier. Further, the synchronization signal S2 is transmitted at the time when the time interval time value T becomes the minimum value, that is, every timer period. The rising signal S18 is generated in response to the periodic signal S12. The rising signal S18 indicates the state of the timer value T as to whether it is increasing or decreasing.

예를들어 시간간격 타이머값(T)이 삼각파 캐리어를 생성하고 있을 때 타이머 값(T)은 타이머 주기의 앞부분에서 증가되고 타이머 주기의 뒷부분에서 감소된다.For example, when the time interval timer value T is generating a triangular wave carrier, the timer value T is increased at the beginning of the timer period and decreased at the end of the timer period.

제2도는 시간간격 타이머(120)의 구체적 구조를 서명한다.2 signs the specific structure of the time interval timer 120.

도면을 참조하여 타이머(120)는 타이머 레지스터(121), 주기 레지스터(122), 수치비교기(123g), 0/1 검출기(123h), 플립플롭(123i), 인크리멘터/디크리멘터(123j), 클리어회로(123k), 멀티플랙서(124)와 논리회로(G4, G5, G6, G7)를 구비한다. 타이머 레지스터(121)는 논리회로(G6)으로부터 타이머클럭(S11)을 받고 수치비교기(123g)에 수신된 데이터와 0/1 검출기(123h)와 인크리먼터/디크리멘터(123j)를 시간간격 타이머 값(T)으로 전송하기 위해 타이머 레지스터(121)는 논리회로(G6)로부터 타이머클럭(S11)을 받고 타이머 클럭(S11)과 동시에 멀티플랙서(124)로부터 데이터를 받는다.Referring to the drawing, the timer 120 includes a timer register 121, a period register 122, a numerical comparator 123g, a 0/1 detector 123h, a flip-flop 123i, and an incrementer / decrementer 123j. ), A clear circuit 123k, a multiplexer 124, and logic circuits G4, G5, G6, and G7. The timer register 121 receives the timer clock S11 from the logic circuit G6 and time intervals between the data received by the numerical comparator 123g, the 0/1 detector 123h, and the incrementer / decrementer 123j. In order to transmit the timer value T, the timer register 121 receives the timer clock S11 from the logic circuit G6 and receives data from the multiplexer 124 simultaneously with the timer clock S11.

주기 레지스터(122)는 시스템버스(BO)를 경우하는 시간간격 타이머(T)의 최대값(T)을 저장한다. 최대값(T)는 그것이 타이머 값(T)으로 톱니형의 형태로 변화될 때 PWM 신호의 일주기를 지정하기 위한 최대값이다.The period register 122 stores the maximum value T of the time interval timer T for the system bus BO. The maximum value T is the maximum value for specifying one cycle of the PWM signal when it is changed into a sawtooth form with a timer value T.

수치비교기(123g)는 상기 두 값이 서로 일치할 때 최대값 신호(S123g)를 1로 하기 위해 시간간격 타이머 값(T)와 최대값(T)을 비교한다. 또 이것은 그들이 서로 일치하지 않을 때 최대값 신호(S123g)를 0으로 한다.The numerical comparator 123g compares the time interval timer value T and the maximum value T to set the maximum value signal S123g to 1 when the two values coincide with each other. This also makes the maximum value signal S123g zero when they do not coincide with each other.

0/1 검출기(123h)는 시간간격 타이머 값(T)이 0인지 아닌지를 보여주는 최소값신호(S123ha)를 전송하고 이것이 1인지 아닌지를 보여주는 1-검출신호(S1234hb)를 전송한다.The 0/1 detector 123h transmits a minimum value signal S123ha that shows whether the time interval timer value T is 0 and a 1-detection signal S1234hb that shows whether it is 1 or not.

시간간격 타이머 값(T)이 0일 때 최대값 신호(S123ha)는 1로 된다. 시간간격 타이머 값(T)가 0이 아닐 때 최소신호(S123ha)는 0으로 된다. 시간간격 타이머 값(T)이 1일 때 1-검출신호(S123hb)는 1로 된다. 시간간격 타이머 값(T)이 1이 아닐 때 1-검출신호(S123hb)는 0이 된다. 상승신호(S18)와 클리어신호(S123ic)는 제어 레지스터(110)에서 전송된 최대값 신호(S123g), 최소값 신호(S123ha), 1-검출신호(123hb)와 캐리어파형 선택(CWS)에 응답하여 발생된다. 또한 이것은 타이머 값(T)의 삼각형의 형태로 변화될 때 PWM신호의 일주기를 지정하기 위한 최대값이다.When the time interval timer value T is 0, the maximum value signal S123ha becomes 1. When the time interval timer value T is not zero, the minimum signal S123ha becomes zero. When the time interval timer value T is 1, the 1-detection signal S123hb becomes 1. When the time interval timer value T is not 1, the 1-detection signal S123hb becomes 0. The rising signal S18 and the clear signal S123ic are in response to the maximum value signal S123g, the minimum value signal S123ha, the 1-detection signal 123hb and the carrier waveform selection CWS transmitted from the control register 110. Is generated. This is also the maximum value for designating the one cycle of the PWM signal when it is changed in the form of a triangle of the timer value T.

수치비교기(123g)는 상기 2개의 값이 서로 일치할 때 최대값 신호(S123g)를 1로 하기 위해 시간간격 타이머 값(T)과 최대값(T)을 비교한다. 또 이것은 그것들이 서로 일치하지 않을 때 최대값 신호(S123g)를 0으로 한다.The numerical comparator 123g compares the time interval timer value T and the maximum value T to set the maximum value signal S123g to 1 when the two values coincide with each other. This also sets the maximum value signal S123g to zero when they do not coincide with each other.

0/1 검출기(123h)는 시간간격 타이머(T)가 0인지를 보여주는 최소값 신호(S123ha)를 전송하고 1인지를 보여주는 1-검출신호(S123hb)를 전송하다. 시간간격 타이머 값(T)이 0일 때 최대값 신호(S123ha)는 1이 되고 시간간격 타이머 값(T)이 0이 아닐 때 최소값 신호(S123ha)는 0이 된다. 시간간격 타이머 값(T)이 1일 때 1-검출신호(S123hb)가 1이 되고 시간간격 타이머 값(T)이 1 아닐 때 1-검출신호(S123hb)는 0이 된다. 상승신호(S18)와 클리어신호(S123ic)는 제어 레지스터(110)로부터 전송된 초대값 신호(S123g) 최소값 신호(S123ha), 1-검출신호(123hb)와 캐리어 파형 선택(CWS)에 응답하여 발생된다. 결과적으로, 인크리멘터/디크리멘터(123j)와 클리어회로(123k)에 의해 수행된 동작이 제어된다. 상승신호(S18)는 시간간격 타이머 값(T)이 증가할 때 1이 된다. 이 상태에서 인크리멘터/디크리멘터(123j)는 1을 가산한다. 상승신호(S18)는 시간간격 타이머 값(T)가 감소할 때 0이다. 이 상태에서는 인크리멘터/디크리멘터(123j)는 감산한다. 클리어신호(S123ic)는1일 때 클리어회로(123k)로부터의 출력값(TK)을 0으로 되게 한다. 공급값은 클리어회로 신호(S123ic)가 0일 때 그대로 전송된다.The 0/1 detector 123h transmits a minimum value signal S123ha showing whether the time interval timer T is 0 and a 1-detection signal S123hb showing whether it is 1. When the time interval timer value T is 0, the maximum value signal S123ha becomes 1 and when the time interval timer value T is not 0, the minimum value signal S123ha becomes 0. When the time interval timer value T is 1, the 1-detection signal S123hb is 1, and when the time interval timer value T is not 1, the 1-detection signal S123hb is 0. The rising signal S18 and the clear signal S123ic are generated in response to the super-value signal S123g, the minimum value signal S123ha, the 1-detection signal 123hb and the carrier waveform selection CWS transmitted from the control register 110. do. As a result, the operation performed by the incrementer / decrementer 123j and the clear circuit 123k is controlled. The rising signal S18 becomes 1 when the time interval timer value T increases. In this state, the incrementer / decrementer 123j adds one. The rising signal S18 is zero when the time interval timer value T decreases. In this state, the incrementer / decrementer 123j is subtracted. When the clear signal S123ic is 1, the output value TK from the clear circuit 123k is made zero. The supply value is transmitted as it is when the clear circuit signal S123ic is zero.

삼각파형 캐리어가 할당된 경우의 동작은 제3도와 제4도에 기초해 설명된다. 캐리어파 선택(CWS)을 1이 되게 함으로써 삼각파가 캐리어로 할당될 때 플립플롭(123i)은 셋된다. 결과적으로, 가산명령이 인크리멘터/디크리멘터(123j)에 공급되도록 상승회로(S18)는 1이 된다. 그래서 타이머 레지스터(121)로부터의 출력값은 인크리멘터/디크리멘터(123j)에 순차적으로 가산된다. 이렇게 얻어진 타이머값은 타이머레지스터(121)에 다시 공급되기 위해서 클리어회로(123k)를 경유하여 멀티플렉서(124)에 전송된다. 상기 동작이 연속될 때 시간간격 타이머 값(T)는 타이머클럭(S11)과 동시에 스텝형의 형태로 순차적으로 증가한다. 타이머 값(T)가 최대값(Tp)으로 접근해갈 때 각 신호는 제3도에서와 같이 변화된다. 즉 상승신호가 주기(C1)에서 (C4)로 증가할 때 시간간격 타이머 값(T)은 순차적으로 1이 증가하는 동안 Tp-2, Tp-1, Tp가 된다. 시간간격 타이머 값(T)이 Tp가 되는 주기(C4)에 수치비교기(123g)에서 전송된 최대값 신호(S123g)는 1이 된다. 결과적으로 플립플롭(123i)은 상승신호(S18)가 감소의 상태인 0으로 돌아가도록 리셋된다. 그래서 감산의 명령은 인크리멘터/디크리멘터(123j)로 나온다. 그 다음에 시간간격 타이머 값(T)은 제4도의 상태로 변경되도록 타이머클럭(S11)의 각 입력에서 1씩 순차적으로 감산된다. 제4도에서 시간간격 타이머의 일주기가 끝나는 시간에 근접해서 승강신호(S18)가 감소할 때 시간간격 타이머 값(T)은 동작클럭의 주기(C1)에서 타이머 크럭에 의해서 2에서 1로 감산된다. 이 시간에 0/1 검출기(123h)는 1-검출신호(123hb)가 1이 되게 한다.The operation when the triangular waveform carrier is assigned is explained based on FIG. 3 and FIG. The flip-flop 123i is set when the triangular wave is assigned to the carrier by setting the carrier wave selection CWS to one. As a result, the rising circuit S18 becomes 1 so that the addition instruction is supplied to the incrementer / decrementer 123j. Thus, the output value from the timer register 121 is sequentially added to the incrementer / decrementer 123j. The timer value thus obtained is transmitted to the multiplexer 124 via the clear circuit 123k in order to be supplied to the timer register 121 again. When the operation is continued, the time interval timer value T is sequentially increased in the form of a step at the same time as the timer clock S11. When the timer value T approaches the maximum value Tp, each signal changes as shown in FIG. That is, when the rising signal increases from the period C1 to C4, the time interval timer value T becomes Tp-2, Tp-1, Tp while 1 is sequentially increased. The maximum value signal S123g transmitted from the numerical comparator 123g becomes 1 in the period C4 at which the time interval timer value T becomes Tp. As a result, the flip-flop 123i is reset so that the rising signal S18 returns to zero, which is in the decreasing state. So the order of subtraction comes out as an incrementer / decrementer (123j). Then, the time interval timer value T is sequentially subtracted by one from each input of the timer clock S11 so as to change to the state of FIG. In FIG. 4, when the rising signal S18 decreases near the end of the work cycle of the time interval timer, the time interval timer value T is subtracted from 2 to 1 by the timer clock in the period C1 of the operation clock. do. At this time, the 0/1 detector 123h causes the one-detection signal 123hb to be one.

이 시간에 1-검출신호(123hb)가 1이고 상승신호(S18)는 0이 되기 때문에 논리회로(G5)는 동기신호(S12)로서 주기(C3)에 타이머클럭 펄스를 전송한다. 시간간격 타이머 값(T)은 상기 타이머 클럭펄스에 의해 0으로 감산된다. 이 때에 0/1 검출기(123h)는 최소값 신호(S123ha)를 1이 되게 한다.At this time, since the 1-detection signal 123hb becomes 1 and the rise signal S18 becomes 0, the logic circuit G5 transmits a timer clock pulse to the period C3 as the synchronization signal S12. The time interval timer value T is subtracted to zero by the timer clock pulse. At this time, the 0/1 detector 123h sets the minimum value signal S123ha to one.

최소값 신호(S123ha)에 응답하여 플립플롭(123i)을 셋되고 이것은 상승신호(S18)가 주기(C4)에서 1이 되도록 역전되게 한다. 즉, 가산명령은 인크리멘터/디크리멘터(123j)로 나온다. 결과적으로 시간간격 타이머 값(T)은 타이머클럭 펄스에 응답하여 증가한다. 1-검출신호(S123hb)가 주기(C6)에서 (C8)까지 1이어도, 논리회로(G5)는 상승신호 증가이후 동기신호(S12)를 발생하지 않는다. 상기 동작의 결과로 삼각파형 캐리어는 얻어질 수 있다. 논리회로(G5)는 삼각파형 캐리어의 일주기에 오직 하나의 동기신호(S12)를 발생한다.In response to the minimum value signal S123ha, the flip-flop 123i is set, which causes the rising signal S18 to be reversed to be 1 in the period C4. That is, the addition instruction is issued to the incrementer / decrementer 123j. As a result, the time interval timer value T increases in response to the timer clock pulse. Even if the 1-detection signal S123hb is 1 from the period C6 to C8, the logic circuit G5 does not generate the synchronization signal S12 after the increase of the rising signal. As a result of the operation, a triangular waveform carrier can be obtained. The logic circuit G5 generates only one synchronization signal S12 in one cycle of the triangular waveform carrier.

톱니캐리어가 제어 레지스터(110)의 캐리어파 선택 비트(CWS)에 의해 할당된 경우에 각 파형은 제5도에서처럼 변한다. 이 경우에 캐리어파 선택(CWS)는 0이 되고 이것은 플립플롭(123i)를 유효히 연속으로 셋되게 한다. 결과적으로 상승신호(S18)은 1로 유지된다. 더욱이 클리어신호(S123ic)는 최대값 신호(S123g)와 같게 된다.When the sawtooth carrier is assigned by the carrier wave select bit CWS of the control register 110, each waveform changes as shown in FIG. In this case the carrier wave selection CWS becomes zero, which causes the flip-flop 123i to be set effectively continuously. As a result, the rising signal S18 is maintained at one. Furthermore, the clear signal S123ic becomes equal to the maximum value signal S123g.

플립플롭(123i)이 셋되고 인크리멘터/디크리멘터(123j)가 타이머 레지스터(121)로부터 출력값을 연속적으로 가산할 때 제5도의 시간간격 타이머 값(T)은 주기(C1)와 (C3)에서 타이머 클럭펄스(S11)에 의해 하나 증가한다. 주기(C4)에서 주기적 레지스터 값(Tp)과 시간간격 타이머 값(T)은 최대값 신호(S123g)가 1이 되도록 서로 일치한다. 결과적으로 클리어신호(S123ic)는 1이 되고 클리어신호(123k)로부터의 출력값(TK)은 0이 된다. 이렇게 얻어진 0은 다음 타이머 클럭 펄스와 일치하여 타이머 레지스터(11)에 저장된다.When the flip-flop 123i is set and the incrementer / decrementer 123j continuously adds the output value from the timer register 121, the time interval timer value T of FIG. 5 is represented by the period C1 and C3. It is increased by one by the timer clock pulse (S11). In the period C4, the periodic register value Tp and the time interval timer value T coincide with each other such that the maximum value signal S123g becomes one. As a result, the clear signal S123ic becomes 1 and the output value TK from the clear signal 123k becomes zero. The zero thus obtained is stored in the timer register 11 in accordance with the next timer clock pulse.

결과적으로 최대값 신호(S123g)와 클리어신호(S123ic)는 0이 되고 이것은 클리어회로(123k)가 인크리멘터/디크리멘터 출력값(Tj)을 통과시키도록 한다. 상기 동작의 결과로 시간간격 타이머 값(T)은 뒤이은 타이머 클럭펄스(S11)와 일치하여 하나 증가되고 다시 이것은 최대값(Tp)과 같게 되도록 하게 한다.As a result, the maximum value signal S123g and the clear signal S123ic become zero, which causes the clear circuit 123k to pass the incrementer / decrementer output value Tj. As a result of the operation, the time interval timer value T is increased by one in accordance with the subsequent timer clock pulse S11, which in turn causes it to equal the maximum value Tp.

이 경우에 동기신호(S12)는 클리어신호가 1이 된 후에 발생된 타이머 클럭(S11)과 동시에 전송된다.In this case, the synchronization signal S12 is transmitted simultaneously with the timer clock S11 generated after the clear signal becomes one.

상기되었듯이 삼각파형 캐리어와 톱니캐리어는 각각 생성된다. 삼각파형 캐리어는 톱니캐리어로 얻어지는 효과에 비하여 3개의 위상 인버터의 고주파수 성분을 충분히 감소시킬 수 있다. 더욱이 전자기적 잡음의 주요주파수는 캐리어 주파수의 2배이므로 잡음이 삼각파형 캐리어가 인가되는 경우에 충분히 감소될 수 있는 사실이 이론적으로 밝혀진다. 그러므로 이 실시예는 종래에 마이크로컴퓨터와 삼각파형 캐리어에 포함된 두 형태의 캐리어 즉 톱니캐리어가 생성되는 방법으로 되어 있다. 삼각파형 캐리어가 캐리어로서 인가될 대 DC 모터제어는 PWM 신호의 첫 변환이 PWM 주기의 시작과 일치하기 때문에 증진될 수 있다.As described above, a triangular wave carrier and a tooth carrier are generated, respectively. The triangular waveform carrier can sufficiently reduce the high frequency components of the three phase inverters as compared with the effect obtained with the tooth carrier. Moreover, it is theoretically found that the main frequency of electromagnetic noise is twice the carrier frequency, so that the noise can be sufficiently reduced when a triangular waveform carrier is applied. Therefore, this embodiment is conventionally a method in which two types of carriers, namely, tooth carriers, included in a microcomputer and a triangular wave carrier are generated. When a triangular waveform carrier is applied as a carrier, DC motor control can be enhanced because the first conversion of the PWM signal coincides with the beginning of the PWM period.

복사가능회로(130)는 동기신호(S12)가 N배 생성될때마다 복사신호(S13)를 발생시키고 복사가능회로(130)는 CPU(100)에 의해 제어 레지스터에서 정해진 값(N)에 일치하여 복사신호(S13)를 발생한다. 복사신호(S13)는 시간간격 타이머 값(T)이 최소값임을 보여주는 동기신호(S12)와 동기된다. 그러므로 비교의 대상인 메모리의 시간데이터가 시간간격 타이머 값(T)를 초과하는 문제점은 마스터메모리(141)의 내용이 슬레이브메모리(142)에 복사되는 시간에 근접해서 방지될 수 있다. 그러므로 병렬비교형 연상기억장치(140)에 대해 설정된 원하는 시간에 출력제어 명령을 발할 수 있다. 더욱이 PWM신호 변화용 제어장치의 제어주기는 시간간격 타이머 주기의 정수배임이 요구된다.The copyable circuit 130 generates a copy signal S13 whenever the synchronous signal S12 is generated N times, and the copyable circuit 130 matches the value N defined in the control register by the CPU 100. The radiation signal S13 is generated. The copy signal S13 is synchronized with the synchronization signal S12 which shows that the time interval timer value T is the minimum value. Therefore, the problem that the time data of the memory to be compared exceeds the time interval timer value T can be prevented close to the time when the contents of the master memory 141 are copied to the slave memory 142. Therefore, an output control command can be issued at a desired time set for the parallel comparative type memory device 140. Furthermore, the control period of the PWM signal change control device is required to be an integer multiple of the time interval timer period.

동기신호(S12)가 CPU(100)에 의해 미리 설정된 횟수로 발생될 때마다 복사신호(S13)를 발생시킴으로써 또 연상기억장치를 구동시킴으로써 상기의 요구는 실현될 수 있다. 복사신호(S13)의 주기는 장치가 제어되기 위한 제어주기로 작용한다. 그 다음에 복사기능회로(130)의 구조는 제6도를 이용하여 설명된다.The above request can be realized by generating the copy signal S13 each time the synchronization signal S12 is generated a predetermined number of times by the CPU 100 and by driving the associative storage device. The period of the radiation signal S13 serves as a control period for the device to be controlled. The structure of the copy function circuit 130 is then described using FIG.

복사가능회로(130)는 분주지정신호(S611)에 응답하여 동기신호(S12) 분주용 분주회로(620)와 제어 레지스터(110)로부터 발한 명령에 따라서 주기복사가능신호(S610)를 복사신호(S13)으로 변환하기 위한 논리회로(G62)로 이루어진다. 복사가능회로(130)는 동작시작신호(STR)가 0일 때 논리회로(G62)에 의해 복사신호(S13)를 복사상태 즉 1이 되게하는 방법으로 구성된다. 상기 동작의 결과로 슬레이브(141)는 쉽게 초기화 된다. 상기 동작이 공급되지 않는 경우에는 마스터메모리 비교비트(CMN)가 1이 되고 이로써 복사신호(S13)가 1이 되는 구조를 갖는 것이 바람직하다.In response to the frequency division designation signal S611, the copyable circuit 130 copies the periodic copy enable signal S610 in response to a command issued from the synchronization signal S12 frequency division circuit 620 and the control register 110. And a logic circuit G62 for converting to S13). The copyable circuit 130 is configured in such a manner that, when the operation start signal STR is 0, the copy signal S13 is brought into a copy state, that is, 1 by the logic circuit G62. As a result of this operation, the slave 141 is easily initialized. When the above operation is not supplied, it is preferable to have a structure in which the master memory comparison bit CMN becomes 1 and thus the copy signal S13 becomes 1.

그러나, 상기 구조는 마스터메모리(141)가 연상기능의 대상이 되는 방법으로 구성된다. 그러므로 마스터메모리 비교비트(CMN)에 의해 정의되지 않은 정보에서 착오의 위험이 일어난다.However, the structure is constructed in such a way that the master memory 141 is the object of the associative function. Therefore, there is a risk of error in information that is not defined by the master memory compare bit (CMN).

분주회로(620)는 제어 레지스터(110)의 주기복사가능부분(PCE)에 의해 명령에 일치하여 동기신호(S12)를 분주함으로서 주기복사가능신호(S610)를 발생한다. CPU(100)가 제어 레지스터(110)의 임의 복사가능비트(RCE)에서 1로 쓸 때 임의 복사가능신호(S620)가 또한 1이 되도록 주기복사가능신호(S610)는 논리회로(G62)에 공급된다. 그러므로 복사신호(S13)는 상기 쓰기동작이 CPU(100)에 의해 수행된 직후에 발생된 동기신호(S12)와 동시에 논리회로(G62)로 발생된다. 복사신호(S13)가 발생될 때 임의 복사가능비트(RCE)는 리셋된다. 복사신호(S13)이 발생될 때 인터럽션 요청상태(IRS)가 셋된다. 인터럽션 요청비트(IRE)가 1일 때 인터럽션 신호가 발생된다.The division circuit 620 generates the period copy enable signal S610 by dividing the synchronization signal S12 in accordance with a command by the period copy enable portion PCE of the control register 110. The periodic copy enable signal S610 is supplied to the logic circuit G62 so that the random copy enable signal S620 also becomes 1 when the CPU 100 writes 1 in the random copyable bit RCE of the control register 110. do. Therefore, the copy signal S13 is generated to the logic circuit G62 simultaneously with the synchronization signal S12 generated immediately after the write operation is performed by the CPU 100. The random copyable bit RCE is reset when the copy signal S13 is generated. When the copy signal S13 is generated, the interruption request state IRS is set. When the interruption request bit IRE is 1, an interruption signal is generated.

제7도는 복사가능회로(130)의 분주회로(620) 구조를 설명한다. 이 실시예에 따르면 2개의 위상 논-오우버랩 파형이 동작클럽으로 인가되고 2개의 위상 논-오우버랩 파형은 고주파수동작 CMOS 마이크로컴퓨터의 주요부에 인가된다.7 illustrates a structure of a divider circuit 620 of the copyable circuit 130. According to this embodiment two phase non-overlapping waveforms are applied to the operating club and two phase non-overlapping waveforms are applied to the main part of the high frequency operating CMOS microcomputer.

이러한 이유는 2개의 위상 오우버랩 파형 동작클럭은 하나의 동작 클럭 주기의 래치에 4배가 필요하나 2개의 위상 논-오우버랩 파형은 오직 2배가 필요한 것에 있다. 이러한 효고는 회로의 크기가 줄어들 수 있다는 점에서 얻어진다. 상기 아이디어는 본 발명에 따른 모든 회로에 일반적이다. 분주회로(620)는 필립플롭(721), (722), (723), 비교기(710), 논리회로(G71), (G72). (G73)로 구성된다. 결과적으로 3비트 동기 카운터가 구성된다. 동기복사인에이블부(PCE)의 3비트 CPU2, CPU1, CPU0에 의해 지시된 번호(N)와 상기 동기 카운터에 의한 계수가 비교되도록 동기신호(S12)는 위와같이 구성된 3비트 동기 카운터에 의해 계수된다.The reason for this is that two phase overwrapp waveform waveforms require four times the latch of one operating clock period, but two phase nonoverwrapp waveforms only require twice. This effect is obtained in that the size of the circuit can be reduced. The idea is common to all circuits according to the invention. The dividing circuit 620 is a Phillip flop 721, 722, 723, a comparator 710, a logic circuit (G71), (G72). It consists of (G73). As a result, a 3-bit sync counter is constructed. The synchronization signal S12 is counted by the three-bit synchronization counter configured as described above so that the number N indicated by the three-bit CPU2, CPU1, CPU0 of the synchronization copy enable unit PCE is compared with the coefficient by the synchronization counter. do.

그것들이 서로 일치하면 동기 카운터는 리셋된다. 비교기(710)으로 부터의 출력은 주기복사 인에이블부(PCE)의 값(N)으로 동기신호(S12)를 분주함으로써 주기복사가능신호(S610)로 작용한다. 이 구조에서 플립플롭(721)은 마스터슬레이브 구조의 동기 클리어로서의 토클형 플립플롭을 구성한다.If they match with each other, the sync counter is reset. The output from the comparator 710 acts as a periodic copy enable signal S610 by dividing the synchronization signal S12 by the value N of the periodic copy enable unit PCE. In this structure, the flip-flop 721 constitutes a toggle flip-flop as a synchronous clear of the master slave structure.

그 다음에 분주회로(620)의 동작은 제8도를 참조하여 설명된다.The operation of frequency divider circuit 620 is described next with reference to FIG.

주기복사 인에이블부(PCE)의 값이 0일 때 각 플립플롭의 출력은 항상 0이고 주기복사가능회로(S610)은 항상 1이다.When the value of the period copy enable unit PCE is 0, the output of each flip-flop is always 0, and the period copyable circuit S610 is always 1.

결과적으로 복사신호(S13)는 동기신호(S12)가 발생될때마다 발생된다. 주기복사 인에이블부(PCE)의 값이 5일 때 즉, PCE0가 1, PCE1이 0, PCE2가 1일 때 플립플롭(721) 내지 (723)으로 구성된 동기 카운터는 0에서 5까지 계수하고 0으로 돌아온다. 계수가 5일 때 비교기(710)은 주기복사가능신호(S610)이 전송되도록 주기복사 인에이블부(PCE)의 값과 계수사이의 일치를 검출한다. 주기복사가능신호(S610)의 폭이 동기신호(S12)의 일주기와 같고 이것의 주기가 동기신호(S12)의 정수배 즉 캐리어 주기의 정수배이다. 더욱이 주기복사가능신호(S610)의 주기는 주기복사 인에이블부(PCE)의 값에 일을 가산함으로써 얻어진 값이다. 예를 들어 제8도의 일예에 따르면 주기복사 인에이블부(PCE)의 값이 0과 5이기 때문에 주기복사신호(S610)의 주기는 동기신호(S12) 주기의 한배와 다섯배이다.As a result, the copy signal S13 is generated whenever the synchronization signal S12 is generated. When the value of the periodic copy enable unit PCE is 5, that is, when PCE0 is 1, PCE1 is 0, and PCE2 is 1, the sync counter composed of flip-flops 721 to 723 counts from 0 to 5 and is 0. Return to When the coefficient is 5, the comparator 710 detects a coincidence between the coefficient and the value of the periodic copy enable unit PCE so that the periodic copy enable signal S610 is transmitted. The width of the periodic copy enable signal S610 is equal to one cycle of the synchronization signal S12, and the period thereof is an integer multiple of the synchronization signal S12, that is, an integer multiple of the carrier period. Further, the period of the period copy enable signal S610 is a value obtained by adding work to the value of the period copy enable unit PCE. For example, according to the example of FIG. 8, since the values of the periodic copy enable unit PCE are 0 and 5, the period of the periodic copy signal S610 is one and five times the period of the synchronization signal S12.

병렬비교형 연상기억장치(140)는 마스터메모리(141), 슬레이브메모리(142), 비교기그룹(143)으로 이루어지고, 그것의 메모리는 임의의 비교를 위한 이층의 형태로 되어 있다.The parallel comparison type memory device 140 is composed of a master memory 141, a slave memory 142, and a comparator group 143, and its memory is in the form of a two-layer for arbitrary comparison.

CPU(100)으로부터의 임의기록 메모리는 마스터메모리(141)이고, 시간간격 타이머(120)를 지닌 비교메모리는 슬레이브메모리(142)이다. CPU(100)에 의해 기록된 데이터가 연상동작에 의해 반영되도록 복사신호(S13)에 응답하여 마스터메모리(141)의 내용은 슬레이브(142)에 복사된다. 마스터메모리(141)는 태그부분에 상응하는 출력시간 마스터 레지스터 그룹과 연상부분에 상응하는 출력제어 마스터 레지스터 그룹으로 구분된다. 각 상기 그룹의 레지스터는 CPU(100)의 메모리 스페이스의 각 위치(어들레스)로 할당된다. 즉, 마스터 메모리(141)가 각 레지스터로 접근은 시스템버스(BO)를 경유하여 된다. 더욱이 슬레이브 메모리(142)는 마스터 메모리(141)의 출력시간 마스터 레지스터 그룹과 출력제에 슬레이브 레지스터 그룹에 상응시키기 위해 출력시간 슬레이브 레지스터 그룹과 출력제어 슬레이브 레지스터 그룹으로 구분된다. 출력시간 슬레이브 레지스터 그룹의 내용이 검색키로서 시간간격 타이머 값(T)을 이용하는 동안 비교기그룹(143)에 의해 병렬비교된다.The random write memory from the CPU 100 is the master memory 141, and the comparison memory having the time interval timer 120 is the slave memory 142. The contents of the master memory 141 are copied to the slave 142 in response to the copy signal S13 so that the data recorded by the CPU 100 is reflected by the associative operation. The master memory 141 is divided into an output time master register group corresponding to a tag portion and an output control master register group corresponding to an associative portion. The registers in each of these groups are assigned to respective positions (addresses) of the memory space of the CPU 100. That is, the master memory 141 accesses each register via the system bus BO. Further, the slave memory 142 is divided into an output time master register group of the master memory 141 and an output time slave register group and an output control slave register group so as to correspond to the slave register group at the output. The contents of the output time slave register group are compared in parallel by the comparator group 143 while using the time interval timer value T as the search key.

시간간격 타이머 값(T)과 일치하는 레지스터가 상기 비교의 결과로 검출되면 일치하는 출력시간 슬레이브 레지스터 번호(n)에 상응하는 태그번호의 일치신호가 전송된다. 태그#n에 상응하는 출력제어 슬레이브 레지스터 #n(N : 수)에 저장된 출력제어 명령은 출력명령버스(S16)를 경유하여 전송된다.When a register matching the time interval timer value T is detected as a result of the comparison, a matching signal of a tag number corresponding to the matching output time slave register number n is transmitted. The output control command stored in the output control slave register #n (N: number) corresponding to the tag #n is transmitted via the output command bus S16.

동시에 출력신호그룹(S17)을 나타내는 출력 인에이블신호(S15)는 버스(S16)의 데이터가 유효하다는 사실이 나타내지도록 상기 명령에 따라서 전송된다.At the same time, an output enable signal S15 representing the output signal group S17 is transmitted in accordance with the command so as to indicate that the data on the bus S16 is valid.

상기했듯이 연상기억장치(140)는 태그부분, 연상부분, 출력시간 데이터와 출력제어 데이터를 저장한다. 더욱이 시간간격 타이머 값(T)은 검색키이로서 이용된다. 결과적으로 출력제어 명령은 원하는 시간에 발할 수 있다. 더욱이 그 메모리 이층의 형태로 되고 CPU는 출력신호가 변화되는 시간을 정의하는 출력시간 데이터와 상기 변화후 2진상태를 정의하는 출력제어 명령데이터를 마스터메모리(141)에 기록한다.As described above, the associative storage device 140 stores the tag portion, the associative portion, output time data, and output control data. Furthermore, the time interval timer value T is used as the search key. As a result, an output control command can be issued at a desired time. Furthermore, the memory is in the form of two layers and the CPU writes output time data defining the time at which the output signal changes and output control command data defining the binary state after the change in the master memory 141.

그래서 내용이 시간간격 타이머의 주기(캐리어 주기)의 중간점에서 재부하되면 슬레이브 메모리(142)의 내용은 재부하되지 않고 유지된다. 결과적으로 PWM신호의 펄스폭 오차발생을 방지할 수 있다. 그 다음에 연상기억장치(140)의 구체적 구조가 제9도를 참조하여 설명된다.Thus, when the contents are reloaded at the midpoint of the period (carrier period) of the time interval timer, the contents of the slave memory 142 are maintained without being reloaded. As a result, the occurrence of the pulse width error of the PWM signal can be prevented. Next, the specific structure of the memory device 140 will be described with reference to FIG.

연상기억장치(140)은 연상기억장치 I/O회로(911), 판독우선회로(921), 연상기억장치 출력래치(913)와 마스터메모리(141)에 더해진 OR게이트(914)와 슬레이브메모리(142)와 비교기그룹(140)으로 이루어진다. 마스터메모리(141)와 슬레이브메모리(142)는 각각 태그부분과 연상부분으로 구분된다.The associative memory 140 includes an OR gate 914 and a slave memory added to the mnemonic memory I / O circuit 911, the read priority circuit 921, the output of the mnemonic memory output latch 913, and the master memory 141. 142 and a comparator group 140. The master memory 141 and the slave memory 142 are divided into a tag portion and an association portion, respectively.

즉, 하나의 출력시간 마스터 레지스터(#n), 하나의 출력시간 슬레이브 레지스터(#n)와 하나의 비교기(#n)는 태그워드셀(920)로 구성된 하나의 레이아웃셀을 형성하기 위해 수집된다.That is, one output time master register (#n), one output time slave register (#n) and one comparator (#n) are collected to form one layout cell composed of the tag word cells (920). .

이렇게 형성된 다수의 태그워드셀(920)이 공급된다.The plurality of tag word cells 920 thus formed are supplied.

더욱이 하나의 출력제어 마스터 레지스터(#n), 출력제어 슬레이브 레지스터(#n)과 하나의 데이터 출력회로(#n)는 출력데이터 워드셀(930)로 구성되는 하나의 레이아웃셀을 형성하기 위해 수집된다. 이렇게 형성된 다수의 출력데이터 출력셀(930)이 공급된다. 상기에서 n은 번호를 표시한다. 연상메모리(140)가 상기와 같이 구성되었기 때문에, 마스터메모리(141), 슬레이브메모리(142)와 비교기그룹(143)의 배선길이가 짧아지고 회로를 형성하는데 필요한 면적이 좁아질 수 있다. 더욱이 회로의 부하용량이 적어지고 이것은 각 레지스터의 출력단계의 트랜지스터가 적어지든지 생략되는 효과를 얻게 한다. 상기 두 효과의 결과로서 연상기억장치(140)의 레이아웃의 크기가 줄어든다.Furthermore, one output control master register (#n), output control slave register (#n) and one data output circuit (#n) are collected to form one layout cell consisting of output data word cells 930. do. The plurality of output data output cells 930 thus formed are supplied. Where n represents a number. Since the associative memory 140 is configured as described above, the wiring length of the master memory 141, the slave memory 142, and the comparator group 143 can be shortened, and the area required for forming the circuit can be narrowed. Moreover, the load capacity of the circuit is reduced, which has the effect of eliminating or omitting transistors in the output stage of each register. As a result of the two effects, the size of the layout of the memory device 140 is reduced.

더욱이 I/O회로(911)가 일반적으로 다수의 레지스터로 구성되었기 때문에 레이아웃의 크기가 줄어든다.In addition, the layout is reduced because the I / O circuit 911 is generally composed of a plurality of registers.

이러한 구조에서 복사신호(S13)가 수신될 때 각 마스터 레지스터의 내용은 슬레이브 레지스터에 복사된다. 시간간격 타이머 값(T)은 검색키이로서 각 출력시간 슬레이브 레지스터와 병렬로 비교되기 위해서 각 비교기 병렬로 공급된다.In this structure, when the copy signal S13 is received, the contents of each master register are copied to the slave registers. The time interval timer value T is supplied as a search key for each comparator parallel to be compared in parallel with each output time slave register.

그들의 내용이 서로 일치하는 비교기 #i(i : 번호)는 태그 #i 일치신호(S9i)를 전송한다. 2개 이상의 내용이 서로 일치하는 경우에 판독우선회로(912)는 출력제어 슬레이브 레지스터(#j)의 출력제어 명령이 출력 데이터버스(Bout)를 통해 데이터 출력회로(#j)를 경유하여 독출되기 위해 적은 태크번호(예를들어 j번째)에 판독신호(S9ja)를 전송한다. 즉 하나의 출력제어 명령이 일반적으로 발생된다. 상기 구조에 따르면 연상메모리 출력래치(913)는 출력제어 명령버스(S16)의 전압량으로 출력데이터 버스(Bout)의 전압을 증폭시키기 위한 미분증폭기이다.Comparator #i (i: number) whose contents coincide with each other transmits tag #i matching signal S9i. When two or more contents coincide with each other, the read priority circuit 912 reads the output control command of the output control slave register #j via the data output circuit #j via the output data bus Bout. The read signal S9ja is transmitted to a small tag number (e.g., jth). That is, one output control command is generally generated. According to the above structure, the associative memory output latch 913 is a differential amplifier for amplifying the voltage of the output data bus Bout by the amount of the voltage of the output control command bus S16.

상기 우선회로(912)는 출력제어 명령발생이 순차적으로 순서에 따라서 정의된 공간벡터형 PWM 인버터를 효과적으로 제어할 수 있다. 후반의 순차적인 순서로 전송된 출력제어 명령은 2개 이상의 태그가 서로 동시에 일치하는 경우에 진행된다.The priority circuit 912 can effectively control a space vector type PWM inverter in which output control command generation is sequentially defined. The output control commands sent in the latter sequential order proceed when two or more tags coincide with each other at the same time.

결과적으로 전송된 PWM의 펄스폭 오차가 방지된다. 출력제어 명령을 데코딩하는 방법으로 후에 설명되듯이 출력제어 명령에서 출력제어모드(OCM)에 따라서 할당된 4개 형태의 방법이 제공된다. 이 실시예에 따르면 세 개의 병렬출력으로 구성된 2개의 셋트가 인가된다. 제어 레지스터(110)에 대한 주사비트(SCN)가 1이 될 때 8개의 비교가능신호(S1100) 내지 (Sf1107)중 오직 하나의 비교가능신호만이 1이 된다.As a result, the pulse width error of the transmitted PWM is prevented. As a method of decoding the output control command, four types of methods are provided which are assigned in accordance with the output control mode (OCM) in the output control command. According to this embodiment two sets of three parallel outputs are applied. When the scan bit SCN for the control register 110 becomes one, only one of the eight comparable signals S1100 to Sf1107 becomes one.

1의 위치는 각 동작클럭 주기마다 순차적으로 하나씩 이동된다.The position of 1 is sequentially moved one by one for each operation clock period.

더욱이 비교가능신호가 1인 비교기간이 비교동작을 수행하게 된다. 결과적으로 각 8개의 동작 클럭주기에 대한 모든 비교 동작이 완결된다. 2개 이상의 태그가 동시에 서로 일치하고 판독우선회로(912)가 원하는 결과를 낼 수 없는 가능성이 있는 경우에, 상기 주사비트(SCN)는 원하는 결과를내도록 동작한다. 주사비트(SCN가 0일 때 모든 비교가능신호(S1100)) 내지 (S1107)은 1이 된다.Moreover, the comparison period with the comparable signal of 1 performs the comparison operation. As a result, all comparison operations for each of the eight operating clock cycles are completed. In the case where two or more tags coincide with each other at the same time and there is a possibility that the read priority circuit 912 may not produce the desired result, the scan bit SCN operates to produce the desired result. The scan bits (all comparable signals S1100 when the SCN is 0) to S1107 become one.

다음에 출력제어회로(150)에 대하여 기술한다. 출력제어 명령버스(S16)에서의 제어명령은 연상기억장치 명령레지스터(151)에 의해 인출된다. 상기 기술한 명령을 나타내는 출력 인에이블신호(S15)가 효율적으로 수신될 때 상기 기술한 제어명령에 따라 데코더(153)는 출력레지스터(154)의 할당된 비트에 할당된 값을 기록한다. 그 결과 바람직한 PWM 펄스가 출력신호그룹(S17)에 전송된다. 삼각펄스가 PWM 펄스의 캐리어로 선택되어지는 경우에 있어서, 입출력시간 데이터 종류는 내부타이머 주기의 실부분과 정면에서 두배의 내부타이머 값(T)과 일치한다.Next, the output control circuit 150 will be described. The control command in the output control command bus S16 is drawn out by the mnemonic storage command register 151. When the output enable signal S15 representing the above described command is efficiently received, the decoder 153 records the value assigned to the assigned bit of the output register 154 according to the above described control command. As a result, the desired PWM pulse is transmitted to the output signal group S17. In the case where the triangular pulse is selected as the carrier of the PWM pulse, the input / output time data type coincides with the internal timer value T that is doubled in front of the real part of the internal timer period.

PWM 펄스발생장치는 일치하는 두배에서 역 2진상태로 PWM 펄스의 변화를 명령한다. 예를 들어 PWM 펄스발생장치는 타이머 주기의 정면에서 출력신호의 상승을 명령하고 실부분의 정면에서 하강을 명령해야 한다 그러나 병렬비교형 연상기억장치(140)는 타이머 주기의 실부분과 정면에서 다른 명령을 발하지는 않는다. 이를 위하여 출력제어 마스터레지스터 그룹과 출력제어 슬레이브 레지스터 그룹의 두 세트를 타이머 주기의 실부분과 정면으로 사용하기 위하여 제공하게 되면 회로의 크기가 커지게 되는 원인이 된다. 그러므로 동일명령의 출력값은 타이머 주기의 실부분과 정면에서 변환되고 그 결과 출력제어 마스터 레지스터 그룹과 출력제어 슬레이브 레지스터 그룹의 필요한 세트수가 하나로 감소하게 된다. 데코더(153)는 상기 기술한 상승신호(S18)와 연상기억장치 명령레지스터(151)의 제어명령에 따라 출력레지스터(154)를 제어하기 위하여 내부타이머(120)로부터 전송된 상승신호(S18)를 수신한다. CPU(100)는 시스템버스(BO)를 통해 출력레지스터(154)는 1비트의 단위에서 기록할 수가 있다. CPU(100)의 상기 기술한 기능은 병렬 비교형 연상기억장치(140)의 워드수가 효고적으로 충분치 않고, 거기에서 출력제어그룹(S17)을 제어하지 못할때의 지원 동작이다. 더구나 PWM 펄스의 출력은 사로로 인하여 갑자기 멈출수가 있다. 그러므로 이들 구조는 연상기억장치 명령 레지스터(151)용 데코더 회로와 유사하게 배열된 회로가 제공되고, 그러한 방법에서 CPU 명령 레지스터가 제공되도록 배열되며 그 결과 CPU(100)는 병렬비교형 연상기억장치(140)과 유사하게 출력제어명령을 사용함으로써 출력신호그룹(S17)을 개별적으로나 또는 공동으로 할 수가 있다. 그러나 CPU(100)에서 내부타이머 주기의 실부분과 정면에서 CPU 명령 레지스터로 발하는 명령을 동시에 변경한다는 것은 어렵다. 그러므로 타이머주기의 실부분과 정면에 상응하여 변하는 출력값은 실행되지 않는다. 더구나 CPU(100)로부터의 명령과 병렬비교형 연상기억장치(140)으로 부터의 명령이 동일출력 신호로 변하는 경우에 있어서, 데코더(153)는 CPU(100)로 부터의 명령을 진행한다.The PWM pulse generator commands a change in the PWM pulse from the corresponding double to the reverse binary state. For example, the PWM pulse generator should command the output signal to rise in front of the timer period and the fall to the front of the real part. However, the parallel comparison type reminder 140 is different from the real part of the timer period. It does not issue a command. For this purpose, providing two sets of the output control master register group and the output control slave register group to use the real part and the front of the timer period causes the size of the circuit to increase. Therefore, the output value of the same instruction is converted in front of the real part of the timer period, and as a result, the number of required sets of the output control master register group and the output control slave register group is reduced to one. The decoder 153 receives the rising signal S18 transmitted from the internal timer 120 to control the output register 154 according to the above-described rising signal S18 and the control command of the mnemonic suppression command register 151. Receive. The CPU 100 can write the output register 154 in units of 1 bit via the system bus BO. The above-described function of the CPU 100 is a supporting operation when the number of words of the parallel comparative type memory device 140 is not sufficient enough and the output control group S17 is not controlled there. In addition, the output of the PWM pulses may suddenly stop due to captivity. Therefore, these structures are provided with circuitry arranged similarly to the decoder circuitry for the mnemonic storage instruction register 151, and in such a manner arranged so that a CPU instruction register is provided, so that the CPU 100 is configured with a parallel comparison mnemonic ( Similar to 140, by using the output control command, the output signal group S17 can be individually or jointly. However, it is difficult for the CPU 100 to simultaneously change the instructions issued to the CPU instruction register at the actual part and the front of the internal timer cycle. Therefore, the output value that changes corresponding to the real part and the front of the timer period is not executed. Furthermore, in the case where the instruction from the CPU 100 and the instruction from the parallel comparison type memory device 140 are changed to the same output signal, the decoder 153 advances the instruction from the CPU 100.

그 결과로서 CPU(100)는 출력신호그룹(S17)을 쉽게 동작시킨다.As a result, the CPU 100 easily operates the output signal group S17.

제10도는 출력제어회로(150)의 세부구조를 설명한다.10 illustrates a detailed structure of the output control circuit 150. As shown in FIG.

제10도에서 보여주는 바와 같이 출력제어회로(150)는 연상기억장치 명령 레지스터(151), CPU 명령 레지스터(152), 비트기록 데코더(153c), CPU 비트 데이터 어라이너(153d), 연상기억장치 기록 데코더(153a), 연상기억장치 비트 데이터 어라이너(153b), 출력조정회로(153e)와 출력 레지스터(154)로 이루어진다. CPU 명령 레지스터(152)는 시스템버스(BO)를 통하여 CPU(100)에 연결된다. 출력제어명령은 출력제어 명령버스(S16)를 통하여 연상기억장치 명령 레지스터(151)에 인가된다. 상기 기술한 출력제어명령은 제11도에서 상세하게 보여주는 바와 같이 출력신호값(OSD)의 8비트(OSD7-OSD0)과 출력제어모드(OCM)의 2비트로 구성된다. 출력제어모드(OCM)가 (0, 0)가 8-비트 병렬출력이 얻어진다. 출력신호값(OSDi)(i는 0-7에서 선택된 정수임)은 전송되기 위하여 출력 레지스터(154)에 상응하는 비트(PSi)로 세트된다.As shown in FIG. 10, the output control circuit 150 includes the memory storage command register 151, the CPU command register 152, the bit write decoder 153c, the CPU bit data aligner 153d, and the memory storage write. It consists of a decoder 153a, an mnemonic storage bit data aligner 153b, an output adjustment circuit 153e and an output register 154. The CPU command register 152 is connected to the CPU 100 through the system bus BO. The output control command is applied to the association memory command register 151 through the output control command bus S16. The output control command described above is composed of 8 bits (OSD7-OSD0) of the output signal value (OSD) and 2 bits of the output control mode (OCM) as shown in detail in FIG. An output control mode (OCM) of (0, 0) with 8-bit parallel output is obtained. The output signal value OSDi (i is an integer selected from 0-7) is set to the bit PSi corresponding to the output register 154 to be transmitted.

출력제어모드(OCM)가 (0, 1)일 때 병렬출력 3비트 인에이블의 2세트를 갖는 병렬출력이 얻어진다. 출력신호값(OSDi) (i는 0-2에서 선택된 정수임)은 단지 출력신호값(OSD3)가 1일 때 출력 레지스터(154)에 상응하는 비트(PSi)로 세트된다. 출력신호값(OSDi) (i는 4-6에서 선택된 정수임)은 단지 출력신호값(OSD7)이 1일 때 출력레지스터(154)에 상응하는 비트(PSi)로 세트된다. 상기 기술한 모든 공간백터형 3상 인버터의 제어를 필요로 하는 6 PWM 펄스가 공동으로 변환된 모드이거나, 3상 120도 통전형 무부러시 모터용 인버터의 제어를 필요로 하는 3개의 PWM 펄소를 할당하는 3신호 모드이고, 통전상은 공동으로 전송된다. 출력제어모드(OCM)가 (1, 0)일 때 2비트 인에이블의 2세트를 갖는 병렬출력이 얻어진다. 출력신호값(OSDi) (i은 0 또는 1임)은 단지 출력신호값(OSD3)이 전송되기 위하여 1일 때 출력레지스터(154)에 상응하는 비트(PSi)로 세트된다. 상기 기술한 모드는 DC모터구동회로가 H형 아암에 의해 제어될때의 모드이다. H형 아암구동회로에서 통전방향으로 가르키는 두 신호 2 PWM펄스나 4 PWM펄스는 공동으로 전송된다. 출력신호값(OSDi) (i는 4 또는 5임)은 단지 출력신호값(OSD7)이 전송되기 위하여 1일 때 출력 레지스터(154)에 상응하는 비트(PSi)로 세트된다. 출력제어모드(OCM)가 (1, 1)일 때 1비트 위치에 할당된 신호출력이 얻어진다. 출력신호값(OSD7)의 배타적 논리합(OR)과 상승신호(S18)는 전송되기 위하여 출력 레지스터(154)의 출력신호값(OSD7, OSD6, OSD5)으로부터 주어진 0-7에 따라 한정된 위치에 상응하는 비트(PSi)로 세트된다. 상기 기술한 모드는 PWM 펄스출력회로의 출력단자의 종래 일반적인 할당기능을 유지할 목적으로 제공된다.When the output control mode (OCM) is (0, 1), a parallel output with two sets of parallel output 3-bit enable is obtained. The output signal value OSDi (i is an integer selected from 0-2) is only set to the bit PSi corresponding to the output register 154 when the output signal value OSD3 is one. The output signal value OSDi (i is an integer selected in 4-6) is set only to the bit PSi corresponding to the output register 154 when the output signal value OSD7 is one. 6 PWM pulses that require control of all the space vector three-phase inverters described above are co-converted modes, or three PWM pulsos that require control of a three-phase 120-degree energized brushless motor inverter It is a three-signal mode to allocate, and an electricity supply phase is transmitted jointly. When the output control mode OCM is (1, 0), a parallel output with two sets of 2-bit enable is obtained. The output signal value OSDi (i is 0 or 1) is set to the bit PSi corresponding to the output register 154 only when the output signal value OSD3 is 1 to be transmitted. The mode described above is a mode when the DC motor drive circuit is controlled by the H-type arm. In the H-arm drive circuit, two signals, 2 PWM pulses or 4 PWM pulses, pointing in the energizing direction are transmitted in common. The output signal value OSDi (i is 4 or 5) is set to the bit PSi corresponding to the output register 154 only when the output signal value OSD7 is 1 to be transmitted. When the output control mode OCM is (1, 1), the signal output allocated to the 1-bit position is obtained. The exclusive OR of the output signal value OSD7 and the rising signal S18 correspond to positions defined according to 0-7 given from the output signal values OSD7, OSD6, OSD5 of the output register 154 for transmission. Bit PSi. The above-described mode is provided for the purpose of maintaining the conventional general assignment function of the output terminal of the PWM pulse output circuit.

상기 기술한 출력제어명령의 출력제어모드의 두 비트(OCM1과 OCM0)는 연상기억장치 비트기록 데코더(153a)에 의한 1비트의 단위에서 기록신호 BWam 7-0 내에 구분된 출력신호값(OSD)의 출력제어모드에 따라 출력인에이블이 된다. 이와 유사하게 시스뎀버스(BO)를 통하여 CPU 명령 레지스터(152)내에 기록된 출력제어명령은 CPU 비트 기록데코더(153c)에 의해 1비트의 단위에서 기록신호 BWcpu 7-0 내에 구분된다. CPU 비트 데이터 어라이너(153d)는 바람직한 출력위치에 상응하는 데이터(ODcpu 7-0)로 출력값을 만든다. 이때 출력값은 상승신호(S18)에 의해 반전되지 않는다. 출력조정회로(513e)는 1비트의 단위에서 CPU(100)로부터의 명령에 따라 만들어지고, 그 출력은 병렬비교형 연상기억장치(140)로부터의 명령에 따라 얻어진다. CPU(100)로부터의 명령에 따라 임의 신호내의 인터럽션은 병렬비교형 연상기억장치(140)에 의해 펄스의 정상발생에 대한 임의시간에 이루어진다. 그러므로 장치를 제어동안에 우발적으로 발생하는 PWM 펄스의 변경이 가능하게 된다.The two bits OCM1 and OCM0 of the output control mode of the above-described output control command are output signal values (OSD) separated within the recording signal BWam 7-0 in units of 1 bit by the mnemonic storage bit write decoder 153a. The output is enabled in accordance with the output control mode. Similarly, the output control commands recorded in the CPU command register 152 through the system bus BO are distinguished in the write signal BWcpu 7-0 in units of 1 bit by the CPU bit write decoder 153c. The CPU bit data aligner 153d produces an output value with data (ODcpu 7-0) corresponding to the desired output position. At this time, the output value is not inverted by the rising signal S18. The output adjustment circuit 513e is made in accordance with an instruction from the CPU 100 in units of one bit, and its output is obtained in accordance with an instruction from the parallel comparison type memory device 140. Interruption in an arbitrary signal in accordance with an instruction from the CPU 100 is made at a random time for the normal occurrence of a pulse by the parallel comparison type memory device 140. Therefore, it is possible to change the PWM pulse that occurs accidentally during the control of the device.

제어 레지스터(110)의 출력신호 리세트비트(OSR)가 1일 때 출력 레지스터(154)의 모든 비트는 리세트된다. 그 결과 모터는 갑자기 멈추게 된다.When the output signal reset bit OSR of the control register 110 is 1, all the bits of the output register 154 are reset. As a result, the motor stops suddenly.

제12, 13도는 이러한 실시예에 따라 PWM 펄스를 발생시키는 동작의 타임챠트를 설명한다. 제12도는 톱니파형 캐리어가 제어 레지스터(110)의 캐리어파형 선택 비트(CWS)를 얻음으로써 선택되는 경우를 설명한다. 은-지연시간을 제공하기 위하여 인버터용구동신호로 보낼 필요가 있고, 출력신호(PSO)는 PWM 펄스이며, 은-지연시간은 데크 #7로 세트되며, 출력신호(PSO)를 1로 하기 위한 명령은 그의 출력제어명령으로서 세트된다. 더구나 제어연산으로부터 얻어진 펄스폭에 따라 1로 복귀하기 위한 출력신호(PSO)를 얻기 위하여 출력신호(PSO)의 오프-시간은 데크 #0으로 세트된다. 상기 기술한 설정은 제어주기에서 최종 PWM 주기의 완료와 동시에 출력시간 슬레이브 레지스터 #0으로 복사하기 위하여 각 제어주기에서 출력시간 마스터 레지스터 #0내에 기록된다.12 and 13 illustrate time charts of operations for generating PWM pulses according to this embodiment. 12 illustrates the case where the sawtooth carrier is selected by obtaining the carrier waveform select bit CWS of the control register 110. In order to provide the silver delay time, it is necessary to send it as a drive signal for the inverter, the output signal PSO is a PWM pulse, the silver delay time is set to deck # 7, and the output signal PSO is set to 1. The command is set as its output control command. Furthermore, the off-time of the output signal PSO is set to deck # 0 in order to obtain the output signal PSO for returning to 1 according to the pulse width obtained from the control operation. The above-described setting is written in the output time master register # 0 in each control cycle to copy to the output time slave register # 0 at the same time as the completion of the last PWM cycle in the control cycle.

이러한 실시예에 따라 제어 레지스터(110)의 임의복사 인에이블 비트(RCE)는 제어연산의 완료후에 CPU(100)에 의해 1로 되고, 따라서 각 제어주기에서의 복사가 명령된다. 이러한 방법에 따라 주기적 복사 인에이블부(PCE)와 분주회로(620)는 제어주기가 PWM주기의 두배나 세배일때의 구조에서 생략할 수가 있다. 그 결과 회로의 크기가 더욱 작아지게 된다. 제어연산시간이 최단시간이거나 최장시간이거나 무관하게 제어연산시간의 차이가 30% 이하이기 때문에 임의복사 인에이블비트(RCE)는 동일 PWM 주기내에서 1로 할 수가 있게 된다. 임의복사 인에이블비트(RCE)는 CPU에 인가된 부하가 감소하기 때문에 복사동작과 동시에 리세트되어 자동으로 배열된다.According to this embodiment, the random copy enable bit RCE of the control register 110 becomes 1 by the CPU 100 after completion of the control operation, so that the copy in each control period is commanded. According to this method, the periodic radiation enable unit PCE and the divider circuit 620 can be omitted from the structure when the control period is two or three times the PWM period. The result is a smaller circuit. Since the difference in control operation time is 30% or less regardless of whether the control operation time is the shortest time or the longest time, the random enable enable bit (RCE) can be set to 1 in the same PWM period. The random copy enable bit (RCE) is reset and automatically arranged at the same time as the copy operation because the load applied to the CPU is reduced.

출력신호로 제어연산 결과에 반영처리를 기술한다.The reflection processing is described in the control calculation result with the output signal.

예를들어, j·th 제어주기내의 제어연산결과 TO(j)는 k-1-th 내부타이머 주기내에서 출력시간 종속 레지스터 #0으로 기록된다. 상기 기술한 타이머 주기에서 CPU(100)로 부터의 복사명령에 따라, 상기 기술한 복사주기의 끝과 동시에 복사가능호로(130)에 의해 출력시간 종속 레지스터 #n0(표시 #0)로 복사된다. 거이세서 j+1 th 제어주기에서 출력신호(PSO)로 반영된다. 예를들어 표시 #0은 출력신호(PSO)가 0으로 돌아가기 때문에 상기 기술한 주기에서 k-th 타이머 주기내의 시간 ta에서 일치한다.For example, the control operation result TO (j) in the j · th control period is written to the output time dependent register # 0 in the k-1-th internal timer period. In accordance with the copy instruction from the CPU 100 in the above described timer period, at the same time as the end of the above described copying period, the copying path 130 is copied to the output time dependent register # n0 (indication # 0). It is reflected by the output signal PSO in j + 1 th control period. For example, display # 0 coincides at time ta in the k-th timer period in the above-described period because the output signal PSO returns to zero.

제13도는 제어 레지스터(110)의 캐리어파형 선택 비트(CWS)를 가짐으로서 선택된 톱니파 캐리어의 경우를 설명한다.13 illustrates the case of the sawtooth carrier selected by having the carrier waveform selection bit CWS of the control register 110.

이 경우에 의해 출력제어 명령의 출력제어모드(OCM)는 제1비트를 '1로 하기 위한 명령과 함께 신호출력을 얻는다.In this case, the output control mode OCM of the output control command obtains a signal output together with a command for setting the first bit to '1'.

그 결과 출력값은 상승신호(S18)에 의해 반전된다 그러므로 표시 #0는 k th 타이머주기내의 시간 ta와 tb에서 두배의 내부타이머 값(T)과 일치한다. 출력신호(PSO)는 시간 ta에서 출력제어 명령에 따라 1로 되고, 출력신호(PSO)는 시간 tb에서의 상승신호(S18)에 따라 출력제어명령과 반대인 0으로 된다. 그 결과 톱니파 캐리어는 상승신호(S18)에 의한 출력제어명령의 반전에 의해 형성된다.As a result, the output value is inverted by the rising signal S18. Therefore, display # 0 coincides with a double internal timer value T at times ta and tb within the k th timer period. The output signal PSO becomes 1 according to the output control command at time ta, and the output signal PSO becomes 0 which is opposite to the output control command according to the rising signal S18 at the time tb. As a result, the sawtooth carrier is formed by the inversion of the output control command by the rising signal S18.

이러한 실시에에 따라, 각 주기에서 복사에 의한 인터럽션으로 CPU가 요구하는 회로를 발생하는 PWM 펄스는 인터럽션 요구가 1일 때 PWM 주기의 정수배이다. CPU는 인터럽션 요구에 따라 장치의 제어연산을 실행한다. 그러므로 제어연산 주기를 상수로 하기 위한 제어주기 간격 타이머의 필요성이 이 실시에에 따라 제거된다. 본 발명에 따른 장치가 발생하는 PWM 펄스는 장치를 제어하기 위한 마이크로컴퓨터의 체의 크기를 축소시키게 된다.According to this embodiment, the PWM pulses that generate the circuit required by the CPU in interruption by copying in each cycle are integer multiples of the PWM cycle when the interruption request is one. The CPU executes the control operation of the device in accordance with the interruption request. Therefore, the necessity of the control period interval timer for making the control operation period constant is eliminated according to this embodiment. The PWM pulse generated by the device according to the invention reduces the size of the sieve of the microcomputer for controlling the device.

상기 기술한 바와 같이 제1도에서 보여주는 이러한 실시예에 따라 슬레이브 메모리의 내용은 펄스주기내에서 항상 상수이다. 그러므로 배선길이는 더욱 짧아지게 되고 그 결과 회전면적과 설계도의 크기가 작아지게 된다.According to this embodiment as shown in FIG. 1 as described above, the contents of the slave memory are always constant within the pulse period. Therefore, the wiring length becomes shorter, and as a result, the rotational area and the size of the design become smaller.

상기 기술한 실시에에 따라 그 구조는 제1도에서 보여주는 서브프로세서(160)가 멈추는 것과 같은 수단으로 배열되고, CPU는 서브프로세서(160)에 의해 실행된 기능을 수행한다. 다음은 서브프로세서(160)의 기능을 기술한다. 서브프로세서(160)는 제1도에서 보여주는 바와 같이 시스템버스(BO)를 통하여 CPU(100)로부터 데이터를 공급/수신한다.According to the above-described embodiment, the structure is arranged by the same means as the subprocessor 160 shown in FIG. 1 is stopped, and the CPU performs a function executed by the subprocessor 160. The following describes the function of subprocessor 160. The subprocessor 160 supplies / receives data from the CPU 100 via the system bus BO as shown in FIG.

따라서 상기 기술한 출력펄스의 출력시간 데이터를 연산하기 위한 순서는 프로그램되거나 논리회로로 구성된다. 더구나 제어 레지스터(110)의 서브프로세서 동작 인에이블부(SPE)가 1이 됨으로서 연산이 실행된다. 그러므로 출력시간 데이터를 연산하는 시저에서 CPU(100)에 인가된 부하는 감소하게 된다. 따라서 CPU(100)에 의해 실행된 제어연산처리의 처리량이 개선된다.Therefore, the order for calculating the output time data of the above-described output pulse is programmed or constituted by a logic circuit. In addition, the operation is performed by the subprocessor operation enable unit SPE of the control register 110 becoming one. Therefore, the load applied to the CPU 100 in the procedure for calculating the output time data is reduced. Thus, the throughput of the control calculation processing executed by the CPU 100 is improved.

제1도에서 보여주는 구조에 따라 서브프로세서(160)는 멀티플렉서(170)를 통하여 출력시간 마스터 레지스터 #0-#7을 엑세스한다. 그러나 제14도에서 보여주는 또 다른 구조는 서브프로세서가 멀티플렉서(180)와 로컬버스(B1)를 통하여 출력시간 마스터 레지스터 #0에서 #7을 제외한 레지스터로 액세스되도록 구성하였다. 상기 기술한 구조에 따라 제어 레지스터(110), 주기 레지스터(122)로부터 세팅된 출력 펄스와 동시에 처리되고, 출력제어 마스터 레지스터 #0-#7 역시 서브프로세서(160)에 의해 실행되며, 그 결과 CPU(100)에 인가된 부하는 제1도에서 보여주는 구조와 비교해 볼 때 더욱 축소하게 된다. 제14도에서 보여주는 실시예에 따라 인터럽션신호(S19)는 출력펄스와 동시에 처리되기 위하여 서브프로세서(160)에 인가되고, 그 결과 CPU(100)의 인터럽션 처리는 서브프로세서(160)에 의해 실행된다.According to the structure shown in FIG. 1, the subprocessor 160 accesses the output time master registers # 0-# 7 through the multiplexer 170. However, another structure shown in FIG. 14 is configured such that the subprocessor is accessed from the output time master registers # 0 to registers other than # 7 through the multiplexer 180 and the local bus B1. According to the above-described structure, the control pulse is processed simultaneously with the output pulses set from the control register 110 and the period register 122, and the output control master registers # 0- # 7 are also executed by the subprocessor 160, and as a result, the CPU The load applied to 100 is further reduced as compared to the structure shown in FIG. According to the embodiment shown in FIG. 14, the interruption signal S19 is applied to the subprocessor 160 to be processed simultaneously with the output pulse, and as a result, the interruption processing of the CPU 100 is performed by the subprocessor 160. Is executed.

서브프로세서(160)의 구조는 제15도에서 보여준다.The structure of subprocessor 160 is shown in FIG.

서브프로세서(160)는 범용 레지스터 #0-#7로 구성된 레지스터 그룹(161)과, 서브프로세서(160)와 레지스터 그룹(161)내에 저장된 데이터의 논리연산과 산술연산의 실행이 가능한 연산장치(162)와, 서브프로세서(160)와 다른 레지스터 사이에 전송되는 데이터를 위한 전송제어장치로 구성된다. 서브프로세서(160)가 포함하는 각 장치의 제어는 각 장치에 포함된 논리회로나 제어 프로그램에 의해 이루어진다. 상기 기술한 각 장치의 제어는 데이터의 논리연산과 산술연산으로 이루어지고, CPU에 의해 레지스터 그룹(161)에 기록되며, 연산장치(162)에 의한 실행으로 제어된다. 더구나 출력시간 데이터의 전송은 연산의 결과이고, 출려시간 마스터 레지스터 그룹과 같은 레지스터는 전송제어장치(153)에 의해 제어된다.The subprocessor 160 includes a register group 161 composed of general registers # 0- # 7, and an operation unit 162 capable of performing logical and arithmetic operations on data stored in the subprocessor 160 and the register group 161. ) And a transmission control device for data transferred between the subprocessor 160 and other registers. Control of each device included in the subprocessor 160 is performed by a logic circuit or a control program included in each device. The control of each device described above consists of logical and arithmetic operations of data, is recorded in the register group 161 by the CPU, and controlled by execution by the arithmetic unit 162. Moreover, the transfer of the output time data is the result of the operation, and a register such as the origin time master register group is controlled by the transfer control device 153.

CPU의 제어연산 처리능력은 다른 펄스신호와 관련되지 않은 하나의 펄스신호의 출력시간 연산동작의 분주부분에 의한 처리분산에 의해 증진된다. 더구나 CPU(100)의 부하들 줄이는 충분한 효과는 출력시간에 관련된 연산을 행하는 서브프로세서(160)에 의해 얻을 수가 있고 2개 이상의 펄스신호의 출력시간은 다른 출력시간으로부터 얻을 수가 있다. 상기 기술의 상세한 예로서, 전동기를 구동하기 위한 전기변환장치인 3상 인버터는 제16도에서 보여주는 바와 같이 제어된다. 3상 인버터는 3상 AC전압 즉, U, V, W상을 발생하기 위하여 각 상에 대해 두 신호로 구성된 6개의 PWM 신호를 사용한다. 각 상에 대한 2개의 PWM 신호는 출력신호의 극성을 변환하여 형성한다. 여기에서 전기공급을 하기 위한 트랜지스터의 특성 때문에 특정 주기에서 상기 기술한 2개의 PWM 신호를 낮게 할 필요가 있다.The control calculation processing capability of the CPU is enhanced by the processing dispersion by the division portion of the output time calculation operation of one pulse signal not related to another pulse signal. Moreover, the sufficient effect of reducing the loads of the CPU 100 can be obtained by the subprocessor 160 performing an operation related to the output time and the output time of two or more pulse signals can be obtained from different output time. As a detailed example of the above technique, a three-phase inverter, which is an electric converter for driving an electric motor, is controlled as shown in FIG. The three-phase inverter uses six PWM signals consisting of two signals for each phase to generate three-phase AC voltages, namely U, V, and W phases. Two PWM signals for each phase are formed by converting the polarity of the output signal. Here, it is necessary to lower the two PWM signals described above in a certain period because of the characteristics of the transistor for supplying electricity.

각 PWM 신호의 출력시간은 특정시간 데이터와 2상의 평균전압을 나타내는 기준시간 데이터를 연산함으로써 얻을 수가 있다.The output time of each PWM signal can be obtained by calculating specific time data and reference time data representing the average voltage of the two phases.

예를들어, 톱니파인 PWM의 변환캐리어의 경우에 두 U상 PWM의 출력시간 데이터 TUa(i)와 출력시간 데이터 TUb(i)는 다음과 같은 가정 즉, 기준시간 데이터는 TU(i)이고 특정시간은 작업시간 DUa와 DUb내에 구분되는 것으로 표현할 수가 있다.For example, in the case of the sawtooth PWM conversion carrier, the output time data TUa (i) and the output time data TUb (i) of the two U-phase PWMs are as follows: the reference time data is TU (i) The time can be expressed as a distinction between working hours DUa and DUb.

U상의 상전류가 양일 때;When the phase current of the U phase is positive;

Tua(i)=TU(i)Tua (i) = TU (i)

TUb(i)=TU(i)-DUbTUb (i) = TU (i) -DUb

U상의 상전류가 음일 때;When the phase current of the U phase is negative;

TUa(i)=TU(i)+DUaTUa (i) = TU (i) + DUa

TUb(i)=TU(i)TUb (i) = TU (i)

응용기능을 묘사하기 위하여 범용레지스터 #0는 연산제어 레지스터라 하고, 범용레지스터 #1는 기준시간 데이터 레지스터라하며 범용레지스터 #2는 작업시간 레지스터(1)라 하고, 범용레지스터 #3는 작업시간 레지스터(2)라 한다. CPU(100)는 기준시간 데이터 레지스터에 U상의 기준시간 게이터를 기록할 뿐만 아니라 각 제어주기에서 연산제어 레지스터에 U상의 상전류 값에 대한 정보를 기록한다. 서브프로세서(160)는 연산제어 레지스터의 내용에 따라 상기 기술한 방정식으로 상기 기술한 연산을 실행한다. 그런 뒤 상기 기술한 연산의 결과는 출력시간 마스터 레지스터 #0와 출력시간 마스터 레지스터 #1 내에 저장된다. 그 결과로서 CPU(100) 내의 상전류가 양인지 음인지의 여부가 결정되고, 출력시간 데이터를 연산하는 시점에서 인가된 부하가 감소하게 된다.General purpose register # 0 is called the operation control register, general purpose register # 1 is the reference time data register, general purpose register # 2 is the work register (1), and general purpose register # 3 is the work register. (2) The CPU 100 not only records the reference time gate of U phase in the reference time data register, but also records information on the phase current value of the U phase in the operation control register in each control period. The subprocessor 160 executes the above-described calculation with the above-described equation according to the contents of the operation control register. The result of the above described operation is then stored in output time master register # 0 and output time master register # 1. As a result, it is determined whether the phase current in the CPU 100 is positive or negative, and the applied load is reduced at the time of calculating the output time data.

더구나 U, V, W상 각각의 기준시간 데이터는 3상 AC전압이 0이기 때문에 하나의 기준시간 데이터와 전압의 위상각의 삼각함수 연산에 의해 구할 수가 있다. CPU(100)는 연산 제어 레지스터에 위상각 데이터와 각상의 상전류 정보를 기록한다.In addition, since the reference time data of each of the U, V, and W phases is three-phase AC voltage of zero, it can be obtained by trigonometric calculations of one reference time data and the phase angle of the voltage. The CPU 100 records phase angle data and phase current information of each phase in the operation control register.

더구나 서브프로세서(160)는 작업시간 데이터(1, 2)와 선행 기준시간 데이터와 상기 기술한 데이터를 사용함으로써 모든 6개의 PWM신호의 연산이 가능하다. 상기 기술한 연산순서에 따라 CPU(100)는 단지 두 개의 레지스터 즉 연산제에 레지스터와 기준시간 데이터 레지스터럴 재부하 되어야 한다. 그러므로 연산시점에서 인가된 부하가 감소할 뿐만 아니라 전송동작 시점에서 인가된 부하 또한 감소하게 된다.Furthermore, the subprocessor 160 can calculate all six PWM signals by using the working time data 1 and 2, the preceding reference time data, and the above-described data. In accordance with the above-described operation sequence, the CPU 100 must be reloaded with only two registers, namely, the register and the reference time data register. Therefore, not only the load applied at the time of operation is reduced but also the load applied at the time of the transmission operation is also reduced.

제18도는 상기 기술한 서브프로세서(160)의 기능을 사용하는 브릿지구조 인버터와 같은 스위칭소자를 제어할 수 있는 펄스발생장치를 설명하는 블록도이다. 이 실시예에 따라 펄스의 시간축과 폭이 일정관계이고, 그들의 2진상태가 역상보관계(역극성이라함)과 되도록 배열하여 펄스쌍을 발생한다. 예를들어 그것은 인버터의 상, 하측 아암을 위한 스위칭소자를 구동하는 게이트 펄스를 발생할 수 있게 한다.FIG. 18 is a block diagram illustrating a pulse generator capable of controlling a switching element such as a bridge structure inverter using the functions of the subprocessor 160 described above. According to this embodiment, pulse pairs are generated by arranging such that the pulses have a constant time axis and a width, and their binary states are in a reverse complementary relationship (called reverse polarity). For example it makes it possible to generate gate pulses that drive the switching elements for the upper and lower arms of the inverter.

각 시점에서 신호의 2진상태를 구성하기 위해 데이터 아이템과 펄스의 첫 번째 변호나점과 마지막 변환점에 대해 시간메이터로 구성된 4개의 데이터 아이템은 하나의 펄스를 필요로 한다. 그러므로 CPU(100)는 펄스발생장치의 레지스터에 하나의 펄스당 최소한 4개의 데이터 항목을 전송해야 한다. 전동기의 동작을 제어하기 위한 브릿지 구조의 3상 인버터의 경우에 있어서, 3상 U, W, Wx6 아암의 스위칭소자를 위한 게이트 펄스를 발생해야 한다 그러므로 최소한 24개의 데이터 항목이 데이터 항목전송으로 발생해야 한다. 그 결과 초과잉 부하가 데이터 전송시점에서 CPU(100)로 인가된다. 특히 펄스폭 변조(PWM)의 제어시점에서 캐리어파의 주파수가 상승하게 되면 전송동작에서의 부하는 더욱 크게 증가하게 된다.To construct the binary state of the signal at each point in time, four data items, consisting of a time meter for the first transition point and the last transition point of the data item and pulse, require one pulse. Therefore, the CPU 100 must transmit at least four data items per pulse to the register of the pulse generator. In the case of a three-phase inverter with a bridge construction to control the operation of the motor, gate pulses for the switching elements of the three-phase U, W, and Wx6 arms must be generated. Therefore, at least 24 data items must occur in the data item transfer. do. As a result, excess load is applied to the CPU 100 at the time of data transfer. In particular, when the frequency of the carrier wave rises at the time of control of the pulse width modulation PWM, the load in the transmission operation increases more.

더구나 브리지 구조의 상, 하측 아암의 단락을 방지하기 위하여 상보적으로 온/오프하게 되면 상, 하측 아암에 사응하는 게이터 펄스쌍은 상, 하측 아암이 턴오프되는 데드타임을 갖게 된다.Furthermore, when the upper and lower arms are complementarily turned on and off to prevent shorting of the upper and lower arms of the bridge structure, the gate pulse pairs corresponding to the upper and lower arms have dead time at which the upper and lower arms are turned off.

그러므로 CPU(100)를 위한 부하가 상기 기술한 데드타임을 연산하는 시점에서 초과하여 상승하게 되는 문제가 야기된다. 그러므로 제18도에서 보여주는 구조에서 데이터 아이템의 수는 일정한 상관이 감소되게 각각의 펄스쌍을 발생할 필요가 있게 배열한다. 더구나 첫 번째 변환점이나 마지막 변환점에서 펄스사이의 시간관계(예를들어 데드타임)를 제어하기 위한 연산이 실행함으로써 상측 CPU(100)의 부하를 감소시킬 수 있다.Therefore, a problem arises in that the load for the CPU 100 rises excessively at the time of calculating the dead time described above. Therefore, in the structure shown in FIG. 18, the number of data items is arranged so that each pulse pair needs to be generated so that a constant correlation is reduced. Furthermore, by performing an operation for controlling the time relationship (for example, dead time) between pulses at the first or the last conversion point, the load on the upper CPU 100 can be reduced.

첨부된 제18도에서 제어 레지스터(1), 기준시간 데이터 레지스터(2), 제1 및 제2 작업시간 레지스터(3, 4), 제1 및 제2 상태데이터 레지스터(5, 6)는 버스(7)를 통하여 상측 CPU에 각각 연결된다. 레지스터 그룹(161)에 상응하는 상기 기술한 각각의 레지스터들은 제15도나 제16도에서 보여준다. 상기 기술한 각 레지스터들은 제어신호, 기준시간 데이터(T), 제1 및 제2 작업시간 데이터(T1, T2)와 상측 CPU로부터 전송된 상태데이터(DS)를 저장할 수 있도록 배열된다. 상태데이터(DS)는 초기설정에서 전송되고 다른 데이터 항목은 후술하는 바와 같이 카운트업 신호에 답하여 주기적으로 전송된다.In the attached FIG. 18, the control register 1, the reference time data register 2, the first and second working time registers 3 and 4, and the first and second status data registers 5 and 6 are connected to a bus ( 7) are connected to the upper CPU respectively. Each of the above-described registers corresponding to register group 161 is shown in FIG. 15 or FIG. Each of the registers described above is arranged to store control signals, reference time data T, first and second working time data T1 and T2, and state data DS transmitted from the upper CPU. The status data DS is transmitted in the initial setting and other data items are periodically transmitted in response to the count up signal as described later.

기준시간 데이터와 작업시간 데이터(T1, T2)가 연사장치(8)에 의해 인출됨으로써 시간데이터(DT1, DT2)는 소정의 연산으로부터 구해진다. 따라서 상기 시간데이터(DT1, DT2)는 전송제어장치(9)에 의해 제1 및 제2 시간데이터 레지스터(10, 11)로 각각 전송된다. 연산장치(162)와 전송제어장치(163)에 각각 상응하는 연산장치(8)와 전송제어장치(9)는 제15도나 제16도에서 보여준다.By the reference time data and the working time data T1 and T2 are drawn out by the twisting apparatus 8, the time data DT1 and DT2 are obtained from a predetermined calculation. Therefore, the time data DT1 and DT2 are transmitted to the first and second time data registers 10 and 11 by the transmission control device 9, respectively. The calculation device 8 and the transmission control device 9 corresponding to the calculation device 162 and the transmission control device 163, respectively, are shown in FIG. 15 or FIG.

제어신호는 카운트 제어신호(12), 연산제어신호(13), 전송제어신호(14)와 출력스위치 제어신호(15)를 포함한다. 카운터제어신호(12)는 소정의 주기에서 업/다운 카운터(16)에 인가된 카운업 신호와 카운트다운 신호로 이루어진다. 업/다운 카운터(16)는 클럭펄스(CLK)를 입력하도록 배열된다. 업/다운 카운터(16)의 카운트 값(17)은 제1 및 제2 비교기(18, 19)로 인가된다. 비교기(18)는 시간데이터 레지스터(10, 11)의 시간데이터(DT1, DT2)를 비교한다. 상기 시간데이터(DT1, DT2)가 일치하게 되면, 상응하는 일치신호(20, 21)는 제1 및 제2 펄스출력 레지스터(5, 6)에 인가된다. 펄스출력 레지스터(5, 6)는 서로 상보적인 상태를 유지하는 출력단자(+)와 반전된 출력단자(-)쌍을 각각 갖는 플립플롭으로 이루어진 동일한 구조로 배열된다. 상태데이터가 입력되면 상태데이터에 의해 구성된 그 상태의 반전된 상태가 리세트된다. 출력단자 쌍은 출력스위치(22, 23)를 통하여 펄스(1)과 (2)의 출력라인(24, 25)에 연결된다. 출력스위치(22, 23)가 상기 기술한 출력스위치 제어신호를 스위칭함으로서 바람직한 극성의 펄스가 얻어진다. 이러한 실시에에 따라 펄스(1)는 양(+)측에 세트되고, 펄스(2)는 음(-)측에 세트된다.The control signal includes a count control signal 12, an operation control signal 13, a transmission control signal 14 and an output switch control signal 15. The counter control signal 12 consists of a count up signal and a count up signal applied to the up / down counter 16 in a predetermined period. The up / down counter 16 is arranged to input the clock pulse CLK. The count value 17 of the up / down counter 16 is applied to the first and second comparators 18, 19. The comparator 18 compares the time data DT1 and DT2 of the time data registers 10 and 11. When the time data DT1 and DT2 coincide, the corresponding coincidence signals 20 and 21 are applied to the first and second pulse output registers 5 and 6. The pulse output registers 5 and 6 are arranged in the same structure consisting of flip-flops each having an output terminal (+) and an inverted output terminal (-) pair each having a complementary state. When state data is input, the inverted state of the state constituted by the state data is reset. The output terminal pair is connected to the output lines 24 and 25 of the pulses 1 and 2 via the output switches 22 and 23. By output switches 22 and 23 switching the above-described output switch control signal, a pulse of a desired polarity is obtained. According to this embodiment, the pulse 1 is set on the positive side and the pulse 2 is set on the negative side.

이러한 실시예에 따라 구성된 구조의 동작을 첨부된 제19도와 제20도를 참조하여 기술한다. 제20도는 상위 CPU에 의해 처리된 PWM 펄스의 개요도이다. 상위 CPU는 상, 하측 아암의 기준펄스를 얻기 위하여 삼각캐리어파와 인버터의 출력 전압 명령사이에서 비교한다. 그런 뒤 상기 기술한 데드타임을 고려하여 얻어진 기준펄스에 따라 음의 펄스를 넓히고 양의 펄스를 좁히기 위해 작업시간 데이터를 결정한다. 상기 기술한 연산은 각 상 U, V, W에서 행해진다. 그런 뒤 삼각파의 최초주기(T0)로부터 기준펄스의 첫 번째 변동점까지의 시간 T와, 상측아암을 위한 펄스의 작업시간 데이터 T1고, 하측 아암을 위한 펄스의 작어시간 데이터 T2가 구해진다.The operation of the structure constructed according to this embodiment will be described with reference to FIGS. 19 and 20. 20 is a schematic diagram of PWM pulses processed by the upper CPU. The upper CPU compares between the triangular carrier wave and the output voltage command of the inverter to obtain the reference pulse of the upper and lower arms. Then, the working time data is determined to widen the negative pulse and narrow the positive pulse according to the reference pulse obtained in consideration of the dead time described above. The above described operation is performed in each of phases U, V, and W. FIG. Then, the time T from the initial period T0 of the triangular wave to the first variation point of the reference pulse, the working time data T1 of the pulse for the upper arm, and the writing time data T2 of the pulse for the lower arm are obtained.

더구나 상기 기술한 데이터와 상측펄스(또는 하측 펄스)의상태 데이터(양 또는 음)와 제어신호는 펄스발생장치로 전송된다.Furthermore, the above-described data, state data (positive or negative) of the upper pulse (or lower pulse) and control signals are transmitted to the pulse generator.

상기 기술한 전송은 상기 기술한 삼갈파의 최초주기와 동시에 전송된 카운트업 신호에 응답하는 한정된 시간에서 실행되도록 배열된다.The above-described transmission is arranged to be executed at a limited time in response to the count-up signal transmitted simultaneously with the initial period of the above-described Samgalpa.

상기 기술한 바와 같이 데이터가 펄스발생장치로 전송되면 업/다운 카운터(16)는 카운트 동작을 시작한다. 업/다운 카운터(16)가 주기(TO)의 반시간에서 제어 레지스터(1)에 저장된 카운트다운 신호에 의해 리세트 됨으로서 카운팅 동작을 시작한다. 연산장치(8)는 소정의 연산순서에 의한 시간데이터(DT1, DT2)를 얻기 위하여 연산제어신호(13)에 응답하여 연산을 시작한다. 비록 다양한 방법들이 상기 기술한 연산을 실행하는데 적용된다 할지라도 본 실시예에 따른 방법은 작업시간 데이터(T1)에 기준시간 데이터(T)를 가산하여 시간데이터(DT1)를 얻도록 배열하고, 더구나 시간데이터(DT2)는 기준시간데이터 T에서 작업시간 데이터(T2)를 감산하여 얻는다. 따라서 구해진 시간데이터(DT1, DT2)는 기준시간과 전송제어신호(14) 지시에 의해 전송된 위치에 따라 전송제어장치(9)에 의해 시간데이터 레지스터(10, 11)로 각각 전송된다. 연산장치(8)와 전송제어장치(9)는 간단한 마이크로프로세서로 구성할 수가 있다. 이 경우에 있어서, 상기 기술한 연산처리와 전송제어는 프로그램에 따라 행해진다. 그 결과 상측 CPU로부터 주어진 제어신호를 간단하게 할 수가 있다. 그러나 본 발명은 상기 기술한 구성으로 한정되지만은 않는다. 상기 기술한 연산과 데이터전송의 제어는 하드웨어적으로 실현할 수가 있다는 것을 나타낸다.As described above, when data is transmitted to the pulse generator, the up / down counter 16 starts a counting operation. The counting operation starts by the up / down counter 16 being reset by the countdown signal stored in the control register 1 at half time of the period TO. The arithmetic unit 8 starts a calculation in response to the arithmetic control signal 13 in order to obtain time data DT1 and DT2 in a predetermined arithmetic order. Although various methods are applied to perform the above-described calculation, the method according to the present embodiment arranges to add the time data DT1 to the work time data T1 to obtain the time data DT1. The time data DT2 is obtained by subtracting the work time data T2 from the reference time data T. Thus, the obtained time data DT1 and DT2 are transmitted to the time data registers 10 and 11 by the transmission control device 9, respectively, in accordance with the reference time and the position transmitted by the transmission control signal 14 instruction. The computing device 8 and the transmission control device 9 can be constituted by a simple microprocessor. In this case, the arithmetic processing and transmission control described above are performed in accordance with a program. As a result, the control signal given from the upper CPU can be simplified. However, the present invention is not limited to the above described configuration. The above-described calculation and control of data transfer indicate that hardware can be realized.

시간데이터(DT1, DT2)가 시간데이터 레지스터(10,11)내에 저장될 때 비교기(18, 19)는 업/다운 카운터(16)에 의해 만들어진 카운트 값을 비교한다. 상기 시간데이터와 카운트 값이 서로 일치하게 되면 일치신호(20, 21)는 출력 레지스터(5, 6)에 각각 전송된다. 그 결과 펄스출력 레지스터(5, 6) 각각의 플립플롭은 세트됨으로서 출력스위치(22, 23)을 통하여 출력라인(24)은 양극성으로 변환되고 출력라인(25)은 음극성으로 변환된다.When the time data DT1 and DT2 are stored in the time data registers 10 and 11, the comparators 18 and 19 compare the count values produced by the up / down counter 16. When the time data and the count value coincide with each other, the coincidence signals 20 and 21 are transmitted to the output registers 5 and 6, respectively. As a result, the flip-flops of each of the pulse output registers 5 and 6 are set so that the output line 24 is converted into the positive polarity and the output line 25 is converted into the negative polarity through the output switches 22 and 23.

카운터(16)는 카운트다운 모드로 스위칭된다. 다시 카운트 값이 시간데이터(DT1, DT2)와 일치하게 되면 일치신호(20, 21)가 전송된다. 그 결과 펄스출력 레지스터(5, 6) 각각의 필립플롭이 리세트 됨으로써 출력라인(24, 25)의 각 극성은 변환된다.The counter 16 is switched to the countdown mode. When the count value again matches the time data DT1 and DT2, the coincidence signals 20 and 21 are transmitted. As a result, the Phillip flop of each of the pulse output registers 5 and 6 is reset so that each polarity of the output lines 24 and 25 is switched.

그러므로 바람직한 펄스(1)과 (2)가 구해진다.Therefore, preferable pulses 1 and 2 are obtained.

상기 기술한 바와 같이 이 실시예에 따라 양펄스의 폭보다 더 큰 음펄스와 양펄스로 구성된 상보관계의 펄스쌍이 발생하고, 데이터 아이템(DT1, DT2)은 연상장치(8)에 의해 그들의 관계에서 보여주는 두 개의 작업시간 데이터 아이템과 펄스쌍의 시간축을 한정하는 기준시간 데이터로부터 구해진다. 더구나 업/다운 카운터(16)로부터 구해진 카운트 값과 구해진 데이터 아이템(DT1, DT2)이 비교되고, 따라서 첫 번째 및 마지막 변환점이 한정된다.As described above, in accordance with this embodiment, a pulse pair of complementary relations consisting of a negative pulse and a positive pulse larger than the width of the positive pulse is generated, and the data items DT1 and DT2 are in their relation by the associating device 8. This is derived from the two working data items shown and the reference time data defining the time axis of the pulse pair. Furthermore, the count value obtained from the up / down counter 16 and the obtained data items DT1 and DT2 are compared, thus defining the first and last conversion points.

그러므로 데이터 아이템의 수를 CPU로부터 전송해야만 각 펄스쌍에서 1개를 감소할 수가 있게 된다. 그러므로 3상 장치의 경우 세 개의 전송데이터가 감소되게 된다.Therefore, the number of data items must be transmitted from the CPU so that one can be reduced in each pulse pair. Therefore, in the three-phase device, three transmission data are reduced.

더구나 펄스상의 두 상태는 두 출력레지스터가 상보관계로 배열되도록 하여 한정된다. 그러므로 상측 CPU는 단지 한 개의 상태데이터 아이템을 전송해야 한다. 따라서 3상 장치의 경우에 전송된 데이터 아이템 수가 3개 감소하게 된다.Moreover, the two states of the pulse are defined by arranging the two output registers in a complementary relationship. Therefore, the upper CPU should send only one status data item. Thus, in the case of a three-phase device, the number of data items transmitted is reduced by three.

부가하여 데드타임이 펄스발생장치에 의해 연산되기 때문에 상기 기술한 데이터 전송동작 시점에서 상측 CPU로 인가된 부하가 감소하게 된다 더구나 연산동작 시점에서 인가된 부하도 감소하게 된다.In addition, since the dead time is calculated by the pulse generator, the load applied to the upper CPU at the time of the data transfer operation described above is reduced. Moreover, the load applied at the time of the calculation operation is also reduced.

더구나 업/다운 카운터를 구성에서 채용하기 때문에 펄스의 첫 번째와 마지막 변환점은 단지 시간데이터에 의해 한정된다. 따라서 연산장치(8)에 의해 실행되는 연산이 간다하게 된다.In addition, since the up / down counters are employed in the configuration, the first and last transition points of the pulse are limited only by the time data. Therefore, the calculation executed by the computing device 8 becomes thin.

부가하여 펄스출력 레지스터(5, 6)는 상보적인 출력단자 쌍을 가지며, 펄스의 두 상태는 출력스위치(22, 23)에 의해 선택된다. 따라서 본 발명은 인버터의 상, 하측 아암을 위해 스위칭 펄스를 발생하는 장치에 더하여 펄스발생장치에 적용할 수가 있다. 따라서 충분하게 넓은 범용성을 갖는다.In addition, the pulse output registers 5 and 6 have complementary output terminal pairs, and the two states of the pulses are selected by the output switches 22 and 23. Therefore, the present invention can be applied to a pulse generator in addition to a device for generating switching pulses for the upper and lower arms of the inverter. Thus, it has sufficiently wide versatility.

상기 기술한 데드타임을 고려하여 음의 펄스를 넓히고 양의 펄스를 좁히기 위한 작업시간 데이터를 결정하는 방법은 제19도에서 보여주는 실시예에 부가하여 제21, 22, 23도에서 보여주는 바와 같이 변경할 수가 있다.The method of determining the working time data for widening the negative pulse and narrowing the positive pulse in consideration of the dead time described above can be changed as shown in FIGS. 21, 22, and 23 in addition to the embodiment shown in FIG. have.

제21도는 데드타임이 제공됨으로서 기준펄스에 대해 지연된 음의 펄스와 양의 펄스 각각의 첫 번째 변동점이 배열된 구조를 설명한다. 따라서 연산장치(8)는 제1실시예와 비슷하게 T+T1과 T-T2를 얻기 위하여 동작한다. 그러나 T+T1과 T는 시간데이터(DT1)로서 세트를 형성하기 위하여 처리되고, T와 T-T2는 시간데이터(DT2)로서 세트를 형성하기 위해 처리된다.21 illustrates a structure in which the first variation point of each of the negative and positive pulses delayed with respect to the reference pulse is provided by providing the dead time. Thus, the computing device 8 operates to obtain T + T1 and T-T2 similarly to the first embodiment. However, T + T1 and T are processed to form a set as time data DT1, and T and T-T2 are processed to form a set as time data DT2.

전송제어장치(9)는 시간데이터 레지스터(11)로 T를 전송하고, 카운트업 신호와 동시에 시간데이터 레지스터(10)로 T+T1을 전송한다. 더구나 전송제어장치(9)는 시간데이터 레지스터(11)로 T-T2를 전송하고, 카운트다운 신호와 동시에 시간데이터 레지스터(10)로 T를 전송한다. 그 결과 동도면에서 보여주는 펄스(1)과 (2)가 전송된다.The transmission control device 9 transmits T to the time data register 11 and transmits T + T1 to the time data register 10 simultaneously with the count up signal. Moreover, the transmission control device 9 transmits T-T2 to the time data register 11 and transmits T to the time data register 10 at the same time as the countdown signal. As a result, pulses (1) and (2) shown in the figure are transmitted.

제22도는 지연된 음펄스와 양펄스 각각의 마지막 변환점이 기준전압에 대하여 지연되고 그 결과 필요한 데드타임이 제공된 배열구조를 설명한다.FIG. 22 illustrates an arrangement structure in which the last conversion point of each of the delayed negative pulses and the positive pulses is delayed with respect to the reference voltage, and as a result, the necessary dead time is provided.

제23도는 양펄스가 기준펄스와 일치함으로서 음펄스의 마지막 변환점이 앞으로 이동하고 첫 번째 변환점이 지연된 배열구조를 설명한다.FIG. 23 illustrates an arrangement structure in which the last transform point of the negative pulse is moved forward and the first transform point is delayed because both pulses coincide with the reference pulse.

제24도는 본 발명의 또 다른 실시예의 타이밍 챠트이다.24 is a timing chart of another embodiment of the present invention.

이 실시예와 제1실시예의 차이는 업/다운 카운터(16) 대신에 프린런 카운터를 이용한다는 점이다. 이 실시예에 따라 연산장치(8)와 전송제어장치(9)의 기능과 동작은 제1실시예에서 연산장치와 전송제어장치의 기능과 동작과는 다르다. 이러한 실시에에 따른 동작은 제24도를 참조하여 기술한다. 제24도는 제19도와 유사한 펄스를 설명한다. 상측 CPU로부터 전송된 데이터는 제19도에서 보여주는 전송된 데이터와 거의 같다. 프린런 카운터에 주어진 명령은 캐리어파 주기와 동시에 리세트 신호 형태이다. 전송제어장치(9)는 캐리어 신호 주기의 반주기(상기 기술한 카운트다운 신호에 상응함)에서 전송제어신호(14)와 상기 기술한 리세트 신호를 입력하도록 배열된다. 각 데이터 아이템이 전송될 때 연상제어장치(8)는 시간데이터(DT1)로서 1세트의 T+T1과 T0-(T+T1)를 얻도록 동작하고, 또한 시간 데이터(DT2)로서 1세트의 T-T2와 T0-(T-T2)를 얻도록 동작한다. 그런 뒤 연산제어장치(8)는 상기 기술한 전송타이밍에 따라 시간데이터 레지스터(10, 11)로 구해진 시간 데이터를 전송한다. 따라서 제19도에서 보여주는 펄스(1)과 (2)가 발생한다.The difference between this embodiment and the first embodiment is that a prune counter is used instead of the up / down counter 16. According to this embodiment, the functions and operations of the computing device 8 and the transmission control device 9 are different from those of the computing device and the transmission control device in the first embodiment. Operation according to this embodiment will be described with reference to FIG. 24 illustrates a pulse similar to that of FIG. 19. FIG. The data transmitted from the upper CPU is almost the same as the transmitted data shown in FIG. The command given to the principal counter is in the form of a reset signal simultaneously with the carrier wave period. The transmission control device 9 is arranged to input the transmission control signal 14 and the above-described reset signal in a half cycle of the carrier signal cycle (corresponding to the countdown signal described above). When each data item is transmitted, the associative control device 8 operates to obtain one set of T + T1 and T0- (T + T1) as the time data DT1, and also one set of time data DT2. It operates to get T-T2 and T0- (T-T2). The operation control device 8 then transfers the time data obtained to the time data registers 10 and 11 in accordance with the above-described transfer timing. Accordingly, pulses 1 and 2 shown in FIG. 19 occur.

비록 상기 설명에서는 생략되었다 할지라도 이 실시에는 제21, 22, 23도에서 보여주는 변형된 펄스의 발생이 가능하다.Although omitted from the above description, this embodiment allows the generation of modified pulses as shown in FIGS. 21, 22 and 23 degrees.

상기 기술한 바와 같이 제18도에서 보여주는 실시예에 따라 다음과 같은 효과를얻을 수가 있다.As described above, according to the embodiment shown in FIG. 18, the following effects can be obtained.

펄스쌍의 첫 번째 및 마지막 변환점으로 이루어진 시간데이터는 작업시간데이터 아이템쌍과 하나의 기준시간 데이터 아이템을 이용하여 연산장치에 의해 구해진다. 따라서 구해진 데이터 아이템은 펄스출력 레지스터쌍내에 저장된다. 비교기가 첫 번째 변환시간 데이터와 일치하는 카운트 값이라고 판단하면 제1출력 펄스 레지스터의 출력단자는 지시된 2진상태로 변환한다(양 또는 음). 그런 뒤 카운트된 데이터가 최종 변환시간 데치터와 일치할 때 상기 제1출력펄스 레지스터 출력단자는 리세트된다. 제2펄스 출력 레지스터의 출력단자는 제1펄스 출력 레지스터와 반대로 동작한다. 따라서 이러한 패턴을 갖는 펄스쌍은 상보적으로 동작하는 상, 하측 아암을 위한 스위칭소자를 구동하는데 적합하다. 따라사 데이터 전송동작 시점에서 상측 CPU로 인가된 부하는 감소하게 된다. 더구나 상측 CPU가 연산실행의 필요에서부터 펄스쌍 사이의 시간차를 제어하는데까지 프리이기 때문에 상기 CPU의 부하가 감소하게 된다.The time data consisting of the first and last transition points of the pulse pair is obtained by the computing device using the working time data item pair and one reference time data item. Thus, the obtained data item is stored in a pulse output register pair. If the comparator determines that the count value coincides with the first conversion time data, the output terminal of the first output pulse register converts to the indicated binary state (positive or negative). The first output pulse register output terminal is then reset when the counted data matches the last conversion time data. The output terminal of the second pulse output register operates in reverse to the first pulse output register. Therefore, pulse pairs having such a pattern are suitable for driving switching elements for the upper and lower arms which complementarily operate. Therefore, the load applied to the upper CPU at the time of data transfer operation decreases. Furthermore, the load on the CPU is reduced because the upper CPU is free from the necessity of computation execution to controlling the time difference between the pulse pairs.

부가하여 그 구성이 업/다운 카운터로 이루어진다면 펄스의 첫 번째 및 마지막 변환점은 PWM 캐리어파 주기에 따라 업-리세트와 다운-리세트 동작 실행하기 위하여 카운터에 의한 하나의 시간 데이터 아이템에 의해 제어된다.In addition, if the configuration consists of up / down counters, the first and last transition points of the pulse are controlled by one time data item by the counter to perform up-reset and down-reset operations according to the PWM carrier wave period. do.

다른 펄스에 대한 작업시간 데이터가 상기 기술한 기준시간 데이터와 일치하게 되면 기준시간 데이터 레지스터나 제1작업시간 데이터 레지스터는 구조가 생략되어 전송된 하나의 데이터 아이템이 감소하게 된다.If the working time data for another pulse coincides with the above-mentioned reference time data, the reference time data register or the first working time data register is omitted, and one data item transmitted is reduced.

더구나 상기 기술한 각 펄스출력 레지스터는 변환출력단자를 가지고 배열되고 상기 기술한 출력단자의 변환상태를 유지한다. 더구나 변환출력단자나 상기 기술한 펄스출력 레지스터의 출력단자 어느것이든지 선택하기 위한 출력스위치가 제공된다.Furthermore, each pulse output register described above is arranged with a conversion output terminal and maintains the conversion state of the above described output terminal. Furthermore, an output switch is provided for selecting either the conversion output terminal or the output terminal of the above-described pulse output register.

따라서 각 스위치는 상기 기술한 제어 레지스터내에 저장된 출력스위치 제어신호에 답하여 제어된다. 따라서 발생된 펄스의 극성은 충분히 넓은 범용성을 갖게 된다.Thus, each switch is controlled in response to an output switch control signal stored in the above-described control register. Thus the polarity of the generated pulses has a sufficiently wide versatility.

전동기를 제어하는 장치로 사용된 본 발명에 따른 펄스발생장치에서 실시예의 구성은 제25도와 제26도를 참조하여 설명한다.The configuration of an embodiment in the pulse generator according to the present invention used as a device for controlling an electric motor will be described with reference to FIG. 25 and FIG.

이 실시예에 따라 상기 기술한 데드타임의 제공수단은 전동기를 통해 흐르는 부하전류의 방향(극성)에 따라 선택된다.According to this embodiment, the above-described dead time providing means is selected according to the direction (polarity) of the load current flowing through the motor.

이 실시예에 따라 전동기(31)의 동작은 전압형 인버터(30)에 의해 제어된다. 전압형 인버터(30)는 인버터 제어장치(33)로부터 전송된 펄스에 반응하여 온/오프 스위칭되는 스위칭소자(34a, 34b, 35a, 35b)를 갖는다. 인버터 제어장치(33)는 CPU와 펄스발생장치로 이루어진다. 펄스발생장치는 CPU로부터 인가된 제어에 의해 상기 기술한 펄스를 발생한다. 인버터 제어장치는 각상의 부하전류(38a, 38b, 38c)와, 전동기의 자극위치신호와 회전검출기(39)로 부터의 회전방향 검출신호를 수신한다.According to this embodiment, the operation of the electric motor 31 is controlled by the voltage inverter 30. The voltage inverter 30 has switching elements 34a, 34b, 35a, 35b which are switched on / off in response to a pulse transmitted from the inverter controller 33. The inverter controller 33 is composed of a CPU and a pulse generator. The pulse generator generates the pulse described above by the control applied from the CPU. The inverter controller receives the load currents 38a, 38b, 38c of each phase, the magnetic pole position signal of the electric motor, and the rotation direction detection signal from the rotation detector 39.

제26도는 펄스발생장치(33)의 구성을 보여준다. PWM 펄스 발생방법은 이 실시에에 따른 장치에서 동일하므로 하나의 상에 대해서만 설명한다. 상, 하측 아암을 위한 스위치중 어느 한쪽이 오프되고 다른 한쪽이 동시에 온된다면 제25도에서 보여주는 바와 같이 사용되는 전압형 인버터에서 전동기를 제어하는 온/오프 동작이 행해지는 소정의 시간으로 인하여 아암의 쇼트컷이 발생한다. 아암의 쇼트컷을 방지하기 위하여 데드타임은 턴오프되는 상, 하측 아암내에 제공되어야 한다. 인버터 제어장치(33)는 CPU의 연산을 실행하기 위하여 모터전류, 자극위치, 회전방향을 인출한다. CPU는 지시한 속도와 검출된 속도사이의 편차에 상응하는 펄스신호의 듀티에 대한 데이터인 기준시간 데이터(T)를 얻기 위하여 전동기의 속도를 연산한다. 더구나 CPU는 데드타임 데이터(T1), 데드타임 데이터(T2)와 데드타임을 발생하는데 필요한 상태데이터(DS)를 연산한다. 부가하여 CPU는 연산, 제어신호(13)를 발생하기 위하여 전류의 방향을 판별하고, 전송제어신호(14)와 연산장치(8) 내의 데이터 작업방법을 판별하며 전송제어장치(9) 내에서 실행된 데이터 전송의 타이밍과 연속적인 지시를 명령한다. 최종적으로 CPU는 기준시간 데이터(T)를 기준시간 데이터 레지스터(2)에 저장하고, 데드타임 데이터(T1)를 작업시간 레지스터(3)내에 저장하며, 데드타임 데이터(T2)를 작업시간 레지스터(4)내에 저장하고, 각 제어신호를 제어 레지스터에 저장한다. 각 레지스터에 저장된 데이터는 제어신호가 지시하는 방법에 따라 연산장치(8)에서 감산되고 가산된다.26 shows the configuration of the pulse generator 33. The PWM pulse generation method is the same in the apparatus according to this embodiment, so only one phase is described. If one of the switches for the upper and lower arms is turned off and the other is turned on at the same time, the arm of the arm is turned off due to the predetermined time during which the on / off operation of controlling the motor is performed in the voltage inverter used as shown in FIG. Short cuts occur. Dead time should be provided in the upper and lower arms to be turned off to prevent short cuts of the arm. The inverter control device 33 draws out a motor current, a magnetic pole position, and a rotation direction in order to perform calculation of the CPU. The CPU calculates the speed of the motor to obtain reference time data T which is data on the duty of the pulse signal corresponding to the deviation between the indicated speed and the detected speed. In addition, the CPU calculates dead time data T1, dead time data T2, and state data DS necessary to generate dead time. In addition, the CPU determines the direction of the current in order to generate the operation and control signal 13, determines the transmission control signal 14 and the data working method in the operation device 8, and executes in the transmission control device 9 Instructs the timing and successive instructions of the completed data transfer. Finally, the CPU stores the reference time data T in the reference time data register 2, stores the dead time data T1 in the work time register 3, and stores the dead time data T2 in the work time register ( 4) and each control signal is stored in a control register. Data stored in each register is subtracted and added by the computing device 8 in accordance with the method indicated by the control signal.

제19, 21, 22도에서 보여주는 세가지 방법의 스위칭에 의하는 이 실시예에 따라 데드타임이 제공된다.Dead time is provided according to this embodiment by the three methods of switching shown in FIGS. 19, 21 and 22.

첫 번째 방법은 양 및 음펄스 각각의 첫 번째 변환점이 기준펄스에 대하여 지연되고, 반면에 상기 양 및 음펄스 각각의 마지막 변환점은 앞으로 이동되도록 배열한다. 두 번째 방법은 양 및 음펄스 각각의 첫 번째 변환점만이 기준펄스에 대하여 지연된다. 세 번째 방법은 양 및 음펄스 각각의 마지막 변환점만이 기준펄스에 대하여 앞으로 이동된다. 상기 기술한 각 방법에서 구해진 시간 데이터는 CPU로부터 인가된 전송제어신호에 의한 타이밍에서 시간데이터 REG(40)로 전송하기 위하여 전송제어장치(9)로 전송된다. 시간데이터 REG(40)로 전송된 시간데이터는 비교기(42)에서 카운터(16)에 의한 카운터 값과 즉시 비교된다. 이때 시간데이터와 카운트 값이 서로 일치하게 되면 2진 PWM 펄스(1)-(6)는 상태데이터 REG(41) 내에 저장된 상태데이터에 따라 출력스위치(43)로부터 전송된다. 따라서 전동기(31)는 제어된다.The first method arranges so that the first transition point of each of the positive and negative pulses is delayed relative to the reference pulse, while the last transition point of each of the positive and negative pulses is moved forward. In the second method, only the first transition point of each positive and negative pulse is delayed with respect to the reference pulse. In the third method, only the last transition point of each of the positive and negative pulses is moved forward with respect to the reference pulse. The time data obtained in each of the above-described methods is transmitted to the transmission control apparatus 9 for transmission to the time data REG 40 at the timing by the transmission control signal applied from the CPU. The time data sent to the time data REG 40 is immediately compared with the counter value by the counter 16 in the comparator 42. At this time, when the time data and the count value coincide with each other, the binary PWM pulses 1-6 are transmitted from the output switch 43 according to the state data stored in the state data REG 41. Therefore, the electric motor 31 is controlled.

데드타임내의 출력전압은 부하전류의 방향으로 인하여 변화하게 된다. 예를들어 두 번째 방법의 경우에 부하전류가 부하를 향해 흐를때의 경우에 있어서, 출력전압(a점)은 기준펄스에 대하여 레치부분에 상응하는 양으로 감소한다. 다른 한편 부하전류가 전동기에서 인버터로 흐르는 경우에 있어서, 출력전압은 기준펄스에 대하여 래치부분에 상응하는 양으로 상승한다. 그러므로 데드타임 설치방법이 하나의 방법으로만 국한된다면, 상기 기술한 에러전압이 발생하게 된다. 그 결과 바람직한 출력전압이 발생하지 않고 제어 정밀성이 저하하게 되는 문제가 야기된다.The output voltage within the dead time changes due to the direction of the load current. For example, in the case of the second method, when the load current flows toward the load, the output voltage (point a) decreases in an amount corresponding to the latch portion with respect to the reference pulse. On the other hand, in the case where the load current flows from the motor to the inverter, the output voltage rises by an amount corresponding to the latch portion with respect to the reference pulse. Therefore, if the dead time installation method is limited to only one method, the above-described error voltage is generated. As a result, a problem arises in that control precision is lowered without a desired output voltage.

따라서 이 실시에는 상기 기술한 세가지 방법이 부하전류의 방법에 따라 스위칭되도록 구성된다. CPU는 상기 기술한 에러전압이 발생하지 않는 방법을 선택하기 위하여 부하전류의 방향을 판별한다. 연산제어신호는 연산제어장치(8)로 전송된다.Thus, in this embodiment, the three methods described above are configured to be switched in accordance with the method of load current. The CPU determines the direction of the load current to select a method in which the above-described error voltage does not occur. The operation control signal is transmitted to the operation control device 8.

제29도는 제26도에서 보여주는 실시예에 따라 CPU에 의해 실행된 연산의 타임챠트이다. 인버터 제어장치(33)의 CPU는 전기전류에 관한 데이터와, 제어연산을 실행하기 위한 회전방향과 자극위치를 인출한다. 제어연산에서 전동기의 속도는 제29도에서 보여주는 바와 같이 제어되고, 지시된 신호와 검출된 신호사이의 편차에 상응하는 펄스신호를 듀티 한정하는 데이터인 기준시간 데이터를 연산한다(스텝 51). 그런 뒤 전압형 인버터(30)의 상, 하측 아암의 쇼트컷을 방지하기 위한 데드타임을 발생하는 작업시간 데이터(T1, T2)가 발생한다.(단계 52). 더구나 작업방법을 판별하기 위한 연산제어신호를 발생하기 위하여 전류의 방향이 판별된다(단계 53). CPU는 기준시간 데이터를 기준시간 데이터 레지스터(2)에 저장하고, 작업시간 데이터(T1, T2)를 작업시간 데이터 레지스터(3, 4)에 저장하며 제어신호를 제어 레지스터(1) 내에 저장한다(단계 54.)FIG. 29 is a time chart of operations executed by the CPU in accordance with the embodiment shown in FIG. The CPU of the inverter controller 33 draws out data concerning the electric current, the rotational direction and the magnetic pole position for performing the control operation. In the control operation, the speed of the motor is controlled as shown in FIG. 29, and the reference time data, which is data for duty-limiting the pulse signal corresponding to the deviation between the indicated signal and the detected signal, is calculated (step 51). Thereafter, working time data T1 and T2 which generate dead time for preventing short cuts of the upper and lower arms of the voltage inverter 30 are generated (step 52). Furthermore, the direction of the current is determined to generate an operation control signal for determining the working method (step 53). The CPU stores the reference time data in the reference time data register 2, stores the working time data T1 and T2 in the working time data registers 3 and 4 and stores the control signal in the control register 1 ( Step 54.)

따라서 바람직한 PWM 신호를 얻기 위한 시간데이터를 연산장치(8) 내의 작업시간 데이터(T1, T2)와 기준시간 데이터를 감산하거나 가산함으로써 발생하며(단계 55), 시간데이터 REG 1-6으로 전송된다(단계 56). 그러므로 이 실시예에 따라 연산시점에서 CPU에 인가된 부하는 연산장치(8)의 기능에 의해 감소된다.Therefore, time data for obtaining the desired PWM signal is generated by subtracting or adding the working time data T1 and T2 and the reference time data in the computing device 8 (step 55), and are transmitted to the time data REG 1-6 ( Step 56). Therefore, the load applied to the CPU at the time of operation according to this embodiment is reduced by the function of the computing device 8.

비록 본 발명이 어떤 특정성을 갖고 바람직한 형태에서 기술되었다 할지라도 여기에 있는 청구범위는 본 발명의 범위와 취지에 벗어남이 없어 일부 배열과 조합구성이 상세한 부분에서 변경된 바람직한 형태의 본 발명의 표현으로 이해해야 할 것이다.Although the invention has been described in certain forms with particular specificity, the claims herein are intended to be construed as an expression of the invention in its preferred form, with some arrangement and combination altered in detail, without departing from the scope and spirit of the invention. You will have to understand.

Claims (72)

외부로부터 주어진 제어명령에 의해 정의된 타이머 주기에 의하여 클럭신호와 동기蘿여 연속적으로 변화되는 설정패턴의 타이머 값을 발생하고, 상기 타이머 값이 상기 타이머 주기의 종단에 나타나는 값과 일치할 때마다 동시신호를 발생하고 상기 타이머 값을 리세트하기 위한 타이머 연산수단을 구비한 시간간격 타이머와; 상기 시간간격 타이머로부터 전송된 상기 동기신호를 수신하고 상기 동기신호에 포함된 설정동기신호에 응답하여 복사가능신호를 전송하기 위한 복사가능수단과; 외부로부터 공급된 출력펄스에 대한 시간데이터를 저장하기 위한 출력시간 마스터 메모리와, 상기 복사가능 신호에 응답하여 상기 출력시간 마스터 메모리의 상기 시간 데이터를 복사하고 저장하기 위한 출력시간 슬레이브 메모리와, 비교되는 메모리의 외부명령에 따라 상기 타이머 레지스터의 상기 타이머 값으로 상기 출력시간 마스터 메모리 또는 상기 출력시간 슬레이브 메모리의 상기 시간데이터를 비교하고, 그 값이 서로 일치하면 일치신호를 전송하기 위한 비교기와, 출력제어 명령을 전송하도록 상기 복사가능 신호에 응답하여 외부로부터 공급된 상기 출력 펄스의 2진상태를 정의하는 출력제어 명령을 저장하기 위한 출력제어 메모리와, 상기 비교기로부터 전송된 상기 일치신호와 동기하여 상기 출력제어 메모리와, 상기 연상기억장치로부터 전송된 상기 제어명령을 수신하고 상기 출력제어 명령에 응답하는 출력펄스를전송하기 위한 출력제어 회로로 이루어지는 것을 특징으로 하는 펄스발생장치.Generates a timer value of a setting pattern that is continuously changed in synchronization with a clock signal by a timer period defined by an externally given control command, and simultaneously whenever the timer value matches a value appearing at the end of the timer period. A time interval timer having timer calculating means for generating a signal and resetting the timer value; Copyable means for receiving said synchronization signal transmitted from said time interval timer and transmitting a copyable signal in response to a set synchronization signal included in said synchronization signal; An output time master memory for storing time data for an externally supplied output pulse, and an output time slave memory for copying and storing the time data of the output time master memory in response to the copyable signal, A comparator for comparing the time data of the output time master memory or the output time slave memory with the timer value of the timer register according to an external command of the memory, and if the values coincide with each other, transmitting a matching signal; An output control memory for storing an output control command defining a binary state of the output pulse supplied from the outside in response to the copyable signal to transmit a command, and the output in synchronization with the match signal sent from the comparator A control memory and the memory device And an output control circuit for receiving the transmitted control command and transmitting an output pulse in response to the output control command. 제1항에 따르는 펄스발생장치에 있어서, 상기 출력제어 메모리가 상기 비교기로부터 전송된 상기 일치신호와 동기하여 출력제어 마스터 메모리 또는 출력제어 슬레이브 메모리의 대응하는 출력제어 명령을 전송하도록 상기 복사가능 신호에 응답하여 외부로부터 공급된 상기 출력펄스의 2진상태를 정의하는 출력제어 명령을 저장하기 위한 출력제어 마스터 메모리와 상기 출력제어 마스터메모리로부터 상기 출력제어 명령을 복사하고 저장하기 위한 출력제어 슬레이브 메모리로 이루어지는 것을 특징으로 하는 펄스발생장치.A pulse generating apparatus according to claim 1, wherein the output control memory is configured to transmit a corresponding output control command of an output control master memory or an output control slave memory in synchronization with the coincidence signal transmitted from the comparator. An output control master memory for storing an output control command defining a binary state of the output pulse supplied from the outside in response, and an output control slave memory for copying and storing the output control command from the output control master memory. Pulse generator, characterized in that. 제1항에 따르는 펄스발생장치에 있어서, 상기 복사가능수단이 소정횟수에 의해 상기 동기신호가 공급되면 상기 복사가능 신호를 발생하는 것을 특징으로 하는 펄스발생장치.The pulse generating device according to claim 1, wherein the copyable means generates the copyable signal when the synchronization signal is supplied by a predetermined number of times. 제1항에 따르는 펄스발생장치에 있어서, 상기 복사가능수단이 외부로부터 공급된 복사제어명령에 대응하여 동작하고 상기 복사제어명령이 공급되고 난 후 즉시 공급된 상기 등기신호와 동기하여 상기 복사가능신호를 발생하는 것을 특징으로 하는 펄스발생장치.The pulse generating apparatus according to claim 1, wherein the copyable means operates in response to a copy control command supplied from the outside and is synchronized with the registered signal supplied immediately after the copy control command is supplied. Pulse generator, characterized in that for generating. 제1항에 따르는 펄스발생장치에 있어서, 상기 연상기억장치가 복수의 상기 출력시간 마스터메모리, 상기 출력시간 슬레이브 메모리 및 상기 비교기를 구비하고, 상기 복수의 출력시간 마스터 메모리, 출력시간 슬레이브 메모리 및 비교기의 하나의 복수의 태그 워드셀을 구성하도록 각각 수집되고, 또한 상기 연상기억장치가 복수의 상기 출력제어 마스터 메모리 및 상기 출력제어 슬레이브 메모리를 더 구비하고, 상기 복수의 출력제어 마스터 메모리 및 출력제어 슬레이브 메모리중 하나가 복수의 출력데이터 워드셀을 구성하도록 각각 수집되고, 각각의 상기 태그워드셀과 상기 출력데이터 워스셀이 각각 다르게 대응하도록 제공되는 것을 특징으로 하는 펄스발생장치.A pulse generating apparatus according to claim 1, wherein said memory is provided with a plurality of said output time master memory, said output time slave memory and said comparator, said plurality of output time master memory, output time slave memory and comparator. Each of the plurality of tag memory cells, each of which is configured to constitute one of a plurality of tag word cells, further includes a plurality of the output control master memory and the output control slave memory, and the plurality of output control master memory and the output control slave memory. Wherein one of the memories is collected to constitute a plurality of output data word cells, and each of the tag word cells and the output data word cells are provided to correspond differently. 제5항에 따르는 펄스발생장치에 있어서, 상기 연상기억장치의 각각의 상기 비교기가 주어진 병렬비교 명령에 따라 상기 타이머 값과 각각의 출력시간 마스터 메모리 또는 각각의 상기 출력시간 슬레이브 메모리를 병렬로 비교하고, 주어진 순차비교 명령에 따라 상기 타이머 값과 특정출력시간 마스터 메모리 또는 특정 출력시간 슬레이브 메모리를 순차적으로 비교하는 것을 특징으로 하는 펄스발생장치.6. The pulse generating device according to claim 5, wherein each comparator of the memory device compares the timer value and each output time master memory or each output time slave memory in parallel according to a given parallel comparison command. And sequentially comparing the timer value with a specific output time master memory or a specific output time slave memory according to a given sequential comparison command. 제1항에 따르는 펄스발생장치에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터, 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에 그 값을 전달하도록 상기 타이머값에 단위량(1)을 가산하기 위한 가산기, 상기 타이머 레지스터 값과 상기 주기 레지스터의 값이 서로 일치하면 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기, 상기 가산기를 클리어시키도록 상기 일치신호를 수신하기 위한 클리어회로 및 상기 일치신호가 발생되는 조건으로 상기 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 펄스발생장치.The pulse generating apparatus according to claim 1, wherein the time interval timer comprises a timer register for storing the timer value, a period register for storing a maximum timer value for designating a period of the output pulse, and the timer. An adder for adding a unit amount 1 to the timer value such that the calculating means draws out the timer value of the timer register and transfers the value to the timer register, the value of the timer register value and the period register coincide with each other; A comparator for comparing the values so as to transmit a coincidence signal, a clear circuit for receiving the coincidence signal to clear the adder, and for generating a synchronizing signal in synchronization with the clock signal under the condition that the coincidence signal is generated. Pulse generation, characterized in that it comprises a synchronization signal generation circuit Device. 제1항에 따르는 펄스발생장치에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터, 상기 출력 펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에 전송하도록 주어진 가산/감산 명령에 따라 상기 타이머 값에 단위량(1)을 가산 또는 감산하기 위한 가산기/감산기, 상기 타이머 레지스터의 타이머 값과 상기 주기 타이머의 타이머 값이 서로 일치하면 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기, 외부명령에 따라서 상기 타이머 레지스터의 상기 타이머 값이 영이되면 상기 가산기/감산기에 가산명령을 전송하고 상기 일치신호가 상기 비교에서 발생되면 감산명령을 전송하기 위한 가산/감산 명령수단, 상기 타이머 레지스터의 상기 타이머 값이 영이되는 조건으로 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 펄스발생회로.A pulse generating apparatus according to claim 1, wherein the time interval timer comprises a timer register for storing the timer value, a period register for storing a maximum timer value for designating a period of the output pulse, and the timer. An adder / subtractor for adding or subtracting a unit amount 1 to the timer value according to a given add / subtract instruction to have the computing means fetch the timer value of the timer register and send it to the timer register, the timer of the timer register A comparator for comparing the values to transmit a coincidence signal when the value and the timer value of the periodic timer coincide with each other. If a coincidence signal is generated in the comparison, Addition / subtraction command means, a pulse generating circuit comprising: a synchronizing signal generation circuit for generating a synchronizing signal to the timer value is synchronized with the clock signal conditions the spirit of the timer register for. 제1항에 따르는 펄스발생장치에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터, 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 타이머 값과 상기 주기 레지스터의 타이머 값이 일치하면 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기, 상기 타이머 레지스터의 상기 타이머 값이 0/1이 될 때를 검출하기 위한 0/1 검출기, 상기 타이머 레지스터의 타이머 값이 0이 되면 가산명령을 전송하고 상기일치신호가 상기 비교기에서 발생되면 감산명령을 전송하기 위한 가산/감산 명령수단, 상기 타이머 레지스터의 타이머 값을 인출하고 상기 타이머 레지스터에 전송하도록 상기 가산/감산 명령수단으로부터 주어진 상기 가산/감산 명령에 따라 상기 타이머 값으로부터 단위량(1)을 가산 또는 감산하기 위한 가산기/감산기, 외부 타이머 값 패턴의 상기 제어명령이 톱니파형이고 상기 일치신호가 상기 비교기로부터 전송되어지면 상기 가산기/감산기를 클리어하는 클리어회로 및 상기 타이머 레지스터의 상기 타이머 값이 영이되는 조건으로 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 펄스발생장치.The pulse generating apparatus according to claim 1, wherein the time interval timer comprises a timer register for storing the timer value, a period register for storing a maximum timer value for designating a period of the output pulse, and the timer. A comparator for comparing the values so that the operation means transmits a coincidence signal if the timer value of the timer register and the timer value of the period register match, and for detecting when the timer value of the timer register becomes 0/1. 0/1 detector, when the timer value of the timer register becomes 0, add / subtract command means for transmitting a subtract command when the match signal is generated in the comparator, and extract the timer value of the timer register. Given from the add / subtract command means to transfer to the timer register An adder / subtracter for adding or subtracting a unit amount 1 from the timer value according to the add / subtract command, the adder if the control command of an external timer value pattern is a sawtooth waveform and the match signal is transmitted from the comparator And a clearing circuit for clearing the subtractor and a synchronizing signal generating circuit for generating a synchronizing signal in synchronism with a clock signal on condition that said timer value of said timer register becomes zero. 출력펄스의 2진상태를 정의하기 위한 출력제어명령 및 상기 2진상태의 변화타이밍을 정의하기 위해 시간데이터를 포함한 펄스제어명령을 연산하기 위한 CPU(Central Processing Unit)와; 상기 CPU로부터 제공된 동작시작 명령에 따라 그 동작을 시작하고, 상기 CPU로부터 제공된 상기 제어명령에 의해 정의된 타이머 주기에 의하고 클럭신호에 동기하여 연속적으로 변화되는 설정패턴 타이머 값을 발생하고, 상기 타이머 값이 상기 타이머 주기의 종단에 나타나는 값과 일치할 때마다 동기신호를 전송하고, 상기 타이머 값을 티세트하기 위한 시간간격 타이머와; 상기 시간간격 타이머로부터 전송된 상기 동기신호를 수신하고 상기 동기신호의 설정동기 신호에 응답하여 복사가능신호를 전송하기 위한 복사가능수단과; 상기 CPU로부터 전송된 출력펄스에 대한 상기 시간데이터를 저장하기 위한 출력시간 마스터 메모리와, 상기 복사가능신호에 응답하여 상기 출력시간 마스터 메모리의 상기 시간데이터를 복사 및 저장하기 위한 출력시간 슬레이브 메모리와, 상기 CPU로부터 비교 및 제공되어지는 메모리의 명령에 따라 상기 타이머의 상기 타이머 값과 상기 출력시간 마스터 메모리 또는 상기 출력시간 슬레이브 메모리의 상기 시간 데이터를 비교하고 그 값들이 서로 일치할 때 일치신호를 전송하기 위한 비교기와, 상기 비교기로부터 전송된 상기 일치신호와 동기하여 상기 출력제어 메모리의 대응출력 제어명령을 전송하도록 상기 복사가능 신호에 응답하여 상기 CPU로부터 제공된 상기 출력펄스의 2진상태를 정의하는 출력제어 명령을 저장하기 위한 출력제어 메모리를 구비한 연상기억장치와; 상기 연상기억장치로부터 전송된 상기 출력제어 명령을 수신하고 상기 출력제어 명령에 대응하는 출력펄스를 전송하기 위한 출력제어회로를 포함하는 마이크로컴퓨터.A central processing unit (CPU) for computing an output control command for defining a binary state of an output pulse and a pulse control command including time data for defining a change timing of the binary state; Start the operation according to the operation start command provided from the CPU, generate a setting pattern timer value that is continuously changed in synchronization with a clock signal by a timer period defined by the control command provided from the CPU, and generate the timer value. A time interval timer for transmitting a synchronization signal whenever the value coincides with a value appearing at the end of the timer period, and for setting the timer value; Copyable means for receiving said synchronization signal transmitted from said time interval timer and transmitting a copyable signal in response to a setting synchronization signal of said synchronization signal; An output time master memory for storing the time data for the output pulse transmitted from the CPU, an output time slave memory for copying and storing the time data of the output time master memory in response to the copyable signal; Comparing the timer value of the timer with the time data of the output time master memory or the output time slave memory according to a command of a memory to be compared and provided from the CPU and transmitting a coincidence signal when the values coincide with each other. An output control defining a binary state of the output pulse provided from the CPU in response to the copyable signal to transmit a corresponding output control command of the output control memory in synchronization with the match signal sent from the comparator Output control memory for storing commands An associative memory device provided with; And an output control circuit for receiving the output control command sent from the memory device and transmitting an output pulse corresponding to the output control command. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 출력제어 메모리가 상기 비교기로부터 전송된 상기 일치신호와 동기하여 출력제어 마스터 메모리 또는 출력제어 슬레이브 메모리의 대응하는 출력제어 명령을 전송하도록 상기 복사가능 신호에 응답하여 상기 CPU로부터 제공된 상기 출력펄스의 2진상태를 정의하는 출력제어 명령을 저장하기 위한 출력제어 마스터 메모리와 상기 출력제어 마스터 메모리로부터의 상기 출력제어 명령을 복사 및 저장하기 위한 출력제어 슬레이브 메모리로 이루어지는 것을 특징으로 하는 마이크로컴퓨터.A microcomputer according to claim 10, wherein the output control memory is responsive to the copyable signal to transmit a corresponding output control command of an output control master memory or an output control slave memory in synchronization with the match signal sent from the comparator. An output control master memory for storing an output control command defining a binary state of the output pulse provided from the CPU and an output control slave memory for copying and storing the output control command from the output control master memory. Microcomputer characterized in that. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 복사가능 수단이 소정의 회수에 의해 상기 동기신호가 공급되면 상기 복사가능 신호를 발생하는 것을 특징으로 하는 마이크로컴퓨터.A microcomputer according to claim 10, wherein the copyable means generates the copyable signal when the synchronization signal is supplied by a predetermined number of times. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 복사가능 수단이 상기 CPU로부터 공급된 복사제어 명령에 대응하여 동작하고 상기 복사제어 명령이 제공된 직후 공급된 상기 동기신호와 동기하여 상기 복사가능 신호를 발생하는 것을 특징으로 하는 마이크로컴퓨터.A microcomputer according to claim 10, wherein the copyable means operates in response to a copy control command supplied from the CPU and generates the copyable signal in synchronization with the synchronization signal supplied immediately after the copy control command is provided. Microcomputer characterized in that. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 연상기억장치에 복수의 상기 출력시간 마스터 메모리, 상기 출력시간 슬레이브 메모리 및 상기 비교기를 가지고 있고, 상기 복수의 출력시간 마스터 메모리, 출력시간 슬레이브 메모리 및 비교기의 하나가 복수의 태그워드셀을 구성하도록 각각 수집되고, 상기 연상기억장치가 복수의 상기 출력제어 마스터 메모리와 상기 출력제어 슬레이브 메모리를 더 가지고 있고, 상기 복수의 출력제어 마스터 메모리 및 출력제어 슬레이브 메모리가 복수의 출력 데이터 워드셀을 구성하도록 각각 수집되고, 각각의 상기 태그워드셀 및 상기 출력 데이터 워드셀이 서로 다르게 대응하도록 제공되는 것을 특징으로 하는 마이크로컴퓨터.12. A microcomputer according to claim 10, comprising: a plurality of said output time master memory, said output time slave memory and said comparator in said associative storage device, said plurality of output time master memory, output time slave memory and comparator One is collected so as to constitute a plurality of tag word cells, and the memory device further has a plurality of the output control master memory and the output control slave memory, and the plurality of output control master memory and the output control slave memory. And each of the tag word cells and the output data word cells are provided to correspond differently to each other to constitute a plurality of output data word cells. 제14항에 따르는 마이크로컴퓨터에 있어서, 상기 연상기억장치의 각각의 상기 비교기가 주어진 병렬비교 명령에 따라 상기 타이머 값과 각각의 상기 출력시간 마스터 메모리 또는 각각의 상기 출력시간 슬레이브 메모리를 병렬로 비교하고, 주어진 순차비교 명령에 따라서는 상기 타이머 값과 특정 출력시간 마스터 메모리 또는 특정출력시간 슬레이브 메모리를 순차적으로 비교하는 것을 특징으로 하는 마이크로컴퓨터.15. A microcomputer according to claim 14, wherein each comparator of said memory is compared in parallel with said timer value and each said output time master memory or each said output time slave memory in accordance with a given parallel comparison command. And sequentially comparing the timer value with a specific output time master memory or a specific output time slave memory according to a given sequential comparison command. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터, 상기 출력펄스가 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에 그 값을 전송하도록 상기 타이머 값에서 단위량(1)을 가산하기 위한가산기, 상기 타이머 레지스터의 값과 상기주기 레지스터의 값이 서로 일치할 때 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기와 상기 가산기를 클리어하도록 상기 일치신호를 수신하기 위한 클리어회로 및 상기 일치신호가 발생되는 조건으로 상기 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.11. The microcomputer according to claim 10, wherein the time interval timer comprises a timer register for storing the timer value, a period register for storing a maximum timer value for the output pulse to specify a period, and the timer operation. An adder for adding a unit amount 1 from the timer value so that means draws the timer value from the timer register and sends the value to the timer register, the value of the timer register coinciding with the value of the periodic register A comparator for comparing the values so as to transmit a coincidence signal and a clear circuit for receiving the coincidence signal to clear the adder, and for generating a synchronizing signal in synchronization with the clock signal under the condition that the coincidence signal is generated. E) comprising a synchronization signal generating circuit; Microcomputer. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터, 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에 그 값을 전송하도록 주어진 가산/감산 명령에 따라 상기 타이머 값에 단위량(1)을 가산 또는 감산하기 위한 가산기/감산기, 상기 타이머 레지스터의 값과 상기 주기 레지스터의 값이 서로 일치할 때 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기, 상기 CPU로부터 내려진 명령에 따라 상기 타이머 레지스터의 상기 타이머 값이 영이되면 상기 가산기/감산기에 가산명령을 전송하고 상기 일치신호가 상기 비교기에서 발생되면 감산명령을 전송하기 위한 가산/감산 명령수단 및 상기 타이머 레지스터의 타이머 값이 영이되는 조건으로 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.The microcomputer according to claim 10, wherein the time interval timer comprises a timer register for storing the timer value, a period register for storing a maximum timer value for designating a period of the output pulse, and the timer operation. An adder / subtractor for adding or subtracting a unit amount 1 to the timer value in accordance with a given add / subtract instruction for means to retrieve the timer value of the timer register and to transmit the value to the timer register; A comparator for comparing the values so as to transmit a coincidence signal when the value of and the period register coincide with each other. And the match signal is generated by the comparator. Micro characterized in that the addition / subtraction command means, and in synchronization with the clock signal conditions the timer value of the timer register zero for transmitting a subtraction command including the synchronizing signal generation circuit for generating a synchronizing signal computer. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터와 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 타이머 값과 상기 주기 레지스터의 값이 서로 일치할 때 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기와, 상기 타이머 레지스터의 상기 타이머 값이 0/1 여부를 검출하기 위한 0/1 검출기와 상기 타이머 레지스터의 상기 타이머 값이 영이면 가산 명령을 전송하고 상기 일치신호가 상기 비교기에서 발생되면 감산명령을 전송하기 위한 가산/감산 명령수단과, 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에서 그 값을 전송하도록 상기 가산/감산 명령수단으로부터 주어진 상기 가산/감산 명령에 따라 상기 타이머 값으로부터 단위량(1)을 가산 또는 감산하기 위한 가산기/감산기와, 상기 CPU로부터 제공된 타이머 값 파형의 상기 제어명령이 톱니파형이고 상기 일치신호가 상기 비교기로부터 전송되면 상기 가산기/감산기를 클리어하기 위한 클리어 희로와, 상기 타이머 레지스터의 상기 타이머 값이 영이되는 조건으로 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.The microcomputer according to claim 10, wherein the time interval timer comprises a timer register for storing the timer value and a period register for storing a maximum timer value for designating a period of the output pulse, the timer operation Means for comparing the values so that the means transmits a coincidence signal when the timer value of the timer register and the value of the period register coincide with each other, and 0 for detecting whether the timer value of the timer register is 0/1. / 1 add and subtract command means for transmitting an add command if the timer value of the detector and the timer register is zero and a subtract command if the coincidence signal is generated in the comparator, and withdraw the timer value of the timer register. Add / subtract to send the value from the timer register An adder / subtracter for adding or subtracting the unit amount 1 from the timer value according to the addition / subtraction command given from the command means, and the control command of the timer value waveform provided from the CPU is sawtooth waveform and the coincidence signal is And a clear signal for clearing the adder / subtractor when transmitted from the comparator, and a synchronization signal generation circuit for generating a synchronization signal in synchronization with a clock signal under the condition that the timer value of the timer register becomes zero. Microcomputer. 제10항에 따르는 마이크로컴퓨터에 있어서, 상기 CPU에서 상기 출력펄스에 제어명령 연산주기가 상기 연상기억장치의 복사주기와 일치시켜 이루어지는 것을 특징으로 하는 마이크로컴퓨터.11. The microcomputer according to claim 10, wherein a control instruction calculation period is made in the CPU to the output pulse so as to coincide with a copying period of the memory device. 상기 2진상태의 변화 타이밍을 규정하기 위해 출력펄스와 펄스제어 명령의 2진상태를 연산하기 위한 CPU(Central Processing Unit)와; 시스템을 거쳐 상기 CPU에 접속되고 상기 CPU로부터 제공된 상기 펄스제어 명령에 따라 상기 출력펄스의 상기 2진상태의 상기 변화 타이밍의 시간데이터를 연산하는 서브프로세서와, 상기 CPU 또는 상기 서브프로세서로부터 제공된 동작시작 명령에 따라 동작을 시작하고, 상기 제어명령에 의해 규정된 타이머 주기에 따르고 상기 클럭신호와 동기하여 순차적으로 변화되는 소정의 패턴타이머 값을 발생하고, 상기 타이머 값이 상기 타이머 주기의 종단에 나타나는 값과 일치하면 동기신호를 전송하고 상기 타이머 값을 리세트하기 위한 시간간격 타이머와; 상기 시간간격 타이머로부터 전송된 상기 동기신호를 수신하고 상기 동기신호의 소정의 동기신호에 응답하여 복사가능 신호를 전송하기 위한 복사가능 수단과; 상기 CPU 또는 상기 서브프로세서로부터 전송된 출력펄스에 대한 상기 시간데이터를 저장하기 위한 출력시간 마스터 메모리, 상기 복사가능신호에 응답하여 상기 출력시간 마스터 메모리의 상기 시간데이터를 복사 및 저장하기 위한 출력시간 슬레이브 메모리, 상기 CPU로부터 비교되고 제공되어지는 메모리의 명령에 따라 상기 타이머 레지스터의 타이머 값과 상기 출력시간 마스터 메모리 또는 상기 출력시간 슬레이브 메모리의 시간데이터를 비교하고 그 값들이 서로 일치할 때 일치신호를 전송하기 위한 비교기와, 상기 비교기로부터 전송된 상기 일치신호와 동기하여 출력제어 메모리의 대응하는 출력제어 명령을 전송하도록 상기 복사가능 신호에 응답하여 상기 CPU로부터 제공된 상기 출력펄스의 2진상태를 규정하는 출력제어 명령을 저장하기 위한 출력제어 메모리를 구비하는 연상기억장치와; 상기 연상기억장치로부터 전송된 상기 출력제어 명령을 수신하기 위한 출력제어 회로를 포함하는 마이크로컴퓨터.A central processing unit (CPU) for calculating a binary state of an output pulse and a pulse control command to define the timing of change of the binary state; A subprocessor connected to the CPU via a system and calculating time data of the change timing of the binary state of the output pulse in accordance with the pulse control command provided from the CPU, and starting operation provided from the CPU or the subprocessor Start an operation according to a command, generate a predetermined pattern timer value according to the timer period defined by the control command and sequentially change in synchronization with the clock signal, wherein the timer value appears at the end of the timer period. A time interval timer for transmitting a synchronization signal and resetting the timer value if it coincides with; Copyable means for receiving the synchronization signal transmitted from the time interval timer and transmitting a copyable signal in response to a predetermined synchronization signal of the synchronization signal; An output time master memory for storing the time data for an output pulse transmitted from the CPU or the subprocessor, an output time slave for copying and storing the time data of the output time master memory in response to the copyable signal Compare the timer value of the timer register with the time data of the output time master memory or the output time slave memory according to a command of a memory and a memory to be compared and provided from the CPU, and transmit a coincidence signal when the values coincide with each other. An output defining a binary state of the output pulse provided from the CPU in response to the copyable signal to transmit a corresponding output control command of an output control memory in synchronization with the match signal sent from the comparator To store control commands Associative memory device having an output control memory; And an output control circuit for receiving the output control command sent from the memory device. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 출력제어 메모리가 상기 비교기로부터 전송된 상기 일치신호와 동기하여 출력제어 마스터메모리 또는 출력에서 슬레이브 메모리의 대응하는 출력제어 명령을 전송하는 상기 복사가능신호에 응답하여 상기 CPU로부터 제공된 상기 출력펄스의 2진상태를 규정하는 상기 출력제어 명령을 저장하기 위한 출력제어 마스터 메모리 및 상기 출력제어 마스터 메모리로 부터의 상기 출력제어 명령을 복사하고 저장하기 위한 출력제어 슬레이브 메모리로 이루어지는 것을 특징으로 하는 마이크로컴퓨터.21. A microcomputer according to claim 20, wherein said output control memory is responsive to said copyable signal for transmitting a corresponding output control command of a slave memory at an output control master memory or an output in synchronization with said coincidence signal transmitted from said comparator. An output control master memory for storing the output control command defining a binary state of the output pulse provided from the CPU and an output control slave memory for copying and storing the output control command from the output control master memory. Microcomputer, characterized in that consisting of. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 복사가능수단이 시간의 소정수에 의해 상기 동기신호가 제공되면 상기 복사가능신호를 발생하는 것을 특징으로 하는 마이크로컴퓨터.A microcomputer according to claim 20, wherein the copyable means generates the copyable signal when the synchronization signal is provided by a predetermined number of times. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 복사가능 수단이 상기 CPU 또는 상기 서브프로세서로부터 제공된 복사제어 명령에 대응하여 동작하고 상기 복사제어 명령이 제공된직후 인가된 동기신호와 동기하여 상기 복사가능신호를 발생하는 것을 특징으로 하는 마이크로컴퓨터.21. The microcomputer according to claim 20, wherein the copyable means operates in response to a copy control command provided from the CPU or the subprocessor and sends the copyable signal in synchronization with a synchronization signal applied immediately after the copy control command is provided. A microcomputer characterized in that it occurs. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 연상기억장치가 복수의 상기 출력시간 마스터메모리, 상기 출력시간 슬레이브 메모리 및 상기 비교기를 구비하고, 상기 복수의 출력시간 마스터 메모리, 출력시간 슬레이브 메모리 및 비교기의 하나가 복수의 태그워드셀을 구성하도록 각각 수집되고, 상기 연상기억장치가 복수의 상기 출력제어 마스터 메모리 및 상기 출력제어 슬레이브 메모리를 더 구비하고, 상기 복수의 출력제어 마스터 메모리 및 출력제어 슬레이브 메모리의 하나가 복수의 출력데이터 워드셀과 각각의 상기 태그워드셀을 구성하도록 각각 수집되고, 상기 출력데이터 워드셀이 서로 다르게 대응하도록 제공되는 것을 특징으로 하는 마이크로컴퓨터.21. The microcomputer according to claim 20, wherein the memory device comprises a plurality of the output time master memory, the output time slave memory and the comparator, wherein the plurality of output time master memory, output time slave memory and comparator One is collected so as to constitute a plurality of tag word cells, and the memory is further provided with a plurality of the output control master memory and the output control slave memory, wherein the plurality of output control master memory and the output control slave memory; And one is collected to constitute a plurality of output data word cells and each of the tag word cells, and the output data word cells are provided to correspond differently. 제24항에 따르는 마이크로컴퓨터에 있어서, 상기 연상기억장치의 각각의 상기 비교기가 상기 CPU로부터 주어진 병렬비교 명령에 따라 상기 타이머 값과 각각의 상기 출력시간 마스터 메모리 또는 각각의 상기 출력시간 슬레이브 메모리를 병렬로 비교하고, 주어진 순차 비교명령에 따라서는 상기 타이머값과 특정출력시간 마스터 메모리 또는 특정출력시간 슬레이브 메모리를 순차적으로 비교하는 것을 특징으로 하는 마이크로컴퓨터.25. The microcomputer according to claim 24, wherein each comparator of said associative storage device paralleles said timer value and each said output time master memory or each said output time slave memory in accordance with a parallel comparison command given from said CPU. And comparing the timer value with a specific output time master memory or a specific output time slave memory according to a given sequential comparison command. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 시간간격 타이머가 상기 타이머값을 저장하기 위한 타이머 레지스터, 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에 그 값을 전송하도록 상기 타이머 값에서 단위량(1)을 가산하기 위한 가산기, 상기 타이머 레지스터의 값과 상기 주기 레지스터의 값이 서로 일치할 때 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기, 상기 가산기를 클리어하도록 상기 일치신호를 수신하기 위한 클리어 회로 및 상기 일치신호가 발생되는 조건으로 상기 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.21. The microcomputer according to claim 20, wherein the time interval timer comprises a timer register for storing the timer value, a period register for storing a maximum timer value for designating a period of the output pulse, and the timer operation. An adder for adding a unit amount 1 from the timer value such that means draws out the timer value of the timer register and sends the value to the timer register, the value of the timer register coinciding with the value of the period register A comparator for comparing the values so as to transmit a coincidence signal, a clear circuit for receiving the coincidence signal to clear the adder, and for generating a synchronizing signal in synchronization with the clock signal under the condition that the coincidence signal is generated. E) comprising a synchronization signal generating circuit; Microcomputer. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터 및 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에 그 값을 전송하도록 주어진 가산/감산 명령에 따라 상기 타이머값에 단위량(1)을 가산 또는 감산하기 위한 가산기/감산기, 상기 타이머 레지스터의 값과 상기 주기 레지스터의 값이 서로 일치할 때 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기, 상기 CPU 또는 상기 서브프로세서로부터 내려진 명령에 따라 상기 타이머 레지스터의 상기 타이머 값이 영이되면 상기 가산기/감산기에 가산명령을 전송하고 상기 일치신호가 상기 비교기에서 발생되면 감산명령을 전송하기 위한 가산/감산 명령수단 및 상기 타이머 레지스터의 타이머 값이 영이 되는 조건으로 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.21. The microcomputer according to claim 20, wherein the time interval timer comprises a timer register for storing the timer value and a period register for storing a maximum timer value for designating a period of the output pulse, the timer operation An adder / subtractor for adding or subtracting a unit amount 1 to the timer value according to an add / subtract instruction given by means for retrieving the timer value of the timer register and transmitting the value to the timer register; A comparator for comparing the values to transmit a coincidence signal when the value of and the period register coincide with each other, and if the timer value of the timer register becomes zero according to an instruction issued by the CPU or the subprocessor, the adder / An addition command is sent to the subtractor and the coincidence signal is And a synchronizing signal generating circuit for generating a synchronizing signal in synchronism with the clock signal on the condition that the timer value of the timer register becomes zero when the comparator generates the subtracting command. Microcomputer. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 시간간격 타이머가 상기 타이머 값을 저장하기 위한 타이머 레지스터와 상기 출력펄스의 주기를 지정하기 위해 최대 타이머 값을 저장하기 위한 주기 레지스터를 포함하고, 상기 타이머 연산수단이 상기 타이머 레지스터의 타이머 값과 상기 주기 레지스터의 값이 서로 일치할 때 일치신호를 전송하도록 그 값들을 비교하기 위한 비교기와, 상기 타이머 레지스터의 상기 타이머 값이 0/1 여부를 검출하기 위한 0/1 검출기와 상기 타이머 레지스터의 상기 타이머 값이 영이면 가산명령을 전송하고 상기 일치신호가 상기 비교기에서 발생되면 감산명령을 전송하기 위한 가산/감산 명령수단과, 상기 타이머 레지스터의 상기 타이머 값을 인출하고 상기 타이머 레지스터에서 그 값을 전송하도록 상기 가산/감산 명령수단으로부터 주어진 상기 가산/감산 명령에 따라 상기 타이머 값으로부터 단위량(1)을 가산 또는 감산하기 위한 가산기/감산기와 상기 CPU 또는 상기 서브프로세서로부터 제공된 타이머 값 파형의 상기 제어명령이 톱니파형이고 상기일치신호가 상기 비교기로부터 전송되면 상기 가산기/감산기를 클리어하기 위한 클리어 회로와 상기 타이머 레지스터의 상기 타이머 값이 영이 되는 조건으로 클럭신호와 동기하여 동기신호를 발생하기 위한 동기신호 발생회로를 포함하는 것을 특징으로 하는 마이크로컴퓨터.21. The microcomputer according to claim 20, wherein the time interval timer comprises a timer register for storing the timer value and a period register for storing a maximum timer value for designating a period of the output pulse, the timer operation Means for comparing the values so that the means transmits a coincidence signal when the timer value of the timer register and the value of the period register coincide with each other, and 0 for detecting whether the timer value of the timer register is 0/1. / 1 addition and subtraction command means for transmitting an addition command if the timer value of the detector and the timer register is zero and for transmitting a subtraction command if the coincidence signal is generated in the comparator, and withdrawing the timer value of the timer register. Add / subtract to send the value from the timer register The control command of the timer value waveform provided from the CPU or the subprocessor and the adder / subtracter for adding or subtracting the unit amount 1 from the timer value according to the addition / subtraction command given from the command means is a sawtooth waveform and the A clear circuit for clearing the adder / subtractor when a coincidence signal is transmitted from the comparator and a sync signal generation circuit for generating a sync signal in synchronization with a clock signal on condition that the timer value of the timer register becomes zero. Microcomputer featured. 제20항에 따르는 마이크로컴퓨터에 있어서, 상기 CPU에서 상기 출력펄스이 제어명령 연산주기가 상기 연상기억장치의 복사주기와 일치시켜 이루어지는 것을 특징으로 하는 마이크로컴퓨터.21. The microcomputer according to claim 20, wherein the output pulse in the CPU is such that a control instruction calculation period is matched with a copy period of the mnemonic storage device. 외부로부터 제공된 출력펄스에 대한 시간데이터를 저장하기 위한 출력시간 마스터 메모리와, 복사가능신호에 응답하여 상기 출력시간 마스터 메모리의 상기 시간데이터를 복사, 저장하기 위한 출력시간 슬레이브 메모리와, 비교되어지는 메모리의 외부명령에 따라 상기 타이머 레지스터의 상기 타이머 값과 상기 출력시간 마스터 메모리 또는 상기 출력시간 슬레이브 메모리의 상기 시간데이터를 비교하고, 그 값들이 서로 일치하면 일치신호를 전송하기 위한 비교기와, 상기 타이머 레지스터의 상기 타이머 값이 영이되는 조건으로 상기 클럭신호와 동기하여 출력제어 메모리의 대응하는 출력제어 명령을 전송하도록 상기 복사가능신호에 응답하여 외부로부터 제공된 상기 출력펄스의 2진상태를 규정하는 출력제어 명령을 저장하기 위한 출력제어 메모리를 포함하는 연상기억장치.An output time master memory for storing time data for an externally provided output pulse, and an output time slave memory for copying and storing the time data of the output time master memory in response to a copyable signal; A comparator for comparing the timer value of the timer register with the time data of the output time master memory or the output time slave memory according to an external command, and transmitting a match signal when the values coincide with each other; An output control command that defines a binary state of the output pulse provided from the outside in response to the copyable signal to transmit a corresponding output control command of an output control memory in synchronization with the clock signal on a condition that the timer value of is equal to zero; Control menu to save data Reminiscent memory device including Mori. 제30항에 따르는 연상기억장치에 있어서, 상기 출력제어 메모리가 상기 타이머 레지스터의 상기 타이머 값이 영이되는 조건으로 클럭신호와 동기하여 출력제어 마스터 메모리 또는 출력제어 슬레이브 메모리의 대응하는 출력제어 명령을 전송하도록 상기 복사가능 신호에 응답하여 외부로부터 제공된 상기 출력펄스의 2진상태를 규정하는 출력제어 명령을 저장하기 위한 출력제어 마스터 메모리 및 상기 출력제어 마스터 메모리로부터 상기 출력제어 명령을 복사하고 저장하기 위한 출력제어 슬레이브 메모리로 이루어지는 것을 특징으로 하는 연상기억장치.31. An associative memory device according to claim 30, wherein said output control memory transmits a corresponding output control command of an output control master memory or an output control slave memory in synchronization with a clock signal on condition that said timer value of said timer register becomes zero. An output control master memory for storing an output control command that defines a binary state of the output pulse provided externally in response to said copyable signal and an output for copying and storing said output control command from said output control master memory; An associative memory device, comprising a control slave memory. 제30항에 따르는 연상기억장치에 있어서, 상기 CPU에서의 상기 출력펄스의 제어명령 연산주기가 상기 연상기억장치의 복사주기와 일치하여 이루어지는 것을 특징으로 하는 연상기억장치.31. An associative memory device according to claim 30, wherein a control command calculation cycle of said output pulse in said CPU is made coincident with a copy cycle of said memory device. 외부로부터 제공된 출력펄스에 대한 시간데이터를 저장하기 위한 출력시간 마스터 메모리와, 복사가능신호에 응답하여 상기 출력시간 마스터 메모리의 상기 시간데이터를 복사, 저장하기 위한 출력시간 슬레이브 메모리와, 비교되어지는 메모리의 외부명령에 따라 상기 타이머 레지스터의 상기 타이머 값과 상기출력시간 마스터 메모리 또는 상기 출력시간 슬레이브 메모리의 상기 시간데이터를 비교하고 그 값들이 서로 일치하면 일치신호를 전송하기 위한 비교기와, 상기 비교기로부터 전송된 상기 일치신호와 동기하여 출력제어 마스터 메모리 또는 출력제어 슬레이브 메모리의 대응하는 출력제어 명령을 전송하도록 상기 복사가능신호에 응답하여 외부로부터 제공된 상기 출력펄스의 2진상태를 규정하는 출력제어 명령을 저장하기 위한 출력제어 마스터 메모리 및 상기 출력제어 마스터 메모리로부터 상기 출력제어 명령을 복사하고 저장하기 위한 출력제어 슬레이브 메모리를 포함하는 연상기억장치.An output time master memory for storing time data for an externally provided output pulse, and an output time slave memory for copying and storing the time data of the output time master memory in response to a copyable signal; A comparator for comparing the timer value of the timer register with the time data of the output time master memory or the output time slave memory according to an external command and transmitting a match signal when the values coincide with each other; An output control command that defines a binary state of the output pulse provided from the outside in response to the copyable signal to transmit a corresponding output control command of an output control master memory or an output control slave memory in synchronization with the matched signal. Output control And an output control slave memory for copying and storing said output control command from said master memory and said output control master memory. 제33항에 따르는 연상기억장치에 있어서, 상기 연상기억장치가 복수의 상기 출력시간 마스터 메모리, 상기 출력시간 슬레이브 메모리 및 상기 비교기를 구비하고, 상기 복수의 출력시간 마스터 메모리, 출력시간 슬레이브 메모리 및 비교기의 하나가 복수의 태그워드셀을 구성하도록 각각 수집되고, 상기 연상기억장치가 복수의 상기 출력제어 마스터 메모리 및 상기 출력제어 슬레이브 메모리를 더 구비하고, 상기 복수의 출력제어 마스터 메모리 및 출력제어 슬레이브 메모리의 하나가 복수의 출력데이터 워드셀과 각각의 상기 태그워드셀을 구성하도록 각각 수집되고, 상기 출력데이터 워드셀이 서로 다르게 대응하도록 제공되는 것을 특징으로 하는 마이크로컴퓨터.34. An associative storage device according to claim 33, wherein said associative storage device comprises a plurality of said output time master memory, said output time slave memory and said comparator, said plurality of output time master memory, output time slave memory and comparator Is collected so as to form a plurality of tag word cells, and the memory device further comprises a plurality of the output control master memory and the output control slave memory, wherein the plurality of output control master memory and the output control slave memory. Wherein one is collected to constitute a plurality of output data word cells and each of the tag word cells, and the output data word cells are provided so as to correspond differently. 발생되는 한쌍의 펄스의 시간축을 규정하기 위해 기준 시간데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 기준 시간데이터와 관련하여 각각의 상기 펄스의 시간 관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스이 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구한 각각의 상기 펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간 데이터 레지스터와; 상기 카운터의 값과 각 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하고, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어 신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기 제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송 타이밍을 제어하고, 상기 제1의 펄스출력 레지스터가 상기 저장상태 데이터를 반전하여 실행된 2진상태로 리세트되는 출력단자를 구비하고, 상기 제2의 펄스 출력 레지스터가 상기 저장상태 데이터의 2진상태로 리세트 되는 출력단자를 구비하고, 상기 제1 및 제2의 펄스출력 레지스터가 대응하는 비교기로부터 하나의 일치신호가 제공되면 상기 출력 단자의 상기 2진상태를 각각 반전하고 다음 일치신호가 제공되면 상기 출력단자의 상기 2진상태를 리세트하고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트되고, 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상데데이터 및 상기 제어신호가 상기 카운터의 카운트업 리세트 신호의 전송주기에 따라 외부로부터 인가되는 것을 특징으로 하는 펄스발생장치.A reference time data register for storing reference time data to define a time axis of a pair of pulses to be generated; First and second working time data registers for respectively storing working time data representing a time relationship of each of said pulses with respect to said reference time data; First and second pulse output registers, respectively, for storing state data specifying one binary state of said pulse pair; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data such that each pulse can obtain the time data for the first transform and the last transform in a mathematical formula; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing the time data of each pulse transmitted from the transmission control device, respectively; First and second comparators for comparing the values of the counter and the values of each of the time data registers to transmit a match signal when the time data coincide with each other; Executes a defined operation in response to a stored operation control signal, the transmission control device controls the transmission timing of each of the time data in response to a transmission control signal stored in the control register, and transmits the first pulse output register Has an output terminal reset to a binary state executed by inverting the storage state data, the second pulse output register has an output terminal reset to a binary state of the storage state data, and If one coincidence signal is provided from the comparator corresponding to the first and second pulse output registers, Inverting the binary states respectively and providing the next coincidence signal resets the binary state of the output terminal, the counter is reset in response to a reset signal periodically stored in the control register, and the reference time data And each of the working time data, the top data and the control signal are applied from the outside according to the transmission period of the count-up reset signal of the counter. 제35항에 따르는 펄스발생장치가 있어서, 각각의 상기 펄스출력 레지스터가 상기 출력단자의 반전상태로 유지되는 반전 출력단자를 구비하는 것을 특징으로 하는 펄스발생장치.36. A pulse generating apparatus according to claim 35, wherein each of said pulse output registers has an inverting output terminal in which the output terminal is kept in an inverted state. 제35항에 따르는 펄스발생장치에 있어서, 각각의 상기 출력펄스 레지스터의 상기 출력단자와 상기 반전 출력단자중 하나를 선택하기 위한 출력스위치가 제공되고 각각의 상기 스위치가 상기 제어 레지스터에 저장된 출려스위치 제어신호에 응답하여 제어되는 것을 특징으로 하는 펄스발생장치.36. A pulse generating apparatus according to claim 35, wherein an output switch for selecting one of said output terminal and said inverting output terminal of each said output pulse register is provided, and each said switch is controlled to an output switch stored in said control register. Pulse generator characterized in that the control in response to the signal. 제35항에 따르는 펄스발생장치에 있어서, 상기 카운터가 프리런 카운터인 것을 특징으로 하는 펄스발생장치.36. A pulse generator according to claim 35, wherein said counter is a free run counter. 제38항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준데이터에 상기 제1의 작업시간 데이터를 가산하는 1Ath 시간데이터, 상기 리세트 신호의 주기로부터 상기 1Ath 시간데이터를 감산하는 1Bth 시간데이터, 상기 기준시간 데이터로부터 2Ath 시간데이터를 감산하는 2Ath 시간데이터 및 상기 리세트 신호의 주기로부터 2Ath 시간데이터를 감산하는 2Bth 시간데이터를 구하고, 상기 전송제어장치가 상기 리세트 신호에 응답하여 제1 및 제2의 시간데이터 레지스터에 상기 1Ath 및 2Ath 시간데이터를 전송하고 상기 리세트 신호의 주기의 1/2 주기에 따라 상기 제1 및 제2의 시간데이터 레지스터에 상기1Bth 및 2Bth 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.39. A pulse generating apparatus according to claim 38, wherein the arithmetic unit adds the first working time data to the reference data and the 1Ath time data, and the 1Bth time data to subtract the 1Ath time data from the period of the reset signal. Obtain 2Ath time data which subtracts 2Ath time data from the reference time data and 2Bth time data which subtracts 2Ath time data from the period of the reset signal, and the transmission control device responds to the reset signal in response to the reset signal. Transmitting the 1Ath and 2Ath time data to a second time data register and transmitting the 1Bth and 2Bth time data to the first and second time data registers according to a half period of the period of the reset signal. Pulse generator characterized in that. 제38항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간데이터에 상기 제1의 작업시간 데이터를 가산하는 1Ath 시간데이터, 상기 리세트 신호의 주기로부터 상기 기준시간 데이터를 감산하는 1Bth 시간데이터, 상기 리세트 신호의 주기로부터 상기 기준시간 데이터와 상기 제2의 작업시간 데이터의 합을 감산하는 2Bth 시간데이터를 구하고, 상기 전송제어장치가 제1 및 제2의 시간데이터 레지스터에 상기 1Ath 및 상기 기준시간 데이터를 전송하고 상기 리세트 신호의 주기의 1/2 주기에 따라 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Bth 및 2Bth 시간데이터를 전송하고 상기 연산장치가 상기 기준시간 데이터로부터 상기 2Ath 시간데이터를 감산하는 2Ath 시간데이터, 상기 리세트 신호주기로부터 2Ath 시간데이터를 감산하는 2Bth 시간데이터를 구하고, 상기 전송제어 장치가 상기 리세트 신호에 응답하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Ath 및 2Ath 시간데이터를 전송하고 상기 리세트 신호의 1/2 주기에 응답하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Bth 및 2Bth 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.39. A pulse generating apparatus according to claim 38, wherein the arithmetic unit is 1Ath time data for adding the first working time data to the reference time data, and 1Bth time for subtracting the reference time data from the period of the reset signal. 2Bth time data for subtracting the sum of the reference time data and the second working time data from the period of the data and the reset signal are obtained, and the transmission control apparatus stores the 1Ath and the first and second time data registers. Transmits the reference time data and transmits the 1Bth and 2Bth time data to the first and second time data registers according to one-half period of the period of the reset signal, and the arithmetic unit transmits the time data from the reference time data. 2Ath time data subtracting 2Ath time data, 2Bth time data subtracting 2Ath time data from the reset signal period And the transmission control device transmits the 1Ath and 2Ath time data to the first and second time data registers in response to the reset signal and responds to the 1/2 cycle of the reset signal. And transmitting the 1Bth and 2Bth time data to a second time data register. 제38항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 리세트 신호의 상기 주기로부터 상기 기준시간 데이터와 상기 제1의 작업시간 데이터의 합을 감산하는 1Bth 시간데이터, 상기 기준시간 데이터로부터 상기 제2의 작업시간 데이터를 감산하는 2Ath 시간데이터 및 상기 리세트 신호의 상기 주기에서 상기 기준시간 데이터를 감산하는 2Bth 시간데이터 구하고, 상기 전송제어장치가 상기 리세트 신호에 응답하여 제1 및 제2의 시간데이터 레지스터에 상기 기준시간데이터와 상기 2Ath 시간데이터를 전송하고 상기 리세트 신호의 1/2 주기에따라 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Bth와 2B 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.39. The pulse generating device according to claim 38, wherein the computing device subtracts the sum of the reference time data and the first working time data from the period of the reset signal, from the reference time data. Obtaining 2Ath time data for subtracting second working time data and 2Bth time data for subtracting the reference time data in the period of the reset signal, and wherein the transmission control device responds to the reset signal to the first and the second; Transmitting the reference time data and the 2Ath time data to a time data register of the first time data register and transmitting the 1Bth and 2B time data to the first and second time data registers according to a 1/2 cycle of the reset signal. Pulse generator. 제35항에 따르는 펄스발생장치에 있어서, 상기 카운터가 업/다운 카운터이고, 상기 카운터의 상기 리세트 신호가 일정주기에 교대로 인가되는 카운터업 신호 및 카운트다운 신호인 것을 특징으로 하는 펄스발생장치.36. A pulse generating apparatus according to claim 35, wherein said counter is an up / down counter, and said reset signal of said counter is a counter up signal and a count down signal applied alternately at a predetermined period. . 제42항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 제1의 시간데이터 및 상기 기준시간 데이터로부터 제2의 작업시간 데이터를 감산하는 제2의 시간데이터를 감산하는 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 제1 및 제2시간데이터 레지스터에 상기 제1 및 제2의 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.43. A pulse generating apparatus according to claim 42, wherein said computing device subtracts second working time data from said first time data and said reference time data to add said first working time data to said reference time data. Obtaining a second time data subtracting a second time data, and transmitting the first and second time data to the first and second time data registers by the transmission control device; . 제42항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 제1의 시간데이터 및 상기 기준시간 데이터로부터 제2의 작업시간 데이터를 감산하는 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 카운트업 신호와 동기하여 상기 제1 및 제2 시간데이터 레지스터에 상기 제1 시간데이터와 기준시간데이터를 전송하고 상기 카운트다운 신호와 동기하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 기준시간 데이터와 제2의 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.43. A pulse generating apparatus according to claim 42, wherein said computing device subtracts second working time data from said first time data and said reference time data to add said first working time data to said reference time data. Obtaining second time data, and transmitting the first time data and the reference time data to the first and second time data registers in synchronization with the count-up signal and synchronizing with the count-down signal. And the reference time data and the second time data are transmitted to first and second time data registers. 제42항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 제1의 시간데이터 및 상기 기준시간 데이터로부터 상기 제2의 작업시간 데이터를 감산하는 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 카운트업 신호와 동기하여 제1 및 제2의 시간데이터 레지스터에 상기 기준시간 데이터와 상기 제2의 시간데이터를 전송하고 상기 카운트다운 신호와 동기하여 상기 제1 및 제2의 시간데이터에 상기 제1의 시간데이터와 상기 기준시간 데이터를 전송하는 것을 특징으로 하는 펄스발생장치.43. A pulse generating apparatus according to claim 42, wherein said computing device subtracts said second working time data from said first time data and said reference time data for adding said first working time data to said reference time data. And obtaining the second time data, and transmitting the reference time data and the second time data to first and second time data registers in synchronization with the count up signal, And synchronously transmitting the first time data and the reference time data to the first and second time data. 발생되는 한쌍의 펄스의 시간축을 규정하기 위해 기준시간 데이터를 저장하기 위한 기준시간데이터 레지스터와; 상기 기준시간 데이터와 관련하여 각각의 상기 펄스의 시간관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 2진상태를 저장하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구한 각각의 상기 펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각각의 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하고, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기 제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 각각의 상기 펄스출력 레지스터가 상기 저장상태 데이터와 다르게 2진상태로 리세트 되는 출력단자와 상기 출력단자의 반전상태로 유지되는 반전출력단자를 구비하고, 상기 출력단자쌍의 2진상태를 대응하는 비교기로부터 하나의 일치신호가 인가되면 반전되고 다음의 일치신호가 인가되면 리세트되고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트되고 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호가 상기 카운터의 카운트업 리세트 신호의 전송주기에 따라 외부로부터 제공되는 것을 특징으로 하는 펄스발생장치.A reference time data register for storing reference time data to define a time axis of a pair of pulses to be generated; First and second working time data registers for respectively storing working time data representing a time relationship of each of said pulses with respect to said reference time data; First and second pulse output registers for storing state data respectively storing one binary state of the pulse pair; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so that the time data for the first and last transform of each pulse can be calculated by an equation; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing the time data of each pulse transmitted from the transmission control device, respectively; And first and second comparators for comparing the values of the counter and their values so as to send a coincidence signal when the time data of each time data register coincides with each other; Executes a defined operation in response to an operation control signal stored in the controller, and the transmission control device controls the transmission timing of each of the time data in response to a transmission control signal stored in the control register, and each of the pulse output registers. Has an output terminal reset to a binary state differently from the stored state data, and an inverted output terminal maintained in an inverted state of the output terminal, and one coincidence signal from a comparator corresponding to the binary state of the output terminal pair; Is inverted when is applied and is reset when the next coincidence signal is applied, and the counter is reset to the control register. The reference time data, each of the working time data, the state data, and the control signal are reset in response to a reset signal periodically stored in the second terminal, and are provided from the outside according to the transmission period of the count-up reset signal of the counter. Pulse generator, characterized in that. 제46항에 따르는 펄스발생장치에 있어서, 각각의 상기 펄스출력 레지스터의 상기 출력단자와 상기 반전출력단자중 하나를 선택하기 위한 출력스위치가 제공되고 각각의 상기스위치는 상기 제어 레지스터에 저장된 출력스위치 제어신호에 응답하여 제어되는 것을 특징으로 하는 펄스발생장치.48. A pulse generating apparatus according to claim 46, wherein an output switch for selecting one of said output terminal and said inverting output terminal of each said pulse output register is provided, and each said switch controls an output switch stored in said control register. Pulse generator characterized in that the control in response to the signal. 제46항에 따르는 펄스발생장치에 있어서, 상기 카운터가 프리런 카운터인 것을 특징으로 하는 펄스발생장치.48. A pulse generator according to claim 46, wherein said counter is a free run counter. 제48항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 1Ath 시간데이터, 상기 리세트 신호의 주기로부터 상기 1Ath 시간데이터를 감산하는 1Bth 시간데이터, 상기 기준시간 데이터로부터 2Ath 시간데이터를 감산하는 2Ath 시간데이터 및 상기 리세트 신호의 주기로부터 2Ath 시간데이터를 감산하는 2Bth 시간데이터를 구하고, 상기 전송제어장치가 상기 리세트 신호에 응답하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Ath 및 2Ath 시간데이터를 전송하고 상기 리세트 신호의 1/2 주기에 따라 상기 제1 및 제2 시간데이터 레지스터에 상기 1Bth 및 2Bth 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.49. A pulse generating apparatus according to claim 48, wherein the computing device adds the first working time data to the reference time data and the 1Ath time data to subtract the 1Ath time data from the period of the reset signal. Data, 2Ath time data for subtracting 2Ath time data from the reference time data, and 2Bth time data for subtracting 2Ath time data from the period of the reset signal, and the transmission control device responds to the reset signal. Transmitting the 1Ath and 2Ath time data to the first and second time data registers and transmitting the 1Bth and 2Bth time data to the first and second time data registers according to a half period of the reset signal. Pulse generator. 제48항에 따라는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 1Ath 시간데이터, 상기 리세트 신호의 주기로부터 상기 기준시간 데이터를 감산하는 1Bth 시간데이터 및 상기 리세트 신호의 주기로부터 상기 기준시간 데이터와 제2의 작업시간 데이터의 합을 감산하는 2Bth 시간데이터를 구하고, 상기 전송제어장치가 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Ath 시간데이터 및 상기 기준시간 데이터를 전송하고 상기 리세트 신호의 1/2 주기에 따라 상기 제1 및 제2의 시간데이터 레지스터에 상기 1Bth 시간데이터와 상기 2Bth 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.49. The pulse generating apparatus according to claim 48, wherein the arithmetic unit is 1Ath time data for adding the first working time data to the reference time data, and 1Bth for subtracting the reference time data from the period of the reset signal. Obtaining 2Bth time data which subtracts the sum of the reference time data and the second working time data from the time data and the period of the reset signal, the transmission control device sends the 1Ath to the first and second time data registers. Transmitting time data and the reference time data and transmitting the 1Bth time data and the 2Bth time data to the first and second time data registers according to a 1/2 cycle of the reset signal. Device. 제48항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 리세트 신호의 주기로부터 상기 기준시간 데이터 데이터와 상기 제1의 작업시간 데이터의 합을 감산하는 1Bth 시간데이터, 상기 기준시간 데이터로부터 상기 제2의 작업시간 데이터를 감산하는 2Ath 시간데이터 및 상기 리세트 신호의 주기로부터 상기 기준시간 데이터를 감산하는 2Bth 시간데이터를 구하고, 상기전송제어장치가 상기 리세트 신호에 응답하여 제1 및 제2의 시간데이터 레지스터에 상기 기준시간 데이터와 상기 2Ath 시간데이터를 전송하고 상기 리세트 신호의 1/2 주기에 따라 상기 제1 및 제2 시간데이터 레지스터에 상기 1Bth와 2Bth 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.49. The pulse generating apparatus according to claim 48, wherein the computing device subtracts the sum of the reference time data data and the first working time data from the period of the reset signal, and the 1Bth time data from the reference time data. 2Ath time data for subtracting second working time data and 2Bth time data for subtracting the reference time data from the period of the reset signal are obtained, and the transmission control apparatus responds to the reset signal to the first and second. Transmitting the reference time data and the 2Ath time data to a time data register of the first data and the 2Bth time data to the first and second time data registers according to a 1/2 cycle of the reset signal. Pulse generator. 제46항에 따르는 펄스발생장치에 있어서, 상기 카운터가 업/다운 카운터이고 상기 카운터의 상기 리세트 신호가 일정주기에서 교대로 인가되는 카운터업 신호 및 카운터다운 신호인 것을 특징으로 하는 펄스발생장치.48. A pulse generating apparatus according to claim 46, wherein said counter is an up / down counter and said reset signal of said counter is a counter up signal and a counter down signal applied alternately at a predetermined period. 제52항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 제1의 시간데이터 및 상기 기준시간 데이터로부터 상기 제2의 작업시간 데이터를 감산하는 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 제1 및 제2의 시간데이터 레지스터에 상기 제1 및 제2의 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.53. A pulse generating apparatus according to claim 52, wherein said computing device subtracts said second working time data from said first time data and said reference time data for adding said first working time data to said reference time data. Obtaining second time data, and transmitting the first and second time data to the first and second time data registers. 제52항에 따르는 펄스발생장치에있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 제1의 시간데이터 및 상기 기준시간 데이터로부터 상기 제2의 작업시간 데이터를 감산하는 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 카운터업 신호와 동기하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 제1의 시간데이터와 상기 기준시간데이터를 전송하고 상기 카운트다운 신호와 동기하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 기준시간 데이터와 제2의 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.53. A pulse generating apparatus according to claim 52, wherein said computing device subtracts said second working time data from said first time data and said reference time data for adding said first working time data to said reference time data. Obtaining the second time data, and transmitting the first time data and the reference time data to the first and second time data registers in synchronization with the counter-up signal, and transmitting the countdown signal. And transmitting the reference time data and the second time data to the first and second time data registers in synchronization with the first and second time data registers. 제52항에 따르는 펄스발생장치에 있어서, 상기 연산장치가 상기 기준시간 데이터에 상기 제1의 작업시간 데이터를 가산하는 제1의 시간데이터 및 상기 기준시간 데이터로부터 상기 제2의 작업시간 데이터를 감산하는 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 카운트업신호와 동기하여 상기 제1 및 제2의 시간데이터에 상기 기준시간 데이터와 상기 제2의 시간데이터를 전송하고 상기 카운트다운 신호와 동기하여 상기 제1 및 제2의 시간데이터 레지스터에 상기 제1의 시간데이터와 상기 기준시간 데이터를 전송하는 것을 특징으로 하는 펄스발생장치.53. A pulse generating apparatus according to claim 52, wherein said computing device subtracts said second working time data from said first time data and said reference time data for adding said first working time data to said reference time data. And obtaining the second time data, and transmitting the reference time data and the second time data to the first and second time data in synchronization with the count up signal, And synchronously transmitting the first time data and the reference time data to the first and second time data registers. 발생되는 한쌍의 펄스의 시간축을 규정하기 위해 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 기준시간 데이터와 관련하여 각각의 상기 펄스의 시긴관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구한 각각의 상기 펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하고, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어 신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 상기 제1의 펄스출력 레지스터가 상기 저장상태 데이터의 반전상태를 리세트 되는 출력단자를 구비하고, 상기 제2의 펄스출력 레지스터가 상기 저장상태 데이터의 2진상태로 리세트되는 출력단자를 구비하고, 상기 출력단자쌍의 2진상태가 대응하는 비교기로부터 하나의 일치신호가 제공되면 반전되고 다음 일치신호가 제공되면 상기 출력단자가 리세트되고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트 되고, 상기 기준시간데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호가 상기 카운터의 카운트업 리세트 신호에 응답하여 외부로부터 제공되는 것을 특징으로 하는 펄스발생장치.A reference time data register for storing reference time data to define a time axis of a pair of pulses to be generated; First and second working time data registers for respectively storing working time data representing a time relationship of each of said pulses with respect to said reference time data; First and second pulse output registers, respectively, for storing state data specifying one binary state of said pulse pair; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so as to obtain time data for the first and last transformation of each pulse; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing the time data of each pulse transmitted from the transmission control device, respectively; First and second comparators for comparing the values of the counter and the values of each of the time data registers to transmit a match signal when the time data coincide with each other; Executes a defined operation in response to a stored operation control signal, and the transmission control device controls the transmission timing of each of the time data in response to a transmission control signal stored in the control register, and transmits the first pulse output register. Has an output terminal for resetting the inverted state of the stored state data, the second pulse output register has an output terminal for being reset to a binary state of the stored state data, and two of the output terminal pairs The output is inverted when one coincidence signal is provided from the corresponding comparator and the output stage when the next coincidence signal is provided. Is reset, the counter is reset in response to a reset signal periodically stored in the control register, and the reference time data, each of the working time data, the status data, and the control signal count up of the counter. And a pulse generator provided from the outside in response to the reset signal. 제56항에 따르는 펄스발생장치에 있어서, 각각의 상기 펄스출력 레지스터가 상기 출력단자의 반전 상태로 유지되는 반전 출력단자를 구비하는 것을 특징으로 하는 펄스발생장치.57. A pulse generating apparatus according to claim 56, wherein each of said pulse output registers has an inverting output terminal held in an inverted state of said output terminal. 제56항에 따르는 펄스발생장치에 있어서, 각각의 상기 펄스출력 레지스터의 상기 출력단자와 상기 반전출력단자중 하나를 선택하기 위한 출력스위치가 제공되고 각각의 상기 스위치가 상기 제어 레지스터에 저장된 출력스위치 제어신호에 응답하여 제어되는 것을 특지응로 하는 펄스발생장치.57. A pulse generating apparatus according to claim 56, wherein an output switch for selecting one of said output terminal and said inverting output terminal of each said pulse output register is provided, and each said switch controls an output switch stored in said control register. A pulse generator, characterized in that it is controlled in response to a signal. 제56항에 따르는 펄스발생장치에 있어서, 상기 카운터가 프리런 카운터인 것을 특징으로 하는 펄스발생장치.57. A pulse generator according to claim 56, wherein said counter is a free run counter. 제56항에 따르는 펄스발생장치에 있어서, 상기 카운터가 업/다운 카운터이고 상기 카운터의 상기 리세트 신호가 일정주기에서 교대로 인가되는 카운터업 신호 및 카운터다운 신호인 것을 특징으로 하는 펄스발생장치.The pulse generator according to claim 56, wherein the counter is an up / down counter and the reset signal of the counter is a counter up signal and a counter down signal which are alternately applied at a predetermined period. 제60항에 따르는 펄스발생장치에 있어서, 상기 연산장치는 제1의 시간데이터가 되도록 상기 기준시간 데이터를 형성하고 상기 기준시간 데이터로부터 상기 작업시간 데이터를 감산하여 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 제1 및 제2의 시간데이터 레지스터에 상기 제1 및 제2의 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.61. The pulse generating apparatus according to claim 60, wherein the computing device forms the reference time data to be first time data and subtracts the working time data from the reference time data to obtain second time data. And a transmission control device transmits the first and second time data to the first and second time data registers. 발생되는 펄스쌍의 하나의 시간축을 규정하기 위해 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 펄스쌍의 하나와 다른 하나사이의 타이밍관계를 나타내는 작업시간 데이터를 저장하기 위한 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구한 각각의 상기 펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하고, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어 신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기 제어 레지스터에 저장된 전송제어 신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 각각의 상기 펄스출력 레지스터가 상기 저장상태 데이터의 반전상태로 리세트 되는 출력단자와 상기 출력단자와 관련하여 상보적으로 동작하는 반전 출력단자를 구비하고, 출력단자의 상기 쌍의 2진상태가 대응하는 비교기로부터 하나의 일치신호가 제공되면 반전되고 다음 일치신호가 제공되면 상기 출력단자의 상기 2진상태는 리세트 되고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트되고, 상기 기준시간데이터, 각각의 상기 작업시간 데이터 상기 상태데이터 및 상기 제어신호가 상기 카운터의 카운트업 리세트 신호에 응답하여 외부로부터 제공되는 것을 특징으로 하는 펄스발생장치.A reference time data register for storing reference time data to define one time axis of the generated pulse pairs; A working time data register for storing working time data representing a timing relationship between one of the pulse pairs and the other; First and second pulse output registers, respectively, for storing state data specifying one binary state of said pulse pair; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so as to obtain time data for the first and last transformation of each pulse; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing the time data of each pulse transmitted from the transmission control device, respectively; First and second comparators for comparing the values of the counter and the values of each of the time data registers to transmit a match signal when the time data coincide with each other; Executes a defined operation in response to a stored operation control signal, the transmission control device controls the transmission timing of each of the time data in response to a transmission control signal stored in the control register, and each of the pulse output registers A coincidence signal from a comparator having an output terminal reset to an inverted state of the stored state data and an inverted output terminal operatively associated with the output terminal, wherein the binary state of the pair of output terminals is corresponding; Is inverted when is provided and the binary state of the output terminal is reset when the next coincidence signal is provided. The counter is reset in response to a reset signal periodically stored in the control register, and the reference time data, each of the working time data, the state data, and the control signal respond to a count up reset signal of the counter. Pulse generator, characterized in that provided from the outside. 제62항에 따라는 펄스발생장치에 있어서, 각각의 상기 펄스출력 레지스터가 상기 출력단자의 반전상태에서 유지되는 반전출력단자를 구비하는 것을 특징으로 하는 펄스발생장치.63. The pulse generating device according to claim 62, wherein each of said pulse output registers has an inverting output terminal held in an inverted state of said output terminal. 제62항에 따르는 펄스발생장치에 있어서, 각각의 상기 펄스출력 레지스터의 상기 출력단자와 상기 반전출력단자중 하나를 선택하기 위한 출력스위치가 제공되고 각각의 상기 스위치가 상기 제어 레지스터에 저장된 출력스위치 제어신호에 응답하여 제어되는 것을 특징으로 하는 펄스발생장치.63. A pulse generating apparatus according to claim 62, wherein an output switch for selecting one of said output terminal and said inverting output terminal of each said pulse output register is provided, and each said switch controls an output switch stored in said control register. Pulse generator characterized in that the control in response to the signal. 제63항에 따르는 펄스발생장치에 있어서, 상기 카운터가 프리런 카운터인 것을 특징으로 하는 펄스발생장치.64. A pulse generator according to claim 63, wherein said counter is a free run counter. 제62항에 따르는 펄스발생장치에 있어서, 상기 카운터가 업/다운 카운터이고 상기 카운터의 상기 리세트 신호가 일정주기에서 교대로 인가되는 카운터업 신호 및 카운터다운 신호인 것을 특징으로 하는 펄스발생장치.63. A pulse generating apparatus according to claim 62, wherein said counter is an up / down counter and said reset signal of said counter is a counter up signal and a counter down signal applied alternately at a predetermined period. 제66항에 따르는 펄스발생장치에 있어서, 상기 연산장치는 제1의 시간데이터가 되도록 상기 기준시간 데이터를 형성하고 상기 기준시간 데이터로부터 상기 작업시간 데이터를 감산하여 제2의 시간데이터를 구하고, 상기 전송제어장치가 상기 제1 및 제2의 시간데이터 레지스터에 상기 제1 및 제2의 시간데이터를 전송하는 것을 특징으로 하는 펄스발생장치.A pulse generating apparatus according to claim 66, wherein said computing device forms said reference time data so as to be first time data, and subtracts said working time data from said reference time data to obtain second time data. And a transmission control device transmits the first and second time data to the first and second time data registers. 인버터회로의 스위칭소자를 제어하는 PWM 펄스를 연산하도록 전동기 회전용 상기 인버터회로의 출력전압 명령과 캐리어파를 비교하기 위한 CPU와 상기 CPU로부터 전송된 상기 PWM 펄스를 발생하기 위해 데이터로부터 상기 스위칭소자에 게이트 펄스를 발생하고 전송하기 위한 펄스발생장치를 구비한 전동기 제어용 마이크로컴퓨터에 있어서, 발생되어진 한쌍의 펄스의 시간축을 규정하는 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 기준시간 데이터와 관련하여 각각의 상기 펄스의 타이밍 관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 펄스의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 이한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간 데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구해진 각각의 상기 펄스의 상기 시간 데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각각의 상기 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각각의 상기 시간데이터 레지스터의 상기 시간 데이터가 서로 일치할때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하는 펄스발생 장치와, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 상기 제1의 펄스출력 레지스터가 상기 저장상태 데이터의 반전상태에서 리세트되는 출력단자를 구비하고, 상기 제2의 펄스출력 레지스터가 상기 저장상태 데이터의 2진상태에서 리세트되는 출력단자를 구비하고, 상기 출력단자쌍의 2진상태는 한 개의 일치신호가 대응하는 비교기로부터 제공되면 반전되고 다음 일치신호가 제공되면 리세트되고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트되고, 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호는 상기 카운터의 상기 카운트업 리세트 신호의 전송주기에 따라 외부로부터 제공되고, 상기 펄스발생장치의 대응하는 레지스터에 저장되도록 상기 인버터의 한쌍의 상측 아암과 하측 아암에 대해 한쌍의 PWM 펄스이 상기 타이밍축을 규정하기 위한 기준시간 데이터, 상기 기준시간 데이터에 대한 상기 PWM 펄스쌍의 함수관계를 나타낸 작업시간 데이터, 상기 PWM 펄스의 하나의 2진상태를 지정하기 위한 상태데이터 및 상기 제어신호를 발생하기 위한 CPU를 포함하는 전동기제어용 마이크로컴퓨터.A CPU for comparing the output voltage command of the inverter circuit for motor rotation and a carrier wave to calculate a PWM pulse for controlling the switching element of the inverter circuit and from the data to the switching element to generate the PWM pulse transmitted from the CPU. An electric motor control microcomputer having a pulse generator for generating and transmitting a gate pulse, comprising: a reference time data register for storing reference time data defining a time axis of a pair of pulses generated; First and second working time data registers for storing working time data respectively representing timing relationships of the respective pulses with respect to the reference time data; First and second pulse output registers for storing state data specifying binary states of one pulse of said pulse pair, respectively; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so that the time data for the first and last transform of each pulse can be calculated by an equation; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing said time data of each said pulse transmitted from said transmission control device, respectively; A pulse generating device comprising first and second comparators for comparing the values of the counter and their values so as to send a coincidence signal when the time data of each time data register coincides with each other; Executes the defined operation in response to the operation control signal stored in the control register, and the transmission control device controls the transmission timing of each of the time data in response to the transmission control signal stored in the control register, A pulse output register of 1 has an output terminal reset in an inverted state of said storage state data, said second pulse output register has an output terminal reset in a binary state of said storage state data, and The binary state of the output terminal pair is reversed if one match signal is provided from the corresponding comparator and the next match signal Is reset if provided, the counter is reset in response to a reset signal periodically stored in the control register, and the reference time data, each of the working time data, the status data, and the control signal are stored in the counter. A reference for defining the timing axis for a pair of PWM pulses provided for the pair of upper and lower arms of the inverter to be provided from the outside according to the transmission period of the count-up reset signal and stored in a corresponding register of the pulse generator. An electric motor including time data, working time data representing a functional relationship of the PWM pulse pairs to the reference time data, state data for designating one binary state of the PWM pulses, and a CPU for generating the control signal; Control microcomputer. 인버터회로의 스위칭소자를 제어하는 PWM 펄스를 연산하도록 전동기 회전용 상기 인버터회로의 출력전압 명령과 캐리어파를 비교하기 위한 CPU와 상기 CPU로부터 전송된 상기 PWM 펄스를 발생하기 위해 데이터로부터 상기 스위칭소자에 게이트 펄스를 발생하고 전송하기 위한 펄스발생장치를 구비한 전동기제어용 마이크로컴퓨터에 있어서, 발생되어진 한쌍의 펄스의 시간축을 규정하는 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 하나의펄스와 다른 하나의 펄스사이의 타이밍 관계를 나타내는 작업시간 데이터를 저장하기 위한 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 펄스의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구해진 각각의 상기 펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각각의 상기 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각각의 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하는 펄스발생 장치와, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기 제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 각각의 상기 펄스출력 레지스터가 상기 저장상태 데이터의 반전상태에서 리세트 되는 출력단자와 상기 출력단자와 관련하여 상보적으로 동작되는 반전출력단자를 구비하고, 상기 출력단자쌍의 2진상태는 한 개의 일치신호가 대응하는 비교기로부터 제공되면 반전되고 다음 일치신호가 제공되면 리세트되고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트 되고, 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호는 상기 카운터의 상기 카운트업 리세트 신호의 전송주기에 따라 외부로부터 제공되고, 상기 펄스발생장치의 대응하는 레지스터에 저장되도록 상기 인버터의 한쌍의 상측 아암과 하측 아암에 대해 한쌍의 PWM 펄스의 상기 타이밍축을 규정하기 위한 기준시간 데이터, 상기 기준시간 데이터에 대한 상기 PWM 펄스쌍의 함수관계를 나타내는 작업시간 데이터 상기 PWM 펄스의 하나의 2진상태를 지정하기 위한 상태데이터 및 상기 제어신호를 발생하기 위한 CPU를 포함하는 전동기제어용 마이크로컴퓨터.A CPU for comparing the output voltage command of the inverter circuit for motor rotation and a carrier wave to calculate a PWM pulse for controlling the switching element of the inverter circuit and from the data to the switching element to generate the PWM pulse transmitted from the CPU. An electric motor control microcomputer having a pulse generator for generating and transmitting a gate pulse, comprising: a reference time data register for storing reference time data defining a time axis of a pair of pulses generated; A working time data register for storing working time data indicating a timing relationship between the one pulse and the other pulse; First and second pulse output registers for storing state data specifying binary states of one pulse of said pulse pair, respectively; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so as to obtain time data for the first and last transformation of each pulse; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing said time data of each said pulse transmitted from said transmission control device, respectively; A pulse generating device comprising first and second comparators for comparing the values of said counter and their values so as to transmit a coincidence signal when the time data of each said time data register coincides with each other, and said computing device Executes a defined operation in response to an operation control signal stored in the control register, and the transmission control device controls the transmission timing of each of the time data in response to a transmission control signal stored in the control register, The pulse output register has an output terminal reset in an inverted state of the stored state data and an inverted output terminal that is complementary to the output terminal, wherein the binary state of the pair of output terminals is one coincidence signal; Is inverted if provided from the corresponding comparator and reset if the next match signal is provided, Is reset in response to a reset signal periodically stored in the control register, and the reference time data, each of the working time data, the state data, and the control signal are transmitted during the count up reset signal of the counter. Reference time data for defining the timing axis of the pair of PWM pulses for the pair of upper and lower arms of the inverter so as to be externally provided and stored in a corresponding register of the pulse generator. Working time data indicating a functional relationship of the PWM pulse pairs with respect to each other; and a state data for designating one binary state of the PWM pulses and a CPU for generating the control signal. 인버터회로의 스위칭소자를 제어하는 PWM 펄스를 연산하도록 전동기 회전용 상기 인버터회로의 출력전압 명령과 캐리어파를 비교하기 위한 CPU와, 상기 CPU로부터 전송된 상기 PWM 펄스를 발생하기 위해 데이터로부터 상기 스위칭소자에 게이트 펄스를 발생하고 전송하기 위한 펄스발생장치를 구비한 전동기 제어용 마이크로컴퓨터에 있어서, 발생되어진 한쌍의 펄스의 시간축을 규정하기 위해 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 기준시간 데이터와 관련하여 각각의 상기 펄스의 타이밍 관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 펄스의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구해진 각각의 상기 펄스이 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각각의 상기 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각각의 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들을 각각 비교하기 위한 제1 및 제2의 비교기를 포함하는 펄스발생장치와, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어신호에 응답하여정의된 연산을 실행하고, 상기 전송제어장치가 상기 제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 상기 제1의 펄스출력 레지스터가 상기 저장상태데이터의 반전상태에서 리세트되는 출력단자를 구비하고, 상기 제2의 펄스출력 레지스터가 상기 저장상태를 데이터의 2진상태에서 리세트되는 출력단자를 구비하고, 상기 출력단자쌍의 2진상태는 한 개의 일치신호가 대응하는 비교기로부터 제공되면 반전되고 다음 일치신호가 제공되면 리세트되고, 상기 카운터는 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트되고, 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호는 상기 카운터의 상기 카운트업 리세트 신호에 응답하여 외부로부터 제공되고, 상기 펄스발생장치의 대응하는 레지스터에 저장되도록 상기 인버터의 한쌍의 상측 아암과 하측 아암에 대해 한쌍의 PWM 펄스의 상기 타이밍축을 규정하기 위한 기준시간 데이터, 상기 기준시간 데이터에 대한 상기 PWM 펄스쌍의 함수관계를 나타내는 작업시간 데이터, 상기 PWM 펄스의 하나의 2진상태를 지정하기 위한 상태데이터 및 상기 제어신호를 발생하는 CPU를 포함하는 전동기 제어용 마이크로컴퓨터.A CPU for comparing a carrier wave with an output voltage command of the inverter circuit for motor rotation to calculate a PWM pulse for controlling the switching element of the inverter circuit, and the switching element from the data for generating the PWM pulse transmitted from the CPU An electric motor control microcomputer having a pulse generator for generating and transmitting gate pulses, comprising: a reference time data register for storing reference time data to define a time axis of a pair of pulses generated; First and second working time data registers for storing working time data respectively representing timing relationships of the respective pulses with respect to the reference time data; First and second pulse output registers for storing state data specifying binary states of one pulse of said pulse pair, respectively; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data to obtain time data for the first and last transformation of each pulse; A transmission control device for controlling the transmission timing of the time data with each of the pulses obtained by the computing device; First and second time data registers for storing said time data of each said pulse transmitted from said transmission control device, respectively; A pulse generating device comprising first and second comparators for comparing the values of the counter and the values so as to send a coincidence signal when the time data of each time data register coincides with each other; Executes a defined operation in response to the operation control signal stored in the control register, and the transmission control device controls the transmission timing of each of the time data in response to the transmission control signal stored in the control register, A pulse output register of 1 has an output terminal reset in an inverted state of said storage state data, said second pulse output register has an output terminal for resetting said storage state in a binary state of data, The binary state of the output terminal pair is inverted when one coincidence signal is provided from the corresponding comparator and the next coincidence signal is Is reset if provided, the counter is reset in response to a reset signal periodically stored in the control register, and the reference time data, each of the working time data, the status data, and the control signal are stored in the counter. A reference time for defining the timing axis of the pair of PWM pulses for the pair of upper and lower arms of the inverter to be provided externally in response to the count-up reset signal and to be stored in a corresponding register of the pulse generator. Motor control micros including data, working time data indicating a functional relationship of the PWM pulse pairs to the reference time data, state data for designating one binary state of the PWM pulses, and a CPU generating the control signal computer. 인버터회로의 스위칭소자를 제어하는 PWM 펄스를 연산하도록 전동기 회전용 상기 인버터회로의 출력전압 명령과 캐리어파를 비교하기 위한 CPU와, 상기 CPU로부터 전송된 상기 PWM 펄스를 발생하기 위해 데이터로부터 상기 스위칭소자에 게이트 펄스를 발생하고 전송하기 위한 펄스발생장치를 구비한 전동기 제어용 마이크로컴퓨터에 있어서, 발생되어진 한쌍의 펄스의 타이밍축을 규정하기 위해 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 기준시간 데이터와 관련하여 각각의 상기 펄스의 타이밍 관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 펄스의 2진상태를 지정하는 상태데이터을 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수있도록 상기 기준시간 데이터와 각각의 상기작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구해진 각각의 상기펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각각의 상기 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각각의 상기 시간데이터 레지스터의 상기 시간데이터가 서로 일치할 때 일치신호를 전송하도록 그 값들를 각각 비교하기 위한 제1 및 제2의 비교기를 포함한 펄스발생장치와, 상기 연산장치가 상기 제어 레지스터에 저장된 연산제어신호에 응답하여 정의된 연산을 실행하고, 상기 전송제어장치가 상기 제어 레지스터에 저장된 전송제어 신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 각각의 상기 펄스출력 레지스터가 상기 저장상태데이터의 반전상태에서 리세트되는 출력단자와 상기 출력단자와 관련하여 상보적으로 동작되는 반전출력단자를 구비하고, 상기 출력단자쌍의 2진상태는 한 개의 일치신호가 대응하는 비교기로부터 제공되면 반전되고 다음 일치신호가 제공되면 리세트되고, 상기 카운터는 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트되고, 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호는 상기 카운터의 상기 카운트업 리세트 신호에 응답하여 외부로부터 제공되고, 상기 펄스발생장치의 대응하는 레지스터에 저장되도록 상기 인버터의 한쌍의 상측 아암과 하측 아암에 대해 한쌍의 PWM 펄스의 상기 타이밍축을 규정하기 위한 기준시간 데이터, 상기 기준시간 데이터에 대한 상기 PWM 펄스쌍의 함수관게를 나타낸 작업시간 데이터, 상기 PWM 펄스의 하나의 2진상태를 지정하기 위한 상태데이터 및 상기 제어신호를 발생하기 위한 CPU를 포함하는 전동기제어용 마이크로컴퓨터.A CPU for comparing a carrier wave with an output voltage command of the inverter circuit for motor rotation to calculate a PWM pulse for controlling the switching element of the inverter circuit, and the switching element from the data for generating the PWM pulse transmitted from the CPU An electric motor control microcomputer having a pulse generator for generating and transmitting gate pulses, comprising: a reference time data register for storing reference time data to define a timing axis of a pair of pulses generated; First and second working time data registers for storing working time data respectively representing timing relationships of the respective pulses with respect to the reference time data; First and second pulse output registers for respectively storing state data specifying binary states of one pulse of said pulse pair; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so that the time data for the first and last transform of each pulse can be calculated by an equation; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing said time data of each said pulse transmitted from said transmission control device, respectively; A pulse generating device including first and second comparators for comparing the values of the counter and the values so as to transmit a coincidence signal when the time data of each time data register coincides with each other; Executes a defined operation in response to an operation control signal stored in the control register, and the transmission control device controls the transmission timing of each of the time data in response to a transmission control signal stored in the control register, A pulse output register has an output terminal reset in an inverted state of the stored state data and an inverted output terminal that is complementarily operated in relation to the output terminal, wherein the binary state of the output terminal pair has a single coincidence signal. The counter is inverted if provided from the corresponding comparator and reset when the next match signal is provided, and the counter Reset in response to a reset signal periodically stored in the control register, wherein the reference time data, each of the working time data, the state data, and the control signal are external in response to the count-up reset signal of the counter. Reference time data for defining said timing axis of a pair of PWM pulses for a pair of upper and lower arms of said inverter to be stored in corresponding registers of said pulse generator, said PWM for said reference time data And a CPU for generating the control signal and working time data indicating a function pair of a pulse pair, state data for designating one binary state of the PWM pulses. 인버터회로의 스위칭소자를 제어하는 PWM 펄스를 연산하도록 전동기회전용 상기 인버터회로의 출력전압 명령과 캐리어파를 반송하기 위한 CPU수단과, 상기 CPU로부터 전송된 상기 PWM 펄스를 발생하기 위해 데이터로부터 상기 스위칭 소자에 게이트 펄스를 발생하고 전송하기 위한 펄스발생장치를 구비한 전동기제어용 마이크로컴퓨터에 있어서, 상기 펄스발생장치의 대응하는 레지스터에 저장되도록 한쌍의 상측 및 하측 아암에 대해 정부 PWM 펄스의 상기 타이밍 축을 규정하기 위한 기준시간 데이터와, 상기 정펄스 및 상기 부펄스 사이의 데드타임을 규정하기 위한 작업시간 데이터아이팀과, 상기 정 PWM 펄스 및 상기 부PWM 펄스의 하나의 2진상태를 지정하기 위한 상태데이터와, 상기 인버터회로의 부하전류 검출방향에 따라 상기 기준펄스에 대하여 상기 정부펄스의 첫 번째 변환이 지연되고 마지막 변환이 전진방향으로 이동되는 제1의 방법과 상기 기준 펄스에 대하여 상기 정부 PWM 펄스의 첫 번째 변환만이 전진방향으로 이동되는 제2의 방법과 상기 기준신호에 대해 상기 정부 PWM 펄스의 마지막 변환만이 지연되는 제3의 방법으로부터 출력전압의 에러를 방지할 수 있는 방법을 선택하여 발생되는 연산제어신호와, 상기 연산제어신호를 포함하는 상기 제어신호를 발생하기 위한 CPU와, 발생되는 펄스쌍의 타이밍축을 규정하는 기준시간 데이터를 저장하기 위한 기준시간 데이터 레지스터와; 상기 기준시간 데이터와 관련하여 각각의 상기 펄스의 타이밍 관계를 나타내는 작업시간 데이터를 각각 저장하기 위한 제1 및 제2의 작업시간 데이터 레지스터와; 상기 펄스쌍의 하나의 펄스의 2진상태를 지정하는 상태데이터를 각각 저장하기 위한 제1 및 제2의 펄스출력 레지스터와; 제어신호를 저장하기 위한 제어 레지스터와; 클럭펄스를 계수하기 위한 카운터와; 각각의 상기 펄스의 첫 번째 변환과 마지막 변환에 대한 시간데이터를 연산식으로 구할 수 있도록 상기 기준시간 데이터와 각각의 상기 작업시간 데이터를 인출하기 위한 연산장치와; 상기 연산장치에서 구해진 각각의 상기 펄스의 상기 시간데이터의 전송타이밍을 제어하기 위한 전송제어장치와; 상기 전송제어장치로부터 전송된 각각의 상기 펄스의 상기 시간데이터를 각각 저장하기 위한 제1 및 제2의 시간데이터 레지스터와; 상기 카운터의 값과 각각의 상기시간데이터 레지스터의 상기 시간데이터 값이 일치하면 일치신호를 전송하도록 그 값들을 비교하기 위한 제1 및 제2의 비교기를 포함하는 펄스발생장치로 이루어지고, 상기 연산장치가 상기 레지스터에 저장된 연산제어 신호에 응답하여 정의되는 연산을 실행하고, 상기 전송제어 장치가 상기 제어 레지스터에 저장된 전송제어신호에 응답하여 각각의 상기 시간데이터의 상기 전송타이밍을 제어하고, 상기 제1의 펄스출력 레지스터가 상기 저장상태 데이터의 반전상태에서 리세트되는 출력단자를 구비하고, 상기 제2의 펄스출력 레지스터가 상기 저장상태 데이터의 2진상태에서 리세트되는 출력단자를 구비하고, 상기 출력단자쌍의 2진상태는 한 개의 일치신호가 대응하는 비교기로부터 제공되면 반전되고 다음 일치신호가 인가되면 리세트되고, 상기 카운터가 상기 제어 레지스터에 주기적으로 저장된 리세트 신호에 응답하여 리세트 되고, 상기 기준시간 데이터, 각각의 상기 작업시간 데이터, 상기 상태데이터 및 상기 제어신호가 상기 카운터의 상기 카운트업 리세트 신호의 전송주기에 응답하여 외부로부터 제공되는 것을 특징으로 하는 전동기 제어용 마이크로컴퓨터.CPU means for conveying an output voltage command and a carrier wave of the inverter circuit exclusively for electric motor operation to calculate a PWM pulse for controlling a switching element of the inverter circuit, and the switching from data to generate the PWM pulse transmitted from the CPU. A motor control microcomputer having a pulse generator for generating and transmitting gate pulses to an element, said motor axis being defined, wherein said timing axis of said PWM pulses is defined for a pair of upper and lower arms to be stored in corresponding registers of said pulse generator. Reference time data for performing, a working time data eye team for defining dead time between the positive pulse and the sub-pulse, and state data for designating one binary state of the positive PWM pulse and the sub-PWM pulse. And a phase relative to the reference pulse according to the load current detection direction of the inverter circuit. A first method in which the first conversion of the positive pulse is delayed and the last conversion is moved in the forward direction and a second method in which only the first conversion of the positive PWM pulse is moved in the forward direction relative to the reference pulse and the reference signal Generate a control signal generated by selecting a method capable of preventing an error of an output voltage from a third method in which only the last conversion of the positive PWM pulse is delayed, and the control signal including the operation control signal A reference time data register for storing reference time data that defines a CPU for generating the timing axis of the generated pulse pair; First and second working time data registers for storing working time data respectively representing timing relationships of the respective pulses with respect to the reference time data; First and second pulse output registers for storing state data specifying binary states of one pulse of said pulse pair, respectively; A control register for storing a control signal; A counter for counting clock pulses; An arithmetic unit for retrieving the reference time data and each of the working time data so as to obtain time data for the first and last transformation of each pulse; A transmission control device for controlling the transmission timing of the time data of each of the pulses obtained by the computing device; First and second time data registers for storing said time data of each said pulse transmitted from said transmission control device, respectively; And a pulse generating device including first and second comparators for comparing the values of the counter and the time data value of each of the time data registers to compare the values so as to transmit a matching signal. Executes the operation defined in response to the operation control signal stored in the register, and the transmission control device controls the transmission timing of each of the time data in response to the transmission control signal stored in the control register, A pulse output register having an output terminal reset in an inverted state of the stored state data, the second pulse output register having an output terminal reset in a binary state of the stored state data, the output The binary state of a terminal pair is reversed when one match signal is provided from the corresponding comparator and the next match Is reset, the counter is reset in response to a reset signal periodically stored in the control register, and the reference time data, each of the working time data, the status data, and the control signal of the counter are reset. And a motor control microcomputer provided in response to a transmission period of the count-up reset signal.
KR1019910001758A 1990-02-01 1991-02-01 Pulse generator and microcomputer with it KR100195396B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP02345590A JP3195975B2 (en) 1990-02-01 1990-02-01 Pulse signal generator, microcomputer, and content addressable memory
JP2-23455 1990-02-01

Publications (1)

Publication Number Publication Date
KR100195396B1 true KR100195396B1 (en) 1999-06-15

Family

ID=12110980

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910001758A KR100195396B1 (en) 1990-02-01 1991-02-01 Pulse generator and microcomputer with it

Country Status (2)

Country Link
JP (1) JP3195975B2 (en)
KR (1) KR100195396B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3323655B2 (en) * 1994-07-27 2002-09-09 株式会社日立製作所 Control processing device and one-chip microcomputer
JP2912290B2 (en) * 1997-03-25 1999-06-28 日本電気アイシーマイコンシステム株式会社 PWM control circuit
CN110142965B (en) * 2019-05-17 2021-07-27 珠海赛纳三维科技有限公司 Servo motor drive circuit and 3D printing device

Also Published As

Publication number Publication date
JPH03228102A (en) 1991-10-09
JP3195975B2 (en) 2001-08-06

Similar Documents

Publication Publication Date Title
US5418932A (en) Generation of width modulated pulses by relatively adjusting rising and falling edges upon comparison of counter with programmably stored values
KR950004453B1 (en) Register circuit having the function of inter-register copying
US4733346A (en) Data processor with multiple register blocks
US4200936A (en) Asynchronous bidirectional direct serial interface linking a programmable machine function controller and a numerical control
US4443848A (en) Two-level priority circuit
US4310880A (en) High-speed synchronous computer using pipelined registers and a two-level fixed priority circuit
KR100195396B1 (en) Pulse generator and microcomputer with it
EP0276794A2 (en) Data input circuit having latch circuit
JP2548428B2 (en) Timing generator
US5958039A (en) Master-slave latches and post increment/decrement operations
JPH03190530A (en) Power distributor
JP2643579B2 (en) Microcomputer
JP2808548B2 (en) Processor operation state transition control device from current state to subsequent state
US5497473A (en) Control circuit for controlling a cache memory divided into a plurality of banks
CN113515063B (en) Multi-core processor circuit
JPS6339939B2 (en)
US4467417A (en) Flexible logic transfer and instruction decoding system
JPH0115900B2 (en)
JP2626125B2 (en) Microcomputer
JPH0133862B2 (en)
JPS6054065A (en) Synchronous controller
JP2870812B2 (en) Parallel processor
JPH06216724A (en) Comparator device and its clock supply controller
SU691845A1 (en) Polyfunctional module
JPH03214275A (en) Semiconductor integrated circuit

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: 20040202

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee