Encoders and Measuring Systems

The encoder's enhanced functionality allows users to modify the one-rotation reset execution permission setting via a controller, addressing the issue of accidental resets and ensuring proper alignment between the motor and encoder.

JP7679047B1Active Publication Date: 2025-05-19TAMAGAWA SEIKI CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024030988
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2025-05-19
Estimated Expiration
2044-03-01

AI Technical Summary

Technical Problem

Existing encoders lack the ability for users to arbitrarily change the setting for one-rotation reset execution permission without using a setting device, leading to potential disruptions in motor and encoder alignment.

Method used

The encoder is equipped with a control unit, non-volatile memory, sensing unit, signal processing unit, and communication unit, allowing it to receive and respond to signals from a controller to change the one-rotation reset execution permission setting directly in the memory.

Benefits of technology

This solution enables users to change the one-rotation reset execution permission setting from a controller, preventing accidental resets and ensuring proper alignment between the motor and encoder.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007679047000001_ABST
    Figure 0007679047000001_ABST
Patent Text Reader

Abstract

Provided is an encoder and a measurement system that enable a user to change settings in a non-volatile memory regarding permission / prohibition of execution of a one-rotation reset. [Solution] The device includes a control unit 110, a memory 120, a sensing unit 150, a signal processing unit 160 that generates state detection information from the detection result of the sensing unit 150, and a communication unit 130, and when a setting request signal including a new one-rotation reset execution permission setting value is received from a controller 10, the new one-rotation reset execution permission setting value is stored in the memory 120. When the control unit 110 receives a one-rotation reset request signal from the controller 10, if the stored one-rotation reset execution permission setting value is a reset execution disallowance setting, the control unit 110 does not execute a one-rotation reset, and if the stored one-rotation reset execution permission setting value is a reset execution permission setting, the control unit 110 executes a one-rotation reset.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an encoder and a measurement system, and more particularly to an improvement in one-rotation reset in an encoder.

Background Art

[0002] After a user attaches an encoder to a measurement target device such as a motor and mechanically aligns the magnetic pole position of the motor and the reference position of the encoder, an electrical alignment called "one-rotation reset" is executed to synchronize the magnetic pole position of the motor and the reference position of the encoder. In this case, when the encoder receives a one-rotation reset request signal from the controller, it executes a reset with the one-rotation position at the time of reception set to 0 of the origin position.

[0003] Regarding the technology related to this one-rotation reset, it is disclosed in Patent Document 1 below.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] Although not described in detail in Patent Document 1 above, the setting value for permission / non-permission of execution of one-rotation reset is stored in a non-volatile memory in the encoder.

[0006] If the user accidentally executes one-rotation reset unintentionally, the alignment between the magnetic pole of the motor and the encoder may be disrupted, and there may be a problem that normal position detection cannot be performed. To prevent such a situation, it is desirable to change the setting of the non-volatile memory so that one-rotation reset cannot be executed again after the user has executed one-rotation reset normally.

[0007] However, the setting in the non-volatile memory as to whether to execute a one-rotation reset is performed by connecting a setting device to a dedicated port before the encoder is shipped. Therefore, the user cannot arbitrarily change the setting of permission / non-permission to execute a one-rotation reset. Therefore, it is desired that the user can change the setting in the non-volatile memory regarding permission / non-permission to execute a one-rotation reset without using a setting device.

[0008] An object of the present invention is to provide an encoder and a measurement system capable of changing the setting in the non-volatile memory regarding permission / non-permission to execute a one-rotation reset from a controller without using a setting device.

Means for Solving the Problem

[0009] The encoder according to this invention includes a control unit, a non-volatile memory, a sensing unit that detects the state of a device to be measured, a signal processing unit that generates state detection information from the detection result of the sensing unit, and a communication unit that communicates with a controller. The memory stores a one-rotation reset execution permission setting value having a reset execution permission setting or a reset execution non-permission setting as its content. When the control unit receives a transmission request signal from the controller via the communication unit, it controls to transmit the state detection information generated by the signal processing unit to the controller via the communication unit. When the control unit receives a setting request signal including a new one-rotation reset execution permission setting value from the controller via the communication unit, it causes the memory to store the new one-rotation reset execution permission setting value. When the control unit receives a one-rotation reset request signal from the controller via the communication unit, if the one-rotation reset execution permission setting value stored in the memory is a reset execution non-permission setting, it controls not to execute a one-rotation reset, and if the one-rotation reset execution permission setting value stored in the memory is a reset execution permission setting, it controls to execute a one-rotation reset.

[0010] In the encoder according to the present invention, the one-rotation reset execution permission setting value includes a reset execution permission setting or a reset execution non-permission setting. The reset execution non-permission setting further includes a changeable reset execution non-permission setting or an unchangeable reset execution non-permission setting. It is.

[0011] In the encoder according to the present invention, when the one-rotation reset execution permission setting value included in the one-rotation reset request signal is a changeable reset execution non-permission setting, if the one-rotation reset execution permission setting value stored in the memory is an unchangeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory is not rewritten. If the one-rotation reset execution permission setting value stored in the memory is a reset execution permission setting, the one-rotation reset execution permission setting value stored in the memory may be rewritten to a changeable reset execution non-permission setting.

[0012] In the encoder according to the present invention, when the one-rotation reset execution permission setting value included in the one-rotation reset request signal is a reset execution permission setting, if the one-rotation reset execution permission setting value stored in the memory is an unchangeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory is not rewritten. If the one-rotation reset execution permission setting value stored in the memory is a changeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory may be rewritten to a reset execution permission setting.

