Encoders and encoder control systems

By introducing a fixed delay time into the encoder and control system to generate position information and send timing information, the complexity of position information correction caused by changes in encoder types is solved, simplifying the correction process and improving control accuracy.

CN110941231BActive Publication Date: 2024-09-20FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910910210.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-25
Filing Date
2019-09-25
Publication Date
2024-09-20
Estimated Expiration
2039-09-25

AI Technical Summary

Technical Problem

When switching between multiple types of encoders, the timing of position information generation is different, resulting in the need to adjust the correction amount according to each encoder, increasing operational complexity and accuracy requirements.

Method used

An encoder and control system are designed that generate position information with a fixed delay time after receiving a position information request signal, and send the position information through serial communication to generate timing information. The control device can perform position information based on the received timing information. The correction avoids the need to adjust the correction amount according to the type of encoder.

Benefits of technology

It achieves the best position data correction when the encoder type changes, simplifies the input process of position information generation timing information, and improves control accuracy and operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110941231B_ABST
    Figure CN110941231B_ABST
Patent Text Reader

Abstract

The present invention provides an encoder and a control system of the encoder. The encoder involved in the embodiment of the present disclosure comprises: a first receiving unit, which receives a position information request signal for requesting position information of a detected body; a position information generating unit, which generates position information at a position information generating timing after a specified delay time from the receipt of the position information request signal; and a first sending unit, which sends the position information to the outside through serial communication, wherein the first sending unit sends position information generating timing information indicating the specified delay time to the outside through at least one serial communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an encoder and a control system of the encoder. Background Art

[0002] In the control system of the encoder that performs serial communication, the encoder receives a signal from the control device for requesting the control system position information, and loads the position information generated at a certain time into the serial data for communication. It takes a fixed time from the encoder receiving the position information request signal to the control device receiving the position information as serial data. During this period, the detected object has moved and the position information has been updated.

[0003] In order to cope with the change in position information, the control device estimates and corrects the position information when receiving the position information based on the operating conditions and communication timing, thereby improving the accuracy of control (for example, Japanese Patent Application Laid-Open No. 2013-90567).

[0004] However, when one encoder is selected from a plurality of types of encoders for use, there is a problem in that the position information generation timing of the encoder differs among encoders, and thus the correction amount needs to be adjusted for each encoder. Summary of the invention

[0005] An object of the present invention is to provide an encoder and an encoder control system that can obtain position information generation timing information for correcting optimal position data when the type of encoder is changed, thereby omitting the work of inputting the position information generation timing information.

[0006] The encoder involved in the embodiment of the present disclosure comprises: a first receiving unit, which receives a position information request signal for requesting the position information of the detected body; a position information generating unit, which generates position information at a position information generation timing after a specified delay time from the receipt of the position information request signal; and a first sending unit, which sends the position information to the outside through serial communication, wherein the first sending unit sends the position information generation timing information indicating the specified delay time to the outside through at least one serial communication.

[0007] In the control system of the encoder involved in the embodiment of the present disclosure, the encoder and the control device are connected through communication, and the encoder comprises: a first receiving unit, which receives a position information request signal for requesting the position information of the detected body; a position information generating unit, which generates position information at a position information generating timing after a specified delay time from the receipt of the position information request signal; and a first sending unit, which sends the position information to the outside through serial communication, wherein the first sending unit sends the position information generating timing information indicating the specified delay time to the outside through at least one serial communication, and the control device comprises: a second sending unit, which sends the position information request signal; a second receiving unit, which receives the position information and the position information generating timing information indicating the specified delay time; and a correction unit, which corrects the position information received by the second receiving unit based on the position information and the specified delay time.

[0008] According to the encoder and the encoder control system involved in the embodiments of the present disclosure, even if the type of encoder is changed, position information generation timing information for correcting the optimal position data can be obtained, thereby omitting the operation for inputting the position information generation timing information. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a block diagram of a control system of an encoder according to an embodiment.

[0010] Figure 2 This is a timing chart of a position information request signal and position information generation timing in the control system of the encoder according to the embodiment.

[0011] Figure 3 It is a timing chart of a position information request signal and position information generation timing in a control system of an encoder according to a modification of the embodiment.

[0012] Figure 4A It is a diagram showing an example of the data structure of position information generation timing information and position information in the control system of the encoder involved in the embodiment.

[0013] Figure 4B 1 is a diagram showing an example of the data structure of position information in the control system of the encoder according to the embodiment.

[0014] Figure 5 This is a diagram showing the relationship between the communication delay time and the correction amount in the control system of the encoder according to the embodiment. DETAILED DESCRIPTION

[0015] The encoder and the encoder control system according to the present invention are described below with reference to the accompanying drawings. However, it should be noted that the technical scope of the present invention is not limited to these embodiments, and includes the inventions described in the claims and their equivalents.

