WO2000014483A1 - Detecteur de position - Google Patents

Detecteur de position Download PDF

Info

Publication number
WO2000014483A1
WO2000014483A1 PCT/JP1998/003934 JP9803934W WO0014483A1 WO 2000014483 A1 WO2000014483 A1 WO 2000014483A1 JP 9803934 W JP9803934 W JP 9803934W WO 0014483 A1 WO0014483 A1 WO 0014483A1
Authority
WO
WIPO (PCT)
Prior art keywords
position data
output
request signal
time
correction
Prior art date
Application number
PCT/JP1998/003934
Other languages
English (en)
French (fr)
Inventor
Takashi Okamuro
Hirokazu Sakuma
Original Assignee
Mitsubishi Denki Kabushiki Kaisha
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 Mitsubishi Denki Kabushiki Kaisha filed Critical Mitsubishi Denki Kabushiki Kaisha
Priority to CN98814234A priority Critical patent/CN1309760A/zh
Priority to JP2000569183A priority patent/JP3538145B2/ja
Priority to EP98941684A priority patent/EP1116936A4/en
Priority to PCT/JP1998/003934 priority patent/WO2000014483A1/ja
Publication of WO2000014483A1 publication Critical patent/WO2000014483A1/ja
Priority to US09/746,539 priority patent/US6348695B2/en
Priority to HK02101063.8A priority patent/HK1039517A1/zh

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains

Definitions

  • the present invention relates to a position detection device, and more particularly to a position detection device that calculates data representing the position of a device under test from the output of a sensor for detecting the position of the device under test.
  • Some position detection devices calculate the data representing the position of the device under test from the output of the sensor. That is, a certain amount of time (which cannot be ignored) is required to obtain the position data from the output of the sensor. Device is present.
  • FIG. 10 shows an example of such a conventional position detecting device.
  • the position detecting device 110 is a so-called optical encoder, which is connected to the motor controller 132 via a serial transmission line 131.
  • the position detecting device 110 includes a light emitting circuit 111, a light receiving circuit 112, a scale plate 113, and an amplifier 114.
  • the position detection device 110 has a sample-and-hold unit 115, a multiplexer 116, an A / D converter 117, a microcomputer 118, a serial signal conversion circuit 119, and serial signal transmission and reception.
  • the circuit 120 is provided.
  • the light-emitting circuit 111 is a circuit including M (M is plural) light-emitting elements 121.
  • the light receiving circuit 1 1 2 includes M light receiving elements 1 2 2 that convert the light from the M light emitting elements 1 2 1 in the light emitting circuit 1 11 into electric signals (analog signals), respectively. It is a circuit that includes.
  • the scale plate 1 i 3 (also called slit or code plate) changes the intensity of light incident on the M light-receiving elements 122 in the light-receiving circuit 112 depending on its state (rotation angle).
  • a scale plate 13 3 with a sine wave slit is used, but even if a rectangular slit is used, a signal close to a sine wave due to the diffraction effect of light is used. (Pseudo sine wave signal) is obtained, and this may be used.
  • the scale plate 133 is usually attached to a rotating shaft of a motor controlled by a motor controller 132.
  • the amplification unit 114 is a circuit that amplifies the output of each light receiving element 122 in the light receiving circuit 112. That is, the amplifying unit 114 is a circuit that outputs M analog signals.
  • the sample and hold section 115 includes M amplifier circuits in the amplifier section 114 and M sample and hold circuits respectively connected thereto. A sample and hold signal from the microcomputer # 18 is supplied to all the sample and hold circuits in the sample and hold section 115. In other words, the sample-and-hold unit 115 holds the time-varying M signals output from the amplifier circuit 114 when a sample-and-hold signal that commands a hold operation is input, and simultaneously holds the signals. It is a circuit that keeps outputting the M signals that have been cleared.
  • the multiplexer 1 16 is a circuit that outputs a signal specified by the microcomputer 118 from the M signals output from the sample and hold section 115.
  • the A / D converter 117 is a circuit that converts the analog signal output from the multiplexer 116 into a digital signal.
  • the operation timing of the AZD converter 117 is also controlled by a microcomputer. Done by eighteen.
  • the serial signal conversion circuit 119 converts the parallel signal from the microcomputer 118 into a serial signal and supplies the serial signal to the serial signal transmission / reception circuit 120, and vice versa.
  • the serial signal conversion circuit 119 when a predetermined signal is supplied from the serial signal transmission / reception circuit 120 (the request signal is received by the serial signal transmission / reception circuit 120, and a signal corresponding to the request signal is received).
  • the serial signal transmission / reception circuit 120 when sent from the serial signal transmission / reception circuit 120), to notify that effect The signal is output to the microcomputer 118.
  • the serial signal transmission / reception circuit 120 is an interface circuit with the motor controller 1332.
  • the serial signal transmission / reception circuit 120 performs predetermined processing (calculation of CRC, start bit, stop bit) on the serial signal supplied from the serial signal conversion circuit 19. ) To generate a transmission signal and supply the generated transmission signal to the motor controller 132 via the serial transmission line 13 1.
  • the serial signal transmission / reception circuit 120 also performs a process of creating a serial signal corresponding to the transmission signal received from the motor controller 132.
  • the microcomputer 118 is a control circuit of the position detecting device 110, including an input circuit 123, an output circuit 124, a CPU 125, and a timer 126.
  • the output of the AZD converter 117 is , Which is provided to the CPU 125 via the input circuit 124.
  • the sample hold signal is output from an output circuit 125 controlled by the CPU 125, and the serial signal conversion circuit 119 is connected to the CPU 125.
  • the force position detector 110 which is not shown, detects the one rotation of the scale plate i 13 from the output of a specific light receiving element 122 in the light receiving circuit 112. And a multi-turn counter that counts the number of rotations of the scale plate 113 based on the detection result of the circuit, and the multi-turn counter is also connected to the CPU 125. .
  • FIG. 11A shows the timing of receiving a request signal from the position detecting device 110 and the motor controller 132
  • FIG. 11B shows the timing of receiving the request signal from the motor controller 132
  • FIG. FIG. 9 is a diagram showing a time change of a value of a timer 12 in 18.
  • C is a diagram showing a time change of the sample-and-hold signal output from the microcomputer 118 to the sample-and-hold unit 115
  • (D) is a diagram of the content of the processing executed by the CPU 125. It is a figure showing a time change.
  • E is a diagram showing the timing at which the position signal is transmitted from the position detecting device 110. It is.
  • the position detecting device 110 When the position detecting device 110 receives a request signal from the motor controller 132 via the serial transmission line 131, the position detecting device 110 transmits position data representing the position of the scale plate 113 at that time. This is a device that supplies the held position signal to the motor controller 132 via the serial transmission line 131 as a response to the request signal.
  • the position data passed to the controller 13 is composed of two bytes of data indicating the number of rotations of the scale plate 13 and the two bytes of data related to the rotation angle of the scale plate 13. Consists of Since the former data is obtained from the multi-turn count, the data on the required time can be obtained immediately. Since the data on the force and the rotation angle are calculated by numerical calculation based on the output of the light receiving unit 112, it takes a relatively long time to complete the process for obtaining it. Is required. Therefore, if the processing is started so that the request signal is received, the controller 13 outputs the slit signal at the request signal transmission time some time after the request signal is transmitted. You will end up receiving the position data representing the position of 1 1 3.
  • the position data indicating the position of the scale plate 113 is obtained.
  • a position detecting device that calculates (estimates) position data for a transmission time from position data derived from a measured value and transmits the position data without waiting for reception of a next request signal.
  • the CPU 125 in the position detecting device 110 whenever detecting that the request signal has been received, Evening Clear 1 2 6 to 0. Then, the CPU 125 starts the processing for obtaining the position data when the value of the timer 126 becomes TM. Note that TM SET Is data given to the CPU 125 in advance.
  • CPU 125 starts processing for obtaining position data at time t e at which time TM SET has elapsed from time t b .
  • the CPU 125 first sets the sample hold signal to “L”, thereby setting the sample hold unit 1 15 holds the M signals output from the amplifiers 1 14.
  • the multiplexers 116 and the AZD converters 117 are controlled to obtain M data according to the outputs of the M light receiving elements.
  • the CPU 125 returns the sample-and-hold signal to "H”, and determines the sample-and-hold signal to be "L” from the obtained M data and the value of the multi-turn counter (the AZD converter i 17 Ho for - field life if is issued) time in a time t b in the position data DT. Is calculated.
  • the data consisting of the counter value is the position data DT. It is said.
  • the CPU 125 obtains transmission position data S Do, which is position data to be notified to the motor controller 132 as a response to a request signal to be received thereafter, by the following equation (hereinafter, correction equation and The calculation using is performed.
  • SD- ,, SD- 2 are each a previous time before last, calculated (transmitted) to the transmission position de Isseki, TM RQ
  • the motor controller port is connected to the position detecting device 1 1 0 - a data given in advance to the CPU 1 25 as the period of Rikuesuto signal La 1 32 outputs.
  • the transmission position data SD is obtained by the above correction formula. Briefly explain why you are getting
  • Time t when the hold command is issued in the position detecting device 110 Is the time when the time TM SET elapses from the reception time t b of the request signal, and the next time the request signal is received should be the time t d when the time TM RQ elapses from the time t b is there. Therefore, the transmission position data SD that should be transmitted when the next request signal is received. Is the speed of change (the amount of change per unit time) V of the position of the scale plate 113 between times t e and t d, and is expressed by the following equation.
  • the conventional position detecting device 110 operates as described above, if the cycle of the request signal from the controller 132 exactly matches the TMR0 , the request is issued. When the signal is received, the controller can be notified of the position data indicating the position of the scale plate 113 at that time.
  • the position detecting device 1 1 when it receives the request signal, the position representing the position of the scale plate 1 3 1 at that time Data cannot be sent to the motor controller 1 32.
  • the transmission position data calculated by the CPU 125 is the time TMRQ from the last reception of the request signal.
  • the position data represents the position of the scale plate 113 when the time has elapsed, and is not the time when the time IRQ has elapsed.
  • the conventional position detection device 110 can be used in combination with another controller having a different request signal cycle, or in combination with a controller that changes the request signal cycle by itself. It was impossible.
  • the transmission timing of a request signal is managed by a power node and a software. That is, transmission of a request signal once every few times is performed in synchronism with a signal with a precise cycle output by hardware, and the timing of transmission of other request signals is controlled by software.
  • the interval between request signals input to the position detection device 110 will fluctuate.
  • the conventional position detection device 110 outputs erroneous transmission position data, so that the control of the motor is not properly performed. There was a case.
  • the period in which the position data can be supplied to the controller 1332 is determined by the transmission time of the position signal determined by the number of bits of the transmission position data, or It is limited by the time required to calculate the transmission position data, and as a result, the device may not be able to properly control a motor or the like.
  • the position detecting device 110 transmits a control signal (CD) 80 K 4-byte transmission position data signal (SD.) 902 and an alarm.
  • This device transmits a total of 7 frames of signals (ALM) 903 and cyclic redundancy check (CRC) 904 to the motor controller 132 as position signals.
  • ALM frames of signals
  • CRC cyclic redundancy check
  • the total number of bits of this signal is 70 bits as shown in the figure. Become.
  • the time required for the transmission of the 7 0 bit signals, if the transfer rate of the serial communication is 2. 5 M bps, the 2 8 s ( 7 0 / (2. 5 x 1 0 6)) Therefore, the position detecting device 110 cannot notify the motor controller 132 of the position data at a cycle shorter than this time. If the data transfer speed of serial communication is increased, the cycle can be shortened. However, it is practically impossible to increase the transfer speed to a value higher than the current one, because the signal becomes dull on the serial transmission line.
  • the time required for calculating the transmission position data is also the same time as the time required for transmitting the position signal, as schematically shown in FIG.
  • position data may not be obtained in the cycle required for the control depending on the control content.
  • an object of the present invention is to provide a position detecting device that can more appropriately control a controlled device such as a motor that moves the position of an object to be measured. Disclosure of the invention
  • a position detecting device includes: detecting means for detecting reception of a request signal requesting output of position data; and detecting when a predetermined time has elapsed since detection of the request signal by the detecting means.
  • a sensor output measuring means for measuring a sensor output to detect a position of the object; and a position of the object to be measured at the time of the measurement based on an output measured by the sensor output measuring means.
  • Position data calculating means for calculating position data; and The position data representing the position of the DUT at the time of receiving the request signal is obtained by using the value obtained by subtracting the predetermined time, the position data calculated by the position data overnight calculation means, and the estimated speed of the DUT.
  • the apparatus includes a correction position data calculating means for calculating certain correction position data, and an output means for outputting the correction position data calculated by the correction position data calculating means as a response to a request signal.
  • the position detection device calculates (estimates) the position data (corrected position data) at the time of receiving the request signal, based on the position data at a certain time calculated based on the output of the sensor. At this time, the elapsed time from that time to the time when the request signal was actually received is used. For this reason, this position detection device is a device that can output accurate position data even when the reception cycle of the request signal changes, and using this position detection device, In this way, an accurate position data can be obtained at a desired frequency. As a result, if the present position detecting device is used, it is possible to more appropriately control a controlled device (for example, a mobile device) that is changing the position of the measured object.
  • a controlled device for example, a mobile device
  • the position detecting device comprises: detecting means for detecting reception of a request signal requesting output of position data; and each time the detecting means detects the reception of the request signal, the request signal is output. After a lapse of a predetermined time from the detection, the position of the device under test is changed every time a period equal to an integral multiple of the cycle of the request signal and an integral multiple of the predetermined output cycle elapses.
  • a measuring process executing means for executing a process of measuring the output of the sensor for detection, and each time the output of the sensor is measured by the measuring process executing means, measurement is performed using the measured output.
  • Position data calculating means for calculating position data representing the position of the DUT at the time of the measurement, and calculating the position data every time the position data is calculated by the position data calculating means.
  • the corrected position data which is the position data representing the position of the DUT at the point when it first arrives after the output is measured by the output measuring means
  • the corrected position data is output at the time when the corrected position data indicates the position.
  • a correction position data output unit for calculating position data representing the position of the DUT at the time of the measurement, and calculating the position data every time the position data is calculated by the position data calculating means.
  • the calculation and transmission of the corrected position data are performed at a predetermined output cycle while occasionally synchronizing with the request signal. Therefore, if this position detecting device is combined with, for example, a device (for example, a motor controller) that transmits only a request signal having a precise cycle time managed by the hardware, the reception interval of the request signal varies. As a result, the adverse effect on the control of the controlled device (for example, a motor) can be minimized.
  • a device for example, a motor controller
  • a monitoring means for monitoring a change speed of the position of the object to be measured, and a value of an output cycle according to a monitoring result by the monitoring means
  • Output cycle changing means for changing the value to another value that is a fraction of the integer of
  • a bit length changing means for changing the bit length of the position data calculated by the position data calculating means according to the monitoring result by the monitoring means can be added.
  • the position detecting device By using the position detecting device according to the present invention to which monitoring means and the like are added, it is possible to control the controlled device changing the position of the device under test in an environment corresponding to the speed of change of the position of the device under test. Therefore, more appropriate control of the controlled device becomes possible. Further, when realizing the position detecting device according to the present invention, the value of the output cycle is set to an integer fraction of the cycle of the request signal in accordance with the designation information included in the request signal detected by the detecting means. Output cycle changing means for changing to another value can be added.
  • the position detecting device may be configured to change the value of the output cycle in accordance with an instruction from the connected device.
  • the position detection device detects reception of a request signal requesting output of position data, and outputs the request signal having detected the reception to a first type request.
  • Detection determining means for determining whether the signal is a quest signal or a type 2 request signal; and each time the type 1 request signal is detected by the detection determining means, the reception of the type 1 request signal is detected.
  • the process of measuring the output of the sensor for detecting the position of the object to be measured is executed every time an integer multiple of the cycle of the previously given request signal elapses. Each time the sensor output is measured by the measurement processing execution means, the measured output is used to calculate position data representing the position of the DUT at the time of the measurement.
  • Each time position data is calculated by the position data calculating means, the position data, period, predetermined time, and the object to be measured are estimated. Measured at the time when an integer multiple of the period has elapsed since the reception of the type 1 request signal and the first time after the output was measured by the sensor output measuring means Correction position data calculation means for calculating the correction position data which is position data representing the position of the object; and correction position data calculated each time the correction position data is calculated by the correction position data calculation means. And a corrected position data output means for outputting as a response to the first type request signal or the second type request signal whose reception is detected by the detection determining means after the calculation.
  • the first type request signal is used as a signal for determining a timing for starting a process for acquiring corrected position data and a signal for determining a timing for executing data output (transmission).
  • the type 2 request signal is used only as a signal for determining the timing for performing the data output, and the start timing of the processing for acquiring the corrected position data output at the time of the data output is as follows. It is determined based on the reception time of one type of request signal.
  • the position detecting device outputs a type 1 request signal when outputting a request signal by hardware management, and a device that outputs a type 2 request signal when outputting a request signal by software management (for example, Evening controller), the transmission timing of the request signal is Even if the fluctuation occurs, the control of the controlled device (for example, the motor) that changes the position of the DUT can be performed without any problem.
  • a type 1 request signal when outputting a request signal by hardware management
  • a device that outputs a type 2 request signal when outputting a request signal by software management for example, Evening controller
  • a signal of the first predetermined number of bits representing the corrected position data is output.
  • the request signal is sent out as a detection result on the serial transmission line to which the device that outputs the request signal is connected, and the corrected position data output second and subsequent times by the corrected position data output means are output with the corrected position data and the previous output. It is possible to add transmission means for transmitting a signal having a second predetermined number of bits smaller than the first predetermined number of bits, which represents the difference between the corrected position data, as a detection result on the serial transmission path.
  • the position detecting device to which the transmitting means is added stores the corrected position data represented by the first input signal as absolute position data, and stores the data represented by the subsequently input signal as absolute data.
  • a device that adds to the position data and treats the absolute position data after the addition as data representing the position of the DUT at that point in time and that directly or indirectly controls the DUT For example, in combination with a motor controller, the time required for transmitting the corrected position data can be reduced. That is, the frequency of acquiring the corrected position data can be increased, and as a result, the controlled device (for example, a motor) can be more appropriately controlled.
  • FIG. 1 is an explanatory diagram illustrating a configuration of a position detection device according to a first embodiment of the present invention.
  • FIG. 2 is a flowchart illustrating an operation procedure of a CPU in the position detection device according to the first embodiment.
  • FIG. 3 is a timing chart for explaining the operation of the position detecting device according to the first embodiment.
  • FIG. 4 is a timing chart illustrating the operation of the position detecting device according to the second embodiment of the present invention.
  • FIG. 5 is a flowchart showing an operation procedure of the CPU.
  • FIG. 5 is a timing chart for explaining the operation of the position detecting device according to the second embodiment.
  • FIG. 6 is a flowchart showing an operation procedure of the CPU in the position detecting apparatus according to the third embodiment of the present invention.
  • FIG. 1 is an explanatory diagram illustrating a configuration of a position detection device according to a first embodiment of the present invention.
  • FIG. 2 is a flowchart illustrating an operation procedure of a CPU in the position detection
  • FIG. 7 is an operation chart of the position detecting apparatus according to the third embodiment.
  • FIG. 8 is a flowchart showing the operation procedure of the CPU in the position detecting device according to the fourth embodiment of the present invention
  • FIG. 9 is a timing chart of the present invention.
  • FIG. 10 is an explanatory diagram showing the operation of the position detecting device according to the fifth embodiment.
  • FIG. 10 is an explanatory diagram showing the configuration of the conventional position detecting device.
  • FIG. 11 is a diagram showing the conventional position detecting device.
  • Fig. 12 is a timing chart for explaining the operation of Fig. 12, and Fig. 12 is an explanatory diagram showing signals sent from a conventional position detecting device to a motor controller.
  • FIG. 1 shows a schematic configuration of the position detecting device according to the first embodiment of the present invention.
  • the position detecting device 10 is a so-called optical rotary encoder, and includes a light emitting circuit 1 and a light receiving circuit 12, a scale plate 13 and an amplifying unit 14. Further, the position detecting device 10 also includes a sample-and-hold unit 15, a multiplexer 16, an A / D converter 17, a microcomputer 18, a serial signal converting circuit 19, and a serial signal receiving circuit 20. Further, the position detection device 10 detects a single rotation of the scale plate from the output of the specific light receiving element 22 (not shown). The circuit detects that the scale plate 13 rotates once. It is a counter that counts up each time it runs, and includes a multi-turn counter (not shown) that is a counter connected to the CPU 25. The position detecting device 10 is used by being connected to the motor controller 32 by a serial transmission line 31.
  • FIG. 2 is a flowchart showing the operation procedure of the microcomputer 18 (CPU 25).
  • FIG. 3 (A) is a diagram showing the timing at which the position detecting device 10 receives a request signal from the motor controller 32
  • FIG. 3 (B) is a diagram showing the timing when the position detecting device 10 receives the request signal from the motor controller 32.
  • FIG. 7 is a diagram showing a time change of a value of 6;
  • (C) is a diagram showing the timing at which a sample-and-hold signal is output from the microcomputer 18 to the sample-and-hold unit 15, and
  • (D) is a graph showing the time change of the processing executed by the CPU 25.
  • FIG. (E) is a diagram showing a timing at which a position signal holding transmission position data is transmitted from the position detection device 10.
  • the process executed by the CPU 25 is a first branch process started when the value of the timer 26 reaches a predetermined value TM SET (step S 110). And a second branching process (step S120) that is started when a request signal is received, and another software process (step S1120) that is performed when each branching process is not performed. 30).
  • the CPU 25 suspends the other software processing being executed, and sets the sample-and-hold signal to “L” first, thereby causing the sample-and-hold section 15 Then, the M signals from the amplification section 14 are held (step S111). That, CPU 25 fixes the signal input to the multiplexer 1 6, the signal representing the state of the scale plate 1 3 at the time when the value of the timer 2 6 becomes TM SET.
  • the CPU 25 supplies a predetermined selection signal to the multiplexer 16 so that one of the M signals input to the multiplexer 16 is supplied to the A / D converter 17. (Step S 1 1 2).
  • the CPU 25 operates the AZD converter i7, and as a result, remembers the data output from the AZD converter 17 (step S113).
  • the CPU 25 does not perform the processing of steps S112, 113 in the signal output from the multiplexer 16. If the signal remains (step S114: No), the process returns to step S112 to process the unprocessed signal.
  • Step S114 When the acquisition of the A / D conversion results of all (M) signals output from the multiplexer 16 is completed (Step S114: Yes), the CPU 25 returns the sample hold signal to "H". (Step S115), from the obtained M data and the value of the multi-rotation counter, calculate and store the position data DTo when the value of the evening image 26 is TM SET (Step S115) S1 16). Then, the CPU 25 ends the first branch process and starts another software process.
  • the CPU 25 When detecting that the request signal has been received, the CPU 25 starts the second branching process (step S120), first reads the value of the timer 26 at that time, and sets the TM. (Step S 1 2 1). Next, the CPU 25 clears the timer 26 to 0 (step S122).
  • the CPU 25 moves to position DT.
  • the transmission position data by adding to the —SD.
  • a correction amount which is a value that can be obtained is calculated (step S123).
  • the previously calculated transmission position data two times before, the calculated transmission position data SD 2 , the timer value read during the previous execution of the second branch processing ⁇ - ⁇
  • the timer value TM read this time.
  • DTD (SD- '- SD 2 ) x (TMo - TM SET) / TM-, where with reference to FIG. 3, according to the above equation, the correction amount (.. The difference between the SD and DT) is calculated The reason for this is briefly explained.
  • Time t transmission position data SD to be transmitted in response to the received request signal d Is the position data DT. At time t. This is data that can be obtained by adding the amount of change in position between t and td. Then, the change amount (that is, the correction amount DTD) is expressed by the following equation, where V is the speed of change of the position (change amount per unit time) between times t e and t d .
  • the CPU 25 calculates the calculated DTD and the position data DT calculated during the first branch processing. By adding the transmission position data SD. Is created (step S124). In this step, the CPU 25 transmits the transmission position data SD-, and the transmission position data SD until then. Also, processing is performed, in which the data stored as is stored as transmission position data SD- 2 and transmission position data, respectively.
  • the CPU 25 sends the created transmission position data SD.
  • the transmission position data SD is supplied to the serial signal conversion circuit 19. Holding the same as the conventional The position signal of this format (see FIG. 12) is transmitted to the serial signal transmission / reception circuit 20 (step S125), and the second branch processing ends.
  • the position detection device 10 measures the reception interval (TM.) Of the request signal, and uses the measured reception interval to obtain the position data D T. Sending location data from SD. Is calculated. Therefore, the position detection device 10 can output accurate position data even when connected to another motor controller having a different request signal cycle.
  • the position detecting device 10 is a device that can output the exact position of the slit plate 13 at a required frequency (however, there is an upper limit of the frequency). Therefore, if the present position detecting device 10 is used, the motor that changes the position (rotation angle) of the slit plate 13 can be controlled more appropriately.
  • the position detection device 10 may be modified so that the DTD is calculated using the speed of change between (+ TMSET).
  • FIG. 1 is used as a diagram showing the configuration. It shall be.
  • the request signal has the period I R.
  • the controller 32 is used in connection with the motor controller 32 that can receive position data even when a request signal is not transmitted.
  • the CPU 25 in the position detecting device has the same value as TM SET and IR0 / N (N is an integer of 2 or more). TM and MT (> TMsET) are given.
  • step S210 the CPU 25 performs a first branching process (step S210), a second branching process (step S220), and other processes. Execute any one of the software processing (step S230).
  • Step S 2 5 when the value of the timer 2 6 becomes TM SET suspends other software processing has been performed so far (Step S 2 3 0), the first minute Toki process (Step S 2 1 0). Further, when a request signal is received from the motor controller 32 and when the value of the timer 26 becomes TM LMT , the second branch processing is executed.
  • the CPU 25 first sets the sample-and-hold signal to “L”, thereby causing the sample-and-hold unit 15 to transmit the M signals from the amplification unit 14 to the sample-and-hold unit 15. Hold (step S211). That, CP U2 5 is a signal input to the multiplexer 1 6, the value of the evening timer 2 6 is fixed to the signal representative of the state of the scale plate 1 3 in when it becomes TM SET.
  • the CPU 25 supplies a predetermined selection signal to the multiplexer 16 so that one of the M signals input to the multiplexer 16 is supplied to the AZD converter 17. Yes (Step S2 1 2).
  • the CPU 25 operates the A / D converter 17 and, as a result, stores the data output from the A / D converter 17 (step S213).
  • the process returns to step S212 to process the unprocessed signal. I do.
  • step S2114 when the processing for all (M) signals is completed (step S2114; Yes), the CPU 25 returns the sample hold signal to "H" (step S215), and The position data DT when the value of timer 26 is TM SET from the M data received. Is calculated (step S2 16).
  • step S227) the correction amount DTD is calculated (step S227). Specifically, in step S227, CP U25 from the transmission position data SD to the previous transmission, the second last, the transmission position data SD- 2, TmLmt that transmitted, and TM SET, by using the following equation, and out calculate the correction amount DTD.
  • DTD 2 (SD— “SD- 2 ”) X (TMLMT-TMSET) / TM LMT
  • the CPU 25 adds the calculated correction amount DTD and the position data DT to obtain the current transmission position data SD. Create and store (Step S228) The CPU 25 ends the first branching process and starts other software processes (Step S230).
  • Step S222 If the cause of the start of the second branch process is the reception of a request signal (Step S222; Yes), the CPU sets the cycle number to "0" (Step S223). On the other hand, if the cause is a match between the value of the timer 26 and the TM LMT (step S222; No), the cycle number is incremented by "1" (step S224).
  • CPU 25 clears timer 26 to 0. Then, CPU 2 5, when the value of the timer 2 6 becomes TM SET, starts first branch processing. Therefore, if the requests signal is received at time t a, a time. Since the timer is cleared to 0, C PU 2 5 is a time (two t a + TMSET), will initiate the first branch processing.
  • the CPU 25 sets the sample-and-hold signal to “L” and controls the multiplexer 16 and the A / D converter 17 to obtain M data. Then, C PU 2 5 returns to the sample-and-hold signal "H", the Isseki the M de acquired position de Isseki DT representing the position at time t b. Is calculated. Furthermore, C PU 2 5, the position change amount of the estimated value of between the time t b until the time t (i.e., the correction amount DTD) the determined, by the child adds the estimated value to the position de Isseki DT, Transmission position data SD representing the position of slit plate i 13 at time t e . Get it.
  • the CPU 25 clears the timer 26 to 0 and then increments the cycle number by “1”.
  • the cycle number becomes "1" indicating that it is the first of the data that is not based on the transmission position data request signal reception, and the CPU 125 includes the cycle number and the transmission position data. Create transmission data. Then, by supplying the transmission data to the serial signal conversion circuit 19, the position signal holding the transmission data is transmitted to the serial signal transmission / reception circuit 20.
  • the motor controller can recognize the time at which the transmitted position data is based on the cycle number included in the received position signal.
  • a request signal is received, so that the CPU 25 clears the timer 26 to 0 and sets the cycle number to “0”. Then, the CPU 25 creates transmission data including the cycle number indicating that the transmission position data is data obtained by receiving the request signal, and converts the transmission data into a serial signal conversion circuit 19. To the serial signal transmitting / receiving circuit 20 according to the transmission data.
  • the position detecting device calculates and transmits position data at a predetermined period TM SET synchronized with the request signal receiving period. Therefore, if the position detection device according to the second embodiment is combined with, for example, a motor controller that transmits only a request signal having an accurate period managed by the hardware, transmission (reception) of the request signal The adverse effect on the motor control due to the variation of the interval can be minimized.
  • the position detection device is a device that transmits a position signal including a cycle number indicating the number of the position data from the reception of the request signal. Since the processing load on the controller is not increased, the position detecting device can be configured to transmit a signal that does not include the cycle number.
  • the hardware configuration of the position detection device according to the third exemplary embodiment of the present invention is the same as that of the position detection device 10 according to the first exemplary embodiment.
  • the CPU 25 in the position detecting device is programmed to operate differently from the CPU 25 in the position detecting device according to the first embodiment.
  • the CPU 25 is supplied with TM SET and TM UMT (> TMSET) whose request signal period matches its value.
  • TM 26 is also provided with TM SET and TM M ⁇ , and timer 26 notifies CPU 25 when the value becomes TM SET , and the value is set to the value.
  • the position detecting device is used by being connected to a mobile controller 32 that transmits a request signal including information named a request determination bit.
  • the request determination bit is information indicating whether or not the request signal is a request signal having an accurate cycle time managed by hardware in the motor controller.
  • the request signal with the correct period is denoted by R Qo
  • RQ the request signal that is not accurate
  • the CPU 25 in the position detecting apparatus performs other software processing when the value of the timer 26 becomes TM SET , as shown in FIG. (S330) is interrupted, and the first branching process (step S310; steps S31i to S318) is executed.
  • This first branching process is exactly the same as the first branching process executed by the CPU in the position detecting device according to the second embodiment described with reference to FIG. 4, and therefore the description thereof is omitted. .
  • the CPU 25 starts the second branching process (step S320), and first, based on the request determination bit included in the received request signal, The request signal is the exact period of the request signal RQ. It is determined whether the request signal is a request signal that does not always have an accurate cycle (step S3221).
  • the received request signal is request signal RQ.
  • the CPU 25 clears the timer 26 to 0 (step S322), and then transmits a position signal (step S323). End the two-branch processing.
  • the received request signal is the request signal RQ. If not (step S32 1; No), the position signal is transmitted without clearing the timer 26 (step S323), and the second branch processing is terminated.
  • request signal RQ The following is the request signal RQ.
  • request signal RQ The following is the request signal RQ.
  • FIG. 7 is a diagram showing the timing at which the position detection device 10 receives a request signal from the motor controller 32, and (B) is a diagram showing the time of the value of the timer 26 in the microcomputer 18. It is a figure showing a change.
  • C) is a diagram showing the timing when the sample and hold signal is output from the micro combination unit 18 to the sample and hold unit 15, and (D) is the content of the processing executed by the CPU 25.
  • FIG. 6 is a diagram showing a time change of the time.
  • E is a diagram showing a timing at which a position signal is transmitted from the position detection device 10.
  • the transmission of a position signal holding the transmission position data SD-2 are performed.
  • the request signal RQo is a signal that determines the timing for starting the processing for acquiring the position data and the signal that determines the timing for executing the data transmission to the motor controller. used.
  • the request signal RQ is used only as a signal that determines the timing of executing data transmission to the controller, and the start timing of the process for acquiring the position data transmitted at the time of the data transmission is , Request signal RQ. Is determined on the basis of the reception time.
  • the present position detecting device is provided with a request discriminating bit indicating that the signal has an accurate period is added to a request signal having an accurate period by hardware, and
  • a motor controller that adds a request discrimination bit indicating that the request signal by software management is not necessarily a signal with an accurate cycle, even if the transmission timing of the request signal by software management fluctuates, The control of the motor itself can be performed accurately.
  • Such a motor controller can be realized with a slight modification of the conventional motor controller.
  • the position detection device according to the fourth embodiment of the present invention is a modification of the position detection device according to the first embodiment, and therefore, only the portions that operate differently will be described here.
  • the position detecting device is a device that transmits a position signal consisting of seven frames every time a request signal is received, as in the conventional position detecting device.
  • the detection device is a device that transmits a position signal of 7 frames at the time of initial communication with the motor controller, and transmits a position signal of 5 frames at the time of subsequent communication.
  • the signal transmitted by the position detecting device according to the fourth embodiment is the same as the signal transmitted by the conventional position detecting device (see FIG. 12). It is a signal that starts and ends with ALM and CRC. However, as shown in Fig. 8 (B), this position detection device uses a part that was not used as a communication error protection signal as a discrimination signal, as shown in Fig. 8 (B).
  • the CPU 25 in the position detecting device is as shown in FIG. 8 (A).
  • CD and SD as well as traditional position detection devices.
  • 7-frame signal consisting of ALM and CRC (hereinafter referred to as initial communication signal) is transmitted Control (mainly the serial signal conversion circuit 19) so that In this case,
  • the CPU 25 includes, as a CD, a CD 801 including a determination signal 807 indicating that its own signal is an initial communication signal. To be sent.
  • the CPU 25 when the CPU 25 first outputs the transmission position data after completing the transmission of the first communication signal, the CPU 25 uses the previous transmission position data SD and the current transmission position data SD.
  • the difference between "SD Q — SD— and the first byte of the current transmission position data SD. SD. LL 803 and a signal containing CD 801 indicating that SD. LL is included are transmitted. So that
  • the next time the transmission position data is output the previous transmission position data SD!
  • SD LH 804 is a second byte of the evening SD, that it contains SD LH is.
  • the signal containing the indicated CD 80 12 is transmitted.
  • the next time the transmission position data is output "SD. — SD 'and SD.
  • And CPU25 is SD. After signal including HH is sent, when transmitting the transmission position data evening is for controlling each unit so that the signal containing the SD Q LL is transmitted. That is, the CPU 25 in the position detecting apparatus according to the fourth embodiment transmits the transmission position data—a 4-byte SD at the time of the first transmission in the evening. Each part is controlled so that signals of 7 frames including are transmitted. Also, the CPU 25 outputs the SD when transmitting the "4 XI-2" second (I is a natural number) of the transmission position data. When the signal containing LL is transmitted and the transmission position data is transmitted "4 x 1-1-1" times, it is SD. Each part is controlled so that a signal including LH is transmitted.
  • the transmission position data when the transmission position data is transmitted for the "4 x 1" time, it is SD. Five frames of signals including HL are transmitted, and at the time of transmission of “4 ⁇ 10th” transmission position data, each part is controlled so that signals including SD and HH are transmitted.
  • the position detecting device stores the transmission position data notified by the first communication signal as absolute position data, and thereafter, every time the position signal is notified from the position detecting device, the difference included in the position signal is stored.
  • the data controller adds data to the absolute position data, and handles the absolute position data after the addition as data representing the position of the slit plate 13 (motor connected to it) at that time.
  • SD. Only one frame is reserved for SD.
  • the controller that sends out a signal containing either Do HH
  • SD Since this is to enable verification of absolute position data using LL or the like, the embodiment 4 is performed so that a signal including “SD. — Including SD- and not including LL” is output.
  • the position detecting device can be modified.
  • the position detection device is a modification of the position detection device according to the second embodiment, and is a motor controller that transmits a request signal at a period I KQ.
  • the CPU 25 in the position detecting device sets TM SET and TMLMT OTMSET whose request signal transmission period I RQ and its value match.
  • FIG. 9 is a diagram showing the timing at which the position detection device receives a request signal from the motor controller 32, and (B) is a diagram showing the position change speed “(SD.I) / FIG. 11 is a diagram showing a time change of TMLMT ".
  • C) is a diagram showing a time change of the value of the timer 26 in the microcomputer 18.
  • D) is a diagram showing a time change of the content of the processing executed by the CPU 25.
  • E is a diagram showing a timing at which a position signal is transmitted from the position detecting device.
  • the position detecting device is named a normal mode and a high-speed mode. Two operation modes are provided. Normal mode, (SD -. SD-,) / TM position change rate is defined by the LMT is operating mode to be selected when it is less V t, the high-speed mode, the position change rate is V t This is the operation mode that is selected when the value exceeds.
  • the CPU 25 clears the timer 26 to 0 and transmits the position signal including the transmission position data already calculated to the serial transmission line 31.
  • the serial signal conversion circuit 19 and the like are controlled so as to be transmitted above.
  • the processing starting with the supply of the “L” level sample / hold signal to the sample / hold section 15 is executed, and the transmission position data is restored. Is calculated.
  • the serial signal conversion circuit 19 and the like are controlled so that the position signal including the transmission position data is transmitted on the serial transmission line 31. .
  • the CPU 25 calculates the transmission position data this time—evening SD. And the position change speed "( SD.- SD) / TM LMT " calculated from and the previously calculated transmission position data, V, and whether or not the speed is less than or equal to. This determination is made at the end of the position data calculation process, as schematically indicated by a circle in FIG. 9 (B). When a request signal is received, control according to the result of the determination is performed.
  • the CPU 25 starts the processing for calculating the transmission position data, and obtains the data by the processing.
  • a control for sending a signal containing the transmission position data is, the value of the timer 2 6, (see time t e after the first 2 view) to do when a match with the TM L MT after change .
  • the CPU 25 calculates the M ⁇ bit rotation angle from the M pieces of measurement data.
  • M ⁇ is the number of bits smaller than the number of bits M ′ of the rotation angle data calculated in the normal mode, and the position data can be calculated twice during the request signal period I RQ, and It is set in advance so that the position signal including the position data can be transmitted twice.
  • high-speed mode in a state where the CPU 2 5, the position change rate is V, also performed in which determination of whether the following are determined to position change rate is less than or equal to V t, Li Quest signal If is received, change the operation mode to the normal mode. Ie, with the timer 2 6 0 cleared, the value of TM L MT and TM The set, their respective (return to the initial value) twice to.
  • the CPU 25 generates a position signal including a signal including attribute information 1005 including information indicating whether the operation mode is the normal mode or the high-speed mode and a cycle number together with the transmission position data.
  • the respective units are controlled so as to be transmitted, and the motor controller 32 interprets the position data included in the received position signal based on the attribute information.
  • the position detection device automatically changes the transmission cycle of the position data and the like according to the change speed of the position of the slit plate 13. Therefore, when the synchronous motor is operated at high speed, the motor controller combined with this position detecting device can determine the position of the magnetic pole of the permanent magnet in the synchronous motor in a short period, although with rough accuracy.
  • the position detecting device is a device that sets TM LMT or the like to 1/2, it may be a device that sets TM LMT or the like to 1 / K (K is an integer of 3 or more). It is natural.
  • the position detection device has two operation modes, two or more threshold values relating to the position change speed may be provided, and the device may have three or more operation modes. .
  • the position detection device is a device that changes the operation mode according to the measured (calculated) position change speed.
  • a request signal including information specifying the transmission cycle is transmitted, and the position detecting device may be a device that outputs position data with a precision and a transmission period according to the information included in the request signal.
  • the position detection device may perform a modification other than the modification described above.
  • the position detection device according to the second, third, and fifth embodiments is modified to use a position detection device using the transmission procedure used in the position detection device according to the fourth embodiment as a position signal transmission procedure.
  • a position detection device using the transmission procedure used in the position detection device according to the fourth embodiment can be configured.
  • a device in which a position signal is transmitted to a control device such as a motor controller via a parallel transmission path can be configured.
  • the position detecting device of each embodiment is a so-called one-way encoder, but the technology described in each embodiment may be applied to a device that detects other than the rotation angle.
  • Industrial applicability is a so-called one-way encoder, but the technology described in each embodiment may be applied to a device that detects other than the rotation angle.
  • the position detection device is useful as an output source of position data required to control a device such as a synchronous motor that is moving an object to be measured. It is suitable for use in supplying position data to equipment for which high-speed control is desired.