[0013] In the encoder according to the present invention, when the one-rotation reset execution permission setting value included in the one-rotation reset request signal is an unchangeable reset execution non-permission setting, if the one-rotation reset execution permission setting value stored in the memory is a reset execution permission setting or a changeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory is rewritten to an unchangeable reset execution non-permission setting It is.

[0014] In the encoder according to the present invention, the control unit has a function of writing data to a specified address in the memory in response to a memory access from the controller, and receives, via the communication unit, from the controller, a one-rotation reset request signal in the form of a memory access command including a new one-rotation reset execution permission setting value and an address in the memory of the new one-rotation reset execution permission setting value. When receiving the signal, the control unit may write the new one-rotation reset execution permission setting value to the address in the memory.

[0015] In the encoder according to the present invention, the control unit may read the one-rotation reset execution permission setting value stored in the memory when power is turned on, and determine whether to execute the one-rotation reset based on the read one-rotation reset execution permission setting value.

[0016] The measurement system according to the present invention includes a controller that communicates with the encoder, and the encoder according to any one of the above that communicates with the controller. When the controller transmits a transmission request request signal toward the encoder, the encoder transmits state detection information to the controller in response to the transmission request request signal. When the controller transmits a setting request signal including a one-rotation reset execution permission setting value having a reset execution permission setting or a reset execution non-permission setting as content toward the encoder, the encoder stores the one-rotation reset execution permission setting value in the memory in response to the setting request signal. When the controller transmits a one-rotation reset request signal toward the encoder, the encoder does not execute the one-rotation reset if the one-rotation reset execution permission setting value stored in the memory is a reset execution non-permission setting, and executes the one-rotation reset if the one-rotation reset execution permission setting value stored in the memory is a reset execution permission setting.

Advantages of the Invention

[0017] According to the encoder of the present invention, it becomes possible to change the setting in the non-volatile memory regarding the execution permission / non-permission of the one-rotation reset from the controller. According to the measurement system of the present invention, it becomes possible to change the setting in the non-volatile memory regarding the permission / non-permission of executing one rotation reset of the encoder from the controller.

Brief Description of the Drawings

[0018]

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Embodiments for Carrying Out the Invention

[0019] Hereinafter, embodiments of the encoder and the measurement system of the present invention will be described with reference to the drawings. In each figure, the same parts are denoted by the same reference numerals.

[0020] Embodiment 1. First, the configuration of the measurement system 1 in Embodiment 1 will be described with reference to FIG. 1. FIG. 1 is a block diagram showing the configuration of a measurement system 1 including a controller 10 and an encoder 100 in Embodiment 1. Here, the controller 10 functions as a host computer, and the encoder 100 functions as a terminal device.

[0021] [Configuration of Encoder 100 in Embodiment 1] In FIG. 1, the encoder 100 is configured to be communicable with the controller 10. The encoder 100 mainly includes a control unit 110, a memory 120, a communication unit 130, a sensing unit 150, and a signal processing unit 160.

[0022] The control unit 110 is provided with a request determination unit 111, a signal processing controller 112, a memory controller 113, a one-rotation reset determination unit 114, and a one-rotation reset execution unit 115.

[0023] The request determination unit 111 determines each of the request signals for transmission requests, setting requests, and one-rotation reset requests from the controller 10, and performs distribution. That is, the request determination unit 111 gives the request signal for transmission requests to the signal processing controller 112 (see b in FIG. 1), gives the request signal for setting requests to the memory controller 113 (see d in FIG. 1), and gives the request signal for one-rotation reset to the one-rotation reset determination unit 114 (see e in FIG. 1). Here, the request signal for transmission requests is a general request signal known as RTS (Request To Send), and is a signal that requests to transmit the state detection information generated by the signal processing unit 160 based on the detection result of the sensing unit 150 to the controller 10. The request signal for one-rotation reset is a signal that requests the controller 10 to execute a one-rotation reset on the encoder 100. The request signal for setting requests includes a new one-rotation reset execution permission setting value, and is a signal that requests the controller 10 to update the one-rotation reset execution permission setting value for the encoder 100. Note that the request signal for one-rotation reset and the request signal for setting requests are signals realized by partially changing or expanding bits that constitute a general request signal for transmission requests.

[0024] When the signal processing controller 112 receives a transmission request signal from the controller 10 via the request determination unit 111, it controls to transmit the state detection information (refer to k in FIG. 1) generated by the signal processing unit 160 to the controller 10 via the communication unit 130.

[0025] When the memory controller 113 is powered on, it reads the one-rotation reset execution permission setting value stored in the memory 120 (refer to f in FIG. 1), and supplies the read one-rotation reset execution permission setting value to the one-rotation reset determination unit 114 (refer to g in FIG. 1). When the memory controller 113 receives a setting request signal including a new one-rotation reset execution permission setting value from the controller 10 via the request determination unit 111 (refer to d in FIG. 1), if the stored content of the memory 120 can be changed, it stores the new one-rotation reset execution permission setting value in the memory 120 (refer to f in FIG. 1). On the other hand, when the memory controller 113 receives a setting request signal including a new one-rotation reset execution permission setting value from the controller 10 and the stored content of the memory 120 cannot be changed, it does not store the new one-rotation reset execution permission setting value in the memory 120.

