Angle detector with one-rotation resettable / non-resettable selection and detection method thereof
The one-rotation resettable/unresettable selectable angle detector addresses the issue of magnetic pole misalignment by allowing external devices to select reset settings through serial communication, enhancing the reliability of the angle detector.
Patent Information
- Application Number
- JP2021183912
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2025-06-05
- Estimated Expiration
- 2041-11-11
AI Technical Summary
Existing angle detectors lack the ability for customers to select whether to enable or disable one-rotation resets, leading to potential magnetic pole misalignment and incorrect operations during motor usage.
A one-rotation resettable/unresettable selectable angle detector and its detection method, which utilize a simple ASIC-built-in reset section configuration. This configuration uses serial communication to input codes A and B, allowing external devices to select whether to enable or disable one-rotation resets by writing to the ROM and controlling the gate circuit.
Enables customers to prevent magnetic pole misalignment by allowing selective enablement or disablement of one-rotation resets, thereby improving the reliability of the angle detector and preventing unintended encoder data deviations.
Smart Images

Figure 0007688853000001 
Figure 0007688853000002 
Figure 0007688853000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a one-rotation reset disable / enable selectable angle detector and a detection method thereof, and in particular to a novel improvement for enabling selection of reset disable / enable for one-rotation reset of an angle detector by serial communication. [Background technology]
[0002] Conventionally used methods for resetting this type of rotation data include those described in Patent Documents 1 and 2, for example. However, these configurations are not the same as the present invention. In Patent Document 1, absolute data is recorded in a memory, and when the power is turned on, the absolute data is used for subtraction to find the zero position. Moreover, in Patent Document 2, the magnetic pole position of an AC servo motor is detected without using a three-phase pulse signal, and the encoder read value can be immediately used as the system side absolute position. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2000-258189 A [Patent Document 2] Japanese Patent Application Publication No. 4-305118 Summary of the Invention [Problem to be solved by the invention]
[0004] The resetting methods and magnetic pole position detecting methods disclosed in the above-mentioned Patent Documents 1 and 2 have complicated circuit configurations, and there has been a demand for a resetting method with a simpler circuit configuration. Also, although not disclosed in patent documents, etc., in a commonly used one-rotation resettable / non-resettable angle detector, the resettable / non-resettable setting cannot be selected by the customer, i.e., by an external device such as an automatic processing machine or injection molding machine delivered to the factory and installed, and is fixed at the initial setting. In other words, if resetting possible is written to the ROM, the angle detector is always reset when a reset signal is received. Also, if resetting is disabled in the ROM, the reset signal is not sent to the angle detector and is ignored. As a result, an incorrect operation or malfunction that occurs while the motor is operating could cause the encoder to be reset even at a time when a one-rotation reset is not required, resulting in a magnetic pole misalignment with the motor.
[0005] The present invention has been made to solve the above problems, and in particular, to enable the selection of whether to accept or ignore a reset signal by using a simple ASIC-built-in reset section configuration that uses a serial signal including code A and code B. [Means for solving the problem]
[0006] The one-revolution resettable / unresettable selectable angle detector and its detection method according to the present invention includes a code A which is a ROM write code consisting of a resettable or resettable signal, and a code B consisting of a reset signal, and a serial signal from an external device which controls a motor is input to a code discrimination section consisting of software, and when the code A is transmitted from the code discrimination section to the ROM, resettable or resettable is written to the ROM in accordance with the resettable or resettable signal, and the ROM output (resettable "0" / resettable "1") from the ROM is input to a gate circuit, and if the reset signal of the code B is not transmitted from the code discrimination section to the gate circuit, it is input as "0", and if it is transmitted, it is input as "1", and a reset execution is performed from the gate circuit. In a one-rotation reset disable / enable selectable angle detector configured to send a final signal consisting of "0" to not perform reset / "1" to a one-rotation reset operation unit connected downstream of the gate circuit, the serial signal includes the reset disable or reset enable signal of the code A and the reset signal of the code B, and the external device can select whether to disable or enable one-rotation reset of the angle detector, and when the reset signal of the code B is sent to the gate circuit, the gate circuit selects whether to perform a reset or not according to the state of the ROM (reset disable "0" / reset enable "1"), and when the reset signal of the code B is not sent, the reset disable signal is set to "0", and when it is sent, the reset enable signal is set to "1", and ,before Initial state of the ROM teeth It is in a resettable state, When the ROM is in a resettable state When a reset signal is sent via the serial signal, a reset is performed, and the ROM state automatically switches to "reset disabled." After that, ,before The reset signal is sent via the serial signal. Andand rewriting the ROM to make it resettable again. The ROM can be written directly from the outside. The code discrimination unit is made up of a pair of first and second code discrimination units independent of each other, and a first reset not possible or reset possible discrimination result from the first code discrimination unit to which the reset not possible or reset possible signal of the code A is input is input to the ROM, and a second reset signal discrimination result from the second code discrimination unit to which the reset signal of the code B is input is input to the gate circuit. The first reset not possible or reset possible or reset possible discrimination result from the first code discrimination unit is connected to the first code discrimination unit. Trust The present invention relates to a configuration and method for transmitting the information to the ROM via a line. Effect of the Invention
[0007] Since the one-rotation resettable / non-resettable selectable angle detector and the detection method thereof according to the present invention are configured as described above, the following effects can be obtained. That is, a serial signal from the angle detector is input to a ROM and a gate circuit, and an output signal from the ROM is input to the gate circuit, and a final signal indicating whether reset is possible or not is obtained from the gate circuit, so that it is possible to prevent magnetic pole misalignment with the motor due to resetting at unnecessary timing. Therefore, it is possible to prevent magnetic pole misalignment (which occurred in the past) between the motor and an angle detector such as an encoder. In addition, the customer can select whether to enable or disable resetting, which improves the reliability of the angle detector installed in the motor. In other words, it is possible to select whether to accept or ignore the reset signal via serial communication, which is an effective means of preventing deviations in encoder data due to unintentional one-rotation resets while an external device is in operation, and can improve the reliability of the encoder. [Brief description of the drawings]
[0008] [Figure 1]FIG. 1 is a circuit diagram showing an outline of a reset circuit of a one-rotation resettable / non-resettable angle detector according to an embodiment of the present invention. [Diagram 2] 2A and 2B are circuit diagrams showing how to write to the ROM in FIG. 1. [Diagram 3] 2 is a table showing the logic of the reset signal, reset disable / cancel (enable), and reset not (enable) / enabled (enable) in FIG. 1; [Figure 4] 2 is an example showing the operation of the code discrimination unit of FIG. 1; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The one-rotation resettable / unresettable angle detector and detection method thereof according to the present invention are particularly configured to enable selection of whether to enable or disable resetting the angle detector by a serial signal from an external device. EXAMPLES
[0010] Hereinafter, preferred embodiments of a one-rotation resettable / unresettable selectable angle detector and a detection method thereof according to the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram showing an outline of a reset section of a one-rotation resettable / unresettable angle detector according to an embodiment of the present invention, FIGS. 2A and 2B are block diagrams showing how to write to the ROM in FIG. 1, and FIG. 3 is a table showing the logic of FIG. 1. In Fig. 1, reference numeral 1 denotes an ASIC built-in reset unit provided in an angle detector 1A consisting of an encoder or resolver, etc., and this angle detector 1A is provided with a ROM 3 to which a serial signal 2 including code A, which is a ROM write code consisting of a reset disable or reset enable signal 1a, and code B consisting of a reset signal 1b, is input via a well-known code discrimination unit 2A, and a gate circuit 4 to which a ROM output 3a (reset disable "0" or reset enable "1") from this ROM 3 is input. Code B of the serial signal 2 ("0" if the reset signal 1b is not transmitted, and "1" if it is transmitted) is also directly input to the gate circuit 4. The serial signal 2 is transmitted from an external device 6 that controls a motor 5 to which the angle detector 1A is integrally attached. In the above-mentioned case, the serial signal 2 is transmitted by an operator who operates the external device 6, or the external device 6 itself transmits a serial signal.
[0011] The external device 6 is, for example, an automatic processing machine or an injection molding machine delivered to a customer by the present applicant or a third party other than the applicant. The angle detector 1A may be attached to the motor 5 in the external device 6 as a retrofit.
[0012] The serial signal 2, which includes a code A consisting of a non-resettable or resettable signal 1a, is automatically or manually sent from the external device 6 to a code discrimination unit 2A, and is configured to be input to the ROM 3 based on the result of discrimination by the code discrimination unit 2A. The serial signal 2 is composed of a code A consisting of a reset-disabled or reset-enabled (release) signal 1a and a code B consisting of a reset signal 1b. The ROM 3 is configured so that it can be written with a non-resettable "0" or a resettable "1". The state of the ROM 3, i.e., the memory state, can be confirmed by reading the memory contents as indicated by the dotted arrow X. A final signal 4a ["0" for not resetting or "1" for resetting] is output from the gate circuit 4, and this final signal 4a is sent to an angle signal output unit 4B via a one-rotation reset operation unit 4A, which is an effective means for preventing deviation of the encoder data and is configured to prevent deviation of the magnetic poles with the motor 5. An angle signal 1C is output from the angle signal output unit 4B.
[0013] That is, in a configuration in which a serial signal 2 from the external device 6 is input to a ROM 3 and a gate circuit 4, and a ROM output 3a from the ROM 3 is input to the gate circuit 4, and a final signal 4a consisting of "0" indicating no reset and "1" indicating reset is performed is sent from the gate circuit 4 to an angle signal output unit 4B via a one-rotation reset operation unit 4A, which outputs an angle signal 1C, the serial signal 2 includes a code A consisting of a reset not possible or reset possible signal 1a and a code B consisting of a reset signal 1b, and this serial signal 2 can be used to perform a one-rotation reset of the angle detector 1A from the external device 6.
[0014] In addition, a reset not possible or reset possible signal 1a is sent to the ROM 3 by the serial signal 2, and when the reset not possible is sent, reset not possible is written to the ROM 3, and when the reset possible is sent, reset possible is written to the ROM, and when the reset signal 1b is sent by the serial signal 2, if the ROM 3 is not resettable, no reset is performed, and if the ROM 3 is resettable, a reset is performed.
[0015] Furthermore, the ROM state of the ROM 3 is a resettable state when the external device 6 having the angle detector 1A and the motor 5 is delivered to a customer. When the angle detector 1A is attached to the motor 5, if the external device 6 incorporating the angle detector 1A or the operator of the external device 6 performs magnetic pole alignment, a reset is performed and the ROM state is automatically switched to non-resettable by sending a reset signal 1b via the serial signal 2, and thereafter, if the external device 6 incorporating the angle detector 1A or the operator of the external device 6 performs a reset, a resettable signal 1a is sent via the serial signal 2, so that the ROM 3 can be rewritten to resettable again. The angle detector 1A is provided with a well-known code discrimination unit 2A, a gate circuit 4, a one-rotation reset operation unit 4A, and an angle signal output unit 4B, all of which are shown by dotted lines in FIG. 1 and are configured using an ASIC (Application Specific IC), an ASIC-embedded reset unit 1 shown by dotted lines in FIG. 1, and a ROM 3 independent of the ASIC-embedded reset unit 1. An example of the operation of the code discrimination unit 2A will be described below, as shown in Fig. 4. The code discrimination unit 2A acquires codes at regular sampling intervals, and regards the acquisition of the first "0" after an idle period as the start of a frame, and the acquisition of the next 3 bits as matching the sync code "010" as the start of a frame. In other words, if the data ID code is "0110", it is regarded as code A. Specify a ROM address in the address field and write any data (ROM field) to the specified address. For example, write reset disable / enable. Moreover, if the data ID code is "0001", it is regarded as code B (reset signal).
[0016] Next, the operation of the one-rotation reset disable / enable selectable angle detector according to this embodiment will be described. The reset disable or reset enable (release) signal 1a is sent to the ROM 3 by the serial signal 2 via the code discrimination unit 2A. In this case, the code A cannot be reset or the reset possible signal 1a is reset possible. When this is sent, write "0" (no reset) to the ROM3. Also, when a reset release (enabled) signal is sent, a reset enabled "1" is written to the ROM3. Furthermore, when the reset signal 1b is sent by the serial signal 2, if the ROM 3 cannot be reset, the reset is not performed. If the ROM 3 can be reset, the reset is performed.
[0017] Furthermore, when the external device 6 having the angle detector 1A attached to the motor 5 is delivered to the customer, the initial state of the ROM 3 is a resettable state, and when magnetic pole alignment is performed in preparation for attaching the angle detector 1A to the motor 5, if a reset signal 1b is sent by the serial signal 2, a reset is effected and the state of the ROM 3 automatically switches to a non-resettable state. Thereafter, if a reset is to be performed, it is necessary to send the reset enable signal 1a via the serial signal 2 and rewrite the ROM 3 to enable resetting again. By carrying out the above operations, the magnetic poles of the motor 5 are aligned, and as a result, it is possible to prevent the magnetic poles from shifting.
[0018] An additional explanation will be given regarding writing to the ROM 3. That is, as shown in Fig. 2A, when only the reset signal 1b of code B is input to the code discrimination section 2A, only the reset signal discrimination result 2Aa is input from the code discrimination section 2A to the gate circuit 4, and information indicating whether or not reset is possible is input to the ROM 3 via a write input 10 which is directly written and input from the outside. That is, the write input is made to the ROM 3 without going through the ASIC built-in reset section 1.
[0019] In FIG. 2B, a pair of first and second code discrimination units 2A', 2A" are provided independently, and a reset not possible or reset possible signal 1a for code A is input to the first code discrimination unit 2A', and a first reset not possible or reset possible discrimination result 2Ab is sent directly to a ROM 3 by an independent signal line 2AE connected to the first code discrimination unit 2A', and a ROM output 3a is input to a gate circuit 4. Furthermore, a reset signal 1b for code B is input to the second code discrimination unit 2A", and a second reset discrimination result 2Ac is input to the gate circuit 4.
[0020] Also, as shown in Figure 3, the resettable or resettable state of ROM3 is 0, 0, 1, 1, while the reset signal is 0, 1, 0, 1, so the reset / no reset is 0, 0, 0, 1, indicating that the reset operation is performed only in the fourth set of states. [Industrial Applicability]
[0021] The one-revolution resettable / non-resettable selectable angle detector and detection method according to the present invention inputs a serial signal from an external device using a motor with an angle detector to a ROM and a gate circuit, and obtains a final signal 4a indicating whether resettable or non-resettable from the gate circuit, thereby preventing magnetic pole misalignment with the motor that previously occurred. [Explanation of symbols]
[0022] 1 ASIC built-in reset section 1A Angle detector 1C angle signal 2 Serial Signals 2A Code discrimination section 2A' First code discrimination section 2A” Second code discrimination section 2Aa Reset signal discrimination result 2Ab 1st reset not possible or reset possible discrimination result 2Ac Second reset judgment result 2AE separate signal line 2Ad Reset not possible or reset possible determination result 3 ROM 3a ROM output 4 Gate Circuit 4a final signal 4A 1-turn reset action unit 4B Angle signal output section 5 Motor 6 External device 10 Write Input X Arrow Code A Reset not possible or Reset possible signal (ROM write code) Code B Reset signal
Claims
1. Code A, which is a ROM writing code consisting of a non-resettable or resettable signal (1a), and code B, which is a reset signal (1b), are provided. A serial signal (2) from an external device (6) that performs motor control is input to a code discrimination unit (2A) consisting of software. When the code A is transmitted from the code discrimination unit (2A) to the ROM (3), non-resettable or resettable is written to the ROM (3) according to the non-resettable or resettable signal (1a). The ROM output (non-resettable "0" / resettable "1") (3a) from the ROM (3) is input to a gate circuit (4). To the gate circuit (4) from the code discrimination unit (2A), when the reset signal (1b) of the code B is not transmitted, it is input as "0", and when it is transmitted, it is input as "1". A final signal (4a) consisting of "0" for not performing reset / "1" for performing reset is sent from the gate circuit (4) to a one-rotation reset operation unit (4A) connected to the subsequent stage of the gate circuit (4). In a one-rotation non-resettable / resettable selectable angle detector configured as follows: The serial signal (2) includes the non-resettable or resettable signal (1a) of the code A and the reset signal (1b) of the code B, and can select whether the one-rotation reset of the angle detector (1A) is non-performable or performable from the external device (6). When the reset signal (1b) of the code B is transmitted to the gate circuit (4), the gate circuit (4) selects whether to perform reset or not according to the state of the ROM (3) (non-resettable "0" / resettable "1"). When the reset signal (1b) of the code B is not transmitted, it is non-resettable "0", and when it is transmitted, it is resettable "1". A one-rotation non-resettable / resettable selectable angle detector characterized by being configured as such.
2. The initial state of the ROM (3) is a resettable state. When a reset signal (1b) is sent by the serial signal (2) when the ROM (3) is in the resettable state, a reset is applied, and the ROM state automatically switches to non-resettable. After that, when a resettable signal (1a) is sent by the serial signal (2), the ROM (3) is configured to be rewritten to resettable again. The one-rotation non-resettable / resettable selectable angle detector according to Claim 1, characterized by being configured as such.
3. The one-rotation non-resettable / enable-selectable angle detector according to claim 1 or 2, wherein the ROM (3) is configured to be directly writable from the outside to the ROM (3).
4. The code discrimination unit (2A) includes a pair of first and second code discrimination units (2A', 2A'') independent of each other. The first non-resettable or resettable discrimination result (2Ab) from the first code discrimination unit (2A') to which the non-resettable or resettable signal (1a) of the code A is input is input to the ROM (3), and the second reset signal discrimination result (2Ac) from the second code discrimination unit (2A'') to which the reset signal (1b) of the code B is input is input to the gate circuit (4). The one-rotation non-resettable / enable-selectable angle detector according to any one of claims 1 to 3, characterized in that it has a configuration.
5. The one-rotation non-resettable / enable-selectable angle detector according to claim 4, wherein the first non-resettable or resettable discrimination result (2Ab) from the first code discrimination unit (2A') is transmitted to the ROM (3) by a signal line (2AE) connected to the first code discrimination unit (2A').
6. Having a code A which is a ROM write code consisting of a non-resettable or resettable signal (1a) and a code B which is a reset signal (1b), inputting a serial signal (2) from an external device (6) for motor control to a code discrimination unit (2A) consisting of software. When the code A is transmitted from the code discrimination unit (2A) to the ROM (3), non-resettable or resettable is written to the ROM (3) according to the non-resettable or resettable signal (1a). The ROM output (non-resettable "0" / resettable "1") (3a) from the ROM (3) is input to the gate circuit (4), and the code discrimination unit (2A) inputs to the gate circuit (4) as "0" if the reset signal (1b) of the code B is not transmitted, and as "1" if it is transmitted. Using a one-rotation non-resettable / enable-selectable angle detector configured to send a final signal (4a) consisting of "0" not performing reset / "1" performing reset from the gate circuit (4) to a one-rotation reset operation unit (4A) connected to the subsequent stage of the gate circuit (4). The serial signal (2) includes the non-resettable or resettable signal (1a) of the code A and the reset signal (1b) of the code B, and can select whether it is impossible or possible to reset the angle detector (1A) once from the external device (6). When the reset signal (1b) of the code B is transmitted to the gate circuit (4), the gate circuit (4) selects whether to perform reset according to the state of the ROM (3) (non-resettable "0" / resettable "1"). When the reset signal (1b) of the code B is not transmitted, it is non-resettable "0", and when it is transmitted, it is resettable "1". A detection method for a non-resettable / resettable selectable angle detector for one rotation is characterized in that.
7. The initial state of the ROM (3) is a resettable state. When the reset signal (1b) is sent by the serial signal (2) when the ROM (3) is in a resettable state, a reset is performed, and the ROM state is automatically switched to non-resettable. After that, when the resettable signal (1a) is sent by the serial signal (2), the ROM (3) is rewritten to be resettable again. The detection method for a non-resettable / resettable selectable angle detector for one rotation according to claim 6 is characterized in that.
8. The ROM (3) can be directly written to from the outside. The detection method for a non-resettable / resettable selectable angle detector for one rotation according to claim 6 or 7 is characterized in that.
9. The code discrimination unit (2A) consists of a pair of independent first and second code discrimination units (2A', 2A''). The first non-resettable or resettable discrimination result (2Ab) from the first code discrimination unit (2A') to which the non-resettable or resettable signal (1a) of the code A is input is input to the ROM (3), and the second reset signal discrimination result (2Ac) from the second code discrimination unit (2A'') to which the reset signal (1b) of the code B is input is input to the gate circuit (4). The detection method for a non-resettable / resettable selectable angle detector for one rotation according to any one of claims 6 to 8 is characterized in that.
10. The detection method of the one-rotation non-resettable / possible selection type angle detector according to claim 9, characterized in that the first non-resettable or resettable discrimination result (2Ab) from the first code discrimination unit (2A') is transmitted to the ROM (3) by a signal line (2AE) connected to the first code discrimination unit (2A').
Citation Information
Patent Citations
Incremental type encoder
JP1992305118A
Data processing system, data processor used in this system, and sheet-shaped electronic device used in this processor
JP1994068036A
Method for resetting rotation data in rotation detecting device
JP2000258189A
Permanent magnet motor system, and magnetic pole positioning method for permanent magnet motor
JP2014110686A
Method and Apparatus for Online Condition Monitoring of Variable Speed Motor Applications
US20190101436A1