摘要:
A multiplication, division and square root extraction apparatus which calculates the solutions to addition, division and square root extraction functions by approximation using iteration has a multiplier, an adder-subtracter and a shifter of prescribed bit width connected to a bus. Iteration is conducted by inputting the output of the multiplier to the adder-subtracter or the shifter and returning the result to the input of the multiplier via the bus. A shifter and an arithmetic and logic unit connected to a second bus connected to the aforesaid bus via a switch have a greater bit width than the prescribed bit width and are used for large scale calculations, thus preventing a reduction in processing speed.
摘要:
A counter timer device includes a plurality of registers each capable of performing any of the function of a counter/timer register, the function of a capture register and the function of a compare register, in accordance with a command from a central processing unit, and a plurality of task registers corresponding to tasks which are to be carried out by using the above registers. Each of the task registers stores a task instruction for specifying a counter/timer register and a capture/compare register which are used in a task, and for specifying the operation mode of each of the specified registers. The task registers are scanned to successively read out the task instructions, and each of the read-out task instructions controls the operation of each of registers used in a corresponding task. Thus, tasks corresponding to the task instructions are all carried out at once.
摘要:
In a coprocessor system having a central processing unit (CPU), a floating-point processing unit (FPU) and a memory (RAM), coupled with each other through buses, when the CPU issues a save command to the FPU, the FPU discriminates the attribute, i.e., a long command or a short command, of a current command executed by the FPU upon receipt of the save command and the internal status thereof. In response to the discrimination result, the FPU interrupts the execution of the current command at once to start the execution of the received save command, when the current command is a long command, and the FPU executes the received save command after the completion of execution of the current command, if the current command is a short command. The attribute of a command is determined in advance on the basis of a time necessary for executing the command and a predetermined criterion provided therefor.
摘要:
An analog-digital converting device is designed such that when an operation of converting a special analog signal into a digital signal and an operation of converting another analog signal into a digital signal are instructed concurrently, priority is given to the conversion operation of the special analog signal, The analog-digital converting device includes an analog multiplexer having a main channel and a sub channel, a sample holder, an AD converter, a conversion result register having a plurality of storage areas, and an AD control circuit for controlling the drive of the individual components according to an instruction of a CPU. When the analog signals input to the channels are converted into digital signals in sequence, priority is given to AD conversion of the analog signal input to the main channel over AD conversion of the analog signal input to the sub channel.
摘要:
A multiplication, division and square root extraction apparatus which calculates the solutions to addition, division and square root extraction functions by approximation using iteration has a multiplier, an adder-subtracter and a shifter of prescribed bit width connected to a bus. Iteration is conducted by inputting the output of the multiplier to the adder-subtracter or the shifter and returning the result to the input of the multiplier via the bus. A shifter and an arithmetic and logic unit connected to a second bus connected to the aforesaid bus via a switch have a greater bit width than the prescribed bit width and are used for large scale calculations, thus preventing a reduction in processing speed.
摘要:
A position/speed detection method and apparatus employing an encoder mounted on the rotary shaft of a motor in order to control the position and speed, wherein the coarse position and fine position are simultaneously detected by an encoder pulse and an encoder original signal, respectively and the detected results are combined to detect the position and speed of the motor with high precision.
摘要:
The interface portion of a coprocessor is provided with a FIFO (First-In First-Out) buffer and means for accepting instructions in succession. Pipeline control of the instructions becomes possible in this way, and protocol means associated with a microprocessor is also provided.
摘要:
Disclosed is a position detecting method and apparatus which are suitable for detecting the position of a moving body on the basis of the output of a position detector for generating two-phase periodic waves having a phase difference of a quarter period, the method comprising the steps of: comparing either one of the two-phase periodic waves with a predetermined reference value having hysteresis to thereby obtain a roughly estimated position for every half period of the one periodic wave; analog-to-digital converting the two-phase periodic waves and a zero-cross value for every sampling period to thereby obtain a finely estimated position; and detecting the position of the moving body on the basis of the roughly estimated position and the finely estimated position while correcting an error due to the hysteresis at the starting point of the roughly estimated position, by use of the relationship between the roughly estimated position and the finely estimated position. According to this method/apparatus, continuity between the roughly estimated position and the finely estimated position can be maintained, so that exact and high-resolution position detection can be performed.
摘要:
A multiplication, division and square root extraction apparatus which calculates the solutions to addition, division and square root extraction functions by approximation using iteration has a multiplier, an adder-subtracter and a shifter of prescribed bit width connected to a bus. Iteration is conducted by inputting the output of the multiplier to the adder-subtracter or the shifter and returning the result to the input of the multiplier via the bus. A shifter and an arithmetic and logic unit connected to a second bus connected to the aforesaid bus via a switch have a greater bit width than the prescribed bit width and are used for large scale calculations, thus preventing a reduction in processing speed.
摘要:
A pulse generating device according to the present invention is operated in accordance with a pulse control command including output time data about output pulse given from external equipment such as a CPU. The pulse control command including the output time data about the output pulses is transferred to a master memory of a contents addressable memory at an optional timing from outside. The contents of that master memory are copied to a slave memory in response to copy enable signals transmitted from a copy enable device. The copy enable signals are transmitted whenever a predetermined number synchronizing signals showing an end of the pulse period are generated from the interval timer. The contents addressable memory reads out the output control command of the output pulse from a slave memory when the timer value of the interval timer coincides with the time data of the slave memory. The output control circuit transmits output pulses which correspond to the control command read out as described above. As a result, if the output time data is reloaded at an optional timing from outside, the generation of an error in the pulse width of the output pulse can be prevented. Furthermore, the load of the CPU can be reduced.