[0026] When the one-rotation reset determination unit 114 receives a one-rotation reset request signal from the controller 10 via the request determination unit 111 (refer to e in FIG. 1), if the one-rotation reset execution permission setting value from the memory controller 113 (refer to g in FIG. 1) is a reset execution permission setting, it orders the one-rotation reset execution unit 115 to execute a one-rotation reset (refer to h in FIG. 1). On the other hand, when the one-rotation reset determination unit 114 receives a one-rotation reset request signal from the controller 10 via the request determination unit 111 (refer to e in FIG. 1) and the one-rotation reset execution permission setting value from the memory controller 113 (refer to g in FIG. 1) is a reset execution non-permission setting, it does not order the one-rotation reset execution unit 115 to execute a one-rotation reset.

[0027] The one-rotation reset execution unit 115 receives an instruction to execute a one-rotation reset from the one-rotation reset determination unit 114 (see h in FIG. 1) and instructs the signal processing unit 160 to execute a one-rotation reset (see i in FIG. 1).

[0028] The memory 120 stores a one-rotation reset execution permission setting value that includes a reset execution permission setting or a reset execution non-permission setting according to the control from the memory controller 113 (see f in FIG. 1). The memory 120 stores a one-rotation reset execution permission setting value that includes a changeable reset execution non-permission setting or an unchangeable reset execution non-permission setting as a reset execution non-permission setting according to the control from the memory controller 113. Further, the memory 120 may rewrite a one-rotation reset execution permission setting value other than the one-rotation reset execution permission setting value that includes an unchangeable reset execution non-permission setting according to the control from the memory controller 113.

[0029] The communication unit 130 includes a reception unit 131 and a transmission unit 132 for communicating with the controller 10. The reception unit 131 receives a transmission request signal, a setting request signal, and a one-rotation reset request signal from the controller 10 (see rx in FIG. 1). The transmission unit 132 transmits the state detection information generated by the signal processing unit 160 (see k in FIG. 1) to the controller 10 (see tx in FIG. 1).

[0030] The sensing unit 150 magnetically or optically detects the state of the device to be measured, for example, the rotation angle of a rotating body such as a motor or a wheel. The sensing unit 150 supplies the detection result regarding the state of the device to be measured to the signal processing unit 160 (see j in FIG. 1).

[0031] The signal processing unit 160 processes the detection result of the sensing unit 150 and generates state detection information including position, angle, or speed. The state detection information generated by the signal processing unit 160 is sent to the communication unit 130 under the control of the signal processing controller 112 according to the transmission request signal from the controller 10 (see k in FIG. 1). The signal processing unit 160 receives an instruction to execute a one-rotation reset from the one-rotation reset execution unit 115 (see i in FIG. 1), and synchronizes the position of the device under measurement and the reference position of the encoder 100 as position initialization processing.

[0032] Comparative example. Here, the configuration of the measurement system 1x of the comparative example with respect to the measurement system 1 in the first embodiment will be described with reference to FIG. 5. FIG. 5 is a configuration diagram showing the configuration of the measurement system 1x including the controller 10x and the encoder 100x in the comparative example. In FIG. 5, for the configuration of the measurement system 1x, the same components as those in FIG. 1 are denoted by the same reference numerals, and components different from those in FIG. 1 are denoted by "x" at the end of the reference numerals. Therefore, duplicate descriptions are omitted, and the description will be centered on the parts different from FIG. 1.

[0033] [Configuration of the encoder 100x in the comparative example] In FIG. 5, the encoder 100x is configured to be communicable with the controller 10x. The encoder 100x mainly includes a control unit 110x, a memory 120x, a communication unit 130, a sensing unit 150, and a signal processing unit 160.

[0034] The control unit 110x is provided with a request determination unit 111, a signal processing controller 112, a memory controller 113, and a one-rotation reset execution unit 115. The control unit 110x in the comparative example is not provided with the one-rotation reset determination unit 114 in the control unit 110 of the first embodiment.

[0035] Before the encoder 100x is shipped, the memory 120x stores a one-rotation reset execution permission setting value having a content of a reset execution permission setting or a reset execution non-permission setting via a dedicated port or the like as shown by the broken line [0] in FIG. 5. Generally, the memory 120x stores a one-rotation reset execution permission setting value having a content of a reset execution permission setting in order to enable the user to execute a one-rotation reset. Memory 120x supplies the memory controller 113 with the stored one-rotation reset execution permission setting value in accordance with the read control from the memory controller 113 (see f in FIG. 5).

[0036] [Operation of Encoder 100x in Comparative Example] Referring to FIG. 6, the operation of encoder 100x in the comparative example will be described. FIG. 6 is a configuration diagram showing encoder 100x in the comparative example together with the signal flow. Hereinafter, the operation of encoder 100x will be described separately at the time of manufacturing, installation, power-on, reception of a one-rotation reset request signal, and reception of a transmission request signal.

[0037] ·At the time of manufacturing (storing the one-rotation reset execution permission setting value): Before shipping encoder 100x, the manufacturer of encoder 100x stores a one-rotation reset execution permission setting value having the content of a reset execution permission setting or a reset execution non-permission setting in memory 120x via a dedicated port or the like. When the user executes a one-rotation reset, a one-rotation reset execution permission setting value having the content of a reset execution permission setting is stored in memory 120x. The flow of storing the above one-rotation reset execution permission setting value is shown by the broken line [0] in FIG. 6.

[0038] ·At the time of installing encoder 100x: The shipped encoder 100x is attached to a device to be measured such as a motor and set to a state where it can communicate with controller 10x.