[0016] Figure 1 The following is a block diagram of a control system for an encoder according to an embodiment (hereinafter, also simply referred to as a “control system”). The control system 100 includes an encoder 1 and a control device 2 connected by serial communication.

[0017] The encoder 1 includes a first receiving unit 11, a position information generating unit 12, a first transmitting unit 13, a first storage unit 14, a sensor unit 15, and an analog / digital (A / D) converter 16. The encoder 1 is disposed near a motor 10 as a detected object, and detects the position and moving speed of a rotating shaft (not shown) of the motor 10.

[0018] The sensor unit 15 detects the movement of the rotating shaft of the motor 10 and outputs an analog signal corresponding to the movement distance of the rotating shaft. The A / D converter 16 performs A / D conversion on the analog signal output from the sensor unit 15 and outputs a digital signal.

[0019] The control device 2 includes a second transmitting unit 21 , a second receiving unit 22 , a correcting unit 23 , and a second storage unit 24 .

[0020] The first receiving unit 11 receives a position information request signal for requesting position information of the detected object. Figure 1 In the illustrated example, the first receiving unit 11 of the encoder 1 receives the position information request signal transmitted from the second transmitting unit 21 of the control device 2 . Figure 2 A timing chart showing a position information request signal and position information generation timing in the encoder control system according to the embodiment. For example, the time when the first receiving unit 11 receives the position information request signal can be set to the falling time r1, r2, r3 of the pulse of the position information request signal.

[0021] The position information generating unit 12 generates position information at a position information generating timing after a predetermined delay time from the reception of the position information request signal. Figure 1 In the illustrated example, the position information generating unit 12 generates the position information of the detected object based on the digital signal output from the A / D converter 16. The first storage unit 14 is used to store the position information and the position information generation timing information.

[0022] The first transmitting unit 13 transmits the position information to the outside through serial communication. In addition, the first transmitting unit 13 transmits the position information generation timing information indicating the predetermined delay time to the outside through at least one serial communication. Figure 1In the illustrated example, the position information and the position information generation timing information transmitted by the first transmitting unit 13 are received by the second receiving unit 22 of the control device 2 .

[0023] exist Figure 2 For example, when the first receiving unit 11 receives the first location information request signal at time r1, the location information generating unit 12 generates location information at time t1 after a predetermined delay time Δt1 (= t1-r1). Similarly, when the first receiving unit 11 receives the second location information request signal at time r2, the location information generating unit 12 generates location information at time t2 after a predetermined delay time Δt2 (= t2-r2), and when the first receiving unit 11 receives the third location information request signal at time r3, the location information generating unit 12 generates location information at time t3 after a predetermined delay time Δt3 (= t3-r3). Similarly, when the first receiving unit 11 receives the nth location information request signal at time rn (where n is an integer), the location information generating unit 12 generates location information at time tn after a predetermined delay time Δtn (= tn-rn). At this time, it is preferable that each of the delay times Δt1, Δt2, Δt3, ..., Δtn is a fixed time. If the delay time is a fixed time, by storing the delay time Δt1 initially sent by the first sending unit 13 of the encoder 1 to the control device 2 in the second storage unit 24 of the control device 2, it is not necessary to send the information related to the delay time (position information generation timing information) to the control device 2 after the second time. In this way, the first sending unit 13 can be set to output the position information generation timing information only once after the first receiving unit 11 receives the position information request signal.

[0024] In the above example, if Figure 2 As shown, an example is shown in which the location information generating unit 12 generates location information at time t1, and the time t1 is the location information generation timing after a predetermined delay time Δt1 from when the location information request signal is received at time r1. That is, the length of the delay time Δt1 is determined based on the time r1 when the location information request signal is received. However, the present invention is not limited to such an example. Figure 3 A timing chart showing a position information request signal and position information generation timing in a control system of an encoder according to a modification of the embodiment is shown. Figure 3 As shown, the serial data transmission start time s1 may be used as a reference, and the serial data may be transmitted after a predetermined delay time Δts1 (= s1 - t1 ) from the time t1 at which the position information is generated.

[0025] exist Figure 3In the example, when the second receiving unit 22 of the control device 2 completes the reception of the serial data at time t0, the communication delay time T is t0-t1. In addition, the transmission period of the serial data is from time s1 to t0. In this case, the communication delay time T can be calculated by the following formula.

[0026] T=t0-t1=t0-s1+Δts1

[0027] Figure 4A An example of the data structure of position information generation timing information and position information in the control system of the encoder involved in the embodiment is shown. Figure 4B An example of the data structure of position information in the control system of the encoder involved in the embodiment is shown. An example of sending 12-bit multi-turn rotation data and 16-bit position data within one turn as position information through serial communication is described. Figure 4A For example, when sending 16-bit position information generation timing information via serial communication, the position information generation timing information is added to the 28-bit position information and sent via serial data. On the other hand, when sending position information for the second time or later, the position information generation timing information is not added, and only the position information is sent.