Description

明 細
技術分野
この発明は、 位置検出装置に関し、 特に、 被測定物の位置を検出するためのセ ンサの出力から被測定物の位置を表すデータが算出される位置検出装置に関する ものである。 背景技術
位置検出装置の中には、 センサの出力から被測定物の位置を表すデータが算出 される装置、 すなわち、 センサの出力から位置データを求めるのにある程度の ( 無視できない) 時間が必要とされる装置が存在している。
第 1 0図に、 従来の、 そのような位置検出装置の一例を示す。 この位置検出装 置 1 1 0は、 いわゆる光学式口一タリエンコーダであり、 シリアル伝送路 1 3 1 によってモータコントローラ 1 3 2と接続されるタイプのものである。
図示してあるように、 位置検出装置 1 1 0は、 発光回路 1 1 1、 受光回路 1 1 2、 スケール板 1 1 3、 増幅部 1 1 4を備える。 また、 位置検出装置 1 1 0は、 サンプルホールド部 1 1 5、 マルチプレクサ 1 1 6、 A/D変換器 1 1 7、 マイ クロコンピュー夕 1 1 8、 シリアル信号変換回路 1 1 9、 シリアル信号送受信回 路 1 2 0を備える。
発光回路 1 1 1は、 M (Mは複数) 個の発光素子 1 2 1を含む回路である。 受 光回路 1 1 2は、 発光回路 1 1 1内の M個の発光素子 1 2 1からの光を、 それぞ れ、 電気信号 (アナログ信号) に変換する M個の受光素子 1 2 2を含む回路とな つている。 スケール板 1 i 3 (スリツ ト扳、 コード板とも呼ばれる) は、 その状 態 (回転角) によって、 受光回路 1 1 2内の M個の受光素子 1 2 2に入射される 光の強度が変化するように加工された回転板であり、 このスケール板 1 1 3の回 転により、 受光回路 1 1 2内の M個の受光素子 1 2 2から周期または位相の異な る M個の正弦波信号または三角波信号が出力される。 正弦波信号を出力するため には、 正弦波スリッ トが切られたスケール板 1 3 3を用いるが、 矩形スリッ 卜が 切られたものを用いても、 光の回折効果により正弦波に近い信号 (疑似正弦波信 号) が得られるので、 これを用いるようにしてもよい。 なお、 スケール板 1 3 3 は、 通常、 モータコントローラ 1 3 2によって制御されるモー夕の回転軸に取り 付けられる。
増幅部 1 1 4は、 受光回路 1 1 2内の各受光素子 1 2 2の出力を増幅する回路 である。 すなわち、 増幅部 1 1 4は、 M個のアナログ信号を出力する回路となつ ている。 サンプルホールド部 1 1 5は、 増幅部 1 1 4内の M個の増幅回路とそれ ぞれ接続された M個のサンプルホールド回路を含む。 サンプルホールド部 1 1 5 内の全サンプルホールド回路には、 マイクロコンピュータ〗 1 8からのサンプル ホールド信号が供給されるようになっている。 すなわち、 サンプルホールド部 1 1 5は、 増幅回路 1 1 4から出力される時間的に変化する M個の信号を、 ホール ド動作を命ずるサンプルホールド信号が入力されたときに、 同時にホールドし、 ホ一ルドした M個の信号を、 その後、 出力し続ける回路となっている。
マルチプレクサ 1 1 6は、 サンプルホールド部 1 1 5から出力される M個の信 号の中から、 マイクロコンピュータ 1 1 8によって指定された信号を出力する回 路である。 A/D変換器 1 1 7は、 マルチプレクサ 1 1 6から出力されるアナ口 グ信号をデジタル信号に変換する回路であり、 AZD変換器 1 1 7の動作タイミ ングの制御もマイクロコンピュー夕 1 1 8によって行われる。
シリアル信号変換回路 1 1 9は、 マイクロコンピュータ 1 1 8からのパラレル 信号をシリアル信号に変換してシルアル信号送受信回路 1 2 0に供給する処理と 、 その逆の処理を行う回路である。 また、 シリアル信号変換回路 1 1 9は、 所定 の信号がシルアル信号送受信回路 1 2 0から供給された場合 (リクエスト信号が シルアル信号送受信回路 1 2 0に受信され、 そのリクエスト信号に応じた信号が シルアル信号送受信回路 1 2 0から供給された場合) 、 その旨を通知するための 信号をマイクロコンピュータ 1 1 8に対して出力する。
シリアル信号送受信回路 1 20は、 モータコントローラ 1 3 2とのインタフエ ース回路であり、 シリアル信号変換回路 1 9から与えられるシリアル信号に所定 の処理 (CRCの算出、 スタートビッ ト、 ストップビッ トの付加等) を施すこと によって伝送用信号を作成し、 作成した伝送用信号をシリアル伝送路 1 3 1を介 してモータコントローラ 1 32に供給する。 シリアル信号送受信回路 1 2 0は、 モータコントローラ 1 32から受信した伝送用信号に応じたシリアル信号を作成 する処理も行う。
マイクロコンピュータ 1 1 8は、 入力回路 1 2 3、 出力回路 1 24、 CPU 1 25、 タイマ 1 2 6を含む、 位置検出装置 1 1 0の制御回路であり、 AZD変換 器 1 1 7の出力は、 入力回路 1 24を介して CPU 1 25に与えられている。 ま た、 サンプルホールド信号は、 CPU 1 25によって制御される出力回路 1 2 5 から出力されており、 シリアル信号変換回路 1 1 9は、 CPU 1 2 5と接続され ている。
また、 図示は省略してある力 位置検出装置 1 1 0には、 受光回路 1 1 2内の 特定の受光素子 1 22の出力から、 スケール板 i 1 3が 1回転したことを検出す るための回路や、 その回路の検出結果に基づきスケール板 1 1 3が何回転したか をカウントする多回転カウン夕が設けられており、 その多回転カウン夕も、 CP U 1 25と接続されている。
以下、 この図と第 1 1図を用いて、 位置検出装置 1 1 0の全体的な動作を説明 する。 なお、 第 1 1図において、 (A) は、 位置検出装置 1 1 0力、 モータコン トロ一ラ 1 3 2からリクエスト信号を受信するタイミングを示した図であり、 ( B) は、 マイクロコンピュータ 1 1 8内のタイマ 1 2 6の値の時間変化を示した 図である。 また、 (C) は、 マイクロコンピュータ 1 1 8からサンプルホールド 部 1 1 5へ出されるサンプルホールド信号の時間変化を示した図であり、 (D) は、 CPU 1 25が実行する処理の内容の時間変化を示した図である。 そして、 (E) は、 位置検出装置 1 1 0から位置信号が送信されるタイミングを示した図 である。
この位置検出装置 1 1 0は、 シリアル伝送路 1 3 1を介してモー夕コントロー ラ 1 3 2からのリクェスト信号を受信した際に、 その時点におけるスケール板 1 1 3の位置を表す位置データを保持した位置信号を、 そのリクエスト信号に対す る応答としてシリアル伝送路 1 3 1を介してモ一タコントロ一ラ 1 3 2に供給す る装置である。
モ一夕コントローラ 1 3 2に渡される位置データは、 スケール板 1 1 3がそれ までに何回転したかを示す 2バイトのデータと、 スケール板 1 1 3の回転角に関 する 2バイトのデータとからなる。 前者のデータは、 多回転カウン夕から得られ るものであるため、 必要となった時刻に関するデータを即座に取得することがで きる。 し力、し、 回転角に関するデータは、 受光部 1 1 2の出力を基とした数値演 算によって算出されるものであるため、 その取得のための処理が完了するのには 比較的長い時間が必要とされる。 従って、 リクエスト信号受信時に当該処理を開 始するように構成しておいたのでは、 モー夕コントローラ 1 3 2力、 リクエスト 信号の送信後、 暫く してから、 リクエスト信号送信時刻におけるスリ ッ ト板 1 1 3の位置を表す位置デ一夕を受け取ることになつてしまう。
モータコントローラ側から考えた場合、 リクエスト信号を送出したときに、 そ の時点におけるスケール板 1 1 3の位置を表す位置データが得られる方が何かと 都合が良いので、 この位置検出装置 1 1 0では、 リクエスト信号受信時にモー夕 コントローラ 1 3 2に渡す位置データを、 そのリクエスト信号を受信する前に求 めておくことが行われている。 なお、 測定値から導き出した位置データから、 送 出時刻についての位置データを算出 (推定) し、 その位置データを次のリクエス ト信号の受信を待たずに送出する位置検出装置も知られている。
具体的には、 位置検出装置 1 1 0内の C P U 1 2 5は、 第 1 1図 (A ) 、 ( B ) に示してあるように、 リクエスト信号が受信されたことを検出するたびに、 夕 イマ 1 2 6を 0クリアする。 そして、 C P U 1 2 5は、 夕イマ 1 2 6の値が T M なったときに、 位置データを求めるための処理を開始する。 なお、 T MS E T は、 CPU 1 25に予め与えられているデータである。
たとえば、 リクエスト信号が受信された時刻が時刻 t b であつた場合、 CPU 1 25は、 時刻 tb から時間 TMSET が経過した時刻 t e に、 位置データを求め る処理を開始する。
第 1 1図 (C) 、 (D) に模式的に示してあるように、 この処理時、 CPU 1 25は、 まず、 サンプルホールド信号を "L" とすることによって、 サンプルホ 一ルド部 1 1 5に、 増幅部 1 1 4が出力している M個の信号をホールドさせる。 次いで、 マルチプレクサ 1 1 6、 AZD変換器 1 1 7等の制御を行い、 M個の受 光素子の出力に応じた M個のデータを得る。 そして、 CPU 1 25は、 サンプル ホールド信号を "H" に戻し、 取得した M個のデータ並びに多回転カウン夕の値 から、 サンプルホールド信号が "L" とされた (AZD変換器 i 1 7に対してホ —ルド命合が出された) 時刻である時刻 tb における位置データ DT。 を算出す る。 なお、 この処理において、 M個のデータから求められるのは、 M' (この装 置では、 M' = 1 6) ビッ トの、 回転角を表すデータであり、 そのデ一夕と多回 転カウンタ値とからなるデータが位置データ D T。 とされる。
次いで、 CPU 1 25は、 その後受信することになるリ クエスト信号への応答 としてモー夕コントローラ 1 32に通知する位置データである送信位置データ S Do を得るために、 次式 (以下、 補正式と表記する) を用いた演算を行う。
SD。 二 DT。 十 (SD-,— SD一 2) X (TMRQ-TMSET ) /TM RQ ここで、 SD— ,、 SD— 2は、 それぞれ、 前回、 前々回、 算出 (送信) した送信 位置デ一夕であり、 TMRQは、 位置検出装置 1 1 0に接続されるモータコント口 —ラ 1 32が出力するリクェスト信号の周期として CPU 1 25に予め与えられ ているデータである。
そして、 CPU 1 25は、 算出した SD。 を、 その後にリクエスト信号が受信 されたときに、 シリアル信号変換回路 1 1 9を介してシリアル信号送受信回路 1 2 0に供給し、 その結果として、 SD。 を保持した位置信号がシリアル伝送路 1 3 1上へ送信されることになる (第 1 1図 (E) 参照) 。
ここで、 上記補正式により、 送信位置データ SD。 を得ている理由を簡単に説 明しておく。
この位置検出装置 1 1 0において、 ホールド命令が出された時刻 t。 は、 リク ェスト信号の受信時刻 t b から時間 TMSET が経過した時刻であり、 次にリクェ スト信号が受信されるのは、 時刻 t b から時間 TMRQが経過した時刻 t d となる はずである。 従って、 次回のリクエスト信号受信時に送信すべき送信位置デ一夕 SD。 は、 時刻 t e 〜t d 間におけるスケール板 1 1 3の位置の変化速度 (単位 時間あたりの変化量) Vとすれば、 次式で表される。
SD。 二 DT。 + ( t d - t c ) xV
= DT0 + (TMRQ-TMSET ) XV そして、 V力、 時刻 t a 〜t b 間におけるスケール板 1 1 3の位置の変化速度 (すなわち、 (SD— ,— S D— 2) /TMRQ) と同じであるとすると、 上記した補 正式が成立することになるので、 位置検出装置 1 1 0では、 当該補正式によって SD。 を算出しているのである。
さて、 従来の位置検出装置 1 1 0は、 上述したように動作するため、 モ一夕コ ントローラ 1 3 2からのリクエスト信号の周期が正確に TMR0と一致している場 合には、 リクエスト信号を受信した際に、 その時点におけるスケール板 1 1 3の 位置を表す位置デ一夕をモー夕コントローラに通知することができる。
しかしながら、 リクエスト信号の周期 I R。が TMRQとは異なるモ一タコントロ ーラに接続されて使用された場合、 位置検出装置 1 1 0は、 リクエスト信号を受 信した際に、 その時点におけるスケール板 1 3 1の位置を表す位置データをモー 夕コントローラ 1 3 2に通知することができない。 何故ならば、 CPU 1 2 5が 算出している送信位置データは、 前回のリクェスト信号受信時から時間 TMRQが 経過した時点におけるスケール板 1 1 3の位置を表す位置データであり、 時間 I R Qが経過した時点におけるものではないからである。
すなわち、 従来の位置検出装置 1 1 0は、 リクエスト信号周期の異なる他のモ 一夕コントローラと組み合わせて使用することや、 リクエスト信号周期を自ら変 更するようなモー夕コントローラと組み合わせて使用ことができないものとなつ ていた。
さらに、 一般的なモータコントローラでは、 リクエスト信号の送出タイミング 力ノヽードウヱァとソフトゥヱァとによって管理されている。 すなわち、 数回に 1 回のリクエスト信号の送出は、 ハードウエアが出力する正確な周期の信号に同期 した形で行われ、 その他のリクエスト信号の送出は、 ソフトウェアによってその タイミングが管理されていることが多い。 そのようなモータコントローラと接続 された場合、 位置検出装置 1 1 0に入力されるリ クエスト信号の間隔が変動する ことになる。 リクエスト信号の間隔が変動した場合、 上記動作手順から明らかな ように、 従来の位置検出装置 1 1 0は、 誤った送信位置データを出力してしまう ので、 モー夕の制御が適切に行われなくなる場合があつた。
また、 モータの応答性向上のためには、 モータコントローラに、 高い精度の ( ビッ ト数の多い) 位置データを、 短い周期で供給できることが望ましい。 特に、 同期モータは、 高速回転中はその界磁に使用される永久磁石の磁極の位置が高速 に変化するため、 モ一夕コントローラに、 短い周期でその磁極の位置を通知でき ることが必要とされる。
しかしながら、 従来の位置検出装置 1 1 0は、 モ一夕コン トローラ 1 3 2に位 置デ一タを供給できる周期が、 送信位置データのビッ ト数によって定まる位置信 号の送信時間、 或いは、 送信位置データの算出に要する時間によって制限されて おり、 その結果として、 モータ等の制御が適切に行えない場合がある装置となつ ていた。
具体的には、 位置検出装置 1 1 0は、 第 1 2図に示したようにコン トロール信 号 (C D ) 8 0 K 4バイ 卜の送信位置データ信号 (S D。 ) 9 0 2、 アラーム 信号 (A L M) 9 0 3、 巡回冗長検査信号 (C R C ) 9 0 4からなる合計 7フレ —厶の信号を位置信号としてモータコントローラ 1 3 2に送信する装置となって いる。 なお、 図中、 左側に示してあるフレームが先に送信されるものである。
1フレームは、 送信されるべきバイトデータの前後にス夕一トビッ トとストツ プビッ トを付加したものであるので、 この信号の全ビッ ト数は、 図示してあるよ うに 7 0ビッ トとなる。 この 7 0ビッ トの信号の伝送に必要な時間は、 シリアル 通信の転送速度が 2 . 5 M b p sである場合、 2 8 s ( = 7 0 / ( 2 . 5 x 1 0 6 ) ) となるので、 位置検出装置 1 1 0は、 この時間よりも短い周期で位置デ —夕をモータコントローラ 1 3 2に通知することはできないことになる。 なお、 シリアル通信のデータ転送速度を速くすれば周期を短くできることにはなるが、 転送速度を現在以上のものとすることは、 シリアル伝送路上で信号がなまるので 実際上不可能である。
そして、 送信位置データの算出に要する時間も、 第 1 1図中に模式的に示して あるように、 位置信号の伝送に要する時間と同オーダの時間であるため、 従来に おける位置検出装置 1 1 0を用いてモータ等を制御する際、 その制御内容によつ ては、 当該制御に必要とされる周期で位置データを得ることができない場合があ つた。
従って、 本発明は、 被測定物の位置を移動させるモータ等の被制御装置を、 よ り適切に制御できる位置検出装置を提供することを目的としている。 発明の開示
本発明にかかる位置検出装置は、 位置データの出力を要求するリクエスト信号 の受信を検出する検出手段と、 この検出手段によってリクエスト信号の受信が検 出されてから所定時間が経過したときに、 被測定物の位置を検出するためにセン ザの出力を測定するセンサ出力測定手段と、 このセンサ出力測定手段によって測 定された出力に基づき、 測定が行われた時点における被測定物の位置を表す位置 データを算出する位置データ算出手段と、 リクエスト信号の受信間隔から前記し た所定時間を減じた値と位置デ一夕算出手段によって算出される位置データと被 測定物の推定される速度とを用いて、 リクエスト信号の受信時における被測定物 の位置を表す位置データである補正位置データを算出する補正位置データ算出手 段と、 この補正位置デ一夕算出手段によって算出された補正位置データを、 リク エスト信号に対する応答として出力する出力手段とを備えるものである。
すなわち、 この発明による位置検出装置では、 センサの出力を基に算出された ある時刻に関する位置デ一夕を基に、 リクエスト信号受信時における位置デ一夕 (補正位置データ) を算出 (推定) するに際して、 その時刻からリクエスト信号 が実際に受信された時刻までの経過時間が用いられる。 このため、 この位置検出 装置は、 リクエスト信号の受信周期が変化した場合にも、 正確な位置データを出 力することができる装置となっており、 本位置検出装置を用いれば、 被測定物に 関する正確な位置デ一夕を所望の頻度で得ることができることになる。 その結果 として、 本位置検出装置を用いれば、 被測定物の位置を変化させている被制御装 置 (例えば、 モ一夕) の制御をより適切に行えることになる。
また、 本発明にかかる位置検出装置は、 位置データの出力を要求するリクエス ト信号の受信を検出する検出手段と、 この検出手段によってリクエスト信号の受 信が検出されるたびに、 そのリクエスト信号が検出されてから所定時間が経過し た後、 リクエスト信号の周期の整数分の一の周期であって、 予め与えられた出力 周期の整数倍の時間が経過するたびに、 被測定物の位置を検出するためのセンサ の出力を測定する処理を実行する測定処理実行手段と、 この測定処理実行手段に よってセンサの出力が測定されるたびに、 その測定された出力を用いて、 測定が 行われた時点における被測定物の位置を表す位置データを算出する位置データ算 出手段と、 この位置デ一夕算出手段によって位置デ一夕が算出されるたびに、 そ の算出された位置データと出力周期と所定時間と被測定物の推定される位置の変 化速度とを用いて、 リクエスト信号の受信時から出力周期の整数倍の時間が経過 した時点であって、 センサ出力測定手段による出力の測定後に最初に到達する時 点における被測定物の位置を表す位置データである補正位置デ一夕を算出する補 正位置データ算出手段と、 補正位置データ算出手段によつて補正位置デ一タが算 出されるたびに、 算出された補正位置データを、 その補正位置データが位置を表 している時刻に出力する補正位置データ出力手段とを備えるものである。
すなわち、 この発明による位置検出装置では、 リクエスト信号で時々同期をと りながら、 予め与えられた出力周期で補正位置データの算出 ·送信が行われる。 従って、 この位置検出装置を、 たとえば、 そのハードウェアにより時間管理され る正確な周期のリクエスト信号のみを送信する機器 (例えば、 モ一タコントロー ラ) と組み合わせれば、 リクエスト信号の受信間隔がばらつくことに因る被制御 装置 (例えば、 モータ) の制御への悪影響を最小限のものとすることができるこ とになる。
また、 この発明による位置検出装置を実現する際には、 被測定物の位置の変化 速度を監視する監視手段と、 この監視手段による監視結果に応じて、 出力周期の 値を、 リクエスト信号の周期の整数分の一である他の値に変更する出力周期変更 手段とを付加することができる。 また、 監視手段等を付加する場合には、 監視手 段による監視結果に応じて、 位置データ算出手段によって算出される位置データ のビッ ト長を変更するビッ ト長変更手段を付加することもできる。
監視手段等が付加された、 この発明による位置検出装置を用いれば、 被測定物 の位置を変化させている被制御装置の制御を、 被測定物の位置の変化速度に応じ た環境で行えることになるので、 被制御装置のより適切な制御が可能となる。 さらに、 この発明による位置検出装置を実現する際には、 検出手段によって検 出されたリクエスト信号に含まれる指定情報に応じて、 出力周期の値を、 リクェ スト信号の周期の整数分の一である他の値に変更する出力周期変更手段を付加す ることもできる。
すなわち、 接続される機器側からの指示に応じて、 出力周期の値を変更するよ うに位置検出装置を構成しても良い。
また、 本発明にかかる位置検出装置は、 位置データの出力を要求するリ クエス ト信号の受信を検出するとともに、 受信を検出したリ クエスト信号が、 第 1種リ クエスト信号であるか第 2種リクエスト信号であるかを判別する検出判別手段と 、 この検出判別手段によって第 1種リクエスト信号の受信が検出されるたびに、 その第 1種リクエスト信号の受信が検出されてから所定時間が経過した後、 予め 与えられているリクエスト信号の周期の整数倍の時間が経過するたびに、 被測定 物の位置を検出するためのセンサの出力を測定する処理を実行する測定処理実行 手段と、 この測定処理実行手段によってセンサの出力が測定されるたびに、 その 測定された出力を用いて、 測定が行われた時点における被測定物の位置を表す位 置データを算出する位置データ算出手段と、 この位置データ算出手段によって位 置データが算出されるたびに、 その位置データと周期と所定時間と被測定物の推 定される位置の変化速度とを用いて、 第 1種リクエスト信号の受信時から周期の 整数倍の時間が経過した時点であって、 センサ出力測定手段による出力の測定後 に最初に到達する時点における被測定物の位置を表す位置データである補正位置 デ一夕を算出する補正位置デ一夕算出手段と、 補正位置データ算出手段によつて 補正位置データが算出されるたびに、 算出された補正位置データを、 その算出後 、 検出判別手段によつて受信が検出された第 1種リクエスト信号或し、は第 2種リ クエスト信号に対する応答として出力する補正位置データ出力手段とを備えるも のである。
すなわち、 この発明による位置検出装置では、 第 1種リクエスト信号は、 補正 位置データを取得するための処理を開始するタイミングを定める信号並びにデー 夕出力 (送信) を実行するタイミングを定める信号として使用される。 一方、 第 2種リクエスト信号は、 デ一夕出力を行うタイミングを定める信号としてのみ使 用され、 そのデ一夕出力時に出力される補正位置デー夕を取得するための処理の 開始タイミングは、 第 1種リクエスト信号の受信時刻を基準に定められる。 このため、 本位置検出装置を、 ハードウェア管理によるリクエスト信号出力時 には、 第 1種リクエスト信号を出力し、 ソフトゥヱァ管理によるリクエスト信号 出力時には、 第 2種リクエスト信号を出力する機器 (たとえば、 モー夕コント口 ーラ) と組み合わせれば、 当該機器においてリクエスト信号の送信タイミングに 変動が生じても、 被測定物の位置を変化させている被制御装置 (例えば、 モー夕 ) の制御自体は、 問題なく行えることになる。
本発明による位置検出装置を実現するに際して、 補正位置デ一夕出力手段によ つて最初に出力された補正位置デー夕に関しては、 その補正位置デー夕を表す第 1所定ビッ ト数の信号を、 リクエスト信号を出力する機器が接続されたシリアル 伝送路上に検出結果として送出し、 補正位置デー夕出力手段によって 2番目以降 に出力された補正位置デ一夕に関しては、 その補正位置データと前回、 出力され た補正位置データの差を表す、 第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数 の信号をシリアル伝送路上に検出結果として送出する送出手段を付加することが できる。
この送出手段が付加された位置検出装置を、 最初に入力された信号によつて表 される補正位置データを絶対位置デ一夕として記憶し、 その後に入力される信号 によって表されるデータを絶対位置データに加算していき、 加算後の絶対位置デ —夕を、 被測定物のその時点における位置を表すデ一夕として取り扱う装置であ つて被測定物を直接或いは間接的に制御する装置 (例えば、 モータコントローラ ) と組み合わせれば、 補正位置データの伝送に必要とされる時間を短くすること ができる。 すなわち、 補正位置データの取得頻度を増やすことができることにな り、 その結果として、 被制御装置 (例えば、 モータ) をより適切に制御できるこ とになる。 図面の簡単な説明
第 1図は、 本発明の実施の形態 1にかかる位置検出装置の構成を示す説明図で あり、 第 2図は、 実施の形態 1にかかる位置検出装置内の C P Uの動作手順を示 すフローチャートであり、 第 3図は、 実施の形態 1にかかる位置検出装置の動作 を説明するためのタイミングチヤ一トであり、 第 4図は、 本発明の実施の形態 2 にかかる位置検出装置内の C P Uの動作手順を示すフローチャートであり、 第 5 図は、 実施の形態 2にかかる位置検出装置の動作を説明するためのタイミングチ ヤートであり、 第 6図は、 本発明の実施の形態 3にかかる位置検出装置内の C P Uの動作手順を示すフローチャートであり、 第 7図は、 実施の形態 3にかかる位 置検出装置の動作を説明するためのタイミングチャートであり、 第 8図は、 本発 明の実施の形態 4にかかる位置検出装置内の C P Uの動作手順を示すフローチヤ —トであり、 第 9図は、 本発明の実施の形態 5にかかる位置検出装置の動作を示 す説明図であり、 第 1 0図は、 従来における位置検出装置の構成を示す説明図で あり、 第 1 1図は、 従来における位置検出装置の動作を説明するためのタイミン グチャートであり、 第 1 2図は、 従来における位置検出装置がモータコントロー ラに対して送出する信号を示す説明図である。 発明を実施するための最良の形態
本発明をより詳細に説述するために、 添付の図面に従ってこれを説明する。 第 1図に、 本発明の実施の形態 1にかかる位置検出装置の概略構成を示す。
実施の形態 1にかかる位置検出装置 1 0は、 いわゆる光学式ロータリエンコー ダであり、 発光回路 1 し 受光回路 1 2、 スケール板 1 3、 増幅部 1 4を備える 。 さらに、 位置検出装置 1 0は、 サンプルホールド部 1 5、 マルチプレクサ 1 6 、 A/D変換器 1 7、 マイクロコンピュータ 1 8、 シリアル信号変換回路 1 9、 シリアル信号受信回路 2 0をも備える。 さらに、 位置検出装置 1 0は、 特定の受 光素子 2 2の出力からスケール板が 1回転したことを検出する回路 (図示せず) 、 当該回路がスケール板 1 3が 1回転したことを検出するたびにカウントアップ を行うカウン夕であって、 C P U 2 5に接続されたカウンタである多回転カウン 夕 (図示せず) を備える。 そして、 位置検出装置 1 0は、 シリアル伝送路 3 1 に よってモータコント□—ラ 3 2と接続されて使用される。
位置検出装置 1 0内のマイクロコンピュータ 1 8を除く各部は、 位置検出装置 1 1 0内の同じ名称の部と同じ動作をするものである。 このため、 以下では、 マ イク口コンピュータ 1 8 ( C P U 2 5 ) による制御動作を中心として、 第 2図お よび第 3図を用いて、 位置検出装置 1 0の動作を説明することにする。 なお、 第 2図は、 マイクロコンピュータ 1 8 (CPU 2 5) の動作手順を示すフローチヤ 一トである。 第 3図 (A) は、 位置検出装置 1 0がモータコントロ一ラ 3 2から リクエスト信号を受信するタイミングを示した図であり、 (B) は、 マイクロコ ンピュー夕 1 8内の夕イマ 2 6の値の時間変化を示した図である。 また、 (C) は、 マイクロコンピュータ 1 8からサンプルホールド部 1 5ヘサンプルホールド 信号が出力されるタイミングを示した図であり、 (D) は、 CPU25が実行す る処理の内容の時間変化を示した図である。 そして、 (E) は、 位置検出装置 1 0から送信位置データを保持した位置信号が送信されるタイミングを示した図で ある。
第 2図に示したように、 CPU 2 5が実行する処理は、 タイマ 2 6の値が予め 定められた値 TMSET になったときに開始される第 1分岐処理 (ステップ S 1 1 0) と、 リクエスト信号が受信されたときに開始される第 2分岐処理 (ステップ S 1 2 0) と、 各分岐処理が行われていないときに行われる処理である他のソフ トウエア処理 (ステップ S 1 3 0) に大別されている。
まず、 第 1分岐処理時の CPU 2 5の動作について説明する。
タイマ 2 6の値が所定値 TMSET になったとき、 CPU 25は、 実行中の他の ソフトゥヱァ処理を中断して、 まず、 サンプルホールド信号を "L" とすること によって、 サンプルホールド部 1 5に、 増幅部 1 4からの M個の信号をホールド させる (ステップ S 1 1 1 ) 。 すなわち、 CPU 25は、 マルチプレクサ 1 6に 入力される信号を、 タイマ 2 6の値が TMSET となったときにおけるスケール板 1 3の状態を表す信号に固定する。
その後、 CPU 25は、 マルチプレクサ 1 6に所定の選択信号を供給すること によって、 マルチプレクサ 1 6に入力されている M個の信号のうちの 1つが、 A /D変換器 1 7に供給されるようにする (ステップ S 1 1 2) 。 次いで、 CPU 25は、 AZD変換器 i 7を動作させ、 その結果、 AZD変換器 1 7が出力する デ一夕を言己憶する (ステップ S 1 1 3) 。 その後、 CPU 25は、 マルチプレク サ 1 6が出力する信号の中に、 ステップ S 1 1 2、 1 1 3の処理を行っていない 信号が残っていた場合 (ステップ S 1 1 4 ; No) には、 ステップ S 1 1 2に戻 り、 未処理の信号に対する処理を行う。
CPU 25は、 マルチプレクサ 1 6が出力する全て (M個) の信号の A/D変 換結果の取得が完了したとき (ステップ S 1 1 4 ; Ye s) 、 サンプルホールド 信号を "H" に戻し (ステップ S 1 1 5) 、 得られた M個のデータと多回転カウ ン夕の値とから、 夕イマ 26の値が TMSET であったときにおける位置データ D To を算出、 記憶する (ステップ S 1 1 6) 。 そして、 CPU 25は、 第 1分岐 処理を終了し、 他のソフ トウェア処理を開始する。
たとえば、 リ クエス ト信号が、 時刻 tb に受信された場合、 CPU 25は、 時 刻 (= t b +TMSET ) に、 第 1分岐処理を開始する。 すなわち、 第 3図 ( C) 、 (D) に模式的に示してあるように、 CPU 25は、 時刻 tc にサンプル ホールド信号を "L" とするとともに、 マルチプレクサ 1 6、 AZD変換器 1 7 等の制御を開始し、 M個のデータを得る。 次いで、 CPU25は、 サンプルホー ルド信号を "H" に戻し、 取得した M個のデ一夕から、 時刻 における位置デ 一夕 DT。 を算出する。 そして、 第 1分岐処理を終了し、 その他の処理を開始す る。
次に、 第 2図に戻って、 第 2分岐処理時の CPU 25の動作を説明する。
リ クエスト信号が受信されたことを検出した場合、 CPU25は、 第 2分岐処 理 (ステップ S 1 20) を開始し、 まず、 その時点におけるタイマ 26の値を読 み込み、 TM。 として記憶する (ステップ S 1 2 1 ) 。 次いで、 CPU 25は、 夕イマ 26を、 0クリアする (ステップ S 1 22) 。
その後、 CPU25は、 位置デ一夕 DT。 に加算することによって送信位置デ —夕 SD。 が得られる値である補正量の算出を行う (ステップ S 1 23) 。 具体 的には、 前回、 算出した送信位置データ 前々回、 算出した送信位置デー 夕 SD 2、 前回の第 2分岐処理実行時に読み込んだタイマ値 ΤΜ-^ 今回、 読み 込んだタイマ値 TM。 、 並びに、 TMSET から、 次式を用いて、 補正量 DTDを 算出する。 DTD= (SD— ' - SD 2) x (TMo - TMSET ) /TM-, ここで、 第 3図を参照して、 上記式により、 補正量 (SD。 と DT。 の差) が 算出される理由を簡単に説明しておく。
時刻 t d に受信されたリクエスト信号に対する応答として送信されるべき送信 位置データ SD。 は、 位置データ DT。 に、 時刻 t。 〜t d 間における位置の変 化量を加えることによって得ることができるデータである。 そして、 その変化量 (すなわち、 補正量 DTD) は、 時刻 te 〜t d 間における、 位置の変化速度 ( 単位時間あたりの変化量) を Vとすると、 次式で表されることになる。
DTD二 ( t d - t c ) V ここで、 t c 二 t b +TMSET 、 t d = t , +TM。 であるので、 t d — t c =TM。 — TMSET が成立する。 また、 Vは、 たとえば、 時刻 t a 〜t b 間の速 度と同一であると仮定できるため、 V= (SD_,-SD-2) とすること ができ、 結局、 DTDを、 TM。 、 TMSET 、 SD- i , SD 2、 TM— ,から、 上 記した式で算出できることになる。
第 2図に戻って、 補正量 DTD算出後の CPU 25の動作を説明する。
補正量 DTD©算出後、 CPU25は、 算出した DTDと、 第 1分岐処理時に 算出した位置データ DT。 を加算することによって、 送信位置デ一夕 SD。 を作 成する (ステップ S 1 24) 。 なお、 CPU 25は、 このステップにおいて、 そ れまで送信位置デ一夕 SD-,、 送信位置データ SD。 として記憶していたデ一夕 を、 それぞれ、 送信位置データ SD-2、 送信位置データ とする処理も実行 する。
次いで、 CPU25は、 作成した送信位置データ SD。 を、 シリアル信号変換 回路 1 9に供給することによって、 送信位置データ SD。 を保持した従来の同様 のフォーマツ トの位置信号 (第 1 2図参照) を、 シルアル信号送受信回路 2 0に 送信させ (ステップ S 1 2 5) 、 第 2分岐処理を終了する。
このように、 実施の形態 1にかかる位置検出装置 1 0では、 リクエスト信号の 受信間隔 (TM。 ) が測定され、 その測定された受信間隔を用いて位置データ D T。 から送信位置デ一夕 SD。 が算出される。 このため、 位置検出装置 1 0は、 リクエスト信号周期の異なる他のモータコントローラに接続された場合も、 正確 な位置データを出力することができる。 換言すれば、 位置検出装置 1 0は、 スリ ッ ト板 1 3の正確な位置を、 必要とされている頻度で (ただし、 頻度の上限はあ る) 出力できる装置となっている。 従って、 本位置検出装置 1 0を用いれば、 ス リッ ト板 1 3の位置 (回転角) を変化させているモータの制御をより適切に行え ることになる。
なお、 位置検出装置 1 0は、 (SD—! - SD— 2) ZTM— を変化速度 Vとして 用いて DTDを算出するように構成されている力く、 (SD-,-SD-2) /TM-, の代わりに、 (DT。 一 DT— /TM-, (DT-,は、 前回の第 1分岐処理で算 出された位置デ一夕) 、 或いは、 (DT。 — SD— /TMSET を用いることも できる。 すなわち、 第 3図における時刻 t a +TMSET 〜 (= t b +TMsE T = t a +TM- l+TMsET ) 間の変化速度、 或いは、 時刻 t b 〜 (= t b
+ TMSET ) 間の変化速度を用いて DTDが算出されるように位置検出装置 1 0 を変形しても良い。
本発明の実施の形態 2にかかる位置検出装置のハードウエア構成は、 実施の形 態 1にかかる位置検出装置 1 0のそれと同一であるため、 その構成を示す図とし て、 第 1図を用いることとする。
実施の形態 2にかかる位置検出装置は、 リクエスト信号を周期 I R。で送信する モ一夕コントローラ 3 2であって、 リクエスト信号を送信していないときでも、 位置データを受信することができるモータコントローラ 3 2と接続されて使用さ れる。 また、 位置検出装置内の C PU 2 5には、 位置検出装置の使用を開始する 前に、 TMSET 、 並びに、 I R0/N (Nは、 2以上の整数) とその値が一致する TMし MT (>TMsET ) が与えられる。
そして、 位置検出装置が使用されている際、 CPU 2 5は、 第 4図に示したよ うに、 第 1分岐処理 (ステップ S 2 1 0) 、 第 2分岐処理 (ステップ S 22 0 ) 、 他のソフトウヱァ処理 (ステップ S 23 0 ) のいずれかを実行する。
すなわち、 CPU2 5は、 タイマ 2 6の値が TMSET になったときには、 それ まで行っていた他のソフトウェア処理 (ステップ S 2 3 0 ) を中断して、 第 1分 岐処理 (ステップ S 2 1 0) を実行する。 また、 モータコントローラ 3 2からの リクエスト信号が受信されたときと、 タイマ 2 6の値が TMLMT となったときに は、 第 2分岐処理を実行する。
図示してあるように、 第 1分岐処理の開始時、 CPU25は、 まず、 サンプル ホールド信号を "L" とすることによって、 サンプルホールド部 1 5に、 増幅部 1 4からの M個の信号をホールドさせる (ステップ S 2 1 1 ) 。 すなわち、 CP U2 5は、 マルチプレクサ 1 6に入力される信号を、 夕イマ 2 6の値が TMSET となったときにおけるスケール板 1 3の状態を表す信号に固定する。
その後、 CPU 25は、 マルチプレクサ 1 6に所定の選択信号を供給すること によって、 マルチプレクサ 1 6に入力されている M個の信号のうちの 1つが、 A ZD変換器 1 7に供給されるようにする (ステップ S 2 1 2) 。 次いで、 CPU 2 5は、 A/D変換器 1 7を動作させ、 その結果、 A/D変換器 1 7が出力する データを記憶する (ステップ S 2 1 3) 。 そして、 ステップ S 2 1 2、 3 1 3の 処理を行っていない信号が残っていた場合 (ステップ S 2 1 4 ; No) には、 ス テツプ S 2 1 2に戻り、 未処理の信号に対する処理を行う。 そして、 全て (M個 ) の信号に対する処理が完了したとき (ステップ S 2 1 4 ; Ye s) に、 CPU 2 5は、 サンプルホールド信号を "H" に戻し (ステップ S 2 1 5) 、 得られた M個のデ一夕から、 タイマ 2 6の値が TMSET であったときにおける位置データ DT。 を算出する (ステップ S 2 1 6) 。
次いで、 CPU 25は、 その位置データ DT。 に対する補正量 DTDの算出を 行う (ステップ S 227 ) 。 具体的には、 このステップ S 22 7において、 C P U25は、 前回の送信した送信位置データ SD と、 前々回、 送信した送信位置 データ SD-2、 TMLMT と、 TMSET とから、 次式を用いて、 補正量 DTDを算 出する。
DTD二 (SD—「 SD-2) X (TMLMT -TMSET ) /TM LMT 次いで、 CPU25は、 算出した補正量 DTDと、 位置データ DT。 とを加算 することによって、 今回の送信位置データ SD。 を作成、 記憶する (ステップ S 228 ) 。 そして、 C P U 25は、 第 1分岐処理を終了し、 その他のソフトゥェ ァ処理 (ステップ S 230 ) を開始する。
そして、 リ クエスト信号が受信されたとき、 或いは、 タイマ 26の値がTMしM τ となったとき、 CPU 25は、 第 2分岐処理 (ステップ S 220 ) を開始し、 まず、 タイマ 26を 0クリアする (ステップ S 22 1 ) 。
そして、 第 2分岐処理が開始された原因がリクエスト信号の受信であった場合 (ステップ S 222 ; Ye s) 、 CPUは、 周期番号を "0" とする (ステップ S 223 ) 。 一方、 当該原因が、 タイマ 26の値と TMLMT との一致であった場 合 (ステップ S 222 ; No) には、 周期番号を " 1 " インクリメン卜する (ス テツプ S 224 ) 。
その後、 CPU25は、 送信位置データと周期番号とを含む送信用データを作 成する (ステップ S 225 ) 。 そして、 その送信用データを保持した位置信号を 、 シリアル信号変換回路 1 9等を利用してシルアル信号送受信回路 20に送信さ せる (ステップ S 226 ) 。 すなわち、 リクェスト信号の受信以後に送信された 位置信号の数を表す情報であり、 0〜N— 1 (N= IRQZTMLMT ) のいずれか の値をとる周期番号をも含めた位置信号を、 その位置信号に対する処理がモータ コントローラ 32側で容易に行えるようにするために、 送信する。 そして、 第 2 分岐処理を終了する。
以下、 N= 2である場合 ( I RQ= 2 xTMR。の場合) を例に、 第 5図を用いて 、 実施の形態 2にかかる位置検出装置の動作を、 さらに具体的に説明する。 既に行った説明から明らかなように、 リクエスト信号の受信を検出した際 (第
2分岐処理時) 、 C PU 2 5は、 タイマ 2 6を 0クリアする。 そして、 CPU 2 5は、 タイマ 2 6の値が TMSET となったときに、 第 1分岐処理を開始する。 従って、 リ クエスト信号が時刻 t a に受信された場合、 時刻 。 にタイマが 0 クリアされるので、 C PU 2 5は、 時刻 (二 t a +TMSET ) に、 第 1分岐 処理を開始することになる。
この第 1分岐処理時、 C PU 2 5は、 サンプルホールド信号を "L" とすると ともに、 マルチプレクサ 1 6、 A/D変換器 1 7等の制御を行い、 M個のデ一夕 を得る。 次いで、 C PU 2 5は、 サンプルホールド信号を "H" に戻し、 取得し た M個のデ一夕から、 時刻 t b における位置を表す位置デ一夕 DT。 を算出する 。 さらに、 C PU 2 5は、 時刻 t b から時刻 t までの間の位置変化量の推定値 (すなわち、 補正量 DTD) を求め、 その推定値を位置デ一夕 DTに加算するこ とによって、 時刻 t e におけるスリツ ト板 i 1 3の位置を表す送信位置データ S D。 を得ておく。
このケースでは、 この後、 次のリクエスト信号が受信される前に、 タイマ 2 6 の値が TMLMT となる。 従って、 C PU 25は、 タイマ 2 6を 0クリアした後、 周期番号を " 1 " インクリメントする。 その結果、 周期番号は、 送信位置デ一夕 力 リクエスト信号受信によらないデータの 1番目であることを示す " 1 " となり 、 C PU 1 2 5は、 その周期番号と送信位置データとを含む送信用データを作成 する。 そして、 その送信用データをシリアル信号変換回路 1 9に供給することに よって、 当該送信用データを保持した位置信号をシリアル信号送受信回路 2 0に 送信させる。
一方、 モータコントローラは、 受信した位置信号に含まれる周期番号から送信 された位置データがどの時間でのデータなのかを認識することができる。
その後、 時刻 (= t +TMSET 二 t a +TMLMT +TMSET ) に、 タイ マ 2 6の値が丁 15^ となるため、 CPU 2 5は、 再び第 1分岐処理を開始し、 新たな送信位置データ SD。 を得る。
その後、 時刻 t e には、 リクエスト信号が受信されるので、 CPU 2 5は、 夕 イマ 2 6を 0クリアした後、 周期番号を "0" とする。 そして、 CPU 2 5は、 送信位置デー夕がリクエスト信号受信によるデータであることを示しているその 周期番号を含む送信用データを作成し、 当該送信用デ一夕をシリアル信号変換回 路 1 9に供給することによって、 当該送信用データに応じた位置信号をシリアル 信号送受信回路 20に送信させる。
以上説明したように、 実施の形態 2にかかる位置検出装置は、 リ クエスト信号 の受信周期で同期がとられた、 予め与えられた周期 TMSET で、 位置データの算 出 -送信を行う。 従って、 実施の形態 2にかかる位置検出装置を、 たとえば、 そ のハ一ドウエアにより時間管理される正確な周期のリクエスト信号のみを送信す るモータコントローラと組み合わせれば、 リクエスト信号の送信 (受信) 間隔が ばらつくことに因るモータ制御への悪影響を最小限のものとすることができるこ とになる。
なお、 実施の形態 2にかかる位置検出装置は、 リクエスト信号受信から何周期 目の位置デー夕であるのかを示す周期番号を含む位置信号を送信する装置となつ ているが、 これは、 モ一夕コントローラ側での処理負荷を増やさないためである ので、 周期番号を含まない信号を送信するように位置検出装置を構成することも できる。
本発明の実施の形態 3にかかる位置検出装置のハードウエア構成は、 実施の形 態 1にかかる位置検出装置 1 0のそれと同一である。 ただし、 位置検出装置内の C PU 2 5は、 実施の形態 1にかかる位置検出装置内の C PU 25とは異なる動 作をするようにプログラムされている。 また、 CPU25には、 位置検出装置の 使用を開始する前に、 TMSET と、 リクエスト信号周期とその値が一致する TM UMT (>TMSET ) が与えられる。 さらに、 夕イマ 2 6にも、 TMSET と TMし M τ とが与えられており、 タイマ 2 6は、 その値が TMSET になったとき、 その旨 を CPU 2 5に通知し、 その値が TMLMT となったときには、 自身を 0クリアす また、 実施の形態 3にかかる位置検出装置は、 リ クエスト判別ビッ トと名付け た情報を含むリクエスト信号を送信するモ一夕コントローラ 3 2と接続されて使 用される。 リクエスト判別ビッ トは、 リクエスト信号が、 モータコントローラ内 のハ一ドウエアにより時間管理された正確な周期のリ クエスト信号であるか否か を示す情報である。 以下では、 説明の便宜上、 正確な周期のリクエスト信号を R Qo と、 そうでないリクエスト信号を RQ, と表記することにする。
そして、 実施の形態 3にかかる位置検出装置内の CPU 2 5は、 第 6図に示し たように、 夕イマ 2 6の値が TMSET になったときには、 それまで行っていた他 のフフトウエア処理 (S 3 3 0 ) を中断して、 第 1分岐処理 (ステップ S 3 1 0 ;ステップ S 3 1 i〜S 3 1 8) を実行する。 この第 1分岐処理は、 第 4図を用 いて説明した、 実施の形態 2にかかる位置検出装置内の C PUが実行する第 1分 岐処理と全く同じものであるので、 その説明は省略する。
そして、 CPU 2 5は、 リクエスト信号が受信された際には、 第 2分岐処理 ( ステップ S 3 2 0 ) を開始し、 まず、 受信されたリクエスト信号に含まれるリク エスト判別ビッ 卜に基づき、 そのリクエスト信号が、 正確な周期のリクエスト信 号 RQ。 であるか、 正確な周期であるとは限らないリクエスト信号 である かを判断する (ステップ S 3 2 1) 。
受信されたリクエスト信号がリクエスト信号 RQ。 であった場合 (ステップ S 32 1 ; Ye s) 、 CPU 2 5は、 夕イマ 2 6を 0クリア (ステップ S 3 22 ) してから、 位置信号の送信を行い (ステップ S 3 23 ) 、 第 2分岐処理を終了す る。 一方、 受信されたリクエスト信号がリクエスト信号 RQ。 でなかった場合 ( ステップ S 3 2 1 ; No) には、 夕イマ 2 6を 0クリアすることなく、 位置信号 の送信を行い (ステップ S 3 23 ) 、 第 2分岐処理を終了する。
以下、 モ一夕コント口一ラ 3 2がリクエスト信号 RQ。 とリクエスト信号 RQ
, を交互に出力するものであった場合を例に、 第 7図を用いて、 実施の形態 3に 力、かる位置検出装置の動作をさらに具体的に説明する。 なお、 第 7図において、 (A) は、 位置検出装置 1 0がモータコントロ一ラ 32力、らリクエスト信号を受 信するタイミングを示した図であり、 (B) は、 マイクロコンピュータ 1 8内の タイマ 26の値の時間変化を示した図である。 また、 (C) は、 マイクロコンビ ユー夕 1 8からサンプルホールド部 1 5ヘサンプルホールド信号が出力される夕 イミングを示した図であり、 (D) は、 C PU 25が実行する処理の内容の時間 変化を示した図である。 そして、 (E) は、 位置検出装置 1 0から位置信号が送 信されるタイミングを示した図である。
図示してあるように、 リクエスト信号が時刻 t a に受信された場合、 送信位置 データ SD-2を保持した位置信号の送信が行われる。 そして、 受信したリクエス ト信号がリクエスト信号 RQ。 であるので、 その受信時刻から時間 TMSET 力く経 過した時刻である時刻 t b (= t a +TMSET ) に、 送信位置データ SD !を取 得するための処理が開始される。
その後、 時刻 tc にリクエスト信号が受信されると、 送信位置データ SD- iの 送信が行われる。 ただし、 当該リクエスト信号はリクエスト信号 RQ であるた め、 送信位置デ一夕 SDQ を取得するための処理は、 時刻 から時間 TMSET が経過した時刻ではなく (リクエスト信号 RQ, の受信を契機としてではなく) 、 リクエスト信号 RQ。 の受信時刻 t a から時間 TMLMT +TMSET が経過した 時刻 t d に開始される。
このように、 実施の形態 3にかかる位置検出装置では、 リクエスト信号 RQo は、 位置データを取得するための処理を開始するタイミングを定める信号並びに モータコントローラへのデータ送信を実行するタイミングを定める信号として使 用される。 一方、 リクエスト信号 RQ, は、 モ一夕コントローラへのデータ送信 を実行するタイミングを定める信号としてのみ使用され、 そのデータ送信時に送 信される位置デ一夕の取得するための処理の開始タイミングは、 リクエスト信号 RQ。 の受信時刻を基準に定められる。
このため、 本位置検出装置を、 ハードウェアによる正確な周期のリ クエスト信 号には、 正確な周期の信号であることを示すリ クエスト判別ビッ 卜を付加し、 ソ フトウ ア管理によるリクェスト信号には、 正確な周期の信号とは限らないこと を示すリクエスト判別ビッ トを付加するモータコントローラと組み合わせれば、 ソフトウヱァ管理によるリクエスト信号の送信タイミングに変動があっても、 モ 一夕自体の制御は正確に行えることになる、 なお、 そのようなモー夕コントロー ラは、 従来のモータコントローラの僅かな変形で実現することができる。
本発明の実施の形態 4にかかる位置検出装置は、 実施の形態 1にかかる位置検 出装置を変形したものであるので、 ここでは、 動作が異なる部分のみを説明する ことにする。
実施の形態 1にかかる位置検出装置は、 従来の位置検出装置と同様に、 リクェ スト信号の受信毎に、 7フレームからなる位置信号を送出する装置であつたが、 実施の形態 4にかかる位置検出装置は、 モータコントロ一ラとの初回通信時には 、 7フレームの位置信号を送出し、 その後の通信時には、 5フレームの位置信号 を送出する装置となっている。
以下、 第 8図を用いて、 実施の形態 4にかかる位置検出装置が送出する位置信 号のフォーマツ ト並びにその送出手順を説明する。 なお、 図において、 左側に示 してあるフレーム (データ) 、 位置信号が先に送出されるものである。 また、 以 下に記す C P U 2 5の制御動作は、 第 2図のステップ S 1 2 4、 S 1 2 5相当の ステップで行われるものである。
第 8図 (A) に示してあるように、 実施の形態 4にかかる位置検出装置が送出 する信号は、 従来の位置検出装置が送出する信号 (第 1 2図参照) と同様に、 C Dで始まり、 A L Mと C R Cで終わる信号となっている。 ただし、 本位置検出装 置は、 C Dとして、 第 8図 (B ) に示してあるように、 通信エラー保護信号とし て利用されていなかった部分を、 判別信号として利用したものを用いている。 位置検出装置内の C P U 2 5は、 モータコントローラ 3 2と初めて通信する際 (モータコントローラ 3 2に、 最初に位置データを通知する際) には、 第 8図 ( A ) に示してあるように、 従来の位置検出装置と同様に、 C Dと S D。 と A L M と C R Cからなる 7フレームの信号 (以下、 初回通信信号と表記する) が送信さ れるように各部 (主に、 シリアル信号変換回路 1 9) を制御する。 なお、 この際
、 CPU25は、 CDとして、 自信号が初回通信信号であることを示す判別信号 807を含む CD 80 1。 が送信されるようにする。
そして、 初回通信信号の送信が完了した後は、 SD。 の代わりに、 前回の送信 位置デ一夕 SD !と今回の送信位置デ一夕 SD。 との差 "SD。 一 SD を表 すバイトデータと、 SD。 を構成する 4つのバイトデ一夕の 1つを含む信号であ つて、 SD。 を構成する 4つのバイトデ一夕のうちいずれが含まれているかを示 す判別信号 807が設定された CD 8 0 1を含む信号が送出されるように各部を 制御する。
より具体的には、 CPU 25は、 初回通信信号の送出完了後、 最初に送信位置 デー夕を出力する際には、 前回の送信位置デ一夕 S D ,と今回の送信位置デー夕 SD。 との差 "SDQ — SD— と、 今回の送信位置データ SD。 の第 1バイト である SD。 LL 803と、 SD。 L Lが含まれていることを示す C D 80 1 を含む信号が送信されるようにする。
そして、 次に送信位置データを出力する際には、 前回の送信位置データ SD一! と今回の送信位置データ SDQ との差 "SD。 — SD- と、 今回の送信位置デ —夕 SD。 の第 2バイトである SD。 LH 804と、 SD。 LHが含まれている ことを示す CD 80 12 を含む信号が送信されるようにする。 その後、 次に送信 位置データを出力する際には、 "SD。 — SD ' と、 SD。 の第 3バイトであ る SD。 HL 805と、 SD。 H Lが含まれていることを示す C D 80 13 を含 む信号が送信されるようにする。
また、 次に送信位置データを出力する際には、 "SD。 — SD ' と、 SDo の第 4バイトである SD。 HH 806と、 SD。 HHが含まれていることを示す CD 80 14 を含む信号が送信されるようにする。
そして、 CPU25は、 SD。 HHを含む信号が送出された後、 送信位置デー 夕を送出する際には、 SDQ LLを含む信号が送出されるように各部を制御する ものである。 すなわち、 実施の形態 4にかかる位置検出装置内の CPU 2 5は、 送信位置デ —夕の 1回目の送出時には、 4バイトの SD。 を含む 7フレームの信号が送信さ れるように各部を制御する。 また、 CPU 25は、 送信位置データの "4 X I— 2" 回目 ( Iは自然数) の送出時には、 SD。 LLを含む信号が送信され、 送信 位置データの "4 x 1— 1 " 回目の送出時には、 SD。 LHを含む信号が送信さ れるように各部を制御する。 また、 送信位置データの "4 x 1 " 回目の送出時に は、 SD。 HLを含む 5フレームの信号が送信され、 送信位置データの "4 X 1 十 ' 回目の送出時には、 SD。 HHを含む信号が送信されるように各部を制御 する。
実施の形態 4にかかる位置検出装置は、 このように動作するように構成されて いるため、 モータコントローラに位置の検出結果を通知するのに必要とされる時 間が従来よりも短くなつている。 具体的には、 シリアル通信の転送速度が 2. 5 Mb p sであった場合、 既に説明したように従来の信号の伝送に必要とされる時 間は 28 sである。 これに対して、 実施の形態 4にかかる位置検出装置が出力 する信号の伝送に必要とされる時間は、 当該信号のビッ ト数が 5 0ビッ トである ので、 20 s (= 5 0 / ( 2. 5 X 1 06 ) ) となっている。
このため、 本位置検出装置を、 初回通信信号で通知された送信位置データを絶 対位置データとして記憶し、 その後、 位置検出装置から位置信号が通知されるた びに、 その位置信号に含まれる差分データを絶対位置データに加算していき、 加 算後の絶対位置デ一夕を、 スリツ ト板 1 3 (に接続されているモー夕) のその時 点におけるの位置を表すデータとして取り扱うモー夕コントローラ 3 2と組み合 わせれば、 従来よりも短いリクエスト信号周期で動作するシステム、 換言すれば 、 モータ等の制御用の情報をより頻繁に得ることができ、 その結果としてモータ 等の制御がより適切に行えるシステムを構築できることになる。
なお、 実施の形態 4に係る位置検出装置において、 "SD。 — SD 用に 1 フレームしか確保していなし、のは、 位置検出装置により位置を検出されるモータ が一般的な最高回転数である 4 5 0 0 RPMにて回転中であり、 モー夕コン ト口 ーラからのリクエスト信号周期が 5 0 Sであるとすると、 本装置の回転角デー 夕のビッ ト数は 1 6ビッ トであるので、 5 0〃 s経過したときの位置データの変 化量が 1バイ 卜で表せることになるからである (変化量は、 4 5 0 0 Z6 0 x 5 0 X 1 0-6X 2 " = 2 4 5デ一夕となる) 。 "SD。 — SD が 1バイ トで表 せない条件で使用する場合には、 当然、 "SD。 — SD- 用に 2 (あるいはそ れ以上) バイ トが確保されることになる。
また、 "SD。 - S D -! " の他に、 SD。 LL、 SDo LH、 SD。 HL、 S
Do HHのいずれかを含む信号を送出させているのは、 モ一夕コントローラ側で
、 SD。 LL等を用いた絶対位置データの検証が行えるようにするためであるの で、 "SD。 — SD- を含み、 SD。 LL等を含まない信号が出力されるよう に実施の形態 4にかかる位置検出装置を変形することができる。
実施の形態 5にかかる位置検出装置は、 実施の形態 2にかかる位置検出装置を 変形したものであり、 リクエスト信号を周期 I KQで送信するモータコントローラ
3 2であって、 リクエスト信号を送信していないときでも、 位置デ一夕を受信す ることができるモ一夕コントローラ 3 2と接続されて使用される。 また、 位置検 出装置内の CPU 25には、 位置検出装置の使用を開始する前に、 TMSET 、 並 びに、 リクエスト信号送信周期 I RQとその値が一致する TMLMT OTMSET )
、 位置変化速度のしきい値 V, が与えられる。
以下、 第 9図を用いて、 実施の形態 5にかかる位置検出装置の動作を説明する 。 なお、 第 9図において、 (A) は、 位置検出装置がモー夕コントローラ 32か らリクエスト信号を受信するタイミングを示した図であり、 (B) は、 位置変化 速度 " (SD。 一 ) /TMLMT " の時間変化を示した図である。 (C) は、 マイクロコンピュータ 1 8内のタイマ 2 6の値の時間変化を示した図である 。 また、 (D) は、 CPU 2 5が実行する処理の内容の時間変化を示した図であ る。 そして、 (E) は、 位置検出装置から位置信号が送信されるタイミングを示 した図である。
実施の形態 5にかかる位置検出装置には、 通常モードと高速モードと名付けた 2つの動作モードが用意されている。 通常モードは、 (SD。 — SD— ,) /TM LMT によって規定される位置変化速度が Vt 以下であるときに選択される動作モ ードであり、 高速モードは、 位置変化速度が Vt を越えているときに選択される 動作モードである。
通常モード時、 実施の形態 5中の CPU 25は、 位置変化速度が Vt 以上であ るか否かの判断を行う点を除けば、 従来の位置検出装置 1 1 0内の CPU 1 25 と同じ動作をする。
たとえば、 通常モード時、 時刻 t a にリクエスト信号が受信された場合、 CP U25は、 タイマ 26を 0クリアするとともに、 既に算出してある送信位置デ一 夕を含む位置信号がシリアル伝送路 3 1上に送信されるようにシリアル信号変換 回路 1 9等を制御する。 また、 タイマ 26の値が TMSET と一致した際 (時刻 t b ) には、 サンプルホールド部 1 5への "L" レベルのサンプルホールド信号の 供給で始まる処理を実行し、 送信位置デ一夕を算出する。 そして、 その後、 リク ェスト信号が受信されたときに (時刻 te に) 、 その送信位置データを含む位置 信号がシリアル伝送路 3 1上に送信されるようにシリアル信号変換回路 1 9等を 制御する。
このような処理を実行すると共に、 CPU25は、 今回、 算出した送信位置デ —夕 SD。 と前回、 算出した送信位置データの とから算出される位置変化 速度 " (SD。 — SD ) /TMLMT " 、 V, 以下であるか否かの判断も行う 。 なお、 この判断は、 第 9図 (B) に、 丸印で模式的に示してあるように、 位置 データ算出処理の終了時に行われる。 そして、 リクエスト信号受信時には、 その 判断結果に応じた制御が行われる。
具体的には、 通常モードで動作しているときに、 位置変化速度が V, を越えた ことを検出した場合、 CPU25は、 リクエスト信号受信時に、 タイマ 26を 0 クリアするとともに、 TMLMT および TMSET の値を、 それぞれ 1/2とする。 また、 動作モードを高速モードに変更する。 その後 (高速モード時) 、 CPU2 5は、 N==2とされた実施の形態 2にかかる位置検出装置内の CPU 25と同様 の制御を実行する。
すなわち、 高速モード時、 C P U 2 5は、 夕イマ 2 6の値が、 変更後の T MS E τ と一致したときに、 送信位置データを算出するための処理を開始し、 当該処理 によつて得られた送信位置データを含む信号を送出させるための制御を、 タイマ 2 6の値が、 変更後の T ML MT と一致したときに行う (第 1 2図の時刻 t e 以後 を参照されたい) 。 なお、 C P U 2 5は、 この高速モード時、 M個の測定データ から、 M〃 ビッ トの回転角デ一夕を算出する。 ここで、 M〃 は、 通常モード時に 算出される回転角データのビット数 M ' 以下のビッ ト数であり、 リクエスト信号 周期 I RQの間に、 2回、 位置デ一夕を算出でき、 かつ、 当該位置データを含む位 置信号が 2回送信できるように予め設定される。
また、 高速モード時、 C P U 2 5は、 位置変化速度が V , 以下であるか否かの 判断も行い、 位置変化速度が V t 以下となっていると判断されている状態で、 リ クェスト信号が受信された場合には、 動作モードを通常モードに変更する。 すな わち、 タイマ 2 6を 0クリアするとともに、 T ML MT および TMs e t の値を、 そ れぞれ、 2倍する (初期値に戻す) 。
また、 C P U 2 5は動作モ一ドが通常モードであるか高速モ一ドであるかを示 す情報と周期番号とからなる属性情報 1 0 0 5を送信位置データと共に含む信号 が位置信号として送信されるように各部を制御し、 モー夕コントローラ 3 2は当 該属性情報に基づき、 受信された位置信号に含まれる位置データを解釈する。 以上、 説明したように、 実施の形態 5にかかる位置検出装置は、 位置データの 送信周期等を、 スリット板 1 3の位置の変化速度に応じて自動的に変更する。 こ のため、 この位置検出装置と組み合わされたモータコントローラは、 同期モー夕 を高速で動作させているときには、 荒い精度ではあるが、 短い周期で同期モ一夕 内の永久磁石の磁極の位置を知ることができ、 同期モータが通常の速度で動作さ せているときには、 高精度、 かつ、 適当な周期で同期モータ内の永久磁石の磁極 の位置を知ることができることになるので、 結局、 この位置検出装置を用いれば 、 モータを効率良く制御できることになる。 なお、 実施の形態 5にかかる位置検出装置は、 TML M T 等を 1 / 2とする装置 であったが、 TML M T 等を 1 /K ( Kは、 3以上の整数) とする装置としても良 いことは当然である。 また、 実施の形態 5にかかる位置検出装置は、 2つの動作 モードを有するものであつたが、 位置変化速度に関するしきい値を 2つ以上設け 、 3つ以上の動作モードを有する装置としても良い。
さらに、 実施の形態 5にかかる位置検出装置は、 測定 (算出) した位置変化速 度に応じて、 動作モードを変更する装置であつたが、 モータコントローラを、 必 要としている位置データの精度や送信周期を指定する情報を含むリクエスト信号 を送出するものとし、 位置検出装置を、 リクエスト信号内に含まれる当該情報に 従った精度、 送信周期で位置データを出力する装置とすることもできる。
各実施の形態の位置検出装置は、 既に説明した変形以外の変形を施すこともで さる。
例えば、 実施の形態 2、 3、 5の位置検出装置を変形して、 位置信号の送信手 順として、 実施の形態 4にかかる位置検出装置で用いられている送信手順が用い られる位置検出装置を構成することができる。 また、 各実施の形態の位置検出装 置を変形して、 位置信号がパラレル伝送路によってモータコントローラ等の制御 機器に送信される装置を構成することもできる。 また、 各実施の形態の位置検出 装置は、 いわゆる、 口一タリエンコーダであつたが、 各実施の形態に示されてい る技術を、 回転角度以外を検出する装置に適用しても良いことは当然である。 産業上の利用可能性
以上のように、 本発明にかかる位置検出装置は、 被測定物を移動させている、 同期モータ等の機器を制御するために必要とされる位置データの出力源として有 用であり、 特に、 高速な制御が望まれる機器への位置デ一夕の供給に用いるのに 適している。

Claims

請 求 の 範 囲
1 . 被測定物の位置を表す位置データを出力する位置検出装置において、 位置データの出力を要求するリクエスト信号の受信を検出する検出手段と、 この検出手段によってリクエスト信号の受信が検出されてから所定時間が経過 したときに、 前記被測定物の位置を検出するためにセンサの出力を測定するセン サ出力測定手段と、
このセンサ出力測定手段によって測定された出力に基づき、 測定が行われた時 点における前記被測定物の位置を表す位置データを算出する位置データ算出手段 と、
前言己リクエスト信号の受信間隔と前記所定時間と前記位置データ算出手段によ つて算出される位置デ一夕と前記被測定物の推定される速度とを用いて、 その受 信間隔の測定が行われたリクエスト信号の受信時における前記被測定物の位置を 表す位置データである補正位置データを算出する補正位置データ算出手段と、 この補正位置データ算出手段によって算出された補正位置データを、 前言己リク エスト信号に対する応答として出力する出力手段と、
を備えることを特徴とする位置検出装置。
2 . 前記補正位置デ一夕出力手段によつて最初に出力された補正位置デ一夕に関 しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記リクエスト 信号を出力する機器が接続されたシリアル伝送路上に検出結果として送出し、 前 記補正位置デ一夕出力手段によつて 2番目以降に出力された補正位置デー夕に関 しては、 その補正位置データと前回、 出力された補正位置データの差を表す、 前 記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を前記シリァル伝送路 上に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の 範囲第 1項記載の位置検出装置。
3 . 被測定物の位置を表す位置データを出力する位置検出装置において、 位置データの出力を要求するリクエスト信号の受信を検出する検出手段と、 この検出手段によってリクェスト信号の受信が検出されるたびに、 そのリクェ スト信号が検出されてから所定時間が経過した後、 前記リクエスト信号の周期の 整数分の一の周期であって、 予め与えられた出力周期の整数倍の時間が経過する たびに、 前記被測定物の位置を検出するためのセンサの出力を測定する処理を実 行する測定処理実行手段と、
この測定処理実行手段によつて前記センサの出力が測定されるたびに、 その測 定された出力を用いて、 測定が行われた時点における前記被測定物の位置を表す 位置データを算出する位置デ一夕算出手段と、
この位置データ算出手段によって位置データが算出されるたびに、 その算出さ れた位置デー夕と前記出力周期と前記所定時間と前記被測定物の推定される位置 の変化速度とを用いて、 前記リクェスト信号の受信時から前記出力周期の整数倍 の時間が経過した時点であつて、 前記センサ出力測定手段による出力の測定後に 最初に到達する時点における前記被測定物の位置を表す位置データである補正位 置データを算出する補正位置データ算出手段と、
前記補正位置データ算出手段によつて補正位置デー夕が算出されるたびに、 算 出された補正位置デ一夕を、 その補正位置デ一夕が位置を表している時刻に出力 する補正位置データ出力手段と、
を備えることを特徴とする位置検出装置。
4 . 前記補正位置デー夕出力手段によつて最初に出力された補正位置デー夕に関 しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記リクエスト 信号を出力する機器が接続されたシリアル伝送路上に検出結果として送出し、 前 記補正位置データ出力手段によって 2番目以降に出力された補正位置デ一夕に関 しては、 その補正位置データと前回、 出力された補正位置データの差を表す、 前 記第 1所定ビッ 卜数よりも少ない第 2所定ビッ ト数の信号を前記シリァル伝送路 上に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の 範囲第 3項記載の位置検出装置。
5 . 前記被測定物の位置の変化速度を監視する監視手段と、 この監視手段による 監視結果に応じて、 前記出力周期の値を、 前記リクエスト信号の周期の整数分の 一である他の値に変更する出力周期変更手段と、 をさらに備えることを特徴とす る請求の範囲第 3項記載の位置検出装置。
6 . 前記補正位置データ出力手段によつて最初に出力された補正位置デ一夕に関 しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記リクエスト 信号を出力する機器が接続されたシリアル伝送路上に検出結果として送出し、 前 記補正位置データ出力手段によって 2番目以降に出力された補正位置デ一夕に関 しては、 その補正位置デ一夕と前回、 出力された補正位置データの差を表す、 前 記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を前記シリアル伝送路 上に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の 範囲第 5項記載の位置検出装置。
7 . 前記監視手段による監視結果に応じて、 前記位置データ算出手段によって算 出される位置データのビッ ト長を変更するビッ ト長変更手段を、 さらに備えるこ とを特徴とする請求の範囲第 5項記載の位置検出装置。
8 . 前記補正位置デー夕出力手段によつて最初に出力された補正位置デ一夕に関 しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記リクエスト 信号を出力する機器が接続されたシリアル伝送路上に検出結果として送出し、 前 記補正位置データ出力手段によって 2番目以降に出力された補正位置データに関 しては、 その補正位置データと前回、 出力された補正位置データの差を表す、 前 記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を前記シリアル伝送路 上に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の 範囲第 7項記載の位置検出装置。
9 . 前記リクエスト信号は、 前記出力周期を指定する指定情報を含み、 前記検出 手段によって検出された前記リクェスト信号に含まれる指定情報に応じて、 前記 出力周期の値を、 前記リクェスト信号の周期の整数分の一である他の値に変更す る出力周期変更手段を、 さらに備えることを特徴とする請求の範囲第 3項記載の
1 0 . 前記補正位置デ一夕出力手段によって最初に出力された補正位置データに 関しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記リクエス ト信号を出力する機器が接続されたシリアル伝送路上に検出結果として送出し、 前記補正位置デー夕出力手段によって 2番目以降に出力された補正位置デー夕に 関しては、 その補正位置データと前回、 出力された補正位置データの差を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を前記シリアル伝送 路上に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求 の範囲第 9項記載の位置検出装置。
1 1 . 被測定物の位置を表す位置データを出力する位置検出装置であって、 位置データの出力を要求するリクエスト信号の受信を検出するとともに、 受信 を検出したリクエスト信号が、 第 1種リクエスト信号であるか第 2種リクエスト 信号であるかを判別する検出判別手段と、
この検出判別手段によつて第 1種リクエスト信号の受信が検出されるたびに、 その第 1種リクエスト信号の受信が検出されてから所定時間が経過した後、 予め 与えられている前記リクエスト信号の周期の整数倍の時間が経過するたびに、 前 記被測定物の位置を検出するためのセンサの出力を測定する処理を実行する測定 処理実行手段と、 この測定処理実行手段によって前記センサの出力が測定されるたびに、 その測 定された出力を用いて、 測定が行われた時点における前記被測定物の位置を表す 位置データを算出する位置データ算出手段と、
この位置デ一夕算出手段によって位置デ一夕が算出されるたびに、 その位置デ 一夕と前記周期と前記所定時間と前記被測定物の推定される位置の変化速度とを 用いて、 前記第 1種リクエスト信号の受信時から前記周期の整数倍の時間が経過 した時点であって、 前記センサ出力測定手段による出力の測定後に最初に到達す る時点における前記被測定物の位置を表す位置データである補正位置データを算 出する補正位置データ算出手段と、
前記補正位置データ算出手段によつて補正位置デ一タが算出されるたびに、 算 出された補正位置デ一夕を、 その算出後、 前記検出判別手段によって受信が検出 された第 1種リクエスト信号或いは第 2種リクエスト信号に対する応答として出 力する補正位置データ出力手段と、
を備えることを特徴とする位置検出装置。
1 2 . 前記補正位置データ出力手段によって最初に出力された補正位置データに 関しては、 その補正位置データを表す第 i所定ビッ ト数の信号を、 前記リクエス ト信号を出力する機器が接続されたシリァル伝送路上に検出結果として送出し、 前記補正位置デ一夕出力手段によって 2番目以降に出力された補正位置データに 関しては、 その補正位置データと前回、 出力された補正位置データの差を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を前記シリアル伝送 路上に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求 の範囲第 1 1項記載の位置検出装置。 J O " 補正書の請求の範囲
[ 1 9 9 9年 2月 2 3日 (2 3 . 0 2 . 9 9 )国際事務局受理:出願当初の請求の範囲 1 , 2 , 4 , 6 - 8 , 1 0及び 1 2は補正された;他の請求の範囲は変更なし。 (6頁)]
1 . (補正後) 被測定物の位置を表す位置データを出力する位置検出装置におい て、
位置データの出力を要求するリクエスト信号の受信を検出する検出手段と、 この検出手段によってリクエスト信号の受信が検出されてから所定時間が経過 したときに、 前記被測定物の位置を検出するためにセンサの出力を測定するセン サ出力測定手段と、
このセンサ出力測定手段によって測定された出力に基づき、 測定が行われた時 点における前記被測定物の位置を表す位置データを算出する位置データ算出手段 と、
前記リクエスト信号の受信間隔を測定する受信間隔測定手段と、
前記受信間隔測定手段により測定されたリクエスト信号の受信間隔と前記所定 時間と前記位置データ算出手段によつて算出される位置データと前記被測定物の 推定される速度とを用いて、 その受信間隔の測定が行われたリクエスト信号の受 信時における前記被測定物の位置を表す位置データである補正位置データを算出 する補正位置データ算出手段と、
この補正位置データ算出手段によって算出された補正位置データを、 前記リク エスト信号に対する応答として出力する出力手段と、
を備えることを特徴とする位置検出装置。
2 . (補正後) 前記補正位置データ出力手段によって最初に出力された補正位置 データに関しては、 その補正位置データを表す第 1所定ビット数の信号を、 前記 リクエスト信号を出力する機器が接続されたシリアル伝送路上に検出結果として 送出し、 前記補正位置デ一夕出力手段によつて 2番目以降に出力された補正位置 デ一夕に関しては、 その補正位置データと前回、 出力された補正位置デ一夕の差 を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビット数の信号を、 および
補正された用紙 (条約第 19条) /または、 今回出力した信号の一部を付加した信号を、 前記シリアル伝送路上に 検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の範囲 第 1項記載の位置検出装置。
3 . 被測定物の位置を表す位置データを出力する位置検出装置において、 位置データの出力を要求するリクエスト信号の受信を検出する検出手段と、 この検出手段によつてリクエスト信号の受信が検出されるたびに、 そのリクェ スト信号が検出されてから所定時間が経過した後、 前記リクエスト信号の周期の 整数分の一の周期であって、 予め与えられた出力周期の整数倍の時間が経過する たびに、 前記被測定物の位置を検出するためのセンサの出力を測定する処理を実 行する測定処理実行手段と、
この測定処理実行手段によつて前記センサの出力が測定されるたびに、 その測 定された出力を用いて、 測定が行われた時点における前記被測定物の位置を表す 位置データを算出する位置データ算出手段と、
この位置デー夕算出手段によつて位置デー夕が算出されるたびに、 その算出さ れた位置デー夕と前記出力周期と前記所定時間と前記被測定物の推定される位置 の変化速度とを用いて、 前記リクェスト信号の受信時から前記出力周期の整数倍 の時間が経過した時点であって、 前記センサ出力測定手段による出力の測定後に 最初に到達する時点における前記被測定物の位置を表す位置データである補正位 置デ一夕を算出する補正位置デ一夕算出手段と、
前記補正位置データ算出手段によつて補正位置データが算出されるたびに、 算 出された補正位置デー夕を、 その補正位置デ一夕が位置を表している時刻に出力 する補正位置デ一夕出力手段と、
を備えることを特徴とする位置検出装置。
4 . (補正後) 前記補正位置データ出力手段によって最初に出力された補正位置 デ一夕に関しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記
補正された用紙 (条約第 19条) リクエスト信号を出力する機器が接続されたシリアル伝送路上に検出結果として 送出し、 前記補正位置デ一夕出力手段によつて 2番目以降に出力された補正位置 データに関しては、 その補正位置データと前回、 出力された補正位置データの差 を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を、 および /または、 今回出力した信号の一部を付加した信号を、 前記シリアル伝送路上に 検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の範囲 第 3項記載の位置検出装置。
5 . 前記被測定物の位置の変化速度を監視する監視手段と、 この監視手段による 監視結果に応じて、 前記出力周期の値を、 前記リクエスト信号の周期の整数分の 一である他の値に変更する出力周期変更手段と、 をさらに備えることを特徴とす る請求の範囲第 3項記載の位置検出装置。
6 . (補正後) 前記補正位置データ出力手段によって最初に出力された補正位置 データに関しては、 その補正位置データを表す第 1所定ビット数の信号を、 前記 リクエスト信号を出力する機器が接続されたシリアル伝送路上に検出結果として 送出し、 前記補正位置デー夕出力手段によつて 2番目以降に出力された補正位置 データに関しては、 その補正位置データと前回、 出力された補正位置データの差 を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビット数の信号を、 および /または、 今回出力した信号の一部を付加した信号を、 前記シリアル伝送路上に 検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の範囲 第 5項記載の位置検出装置。
7 . (補正後) 前記監視手段による監視結果に応じて、 シリアル伝送路上に送出 する位置データのビッ ト長を変更するビッ ト長変更手段を、 さらに備えることを 特徴とする請求の範囲第 5項記載の位置検出装置。
補正された用紙 (条約第 19条)
8 . (補正後) 前記補正位置データ出力手段によって最初に出力された補正位置 データに関しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前記 リクエスト信号を出力する機器が接続されたシリアル伝送路上に検出結果として 送出し、 前記補正位置デー夕出力手段によつて 2番目以降に出力された補正位置 データに関しては、 その補正位置データと前回、 出力された補正位置データの差 を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を、 および Zまたは、 今回出力した信号の一部を付加した信号を、 前記シリアル伝送路上に 検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の範囲 第 7項記載の位置検出装置。
9 . 前記リクエスト信号は、 前記出力周期を指定する指定情報を含み、 前記検出 手段によって検出された前記リクエスト信号に含まれる指定情報に応じて、 前記 出力周期の値を、 前記リクエスト信号の周期の整数分の一である他の値に変更す る出力周期変更手段を、 さらに備えることを特徴とする請求の範囲第 3項記載の 位置検出装置。
1 0 . (補正後) 前記補正位置データ出力手段によって最初に出力された補正位 置データに関しては、 その補正位置データを表す第 1所定ビット数の信号を、 前 記リクエスト信号を出力する機器が接続されたシリ了ル伝送路上に検出結果とし て送出し、 前記補正位置デー夕出力手段によって 2番目以降に出力された補正位 置データに関しては、 その補正位置データと前回、 出力された補正位置データの 差を表す、 前記第 1所定ビット数よりも少ない第 2所定ビッ ト数の信号を、 およ び Zまたは、 今回出力した信号の一部を付加した信号を、 前記シリアル伝送路上 に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の範 囲第 9項記載の位置検出装置。
1 1 . 被測定物の位置を表す位置デ一夕を出力する位置検出装置であって、
補正された用紙 (条約第 19条) 位置データの出力を要求するリクエスト信号の受信を検出するとともに、 受信 を検出したリクエスト信号が、 第 1種リクエスト信号であるか第 2種リクェスト 信号であるかを判別する検出判別手段と、
この検出判別手段によって第 1種リクエスト信号の受信が検出されるたびに、 その第 1種リクエスト信号の受信が検出されてから所定時間が経過した後、 予め 与えられている前記リクェスト信号の周期の整数倍の時間が経過するたびに、 前 記被測定物の位置を検出するためのセンサの出力を測定する処理を実行する測定 処理実行手段と、
この測定処理実行手段によって前記センサの出力が測定されるたびに、 その測 定された出力を用いて、 測定が行われた時点における前記被測定物の位置を表す 位置デ一夕を算出する位置デ一タ算出手段と、
この位置デ一夕算出手段によって位置データが算出されるたびに、 その位置デ 一夕と前記周期と前記所定時間と前記被測定物の推定される位置の変化速度とを 用いて、 前記第 1種リクエスト信号の受信時から前記周期の整数倍の時間が経過 した時点であって、 前記センサ出力測定手段による出力の測定後に最初に到達す る時点における前記被測定物の位置を表す位置デ一夕である補正位置データを算 出する補正位置データ算出手段と、
前記補正位置データ算出手段によつて補正位置デ一夕が算出されるたびに、 算 出された補正位置データを、 その算出後、 前記検出判別手段によって受信が検出 された第 1種リクェスト信号或いは第 2種リクェスト信号に対する応答として出 力する補正位置デ一タ出力手段と、
を備えることを特徴とする位置検出装置。
1 2 . (補正後) 前記補正位置デ一夕出力手段によって最初に出力された補正位 置デ一夕に関しては、 その補正位置データを表す第 1所定ビッ ト数の信号を、 前 記リクエスト信号を出力する機器が接続されたシリアル伝送路上に検出結果とし て送出し、 前記補正位置デ一夕出力手段によって 2番目以降に出力された補正位
捕正された用紙 (条約第 19条) 置データに関しては、 その補正位置データと前回、 出力された補正位置データの 差を表す、 前記第 1所定ビッ ト数よりも少ない第 2所定ビッ ト数の信号を、 およ び /または、 今回出力した信号の一部を付加した信号を、 前記シリアル伝送路上 に検出結果として送出する送出手段を、 さらに備えることを特徴とする請求の範 囲第 1 1項記載の位置検出装置。
補正された用紙 (条約第 19条) 条約 1 9条に基づく説明書
請求の範囲第 1項は、 リクエスト信号の受信間隔を測定する受信間隔測定手段 を追加し、 その受信間隔測定手段により測定されたリクェスト信号の受信間隔を 補正位置デ一夕を算出するのに用いることを明確にした。 また、 請求の範囲第 2項、 第 4項、 第 6項、 第 8項、 第 1 0項および第 1 2項 には、 2番目以降に出力する信号を前回出力した信号との差を表す信号だけでは なく、 今回出力した信号の一部を付加して出力することにっし、ても追加した。 さらに、 請求の範囲第 7項は、 そのビット長変更手段が、 シリアル伝送路上に 送出する位置デ一夕のビッ ト長を変更するものであることを明確にした。 以上のような限定的な補正を行うことにより、 引用例との技術的な差異を明確 にした。
PCT/JP1998/003934 1998-09-02 1998-09-02 Detecteur de position WO2000014483A1 (fr)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN98814234A CN1309760A (zh) 1998-09-02 1998-09-02 位置检测装置
JP2000569183A JP3538145B2 (ja) 1998-09-02 1998-09-02 位置検出装置
EP98941684A EP1116936A4 (en) 1998-09-02 1998-09-02 POSITION DETECTOR
PCT/JP1998/003934 WO2000014483A1 (fr) 1998-09-02 1998-09-02 Detecteur de position
US09/746,539 US6348695B2 (en) 1998-09-02 2000-12-21 Position detection apparatus
HK02101063.8A HK1039517A1 (zh) 1998-09-02 2002-02-11 位置檢測裝置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1998/003934 WO2000014483A1 (fr) 1998-09-02 1998-09-02 Detecteur de position

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US09/746,539 Continuation US6348695B2 (en) 1998-09-02 2000-12-21 Position detection apparatus

Publications (1)

Publication Number Publication Date
WO2000014483A1 true WO2000014483A1 (fr) 2000-03-16

Family

ID=14208914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1998/003934 WO2000014483A1 (fr) 1998-09-02 1998-09-02 Detecteur de position

Country Status (6)

Country Link
US (1) US6348695B2 (ja)
EP (1) EP1116936A4 (ja)
JP (1) JP3538145B2 (ja)
CN (1) CN1309760A (ja)
HK (1) HK1039517A1 (ja)
WO (1) WO2000014483A1 (ja)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010078342A (ja) * 2008-09-24 2010-04-08 Nidec Sankyo Corp エンコーダの情報処理システム及び情報処理方法
JP2010164501A (ja) * 2009-01-19 2010-07-29 Canon Inc 信号処理装置及び計測装置
JP2013029529A (ja) * 2012-11-08 2013-02-07 Canon Inc 信号処理装置及び計測装置
JP2013187802A (ja) * 2012-03-09 2013-09-19 Denso Corp センサ装置
JP2016217950A (ja) * 2015-05-22 2016-12-22 株式会社安川電機 エンコーダ、コントローラ、モータ制御システム、ロボット制御システム、ロボット、データ送信方法、及び回転数比較方法
JP2019158382A (ja) * 2018-03-08 2019-09-19 Dmg森精機株式会社 エンコーダ
JP2020024154A (ja) * 2018-08-08 2020-02-13 ファナック株式会社 エンコーダおよびデータ送信方法
JP2020201783A (ja) * 2019-06-12 2020-12-17 ファナック株式会社 エンコーダおよびデータ送信方法

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE50308617D1 (de) * 2002-09-25 2007-12-27 Heidenhain Gmbh Dr Johannes Verfahren zum betrieb einer positionsmesseinrichtung und geeignete positionsmesseinrichtung hierzu
DE10392675B4 (de) 2003-04-11 2006-10-12 Mitsubishi Denki K.K. Drehcodierer
JP4728128B2 (ja) * 2006-01-17 2011-07-20 株式会社ハーモニック・ドライブ・システムズ 多軸モータ位置検出信号伝達装置
US7928725B2 (en) * 2006-03-14 2011-04-19 Ntn Corporation Rotational angle detector and rotational angle detector incorporated bearing assembly
DE102006061580A1 (de) * 2006-12-27 2008-07-03 Robert Bosch Gmbh Verfahren zur Bestimmung der Drehzahl einer rotierenden Welle
JP5251960B2 (ja) * 2010-11-05 2013-07-31 株式会社安川電機 エンコーダ、サーボユニット及び位置データ算出方法
US9225793B2 (en) 2011-01-28 2015-12-29 Cisco Technology, Inc. Aggregating sensor data
US9171079B2 (en) 2011-01-28 2015-10-27 Cisco Technology, Inc. Searching sensor data
US9275093B2 (en) * 2011-01-28 2016-03-01 Cisco Technology, Inc. Indexing sensor data
JP6732366B2 (ja) * 2015-12-21 2020-07-29 株式会社ミツトヨ 光電式エンコーダおよび測定器
CN105812657B (zh) * 2016-03-04 2018-12-25 江苏亚奥科技股份有限公司 可定位式导轨摄像机及其使用方法
JP6354961B2 (ja) * 2016-05-20 2018-07-11 Tdk株式会社 状態判別装置および方法、物理量情報生成装置ならびに角度センサ
WO2019130381A1 (ja) * 2017-12-25 2019-07-04 株式会社ニコン 加工システム、測定プローブ、形状測定装置、及びプログラム
CN111902692A (zh) * 2018-09-14 2020-11-06 松下电器(美国)知识产权公司 判定方法及判定装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63180864A (ja) * 1987-01-22 1988-07-25 Fujitsu Ten Ltd 車体速度の推定演算方法
JPS6456929A (en) * 1987-08-25 1989-03-03 Honda Motor Co Ltd Revolution angle position detector for rotary shaft for engine control
JPH0275524U (ja) * 1988-11-28 1990-06-08
JPH0694406A (ja) * 1992-09-14 1994-04-05 Mitsutoyo Corp 変位測定装置
JPH08261794A (ja) * 1995-03-24 1996-10-11 Mitsubishi Electric Corp エンコーダ装置及びサーボモーター制御装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62260574A (ja) 1986-05-06 1987-11-12 Mitsubishi Electric Corp モ−タの回転速度検出方法
US4931940A (en) 1987-06-05 1990-06-05 Honda Giken Kogyo Kabushiki Kaisha Rotational position detector for controlling an internal combustion engine
JP2501227B2 (ja) 1988-05-30 1996-05-29 ファナック株式会社 絶対位置エンコ―ダ
US5136148A (en) * 1990-07-04 1992-08-04 Olympus Optical Co., Ltd. Speed detection apparatus for camera
JPH05240631A (ja) 1992-02-27 1993-09-17 Yokogawa Electric Corp 光学式エンコーダ

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63180864A (ja) * 1987-01-22 1988-07-25 Fujitsu Ten Ltd 車体速度の推定演算方法
JPS6456929A (en) * 1987-08-25 1989-03-03 Honda Motor Co Ltd Revolution angle position detector for rotary shaft for engine control
JPH0275524U (ja) * 1988-11-28 1990-06-08
JPH0694406A (ja) * 1992-09-14 1994-04-05 Mitsutoyo Corp 変位測定装置
JPH08261794A (ja) * 1995-03-24 1996-10-11 Mitsubishi Electric Corp エンコーダ装置及びサーボモーター制御装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1116936A4 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010078342A (ja) * 2008-09-24 2010-04-08 Nidec Sankyo Corp エンコーダの情報処理システム及び情報処理方法
JP2010164501A (ja) * 2009-01-19 2010-07-29 Canon Inc 信号処理装置及び計測装置
JP2013187802A (ja) * 2012-03-09 2013-09-19 Denso Corp センサ装置
JP2013029529A (ja) * 2012-11-08 2013-02-07 Canon Inc 信号処理装置及び計測装置
JP2016217950A (ja) * 2015-05-22 2016-12-22 株式会社安川電機 エンコーダ、コントローラ、モータ制御システム、ロボット制御システム、ロボット、データ送信方法、及び回転数比較方法
JP2019158382A (ja) * 2018-03-08 2019-09-19 Dmg森精機株式会社 エンコーダ
JP7075784B2 (ja) 2018-03-08 2022-05-26 Dmg森精機株式会社 エンコーダ
JP2020024154A (ja) * 2018-08-08 2020-02-13 ファナック株式会社 エンコーダおよびデータ送信方法
US10911077B2 (en) 2018-08-08 2021-02-02 Fanuc Corporation Encoder and data transmission method
JP2020201783A (ja) * 2019-06-12 2020-12-17 ファナック株式会社 エンコーダおよびデータ送信方法
JP7277274B2 (ja) 2019-06-12 2023-05-18 ファナック株式会社 エンコーダおよびデータ送信方法

Also Published As

Publication number Publication date
EP1116936A4 (en) 2003-06-25
HK1039517A1 (zh) 2002-04-26
US6348695B2 (en) 2002-02-19
EP1116936A1 (en) 2001-07-18
CN1309760A (zh) 2001-08-22
US20010001540A1 (en) 2001-05-24
JP3538145B2 (ja) 2004-06-14

Similar Documents

Publication Publication Date Title
WO2000014483A1 (fr) Detecteur de position
WO2018196498A1 (zh) 一种biss协议数据解码方法及接口系统
US10759470B2 (en) Sensor device and electric power steering apparatus using same
JP6140459B2 (ja) センサーデータ伝送装置
US6756582B2 (en) Position transducer
CN102830247A (zh) 一种检测旋转部件旋转状态的方法和装置
CN111052006B (zh) 控制装置以及控制方法
CN103618588A (zh) 一种自动波特率检测方法及检测模块
CN104378260A (zh) Can总线的负载率测试方法及装置、系统
JP2016004013A (ja) アブソリュートエンコーダ及び回転位置データ伝送方法
US9869547B2 (en) Position-measuring device and method for testing a clock signal
KR20160117225A (ko) 전자 기기 장치 및 데이터 송신 방법
CN109374022A (zh) 位置编码器采样时序系统
JP2018097740A (ja) 制御装置及び制御システム
WO2006018935A1 (ja) ネットワーク
JP6826077B2 (ja) エンコーダおよびデータ送信方法
CN112327707B (zh) 伺服驱动器的时序控制方法、装置和系统
JP2010276340A (ja) 回転体の角度位置/速度検出装置および動力試験システム
US7802150B2 (en) Ensuring maximum reaction times in complex or distributed safe and/or nonsafe systems
JPH07264263A (ja) シリアル通信インターフェース装置
JP7277274B2 (ja) エンコーダおよびデータ送信方法
CN219285601U (zh) 一种智能手表的表冠的检测装置
CN111293930B (zh) 用于控制电机的方法和装置
KR101894311B1 (ko) 자동변속 제어의 시뮬레이션 방법
CN106996799A (zh) 用于仪器面板的微调编码器、系统及识别方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 98814234.1

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1998941684

Country of ref document: EP

Ref document number: 09746539

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 1998941684

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1998941684

Country of ref document: EP