[0039] ·At the time of power-on: When power is applied to encoder 100, control unit 110x initializes each unit and controls each unit to execute various initial operations. As an example of the initial operation, the memory controller 113 reads out the one-rotation reset execution permission setting value stored in the memory 120x (see f in FIG. 6). The memory controller 113 supplies the read one-rotation reset execution permission setting value to the request determination unit 111 (see d in FIG. 6). The flow of the one-rotation reset execution permission setting value described above is shown by the dashed line [1] in FIG. 6. Here, it is assumed that the one-rotation reset execution permission setting value includes a reset execution permission setting, and the description will continue.

[0040] ·When receiving a one-rotation reset request signal: In a state where the magnetic pole position of the motor coincides with the reference position of the encoder 100x, when the encoder 100x receives a one-rotation reset request signal from the controller 10x, the encoder 100x executes a one-rotation reset so as to synchronize the magnetic pole position of the motor and the reference position of the encoder 100x at the time of reception. Hereinafter, the execution of the one-rotation reset will be described in detail. The request determination unit 111 receives a one-rotation reset request signal from the controller 10x via the reception unit 131 (see a in FIG. 6). If the content of the one-rotation reset execution permission setting value is a reset execution permission setting, the request determination unit 111 orders the one-rotation reset execution unit 115 to execute a one-rotation reset by the one-rotation reset request signal from the controller 10x (e in FIG. 6). The one-rotation reset execution unit 115 receives an order to execute a one-rotation reset from the request determination unit 111 (see e in FIG. 6) and instructs the signal processing unit 160 to execute a one-rotation reset (see i in FIG. 6). The signal processing unit 160 receives an instruction to execute a one-rotation reset from the one-rotation reset execution unit 115 (see i in FIG. 6) and synchronizes the position of the measurement target device at that time and the reference position of the encoder 100x as a position initialization process. The flow of the one-rotation reset execution according to the one-rotation reset request signal and the reset execution permission setting described above is shown by the dashed line [1] and the dashed line [2] in FIG. 6.

[0041] ·When receiving a transmission request request signal: The request signal for transmission from the controller 10x is received by the receiving unit 131 and supplied to the request determination unit 111 (see a in FIG. 6). The request determination unit 111 gives the request signal for transmission to the signal processing controller 112 (see b in FIG. 6). When the signal processing controller 112 receives the request signal for transmission from the controller 10 via the request determination unit 111, it controls to transmit the state detection information (see k in FIG. 6) generated by the signal processing unit 160 to the controller 10 via the communication unit 130. The flow of the state detection information corresponding to the above request signal for transmission is shown by the broken line [3] in FIG. 6.

[0042] ·Accidental execution of one-rotation reset: When the user accidentally performs the one-rotation reset operation, the encoder 100x that has received the one-rotation reset request signal from the controller 10x executes the one-rotation reset. At this time, if the one-rotation reset is executed in a state where the magnetic pole position of the motor does not match the reference position of the encoder 100x, the alignment between the magnetic pole of the motor and the encoder 100x will be disrupted. Therefore, a problem occurs in that normal position detection cannot be performed hereafter. The setting in the memory 120x as to whether to execute the one-rotation reset or not is performed by connecting a setting device to a dedicated port before the encoder 100x is shipped. Therefore, when it is set in the memory 120x as permission to execute the one-rotation reset, accidental execution of the one-rotation reset cannot be prevented.

[0043] [Operation of the encoder 100 in Embodiment 1] Referring to FIG. 2, the operation of the encoder 100 in Embodiment 1 will be described. FIG. 2 is a configuration diagram showing the encoder 100 in Embodiment 1 together with the signal flow. Hereinafter, the operation of the encoder 100 will be described separately when the power is turned on, when the one-rotation reset request signal is received, when the setting request signal is received, and when the transmission request signal is received.

[0044] ·When the power is turned on: When the encoder 100 is powered on, the control unit 110 initializes each unit and executes the following initial operation. As an example of the initial operation, the memory controller 113 reads out the one-rotation reset execution permission setting value stored in the memory 120 (see f in FIG. 2). The memory controller 113 supplies the read one-rotation reset execution permission setting value to the one-rotation reset determination unit 114 (see g in FIG. 2). Note that the one-rotation reset execution permission setting value stored in the memory 120 may be either a value stored by the manufacturer of the encoder 100 before shipment or a new one-rotation reset execution permission setting value updated by a setting request signal from the controller 10. The content of the one-rotation reset execution permission setting value stored in the memory 120 is either "reset execution permission setting" or "reset execution non-permission setting". Further, the "reset execution non-permission setting" may be either "changeable reset execution non-permission setting" or "unchangeable reset execution non-permission setting". Here, the description will continue assuming that the one-rotation reset execution permission setting value stored in the memory 120 includes the reset execution permission setting as the initial value.

[0045] ·When receiving a one-rotation reset request signal (1): The user transmits a one-rotation reset request signal from the controller 10 to the encoder 100 with the reference position of the encoder 100 and the magnetic pole position of the motor being in agreement. When the encoder 100 receives the one-rotation reset request signal from the controller 10, it executes a one-rotation reset so as to synchronize the magnetic pole position of the motor and the reference position of the encoder 100 at the time of reception. Hereinafter, the execution of the one-rotation reset will be described in detail. The one-rotation reset determination unit 114 receives the one-rotation reset request signal from the controller 10 via the reception unit 131 and the request determination unit 111 (see a and e in FIG. 2). If the content of the one-rotation reset execution permission setting value (g in FIG. 2) is the reset execution permission setting, the one-rotation reset determination unit 114 commands the one-rotation reset execution unit 115 to execute the one-rotation reset by the one-rotation reset request signal from the controller 10 (h in FIG. 2). The one-rotation reset execution unit 115 receives the command for one-rotation reset execution from the one-rotation reset determination unit 114 (see h in FIG. 2) and instructs the signal processing unit 160 to execute the one-rotation reset (see i in FIG. 2). The signal processing unit 160 receives the instruction to execute the one-rotation reset from the one-rotation reset execution unit 115 (see i in FIG. 2), and synchronizes the position of the device under measurement at that time with the reference position in the encoder 100 as position initialization processing. The flow of one-rotation reset execution according to the above one-rotation reset request signal and reset execution permission setting is shown by the dashed line [1a] and the dashed line [2] in FIG. 2.