[0028] The second receiving unit 22 of the control device 2 receives the position information and the position information generation timing information indicating the predetermined delay time. However, as described above, the second storage unit 24 may store the position information generation timing information first received by the second receiving unit 22, so that only the position information is received the second time and thereafter.

[0029] The correction unit 23 of the control device 2 corrects the position information received by the second receiving unit 22 based on the position information and a predetermined delay time. This is because the object to be detected moves from the time the position information generating unit 12 of the encoder 1 generates the position information until the second receiving unit 22 receives the position information.

[0030] Figure 5 The relationship between the communication delay time and the correction amount in the control system of the encoder involved in the embodiment is shown. The correction unit 23 calculates the communication delay time, which is the difference between the period (t0-r1) from the time r1 when the second transmission unit 21 transmits the position information request signal to the time t0 when the second receiving unit 22 receives the position information and the predetermined delay time (Δt1=t1-r1). That is, if the communication delay time is set to T, T can be obtained by the following formula.

[0031] T=t0-r1-Δt1

[0032] Here, time r1 is the time when the control device 2 sends the position information request signal to the encoder 1, and time r1 can be stored in the second storage unit 24 of the control device 2. In addition, time t0 is the time when the control device 2 calculates the correction amount, and time t0 can be stored in the second storage unit 24 of the control device 2. In addition, the second receiving unit 22 of the control device 2 receives the delay time Δt1 from the encoder 1 as the position information generation timing information, so the delay time Δt1 can be stored in the second storage unit 24 of the control device 2.

[0033] The correction unit 23 can correct the position information according to the product of the communication delay time T and the moving speed v of the detected object. n The position of the detected object at this time is p n , time t n+1 The position of the detected object at this time is p n+1 , then the moving speed v can be calculated by the following formula.

[0034] v=(p n+1 -p n ) / (t n+1 -t n )

[0035] Therefore, as shown in the following formula, the correction amount Δθ can be obtained by multiplying the moving speed v by the communication delay time T.

[0036] Δθ=v×T

[0037] Therefore, if the position generated at time t1, which is the timing for generating position information, is set to θ1, the position θ at time t0 when the control device 2 receives the position information is set to the value obtained by adding the correction amount Δθ to the position θ1 detected by the sensor unit 15, which can be calculated by the following formula.

[0038] θ=θ1+Δθ

[0039] like Figure 5 As shown in FIG. 1 , the time from receiving the position information request signal to generating the position information, i.e., the delay time, varies depending on the type of encoder (e.g., encoder A, B, C, D, etc.). Conventionally, it was necessary to set the delay time according to the type of encoder, but the encoder involved in the embodiment of the present disclosure outputs the position information generation timing information to the outside, so the operation of setting the delay time according to the type of encoder can be omitted.

Claims

1. A control system for an encoder, wherein: The encoder and control device are connected through communication. The encoder has: A first receiving unit, which receives a position information request signal for requesting position information of a detected object; a position information generating unit configured to generate the position information at a position information generating timing after a predetermined delay time from receiving the position information request signal; as well as a first transmitting unit, which transmits the position information to the outside through serial communication, wherein, after the first receiving unit receives the position information request signal, the first sending unit sends the position information generation timing information indicating the specified delay time to an external control device at least once through serial communication, The control device comprises: a second sending unit, configured to send the location information request signal; a second receiving unit configured to receive the position information and the position information generation timing information indicating the predetermined delay time; a storage unit storing the position information generation timing information indicating the predetermined delay time; a correction unit that corrects the position information received by the second receiving unit based on the position information and the predetermined delay time, Among them, the correction unit initially corrects the position information received by the second receiving unit based on the position information received by the second receiving unit and the specified delay time, and next time corrects the position information received by the second receiving unit based on the position information received by the second receiving unit and the specified delay time stored in the storage unit.

2. The encoder control system according to claim 1, characterized in that: The correction unit calculates a communication delay time, which is a difference between a period from when the second transmission unit transmits the location information request signal to when the second reception unit receives the location information and the predetermined delay time. The correction unit corrects the position information based on a product of the communication delay time and a moving speed of the detected object.

Citation Information

Patent Citations

  • Method and system for estimating rotor angle of electric machine

    JP2013090567A

  • Position detection encoder

    CN104236494A

  • Position sensor device to determine a position of a moving device

    CN105452815A

  • Device, system, and method for compensating for isolation and cable delays in an ssi encoder interface circuit

    CN1656431A

  • Encoder and method of outputting measurement value of position or angle

    US20140299754A1