[0046] · When receiving the setting request signal: The controller 10 transmits a setting request signal to the encoder 100 to request, if necessary, to update the one-rotation reset execution permission setting value. The encoder 100 receives, via the reception unit 131, a setting request signal including a new one-rotation reset execution permission setting value from the controller 10 (see a in FIG. 2). The one-rotation reset execution permission setting value from the controller 10 received by the reception unit 131 is supplied from the request determination unit 111 to the memory controller 113 (see d in FIG. 2). When the memory controller 113 receives a setting request signal including a new one-rotation reset execution permission setting value (see d in FIG. 2), if the stored content of the memory 120 can be changed, it stores the new one-rotation reset execution permission setting value in the memory 120 (see f in FIG. 2). The signal flow for storing the above new one-rotation reset execution permission setting value in the memory 120 is shown by the dashed line [3a] in FIG. 2. On the one hand, although the memory controller 113 has received a setting request signal including a new one-rotation reset execution permission setting value from the controller 10, when the stored content of the memory 120 cannot be changed, the new one-rotation reset execution permission setting value is not stored in the memory 120. The signal flow in the case where the above new one-rotation reset execution permission setting value is not stored in the memory 120 is shown by the dashed line [3b] in FIG. 2.

[0047] The manner in which the memory controller 113 stores or does not store the new one-rotation reset execution permission setting value in the memory 120 will be described below with reference to FIG. 3. FIG. 3 is an explanatory diagram showing the rewrite state of the one-rotation reset execution permission setting value in the first embodiment. Note that the one-rotation reset execution permission setting value already stored in the memory 120 will be referred to as the "stored one-rotation reset execution permission setting value", and the new one-rotation reset execution permission setting value sent from the controller 10 will be referred to as the "new one-rotation reset execution permission setting value". Also, "storing the new one-rotation reset execution permission setting value in the memory 120" will be referred to as "rewriting the stored one-rotation reset execution permission setting value to the new one-rotation reset execution permission setting value", and "not storing the new one-rotation reset execution permission setting value in the memory 120" will be referred to as "not rewriting the stored one-rotation reset execution permission setting value".

[0048] In FIG. 3, for the new one-rotation reset execution permission setting value, (a) changeable reset execution not permitted setting, (b) reset execution permitted setting, and (c) unchangeable reset execution not permitted setting are shown in order in the horizontal direction of the table. In FIG. 3, for the stored one-rotation reset execution permission setting value, (d) changeable reset execution not permitted setting, (e) reset execution permitted setting, and (f) unchangeable reset execution not permitted setting are shown in order in the vertical direction of the table. The results of rewriting / not rewriting the stored one-rotation reset execution permission setting value are shown in a list form in (g) to (m) according to the combination of (a) to (c) of the new one-rotation reset execution permission setting value and (d) to (f) of the stored one-rotation reset execution permission setting value. When the new one-rotation reset execution permission setting value is the same as the unchangeable reset execution not permitted setting, there is no need to rewrite the stored one-rotation reset execution permission setting value, so it is indicated by "-" in Fig. 3.

[0049] When the new one-rotation reset execution permission setting value of the memory controller 113 is the changeable reset execution not permitted setting ((a) in Fig. 3) and the stored one-rotation reset execution permission setting value is the unchangeable reset execution not permitted setting ((d) in Fig. 3), the stored one-rotation reset execution permission setting value is not rewritten ((g) in Fig. 3). When the new one-rotation reset execution permission setting value of the memory controller 113 is the changeable reset execution not permitted setting ((a) in Fig. 3) and the stored one-rotation reset execution permission setting value is the reset execution permitted setting ((e) in Fig. 3), the stored one-rotation reset execution permission setting value is rewritten to the changeable reset execution not permitted setting ((h) in Fig. 3).

[0050] When the new one-rotation reset execution permission setting value of the memory controller 113 is the reset execution permitted setting ((b) in Fig. 3) and the stored one-rotation reset execution permission setting value is the unchangeable reset execution not permitted setting ((d) in Fig. 3), the stored one-rotation reset execution permission setting value is not rewritten ((i) in Fig. 3). When the new one-rotation reset execution permission setting value of the memory controller 113 is the reset execution permitted setting ((b) in Fig. 3) and the stored one-rotation reset execution permission setting value is the changeable reset execution not permitted setting ((f) in Fig. 3), the stored one-rotation reset execution permission setting value is rewritten to the reset execution permitted setting ((j) in Fig. 3).

[0051] When the new one-rotation reset execution permission setting value of the memory controller 113 is the unchangeable reset execution not-permitted setting ((c) in FIG. 3) and the stored one-rotation reset execution permission setting value is the reset execution permitted setting ((e) in FIG. 3), the memory controller 113 rewrites the stored one-rotation reset execution permission setting value to the unchangeable reset execution not-permitted setting ((k) in FIG. 3). When the new one-rotation reset execution permission setting value of the memory controller 113 is the unchangeable reset execution not-permitted setting ((c) in FIG. 3) and the stored one-rotation reset execution permission setting value is the changeable reset execution not-permitted setting ((f) in FIG. 3), the memory controller 113 rewrites the stored one-rotation reset execution permission setting value to the unchangeable reset execution not-permitted setting ((m) in FIG. 3).

[0052] In Embodiment 1, in order to prevent the one-rotation reset from being erroneously executed again after the one-rotation reset is normally executed, based on the instruction of the controller 10, the memory controller 113 rewrites the stored one-rotation reset execution permission setting value having the reset execution permitted setting ((e) in FIG. 3) as the content to the changeable reset execution not-permitted setting ((h) in FIG. 3), or rewrites it to the unchangeable reset execution not-permitted setting ((k) in FIG. 3), which is desirable. Alternatively, in order to execute the one-rotation reset, it is desirable that the memory controller 113 rewrites the stored one-rotation reset execution permission setting value having the reset execution not-permitted setting ((f) in FIG. 3) as the content to the reset execution permitted setting ((j) in FIG. 3). Furthermore, by setting the stored one-rotation reset execution permission setting value ((e) or (f) in FIG. 3) to the unchangeable reset execution not-permitted setting ((k) or (m) in FIG. 3), the stored one-rotation reset execution permission setting value cannot be rewritten in the future, so that permanent erroneous execution of the one-rotation reset can be prevented. The memory controller 113 reads out the rewritten one-rotation reset execution permission setting value in the memory 120 and supplies the read one-rotation reset execution permission setting value to the one-rotation reset determination unit 114 (see f and g in FIG. 2).

[0053] · When receiving a request signal for transmission request: The controller 10 transmits a request signal for transmission request, which requests state detection information indicating the state of the device to be measured, to the encoder 100 at regular intervals. The request signal for transmission request from the controller 10 is received by the receiving unit 131 and supplied to the request determination unit 111 (see a in FIG. 2). The request determination unit 111 gives the request signal for transmission request to the signal processing controller 112 (see b in FIG. 2). When the signal processing controller 112 receives the request signal for transmission request from the controller 10 via the request determination unit 111, it controls to transmit the state detection information (see k in FIG. 6) generated by the signal processing unit 160 to the controller 10 via the communication unit 130. The flow of transmitting the state detection information from the encoder 100 to the controller 10 in response to the request signal for transmission request from the controller 10 as described above is shown by the broken line [4] in FIG. 2.

[0054] · When receiving a request signal for one - rotation reset (2): Due to an incorrect operation by the user, the controller 10 may transmit a request signal for one - rotation reset to the encoder 100. Since the user has commanded a one - rotation reset by an unintended incorrect operation, at this time, the magnetic pole position of the motor and the reference position of the encoder 100 do not match. Assume that the stored one - rotation reset execution permission setting value in the memory 120 is rewritten to a changeable reset execution non - permission setting or an unchangeable reset execution non - permission setting in order to prevent incorrect re - execution after a one - rotation reset has been normally executed. In the encoder 100, the request signal for one - rotation reset from the controller 10 is received by the receiving unit 131 and supplied from the receiving unit 131 to the request determination unit 111 (see a in FIG. 2). The request determination unit 111 supplies the request signal for one - rotation reset from the controller 10 to the one - rotation reset determination unit 114 (see e in FIG. 2). If the content of the stored one-rotation reset execution permission setting value is the reset execution not permitted setting, the one-rotation reset determination unit 114 does not command the one-rotation reset execution unit 115 to execute the one-rotation reset regardless of the one-rotation reset request signal from the controller 10. By doing the above, it is possible to prevent the erroneous execution of the one-rotation reset in a state where the magnetic pole position of the motor does not match the reference position of the encoder 100. The information flow when the one-rotation reset is not executed is shown by the dashed line [1b] and the dashed line [5] in FIG. 2 according to the one-rotation reset request signal and the reset execution not permitted setting.

[0055] · Use of memory access The setting request signal includes a new one-rotation reset execution permission setting value. The new one-rotation reset execution permission setting value includes either a reset execution permitted setting, a changeable reset execution not permitted setting, or an unchangeable reset execution not permitted setting as its content. Therefore, it may be difficult to generate the setting request signal by partially changing or expanding the bits constituting a general transmission request signal. Therefore, in response to the one-rotation reset memory access command from the controller 10, on the encoder 100 side, the new one-rotation reset execution permission setting value is stored in the address of the memory 120 specified by the one-rotation reset memory access command. The one-rotation reset memory access command includes a new one-rotation reset execution permission setting value and the address of the new one-rotation reset execution permission setting value in the memory 120, and is a command for instructing to store the new one-rotation reset execution permission setting value in the memory 120. Therefore, the memory controller 113 is provided with a function of writing the new one-rotation reset execution permission setting value to the specified address of the memory 120 in response to the one-rotation reset memory access command from the controller 10.

[0056] The above memory access instruction for one-rotation reset can be realized using the communication format of a general direct memory access instruction shown in FIG. 4. FIG. 4 is an explanatory diagram showing an example of the format of the memory access instruction used in the first embodiment. For example, each field in the format shown in FIG. 4 is as follows. The control field CF is command information regarding the type of instruction. The address field ADF is information on the address when writing to the memory 120. The data field EDF is information on the new one-rotation reset execution permission setting value that includes, as its content, any one of the reset execution permission setting, the changeable reset execution non-permission setting, and the unchangeable reset execution non-permission setting to be written to the memory 120. The check field CRC is error check information by CRC (Cyclic Redundancy Check) for all bits except the start bit and delimiter of all fields other than the CRC field. Thus, by using a request signal in the form of a memory access instruction, more information can be transmitted from the controller 10 to the encoder 100 than using a general request signal.

[0057] [Effects Obtained by the First Embodiment] The encoder 100 of the first embodiment includes a control unit 110, a non-volatile memory 120, a sensing unit 150 that detects the state of the device under measurement, a signal processing unit 160 that generates state detection information from the detection result of the sensing unit 150, and a communication unit 130 that communicates with the controller 10. The memory 120 stores a one-rotation reset execution permission setting value that includes a reset execution permission setting or a reset execution non-permission setting. When the control unit 110 receives a transmission request request signal from the controller 10 via the communication unit 130, it controls to transmit the state detection information generated by the signal processing unit 160 to the controller 10 via the communication unit 130. When the control unit 110 receives a setting request signal including a new one-rotation reset execution permission setting value from the controller 10 via the communication unit 130, it controls to store the new one-rotation reset execution permission setting value in the memory 120. When the control unit 110 receives a one-rotation reset request signal from the controller 10 via the communication unit 130, if the stored one-rotation reset execution permission setting value is a reset execution not permitted setting, it does not execute a one-rotation reset, and if the stored one-rotation reset execution permission setting value is a reset execution permitted setting, it controls to execute a one-rotation reset. According to the encoder 100 described above, it becomes possible to change the setting in the non-volatile memory regarding the execution permission / non-permission of one-rotation reset from the controller 10 without using a setting device, and it becomes possible to appropriately execute one-rotation reset.

[0058] In the encoder 100 of Embodiment 1, the one-rotation reset execution permission setting value includes a reset execution permitted setting or a reset execution not permitted setting. The reset execution not permitted setting further includes a changeable reset execution not permitted setting or an unchangeable reset execution not permitted setting. With such settings, it is possible to select states such as appropriate execution of one-rotation reset, prevention of erroneous execution of one-rotation reset, execution of one-rotation reset again after prevention of erroneous execution of one-rotation reset, and permanent prevention of erroneous execution of one-rotation reset according to the application.

[0059] In the encoder 100 of Embodiment 1, when the new one-rotation reset execution permission setting value is a changeable reset execution not permitted setting, if the stored one-rotation reset execution permission setting value is an unchangeable reset execution not permitted setting, the control unit 110 does not rewrite the stored one-rotation reset execution permission setting value. When the new one-rotation reset execution permission setting value is the non-changeable reset execution not-permitted setting, if the stored one-rotation reset execution permission setting value is the reset execution permitted setting, the control unit 110 rewrites the stored one-rotation reset execution permission setting value to the non-changeable reset execution not-permitted setting. With such control, it becomes possible to appropriately rewrite or not rewrite the stored one-rotation reset execution permission setting value to the new one-rotation reset execution permission setting value according to the stored one-rotation reset execution permission setting value.

[0060] In the encoder 100 of Embodiment 1, when the new one-rotation reset execution permission setting value is the reset execution permitted setting, if the stored one-rotation reset execution permission setting value is the non-changeable reset execution not-permitted setting, the control unit 110 does not rewrite the one-rotation reset execution permission setting value. When the new one-rotation reset execution permission setting value is the reset execution permitted setting, if the stored one-rotation reset execution permission setting value is the changeable reset execution not-permitted setting, the control unit 110 rewrites the stored one-rotation reset execution permission setting value to the reset execution permitted setting. With such control, it becomes possible to appropriately rewrite or not rewrite the stored one-rotation reset execution permission setting value to the new one-rotation reset execution permission setting value according to the stored one-rotation reset execution permission setting value.

[0061] In the encoder 100 of Embodiment 1, when the new one-rotation reset execution permission setting value is the non-changeable reset execution not-permitted setting, if the stored one-rotation reset execution permission setting value is the reset execution permitted setting or the changeable reset execution not-permitted setting, the control unit 110 rewrites the stored one-rotation reset execution permission setting value to the non-changeable reset execution not-permitted setting. With such control, it becomes possible to appropriately rewrite the stored one-rotation reset execution permission setting value to the new one-rotation reset execution permission setting value according to the stored one-rotation reset execution permission setting value.

[0062] In the encoder 100 of Embodiment 1, the control unit 110 has a function of writing data to a specified address in the memory 120 in response to a memory access from the controller 10. When the encoder 100 receives a one-rotation reset request signal in the form of a memory access command including a new one-rotation reset execution permission value and an address in the memory 120 of the new one-rotation reset execution permission value from the controller 10 via the communication unit 130, the encoder 100 writes the new one-rotation reset execution permission value to the address of the memory 120. Thereby, by using a request signal in the form of a memory access command, more information can be transmitted from the controller 10 to the encoder 100 than by using a general request signal.

[0063] In the encoder 100 of Embodiment 1, at the time of power-on, the stored one-rotation reset execution permission value is read, and it is determined whether to execute a one-rotation reset based on the read one-rotation reset execution permission value. Thereby, the encoder 100 can appropriately and surely execute permission / non-permission of one-rotation reset based on the stored one-rotation reset execution permission value.

[0064] In the measurement system 1 of Embodiment 1, a controller 10 that communicates with an encoder 100 and the encoder 100 that communicates with the controller 10 are provided. When the controller 10 transmits a transmission request request signal to the encoder 100, the encoder 100 transmits state detection information to the controller 10 in response to the transmission request request signal. When the controller 10 transmits a setting request signal including a one-rotation reset execution permission value having a reset execution permission setting or a reset execution non-permission setting to the encoder 100, the encoder 100 stores the one-rotation reset execution permission value in the memory 120 in response to the setting request signal. When the controller 10 transmits a one-rotation reset request signal to the encoder 100, the encoder 100 does not execute a one-rotation reset if the one-rotation reset execution permission value stored in the memory 120 is a reset execution non-permission setting, and executes a one-rotation reset if the one-rotation reset execution permission value stored in the memory 120 is a reset execution permission setting. According to the measurement system 1 described above, it is possible to change the setting in the non-volatile memory regarding the execution permission / non-permission of the one-rotation reset from the controller 10 without using a setting device, and it is possible to appropriately execute the one-rotation reset.

Description of Signs

[0065] 1 Measurement system, 10 Controller, 100 Encoder, 110 Control unit, 111 Request determination unit, 112 Signal processing controller, 113 Memory controller, 114 One-rotation reset determination unit, 115 One-rotation reset execution unit, 120 Memory, 130 Communication unit, 131 Receiver, 132 Transmitter, 150 Sensing unit, 160 Signal processing unit.

Claims

1. A control unit (110); A non-volatile memory (120); A sensing unit (150) for detecting a state of a measurement target device; A signal processing unit (160) that generates state detection information from the detection result of the sensing unit (150); A communication unit (130) that communicates with the controller (10); Equipped with The memory (120) stores a one-rotation reset execution permission / prohibition setting value having a reset execution permission setting or a reset execution non-permission setting, The control unit (110) When a transmission request signal is received from the controller (10) via the communication unit (130), the state detection information generated by the signal processing unit (160) is controlled to be transmitted to the controller (10) via the communication unit (130); When a setting request signal including a new one-rotation reset execution permission / prohibition setting value is received from the controller (10) via the communication unit (130), the new one-rotation reset execution permission / prohibition setting value is stored in the memory (120); When a one-rotation reset request signal is received from the controller (10) via the communication unit (130), if the one-rotation reset execution permission setting value stored in the memory (120) is set to the reset execution non-permission setting, the one-rotation reset is not executed, If the one-rotation reset execution permission setting value stored in the memory (120) is the reset execution permission setting, control is performed to execute the one-rotation reset, the one-rotation reset execution permission setting value includes the reset execution permission setting or the reset execution non-permission setting, and the reset execution non-permission setting further includes a changeable reset execution non-permission setting or an unchangeable reset execution non-permission setting, The control unit (110) When the one-rotation reset execution permission setting value included in the one-rotation reset request signal is the unchangeable reset execution permission setting, If the one-rotation reset execution permission setting value stored in the memory (120) is the reset execution permission setting or the changeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory (120) is rewritten to the non-changeable reset execution non-permission setting. Encoder.

2. The control unit (110) When the one-rotation reset execution permission setting value included in the one-rotation reset request signal is set to the changeable reset execution non-permission setting, If the one-rotation reset execution permission setting value stored in the memory (120) is the unchangeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory (120) is not rewritten, If the one-rotation reset execution permission setting value stored in the memory (120) is the reset execution permission setting, the one-rotation reset execution permission setting value stored in the memory (120) is rewritten to the changeable reset execution non-permission setting. The encoder of claim 1 .

3. The control unit (110) When the one-rotation reset execution permission setting value included in the one-rotation reset request signal is set to the reset execution permission setting, If the one-rotation reset execution permission setting value stored in the memory (120) is the unchangeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory (120) is not rewritten, If the one-rotation reset execution permission setting value stored in the memory (120) is a changeable reset execution non-permission setting, the one-rotation reset execution permission setting value stored in the memory (120) is rewritten to the reset execution permission setting. The encoder of claim 1 .

4. The control unit (110) The memory controller (10) has a function of writing data to a specified address in the memory (120) in response to a memory access from the controller (10); when receiving the one-rotation reset request signal in a memory access command format including the new one-rotation reset execution permission / prohibition setting value and an address of the new one-rotation reset execution permission / prohibition setting value in the memory (120) from the controller (10) via the communication unit (130), the new one-rotation reset execution permission / prohibition setting value is written to the address of the memory (120); The encoder of claim 1 .

5. The control unit (110) reads the one-rotation reset execution permission / prohibition setting value stored in the memory (120) when power is turned on, and determines whether or not to execute the one-rotation reset based on the read one-rotation reset execution permission / prohibition setting value. The encoder of claim 1 .

6. A controller (10) in communication with the encoder (100); The encoder (100) according to any one of claims 1 to 5 in communication with the controller (10), When the controller (10) transmits a transmission request signal to the encoder (100), the encoder (100) transmits state detection information to the controller (10) in response to the transmission request signal; When the controller (10) transmits a setting request signal including a one-rotation reset execution permission / prohibition setting value, the content of which is a reset execution permission setting or a reset execution prohibition setting, to the encoder (100), the encoder (100) stores the one-rotation reset execution permission / prohibition setting value in the memory (120) in response to the setting request signal, When the controller (10) transmits a one-rotation reset request signal to the encoder (100), the encoder (100) does not execute the one-rotation reset if the one-rotation reset execution permission setting value stored in the memory (120) is set to not permit reset execution, and executes the one-rotation reset if the one-rotation reset execution permission setting value stored in the memory (120) is set to permit reset execution. Measurement system.

Citation Information

Patent Citations

  • Rotary encoder

    JP2002175586A

  • Rotation detector and bearing with rotation detector

    JP2009069092A

  • Motor drive unit

    JP2011205885A

  • One rotation reset impossible / possible selection type angle detector and detection method of the same

    JP2023071258A

  • True-power-on and diagnostic-capable incremental interface for angular sensors

    US20180087930A1